/* ============================================================================
   Google Cloud AI Executive Seminar Web Deck v3 Auditorium Keynote Stylesheet
   Presenter-Led Stage Scale | 3D Flip Cards | Multi-Layer Architecture | Live Video
   Typography: Inter + Noto Sans KR + JetBrains Mono
   ============================================================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-canvas: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-surface-alt: #F1F5F9;
  --bg-elevated: #FFFFFF;
  --bg-dark: #0F172A;

  --text-main: #0F172A;
  --text-sub: #334155;
  --text-muted: #64748B;
  --text-white: #FFFFFF;

  --border-light: #E2E8F0;
  --border-mid: #CBD5E1;
  --border-strong: #94A3B8;

  --g-blue: #1A73E8;
  --g-blue-dark: #174EA6;
  --g-blue-soft: #E8F0FE;
  --g-green: #16A34A;
  --g-green-dark: #0D652D;
  --g-green-soft: #E6F4EA;
  --g-red: #DC2626;
  --g-red-dark: #A50E0E;
  --g-red-soft: #FCE8E6;
  --g-yellow: #F59E0B;
  --g-amber-dark: #B06000;
  --g-amber-soft: #FEF7E0;

  --dm-indigo: #4F46E5;
  --dm-indigo-dark: #3730A3;
  --dm-indigo-soft: #EEF2FF;
  --dm-teal: #0D9488;
  --dm-teal-dark: #0F766E;
  --dm-teal-soft: #F0FDFA;

  --claude-orange: #D97757;
  --claude-soft: #FFF1E8;
  --openai-green: #10A37F;
  --openai-soft: #E6F9F3;

  --radius-xs: 6px;
  --radius-sm: 9px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 14px 32px rgba(15, 23, 42, 0.16);

  /* Canonical Type Ladder */
  --fs-cover-title: clamp(46px, 3.6vw, 62px);
  --fs-sec-title: 64px;
  --fs-sec-num: 44px;
  --fs-slide-title: clamp(26px, 2.25vw, 36px);
  --fs-card-title: 18px;
  --fs-card-sub: 16px;
  --fs-body: 14.5px;
  --fs-subtitle: 14px;
  --fs-chip: 13.5px;
  --fs-svg-floor: 13px;
  --fs-kpi-hero: 28px;
  --fs-kpi-pill: 18px;

  /* Canonical Neutral Surface & Ink Hierarchy */
  --ink-strong: #0F172A;
  --ink-body: #1E293B;
  --ink-sub: #334155;
  --ink-muted: #475569;
  --surface-canvas: #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-inset: #F8FAFC;
  --surface-slate: #0F172A;
  --border-card: #CBD5E1;
  --border-inset: #E2E8F0;

  /* 6-Role Semantic Palette */
  --role-blue: #1A73E8;
  --role-blue-ink: #1D4ED8;
  --role-blue-deep: #1E3A8A;
  --role-blue-fill: #EFF6FF;
  --role-blue-border: #BFDBFE;

  --role-teal: #0D9488;
  --role-teal-ink: #0F766E;
  --role-teal-deep: #115E59;
  --role-teal-fill: #F0FDFA;
  --role-teal-border: #99F6E4;

  --role-indigo: #4F46E5;
  --role-indigo-ink: #4338CA;
  --role-indigo-deep: #3730A3;
  --role-indigo-fill: #EEF2FF;
  --role-indigo-border: #C7D2FE;

  --role-green: #16A34A;
  --role-green-ink: #15803D;
  --role-green-fill: #F0FDF4;
  --role-green-border: #86EFAC;

  --role-red: #DC2626;
  --role-red-ink: #991B1B;
  --role-red-fill: #FEF2F2;
  --role-red-border: #FCA5A5;

  --role-amber: #D97706;
  --role-amber-ink: #B45309;
  --role-amber-fill: #FFFBEB;
  --role-amber-border: #FDE68A;

  --font-sans: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Noto Sans KR', Menlo, Consolas, monospace;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-canvas);
  color: var(--text-main);
  font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

code, pre, .mono {
  font-family: 'JetBrains Mono', 'Noto Sans KR', Menlo, Consolas, monospace;
}

p {
  font-size: clamp(13.8px, 1.0vw, 16.5px);
  line-height: 1.38;
}

/* ============================================================================
   Top Control Bar (48px Fixed Presenter Chrome)
   ============================================================================ */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 10px;
  z-index: 200;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 9px;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.14s ease;
}

.brand-pill:hover {
  border-color: var(--g-blue);
  background: var(--g-blue-soft);
}

.section-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.sec-pill {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.14s ease;
}

.sec-pill:hover {
  background: var(--bg-surface-alt);
  color: var(--text-main);
}

.sec-pill.active {
  background: var(--g-blue-soft);
  color: var(--g-blue-dark);
  border-color: #93C5FD;
  font-weight: 800;
}

.sec-pill.active[data-sec="3"] {
  background: var(--dm-indigo-soft);
  color: var(--dm-indigo-dark);
  border-color: #A5B4FC;
}

.sec-pill.active[data-sec="6"] {
  background: var(--dm-teal-soft);
  color: var(--dm-teal-dark);
  border-color: #99F6E4;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.track-toggle-btn {
  border: 1.5px solid var(--g-blue);
  background: var(--g-blue-soft);
  color: var(--g-blue-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.track-toggle-btn.mode-45 {
  border-color: var(--dm-teal);
  background: var(--dm-teal-soft);
  color: var(--dm-teal-dark);
}

.time-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.slide-counter {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  padding: 0 5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ctrl-btn {
  border: 1px solid var(--border-mid);
  background: var(--bg-canvas);
  color: var(--text-sub);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.14s ease;
}

.ctrl-btn:hover {
  background: var(--bg-surface-alt);
  border-color: var(--border-strong);
  color: var(--text-main);
}

.ctrl-btn.primary {
  background: var(--g-blue);
  color: var(--text-white);
  border-color: var(--g-blue);
}

.ctrl-btn.primary:hover {
  background: var(--g-blue-dark);
}

.ctrl-btn.replay-btn {
  border-color: #93C5FD;
  background: #F0F7FF;
  color: var(--g-blue-dark);
  font-weight: 800;
}

.ctrl-btn.cue-btn {
  border-color: #A5B4FC;
  background: var(--dm-indigo-soft);
  color: var(--dm-indigo-dark);
  font-weight: 800;
}

.ctrl-btn.active-toggle {
  background: var(--bg-dark);
  color: var(--text-white);
  border-color: var(--bg-dark);
}

.progress-bar-track {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-light);
  z-index: 190;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--g-blue) 0%, var(--dm-indigo) 60%, var(--dm-teal) 100%);
  width: 5%;
  transition: width 0.22s ease;
}

/* ============================================================================
   Auditorium Stage & High-Density Slide Viewport (>=93% Viewport Usage)
   ============================================================================ */
.stage-wrapper {
  position: fixed;
  top: 51px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  margin-right: 0;
  height: calc(100vh - 51px);
  background: var(--bg-canvas);
  overflow: hidden;
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1), margin-right 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

body.notes-open .stage-wrapper {
  width: calc(100vw - clamp(380px, 28vw, 460px));
  margin-right: clamp(380px, 28vw, 460px);
  height: calc(100vh - 51px);
}

.slide-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 14px 32px 18px 32px;
  display: none;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-canvas);
  overflow: hidden;
}

.slide.active {
  display: flex;
}

@keyframes bentoFadeUp {
  from { opacity: 1; transform: translateY(0); }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide.active .slide-header {
  animation: bentoFadeUp 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.slide.active .context-banner {
  animation: bentoFadeUp 0.26s cubic-bezier(0.22, 1, 0.36, 1) 0.03s both;
}

.slide.active .card,
.slide.active .bench-panel,
.slide.active .kpi-box,
.slide.active .flip-card,
.slide.active .arch-blueprint-wrap {
  animation: bentoFadeUp 0.30s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--stagger, 1) * 34ms) both;
}

.running-footer {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 20;
}

.running-footer.hidden {
  display: none;
}

/* ============================================================================
   Floating Presenter Cue HUD Bar (Shortcut: N)
   ============================================================================ */
.presenter-cue-hud {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(1240px, 94vw);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border: 1.5px solid #475569;
  border-radius: 999px;
  padding: 9px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #F8FAFC;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.32);
  z-index: 240;
}

.presenter-cue-hud.open {
  display: flex;
}

.cue-hud-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.cue-hud-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: #4F46E5;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.cue-hud-text {
  font-size: clamp(13.8px, 1.0vw, 16px);
  font-weight: 700;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cue-hud-keys {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid #64748B;
  color: #5EEAD4;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.cue-hud-close {
  border: none;
  background: transparent;
  color: #94A3B8;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  padding: 2px 6px;
}

.cue-hud-close:hover {
  color: #FFFFFF;
}

/* ============================================================================
   Slide Header & Auditorium Plain-Language Context Banner
   ============================================================================ */
.slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--border-light);
  flex-shrink: 0;
}

.slide-header-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.kicker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sec-badge {
  display: inline-flex;
  align-items: center;
  padding: 3.5px 11px;
  border-radius: 999px;
  font-size: clamp(13px, 0.9vw, 14.5px);
  font-weight: 800;
  letter-spacing: 0.01em;
  background: var(--g-blue-soft);
  color: var(--g-blue-dark);
}

.sec-badge.indigo { background: var(--dm-indigo-soft); color: var(--dm-indigo-dark); }
.sec-badge.teal { background: var(--dm-teal-soft); color: var(--dm-teal-dark); }
.sec-badge.green { background: var(--g-green-soft); color: var(--g-green-dark); }

.opt-deepdive-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: var(--g-amber-soft);
  color: var(--g-amber-dark);
  border: 1px solid #FDE68A;
}

body.mode-45 .opt-deepdive-pill {
  background: var(--g-red-soft);
  color: var(--g-red-dark);
  border-color: #FECACA;
}

.kicker-sub {
  font-size: clamp(13.2px, 0.92vw, 15px);
  font-weight: 700;
  color: var(--text-muted);
}

.slide-title {
  font-size: clamp(26px, 2.25vw, 36px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-right-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-right-pill.blue { background: var(--g-blue-soft); border-color: #93C5FD; color: var(--g-blue-dark); }
.header-right-pill.indigo { background: var(--dm-indigo-soft); border-color: #A5B4FC; color: var(--dm-indigo-dark); }
.header-right-pill.teal { background: var(--dm-teal-soft); border-color: #99F6E4; color: var(--dm-teal-dark); }

.context-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #EFF6FF 0%, #F8FAFC 100%);
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--g-blue);
  flex-shrink: 0;
}

.context-banner.indigo {
  background: linear-gradient(90deg, #EEF2FF 0%, #F8FAFC 100%);
  border-color: #C7D2FE;
  border-left-color: var(--dm-indigo);
}

.context-banner.teal {
  background: linear-gradient(90deg, #F0FDFA 0%, #F8FAFC 100%);
  border-color: #99F6E4;
  border-left-color: var(--dm-teal);
}

.context-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--g-blue-dark);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.context-banner.indigo .context-badge { background: var(--dm-indigo-dark); }
.context-banner.teal .context-badge { background: var(--dm-teal-dark); }

.context-text {
  font-size: clamp(14.5px, 1.05vw, 17px);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.38;
}

.context-text strong {
  color: var(--g-blue-dark);
  font-weight: 800;
}

.context-banner.indigo .context-text strong { color: var(--dm-indigo-dark); }
.context-banner.teal .context-text strong { color: var(--dm-teal-dark); }

/* ============================================================================
   Auditorium Bento Grids, Cards, Tables & HiDPI Canvas Stages
   ============================================================================ */
.slide-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-fill {
  flex: 1;
  min-height: 0;
}

.grid-2 {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.grid-2-wide-left {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.22fr 0.98fr;
  gap: 12px;
}

.grid-2-wide-right {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 12px;
}

.grid-2-58-42 {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  min-height: 0;
}

.grid-3.fill {
  flex: 1;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.card {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  box-shadow: var(--shadow-sm);
}

.card.soft { background: var(--bg-surface); }
.card.accent-blue { border: 2px solid var(--g-blue); }
.card.accent-indigo { border: 2px solid var(--dm-indigo); }
.card.accent-teal { border: 2px solid var(--dm-teal); }
.card.accent-green { border: 2px solid var(--g-green); }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.card-title {
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.24;
}

.card-desc {
  font-size: clamp(13.8px, 1.0vw, 16.5px);
  font-weight: 500;
  color: var(--text-sub);
  line-height: 1.38;
}

.sub-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
}

.sub-box.blue-left { border-left: 4px solid var(--g-blue); }
.sub-box.indigo-left { border-left: 4px solid var(--dm-indigo); background: #EEF2FF; border-color: #C7D2FE; }
.sub-box.teal-left { border-left: 4px solid var(--dm-teal); background: #F0FDFA; border-color: #99F6E4; }
.sub-box.slate-left { border-left: 4px solid #475569; }
.sub-box.red-box { background: #FEF2F2; border: 1.5px solid #FCA5A5; }
.sub-box.teal-box { background: #F0FDFA; border: 1.5px solid #5EEAD4; }
.sub-box.amber-box { background: #FEF7E0; border: 1px solid #FDE68A; color: #92400E; font-weight: 700; }

.sub-title {
  font-size: clamp(14.5px, 1.05vw, 17px);
  font-weight: 800;
  color: var(--text-main);
  display: block;
}

.sub-text {
  font-size: clamp(13.5px, 0.96vw, 15.8px);
  color: var(--text-sub);
  line-height: 1.38;
}

.meta-pill-text {
  font-size: clamp(13.2px, 0.92vw, 14.8px);
  font-weight: 700;
  color: var(--text-sub);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: clamp(13px, 0.9vw, 14.2px);
  font-weight: 700;
  white-space: nowrap;
}

.tag.blue { background: var(--g-blue-soft); color: var(--g-blue-dark); }
.tag.green { background: var(--g-green-soft); color: var(--g-green-dark); }
.tag.red { background: var(--g-red-soft); color: var(--g-red-dark); }
.tag.amber { background: var(--g-amber-soft); color: var(--g-amber-dark); }
.tag.indigo { background: var(--dm-indigo-soft); color: var(--dm-indigo-dark); }
.tag.teal { background: var(--dm-teal-soft); color: var(--dm-teal-dark); }
.tag.orange { background: var(--claude-soft); color: #9A3412; }
.tag.emerald { background: var(--openai-soft); color: #065F46; }
.tag.dark { background: var(--bg-dark); color: var(--text-white); }
.tag.muted { background: var(--bg-surface-alt); color: var(--text-sub); }

/* HiDPI Canvas Stage */
.canvas-stage {
  flex: 1;
  min-height: 104px;
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.canvas-stage.dark {
  background: linear-gradient(160deg, #0F172A 0%, #1E1B4B 60%, #0F292E 100%);
  border-color: #334155;
}

.canvas-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-replay-chip {
  position: absolute;
  top: 7px;
  right: 8px;
  z-index: 5;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(255, 255, 255, 0.94);
  color: var(--g-blue-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.canvas-stage.dark .canvas-replay-chip {
  background: rgba(15, 23, 42, 0.88);
  color: #93C5FD;
  border-color: rgba(147, 197, 253, 0.45);
}

.canvas-replay-chip:hover {
  filter: brightness(0.95);
}

/* Auditorium Data Tables */
.dense-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.dense-table th {
  background: var(--bg-surface-alt);
  color: var(--text-main);
  font-weight: 800;
  text-align: left;
  padding: 6px 9px;
  border-bottom: 1.5px solid var(--border-mid);
  font-size: clamp(13.2px, 0.95vw, 15px);
}

.dense-table td {
  padding: 6px 9px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-sub);
  font-size: clamp(13.8px, 1.0vw, 16px);
  font-weight: 600;
  line-height: 1.35;
  vertical-align: middle;
}

.dense-table tr:last-child td {
  border-bottom: none;
}

.dense-table tr.row-highlight td {
  background: rgba(232, 240, 254, 0.58);
  color: var(--text-main);
}

.bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  flex-shrink: 0;
}

.bottom-strip.blue { background: var(--g-blue-soft); border-color: #93C5FD; }
.bottom-strip.indigo { background: var(--dm-indigo-soft); border-color: #A5B4FC; }
.bottom-strip.teal { background: var(--dm-teal-soft); border-color: #99F6E4; }
.bottom-strip.amber { background: var(--g-amber-soft); border-color: #FCD34D; }

.strip-label {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--g-blue-dark);
  color: var(--text-white);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.strip-label.indigo { background: var(--dm-indigo-dark); }
.strip-label.teal { background: var(--dm-teal-dark); }
.strip-label.amber { background: var(--g-amber-dark); }

.strip-text {
  font-size: clamp(14.5px, 1.05vw, 17px);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.38;
  flex: 1;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bullet-list li {
  position: relative;
  padding-left: 16px;
  font-size: clamp(13.8px, 1.0vw, 16.5px);
  font-weight: 500;
  color: var(--text-sub);
  line-height: 1.38;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: var(--g-blue);
}

.bullet-list.indigo li::before { background: var(--dm-indigo); }
.bullet-list.teal li::before { background: var(--dm-teal); }
.bullet-list.green li::before { background: var(--g-green); }
.bullet-list.red li::before { background: var(--g-red); }

.bullet-list li strong {
  color: var(--text-main);
  font-weight: 800;
}

/* ============================================================================
   Slide 01: Executive Cover Layout
   ============================================================================ */
.cover-wrap {
  flex: 1;
  display: grid;
  grid-template-columns: 1.16fr 1.04fr;
  gap: 20px;
  align-items: stretch;
  min-height: 0;
}

.cover-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  min-height: 0;
}

.cover-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cover-event-tag {
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--g-blue-soft);
  color: var(--g-blue-dark);
  font-size: 13.5px;
  font-weight: 800;
  border: 1px solid #BFDBFE;
}

.cover-hero-title {
  font-size: clamp(32px, 2.7vw, 46px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.032em;
  line-height: 1.14;
  margin-top: 10px;
}

.cover-hero-title .grad-blue {
  background: linear-gradient(135deg, #1A73E8 0%, #4F46E5 55%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cover-hero-sub {
  font-size: clamp(15px, 1.15vw, 18.5px);
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 10px;
  line-height: 1.42;
}

.cover-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.cover-kpi-chip {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
}

.cover-kpi-chip strong {
  display: block;
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 800;
  color: var(--g-blue-dark);
}

.cover-kpi-chip span {
  font-size: clamp(13px, 0.9vw, 14.5px);
  font-weight: 700;
  color: var(--text-sub);
}

.cover-meta-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1.5px solid var(--border-light);
}

.presenter-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.presenter-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A73E8, #4F46E5);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.presenter-info strong {
  display: block;
  font-size: clamp(16.5px, 1.2vw, 19px);
  font-weight: 800;
  color: var(--text-main);
}

.presenter-info span {
  font-size: clamp(13.5px, 0.95vw, 15px);
  font-weight: 600;
  color: var(--text-muted);
}

.session-agenda-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.session-mini-card {
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-mid);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.session-mini-card.s1 { background: var(--g-blue-soft); border-color: #93C5FD; }
.session-mini-card.s2 { background: var(--dm-teal-soft); border-color: #99F6E4; }
.session-mini-card small { font-size: 13px; font-weight: 800; color: var(--g-blue-dark); }
.session-mini-card.s2 small { color: var(--dm-teal-dark); }
.session-mini-card strong { font-size: clamp(14px, 1.0vw, 16px); font-weight: 800; color: var(--text-main); }
.session-mini-card span { font-size: 13.2px; font-weight: 600; color: var(--text-sub); }

.cover-right-visual {
  background: linear-gradient(155deg, #F8FAFC 0%, #EEF2FF 52%, #F0FDFA 100%);
  border: 1.5px solid #CBD5E1;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
}

.cover-arch-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: space-between;
  min-height: 0;
}

.cover-layer-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #CBD5E1;
  border-left: 4px solid var(--g-blue);
  border-radius: 8px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.cover-layer-card:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

.cover-layer-title {
  font-size: clamp(14.2px, 1.0vw, 16.2px);
  font-weight: 800;
  color: var(--text-main);
}

.cover-layer-sub {
  font-size: clamp(13px, 0.9vw, 14.5px);
  color: var(--text-sub);
}

.cover-layer-card.l-indigo { border-left-color: var(--dm-indigo); }
.cover-layer-card.l-teal { border-left-color: var(--dm-teal); }
.cover-layer-card.l-green { border-left-color: var(--g-green); }
.cover-layer-card.l-orange { border-left-color: var(--claude-orange); }

/* ============================================================================
   Metric Stat Boxes & Eased Animated Bar Charts
   ============================================================================ */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex-shrink: 0;
}

.kpi-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi-box.highlight {
  background: var(--g-blue-soft);
  border-color: #93C5FD;
}

.kpi-val {
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 800;
  color: var(--g-blue-dark);
  letter-spacing: -0.028em;
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
}

.kpi-label {
  font-size: clamp(13.8px, 0.98vw, 15.8px);
  font-weight: 800;
  color: var(--text-main);
}

.kpi-sub {
  font-size: clamp(13px, 0.88vw, 14.2px);
  font-weight: 600;
  color: var(--text-muted);
}

.bench-chart-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.bench-panel {
  background: var(--bg-canvas);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-height: 0;
}

.bench-panel.featured {
  border: 2px solid var(--g-blue);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
}

.bench-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.bench-name {
  font-size: clamp(15.5px, 1.15vw, 18.5px);
  font-weight: 800;
  color: var(--text-main);
}

.bench-unit {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.extra-metric-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.extra-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 7px;
  font-size: clamp(13.5px, 0.95vw, 15.2px);
}

.extra-metric-win {
  color: var(--g-blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-row {
  display: grid;
  grid-template-columns: 132px 1fr 72px;
  align-items: center;
  gap: 8px;
  font-size: clamp(13.5px, 0.95vw, 15.2px);
}

.bar-row.ipi-row {
  grid-template-columns: 150px 1fr 126px;
}

.bar-model {
  font-weight: 700;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-row.is-win .bar-model {
  color: var(--g-blue-dark);
  font-weight: 800;
}

.bar-track {
  height: 16px;
  background: var(--bg-surface-alt);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.bar-row.ipi-row .bar-track {
  height: 19px;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-fill.carbon { background: linear-gradient(90deg, #174EA6, #1A73E8); }
.bar-fill.argon { background: #4285F4; }
.bar-fill.opus { background: var(--claude-orange); }
.bar-fill.astra { background: var(--openai-green); }
.bar-fill.fable { background: #94A3B8; }
.bar-fill.danger { background: #DC2626; }
.bar-fill.safe { background: #0D9488; }

.bar-score {
  text-align: right;
  font-weight: 800;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bar-row.is-win .bar-score {
  color: var(--g-blue-dark);
}

.bench-foot-note {
  font-size: clamp(13px, 0.9vw, 14.5px);
  font-weight: 600;
  color: var(--text-sub);
  padding-top: 5px;
  border-top: 1px dashed var(--border-mid);
  line-height: 1.34;
}

/* ============================================================================
   Interactive Stage Tabs, Switchers & Slide 02 Two-Tab Stage
   ============================================================================ */
.tab-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tab-btn {
  border: 1.5px solid var(--border-mid);
  background: var(--bg-surface);
  color: var(--text-sub);
  font-family: inherit;
  font-size: clamp(13px, 0.92vw, 14.5px);
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.tab-btn:hover {
  border-color: var(--g-blue);
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--g-blue);
  border-color: var(--g-blue);
  color: #FFFFFF;
  font-weight: 800;
}

.tab-btn.indigo.active {
  background: var(--dm-indigo);
  border-color: var(--dm-indigo);
}

.tab-btn.teal.active {
  background: var(--dm-teal);
  border-color: var(--dm-teal);
}

.stage-switcher-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.stage-tab-panel {
  display: none;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 10px;
}

.stage-tab-panel.active {
  display: flex;
}

/* ============================================================================
   Slide 03: Stateless Long-Decode Breakdown Bar & SDK Stage
   ============================================================================ */
.token-meter-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ld-stacked-bar {
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
}

.ld-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  transition: width 0.35s ease;
}

.ld-seg.in { background: #2563EB; }
.ld-seg.th { background: #4F46E5; }
.ld-seg.out { background: #0D9488; }

.hop-flow-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.hop-pill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-top: 3px solid var(--g-blue);
  border-radius: 7px;
  padding: 7px 9px;
}

.hop-pill-card strong {
  display: block;
  font-size: 13.5px;
  color: var(--g-blue-dark);
}

.hop-pill-card span {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.32;
}

/* ============================================================================
   Slide 07: 17-Benchmark Matrix + 5 Business Translation Cards
   ============================================================================ */
.matrix-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.44fr 0.96fr;
  gap: 12px;
}

.matrix-table-wrap {
  background: var(--bg-canvas);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  overflow: auto;
  min-height: 0;
}

.bench-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.bench-matrix-table thead th {
  position: sticky;
  top: 0;
  background: #F1F5F9;
  color: var(--text-main);
  font-size: clamp(13.2px, 0.94vw, 15px);
  font-weight: 800;
  padding: 6px 8px;
  border-bottom: 1.5px solid var(--border-mid);
  text-align: right;
  z-index: 2;
}

.bench-matrix-table thead th:nth-child(1),
.bench-matrix-table thead th:nth-child(2) {
  text-align: left;
}

.bench-matrix-table thead th.col-carbon {
  background: var(--g-blue-soft);
  color: var(--g-blue-dark);
}

.bench-matrix-table tbody td {
  padding: 4.5px 8px;
  border-bottom: 1px solid var(--border-light);
  text-align: right;
  font-size: clamp(13.8px, 1.0vw, 15.8px);
  line-height: 1.34;
  color: var(--text-sub);
  font-weight: 600;
}

.bench-matrix-table tbody td:nth-child(1) {
  text-align: left;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.bench-matrix-table tbody td:nth-child(2) {
  text-align: left;
  font-weight: 800;
  color: var(--text-main);
}

.bench-matrix-table tbody td.col-carbon {
  background: rgba(232, 240, 254, 0.48);
  font-weight: 800;
  color: var(--text-main);
}

.bench-matrix-table tbody td.win-cell {
  color: var(--g-blue-dark);
  font-weight: 800;
}

.bench-matrix-table tbody td.peer-win {
  background: var(--g-amber-soft);
  color: var(--g-amber-dark);
  font-weight: 800;
}

.bench-matrix-table tbody td.na-cell {
  color: #64748B;
  font-weight: 600;
}

.biz-trans-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-height: 0;
}

.biz-trans-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-left: 4px solid var(--g-blue);
  border-radius: var(--radius-xs);
  padding: 7px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.biz-trans-item strong {
  font-size: clamp(14px, 1.0vw, 16px);
  font-weight: 800;
  color: var(--text-main);
}

.biz-trans-item span {
  font-size: clamp(13.4px, 0.94vw, 15px);
  color: var(--text-sub);
  line-height: 1.35;
}

/* ============================================================================
   Slide 08: Vertex AI Model Garden 3-LLM Cards & Mix Bar
   ============================================================================ */
.mg-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex-shrink: 0;
}

.mg-model-card {
  border-radius: var(--radius-md);
  padding: 10px 14px;
  border: 1.5px solid var(--border-mid);
  background: var(--bg-canvas);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mg-model-card strong {
  font-size: clamp(15.5px, 1.15vw, 18px);
}

.mg-model-card.gemini { border-top: 4px solid var(--g-blue); background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%); }
.mg-model-card.claude { border-top: 4px solid var(--claude-orange); background: linear-gradient(180deg, #FFFBF8 0%, #FFFFFF 100%); }
.mg-model-card.openai { border-top: 4px solid var(--openai-green); background: linear-gradient(180deg, #F6FEF9 0%, #FFFFFF 100%); }

.mg-mix-bar {
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-mid);
  flex-shrink: 0;
}

.mg-seg-g { background: var(--g-blue); transition: width 0.35s ease; }
.mg-seg-c { background: var(--claude-orange); transition: width 0.35s ease; }
.mg-seg-o { background: var(--openai-green); transition: width 0.35s ease; }

/* ============================================================================
   Slides 09-11: Genie 4 Live Video Showcases & 3D Presenter Flip Cards
   ============================================================================ */
.milestone-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  flex-shrink: 0;
}

.milestone-pill {
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  font-size: clamp(13.2px, 0.92vw, 14.8px);
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.milestone-pill.current {
  background: var(--dm-indigo-soft);
  border: 1.5px solid var(--dm-indigo);
  color: var(--dm-indigo-dark);
  font-weight: 800;
}

.showcase-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.showcase-img-card,
.video-stage-card {
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #0F172A;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.showcase-img-card {
  cursor: zoom-in;
}

.showcase-img-wrap,
.video-stage-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  background: #0B1120;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-img-wrap img,
.showcase-img-wrap video,
.video-stage-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-stage-wrap.contain video {
  object-fit: contain;
}

.showcase-img-cap {
  padding: 8px 12px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  font-size: clamp(13.5px, 0.95vw, 15.2px);
  color: var(--text-sub);
  line-height: 1.36;
}

.showcase-img-cap strong {
  color: var(--text-main);
  display: block;
  font-size: clamp(14.5px, 1.02vw, 16.5px);
  margin-bottom: 2px;
}

/* 3D Flip Card Stage (Slides 11 & 13) */
.flip-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--dm-indigo);
  background: var(--dm-indigo-soft);
  color: var(--dm-indigo-dark);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.flip-all-btn:hover {
  background: var(--dm-indigo);
  color: #FFFFFF;
}

.flip-grid-2x2 {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.flip-grid-3x2 {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.flip-card {
  perspective: 1200px;
  position: relative;
  min-height: 0;
  height: 100%;
  cursor: pointer;
  user-select: none;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  box-shadow: var(--shadow-sm);
}

.flip-front {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 2px solid var(--border-mid);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.flip-card:hover .flip-front {
  border-color: var(--g-blue);
  box-shadow: var(--shadow-md);
}

.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(165deg, #0F172A 0%, #1E293B 100%);
  border: 2px solid #6366F1;
  color: #F8FAFC;
}

.flip-front-title {
  font-size: clamp(18px, 1.38vw, 22px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.flip-front-kpi {
  font-size: clamp(20px, 1.6vw, 28px);
  font-weight: 800;
  color: var(--g-blue-dark);
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
}

.flip-front-kpi.indigo { color: var(--dm-indigo-dark); }
.flip-front-kpi.teal { color: var(--dm-teal-dark); }
.flip-front-kpi.green { color: var(--g-green-dark); }
.flip-front-kpi.amber { color: var(--g-amber-dark); }
.flip-front-kpi.orange { color: #9A3412; }

.flip-front-question {
  font-size: clamp(13.8px, 1.0vw, 16px);
  font-weight: 700;
  color: var(--text-sub);
  line-height: 1.35;
}

.flip-cue-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--g-blue-soft);
  border: 1px solid #93C5FD;
  color: var(--g-blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.flip-back-title {
  font-size: clamp(15.5px, 1.15vw, 18.5px);
  font-weight: 800;
  color: #93C5FD;
  line-height: 1.24;
}

.flip-back-body {
  font-size: clamp(13.6px, 0.98vw, 15.8px);
  font-weight: 500;
  color: #F1F5F9;
  line-height: 1.38;
}

.flip-back-body strong {
  color: #5EEAD4;
  font-weight: 800;
}

.flip-back-foot {
  font-size: 13px;
  font-weight: 700;
  color: #C7D2FE;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 5px;
}

/* ============================================================================
   Slide 15: Multi-Layer Enterprise Reference Architecture + GE Demo Video
   ============================================================================ */
.arch-blueprint-wrap {
  background: linear-gradient(180deg, #F8FAFC 0%, #F0FDFA 100%);
  border: 2px dashed #0D9488;
  border-radius: var(--radius-md);
  padding: 9px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  position: relative;
}

@media (max-height: 980px) {
  .arch-blueprint-wrap { padding: 7px 11px; gap: 4px; }
  .arch-tier-node { padding: 5px 10px; gap: 3px; }
  .arch-flow-arrow { height: 11px; }
  .arch-spec-callout { padding: 6px 10px; line-height: 1.3; }
  .flip-face { padding: 10px 13px; gap: 4px; }
}

.arch-perimeter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 7px;
  background: #0F172A;
  color: #F8FAFC;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.arch-tier-node {
  background: #FFFFFF;
  border: 1.5px solid var(--border-mid);
  border-left: 5px solid var(--g-blue);
  border-radius: 8px;
  padding: 7px 11px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.15s ease;
}

.arch-tier-node:hover {
  border-color: var(--g-blue);
  box-shadow: var(--shadow-sm);
}

.arch-tier-node.active {
  border: 2px solid var(--g-blue);
  border-left: 6px solid var(--g-blue-dark);
  background: #EFF6FF;
  box-shadow: var(--shadow-md);
}

.arch-tier-node.t2 { border-left-color: #DC2626; }
.arch-tier-node.t3 { border-left-color: #4F46E5; }
.arch-tier-node.t4 { border-left-color: #0D9488; }
.arch-tier-node.t5 { border-left-color: #16A34A; }

.arch-tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.arch-tier-title {
  font-size: clamp(14px, 1.02vw, 16.2px);
  font-weight: 800;
  color: var(--text-main);
}

.arch-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.arch-chip {
  padding: 2.5px 9px;
  border-radius: 6px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-mid);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.arch-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 13px;
  color: var(--dm-teal-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

@keyframes flowPulse {
  0%, 100% { opacity: 0.45; transform: translateY(-1px); }
  50% { opacity: 1; transform: translateY(1px); }
}

.arch-flow-arrow svg {
  animation: flowPulse 1.6s ease-in-out infinite;
}

.arch-spec-callout {
  background: #0F172A;
  color: #F8FAFC;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: clamp(13.4px, 0.95vw, 15.2px);
  line-height: 1.36;
  border-left: 4px solid #2DD4BF;
  flex-shrink: 0;
}

.arch-spec-callout strong {
  color: #5EEAD4;
}

.chapter-btn-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.chapter-jump-btn {
  width: 100%;
  text-align: left;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1.5px solid var(--border-mid);
  background: var(--bg-surface);
  color: var(--text-main);
  font-family: inherit;
  font-size: clamp(13.4px, 0.95vw, 15px);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: all 0.14s ease;
}

.chapter-jump-btn:hover,
.chapter-jump-btn.active {
  background: var(--g-blue-soft);
  border-color: var(--g-blue);
  color: var(--g-blue-dark);
}

/* ============================================================================
   Slide 17 & 18: Antigravity 2.0 Video/Screenshot Gallery & 3-Case Stage
   ============================================================================ */
.agy-gallery-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.38fr 0.82fr;
  gap: 12px;
}

.agy-shot-frame {
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  background: #0F172A;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  box-shadow: var(--shadow-md);
}

.agy-shot-topbar {
  height: 34px;
  background: #1E293B;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #E2E8F0;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.agy-dots {
  display: flex;
  gap: 5px;
}

.agy-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.agy-shot-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #0B1120;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.agy-shot-media {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.agy-shot-media.active {
  display: block;
}

.code-block-lite {
  background: #0F172A;
  color: #E2E8F0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: clamp(13px, 0.9vw, 14.5px);
  line-height: 1.4;
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
  white-space: pre-wrap;
}

/* ============================================================================
   Speaker Notes Panel (Right Side Dock), Overview Modal & Image Lightbox
   ============================================================================ */
.notes-drawer {
  position: fixed;
  top: 51px;
  right: 0;
  bottom: 0;
  left: auto;
  width: clamp(380px, 28vw, 460px);
  height: calc(100vh - 51px);
  max-height: none;
  background: #FFFFFF;
  border-top: none;
  border-left: 1.5px solid #CBD5E1;
  box-shadow: -8px 0 28px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 220;
}

body.notes-open .notes-drawer,
.notes-drawer.open {
  transform: translateX(0);
}

.notes-header {
  position: sticky;
  top: 0;
  padding: 12px 20px;
  background: #EFF6FF;
  border-bottom: 1px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  z-index: 2;
}

.notes-header strong,
.notes-header-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
}

.notes-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 18px 20px 28px;
  font-size: 14.5px;
  line-height: 1.68;
  color: #1E293B;
}

.notes-slide-subtitle {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--g-blue-dark);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 3.5px solid var(--g-blue);
  border-radius: 8px;
  padding: 8px 12px;
  line-height: 1.4;
}

.notes-cue-box {
  background: var(--g-blue-soft);
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--g-blue-dark);
}

.notes-qa-section {
  padding-top: 14px;
  border-top: 1.5px dashed #CBD5E1;
}

.notes-qa-box {
  background: #F0FDFA;
  border: 1px solid #99F6E4;
  border-left: 3.5px solid var(--dm-teal);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.62;
  color: #1E293B;
  white-space: pre-line;
}

.overview-backdrop,
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 300;
}

.overview-backdrop.open,
.lightbox-backdrop.open {
  display: flex;
}

.overview-panel {
  width: min(1380px, 96vw);
  max-height: 90vh;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--border-mid);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.overview-grid {
  padding: 16px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ov-card {
  border: 1.5px solid var(--border-mid);
  border-radius: 9px;
  padding: 11px 13px;
  background: var(--bg-canvas);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  transition: all 0.14s ease;
}

.ov-card:hover {
  border-color: var(--g-blue);
  transform: translateY(-2px);
}

.ov-card.current {
  border: 2px solid var(--g-blue);
  background: var(--g-blue-soft);
}

.ov-card.skipped-45 {
  opacity: 0.56;
  background: var(--bg-surface);
  border-style: dashed;
}

.ov-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
}

.ov-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.32;
}

.lightbox-panel {
  max-width: 92vw;
  max-height: 90vh;
  background: #0F172A;
  border: 1.5px solid #475569;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-panel img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  padding: 11px 16px;
  background: #1E293B;
  color: #F8FAFC;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ============================================================================
   Clean 16:9 Landscape PDF Print Export (@media print)
   ============================================================================ */
@page {
  size: 16in 9in;
  margin: 0;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    animation: none !important;
    transition: none !important;
  }

  html, body {
    width: 16in !important;
    height: auto !important;
    overflow: visible !important;
    background: #FFFFFF !important;
  }

  .top-nav,
  .topbar,
  .progress-bar-track,
  .progress-track,
  #p09LightboxModal,
  .notes-drawer,
  .overview-backdrop,
  .lightbox-backdrop,
  .running-footer,
  .presenter-cue-hud,
  .canvas-replay-chip {
    display: none !important;
  }

  .stage-wrapper,
  .deck-viewport {
    position: static !important;
    width: 16in !important;
    height: auto !important;
    overflow: visible !important;
  }

  .slide-canvas {
    width: 16in !important;
    height: auto !important;
  }

  .slide {
    position: relative !important;
    display: flex !important;
    width: 16in !important;
    height: 9in !important;
    page-break-after: always;
    break-after: page;
    inset: auto !important;
  }

  body.mode-45 .slide[data-optional-45="true"] {
    display: none !important;
  }
}

/* ============================================================================
   v4 Visual Infographic Utility Styles (Auditorium >= 13px Scale)
   ============================================================================ */
.v4-svg-card,
.v4-svg-wrap {
  width: 100%;
  display: block;
}

.v4-svg {
  width: 100%;
  height: auto;
  display: block;
}

.v4-icon-svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.v4-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.v4-pipe3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 800;
  color: #E2E8F0;
}

.v4-chip {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
}

.v4-chip.hi {
  background: #EEF2FF;
  border-color: #818CF8;
  color: #3730A3;
}

.v4-chip.ok {
  background: #DCFCE7;
  border-color: #4ADE80;
  color: #166534;
}

.v4-gauge-card {
  align-items: center;
  text-align: center;
  padding: 10px 10px;
  gap: 4px;
}

.v4-gauge-lbl {
  font-size: 15px;
  font-weight: 900;
  color: #0F172A;
}

.v4-gauge-sub {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
}

.v4-flow-card {
  justify-content: space-between;
  gap: 6px;
}

.v4-cap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 6px;
}

.v4-mini-thumb {
  height: 42px;
  width: auto;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  cursor: zoom-in;
  object-fit: cover;
  flex-shrink: 0;
}

/* ============================================================================
   v5 Clean 20-Slide Keynote Chrome, Viewport & Modal Classes (>= 13px)
   ============================================================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 10px;
  z-index: 200;
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.gcloud-mark {
  flex-shrink: 0;
}

.brand-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
}

.brand-sep {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.brand-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.timer-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: all 0.14s ease;
}

.timer-badge.running {
  background: var(--dm-teal-soft);
  border-color: var(--dm-teal);
  color: var(--dm-teal-dark);
}

.icon-btn {
  border: 1px solid var(--border-mid);
  background: var(--bg-canvas);
  color: var(--text-sub);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.14s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.icon-btn:hover {
  background: var(--bg-surface-alt);
  border-color: var(--border-strong);
  color: var(--text-main);
}

.icon-btn.active-toggle {
  background: var(--bg-dark);
  color: var(--text-white);
  border-color: var(--bg-dark);
}

#btnNotes.active-toggle {
  background: #E8F0FE;
  color: #174EA6;
  border-color: #AECBFA;
  font-weight: 800;
}

.progress-track {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-light);
  z-index: 190;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--g-blue) 0%, var(--dm-indigo) 60%, var(--dm-teal) 100%);
  width: 5%;
  transition: width 0.22s ease;
}

.deck-viewport,
body:not(.notes-open) .deck-viewport {
  position: fixed;
  top: 51px;
  left: 0;
  right: auto;
  bottom: 0;
  width: 100vw;
  margin-right: 0;
  height: calc(100vh - 51px);
  background: var(--bg-canvas);
  overflow: hidden;
  transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1), margin-right 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

body.notes-open .deck-viewport {
  width: calc(100vw - clamp(380px, 28vw, 460px));
  margin-right: clamp(380px, 28vw, 460px);
  height: calc(100vh - 51px);
  padding-bottom: 14px;
}

.sec-pill.active[data-sec="2"] {
  background: var(--dm-indigo-soft);
  color: var(--dm-indigo-dark);
  border-color: #A5B4FC;
}

.sec-pill.active[data-sec="4"] {
  background: var(--dm-teal-soft);
  color: var(--dm-teal-dark);
  border-color: #99F6E4;
}

.overview-modal {
  width: min(1380px, 96vw);
  max-height: 90vh;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1px solid var(--border-mid);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.overview-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-mid);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.overview-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.lightbox-modal {
  max-width: 92vw;
  max-height: 90vh;
  background: #0F172A;
  border: 1.5px solid #475569;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  padding: 12px 18px;
  background: #1E293B;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lightbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-badge {
  background: var(--g-blue);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.lightbox-title {
  font-size: 16px;
  font-weight: 800;
  color: #F8FAFC;
}

.lightbox-body {
  padding: 14px;
  background: #090D16;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-body img {
  max-width: 88vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.notes-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--g-blue-dark);
  background: #DBEAFE;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.notes-header h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0;
}

.notes-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.notes-duration {
  background: var(--g-blue-soft);
  color: var(--g-blue-dark);
  border: 1px solid #BFDBFE;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 13px;
  font-weight: 800;
}

.notes-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.notes-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--g-blue-dark);
}

.notes-script-text {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.68;
  color: #1E293B;
  white-space: pre-line;
}

.gslides-cover {
  background: #FFFFFF;
}

.i2w-example-card {
  transition: all 0.18s ease;
}

.i2w-example-card:hover {
  border-color: #4F46E5 !important;
  background: #EEF2FF !important;
}

.i2w-stage-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agy-panel {
  flex: 1;
  min-height: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.agy-panel.active {
  display: flex;
}

.p15-seek-btn {
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
}

/* ==========================================================================
   V6 EXECUTIVE DECK DESIGN SYSTEM OVERHAUL
   ========================================================================== */

body,
.deck-viewport {
  background: #FFFFFF;
}

.deck-viewport .slide {
  padding: 28px 56px 34px;
  background: #FFFFFF;
  gap: 16px;
}

.deck-viewport .slide.gslides-cover {
  padding: 28px 56px 30px;
  background: #FFFFFF;
}

/* === UNIFIED CONTENT SLIDE HEADER CONTRACT (Slides 03-15 & 17-26) === */
.slide-header,
header.slide-header,
div.slide-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
  padding-bottom: 10px;
  margin-bottom: 2px;
  border-bottom: 1.5px solid #E5E7EB;
  flex-shrink: 0;
}

.slide-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.slide-tag-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0;
  flex-wrap: nowrap;
}

.slide-tag-row .slide-subtitle,
.slide-tag-row .kicker-sub {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #4B5563;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.03em;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.slide-tag.teal { background: #F0FDFA; color: #0F766E; border-color: #99F6E4; }
.slide-tag.green { background: #F0FDF4; color: #15803D; border-color: #86EFAC; }
.slide-tag.indigo { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.slide-tag.purple { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.slide-tag.amber { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
.slide-tag.red { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }

.header-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.header-pill.blue   { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.header-pill.teal   { background: #F0FDFA; color: #0F766E; border-color: #99F6E4; }
.header-pill.green  { background: #F0FDF4; color: #15803D; border-color: #86EFAC; }
.header-pill.indigo,
.header-pill.purple { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.header-pill.amber  { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }


.slide-title {
  font-size: clamp(26px, 2.25vw, 36px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #1F1F1F;
}

.slide-subtitle {
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.42;
  color: #4B5563;
}

/* Tonal Card System (.mm-card, .mm-flat-row, .card) */
.card,
.mm-card {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.card.white,
.mm-card.white {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
}

.card.soft,
.mm-card.soft {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
}

.card.accent-blue,
.card.hero-blue,
.mm-card.accent-blue,
.mm-card.hero-blue,
.mm-flat-row.accent-blue,
.mm-flat-row.hero-blue {
  background: #F8FAFF;
  border: 2px solid #1A73E8;
}

.card.accent-indigo,
.card.hero-indigo,
.mm-card.accent-indigo,
.mm-card.hero-indigo,
.mm-flat-row.accent-indigo,
.mm-flat-row.hero-indigo,
.card.accent-purple,
.card.hero-purple,
.mm-card.accent-purple,
.mm-card.hero-purple,
.mm-flat-row.accent-purple,
.mm-flat-row.hero-purple {
  background: #EEF2FF;
  border: 2px solid #4F46E5;
}

.card.accent-teal,
.mm-card.accent-teal,
.mm-flat-row.accent-teal {
  background: #F0FDFA;
  border: 2px solid #0D9488;
}

.card.accent-green,
.mm-card.accent-green,
.mm-flat-row.accent-green {
  background: #F0FDF4;
  border: 2px solid #16A34A;
}

.card.accent-amber,
.mm-card.accent-amber,
.mm-flat-row.accent-amber {
  background: #FFFBEB;
  border: 2px solid #D97706;
}

.mm-flat-row {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 0;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
}

.mm-flat-row.white {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
}

.mm-stat-badge {
  min-width: 118px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: clamp(24px, 1.9vw, 32px);
  font-weight: 900;
  text-align: center;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: #E8F0FE;
  color: #1A73E8;
  border: 1px solid #BFDBFE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.mm-stat-badge .badge-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.9;
}

.mm-stat-badge.blue {
  background: #E8F0FE;
  color: #1A73E8;
  border-color: #BFDBFE;
}

.mm-stat-badge.indigo,
.mm-stat-badge.purple {
  background: #EEF2FF;
  color: #3730A3;
  border-color: #C7D2FE;
}

.mm-stat-badge.teal {
  background: #CCFBF1;
  color: #0F766E;
  border-color: #99F6E4;
}

.mm-stat-badge.green {
  background: #F0FDF4;
  color: #15803D;
  border-color: #86EFAC;
}

.mm-stat-badge.amber {
  background: #FEF3C7;
  color: #B45309;
  border-color: #FDE68A;
}

.mm-stat-badge.red {
  background: #FEE2E2;
  color: #B91C1C;
  border-color: #FECACA;
}

.mm-stat-badge.dark {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #1E293B;
}

.mm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.mm-chip.blue {
  background: #E8F0FE;
  color: #1A73E8;
}

.mm-chip.indigo,
.mm-chip.purple {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.mm-chip.teal {
  background: #CCFBF1;
  color: #0F766E;
}

.mm-chip.green {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.mm-chip.amber {
  background: #FEF3C7;
  color: #B45309;
}

.mm-chip.red {
  background: #FEE2E2;
  color: #B91C1C;
}

.mm-chip.gray {
  background: #E5E7EB;
  color: #374151;
}

/* Slide 4: 16-Module Output Token Comparison Grid */
.out-mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.out-mod {
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 800;
  border: 1.5px solid #E5E7EB;
  background: #FFFFFF;
  color: #4B5563;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.out-mod .mod-idx {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.out-mod .mod-lbl {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
}

.out-mod.done {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #991B1B;
}

.out-mod.cut {
  background: #DC2626;
  border-color: #B91C1C;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.out-mod.empty {
  background: #F3F4F6;
  border: 1.5px dashed #D1D5DB;
  color: #9CA3AF;
  opacity: 0.65;
}

.out-mod.pending {
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  color: #94A3B8;
  opacity: 0.45;
  transform: scale(0.96);
}

.out-mod.active-writing {
  background: #DBEAFE;
  border: 2px solid #1A73E8;
  color: #1E40AF;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.22);
}

.out-mod.blue {
  background: #E8F0FE;
  border: 1.5px solid #93C5FD;
  color: #1E3A8A;
  opacity: 1;
  transform: scale(1);
}

/* Staggered Entrance Animations on .slide.active */
@keyframes mmFadeUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide.active .slide-header {
  animation: mmFadeUp 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.slide.active .slide-body > *:nth-child(1) {
  animation: mmFadeUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.slide.active .slide-body > *:nth-child(2) {
  animation: mmFadeUp 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.11s both;
}

.slide.active .slide-body > *:nth-child(3) {
  animation: mmFadeUp 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.slide.active .mm-flat-row:nth-child(1),
.slide.active .mm-card:nth-child(1) {
  animation: mmFadeUp 0.46s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.slide.active .mm-flat-row:nth-child(2),
.slide.active .mm-card:nth-child(2) {
  animation: mmFadeUp 0.46s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.slide.active .mm-flat-row:nth-child(3),
.slide.active .mm-card:nth-child(3) {
  animation: mmFadeUp 0.46s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.slide.active .mm-flat-row:nth-child(4),
.slide.active .mm-card:nth-child(4) {
  animation: mmFadeUp 0.46s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

/* Slide 9: Native HTML/CSS + Vector SVG DOM Live Router (Zero-Reflow Border-Only Highlight) */
.mg-dom-dest-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 12px;
  border: 2px solid #CBD5E1;
  box-sizing: border-box;
  background: #F8FAFC;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  transform: none;
  min-height: 0;
}

.mg-dom-dest-card.route-blue,
.mg-dom-dest-card.route-purple,
.mg-dom-dest-card.route-amber,
.mg-dom-dest-card.route-teal {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.mg-dom-dest-card.active-route {
  border-width: 2px;
  transform: none;
}

.mg-dom-dest-card.route-blue.active-route {
  background: #EFF6FF;
  border-color: #1A73E8;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.16);
}

.mg-dom-dest-card.route-purple.active-route {
  background: #EEF2FF;
  border-color: #4F46E5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.16);
}

.mg-dom-dest-card.route-amber.active-route {
  background: #FFFBEB;
  border-color: #D97706;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.16);
}

.mg-dom-dest-card.route-teal.active-route {
  background: #F0FDFA;
  border-color: #0D9488;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.16);
}

.mg-preset-card {
  border: 2px solid #CBD5E1 !important;
  box-sizing: border-box !important;
  background: #F8FAFC !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease !important;
}

.mg-preset-card.route-blue.active {
  background: #EFF6FF !important;
  border-color: #1A73E8 !important;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.15) !important;
}

.mg-preset-card.route-purple.active {
  background: #EEF2FF !important;
  border-color: #4F46E5 !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15) !important;
}

.mg-preset-card.route-amber.active {
  background: #FFFBEB !important;
  border-color: #D97706 !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15) !important;
}

.mg-preset-card.route-teal.active {
  background: #F0FDFA !important;
  border-color: #0D9488 !important;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15) !important;
}

.mg-dom-pct-badge {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 800;
  font-family: var(--font-sans);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 44px;
  text-align: center;
  line-height: 1.1;
}

/* === Minimalist Google Slides Section Divider ("간지")  -  Slide 2 & Slide 14 === */
.deck-viewport .slide.cid-sec-slide,
:fullscreen .slide.cid-sec-slide,
:-webkit-full-screen .slide.cid-sec-slide,
body.is-fullscreen .slide.cid-sec-slide {
  padding: 0 !important;
  background: #FFFFFF !important;
  overflow: hidden !important;
}

.cid-sec-split {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 0 0 0 96px;
  position: relative;
  overflow: hidden;
}

.cid-sec-left {
  max-width: 54%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cid-sec-num {
  font-size: 46px;
  font-weight: 400;
  color: #111827;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  font-family: 'Google Sans Display', 'Google Sans', 'Inter', 'Noto Sans KR', sans-serif;
}

.cid-sec-slide .cid-sec-title {
  font-size: 64px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  line-height: 1.14 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 24px 0 !important;
}

.cid-sec-slide .cid-sec-sub {
  font-size: 19px !important;
  font-weight: 500 !important;
  color: #4B5563 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}

.cid-sec-art-wrap {
  position: relative;
  width: 46%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  pointer-events: none;
}

.cid-sec-pill-img {
  position: absolute;
  right: 0;
  bottom: 11%;
  width: 94%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.cid-sec-3d-img {
  position: absolute;
  right: -2%;
  bottom: 6%;
  height: 84%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.sec02-art .sec02-pill {
  bottom: 10%;
  width: 94%;
}

.sec02-art .sec02-3d {
  bottom: 9%;
  right: 2%;
  height: 78%;
}

/* ==========================================================================
   V6 DUAL SCRIPT/NO-SCRIPT & FULL-BLEED COVER/DIVIDER SYSTEM
   ========================================================================== */

/* Script Excluded Mode: 100% pure distraction-free presentation stage */
body.script-mode-excluded #notesDrawer,
body.script-mode-excluded #scriptSidebar,
body.script-mode-excluded .notes-drawer,
body.script-mode-excluded #btnNotes,
body.script-mode-excluded #scriptToggleBtn {
  display: none !important;
}

/* Full-Bleed White Cover (Slide 01) & Minimalist Section Dividers (Slide 02 & Slide 14) */
.deck-viewport .slide.cid-cover-slide,
.deck-viewport .slide.cid-sec-slide {
  padding: 0 !important;
  overflow: hidden;
  background: #FFFFFF !important;
}

.cid-cover-split {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  align-items: stretch;
}

.cid-cover-left {
  padding: 46px 36px 44px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.cid-cover-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cid-cover-cloud-icon {
  height: 42px;
  width: auto;
  display: block;
}

.cid-event-pill {
  font-size: 14px;
  font-weight: 800;
  color: #1A73E8;
  background: #E8F0FE;
  border: 1px solid #BFDBFE;
  padding: 6px 14px;
  border-radius: 999px;
}

.cid-cover-hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cid-cover-title {
  font-size: clamp(46px, 3.6vw, 62px);
  font-weight: 900;
  color: #202124;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.cid-cover-subtitle {
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 500;
  color: #3C4043;
  line-height: 1.5;
  margin: 0;
  max-width: 820px;
}

.cid-cover-subtitle strong {
  color: #202124;
  font-weight: 800;
}

.cid-cover-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cid-mini-pillar {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.cid-mini-pillar:hover {
  transform: translateY(-2px);
  border-color: #1A73E8;
  background: #FFFFFF;
  box-shadow: 0 8px 22px rgba(26, 115, 232, 0.1);
}

.cmp-num {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #1A73E8;
}

.cid-mini-pillar strong {
  font-size: 17.5px;
  font-weight: 800;
  color: #202124;
  letter-spacing: -0.015em;
}

.cid-mini-pillar span {
  font-size: 13.5px;
  font-weight: 600;
  color: #5F6368;
  line-height: 1.38;
}

.cid-cover-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  border-top: 1.5px solid #E8EAED;
}

.cid-cover-art-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cid-cover-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* Section Divider (Slide 02 & Slide 14) */
.cid-sec-split {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
}

.cid-sec-left {
  padding: 44px 28px 54px 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  z-index: 2;
}

.cid-sec-num {
  font-size: 64px;
  font-weight: 700;
  color: #202124;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cid-sec-title {
  font-size: clamp(46px, 3.8vw, 66px);
  font-weight: 800;
  color: #202124;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.cid-sec-sub {
  font-size: 19px;
  font-weight: 500;
  color: #3C4043;
  line-height: 1.52;
  max-width: 780px;
  margin: 0;
}

.cid-sec-sub strong {
  color: #202124;
  font-weight: 800;
}

.cid-sec-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
  max-width: 820px;
}

.cid-sec-chip {
  background: #F8F9FA;
  border: 1.5px solid #DADCE0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cid-sec-chip:hover {
  border-color: #1A73E8;
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(32, 33, 36, 0.06);
}

.cid-sec-chip span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #1A73E8;
}

.cid-sec-chip strong {
  font-size: 15.5px;
  font-weight: 800;
  color: #202124;
}

.cid-sec-art-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.cid-sec-pill-img {
  position: absolute;
  right: 0;
  bottom: 12%;
  width: 92%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.cid-sec-3d-img {
  position: absolute;
  right: -2%;
  bottom: 8%;
  height: 82%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

.sec02-art .sec02-pill {
  bottom: 0;
  width: 96%;
}

.sec02-art .sec02-3d {
  bottom: 0;
  height: 78%;
}

/* Smooth Stage Scaling & Reflow When Speaker Script Drawer (body.notes-open, 1460px stage) Is Active */
body.notes-open .deck-viewport {
  padding-bottom: 0;
}

body.notes-open .deck-viewport .slide:not(.cid-cover-slide):not(.cid-sec-slide) {
  padding: 16px 28px 18px;
  gap: 10px;
}

body.notes-open .deck-viewport .slide .slide-header {
  padding-bottom: 6px;
}

body.notes-open .deck-viewport .slide:not(.cid-sec-slide) .slide-title {
  font-size: clamp(22px, 1.85vw, 28px);
}

body.notes-open .deck-viewport .slide .slide-subtitle {
  font-size: clamp(13.5px, 1.0vw, 15.5px);
}

body.notes-open .deck-viewport .slide .card,
body.notes-open .deck-viewport .slide .mm-card {
  padding: 12px 16px;
  gap: 8px;
}

body.notes-open .deck-viewport .slide .mm-flat-row {
  padding: 10px 14px;
  gap: 12px;
}

body.notes-open .cid-cover-left {
  padding: 32px 24px 32px 40px;
}

body.notes-open .cid-sec-left {
  padding: 32px 20px 36px 42px;
}

.cid-cover-right, .cid-cover-art-wrap, .cid-sec-art-wrap {
  align-self: stretch !important;
  height: 100% !important;
  min-height: 100% !important;
}

.cid-cover-art-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: right center !important;
  display: block !important;
}

/* === UNIFIED DESIGN SYSTEM & MONITOR/MACBOOK FIT OVERRIDES === */
/* 1. 6-Tier Unified Typography & Card System across all 20 Slides */
.slide {
  padding: 20px 36px 22px 36px;
  gap: 12px;
  justify-content: flex-start;
}

.slide-header {
  margin-bottom: 2px;
  gap: 16px;
  flex-shrink: 0;
}

.slide-title,
h1.slide-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.02em !important;
  color: #202124 !important;
}

.slide-subtitle,
.kicker-sub {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #4B5563 !important;
}

.slide-tag,
.header-pill,
.mm-chip,
.mg-dom-pct-badge {
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

/* 2. Unified Card & Sub-Card Box Geometry + Natural Column Height Alignment */
.card,
.bento-card,
.mm-card,
.mm-flat-row,
.mg-dom-dest-card {
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  min-height: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.mm-flat-row[style*="flex-direction:column"],
.mm-flat-row[style*="flex-direction: column"],
.mm-card[style*="flex-direction:column"],
.mm-card[style*="flex-direction: column"],
.card[style*="flex-direction:column"],
.card[style*="flex-direction: column"] {
  align-items: stretch !important;
}

/* Natural height sizing: columns match each other's height without stretching hollow boxes to bottom */
.slide-body {
  flex: 0 1 auto !important;
  height: auto !important;
  max-height: 705px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100%;
  min-height: 0;
  align-items: stretch;
}

/* Prevent orphan 1-char Korean/English wrapping on pills, badges, and headers */
.badge,
.pill,
.tag,
.mm-chip,
.mm-stat-badge,
.header-pill,
.slide-tag,
.strip-label,
button,
code {
  white-space: nowrap;
}

.mm-chip,
.header-pill,
.slide-tag {
  font-size: 13.5px !important;
}

h2, h3, h4, strong, th, td, p, li, span, div {
  word-break: keep-all;
}

.bottom-strip {
  padding: 8px 16px !important;
  min-height: 0 !important;
  flex-shrink: 0 !important;
}
