body{background:#eef2f8;overflow-x:hidden}
.deck-topbar{position:sticky;top:0;z-index:30;background:rgba(238,242,248,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(219,228,240,.9)}
.deck-nav{height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.deck-nav-left,.deck-nav-right{display:flex;align-items:center;gap:10px;min-width:0}
.back-link,.tool-btn{border:1px solid var(--line);background:#fff;border-radius:11px;min-height:40px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:13px;font-weight:780;color:#334155;cursor:pointer}
.back-link:hover,.tool-btn:hover{border-color:#b8c8df;color:var(--blue)}
.deck-label{font-weight:850;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deck-label small{display:block;color:var(--muted);font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin-top:-2px}
.deck-wrap{width:min(calc(100% - 32px),1180px);margin:28px auto 54px;outline:none}
.stage{position:relative;background:#fff;border:1px solid #d8e1ee;border-radius:24px;box-shadow:0 30px 80px rgba(15,23,42,.12);aspect-ratio:16/9;overflow:hidden}
.slide{position:absolute;inset:0;padding:34px 46px 28px;display:none;flex-direction:column;background:#fff;overflow:visible}
.slide.active{display:flex}
.slide-no{position:absolute;right:26px;top:20px;color:#94a3b8;font-weight:850;font-size:14px;letter-spacing:.1em}
.slide-kicker{font-size:14px;font-weight:900;letter-spacing:.08em;color:var(--blue);margin-bottom:7px}
.slide h1,.slide h2{margin:0;max-width:100%;font-size:clamp(34px,3.4vw,44px);letter-spacing:-.04em;line-height:1.12}
.slide .lead{font-size:clamp(17px,1.65vw,22px);color:#526178;max-width:1040px;margin:9px 0 0;line-height:1.42}
.slide .lead strong{color:#244a82}
.accent{color:var(--blue)}
.slide-content{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;gap:9px;margin-top:11px}
.takeaway{margin-top:auto;border-radius:15px;background:#0c1f46;color:#fff;padding:9px 15px;text-align:center;font-size:clamp(18px,1.65vw,22px);font-weight:920;letter-spacing:-.025em;line-height:1.25}
.takeaway span{color:#9fc1ff}


/* 01 · section opener: from problem formulation to data quality */
.section-bridge{display:grid;grid-template-columns:.82fr 28px 1.28fr 28px 1.55fr;gap:7px;align-items:stretch}
.section-bridge>section{border:1px solid #d7e2ef;border-radius:14px;background:#f8fafc;padding:8px 11px;min-width:0}
.section-bridge>section:last-of-type{background:#f2f7ff;border-color:#c4d8f0}
.section-bridge>b{display:grid;place-items:center;color:#8ba0ba;font-size:22px}
.section-bridge small{display:block;font-size:14px;line-height:1.2;color:#7286a2;font-weight:850}
.section-bridge strong{display:block;margin-top:4px;font-size:16px;line-height:1.25;color:#294b78}
.quality-question{display:flex;align-items:center;justify-content:center;gap:13px;border:1px solid #d8e3f1;background:#f6f9fd;border-radius:13px;padding:8px 12px;font-size:16px;line-height:1.3;color:#60728b}
.quality-question>b{color:#8ca1ba;font-size:20px}.quality-question strong{font-size:18px;color:#244a82}
.quality-definitions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.quality-definitions section{border:1px solid #d5e1ef;border-radius:14px;background:#fff;padding:9px 12px;min-width:0}
.quality-definitions section:last-child{background:#f3f8ff;border-color:#c9dbee}
.quality-definitions small{display:block;font-size:14px;line-height:1.25;color:#607a9d;font-weight:900}
.quality-definitions strong{display:block;margin-top:4px;font-size:16px;line-height:1.32;color:#334e73}
.quality-issues{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:none!important;align-self:stretch!important;margin-left:0!important;margin-right:0!important;translate:none!important;transform:none!important;position:relative!important;left:auto!important;right:auto!important}
.quality-issues section{border:1px solid #dbe4ef;border-radius:13px;background:#f8fafc;padding:9px 10px;min-width:0;width:auto!important;max-width:none!important;display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:9px;align-items:center;position:relative!important;left:auto!important;top:auto!important;translate:none!important;transform:none!important;margin:0!important}
.quality-issues section:first-child{background:#f2f7ff;border-color:#bad1ee}
.quality-issues span{display:grid;place-items:center;width:34px;height:30px;border-radius:8px;background:#e8f1ff;color:#2c67ae;font-size:14px;font-weight:950}
.quality-issues strong{display:block;margin:0;font-size:16px;line-height:1.2;color:#284a78}
.quality-issues small{display:block;margin-top:3px;font-size:14px;line-height:1.25;color:#71839b}

/* 02 · missing is not zero */
.missing-table{border:1px solid #d8e2ef;border-radius:16px;overflow:hidden;background:#fff}
.table-row{display:grid;grid-template-columns:.55fr 1.25fr .85fr 1fr;align-items:center;min-height:38px;border-top:1px solid #e5ebf3}
.table-row:first-child{border-top:0}
.table-row>*{padding:7px 12px;font-size:16px;line-height:1.25}
.table-head{background:#f3f7fc;color:#5e7493;font-weight:900}
.table-head span{font-size:14px}
.table-row strong{color:#244a82}
.missing-cell{display:inline-flex!important;align-items:center;justify-content:center;margin:4px 10px;padding:3px 9px!important;border-radius:9px;background:#fff0ee;color:#b23b32;font-weight:950;border:1px solid #efc8c3}
.tag{display:inline-flex!important;width:max-content;border-radius:999px;padding:4px 9px!important;font-weight:850}
.tag.yes{background:#fff2ee;color:#a84034}.tag.no{background:#edf8f4;color:#26745d}
.meaning-compare{display:grid;grid-template-columns:1fr 1.22fr 1fr;gap:9px}
.meaning-compare section{border:1px solid #d9e2ed;border-radius:14px;background:#f8fafc;padding:10px 12px;min-width:0}
.meaning-compare section.focus{background:#f2f7ff;border-color:#bcd2ef}
.meaning-compare b{display:block;font-size:17px;color:#244a82}
.meaning-compare span{display:block;font-size:16px;line-height:1.3;color:#334155;margin-top:4px;font-weight:760}
.meaning-compare small{display:block;font-size:14px;line-height:1.3;color:#71839d;margin-top:4px}
.definition-strip{display:grid;grid-template-columns:240px 1fr;gap:14px;align-items:center;border:1px solid #cbdcf3;background:#f6f9ff;border-radius:14px;padding:10px 14px}
.definition-strip strong{font-size:17px;color:#244a82}
.definition-strip span{font-size:16px;line-height:1.4;color:#4f6077}

/* 03 · mechanisms */
.mechanism-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.mechanism-card{border:1px solid #d8e2ef;border-radius:17px;background:#f8fafc;padding:13px 14px;min-width:0}
.mechanism-card.emphasis{background:#fff8f3;border-color:#efd9c7}
.mechanism-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-weight:950;font-size:20px;background:#eaf2ff;color:#2f72cf;margin-bottom:8px}
.mechanism-icon.batch{background:#eef7f3;color:#27735b}.mechanism-icon.low{background:#fff0e7;color:#b45a20}
.mechanism-name{display:block;font-size:16px;font-weight:920;color:#526d91}
.mechanism-card strong{display:block;font-size:19px;line-height:1.25;color:#203d67;margin-top:6px}
.mechanism-card p{font-size:16px;line-height:1.38;color:#53657c;margin:6px 0 4px}
.mechanism-card small{font-size:14px;line-height:1.25;color:#8392a8;font-weight:750}
.mechanism-line{display:flex;align-items:center;justify-content:center;gap:13px;border:1px solid #d8e3f1;background:#f6f9fd;border-radius:13px;padding:9px 12px;color:#526178;font-size:16px}
.mechanism-line>b{color:#7c91ae;font-size:20px}.mechanism-line strong{color:#244a82}

/* 04 · bias */
.bias-demo{display:grid;grid-template-columns:1.08fr .92fr;gap:12px;align-items:stretch}
.distribution-panel,.judgment-card{border:1px solid #d8e2ef;border-radius:17px;background:#f8fafc;padding:13px 15px;min-width:0}
.axis-title{font-size:15px;font-weight:900;color:#5d7392}
.dot-row{height:140px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding:14px 6px 8px;position:relative}
.dot-row span{width:32px;height:var(--h);min-height:28px;border-radius:9px 9px 5px 5px;background:#6b95cf;color:#fff;display:flex;align-items:flex-start;justify-content:center;padding-top:5px;font-size:14px;font-weight:900}
.dot-row span.lost{background:#d9a39c;opacity:.68}
.detect-line{height:1px;background:#d06b5e;position:relative;margin:-59px 0 57px}
.detect-line span{position:absolute;left:8px;top:-24px;font-size:14px;font-weight:900;color:#ad4c41;background:#fff5f3;padding:2px 7px;border-radius:7px}
.distribution-note{font-size:14px;color:#657a97;display:flex;align-items:center;gap:7px}
.lost-key{width:13px;height:13px;border-radius:4px;background:#d9a39c;display:inline-block}
.judgment-card{background:#f6f9ff;border-color:#c9daee}
.judgment-card>p{font-size:18px;line-height:1.4;font-weight:860;color:#253e61;margin:7px 0 12px}
.judgment-actions{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:44px;align-items:stretch;gap:7px}
.judgment-actions button{border:1px solid #c9d6e7;background:#fff;border-radius:10px;padding:8px 10px;font:inherit;font-size:16px;font-weight:850;color:#40516a;cursor:pointer}
.judgment-actions button:hover{border-color:#8fb0dc;background:#f9fbff}
.judgment-actions button.correct{border-color:#76b69d;background:#edf8f3;color:#176a50}
.judgment-actions button.wrong{border-color:#dca39b;background:#fff2f0;color:#a64035}
.bias-feedback{margin-top:8px;border-radius:10px;background:#eef3f8;padding:7px 9px;font-size:16px;line-height:1.3;color:#596b82;min-height:40px}
.bias-feedback.good{background:#edf8f3;color:#176a50}.bias-feedback.bad{background:#fff2f0;color:#994238}
.bias-flow{display:flex;align-items:center;justify-content:center;gap:9px;border-radius:13px;background:#fff7f4;border:1px solid #efd5ce;padding:8px 10px;font-size:15px;color:#6a5b59}
.bias-flow>b{font-size:19px;color:#b78177}.bias-flow strong{color:#a74236}

/* 05 · workflow */
.decision-flow{display:grid;grid-template-columns:1fr 28px 1fr 28px 1fr 28px 1fr;gap:6px;align-items:center}
.decision-flow>section{border:1px solid #d7e1ed;border-radius:14px;background:#f8fafc;padding:11px 12px;min-width:0}
.decision-flow>section.decision-focus{background:#f2f7ff;border-color:#bad1ee}
.decision-flow>b{text-align:center;color:#8ba0ba;font-size:22px}
.decision-flow small{display:block;font-size:14px;color:#7890b5;font-weight:900}
.decision-flow strong{display:block;font-size:17px;color:#244a82;margin-top:3px}
.decision-flow span{display:block;font-size:14px;line-height:1.3;color:#61748e;margin-top:3px}
.handling-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.handling-grid section{border:1px solid #dbe4ef;background:#fff;border-radius:13px;padding:8px 10px}
.handling-grid span{display:block;font-size:16px;font-weight:920;color:#284a78}
.handling-grid p{font-size:16px;line-height:1.3;color:#5d6f87;margin:4px 0 0}

/* controls */
.deck-controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-top:14px}
.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 var(--line);background:#fff;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:var(--blue);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:#fff;border:1px solid var(--line);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}

@media(max-width:900px){
  .deck-wrap{width:min(calc(100% - 20px),1180px);margin:18px auto 36px}
  .slide{padding:27px 30px 23px}
  .slide h1,.slide h2{font-size:clamp(30px,5vw,40px)}
  .slide .lead{font-size:17px}
  .mechanism-card strong{font-size:17px}
  .mechanism-card p,.meaning-compare span,.definition-strip span{font-size:14px}
  .meaning-compare small,.mechanism-card small,.decision-flow span{font-size:14px}
  .section-bridge{grid-template-columns:.8fr 24px 1.2fr 24px 1.45fr;gap:5px}
  .section-bridge>section{padding:7px 9px}
  .quality-definitions section{padding:8px 10px}
  .quality-issues section{padding:7px 8px}
}
@media(max-width:720px){
  .deck-topbar .container{width:calc(100% - 20px)}
  .deck-label small{display:none}.deck-nav-right .tool-btn span{display:none}
  .stage{aspect-ratio:auto;min-height:690px;overflow:visible}
  .slide{position:relative;display:none;padding:25px 22px 22px;min-height:690px}
  .slide.active{display:flex}
  .slide-no{right:18px;top:16px}
  .slide-content{gap:10px}
  .table-row{grid-template-columns:.45fr 1.2fr .72fr .92fr}
  .table-row>*{padding:7px 6px;font-size:14px}
  .meaning-compare,.mechanism-grid,.bias-demo,.handling-grid,.quality-definitions{grid-template-columns:1fr}
  .quality-issues{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mechanism-grid{gap:7px}.mechanism-card{display:grid;grid-template-columns:48px 1fr;column-gap:10px}.mechanism-card .mechanism-icon{grid-row:1/5}.mechanism-card>*:not(.mechanism-icon){grid-column:2}
  .section-bridge{grid-template-columns:1fr}.section-bridge>b{transform:rotate(90deg)}
  .quality-question{flex-wrap:wrap;text-align:center}
  .decision-flow{grid-template-columns:1fr}.decision-flow>b{transform:rotate(90deg)}
  .mechanism-line,.bias-flow{flex-wrap:wrap}
  .takeaway{margin-top:10px}
}
