/* Shared reading scale: the decision stays visible; detail opens on demand. */
:root { --text: 16px; --heading: 32px; }
body { font-size: var(--text); line-height: 1.5; }
h1, .page-heading h1, .assistant-heading h1, #login-title, .legal-page h1 {
  font-size: clamp(24px, 2.5vw, var(--heading));
  line-height: 1.2; letter-spacing: -.025em; font-weight: 750;
  margin: 12px 0 18px; overflow-wrap: anywhere;
}
h2, .assistant-stage h2, .jev-intro h2, .jev-question h2, dialog h2, #access-dialog h2, .section-heading h2 {
  font-size: 22px; line-height: 1.3; letter-spacing: -.015em;
  font-weight: 700; margin: 22px 0 12px;
}
h3, .assistant-question h3, .finding-card h3, .fact-card h3,
.answer-panel h3, .review-card h3 {
  font-size: 17px; line-height: 1.4; letter-spacing: 0; font-weight: 700;
}
.intro, #assistant-explanation, .jev-intro p { font-size: 16px; line-height: 1.55; }
body > header > .brand { font-size: 24px; letter-spacing: -.04em; }
.eyebrow { font-size: 11px; letter-spacing: .1em; }
.country-copy h2 { font-size: 24px; letter-spacing: -.025em; }
.country-action { font-size: 16px; }
.country-code { font-size: 42px; }
.access-plan .access-price, .large-number, .fact-value { font-size: 30px; }
#access-dialog p { font-size: 16px; }
.jev-rail-counts strong { font-size: 24px; }
.assistant-composer > label { font-size: 19px; }
.assistant-composer textarea { font-size: 16px; padding: 14px; min-height: 104px; }
.assistant-heading { margin-bottom: 20px; }
.assistant-stage, .assistant-composer { padding: 24px; border-radius: 16px; }
.assistant-question { padding: 20px; }
.assistant-question h3 { font-size: 20px; }
.assistant-findings { gap: 10px; margin-top: 18px; }
.finding-card { margin: 0; padding: 14px 16px; border-radius: 12px; }
.finding-card > summary h3 { display: inline; margin: 0; font-size: 16px; }
.finding-preview { display: block; margin: 5px 0 0 18px; font-size: 14px; color: var(--muted); font-weight: 400; }
.finding-card p { font-size: 15px; margin-top: 12px; }
.assistant-request { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.assistant-request > summary { cursor: pointer; font-weight: 600; }
.assistant-goal { border: 0; padding: 0; margin: 10px 0; font-size: 14px; }
.assistant-more { font-size: 14px; margin: 10px 0; }
.assistant-more > summary { cursor: pointer; color: var(--muted); }
.assistant-more p { font-size: 15px; }
.disclosure { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 14px 0; }
.disclosure > summary { cursor: pointer; font-size: 16px; font-weight: 650; line-height: 1.5; padding: 5px 0; }
.disclosure > summary h2, .disclosure > summary h3 { display: inline; margin: 0; font-size: inherit; letter-spacing: 0; }
.disclosure[open] > summary { margin-bottom: 14px; }
.disclosure > :last-child { margin-bottom: 4px; }
.disclosure .disclosure { background: transparent; }
.detail-count { color: var(--muted); font-size: 13px; font-weight: 400; margin-left: 8px; }
.context-line { color: var(--muted); max-width: 75ch; margin: 8px 0 18px; }
.document-heading { display: block; padding: 0; border: 0; margin: 0; max-width: none; }
.status-line { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 12px 0; font-size: 14px; }
.status-line .badge { margin: 0; }
.brief-summary { background: var(--sage); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin: 20px 0; }
.brief-summary h2 { margin: 5px 0 10px; font-size: 21px; }
.brief-summary p { margin: 8px 0; }
.brief-summary .eyebrow { margin: 0; }
.brief-document > section { margin: 20px 0; }
.brief-document .actions { margin-top: 22px; }
.brief-document .next-actions li p { font-size: 14px; color: var(--muted); }
.request-copy, .long-copy { white-space: pre-wrap; overflow-wrap: anywhere; }
.case-card h2 { font-size: 20px; line-height: 1.35; }
.case-card .disclosure { border: 0; padding: 0; margin-bottom: 0; }
.case-card .disclosure > summary { font-size: 14px; }
.route-sources { margin: 8px 0; padding: 8px 10px; }
.route-sources > summary { font-size: 14px; }
.source-name { font-size: 18px; line-height: 1.5; max-width: 75ch; }
.research-navigation.nama-navigation, .nama-navigation { padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 720px) {
  h1, .page-heading h1, .assistant-heading h1, #login-title, .legal-page h1 { font-size: 25px; }
  .assistant-stage, .assistant-composer { padding: 18px; }
  .assistant-composer > label { font-size: 18px; }
  .assistant-composer textarea, #assistant-explanation { font-size: 16px; }
  .assistant-question h3 { font-size: 19px; }
  .brief-summary { padding: 16px; }
  .disclosure { padding: 10px 12px; }
}
@media print {
  h1 { font-size: 22pt; }
  h2 { font-size: 15pt; }
  h3 { font-size: 12pt; }
  .disclosure, .brief-summary { border: 0; padding: 0; box-shadow: none; }
  .disclosure > summary { font-weight: 700; }
  .disclosure > summary::marker { content: ''; }
  .detail-count { display: none; }
  details[data-print-expand]::details-content {
    display: block !important; content-visibility: visible !important; height: auto !important;
  }
}
