/* ══════════════════════════════════════════════
   LeConte Training — Student Slideshow Base CSS
   Structural layout + all visual components.
   Accent colors come from lr-theme.css or ps-theme.css via --accent variables.
   To change the design for ALL student lessons, edit this file.
   ══════════════════════════════════════════════ */

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

html, body { height: 100%; overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
}

/* ── PROGRESS BAR (hidden — does not reflect trainee progress) ── */

#progress-bar { display: none !important; }

/* ── TOP BAR ── */

#top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 90;
}

#top-bar .series {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

#top-bar .lesson-title-short {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--accent);
}

#top-bar .controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slide-counter {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  min-width: 52px;
  text-align: center;
}

.view-all-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.view-all-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── SLIDE VIEWPORT ── */

#deck {
  position: fixed;
  top: 52px; bottom: 64px; left: 0; right: 0;
  overflow: hidden;
}

/* ── SLIDES ── */

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 48px;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  overflow-y: auto;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.slide.exit-left {
  opacity: 0;
  transform: translateX(-60px);
}

/* ── SLIDE CONTENT ── */

.slide-inner {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.component-block { display: contents; }
.component-block + .component-block { margin-top: 0; }

.slide-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
}

.slide-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5.5vw, 64px);
  letter-spacing: 2px;
  line-height: 1.05;
  text-align: center;
}

.slide-body {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #d0d0e8;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── VISUAL COMPONENTS ── */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.compare-box {
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.compare-box .cb-icon { font-size: 52px; margin-bottom: 12px; }

.compare-box .cb-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.compare-box .cb-desc  { font-size: 13px; opacity: 0.75; line-height: 1.5; }

.compare-vs {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--muted);
  text-align: center;
}

.box-wrong  { background: rgba(255,45,120,0.12);  border: 2px solid var(--pink); }

.box-right  { background: rgba(0,230,118,0.10);   border: 2px solid var(--green); }

.box-neutral { background: rgba(255,107,43,0.10); border: 2px solid var(--orange); }

.box-gold   { background: rgba(255,214,0,0.10);  border: 1px solid rgba(255,214,0,0.4); }

.analogy-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.analogy-item {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
}

.analogy-item .ai-icon { font-size: 52px; margin-bottom: 10px; }

.analogy-item .ai-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 6px;
}

.analogy-item .ai-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.analogy-item .ai-desc { font-size: 12px; opacity: 0.65; line-height: 1.5; }

.analogy-arrow { display: flex; align-items: center; font-size: 28px; color: var(--muted); padding: 0 4px; }

.file-anatomy {
  background: #0d0d18;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  width: 100%;
}

.fa-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.fa-row:last-child { border-bottom: none; }

.fa-icon { font-size: 18px; width: 24px; text-align: center; }

.fa-name { flex: 1; color: var(--blue); }

.fa-ext { color: var(--gold); font-weight: 700; }

.fa-desc { font-size: 12px; color: var(--muted); font-family: 'Inter', sans-serif; }

.folder-panel {
  background: #1c1c28;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.fp-header {
  background: #25253a;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.fp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: 'Courier New', monospace;
}

.fp-indent-1 { padding-left: 32px !important; }

.fp-indent-2 { padding-left: 48px !important; }

.fp-name { flex: 1; color: #c0c0d8; }

.fp-count { font-size: 11px; color: var(--muted); }

.fp-missing { color: var(--pink) !important; }

.path-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.path-box { border-radius: 12px; padding: 20px; }

.path-box .path-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.path-box .path-title { font-weight: 700; font-size: 15px; margin-bottom: 10px; }

.path-box .path-steps { display: flex; flex-direction: column; gap: 6px; }

.path-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
}

.path-bad { background: rgba(255,45,120,0.08); border: 1px solid rgba(255,45,120,0.3); }

.path-good { background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.3); }

.path-bad .path-label { color: var(--pink); }

.path-good .path-label { color: var(--green); }

.step-list { display: flex; flex-direction: column; gap: 10px; width: 100%; }

.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 14px 18px;
  border-left: 3px solid transparent;
}

.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.step-content .step-title { font-weight: 700; font-size: 14px; margin-bottom: 3px; }

.step-content .step-desc  { font-size: 13px; color: var(--muted); line-height: 1.5; }

.checklist { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 560px; margin: 0 auto; }

.check-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.check-item:hover { background: rgba(255,107,43,0.06); border-color: rgba(255,107,43,0.3); }

.check-item.checked { background: rgba(255,107,43,0.09); border-color: rgba(255,107,43,0.4); }

.check-box {
  width: 22px; height: 22px;
  border-radius: 5px;
  border: 2px solid rgba(255,107,43,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: background 0.15s;
}

.check-item.checked .check-box { background: var(--orange); border-color: var(--orange); color: #fff; }

.recap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.recap-card {
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
}

.recap-card .rc-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 8px;
}

.recap-card .rc-title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }

.recap-card .rc-desc  { font-size: 12px; opacity: 0.7; line-height: 1.5; }

.golden-rule {
  background: linear-gradient(135deg, rgba(255,45,120,0.06), rgba(255,107,43,0.06));
  border: 2px solid var(--pink);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  width: 100%;
}

.golden-rule .gr-icon { font-size: 52px; margin-bottom: 12px; }

.golden-rule .gr-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px,3vw,38px);
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.golden-rule .gr-rule { font-size: 17px; font-weight: 700; margin-bottom: 8px; }

.golden-rule .gr-sub { font-size: 14px; color: var(--muted); line-height: 1.6; }

.challenge-card {
  border-radius: 14px;
  padding: 28px 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,214,0,0.08), rgba(255,107,43,0.08));
  border: 2px solid var(--gold);
  width: 100%;
}

.challenge-card .ch-icon  { font-size: 52px; margin-bottom: 10px; }

.challenge-card .ch-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}

.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.ch-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #e0e0c0;
  background: rgba(255,214,0,0.06);
  padding: 9px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.teaser-card {
  border-radius: 14px;
  padding: 36px;
  text-align: center;
  background: linear-gradient(135deg, rgba(43,127,255,0.10), rgba(180,79,255,0.10));
  border: 1px solid rgba(43,127,255,0.4);
  width: 100%;
}

.teaser-card .t-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.teaser-card .t-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  background: linear-gradient(90deg, var(--accent), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.teaser-card .t-desc { font-size: 15px; color: var(--muted); max-width: 440px; margin: 0 auto; }

/* ── TAKEAWAY BAR ── */

.takeaway {
  margin-top: 4px;
  padding: 14px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  width: 100%;
}

.takeaway-key    { background: rgba(43,127,255,0.10);  border: 1px solid rgba(43,127,255,0.35);  color: #c0d8ff; }

.takeaway-warn   { background: rgba(255,45,120,0.10);  border: 1px solid rgba(255,45,120,0.35);  color: #ffc0d8; }

.takeaway-action { background: rgba(0,230,118,0.08);   border: 1px solid rgba(0,230,118,0.35);   color: #b0ffe0; }

.takeaway-gold   { background: rgba(255,214,0,0.08);   border: 1px solid rgba(255,214,0,0.35);   color: #fff0a0; }

.takeaway-icon   { font-size: 20px; flex-shrink: 0; }

/* ── BOTTOM NAV ── */

#bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 90;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.nav-btn:hover { background: #1e1e2e; border-color: var(--accent); }

.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.nav-btn:disabled:hover { background: var(--surface); border-color: var(--border); }

.nav-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }

.nav-btn.primary:hover { background: var(--accent-dark); }

.home-btn { font-size: 13px; padding: 10px 16px; opacity: 0.7; text-decoration: none; }
.home-btn:hover { opacity: 1; }

.dot-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.dot.active { background: var(--accent); transform: scale(1.4); }

.dot:hover  { background: var(--muted); }

/* ── VIEW ALL MODE ── */

body.view-all-mode {
  overflow: auto;
}

body.view-all-mode html,
body.view-all-mode body { height: auto; overflow: auto; }

body.view-all-mode #deck { position: static; height: auto; overflow: visible; }

body.view-all-mode .slide {
  position: static;
  opacity: 1;
  transform: none;
  pointer-events: all;
  min-height: 80vh;
  border-bottom: 1px solid var(--border);
  padding: 60px 48px;
}

body.view-all-mode .slide.exit-left { transform: none; opacity: 1; }

body.view-all-mode #bottom-nav { display: none; }

body.view-all-mode .view-all-btn { background: var(--accent-glow); color: var(--orange); border-color: var(--accent); }

/* ── RESPONSIVE ── */

@media (max-width: 680px) {
  .slide { padding: 20px 20px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-vs { transform: rotate(90deg); }
  .option-cards { grid-template-columns: 1fr 1fr; }
  .option-cards.two-up { grid-template-columns: 1fr; }
  .recap-grid { grid-template-columns: 1fr; }
  .zone-diagram {
    grid-template-areas: 'menu' 'options' 'tools' 'canvas' 'panels';
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  #top-bar .series { display: none; }
}

.box-orange { background: rgba(255,107,43,0.10); border: 1px solid rgba(255,107,43,0.4); }

.box-purple { background: rgba(180,79,255,0.10); border: 1px solid rgba(180,79,255,0.4); }

.option-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.option-cards-2col {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
  width: 100%;
}

.option-card {
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}

.option-card .oc-icon  { font-size: 38px; margin-bottom: 10px; }

.option-card .oc-name  {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.option-card .oc-desc  { font-size: 12px; opacity: 0.75; line-height: 1.5; }

.option-card .oc-tag { font-size: 11px; font-weight: 700; margin-top: 8px; letter-spacing: 1px; text-transform: uppercase; }

.callout {
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
}

.callout-danger  { background: rgba(255,45,120,0.10);  border: 1px solid rgba(255,45,120,0.4); }

.callout-success { background: rgba(0,230,118,0.08);   border: 1px solid rgba(0,230,118,0.4); }

.callout-info    { background: rgba(43,127,255,0.08);  border: 1px solid rgba(43,127,255,0.4); }

.callout-gold    { background: rgba(255,214,0,0.08);   border: 1px solid rgba(255,214,0,0.4); }

.callout-orange  { background: rgba(255,107,43,0.08);  border: 1px solid rgba(255,107,43,0.4); }

.callout-purple  { background: rgba(180,79,255,0.08);  border: 1px solid rgba(180,79,255,0.4); }

.callout-icon { font-size: 28px; flex-shrink: 0; line-height: 1; padding-top: 2px; }

.callout-body .callout-title  { font-weight: 700; font-size: 15px; margin-bottom: 5px; }

.callout-body .callout-desc   { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Folder panel */

.fp-indent-3 { padding-left: 64px !important; }

.fp-year { color: var(--blue); }

.fp-month { color: var(--green); }

.fp-event { color: var(--orange); }

/* Step list */

/* Option cards */

/* Checklist */

/* Recap grid */

/* Challenge card */

/* Teaser card */

/* Callout */

/* Takeaway bar */

/* 321 rule cards */

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.rule-card {
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
}

.rule-card .rule-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1;
  margin-bottom: 4px;
}

.rule-card .rule-label { font-weight: 700; font-size: 14px; margin-bottom: 6px; }

.rule-card .rule-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.keyboard-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.key-card {
  background: #1e1e2e;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  min-width: 90px;
}

.key-card .key-key {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 6px;
}

.key-card .key-label { font-size: 12px; color: var(--muted); font-weight: 600; }

.key-card .key-desc { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* module bar */

.module-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; }

.mod-pill { border-radius: 10px; padding: 12px 16px; text-align: center; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; }

.mod-pill .mod-key { font-family: 'Bebas Neue', sans-serif; font-size: 24px; line-height: 1; margin-bottom: 2px; }

.mod-highlight { border: 2px solid var(--green); background: rgba(0,230,118,0.1); color: var(--green); }

.mod-dim { border: 1px solid var(--border); background: rgba(255,255,255,0.03); color: var(--muted); }

/* zoom levels */

.zoom-row { display: flex; gap: 12px; flex-wrap: wrap; width: 100%; }

.zoom-card { flex: 1; min-width: 100px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; padding: 14px; text-align: center; }

.zoom-card .zm-level { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--blue); }

.zoom-card .zm-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* filmstrip visual */

.filmstrip-demo { background: #0a0a0f; border: 1px solid var(--border); border-radius: 10px; padding: 14px; display: flex; gap: 8px; align-items: center; overflow-x: auto; width: 100%; }

.film-placeholder { width: 68px; height: 52px; border-radius: 6px; background: #1e1e2e; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; }

.film-thumb-active { width: 68px; height: 52px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; border: 2px solid var(--green); background: #1a2a1a; }

.takeaway-purple { background: rgba(180,79,255,0.08); border: 1px solid rgba(180,79,255,0.35); color: #e8c0ff; }

/* ── COMPONENTS ── */

/* flag display */

.flag-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; width: 100%; }

.flag-card { flex: 1; min-width: 160px; border-radius: 14px; padding: 22px 18px; text-align: center; }

.flag-icon { font-size: 44px; margin-bottom: 10px; }

.flag-name { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; margin-bottom: 6px; }

.flag-key { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 3px 12px; font-family: 'Bebas Neue', sans-serif; font-size: 22px; margin-bottom: 8px; }

.flag-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* star rating */

.star-row { display: flex; flex-direction: column; gap: 7px; width: 100%; }

.star-item { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,0.03); border-radius: 10px; padding: 12px 18px; }

.star-key { font-family: 'Bebas Neue', sans-serif; font-size: 26px; width: 28px; text-align: center; flex-shrink: 0; }

.star-stars { font-size: 16px; min-width: 90px; }

.star-label { font-weight: 700; font-size: 13px; flex-shrink: 0; min-width: 110px; }

.star-desc { font-size: 12px; color: var(--muted); }

/* color label */

.color-label-row { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }

.cl-card { flex: 1; min-width: 120px; border-radius: 12px; padding: 18px 14px; text-align: center; }

.cl-key { font-family: 'Bebas Neue', sans-serif; font-size: 36px; line-height: 1; margin-bottom: 6px; }

.cl-swatch { width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 8px; }

.cl-name { font-weight: 700; font-size: 13px; margin-bottom: 4px; }

.cl-use { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* pass workflow */

.pass-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; width: 100%; }

.pass-item { padding: 18px 24px; display: flex; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--border); }

.pass-item:last-child { border-bottom: none; }

.pass-badge { font-family: 'Bebas Neue', sans-serif; font-size: 12px; letter-spacing: 2px; padding: 5px 12px; border-radius: 999px; flex-shrink: 0; align-self: flex-start; }

.pass-body .pass-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }

.pass-body .pass-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* filter bar visual */

.filter-bar { background: #0d0d14; border: 1px solid var(--border); border-radius: 10px; padding: 12px 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; width: 100%; }

.filter-tab {
  padding: 5px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: default;
}

.filter-tab.active   { background: var(--blue); color: #fff; }

.filter-tab.inactive { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border); }

.filter-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }

/* step list */

/* checklist */

/* two/three col */

/* recap grid */

/* keyboard shortcuts */

.keyboard-grid { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; }

/* golden rule / big callout */

/* callout blocks */

/* delete compare */

.delete-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }

.del-card { border-radius: 12px; padding: 20px; }

/* teaser */

.takeaway-orange { background: rgba(255,107,43,0.08);  border: 1px solid rgba(255,107,43,0.35);  color: #ffd0b0; }

.option-card .oc-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 10px;
}

.option-card .oc-bullets { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }

.option-card .oc-bullets li { font-size: 12px; color: var(--muted); padding-left: 16px; position: relative; }

.option-card .oc-bullets li::before { content: '▸'; position: absolute; left: 0; }

.pointer-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(43,127,255,0.05);
  border: 1px solid rgba(43,127,255,0.2);
  border-radius: 14px;
  padding: 28px;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.pointer-box {
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
}

.folder-tree {
  font-family: 'Inter', monospace;
  font-size: 13px;
  line-height: 1.9;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  width: 100%;
}

.folder-tree .tree-folder { color: var(--gold); font-weight: 700; }

.folder-tree .tree-indent { padding-left: 24px; }

.workflow-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  overflow-x: auto;
}

.workflow-step {
  flex: 1;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  min-width: 100px;
}

.workflow-arrow { font-size: 20px; color: var(--border); padding: 0 6px; flex-shrink: 0; }

.publish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.pub-card {
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--border);
}

.pub-card .pub-icon { font-size: 36px; margin-bottom: 10px; }

.pub-card .pub-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.pub-card .pub-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

.kbd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 10px 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
}

/* ── LESSON-SPECIFIC ── */

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.tag {
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
}

.tree-block {
  background: rgba(0,230,118,0.05);
  border: 1px solid rgba(0,230,118,0.25);
  border-radius: 12px;
  padding: 20px 22px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 2.1;
}

.tree-note {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(0,230,118,0.1);
  border-radius: 8px;
  font-size: 13px;
  color: var(--green);
  font-family: 'Inter', sans-serif;
}

.kw-set-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

.kw-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

.batch-flow { display: flex; flex-direction: column; gap: 9px; width: 100%; }

.batch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 13px 17px;
}

.batch-icon { font-size: 22px; flex-shrink: 0; width: 32px; text-align: center; }

.batch-text { font-size: 13px; line-height: 1.5; }

.batch-text strong { color: var(--gold); }

.search-bar-mock {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.search-bar-tabs { display: flex; border-bottom: 1px solid var(--border); }

.search-tab { padding: 9px 18px; font-size: 13px; font-weight: 600; }

.search-tab.active  { background: rgba(255,214,0,0.1); color: var(--gold); border-bottom: 2px solid var(--gold); }

.search-tab.inactive { color: var(--muted); }

.search-filters { display: grid; grid-template-columns: repeat(4,1fr); }

.search-col { padding: 14px; border-right: 1px solid var(--border); }

.search-col:last-child { border-right: none; }

.search-col-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.search-col-item { font-size: 13px; padding: 3px 0; color: var(--muted); }

.search-col-item.active { color: var(--gold); font-weight: 700; }

.search-col-item .count { color: var(--muted); font-size: 11px; margin-left: 4px; }

.kw-list-mock {
  background: rgba(43,127,255,0.04);
  border: 1px solid rgba(43,127,255,0.25);
  border-radius: 12px;
  padding: 18px 20px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

.kl-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 6px;
  border-radius: 4px;
}

.kl-row.kl-hl { background: rgba(43,127,255,0.12); }

.kl-count { color: var(--blue); font-weight: 700; font-size: 12px; }

.kl-muted { color: var(--muted); font-size: 11px; }

.strategy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.strategy-table th {
  padding: 9px 12px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.strategy-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: top;
  line-height: 1.5;
}

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

.do   { color: var(--green); font-weight: 700; }

.dont { color: var(--pink);  font-weight: 700; }

.callout-green   { background: rgba(0,230,118,0.08);   border: 1px solid rgba(0,230,118,0.4); }

.filter-bar-mock {
  background: #1c1c24;
  border: 1px solid #3a3a50;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  width: 100%;
}

.attr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 12px 16px;
}

.attr-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 56px;
}

.star         { color: var(--gold); font-size: 18px; }

.flag-pick    { color: var(--blue); font-weight: 700; font-size: 18px; }

.flag-reject  { color: var(--pink); font-weight: 700; font-size: 18px; }

.color-dot    { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }

.meta-col {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 12px 14px;
}

.meta-col-header {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}

.meta-val {
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.meta-val.selected {
  color: var(--blue);
  font-weight: 700;
  background: rgba(43,127,255,0.12);
  border-radius: 4px;
  padding: 4px 8px;
}

.smart-coll {
  background: linear-gradient(135deg, rgba(0,230,118,0.1), rgba(43,127,255,0.1));
  border: 1px solid rgba(0,230,118,0.4);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.sc-icon { font-size: 34px; }

.sc-name { font-weight: 700; font-size: 15px; color: var(--green); }

.sc-desc { font-size: 13px; color: var(--muted); }

/* Key display */

.big-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 14px 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  line-height: 1;
  color: #fff;
  min-width: 76px;
}

.key-label { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }

/* Panel layout diagram */

.panel-layout {
  display: grid;
  grid-template-columns: 165px 1fr 165px;
  gap: 8px;
  background: #0d0d14;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  min-height: 200px;
  width: 100%;
}

.panel-col { border-radius: 8px; padding: 12px; }

.panel-left  { background: rgba(255,107,43,0.06); border: 1px solid rgba(255,107,43,0.2); }

.panel-center { background: rgba(255,255,255,0.03); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }

.panel-right { background: rgba(43,127,255,0.06); border: 1px solid rgba(43,127,255,0.2); }

.panel-title { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }

.panel-item  { font-size: 12px; color: var(--muted); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }

.panel-item:last-child { border-bottom: none; }

/* Slider rows */

.slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.slider-name { font-size: 12px; color: var(--muted); width: 88px; flex-shrink: 0; }

.slider-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  position: relative;
}

.slider-fill { height: 100%; border-radius: 2px; position: absolute; top: 0; }

.slider-val   { font-size: 12px; font-weight: 700; width: 36px; text-align: right; flex-shrink: 0; }

/* Workflow chain */

.workflow-chain { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }

.wf-step { padding: 10px 12px; font-size: 12px; font-weight: 700; text-align: center; flex: 1; min-width: 76px; }

.wf-arrow { color: var(--muted); font-size: 18px; flex-shrink: 0; }

/* Before/after mock */

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
}

.ba-side { padding: 20px; text-align: center; }

.ba-before { background: rgba(255,255,255,0.04); }

.ba-after  { background: rgba(255,107,43,0.08); }

.ba-label  { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }

.ba-mock-img { border-radius: 6px; height: 90px; margin-bottom: 8px; }

/* History rows */

.history-row { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.03); border-radius: 6px; padding: 8px 12px; margin-bottom: 6px; font-size: 13px; }

.history-dot  { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.history-active { background: rgba(43,127,255,0.15); border: 1px solid rgba(43,127,255,0.4); }

/* ── HISTOGRAM COMPONENTS ── */

.hist-container {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  width: 100%;
}

.hist-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.hist-bar {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 88px;
  padding: 0 4px;
}

.hist-seg { border-radius: 3px 3px 0 0; flex: 1; }

.hist-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  padding: 0 4px;
}

.hist-label-row {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
  padding: 0 4px;
}

.zone-row {
  display: flex;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
  width: 100%;
}

.zone-seg {
  flex: 1;
  padding: 12px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.channel-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}

.ettr-bar {
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(90deg, #111, #333, #666, #aaa, #ddd, #fff);
  position: relative;
  margin: 10px 0;
}

.ettr-marker {
  position: absolute;
  top: -7px;
  width: 3px;
  height: 36px;
  border-radius: 2px;
}

.ettr-label {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  top: 30px;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* ── KELVIN BAR ── */

.kelvin-bar {
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(90deg, #4fc3f7 0%, #81d4fa 15%, #ffffff 35%, #fff9c4 55%, #ffcc80 75%, #ff8a65 90%, #bf360c 100%);
  margin-bottom: 10px;
  position: relative;
}

.kelvin-tick {
  position: absolute;
  top: 28px;
  font-size: 10px;
  color: var(--muted);
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
}

.kelvin-tick::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  width: 1px;
  height: 8px;
  background: var(--border);
}

/* ── WB SLIDER MOCK ── */

.wb-slider-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }

.wb-slider-label { font-size: 12px; color: var(--muted); width: 110px; flex-shrink: 0; }

.wb-slider-track { flex: 1; height: 6px; border-radius: 3px; position: relative; }

.wb-slider-thumb { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: #fff; }

.wb-slider-val { font-size: 12px; font-weight: 700; width: 50px; text-align: right; flex-shrink: 0; }

/* ── PRESET GRID ── */

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

.preset-chip {
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}

.preset-chip .pc-icon { font-size: 24px; margin-bottom: 6px; }

.preset-chip .pc-name { font-weight: 700; font-size: 13px; margin-bottom: 4px; }

.preset-chip .pc-k { font-size: 11px; opacity: 0.65; }

/* ── MOOD CARDS ── */

.mood-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.mood-card {
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
}

.mood-card .mc-icon { font-size: 44px; margin-bottom: 12px; }

.mood-card .mc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.mood-card .mc-desc { font-size: 13px; line-height: 1.6; opacity: 0.8; }

/* ── SLIDER PANEL ── */

.slider-panel {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  width: 100%;
}

.slider-panel-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.slider-thumb {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,0.6);
  transform: translate(-50%, -50%);
}

/* ── ORDER FLOW ── */

.order-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.order-badge {
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  flex: 1;
  min-width: 90px;
}

.order-arrow { font-size: 18px; color: var(--muted); flex-shrink: 0; }

/* ── CLIP DEMO BOXES ── */

.clip-demo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.clip-demo-screen {
  height: 110px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clip-demo-label {
  position: absolute;
  top: 8px; left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.clip-demo-caption {
  background: #0d0d14;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
}

/* HSL-specific visuals */

.hsl-strip {
  display: flex;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
}

.hsl-seg { flex: 1; }

.hsl-panel {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  width: 100%;
}

.hsl-panel-title { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

.tab-row { display: flex; gap: 4px; margin-bottom: 14px; }

.tab { padding: 5px 14px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 1px; background: rgba(255,255,255,0.05); color: var(--muted); }

.tab.active { background: rgba(180,79,255,0.2); color: var(--purple); border: 1px solid rgba(180,79,255,0.4); }

.box-blue   { background: rgba(43,127,255,0.10); border: 1px solid rgba(43,127,255,0.4); }

.box-green  { background: rgba(0,230,118,0.10);  border: 1px solid rgba(0,230,118,0.4); }

.box-pink { background: rgba(255,45,120,0.10); border: 1px solid rgba(255,45,120,0.4); }

/* ── CURVE VISUALS ── */

.curve-canvas {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  width: 100%;
}

.curve-svg { width: 100%; height: 180px; display: block; }

.curve-label-row { display: flex; justify-content: space-between; margin-top: 4px; padding: 0 4px; }

.curve-axis-label { font-size: 9px; color: rgba(255,255,255,0.3); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

.channel-row { display: flex; gap: 8px; width: 100%; }

.channel-pill { flex: 1; border-radius: 8px; padding: 12px 10px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 1px; }

.matte-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }

.matte-box { border-radius: 10px; padding: 18px; }

.matte-box .mb-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }

.matte-box .mb-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

.option-card .oc-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 8px;
}

/* ── PIXEL DEMO ── */

.pixel-grid-demo {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  border-radius: 8px;
  overflow: hidden;
  max-width: 280px;
  margin: 0 auto;
}

.pixel-cell { aspect-ratio: 1; border-radius: 2px; }

.option-cards.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.option-card .oc-key {
  display: inline-block;
  background: #1e1e2e;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.shortcut-key {
  display: inline-block;
  background: #1e1e2e;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

/* Zone diagram */

.zone-diagram {
  display: grid;
  grid-template-areas:
    'menu menu menu'
    'options options options'
    'tools canvas panels';
  grid-template-columns: 52px 1fr 160px;
  grid-template-rows: auto auto 220px;
  gap: 3px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
}

.zone-menu {
  grid-area: menu;
  background: rgba(43,127,255,0.15);
  border-bottom: 1px solid rgba(43,127,255,0.4);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.zone-options {
  grid-area: options;
  background: rgba(255,214,0,0.08);
  border-bottom: 1px solid rgba(255,214,0,0.3);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.zone-tools {
  grid-area: tools;
  background: rgba(255,107,43,0.10);
  border-right: 1px solid rgba(255,107,43,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  gap: 6px;
}

.zone-canvas {
  grid-area: canvas;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zone-panels {
  grid-area: panels;
  background: rgba(180,79,255,0.08);
  border-left: 1px solid rgba(180,79,255,0.3);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tool-dot {
  width: 26px; height: 26px;
  border-radius: 4px;
  background: rgba(255,107,43,0.2);
  border: 1px solid rgba(255,107,43,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.panel-strip {
  background: rgba(180,79,255,0.15);
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 10px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── COMPARE ── */

/* ── LAYER STACK ── */

.layer-stack { display: flex; flex-direction: column; gap: 6px; width: 100%; }

.layer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1e1e2e;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  transition: background 0.15s;
}

.layer-row:hover { background: #252538; }

.layer-thumb {
  width: 36px; height: 36px;
  border-radius: 4px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.layer-name { flex: 1; font-weight: 600; }

.layer-type { font-size: 11px; color: var(--muted); }

.layer-badge {
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
  letter-spacing: 1px; text-transform: uppercase;
}

.eye-icon { width: 20px; text-align: center; font-size: 15px; color: var(--muted); }

/* ── GLASS STACK ── */

.glass-stack { position: relative; height: 220px; margin: 0 auto; max-width: 480px; }

.glass-sheet {
  position: absolute; width: 100%;
  border-radius: 10px; padding: 14px 20px;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid;
}

/* ── STEP LIST ── */

/* ── CALLOUT ── */

/* ── KEY / SHORTCUT ── */

/* ── TWO / THREE COL ── */

/* ── BLEND ROWS ── */

.blend-row {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px; padding: 12px 18px;
  margin-bottom: 6px;
  border-left: 3px solid transparent;
}

.blend-swatch { width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0; border: 1px solid var(--border); }

.blend-name   { font-weight: 700; font-size: 14px; width: 110px; flex-shrink: 0; }

.blend-desc   { font-size: 12px; color: var(--muted); line-height: 1.4; flex: 1; }

/* ── RECAP GRID ── */

/* ── CHECKLIST ── */

/* ── TEASER CARD ── */

.option-cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
}

.hero-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(100px, 18vw, 180px);
  line-height: 1;
  text-align: center;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 4px;
  color: var(--muted);
  margin-top: -12px;
}

.option-cards.cols-2 { grid-template-columns: repeat(2,1fr); }

.option-cards.cols-3 { grid-template-columns: repeat(3,1fr); }

.modifier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 20px;
  border-radius: 12px;
  font-size: 13px;
}

/* ── COMPARE GRID ── */

/* ── OPTION CARDS ── */

/* ── MASK DIAGRAM ── */

.mask-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
}

.mask-cell { padding: 28px 16px; text-align: center; }

.mask-cell .mc-swatch { width: 56px; height: 56px; border-radius: 8px; margin: 0 auto 10px; border: 2px solid rgba(255,255,255,0.12); }

.mask-cell .mc-label { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; margin-bottom: 6px; }

.mask-cell .mc-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── CHALLENGE CARD ── */

.callout-pink   { background: rgba(255,45,120,0.08);  border: 1px solid rgba(255,45,120,0.4); }

/* ── CALLOUTS ── */

.callout-blue   { background: rgba(43,127,255,0.08);  border: 1px solid rgba(43,127,255,0.4); }

/* ── TWO / THREE COLS ── */

.four-col  { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; width: 100%; }

/* ── MINI CARD ── */

.mini-card {
  border-radius: 12px;
  padding: 18px 16px;
}

.kbd-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.kbd .kbd-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.7;
}

/* ── CARD GRIDS ── */

/* ── SLIDER ROWS ── */

.slider-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 10px 16px;
}

.slider-label { font-size: 12px; font-weight: 700; min-width: 110px; color: var(--muted); }

.slider-bar { flex: 1; height: 5px; border-radius: 3px; background: var(--border); position: relative; overflow: visible; }

.slider-value { font-size: 12px; font-weight: 700; min-width: 40px; text-align: right; }

.format-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  width: 100%;
}

.format-card { border-radius: 10px; padding: 18px 20px; }

.format-card .fc-ext {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.format-card .fc-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; }

.format-card .fc-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

.quality-bar { display: flex; flex-direction: column; gap: 9px; width: 100%; }

.qb-row { display: flex; align-items: center; gap: 14px; }

.qb-label { font-size: 13px; font-weight: 700; min-width: 48px; }

.qb-track { flex: 1; height: 10px; border-radius: 5px; background: var(--border); overflow: hidden; }

.qb-fill  { height: 100%; border-radius: 5px; }

.qb-note  { font-size: 12px; min-width: 200px; color: var(--muted); }

/* ── CONGRATS CARD ── */

.congrats-card {
  border-radius: 16px;
  padding: 40px 36px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,214,0,0.10), rgba(0,230,118,0.10), rgba(255,107,43,0.08));
  border: 2px solid var(--gold);
  width: 100%;
}

.congrats-card .cc-burst  { font-size: 64px; margin-bottom: 12px; line-height: 1; }

.congrats-card .cc-label  {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.congrats-card .cc-title  {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 4.5vw, 52px);
  background: linear-gradient(90deg, var(--gold), var(--green), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 14px;
}

.congrats-card .cc-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 20px;
  line-height: 1.75;
}

.lesson-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}

.lesson-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255,214,0,0.12);
  color: var(--gold);
  border: 1px solid rgba(255,214,0,0.35);
}
/* ── Video embed ── */
.video-embed-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  width: 100%;
}
.video-embed-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}
.video-segment-label {
  padding: 7px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange);
  background: rgba(255, 107, 43, 0.12);
  border-bottom: 1px solid rgba(255, 107, 43, 0.2);
}
.video-caption {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-2, #1e1e21);
  border-top: 1px solid var(--border);
}

/* ── TRAINING SHELL COMPILED CONTAINERS ─────────────────────────────────────
   Styles for containers generated by training-shell/compile.php
   Designed to match the visual style of hand-built LR/PS lessons.
   ─────────────────────────────────────────────────────────────────────────── */

/* ── callout-desc (inner body text within .callout-body) ── */
.callout-body .callout-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Text Block ── */
.text-block {
  width: 100%;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}
.text-block p {
  margin-bottom: 12px;
}
.text-block p:last-child {
  margin-bottom: 0;
}
.text-block strong {
  color: var(--accent, var(--orange));
  font-weight: 700;
}

/* ── Image Card ── */
.image-card {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.image-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.image-card-caption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* ── Film Strip ── */
.film-strip {
  display: flex;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}
.film-frame {
  flex: 1;
  min-width: 120px;
  max-width: 220px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.film-frame-img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.film-frame-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(255,255,255,0.04);
}
.film-frame-label {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ── Before / After Card ── */
.before-after-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.ba-pane {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--surface);
}
.ba-before { border-color: rgba(255,45,120,0.4); }
.ba-after  { border-color: rgba(0,230,118,0.4); }
.ba-label {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ba-before .ba-label { color: var(--pink, #ff2d78); background: rgba(255,45,120,0.1); }
.ba-after  .ba-label { color: var(--green, #00e676); background: rgba(0,230,118,0.08); }
.ba-img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.ba-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}
@media (max-width: 560px) {
  .before-after-card { grid-template-columns: 1fr; }
}

/* ── Keyboard Shortcut Card ── */
.shortcut-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.shortcut-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
}
.sc-keys {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.sc-keys kbd {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  background: #1e1e2e;
  border: 2px solid var(--border);
  border-bottom-width: 4px;
  border-radius: 6px;
  color: var(--accent, var(--blue));
  white-space: nowrap;
}
.key-sep {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  margin: 0 2px;
}
.sc-info { flex: 1; }
.sc-action {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 3px;
}
.sc-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}
.sc-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.platform-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── Quiz Block ── */
.quiz-block {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.quiz-question {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.5;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}
.quiz-option:hover:not(:disabled) {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.quiz-option.correct { background: rgba(0,230,118,0.12); border-color: var(--green, #00e676); color: var(--green, #00e676); }
.quiz-option.wrong   { background: rgba(255,45,120,0.10); border-color: var(--pink, #ff2d78); color: var(--pink, #ff2d78); }
.quiz-letter {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  width: 22px;
  flex-shrink: 0;
  opacity: 0.6;
}
.quiz-feedback {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.quiz-feedback.show { display: flex; }
.correct-fb { background: rgba(0,230,118,0.10); border: 1px solid rgba(0,230,118,0.35); }
.wrong-fb   { background: rgba(255,45,120,0.08); border: 1px solid rgba(255,45,120,0.3); }
.quiz-feedback-icon { font-size: 20px; flex-shrink: 0; }
.quiz-reset {
  display: none;
  padding: 7px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.quiz-reset.show { display: inline-block; }

/* ── Compare Extra Rows (secondary rows in compare-grid) ── */
.compare-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}
.compare-extra-row {
  display: contents;
}
.ce-a, .ce-b {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1.5;
}
.ce-a { background: rgba(255,45,120,0.08); color: var(--muted); }
.ce-b { background: rgba(0,230,118,0.07); color: var(--muted); }

/* ── COMPILED LESSON CONTAINERS (p- prefix — mirrors editor preview exactly) ──
   These are copied from training-shell/editor.php preview CSS so compiled
   lessons render identically to what you see in the shell editor.
   ─────────────────────────────────────────────────────────────────────────── */

/* Step List */
.p-step-list { list-style: none; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.p-step-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.p-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-muted, rgba(217,119,87,0.15)); border: 2px solid var(--accent, var(--orange)); color: var(--accent, var(--orange)); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-step-content { padding-top: 8px; }
.p-step-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.p-step-body { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* Compare Grid */
.p-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); width: 100%; }
.p-compare-header { padding: 10px 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.p-compare-header.a { background: rgba(255,45,120,0.12); color: var(--pink, #ff2d78); border-bottom: 2px solid var(--pink, #ff2d78); }
.p-compare-header.b { background: rgba(0,230,118,0.10); color: var(--green, #00e676); border-bottom: 2px solid var(--green, #00e676); }
.p-compare-row { display: contents; }
.p-compare-cell { background: var(--surface-2, #1e1e21); padding: 10px 14px; font-size: 13px; color: var(--text); border-top: 1px solid var(--border); }
.p-compare-cell.a { border-right: 1px solid var(--border); }

/* Option Cards */
.p-option-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; width: 100%; }
.p-option-card { background: var(--surface-2, #1e1e21); border: 2px solid var(--border); border-radius: 12px; padding: 18px 14px; text-align: center; }
.p-option-icon { font-size: 28px; margin-bottom: 10px; }
.p-option-label { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.p-option-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* Callout */
.p-callout { border-left: 4px solid var(--accent, var(--orange)); background: var(--accent-muted, rgba(217,119,87,0.12)); border-radius: 0 12px 12px 0; padding: 14px 18px; display: flex; gap: 14px; align-items: flex-start; width: 100%; }
.p-callout.tip     { border-left-color: var(--green, #00e676); background: rgba(0,230,118,0.08); }
.p-callout.warning { border-left-color: var(--yellow, #ffd60a); background: rgba(255,214,10,0.08); }
.p-callout.danger  { border-left-color: var(--pink, #ff2d78); background: rgba(255,45,120,0.08); }
.p-callout-icon { font-size: 22px; flex-shrink: 0; line-height: 1; padding-top: 2px; }
.p-callout-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.p-callout-body { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Keyboard Shortcut Card */
.p-key-card { background: var(--surface-2, #1e1e21); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; gap: 18px; margin-bottom: 8px; width: 100%; }
.p-key-combo { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.p-key-card kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; background: var(--surface, #141417); border: 1px solid var(--border); border-bottom: 3px solid var(--border); border-radius: 6px; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px; font-weight: 700; color: var(--accent, var(--orange)); }
.p-key-sep { color: var(--muted); font-size: 12px; font-weight: 700; }
.p-key-action { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.p-key-note { font-size: 12px; color: var(--muted); }

/* Recap Grid */
.p-recap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; width: 100%; }
.p-recap-card { background: var(--surface-2, #1e1e21); border: 1px solid var(--border); border-radius: 12px; padding: 16px 12px; text-align: center; }
.p-recap-num { font-size: 30px; font-weight: 700; color: var(--accent, var(--orange)); line-height: 1; margin-bottom: 6px; }
.p-recap-label { font-size: 12px; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.p-recap-sub { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* Before / After (Zoom Card) */
.p-zoom-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); width: 100%; }
.p-zoom-header { display: grid; grid-template-columns: 1fr 1fr; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; }
.p-zoom-label { padding: 6px 12px; text-align: center; }
.p-zoom-label.before { background: rgba(255,45,120,0.12); color: var(--pink, #ff2d78); }
.p-zoom-label.after  { background: rgba(0,230,118,0.10); color: var(--green, #00e676); }
.p-zoom-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.p-zoom-body img { width: 100%; display: block; }
.p-zoom-pane { background: var(--surface-2, #1e1e21); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); font-style: italic; }

/* Text Block */
.p-text-block { font-size: 14px; line-height: 1.75; color: var(--text); width: 100%; }
.p-text-block p + p { margin-top: 10px; }
.p-text-block strong { color: var(--accent, var(--orange)); font-weight: 600; }

/* Video */
.p-video-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #000; width: 100%; }
.p-video-wrap iframe { display: block; width: 100%; aspect-ratio: 16/9; border: none; }
.p-video-caption { padding: 8px 14px; font-size: 11px; color: var(--muted); background: var(--surface-2, #1e1e21); border-top: 1px solid var(--border); }
.p-video-segment-label { padding: 6px 14px; font-size: 11px; font-weight: 700; color: var(--accent, var(--orange)); background: var(--accent-muted, rgba(217,119,87,0.12)); border-bottom: 1px solid rgba(217,119,87,0.2); }

/* Image Card */
.p-image-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); width: 100%; }
.p-image-card img { width: 100%; display: block; }
.p-image-caption { padding: 8px 14px; font-size: 11px; color: var(--muted); background: var(--surface-2, #1e1e21); border-top: 1px solid var(--border); font-style: italic; }

/* Film Strip */
.p-film-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; width: 100%; }
.p-film-frame { flex-shrink: 0; width: 160px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2, #1e1e21); }
.p-film-frame img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.p-film-label { padding: 5px 8px; font-size: 10px; color: var(--muted); text-align: center; border-top: 1px solid var(--border); }

/* Quiz */
.p-quiz-question { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 14px; line-height: 1.5; }
.p-quiz-options { display: flex; flex-direction: column; gap: 8px; }
.p-quiz-option { display: flex; align-items: center; gap: 12px; background: var(--surface-2, #1e1e21); border: 2px solid var(--border); border-radius: 10px; padding: 11px 14px; font-size: 13px; color: var(--text); cursor: pointer; text-align: left; transition: border-color 0.15s; }
.p-quiz-option:hover:not(:disabled) { border-color: var(--accent, var(--orange)); }
.p-quiz-option.correct { border-color: var(--green, #00e676); background: rgba(0,230,118,0.08); color: var(--green, #00e676); }
.p-quiz-option.wrong   { border-color: var(--pink, #ff2d78); background: rgba(255,45,120,0.08); color: var(--pink, #ff2d78); }
.p-quiz-letter { width: 26px; height: 26px; border-radius: 50%; background: var(--surface, #141417); border: 1px solid var(--border); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--muted); }

@media (max-width: 560px) {
  .p-compare-grid { grid-template-columns: 1fr; }
  .p-zoom-body, .p-zoom-header { grid-template-columns: 1fr; }
  .p-option-cards { grid-template-columns: 1fr 1fr; }
}
