/* Page compositions for the release desk. Tokens and primitives live in app.css. */

/* ---------- Research workflow stepper (overview, signals, journal) ---------- */
.workflow ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.workflow li { min-width: 0; }
.workflow li + li { border-left: 1px solid var(--line); }
.workflow a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; color: var(--text) !important; text-decoration: none !important; transition: background-color .15s ease-out; }
.workflow a:hover { background: var(--surface-2); }
.workflow .is-current a { background: var(--ember-soft); box-shadow: inset 0 -2px var(--ember); }
.step-number { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 11px; }
.is-current .step-number { border-color: var(--ember); color: var(--ember-ink); }
.workflow strong { display: block; font-size: 13px; font-weight: 560; }
.workflow small { display: block; color: var(--muted); font-size: 11px; }
.step-arrow { display: none; }

/* ---------- Market overview ---------- */
.market-selector { display: flex; flex-wrap: wrap; gap: 12px; }
.market-choice { flex: 1 1 200px; max-width: 340px; display: grid; gap: 4px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; cursor: pointer; transition-property: border-color, background-color; transition-duration: .15s; }
.market-choice:hover { border-color: var(--line-strong); background: var(--surface-2); }
.market-choice.selected { border-color: var(--ember); background: var(--ember-soft); }
.market-choice strong { color: var(--strong); font-size: 18px; font-weight: 560; }
.market-choice > span:last-child { color: var(--muted); font-size: 12px; }
.market-analysis h2 { margin-top: 6px; font-size: 24px; }
.analysis-date { margin-top: 8px; font-size: 12px; }
.scenario-comparison { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.scenario-value, .scenario-gap { display: grid; gap: 8px; }
.scenario-value strong, .scenario-gap strong { color: var(--strong); font-size: 40px; line-height: 1.05; font-weight: 500; font-stretch: 90%; letter-spacing: -.04em; }
.scenario-value > span:last-child, .scenario-gap > span:last-child { color: var(--muted); font-size: 12px; }
.scenario-value:nth-child(3) strong { color: var(--ice-ink); }
.comparison-arrow { color: var(--faint); font-size: 22px; }
.scenario-gap { padding-left: 24px; border-left: 1px solid var(--line); }
.scenario-gap strong { font-size: 28px; }
.scenario-explanation { max-width: 90ch; font-size: 13px; }
.position-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.position-strip dt { color: var(--muted); font-size: 11.5px; }
.position-strip dd { margin: 3px 0 0; color: var(--text); font-size: 13px; }
.analysis-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 20px 0; padding: 18px 20px; border: 1px solid rgba(242, 163, 58, .3); border-radius: 12px; background: var(--ember-soft); }
.analysis-summary h3 { margin: 6px 0; max-width: 65ch; }
.analysis-summary p { font-size: 12.5px; }
.analysis-summary .button { flex: none; }
.panel.analysis-summary { display: block; }
.evidence-list, .coverage-list { list-style: none; margin: 0; padding: 0; }
.evidence-list li, .coverage-list li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.evidence-list li:last-child, .coverage-list li:last-child { border: 0; }
.evidence-list small { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; }
.evidence-value { color: var(--strong); font-weight: 500; text-align: right; white-space: nowrap; }
.evidence-value small { color: var(--muted); font-weight: 400; }
.coverage-list strong { color: var(--text); font-weight: 400; text-align: right; }
.research-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.research-note strong { color: var(--strong); }
.research-note p { margin-top: 4px; font-size: 13px; }
.research-note .button { flex: none; }

/* ---------- Guide ---------- */
.guide-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guide-stage { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.guide-stage h2 { margin: 4px 0 10px; }
.guide-stage p { font-size: 13.5px; }
.guide-stage .example { margin: 14px 0; padding: 12px 0; border-block: 1px solid var(--line); font-size: 13px; }

/* ---------- Sign in ---------- */
.login-workspace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px); align-items: center; gap: 48px; max-width: 1040px; margin: 40px auto; }
.login-story h1 { font-size: 46px; letter-spacing: -.03em; }
.login-story > p { max-width: 46ch; margin-top: 16px; font-size: 15px; }
.login-art { margin: 28px 0 12px; }
.login-art svg { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.login-art .art-axis { stroke: var(--line-strong); }
.login-art .art-band { fill: var(--ice-soft); stroke: rgba(141, 184, 242, .5); }
.login-art .art-release { stroke: var(--ember); stroke-width: 1.5; }
.login-art .art-path { fill: none; stroke: var(--ivory); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.login-art .art-point { fill: var(--ivory); stroke: var(--bg); stroke-width: 2; }
.login-art .art-label { fill: var(--faint); font: 11px var(--sans); }
.login-art .art-label.ember { fill: var(--ember-ink); }
.login-art .art-label.ice { fill: var(--ice-ink); }
.login-panel { padding: 28px; }
.login-panel h2 { font-size: 20px; }
.login-panel > p { margin-top: 10px; font-size: 13.5px; }
.login-instructions { margin-top: 12px; padding: 12px 0; border-block: 1px solid var(--line); font-size: 13px; }
.login-panel .button { width: 100%; margin-top: 10px; }
.login-footnote { margin-top: 18px; color: var(--faint); font-size: 12px; }

/* ---------- Latest releases ---------- */
.news-tabs { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.news-tabs a { padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none !important; transition-property: background-color, color; transition-duration: .15s; }
.news-tabs a:hover { background: var(--surface-2); color: var(--strong); }
.news-tabs a[aria-current="page"] { background: var(--ember); color: #1C1407; }
.live-announcements { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.live-announcements.compact { padding: 18px 20px; }
.announcements-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.announcements-heading > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.compact .announcements-heading h2 { font-size: 15px; }
.announcements-heading a { font-size: 12.5px; }
.official-tag { color: var(--muted); font-size: 12px; }
.official-tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--good); vertical-align: middle; }
.announcement-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.compact .announcement-grid { grid-template-columns: 1fr; gap: 0; }
.announcement-card { display: grid; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.compact .announcement-card { padding: 12px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.announcement-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11.5px; }
.announcement-meta > span { color: var(--ember-ink); font-weight: 500; }
.announcement-card h3 { font-size: 14px; font-weight: 540; line-height: 1.4; }
.announcement-card h3 a { text-decoration: none !important; }
.announcement-card h3 a:hover { text-decoration: underline !important; }
.announcement-link { color: var(--muted) !important; font-size: 12px; text-decoration: none !important; }
.announcement-link:hover { color: var(--strong) !important; }
.announcement-errors:empty, .announcement-status:empty { display: none; }
.announcement-error { margin-top: 12px; padding: 10px 14px; border-left: 2px solid var(--bad); border-radius: 0 8px 8px 0; background: var(--bad-soft); color: var(--text); font-size: 12.5px; }
.announcement-status { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; color: var(--faint); font-size: 11.5px; }
.announcement-refresh, .announcement-scope { margin-top: 8px; color: var(--faint); font-size: 11.5px; }

/* ---------- Current market ticker (personal sessions) ---------- */
.market-feed { padding: 14px 18px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.market-feed-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.market-feed-heading h2 { font-size: 15px; }
.market-feed-heading p { font-size: 12px; }
.feed-connection { color: var(--muted); font-size: 11.5px; }
.quote-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 12px; }
.market-quote { display: grid; gap: 2px; padding: 8px 14px 8px 0; border-right: 1px solid var(--line); }
.market-quote + .market-quote { padding-left: 14px; }
.market-quote:last-child { border-right: 0; }
.quote-name { display: flex; align-items: baseline; gap: 8px; }
.quote-name strong { color: var(--strong); font-size: 13px; }
.quote-name span { color: var(--faint); font-size: 11px; }
.quote-price { color: var(--strong); font-size: 22px; line-height: 1.1; font-weight: 500; font-stretch: 92%; letter-spacing: -.02em; }
.quote-change { font-size: 12.5px; font-weight: 500; }
.quote-change[data-direction="up"] { color: var(--good); }
.quote-change[data-direction="down"] { color: var(--bad); }
.quote-change[data-direction="flat"] { color: var(--muted); }
.quote-time, .quote-status { color: var(--faint); font-size: 11px; }
.quote-status:empty { display: none; }
.market-feed-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11.5px; }
.market-feed-note { margin-top: 8px; color: var(--faint); font-size: 11.5px; }
.market-feed-error { margin-top: 8px; color: var(--bad); font-size: 12px; }
.market-feed-quiet { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding: 10px 16px; }
.market-feed-quiet h2 { font-size: 14px; }
.market-feed-quiet .market-feed-error { margin: 0; color: var(--muted); }
.market-feed-quiet .feed-connection { margin-left: auto; }

/* ---------- Daily brief ---------- */
.compact-filters { gap: 8px; }
.compact-filters label { font-size: 11.5px; }
.compact-filters select { min-width: 190px; }
.brief-lede { max-width: 72ch; color: var(--text); font-size: 20px; line-height: 1.4; font-weight: 420; letter-spacing: -.012em; }
.brief-lede strong { color: var(--strong); font-weight: 600; }
.brief-lede .ember { color: var(--ember-ink); font-weight: 600; }
.brief-lede .ice { color: var(--ice-ink); font-weight: 600; }
.brief-desk { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "state side" "record side" "wide wide"; align-items: start; gap: 20px 22px; }
.state-panel { grid-area: state; min-width: 0; padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.brief-context { grid-area: side; display: grid; gap: 18px; min-width: 0; }
.release-evidence { grid-area: record; display: grid; gap: 14px; min-width: 0; }
.cross-asset { grid-area: wide; }
.instrument-heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px 16px; }
.instrument-identity { display: flex; align-items: center; gap: 12px; }
.instrument-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--ember-soft); color: var(--ember-ink); font-size: 12px; font-weight: 640; letter-spacing: .01em; }
.instrument-identity h2 { font-size: 17px; }
.instrument-identity div > span { display: block; color: var(--muted); font-size: 12px; }
.state-description { text-align: right; }
.state-date { display: block; color: var(--faint); font-size: 11.5px; }
.state-name { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; color: var(--strong); font-size: 16px; font-weight: 600; }
.state-name i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.state-name[data-state="high"] i { background: var(--ember); }
.state-name[data-state="extreme_high"] i { background: var(--bad); }
.state-name[data-state="low"] i { background: var(--calm); }
.state-name[data-state="extreme_low"] i { background: var(--ice); }
.state-name[data-state="unknown"] i { background: var(--faint); }
.state-description p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.brief-reference { margin: 22px 0 18px; }
.reference-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: 12px; }
.reference-range { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.reference-range button { min-height: 26px; padding: 3px 11px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 540; transition-property: background-color, color; transition-duration: .15s; }
.reference-range button[aria-pressed="true"] { background: var(--surface-3); color: var(--strong); }
.reference-reading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
.reference-value { color: var(--strong); font-size: 56px; line-height: 1; font-weight: 500; font-stretch: 88%; letter-spacing: -.035em; }
.reference-selection { display: grid; color: var(--muted); font-size: 12px; }
.reference-selection time { color: var(--text); font-weight: 500; }
.reference-surface { margin-top: 8px; border-radius: 8px; cursor: crosshair; touch-action: pan-y; }
.reference-surface svg { width: 100%; height: auto; overflow: visible; }
.reference-grid { stroke: var(--line); }
.reference-tick { fill: var(--faint); font: 11px var(--sans); }
.reference-line { fill: none; stroke: var(--ice); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.reference-current { stroke: var(--line-strong); stroke-dasharray: 3 4; }
.reference-hit { fill: transparent; }
.reference-last { fill: var(--ice); stroke: var(--bg); stroke-width: 2; }
.reference-last-label rect { fill: var(--ice); }
.reference-last-label text { fill: #0F1A2B; font: 600 12px var(--sans); }
.reference-cursor line { stroke: var(--ember); stroke-width: 1; }
.reference-cursor-halo { fill: rgba(242, 163, 58, .18); }
.reference-cursor-point { fill: var(--ember); stroke: var(--bg); stroke-width: 2; }
.reference-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; color: var(--faint); font-size: 11.5px; }
.distribution { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.distribution-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--muted); font-size: 12.5px; }
.distribution-heading strong { color: var(--strong); font-size: 14px; }
.percentile-track, .asset-rail { position: relative; height: 8px; margin: 10px 0 6px; border-radius: 999px; background: linear-gradient(90deg, rgba(127, 200, 216, .6), rgba(166, 160, 146, .25) 32%, rgba(166, 160, 146, .25) 68%, rgba(242, 163, 58, .65)); }
.percentile-track .tail-low, .percentile-track .tail-high { position: absolute; top: -3px; bottom: -3px; width: 5%; border: 1px solid var(--line-strong); border-radius: 999px; }
.percentile-track .tail-low { left: 0; }
.percentile-track .tail-high { right: 0; }
.percentile-track i, .asset-rail i { position: absolute; top: -5px; width: 3px; height: 18px; border-radius: 2px; background: var(--strong); transform: translateX(-50%); box-shadow: 0 0 0 3px var(--surface); }
.distribution-labels { display: flex; justify-content: space-between; color: var(--faint); font-size: 11px; }
.state-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }
.release-panel { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.section-heading h2 { font-size: 15px; }
.release-evidence .section-heading h2, .cross-asset .section-heading h2 { font-size: 17px; }
.section-heading > span { color: var(--faint); font-size: 11.5px; }
.release-list { list-style: none; margin: 8px 0 0; padding: 0; }
.release-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.release-list li:first-child { border-top: 0; }
.event-date { display: grid; justify-items: center; width: 44px; padding: 5px 0; border-radius: 9px; background: var(--ember-soft); color: var(--ember-ink); line-height: 1.05; }
.event-date span { font-size: 10px; font-weight: 500; }
.event-date strong { font-size: 18px; font-weight: 600; }
.release-copy { min-width: 0; }
.release-copy a { font-size: 14px; font-weight: 600; text-decoration: none !important; }
.release-copy a:hover { text-decoration: underline !important; }
.release-copy p { color: var(--muted); font-size: 12.5px; }
.release-copy small { display: block; margin-top: 2px; color: var(--faint); font-size: 11.5px; }
.event-open { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 12px; text-decoration: none !important; transition-property: border-color, color; transition-duration: .15s; }
.event-open:hover { border-color: var(--ember); color: var(--ember-ink); }
.section-link { display: inline-block; margin-top: 12px; font-size: 12.5px; }
.quiet-state { padding: 10px 0 4px; font-size: 13px; }
.quiet-state a { display: inline-block; margin-top: 6px; }
.study-entry { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 12px; padding: 16px 18px; border: 1px solid rgba(242, 163, 58, .35); border-radius: var(--r); background: var(--ember-soft); text-decoration: none !important; transition: border-color .15s ease-out; }
.study-entry:hover { border-color: var(--ember); }
.study-symbol { grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ember); color: #1C1407; font-size: 14px; }
.study-entry strong { color: var(--strong); font-size: 14px; }
.study-entry > span:last-child { color: var(--muted); font-size: 12px; }
.window-set { padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.window-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.window-head h3 { font-size: 16px; }
.window-head h3 span { margin-left: 8px; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.window-head a { font-size: 12.5px; }
.window-strip { display: grid; gap: 6px; list-style: none; margin: 14px 0 0; padding: 0; }
.window-strip li { min-width: 0; }
.window-strip svg { width: 100%; height: auto; overflow: visible; }
.window-strip time { display: block; margin-top: 2px; color: var(--faint); font-size: 10px; text-align: center; white-space: nowrap; }
.window-axis { stroke: var(--line-strong); }
.window-band { fill: var(--ice-soft); stroke: rgba(141, 184, 242, .55); }
.window-event { stroke: var(--ember); stroke-width: 1.5; }
.window-actual { fill: var(--ivory); stroke: var(--bg); stroke-width: 1.5; }
.window-actual.outside { fill: var(--bad); }
.window-vol { fill: var(--ember); }
.window-vol.down { fill: var(--calm); }
.window-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; color: var(--faint); font-size: 11px; }
.window-key span { display: inline-flex; align-items: center; gap: 6px; }
.window-key i { display: inline-block; width: 14px; height: 8px; border-radius: 4px; background: var(--ice-soft); border: 1px solid rgba(141, 184, 242, .55); }
.window-key i.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ivory); border: 0; }
.window-key i.dot.outside { background: var(--bad); }
.window-key i.line { width: 2px; height: 12px; border-radius: 1px; background: var(--ember); border: 0; }
.window-key i.rise { background: var(--ember); border: 0; }
.window-key i.fall { background: var(--calm); border: 0; }
.window-foot { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.window-foot strong { color: var(--strong); }
.window-foot .ice { color: var(--ice-ink); font-weight: 600; }
.window-foot .ivory { color: var(--strong); font-weight: 600; }
.cross-asset { padding: 20px 22px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.asset-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 14px; }
.asset-reading { display: grid; gap: 3px; padding: 4px 16px 4px 0; border-right: 1px solid var(--line); min-width: 0; }
.asset-reading + .asset-reading { padding-left: 16px; }
.asset-reading:last-child { border-right: 0; }
.asset-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.asset-title strong { color: var(--strong); font-size: 13px; }
.asset-title span { color: var(--muted); font-size: 11.5px; }
.asset-level { margin: 4px 0; color: var(--strong); font-size: 24px; line-height: 1.1; font-weight: 500; font-stretch: 92%; letter-spacing: -.02em; }
.asset-rail { height: 6px; margin: 6px 0 8px; }
.asset-rail i { top: -4px; width: 2px; height: 14px; box-shadow: none; }
.asset-reading p { color: var(--muted); font-size: 12px; }
.asset-reading p span { color: var(--faint); }
.asset-reading small { color: var(--faint); font-size: 11px; }
.cross-asset .technical-details { margin-top: 14px; }
.supporting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.supporting-grid h3 { margin-bottom: 8px; }
.brief-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.brief-list li + li { margin-top: 6px; }
.supporting-records > h3 { margin: 20px 0 6px; }

/* ---------- Event record ---------- */
.event-method { padding: 16px 20px; }
.event-method[open] { padding-bottom: 20px; }
.event-summary-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr); align-items: start; gap: 24px; margin-top: 8px; }
.event-plot { margin: 0; }
.event-plot svg { width: 100%; height: auto; overflow: visible; }
.event-plot text { fill: var(--faint); font: 11px var(--sans); }
.event-plot .axis { stroke: var(--ember); stroke-width: 1.5; }
.event-plot .row-line { stroke: var(--line); }
.event-plot .range { fill: var(--ice-soft); stroke: rgba(141, 184, 242, .55); }
.event-plot .actual-dot { fill: var(--ivory); stroke: var(--bg); stroke-width: 1.5; }
.event-plot .actual-dot.outside { fill: var(--bad); }
.event-plot .scale-label { fill: var(--muted); }
.event-plot figcaption { margin-top: 8px; color: var(--faint); font-size: 12px; }
.event-stat-list { display: grid; margin: 0; }
.event-stat-list div { padding: 12px 0; border-top: 1px solid var(--line); }
.event-stat-list div:first-child { border-top: 0; padding-top: 0; }
.event-stat-list dt { color: var(--muted); font-size: 12px; }
.event-stat-list dd { margin: 4px 0 2px; color: var(--strong); font-size: 26px; font-weight: 500; font-stretch: 92%; letter-spacing: -.025em; }
.event-stat-list small { color: var(--faint); font-size: 11.5px; }
.event-detail-table { max-height: 560px; overflow: auto; }

/* ---------- Responses to the width of the content column ---------- */
@container content (max-width: 880px) {
  .brief-desk { grid-template-columns: minmax(0, 1fr); grid-template-areas: "state" "side" "record" "wide"; }
  .event-summary-grid { grid-template-columns: 1fr; }
  .scenario-comparison { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .comparison-arrow { display: none; }
  .scenario-gap { grid-column: 1 / -1; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .supporting-grid, .guide-stages { grid-template-columns: 1fr; }
  .login-workspace { grid-template-columns: 1fr; gap: 28px; margin: 12px auto; }
  .workflow ol { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .workflow li + li { border-left: 0; }
  .workflow li { border-top: 1px solid var(--line); }
  .workflow li:first-child { border-top: 0; }
}
@container content (max-width: 600px) {
  .brief-lede { font-size: 17px; }
  .reference-tick { font-size: 22px; }
  .reference-last-label text { font-size: 24px; }
  .reference-last-label rect { width: 90px; x: 668; }
  .event-plot text { font-size: 17px; }
  .reference-value { font-size: 44px; }
  .window-strip time { display: none; }
  .position-strip { grid-template-columns: 1fr; }
  .analysis-summary, .research-note { flex-direction: column; align-items: flex-start; }
  .state-description { text-align: left; }
  .asset-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .asset-reading { padding: 10px 0; border-right: 0; border-top: 1px solid var(--line); }
  .asset-reading + .asset-reading { padding-left: 0; }
  .login-story h1 { font-size: 34px; }
  .scenario-value strong { font-size: 32px; }
  .market-quote { padding: 8px 0; border-right: 0; border-top: 1px solid var(--line); }
  .market-quote + .market-quote { padding-left: 0; }
}
