
body{background:#eef2f8;overflow-x:hidden}
.deck-topbar{position:sticky;top:0;z-index:30;background:rgba(238,242,248,.94);border-bottom:1px solid #dbe4f0}
.deck-nav{height:62px;display:flex;align-items:center;justify-content:space-between;gap:12px}.deck-nav-left,.deck-nav-right{display:flex;align-items:center;gap:10px;min-width:0}
.back-link,.tool-btn{border:1px solid #dbe4f0;background:white;border-radius:10px;min-height:38px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:14px;font-weight:750;color:#334155;cursor:pointer}
.deck-label{font-weight:850;color:#223b5b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deck-label small{display:block;font-size:11px;color:#64748b;letter-spacing:.03em}
.deck-wrap{width:min(calc(100% - 32px),1180px);margin:24px auto 50px;outline:none}
.stage{position:relative;background:white;border:1px solid #d8e1ee;border-radius:22px;box-shadow:0 22px 65px #0f172a17;aspect-ratio:16/9;overflow:hidden}
.slide{position:absolute;inset:0;display:none;flex-direction:column;min-width:0;background:white;padding:clamp(19px,2.3vw,28px) clamp(19px,3.05vw,38px);overflow:visible}
.slide.active{display:flex}.slide-no{position:absolute;right:22px;top:13px;font-size:14px;font-weight:800;color:#94a3b8}
.slide-kicker{font-size:14px;font-weight:850;color:#2864ac;letter-spacing:.04em;margin-bottom:5px;padding-right:70px}
.slide h1,.slide h2{font-size:clamp(34px,3.4vw,44px);line-height:1.12;letter-spacing:-.04em;margin:0;color:#132b4d}
.accent{color:#226bc5}.slide .lead{font-size:clamp(17px,1.65vw,22px);color:#526178;line-height:1.35;margin:7px 0 0}
.slide-content{flex:1;min-height:0;display:flex;flex-direction:column;gap:9px;margin-top:10px}
.takeaway{margin-top:auto;border-radius:13px;background:#0c1f46;color:white;text-align:center;padding:9px 11px;font-size:clamp(18px,1.65vw,22px);font-weight:850;line-height:1.22}
.takeaway span{color:#a9c9ff}
.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0}
.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:0}
.panel{border:1px solid #d7e3f1;border-radius:14px;background:#f8fafc;padding:12px 14px;min-width:0;display:flex;flex-direction:column;gap:7px}
.panel.focus{background:#f1f7ff;border-color:#bcd4f1}
.panel.warn{background:#fff8ee;border-color:#f0d7b9}
.panel strong,.panel h3{color:#25466f;font-size:19px;line-height:1.23;margin:0}
.panel p,.panel li{font-size:16px;line-height:1.33;color:#40536d;margin:0}
.panel small,.panel .sub{font-size:14px;color:#62768e;line-height:1.25}
.panel .big{font-size:30px;font-weight:900;color:#2864ac;line-height:1}
.panel .big small{font-size:14px;color:#58708e}
.mini-title{font-size:16px;font-weight:850;color:#244a82}
.fact-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:16px;color:#425572}
.pill{padding:5px 9px;background:#eaf2ff;color:#2464aa;font-size:16px;font-weight:800;border-radius:9px}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stat{border-radius:11px;border:1px solid #d9e4f0;background:white;text-align:center;padding:9px 7px;font-size:16px;color:#344a68}
.stat b{display:block;font-size:20px;color:#235f9e}
.math-strip{border:1px solid #cbdcef;background:#f5f9ff;border-radius:11px;padding:9px 12px;font-size:18px;color:#264e7d;text-align:center;font-weight:850}
.choice-row{display:flex;flex-wrap:wrap;gap:8px}
.choice-row button,.toggle-row button{font:inherit;font-size:16px;font-weight:800;border:1px solid #b9cde5;border-radius:10px;padding:8px 13px;background:white;color:#304b70;cursor:pointer}
.choice-row button:hover,.toggle-row button:hover{border-color:#679cdb}
.choice-row button.correct,.toggle-row button.selected{background:#e4f1ff;border-color:#447cc1;color:#174e95}
.choice-row button.wrong{background:#fff0ed;border-color:#df988e;color:#a24238}
.feedback{min-height:42px;padding:8px 12px;border:1px solid #d9e4ef;border-radius:10px;background:#f7fafc;color:#486078;font-size:16px;line-height:1.28}
.feedback.good{background:#eef8f1;border-color:#aad7bb;color:#22664a}.feedback.bad{background:#fff7f0;border-color:#ecc7a6;color:#915321}
.classroom-check{border:1px solid #d0dfef;background:#f7fbff;border-radius:13px;padding:10px 12px;display:flex;flex-direction:column;gap:7px;min-width:0}
.classroom-check>p{margin:0;font-size:17px;line-height:1.27;font-weight:850;color:#213f65}
.demo-board{border:1px solid #d7e3ef;border-radius:14px;background:#f8fbff;padding:11px 14px}
.demo-board svg{display:block;width:100%;height:150px;max-height:150px}
.svg-label{font-size:15px;fill:#526a88;font-weight:750}.svg-axis{stroke:#a4b4c9;stroke-width:2}
.svg-dot{fill:#3575c6}.svg-alt{fill:#df9756}.svg-line{stroke:#a5bfdc;stroke-width:2;stroke-dasharray:5 5}
.toggle-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.metric-card{display:flex;align-items:center;justify-content:space-between;border:1px solid #d8e5f2;border-radius:12px;padding:10px 13px;background:white;gap:8px}
.metric-card span{font-size:16px;color:#546b87}.metric-card b{font-size:21px;color:#2864ac}
.feature-list{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.feature{border:1px solid #cadced;background:#f6f9fc;border-radius:11px;padding:10px 5px;text-align:center;font-size:16px;font-weight:850;color:#426083;cursor:pointer}
.feature.active{background:#e2f4eb;border-color:#79bd9c;color:#226346}
.feature.redundant{background:#fff6df;border-color:#eac87b;color:#886520}
.progress-track{height:20px;border-radius:20px;background:#e5ecf6;overflow:hidden}.progress-fill{height:100%;width:50%;background:#317dd0;border-radius:20px;min-width:2px}
.range-row{display:flex;align-items:center;gap:12px}.range-row input{width:100%;accent-color:#2873c5}.range-row strong{font-size:20px;white-space:nowrap;color:#2864ac}
.flowbar{display:flex;gap:8px;align-items:stretch}
.flowbar>section{flex:1;border:1px solid #d7e3ef;border-radius:11px;background:#f8fbff;padding:11px;text-align:center;min-width:0}
.flowbar>section strong{display:block;color:#244a82;font-size:18px}.flowbar>section span{font-size:15px;color:#5b718d}
.flowbar>b{display:grid;place-items:center;color:#7b95b7;font-size:22px}
.deck-controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-top:13px}
.deck-controls .left{justify-self:start}.deck-controls .center{display:flex;gap:7px}.deck-controls .right{justify-self:end;display:flex;align-items:center;gap:8px}
.nav-btn{width:44px;height:40px;border:1px solid #dbe4f0;background:white;border-radius:11px;font:inherit;font-size:20px;font-weight:850;color:#334155;cursor:pointer}
.nav-btn:disabled{opacity:.35;cursor:not-allowed}.dot-btn{width:9px;height:9px;border:0;border-radius:50%;background:#cbd5e1;padding:0;cursor:pointer}.dot-btn.active{background:#2864ac;transform:scale(1.25)}
.slide-status{font-size:14px;font-weight:800;color:#64748b}.fs-exit{display:none}.hint{text-align:center;color:#7b8ba2;font-size:13px;margin-top:9px}
.sources{margin-top:20px;background:white;border:1px solid #dbe4f0;border-radius:14px;padding:12px 15px;color:#526178;font-size:14px}
.sources summary{cursor:pointer;font-weight:850;color:#40516a}.sources li{margin:6px 0;line-height:1.5}
.is-hidden{display:none!important}.caption-note{font-size:14px;line-height:1.28;color:#62768e}
@media(max-width:900px){
 .deck-wrap{width:min(calc(100% - 20px),1180px);margin:16px auto 35px}
 .stage{aspect-ratio:auto;min-height:650px;overflow:visible}
 .slide{position:relative;display:none;min-height:650px;padding:24px 22px}
 .slide.active{display:flex}
 .slide h1,.slide h2{font-size:clamp(30px,5vw,40px)}
 .slide .lead{font-size:17px}
 .two-col,.three-col{grid-template-columns:1fr}
 .feature-list{grid-template-columns:repeat(2,1fr)}
 .panel{padding:11px 12px}
 .demo-board svg{max-height:125px;height:125px}
 .deck-label small{display:none}
 .deck-nav-right .tool-btn span{display:none}
}

/* Breakpoint-adjacent desktop: keep 16:9 geometry and >=14/16 px typography. */
@media(min-width:901px) and (max-width:1024px){
 .slide{padding:16px 24px}
 .slide-kicker{margin-bottom:2px}
 .slide .lead{margin-top:4px;line-height:1.25}
 .slide-content{margin-top:6px;gap:5px}
 .panel{padding:9px 10px;gap:4px}
 .panel p{line-height:1.23}
 .takeaway{padding:7px 9px;line-height:1.15}
 .classroom-check{padding:6px 10px;gap:4px}
 .classroom-check::before{margin-bottom:3px;padding:3px 8px}
 .choice-row button,.toggle-row button{padding:6px 9px}
 .feedback{min-height:38px;padding:6px 9px;line-height:1.18}
 .demo-board svg{height:120px;max-height:120px}
 .math-strip{padding:7px 10px}
 .panel .big{font-size:26px}
}
