@charset "UTF-8";
@font-face { font-family: Manrope; src: url("brand/manrope.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }

:root {
  --paper: #f3f0e9;
  --ink: #151b1d;
  --body: #525957;
  --line: #cbcfc7;
  --blue: #44768b;
  --blue-text: #3f6e83;
  --ice: #9dd3e8;
  --pale: #e1edf0;
  --muted: #626b67;
  --night-line: rgba(243,240,233,.18);
  --ease: cubic-bezier(.2,.75,.2,1);
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; min-width: 0; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .17; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23525957' opacity='.12' filter='url(%23g)' d='M0 0h120v120H0z'/%3E%3C/svg%3E"); }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
button, a, select, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { min-height: 44px; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; text-underline-offset: .25em; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
img, svg, canvas { max-width: 100%; }
p { margin: 0 0 1em; line-height: 1.65; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.045em; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--ice); color: var(--ink); }

.masthead { width: min(1440px,100%); margin: auto; padding: 26px 4%; display: flex; align-items: center; gap: 28px; min-height: 94px; }
.wordmark { display: inline-flex; flex-shrink: 0; align-items: center; text-decoration: none; font-size: 29px; font-weight: 600; letter-spacing: .18em; line-height: 1; }
.wordmark img, .masthead .logo { width: 145px; height: auto; display: block; }
.masthead > img.wordmark { width: 145px; height: auto; display: block; }
.mode-label { border-left: 1px solid var(--line); padding-left: 25px; max-width: 230px; color: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 12px; }
.header-actions a { text-decoration: none; }
.disclosure { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 24px; color: var(--body); font-size: 11px; line-height: 1.5; text-align: center; flex-wrap: wrap; }
.disclosure strong { color: var(--blue); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.disclosure .dot, .live-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; background: var(--blue); margin-right: 4px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; background: var(--blue); flex-shrink: 0; }
.journey-nav { display: flex; justify-content: space-between; gap: 12px; width: min(1440px,100%); margin: auto; padding: 23px 4% 20px; border-bottom: 1px solid var(--line); }
.stage-item { display: flex; align-items: center; gap: 9px; color: #929b95; font-size: 11px; font-weight: 600; line-height: 1.4; min-width: 0; }
.stage-item > span:first-child, .stage-number { border: 1px solid var(--line); border-radius: 50%; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 9px; font-variant-numeric: tabular-nums; }
.stage-item.active, .stage-item[aria-current="step"] { color: var(--ink); }
.stage-item.active > span:first-child, .stage-item[aria-current="step"] > span:first-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stage-item.complete { color: var(--blue); }
.stage-item.complete > span:first-child { border-color: #94b9c7; color: var(--blue); }

.demo-stage { width: min(1440px,100%); margin: auto; display: grid; grid-template-columns: minmax(260px,.75fr) minmax(0,1.7fr); gap: 42px; padding: 42px 4% 34px; min-height: 630px; }
.narrative { display: flex; flex-direction: column; align-items: flex-start; padding: 15px 0 20px; }
.eyebrow, .phase-label, .review-badge { font-size: 10px; line-height: 1.5; letter-spacing: .13em; font-weight: 700; text-transform: uppercase; }
.narrative .eyebrow { color: var(--blue); margin-bottom: 23px; display: flex; align-items: center; gap: 10px; }
.narrative .eyebrow::before { content: ""; height: 1px; width: 22px; background: currentColor; }
.narrative h1 { font-size: clamp(35px,3.5vw,54px); font-weight: 800; letter-spacing: -.065em; line-height: 1.03; text-transform: uppercase; margin-bottom: 25px; max-width: 410px; }
.narrative > p, .narrative .copy { font-size: 15px; color: var(--body); line-height: 1.7; max-width: 345px; margin-bottom: 23px; }
.story-caption { color: var(--blue); font-size: 12px; line-height: 1.6; border-left: 2px solid #afc5cc; padding-left: 13px; margin-top: 4px; max-width: 310px; }
.narrative .review-badge { margin-top: auto; padding-top: 40px; color: var(--muted); font-size: 10px; }
.narrative-bottom { margin-top: auto; padding-top: 55px; display: flex; align-items: flex-start; gap: 15px; }
.narrative-bottom .phase-label { border-right: 1px solid var(--line); padding-right: 15px; color: var(--blue); }
.narrative-bottom .copy { font-size: 10px; line-height: 1.6; color: var(--muted); margin: 0; letter-spacing: .04em; }
#scene { min-width: 0; flex: 1; }
.scene-panel { position: relative; min-width: 0; border: 1px solid var(--line); background: rgba(255,255,255,.28); border-radius: 3px; padding: 30px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.scene-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 90% 0%,rgba(157,211,232,.10),transparent 62%); }
.scene-panel.is-dark { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.scene-panel.is-dark::before { background: radial-gradient(ellipse at 80% 0%,rgba(157,211,232,.1),transparent 65%); }
.scene-panel h2 { font-size: clamp(26px,2.6vw,37px); font-weight: 750; line-height: 1.1; letter-spacing: -.05em; margin: 13px 0 23px; }
.scene-panel h3 { font-size: 20px; font-weight: 700; line-height: 1.2; margin: 8px 0 12px; }
.scene-panel p, .copy { font-size: 14px; line-height: 1.65; color: var(--body); }
.scene-panel .phase-label { color: var(--blue); margin-bottom: 5px; }
.scene-panel.is-dark .phase-label, .scene-panel.is-dark .eyebrow { color: var(--ice); }
.scene-panel.is-dark p, .scene-panel.is-dark .copy { color: #b6c4c5; }
.small, small { font-size: 11px; line-height: 1.55; }
.muted { color: var(--muted); }
.scene-panel.is-dark .muted { color: #a5b7ba; }
.label { font-size: 11px; line-height: 1.5; color: var(--body); }
.scene-panel.is-dark .label { color: #adc0c5; }
.amount { font-size: clamp(34px,4vw,57px); font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -.06em; }
.scene-panel.is-dark .amount { color: var(--ice); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); padding: 5px 9px; border-radius: 30px; color: var(--blue); font-size: 10px; line-height: 1.5; font-weight: 600; }
.scene-panel.is-dark .status-pill { border-color: #46606b; color: var(--ice); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.panel-heading > .label { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }

.primary, .secondary, .text-button, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; line-height: 1.45; font-weight: 650; text-decoration: none; border-radius: 2px; transition: background .2s, color .2s, border-color .2s; }
.primary { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 13px 20px; }
.primary:hover:not(:disabled) { background: #304951; border-color: #304951; }
.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 12px 18px; }
.secondary:hover:not(:disabled) { background: #e9e9e1; border-color: #adb7ae; }
.text-button { background: transparent; color: var(--body); padding: 8px 0; border: 0; text-decoration: underline; text-decoration-color: #a9b4ae; text-underline-offset: 5px; }
.text-button:hover { color: var(--ink); text-decoration-color: var(--ink); }
.icon-button { background: transparent; color: inherit; padding: 8px; border: 1px solid var(--line); min-width: 44px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.scene-panel.is-dark .primary { background: var(--ice); border-color: var(--ice); color: var(--ink); }
.scene-panel.is-dark .primary:hover { background: #c7e5f0; }
.scene-panel.is-dark .secondary, .scene-panel.is-dark .icon-button { color: var(--paper); border-color: #506166; }
.scene-panel.is-dark .secondary:hover { background: #26363c; }
.scene-panel.is-dark .text-button { color: #c2d6dd; text-decoration-color: #527582; }
.explain { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.explain summary { font-size: 12px; font-weight: 650; line-height: 1.6; padding: 5px 0; color: var(--blue); }
.explain[open] summary { margin-bottom: 13px; }
.scene-panel.is-dark .explain { border-color: var(--night-line); }
.scene-panel.is-dark .explain summary { color: var(--ice); }
.evidence-link { appearance: none; background: transparent; border: 0; color: var(--blue); font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }
.scene-panel.is-dark .evidence-link { color: var(--ice); }

.hero-intro { padding-top: 5px; }
.hero-art { position: relative; min-height: 220px; margin: -12px -10px 15px; display: flex; align-items: center; justify-content: center; }
.hero-art .core-symbol { width: 250px; height: 250px; }
.orbit-label { position: absolute; font-size: 11px; color: var(--blue); line-height: 1.5; letter-spacing: .03em; background: var(--paper); padding: 2px 4px; }
.orbit-label::after { content: ""; position: absolute; top: 50%; width: 36px; height: 1px; background: linear-gradient(90deg,var(--line),transparent); }
.label-sales { left: 6%; top: 23%; }
.label-sales::after { left: calc(100% + 10px); }
.label-work { right: 4%; top: 28%; }
.label-work::after { right: calc(100% + 10px); transform: rotate(180deg); }
.label-money { left: 9%; bottom: 20%; }
.label-money::after { left: calc(100% + 10px); }
.label-context { right: 0; bottom: 18%; }
.label-context::after { right: calc(100% + 10px); transform: rotate(180deg); }
.hero-intro h2 { font-size: clamp(32px,3.2vw,46px); line-height: 1.05; text-transform: uppercase; font-weight: 800; max-width: 600px; }
.industry-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; color: var(--body); border-radius: 40px; padding: 9px 14px; font-size: 12px; margin: 0 7px 8px 0; }
.industry-chip.active, .industry-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.industry-chip:disabled { border-style: dashed; opacity: .6; }
.hero-intro > .industry-chip { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; margin: 0; padding: 19px 0 2px; }
.hero-intro > .industry-chip .label { font-size: 9px; letter-spacing: .08em; }
.hero-intro > .industry-chip strong { font-size: 13px; }
.hero-intro > .industry-chip > span:last-child { width: 100%; text-align: center; font-size: 11px; }
.flagship-choice { position: relative; display: block; text-align: left; width: 100%; padding: 24px; margin: 22px 0 18px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 3px; }
.flagship-choice::after { content: "↗"; position: absolute; right: 24px; top: 21px; font-size: 24px; color: var(--ice); }
.flagship-choice .phase-label { color: var(--ice); padding-right: 30px; }
.flagship-choice h3 { font-size: 29px; letter-spacing: -.04em; margin: 13px 35px 12px 0; }
.flagship-choice p { color: #c1cdd0; font-size: 14px; max-width: 500px; margin: 0; }
.flagship-choice .label { color: var(--ice); font-size: 10px; }
.hero-intro .flagship-choice h2 { color: var(--paper); font-size: 29px; font-weight: 750; line-height: 1.1; text-transform: none; margin: 12px 24px 15px 0; }
.flagship-choice > .choice-icon, .flagship-choice > .selected-check { display: none; }
.goal-line { font-size: 12px !important; margin: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.choice-card { padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px; font-size: 12px; line-height: 1.4; text-align: left; background: transparent; color: var(--body); display: flex; justify-content: space-between; gap: 12px; }
.choice-card small { display: block; font-size: 10px; color: var(--muted); }
.unavailable { cursor: default; }
.choice-card.unavailable, .choice-card:disabled { color: #6f7975; background: rgba(203,207,199,.13); opacity: 1; }

.source-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 22px 0 10px; }
.source-card { min-width: 0; padding: 17px 14px; border: 1px solid var(--line); background: rgba(255,255,255,.5); border-radius: 3px; }
.source-icon { width: 33px; height: 33px; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); border: 1px solid #b0c5ca; border-radius: 7px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.source-card .label { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 650; }
.source-card label { display: block; margin-bottom: 9px; font-size: 11px; font-weight: 650; line-height: 1.5; }
.source-card > span:not(.source-icon) { display: block; font-size: 10px; line-height: 1.55; color: var(--body); margin-top: 10px; }
.source-card.connected { border-color: #a6bec5; }
.source-card.omitted { border-style: dashed; background: #eae9e1; }
.source-card select { width: 100%; min-width: 0; min-height: 44px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 22px 8px 0; background-color: transparent; color: var(--ink); font-size: 13px; line-height: 1.4; }
.source-card small { display: block; margin-top: 10px; color: var(--muted); }
.connection-map { position: relative; height: 190px; display: flex; align-items: center; justify-content: center; margin: 5px 0 0; overflow: hidden; }
.core-symbol { position: relative; z-index: 2; width: 150px; height: 150px; display: flex; justify-content: center; align-items: center; }
.core-symbol img, .core-symbol canvas, .core-symbol svg { width: 100%; height: 100%; object-fit: contain; }
.stream, .streams { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.stream path, .streams path { stroke-dasharray: 80 450; animation: information-flow 8s linear infinite; }
.stream path, .streams path { fill: none; stroke: #7dabbc; stroke-width: 1.3; opacity: .75; }
.stream path.disconnected, .streams path.disconnected { opacity: .14; stroke: #8f9590; stroke-dasharray: 3 7; animation: none; }
.stream path:nth-child(3n), .streams path:nth-child(3n) { animation-duration: 11s; animation-delay: -3s; }
@keyframes information-flow { to { stroke-dashoffset: -530; } }
.domain-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 0; }
.domain-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; line-height: 1.5; padding: 6px 10px; border-radius: 30px; border: 1px solid var(--line); color: var(--body); }
.domain-pill::before { content: ""; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.scene-panel.is-dark .domain-pill { color: #bacdd2; border-color: #435359; }
.scene-panel.is-dark .domain-pill::before { background: var(--ice); }
.sources-warning, .empty-state { padding: 17px 19px; margin: 20px 0 0; background: #e9e6da; border-left: 2px solid #a9a58d; color: #605e50; font-size: 13px; line-height: 1.6; }
.sources-warning p:last-child, .empty-state p:last-child { margin-bottom: 0; }
.scene-panel.is-dark .sources-warning, .scene-panel.is-dark .empty-state { background: #303735; border-color: #aaa486; color: #dad4bd; }
.scene-panel.is-dark .sources-warning p, .scene-panel.is-dark .empty-state p { color: #dad4bd; }

.investigation-list { border-top: 1px solid var(--night-line); margin: 23px 0; }
.investigation-symbol { height: 150px; display: flex; align-items: center; justify-content: center; margin: 19px 0 3px; background: var(--paper); border-radius: 2px; }
.investigation-symbol .core-symbol { width: 158px; height: 158px; }
.check-row p { font-size: 12px; line-height: 1.5; margin: 5px 0 0; }
.check-state { font-size: 9px; letter-spacing: .06em; color: var(--ice); }
.check-row { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--night-line); color: #7e9399; font-size: 14px; line-height: 1.5; transition: color .25s; }
.check-index { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border: 1px solid #41565f; border-radius: 50%; font-size: 10px; font-variant-numeric: tabular-nums; }
.check-row small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #718c97; }
.check-row.active { color: var(--paper); }
.check-row.active .check-index { border-color: var(--ice); color: var(--ice); }
.check-row.complete { color: #d0e3e9; }
.check-row.complete .check-index { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.check-row.complete small { color: var(--ice); }
.intelligence-note { padding: 19px 0 0 17px; border-left: 2px solid var(--ice); margin: 23px 0 5px; font-size: 15px; line-height: 1.65; }
.intelligence-note p:last-child { margin-bottom: 0; }
.scene-panel:not(.is-dark) .intelligence-note { border-color: var(--blue); }

.opportunity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 24px 0; }
.opportunity-card { min-width: 0; position: relative; text-align: left; background: transparent; border: 1px solid #45565b; border-radius: 3px; padding: 18px 15px; color: var(--paper); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; transition: background .25s,border-color .25s; }
.opportunity-card h3 { font-size: 17px; font-weight: 650; margin: 2px 0; line-height: 1.3; }
.opportunity-card h2 { font-size: 19px; font-weight: 700; margin: 0; line-height: 1.2; letter-spacing: -.04em; }
.opportunity-top { display: flex; align-items: flex-start; gap: 8px; width: 100%; min-height: 34px; }
.opportunity-top .rank { color: #87a6b1; font-size: 11px; font-variant-numeric: tabular-nums; }
.opportunity-top .confidence { color: #b5d6e2; font-size: 9px; line-height: 1.5; margin: 0; padding: 0; letter-spacing: .035em; }
.opportunity-card p { font-size: 12px; line-height: 1.6; margin: 0; }
.opportunity-card > small { color: #9cb5bf; font-size: 10px; line-height: 1.5; margin-top: auto; padding-top: 8px; }
.opportunity-card .amount { font-size: 35px; margin-top: 3px; }
.opportunity-card .label { font-size: 10px; }
.opportunity-card .confidence { font-size: 11px; color: #adc0c5; margin-top: auto; padding-top: 8px; }
.opportunity-card.recommended { border-color: #638da0; background: rgba(157,211,232,.055); }
.opportunity-card.selected, .opportunity-card[aria-pressed="true"] { border-color: var(--ice); background: rgba(157,211,232,.1); }
.opportunity-card:hover:not(:disabled) { background: rgba(157,211,232,.1); }
.opportunity-card:disabled { opacity: .65; border-style: dashed; }
.opportunity-card .status-pill { font-size: 9px; padding: 4px 7px; line-height: 1.4; }
.hypothesis { border-top: 1px solid var(--night-line); padding-top: 20px; margin-top: 15px; }
.hypothesis h3 { font-size: 20px; }
.hypothesis p { font-size: 14px; }
.cash-note { padding: 13px 0; border-top: 1px solid var(--night-line); font-size: 12px; line-height: 1.6; color: #9db5bd; }
.cash-note strong { font-weight: 650; color: #d4e5eb; }
.cash-note > span { font-size: 9px; letter-spacing: .08em; margin-right: 15px; }
.cash-note > strong { font-size: 17px; letter-spacing: -.025em; }
.cash-note > p { font-size: 12px; margin: 8px 0 0; }
.constraint-switch { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; padding: 17px; margin: 22px 0 0; border: 1px solid #93b5c2; border-radius: 3px; color: var(--ink); background: #e6edf0; line-height: 1.55; font-size: 13px; }
.constraint-switch::before { content: ""; width: 29px; height: 18px; flex-shrink: 0; border: 1px solid #8ca4ad; border-radius: 20px; background: radial-gradient(circle at 8px 8px,#8ca4ad 5px,transparent 5.5px); }
.constraint-switch::before { display: none; }
.switch-track { display: inline-flex; align-items: center; width: 31px; height: 19px; padding: 3px; flex-shrink: 0; border: 1px solid #8ca4ad; border-radius: 20px; }
.switch-track > span { width: 11px; height: 11px; border-radius: 50%; background: #8ca4ad; transition: transform .2s, background .2s; }
.constraint-switch[aria-pressed="true"] .switch-track { border-color: var(--blue); }
.constraint-switch[aria-pressed="true"] .switch-track > span { transform: translateX(12px); background: var(--blue); }
.switch-label { margin-left: auto; flex-shrink: 0; font-size: 10px; font-weight: 700; color: var(--blue); }
.constraint-switch[aria-pressed="true"], .constraint-switch.selected { border-color: var(--blue); background: #dbeaf0; }
.constraint-switch[aria-pressed="true"]::before, .constraint-switch.selected::before { border-color: var(--blue); background: radial-gradient(circle at 19px 8px,var(--blue) 5px,transparent 5.5px); }
.constraint-switch strong { display: block; font-size: 13px; }
.constraint-switch small { display: block; font-size: 11px; margin-top: 3px; color: var(--blue); }
.scene-panel.is-dark .constraint-switch { color: var(--paper); background: rgba(157,211,232,.06); border-color: #597784; }
.scene-panel.is-dark .constraint-switch[aria-pressed="true"] { border-color: var(--ice); background: rgba(157,211,232,.13); }
.scene-panel.is-dark .constraint-switch small { color: #b3d4e0; }
.scene-panel.is-dark .switch-label { color: var(--ice); }
.scene-panel.is-dark .constraint-switch[aria-pressed="true"] .switch-track { border-color: var(--ice); }
.scene-panel.is-dark .constraint-switch[aria-pressed="true"] .switch-track > span { background: var(--ice); }
.scene-panel.is-dark .constraint-switch[aria-pressed="true"]::before { background: radial-gradient(circle at 19px 8px,var(--ice) 5px,transparent 5.5px); border-color: var(--ice); }

.comparison-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 25px 0 12px; }
.solution-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 18px 15px; gap: 9px; background: rgba(255,255,255,.38); color: var(--ink); border: 1px solid var(--line); border-radius: 3px; }
.solution-card h3 { font-size: 17px; line-height: 1.3; margin: 0 0 5px; }
.solution-card .amount { font-size: 35px; margin: 5px 0; }
.solution-card p { font-size: 12px; margin: 0; }
.solution-card small { color: var(--body); font-size: 11px; }
.solution-card.chosen, .solution-card[aria-pressed="true"] { border-color: var(--blue); background: #e1edf1; box-shadow: inset 0 0 0 1px var(--blue); }
.solution-card:hover { background: #e7efef; }
.choice-check { font-size: 10px; font-weight: 650; color: var(--blue); margin-top: auto; padding-top: 10px; letter-spacing: .04em; }
.baseline-button { font-size: 12px; }
.baseline-button.active { color: var(--blue); font-weight: 700; }
.metric-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 23px 0; }
.metric { min-width: 0; }
.metric + .metric { border-left: 1px solid var(--line); padding-left: 19px; }
.metric .label { display: block; text-transform: uppercase; letter-spacing: .05em; font-size: 10px; margin-bottom: 7px; }
.metric .value { font-size: 29px; line-height: 1.1; letter-spacing: -.045em; font-weight: 650; font-variant-numeric: tabular-nums; }
.metric small { display: block; margin-top: 8px; color: var(--body); }
.scene-panel.is-dark .metric + .metric { border-color: var(--night-line); }
.scene-panel.is-dark .metric small { color: #a5bac1; }
.business-visual { margin: 24px 0; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record-row { display: grid; grid-template-columns: 75px minmax(0,1fr) auto; align-items: center; gap: 12px; font-size: 12px; line-height: 1.5; padding: 11px 0; }
.record-row > span:first-child { color: var(--muted); font-size: 10px; }
.record-row > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.record-row + .record-row { border-top: 1px solid rgba(203,207,199,.55); }
.record-row strong { font-weight: 650; font-variant-numeric: tabular-nums; }
.scope-bar { height: 9px; width: 100%; background: #e0e2d9; border-radius: 1px; overflow: hidden; margin: 9px 0; }
.scope-bar > span, .scope-bar > div { display: block; height: 100%; background: var(--blue); transition: width .45s var(--ease); }
.scene-panel.is-dark .business-visual { border-color: var(--night-line); }
.scene-panel.is-dark .record-row + .record-row { border-color: var(--night-line); }
.scene-panel.is-dark .scope-bar { background: #35464c; }
.scene-panel.is-dark .scope-bar > span, .scene-panel.is-dark .scope-bar > div { background: var(--ice); }

.approval-sheet { margin: 24px 0 15px; border-top: 1px solid var(--line); }
.approval-row { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(100px,.65fr) minmax(0,1fr); gap: 22px; font-size: 13px; line-height: 1.6; }
.approval-row > :first-child { color: var(--body); }
.approval-row strong { font-weight: 650; text-align: right; }
.guardrail { padding: 16px 18px; background: #e5eadd; border-left: 2px solid #93a08e; font-size: 13px; line-height: 1.6; color: #4c5a49; margin-top: 20px; }
.guardrail p:last-child { margin-bottom: 0; }
.guardrail { display: flex; align-items: flex-start; gap: 12px; }
.guardrail > span { flex-shrink: 0; color: #7a9070; }
.guardrail p { font-size: 13px; color: #4c5a49; }
.action-timeline { margin: 25px 0; border-top: 1px solid var(--line); }
.action-row { display: grid; grid-template-columns: 27px minmax(0,1fr) auto; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); padding: 19px 0; font-size: 14px; line-height: 1.5; color: #88938b; }
.action-row > :first-child { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border: 1px solid #b9c5bf; border-radius: 50%; font-size: 11px; }
.action-row.done, .action-row.complete { color: var(--ink); }
.action-row.done > :first-child, .action-row.complete > :first-child { color: var(--paper); background: var(--blue); border-color: var(--blue); }
.action-row small { font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.action-row p { font-size: 12px; line-height: 1.5; margin: 6px 0 0; }
.action-row > .label { font-size: 9px; color: var(--blue); letter-spacing: .04em; }
.receipt { background: #e3ebdf; border-left: 2px solid #879c7d; padding: 17px 19px; font-size: 13px; line-height: 1.6; color: #52624c; margin-top: 19px; }
.receipt p:last-child { margin: 0; }
.receipt > .label { display: block; font-size: 10px; letter-spacing: .07em; margin-bottom: 8px; color: #5f7459; }
.receipt > strong { display: block; color: #354d2d; font-size: 17px; margin-bottom: 9px; }
.receipt p { font-size: 13px; color: #52624c; }
.receipt + .secondary { margin-top: 20px; }
.result-stage { margin: 23px 0; }
.forecast-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 20px; padding: 16px 0; }
.forecast-row .label { font-size: 12px; }
.forecast-row .amount { font-size: 35px; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.forecast-row > span { font-size: 12px; color: var(--body); }
.forecast-row > strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 35px; line-height: 1; letter-spacing: -.04em; font-weight: 650; font-variant-numeric: tabular-nums; }
.forecast-row:last-child > strong { color: var(--blue); }
.result-track { height: 9px; background: #e1e4dc; border-radius: 1px; overflow: hidden; margin-top: 4px; }
.result-fill { height: 100%; background: #9eaaa6; transition: width .6s var(--ease); }
.forecast-row:last-child .result-fill { background: var(--blue); }
.learning-card { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 21px 0; margin: 25px 0; }
.learning-card h3 { font-size: 22px; }
.learning-card .phase-label { margin-bottom: 12px; }
.learning-card p:last-child { margin-bottom: 0; }
.learning-card > .label { display: block; color: var(--blue); font-size: 10px; letter-spacing: .08em; margin-bottom: 12px; }
.memory-tag { color: var(--muted); font-size: 11px; line-height: 1.6; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.next-priority { background: #e3edf0; border-left: 2px solid var(--blue); padding: 21px; margin: 20px 0; }
.next-priority .phase-label { font-size: 10px; }
.next-priority h3 { margin: 10px 0 13px; font-size: 24px; }
.next-priority p:last-child { margin-bottom: 0; }

.bottom-bar { width: min(1440px,100%); margin: auto; padding: 0 4% 30px; display: flex; align-items: center; gap: 22px; justify-content: space-between; }
.bottom-bar .back { background: transparent; border-color: transparent; color: var(--body); padding-left: 0; min-width: 80px; justify-content: flex-start; }
.bottom-bar .continue { margin-left: auto; min-width: 190px; }
.timing { font-size: 11px; color: var(--muted); line-height: 1.5; margin-left: auto; }
footer, .footer { width: min(1440px,100%); margin: auto; padding: 20px 4% 26px; border-top: 1px solid var(--line); display: flex; gap: 22px; align-items: center; justify-content: space-between; color: var(--body); font-size: 11px; line-height: 1.6; }
footer p, .footer p { margin: 0; font-size: 11px; }
footer .text-button, .footer .text-button { font-size: 11px; }
.detail-dialog { border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: min(850px,calc(100vw - 34px)); max-height: 85vh; overflow: auto; padding: 35px; border-radius: 4px; box-shadow: 0 30px 100px rgba(10,20,24,.25); }
.detail-dialog::backdrop { background: rgba(11,20,24,.7); backdrop-filter: blur(5px); }
.detail-dialog h2 { font-size: 30px; line-height: 1.1; margin: 13px 40px 20px 0; }
.detail-dialog p { color: var(--body); font-size: 14px; }
.dialog-close { position: absolute; right: 13px; top: 13px; background: transparent; border: 1px solid var(--line); color: var(--ink); width: 44px; font-size: 23px; }
.evidence-table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 12px; text-align: left; line-height: 1.5; }
.evidence-table th { color: var(--blue); font-weight: 650; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.evidence-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.evidence-table th:last-child, .evidence-table td:last-child { padding-right: 0; text-align: right; }
.reveal { animation: reveal .4s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.motion-paused .stream path, .motion-paused .streams path { animation-play-state: paused; }

@media (max-width: 1120px) {
  .masthead { gap: 20px; }
  .mode-label { padding-left: 20px; max-width: 190px; font-size: 10px; }
  .header-actions { gap: 15px; font-size: 11px; }
  .journey-nav { gap: 8px; }
  .stage-item { font-size: 10px; gap: 6px; }
  .stage-item > span:first-child { width: 21px; height: 21px; font-size: 9px; }
  .demo-stage { grid-template-columns: minmax(245px,.72fr) minmax(0,1.55fr); gap: 27px; padding-top: 32px; }
  .narrative h1 { font-size: 41px; }
  .scene-panel { padding: 25px; }
  .source-grid { gap: 8px; }
  .source-card { padding: 15px 11px; }
  .source-card select { font-size: 12px; }
  .opportunity-grid, .comparison-grid { gap: 8px; }
  .opportunity-card, .solution-card { padding: 15px 12px; }
  .opportunity-card h3, .solution-card h3 { font-size: 15px; }
  .opportunity-card h2 { font-size: 17px; }
  .opportunity-card .amount, .solution-card .amount { font-size: 30px; }
  .metric-row { gap: 14px; }
  .metric + .metric { padding-left: 14px; }
}
@media (max-width: 820px) {
  .masthead { min-height: 78px; padding: 20px 24px; }
  .wordmark img, .masthead .logo { width: 125px; }
  .masthead > img.wordmark { width: 125px; }
  .mode-label { font-size: 10px; padding-left: 17px; max-width: 180px; }
  .header-actions { gap: 14px; }
  .header-actions .text-button { font-size: 11px; }
  .disclosure { padding: 10px 24px; font-size: 10px; }
  .journey-nav { padding: 18px 24px; }
  .stage-item { flex-direction: column; gap: 7px; font-size: 9px; }
  .stage-item > span:first-child { width: 23px; height: 23px; }
  .demo-stage { display: flex; flex-direction: column; gap: 20px; padding: 30px 24px 25px; min-height: 0; }
  .narrative { padding: 0; }
  .narrative .eyebrow { margin-bottom: 16px; }
  .narrative h1 { font-size: clamp(36px,6vw,50px); max-width: 700px; margin-bottom: 17px; }
  .narrative > p, .narrative .copy { font-size: 16px; max-width: 680px; line-height: 1.65; margin-bottom: 16px; }
  .story-caption { max-width: 620px; font-size: 12px; margin: 0 0 5px; }
  .narrative .review-badge { display: none; }
  .narrative-bottom { display: none; }
  .scene-panel { min-height: 420px; padding: 27px; }
  .scene-panel p, .copy { font-size: 15px; }
  .scene-panel h2 { font-size: 32px; }
  .hero-intro h2 { font-size: 38px; }
  .flagship-choice h3 { font-size: 29px; }
  .source-card select { font-size: 14px; }
  .source-card small { font-size: 11px; }
  .opportunity-card h3, .solution-card h3 { font-size: 17px; }
  .opportunity-card h2 { font-size: 18px; }
  .opportunity-card .amount, .solution-card .amount { font-size: 35px; }
  .metric .value { font-size: 29px; }
  .bottom-bar { position: sticky; bottom: 0; z-index: 10; width: 100%; padding: 13px 24px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(243,240,233,.96); backdrop-filter: blur(14px); gap: 15px; }
  .bottom-bar .continue { min-width: 180px; }
  .timing { font-size: 10px; max-width: 120px; }
  footer, .footer { padding: 22px 24px 35px; flex-wrap: wrap; gap: 12px 24px; font-size: 11px; }
  .detail-dialog { padding: 30px; }
}
@media (max-width: 540px) {
  .masthead { padding: 20px; gap: 14px; flex-wrap: wrap; }
  .wordmark img, .masthead .logo { width: 112px; }
  .masthead > img.wordmark { width: 112px; }
  .mode-label { padding-left: 14px; font-size: 9px; max-width: 145px; }
  .header-actions { margin-left: auto; gap: 12px; font-size: 10px; }
  .header-actions .text-button { font-size: 10px; }
  .disclosure { padding: 9px 20px; font-size: 10px; justify-content: flex-start; gap: 5px 8px; text-align: left; }
  .disclosure strong { font-size: 9px; }
  .journey-nav { padding: 16px 20px; gap: 6px; }
  .stage-item { font-size: 0; }
  .stage-item > span:first-child { font-size: 9px; width: 23px; height: 23px; }
  .stage-item.active, .stage-item[aria-current="step"] { font-size: 10px; }
  .demo-stage { padding: 26px 15px 22px; gap: 22px; }
  .narrative { padding: 0 5px; }
  .narrative h1 { font-size: clamp(34px,8vw,43px); line-height: 1.06; }
  .narrative .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .narrative > p, .narrative .copy { font-size: 15px; }
  .scene-panel { padding: 23px 20px; min-height: 0; }
  .scene-panel h2 { font-size: 29px; }
  .scene-panel h3 { font-size: 19px; }
  .hero-intro h2 { font-size: 33px; }
  .hero-art { min-height: 205px; margin-bottom: 8px; }
  .hero-art .core-symbol { width: 220px; height: 220px; }
  .orbit-label { font-size: 10px; }
  .orbit-label::after { width: 17px; }
  .label-sales { left: 0; top: 14%; }
  .label-work { right: 0; top: 19%; }
  .label-money { left: 2%; bottom: 16%; }
  .label-context { right: -3px; bottom: 12%; }
  .phase-label, .eyebrow { font-size: 9px; }
  .industry-chip { font-size: 12px; padding: 8px 12px; margin-right: 5px; }
  .flagship-choice { padding: 21px; }
  .flagship-choice h3 { font-size: 25px; margin-right: 22px; }
  .flagship-choice p { font-size: 14px; }
  .flagship-choice::after { top: 18px; right: 18px; }
  .choice-grid { grid-template-columns: 1fr; gap: 8px; }
  .choice-card { padding: 13px 14px; font-size: 13px; }
  .choice-card small { font-size: 11px; }
  .source-grid { grid-template-columns: 1fr; gap: 10px; }
  .source-card { display: grid; grid-template-columns: 33px minmax(0,1fr); gap: 0 13px; padding: 14px; }
  .source-icon { grid-row: 1 / span 3; margin: 2px 0 0; }
  .source-card .label { margin-bottom: 0; font-size: 11px; }
  .source-card label { margin-bottom: 0; font-size: 11px; }
  .source-card > span:not(.source-icon) { grid-column: 2; margin-top: 7px; }
  .source-card select { grid-column: 2; font-size: 14px; min-height: 40px; }
  .source-card small { grid-column: 2; margin-top: 7px; font-size: 11px; }
  .connection-map { height: 160px; }
  .core-symbol { width: 132px; height: 132px; }
  .domain-strip { gap: 7px; }
  .domain-pill { font-size: 10px; padding: 5px 9px; }
  .check-row { grid-template-columns: 26px minmax(0,1fr); gap: 7px 12px; padding: 16px 0; font-size: 14px; }
  .check-row small { grid-column: 2; font-size: 10px; }
  .check-state { grid-column: 2; font-size: 10px; }
  .check-row p { font-size: 12px; }
  .intelligence-note { padding-left: 14px; font-size: 14px; }
  .opportunity-grid, .comparison-grid { grid-template-columns: 1fr; gap: 10px; margin: 21px 0; }
  .opportunity-card, .solution-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 13px; padding: 16px; }
  .opportunity-card h3, .solution-card h3 { font-size: 18px; grid-column: 1; }
  .opportunity-card h2 { font-size: 19px; grid-column: 1; margin: 0; }
  .opportunity-top { grid-column: 1 / -1; min-height: 0; }
  .opportunity-top .confidence { font-size: 10px; }
  .opportunity-card .amount { grid-row: 2; }
  .opportunity-card p, .opportunity-card > small { grid-column: 1 / -1; }
  .opportunity-card p { font-size: 13px; }
  .opportunity-card > small { font-size: 11px; padding-top: 0; }
  .solution-card .amount { grid-row: 2; }
  .solution-card .choice-check { grid-column: 1 / -1; }
  .opportunity-card .amount, .solution-card .amount { font-size: 33px; grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
  .opportunity-card .label, .opportunity-card .confidence, .solution-card .label, .solution-card p, .solution-card small { grid-column: 1 / -1; }
  .opportunity-card .confidence { padding: 0; }
  .opportunity-card .status-pill { font-size: 10px; width: fit-content; }
  .hypothesis p { font-size: 15px; }
  .cash-note { font-size: 12px; }
  .constraint-switch { padding: 15px; gap: 11px; }
  .constraint-switch strong { font-size: 13px; }
  .constraint-switch small { font-size: 11px; }
  .switch-label { display: none; }
  .record-row { grid-template-columns: 58px minmax(0,1fr) auto; gap: 9px; font-size: 11px; }
  .record-row > span:first-child { font-size: 9px; }
  .business-visual .panel-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .metric-row { gap: 12px; }
  .metric + .metric { padding-left: 12px; }
  .metric .value { font-size: 25px; }
  .metric .label { font-size: 10px; }
  .metric small { font-size: 11px; }
  .approval-row { grid-template-columns: minmax(86px,.65fr) minmax(0,1fr); gap: 13px; font-size: 12px; padding: 13px 0; }
  .guardrail { font-size: 13px; padding: 15px; }
  .action-row { grid-template-columns: 25px minmax(0,1fr); gap: 8px 12px; font-size: 14px; }
  .action-row small { grid-column: 2; font-size: 10px; }
  .action-row > .label { grid-column: 2; font-size: 10px; }
  .forecast-row { gap: 8px 14px; }
  .forecast-row .amount { font-size: 32px; }
  .forecast-row > strong { font-size: 32px; }
  .learning-card h3, .next-priority h3 { font-size: 23px; }
  .next-priority { padding: 18px; }
  .bottom-bar { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); gap: 12px; }
  .bottom-bar .back { min-width: 49px; font-size: 12px; padding-right: 4px; }
  .bottom-bar .continue { min-width: 0; max-width: 220px; font-size: 12px; padding: 12px 16px; }
  .bottom-bar .timing { display: none; }
  .button-row .primary, .button-row .secondary { max-width: 100%; white-space: normal; }
  footer, .footer { padding: 20px 20px 28px; align-items: flex-start; flex-direction: column; gap: 9px; }
  .detail-dialog { padding: 28px 20px 22px; width: calc(100vw - 22px); max-height: 88vh; }
  .detail-dialog h2 { font-size: 27px; }
  .evidence-table { font-size: 11px; }
  .evidence-table th, .evidence-table td { padding-right: 8px; }
}
@media (max-width: 360px) {
  .masthead { gap: 12px; }
  .header-actions { width: 100%; justify-content: space-between; margin-top: 2px; }
  .narrative h1 { font-size: 33px; }
  .scene-panel { padding: 21px 16px; }
  .opportunity-card, .solution-card { padding: 14px 12px; }
  .opportunity-card .amount, .solution-card .amount { font-size: 29px; }
  .opportunity-card h2 { font-size: 18px; }
  .metric-row { grid-template-columns: 1fr; gap: 13px; }
  .metric + .metric { border-left: 0; padding-left: 0; padding-top: 13px; border-top: 1px solid var(--line); }
  .metric .value { font-size: 28px; }
  .bottom-bar { padding-left: 15px; padding-right: 15px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .stream path, .streams path { stroke-dasharray: none; }
  .reveal { transform: none; }
}

/* Personalization is deliberately two decisions, with a compact business preview. */
.personalized-intro { padding-top: 0; }
.personalized-intro .hero-art.compact-art { min-height: 130px; height: 130px; margin: -12px 0 14px; }
.personalized-intro .compact-art .core-symbol { width: 160px; height: 160px; }
.personalized-intro .compact-art .orbit-label { font-size: 10px; }
.personalized-intro .compact-art .label-sales { left: 12%; top: 18%; }
.personalized-intro .compact-art .label-work { right: 10%; top: 22%; }
.personalized-intro .compact-art .label-money { left: 13%; bottom: 13%; }
.personalized-intro .compact-art .label-context { right: 7%; bottom: 10%; }
.personalization-controls { border-top: 1px solid var(--line); padding-top: 21px; }
.industry-fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.industry-fieldset legend, .priority-field > label { display: block; color: var(--ink); font-size: 14px; line-height: 1.5; font-weight: 700; letter-spacing: -.015em; padding: 0; margin: 0 0 13px; }
.industry-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.industry-option { display: flex; align-items: center; justify-content: center; min-height: 64px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 3px; background: rgba(255,255,255,.28); color: var(--body); font-size: 12px; line-height: 1.45; font-weight: 550; text-align: center; transition: background .2s,color .2s,border-color .2s; }
.industry-option:hover:not(:disabled) { background: #e8eeeb; border-color: #a4b8b7; color: var(--ink); }
.industry-option.selected, .industry-option[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.priority-field { margin-bottom: 22px; }
.priority-field select { width: 100%; min-width: 0; min-height: 50px; padding: 12px 38px 12px 14px; border: 1px solid #a8b9b9; border-radius: 3px; background-color: #e8eff0; color: var(--ink); font-size: 14px; line-height: 1.5; font-weight: 600; text-overflow: ellipsis; }
.personalized-preview { border-top: 1px solid var(--line); padding-top: 18px; }
.personalized-preview .industry-chip { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; width: 100%; border: 0; border-radius: 0; padding: 0; margin: 0 0 12px; }
.personalized-preview .industry-chip > .label { font-size: 9px; letter-spacing: .08em; }
.personalized-preview .industry-chip strong { font-size: 15px; color: var(--ink); letter-spacing: -.02em; }
.personalized-preview .industry-chip > span:last-child { font-size: 11px; color: var(--muted); }
.personalized-preview .goal-line { font-size: 13px !important; line-height: 1.6; margin: 0 0 9px; }
.personalized-preview .small { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 0; }
.finding-card { border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); padding: 24px 0 23px; margin: 19px 0 23px; }
.finding-card > .label, .finding-card > .phase-label { color: var(--ice); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 12px; }
.scene-panel .finding-card h2, .scene-panel .finding-card h3 { font-size: clamp(26px,2.7vw,38px); line-height: 1.12; letter-spacing: -.05em; font-weight: 750; margin: 0 0 14px; max-width: 680px; }
.finding-card p { max-width: 650px; margin: 0; font-size: 14px; line-height: 1.65; }
.scene-panel:not(.is-dark) .finding-card { border-color: var(--line); }
.scene-panel:not(.is-dark) .finding-card > .label, .scene-panel:not(.is-dark) .finding-card > .phase-label { color: var(--blue); }
.context-line { margin: 0 0 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.scene-panel.is-dark .context-line { color: #9fb8c0; }
.status-inconclusive { color: #775f27; background: #efe7d5; border-color: #c8bb98; }
.scene-panel.is-dark .status-inconclusive { color: #e4d5ab; background: rgba(201,180,116,.09); border-color: #867a59; }
.source-card select { text-overflow: ellipsis; }
@media (max-width:1120px) {
  .industry-option { padding: 11px 8px; font-size: 11px; }
  .personalized-intro .compact-art .label-sales { left: 7%; }
  .personalized-intro .compact-art .label-work { right: 5%; }
  .personalized-intro .compact-art .label-money { left: 8%; }
  .personalized-intro .compact-art .label-context { right: 2%; }
}
@media (max-width:820px) {
  .personalized-intro .hero-art.compact-art { min-height: 120px; height: 120px; margin-top: -10px; margin-bottom: 16px; }
  .personalized-intro .compact-art .core-symbol { width: 150px; height: 150px; }
  .industry-option { font-size: 13px; padding: 12px; min-height: 61px; }
  .industry-fieldset legend, .priority-field > label { font-size: 15px; }
  .priority-field select { font-size: 15px; }
  .personalized-preview .goal-line { font-size: 14px !important; }
  .personalized-preview .small { font-size: 12px; }
  .scene-panel .finding-card h2, .scene-panel .finding-card h3 { font-size: 32px; }
  .finding-card p { font-size: 15px; }
}
@media (max-width:540px) {
  .personalized-intro .hero-art.compact-art { min-height: 105px; height: 105px; margin-top: -7px; margin-bottom: 14px; }
  .personalized-intro .compact-art .core-symbol { width: 135px; height: 135px; }
  .personalized-intro .compact-art .orbit-label { font-size: 9px; }
  .personalized-intro .compact-art .orbit-label::after { width: 10px; }
  .personalized-intro .compact-art .label-sales { left: 1%; top: 12%; }
  .personalized-intro .compact-art .label-work { right: 0; top: 16%; }
  .personalized-intro .compact-art .label-money { left: 2%; bottom: 8%; }
  .personalized-intro .compact-art .label-context { right: -2px; bottom: 4%; }
  .personalization-controls { padding-top: 19px; }
  .industry-fieldset { margin-bottom: 22px; }
  .industry-options { grid-template-columns: 1fr; gap: 8px; }
  .industry-option { justify-content: flex-start; text-align: left; min-height: 44px; padding: 11px 14px; font-size: 14px; }
  .industry-option.selected::after, .industry-option[aria-pressed="true"]::after { content: "✓"; margin-left: auto; color: var(--ice); }
  .industry-fieldset legend, .priority-field > label { font-size: 14px; margin-bottom: 11px; }
  .priority-field select { font-size: 14px; min-height: 48px; padding: 11px 32px 11px 12px; }
  .personalized-preview { padding-top: 16px; }
  .personalized-preview .industry-chip { gap: 5px 8px; }
  .personalized-preview .industry-chip > .label { width: 100%; }
  .personalized-preview .industry-chip > span:last-child { font-size: 11px; }
  .finding-card { padding: 20px 0; margin: 16px 0 20px; }
  .scene-panel .finding-card h2, .scene-panel .finding-card h3 { font-size: 28px; }
  .context-line { font-size: 11px; }
}
.receipt-records{margin:16px 0;border-top:1px solid var(--line,#CBCFC7)}
.receipt-record{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line,#CBCFC7);font-size:12px;line-height:1.5}
.receipt-record span{color:#525957;overflow-wrap:anywhere}
.receipt-record strong{font-size:12px;text-align:right;color:#44768B}
.evidence-table td small{display:block;font-size:12px;line-height:1.6;margin-top:6px;color:#525957;max-width:420px}
.receipt>small{display:block;font-size:12px;line-height:1.5;margin-top:12px;color:#525957}

.personalization-controls .goal-line{font-size:14px;line-height:1.65;margin:0 0 20px}
.industry-option{font-size:14px}
.calculation-line{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.forecast-row>small{grid-column:1/-1;color:#775f27}
@media(max-width:820px){.priority-field select{font-size:16px}}
.opportunity-card:only-child{grid-column:1/-1}
@media(min-width:541px){.opportunity-card:only-child{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 24px;padding:22px}.opportunity-card:only-child .opportunity-top{grid-column:1/-1}.opportunity-card:only-child h2{font-size:24px}.opportunity-card:only-child .amount{grid-column:2;grid-row:2/4;align-self:center;font-size:44px}.opportunity-card:only-child p,.opportunity-card:only-child>small{grid-column:1/-1}.opportunity-card:only-child p{font-size:14px}}

.record-row>span{min-width:0;overflow-wrap:anywhere}
.record-row>span:last-child{max-width:180px}
.evidence-table td:first-child{max-width:150px;overflow-wrap:anywhere}
@media(max-width:540px){.record-row{grid-template-columns:56px minmax(0,1fr) minmax(60px,100px)}}

/* Future-product review: five compact beats, the established NVORA identity. */
.beat-layout { grid-template-columns: minmax(245px,.7fr) minmax(0,1.7fr); gap: clamp(24px,3vw,42px); padding-top: 30px; padding-bottom: 26px; min-height: 560px; align-items: start; scroll-margin-top: 18px; }
.beat-layout .narrative { position: sticky; top: 24px; padding-top: 9px; min-width: 0; }
.beat-layout .narrative h1 { font-size: clamp(34px,3.2vw,48px); max-width: 390px; margin-bottom: 20px; }
.beat-layout .narrative .eyebrow { font-size: 12px; letter-spacing: .09em; margin-bottom: 18px; }
.beat-layout .narrative > p { font-size: 15px; line-height: 1.65; margin-bottom: 18px; }
.beat-layout .narrative .story-caption { font-size: 12px; line-height: 1.6; }
.beat-layout .narrative-bottom { padding-top: 28px; }
.beat-layout .narrative-bottom .copy { font-size: 12px; }
.beat-layout .scene-panel { padding: clamp(22px,2.5vw,32px); min-height: 0; }
.beat-layout .scene-panel p { font-size: 15px; line-height: 1.55; }
.beat-layout .scene-panel h2 { font-size: clamp(26px,2.4vw,34px); line-height: 1.15; margin: 10px 0 16px; }
.beat-layout .scene-panel h3 { font-size: 19px; line-height: 1.3; margin: 0 0 9px; }
.beat-layout .label, .beat-layout small, .beat-layout .small, .beat-layout .panel-heading > .label { font-size: 12px; line-height: 1.5; }
.beat-layout .status-pill { font-size: 12px; }
.beat-layout .panel-heading { margin-bottom: 16px; }
.beat-layout .context-line { font-size: 12px; margin-bottom: 14px; }
.beat-layout button, .beat-layout select, .beat-layout summary { min-height: 44px; }
.beat-layout .primary, .beat-layout .secondary, .beat-layout .text-button, .beat-layout .evidence-link { font-size: 14px; }
.beat-layout .explain { margin-top: 15px; padding-top: 10px; }
.beat-layout .explain summary { display: flex; align-items: center; font-size: 14px; padding: 6px 0; }
.beat-layout .explain summary::before { content: '+'; margin-right: 10px; font-size: 20px; font-weight: 400; }
.beat-layout .explain[open] > summary::before { content: '−'; }
.beat-layout .explain summary::-webkit-details-marker { display: none; }
.beat-layout .explain summary::marker { content: ''; }
.beat-layout .is-dark :is(button,select,summary):focus-visible { outline-color: var(--ice); }
.disclosure { font-size: 12px; }
.journey-nav { padding-top: 17px; padding-bottom: 17px; }
.stage-item { font-size: 12px; }
.stage-item > span:first-child { font-size: 11px; }
.bottom-bar { position: sticky; bottom: 0; z-index: 12; background: rgba(243,240,233,.97); border-top: 1px solid var(--line); padding-top: 13px; padding-bottom: calc(13px + env(safe-area-inset-bottom)); backdrop-filter: blur(12px); }
.bottom-bar .continue { max-width: min(430px,65vw); white-space: normal; text-align: center; }
.bottom-bar .timing { font-size: 12px; }
.detail-dialog { overscroll-behavior: contain; scroll-padding-top: 20px; }
.detail-dialog p { font-size: 15px; line-height: 1.65; }
.detail-dialog .label, .detail-dialog small { font-size: 12px; }
.detail-dialog .dialog-close { position: sticky; top: 0; float: right; right: auto; background: var(--paper); z-index: 3; }
.detail-dialog h2 { clear: none; }

/* The entry uses real choices and a compact preview of sample accounts. */
.setup-grid { display: grid; gap: 19px; }
.setup-grid fieldset, .owner-question { min-width: 0; margin: 0; padding: 0; border: 0; }
.setup-grid legend, .setup-grid label, .owner-question legend { font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--ink); margin: 0 0 10px; padding: 0; }
.setup-grid .industry-options { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.setup-grid .industry-option { min-height: 58px; font-size: 14px; padding: 10px 12px; }
.setup-grid .priority-field, .setup-grid .industry-fieldset { margin: 0; }
.setup-grid select { font-size: 15px; }
.setup-grid .priority-field select { min-height: 48px; margin: 0; }
.demo-connections { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 14px 0 0; }
.demo-connections .source-card { min-width: 0; padding: 12px; background: rgba(255,255,255,.3); }
.demo-connections .source-card label { font-size: 12px; line-height: 1.4; margin-bottom: 5px; }
.demo-connections .source-card select { padding-top: 7px; padding-bottom: 7px; font-size: 14px; min-height: 44px; text-overflow: ellipsis; }
.demo-connections .source-card small { font-size: 12px; line-height: 1.4; margin-top: 7px; }
.demo-connections .source-icon { width: 25px; height: 25px; margin-bottom: 8px; border-radius: 3px; }
.demo-connections > label { display: block; min-width: 0; font-size: 12px; }
.demo-connections > label select { display: block; width: 100%; min-width: 0; min-height: 44px; font-size: 14px; background: transparent; border: 1px solid var(--line); color: var(--ink); padding: 8px; margin-top: 7px; }
.connection-band { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 94px; padding: 7px 0; margin: 0 0 15px; border-bottom: 1px solid var(--line); }
.connection-band .core-symbol { width: 110px; height: 110px; flex: 0 0 110px; }
.connection-band::before, .connection-band::after { content: ''; display: block; height: 1px; width: min(95px,14vw); background: linear-gradient(90deg,transparent,#86acbb); }
.connection-band::after { transform: rotate(180deg); }
.connection-band p { margin: 0; max-width: 300px; }
.setup-grid .goal-line { margin: 0; font-size: 14px !important; }
.setup-grid .personalized-preview { padding-top: 14px; }

/* Connected clues stay readable without expanding into a dashboard. */
.clue-chain { display: grid; grid-template-columns: repeat(auto-fit,minmax(135px,1fr)); gap: 12px; margin: 18px 0; align-items: stretch; }
.clue-card { min-width: 0; position: relative; background: rgba(157,211,232,.045); border: 1px solid #46616b; padding: 16px 13px; border-radius: 3px; }
.clue-card:not(:last-child)::after { content: ''; position: absolute; top: 48px; left: 100%; width: 13px; height: 1px; background: var(--ice); transform-origin: left; animation: evidence-link-reveal .32s var(--ease) both; }
.clue-card > .clue-source, .clue-source { display: block; font-size: 12px; line-height: 1.4; color: #b3cbd4; margin-bottom: 10px; }
.clue-card .clue-value { display: block; color: var(--ice); font-size: clamp(20px,2vw,27px); line-height: 1.2; font-weight: 750; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.clue-card .clue-detail { display: block; font-size: 14px; line-height: 1.5; color: #c1cfd1; margin: 8px 0 0; }
.clue-card h3 { color: var(--paper); font-size: 16px !important; line-height: 1.4 !important; letter-spacing: -.02em; margin: 5px 0 0 !important; }
.scene-panel:not(.is-dark) .clue-card { border-color: #a4bcc4; background: #e8eff0; }
.scene-panel:not(.is-dark) .clue-source, .scene-panel:not(.is-dark) .clue-detail { color: var(--body); }
.scene-panel:not(.is-dark) .clue-card h3 { color: var(--ink); }
.scene-panel:not(.is-dark) .clue-value { color: var(--blue); }
.scene-panel:not(.is-dark) .clue-card::after { background: var(--blue); }
.hypothesis-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 19px; list-style: none; }
.hypothesis-chip { flex: 1 1 150px; display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 11px 12px; border-left: 2px solid #7e9298; background: rgba(243,240,233,.045); color: #c0ced1; font-size: 13px; line-height: 1.5; }
.hypothesis-chip strong { font-size: 14px; font-weight: 650; line-height: 1.4; }
.hypothesis-chip small { color: inherit; font-size: 12px; }
.hypothesis-chip[data-status='supported'], .hypothesis-chip[data-status='supporting'] { border-color: var(--ice); }
.hypothesis-chip[data-status='needs-check'], .hypothesis-chip[data-status='unresolved'] { border-color: #c3b690; }
.hypothesis-chip[data-status='contradicted'] { border-color: #9e8d85; }
.scene-panel:not(.is-dark) .hypothesis-chip { background: #e7eae4; color: var(--body); border-color: #9caaa7; }
.scene-panel:not(.is-dark) .hypothesis-chip[data-status='supported'] { border-color: var(--blue); }
.owner-question { padding-top: 17px; border-top: 1px solid var(--night-line); }
.owner-question legend { float: left; width: 100%; margin-bottom: 11px; color: var(--paper); font-size: 17px; letter-spacing: -.025em; }
.owner-question legend + * { clear: both; }
.owner-question > p { color: #adc0c5; font-size: 13px !important; margin: 0 0 11px; }
.answer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.answer-choice { text-align: left; min-width: 0; padding: 10px 13px; border: 1px solid #506873; border-radius: 3px; background: transparent; color: var(--paper); font-size: 14px; line-height: 1.45; transition: border-color .16s,color .16s,background .16s; }
.answer-choice:hover { border-color: var(--ice); background: rgba(157,211,232,.07); }
.answer-choice[aria-pressed='true'], .answer-choice.selected { border-color: var(--ice); background: rgba(157,211,232,.14); color: #e3f4fb; }
.answer-choice[aria-pressed='true']::before { content: '✓'; color: var(--ice); margin-right: 8px; }
.scene-panel:not(.is-dark) .owner-question { border-color: var(--line); }
.scene-panel:not(.is-dark) .owner-question legend { color: var(--ink); }
.scene-panel:not(.is-dark) .answer-choice { border-color: #a4b8bd; color: var(--ink); }
.scene-panel:not(.is-dark) .answer-choice[aria-pressed='true'] { border-color: var(--blue); background: var(--pale); }
.scene-panel:not(.is-dark) .answer-choice[aria-pressed='true']::before { color: var(--blue); }

/* A recommendation is legible judgment beside two real choices. */
.decision-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin: 17px 0; }
.decision-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; text-align: left; border: 1px solid var(--line); border-radius: 3px; padding: 19px; background: rgba(255,255,255,.25); color: var(--ink); transition: border-color .18s,background .18s; }
.decision-card.recommended, .decision-card[data-recommended='true'] { border-color: #8fadb8; }
.decision-card.selected, .decision-card[aria-pressed='true'], .decision-card[data-selected='true'] { border: 2px solid var(--blue); padding: 18px; background: #e9f0f1; }
.decision-card:hover:not(:disabled) { border-color: var(--blue); background: #e9eff0; }
.decision-card > .label { margin-bottom: 10px; font-size: 12px; }
.decision-card h3 { font-size: 20px !important; margin: 0 0 17px !important; }
.decision-card .amount { font-size: clamp(31px,3vw,42px); color: var(--blue); margin-bottom: 6px; }
.decision-card .modeled-range, .modeled-range { font-size: 12px; color: var(--body); line-height: 1.5; margin: 6px 0 12px; }
.decision-card p { font-size: 14px !important; line-height: 1.5; margin: 0 0 12px; }
.decision-card .choice-check { margin-top: auto; padding-top: 11px; color: var(--blue); font-size: 12px; font-weight: 700; }
.decision-facts { display: grid; gap: 7px; margin: 13px 0 0; padding: 13px 0 0; border-top: 1px solid var(--line); width: 100%; font-size: 13px; line-height: 1.45; }
.decision-facts > div { display: flex; justify-content: space-between; gap: 12px; }
.decision-facts strong { text-align: right; font-weight: 650; }
.decision-alternatives { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 14px 0; }
.decision-alternatives button { min-width: 0; background: transparent; border: 1px solid var(--line); border-radius: 3px; color: var(--body); font-size: 14px; padding: 10px 12px; line-height: 1.45; text-align: left; }
.decision-alternatives button[aria-pressed='true'] { border-color: var(--blue); color: var(--blue); background: #e4ecee; }
.judgment-note { padding: 15px 17px; border-left: 2px solid var(--blue); background: #e6eef0; margin: 15px 0; }
.judgment-note strong { display: block; font-size: 15px; line-height: 1.4; margin-bottom: 6px; }
.judgment-note p { font-size: 14px !important; line-height: 1.55; margin-bottom: 7px; }
.judgment-note p:last-child { margin-bottom: 0; }
.judgment-note small { display: block; margin-top: 9px; }
.scene-panel.is-dark .judgment-note { border-color: var(--ice); background: rgba(157,211,232,.075); }
.scene-panel.is-dark .judgment-note strong { color: var(--paper); }
.budget-switch { display: flex; align-items: center; width: 100%; min-width: 0; gap: 12px; padding: 12px 14px; border: 1px solid #a4b7ba; border-radius: 3px; background: transparent; color: var(--ink); text-align: left; margin: 14px 0; }
.budget-switch strong { font-size: 14px; }
.budget-switch small { display: block; color: var(--body); font-size: 12px; line-height: 1.5; margin-top: 3px; }
.budget-switch[aria-pressed='true'] { border-color: var(--blue); background: #e5eef0; }
.budget-switch .switch-track { flex-shrink: 0; }
.budget-switch[aria-pressed='true'] .switch-track { background: var(--blue); border-color: var(--blue); }
.budget-switch[aria-pressed='true'] .switch-track > span { transform: translateX(12px); background: var(--paper); }

/* Concrete work separates the software's changes from a person's assignment. */
.prepared-work { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 17px 0; }
.work-card { min-width: 0; border: 1px solid var(--line); border-radius: 3px; background: rgba(255,255,255,.3); padding: 17px; }
.work-card > .label { display: block; color: var(--blue); margin-bottom: 10px; }
.work-card h3 { font-size: 18px !important; line-height: 1.35 !important; margin: 0 0 9px !important; }
.work-card p { font-size: 14px !important; line-height: 1.5; margin: 7px 0; }
.work-card small { overflow-wrap: anywhere; }
.work-card .responsible-party, .responsible-party { color: var(--body); font-size: 12px; line-height: 1.5; }
.work-change { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 11px; display: grid; gap: 9px; }
.work-change > div { min-width: 0; }
.work-change span, .work-change .label { color: var(--muted); font-size: 12px; line-height: 1.4; display: block; margin-bottom: 4px; }
.work-change strong { display: block; font-size: 14px; line-height: 1.5; font-weight: 600; }
.work-change .after { color: var(--blue); }
.work-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; margin-top: 12px; border: 1px solid var(--line); border-radius: 2px; font-size: 12px; font-weight: 650; line-height: 1.4; color: var(--body); }
.work-status[data-status='applied'] { border-color: #9bb6b9; background: #e1edef; color: #365c6b; }
.work-status[data-status='assigned'] { border-color: #b8bda7; background: #ececdf; color: #5b6149; }
.work-status[data-status='queued'] { border-style: dashed; color: var(--muted); }
.approval-compact { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 15px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 15px; }
.approval-compact > div { min-width: 0; }
.approval-compact span, .approval-compact .label { display: block; font-size: 12px; color: var(--body); margin-bottom: 5px; }
.approval-compact strong { display: block; font-size: 16px; line-height: 1.4; letter-spacing: -.025em; overflow-wrap: anywhere; }
.approval-compact small { display: block; margin-top: 5px; }

/* The ending puts the changed recommendation beside the measured result. */
.result-hero { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-hero > div { min-width: 0; padding: 20px 15px 20px 0; }
.result-hero > div + div { padding-left: 15px; border-left: 1px solid var(--line); }
.result-hero .label, .result-hero span { display: block; font-size: 12px; color: var(--body); line-height: 1.45; }
.result-hero strong, .result-hero .value { display: block; font-size: clamp(25px,2.7vw,39px); line-height: 1.15; font-weight: 750; letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin: 9px 0 5px; overflow-wrap: anywhere; }
.result-hero > div:nth-child(2) strong { color: var(--blue); }
.result-hero small { display: block; margin-top: 5px; font-size: 12px; color: var(--body); }
.next-decision { padding: 18px; margin: 16px 0; border: 1px solid #b6c8cd; border-left: 3px solid var(--blue); background: #e4edf0; }
.next-decision > .label { color: var(--blue); font-size: 12px; font-weight: 700; display: block; margin-bottom: 10px; }
.decision-change { display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid #c7d6da; font-size: 14px; line-height: 1.5; }
.decision-change:last-child { border-bottom: 0; padding-bottom: 0; }
.decision-change > span:first-child, .decision-change > .label { color: #4e6c76; font-size: 12px; font-weight: 650; }
.decision-change strong { font-weight: 650; line-height: 1.5; }
.decision-change p { margin: 0; font-size: 14px !important; }
.next-decision > p:last-child { font-size: 12px !important; margin: 13px 0 0; }
.no-action-result { border: 1px solid var(--line); border-left: 3px solid var(--blue); padding: 20px; margin: 17px 0; background: #e8edeb; }
.no-action-result h3 { font-size: 22px !important; margin-bottom: 12px !important; }
.no-action-result p:last-child { margin-bottom: 0; }
@keyframes evidence-link-reveal { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.motion-paused .clue-card::after { animation: none; transform: scaleX(1); opacity: 1; }
.motion-paused .beat-layout .reveal { animation: none; transform: none; opacity: 1; }

@media (max-width:1120px) {
 .beat-layout { grid-template-columns: minmax(225px,.7fr) minmax(0,1.6fr); gap: 26px; padding-top: 26px; }
 .beat-layout .narrative h1 { font-size: 38px; }
 .beat-layout .scene-panel { padding: 23px; }
 .clue-chain { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .clue-card:nth-child(2n)::after { display: none; }
 .clue-card:not(:last-child)::after { width: 11px; }
 .decision-card, .work-card { padding: 15px; }
 .decision-card.selected, .decision-card[aria-pressed='true'] { padding: 14px; }
 .decision-card h3 { font-size: 18px !important; }
 .decision-facts > div { flex-direction: column; gap: 2px; }
 .decision-facts strong { text-align: left; }
 .result-hero strong, .result-hero .value { font-size: 29px; }
}
@media (max-width:820px) {
 .beat-layout { display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 24px; min-height: 0; }
 .beat-layout .narrative { position: static; padding: 0; }
 .beat-layout .narrative h1 { max-width: 700px; font-size: clamp(32px,5.8vw,43px); margin-bottom: 12px; }
 .beat-layout .narrative > p { max-width: 680px; margin-bottom: 10px; }
 .beat-layout .narrative .eyebrow { margin-bottom: 11px; }
 .beat-layout .narrative .story-caption { margin-bottom: 0; }
 .beat-layout .scene-panel { width: 100%; padding: 24px; }
 .clue-chain { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
 .clue-card { padding: 13px 11px; }
 .clue-card:nth-child(2n)::after { display: block; }
 .clue-card:last-child::after { display: none; }
 .clue-card h3 { font-size: 15px !important; }
 .clue-card .clue-detail { font-size: 13px; }
 .beat-layout select, .setup-grid select, .demo-connections .source-card select { font-size: 16px; }
 .decision-facts > div { flex-direction: row; gap: 10px; }
 .decision-facts strong { text-align: right; }
 .bottom-bar { padding-left: 24px; padding-right: 24px; }
 .bottom-bar .continue { min-width: 0; }
 .stage-item { font-size: 12px; }
 .disclosure { font-size: 12px; padding: 9px 20px; }
}
@media (max-width:600px) {
 .masthead { min-height: 72px; padding: 14px 18px; gap: 12px; }
 .masthead > img.wordmark { width: 112px; }
 .mode-label { display: none; }
 .header-actions { gap: 12px; }
 .header-actions .text-button { font-size: 12px; }
 .journey-nav { padding: 12px 18px; gap: 8px; align-items: flex-start; }
 .stage-item { flex: 1; flex-direction: column; gap: 5px; font-size: 0; text-align: center; }
 .stage-item.active, .stage-item[aria-current='step'] { font-size: 12px; }
 .stage-item > span:first-child { width: 24px; height: 24px; font-size: 11px; }
 .beat-layout { padding: 20px 16px 20px; gap: 16px; scroll-margin-top: 12px; }
 .beat-layout .narrative { padding: 0 2px; }
 .beat-layout .narrative h1 { font-size: clamp(30px,8vw,39px); line-height: 1.06; }
 .beat-layout .narrative > p { font-size: 15px; line-height: 1.55; }
 .beat-layout .narrative .story-caption { font-size: 12px; line-height: 1.5; }
 .beat-layout .scene-panel { padding: 18px 16px; }
 .beat-layout .scene-panel h2 { font-size: 27px; }
 .beat-layout .panel-heading { align-items: flex-start; gap: 10px; margin-bottom: 13px; }
 .beat-layout .panel-heading > .label { font-size: 12px; }
 .beat-layout .status-pill { font-size: 11px; padding: 4px 7px; }
 .setup-grid { gap: 17px; }
 .setup-grid .industry-options { grid-template-columns: 1fr; gap: 7px; }
 .setup-grid .industry-option { min-height: 44px; padding: 9px 12px; font-size: 14px; }
 .setup-grid legend, .setup-grid label { font-size: 15px; }
 .connection-band { min-height: 70px; margin-bottom: 12px; padding: 0; }
 .connection-band .core-symbol { width: 84px; height: 84px; flex-basis: 84px; }
 .demo-connections { grid-template-columns: 1fr; gap: 8px; }
 .demo-connections .source-card { display: grid; grid-template-columns: minmax(95px,.8fr) minmax(0,1.3fr); align-items: center; gap: 3px 10px; padding: 8px 11px; }
 .demo-connections .source-card label { margin: 0; font-size: 12px; }
 .demo-connections .source-card select { grid-column: 2; grid-row: 1/3; border: 0; padding: 7px 16px 7px 0; min-height: 44px; }
 .demo-connections .source-card small { grid-column: 1; font-size: 12px; margin: 0; }
 .demo-connections .source-icon { display: none; }
 .clue-chain { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 14px 0; }
 .clue-card { padding: 12px 10px; }
 .clue-card:nth-child(2n)::after { display: none; }
 .clue-card:not(:last-child)::after { width: 10px; }
 .clue-card .clue-source { font-size: 12px; margin-bottom: 7px; }
 .clue-card .clue-value { font-size: 22px; }
 .clue-card h3 { font-size: 15px !important; }
 .clue-card .clue-detail { font-size: 13px; line-height: 1.45; margin-top: 6px; }
 .hypothesis-row { gap: 6px; margin: 12px 0 15px; }
 .hypothesis-chip { flex: 1 1 120px; padding: 9px 10px; font-size: 12px; }
 .hypothesis-chip strong { font-size: 13px; }
 .owner-question { padding-top: 14px; }
 .owner-question legend { font-size: 16px; line-height: 1.4; }
 .answer-grid { gap: 7px; }
 .answer-choice { padding: 10px; font-size: 14px; min-height: 48px; }
 .decision-options { grid-template-columns: 1fr; gap: 10px; margin: 13px 0; }
 .decision-card, .decision-card.selected, .decision-card[aria-pressed='true'] { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; padding: 15px; }
 .decision-card > .label { margin: 0; grid-column: 1/-1; }
 .decision-card h3 { font-size: 18px !important; margin: 6px 0 !important; grid-column: 1; }
 .decision-card .amount { grid-column: 2; grid-row: 2; font-size: 30px; margin: 6px 0; align-self: center; }
 .decision-card > p, .decision-card .modeled-range, .decision-card .decision-facts, .decision-card .choice-check, .decision-card > small { grid-column: 1/-1; margin: 0; }
 .decision-card p { font-size: 14px !important; }
 .decision-card .decision-facts { padding-top: 10px; margin-top: 7px; gap: 6px; }
 .decision-card .choice-check { padding-top: 6px; }
 .decision-facts > div { flex-direction: row; }
 .decision-facts strong { text-align: right; }
 .decision-alternatives { gap: 8px; margin: 12px 0; }
 .decision-alternatives button { padding: 10px; font-size: 13px; }
 .judgment-note { padding: 13px 14px; margin: 13px 0; }
 .budget-switch { padding: 11px 12px; margin: 12px 0; }
 .prepared-work { grid-template-columns: 1fr; gap: 10px; margin: 13px 0; }
 .work-card { padding: 14px; }
 .work-card h3 { font-size: 18px !important; }
 .work-change { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
 .work-change strong { font-size: 13px; }
 .approval-compact { gap: 12px; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); padding: 12px 0; }
 .approval-compact > div:last-child:nth-child(3) { grid-column: 1/-1; }
 .approval-compact strong { font-size: 15px; }
 .result-hero { margin: 14px 0; grid-template-columns: repeat(2,minmax(0,1fr)); }
 .result-hero > div { padding: 15px 12px 15px 0; }
 .result-hero > div + div { padding-left: 12px; }
 .result-hero > div:last-child:nth-child(3) { grid-column: 1/-1; padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 12px; }
 .result-hero > div:last-child:nth-child(3) strong { grid-column: 2; grid-row: 1/3; margin: 0; align-self: center; }
 .result-hero strong, .result-hero .value { font-size: 29px; }
 .next-decision { padding: 15px; margin: 13px 0; }
 .decision-change { grid-template-columns: 82px minmax(0,1fr); gap: 10px; padding: 10px 0; font-size: 14px; }
 .decision-change > span:first-child { font-size: 12px; }
 .no-action-result { padding: 16px; }
 .bottom-bar { padding-left: 17px; padding-right: 17px; gap: 10px; }
 .bottom-bar .back { min-width: 47px; font-size: 13px; }
 .bottom-bar .continue { max-width: 75%; font-size: 13px; padding: 11px 14px; }
 .bottom-bar .timing { display: none; }
 .detail-dialog { width: calc(100vw - 20px); padding: 22px 17px; max-height: 90dvh; }
 .detail-dialog h2 { font-size: 26px; }
 .detail-dialog .evidence-table { font-size: 12px; }
}
@media (max-width:360px) {
 .beat-layout { padding-left: 12px; padding-right: 12px; }
 .beat-layout .scene-panel { padding: 16px 12px; }
 .header-actions { width: auto; margin-top: 0; }
 .header-actions .text-button { font-size: 11px; }
 .decision-card .amount { font-size: 26px; }
 .decision-change { grid-template-columns: 1fr; gap: 4px; }
 .result-hero strong, .result-hero .value { font-size: 26px; }
 .answer-choice { font-size: 13px; }
}
@media (prefers-reduced-motion:reduce) {
 .clue-card::after { animation: none !important; }
 .beat-layout .reveal { animation: none !important; transform: none !important; }
 .decision-card, .answer-choice { transition: none; }
}

/* Essential explanations stay at body size; secondary labels remain compact. */
.beat-layout .clue-card .clue-detail,
.beat-layout .decision-card p,
.beat-layout .judgment-note p,
.beat-layout .work-card p,
.beat-layout .decision-change p { font-size:15px !important; line-height:1.5; }
.beat-layout .work-change strong { font-size:15px; }

/* Reconciled to the five-beat application markup. */
.connection-band { display:grid; grid-template-columns:110px minmax(0,1fr); justify-content:initial; gap:16px; }
.connection-band::before, .connection-band::after { display:none; }
.connection-band > div { min-width:0; }
.connection-band > div > .label { display:block; color:var(--blue); margin-bottom:5px; }
.connection-band > div > strong { display:block; font-size:20px; line-height:1.3; letter-spacing:-.035em; }
.connection-band > div > p { max-width:none; font-size:14px !important; margin:7px 0 0; }
.decision-card h2 { font-size:20px !important; line-height:1.3 !important; margin:0 0 17px !important; }
.owner-question > .small { display:block; clear:both; margin:0 0 11px; color:#b5c8ce; }
.owner-question > .context-line { display:block; margin:11px 0 0; color:#b5c8ce; }
.opportunity-switcher { margin:16px 0 0; }
.opportunity-switcher > label { color:var(--paper); font-size:13px; }
.opportunity-switcher select { background:#26363d; color:var(--paper); border-color:#59727e; font-size:14px; font-weight:550; }
.work-card .panel-heading { flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.work-card .panel-heading > .label { font-size:12px; }
.work-card .panel-heading .work-status { margin:0; }
.work-card .context-line { font-size:12px !important; line-height:1.5; }
.work-change { grid-template-columns:58px minmax(0,1fr); gap:8px 11px; }
.work-change > span { margin:0; font-size:12px; padding-top:2px; }
.work-change > p { font-size:14px !important; line-height:1.5; margin:0; }
.sample-records { display:block; margin-top:12px; font-size:12px; color:var(--body); overflow-wrap:anywhere; }
.work-card:only-child, .work-card:last-child:nth-child(3) { grid-column:1/-1; }
.approval-compact { grid-template-columns:repeat(2,minmax(0,1fr)); }
.approval-compact .metric { padding:0; }
.approval-compact .metric + .metric { padding-left:16px; }
.approval-compact .metric .value { font-size:24px; }
.quality-warning { margin:14px 0; padding:13px 15px; border-left:2px solid #a3956d; color:#655838 !important; background:#ece6d9; font-size:14px !important; }
.decision-change > :not(:first-child) { grid-column:2; }
.decision-change h3 { font-size:19px !important; line-height:1.4 !important; margin:0 !important; }
.next-decision > .memory-tag { display:block; padding-top:13px; font-size:12px; line-height:1.5; }
.no-action-choice { border-left-color:#7a8b7b; background:#e6ebe3; }
@media(max-width:1120px){
 .decision-card h2{font-size:18px !important;}
 .header-actions{gap:14px;}
 .header-actions .text-button{font-size:12px;}
}
@media(max-width:820px){
 .masthead{flex-wrap:wrap;row-gap:4px;}
 .header-actions{flex-wrap:wrap;justify-content:flex-end;gap:3px 15px;}
 .opportunity-switcher select{font-size:16px;}
}
@media(max-width:600px){
 .masthead{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 12px;padding-top:10px;padding-bottom:10px;}
 .header-actions{width:auto;min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0 10px;margin:0;}
 .header-actions .text-button{font-size:12px;min-height:44px;padding-top:7px;padding-bottom:7px;}
 .header-actions #about{flex-basis:100%;justify-content:flex-end;}
 .connection-band{grid-template-columns:80px minmax(0,1fr);gap:11px;}
 .connection-band .core-symbol{width:80px;height:80px;}
 .connection-band > div > strong{font-size:17px;}
 .connection-band > div > p{font-size:13px !important;line-height:1.5;}
 .decision-card h2{font-size:18px !important;margin:6px 0 !important;grid-column:1;}
 .decision-card .decision-facts{grid-template-columns:repeat(2,minmax(0,1fr));font-size:12px;}
 .work-change{grid-template-columns:50px minmax(0,1fr);gap:7px 9px;}
 .approval-compact .metric + .metric{padding-left:12px;}
 .approval-compact .metric .value{font-size:22px;}
 .result-hero > .metric:last-child:nth-child(3){grid-column:1/-1;padding:12px 0;border-left:0;border-top:1px solid var(--line);}
 .result-hero > .metric:last-child:nth-child(3) small{grid-column:1;}
 .decision-change h3{font-size:18px !important;}
}
@media(max-width:360px){
 .masthead{grid-template-columns:90px minmax(0,1fr);column-gap:9px;padding-left:14px;padding-right:14px;}
 .masthead > img.wordmark{width:90px;}
 .header-actions{gap:0 8px;}
 .header-actions .text-button{font-size:11px;}
 .connection-band{grid-template-columns:65px minmax(0,1fr);}
 .connection-band .core-symbol{width:65px;height:65px;}
 .decision-change > :not(:first-child){grid-column:1;}
 .decision-card h2{font-size:17px !important;}
}

/* Keep the simulation context visible without covering a newly focused scene. */
.disclosure { position:sticky; top:0; z-index:30; background:var(--paper); }
.beat-layout, .beat-layout #headline { scroll-margin-top:54px; }
.beat-layout .narrative { top:64px; }
.clue-card[data-kind='explanation'] .clue-value { font-size:16px; line-height:1.4; letter-spacing:-.02em; color:var(--paper); }
.clue-card:only-child { grid-column:1/-1; }
.scene-panel:not(.is-dark) .clue-card[data-kind='explanation'] .clue-value { color:var(--ink); }
@media(max-width:820px) {
 .beat-layout, .beat-layout #headline { scroll-margin-top:76px; }
}
@media(max-width:360px) {
 .beat-layout, .beat-layout #headline { scroll-margin-top:90px; }
 .clue-card[data-kind='explanation'] .clue-value { font-size:15px; }
}

/* Text-only contrast refinements retain the original brand accents and surfaces. */
.stage-item { color:var(--muted); }
.stage-item.complete, .stage-item.complete > span:first-child,
.beat-layout .narrative .eyebrow, .beat-layout .narrative-bottom .phase-label,
.connection-band > div > .label, .budget-switch .switch-label,
.scene-panel:not(.is-dark) .status-pill, .scene-panel:not(.is-dark) .evidence-link,
.scene-panel:not(.is-dark) .explain summary,
.decision-alternatives button[aria-pressed='true'],
.detail-dialog .evidence-table th { color:var(--blue-text); }
@media(max-width:600px) {
 .decision-card, .decision-card.selected, .decision-card[aria-pressed='true'] { grid-template-columns:minmax(0,1fr) minmax(0,.85fr); }
 .decision-card .amount { min-width:0; max-width:100%; overflow-wrap:anywhere; justify-self:end; }
}

/* Approved refinement: reveal the connection, the prepared work and the next choice. */
.recommended-example { color:var(--blue-text); font-size:12px; line-height:1.4; font-weight:700; }
.setup-grid .connection-band { margin-bottom:0; padding-bottom:12px; }
.setup-grid .explore-toggle { justify-self:start; margin:0; min-height:44px; text-align:left; }
.business-options { display:grid; gap:16px; padding:14px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.setup-grid .demo-connections { margin-top:0; }
.setup-grid > .small:last-child { margin-bottom:0; }

/* Recorded facts and the proposed relationship are separate visual units. */
.discovery-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:14px 0; }
.discovery-facts .clue-card { padding:13px 11px; }
.discovery-facts .clue-card::after { display:none !important; }
.discovery-facts .clue-source { margin-bottom:7px; }
.discovery-facts .clue-value { font-size:25px; }
.discovery-facts .clue-detail { margin-top:6px; }
.connection-test { margin:14px 0 18px; padding:14px 0 0; border-top:1px solid var(--night-line); }
.connection-heading { display:flex; align-items:center; flex-wrap:wrap; gap:8px; color:var(--ice); font-size:12px; line-height:1.4; font-weight:700; }
.connection-nodes { margin:12px 0 0; padding:0; list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; }
.connection-node { position:relative; min-width:0; border-left:2px solid #668b9a; background:rgba(157,211,232,.06); padding:10px; font-size:15px; line-height:1.45; color:var(--paper); }
.connection-node:not(:last-child)::after { content:'→'; position:absolute; left:calc(100% + 2px); top:50%; transform:translateY(-50%); color:var(--ice); font-size:15px; line-height:1; }
.beat-layout .connection-note { color:#b6cbd3; font-size:13px; line-height:1.5; margin:10px 0 0; }
.connection-test[data-status='withheld'] { border-left:2px solid #8f9991; padding:12px 14px; background:rgba(243,240,233,.04); }
.connection-test[data-status='withheld'] .connection-note { margin:6px 0 0; }
.scene-panel:not(.is-dark) .connection-test { border-color:var(--line); }
.scene-panel:not(.is-dark) .connection-heading { color:var(--blue-text); }
.scene-panel:not(.is-dark) .connection-node { background:var(--pale); color:var(--ink); }
.scene-panel:not(.is-dark) .connection-node::after { color:var(--blue-text); }
.scene-panel:not(.is-dark) .connection-note { color:var(--body); }

/* Two concise alternatives retain their numbers, effort and decisive risk. */
.beat-layout[data-beat='choose'] .decision-options { gap:12px; margin:12px 0; }
.beat-layout[data-beat='choose'] .decision-card { display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:16px; }
.beat-layout[data-beat='choose'] .decision-card.selected,
.beat-layout[data-beat='choose'] .decision-card[aria-pressed='true'] { padding:15px; }
.beat-layout[data-beat='choose'] .decision-card > .label { margin:0; }
.beat-layout[data-beat='choose'] .decision-card h2 { margin:0 0 4px !important; font-size:19px !important; line-height:1.3 !important; }
.beat-layout[data-beat='choose'] .decision-card .amount { margin:0; font-size:35px; line-height:1.1; }
.beat-layout[data-beat='choose'] .option-meta { color:var(--body); font-size:12px; line-height:1.5; }
.beat-layout[data-beat='choose'] .decision-card .modeled-range { margin:0; }
.beat-layout[data-beat='choose'] .decision-facts { display:flex; flex-wrap:wrap; gap:3px 10px; margin:3px 0 0; padding:7px 0 0; font-size:12px; line-height:1.5; }
.beat-layout[data-beat='choose'] .decision-facts > span { min-width:0; }
.beat-layout[data-beat='choose'] .decision-card > p { margin:0; font-size:15px !important; line-height:1.45; }
.beat-layout[data-beat='choose'] .judgment-note { margin:12px 0; padding:12px 14px; }
.beat-layout[data-beat='choose'] .judgment-note .recommendation-reason { margin:0; }
.beat-layout[data-beat='choose'] .budget-switch { margin:10px 0; }
.beat-layout[data-beat='choose'] .decision-alternatives { margin:10px 0; }
.beat-layout[data-beat='choose'] .button-row { margin-top:8px; gap:4px 15px; }
.beat-layout[data-beat='choose'] .button-row + .small { margin-bottom:0; }

/* The preview is a fictional work record, not an editable workflow builder. */
.work-preview { margin:11px 0 0; border-top:1px solid var(--line); padding-top:10px; }
.work-preview > .label { display:block; font-weight:650; color:var(--blue-text); margin-bottom:7px; }
.work-fields { display:grid; grid-template-columns:minmax(75px,.8fr) minmax(0,1.2fr); gap:7px 10px; margin:0; }
.work-fields > div { grid-column:1/-1; display:grid; grid-template-columns:minmax(75px,.8fr) minmax(0,1.2fr); gap:10px; padding:7px 0; border-bottom:1px solid var(--line); }
.work-fields dt { margin:0; color:var(--body); font-size:13px; line-height:1.5; font-weight:600; }
.work-fields dd { min-width:0; margin:0; font-size:15px; line-height:1.5; color:var(--ink); overflow-wrap:anywhere; }
.work-fields > div:last-child { border-bottom:0; padding-bottom:0; }

/* Completion evidence appears before financial and segment results. */
.completion-trace { margin:12px 0 14px; padding:0 0 12px; border-bottom:1px solid var(--line); }
.completion-trace > .label { display:block; color:var(--blue-text); font-weight:650; margin-bottom:7px; }
.completion-trace ol, ol.completion-trace { list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 16px; padding-left:0; }
.completion-trace ol { margin:0; }
.completion-event { min-width:0; font-size:14px; line-height:1.5; }
.completion-event time, .completion-event > strong { display:block; color:var(--blue-text); font-size:12px; font-weight:700; margin-bottom:3px; }
.completion-event p { margin:0; font-size:14px !important; line-height:1.5; }
.completion-trace .completion-limitation { margin:0; color:var(--body); font-size:14px; line-height:1.5; }
.segments-table { width:100%; border-collapse:collapse; margin:14px 0; font-size:14px; line-height:1.45; table-layout:fixed; }
.segments-table caption { text-align:left; font-size:14px; font-weight:700; color:var(--ink); margin-bottom:9px; }
.segments-table th { text-align:left; color:var(--body); font-size:12px; line-height:1.45; font-weight:650; padding:8px 8px; border-bottom:1px solid var(--line); }
.segments-table td { padding:10px 8px; border-bottom:1px solid var(--line); color:var(--ink); font-variant-numeric:tabular-nums; }
.segments-table th:first-child, .segments-table td:first-child { padding-left:0; width:40%; }
.segments-table th:last-child, .segments-table td:last-child { padding-right:0; }
.segments-table td:last-child { color:var(--blue-text); font-weight:700; }
.segments-table + .next-decision { margin-top:12px; }

@media(max-width:1120px) {
 .connection-nodes { gap:12px; }
 .connection-node { padding:9px 8px; }
 .connection-node:not(:last-child)::after { font-size:12px; left:calc(100% + 1px); }
}
@media(max-width:600px) {
 .setup-grid { gap:12px; }
 .business-options { gap:13px; padding:12px 0; }
 .discovery-facts { gap:7px; margin:10px 0; }
 .discovery-facts .clue-card { padding:10px 7px; }
 .discovery-facts .clue-source { font-size:12px; margin-bottom:5px; }
 .discovery-facts .clue-value { font-size:21px; }
 .discovery-facts .clue-detail { font-size:13px !important; line-height:1.45; }
 .connection-test { margin:12px 0 14px; padding-top:12px; }
 .connection-nodes { grid-template-columns:1fr; gap:8px; margin-top:9px; }
 .connection-node { padding:6px 10px; font-size:15px; line-height:1.4; }
 .connection-node:not(:last-child)::after { content:'↓'; top:100%; left:14px; transform:none; line-height:8px; font-size:11px; }
 .beat-layout .connection-note { margin-top:8px; font-size:13px; }
 .beat-layout[data-beat='choose'] .decision-options { gap:9px; margin:10px 0; }
 .beat-layout[data-beat='choose'] .decision-card,
 .beat-layout[data-beat='choose'] .decision-card.selected,
 .beat-layout[data-beat='choose'] .decision-card[aria-pressed='true'] { gap:5px; padding:12px; }
 .beat-layout[data-beat='choose'] .decision-card h2 { font-size:18px !important; margin:0 0 3px !important; }
 .beat-layout[data-beat='choose'] .decision-card .amount { font-size:31px; }
 .beat-layout[data-beat='choose'] .decision-facts { margin:2px 0 0; padding-top:6px; }
 .beat-layout[data-beat='choose'] .judgment-note { margin:10px 0; padding:11px 12px; }
 .beat-layout[data-beat='choose'] .judgment-note strong { margin-bottom:5px; }
 .beat-layout[data-beat='choose'] .budget-switch { padding:10px 11px; }
 .beat-layout[data-beat='choose'] .decision-alternatives button { font-size:14px; padding:9px 10px; }
 .beat-layout[data-beat='choose'] .scene-panel { padding-top:14px; padding-bottom:14px; }
 .beat-layout[data-beat='choose'] .panel-heading { margin-bottom:10px; }
 .work-fields, .work-fields > div { grid-template-columns:minmax(75px,.8fr) minmax(0,1.2fr); }
 .completion-trace ol, ol.completion-trace { grid-template-columns:1fr; gap:7px; }
 .completion-event { display:grid; grid-template-columns:58px minmax(0,1fr); gap:2px 9px; }
 .completion-event time, .completion-event > strong { margin:0; }
 .completion-event p { grid-column:2; }
 .segments-table th { font-size:12px; }
 .segments-table td { padding-top:9px; padding-bottom:9px; font-size:14px; }
 .segments-table th:first-child, .segments-table td:first-child { width:38%; }
}
@media(max-width:360px) {
 .completion-event { grid-template-columns:1fr; gap:2px; }
 .completion-event p { grid-column:1; }
}
@media(prefers-reduced-motion:reduce) {
 .connection-node::after { animation:none !important; }
}

/* Match the compact authored markup without adding duplicate comparison rows. */
.connection-test > .context-line { display:block; margin:9px 0 0; color:#b6cbd3; font-size:12px; line-height:1.5; }
.discovery-facts .clue-card:only-child { grid-column:1/-1; }
.recommendation-reason > p:last-child { margin-bottom:0; }
.segments-table tbody th { font-size:14px; font-weight:600; color:var(--ink); }
.completion-limitation { font-size:14px !important; line-height:1.5; }
@media(max-width:600px) {
 .beat-layout[data-beat='choose'] .decision-card,
 .beat-layout[data-beat='choose'] .decision-card.selected,
 .beat-layout[data-beat='choose'] .decision-card[aria-pressed='true'] { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); column-gap:11px; row-gap:5px; align-items:start; }
 .beat-layout[data-beat='choose'] .decision-card .option-priority { grid-column:1/-1; grid-row:1; margin:0; }
 .beat-layout[data-beat='choose'] .decision-card h2 { grid-column:1/-1; grid-row:2; align-self:start; margin:0 !important; }
 .beat-layout[data-beat='choose'] .decision-card .amount { grid-column:1; grid-row:3; justify-self:start; text-align:left; align-self:center; margin:0; }
 .beat-layout[data-beat='choose'] .decision-card .option-meta { grid-column:2; grid-row:3; align-self:center; text-align:right; margin:0; line-height:1.4; }
 .beat-layout[data-beat='choose'] .decision-card .modeled-range { grid-column:1/-1; grid-row:4; margin:2px 0 0; }
 .beat-layout[data-beat='choose'] .decision-card .decision-facts { grid-column:1/-1; grid-row:5; }
 .beat-layout[data-beat='choose'] .decision-card .decisive-risk { grid-column:1/-1; grid-row:6; }
 .completion-event > span { grid-column:2; }
}
@media(max-width:360px) {
 .completion-event > span { grid-column:1; }
}

/* Unavailable choices still explain the trade-off; disabled text stays readable. */
.beat-layout[data-beat='choose'] .decision-card:disabled { opacity:1; border-style:dashed; background:rgba(203,207,199,.14); cursor:default; }

/* On phones, recorded facts use clear rows instead of narrow numerical cards. */
@media(max-width:600px) {
 .discovery-facts { grid-template-columns:1fr; gap:0; }
 .discovery-facts .clue-card[data-kind='metric'] { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px 12px; border:0; border-bottom:1px solid var(--night-line); border-radius:0; padding:10px 0; background:none; }
 .discovery-facts .clue-card[data-kind='metric']:first-child { border-top:1px solid var(--night-line); }
 .discovery-facts .clue-card[data-kind='metric'] .clue-detail { grid-column:1; grid-row:1; margin:0; font-size:15px !important; line-height:1.45; }
 .discovery-facts .clue-card[data-kind='metric'] .clue-value { grid-column:2; grid-row:1; font-size:22px; white-space:nowrap; text-align:right; }
}
