/* shell-werkvormen.css — golf 13 stap 2 (12-6-2026): deel 5/7 van het voormalige shell.css
   (regels 4253-4770 in bronvolgorde; NIETS herschikt — cascade-volgorde is heilig).
   Inhoud: brown-paper-sessie, workshop-feature, breadcrumb stap 2, notatie-kiezer. Laden in dezelfde volgorde als hier genummerd. */
/* ============ BROWN PAPER SESSIE MODAL ============ */
.bp-modal-content { max-width: 780px; }
.bp-upload-area {
  margin-top: 14px;
  padding: 30px 20px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.bp-upload-area.drag-over { border-color: var(--primary); background: var(--primary-soft, rgba(var(--primary-rgb, 51, 0, 255), 0.04)); }
.bp-upload-btn {
  padding: 10px 22px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.bp-upload-btn:hover { background: var(--primary-dark, #2200cc); }
.bp-preview {
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0,0,0,0.02);
  text-align: center;
}
.bp-preview img { max-width: 100%; max-height: 260px; border-radius: 8px; object-fit: contain; }
.bp-preview-info { font-size: 12px; color: var(--text-light); margin-top: 8px; }

.bp-summary {
  margin: 8px 0 12px;
  padding: 10px 14px;
  background: var(--primary-soft, rgba(var(--primary-rgb, 51, 0, 255), 0.05));
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.bp-warn-banner {
  padding: 10px 14px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 8px;
  font-size: 13px;
  color: #9a3412;
  margin-bottom: 12px;
}
.bp-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.bp-postits-table {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px;
}
.bp-postit-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.bp-postit-row.low-conf { background: #fff7ed; border-color: #fdba74; }
.bp-color-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(0,0,0,0.1); }
.bp-text-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  background: rgba(0,0,0,0.02);
}
.bp-text-input:focus { outline: none; background: white; border-color: var(--primary); }
.bp-col-select, .bp-row-select {
  padding: 5px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  max-width: 140px;
}
.bp-low-badge {
  padding: 3px 8px;
  background: #fb923c;
  color: white;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.bp-ok-badge {
  padding: 3px 8px;
  background: rgba(34,197,94,0.15);
  color: #15803d;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}
.bp-del-btn {
  width: 24px; height: 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 12px;
  cursor: pointer;
  color: var(--text-light);
}
.bp-del-btn:hover { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }

.bp-standalone { display: flex; flex-direction: column; gap: 6px; padding: 4px; }
.bp-note {
  padding: 8px 12px;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
  font-size: 13px;
  display: flex; justify-content: space-between; gap: 10px;
}
.bp-note.low-conf { background: #fff7ed; border: 1px solid #fdba74; }
.bp-note-text { flex: 1; }

/* ============ WORKSHOP-FEATURE ============ */

/* Workshop-knoppen in procesmodel */
.pm-werkproces-actions { display: flex; gap: 6px; align-items: center; }

.pm-detail-sidecol { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; align-items: flex-end; }

/* Setup-modal */
.ws-modal-content { max-width: 780px; max-height: 88vh; overflow-y: auto; }
.ws-form fieldset {
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.ws-form legend {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ws-form .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 10px; }
.ws-form .form-field label { display: block; font-size: 12px; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
.ws-form .form-field input,
.ws-form .form-field select,
.ws-form .form-field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
}
.ws-form .form-field textarea { resize: vertical; min-height: 60px; }

/* Preview */
.ws-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 6px;
}
.ws-slide-thumb {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ws-slide-thumb:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-1px); transition: all 0.15s; }
.ws-thumb-header {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  color: white;
}
.ws-thumb-logo { max-height: 20px; max-width: 50px; background: white; padding: 2px; border-radius: 3px; }
.ws-thumb-nr { font-size: 10px; font-weight: 700; opacity: 0.8; }
.ws-thumb-body { padding: 10px; flex: 1; min-height: 140px; }
.ws-thumb-body h4 { margin: 0 0 6px; font-size: 12px; line-height: 1.3; }
.ws-thumb-body ul, .ws-thumb-body ol { margin: 0 0 6px 14px; padding: 0; font-size: 10px; line-height: 1.4; }
.ws-thumb-body li { margin-bottom: 2px; }
.ws-prompts { display: flex; flex-direction: column; gap: 3px; }
.ws-prompt { background: #f3f4f6; padding: 4px 6px; border-radius: 4px; font-size: 10px; }
.ws-agenda, .ws-action { width: 100%; font-size: 10px; border-collapse: collapse; }
.ws-agenda th, .ws-action th { background: var(--primary-soft); padding: 3px 5px; text-align: left; color: var(--primary); }
.ws-agenda td, .ws-action td { padding: 3px 5px; border-bottom: 1px solid #eee; }
.ws-thumb-kind {
  padding: 4px 8px;
  font-size: 9px;
  color: var(--text-light);
  background: #fafafa;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-top: 1px solid var(--border);
}
.ws-slide-cover .ws-cover {
  background: #0A1F44 !important;
  color: white;
  padding: 24px 14px;
  min-height: 140px;
  border-left: 4px solid var(--primary);
  position: relative;
}
.ws-cover-label { font-size: 9px; font-weight: 700; letter-spacing: 2px; margin-bottom: 10px; }
.ws-slide-cover .ws-cover h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; line-height: 1.25; }
.ws-slide-cover .ws-cover p { margin: 0; font-size: 11px; opacity: 0.8; }

/* Chapter-divider preview */
.ws-slide-chapter_divider .ws-divider {
  background: #0A1F44 !important;
  color: white;
  min-height: 140px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--primary);
}
.ws-divider-num { font-size: 56px; font-weight: 800; line-height: 1; opacity: 0.55; }
.ws-divider-info { flex: 1; }
.ws-divider-label { font-size: 8px; font-weight: 700; letter-spacing: 2px; margin-bottom: 4px; }
.ws-divider-info h3 { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: white; }
.ws-divider-info p { margin: 0; font-size: 10px; opacity: 0.75; line-height: 1.35; }

/* Pauze preview */
.ws-slide-break .ws-break {
  background: #fafafa;
  min-height: 140px;
  padding: 30px 14px;
  text-align: center;
}
.ws-slide-break .ws-break h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: 8px; color: #0A1F44; font-weight: 800; }
.ws-slide-break .ws-break p { margin: 0; font-size: 12px; color: #6B7280; }

/* Top-strip op content-slides */
.ws-thumb-topstrip { height: 3px; margin: -10px -10px 8px; }

/* Takeaway-regel */
.ws-takeaway {
  padding: 4px 8px;
  margin: 0 0 8px;
  font-size: 10px;
  font-style: italic;
  font-weight: 600;
  background: rgba(0,0,0,0.02);
}

/* Rules met icons */
.ws-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.ws-rule {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  padding: 5px 6px;
  background: #f4f5f7;
  border-radius: 4px;
  font-size: 10px;
}
.ws-rule-icon { font-size: 13px; line-height: 1; flex-shrink: 0; }
.ws-rule-text { line-height: 1.3; font-weight: 500; color: #0A1F44; }

/* Reflection 2-kolom */
.ws-reflection { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ws-reflection-col { border: 1px solid #e5e7eb; border-radius: 4px; overflow: hidden; }
.ws-reflection-head { color: white; padding: 3px 6px; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.ws-reflection-col:nth-child(2) .ws-reflection-head { background: #0A1F44 !important; }
.ws-reflection-col ul { margin: 4px 0 4px 14px !important; font-size: 9px !important; }

/* Action-list tabel — blauwe header */
.ws-action th { color: white !important; padding: 4px 6px !important; font-size: 10px; }

/* ============ BREADCRUMB STAP 2 "PROCES UITWERKEN" ============ */
.pm-uitwerken-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  padding: 10px 14px;
  background: var(--primary-soft);
  border: 1px solid rgba(var(--primary-rgb, 51, 0, 255), 0.14);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text);
}
.pm-uitwerken-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
}
.pm-uitwerken-breadcrumb a:hover { background: white; text-decoration: underline; }
.pm-uitwerken-breadcrumb .pm-ub-sep { color: rgba(0,0,0,0.3); }
.pm-uitwerken-breadcrumb .pm-ub-current { color: var(--text); font-weight: 600; }
.pm-uitwerken-breadcrumb .pm-ub-clear {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}
.pm-uitwerken-breadcrumb .pm-ub-clear:hover { background: rgba(0,0,0,0.06); color: var(--text); }

/* ============ NOTATIE-PICKER (Stap 2) ============ */
.notation-picker-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
}
.notation-picker-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.notation-picker-header strong { font-size: 13px; font-weight: 700; color: var(--text); }
.notation-picker-hint { font-size: 12px; color: var(--text-light); }
.notation-picker-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.notation-pick-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  background: var(--bg-sidebar);
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.15s;
}
.notation-pick-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.notation-pick-btn.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 0, 60, 113), 0.08);
}
.notation-pick-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.notation-pick-label { display: flex; flex-direction: column; gap: 3px; }
.notation-pick-label strong { font-size: 14px; font-weight: 700; color: var(--text); }
.notation-pick-label em { font-size: 12px; color: var(--text-light); font-style: normal; line-height: 1.4; }

/* Flowchart-placeholder (Stap 4 + 5 bij notation=flowchart) */
.notation-placeholder {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px dashed #fcd34d;
  border-radius: 14px;
  padding: 40px 30px;
  margin: 20px 0;
  text-align: center;
  max-width: 680px;
}
.notation-placeholder-icon { font-size: 42px; margin-bottom: 12px; }
.notation-placeholder h3 { margin: 0 0 12px; font-size: 18px; color: #78350f; }
.notation-placeholder p { margin: 0 0 12px; font-size: 13px; color: #78350f; line-height: 1.55; }
.notation-placeholder ul { margin: 0 0 18px 20px; font-size: 13px; color: #78350f; line-height: 1.6; }
.notation-placeholder-actions { margin-top: 8px; }

/* Inline notatie-picker (compact, voor in empty-states) */
.notation-picker-inline {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 6px auto 20px;
  max-width: 520px;
}
.notation-picker-inline .notation-pick-btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
}
.notation-picker-inline .notation-pick-icon { font-size: 18px; }
.notation-picker-inline .notation-pick-label strong { font-size: 13px; }
.notation-picker-inline .notation-pick-label em { font-size: 11px; }

/* Notatie-badges op werkvoorraad-kaarten */
.notation-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.6px;
  margin-left: 6px;
  vertical-align: middle;
}
.notation-badge.notation-bpmn { background: #e0e7ff; color: #3730a3; }
.notation-badge.notation-flowchart { background: #fef3c7; color: #92400e; }

/* ============================================================
 * EDITOR-THEMA'S — 4 smaken voor flowchart + BPMN editor
 * Gebruikt via <body data-editor-theme="clean|dark|colorful|handdrawn">
 * Elk thema definieert een set CSS-variabelen die onder in de flowchart/
 * BPMN-CSS gebruikt worden. Scope blijft ALLEEN de editor — de rest van
 * de app (wizard / procesmodel / workshop) erft het NIET.
 * ============================================================ */

/* CLEAN — default, licht, Figma/Linear-achtig */
body[data-editor-theme="clean"] {
  --editor-canvas-bg: #fafbfc;
  --editor-canvas-grid: #e5e7eb;
  --editor-panel-bg: #ffffff;
  --editor-panel-border: #e5e7eb;
  --editor-text: #0f172a;
  --editor-text-muted: #64748b;
  --editor-accent: #0ea5e9;
  /* Moderne soft drop-shadow (single-layer voor SVG filter-compat) */
  --editor-shape-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  --editor-shape-shadow-hover: 0 8px 20px rgba(15, 23, 42, 0.14);
  --editor-selection-color: #0ea5e9;
  --editor-selection-glow: 0 0 0 3px rgba(14, 165, 233, 0.2);
  --editor-edge-color: #475569;
  --editor-edge-width: 2;
  --editor-anim-duration: 180ms;
  --editor-anim-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --editor-font: 'Outfit', 'Inter', -apple-system, system-ui, sans-serif;
  --editor-shape-font: inherit;
  --editor-shape-radius: 10px;
}

/* DARK — deep navy canvas, neon accents, glow on selection */
body[data-editor-theme="dark"] {
  --editor-canvas-bg: #0a0f1e;
  --editor-canvas-grid: #1e293b;
  --editor-panel-bg: #111827;
  --editor-panel-border: #1f2937;
  --editor-text: #e2e8f0;
  --editor-text-muted: #94a3b8;
  --editor-accent: #38bdf8;
  --editor-shape-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  --editor-shape-shadow-hover: 0 0 18px rgba(56, 189, 248, 0.35);
  --editor-selection-color: #38bdf8;
  --editor-selection-glow: 0 0 0 3px rgba(56, 189, 248, 0.35), 0 0 20px rgba(56, 189, 248, 0.5);
  --editor-edge-color: #7dd3fc;
  --editor-edge-width: 2;
  --editor-anim-duration: 150ms;
  --editor-anim-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --editor-font: 'Outfit', 'Inter', system-ui, sans-serif;
  --editor-shape-font: inherit;
  --editor-shape-radius: 3px;
}

/* COLORFUL — Miro-achtig, pastels, expressief */
body[data-editor-theme="colorful"] {
  --editor-canvas-bg: #fdf4f9;
  --editor-canvas-grid: #fbcfe8;
  --editor-panel-bg: #ffffff;
  --editor-panel-border: #f5d0e0;
  --editor-text: #312e81;
  --editor-text-muted: #6b21a8;
  --editor-accent: #a855f7;
  --editor-shape-shadow: 0 6px 20px rgba(168, 85, 247, 0.2);
  --editor-shape-shadow-hover: 0 12px 28px rgba(168, 85, 247, 0.3);
  --editor-selection-color: #a855f7;
  --editor-selection-glow: 0 0 0 4px rgba(168, 85, 247, 0.3);
  --editor-edge-color: #7c3aed;
  --editor-edge-width: 2.5;
  --editor-anim-duration: 250ms;
  --editor-anim-easing: cubic-bezier(0.34, 1.56, 0.64, 1);  /* bounce */
  --editor-font: 'Outfit', 'Inter', system-ui, sans-serif;
  --editor-shape-font: inherit;
  --editor-shape-radius: 14px;
}

/* HANDDRAWN — Excalidraw-achtig, warme tinten, schetserig */
body[data-editor-theme="handdrawn"] {
  --editor-canvas-bg: #fdf6e3;
  --editor-canvas-grid: #e8d9ae;
  --editor-panel-bg: #faf3d9;
  --editor-panel-border: #d4b896;
  --editor-text: #3d2f1f;
  --editor-text-muted: #7a5a3f;
  --editor-accent: #c2703a;
  --editor-shape-shadow: 2px 3px 0 rgba(61, 47, 31, 0.15);
  --editor-shape-shadow-hover: 3px 5px 0 rgba(61, 47, 31, 0.22);
  --editor-selection-color: #c2703a;
  --editor-selection-glow: 0 0 0 3px rgba(194, 112, 58, 0.3);
  --editor-edge-color: #6b4423;
  --editor-edge-width: 2.5;
  --editor-anim-duration: 220ms;
  --editor-anim-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
  --editor-font: 'Caveat', 'Kalam', cursive;
  --editor-shape-font: 'Caveat', 'Kalam', cursive;
  --editor-shape-radius: 8px;
}

