/* ============================================================
   JAPAN ELECTRONICS — PREMIUM DARK CORPORATE DESIGN SYSTEM
   Palette: Volcanic Dark + Gold Accent
   Font: Bricolage Grotesque + DM Mono
============================================================ */

:root {
  --bg-base:       #0D0F14;
  --bg-surface:    #13161E;
  --bg-card:       #1A1E2A;
  --bg-card-hover: #1F2435;
  --bg-elevated:   #222840;
  --border:        rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.14);

  --gold:          #E8B84B;
  --gold-dim:      #C49A35;
  --gold-glow:     rgba(232,184,75,0.15);

  --green:         #4ADE80;
  --green-dim:     rgba(74,222,128,0.15);
  --yellow:        #FBBF24;
  --yellow-dim:    rgba(251,191,36,0.15);
  --red:           #F87171;
  --red-dim:       rgba(248,113,113,0.15);
  --blue:          #60A5FA;
  --teal:          #4ECDC4;
  --purple:        #A78BFA;

  --text-primary:  #F0EDE8;
  --text-secondary:#9BA3B8;
  --text-muted:    #5C6480;

  --font-main:     'Bricolage Grotesque', sans-serif;
  --font-mono:     'DM Mono', monospace;

  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     24px;

  --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:   0 0 40px rgba(232,184,75,0.08);
}

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── PROGRESS BAR ── */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transition: width 0.4s ease;
  z-index: 1000;
  box-shadow: 0 0 12px var(--gold);
}

/* ── SLIDE COUNTER ── */
.slide-counter {
  position: fixed; top: 18px; right: 72px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  z-index: 100;
}

/* ── NAV DOTS ── */
.nav-dots {
  position: fixed; right: 18px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px;
  z-index: 100;
}
.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.nav-dot.active {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  transform: scale(1.4);
}
.nav-dot:hover { background: var(--text-secondary); }

/* ── NAV BUTTONS ── */
.nav-btn {
  position: fixed; bottom: 28px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  z-index: 100;
}
.nav-btn svg { width: 18px; height: 18px; }
.nav-btn:hover { background: var(--bg-elevated); color: var(--gold); border-color: var(--gold); }
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.nav-prev { right: 80px; }
.nav-next { right: 28px; }

/* ── SLIDES WRAPPER ── */
.slides-wrapper {
  width: 100vw; height: 100vh;
  position: relative; overflow: hidden;
}

/* ── SLIDE BASE ── */
.slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 28px 36px 20px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideIn 0.45s cubic-bezier(0.22,1,0.36,1);
}
.slide.active { display: flex; }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SLIDE HEADER ── */
.slide-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.slide-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  background: var(--gold-glow);
  border: 1px solid rgba(232,184,75,0.3);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}
.slide-title-block h2 {
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary); line-height: 1.2;
}
.slide-title-block p {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 2px;
}
.slide-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  color: var(--text-secondary);
}
.slide-badge.purchase { background: rgba(96,165,250,0.1); border-color: rgba(96,165,250,0.3); color: var(--blue); }
.slide-badge.sales    { background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.3); color: var(--green); }
.slide-badge.retail   { background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.3); color: var(--purple); }
.slide-badge.online   { background: rgba(78,205,196,0.1); border-color: rgba(78,205,196,0.3); color: var(--teal); }
.slide-badge.forecast { background: var(--gold-glow); border-color: rgba(232,184,75,0.3); color: var(--gold); }

/* ── CHART TITLE ── */
.chart-title {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 10px;
}
.chart-wrap { position: relative; flex: 1; min-height: 0; }
.chart-wrap canvas { width: 100% !important; height: 100% !important; }
.chart-wrap.tall { height: 200px; }
.chart-wrap.doughnut-wrap { height: 140px; }

/* ── COLOR UTILITIES ── */
.green { color: var(--green); }
.yellow { color: var(--yellow); }
.red { color: var(--red); }
.amber { color: var(--gold); }

/* ════════════════════════════════════════════════════════════
   SLIDE 1 — COVER
════════════════════════════════════════════════════════════ */
.slide-cover {
  padding: 0;
  justify-content: center;
  align-items: center;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}
.cover-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,184,75,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,184,75,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.cover-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 20px; padding: 40px 60px;
}
.cover-tag {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 5px 14px; border-radius: 20px;
}
.cover-logo-block {
  display: flex; align-items: center; gap: 14px;
}
.cover-logo-icon svg { width: 48px; height: 48px; }
.cover-logo-text {
  font-size: 1.4rem; font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--gold), #fff 60%, var(--gold-dim));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cover-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  color: var(--text-primary);
}
.cover-title-accent {
  background: linear-gradient(135deg, var(--gold), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cover-subtitle {
  font-size: 0.85rem; color: var(--text-secondary);
  max-width: 600px; line-height: 1.6;
}
.cover-meta-row {
  display: flex; align-items: center; gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cover-meta-item {
  display: flex; flex-direction: column;
  padding: 12px 24px; gap: 2px;
}
.meta-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.meta-value { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.cover-meta-divider { width: 1px; height: 40px; background: var(--border); }
.cover-cities { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.city-tag {
  font-size: 11px; padding: 5px 14px;
  border-radius: 20px;
  background: var(--gold-glow);
  border: 1px solid rgba(232,184,75,0.25);
  color: var(--gold);
  font-weight: 500;
}
.cover-bottom-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 12px 36px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  font-size: 11px; color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ════════════════════════════════════════════════════════════
   SLIDE 2 — EXECUTIVE SUMMARY
════════════════════════════════════════════════════════════ */
.exec-grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 16px; flex: 1; min-height: 0;
}
.exec-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
}
.exec-hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}
.exec-hero-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.exec-hero-value { font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.exec-hero-growth { display: flex; flex-direction: column; gap: 2px; }
.growth-up { font-size: 0.85rem; font-weight: 700; color: var(--green); }
.growth-sub { font-size: 11px; color: var(--text-muted); }
.exec-hero-bar { height: 6px; background: var(--bg-elevated); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.exec-hero-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--teal)); border-radius: 3px; max-width: 100%; }
.exec-hero-target { font-size: 11px; color: var(--text-secondary); font-family: var(--font-mono); }

.exec-kpi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}
.exec-kpi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color 0.2s;
}
.exec-kpi-card.green { border-left: 3px solid var(--green); }
.exec-kpi-card.yellow { border-left: 3px solid var(--yellow); }
.ekc-icon { font-size: 1.2rem; }
.ekc-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ekc-value { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.ekc-growth { font-size: 11px; color: var(--text-secondary); }
.exec-kpi-card.green .ekc-growth { color: var(--green); }
.exec-kpi-card.yellow .ekc-growth { color: var(--yellow); }

.exec-insight-bar {
  display: flex; gap: 24px; align-items: center;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 12px; flex-shrink: 0;
}
.insight-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-secondary); }
.insight-item strong { color: var(--text-primary); }
.insight-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.insight-dot.green { background: var(--green); }
.insight-dot.amber { background: var(--gold); }

/* ════════════════════════════════════════════════════════════
   SLIDE 3 — COMPANY OVERVIEW
════════════════════════════════════════════════════════════ */
.overview-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; flex: 1; min-height: 0; }
.overview-left { display: flex; flex-direction: column; gap: 14px; }
.overview-stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.ov-stat {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px; text-align: center;
}
.ov-stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.ov-stat-label { font-size: 10px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

.city-breakdown-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.cbt-header, .cbt-row {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  padding: 9px 14px; font-size: 12px;
}
.cbt-header { background: var(--bg-elevated); color: var(--text-muted); font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.cbt-row { border-top: 1px solid var(--border); color: var(--text-secondary); }
.cbt-row.highlight { color: var(--text-primary); background: rgba(232,184,75,0.04); }
.cbt-row span:last-child { color: var(--gold); font-weight: 600; font-family: var(--font-mono); font-size: 11px; }

.marketplace-tags { display: flex; flex-direction: column; gap: 6px; }
.mp-tag { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-secondary); }
.mp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.overview-right { display: flex; flex-direction: column; gap: 14px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prod-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
}
.prod-icon { font-size: 1.4rem; margin-bottom: 6px; }
.prod-name { font-size: 12px; font-weight: 600; color: var(--text-primary); }
.prod-share { font-size: 11px; color: var(--text-muted); margin: 4px 0; }
.prod-bar { height: 4px; background: var(--bg-elevated); border-radius: 2px; overflow: hidden; }
.prod-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--teal)); border-radius: 2px; }

.channel-split {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.cs-item { display: flex; align-items: center; gap: 10px; }
.cs-label { font-size: 12px; color: var(--text-secondary); width: 110px; flex-shrink: 0; }
.cs-bar-wrap { flex: 1; height: 8px; background: var(--bg-elevated); border-radius: 4px; overflow: hidden; }
.cs-bar { height: 100%; border-radius: 4px; }
.cs-bar.retail { background: linear-gradient(90deg, var(--purple), var(--blue)); }
.cs-bar.online { background: linear-gradient(90deg, var(--teal), var(--green)); }
.cs-pct { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); font-weight: 500; width: 40px; text-align: right; }

/* ════════════════════════════════════════════════════════════
   SLIDE 4 — PURCHASE KPI
════════════════════════════════════════════════════════════ */
.kpi-layout { display: grid; grid-template-columns: 260px 1fr; gap: 16px; flex: 1; min-height: 0; }
.kpi-metrics-col { display: flex; flex-direction: column; gap: 12px; }
.kpi-metric-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  position: relative; overflow: hidden;
}
.kpi-metric-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.kmc-year { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.kmc-rows { display: flex; flex-direction: column; gap: 7px; }
.kmc-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-secondary); }
.kmc-val { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); font-weight: 500; }
.kmc-val.yellow { color: var(--yellow); }

.kpi-trend-mini {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.ktm-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.ktm-label { color: var(--text-muted); }
.ktm-val { font-family: var(--font-mono); font-weight: 600; }
.ktm-val.green { color: var(--green); }

.kpi-chart-col {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column;
}

.kpi-year-compare {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 12px; flex-shrink: 0;
}
.kyc-item { display: flex; align-items: center; gap: 12px; }
.kyc-year { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); width: 60px; flex-shrink: 0; }
.kyc-bar-wrap { flex: 1; height: 8px; background: var(--bg-elevated); border-radius: 4px; overflow: hidden; }
.kyc-bar { height: 100%; background: var(--bg-elevated); border-radius: 4px; background: rgba(96,165,250,0.4); transition: width 0.8s ease; }
.kyc-bar.highlight { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.kyc-bar.amber { background: linear-gradient(90deg, var(--gold), var(--yellow)); }
.kyc-val { font-family: var(--font-mono); font-size: 11px; color: var(--text-primary); width: 90px; text-align: right; }

/* ════════════════════════════════════════════════════════════
   SLIDE 5 — SALES KPI
════════════════════════════════════════════════════════════ */
.sales-layout { display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; }
.sales-top-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; flex-shrink: 0; }
.sales-big-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  position: relative; overflow: hidden;
}
.sales-big-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--teal));
}
.sales-big-card.amber::before { background: linear-gradient(90deg, var(--gold), var(--yellow)); }
.sbc-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.sbc-value { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); margin: 6px 0 4px; line-height: 1.1; }
.sbc-sub { font-size: 11px; color: var(--green); }
.sales-big-card.amber .sbc-sub { color: var(--gold); }

.sales-charts-row { display: grid; grid-template-columns: 1fr 280px; gap: 14px; flex: 1; min-height: 0; }
.sales-chart-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column;
}
.sales-chart-block.small { }

/* ════════════════════════════════════════════════════════════
   SLIDE 6 — RETAIL KPI
════════════════════════════════════════════════════════════ */
.retail-layout { display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; }
.retail-metrics-row { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; flex-shrink: 0; }
.rm-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.rm-icon { font-size: 1.2rem; }
.rm-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.rm-value { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.rm-growth { font-size: 11px; }
.rm-growth.green { color: var(--green); }

.retail-bottom { display: grid; grid-template-columns: 1fr 280px; gap: 14px; flex: 1; min-height: 0; }
.outlet-table-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column; overflow: hidden;
}
.outlet-table { flex: 1; overflow-y: auto; }
.outlet-table::-webkit-scrollbar { width: 4px; }
.outlet-table::-webkit-scrollbar-track { background: transparent; }
.outlet-table::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 2px; }
.ot-header, .ot-row {
  display: grid; grid-template-columns: 2fr 1.2fr 1fr 1fr 0.8fr;
  padding: 7px 10px; font-size: 11px;
}
.ot-header { background: var(--bg-elevated); color: var(--text-muted); font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; border-radius: var(--radius-sm); margin-bottom: 4px; }
.ot-row { border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.ot-row.top { color: var(--text-primary); background: rgba(232,184,75,0.04); }
.ot-row span:nth-child(3) { color: var(--gold); font-family: var(--font-mono); }
.ot-row span:nth-child(5) { color: var(--green); }

.retail-chart-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column;
}

/* ════════════════════════════════════════════════════════════
   SLIDE 7 — ONLINE KPI
════════════════════════════════════════════════════════════ */
.online-layout { display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; }
.online-top { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; flex-shrink: 0; }
.online-stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.online-stat-card.yellow { border-left: 3px solid var(--yellow); }
.online-stat-card.green { border-left: 3px solid var(--green); }
.osc-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.osc-value { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.osc-growth { font-size: 11px; color: var(--teal); }
.online-stat-card.yellow .osc-growth { color: var(--yellow); }
.online-stat-card.green .osc-growth { color: var(--green); }

.online-bottom { display: grid; grid-template-columns: 1fr 260px; gap: 14px; flex: 1; min-height: 0; }
.online-chart-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column;
}
.channel-mix-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 14px;
  display: flex; flex-direction: column;
}
.channel-legend { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.cl-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-secondary); }
.cl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   SLIDE 8 — CITY ANALYSIS
════════════════════════════════════════════════════════════ */
.city-layout { display: grid; grid-template-columns: 1fr 280px; gap: 16px; flex: 1; min-height: 0; }
.city-chart-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column;
}
.city-right { display: flex; flex-direction: column; gap: 10px; }
.city-cards { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.city-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
}
.city-card.top-city { border-color: rgba(232,184,75,0.3); background: rgba(232,184,75,0.04); }
.cc-rank { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); width: 24px; }
.city-card.top-city .cc-rank { color: var(--gold); }
.cc-info { flex: 1; }
.cc-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.cc-outlets { font-size: 10px; color: var(--text-muted); }
.cc-nums { text-align: right; }
.cc-revenue { font-size: 12px; font-weight: 700; color: var(--gold); font-family: var(--font-mono); }
.cc-growth { font-size: 11px; }
.cc-growth.green { color: var(--green); }

.city-insight {
  background: rgba(232,184,75,0.06); border: 1px solid rgba(232,184,75,0.2);
  border-radius: var(--radius-md); padding: 12px;
  display: flex; gap: 8px; font-size: 11px; color: var(--text-secondary); line-height: 1.5;
}
.ci-icon { font-size: 1rem; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   SLIDE 9 — Y2Y
════════════════════════════════════════════════════════════ */
.y2y-layout { display: grid; grid-template-columns: 1fr 320px; gap: 16px; flex: 1; min-height: 0; }
.y2y-chart-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column;
}
.y2y-table-block { display: flex; flex-direction: column; gap: 12px; }
.y2y-table {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; flex: 1;
}
.y2t-header, .y2t-row {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  padding: 8px 12px; font-size: 11px;
}
.y2t-header { background: var(--bg-elevated); color: var(--text-muted); font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.y2t-row { border-top: 1px solid var(--border); color: var(--text-secondary); }
.y2t-row span:first-child { color: var(--text-primary); }

.y2y-cagr-box {
  background: var(--gold-glow); border: 1px solid rgba(232,184,75,0.25);
  border-radius: var(--radius-md); padding: 14px;
}
.cagr-title { font-size: 10px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.cagr-items { display: flex; flex-direction: column; gap: 6px; }
.cagr-item { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-secondary); }
.cagr-val { font-family: var(--font-mono); font-weight: 700; color: var(--gold); }

/* ════════════════════════════════════════════════════════════
   SLIDE 10 — M2M
════════════════════════════════════════════════════════════ */
.m2m-layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; flex: 1; min-height: 0; }
.m2m-chart-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column;
}
.m2m-insights { display: flex; flex-direction: column; gap: 12px; }
.season-cards { display: flex; flex-direction: column; gap: 8px; }
.season-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 12px;
  display: flex; align-items: flex-start; gap: 10px;
}
.season-card.peak { border-left: 3px solid var(--red); }
.season-card.growth { border-left: 3px solid var(--green); }
.season-card.dip { border-left: 3px solid var(--yellow); }
.sc-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.sc-title { font-size: 11px; font-weight: 700; color: var(--text-primary); }
.sc-months { font-size: 10px; color: var(--text-muted); margin: 2px 0; }
.sc-detail { font-size: 10px; color: var(--text-secondary); line-height: 1.4; }

.m2m-table {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.m2t-header, .m2t-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 7px 12px; font-size: 11px;
}
.m2t-header { background: var(--bg-elevated); color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.m2t-row { border-top: 1px solid var(--border); color: var(--text-secondary); }
.m2t-row span:first-child { color: var(--text-primary); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   SLIDE 11 — FORECAST
════════════════════════════════════════════════════════════ */
.forecast-layout { display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; }
.forecast-hero-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; flex-shrink: 0; }
.fh-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  position: relative; overflow: hidden;
}
.fh-card.main {
  border-color: rgba(232,184,75,0.4);
  background: rgba(232,184,75,0.06);
}
.fh-card.main::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--yellow));
}
.fh-card.green { border-left: 3px solid var(--green); }
.fhc-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.fhc-value { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin: 6px 0 4px; line-height: 1.1; }
.fh-card.main .fhc-value { color: var(--gold); }
.fhc-sub { font-size: 11px; color: var(--text-secondary); }
.fh-card.main .fhc-sub { color: var(--green); }

.forecast-chart-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column; flex: 1; min-height: 0;
}

/* ════════════════════════════════════════════════════════════
   SLIDE 12 — SCORECARD + RECOMMENDATIONS
════════════════════════════════════════════════════════════ */
.reco-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; flex: 1; min-height: 0; }
.scorecard-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column; overflow: hidden;
}
.scorecard-table { flex: 1; overflow-y: auto; }
.scorecard-table::-webkit-scrollbar { width: 4px; }
.scorecard-table::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 2px; }
.sc-header, .sc-row {
  display: grid; grid-template-columns: 2fr 1.2fr 1fr 0.8fr 0.5fr;
  padding: 8px 10px; font-size: 11px; align-items: center;
}
.sc-header { background: var(--bg-elevated); color: var(--text-muted); font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; border-radius: var(--radius-sm); margin-bottom: 4px; }
.sc-row { border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.sc-row span:first-child { color: var(--text-primary); }
.sc-row span:nth-child(2) { font-family: var(--font-mono); font-size: 11px; color: var(--gold); }
.sc-row span:nth-child(4) { font-family: var(--font-mono); font-size: 11px; }
.status-dot { font-size: 14px; text-align: center; }
.green-dot { color: var(--green); }
.yellow-dot { color: var(--yellow); }

.reco-block {
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.reco-list { display: flex; flex-direction: column; gap: 8px; flex: 1; overflow-y: auto; }
.reco-list::-webkit-scrollbar { width: 4px; }
.reco-list::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 2px; }
.reco-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px;
}
.reco-item.high { border-left: 3px solid var(--red); }
.reco-item.medium { border-left: 3px solid var(--yellow); }
.reco-item.low { border-left: 3px solid var(--text-muted); }
.ri-priority {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  padding: 3px 6px; border-radius: 4px; flex-shrink: 0; margin-top: 2px;
  letter-spacing: 0.06em;
}
.reco-item.high .ri-priority { background: var(--red-dim); color: var(--red); }
.reco-item.medium .ri-priority { background: var(--yellow-dim); color: var(--yellow); }
.reco-item.low .ri-priority { background: var(--bg-elevated); color: var(--text-muted); }
.ri-title { font-size: 12px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.ri-detail { font-size: 11px; color: var(--text-secondary); line-height: 1.4; margin-bottom: 4px; }
.ri-impact { font-size: 10px; color: var(--green); font-family: var(--font-mono); }
.reco-item.medium .ri-impact { color: var(--yellow); }
.reco-item.low .ri-impact { color: var(--text-muted); }

/* ── SCROLLBAR GLOBAL ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 2px; }

/* ── KEYBOARD HINT ── */
.keyboard-hint {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; color: var(--text-muted);
  letter-spacing: 0.08em; pointer-events: none;
  opacity: 0; animation: fadeHint 4s ease 1s forwards;
}
@keyframes fadeHint {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}