/* ═══════ INDEX PAGE STYLES ═══════
   Styles specific to the policy document page (index.html).
   ═══════════════════════════════════ */

/* ── RIGHT COMMENTS RAIL ── */
.comments-rail {
  position: fixed;
  top: 0; right: 0;
  width: var(--comment-width);
  height: 100vh; overflow-y: auto;
  padding: 40px 20px 60px 16px;
  background: var(--white);
  border-left: 1px solid #e2e5e9;
  z-index: 50;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.comments-rail::-webkit-scrollbar { width: 5px; }
.comments-rail::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.comment-card {
  background: var(--light-gray);
  border-left: 3px solid var(--accent-gold);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
}
.comment-card {
  transition: background .15s, border-left-color .15s;
}
.comment-card:hover {
  background: #eef0f2;
  border-left-color: var(--mid-blue);
}
.comment-card .comment-label {
  font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--mid-blue); margin-bottom: 6px;
}

/* checklist */
.checklist { list-style: none; margin-left: 0; }
.checklist li { padding-left: 26px; position: relative; }
.checklist li::before {
  content: '☐'; position: absolute; left: 0; color: var(--mid-blue);
  font-size: 15px;
}

/* ── BOLD CALLOUT TEXT ── */
.callout {
  background: #fef9e7;
  border-left: 3px solid var(--accent-gold);
  padding: 12px 16px; margin: 14px 0;
  font-weight: 600; font-size: 14.5px;
}

/* ── SIGNATURE BLOCK ── */
.sig-line {
  border-bottom: 1px solid var(--text-primary);
  width: 300px; height: 28px; display: inline-block;
  margin-left: 8px;
}

/* ── INLINE COMMENTS (narrow screens) ── */
@media (max-width: 1380px) {
  .comments-rail { display: none; }
  .inline-comment {
    display: block !important;
    background: var(--light-gray);
    border-left: 3px solid var(--accent-gold);
    border-radius: 4px;
    padding: 14px 16px;
    margin: 14px 0 20px;
    font-size: 13px; line-height: 1.6;
    color: var(--text-secondary);
  }
  .inline-comment .comment-label {
    font-weight: 700; font-size: 11px;
    text-transform: uppercase; letter-spacing: .04em;
    color: var(--mid-blue); margin-bottom: 6px;
  }
}
@media (min-width: 1381px) {
  .inline-comment { display: none; }
}

/* ── MOBILE OVERRIDES ── */
@media (max-width: 860px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sig-line { width: 60vw !important; }
  .callout { word-break: break-word; }
}
