/* Scoped refinements: preserve the deck's visual system and presentation order. */
#timeline .section-heading, #scorecard .section-heading,
#demo .section-heading, #comparison .section-heading { margin-bottom: 22px; }
#timeline h2, #demo h2, #comparison h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
.eng-toolbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 14px 0; }
.eng-toolbar button, .eng-panel button { color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 9px; padding: 10px 14px; cursor: pointer; font-size: .8rem; }
.eng-toolbar button:hover, .eng-panel button:hover { border-color: var(--cyan); }
.eng-toolbar button[aria-pressed="true"] { color: var(--cyan); border-color: var(--cyan); background: var(--cyan-soft); }
.eng-toolbar button:disabled, .eng-panel button:disabled { opacity: .5; cursor: not-allowed; }
.eng-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-width: 0; }
.eng-panel p { line-height: 1.5; font-size: .9rem; }
.eng-label { font-size: .62rem !important; letter-spacing: .06em; color: var(--muted); }
.eng-columns, .eng-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.eng-demo-grid { grid-template-columns: .9fr 1.1fr; }
.recovery-controls { margin-bottom: 24px; }
.recovery-request { margin-right: auto; color: var(--muted); font-size: 1.15rem; }
.recovery-controls #reconcileOperation { color: var(--cyan); border-color: var(--cyan); }
.recovery-flow { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 32px; }
.recovery-step { position: relative; min-width: 0; padding: 24px 0 12px; border-top: 3px solid var(--cyan); }
.recovery-step:not(:last-child)::after { content: "→"; position: absolute; top: 24px; right: -25px; color: var(--muted-2); font-size: 1.3rem; }
.recovery-speech { border-top-color: var(--violet); }
.recovery-evaluation { border-top-color: var(--green); }
.recovery-step-label { color: var(--cyan); font: .7rem var(--mono); letter-spacing: .06em; }
.recovery-speech .recovery-step-label { color: var(--violet); }
.recovery-evaluation .recovery-step-label { color: var(--green); }
.recovery-step h3 { margin: 16px 0 18px; font-size: clamp(1.1rem, 1.7vw, 1.8rem); }
.recovery-step dl { margin: 0; }
.recovery-step dl > div { margin-bottom: 16px; }
.recovery-step dt { color: var(--muted); font-size: .85rem; }
.recovery-step dd { margin: 7px 0 0; font-size: 1.65rem; font-weight: 750; }
.recovery-quote { margin: 0; min-height: 4em; font-size: clamp(1.2rem, 1.8vw, 1.85rem); line-height: 1.5; }
.recovery-decision { color: var(--violet); font: .85rem var(--mono); margin-top: 22px; }
.recovery-assertion { color: var(--green); font-size: 1.25rem; font-weight: 750; line-height: 1.5; }
.recovery-assertion[data-pass="false"] { color: var(--danger); }
.recovery-verdict { color: var(--amber); font: .85rem/1.5 var(--mono); margin-top: 24px; }
.recovery-evaluation[data-tone="fail"] .recovery-verdict { color: var(--danger); }
.recovery-evaluation[data-tone="pass"] .recovery-verdict { color: var(--green); }
.recovery-proof { color: var(--muted); font-size: .85rem; line-height: 1.5; }
.recovery-advanced-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.recovery-advanced-grid button { color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 9px; padding: 10px 14px; cursor: pointer; }
#demo .recovery-flow + .takeaway { margin-top: 18px; }
#demo > .slide-shell > .fixture-label { margin: 14px 0 0; }
@media (max-width: 820px) { .recovery-flow, .recovery-advanced-grid { grid-template-columns: 1fr; gap: 20px; } .recovery-step:not(:last-child)::after { display: none; } .recovery-request { flex-basis: 100%; } .recovery-quote { min-height: 0; } }
.eng-utterance { margin: 0 0 18px; font-size: 1.05rem !important; }
mark { color: var(--cyan); background: var(--cyan-soft); padding: 0 3px; border-radius: 3px; }
.eng-pause { color: var(--amber); }
.eng-trace { display: grid; gap: 10px; }
.eng-trace-row { display: grid; grid-template-columns: 180px 1fr 120px; gap: 15px; align-items: center; font-size: .75rem; }
.eng-trace-row > b { text-align: right; color: var(--muted); font: .7rem var(--mono); }
.eng-track { position: relative; height: 16px; background: rgba(255,255,255,.025); border-bottom: 1px solid var(--line); }
.eng-bar { display: block; position: absolute; min-width: 4px; height: 12px; border-radius: 3px; background: var(--cyan); }
.eng-model { background: var(--violet); }.eng-endpoint, .eng-tts { background: var(--amber); }.eng-receiver { background: var(--green); }
.eng-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
.eng-metrics span, .eng-metrics strong { display: block; }
.eng-metrics span { font-size: .65rem; color: var(--muted); margin-bottom: 5px; }
.eng-metrics strong { font: 600 1.15rem var(--mono); }
.eng-danger { color: var(--danger); }
.eng-sources { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; color: var(--muted); font-size: .66rem; }
.eng-sources a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.mrl-draft-note { margin-top: 12px; padding: 9px 12px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 10px; background: var(--cyan-soft); }
.mrl-draft-label strong, .mrl-draft-label small { display: block; }
.mrl-draft-label strong { color: var(--cyan); font-size: .7rem; }
.mrl-draft-label small { margin-top: 3px; color: var(--muted); font-size: .58rem; }
.mrl-mini-flow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .73rem; }
.mrl-mini-flow span { display: inline-flex; align-items: center; gap: 5px; }
.mrl-mini-flow small { color: var(--muted); font-size: .6rem; }
.mrl-mini-flow > b { color: var(--muted); }
.mrl-mini-flow svg, .mrl-event-sequence svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mrl-draft-note nav { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
.mrl-draft-note a { color: var(--cyan); font-size: .6rem; text-underline-offset: 3px; }
.mrl-dialog h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem) !important; margin: 0 0 16px; }
.mrl-event-sequence { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.mrl-event-sequence li { display: grid; gap: 8px; position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.mrl-event-sequence li:not(:last-child)::after { content: '→'; position: absolute; right: -19px; top: 40%; color: var(--cyan); }
.mrl-event-sequence svg { width: 25px; height: 25px; color: var(--cyan); }
.mrl-event-sequence span { font-size: .85rem; }
.mrl-event-sequence code { font-size: 1rem; color: var(--muted); }
.mrl-example-results { display: flex; flex-wrap: wrap; gap: 18px 35px; align-items: center; margin: 16px 0; }
.mrl-example-results p { display: grid; gap: 4px; margin: 0; }
.mrl-example-results span, .mrl-example-results small { color: var(--muted); font-size: .73rem; }
.mrl-example-results strong { color: var(--green); font: 700 1.7rem var(--mono); }
.mrl-example-results small { max-width: 240px; }
.mrl-vcon-map { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.mrl-dialog .mrl-vcon-map h3 { margin: 0 0 7px; font-size: .95rem; }
.mrl-vcon-map p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.mrl-vcon-map > span { color: var(--cyan); font-size: 1.4rem; }
.mrl-scope-note { font-size: .8rem; line-height: 1.5; color: var(--muted); }
.mrl-scope-note strong { color: var(--amber); }
@media (max-width: 700px) { .mrl-event-sequence { grid-template-columns: 1fr; gap: 12px; } .mrl-event-sequence li:not(:last-child)::after { display: none; } .mrl-vcon-map { grid-template-columns: 1fr; } .mrl-vcon-map > span { display: none; } }
#timeline .takeaway { margin-top: 18px; }
.eng-details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.eng-details summary { cursor: pointer; color: var(--cyan); font-size: .8rem; padding: 5px 0; }
.eng-details p, .eng-details code { font-size: .78rem; overflow-wrap: anywhere; }
.eng-details .micro-note { text-align: left; margin: 8px 0; }
.eng-callout { border-left: 2px solid var(--amber); padding-left: 15px; color: var(--muted); }
.eng-panel .clean-list li { font-size: .85rem; padding-block: 13px; }
.eng-loop { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.eng-loop li { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.eng-loop span { color: var(--cyan); font: .8rem var(--mono); }
.eng-loop h3 { font-size: 2rem; margin: 25px 0 15px; }
.eng-loop p { line-height: 1.6; color: var(--muted); }.eng-loop small { color: var(--cyan); font-size: .75rem; }
.eng-switch { display: flex; align-items: center; gap: 10px; font-size: .83rem; cursor: pointer; margin: 12px 0; }
.eng-switch input { width: 18px; height: 18px; accent-color: var(--cyan); flex-shrink: 0; }
.eng-status-strip { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 15px; }
.eng-status-strip span { font: .7rem var(--mono); color: var(--cyan); }
.eng-select { display: grid; gap: 10px; font-size: .8rem; color: var(--muted); }
.eng-select select { width: 100%; min-width: 0; padding: 12px 8px; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 9px; font: .8rem var(--font); }
.eng-result .agent-speech { margin: 14px 0; padding: 14px; }.eng-result .agent-speech p { font-size: .93rem; }
.eng-proposal { margin-top: 14px; color: var(--muted); }.eng-proposal span { font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; }.eng-proposal p { margin: 5px 0; font-size: .85rem; }
.eng-result .result-topline b { color: var(--amber); }.eng-result[data-tone="fail"] .result-topline b { color: var(--danger); }.eng-result[data-tone="pass"] .result-topline b { color: var(--green); }
.eng-result .evidence-table { gap: 7px; }.eng-result .evidence-table div { padding: 10px; }.eng-result .result-summary { margin-bottom: 0; padding-top: 12px; font-size: .77rem; }
.eng-ledger { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 12px; font: .68rem/1.6 var(--mono) !important; color: var(--cyan); }
.eng-event-list { display: grid; gap: 8px; list-style: none; padding: 0; }.eng-event-list li { display: grid; grid-template-columns: 180px 1fr; gap: 18px; font-size: .76rem; line-height: 1.5; }.eng-event-list code { color: var(--amber); }
.eng-release-decision { display: grid; grid-template-columns: 200px 1fr; gap: 7px 22px; margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-left: 3px solid var(--danger); border-radius: 10px; background: var(--surface); }
.eng-release-decision > strong { color: var(--danger); grid-row: span 2; align-self: center; font-size: 1.1rem; }.eng-release-decision p { margin: 0; font-size: .85rem; }.eng-release-decision small { color: var(--muted); font-size: .73rem; }.eng-release-decision[data-tone="pass"] { border-left-color: var(--green); }.eng-release-decision[data-tone="pass"] strong { color: var(--green); }
.eng-release-table { min-width: 700px; }
.release-example-label { margin: 18px 0 12px; color: var(--muted); font: .8rem var(--mono); letter-spacing: .04em; }
.release-speed-strip { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.release-speed-strip b, .release-speed-strip strong { font: 750 1.6rem var(--mono); }
.release-speed-strip strong { color: var(--green); }
.release-speed-strip small { font-size: .8rem; }
.release-dimension { display: flex; align-items: center; gap: 14px; padding-block: 6px; }
.release-dimension svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--dimension-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.release-dimension b { color: var(--dimension-accent); }
.release-dimension small { display: block; margin-top: 5px; color: var(--muted); font-size: .8rem; font-weight: 400; line-height: 1.3; }
#comparison .comparison-table :is(th,td) { height: 72px; }
#comparison .comparison-table thead th { text-transform: none; letter-spacing: 0; font-size: 1rem; }
#comparison .comparison-table thead small { display: block; margin-top: 7px; font-size: .8rem; font-weight: 400; }
#comparison .comparison-table tbody th { font-size: 1rem; }
#comparison .comparison-table td { font-size: 1.15rem; }
#comparison .comparison-table th:first-child { width: 42%; }
.release-better { color: var(--green); font-weight: 750; }
.release-regression { color: var(--danger); font-weight: 750; }
#comparison .eng-release-decision { grid-template-columns: 260px 1fr; }
#comparison .eng-release-decision > strong { font-size: 1.25rem; }
@media (max-width: 820px) { #comparison .eng-release-decision { grid-template-columns: 1fr; } }
.eng-toolbar button:focus-visible, .eng-panel button:focus-visible, .eng-switch input:focus-visible, .eng-select select:focus-visible, .eng-details summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
/* Progressive disclosures scroll within their slide, rather than being clipped. */
body.presenting :is(#timeline,#demo,#comparison):has(details[open]) { overflow-y: auto; align-items: flex-start; }
@media (max-height: 800px) and (min-width: 821px) {
  body.presenting :is(#timeline,#demo,#comparison) { overflow-y: auto; align-items: flex-start; }
  body.presenting :is(#timeline,#demo,#comparison) h2 { font-size: clamp(1.9rem,3vw,2.8rem); }
}
@media (max-width: 820px) {
  .eng-columns,.eng-demo-grid,.eng-loop { grid-template-columns: 1fr; }
  .eng-trace-row { grid-template-columns: 130px 1fr 75px; gap: 6px; font-size: .62rem; }.eng-trace-row > b { font-size: .57rem; }
  .eng-metrics { grid-template-columns: 1fr 1fr; }.eng-metrics strong { font-size: 1rem; }
  .eng-panel { padding: 17px; }.eng-utterance { font-size: .9rem !important; }
  .eng-release-decision { grid-template-columns: 1fr; }.eng-release-decision > strong { grid-row: auto; }
  .eng-event-list li { grid-template-columns: 1fr; gap: 4px; }
}
@media print {
  .eng-trace-detail { display: none; }
  .eng-panel .eng-details:not([open]) { display: none; }
  #timeline h2 h2 h2,#demo h2,#comparison h2 { font-size: 2.5rem; }
}
.judge-diagram { display: block; width: 100%; height: auto; max-height: 56vh; overflow: visible; }
.judge-connectors path { fill: none; stroke: var(--cyan); stroke-width: 2; marker-end: url(#judge-flow-arrow); }
.judge-connectors .judge-merge { marker-end: none; }
.judge-source path, .judge-gate path { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.judge-gate > rect { fill: var(--cyan-soft); stroke: var(--cyan); stroke-width: 3; }
.judge-gate .policy-pass { stroke: var(--green); }.judge-gate .policy-fail { stroke: var(--danger); }.judge-gate .policy-review { fill: none; stroke: var(--amber); stroke-width: 3; }
.judge-diagram text { fill: var(--text); font-family: var(--font); }
.judge-diagram .judge-node-title { font-size: 26px; font-weight: 700; }
.judge-diagram .judge-node-note { font-size: 20px; fill: var(--muted); }
.judge-connectors .judge-prerequisite { stroke: var(--violet); stroke-dasharray: 4 4; }
#judge-reliability h2 { font-size: clamp(2rem, 3.3vw, 3.6rem); }
.judge-diagram :is(.judge-result-pass,.judge-result-fail,.judge-result-review) { fill: none; stroke-width: 3; stroke-linecap: round; }
.judge-result-pass { stroke: #7ee7bb; }.judge-result-fail { stroke: #ff8e91; }.judge-result-review { stroke: #f5cc83; }
.judge-diagram :is(.judge-result-pass,.judge-result-fail,.judge-result-review) text { font-size: 26px; font-weight: 700; stroke: none; }
#judge-reliability .takeaway { margin-top: 20px; }
.judge-component-button { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 9px; padding: 18px 24px; border: 2px solid var(--cyan); border-radius: 18px; background: var(--surface-solid); color: var(--text); font-family: var(--font); cursor: pointer; text-align: left; }
.judge-component-button:hover, .judge-component-button:focus-visible { background: var(--surface-2); outline: 3px solid var(--cyan); outline-offset: -5px; }
.judge-behavior-button { border-color: var(--violet); }
.judge-behavior-button:hover, .judge-behavior-button:focus-visible { outline-color: var(--violet); }
.judge-component-title { font-size: 26px; font-weight: 700; }
.judge-component-subtitle { font-size: 19px; color: var(--muted); }
.judge-component-action { font-size: 16px; color: var(--cyan); }
.judge-behavior-button .judge-component-action { color: var(--violet); }
.judge-dialog { width: min(1100px, 94vw); max-height: calc(100svh - 48px); box-sizing: border-box; overflow: auto; position: fixed; padding: 30px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow); }
.judge-dialog::backdrop { background: rgba(0, 0, 0, .78); backdrop-filter: blur(6px); }
#judge-reliability .judge-dialog h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); margin: 0; }
.judge-dialog .eyebrow { padding-right: 35px; }
.judge-dialog-intro { color: var(--muted); margin: 12px 0 24px; font-size: 1rem; }
.judge-dialog h3 { font-size: 1.45rem; margin: 10px 0 14px; }
.judge-option-status { color: var(--cyan); font: .72rem var(--mono); }
.judge-options { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.judge-options section { border: 1px solid var(--line-strong); border-top: 3px solid var(--cyan); border-radius: 12px; padding: 14px 20px 10px; }
.judge-options section:last-child { border-top-color: var(--violet); }
.judge-options section:last-child .judge-option-status { color: var(--violet); }
.judge-dialog a { color: var(--cyan); font-size: .8rem; text-underline-offset: 3px; }
.judge-detail-note { color: var(--muted); font-size: .8rem; line-height: 1.4; margin: 12px 0 0; }
.judge-example-quote, .judge-shared-input { display: flex; align-items: center; gap: 16px; padding: 14px 18px; margin: 18px 0; background: var(--cyan-soft); border-radius: 12px; font-size: 1.2rem; }
.judge-dialog svg { flex-shrink: 0; }
.judge-example-quote > svg, .judge-shared-input > svg { width: 42px; height: 42px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; }
.judge-shared-input strong, .judge-shared-input span { display: block; }.judge-shared-input span { font-size: 1rem; color: var(--muted); margin-top: 6px; }
.fact-example-diagram { display: block; width: 100%; height: auto; }
.fact-example-diagram text { font-family: var(--font); fill: var(--text); text-anchor: middle; }
.example-node rect { fill: var(--surface-2); stroke: var(--line-strong); }
.example-icon { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.example-arrows { fill: none; stroke: var(--cyan); stroke-width: 2; marker-end: url(#fact-example-arrow); }
.example-label { font-size: 25px; font-weight: 700; }.fact-example-diagram .example-code { font-size: 18px; }.fact-example-diagram .example-code text { font-family: var(--mono); fill: var(--muted); }.example-step { font-size: 14px; letter-spacing: 1px; }
#fact-details { padding: 24px; }
#behavior-details { padding-block: 24px; }
#behavior-details .judge-shared-input { margin-block: 10px; padding-block: 10px; }
#behavior-details .judge-path-arrow { line-height: 24px; }
#behavior-details .judge-provider-links { margin-top: 8px; }
#behavior-details .judge-review-strip { margin-top: 12px; padding-block: 9px; }
#fact-details .judge-example-quote { padding: 10px 18px; margin: 14px 0; }
#fact-details .judge-example-quote > svg { width: 36px; height: 36px; }
#fact-details .fact-check-cards { margin-top: 12px; }
#fact-details .judge-visual-verdict { margin-top: 12px; padding-block: 10px; }
#fact-details .judge-detail-note { margin-top: 8px; }
.fact-conversation { list-style: none; padding: 0; margin: 22px 0 18px; display: grid; gap: 14px; }
.fact-conversation li { padding: 0 18px; border-left: 3px solid var(--line-strong); }
.fact-conversation li > span { color: var(--muted); font: .7rem var(--mono); }
.fact-conversation p { margin: 6px 0 0; font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.45; }
.fact-conversation .fact-caller-correction { border-left-color: var(--cyan); }
.fact-caller-correction strong { color: var(--cyan); }
.fact-conversation .fact-agent-confirmation { border-left-color: var(--danger); margin-left: 15%; }
.fact-agent-confirmation strong { color: var(--danger); }
.fact-recovery-diagram text { text-anchor: middle; }
.fact-recovery-diagram .recovery-lane-title { text-anchor: start; fill: var(--muted); font: 14px var(--mono); letter-spacing: 1px; }
.recovery-runtime-label { font-size: 23px; font-weight: 700; }.recovery-runtime-note { font-size: 17px; }
.recovery-state-node { fill: rgba(71,215,160,.06); stroke: var(--green); stroke-opacity: .4; }
.recovery-state-label { font-size: 21px; font-weight: 700; }.fact-recovery-diagram .recovery-state-note { font-size: 17px; }.fact-recovery-diagram .recovery-state-note text { fill: var(--muted); }
.example-arrows .recovery-lost-ack { stroke: var(--amber); stroke-dasharray: 5 5; }
.recovery-knowledge { fill: none; stroke: var(--green); stroke-width: 2; }.fact-recovery-diagram .recovery-knowledge text { text-anchor: start; font-size: 20px; fill: var(--green); stroke: none; }
.fact-check-cards { display: grid; grid-template-columns: .95fr 1.2fr; gap: 16px; margin-top: 18px; }
.fact-check-cards section { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 12px; }
.fact-check-cards svg { width: 44px; height: 44px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; }
.fact-check-cards span { display: block; font: .72rem var(--mono); color: var(--cyan); margin-bottom: 9px; }.fact-check-cards strong { display: block; font-size: 1.05rem; margin-bottom: 8px; }.fact-check-cards code { display: block; font: .95rem var(--mono); line-height: 1.6; }
.fact-recovery-checks { grid-template-columns: .85fr 1.1fr .85fr; gap: 12px; }.fact-recovery-checks section { padding: 12px; gap: 10px; }.fact-recovery-checks svg { width: 32px; height: 32px; }.fact-recovery-checks code { font-size: .82rem; }.fact-recovery-checks strong { font-size: .95rem; }
.fact-recovery-sequence .fact-sequence-heading { font-size: 25px; font-weight: 750; }
.fact-sequence-lifeline { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 4 6; }
.fact-sequence-message { font-size: 22px; }
.fact-recovery-sequence .fact-sequence-note { font-size: 18px; fill: var(--muted); }
.fact-lost-reply { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 6 5; }
.fact-lost-cross { fill: none; stroke: var(--amber); stroke-width: 3; }
.fact-unknown-badge { fill: var(--surface-solid); stroke: var(--amber); }
.fact-recovery-sequence .fact-unknown-label { fill: var(--amber); }
.fact-backend-badge { fill: var(--surface-solid); }
.fact-violation-badge { fill: var(--surface-solid); stroke: var(--danger); }
.fact-recovery-sequence .fact-violation-label { fill: var(--danger); }
.fact-check-cards .fact-check-fail { border-color: var(--danger); }
.fact-check-cards .fact-check-fail svg, .fact-violation-verdict svg { stroke: var(--danger); }
.fact-check-fail small, .fact-violation-verdict strong { color: var(--danger); }
#fact-details .fact-check-fail small { color: var(--danger); }
#fact-details .fact-violation-verdict svg { stroke: var(--danger); }
.fact-recovery-sequence .fact-proof-label { fill: var(--green); }
.example-arrows .fact-proof-arrow { stroke: var(--green); marker-end: url(#fact-proof-arrowhead); }
#fact-details .judge-example-quote { margin: 10px 0; }
#fact-details .fact-recovery-sequence { max-height: min(310px, 38svh); }
#fact-details .fact-recovery-checks { grid-template-columns: .9fr 1.05fr 1.05fr; margin-top: 10px; }
#fact-details .fact-recovery-checks svg { flex-shrink: 0; }
#fact-details .fact-recovery-checks small { display: block; font-size: .82rem; line-height: 1.5; color: var(--green); }
#fact-details .fact-recovery-checks .fact-check-fail small { color: var(--danger); }
#fact-details .fact-violation-verdict { background: rgba(255,142,145,.08); }
#fact-details .judge-visual-verdict { margin-top: 10px; padding: 8px 12px; }
@media (max-width: 700px) { #fact-details .fact-recovery-checks { grid-template-columns: 1fr; } }
.judge-visual-verdict, .judge-review-strip { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 16px; background: var(--green-soft, rgba(71,215,160,.08)); border-radius: 12px; }
.judge-visual-verdict > svg { width: 32px; height: 32px; fill: none; stroke: var(--green); stroke-width: 2; }.judge-visual-verdict span, .judge-review-strip span { margin-left: auto; color: var(--muted); font-size: .95rem; }
.judge-path-step, .judge-assessment, .judge-validation { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.judge-visual-options svg { width: 48px; height: 48px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }.judge-visual-options section:last-child svg { stroke: var(--violet); }
.judge-visual-options strong { font-size: 1.12rem; display: block; }.judge-visual-options span:not(.judge-option-status) { font-size: .9rem; }.judge-path-step span, .judge-assessment span, .judge-validation span { display: block; color: var(--muted); line-height: 1.4; margin-top: 5px; }
.judge-path-arrow { color: var(--cyan); font-size: 24px; line-height: 30px; padding-left: 16px; }.judge-options section:last-child .judge-path-arrow { color: var(--violet); }
.judge-choice-set { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-height: 56px; }.judge-choice-set span { padding: 7px 10px; border-radius: 7px; border: 1px solid; }.choice-fail { color: var(--danger); }.choice-pass { color: var(--green); }.choice-review { color: var(--amber); }
.judge-provider-links { margin: 14px 0 0; }
.judge-review-strip { background: var(--cyan-soft); }.judge-review-strip svg { width: 36px; height: 36px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 700px) { .judge-dialog { padding: 22px; } .judge-options, .fact-check-cards { grid-template-columns: 1fr; }.judge-visual-verdict, .judge-review-strip { flex-wrap: wrap; }.judge-visual-verdict span, .judge-review-strip span { margin-left: 0; }.fact-example-wrap { overflow-x: auto; }.fact-example-diagram { min-width: 660px; }.fact-check-cards code { overflow-wrap: anywhere; } }
@media print { .judge-component-action { display: none; } }
@media (max-width: 820px) { .judge-diagram { min-width: 740px; } #judge-reliability .slide-shell { overflow-x: auto; } }
/* Keep existing long slides reachable at short stage sizes, without shrinking
   the recently enlarged vCon JSON or changing its magnifier. */
body.presenting .slide.is-active { overflow-y: auto; align-items: safe center; }
body.presenting #intro h1 { font-size: clamp(2.65rem, 5.1vw, 4.5rem); }
.hero-event { color: var(--muted); font: .7rem var(--mono); letter-spacing: .08em; margin: -4px 0 18px; }
/* Reserve space for the boundary note and navigation without reducing JSON type. */
@media (min-width: 1101px) and (min-height: 801px) {
  body.presenting #vcon-enrichment .section-heading { margin-bottom: 16px; }
  body.presenting #vcon-enrichment h2 { font-size: clamp(2.1rem, 3.1vw, 3.1rem); }
}
@media (max-width: 820px) { body.presenting .slide.is-active { align-items: flex-start; } }

/* Stage layouts use the viewport instead of the reading-mode content cap. */
@media screen and (min-width: 821px) {
  body.presenting .slide { padding: 24px clamp(24px, 3vw, 58px) 84px; }
  body.presenting .slide-shell { width: 100%; max-width: none; }
  body.presenting .ambient { display: none; }
  body.presenting .section-heading { max-width: none; margin-bottom: clamp(24px, 3.5vh, 38px); }
  body.presenting .section-heading > p:last-child { max-width: none; }
  body.presenting h2 { font-size: clamp(2.4rem, 4.4vw, 5rem); }
  body.presenting #intro h1 { font-size: clamp(2.65rem, 5.3vw, 5.7rem); }
  body.presenting .hero-grid { gap: clamp(32px, 4vw, 76px); }
  body.presenting .vcon-envelope { width: min(94%, 540px); }
  body.presenting .vcon-object { max-width: none; }
  body.presenting .object-row { padding-block: clamp(17px, 2.4vh, 28px); }
  body.presenting .system-flow li { min-height: clamp(145px, 20vh, 230px); }
  body.presenting .layer-card { min-height: clamp(200px, 24vh, 290px); }
  body.presenting .story-photo img { height: clamp(285px, 39vh, 440px); }
  body.presenting .eng-loop li { min-height: 32vh; padding: clamp(28px, 4vh, 48px); }
  body.presenting .outcome-card { min-height: clamp(280px, 36vh, 400px); }
  body.presenting .closing-principles { max-width: none; }
  body.presenting .closing-statement { max-width: none; font-size: clamp(3rem, 6vw, 6rem); }
}
@media screen and (min-width: 821px) and (max-height: 800px) {
  body.presenting #timeline .section-heading { margin-bottom: 12px; }
  body.presenting #timeline .eng-toolbar { margin-block: 8px; }
  body.presenting #timeline .eng-panel { padding: 16px 20px; }
  body.presenting #timeline .eng-utterance { margin-bottom: 12px; }
  body.presenting #timeline .eng-trace { gap: 7px; }
  body.presenting #timeline .eng-metrics { margin-top: 14px; padding-top: 10px; }
  body.presenting #timeline .takeaway { margin-top: 12px; }
  body.presenting #timeline .mrl-draft-note { margin-top: 8px; }
  body.presenting .section-heading { margin-bottom: 18px; }
  body.presenting h2:not(.closing-statement) { font-size: clamp(2.2rem, 3.3vw, 2.8rem); }
  body.presenting #vcon-enrichment h2 { font-size: 2.5rem; }
  body.presenting #vcon-enrichment .json-zoom-square { width: 100%; height: 280px; aspect-ratio: auto; }
  body.presenting #vcon-enrichment .json-focus-button { min-height: 42px; padding: 6px 9px; }
  body.presenting #comparison .comparison-table :is(th,td) { height: 50px; }
  body.presenting #comparison .eng-release-decision { padding-block: 12px; }
  body.presenting #demo .eng-panel { padding-block: 16px; }
  body.presenting :is(#demo,#comparison) .section-heading { margin-bottom: 18px; }
}
