:root {
  /* Omni Intelligent Services 品牌色（取自公司 logo／簡報底版，沿用 h1-review 底版） */
  --omni-blue: #00AAE1;
  --omni-blue-deep: #004682;
  --omni-navy: #2E3C55;
  --omni-grey: #ACADAD;
  --omni-red: #E00012;

  --navy: #2E3C55;
  --navy-2: #44546A;
  --blue: #00AAE1;
  --blue-light: #5BC5EE;
  --orange: #ED7D31;
  --gold: #FFC000;
  --green: #70AD47;
  --grey: #ACADAD;
  --bg: #eef2f6;
  --panel: #ffffff;
  --ink: #2E3C55;
  --ink-soft: #667082;
  --line: #e6e8ec;
  --radius: 18px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  font-family: var(--font);
  color: var(--ink);
  overflow: hidden;
}

#app {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Top bar ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  background: #fff;
  color: var(--navy);
  flex-shrink: 0;
  z-index: 20;
  border-bottom: 3px solid var(--omni-blue);
}
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}
.topbar .brand img { height: 30px; }
.topbar .brand .brand-text { opacity: 0.75; font-weight: 600; }
.topbar .confidential-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--omni-red);
  border: 1px solid var(--omni-red);
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.04em;
}

.slide-counter {
  font-size: 15px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

/* ── Body row (sidebar + stage) ── */
.body-row {
  flex: 1;
  display: flex;
  min-height: 0;
  position: relative;
}

/* ── Sidebar (可點選跳頁，可收合) ── */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fbfcfd;
  border-right: 1px solid var(--line);
  padding: 44px 0 12px;
  position: relative;
  transition: width .2s ease;
  white-space: nowrap;
}
.sidebar.collapsed {
  width: 0;
  border-right: none;
}
.sidebar-toggle {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.sidebar-toggle:hover { background: #eef2f6; color: var(--navy); }
.sidebar-rail {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 16;
}
.sidebar-rail:hover { background: #eef2f6; color: var(--navy); }
body.sidebar-collapsed .sidebar-rail { display: flex; }
.sidebar-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 18px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-soft);
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.sidebar-item:hover { background: #eef2f6; color: var(--navy); }
.sidebar-item .si-num { font-size: 11px; font-weight: 700; color: var(--omni-grey); flex-shrink: 0; width: 18px; }
.sidebar-item .si-title { line-height: 1.4; }
.sidebar-item.active { background: #eaf6fc; border-left-color: var(--omni-blue); color: var(--navy); font-weight: 700; }
.sidebar-item.active .si-num { color: var(--omni-blue); }
.sidebar-item.section-item { text-transform: uppercase; letter-spacing: 0.04em; font-size: 11.5px; font-weight: 800; color: var(--navy); margin-top: 6px; }
.sidebar-item.discuss-item { color: var(--omni-blue-deep); }
.sidebar-item.discuss-item .si-title::before { content: "💬 "; }

/* ── Stage ── */
.stage {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 60px 88px;
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
  transition: opacity .45s cubic-bezier(.22,.61,.36,1), transform .45s cubic-bezier(.22,.61,.36,1);
  background: var(--panel);
  z-index: 1;
}
.slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}
.slide.enter-from-right { transform: translateX(64px) scale(0.97); }
.slide.enter-from-left { transform: translateX(-64px) scale(0.97); }

.slide-eyebrow {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.slide h1 {
  font-size: 40px;
  margin: 0 0 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.slide .subtitle {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.slide-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  font-size: 17px;
}

/* ── Cover ── */
.slide-cover {
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 900px 700px at 82% 30%, rgba(0,170,225,0.16), transparent 60%),
    radial-gradient(ellipse 700px 600px at 88% 15%, rgba(224,0,18,0.10), transparent 60%),
    #ffffff;
  color: var(--navy);
}
.slide-cover img.logo { height: 60px; margin-bottom: 40px; }
.slide-cover .confidential-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--omni-red);
  border: 1px solid var(--omni-red);
  border-radius: 999px;
  padding: 5px 16px;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}
.slide-cover .eyebrow2 { color: var(--omni-blue); font-weight: 700; letter-spacing: 0.15em; font-size: 16px; margin-bottom: 16px; text-transform: uppercase; }
.slide-cover h1 { font-size: 54px; color: var(--navy); margin-bottom: 10px; }
.slide-cover .cover-sub { font-size: 20px; color: var(--ink-soft); margin-bottom: 10px; font-weight: 600; }
.slide-cover .cover-tagline { font-size: 16px; color: var(--ink-soft); margin-bottom: 48px; max-width: 560px; line-height: 1.6; }
.slide-cover .cover-meta { font-size: 14px; color: var(--ink-soft); }
.slide-cover .cover-name { font-size: 18px; color: var(--navy); font-weight: 700; margin-top: 6px; }

/* ── Section divider ── */
.slide-section {
  align-items: flex-start;
  justify-content: center;
  background: #ffffff;
  color: var(--navy);
}
.slide-section .sec-num { font-size: 170px; font-weight: 800; color: #eef2f6; line-height: 1; position: absolute; top: 46px; right: 88px; }
.slide-section .sec-label { font-size: 17px; color: var(--omni-blue); font-weight: 700; letter-spacing: 0.15em; margin-bottom: 18px; text-transform: uppercase; }
.slide-section h1 { color: var(--navy); font-size: 54px; border-left: 8px solid var(--omni-blue); padding-left: 26px; }
.slide-section .sec-sub { margin-top: 18px; padding-left: 34px; font-size: 18px; color: var(--ink-soft); max-width: 640px; line-height: 1.6; }

/* ── Agenda ── */
.agenda-list { display: flex; flex-direction: column; gap: 4px; height: 100%; justify-content: center; }
.agenda-row { display: flex; align-items: center; gap: 26px; padding: 16px 6px; border-bottom: 1px solid var(--line); }
.agenda-row .agenda-num { font-size: 26px; font-weight: 800; color: var(--omni-blue); width: 40px; flex-shrink: 0; }
.agenda-row .agenda-text { font-size: 20px; font-weight: 800; color: var(--navy); width: 260px; flex-shrink: 0; line-height: 1.4; }
.agenda-row .agenda-sub { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ── Tables ── */
table.deck-table { width: 100%; border-collapse: collapse; font-size: 16px; }
table.deck-table th {
  text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-soft); border-bottom: 2px solid var(--navy); padding: 10px 12px; font-weight: 700;
}
table.deck-table td { padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
table.deck-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.deck-table tr.highlight td { background: #f0f5fc; font-weight: 700; }
table.deck-table td.pos { color: #1a7f37; font-weight: 700; }
table.deck-table td.neg { color: #cf222e; font-weight: 700; }

.addon-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--orange);
  border-radius: 5px;
  padding: 2px 7px;
  margin-right: 4px;
  vertical-align: middle;
}

/* ── Dense matrix table ── */
table.matrix-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.matrix-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); border-bottom: 2px solid var(--navy); padding: 8px 10px; font-weight: 700; }
table.matrix-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--navy); vertical-align: top; line-height: 1.5; }
table.matrix-table td.mk { text-align: center; color: var(--omni-blue); font-weight: 800; font-size: 17px; width: 8%; }
table.matrix-table td.owner-tag { font-size: 13px; font-weight: 700; color: var(--omni-blue-deep); }

/* ── Weight / needs style tables (時程表) ── */
table.plan-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.plan-table th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); border-bottom: 2px solid var(--navy); padding: 10px 12px; font-weight: 700; }
table.plan-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
table.plan-table td.plan-time { font-weight: 800; color: var(--omni-blue-deep); white-space: nowrap; width: 12%; }
table.plan-table td.plan-owner { color: var(--ink-soft); font-weight: 700; white-space: nowrap; width: 16%; }

.exclude-box { border-left: 6px solid var(--omni-red); background: #fff5f5; border-radius: var(--radius); padding: 18px 24px; margin-top: 16px; }
.exclude-box h4 { font-size: 15px; color: var(--omni-red); font-weight: 800; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.exclude-box ul, .exclude-box p { margin: 0; padding-left: 18px; font-size: 15px; color: var(--navy); line-height: 1.6; }

/* ── Evidence / callout banners ── */
.evidence-banner { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border-radius: var(--radius); background: #f0f9f0; border-left: 8px solid var(--green); font-size: 16px; line-height: 1.65; color: var(--navy); margin-bottom: 16px; }
.evidence-banner .eb-icon { flex-shrink: 0; font-size: 24px; line-height: 1.3; }
.evidence-banner .eb-tag { display: block; font-size: 13px; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; }
.evidence-banner strong { color: var(--navy); }
.evidence-banner.warn { background: #fff7ed; border-left-color: var(--orange); }
.evidence-banner.warn .eb-tag { color: var(--orange); }

.did-conclusion {
  border-left: 8px solid var(--omni-blue);
  background: #f0f5fc;
  border-radius: var(--radius);
  padding: 20px 26px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.65;
}

/* ── Reason list ── */
.reason-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.reason-item { display: flex; gap: 20px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.reason-item .reason-num { font-size: 26px; font-weight: 800; color: var(--omni-blue); width: 40px; flex-shrink: 0; line-height: 1.3; }
.reason-item .reason-content h4 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 0 0 4px; line-height: 1.35; }
.reason-item .reason-content p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ── Groups (2-3 col card grids) ── */
.did-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 22px; }
.did-groups.cols-2 { grid-template-columns: repeat(2, 1fr); }
.did-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; background: #fafbfc; border-top: 6px solid var(--omni-blue); }
.did-group h4 { font-size: 18px; color: var(--navy); font-weight: 800; margin: 0 0 12px; line-height: 1.4; }
.did-group ul, .did-group p { margin: 0; padding-left: 18px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.did-group ul li { margin-bottom: 8px; }
.did-group ul li:last-child { margin-bottom: 0; }

/* ── Stat grid ── */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.stat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-card { background: #f8f9fb; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; }
.stat-card .stat-label { font-size: 13.5px; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.stat-card .stat-value { font-size: 34px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-card .stat-sub { font-size: 14.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; }
.stat-card.warn { background: #fff7ed; border-color: #fde0b4; }
.stat-card.warn .stat-value { color: var(--orange); }
.stat-card.bad { background: #fff5f5; border-color: #f3c9c9; }
.stat-card.bad .stat-value { color: var(--omni-red); }

/* ── Chart / image slide ── */
.chart-row { display: flex; gap: 24px; align-items: stretch; height: 100%; }
.chart-box { flex: 1; border: 1px solid var(--line); border-radius: var(--radius); background: #fafbfc; padding: 14px; display: flex; align-items: center; justify-content: center; }
.chart-box img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.chart-caption { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.img-full { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fafbfc; }
.img-full img { width: 100%; display: block; }

/* ── Tag pills ── */
.tag-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--navy); font-weight: 600; }

/* ── Timeline block（第四段：下一步時程） ── */
.timeline-note { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }

/* ── Narrative text（大段敘述文字） ── */
.narrative p { margin: 0 0 15px; line-height: 1.75; font-size: 16px; color: var(--ink); }
.narrative p:last-child { margin-bottom: 0; }
.narrative strong { color: var(--navy); }

.case-example {
  border-left: 5px solid var(--blue-light);
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.case-example:last-child { margin-bottom: 0; }
.case-example strong { color: var(--navy); }

.stat-highlight-row { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.stat-highlight-row .shr-item {
  display: flex; align-items: baseline; gap: 14px;
  background: #fff5f5; border-left: 6px solid var(--omni-red);
  border-radius: 10px; padding: 12px 18px;
}
.stat-highlight-row .shr-num { font-size: 22px; font-weight: 800; color: var(--omni-red); flex-shrink: 0; white-space: nowrap; }
.stat-highlight-row .shr-text { font-size: 14.5px; color: var(--navy); line-height: 1.5; }

.table-footnote { font-size: 12.5px; color: var(--ink-soft); line-height: 1.7; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }

.section-num-label { display: inline-block; font-size: 14px; font-weight: 800; color: var(--omni-blue-deep); background: #eaf6fc; border-radius: 7px; padding: 2px 10px; margin-right: 8px; }

/* ── Closing ── */
.slide-closing {
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse 900px 700px at 18% 75%, rgba(0,170,225,0.14), transparent 60%),
    #ffffff;
  color: var(--navy);
}
.slide-closing h1 { color: var(--navy); font-size: 48px; margin-bottom: 20px; }
.slide-closing .closing-text { font-size: 18px; color: var(--ink-soft); max-width: 640px; line-height: 1.75; margin-bottom: 36px; }
.slide-closing .cover-meta { font-size: 14px; color: var(--ink-soft); }

/* ── Nav arrows ── */
.nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(0,0,0,0.35); color: #fff; border: none; font-size: 22px;
  cursor: pointer; z-index: 15; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.nav-arrow:hover { background: rgba(0,0,0,0.55); }
.nav-arrow.prev { left: 22px; }
.nav-arrow.next { right: 22px; }
.nav-arrow:disabled { opacity: 0.2; cursor: default; }

.progress-strip { height: 4px; background: #e6e8ec; flex-shrink: 0; }
.progress-strip-fill { height: 100%; background: var(--omni-blue); transition: width .3s ease; }

/* ══════════════════════════════════════════════
   討論記錄面板（每章節一頁）
   ══════════════════════════════════════════════ */
.slide-discuss {
  background:
    radial-gradient(ellipse 700px 500px at 90% 5%, rgba(0,170,225,0.08), transparent 60%),
    #ffffff;
}
.discuss-prompts {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.discuss-prompts li {
  position: relative;
  padding: 14px 20px 14px 44px;
  background: #f0f5fc;
  border-radius: 12px;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.55;
  font-weight: 600;
}
.discuss-prompts li::before {
  content: "❓";
  position: absolute;
  left: 16px;
  top: 13px;
  font-size: 15px;
}

.discuss-panel { border-top: 2px dashed var(--line); padding-top: 22px; margin-top: 4px; }
.discuss-panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.discuss-panel-head .dp-icon { font-size: 20px; }
.discuss-panel-head .dp-title { font-size: 16px; font-weight: 800; color: var(--navy); }
.discuss-panel-head .dp-count { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

.discuss-notes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.discuss-note-item {
  display: flex;
  gap: 14px;
  padding: 12px 16px;
  background: #fafbfc;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: flex-start;
}
.discuss-note-item .dn-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
  margin-top: 1px;
}
.discuss-note-item .dn-badge.role-everrich { background: var(--omni-red); }
.discuss-note-item .dn-badge.role-omni { background: var(--omni-blue); }
.discuss-note-item .dn-body { flex: 1; font-size: 14.5px; color: var(--navy); line-height: 1.55; }
.discuss-note-item .dn-meta { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.discuss-empty { font-size: 14px; color: var(--ink-soft); padding: 10px 2px; }
.discuss-error { font-size: 13px; color: var(--omni-red); padding: 6px 2px; }

.discuss-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.discuss-form .df-row { display: flex; gap: 10px; }
.discuss-form select,
.discuss-form input[type="text"] {
  font-family: var(--font);
  font-size: 14px;
  padding: 9px 12px;
  border: 1px solid #d5dae2;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
}
.discuss-form select { flex: 0 0 130px; }
.discuss-form input[type="text"] { flex: 1; }
.discuss-form textarea {
  font-family: var(--font);
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1px solid #d5dae2;
  border-radius: 9px;
  background: #fff;
  color: var(--navy);
  resize: vertical;
  min-height: 64px;
  line-height: 1.5;
}
.discuss-form button {
  align-self: flex-end;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--omni-blue);
  border: none;
  border-radius: 999px;
  padding: 10px 26px;
  cursor: pointer;
  transition: background .15s;
}
.discuss-form button:hover { background: var(--omni-blue-deep); }
.discuss-form button:disabled { opacity: 0.5; cursor: default; }
.discuss-status { font-size: 13px; color: var(--green); min-height: 16px; }
.discuss-status.err { color: var(--omni-red); }

@media (max-width: 900px) {
  .slide { padding: 32px 24px; }
  .slide h1 { font-size: 28px; }
  .stat-grid, .did-groups, .chart-row { grid-template-columns: 1fr; }
  .chart-row { flex-direction: column; }
}

/* ══════════════════════════════════════════════
   手機版（≤640px）：整頁上下捲動 + 側欄抽屜 + 表格橫向捲動
   ══════════════════════════════════════════════ */
@media (max-width: 640px) {
  .topbar { padding: 8px 12px; }
  .topbar .brand .brand-text { display: none; }
  .topbar .brand img { height: 24px; }
  .topbar .confidential-tag { font-size: 10px; padding: 3px 8px; }
  .slide-counter { display: none; }
  .nav-arrow { display: none; }
  .progress-strip { display: none; }

  .stage { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
  .slide {
    position: relative; inset: auto; opacity: 1 !important; transform: none !important;
    pointer-events: auto !important; transition: none !important; z-index: auto !important;
    border-bottom: 8px solid var(--bg);
  }
  .slide-cover, .slide-section, .slide-closing { min-height: 60vh; }

  .sidebar, .sidebar.collapsed {
    position: fixed; top: 0; left: 0; bottom: 0; width: 80vw; max-width: 300px; z-index: 30;
    border-right: 1px solid var(--line); box-shadow: 2px 0 24px rgba(0,0,0,0.18);
    transform: translateX(-100%); transition: transform .25s ease;
  }
  body:not(.sidebar-collapsed) .sidebar { transform: translateX(0); }
  body:not(.sidebar-collapsed)::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,0.35); z-index: 25; }
  .sidebar-rail { top: auto; bottom: 18px; left: 14px; width: 46px; height: 46px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,0.18); }

  .slide { padding: 20px 16px 26px; }
  .slide-eyebrow { font-size: 12px; margin-bottom: 6px; }
  .slide h1 { font-size: 20px; margin-bottom: 6px; }
  .slide .subtitle { font-size: 13px; margin-bottom: 14px; }
  .slide-body { font-size: 13.5px; }

  .slide-cover img.logo { height: 40px; margin-bottom: 20px; }
  .slide-cover .eyebrow2 { font-size: 11px; }
  .slide-cover h1 { font-size: 28px; }
  .slide-cover .cover-sub { font-size: 14px; }
  .slide-cover .cover-tagline { font-size: 13px; margin-bottom: 26px; }
  .slide-section .sec-num { font-size: 76px; top: 20px; right: 20px; }
  .slide-section .sec-label { font-size: 12px; }
  .slide-section h1 { font-size: 24px; padding-left: 14px; border-left-width: 5px; }
  .slide-section .sec-sub { padding-left: 20px; font-size: 14px; }
  .slide-closing h1 { font-size: 26px; }
  .slide-closing .closing-text { font-size: 14px; }

  .agenda-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 4px; }
  .agenda-row .agenda-text { width: auto; }

  .did-groups, .did-groups.cols-2, .stat-grid, .stat-grid.cols-3, .chart-row {
    grid-template-columns: 1fr !important;
  }
  .chart-row { flex-direction: column; }

  table.deck-table, table.matrix-table, table.plan-table {
    display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
  }

  .reason-item { gap: 12px; }
  .reason-item .reason-num { font-size: 20px; width: 30px; }
  .reason-item .reason-content h4 { font-size: 15px; }
  .reason-item .reason-content p { font-size: 13px; }
  .evidence-banner { font-size: 13.5px; padding: 14px 16px; }
  .did-conclusion { font-size: 13.5px; padding: 14px 16px; }

  .discuss-prompts li { font-size: 14px; padding: 12px 16px 12px 38px; }
  .discuss-form .df-row { flex-direction: column; }
  .discuss-form select { flex: none; width: 100%; }
}
