:root {
  --pb-bg: #08121e;
  --pb-panel: #0e1d30;
  --pb-panel-2: #142840;
  --pb-line: rgba(181, 175, 245, 0.18);
  --pb-text: #f3f1eb;
  --pb-muted: #9eb0c4;
  --pb-accent: #b5aff5;
  --pb-accent-ink: #122a43;
  --pb-cyan: #22d3ee;
  --pb-ok: #34d399;
  --pb-warn: #fbbf24;
  --pb-err: #f43f5e;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0;
  height: 100%;
  background: var(--pb-bg);
  color: var(--pb-text);
  font: 13px/1.4 system-ui, -apple-system, 'Inter', sans-serif;
  overflow: hidden;
}
body { display: grid; grid-template-rows: 48px 3px 1fr; }

.pb-cmyk-strip { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; height: 3px; }

.pb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: var(--pb-panel);
  overflow-x: auto;
}
.pb-brand { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.pb-logo-arch { color: var(--pb-accent); flex-shrink: 0; }
.pb-pill {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(181, 175, 245, 0.16);
  color: var(--pb-accent);
  border: 1px solid rgba(181, 175, 245, 0.32);
}
.pb-controls, .pb-actions { display: flex; align-items: center; gap: 5px; white-space: nowrap; }

.pb-seg {
  display: inline-flex;
  background: var(--pb-bg);
  border: 1px solid var(--pb-line);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}
.pb-seg button {
  background: transparent;
  color: var(--pb-muted);
  border: 0;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
}
.pb-seg button.is-active {
  background: var(--pb-panel-2);
  color: var(--pb-accent);
  font-weight: 600;
}

select, input[type="search"], input[type="text"], textarea {
  background: var(--pb-bg);
  color: var(--pb-text);
  border: 1px solid var(--pb-line);
  border-radius: 7px;
  padding: 5px 7px;
  font-size: 11px;
  font-family: inherit;
}

.pb-btn {
  background: var(--pb-panel-2);
  color: var(--pb-text);
  border: 1px solid var(--pb-line);
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.pb-btn:hover { border-color: rgba(181, 175, 245, 0.6); }
.pb-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pb-btn.is-active {
  background: rgba(181, 175, 245, 0.22);
  border-color: var(--pb-accent);
  color: var(--pb-accent);
}
.pb-btn.primary {
  background: var(--pb-accent);
  color: var(--pb-accent-ink);
  border-color: var(--pb-accent);
  font-weight: 700;
}
.pb-btn.primary:hover { background: #c5c0f8; }
.pb-btn.danger {
  background: rgba(244, 63, 94, 0.16);
  border-color: rgba(244, 63, 94, 0.45);
  color: #fda4af;
}

/* 3-pane Playbook Shell */
.pb-shell {
  display: grid;
  grid-template-columns: 244px 1fr 356px;
  min-height: 0;
  height: 100%;
}
.pb-sidebar, .pb-inspector {
  background: var(--pb-panel);
  border-right: 1px solid var(--pb-line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pb-inspector { border-right: 0; border-left: 1px solid var(--pb-line); }

.pb-side-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--pb-line);
}
.pb-side-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--pb-muted);
  padding: 9px 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.pb-side-tabs button.is-active {
  color: var(--pb-accent);
  border-bottom-color: var(--pb-accent);
}

.pb-side-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.pb-side-head { display: grid; gap: 6px; }
.pb-side-section { display: grid; gap: 5px; }
.pb-side-section h4 {
  margin: 0 0 2px 2px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--pb-muted);
}

.pb-var-btn {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--pb-text);
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  cursor: pointer;
  display: grid;
  gap: 2px;
}
.pb-var-btn:hover { background: var(--pb-panel-2); border-color: rgba(181, 175, 245, 0.35); }
.pb-var-btn.is-active {
  background: rgba(181, 175, 245, 0.18);
  border-color: var(--pb-accent);
}
.pb-var-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.pb-var-btn strong { font-size: 11.5px; }
.pb-var-btn small { font-size: 10px; color: var(--pb-muted); }
.pb-var-num { font-family: ui-monospace, monospace; font-size: 10px; color: var(--pb-accent); margin-right: 4px; }
.pb-swatches { display: inline-flex; gap: 3px; }
.pb-swatches i { width: 10px; height: 10px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.28); display: inline-block; }

.pb-scene-list { display: grid; gap: 10px; align-content: start; }
.pb-scene-group h4 {
  margin: 0 0 4px 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pb-muted);
}
.pb-scene-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: var(--pb-text);
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 12px;
  cursor: pointer;
  display: block;
}
.pb-scene-btn:hover { background: var(--pb-panel-2); }
.pb-scene-btn.is-active {
  background: rgba(181, 175, 245, 0.16);
  border-color: rgba(181, 175, 245, 0.45);
  color: var(--pb-accent);
  font-weight: 600;
}

/* Stage */
.pb-stage-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #050c14;
}
.pb-stage-banner {
  padding: 6px 12px;
  background: rgba(251, 191, 36, 0.14);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pb-stage {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  min-height: 0;
  overflow: auto;
}
.pb-frame-card {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--pb-line);
  border-radius: 10px;
  overflow: hidden;
  background: #f6f2e9;
}
.pb-frame-head {
  padding: 5px 10px;
  background: var(--pb-panel);
  border-bottom: 1px solid var(--pb-line);
  font-size: 11px;
  color: var(--pb-muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.pb-frame-head b { color: var(--pb-text); }
.pb-frame-card iframe { flex: 1; width: 100%; border: 0; background: #f6f2e9; }

/* Right Inspector */
.pb-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--pb-line); }
.pb-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--pb-muted);
  padding: 9px 4px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}
.pb-tabs button.is-active {
  color: var(--pb-accent);
  border-bottom-color: var(--pb-accent);
  font-weight: 700;
}
.pb-badge {
  font-size: 9.5px;
  background: var(--pb-panel-2);
  padding: 1px 5px;
  border-radius: 999px;
  margin-left: 2px;
}
.pb-tab-panel {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: grid;
  gap: 9px;
  align-content: start;
}

.pb-card {
  background: var(--pb-panel-2);
  border: 1px solid var(--pb-line);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 7px;
}
.pb-card.is-resolved { opacity: 0.55; }
.pb-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
}
.pb-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(181, 175, 245, 0.2);
  color: var(--pb-accent);
}
.pb-tag.is-high { background: rgba(244, 63, 94, 0.22); color: #fda4af; }
.pb-tag.is-medium { background: rgba(251, 191, 36, 0.22); color: #fde68a; }
.pb-code { font-family: ui-monospace, monospace; font-size: 11px; color: #93c5fd; word-break: break-all; }
.pb-src {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 5px;
  border-radius: 4px;
  display: block;
  word-break: break-all;
}
.pb-row { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.pb-log {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  background: #060d16;
  padding: 8px;
  border-radius: 8px;
  max-height: 190px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--pb-line);
  margin: 0;
}

/* Quick Agent Prompt Chips */
.pb-quick-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.pb-quick-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--pb-line);
  color: var(--pb-muted);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 10px;
  cursor: pointer;
}
.pb-quick-chip:hover { color: var(--pb-text); border-color: var(--pb-accent); }

/* Media Upload Zone & Cards */
.pb-dropzone {
  border: 1.5px dashed rgba(181, 175, 245, 0.45);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  background: rgba(181, 175, 245, 0.06);
  display: grid;
  gap: 8px;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}
.pb-dropzone.is-drag {
  background: rgba(181, 175, 245, 0.18);
  border-color: var(--pb-accent);
}
.pb-dropzone strong { font-size: 12px; color: var(--pb-text); }
.pb-dropzone small { font-size: 10.5px; color: var(--pb-muted); }

.pb-progress {
  height: 6px;
  border-radius: 99px;
  background: var(--pb-bg);
  overflow: hidden;
}
.pb-progress > span {
  display: block;
  height: 100%;
  background: var(--pb-accent);
  width: 0%;
  transition: width 120ms ease;
}

.pb-media-card {
  background: var(--pb-panel-2);
  border: 1px solid var(--pb-line);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
}
.pb-media-thumb {
  position: relative;
  background: #060d16;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.pb-media-thumb img,
.pb-media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pb-media-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  background: rgba(8, 18, 30, 0.85);
  color: var(--pb-accent);
  border: 1px solid rgba(181, 175, 245, 0.35);
}
.pb-media-body { padding: 9px; display: grid; gap: 6px; }
.pb-media-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.pb-media-meta strong { font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-media-meta small { font-size: 10px; color: var(--pb-muted); white-space: nowrap; }
.pb-slot-pills { display: flex; flex-wrap: wrap; gap: 4px; }
.pb-slot-pill {
  font-size: 9.5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

/* Login Overlay */
.pb-login-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(circle at 22% 18%, rgba(181, 175, 245, 0.22), rgba(8, 18, 30, 0.97) 64%);
  backdrop-filter: blur(12px);
}
.pb-login-card {
  width: min(420px, 100%);
  background: #122a43;
  border: 1px solid rgba(181, 175, 245, 0.3);
  border-radius: 14px;
  padding: 28px;
  display: grid;
  gap: 13px;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.55);
}
.pb-login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #f6f2e9;
}
.pb-login-eyebrow {
  margin: 0;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #b5aff5;
  font-weight: 600;
}
.pb-login-card h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  color: #f6f2e9;
}
.pb-login-sub { margin: 0; font-size: 12.5px; line-height: 1.55; color: rgba(246, 242, 233, 0.78); }
.pb-login-card label { display: grid; gap: 5px; font-size: 12px; color: #f6f2e9; }
.pb-login-card input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(181, 175, 245, 0.35);
  background: #0b1b2c;
  color: #f6f2e9;
  font-size: 14px;
}
.pb-login-card input:focus { outline: 2px solid #b5aff5; outline-offset: 2px; }
.pb-login-err {
  margin: 0;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.5);
  color: #fecdd3;
  font-size: 12px;
}
.pb-login-btn { width: 100%; padding: 11px 14px; font-size: 13.5px; justify-content: center; }

.pb-toast {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #122a43;
  color: #f6f2e9;
  border: 1px solid rgba(181, 175, 245, 0.55);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 9999;
}
.pb-toast.visible { opacity: 1; }

@media (max-width: 1100px) {
  .pb-shell { grid-template-columns: 200px 1fr 310px; }
}
@media (max-width: 820px) {
  body { overflow: auto; grid-template-rows: auto 3px auto; }
  .pb-shell { grid-template-columns: 1fr; height: auto; }
  .pb-stage { min-height: 70vh; }
}


/* ==========================================================================
   Batch Checkbox + Icon Help (?) + Sidebar Footer + 10-sec Hands-On Sandbox
   + 4 Visuele Kaartjes + Compacte Quick-Reference Help Card
   ========================================================================== */

.pb-card.is-unchecked {
  opacity: 0.62;
  border-style: dashed;
}
.pb-pin-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.pb-pin-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--pb-accent);
  cursor: pointer;
}

.pb-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(181, 175, 245, 0.45);
  background: rgba(181, 175, 245, 0.14);
  color: var(--pb-accent);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 140ms ease, color 140ms ease, transform 120ms ease;
}
.pb-icon-btn:hover {
  background: var(--pb-accent);
  color: var(--pb-accent-ink);
  transform: translateY(-1px);
}

.pb-side-footer {
  padding: 8px 10px;
  border-top: 1px solid var(--pb-line);
  background: rgba(8, 18, 30, 0.45);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pb-side-footer .pb-btn {
  justify-content: center;
  padding: 6px;
  font-size: 11px;
}

/* Gedeelde Modal Overlay */
.pb-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: rgba(8, 18, 30, 0.72);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 18px;
}

/* 1. Intro Sandbox + 4 Visuele Kaartjes Modal */
.pb-guide-modal {
  width: min(720px, 100%);
  max-height: 90vh;
  background: #faf8f3;
  color: #122a43;
  border-radius: 14px;
  border: 1px solid rgba(18, 42, 67, 0.15);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.pb-guide-header {
  padding: 16px 20px 14px;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.pb-guide-header__left {
  display: flex;
  align-items: center;
  gap: 11px;
}
.pb-guide-header h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #122a43;
}
.pb-guide-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #53667a;
}
.pb-guide-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pb-guide-switch {
  display: inline-flex;
  background: #f1ede4;
  padding: 3px;
  border-radius: 8px;
  gap: 2px;
}
.pb-guide-switch button {
  border: 0;
  background: transparent;
  color: #51657a;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.pb-guide-switch button.is-active {
  background: #122a43;
  color: #f6f2e9;
}

.pb-guide-close,
.pb-ref-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(18, 42, 67, 0.14);
  background: #f2efe7;
  color: #122a43;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pb-guide-close:hover,
.pb-ref-close:hover {
  background: #e4def2;
}

.pb-guide-body {
  padding: 18px 20px;
  overflow-y: auto;
  display: grid;
  gap: 14px;
}

/* Hands-On Mini-Sandbox */
.pb-sb-prompt-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 9px;
  background: #e4def2;
  color: #122a43;
  font-size: 13px;
}
.pb-sb-prompt-bar.is-done {
  background: #dcfce7;
  color: #14532d;
}
.pb-sb-prompt-bar kbd {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid rgba(18, 42, 67, 0.22);
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
}
.pb-sb-fallback {
  background: transparent;
  border: 0;
  color: inherit;
  text-decoration: underline;
  font-size: 11.5px;
  cursor: pointer;
  opacity: 0.85;
}
.pb-sb-hint {
  padding: 8px 12px;
  border-radius: 8px;
  background: #fef3c7;
  color: #78350f;
  font-size: 12px;
}
.pb-sb-hint button {
  background: none;
  border: 0;
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.pb-sb-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
.pb-sb-stage.has-batch {
  grid-template-columns: 1.25fr 0.95fr;
}

.pb-sb-canvas {
  background: #122a43;
  color: #f6f2e9;
  border-radius: 11px;
  padding: 24px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 225px;
}
.pb-sb-kicker {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(246, 242, 233, 0.65);
}
.pb-sb-headline {
  font-weight: 800;
  font-size: 32px;
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-top: 8px;
}
.pb-sb-sub {
  margin: 8px 0 20px;
  font-size: 13px;
  color: rgba(246, 242, 233, 0.78);
}
.pb-sb-target-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}
.pb-sb-demo-btn {
  background: #b5aff5;
  color: #122a43;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.pb-sb-demo-btn.is-pulse {
  outline: 2px dashed rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}
.pb-sb-demo-btn.is-pinned {
  outline: 2.5px dashed #b5aff5;
  outline-offset: 4px;
}
.pb-sb-demo-btn.is-working {
  opacity: 0.6;
  transform: scale(0.98);
}

.pb-sb-popover {
  width: min(310px, 100%);
  background: #0b1928;
  color: #f6f2e9;
  border: 1px solid rgba(181, 175, 245, 0.6);
  border-radius: 10px;
  padding: 11px;
  display: grid;
  gap: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.pb-sb-popover__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #b5aff5;
}
.pb-sb-popover__head button {
  background: none;
  border: 0;
  color: #9eb0c4;
  cursor: pointer;
}
.pb-sb-popover input {
  width: 100%;
  background: #142840;
  color: #ffffff;
  border: 1px solid rgba(181, 175, 245, 0.35);
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 12.5px;
}
.pb-sb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pb-sb-chips button {
  background: rgba(181, 175, 245, 0.14);
  color: #e4def2;
  border: 1px solid rgba(181, 175, 245, 0.3);
  border-radius: 99px;
  padding: 4px 9px;
  font-size: 11px;
  cursor: pointer;
}
.pb-sb-chips button:hover {
  background: #b5aff5;
  color: #122a43;
}

.pb-sb-sidebar {
  background: #0e1d30;
  color: #f6f2e9;
  border-radius: 11px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(181, 175, 245, 0.35);
}
.pb-sb-sidebar__head {
  font-size: 12px;
  font-weight: 700;
  color: #b5aff5;
}
.pb-sb-batch-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  border-radius: 8px;
  background: #152d47;
  border: 1px solid rgba(181, 175, 245, 0.3);
  cursor: pointer;
}
.pb-sb-batch-item input {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: #b5aff5;
}
.pb-sb-batch-item strong {
  display: block;
  font-size: 12px;
}
.pb-sb-batch-item small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: #cbd5e1;
}
.pb-sb-running {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(181, 175, 245, 0.16);
  color: #e4def2;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.pb-sb-done-badge {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.pb-sb-reward-bar {
  background: #ffffff;
  border: 1px solid rgba(18, 42, 67, 0.14);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pb-sb-reward-bar strong {
  display: block;
  font-size: 13.5px;
  color: #122a43;
}
.pb-sb-reward-bar span {
  display: block;
  font-size: 12px;
  color: #4b5d70;
  margin-top: 2px;
}
.pb-sb-reward-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 4 Visuele Kaartjes (Optioneel: "Meer weten?") */
.pb-vc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pb-vc-card {
  background: #ffffff;
  border: 1px solid rgba(18, 42, 67, 0.12);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pb-mini-illus {
  display: block;
  width: 100%;
  height: auto;
}
.pb-vc-copy {
  padding: 12px 14px 14px;
}
.pb-vc-num {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  color: #5b52b8;
  letter-spacing: 0.08em;
}
.pb-vc-copy h3 {
  margin: 3px 0 5px;
  font-size: 13.5px;
  color: #122a43;
}
.pb-vc-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.48;
  color: #4b5d70;
}
.pb-vc-foot-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Modal Footer & Knoppen */
.pb-guide-footer {
  padding: 12px 20px;
  background: #ffffff;
  border-top: 1px solid rgba(18, 42, 67, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pb-guide-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #364b60;
  cursor: pointer;
  user-select: none;
}
.pb-guide-check input {
  width: 15px;
  height: 15px;
  accent-color: #122a43;
}
.pb-guide-footer__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pb-guide-btn {
  padding: 8px 13px;
  border-radius: 8px;
  border: 1px solid rgba(18, 42, 67, 0.2);
  background: #ffffff;
  color: #122a43;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.pb-guide-btn:hover { background: #f3efe6; }
.pb-guide-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pb-guide-btn--ghost { border-color: transparent; background: transparent; color: #4b5d70; }
.pb-guide-btn--primary { background: #122a43; color: #f6f2e9; border-color: #122a43; }
.pb-guide-btn--primary:hover { background: #1c3d60; }

/* 2. Compacte Quick-Reference Help & Sneltoetsen Card */
.pb-ref-modal {
  width: min(500px, 100%);
  max-height: 88vh;
  background: #faf9f5;
  color: #122a43;
  border-radius: 14px;
  border: 1px solid rgba(18, 42, 67, 0.14);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.pb-ref-header {
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(18, 42, 67, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
}
.pb-ref-header h2 {
  margin: 0;
  font-size: 18px;
  color: #122a43;
}
.pb-ref-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: #53667a;
}
.pb-ref-scroll {
  padding: 16px 20px 18px;
  overflow-y: auto;
  display: grid;
  gap: 14px;
}

.pb-ref-steps-mini {
  background: #ffffff;
  border: 1px solid rgba(18, 42, 67, 0.11);
  border-radius: 10px;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: #364b60;
}
.pb-ref-steps-mini > div {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 9px;
}
.pb-ref-steps-mini p {
  margin: 0;
  line-height: 1.5;
}
.pb-ref-steps-mini > div > span {
  width: 19px;
  height: 19px;
  border-radius: 99px;
  background: #e4def2;
  color: #122a43;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pb-ref-subhead {
  margin: 2px 0 -6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #53667a;
}
.pb-ref-shortcuts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.pb-ref-shortcuts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #24394e;
}
.pb-ref-keys {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.pb-ref-key-sep { font-size: 11px; color: #708294; }
.pb-ref-modal kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 23px;
  padding: 0 7px;
  border-radius: 6px;
  border: 1px solid rgba(18, 42, 67, 0.18);
  background: #ffffff;
  color: #122a43;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(18, 42, 67, 0.08);
}
.pb-ref-tiny-note {
  margin: 0;
  font-size: 11.5px;
  color: #627487;
}
.pb-ref-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(18, 42, 67, 0.1);
}

@media (max-width: 660px) {
  .pb-sb-stage.has-batch,
  .pb-vc-grid {
    grid-template-columns: 1fr;
  }
}
