:root {
  color-scheme: light;
  --ink: #102443;
  --ink-2: #23405f;
  --muted: #687c95;
  --blue: #1789d6;
  --blue-2: #e8f5ff;
  --mint: #168c80;
  --mint-2: #e9f7f3;
  --line: #dce5ef;
  --canvas: #f3f7fb;
  --paper: #fff;
  --soft: #f6f9fc;
  --shadow: 0 22px 60px rgba(16, 36, 67, .12);
  --font: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--canvas); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #4ab4f3; outline-offset: 3px; }

.app { min-height: 100dvh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { z-index: 8; display: flex; flex-direction: column; min-height: 100dvh; padding: 26px 17px 18px; background: #fff; border-right: 1px solid var(--line); }
.sidebar-head { padding: 0 8px 21px; border-bottom: 1px solid #e8edf3; }
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--ink); color: white; font-size: 17px; font-weight: 800; }
.brand b, .brand small { display: block; }
.brand b { font-size: 13px; letter-spacing: .02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.progress-meta { display: flex; justify-content: space-between; margin: 27px 0 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.progress { height: 4px; overflow: hidden; border-radius: 9px; background: #e9eff5; }
.progress i, .top-progress i { display: block; width: 0; height: 100%; background: var(--blue); transition: width .28s ease; }
.chapter-nav { display: grid; gap: 5px; padding-top: 19px; }
.chapter-btn { display: grid; width: 100%; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 10px 9px; text-align: left; border: 0; border-radius: 11px; background: transparent; cursor: pointer; }
.chapter-btn:hover { background: #f4f8fc; }
.chapter-btn.active { background: #e9f4fd; color: #0566a8; }
.chapter-no { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: #f1f5f8; color: #667990; font-size: 10px; font-weight: 800; }
.chapter-btn.active .chapter-no { background: #d2eafd; color: #0566a8; }
.chapter-btn b, .chapter-btn small { display: block; }
.chapter-btn b { font-size: 12px; }
.chapter-btn small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.sidebar-foot { margin-top: auto; padding: 15px 9px 0; color: #8190a2; border-top: 1px solid #e8edf3; font-size: 10px; line-height: 1.7; }

.workspace { display: flex; min-width: 0; min-height: 100dvh; flex-direction: column; }
.topbar { display: flex; min-height: 59px; align-items: center; gap: 12px; padding: 0 25px; border-bottom: 1px solid #e1e8f0; background: rgba(255,255,255,.82); }
.stage-label { flex: 0 0 auto; color: #58718d; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.top-progress { height: 3px; flex: 1; overflow: hidden; border-radius: 5px; background: #e5edf5; }
.toolbtn { min-height: 34px; padding: 0 12px; border: 1px solid #dce5ef; border-radius: 8px; background: #fff; color: #47617d; font-size: 11px; font-weight: 700; cursor: pointer; }
.toolbtn:hover { border-color: #9dc9ea; background: #f6fbff; }
.mobile-menu { display: none; }
.stage-shell { display: flex; min-height: 0; flex: 1; align-items: center; justify-content: center; padding: 14px 20px; }
#presentationSurface { position: relative; width: min(100%, 1450px, calc((100dvh - 176px) * 1.77778)); aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(214,226,238,.9); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; display: none; overflow: auto; padding: clamp(24px, 3.2vw, 50px) clamp(26px, 4.1vw, 64px) 48px; background: var(--paper); scrollbar-color: #cad9e7 transparent; scrollbar-width: thin; }
.slide.active { display: block; animation: appear .28s ease both; }
@keyframes appear { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.slide-head { max-width: 1120px; margin-bottom: clamp(20px, 3vh, 34px); }
.kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #1684c7; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kicker-mark { width: 19px; height: 3px; border-radius: 3px; background: var(--blue); }
.slide h1 { max-width: 1100px; margin: 0; color: var(--ink); font-size: clamp(25px, 2.65vw, 41px); font-weight: 800; letter-spacing: -.045em; line-height: 1.22; }
.dek { max-width: 930px; margin: 12px 0 0; color: #60758e; font-size: clamp(13px, 1.18vw, 17px); line-height: 1.65; }
.slide h2 { margin: 0; color: var(--ink); font-size: clamp(16px, 1.45vw, 22px); line-height: 1.35; letter-spacing: -.025em; }
.slide p { line-height: 1.58; }
.speaker-note { display: none !important; }
.source { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 15px; color: #70839a; font-size: 10px; }
.source a { color: #176da6; font-weight: 700; text-decoration: none; }
.source a:hover { text-decoration: underline; }
.slide-index { position: absolute; right: 30px; bottom: 16px; color: #95a4b5; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.slide-index span { margin-left: 7px; color: #177dbd; }

.slide-cover { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0,1fr); min-height: 0; align-items: stretch; padding: 0; overflow: hidden; }
.slide.slide-cover.active { display: grid; }
.cover-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 8% 6% 8% 10%; background: linear-gradient(90deg, #fff 82%, rgba(255,255,255,.92)); }
.cover-copy { grid-column: 1; grid-row: 1; }
.cover-copy .kicker { font-size: 11px; }
.cover-copy h1 { max-width: 680px; font-size: clamp(40px, 5.3vw, 78px); letter-spacing: -.055em; line-height: 1.13; }
.cover-copy h1 span { color: #168bd2; }
.cover-deck { margin: 23px 0 0; color: #334c69; font-size: clamp(18px, 2vw, 28px); font-weight: 600; line-height: 1.55; }
.cover-line { width: 82px; height: 4px; margin: 25px 0 17px; border-radius: 3px; background: #159be4; }
.cover-meta b, .cover-meta span { display: block; }
.cover-meta b { font-size: 13px; }
.cover-meta span { margin-top: 5px; color: #6e8197; font-size: 11px; }
.cover-image { position: relative; min-width: 0; min-height: 0; height: auto; margin: 0; overflow: hidden; }
.cover-image { grid-column: 2; grid-row: 1; width: 100%; height: 100%; }
.cover-image::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 20%; background: linear-gradient(90deg, white, transparent); content: ""; }
.cover-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; }
.cover-image figcaption { position: absolute; right: 15px; bottom: 14px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 5px; background: rgba(16,36,67,.63); color: #fff; font-size: 9px; }
.slide-cover .slide-index { z-index: 2; right: auto; left: 35px; bottom: 19px; color: #60758e; }

.outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.outcome { position: relative; min-height: 245px; padding: 22px 20px 18px; border: 1px solid #dce6ef; border-radius: 13px; background: linear-gradient(145deg, #fff, #f8fbfd); }
.outcome-blue { background: linear-gradient(145deg, #f5fbff, #eaf6ff); border-color: #cce7f8; }
.outcome-mint { background: linear-gradient(145deg, #f5fcfa, #eaf7f2); border-color: #d2ebe2; }
.outcome-no { position: absolute; top: 16px; right: 18px; color: #a6b8c9; font-size: 29px; font-weight: 800; }
.eyebrow, .outcome .eyebrow { color: #69809a; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.outcome h2 { max-width: 240px; margin-top: 22px; }
.outcome p:not(.eyebrow) { max-width: 250px; margin: 9px 0 25px; color: #647a91; font-size: 12px; }
.outcome-foot { color: #256d9b; font-size: 10px; }

.journey { display: flex; align-items: stretch; gap: 8px; margin: 39px 0 24px; }
.journey-step { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 16px 12px 14px; border: 1px solid #dbe5ee; border-top: 3px solid #2689cb; border-radius: 10px; background: #f9fbfd; }
.journey-step > span, .journey-step em { color: #71859a; font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .08em; }
.journey-step b { margin: 11px 0 6px; font-size: 15px; }
.journey-step small { min-height: 35px; color: #627991; font-size: 10px; line-height: 1.55; }
.journey-step em { margin-top: 13px; color: #2574a4; font-size: 9px; letter-spacing: 0; }
.journey > i { align-self: center; color: #8ea1b5; font-size: 14px; font-style: normal; }
.journey-result { border-top-color: var(--mint); background: #f1faf7; }
.journey-result em { color: #147c70; }
.callout { display: flex; align-items: center; gap: 15px; margin-top: 18px; padding: 14px 17px; border-left: 3px solid #1b91d4; border-radius: 0 9px 9px 0; background: #edf7fd; }
.callout b { flex: 0 0 auto; color: #116ca3; font-size: 11px; }
.callout span { color: #49647e; font-size: 11px; line-height: 1.6; }

.path-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.path-card { min-height: 225px; padding: 20px; border: 1px solid #dce6ef; border-radius: 13px; background: #fbfcfe; }
.path-card-blue { border-color: #cce6f6; background: linear-gradient(145deg,#f7fcff,#edf7fe); }
.path-tag { color: #68819b; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.path-card h2 { margin-top: 7px; }
.path-flow { display: flex; align-items: center; gap: 9px; margin: 24px 0 14px; }
.path-flow b { flex: 1; padding: 12px 7px; border: 1px solid #dce6ef; border-radius: 8px; background: white; font-size: 10px; text-align: center; }
.path-flow i { color: #91a2b4; font-style: normal; }
.path-card p { margin: 12px 0 0; color: #637991; font-size: 11px; }

.fanout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 35px; align-items: center; margin: 10px 0 21px; }
.query-main { position: relative; padding: 24px 22px; border-radius: 13px; background: var(--ink); color: white; }
.query-main::after { position: absolute; top: 50%; right: -25px; width: 25px; border-top: 2px solid #a9bfd4; content: ""; }
.query-main span { color: #a8d9f5; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.query-main b { display: block; margin-top: 11px; font-size: 20px; line-height: 1.5; }
.fanout-branches { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.fanout-branches div { padding: 14px 15px; border: 1px solid #dbe5ee; border-radius: 9px; background: #fbfdff; }
.fanout-branches b, .fanout-branches small { display: block; }
.fanout-branches b { font-size: 12px; }
.fanout-branches small { margin-top: 5px; color: #70839a; font-size: 10px; line-height: 1.45; }
.two-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.two-notes p { margin: 0; padding: 13px 15px; border: 1px solid #dce6ef; border-radius: 9px; color: #637991; background: #fbfcfe; font-size: 11px; }
.two-notes b { color: var(--ink); }
.two-notes .note-warn { border-color: #f2dfbc; background: #fffaf1; }

.term-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; }
.term-grid section { min-height: 206px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.term-mark { display: inline-grid; min-width: 48px; height: 31px; place-items: center; border-radius: 7px; background: #e9f5ff; color: #157db9; font-size: 12px; font-weight: 900; }
.term-blue { background: #e9f0ff; color: #5869b5; }
.term-mint { background: #e5f6f0; color: #148575; }
.term-grid h2 { margin-top: 17px; font-size: 15px; }
.term-grid p { margin: 8px 0 0; color: #657b91; font-size: 11px; }

.gate-layout { display: grid; grid-template-columns: 1.6fr .8fr; gap: 20px; }
.gate-list { display: grid; gap: 8px; }
.gate-list > div { display: grid; grid-template-columns: 38px 1fr; align-items: center; padding: 7px 15px; border: 1px solid #dce6ef; border-radius: 9px; background: #fbfcfe; }
.gate-list span { grid-row: span 2; color: #1785c9; font-size: 17px; font-weight: 900; }
.gate-list b { font-size: 12px; }
.gate-list small { margin-top: 3px; color: #73869a; font-size: 10px; }
.gate-result { padding: 17px 19px; border-radius: 10px; background: #eef7fc; }
.gate-result strong { color: #1773a7; font-size: 11px; }
.gate-result p { margin: 7px 0 14px; color: #526b83; font-size: 11px; line-height: 1.8; }
.gate-result hr { border: 0; border-top: 1px solid #cfe1ef; }
.gate-result b { color: #8a651c; font-size: 11px; }

.state-machine { display: flex; align-items: center; gap: 10px; margin: 38px 0 20px; }
.state-machine > i { color: #9aabbb; font-style: normal; }
.state { min-width: 0; flex: 1; padding: 18px 13px; border: 1px solid #dce6ef; border-radius: 11px; background: #fbfcfe; }
.state > * { display: block; }
.state span { color: #1d83bc; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.state b { margin: 10px 0 7px; font-size: 15px; }
.state small { color: #70839a; font-size: 10px; line-height: 1.5; }
.state-last { border-color: #bfe1d5; background: #f0faf6; }
.state-last span { color: #148476; }

.canonical-map { display: grid; grid-template-columns: 1fr 70px 1.1fr; align-items: center; gap: 14px; margin-bottom: 23px; }
.url-variants, .canonical-primary { display: flex; min-height: 190px; flex-direction: column; justify-content: center; gap: 8px; padding: 19px; border: 1px solid #dce6ef; border-radius: 12px; background: #fbfcfe; }
.url-variants b, .canonical-primary small { margin-bottom: 3px; color: #5e738a; font-size: 11px; }
.url-variants span { padding: 5px 9px; border-radius: 5px; background: #f0f4f8; color: #667c92; font-size: 10px; }
.canonical-arrow { color: #1c83bd; font-size: 27px; text-align: center; }
.canonical-primary { border-color: #cde8f6; background: #f2faff; }
.canonical-primary b { overflow-wrap: anywhere; color: #0c6399; font-size: 14px; }
.canonical-primary p { margin: 3px 0 0; color: #59728b; font-size: 10px; line-height: 1.7; }

.ia-flow { display: grid; grid-template-columns: .8fr 2.3fr; gap: 24px; align-items: center; margin: 27px 0; }
.ia-brand { display: flex; min-height: 132px; flex-direction: column; justify-content: center; padding: 20px; border-radius: 12px; background: var(--ink); color: #fff; text-align: center; }
.ia-brand span { color: #a6d9f5; font-size: 9px; }
.ia-brand b { margin-top: 8px; font-size: 20px; }
.ia-branches { display: grid; grid-template-columns: repeat(2,1fr); gap: 11px; }
.ia-node { padding: 16px; border: 1px solid #dce6ef; border-radius: 9px; background: #fbfcfe; }
.ia-node b, .ia-node small { display: block; }
.ia-node b { font-size: 13px; }
.ia-node small { margin-top: 6px; color: #71849a; font-size: 10px; }

.page-blueprint { overflow: hidden; border: 1px solid #d7e5ef; border-radius: 12px; background: #fbfdff; }
.blueprint-title { padding: 17px 20px; background: var(--ink); color: white; }
.blueprint-title span { display: block; margin-bottom: 7px; color: #a8d8f4; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.blueprint-title b { font-size: 18px; }
.blueprint-columns { display: grid; grid-template-columns: repeat(4,1fr); }
.blueprint-columns > div { min-height: 104px; padding: 15px; border-right: 1px solid #e0e9f0; }
.blueprint-columns > div:last-child { border: 0; }
.blueprint-columns span { color: #1778ae; font-size: 10px; font-weight: 800; }
.blueprint-columns p { margin: 7px 0 0; color: #667d94; font-size: 10px; }

.entity-graph { display: grid; grid-template-columns: .9fr 1.6fr; gap: 22px; align-items: center; margin: 10px 0 19px; }
.entity-core { display: flex; min-height: 125px; flex-direction: column; justify-content: center; padding: 18px 20px; border-radius: 12px; background: var(--ink); color: white; }
.entity-core span { color: #9dd8fa; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.entity-core b { margin: 6px 0; font-size: 20px; }
.entity-core small { color: #cfdeec; font-size: 10px; }
.entity-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.entity-links div { padding: 18px 13px; border: 1px solid #dce6ef; border-radius: 9px; text-align: center; }
.entity-links b, .entity-links span { display: block; }
.entity-links b { color: #1780b7; font-size: 10px; }
.entity-links span { margin-top: 8px; color: #314b68; font-size: 11px; font-weight: 700; }

.vitals { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 20px 0 15px; }
.vital { display: grid; min-height: 180px; grid-template-columns: 1fr 1fr; align-content: center; padding: 20px; border: 1px solid #dce6ef; border-radius: 12px; background: linear-gradient(140deg,#fff,#f5faff); }
.vital span { grid-column: 1 / 3; color: #71849a; font-size: 10px; font-weight: 700; }
.vital strong { align-self: end; margin-top: 14px; color: #157db9; font-size: 23px; }
.vital b { align-self: end; justify-self: end; color: var(--ink); font-size: 14px; }
.vital small { grid-column: 1 / 3; margin-top: 7px; color: #70839a; font-size: 10px; }

.measure-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 11px; }
.measure-grid section { display: grid; grid-template-columns: .9fr 1fr; gap: 5px 12px; padding: 15px 17px; border: 1px solid #dce6ef; border-radius: 9px; background: #fbfcfe; }
.measure-grid section > span { grid-row: span 2; align-self: center; color: #1679b0; font-size: 11px; font-weight: 800; }
.measure-grid b { font-size: 12px; }
.measure-grid p { margin: 0; color: #71849a; font-size: 10px; }

.myth-table { display: grid; gap: 7px; }
.myth-row { display: grid; grid-template-columns: .75fr 1.65fr 1.1fr; gap: 14px; align-items: center; padding: 13px 16px; border: 1px solid #dce6ef; border-radius: 8px; background: #fbfcfe; }
.myth-row b { font-size: 12px; }
.myth-row span, .myth-row em { color: #61778d; font-size: 10px; line-height: 1.5; }
.myth-row em { color: #167d74; font-style: normal; font-weight: 700; }

.answer-stack { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.answer-stack > div { position: relative; min-height: 112px; padding: 16px 17px 14px 57px; border: 1px solid #dce6ef; border-radius: 9px; background: #fbfcfe; }
.answer-stack span { position: absolute; top: 17px; left: 17px; color: #1783c0; font-size: 15px; font-weight: 900; }
.answer-stack b { font-size: 12px; }
.answer-stack p { margin: 7px 0 0; color: #647b92; font-size: 10px; }

.passage-compare { display: grid; grid-template-columns: 1fr 45px 1.5fr; align-items: center; gap: 10px; }
.passage-bad, .passage-good { min-height: 176px; padding: 17px 19px; border: 1px solid #e6e2dc; border-radius: 11px; background: #fffaf3; }
.passage-good { border-color: #cce6da; background: #f1faf5; }
.passage-bad span, .passage-good span { color: #9a7137; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.passage-good span { color: #178272; }
.passage-bad p, .passage-good p { margin: 14px 0; color: #425b74; font-size: 15px; font-weight: 600; line-height: 1.65; }
.passage-good p { font-size: 13px; }
.passage-bad small, .passage-good small { color: #8a7963; font-size: 9px; }
.passage-good small { color: #52857a; }
.passage-arrow { color: #1f8bc4; font-size: 25px; text-align: center; }

.question-map { display: grid; grid-template-columns: .8fr 2fr; gap: 20px; align-items: center; margin: 16px 0 20px; }
.question-center { display: flex; min-height: 128px; flex-direction: column; justify-content: center; padding: 20px; border-radius: 12px; background: var(--ink); color: #fff; }
.question-center span { color: #a3d8f7; font-size: 9px; }
.question-center b { margin-top: 8px; font-size: 17px; line-height: 1.5; }
.question-nodes { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.question-nodes div { padding: 14px 15px; border: 1px solid #dce6ef; border-radius: 9px; }
.question-nodes b, .question-nodes small { display: block; }
.question-nodes b { color: #167db5; font-size: 11px; }
.question-nodes small { margin-top: 6px; color: #6c8096; font-size: 10px; }

.governance { display: grid; grid-template-columns: repeat(4,1fr); gap: 11px; }
.governance > div { min-height: 160px; padding: 15px 14px; border: 1px solid #dce6ef; border-radius: 10px; background: #fbfcfe; }
.governance span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; background: #e7f4fc; color: #137eb8; font-size: 10px; font-weight: 900; }
.governance b { display: block; margin-top: 13px; font-size: 12px; }
.governance p { margin: 7px 0 0; color: #6b8097; font-size: 10px; }

.readiness { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 34px 0 22px; }
.readiness > div { display: flex; min-height: 145px; flex-direction: column; padding: 15px 12px; border-top: 3px solid #2189c6; border-radius: 8px; background: #f5f9fc; }
.readiness span { color: #1b81ba; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.readiness b { margin: 15px 0 6px; font-size: 13px; }
.readiness small { color: #6d8297; font-size: 9px; }

.evidence-chain { display: flex; align-items: center; gap: 10px; margin: 28px 0 18px; }
.evidence-chain > i { color: #91a5b8; font-style: normal; }
.evidence-node { display: flex; min-height: 130px; flex: 1; flex-direction: column; justify-content: center; padding: 17px; border: 1px solid #dce6ef; border-radius: 10px; background: #fbfcfe; }
.evidence-node span { color: #1984bf; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.evidence-node b { margin: 11px 0 6px; font-size: 14px; }
.evidence-node small { color: #71849a; font-size: 9px; }

.proof-table { border: 1px solid #dce6ef; border-radius: 10px; overflow: hidden; }
.proof-row { display: grid; grid-template-columns: .7fr 1.5fr 1.2fr; gap: 12px; align-items: center; min-height: 43px; padding: 9px 14px; border-bottom: 1px solid #e7edf3; color: #5f758c; font-size: 10px; }
.proof-row:last-child { border-bottom: 0; }
.proof-row b { color: #193653; font-size: 11px; }
.proof-head { min-height: 35px; background: #eff5fa; color: #47617a; font-size: 9px; font-weight: 800; }

.crawler-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.crawler-grid section { min-height: 177px; padding: 16px; border: 1px solid #dce6ef; border-radius: 10px; background: #fbfcfe; }
.crawler-id { display: inline-block; padding: 6px 9px; border-radius: 6px; background: #e6f4fc; color: #117ab4; font-family: var(--font); font-size: 9px; font-weight: 800; }
.crawler-training { background: #f0edff; color: #6957a6; }
.crawler-user { background: #eaf6f0; color: #197a68; }
.crawler-grid h2 { margin-top: 12px; font-size: 14px; }
.crawler-grid p { margin: 7px 0; color: #657b91; font-size: 10px; }

.visibility-layers { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.visibility-layers section { min-height: 170px; padding: 17px; border: 1px solid #dce6ef; border-radius: 11px; background: #fbfcfe; }
.visibility-layers section:nth-child(2) { background: #f2f8fc; }
.visibility-layers section:nth-child(3) { border-color: #f0dfbf; background: #fffaf1; }
.visibility-layers span, .visibility-layers b { display: block; }
.visibility-layers span { color: #1881b7; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.visibility-layers b { margin-top: 15px; font-size: 14px; }
.visibility-layers p { margin: 9px 0 0; color: #697e94; font-size: 10px; }

.experiment { display: flex; align-items: center; gap: 11px; margin: 26px 0 20px; }
.experiment > i { color: #8fa4b6; font-style: normal; }
.experiment > div { min-height: 145px; flex: 1; padding: 14px; border: 1px solid #dce6ef; border-radius: 10px; background: #fbfcfe; }
.experiment span { color: #1680b8; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.experiment b { display: block; margin: 9px 0 7px; font-size: 13px; }
.experiment p { margin: 0; color: #6b8096; font-size: 10px; line-height: 1.65; }

.case-setup { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 31px 0 22px; }
.case-setup > div { min-height: 150px; padding: 16px 15px; border: 1px solid #dce6ef; border-radius: 10px; background: #fbfcfe; }
.case-setup span { color: #1880b8; font-size: 9px; font-weight: 800; }
.case-setup b { display: block; margin-top: 13px; font-size: 12px; }
.case-setup p { margin: 6px 0 0; color: #71849a; font-size: 10px; }
.case-setup .case-limit { border-color: #efdfc2; background: #fffaf1; }
.case-setup .case-limit span { color: #a07325; }

.demo-slide { display: grid; grid-template-rows: auto minmax(220px,1fr); gap: 14px; padding-bottom: 43px; }
.slide.demo-slide.active { display: grid; }
.demo-slide:not(.active) { display: none; }
.demo-head { position: relative; margin: 0; padding-right: 170px; }
.demo-head .dek { margin-top: 7px; }
.demo-link { position: absolute; top: 12px; right: 0; display: inline-flex; align-items: center; padding: 10px 13px; border: 1px solid #c7e2f3; border-radius: 8px; background: #f2faff; color: #126c9f; font-size: 10px; font-weight: 800; text-decoration: none; }
.demo-frame { width: 100%; min-height: 230px; height: 100%; border: 1px solid #cfdae4; border-radius: 9px; background: #fff; }

.comparison-table { display: grid; gap: 5px; }
.comparison-row { display: grid; grid-template-columns: .8fr 1.4fr 1.4fr 1.1fr; gap: 10px; align-items: center; min-height: 37px; padding: 7px 10px; border: 1px solid #e3eaf1; border-radius: 6px; background: #fbfcfe; font-size: 9px; line-height: 1.35; }
.comparison-row b { color: #193754; font-size: 10px; }
.comparison-row > span { color: #637890; }
.comparison-row em { color: #25775c; font-size: 8px; font-style: normal; font-weight: 800; }
.comparison-head { min-height: 29px; border-color: #e0e9f0; background: #edf4f9; color: #47617a; font-size: 8px; font-weight: 800; }
.comparison-row.comparison-wide { grid-template-columns: .8fr 2.8fr 1.1fr; }
.comparison-row .wide-text { grid-column: 2; }
.comparison-row .wide-status { grid-column: 3; }

.result-levels { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin: 25px 0 17px; }
.result-levels section { position: relative; display: flex; min-height: 168px; flex-direction: column; padding: 15px 13px; border: 1px solid #dce6ef; border-radius: 10px; background: #fbfcfe; }
.result-levels section > span { color: #1680b8; font-size: 8px; font-weight: 900; }
.result-levels b { margin: 12px 0 8px; font-size: 11px; line-height: 1.5; }
.result-levels small { color: #73869b; font-size: 9px; }
.status { display: inline-block; width: fit-content; margin-top: auto; padding: 5px 7px; border-radius: 4px; font-size: 8px; font-style: normal; font-weight: 800; }
.status-confirmed { background: #e9f6ef; color: #247a53; }
.status-observed { background: #e9f4fd; color: #246d9c; }
.status-not { background: #fff3dc; color: #8e6821; }

.audit-list { display: grid; gap: 7px; }
.audit-list > div { display: grid; grid-template-columns: 42px 1fr; gap: 8px; align-items: center; min-height: 39px; padding: 7px 12px; border: 1px solid #e0e8ef; border-radius: 7px; background: #fbfcfe; }
.audit-list b { color: #1883bf; font-size: 12px; }
.audit-list span { color: #566f88; font-size: 10px; }

.roadmap { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin: 28px 0 21px; }
.roadmap > div { min-height: 160px; padding: 16px; border-top: 3px solid #2188c4; border-radius: 9px; background: #f5f9fc; }
.roadmap > div:nth-child(2) { border-top-color: #6684d4; }
.roadmap > div:nth-child(3) { border-top-color: #168c80; }
.roadmap span { color: #677f96; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.roadmap b { display: block; margin: 12px 0 8px; font-size: 14px; }
.roadmap p { min-height: 55px; margin: 0; color: #697e94; font-size: 10px; }
.roadmap small { display: block; margin-top: 10px; color: #2273a3; font-size: 9px; font-weight: 700; }

.roles { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.roles section { min-height: 155px; padding: 14px; border: 1px solid #dce6ef; border-radius: 10px; background: #fbfcfe; }
.roles span { color: #1781b7; font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.roles section:nth-child(2) span { color: #7165a7; }
.roles section:nth-child(3) span { color: #188477; }
.roles b { display: block; margin-top: 13px; font-size: 12px; }
.roles p { margin: 7px 0 0; color: #6c8096; font-size: 10px; }

.six-answers { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 25px 0 20px; }
.six-answers > div { display: grid; grid-template-columns: 34px 1fr; align-items: center; padding: 14px; border: 1px solid #dce6ef; border-radius: 9px; background: #fbfcfe; }
.six-answers span { grid-row: span 2; color: #1784c1; font-size: 16px; font-weight: 900; }
.six-answers b { font-size: 13px; }
.six-answers small { margin-top: 3px; color: #71849a; font-size: 9px; }
.closing-line { padding: 16px; border-radius: 9px; background: var(--ink); color: white; font-size: 17px; font-weight: 800; letter-spacing: .02em; text-align: center; }

.sources-slide .slide-head { margin-bottom: 18px; }
.source-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.source-grid a { display: flex; min-height: 84px; flex-direction: column; justify-content: center; padding: 12px 14px; border: 1px solid #dce6ef; border-radius: 8px; background: #fbfcfe; text-decoration: none; }
.source-grid a:hover { border-color: #9acde9; background: #f5fbff; }
.source-grid b { color: #1c5073; font-size: 10px; }
.source-grid span { margin-top: 5px; color: #70849a; font-size: 9px; line-height: 1.45; }
.source-note { margin-top: 12px; padding: 11px 14px; border-left: 3px solid #168c80; border-radius: 0 7px 7px 0; background: #eef8f4; color: #526e6d; font-size: 9px; line-height: 1.55; }

/* Projection legibility: body copy and evidence tables stay readable at slide scale. */
.slide p:not(.dek):not(.cover-deck):not(.speaker-note) { font-size: 13px; }
.journey-step small, .journey-step em, .fanout-branches small, .gate-list small,
.state small, .url-variants span, .canonical-primary p, .ia-node small,
.blueprint-columns p, .entity-core small, .measure-grid p, .myth-row span,
.myth-row em, .answer-stack p, .question-nodes small, .governance p,
.readiness small, .evidence-node small, .proof-row, .crawler-grid p,
.visibility-layers p, .experiment p, .case-setup p, .result-levels small,
.audit-list span, .roadmap p, .roles p, .six-answers small, .source-grid span {
  font-size: 11px;
}
.comparison-row { min-height: 42px; font-size: 12px; }
.comparison-row b { font-size: 12px; }
.comparison-row em { font-size: 10px; }
.comparison-head { min-height: 32px; font-size: 10px; }
.proof-row { min-height: 46px; font-size: 12px; }
.proof-row b { font-size: 12px; }
.source-grid b { font-size: 12px; }
.source-grid span, .source-note { font-size: 11px; }

/* Teaching diagrams: compact, editable HTML models that connect each claim to a usable next step. */
.teach-viz { margin-top: 16px; padding: 10px 13px 9px; border: 1px solid #dce7f0; border-radius: 11px; background: linear-gradient(125deg, #f8fbfe, #f2f8fc); }
.teach-viz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid #e1ebf3; }
.teach-viz-head span { color: #2682b5; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.teach-viz-head b { color: #294b68; font-size: 11px; text-align: right; }
.teach-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.teach-flow-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.teach-flow-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.teach-step { position: relative; min-width: 0; min-height: 62px; padding: 8px 9px; border: 1px solid #dce6ef; border-radius: 8px; background: rgba(255,255,255,.9); }
.teach-step:not(:last-child)::after { position: absolute; top: 50%; right: -12px; z-index: 1; color: #6bafd5; content: "›"; font-size: 19px; font-weight: 700; line-height: 1; transform: translateY(-50%); }
.teach-step > small, .teach-field > small, .teach-branch > small { display: block; color: #3187b5; font-size: 8.5px; font-weight: 900; letter-spacing: .05em; }
.teach-step > b, .teach-field > b, .teach-branch > b { display: block; margin-top: 5px; color: #294966; font-size: 10.5px; line-height: 1.4; }
.slide .teach-step p:not(.dek):not(.cover-deck):not(.speaker-note), .slide .teach-branch p:not(.dek):not(.cover-deck):not(.speaker-note) { margin: 3px 0 0; color: #687f94; font-size: 10px; line-height: 1.4; }
.teach-step-uncertain { border-color: #efdfc3; background: #fffaf2; }
.teach-step-uncertain > small { color: #a47a33; }
.teach-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.teach-branch { min-width: 0; padding: 9px 10px; border: 1px solid #dce6ef; border-radius: 8px; background: #fff; }
.teach-branch em { display: inline-block; margin-top: 7px; padding: 4px 7px; border-radius: 5px; background: #edf6fb; color: #317da6; font-size: 8px; font-style: normal; font-weight: 800; }
.teach-branch-blue { border-color: #cfe6f3; background: #f8fcff; }
.teach-viz-foot { margin-top: 7px; padding-top: 6px; border-top: 1px solid #e3edf4; color: #667d92; font-size: 10px; line-height: 1.4; }
.teach-viz-loop { color: #177b70; font-weight: 700; }
.teach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.teach-field { min-width: 0; padding: 9px 10px; border: 1px solid #dce6ef; border-radius: 7px; background: rgba(255,255,255,.92); }
.teach-field > b { margin-top: 4px; font-size: 10px; }
.teach-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.teach-matrix-wrap { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto 18px; gap: 2px 8px; margin-top: 9px; }
.teach-y-axis { display: flex; grid-row: 1; flex-direction: column; align-items: center; justify-content: space-around; color: #7a8fa3; font-size: 8px; }
.teach-y-axis b { color: #3f627e; font-size: 9px; writing-mode: vertical-rl; }
.teach-matrix { display: grid; grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.teach-matrix-cell { display: flex; min-height: 44px; flex-direction: column; justify-content: center; padding: 6px 8px; border: 1px solid #e0e8ef; border-radius: 7px; background: #fff; }
.teach-matrix-cell small { color: #7b8ea1; font-size: 9px; }
.teach-matrix-cell b { margin-top: 3px; color: #294966; font-size: 10px; }
.teach-matrix-cell span { margin-top: 2px; color: #6c8195; font-size: 9px; }
.teach-cell-focus { border-color: #bfe0d5; background: #f3faf7; }
.teach-cell-check { border-color: #f0dfbf; background: #fffaf1; }
.teach-cell-park { background: #f6f8fa; }
.teach-x-axis { display: flex; grid-column: 2; align-items: center; justify-content: space-between; color: #7a8fa3; font-size: 8px; }
.teach-x-axis b { color: #3f627e; font-size: 9px; }
.audit-ticket { background: linear-gradient(125deg, #f5fafe, #f5faf8); }
.teach-viz-closing { border-color: #cfe3f0; background: linear-gradient(125deg, #f2f9fe, #f2f9f7); }
.gate-layout + .teach-viz { margin-top: 3px; padding-top: 6px; padding-bottom: 5px; }
.experiment + .callout { margin-top: 10px; }
.experiment + .callout + .teach-viz { margin-top: 4px; }
.roadmap > div { min-height: 150px; }
.roadmap p { min-height: 42px; }
.roadmap { margin-top: 20px; margin-bottom: 14px; }
.roadmap + .callout { margin-top: 8px; }
.roadmap + .callout + .teach-viz { margin-top: 0; }
.roadmap + .callout + .teach-viz .teach-matrix-cell { min-height: 34px; }

.bottom { display: grid; min-height: 75px; grid-template-columns: minmax(210px,1fr) minmax(90px,29vw) auto; gap: 16px; align-items: center; padding: 9px 24px; border-top: 1px solid #e1e8f0; background: #fff; }
.bottom-meta { display: grid; min-width: 0; grid-template-columns: auto 1fr; gap: 2px 11px; align-items: center; }
.bottom-meta strong { grid-row: span 2; color: #177db9; font-size: 11px; white-space: nowrap; }
.bottom-meta b { overflow: hidden; color: #2d4762; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.bottom-meta span { overflow: hidden; color: #8292a4; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.dots { display: flex; max-width: 32vw; align-items: center; justify-content: center; gap: 4px; overflow-x: auto; padding: 5px; scrollbar-width: none; }
.dots::-webkit-scrollbar { display: none; }
.dot { width: 7px; min-width: 7px; height: 7px; padding: 0; border: 0; border-radius: 8px; background: #d5dfe9; cursor: pointer; }
.dot.active { width: 18px; background: #1688cc; }
.navbtns { display: flex; gap: 7px; }
.navbtns button { min-height: 34px; padding: 0 12px; border: 1px solid #dce5ed; border-radius: 8px; background: white; color: #516a84; font-size: 10px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.navbtns button:hover:not(:disabled) { background: #f4f9fd; }
.navbtns button:disabled { opacity: .42; cursor: default; }
.navbtns button.next { border-color: var(--ink); background: var(--ink); color: white; }

.notes { position: fixed; z-index: 20; top: 0; right: 0; width: min(410px, 92vw); height: 100dvh; padding: 29px; transform: translateX(105%); transition: transform .24s ease; border-left: 1px solid #dce5ef; background: #fff; box-shadow: -20px 0 60px rgba(16,36,67,.16); overflow: auto; }
.notes.open { transform: translateX(0); }
.notes h2, .toc h2 { margin: 5px 0 20px; font-size: 22px; }
.notes .eyebrow, .toc .eyebrow { margin: 32px 0 0; }
.note-block { padding: 15px 0; border-top: 1px solid #e7edf3; }
.note-block b { color: #187ab2; font-size: 11px; }
.note-block p { color: #526981; font-size: 13px; line-height: 1.7; }
.notes-close { float: right; min-height: 31px; padding: 0 10px; border: 1px solid #dce5ef; border-radius: 7px; background: white; color: #61768c; font-size: 10px; cursor: pointer; }
.toc { position: fixed; z-index: 18; inset: 0; display: none; place-items: center; padding: 20px; background: rgba(12,29,50,.48); }
.toc.open { display: grid; }
.toc-card { width: min(760px, 100%); max-height: 85dvh; overflow: auto; padding: 27px; border-radius: 15px; background: white; box-shadow: var(--shadow); }
.toc-card > .eyebrow { margin-top: 4px; }
.toc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.toc-item { min-height: 62px; padding: 12px; border: 1px solid #dce6ef; border-radius: 8px; background: #fbfcfe; text-align: left; cursor: pointer; }
.toc-item:hover { border-color: #aad6ee; background: #f4fbff; }
.toc-item b, .toc-item span { display: block; }
.toc-item b { font-size: 11px; }
.toc-item span { margin-top: 4px; color: #73869a; font-size: 9px; }

@media (max-width: 1120px) {
  .app { grid-template-columns: 215px minmax(0,1fr); }
  .sidebar { padding-right: 12px; padding-left: 12px; }
  .topbar { padding-right: 15px; padding-left: 15px; }
  .bottom { grid-template-columns: minmax(180px,1fr) minmax(70px,24vw) auto; gap: 9px; padding-right: 13px; padding-left: 13px; }
  .navbtns button { padding: 0 9px; }
}
@media (max-width: 850px) {
  .app { display: block; }
  .sidebar { position: fixed; top: 0; bottom: 0; left: -270px; width: 258px; min-height: 0; transform: none; transition: left .22s ease; box-shadow: 15px 0 36px rgba(16,36,67,.12); }
  .sidebar.open { left: 0; }
  .mobile-menu { display: block; }
  .hide-mobile { display: none; }
  .topbar { min-height: 51px; gap: 9px; }
  .workspace { min-height: 100dvh; }
  .stage-shell { padding: 10px; }
  #presentationSurface { width: min(100%, calc((100dvh - 148px) * 1.77778)); }
  .bottom { min-height: 68px; grid-template-columns: 1fr auto; gap: 8px; }
  .dots { display: none; }
  .bottom-meta { grid-column: 1; }
  .navbtns { grid-column: 2; grid-row: 1; }
  .bottom-meta span { display: none; }
  .teach-flow-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .topbar { padding: 0 9px; }
  .stage-label { font-size: 9px; }
  .toolbtn { min-height: 31px; padding: 0 8px; font-size: 9px; }
  .stage-shell { min-height: 0; height: calc(100dvh - 119px); padding: 8px; align-items: stretch; }
  #presentationSurface { width: 100%; height: auto; min-height: 0; flex: 1; align-self: stretch; aspect-ratio: auto; border-radius: 10px; }
  .slide { padding: 24px 18px 42px; }
  .slide h1 { font-size: 25px; }
  .dek { font-size: 12px; }
  .slide-head { margin-bottom: 18px; }
  .slide p:not(.dek):not(.cover-deck):not(.speaker-note) { font-size: 12px; }
  .slide-cover { grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) 210px; }
  .slide-cover .cover-copy { grid-column: 1; grid-row: 1; }
  .slide-cover .cover-image { grid-column: 1; grid-row: 2; min-height: 210px; }
  .cover-copy { padding: 32px 22px 22px; }
  .cover-copy h1 { font-size: 43px; }
  .cover-deck { margin-top: 13px; font-size: 17px; }
  .cover-line { margin: 14px 0 11px; }
  .cover-meta span { font-size: 9px; }
  .cover-image::before { inset: 0 0 auto; width: auto; height: 20%; background: linear-gradient(180deg, white, transparent); }
  .slide-cover .slide-index { left: 20px; bottom: 13px; }
  .outcome-grid, .term-grid, .path-compare, .crawler-grid, .visibility-layers, .roadmap, .roles { grid-template-columns: 1fr; }
  .outcome, .term-grid section, .crawler-grid section, .visibility-layers section, .roadmap > div, .roles section { min-height: auto; }
  .outcome-grid { gap: 8px; }
  .outcome { padding: 13px 15px 11px; }
  .outcome-no { top: 10px; right: 14px; font-size: 22px; }
  .outcome h2 { margin-top: 8px; font-size: 14px; }
  .outcome p:not(.eyebrow) { margin: 5px 0 8px; font-size: 10px; }
  .outcome-foot { font-size: 9px; }
  .journey { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0; }
  .journey > i { display: none; }
  .journey-step { min-height: 132px; }
  .journey-step small { min-height: auto; }
  .path-flow { gap: 5px; }
  .path-flow b { font-size: 9px; }
  .fanout, .gate-layout, .canonical-map, .ia-flow, .entity-graph, .question-map { grid-template-columns: 1fr; gap: 12px; }
  .query-main::after { display: none; }
  .canonical-map { gap: 7px; }
  .canonical-arrow { transform: rotate(90deg); }
  .blueprint-columns { grid-template-columns: repeat(2,1fr); }
  .blueprint-columns > div { min-height: 90px; border-bottom: 1px solid #e0e9f0; }
  .vitals, .measure-grid, .governance, .answer-stack, .case-setup, .result-levels, .six-answers, .source-grid { grid-template-columns: repeat(2,1fr); }
  .vital { min-height: 135px; padding: 14px; }
  .vital strong { font-size: 19px; }
  .vital b { font-size: 11px; }
  .myth-row { grid-template-columns: .8fr 1.5fr; }
  .myth-row em { grid-column: 2; }
  .passage-compare { grid-template-columns: 1fr; }
  .passage-arrow { transform: rotate(90deg); }
  .readiness { grid-template-columns: repeat(2,1fr); margin: 20px 0; }
  .readiness > div { min-height: 120px; }
  .evidence-chain { display: grid; grid-template-columns: 1fr 1fr; }
  .evidence-chain > i { display: none; }
  .proof-row { grid-template-columns: .65fr 1.25fr 1fr; gap: 7px; font-size: 9px; }
  .experiment { display: grid; grid-template-columns: 1fr; }
  .experiment > i { transform: rotate(90deg); text-align: center; }
  .experiment > div { min-height: auto; }
  .case-setup > div { min-height: 120px; }
  .demo-slide { display: none; }
  .slide.demo-slide.active { display: block; }
  .demo-head { padding-right: 0; }
  .demo-link { position: static; margin-top: 9px; }
  .demo-frame { height: 48vh; min-height: 340px; margin-top: 12px; }
  .comparison-row { grid-template-columns: .8fr 1.1fr 1.1fr 1fr; gap: 5px; padding: 6px 5px; font-size: 8px; }
  .comparison-row b { font-size: 8px; }
  .comparison-row em { font-size: 7px; }
  .comparison-row.comparison-wide { grid-template-columns: .8fr 2.2fr 1fr; }
  .audit-list > div { grid-template-columns: 32px 1fr; }
  .audit-list span { font-size: 9px; }
  .closing-line { font-size: 13px; }
  .teach-viz { margin-top: 17px; padding: 11px; }
  .teach-viz-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .teach-viz-head b { text-align: left; }
  .teach-flow, .teach-flow-3, .teach-flow-5, .teach-branches, .teach-compare { grid-template-columns: 1fr; gap: 6px; }
  .teach-step { min-height: auto; padding: 9px 10px; }
  .teach-step:not(:last-child)::after { display: none; }
  .teach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teach-branch { padding: 9px 10px; }
  .teach-viz-foot { font-size: 9px; }
  .bottom { min-height: 61px; padding: 6px 8px; }
  .navbtns button { min-height: 32px; font-size: 9px; }
}
@media (max-width: 390px) {
  .six-answers, .source-grid, .case-setup, .result-levels, .vitals, .measure-grid, .governance, .roles { grid-template-columns: 1fr; }
  .term-grid, .crawler-grid, .visibility-layers, .roadmap { grid-template-columns: 1fr; }
  .two-notes { grid-template-columns: 1fr; }
  .teach-grid { grid-template-columns: 1fr; }
  .slide h1 { font-size: 22px; }
  .cover-copy h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  body, html, .app, .workspace { display: block; width: 100%; min-height: 0; background: white; }
  .sidebar, .topbar, .bottom, .notes, .toc { display: none !important; }
  .stage-shell { display: block; padding: 0; }
  #presentationSurface { width: 100%; max-width: none; aspect-ratio: auto; overflow: visible; border: 0; box-shadow: none; }
  .slide, .slide.active { position: relative; display: block !important; width: 100%; height: 100vh; overflow: hidden; page-break-after: always; break-after: page; }
  .speaker-note { display: none !important; }
}
