/* ════════════════════════════════════════════════════════════
   PresentTool™ — UI Redesign 2026 · Per-step mockup set
   Static visual mockup • SaaS 2026 design language
   Reuses the tokens & component primitives from /ui-redesign-2026.
   ──────────────────────────────────────────────────────────── */

:root {
  --pt-primary: #8B4513;
  --pt-secondary: #C8956C;

  --pt-text: #1A1A1A;
  --pt-text-muted: #6B6B6B;
  --pt-text-subtle: #9A9A95;

  --pt-surface-0: #FFFFFF;
  --pt-surface-1: #FAFAF8;
  --pt-surface-2: #F4F3F0;
  --pt-surface-3: #EEEDEA;

  --pt-accent-soft: rgba(139, 69, 19, 0.08);
  --pt-accent-mid:  rgba(139, 69, 19, 0.18);

  --pt-success: #2D7A4F;
  --pt-warning: #A0722A;
  --pt-destructive: #B03A2E;

  --pt-border: #E5E5E0;
  --pt-border-strong: #D9D8D2;

  --pt-serif: 'Source Serif 4', Georgia, serif;
  --pt-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --pt-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pt-shadow-card: 0 1px 2px rgba(20, 18, 14, 0.04),
                    0 8px 24px rgba(20, 18, 14, 0.06);
  --pt-shadow-mockup: 0 4px 16px rgba(20, 18, 14, 0.06),
                      0 32px 80px rgba(20, 18, 14, 0.10);
  --pt-shadow-modal: 0 8px 24px rgba(20, 18, 14, 0.10),
                     0 32px 80px rgba(20, 18, 14, 0.18);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--pt-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--pt-text);
  background: var(--pt-surface-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ── Page shell ───────────────────────────────────────────── */
.page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 80px 32px 160px;
}
.page-header {
  margin: 16px 0 64px;
  max-width: 760px;
}
.eyebrow {
  font-family: var(--pt-mono);
  font-size: 12px;
  color: var(--pt-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pt-primary);
}
.page-header h1 {
  font-family: var(--pt-serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--pt-text);
}
.page-header h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pt-primary);
}
.page-header p {
  font-size: 16px;
  color: var(--pt-text-muted);
  max-width: 620px;
  margin: 0;
  line-height: 1.55;
}

/* ── Section divider ──────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 80px 0 24px;
}
.section-divider .num {
  font-family: var(--pt-mono);
  font-size: 12px;
  color: var(--pt-text-muted);
}
.section-divider .label {
  font-family: var(--pt-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pt-text-muted);
}
.section-divider .rule {
  flex: 1;
  height: 1px;
  background: var(--pt-border);
  align-self: center;
}
.section-divider .desc {
  font-family: var(--pt-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--pt-text-muted);
}

/* ── Mockup row + annotations ─────────────────────────────── */
.mockup-row {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}
.annotation-col {
  width: 240px;
  flex: 0 0 240px;
  padding-top: 12px;
}
.annotation {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 240px;
  margin-bottom: 22px;
}
.annotation .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pt-primary);
  margin-top: 6px;
  flex: 0 0 auto;
}
.annotation .text {
  font-family: var(--pt-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--pt-text-muted);
  line-height: 1.5;
}
.annotation .text b {
  font-family: var(--pt-sans);
  font-style: normal;
  font-weight: 600;
  color: var(--pt-text);
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* ════════════════════════════════════════════════════════════
   PLUGIN FRAME (shared across all 7 mockups) — 720 × 780
   ──────────────────────────────────────────────────────────── */
.plugin-mockup {
  width: 720px;
  height: 780px;
  display: flex;
  flex-direction: column;
  background: var(--pt-surface-1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--pt-shadow-mockup);
  flex: 0 0 720px;
}

/* TOP BAR */
.plugin-topbar {
  height: 48px;
  background: var(--pt-surface-0);
  border-bottom: 1px solid var(--pt-border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  flex: 0 0 48px;
  overflow: hidden;
  min-width: 0;
}
.plugin-topbar .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--pt-text);
}
.plugin-topbar .brand .logo-dot {
  /* Brand mark — same footprint as the original 10 px dot + 3 px ring (=16 px),
     now carrying the actual PresentTool™ checkmark glyph. Layout untouched. */
  width: 16px; height: 16px;
  border-radius: 3px;
  background: url("_mark.png") no-repeat center / contain;
  flex: 0 0 auto;
}
.plugin-topbar .brand sup {
  font-size: 9px;
  color: var(--pt-text-muted);
  font-weight: 500;
  margin-left: -2px;
}
.plugin-topbar .sep {
  width: 1px; height: 18px;
  background: var(--pt-border);
  margin: 0 4px;
}
.plugin-topbar .sep--tight { margin: 0 2px; height: 16px; }
.plugin-topbar .project-pick {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--pt-text);
  padding: 5px 10px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  transition: background 0.15s ease;
}
.plugin-topbar .project-pick:hover { background: var(--pt-surface-2); }
.plugin-topbar .project-pick svg {
  width: 12px; height: 12px;
  color: var(--pt-text-muted);
}
.plugin-topbar .spacer { flex: 1; }

.plugin-topbar .project-pick {
  min-width: 0;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plugin-topbar .search-pill {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 130px;
}
.plugin-topbar .search-pill > span:not(.kbd) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plugin-topbar .credits {
  flex: 0 0 auto;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plugin-topbar .search-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--pt-text-muted);
  background: var(--pt-surface-2);
  border: 0;
  padding: 4px 6px 4px 10px;
  border-radius: 6px;
}
.plugin-topbar .search-pill svg { width: 12px; height: 12px; }
.plugin-topbar .search-pill .kbd {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  color: var(--pt-text-muted);
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 4px;
  padding: 1px 5px;
}
.plugin-topbar .credits {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--pt-mono);
  font-size: 12px;
  color: var(--pt-text);
  background: var(--pt-surface-2);
  padding: 4px 10px;
  border-radius: 6px;
}
.plugin-topbar .credits svg {
  width: 11px; height: 11px;
  color: var(--pt-primary);
}
.plugin-topbar .credits .unit { color: var(--pt-text-muted); }
.plugin-topbar .icon-btn {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--pt-text-muted);
  position: relative;
}
.plugin-topbar .icon-btn:hover { background: var(--pt-surface-2); color: var(--pt-text); }
.plugin-topbar .icon-btn svg { width: 15px; height: 15px; }
.plugin-topbar .icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pt-destructive);
  border: 1.5px solid var(--pt-surface-0);
}

/* BODY = sidebar + canvas */
.plugin-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

/* SIDEBAR — 6 steps */
.plugin-sidebar {
  width: 56px;
  background: var(--pt-surface-2);
  border-right: 1px solid var(--pt-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 4px;
  flex: 0 0 56px;
}
.plugin-step {
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 6px;
  border-radius: 8px;
  position: relative;
  color: var(--pt-text-muted);
  transition: background 0.15s ease;
}
.plugin-step:hover:not(.active) { background: var(--pt-surface-3); }
.plugin-step .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pt-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--pt-text-muted);
}
.plugin-step .ico {
  margin-top: 6px;
  width: 14px; height: 14px;
  opacity: 0.6;
}
.plugin-step.completed .num {
  background: var(--pt-surface-0);
  border-color: var(--pt-border);
  color: var(--pt-text);
}
.plugin-step.completed::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--pt-success);
}
.plugin-step.active .num {
  background: var(--pt-primary);
  color: var(--pt-surface-0);
  border-color: var(--pt-primary);
  box-shadow: 0 0 0 4px var(--pt-accent-soft);
}
.plugin-step.active .ico {
  color: var(--pt-primary);
  opacity: 1;
}
.plugin-sidebar .step-rule {
  width: 14px;
  height: 1px;
  background: var(--pt-border);
  margin: 6px 0;
}
/* Fase-marker tussen de stapgroepen — de 4 V's (Voorbereiden/Verbeelden/…).
   Duidelijke kleurpil met Romeins cijfer; kleur = fasekleur van de site. */
.plugin-sidebar .step-phase {
  min-width: 24px;
  height: 17px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pt-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 6px;
  margin: 10px 0 4px;
  cursor: default;
  user-select: none;
}
.plugin-sidebar .step-phase.is-first { margin-top: 0; }
/* Elke stap erft zijn fasekleur: het icoon kleurt mee zodat de 4 V's als
   vier gekleurde groepen leesbaar zijn. Actief/voltooid behouden hun nadruk. */
.plugin-step .ico { color: var(--pc); opacity: 0.55; }
.plugin-step.active .ico { color: var(--pt-primary); opacity: 1; }
.plugin-step.completed .num { border-color: var(--pc); }

/* CANVAS */
.plugin-canvas {
  flex: 1;
  background: var(--pt-surface-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;  /* ensures flex children (.canvas-body) can shrink and scroll */
}
.canvas-head {
  padding: 18px 22px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.canvas-head .title-row {
  display: flex; align-items: baseline; gap: 12px;
}
.canvas-head h2 {
  font-family: var(--pt-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--pt-text);
}
.canvas-head .step-meta {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-muted);
}
.canvas-head .head-spacer { flex: 1; }
.canvas-head .help-btn {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--pt-border);
  background: var(--pt-surface-0);
  color: var(--pt-text-muted);
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.canvas-head .anchor-pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pt-accent-soft);
  border: 1px solid var(--pt-accent-mid);
  color: var(--pt-primary);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
}
.canvas-head .anchor-pill .a-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pt-primary);
}
.canvas-head .anchor-pill .a-close {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.5;
}

/* Canvas body — scroll area */
.canvas-body {
  padding: 6px 22px 22px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;       /* required for flex children to shrink and scroll */
  display: flex;
  flex-direction: column;
  gap: 14px;
  touch-action: pan-y;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.canvas-body::-webkit-scrollbar { width: 6px; }
.canvas-body::-webkit-scrollbar-thumb { background: var(--pt-border-strong); border-radius: 3px; }
.canvas-body::-webkit-scrollbar-track { background: transparent; }

/* BOTTOM BAR */
.plugin-bottombar {
  height: 40px;
  background: var(--pt-surface-0);
  border-top: 1px solid var(--pt-border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  flex: 0 0 40px;
}
.bottom-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px;
  color: var(--pt-text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  background: transparent;
  border: 0;
}
.bottom-item:hover { background: var(--pt-surface-2); color: var(--pt-text); }
.bottom-item svg { width: 13px; height: 13px; }
.plugin-bottombar .center { flex: 1; display: flex; justify-content: center; }
.bottom-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pt-accent-soft);
  color: var(--pt-primary);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
}
.bottom-pill svg { width: 11px; height: 11px; }
.bottom-pill .ind {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--pt-primary);
}

/* ════════════════════════════════════════════════════════════
   COMPONENTS (used across all step canvases)
   ──────────────────────────────────────────────────────────── */

/* Section heading inside the canvas */
.canvas-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.canvas-section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
}
.canvas-section-head .heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pt-text-muted);
}
.canvas-section-head .meta {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-muted);
}

/* Wizard dots (briefing) */
.wizard-dots {
  display: inline-flex; gap: 6px; align-items: center;
}
.wizard-dots .d {
  width: 22px; height: 4px; border-radius: 2px;
  background: var(--pt-border-strong);
}
.wizard-dots .d.active { background: var(--pt-primary); }
.wizard-dots .d.done { background: var(--pt-success); }

/* Form fields */
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field .lbl {
  font-size: 12px; font-weight: 500;
  color: var(--pt-text-muted);
  letter-spacing: 0.01em;
}
.field .hint {
  font-size: 11px;
  color: var(--pt-text-subtle);
  font-family: var(--pt-serif);
  font-style: italic;
}
.input, .textarea, .select {
  font-family: var(--pt-sans);
  font-size: 13px;
  color: var(--pt-text);
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 7px;
  padding: 8px 12px;
  width: 100%;
  outline: 0;
}
.input.is-focus, .textarea.is-focus {
  border-color: var(--pt-primary);
  box-shadow: 0 0 0 3px var(--pt-accent-soft);
}
.textarea { min-height: 64px; resize: none; line-height: 1.5; }
.textarea--lg { min-height: 100px; }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 500;
  color: var(--pt-text-muted);
  background: var(--pt-surface-2);
  border: 1px solid var(--pt-border);
  padding: 4px 10px;
  border-radius: 999px;
}
.chip.is-selected {
  background: var(--pt-accent-soft);
  color: var(--pt-primary);
  border-color: var(--pt-accent-mid);
}
.chip .x { opacity: 0.6; }

/* Tiles (style / quality / light / variant / scene) */
.tile-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tile {
  position: relative;
  flex: 0 0 auto;
  min-width: 84px;
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 7px;
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tile:hover { border-color: var(--pt-border-strong); }
.tile.is-selected {
  border-color: var(--pt-primary);
  box-shadow: 0 0 0 2px var(--pt-accent-soft);
}
.tile.is-selected::after {
  content: '';
  position: absolute;
  top: 6px; right: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pt-primary);
}
.tile .t-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--pt-text);
}
.tile .t-sub {
  font-family: var(--pt-mono);
  font-size: 10px;
  color: var(--pt-text-muted);
}

/* Thumb-tile (with image background) */
.thumb-tile {
  width: 84px; height: 60px;
  border-radius: 6px;
  border: 1px solid var(--pt-border);
  background-size: cover;
  background-position: center;
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}
.thumb-tile.is-selected {
  border-color: var(--pt-primary);
  box-shadow: 0 0 0 2px var(--pt-accent-soft);
}
.thumb-tile.is-selected::after {
  content: '';
  position: absolute;
  top: 5px; right: 5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pt-primary);
}
.thumb-tile .t-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  font-size: 9px;
  font-family: var(--pt-mono);
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  padding: 8px 6px 3px;
  text-align: left;
}
.thumb-tile .t-badge {
  position: absolute;
  top: 4px; left: 4px;
  font-size: 9px;
  color: #FFD27A;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--pt-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--pt-primary);
  color: white;
  border-color: var(--pt-primary);
}
.btn-primary:hover { background: #7A3B10; }
.btn-primary .cost {
  font-family: var(--pt-mono);
  font-size: 11px;
  background: rgba(255,255,255,0.15);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 2px;
}
.btn-primary svg { width: 13px; height: 13px; }
.btn-outline {
  background: var(--pt-surface-0);
  color: var(--pt-text);
  border-color: var(--pt-border-strong);
}
.btn-outline:hover { background: var(--pt-surface-2); }
.btn-outline svg { width: 13px; height: 13px; color: var(--pt-text-muted); }
.btn-ghost {
  background: transparent;
  color: var(--pt-text-muted);
  border: 0;
  padding: 8px 10px;
}
.btn-ghost:hover { background: var(--pt-surface-2); color: var(--pt-text); }
.btn-danger {
  background: transparent;
  color: var(--pt-destructive);
  border-color: var(--pt-border);
}
.btn-sm { padding: 5px 10px; font-size: 12px; }
.action-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.action-bar .spacer { flex: 1; }

/* Cards (large action cards in viewer/story) */
.action-card {
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.action-card.is-primary {
  background: var(--pt-accent-soft);
  border-color: var(--pt-accent-mid);
}
.action-card .ac-eyebrow {
  font-family: var(--pt-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pt-text-muted);
}
.action-card h3 {
  font-family: var(--pt-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  margin: 0;
  color: var(--pt-text);
  letter-spacing: -0.01em;
}
.action-card p {
  font-size: 12.5px;
  color: var(--pt-text-muted);
  margin: 0;
  line-height: 1.5;
}
.action-card .ac-cost {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-muted);
}

/* Stage (image preview) */
.stage {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pt-surface-3);
  border: 1px solid var(--pt-border);
}
.stage img { width: 100%; height: auto; display: block; }
.stage .overlay {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20, 18, 14, 0.55);
  color: white;
  font-family: var(--pt-mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 5px;
  backdrop-filter: blur(8px);
}
.stage .overlay .live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #6FE5A4;
}
.stage .zoom-tag {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(20, 18, 14, 0.55);
  color: white;
  font-family: var(--pt-mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

/* Split (before / after) */
.split-stage {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pt-surface-3);
  border: 1px solid var(--pt-border);
}
.split-stage .before, .split-stage .after {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-stage .split-mask {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 50%);
}
.split-stage .split-handle {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: rgba(255,255,255,0.8);
  pointer-events: none;
}
.split-stage .split-handle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.split-stage .label {
  position: absolute;
  top: 10px;
  background: rgba(20,18,14,0.55);
  color: white;
  font-family: var(--pt-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
}
.split-stage .label.left  { left: 10px; }
.split-stage .label.right { right: 10px; }

/* Recent strip */
.recent-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

/* Run-status loader */
.run-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--pt-accent-soft);
  border: 1px solid var(--pt-accent-mid);
  border-radius: 8px;
  font-size: 13px;
  color: var(--pt-primary);
}
.run-status .spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--pt-accent-mid);
  border-top-color: var(--pt-primary);
  border-radius: 50%;
}
.run-status .label { flex: 1; }
.run-status .elapsed {
  font-family: var(--pt-mono);
  font-size: 11px;
}

/* Status pills */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--pt-sans);
}
.status-pill .ind { width: 5px; height: 5px; border-radius: 50%; }
.status-pill.success { background: rgba(45,122,79,0.10); color: var(--pt-success); }
.status-pill.success .ind { background: var(--pt-success); }
.status-pill.running { background: var(--pt-accent-soft); color: var(--pt-primary); }
.status-pill.running .ind { background: var(--pt-primary); }
.status-pill.warning { background: rgba(160,114,42,0.10); color: var(--pt-warning); }
.status-pill.warning .ind { background: var(--pt-warning); }
.status-pill.failed  { background: rgba(176,58,46,0.08); color: var(--pt-destructive); }
.status-pill.failed .ind { background: var(--pt-destructive); }

/* Toggle */
.toggle {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--pt-text);
}
.toggle .track {
  width: 28px; height: 16px;
  background: var(--pt-border-strong);
  border-radius: 999px;
  position: relative;
  transition: background 0.15s ease;
}
.toggle .track::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  background: white;
  border-radius: 50%;
  transition: left 0.15s ease;
}
.toggle.is-on .track { background: var(--pt-primary); }
.toggle.is-on .track::after { left: 14px; }

/* Inline link */
.text-link {
  font-size: 12.5px;
  color: var(--pt-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.text-link svg { width: 11px; height: 11px; }

/* Scene/clip rows */
.scene-row {
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.scene-row .scene-thumb {
  width: 84px; height: 60px;
  flex: 0 0 84px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--pt-border);
}
.scene-row .scene-body { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.scene-row .scene-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px;
  font-weight: 600;
}
.scene-row .scene-head .order {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-muted);
  font-weight: 500;
  margin-right: 6px;
}
.scene-row .scene-meta {
  font-size: 11px;
  color: var(--pt-text-muted);
  font-family: var(--pt-mono);
}
.scene-row .scene-actions {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 0 0 auto;
}
.scene-row .scene-actions .icon-btn {
  width: 22px; height: 22px;
  border-radius: 5px;
  border: 0;
  background: transparent;
  color: var(--pt-text-muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.scene-row .scene-actions .icon-btn:hover { background: var(--pt-surface-2); color: var(--pt-text); }
.scene-row .scene-actions svg { width: 12px; height: 12px; }

/* Side-panel (Library / Archive / 3D) */
.side-panel {
  width: 460px;
  height: 780px;
  background: var(--pt-surface-0);
  border-left: 1px solid var(--pt-border);
  display: flex;
  flex-direction: column;
  box-shadow: var(--pt-shadow-modal);
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 460px;
}
.side-panel-head {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--pt-border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.side-panel-head h2 {
  font-family: var(--pt-serif);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  margin: 0;
  color: var(--pt-text);
  letter-spacing: -0.01em;
}
.side-panel-head .head-spacer { flex: 1; }
.side-panel-head .close-btn {
  width: 24px; height: 24px;
  border-radius: 5px;
  border: 0;
  background: transparent;
  color: var(--pt-text-muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.side-panel-head .close-btn:hover { background: var(--pt-surface-2); }
.side-panel-tabs {
  display: flex;
  gap: 0;
  padding: 0 20px;
  border-bottom: 1px solid var(--pt-border);
  background: var(--pt-surface-1);
}
.side-panel-tabs .tab {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--pt-text-muted);
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.side-panel-tabs .tab.is-active {
  color: var(--pt-text);
  border-bottom-color: var(--pt-primary);
}
.side-panel-body {
  padding: 16px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  touch-action: pan-y;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Library catalog grid */
.lib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lib-card {
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lib-card .thumb {
  height: 80px;
  background: var(--pt-surface-2);
  background-size: cover;
  background-position: center;
}
.lib-card .info {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lib-card .info .name {
  font-size: 12px;
  font-weight: 500;
  color: var(--pt-text);
}
.lib-card .info .meta {
  font-family: var(--pt-mono);
  font-size: 10px;
  color: var(--pt-text-muted);
}
.lib-card .source-pill {
  position: absolute;
  top: 6px; left: 6px;
  font-family: var(--pt-mono);
  font-size: 9px;
  background: rgba(255,255,255,0.92);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--pt-text);
}

/* Archive row */
.archive-row {
  display: grid;
  grid-template-columns: 18px 36px 1fr 80px 80px 26px;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--pt-border);
  font-size: 13px;
}
.archive-row:last-child { border-bottom: 0; }
.archive-row.header {
  background: var(--pt-surface-1);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--pt-text-muted);
  padding: 8px 14px;
}
.archive-row .thumb {
  width: 36px; height: 28px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  background-color: var(--pt-surface-2);
}
.archive-row .name { font-weight: 500; }
.archive-row .name small {
  display: block;
  font-family: var(--pt-mono);
  font-size: 10px;
  color: var(--pt-text-muted);
  font-weight: 400;
}
.archive-row .step-tag {
  font-family: var(--pt-mono);
  font-size: 10px;
  background: var(--pt-surface-2);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--pt-text-muted);
  width: max-content;
}
.archive-row .time {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-muted);
}

/* Drop zone */
.drop-zone {
  border: 1.5px dashed var(--pt-border-strong);
  border-radius: 10px;
  padding: 28px 16px;
  text-align: center;
  background: var(--pt-surface-1);
  color: var(--pt-text-muted);
}
.drop-zone .ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--pt-surface-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--pt-text-muted);
  margin-bottom: 8px;
}
.drop-zone .ico svg { width: 16px; height: 16px; }
.drop-zone .title {
  font-size: 13px;
  font-weight: 500;
  color: var(--pt-text);
  margin-bottom: 4px;
}
.drop-zone .hint {
  font-size: 11.5px;
  color: var(--pt-text-muted);
}

/* Material chips group */
.material-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.material-group .lbl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.material-group .lbl .name {
  font-size: 12px;
  font-weight: 500;
  color: var(--pt-text-muted);
}
.material-group .lbl .max {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-subtle);
}

/* Validation card */
.validation-card {
  background: rgba(45,122,79,0.06);
  border: 1px solid rgba(45,122,79,0.18);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--pt-text);
}
.validation-card.is-warning {
  background: rgba(160,114,42,0.08);
  border-color: rgba(160,114,42,0.25);
}
.validation-card.is-error {
  background: rgba(176,58,46,0.06);
  border-color: rgba(176,58,46,0.20);
}
.validation-card .v-ico {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.validation-card.is-warning .v-ico { color: var(--pt-warning); }
.validation-card.is-error .v-ico { color: var(--pt-destructive); }
.validation-card:not(.is-warning):not(.is-error) .v-ico { color: var(--pt-success); }
.validation-card .v-body { display: flex; flex-direction: column; gap: 4px; }
.validation-card .v-body .title { font-weight: 600; font-size: 12.5px; }
.validation-card .v-body .desc { color: var(--pt-text-muted); }

/* Published / link card */
.link-card {
  background: var(--pt-accent-soft);
  border: 1px solid var(--pt-accent-mid);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex; gap: 10px; align-items: center;
}
.link-card .url {
  flex: 1;
  font-family: var(--pt-mono);
  font-size: 11.5px;
  color: var(--pt-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-card .copy {
  font-family: var(--pt-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--pt-primary);
  background: transparent;
  border: 0;
}

/* Footer */
.page-footer {
  margin-top: 120px;
  padding-top: 32px;
  border-top: 1px solid var(--pt-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-muted);
}
.page-footer .brand-line {
  display: inline-flex; align-items: center; gap: 8px;
}
.page-footer .brand-line .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pt-primary);
}

/* Gallery index (mockups/index.html) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.gallery a.card {
  display: block;
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 12px;
  padding: 20px 22px;
  text-decoration: none;
  color: var(--pt-text);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.gallery a.card:hover {
  box-shadow: var(--pt-shadow-card);
  transform: translateY(-2px);
}
.gallery a.card .num {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-muted);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
}
.gallery a.card .title {
  font-family: var(--pt-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.gallery a.card .desc {
  font-size: 13px;
  color: var(--pt-text-muted);
}

/* ════════════════════════════════════════════════════════════
   Login overlay (screen 09)
   Locked plugin chrome + centered 380 px sign-in card
   ──────────────────────────────────────────────────────────── */

/* Activates positioning context for the lock + card layer.
   Only applied when the .has-login modifier is set so it cannot
   leak into the other mockups. */
.plugin-mockup.has-login { position: relative; }

.plugin-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 5;
  pointer-events: none;
}

.login-card {
  width: 380px;
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 14px;
  box-shadow: var(--pt-shadow-modal);
  padding: 32px 28px 24px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pt-text);
}
.login-card__brand .logo-dot {
  /* Brand mark — same total footprint as the 9 px dot + 3 px ring (=15 px),
     filled with the actual PresentTool™ checkmark glyph. */
  width: 15px; height: 15px;
  border-radius: 3px;
  background: url("_mark.png") no-repeat center / contain;
  flex: 0 0 auto;
}
.login-card__brand .login-card__host {
  /* Host-qualifier — Mono-muted, same baseline as the wordmark, so the
     entire brand-line stays on one row. Layout footprint grows by ~60 px
     to the right only; vertical rhythm unchanged. */
  font-family: var(--pt-mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--pt-text-muted);
  letter-spacing: 0;
  margin-left: 2px;
}
.login-card__brand sup {
  font-size: 9px;
  color: var(--pt-text-muted);
  font-weight: 500;
  margin-left: -2px;
}

.login-card__eyebrow {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-muted);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: -4px;
}

.login-card__badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--pt-sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pt-primary);
  background: var(--pt-accent-soft);
  border: 1px solid var(--pt-accent-mid);
  padding: 2px 6px;
  border-radius: 4px;
}

.login-card__title {
  font-family: var(--pt-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0;
  color: var(--pt-text);
}
.login-card__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--pt-primary);
}

.login-card__sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--pt-text-muted);
  margin: -4px 0 0;
  max-width: 320px;
}

.login-card__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-card__form .field-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.login-card__form .field-row .help {
  font-size: 11.5px;
  color: var(--pt-primary);
  text-decoration: none;
  font-weight: 500;
}

/* Full-width primary CTA inside the card */
.login-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  font-size: 14px;
}

.login-card__divider {
  height: 1px;
  background: var(--pt-border);
}

.login-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--pt-text-muted);
  margin-top: 4px;
}
.login-card__footer a {
  color: var(--pt-primary);
  text-decoration: none;
  font-weight: 500;
}

.login-card__error {
  display: none;
  padding: 10px 12px;
  background: rgba(176, 58, 46, 0.06);
  border: 1px solid rgba(176, 58, 46, 0.20);
  border-radius: 7px;
  font-size: 12px;
  color: var(--pt-destructive);
}
.login-card__error.is-visible { display: block; }

.login-card__reassure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--pt-border);
}
.login-card__reassure .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: var(--pt-mono);
  font-size: 10.5px;
  color: var(--pt-text-subtle);
  text-align: center;
  line-height: 1.3;
}
.login-card__reassure .item svg {
  width: 13px; height: 13px;
  color: var(--pt-text-muted);
}

/* ════════════════════════════════════════════════════════════
   Home / dashboard (screen 10 — 10-home.html)
   Plugin homepage shown immediately after login. The "rust-
   staat" — no step opened yet, just a calm greeting + work-in-
   progress + projects + quick-start.
   ──────────────────────────────────────────────────────────── */

.pt-home {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 6px;
  flex: 1;
  min-height: min(100%, 100%);
}

/* — Greeting — */
.pt-home-greeting {
  font-family: var(--pt-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--pt-text);
  margin: 0;
}
.pt-home-greeting em {
  font-style: italic;
  font-weight: 500;
  color: var(--pt-primary);
}
.pt-home-sub {
  font-size: 13px;
  color: var(--pt-text-muted);
  margin: 8px 0 0;
  max-width: 60ch;
  line-height: 1.55;
}

/* Light section heading for home (italic serif, not the
   uppercase canvas-section-head label) */
.pt-home-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pt-home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.pt-home-section-head .heading {
  font-family: var(--pt-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--pt-text);
  letter-spacing: -0.005em;
}
.pt-home-section-head .meta {
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text-muted);
}

/* — Continue-row (verder waar je was) — */
.pt-home-continue {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--pt-accent-soft);
  border: 1px solid var(--pt-accent-mid);
  border-radius: 10px;
}
.pt-home-continue__thumb {
  width: 60px; height: 60px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex: 0 0 60px;
  border: 1px solid var(--pt-accent-mid);
}
.pt-home-continue__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pt-home-continue__eyebrow {
  font-family: var(--pt-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pt-primary);
}
.pt-home-continue__title {
  font-family: var(--pt-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  color: var(--pt-text);
  letter-spacing: -0.01em;
}
.pt-home-continue__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--pt-text-muted);
}
.pt-home-continue__progress {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: 4px;
}
.pt-home-continue__progress .d {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--pt-border-strong);
}
.pt-home-continue__progress .d.done {
  background: var(--pt-primary);
}

/* — Warm project grid (2×2) — */
.pt-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pt-home-card {
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.pt-home-card:hover {
  transform: translateY(-2px);
  border-color: var(--pt-border-strong);
  box-shadow: var(--pt-shadow-card);
}
.pt-home-card.is-lifted {
  transform: translateY(-2px);
  box-shadow: var(--pt-shadow-card);
  border-color: var(--pt-border-strong);
}
.pt-home-card__thumb {
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--pt-border);
}
.pt-home-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pt-home-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pt-home-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--pt-text);
  letter-spacing: -0.005em;
}
.pt-home-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--pt-text-muted);
}
.pt-home-card__step {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  color: var(--pt-primary);
  background: var(--pt-accent-soft);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.pt-home-card__sep { color: var(--pt-text-subtle); }

/* — Quick-start row (3 action-cards) — */
.action-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.action-cards-row .action-card {
  padding: 14px 14px 16px;
  gap: 5px;
}
.action-cards-row .action-card .ac-ico {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--pt-surface-2);
  border: 1px solid var(--pt-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pt-text-muted);
  margin-bottom: 6px;
}
.action-cards-row .action-card .ac-ico svg { width: 14px; height: 14px; }
.action-cards-row .action-card.is-primary .ac-ico {
  background: var(--pt-primary);
  border-color: var(--pt-primary);
  color: white;
}
.action-cards-row .action-card h3 { font-size: 15px; }
.action-cards-row .action-card p { font-size: 12px; line-height: 1.45; }

/* — De 4 V's: fase-overzicht op Home (Voorbereiden → Verbeelden → Vertellen → Verkopen) — */
.pt-phases {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.pt-phase {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 12px 13px;
  background: var(--pt-surface-2);
  border: 1px solid var(--pt-border);
  border-top: 2px solid var(--pc, var(--pt-border));
  border-radius: 10px;
}
.pt-phase__head {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pt-phase__num {
  flex: 0 0 auto;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 5px;
  background: var(--pt-accent-soft);
  color: var(--pt-primary);
  font-family: var(--pt-mono);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pt-phase__name {
  font-family: var(--pt-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  color: var(--pt-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pt-phase__desc {
  font-size: 11px;
  color: var(--pt-text-muted);
  line-height: 1.4;
}
.pt-phase__chips {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 2px;
}
.pt-phase__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px 8px;
  border-radius: 7px;
  border: 1px solid var(--pt-border);
  background: var(--pt-surface-0);
  color: var(--pt-text);
  font-family: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pt-phase__chip:hover {
  border-color: var(--pt-accent-mid);
  background: var(--pt-accent-soft);
  color: var(--pt-primary);
}
.pt-phase__chip svg { flex: 0 0 auto; opacity: 0.7; }
.pt-phase__chip span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pt-phase__chip.is-done::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--pt-success);
  margin-left: auto;
  flex: 0 0 auto;
}
.pt-phase__arrow {
  display: flex;
  align-items: center;
  align-self: center;
  flex: 0 0 auto;
  color: var(--pt-text-subtle);
}
.pt-phase__arrow svg { width: 12px; height: 12px; }

/* — Inspiration strip — */
.pt-home-inspo {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.pt-home-inspo .thumb-tile {
  width: 110px;
  height: 74px;
}

/* — Credits-bar (calm, not red) — */
.pt-home-credits {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--pt-surface-0);
  border: 1px solid var(--pt-border);
  border-radius: 8px;
  margin-top: auto;
}
.pt-home-credits__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--pt-mono);
  font-size: 11px;
  color: var(--pt-text);
  flex: 0 0 auto;
  white-space: nowrap;
}
.pt-home-credits__label svg {
  width: 11px; height: 11px;
  color: var(--pt-primary);
}
.pt-home-credits__bar {
  flex: 1;
  min-width: 60px;
  height: 5px;
  background: var(--pt-surface-3);
  border-radius: 999px;
  overflow: hidden;
}
.pt-home-credits__fill {
  height: 100%;
  background: var(--pt-primary);
  border-radius: 999px;
}
.pt-home-credits__meta {
  font-family: var(--pt-mono);
  font-size: 10.5px;
  color: var(--pt-text-muted);
  white-space: nowrap;
}
.pt-home-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--pt-primary);
  background: var(--pt-accent-soft);
  border: 1px solid var(--pt-accent-mid);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.pt-home-lock-pill svg {
  width: 10px; height: 10px;
}

/* Minimal canvas-head for home (greeting lives in body) */
.canvas-head.is-empty {
  padding: 14px 22px 0;
  min-height: 0;
}
