/* Reading room grid (SPEC §14.2): viewer ≈ 68%, rail ≥ 360 px. */ .room { display: grid; grid-template-columns: minmax(0, 68fr) minmax(var(--rail-min), 32fr); height: 100vh; overflow: hidden; } .viewerCol { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--pacs-surround); } .viewerWrap { position: relative; flex: 1; min-height: 0; } .rail { overflow-y: auto; padding: 0 22px; background: var(--report-paper); display: flex; flex-direction: column; border-left: 1px solid #0d0f11; } .railBody { flex: 1; display: flex; flex-direction: column; } /* Header sits on the surround: quiet, light-on-dark. */ .header { display: flex; align-items: center; column-gap: 14px; row-gap: 0; height: 50px; padding: 0 16px; color: #c9d1d8; border-bottom: 1px solid #2a2f34; font-size: var(--fs-1); flex-shrink: 0; white-space: nowrap; /* When the column is too narrow, the nav (last, one flex item) wraps to a second line that is clipped: the controls never get cut in half. The brand still links to the start page. */ flex-wrap: wrap; align-content: flex-start; overflow: hidden; } .header > .brand { height: 50px; display: inline-flex; align-items: center; gap: 8px; } /* Projector mode: big type needs the room; the page links stay on paper pages. */ :root[data-projector='1'] .header .nav { display: none; } .brand { font-weight: 700; color: #f3f5f6; text-decoration: none; letter-spacing: 0.01em; font-size: var(--fs-2); } .mode { color: #f3f5f6; font-weight: 700; } .caseIdx { font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 10px; } .progress { display: inline-block; width: 72px; height: 4px; border-radius: 2px; background: #3a4148; overflow: hidden; } .progress span { display: block; height: 100%; background: #c9d1d8; } .kbdHead { display: inline-block; padding: 0 5px; border: 1px solid #4a535c; border-radius: 3px; font: inherit; font-size: 12px; line-height: 16px; } .spacer { flex: 1; } .synthetic { padding: 2px 8px; border: 1px dashed #6b7680; border-radius: 4px; color: #c9d1d8; font-size: 13px; } .toggle { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid #4a535c; border-radius: 999px; background: transparent; color: #c9d1d8; cursor: pointer; font-size: var(--fs-1); } .toggle:hover { border-color: var(--graticule); } .toggleOn { background: #e6ebef; color: #111; border-color: #e6ebef; } /* State is the dot: a hollow ring is off, a filled amber dot is on (plus the filled pill and aria-pressed). */ .dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; opacity: 0.75; flex-shrink: 0; } .toggleOn .dot { opacity: 1; background: var(--grease-amber); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35); } .nav { display: flex; gap: 14px; } .nav a { color: #c9d1d8; text-decoration: none; } .nav a:hover { color: #fff; text-decoration: underline; } .footer { font-size: 14px; color: var(--report-ink-muted); padding: 10px 0 14px; border-top: 1px solid var(--report-rule); } /* Paper pages (onboarding, about, summaries): a single report column. */ .page { min-height: 100vh; display: flex; flex-direction: column; background: var(--report-paper); } .pageHeader { display: flex; align-items: center; gap: 18px; padding: 0 24px; height: 54px; border-bottom: 1px solid var(--report-rule); } .pageHeader .brand { color: var(--report-ink); display: inline-flex; align-items: center; gap: 9px; } .brandMark { flex-shrink: 0; } .pageHeader .nav a { color: var(--report-ink-muted); } .pageHeader .nav a:hover { color: var(--report-ink); } .pageHeader .nav a[aria-current='page'] { color: var(--report-ink); font-weight: 700; } .pageMain { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 32px 24px 48px; } .pageFooterWrap { max-width: 760px; width: 100%; margin: 0 auto; padding: 0 24px; } .pageFooter { padding: 12px 0 20px; border-top: 1px solid var(--report-rule); color: var(--report-ink-muted); font-size: 14px; } .pageHeader .synthetic { color: var(--report-ink-muted); border-color: #9aa5af; } /* Narrow screens (landing and About only reach here): the header nav wraps under the brand. */ @media (max-width: 899.98px) { .pageHeader { height: auto; min-height: 54px; flex-wrap: wrap; padding: 10px 16px; gap: 8px 14px; } .pageHeader .spacer { display: none; } .pageHeader .nav { flex-wrap: wrap; gap: 6px 14px; width: 100%; } .pageMain { padding: 24px 16px 40px; } .pageFooterWrap { padding: 0 16px; } }