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


:root {
  color-scheme: light;
  /* UMC Utrecht huisstijl */
  --tint: #1191FA;          /* UMC Utrecht Blauw — primair */
  --tint-rgb: 17,145,250;
  --umcu-blue: #1191FA;      /* UMC Utrecht Blauw */
  --wkz-orange: #FC6039;     /* WKZ Oranje — accent */
  --corp-blue: #1961AB;      /* Corporate blauw (print/logo) */
  --corp-blue-plus: #004285; /* Corporate blauw+ */
  --light-blue: #C2E4FF;     /* secundair vormvlak */
  --light-green: #D6E6D6;    /* secundair vormvlak */
  --page-grey: #E6E4E0;      /* achtergrondkleur pagina's */

  --label: #1d1d1f;
  --label-2: rgba(60,60,67,0.74);
  --label-3: rgba(60,60,67,0.46);
  --hairline: rgba(0,0,0,0.10);
  --fill: rgba(17,145,250,0.06);
  --fill-2: rgba(17,145,250,0.10);

  --window: #ffffff;
  --glass: #ffffff;
  --glass-strong: #ffffff;
  --glass-edge: rgba(0,0,0,0.08);
  --glass-inner: none;
  --lift: none;
  --thumb: #ffffff;

  --green: #00C877;   /* functioneel groen */
  --orange: #FC6039;  /* WKZ oranje */
  --red: #ff3b30;
  --blue: #1191FA;    /* UMC Utrecht blauw */

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", sans-serif;
  --spring: cubic-bezier(0.34, 1.36, 0.5, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


html, body { height: 100%; }

body {
  font-family: var(--font);
  color: var(--label);
  background: var(--page-grey);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  font-feature-settings: "cv11", "ss01";
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ==================== WINDOW ==================== */
.window {
  position: fixed;
  inset: 18px;
  z-index: 1;
  display: flex;
  border-radius: 20px;
  background: var(--window);
  border: 1px solid var(--glass-edge);
  box-shadow: none;
  overflow: hidden;
  animation: windowIn 0.9s var(--spring) both;
}
@keyframes windowIn { from { opacity: 0; transform: scale(0.98) translateY(10px); } to { opacity: 1; transform: none; } }

/* ==================== SIDEBAR ==================== */
.sidebar {
  width: 272px;
  flex-shrink: 0;
  margin: 10px;
  border-radius: 14px;
  background: var(--page-grey);
  border: 1px solid var(--glass-edge);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  padding: 16px 12px 14px;
  position: relative;
  z-index: 2;
}

.traffic { display: flex; gap: 8px; padding: 2px 6px 20px; }
.traffic span { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.18); }
.traffic span:nth-child(1) { background: #ff5f57; }
.traffic span:nth-child(2) { background: #febc2e; }
.traffic span:nth-child(3) { background: #28c840; }

.brand { padding: 0 8px 18px; display: flex; align-items: center; min-height: 44px; }
.brand img { height: 32px; width: auto; display: block; }
.brand-fallback { display: none; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--corp-blue); }
.brand-fallback small { display: block; font-weight: 500; font-size: 11px; color: var(--label-3); letter-spacing: 0; }

.side-section { font-size: 11px; font-weight: 600; color: var(--label-3); padding: 6px 10px 6px; letter-spacing: 0.01em; }

.side-list { display: flex; flex-direction: column; gap: 2px; }

.side-item {
  display: flex; align-items: center; gap: 11px;
  width: 100%;
  padding: 8px 10px;
  border: none; background: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: var(--label);
  transition: background 0.25s var(--ease), transform 0.3s var(--spring);
}
.side-item:hover { background: var(--fill); }
.side-item:active { transform: scale(0.97); }
.side-item.active { background: rgba(var(--tint-rgb), 0.13); }

.side-dot {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--c);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.02em;
}
.side-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.side-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-sub { font-size: 11px; color: var(--label-3); }
.side-count { font-size: 12px; font-weight: 600; color: var(--label-3); font-variant-numeric: tabular-nums; }
.side-item.active .side-count { color: var(--tint); }

.side-spacer { flex: 1; }

.side-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--fill);
  font-size: 12px;
  color: var(--label-2);
  line-height: 1.5;
}
.side-status strong { color: var(--label); font-weight: 600; }
.status-line { display: flex; align-items: center; gap: 8px; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.4); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.side-hint { margin-top: 8px; font-size: 11px; color: var(--label-3); }
kbd { font-family: inherit; font-size: 10.5px; padding: 1px 5px; border-radius: 5px; background: var(--fill-2); color: var(--label-2); }

/* ==================== MAIN ==================== */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 28px 14px 18px;
  flex-wrap: wrap;
}
.tb-title { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.tb-sub { font-size: 13px; color: var(--label-2); margin-top: 3px; transition: opacity 0.3s; }
.tb-sub b { color: var(--tint); font-weight: 600; transition: color 0.6s; }
.tb-right { display: flex; align-items: center; gap: 10px; }

.glass-ctl {
  background: #ffffff;
  border: 1px solid var(--glass-edge);
  box-shadow: none;
  border-radius: 999px;
}

.seg { position: relative; display: inline-flex; padding: 3px; }
.seg-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: 0;
  border-radius: 999px;
  background: var(--thumb);
  box-shadow: 0 1px 3px rgba(0,0,0,0.10), 0 4px 14px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: left 0.55s var(--spring), width 0.55s var(--spring);
}
.seg-btn {
  position: relative; z-index: 1;
  border: none; background: none;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--label-2);
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s;
  white-space: nowrap;
}
.seg-btn:hover { color: var(--label); }
.seg-btn.active { color: var(--label); }
.seg.small .seg-btn { font-size: 12.5px; padding: 6px 14px; }

.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: var(--label-2); }
.live-pill .pulse { width: 7px; height: 7px; }

.content {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 8px 28px 40px 18px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14px);
  scrollbar-width: thin;
}
.content.swap .tab-content.active { animation: swapIn 0.55s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px) scale(0.995); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ==================== PANELS ==================== */
.panel {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--glass-edge);
  border-radius: 16px;
  box-shadow: none;
}

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 4px 12px; }
.section-title { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; display: flex; align-items: center; gap: 8px; }
.section-title .ic { width: 18px; height: 18px; color: var(--tint); }
.section-desc { font-size: 13px; color: var(--label-2); margin: -6px 4px 14px; max-width: 640px; line-height: 1.5; }

.ic { width: 16px; height: 16px; flex-shrink: 0; }

/* ==================== STATS ==================== */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat {
  padding: 16px 18px 14px;
  overflow: hidden;
  min-height: 132px;
  animation: tileIn 0.7s var(--spring) both;
  transition: transform 0.4s var(--spring);
}
.stat:hover { transform: translateY(-2px); }
.stat:nth-child(2) { animation-delay: 60ms; }
.stat:nth-child(3) { animation-delay: 120ms; }
.stat:nth-child(4) { animation-delay: 180ms; }
@keyframes tileIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }

.stat-top { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.stat-ic {
  width: 28px; height: 28px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: var(--c);
}
.stat-ic .ic { width: 15px; height: 15px; }
.stat-label { font-size: 12.5px; font-weight: 600; color: var(--label-2); }
.stat-value { font-size: 32px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.stat-value.small { font-size: 16px; letter-spacing: -0.01em; line-height: 1.3; font-weight: 700; }
.stat-change { display: inline-flex; margin-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--label-3); position: relative; z-index: 1; }
.stat-change.up { color: var(--green); }
.stat-change.down { color: var(--red); }
.spark { display: block; width: 100%; height: 34px; margin-top: 12px; opacity: 0.95; overflow: visible; }
.spark { animation: reveal 1.4s var(--ease) 0.25s both; }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==================== BAR CHART ==================== */
.chart-panel { padding: 20px 22px 22px; margin-top: 14px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.chart-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.chart-title .ic { color: var(--tint); }
.chart-sub { font-size: 12px; color: var(--label-3); font-weight: 500; }

.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 14px; }
.bar-label { font-size: 13px; font-weight: 500; color: var(--label-2); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 26px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.bar-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: var(--c);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 10px; min-width: 38px;
  font-size: 12px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums;
  transition: width 1.1s var(--spring);
  transition-delay: var(--d, 0ms);
}
.bar-fill.empty { background: var(--fill-2); box-shadow: none; color: var(--label-3); }

.bar-track { position: relative; }
.bar-fill.covered {
  background: repeating-linear-gradient(-45deg, var(--c) 0 6px, color-mix(in srgb, var(--c) 70%, black) 6px 12px);
  color: #fff;
}
.bar-tag {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.92); box-shadow: 0 0 0 0.5px var(--hairline);
  font-size: 11px; font-weight: 600; color: var(--label-2); white-space: nowrap;
  opacity: 0; animation: fadeIn 0.5s var(--ease) 0.9s forwards;
}
.bar-tag .ic { width: 12px; height: 12px; color: var(--green); }
@keyframes fadeIn { to { opacity: 1; } }
.bar-divider { display: flex; align-items: center; gap: 10px; margin: 8px 0 -2px 244px; font-size: 11.5px; font-weight: 600; color: var(--label-3); }
.bar-divider::after { content: ''; flex: 1; height: 1px; background: var(--hairline); }
.bar-divider .ic { width: 13px; height: 13px; color: var(--orange); }
.bar-legend { display: flex; gap: 18px; flex-wrap: wrap; margin: 16px 0 0 244px; font-size: 11.5px; color: var(--label-3); font-weight: 500; }
.bar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.bar-legend i { width: 18px; height: 9px; border-radius: 999px; display: inline-block; }
.bar-legend i.solid { background: var(--tint); }
.bar-legend i.striped { background: repeating-linear-gradient(-45deg, var(--tint) 0 3px, color-mix(in srgb, var(--tint) 70%, black) 3px 6px); }

/* ==================== KANSEN LIST ==================== */
.group { overflow: hidden; }
.kans { border-bottom: 1px solid var(--hairline); }
.kans:last-child { border-bottom: none; }
.kans-head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border: none; background: none; cursor: pointer;
  font-family: inherit; text-align: left; color: var(--label);
  transition: background 0.2s;
  position: relative; z-index: 1;
}
.kans-head:hover { background: var(--fill); }
.kans-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent); background: var(--c); }
.kans-name { font-size: 14px; font-weight: 600; flex: 1; min-width: 0; letter-spacing: -0.005em; }
.badges { display: flex; gap: 6px; flex-shrink: 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--fill); color: var(--label-2); white-space: nowrap; }
.badge .ic { width: 11px; height: 11px; }
.badge.new { background: rgba(10,122,255,0.12); color: var(--blue); }
.badge.hot { background: rgba(252,96,57,0.14); color: #b8380f; }
.chev { width: 14px; height: 14px; color: var(--label-3); transition: transform 0.45s var(--spring); flex-shrink: 0; }
.open > .kans-head .chev, .open > .article-head .chev { transform: rotate(90deg); }

.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.open > .collapse { grid-template-rows: 1fr; }
.collapse-inner { overflow: hidden; min-height: 0; }

.articles { padding: 0 14px 6px 36px; }
.article { border-radius: 14px; transition: background 0.2s; }
.article:hover, .article.open { background: var(--fill); }
.article-head {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: none; background: none; cursor: pointer;
  font-family: inherit; text-align: left; color: var(--label);
}
.article-title { flex: 1; font-size: 13px; font-weight: 500; line-height: 1.4; }
.article-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 11.5px; color: var(--label-3); }
.source-chip { font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #ffffff; color: var(--label-2); box-shadow: 0 0 0 0.5px var(--hairline); }
.article-summary { padding: 0 12px 12px; font-size: 13px; line-height: 1.6; color: var(--label-2); max-width: 760px; }

/* ==================== GENERATE ==================== */
.gen-zone { padding: 8px 18px 18px 48px; }

.gen-choice {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 10px 10px 14px;
  border-radius: 16px;
  background: rgba(var(--tint-rgb), 0.05);
  border: 1px solid rgba(var(--tint-rgb), 0.12);
}
.gen-choice-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--tint); margin-right: auto; }
.gen-choice-label .ic { width: 15px; height: 15px; }

.gen-opt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600;
  transition: transform 0.35s var(--spring), box-shadow 0.25s, background 0.25s, filter 0.2s;
}
.gen-opt .ic { width: 15px; height: 15px; }
.gen-opt:hover { transform: translateY(-1px); }
.gen-opt:active { transform: scale(0.97); }
.gen-opt.web { border: none; color: #fff; background: var(--tint); }
.gen-opt.web:hover { filter: brightness(1.08); }
.gen-opt.li { border: 1px solid rgba(10,102,194,0.28); color: #0A66C2; background: rgba(255,255,255,0.8); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.gen-opt.li:hover { background: #fff; box-shadow: 0 4px 14px rgba(10,102,194,0.16); }
.gen-opt.busy { pointer-events: none; opacity: 0.6; }
.gen-opt .made { display: none; width: 16px; height: 16px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,0.28); }
.gen-opt.li .made { background: rgba(10,102,194,0.12); }
.gen-opt.done .made { display: inline-flex; }
.gen-opt .made .ic { width: 11px; height: 11px; }

.li-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 17px; height: 17px; border-radius: 4px;
  background: #0A66C2; color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  flex-shrink: 0;
}

.gen-outputs { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.gen-outputs:empty { display: none; }

.out-card {
  position: relative;
  padding: 16px 18px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--glass-edge);
  box-shadow: none;
  animation: fadeUp 0.45s var(--ease);
}
.out-card.li { border-left: 3px solid #0A66C2; }
.out-card.web { border-left: 3px solid var(--tint); }

.out-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.out-type { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--tint); }
.out-type .ic { width: 14px; height: 14px; }
.out-card.li .out-type { color: #0A66C2; }
.out-status { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--label-3); padding: 3px 9px; border-radius: 999px; background: var(--fill); }

/* Writer: spinner + progress bar */
.writer { padding: 2px 0 4px; }
.writer-top { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--label); }
.writer-pct { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--label-3); font-variant-numeric: tabular-nums; }
.activity { width: 18px; height: 18px; flex-shrink: 0; animation: spinSteps 0.9s steps(8) infinite; color: var(--label-2); }
@keyframes spinSteps { to { transform: rotate(360deg); } }
.progress { position: relative; height: 6px; border-radius: 999px; background: var(--fill); overflow: hidden; margin-top: 12px; }
.progress-fill {
  position: relative; height: 100%; width: 0; border-radius: inherit;
  background: var(--tint);
  overflow: hidden;
}
.out-card.li .progress-fill { background: #0A66C2; }
.progress-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-100%);
  animation: sweep 1.1s linear infinite;
}
@keyframes sweep { to { transform: translateX(100%); } }
.writer-steps { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.writer-steps li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--label-3); transition: color 0.25s; }
.writer-steps li .st { width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1.5px solid var(--fill-2); transition: all 0.3s var(--spring); }
.writer-steps li .st .ic { width: 10px; height: 10px; opacity: 0; transition: opacity 0.2s; }
.writer-steps li.now { color: var(--label); font-weight: 600; }
.writer-steps li.now .st { border-color: var(--tint); border-top-color: transparent; animation: spinSteps 0.8s linear infinite; }
.out-card.li .writer-steps li.now .st { border-color: #0A66C2; border-top-color: transparent; }
.writer-steps li.ok { color: var(--label-2); }
.writer-steps li.ok .st { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.05); }
.writer-steps li.ok .st .ic { opacity: 1; }

.out-title { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 8px; }
.out-body { font-size: 14px; line-height: 1.7; color: var(--label); max-width: 780px; }
.out-body p + p { margin-top: 10px; }
.w { opacity: 0; filter: blur(3px); display: inline-block; animation: wordIn 0.45s var(--ease) forwards; }
@keyframes wordIn { to { opacity: 1; filter: none; } }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--tint); animation: blink 0.9s steps(1) infinite; }
.out-card.li .caret { background: #0A66C2; }
@keyframes blink { 50% { opacity: 0; } }

.out-foot { opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.out-foot.show { opacity: 1; transform: none; }
.gen-meta { font-size: 11px; color: var(--label-3); margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--hairline); }
.sci { margin-top: 12px; }
.sci-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.sci-item { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; font-size: 12.5px; color: var(--label-2); }
.sci-item .ic { color: var(--blue); width: 13px; height: 13px; transform: translateY(2px); }
.sci-item em { font-style: normal; color: var(--label-3); white-space: nowrap; }
.sci-note { font-size: 11px; color: var(--label-3); font-style: italic; margin-top: 4px; }

.out-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.act {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--hairline); background: rgba(255,255,255,0.9);
  font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--label);
  cursor: pointer; transition: transform 0.3s var(--spring), background 0.2s, box-shadow 0.2s;
}
.act:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,0.06); }
.act:active { transform: scale(0.97); }
.act .ic { width: 14px; height: 14px; }
.act.li-primary { border: none; background: #0A66C2; color: #fff; }
.act.li-primary .li-logo { background: #fff; color: #0A66C2; }
.act.li-primary:hover { filter: brightness(1.08); }
.act.copied { color: var(--green); border-color: rgba(0,200,119,0.35); }

/* LinkedIn preview */
.li-post { border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; background: #fff; overflow: hidden; max-width: 560px; }
.li-author { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.li-avatar { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; background: var(--c); }
.li-who b { display: block; font-size: 13.5px; font-weight: 600; color: rgba(0,0,0,0.9); }
.li-who small { display: block; font-size: 11.5px; color: rgba(0,0,0,0.55); }
.li-text { padding: 2px 14px 12px; font-size: 13.5px; line-height: 1.55; color: rgba(0,0,0,0.88); }
.li-text p + p { margin-top: 9px; }
.li-text .tag { color: #0A66C2; font-weight: 600; }
.li-link { display: flex; align-items: center; gap: 12px; margin: 0 14px 12px; padding: 10px; border-radius: 10px; background: #f3f2ef; }
.li-link-img { width: 52px; height: 52px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--c); }
.li-link-img .ic { width: 20px; height: 20px; }
.li-link b { display: block; font-size: 12.5px; font-weight: 600; color: rgba(0,0,0,0.9); line-height: 1.35; }
.li-link small { display: block; font-size: 11.5px; color: rgba(0,0,0,0.55); margin-top: 2px; }
.li-bar { display: flex; justify-content: space-around; border-top: 1px solid rgba(0,0,0,0.08); padding: 6px 4px; }
.li-bar span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: rgba(0,0,0,0.6); padding: 6px 8px; border-radius: 6px; }
.li-bar .ic { width: 15px; height: 15px; }
.li-warn { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: rgba(252,96,57,0.10); color: #b8380f; font-size: 12.5px; font-weight: 500; }
.li-warn button { margin-left: auto; border: none; background: none; font-family: inherit; font-size: 12.5px; font-weight: 700; color: #b8380f; cursor: pointer; text-decoration: underline; }

.link-btn { display: inline-flex; align-items: center; gap: 6px; }

/* ==================== TABLE ==================== */
.table-panel { margin-top: 14px; overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; position: relative; z-index: 1; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--label-3); padding: 14px 16px 10px; border-bottom: 1px solid var(--hairline); }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--hairline); vertical-align: middle; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: background 0.2s; }
.tbl tbody tr:hover { background: var(--fill); }
.tbl td:first-child { font-weight: 600; }
.page-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 460px; }
.page-cell a { font-size: 11.5px; font-weight: 500; color: var(--label-3); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-cell a:hover { color: var(--tint); text-decoration: underline; }
.tbl tr.fresh { animation: fadeUp 0.6s var(--ease); }
.tbl tr.fresh td { background: rgba(var(--tint-rgb), 0.05); }
.muted { color: var(--label-3); }

.ga4-panel { padding: 18px 20px; margin-top: 14px; }
.ga4-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; position: relative; z-index: 1; }
.ga4-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.ga4-title .ic { color: var(--tint); }
.ga4-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--label-2); padding: 4px 10px; border-radius: 999px; background: var(--fill); }
.ga4-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 2px rgba(252,96,57,0.2); }
.ga4-desc { font-size: 13px; color: var(--label-2); line-height: 1.5; margin-bottom: 12px; position: relative; z-index: 1; }
.ga4-form { display: flex; gap: 8px; position: relative; z-index: 1; }
.ga4-hint { font-size: 11.5px; color: var(--label-3); margin-top: 8px; min-height: 16px; position: relative; z-index: 1; transition: color 0.2s; }
.ga4-hint.ok { color: var(--green); font-weight: 600; }
.ga4-hint.err { color: var(--red); font-weight: 600; }
.shake { animation: shake 0.4s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.link-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(var(--tint-rgb), 0.25); background: rgba(var(--tint-rgb), 0.06); color: var(--tint); font-family: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.3s var(--spring); }
.link-btn:hover { background: rgba(var(--tint-rgb), 0.12); transform: translateY(-1px); }
.link-btn .ic { width: 14px; height: 14px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: rgba(0,200,119,0.13); color: var(--green); }
.pill.plan { background: rgba(252,96,57,0.14); color: #b8380f; }
.chan { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 7px; background: var(--fill); color: var(--label-2); }

/* ==================== SETTINGS ==================== */
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--hairline); position: relative; z-index: 1; }
.row:last-child { border-bottom: none; }
.app-ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 800;
  background: var(--c);
}
.row-text { flex: 1; min-width: 0; }
.row-title { font-size: 13.5px; font-weight: 600; }
.row-sub { font-size: 12px; color: var(--label-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-state { font-size: 12px; color: var(--label-3); font-weight: 500; }

.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.slider { position: absolute; inset: 0; border-radius: 999px; background: var(--fill-2); transition: background 0.3s var(--ease); }
.slider::before {
  content: ''; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.2), 0 0 0 0.5px rgba(0,0,0,0.06);
  transition: transform 0.45s var(--spring), width 0.25s var(--ease);
}
.switch input:checked + .slider { background: var(--green); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch:active .slider::before { width: 28px; }
.switch input:checked:active + .slider::before, .switch:active input:checked + .slider::before { transform: translateX(12px); }
.switch input:focus-visible + .slider { box-shadow: 0 0 0 3px rgba(var(--tint-rgb), 0.35); }

.feed-ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(252,96,57,0.14); color: var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.add-row { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--hairline); position: relative; z-index: 1; }
.field {
  flex: 1; min-width: 0;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: #ffffff;
  font-family: inherit; font-size: 13px; color: var(--label);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s;
}
.field::placeholder { color: var(--label-3); }
.field:focus { outline: none; border-color: rgba(var(--tint-rgb), 0.55); box-shadow: 0 0 0 4px rgba(var(--tint-rgb), 0.16); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px; border: none; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600;
  background: var(--tint); color: #fff;
  transition: transform 0.35s var(--spring), filter 0.2s;
  flex-shrink: 0;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: scale(0.96); }
.btn .ic { width: 14px; height: 14px; }
.btn.li-btn { background: #0A66C2; }
.section-title .li-logo { width: 18px; height: 18px; }

.prompt-panel { padding: 16px; }
.prompt { width: 100%; min-height: 100px; resize: vertical; line-height: 1.6; padding: 12px 14px; display: block; position: relative; z-index: 1; }
.prompt-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; position: relative; z-index: 1; }
.saved { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--green); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--spring); }
.saved.visible { opacity: 1; transform: none; }
.saved .ic { width: 14px; height: 14px; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.settings-grid > div { min-width: 0; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 170px 1fr; }
}
@media (max-width: 860px) {
  body { overflow: auto; }
  .window { position: relative; inset: auto; margin: 0; border-radius: 0; flex-direction: column; min-height: 100vh; border: none; }
  .sidebar { width: auto; margin: 10px 10px 0; }
  .traffic, .side-spacer, .side-hint { display: none; }
  .brand { padding-bottom: 10px; }
  .side-list { flex-direction: row; overflow-x: auto; gap: 6px; }
  .side-item { flex: 0 0 auto; width: auto; }
  .side-status { display: none; }
  .content { overflow: visible; padding: 8px 16px 32px; -webkit-mask-image: none; mask-image: none; }
  .toolbar { padding: 16px; }
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .bar-label { text-align: left; }
  .bar-divider, .bar-legend { margin-left: 0; }
  .bar-tag { display: none; }
  .gen-choice-label { width: 100%; }
  .badges .badge:not(.hot) { display: none; }
  .articles { padding-left: 14px; }
  .gen-zone { padding-left: 18px; }
  .article-head { flex-wrap: wrap; }
  .table-panel { overflow-x: auto; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .tb-right { width: 100%; justify-content: space-between; }
  .live-pill { display: none; }
}

/* ==================== ROLE SWITCH ==================== */
.role-box { padding: 0 8px 14px; position: relative; }
.role-select {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 14px; border: none; cursor: pointer;
  background: var(--fill); font-family: inherit; text-align: left; color: var(--label);
  transition: background 0.2s;
}
.role-select:hover { background: var(--fill-2); }
.role-ic { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; background: var(--tint); display: flex; align-items: center; justify-content: center; color: #fff; }
.role-ic .ic { width: 14px; height: 14px; }
.role-text { flex: 1; min-width: 0; }
.role-label { display: block; font-size: 10.5px; font-weight: 600; color: var(--label-3); text-transform: uppercase; letter-spacing: 0.04em; }
.role-name { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.role-select .chev { transition: transform 0.3s var(--spring); }
.role-box.open .role-select .chev { transform: rotate(90deg); }
.role-menu {
  position: absolute; left: 8px; right: 8px; top: calc(100% - 6px); z-index: 20;
  background: #ffffff;
  border: 1px solid var(--glass-edge); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  padding: 6px; display: none; flex-direction: column; gap: 1px;
  opacity: 0; transform: translateY(-6px) scale(0.98); transition: opacity 0.2s var(--ease), transform 0.25s var(--spring);
}
.role-box.open .role-menu { display: flex; opacity: 1; transform: none; }
.role-opt { display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; border-radius: 10px; border: none; background: none; cursor: pointer; text-align: left; font-family: inherit; }
.role-opt:hover { background: var(--fill); }
.role-opt.active { background: rgba(var(--tint-rgb), 0.13); }
.role-opt b { font-size: 12.5px; font-weight: 600; color: var(--label); }
.role-opt span { font-size: 11px; color: var(--label-3); }

/* ==================== SECTION NAV (sidebar) ==================== */
.nav-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 8px 10px;
  border: none; background: none; border-radius: 12px; cursor: pointer; font-family: inherit;
  text-align: left; color: var(--label); transition: background 0.25s var(--ease);
  position: relative;
}
.nav-item:hover { background: var(--fill); }
.nav-item.active { background: rgba(var(--tint-rgb), 0.13); color: var(--tint); }
.nav-item .ic { width: 17px; height: 17px; flex-shrink: 0; color: var(--label-3); }
.nav-item.active .ic { color: var(--tint); }
.nav-item span.nlabel { flex: 1; font-size: 13px; font-weight: 600; }
.nav-badge { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--tint); color: #fff; min-width: 18px; text-align: center; }
.nav-badge:empty { display: none; }

/* ==================== WELKOM ==================== */
.hero { padding: 6px 4px 18px; }
.hero-greet { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; }
.hero-sub { font-size: 13.5px; color: var(--label-2); margin-top: 5px; max-width: 620px; line-height: 1.5; }

.welkom-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: start; }
.impact-card { padding: 20px 22px; overflow: hidden; position: relative; }
.impact-head { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.impact-head .ic { color: var(--tint); width: 18px; height: 18px; }
.impact-title { font-size: 15px; font-weight: 700; }
.impact-sub { font-size: 12.5px; color: var(--label-2); margin-bottom: 16px; max-width: 480px; line-height: 1.5; }
.impact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.impact-num { font-size: 25px; font-weight: 700; letter-spacing: -0.03em; color: var(--tint); font-variant-numeric: tabular-nums; }
.impact-lbl { font-size: 11.5px; color: var(--label-2); margin-top: 3px; line-height: 1.4; }
.impact-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 12px; border-radius: 12px; background: rgba(0,200,119,0.09); color: #00754f; font-size: 12px; font-weight: 600; }
.impact-note .ic { width: 14px; height: 14px; flex-shrink: 0; }

.brein-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.brein-row { display: flex; align-items: center; gap: 11px; }
.brein-row .role-ic { width: 32px; height: 32px; border-radius: 10px; }
.brein-row .role-ic .ic { width: 16px; height: 16px; }
.brein-name { font-size: 13.5px; font-weight: 700; }
.brein-sub { font-size: 11.5px; color: var(--label-3); }
.brein-divider { height: 1px; background: var(--hairline); }

.signal-list { display: flex; flex-direction: column; gap: 0; }
.signal-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.signal-row:not(:last-child) { border-bottom: 1px solid var(--hairline); }
.signal-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.signal-txt { flex: 1; font-size: 12.5px; font-weight: 500; line-height: 1.4; }
.signal-meta { font-size: 11px; color: var(--label-3); flex-shrink: 0; white-space: nowrap; }

.task-list { display: flex; flex-direction: column; }
.task-row { display: flex; align-items: center; gap: 11px; padding: 9px 2px; }
.task-row:not(:last-child) { border-bottom: 1px solid var(--hairline); }
.task-check { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--fill-2); flex-shrink: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s var(--spring); background: none; }
.task-check .ic { width: 11px; height: 11px; opacity: 0; transition: opacity 0.15s; color: #fff; }
.task-row.done .task-check { background: var(--green); border-color: var(--green); }
.task-row.done .task-check .ic { opacity: 1; }
.task-txt { flex: 1; font-size: 13px; font-weight: 500; transition: color 0.2s, opacity 0.2s; }
.task-row.done .task-txt { color: var(--label-3); opacity: 0.7; text-decoration: line-through; }
.task-who { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.task-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.task-who-name { font-size: 11.5px; color: var(--label-3); font-weight: 500; white-space: nowrap; }

.insights-strip { display: flex; flex-direction: column; gap: 10px; padding: 4px 2px; }
.insight-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.insight-name { font-size: 12.5px; font-weight: 500; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.insight-val { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

.explore-scroll { display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 12px; scrollbar-width: thin; }
.explore-tile {
  flex: 0 0 auto; width: 230px; padding: 18px 18px 16px; cursor: pointer;
  display: flex; flex-direction: column; gap: 10px; transition: transform 0.4s var(--spring);
}
.explore-tile:hover { transform: translateY(-3px); }
.explore-tile.locked { cursor: default; opacity: 0.62; }
.explore-tile.locked:hover { transform: none; }
.explore-ic { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--c); }
.explore-ic .ic { width: 17px; height: 17px; }
.explore-name { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.explore-fact { font-size: 12px; color: var(--label-2); line-height: 1.5; min-height: 34px; }
.explore-cta { font-size: 11.5px; font-weight: 600; color: var(--tint); display: inline-flex; align-items: center; gap: 5px; margin-top: auto; }
.explore-cta .ic { width: 12px; height: 12px; }

.tegel-detail { margin-top: 4px; padding: 18px 20px; animation: fadeUp 0.4s var(--ease); }
.tegel-detail-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tegel-detail-close { margin-left: auto; border: none; background: var(--fill); width: 26px; height: 26px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--label-2); }
.tegel-detail-close:hover { background: var(--fill-2); }
.tegel-explain { font-size: 13px; line-height: 1.6; color: var(--label); background: rgba(var(--tint-rgb), 0.05); border: 1px solid rgba(var(--tint-rgb), 0.12); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.tegel-explain b { color: var(--tint); }
.tegel-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.tegel-stat { padding: 12px 14px; border-radius: 14px; background: var(--fill); }
.tegel-stat b { display: block; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tegel-stat span { font-size: 11.5px; color: var(--label-2); }

/* ==================== AAN DE SLAG ==================== */
.route-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 4px; }
.route-card { padding: 18px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: transform 0.35s var(--spring); border: 2px solid transparent; }
.route-card:hover { transform: translateY(-2px); }
.route-card.active { border-color: rgba(var(--tint-rgb), 0.4); }
.route-num { width: 26px; height: 26px; border-radius: 8px; background: var(--tint); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.route-title { font-size: 15px; font-weight: 700; }
.route-desc { font-size: 12.5px; color: var(--label-2); line-height: 1.5; }

.opt-empty { padding: 30px 20px; text-align: center; color: var(--label-3); font-size: 13px; }
.opt-row { display: flex; align-items: center; gap: 12px; padding: 13px 18px; }
.opt-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.opt-text { flex: 1; min-width: 0; }
.opt-title { font-size: 13.5px; font-weight: 600; }
.opt-meta { font-size: 11.5px; color: var(--label-3); margin-top: 1px; }
.opt-status { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--fill); color: var(--label-2); white-space: nowrap; }

.wizard-panel { padding: 22px 24px; }
.wizard-step-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tint); margin-bottom: 10px; }
.wizard-textarea { width: 100%; min-height: 100px; resize: vertical; line-height: 1.6; padding: 12px 14px; }
.wizard-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.upload-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px dashed var(--hairline); background: rgba(255,255,255,0.6); font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--label-2); cursor: pointer; }
.upload-btn:hover { background: #fff; }
.upload-btn .ic { width: 14px; height: 14px; }
.upload-chip { font-size: 11.5px; color: var(--label-3); display: inline-flex; align-items: center; gap: 6px; }
.wizard-checking { display: flex; align-items: center; gap: 12px; padding: 10px 4px; }
.wizard-checking .activity { width: 20px; height: 20px; color: var(--tint); }
.wizard-checking span { font-size: 13.5px; font-weight: 600; }
.wizard-proposal { padding: 4px 2px; }
.wizard-proposal-text { font-size: 13.5px; line-height: 1.65; color: var(--label); }
.wizard-toggle-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--fill); }
.wizard-toggle-row .row-text { flex: 1; }
.wizard-toggle-row .row-title { font-size: 13px; }
.wizard-toggle-row .row-sub { font-size: 11.5px; white-space: normal; }
.kind-choice { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* ==================== CONTENTSTRAAT ==================== */
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.repurpose-card { padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.repurpose-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--fill); display: flex; align-items: center; justify-content: center; color: var(--tint); flex-shrink: 0; }
.repurpose-text { flex: 1; min-width: 0; }
.repurpose-title { font-size: 13.5px; font-weight: 600; }
.repurpose-sub { font-size: 11.5px; color: var(--label-3); margin-top: 1px; }

.create-tool { padding: 16px 18px; }
.create-tool-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: 13.5px; font-weight: 700; }
.create-tool-head .ic { color: var(--tint); width: 16px; height: 16px; }
.create-row { display: flex; gap: 8px; }

.pipeline { display: flex; flex-direction: column; gap: 12px; }
.cs-item { padding: 16px 18px; animation: fadeUp 0.4s var(--ease); }
.cs-item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.cs-item-title { font-size: 13.5px; font-weight: 700; flex: 1; min-width: 0; }
.cs-stage { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.cs-stage.concept { background: var(--fill); color: var(--label-2); }
.cs-stage.check { background: rgba(252,96,57,0.14); color: #b8380f; }
.cs-stage.super { background: rgba(10,122,255,0.12); color: var(--blue); }
.cs-stage.klaar { background: rgba(0,200,119,0.13); color: var(--green); }
.cs-item-meta { font-size: 11.5px; color: var(--label-3); margin-bottom: 10px; }

.check-list { display: flex; flex-direction: column; gap: 7px; margin: 10px 0 4px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.check-item .ic { width: 15px; height: 15px; flex-shrink: 0; }
.check-item.ok { color: var(--label); }
.check-item.ok .ic { color: var(--green); }
.check-item.warn { color: var(--label); }
.check-item.warn .ic { color: var(--orange); }
.check-item b { font-weight: 600; }
.check-item small { color: var(--label-3); margin-left: auto; }

.super-box { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(10,122,255,0.06); border: 1px solid rgba(10,122,255,0.14); }
.super-box-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.super-box-head .task-avatar { width: 24px; height: 24px; font-size: 10px; }
.super-box-head b { font-size: 12.5px; }
.super-box-head small { font-size: 11px; color: var(--label-3); display: block; }
.super-feedback { width: 100%; min-height: 56px; resize: vertical; font-size: 12.5px; padding: 8px 10px; margin-top: 8px; display: none; }
.super-feedback.show { display: block; }
.super-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.act.approve { background: var(--green); color: #fff; border: none; }
.act.approve:hover { filter: brightness(1.06); }
.act.reject { background: rgba(255,255,255,0.9); color: #b8380f; border: 1px solid rgba(252,96,57,0.3); }
.brein-sync-note { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--label-3); font-style: italic; }
.brein-sync-note .ic { width: 12px; height: 12px; color: var(--tint); flex-shrink: 0; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: rgba(30,20,26,0.92); color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3); z-index: 50; opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.4s var(--spring);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .ic { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

/* ==================== NIEUW: advies, chat, auto-koppeling ==================== */
.advies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.advies-item { padding: 12px 14px; border-radius: 14px; background: var(--fill); }
.advies-item h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tint); margin-bottom: 4px; }
.advies-item p { font-size: 12.5px; line-height: 1.55; color: var(--label); }
.advies-now { grid-column: 1 / -1; background: rgba(0,200,119,0.09); border: 1px solid rgba(0,200,119,0.22); }
.advies-now h4 { color: #00754f; }
.advies-now p { font-weight: 600; }
.ask-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.ask-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }
.ask-head .ic { color: var(--tint); }
.ask-sub { font-size: 11.5px; font-weight: 500; color: var(--label-3); }
.ask-log { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.ask-log:empty { display: none; }
.ask-q, .ask-a { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.5; }
.ask-q { align-self: flex-end; background: var(--tint); color: #fff; }
.ask-a { align-self: flex-start; background: var(--fill); color: var(--label); }
.ask-a small { display: block; margin-top: 4px; font-size: 10.5px; color: var(--label-3); }
.ask-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ask-chip { border: 1px solid var(--hairline); background: #fff; border-radius: 999px; padding: 5px 11px; font-family: inherit; font-size: 11.5px; font-weight: 500; color: var(--label-2); cursor: pointer; }
.ask-chip:hover { background: var(--fill); }
.autolink-list { display: flex; flex-direction: column; position: relative; z-index: 1; }
.autolink-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--hairline); font-size: 12.5px; }
.autolink-row .ic { color: var(--green); width: 14px; height: 14px; }
.autolink-row span.t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.autolink-row small { color: var(--label-3); white-space: nowrap; }
.role-note { font-size: 11px; color: var(--label-3); padding: 8px 10px 4px; border-top: 1px solid var(--hairline); margin-top: 4px; line-height: 1.45; }
.impact-cheer { font-size: 12px; font-weight: 600; color: var(--tint); margin: -8px 0 14px; }

@media (max-width: 1180px) {
  .welkom-grid { grid-template-columns: 1fr; }
  .cs-cols { grid-template-columns: 1fr; }
  .route-cards { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .role-box { padding: 0 6px 10px; }
  .explore-tile { width: 200px; }
  .advies { grid-template-columns: 1fr; }
}
