:root {
  --navy: #0c1b36;
  --navy-2: #13294d;
  --paper: #fffaf0;
  --paper-2: #f8f1e4;
  --ink: #15233a;
  --muted: #617087;
  --blue: #1765d8;
  --terracotta: #b4471c;
  --sage: #4b8a69;
  --amber: #df8b22;
  --line: #ead8bc;
  --shadow: 0 18px 55px rgba(20, 36, 61, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #e8edf4; color: var(--ink); }
body { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif; overflow: hidden; }
button, input { font: inherit; }
button { color: inherit; }

#app { min-height: 100dvh; display: grid; place-items: center; padding: 18px; }
.deck-shell { width: min(100%, calc((100dvh - 36px) * 16 / 9)); aspect-ratio: 16 / 9; background: #f7f9fc; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); position: relative; display: grid; grid-template-rows: 56px 1fr 42px; }

.topbar { background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 3px solid #9a643d; position: relative; z-index: 5; }
.brand { border: 0; background: transparent; color: #fff; display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 800; cursor: pointer; padding: 6px 0; }
.brand-mark { color: #f4d7a5; font-size: 24px; transform: rotate(90deg); }
.brand i { width: 1px; height: 25px; background: rgba(255,255,255,.35); }
.brand small { font-size: 11px; font-weight: 400; color: #d5deed; letter-spacing: .06em; }
.top-actions { display: flex; gap: 8px; }
.top-actions button { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); color: #edf4ff; border-radius: 7px; padding: 7px 11px; cursor: pointer; font-size: 12px; }
.top-actions button:hover, .top-actions button:focus-visible { background: rgba(255,255,255,.13); outline: 2px solid #84b7ff; outline-offset: 2px; }

.stage { min-height: 0; position: relative; overflow: hidden; outline: none; background: linear-gradient(145deg, #f7f9fc, #edf2f7); }
.slide { width: 100%; height: 100%; padding: clamp(26px, 3.25vw, 56px); position: relative; overflow: hidden; animation: slide-in .38s ease both; }
.slide::after { content: ""; position: absolute; right: 18px; bottom: 12px; width: 32px; height: 32px; opacity: .055; border: 2px solid var(--blue); border-radius: 50%; box-shadow: 11px -7px 0 -7px var(--blue), -11px -7px 0 -7px var(--blue); pointer-events: none; }
.slide.slide-image-page { padding: 0; display: flex; align-items: center; justify-content: center; }
.slide-image-page::after { display: none; }
.opening-infographic { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; }
@keyframes slide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.controls { display: flex; align-items: center; justify-content: center; gap: 13px; background: #f8fafc; border-top: 1px solid #dce3ec; position: relative; z-index: 5; }
.controls button { width: 30px; height: 28px; border: 1px solid #cbd6e3; background: #fff; border-radius: 7px; cursor: pointer; font-weight: 800; }
.controls button:hover { color: var(--blue); border-color: var(--blue); }
.counter { min-width: 64px; text-align: center; color: #607086; font-size: 12px; font-variant-numeric: tabular-nums; }
.progress-track { position: absolute; left: 0; top: -2px; width: 100%; height: 2px; background: #dce3ec; }
.progress-track span { display: block; height: 100%; background: var(--blue); transition: width .3s ease; }

.label, .case-no { display: inline-flex; align-items: center; background: #fff0d8; color: #9b3d1b; border: 1px solid #f0d3a8; border-radius: 999px; padding: 7px 18px; font-size: clamp(11px, 1vw, 15px); font-weight: 800; letter-spacing: .04em; }
.cover-grid { height: 100%; display: grid; grid-template-columns: 1.22fr .88fr; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(25px, 3.6vw, 58px); background: radial-gradient(circle at 85% 20%, rgba(231,143,44,.1), transparent 28%), linear-gradient(110deg, rgba(255,250,240,.98), rgba(255,252,246,.9)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
.cover-copy { position: relative; z-index: 2; }
.cover-copy h1 { margin: 14px 0 12px; font-size: clamp(34px, 4.25vw, 71px); line-height: 1.08; letter-spacing: -.035em; color: #0e2445; }
.cover-copy h1 em { color: var(--terracotta); font-style: normal; }
.lead { margin: 0; font-size: clamp(18px, 2vw, 33px); letter-spacing: .03em; }
.speaker { margin: 20px 0; font-size: clamp(14px, 1.25vw, 20px); font-weight: 650; }
.speaker b { color: #8e9aac; padding: 0 4px; }
.path { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.path span { border: 1px solid #c9d9e9; background: rgba(255,255,255,.72); border-radius: 9px; padding: 8px 12px; font-size: clamp(10px, .9vw, 14px); font-weight: 700; }
.path span:nth-of-type(2) { color: var(--sage); border-color: #b9d8c7; }
.path span:nth-of-type(3) { color: var(--terracotta); border-color: #edc8aa; }
.path span:nth-of-type(4) { color: #b02f2b; border-color: #edbaba; }
.path i { font-style: normal; color: #738095; }
.primary, .secondary { border: 0; border-radius: 9px; background: var(--blue); color: white; padding: 12px 22px; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(23,101,216,.22); }
.primary:hover { background: #0c55bd; transform: translateY(-1px); }
.hero-art { width: 115%; max-height: 92%; object-fit: contain; margin-left: -10%; filter: drop-shadow(0 12px 16px rgba(91,65,41,.1)); }

.question-page { height: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 7%; }
.question-page .index { color: var(--terracotta); font-size: 18px; font-weight: 900; }
.question-page h1 { font-size: clamp(38px, 5vw, 78px); line-height: 1.08; margin: 12px 0 22px; letter-spacing: -.04em; }
.question-page p { color: var(--muted); font-size: clamp(15px, 1.4vw, 23px); line-height: 1.75; }
.desk-chaos { position: relative; height: 70%; min-height: 260px; }
.desk-chaos span { position: absolute; padding: 18px 22px 18px 46px; background: #fff; border: 1px solid #ded3c5; border-radius: 8px 14px 14px 8px; width: 72%; box-shadow: 0 12px 22px rgba(37,40,47,.12); font-weight: 700; color: #5a6474; }
.desk-chaos span::before { content: ""; position: absolute; left: 16px; top: 14px; width: 16px; height: 21px; border: 2px solid #7fa5d9; border-radius: 2px; }
.desk-chaos span:nth-child(1) { top: 2%; left: 0; transform: rotate(-4deg); }
.desk-chaos span:nth-child(2) { top: 21%; left: 18%; transform: rotate(3deg); }
.desk-chaos span:nth-child(3) { top: 42%; left: 2%; transform: rotate(-1deg); color: var(--terracotta); }
.desk-chaos span:nth-child(4) { top: 62%; left: 22%; transform: rotate(5deg); }
.desk-chaos span:nth-child(5) { top: 81%; left: 5%; transform: rotate(-3deg); }

.section-head { margin-bottom: 34px; }
.section-head.compact { margin-bottom: clamp(20px, 2.4vw, 38px); }
.section-head > span { color: var(--terracotta); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.section-head h1 { margin: 8px 0 8px; font-size: clamp(34px, 4vw, 62px); letter-spacing: -.035em; }
.section-head p { margin: 0; font-size: clamp(14px, 1.25vw, 20px); color: var(--muted); }
.slide-agenda { background: #f7f9fc; }
.agenda-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; height: 65%; align-items: stretch; }
.agenda-rail article { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 16px; padding: 34px 30px; overflow: hidden; }
.agenda-rail article:nth-child(2) { border-top-color: var(--sage); transform: translateY(18px); }
.agenda-rail article:nth-child(3) { border-top-color: var(--amber); transform: translateY(36px); }
.agenda-rail b { font-size: clamp(42px, 5vw, 76px); color: #dfe9f6; }
.agenda-rail h2 { font-size: clamp(23px, 2.3vw, 36px); margin: 14px 0 10px; }
.agenda-rail p { color: var(--muted); font-size: 17px; }
.agenda-rail i { position: absolute; right: 20px; bottom: 18px; font-style: normal; color: var(--blue); font-size: 34px; font-family: serif; }
.decor-ribbon { position: absolute; width: 55%; max-height: 78px; object-fit: contain; object-position: center bottom; left: 22.5%; bottom: 10px; filter: drop-shadow(0 5px 8px rgba(34,44,55,.08)); }

.divider-page { height: 100%; border-radius: var(--radius); background: #0e2445; color: white; display: grid; grid-template-columns: .18fr 1.12fr .7fr; gap: 28px; align-items: center; padding: 7%; overflow: hidden; position: relative; }
.divider-page::after { content: ""; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 36%; background: #fff8eb; }
.divider-page > span, .divider-page > div, .divider-page > .chapter-art { position: relative; z-index: 1; }
.divider-page > span { align-self: start; font-size: clamp(80px, 12vw, 190px); color: rgba(255,255,255,.1); font-weight: 900; line-height: .8; }
.divider-page p { color: #9bc2f3; font-weight: 800; letter-spacing: .15em; }
.divider-page h1 { font-size: clamp(40px, 4.8vw, 76px); margin: 12px 0 26px; line-height: 1.05; white-space: nowrap; }
.divider-page blockquote { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(20px, 2vw, 32px); line-height: 1.7; color: #f2ddbd; }
.chapter-art { width: 118%; max-height: 88%; object-fit: contain; justify-self: center; filter: drop-shadow(0 15px 25px rgba(41,32,22,.2)); }
.orbit { width: 80%; aspect-ratio: 1; justify-self: center; border: 1px solid #c7d9eb; border-radius: 50%; position: relative; }
.orbit::before, .orbit::after { content: ""; position: absolute; border: 1px solid #dbe6ef; border-radius: 50%; inset: 16%; }
.orbit::after { inset: 34%; background: rgba(23,101,216,.15); }
.orbit i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); position: absolute; }
.orbit i:nth-child(1) { left: 7%; top: 50%; }.orbit i:nth-child(2) { right: 10%; top: 18%; background: var(--sage); }.orbit i:nth-child(3) { right: 22%; bottom: 8%; background: var(--amber); }
.green-theme { background: #123d36; }
.green-theme p { color: #9bd1ba; }.green-theme blockquote { color: #f3d8ad; }
.orange-theme { background: #44251c; }
.orange-theme p { color: #f0ad83; }.orange-theme blockquote { color: #f9d3a2; }
.shelf { width: 90%; height: 55%; border-bottom: 16px solid #ba7d47; display: flex; align-items: end; justify-content: center; gap: 14px; }
.shelf i { display: block; width: 16%; height: 62%; background: #5a8ed0; border: 3px solid #244e80; border-radius: 5px; transform: rotate(-4deg); }
.shelf i:nth-child(2) { height: 82%; background: #d97e44; border-color: #9b4821; transform: rotate(2deg); }.shelf i:nth-child(3) { height: 72%; background: #6da17d; border-color: #3f6d4e; }.shelf i:nth-child(4) { height: 90%; background: #e6c068; border-color: #a97825; transform: rotate(5deg); }
.growth { width: 80%; height: 60%; display: flex; align-items: end; gap: 14px; justify-content: center; }
.growth i { display:block; width: 22%; background: #d7824d; height: 28%; border-radius: 55% 55% 8px 8px; }.growth i:nth-child(2){height:55%;background:#6b9b76}.growth i:nth-child(3){height:88%;background:#3270bd}

.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; height: 66%; }
.capability-grid article { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 27px 24px; display: flex; flex-direction: column; border-top-width: 5px; }
.capability-grid article b { font-size: 42px; color: #d8e5f4; }.capability-grid h2 { font-size: 32px; margin: 10px 0; }.capability-grid p { font-size: 16px; line-height: 1.65; flex: 1; }.capability-grid small { border-top: 1px dashed #d8d1c5; padding-top: 15px; line-height: 1.55; color: var(--muted); }
.capability-grid .blue { border-top-color: var(--blue); }.capability-grid .green { border-top-color: var(--sage); }.capability-grid .orange { border-top-color: var(--amber); }.capability-grid .red { border-top-color: var(--terracotta); }

.responsibility { display: grid; grid-template-columns: 1fr .2fr 1fr; align-items: center; gap: 22px; }
.responsibility section { background: #edf5ff; border: 1px solid #bcd2ed; border-radius: 18px; padding: 28px 36px; }
.responsibility .teacher { background: #fff3e8; border-color: #edc9a8; }
.responsibility h2 { font-size: 30px; margin: 0 0 18px; }
.responsibility ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.responsibility li { background: white; border-radius: 8px; padding: 12px 14px; font-weight: 700; }
.handoff { color: var(--terracotta); text-align: center; font-size: 34px; }.handoff small { display:block; font-size: 11px; color: var(--muted); margin-top: 10px; }
.bottom-quote { text-align: center; margin: 28px auto 0; max-width: 920px; font-size: clamp(17px, 1.6vw, 25px); font-family: "Songti SC", serif; color: #3e4c60; }

.staircase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; height: 50%; }
.staircase article { background: var(--paper); border: 1px solid var(--line); border-bottom: 6px solid var(--blue); padding: 24px; border-radius: 12px 12px 3px 3px; }
.staircase article:nth-child(1){height:46%}.staircase article:nth-child(2){height:62%;border-bottom-color:#438ac2}.staircase article:nth-child(3){height:78%;border-bottom-color:var(--sage)}.staircase article:nth-child(4){height:94%;border-bottom-color:var(--terracotta)}
.staircase b { color: #aebed0; }.staircase h2 { font-size: 30px; margin: 10px 0; }.staircase p { color: var(--muted); }
.aside-note { margin: 25px 0 0; border-left: 4px solid var(--terracotta); padding: 10px 18px; font-size: 17px; color: #536177; }

.source-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.source-stack article { padding: 24px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; min-height: 210px; }
.source-stack article:nth-child(1) { box-shadow: inset 0 5px var(--blue); }.source-stack article:nth-child(2) { box-shadow: inset 0 5px var(--sage); }.source-stack article:nth-child(3) { box-shadow: inset 0 5px var(--amber); }
.source-stack b { color: var(--terracotta); font-size: 13px; }.source-stack h2 { font-size: 26px; }.source-stack p { color: var(--muted); line-height: 1.65; }
.passport { display: flex; align-items: center; gap: 12px; margin-top: 24px; background: #0f2546; color: white; padding: 16px 20px; border-radius: 12px; }
.passport strong { margin-right: auto; }.passport span { border: 1px solid rgba(255,255,255,.23); padding: 7px 15px; border-radius: 8px; color: #dbe8f7; }

.formula { display: flex; align-items: stretch; gap: 8px; }
.formula span { flex: 1; display: grid; place-items: center; text-align:center; min-height: 105px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; font-weight: 800; padding: 12px; }
.formula span:nth-of-type(2){color:var(--sage)}.formula span:nth-of-type(3){color:var(--terracotta)}.formula span:nth-of-type(4){color:#b02f2b}.formula span:nth-of-type(5){color:var(--blue)}
.formula i { align-self: center; font-style: normal; color: #95a0ae; font-size: 22px; }
.prompt-card { margin-top: 25px; padding: 20px 26px; background: #eef5ff; border: 1px solid #c6d9f0; border-radius: 14px; display:grid; grid-template-columns: 80px 1fr; gap: 18px; }
.prompt-card b { color: var(--blue); }.prompt-card p { margin:0; line-height: 1.75; }

.workflow { display: flex; align-items: center; gap: 8px; }
.workflow article { flex: 1; min-height: 190px; padding: 23px 17px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.workflow article b { color: var(--terracotta); }.workflow article h2 { font-size: 25px; margin: 18px 0 8px; }.workflow article p { color: var(--muted); line-height:1.55; }
.workflow > i { font-style: normal; color: var(--blue); font-size: 26px; }
.three-step article { min-height:205px; padding:28px; }.three-step article h2{font-size:34px}.prompt-card.mini{margin-top:18px}
.mini-action{display:grid;grid-template-columns:1fr 230px;gap:18px;align-items:center}.mini-action .prompt-card{margin-top:18px}.mini-action img{width:100%;height:108px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(24,45,70,.12))}
.compact-formula span{min-height:96px}.compact-formula small{display:block;margin-top:8px;color:var(--muted);font-weight:500}
.organize-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.organize-grid section{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:26px 28px;min-height:250px}.organize-grid h2{margin:0 0 22px;font-size:27px}.organize-grid p{color:var(--muted);line-height:1.6}
.folder-list,.tag-cloud{display:flex;flex-wrap:wrap;gap:11px}.folder-list span{flex:1 0 42%;padding:14px 18px;background:#edf5ff;border:1px solid #c4d9f0;border-radius:9px;color:var(--blue);font-weight:800}.tag-cloud span{padding:10px 15px;background:#edf7f0;border:1px solid #c0dbc8;border-radius:999px;color:#397155;font-weight:700}
.maintenance{margin-top:22px;display:flex;align-items:center;gap:12px;padding:15px 20px;background:#0f2546;border-radius:12px;color:white}.maintenance b{margin-right:auto}.maintenance span{padding:7px 11px;border:1px solid rgba(255,255,255,.22);border-radius:8px;color:#dbe8f7}
.system-roles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.system-roles article{min-height:285px;padding:27px;background:var(--paper);border:1px solid var(--line);border-top:5px solid var(--blue);border-radius:15px;display:flex;flex-direction:column}.system-roles article:nth-child(2){border-top-color:var(--sage)}.system-roles article:nth-child(3){border-top-color:var(--terracotta)}.system-roles b{color:var(--blue);font-size:14px;letter-spacing:.08em}.system-roles article:nth-child(2) b{color:var(--sage)}.system-roles article:nth-child(3) b{color:var(--terracotta)}.system-roles h2{font-size:28px;margin:18px 0 12px}.system-roles p{color:var(--muted);line-height:1.7;flex:1}.system-roles small{border-top:1px dashed #d7d0c5;padding-top:13px;font-weight:800}
.skill-chain{display:flex;align-items:center;gap:9px}.skill-chain article{flex:1;min-height:225px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:24px}.skill-chain article span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e9f2ff;color:var(--blue);font-weight:900}.skill-chain article h2{font-size:27px;margin:18px 0 9px}.skill-chain article p{color:var(--muted);line-height:1.6}.skill-chain>i{font-style:normal;color:var(--blue);font-size:24px}.skill-chain>b{font-size:12px;color:var(--terracotta);white-space:nowrap;background:#fff0e8;padding:7px 9px;border-radius:7px}
.practice-cycle{display:flex;align-items:center;gap:14px}.practice-cycle article{flex:1;min-height:235px;background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:26px}.practice-cycle article b{color:var(--terracotta)}.practice-cycle article h2{font-size:27px;margin:18px 0 10px}.practice-cycle article p{color:var(--muted);line-height:1.65}.practice-cycle>i{font-style:normal;font-size:29px;color:var(--blue)}.three-part{display:flex;justify-content:center;gap:15px;margin-top:23px}.three-part span{padding:11px 20px;border:1px solid #c9d7e7;border-radius:999px;background:white}.three-part b{color:var(--blue)}
.cycle-layout{display:grid;grid-template-columns:1fr 250px;gap:22px;align-items:center}.cycle-layout .practice-cycle article{min-height:220px;padding:23px}.cycle-layout>img{width:100%;max-height:310px;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(27,41,58,.13))}
.growth-layout{display:grid;grid-template-columns:1fr 280px;gap:20px;align-items:center}.growth-layout .four-lanes{grid-template-columns:repeat(2,1fr)}.growth-layout .four-lanes article{min-height:150px;padding:18px}.growth-layout .four-lanes h2{margin:13px 0 6px;font-size:22px}.growth-layout .shared-core{margin-top:14px;gap:8px}.growth-layout .shared-core span{padding:7px 10px}.growth-layout>img{width:100%;max-height:360px;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(27,41,58,.13))}

.four-lanes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.four-lanes article { min-height: 235px; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 24px; }
.four-lanes span { width: 42px; height: 42px; display:grid; place-items:center; background:#e9f2ff; color:var(--blue); border-radius:50%; font-weight:900; }
.four-lanes article:nth-child(2) span { background:#e8f3ec;color:var(--sage)}.four-lanes article:nth-child(3) span{background:#fff0dc;color:var(--amber)}.four-lanes article:nth-child(4) span{background:#fae8e3;color:var(--terracotta)}
.four-lanes h2 { margin-top:22px; font-size:25px; }.four-lanes p { color:var(--muted); line-height:1.6; }
.shared-core { margin-top:22px; display:flex; gap:13px; align-items:center; justify-content:center; }.shared-core b { margin-right:12px; }.shared-core span { border:1px solid #ccd7e5; background:white; border-radius:8px; padding:8px 15px; font-weight:700; }

.case-layout { height:100%; display:grid; grid-template-columns:1.08fr .92fr; gap:50px; align-items:center; padding:0 3%; }
.case-layout.reverse { grid-template-columns:.92fr 1.08fr; }
.case-layout h1 { font-size:clamp(40px,4.6vw,72px); line-height:1.1; margin:18px 0 25px; letter-spacing:-.04em; }
.case-layout ul { list-style:none; padding:0; margin:0; display:grid; gap:12px; font-size:18px; }
.case-layout li { padding-left:26px; position:relative; }.case-layout li::before { content:"✓"; position:absolute; left:0; color:var(--sage); font-weight:900; }
.case-placeholder { min-height:70%; border:2px dashed #ddb992; border-radius:18px; background:linear-gradient(145deg,#fff8ee,#f5ebdd); display:grid; place-content:center; text-align:center; padding:45px; transform:rotate(1.5deg); }
.case-placeholder span { color:#c9a27b;font-size:56px;font-weight:900;letter-spacing:.12em; }.case-placeholder h2{font-size:28px;margin:15px}.case-placeholder p{color:var(--muted);line-height:1.7}.blue-placeholder{border-color:#a9c8e7;background:linear-gradient(145deg,#f4f9ff,#e8f2fc);transform:rotate(-1deg)}.orange-placeholder{border-color:#e7bb7c;background:linear-gradient(145deg,#fff9ee,#fff0d8)}.green-placeholder{border-color:#a8cdb5;background:linear-gradient(145deg,#f5fbf6,#e9f5ed);transform:rotate(-1deg)}

.timeline { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; padding-top:44px; }.timeline::before{content:"";position:absolute;top:18px;left:6%;right:6%;height:3px;background:#bed2e9}.timeline article{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:25px;position:relative;min-height:220px}.timeline article::before{content:"";position:absolute;top:-35px;left:32px;width:16px;height:16px;background:var(--blue);border:5px solid #eaf2fb;border-radius:50%}.timeline b{color:var(--terracotta)}.timeline h2{font-size:27px;margin:18px 0 10px}.timeline p{color:var(--muted);line-height:1.65}
.tool-table { display:grid; gap:10px; }.tool-table > div{display:grid;grid-template-columns:180px 1fr;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:14px 22px}.tool-table b{font-size:20px;color:var(--blue)}.tool-table span{color:var(--muted)}.tool-table > div:nth-child(2) b{color:var(--sage)}.tool-table > div:nth-child(3) b{color:var(--terracotta)}.tool-table > div:nth-child(4) b{color:var(--amber)}.tool-table > div:nth-child(5) b{color:#8b5bb5}

.closing-page { height:100%; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); display:grid; place-content:center; text-align:center; position:relative; overflow:hidden; }.closing-page::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 14% 18%,rgba(23,101,216,.1),transparent 20%),radial-gradient(circle at 87% 77%,rgba(180,71,28,.12),transparent 23%)}.quote-mark{font-family:serif;color:#dfe9f5;font-size:100px;height:72px;position:relative}.closing-page h1{position:relative;margin:0;font-size:clamp(47px,6vw,94px);line-height:1.16;letter-spacing:-.04em}.closing-page h1 span{color:var(--blue)}.closing-page h1 em{font-style:normal;color:var(--sage)}.closing-page p{position:relative;color:var(--muted);font-size:20px}.signature{position:relative;margin:16px 0 24px;font-weight:700}.signature b{color:#9aa7b7;padding:0 5px}.secondary{position:relative;justify-self:center;background:white;color:var(--blue);border:1px solid #b9cee8;box-shadow:none;padding:10px 20px}.closing-ribbon{position:absolute;left:12%;right:12%;bottom:-16px;width:76%;height:92px;object-fit:contain;opacity:.78;filter:drop-shadow(0 5px 8px rgba(34,44,55,.06))}

.panel-dialog { width:min(900px,88vw); max-height:78vh; border:0; border-radius:18px; padding:0; color:var(--ink); box-shadow:0 28px 90px rgba(5,16,32,.35); }.panel-dialog::backdrop{background:rgba(7,17,33,.67);backdrop-filter:blur(4px)}.panel-dialog header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;background:var(--navy);color:white}.panel-dialog h2{margin:0;font-size:21px}.panel-dialog header button{border:0;background:transparent;color:white;font-size:26px;cursor:pointer}.overview-grid{padding:20px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:65vh;overflow:auto}.overview-grid button{border:1px solid #d8e0e9;background:white;border-radius:10px;padding:15px;text-align:left;cursor:pointer;display:grid;grid-template-columns:34px 1fr;gap:3px 8px}.overview-grid button:hover,.overview-grid button[aria-current]{border-color:var(--blue);background:#f0f6ff}.overview-grid span{grid-row:1/3;color:var(--blue);font-weight:900}.overview-grid small{color:var(--muted)}.overview-grid b{font-size:14px}.searchbox{margin:20px;display:flex;align-items:center;border:1px solid #c8d5e3;border-radius:10px;padding:0 14px}.searchbox span{font-size:24px;color:#7d8da1}.searchbox input{width:100%;border:0;outline:0;padding:14px;background:transparent}.search-results{padding:0 20px 20px;max-height:55vh;overflow:auto}.search-results button{width:100%;border:0;border-bottom:1px solid #e3e8ef;background:white;padding:13px 6px;display:flex;gap:15px;text-align:left;cursor:pointer}.search-results button:hover{background:#f3f7fc}.search-results span{color:var(--blue);font-weight:900}.search-results div{display:flex;flex-direction:column;gap:4px}.search-results small{color:var(--muted)}
.notes-panel{position:fixed;right:0;top:0;bottom:0;width:min(430px,90vw);background:#fffdf8;box-shadow:-15px 0 60px rgba(4,15,29,.23);z-index:20;transform:translateX(105%);transition:transform .28s ease;padding:0 24px 30px;overflow:auto}.notes-panel.open{transform:none}.notes-panel header{position:sticky;top:0;background:#fffdf8;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:22px 0 15px}.notes-panel small{color:var(--terracotta);font-weight:800}.notes-panel h2{font-size:21px;margin:4px 0}.notes-panel button{border:0;background:transparent;font-size:28px;cursor:pointer}.notes-panel #notesContent{white-space:pre-wrap;line-height:1.9;font-size:16px;padding-top:20px;color:#46546a}

.slide[data-slide-id="S22"] { padding-top: clamp(18px, 3.5vh, 36px); padding-bottom: clamp(18px, 3.5vh, 36px); overflow-y: auto; }
.case-layout.s22-resource-layout { height: auto; min-height: 100%; gap: 32px; }
.s22-resource-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.s22-resource-copy > .case-no { padding: 5px 12px; font-size: clamp(11px, .85vw, 13px); line-height: 1.3; }
.s22-resource-copy h1 { margin: 8px 0 10px; font-size: clamp(32px, 3.2vw, 50px); line-height: 1.08; }
.s22-resource-copy ul { width: 100%; gap: 7px; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.45; }
.s22-smartedu-entry {
  display: block; width: min(100%, 280px, 42vh); margin-top: 10px; padding: 6px;
  border: 1px solid #b8cfea; border-radius: 12px; background: #f5f9ff;
  color: var(--blue); text-decoration: none; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.s22-smartedu-entry img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 6px; }
.s22-smartedu-entry span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; line-height: 1.4; text-align: center; }
.s22-smartedu-entry:hover { border-color: var(--blue); box-shadow: 0 5px 14px rgba(23, 101, 216, .15); }
.s22-smartedu-entry:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.s16-case-preview { width: 100%; min-width: 0; margin: 0; padding: 12px; border: 1px solid #a8cdb5; border-radius: 18px; background: #f4faf6; box-shadow: 0 12px 28px rgba(41, 84, 58, .08); }
.s16-case-preview img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 8px; }

.s19-case-preview, .s22-case-preview {
  width: 100%; min-width: 0; margin: 0; padding: 12px;
  border: 1px solid #a9c8e7; border-radius: 18px;
  background: linear-gradient(145deg, #fffaf0, #eef5ff);
  box-shadow: 0 12px 28px rgba(23, 65, 112, .08);
}
.s22-case-preview { border-color: #a8cdb5; background: linear-gradient(145deg, #fffaf0, #edf7f0); box-shadow: 0 12px 28px rgba(41, 84, 58, .08); }
.s19-case-preview img, .s22-case-preview img { display: block; width: 100%; height: auto; object-fit: contain; }
.s19-case-preview img { border: 1px solid #c5d9ed; border-radius: 10px; background: #fff; }
.s22-case-preview-link {
  display: block; width: 100%; overflow: hidden; border: 1px solid #b8d8c3; border-radius: 10px;
  background: #fff; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease;
}
.s22-case-preview-link:hover { border-color: var(--sage); box-shadow: 0 6px 18px rgba(75, 138, 105, .18); }
.s22-case-preview-link:focus-visible { outline: 3px solid var(--sage); outline-offset: 4px; }
.s19-case-preview figcaption, .s22-case-preview figcaption { margin-top: 12px; font-size: clamp(13px, 1vw, 16px); font-weight: 700; line-height: 1.6; text-align: center; }
.s19-case-preview figcaption { color: var(--blue); }
.s22-case-preview figcaption { color: #397155; }

.s20-case-preview {
  width: 100%; min-width: 0; margin: 0; padding: 12px;
  border: 1px solid #a9c8e7; border-radius: 18px;
  background: linear-gradient(145deg, #fffaf0, #eef5ff);
  box-shadow: 0 12px 28px rgba(23, 65, 112, .08);
}
.s20-case-preview-link {
  display: block; width: 100%; border: 1px solid #c5d9ed; border-radius: 10px;
  background: #fff; overflow: hidden; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.s20-case-preview-link:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(23, 101, 216, .16); }
.s20-case-preview-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.s20-case-preview img { display: block; width: 100%; height: auto; object-fit: contain; }
.s20-case-preview figcaption { margin-top: 12px; color: var(--blue); font-size: clamp(13px, 1vw, 16px); font-weight: 700; line-height: 1.6; text-align: center; }

.case-layout.s21-video-layout { grid-template-columns: .82fr 1.18fr; gap: 32px; }
.s21-video-media {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(186px, 14vw, 220px);
  align-items: center; gap: 18px; min-width: 0; padding: 16px;
  border: 1px solid #e7c79d; border-radius: 18px;
  background: linear-gradient(145deg, #fffaf0, #fff2df);
  box-shadow: 0 12px 28px rgba(99, 66, 28, .08);
}
.s21-video-cover, .s21-video-qr { min-width: 0; margin: 0; }
.s21-storyboard-link {
  display: block; width: 100%; overflow: hidden; border: 1px solid #e4d4b9;
  border-radius: 10px; background: #fff; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.s21-storyboard-link:hover { border-color: var(--terracotta); box-shadow: 0 6px 18px rgba(180, 71, 28, .14); }
.s21-storyboard-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.s21-video-cover img, .s21-video-qr img { display: block; width: 100%; height: auto; object-fit: contain; }
.s21-video-cover figcaption { margin-top: 12px; text-align: center; line-height: 1.6; }
.s21-video-cover figcaption strong { display: block; color: var(--ink); font-size: clamp(13px, 1.1vw, 17px); }
.s21-video-cover figcaption span { display: block; margin-top: 5px; color: var(--terracotta); font-size: 13px; font-weight: 700; }
.s21-video-qr { width: 100%; padding: 12px; border: 1px solid #eadfce; border-radius: 12px; background: #fff; }
.s21-video-qr figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; }
@media (max-aspect-ratio: 4/3) {
  .case-layout.s21-video-layout { grid-template-columns: 1fr; gap: 28px; padding: 0; }
}
@media (max-width: 560px) {
  .s21-video-media { grid-template-columns: 1fr; gap: 22px; padding: 14px; }
  .s21-video-qr { width: min(220px, 100%); justify-self: center; }
}

@media (max-aspect-ratio: 4/3) {
  #app { padding: 0; align-items: start; }
  .deck-shell { width: 100%; height: 100dvh; aspect-ratio: auto; border-radius: 0; grid-template-rows: 54px 1fr 44px; }
  .slide { overflow-y: auto; padding: 24px; }
  .brand small, .brand i { display:none; }
  .top-actions button:nth-child(-n+2) { display:none; }
  .cover-grid, .question-page, .case-layout, .case-layout.reverse { grid-template-columns:1fr; height:auto; min-height:100%; }
  .hero-art { width:78%; max-height:380px; margin:0 auto; order:-1; }
  .cover-copy h1 { font-size:clamp(34px,9vw,58px); }
  .agenda-rail, .capability-grid, .four-lanes, .source-stack, .timeline, .organize-grid, .system-roles { grid-template-columns:1fr; height:auto; }
  .agenda-rail article:nth-child(n), .case-placeholder { transform:none; }
  .divider-page { grid-template-columns:.2fr 1fr; background:var(--navy); }
  .divider-page::after { display:none; }
  .divider-page h1 { white-space:normal; }
  .divider-page > .chapter-art { display:none; }
  .decor-ribbon,.closing-ribbon{display:none}
  .responsibility { grid-template-columns:1fr; }.handoff{transform:rotate(90deg)}
  .staircase { grid-template-columns:1fr 1fr; height:auto; }.staircase article:nth-child(n){height:auto;}
  .formula,.workflow,.skill-chain,.practice-cycle{display:grid;grid-template-columns:1fr}.formula i,.workflow>i,.skill-chain>i,.practice-cycle>i{display:none}.workflow article,.skill-chain article,.practice-cycle article{min-height:auto}
  .mini-action,.cycle-layout,.growth-layout{grid-template-columns:1fr}.mini-action img,.cycle-layout>img,.growth-layout>img{display:none}
  .maintenance,.three-part{flex-wrap:wrap}.maintenance b{width:100%}
  .four-lanes,.timeline{grid-template-columns:1fr 1fr}.shared-core{flex-wrap:wrap}.overview-grid{grid-template-columns:1fr}
}

@media print {
  body { overflow: visible; background:white; }
  #app { display:block; padding:0; }
  .deck-shell { width:100%; height:auto; aspect-ratio:auto; box-shadow:none; display:block; }
  .topbar,.controls,.notes-panel,dialog { display:none !important; }
  .stage { overflow:visible; }
  .slide { page-break-after:always; width:100vw; height:56.25vw; animation:none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* Cover course access: keep the QR beside the start button. */
.cover-actions { display: flex; align-items: center; gap: clamp(20px, 2.1vw, 36px); }
.cover-course-qr { display: grid; justify-items: center; gap: 5px; flex: 0 0 auto; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; }
.cover-qr-frame { width: clamp(96px, 7.2vw, 136px); aspect-ratio: 1; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cover-qr-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cover-course-qr:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 8px; }
@media (max-width: 560px) {
  .cover-actions { gap: 18px; flex-wrap: wrap; }
  .cover-actions .primary { padding: 12px 15px; font-size: 13px; }
  .cover-qr-frame { width: 96px; }
}
