/* Huisstijl overgenomen van de motor: één merkkleur, schaars gebruikt; systeemletters.
   Oranje staat alleen op primaire knoppen, de focusrand en de actieve tab. */
:root {
  --brand: #FE5000; --brand-ink: #ffffff; --brand-dim: #c43e00;
  --bg: #f6f6f4; --bg-kaart: #ffffff; --bg-sunken: #f1f1ee; --bg-code: #f6f6f4;
  --ink: #1a1a19; --ink-muted: #55554f; --ink-faint: #8a8a86;
  --line: #e3e3df; --line-strong: #c9c9c5;
  --ok: #1f7a4d; --ok-bg: #e6f3ec; --warn: #8a5a00; --warn-bg: #fbf0d9; --fout: #b3261e; --fout-bg: #fbe7e5;
  --leeg: #6b6b68; --leeg-bg: #ececea;
  --radius: 8px; --schaduw: 0 1px 2px rgba(20, 20, 18, .05);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}
/* Dark: follows the system unless the user picked a theme (data-theme set by theme.js). */
:root { color-scheme: light; }
:root[data-theme=dark] { color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) { color-scheme: dark; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #101012; --bg-kaart: #1a1a1e; --bg-sunken: #222227; --bg-code: #131316;
    --ink: #ececea; --ink-muted: #b0b0ab; --ink-faint: #8a8a86;
    --line: #2c2c31; --line-strong: #43434a;
    --ok: #4ec98a; --ok-bg: #16301f; --warn: #e0a838; --warn-bg: #33280f; --fout: #ff8a80; --fout-bg: #3a1a18;
    --leeg: #a0a09c; --leeg-bg: #26262b; --brand-dim: #ff7a3d; --schaduw: none;
  }
}
:root[data-theme=dark] {
  --bg: #101012; --bg-kaart: #1a1a1e; --bg-sunken: #222227; --bg-code: #131316;
  --ink: #ececea; --ink-muted: #b0b0ab; --ink-faint: #8a8a86;
  --line: #2c2c31; --line-strong: #43434a;
  --ok: #4ec98a; --ok-bg: #16301f; --warn: #e0a838; --warn-bg: #33280f; --fout: #ff8a80; --fout-bg: #3a1a18;
  --leeg: #a0a09c; --leeg-bg: #26262b; --brand-dim: #ff7a3d; --schaduw: none;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 1.6rem; letter-spacing: -.01em; margin: 0 0 .35rem; }
h2 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.muted { color: var(--ink-muted); }
.small { font-size: .85rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

header.bar { background: var(--bg-kaart); border-bottom: 1px solid var(--line); padding: 0 16px; }
header.bar .inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 8px 20px; padding: 10px 0 6px; flex-wrap: wrap; }
header.bar .brand { display: flex; align-items: center; font-weight: 700; color: var(--ink); text-decoration: none; order: 1; }
header.bar .who { order: 2; margin-left: auto; }
header.bar nav { display: flex; gap: 2px; flex-wrap: wrap; order: 3; flex: 1 0 100%; }
header.bar nav a { color: var(--ink-muted); padding: 6px 10px; border-radius: 6px; text-decoration: none; }
header.bar nav a.active { color: var(--ink); background: var(--bg-sunken); }
.who { display: flex; align-items: center; gap: 8px; }
.who img { width: 28px; height: 28px; border-radius: 50%; }
.logo { height: 22px; width: auto; display: block; }
.login-logo { display: flex; justify-content: center; margin-bottom: 20px; }
.login-logo .logo { height: 30px; }
.theme { padding: 4px 10px; font-size: .85rem; }
.login .theme { position: fixed; top: 12px; right: 12px; }

main { max-width: 1120px; margin: 0 auto; padding: 32px 16px 72px; }
.login { max-width: 380px; margin: 14vh auto; padding: 0 16px; text-align: center; }

button, .btn { font: inherit; font-weight: 500; cursor: pointer; border: 1px solid var(--line-strong); background: var(--bg-kaart); color: var(--ink); padding: 6px 16px; border-radius: 6px; text-decoration: none; }
button:hover:not(:disabled), .btn:hover { background: var(--bg-sunken); }
button.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }
button.primary:hover:not(:disabled) { background: var(--brand-dim); border-color: var(--brand-dim); }
a.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 600; }
a.btn.primary:hover { background: var(--brand-dim); border-color: var(--brand-dim); }
button.danger { color: var(--fout); }
button:disabled { color: var(--ink-faint); cursor: not-allowed; }
button.primary:disabled { background: var(--bg-sunken); color: var(--ink-faint); border-color: var(--line); }
input, select, textarea { font: inherit; color: var(--ink); background: var(--bg-kaart); border: 1px solid var(--line-strong); border-radius: 6px; padding: 6px 12px; max-width: 100%; }
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); }
textarea { width: 100%; min-height: 380px; font-family: var(--mono); font-size: .9rem; }
label { display: block; margin: .6rem 0 .2rem; font-size: .85rem; font-weight: 500; color: var(--ink-muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--bg-kaart); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 20px 24px; }
.card a.title { font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.grid.projects { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid.projects > .card.project { margin-top: 0; }
.card.project { min-height: 240px; display: flex; flex-direction: column; gap: 6px; border-color: var(--line-strong); box-shadow: 0 2px 8px rgba(20, 20, 18, .10), 0 1px 2px rgba(20, 20, 18, .06); }
.row.nowrap { flex-wrap: nowrap; justify-content: space-between; gap: 8px; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.card.project a.title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.card.project .pill { flex: none; }
.work { margin-top: 6px; }
.sprint-line { display: flex; justify-content: space-between; gap: 8px; }
.sprint-line .muted { flex: none; }
.meter { position: relative; height: 8px; margin: 6px 0; border-radius: 999px; background: var(--bg-sunken); border: 1px solid var(--line); overflow: hidden; }
.meter .fill { height: 100%; background: var(--ok); }
.meter .mark { position: absolute; top: -1px; bottom: -1px; width: 2px; background: var(--ink-muted); }
.counts { display: flex; gap: 14px; font-size: .85rem; color: var(--ink-muted); }
.counts b { color: var(--ink); }
.people { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 2px 8px; border-radius: 999px; background: var(--bg-sunken); border: 1px solid var(--line); }
.chip b { flex: none; margin-left: 2px; color: var(--brand-dim); }
.card .stats { display: flex; gap: 14px; margin-top: 10px; font-size: .85rem; color: var(--ink-muted); }
.card .kpis { margin-top: 10px; padding: 8px; border: 1px dashed var(--line-strong); border-radius: 6px; font-size: .8rem; color: var(--ink-muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--leeg-bg); color: var(--leeg); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.active { color: var(--ok); background: var(--ok-bg); }
.pill.paused { color: var(--warn); background: var(--warn-bg); }
.pill.ended { color: var(--leeg); background: var(--leeg-bg); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 16px 0; }
.tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--ink-muted); }
.tabs button.active { border-color: var(--brand); color: var(--ink); font-weight: 600; }

.split { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.doclist { background: var(--bg-kaart); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 6px; align-self: start; }
.doclist button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 6px; }
.doclist button:hover:not(:disabled) { background: var(--bg-sunken); }
.doclist button.active { background: var(--bg-sunken); font-weight: 600; }
.doclist .badge { float: right; font-size: .7rem; color: var(--ink-faint); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.row.end { justify-content: flex-end; }

table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-kaart); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--schaduw); overflow: hidden; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); font-weight: 600; background: var(--bg-sunken); }
tr:last-child td { border-bottom: 0; }
.notice { padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-sunken); margin: 12px 0; }
.notice.error { border-color: var(--fout); background: var(--fout-bg); color: var(--fout); }
.notice.ok { border-color: var(--ok); background: var(--ok-bg); }
code, .token { font-family: var(--mono); font-size: .85rem; word-break: break-all; }
code { background: var(--bg-sunken); padding: 1px 5px; border-radius: 4px; }
.checks label { display: flex; gap: 8px; align-items: center; margin: 4px 0; color: var(--ink); font-size: .9rem; }

/* Form lines: a label on the left, the control on the right. */
.formrow { display: flex; gap: 12px; align-items: center; margin: 6px 0; flex-wrap: wrap; }
.formrow > span:first-child { width: 230px; flex: none; }
.card + .card { margin-top: 12px; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-left: 8px; vertical-align: middle; }
.board { display: flex; gap: 14px; overflow-x: auto; align-items: flex-start; padding-bottom: 8px; }
.board .col { min-width: 270px; flex: 1 0 270px; }
.board .col h3 { font-size: .95rem; margin: .4rem 0; }
.ticket { cursor: pointer; margin-bottom: 8px; padding: 12px 14px; }
.ticket.plain { cursor: default; }
.ticket > div + div { margin-top: 8px; }
.t-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.t-key { font-weight: 600; font-size: .85rem; }
.t-title { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.t-section { border-top: 1px solid var(--line); padding-top: 8px; }
.t-section > div + div { margin-top: 4px; }
.ticket .meter { height: 10px; }
.ticket .meter-row { margin: 6px 0 2px; }
.pill.bad { color: var(--fout); background: var(--fout-bg); }
.pill.status-indeterminate { color: var(--brand-dim); background: var(--warn-bg); }
.pill.status-done { color: var(--ok); background: var(--ok-bg); }
button.ai { color: var(--brand-dim); border-color: var(--brand-dim); }
.ai-badge { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .04em; padding: 1px 6px; margin-right: 4px; border-radius: 4px; background: var(--brand); color: var(--brand-ink); }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.comment { border-top: 1px solid var(--line); padding: 8px 0; }
td.over { color: var(--fout); font-weight: 600; }
td.near { color: var(--warn); font-weight: 600; }
.cards > .card { margin-top: 0; }
.page-head { margin-bottom: 20px; }
.page-head p { margin: 0 0 12px; max-width: 80ch; }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kpi .value { font-size: 1.9rem; font-weight: 700; line-height: 1.15; margin: 2px 0; }
.kpi .value.over { color: var(--fout); }
.kpi .value.near { color: var(--warn); }
.panel { background: var(--bg-kaart); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 20px 24px; margin-top: 16px; }
.panel > h2:first-child { margin-top: 0; }
details.panel > summary { cursor: pointer; font-weight: 600; }
details.panel[open] > summary { margin-bottom: 12px; }
.panel .card { box-shadow: none; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 8px; }
.meter-row { display: flex; align-items: center; gap: 8px; margin: 4px 0; }
.meter { flex: 1; height: 8px; border-radius: 999px; background: var(--leeg-bg); overflow: hidden; }
.meter-fill { display: block; height: 100%; background: var(--ok); }
.meter-fill.near { background: var(--warn); }
.meter-fill.over { background: var(--fout); }
.small.over { color: var(--fout); font-weight: 600; }
.small.near { color: var(--warn); font-weight: 600; }

/* planning */
.scroll { overflow-x: auto; }
table.planning { border-collapse: separate; border-spacing: 2px; width: auto; font-size: .8rem; }
table.planning th, table.planning td { text-align: center; padding: 3px 5px; min-width: 26px; }
table.planning td.name, table.planning th:first-child { text-align: left; white-space: nowrap; min-width: 130px; }
table.planning th.holiday { background: var(--ok-bg); }
table.planning td.cell { border-radius: 4px; font-weight: 600; background: var(--bg-sunken); }
table.planning td.cell.off { background: transparent; }
table.planning td.clickable { cursor: pointer; }
table.planning td.clickable:hover { outline: 2px solid var(--ink-muted); }
table.planning tr.cover td { color: var(--ink-muted); border-top: 1px solid var(--line); }
table.planning tr.cover td.over { color: var(--fout); font-weight: 700; }
.legend-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.lg-bg-black { background: #222; } .lg-bg-red { background: #e5484d; } .lg-bg-yellow { background: #f5d90a; } .lg-bg-green { background: #46a758; }
.lg-bg-pink { background: #f76b9d; } .lg-bg-orange { background: #ff8b3e; } .lg-bg-blue { background: #3e63dd; } .lg-bg-lightblue { background: #8ec8f6; }
.lg-fg-black { color: #111; } .lg-fg-red { color: #b4181d; } .lg-fg-yellow { color: #f5d90a; } .lg-fg-green { color: #1b5e20; }
.lg-fg-pink { color: #a01247; } .lg-fg-orange { color: #7a3a00; } .lg-fg-blue { color: #fff; } .lg-fg-lightblue { color: #0b3b66; }

.grid-scroll { overflow-x: auto; }
table.daygrid { border-collapse: collapse; font-size: 12px; }
table.daygrid th, table.daygrid td { padding: 4px 6px; text-align: center; min-width: 30px; }
table.daygrid .name { text-align: left; white-space: nowrap; min-width: 150px; }
table.daygrid td.day.full { background: var(--ok-bg); color: var(--ok); }
table.daygrid td.day.part { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
table.daygrid td.day.none { background: var(--fout-bg); color: var(--fout); font-weight: 600; }
table.daygrid td.day.off { background: rgba(128, 128, 128, 0.18); }
.board .col h3 .count { font-weight: 400; font-size: .8rem; }
.board .col h3 .count.over { color: var(--fout); font-weight: 600; }
.board .col.backlog { padding-right: 14px; border-right: 1px dashed var(--line-strong); }

/* ---- detail sheet of a ticket or story, and the AI analysis ---- */
body.no-scroll { overflow: hidden; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(16, 16, 18, .55); display: flex; justify-content: flex-end; }
.drawer { position: relative; width: min(1180px, 100%); height: 100%; overflow-y: auto; background: var(--bg); border-left: 1px solid var(--line-strong); box-shadow: -8px 0 32px rgba(0, 0, 0, .25); padding: 28px 32px 40px; }
.drawer-close { position: sticky; top: 0; float: right; z-index: 2; width: 36px; height: 36px; padding: 0; font-size: 1.4rem; line-height: 1; border-radius: 50%; }
.drawer-body { clear: both; }
.d-top h2 { margin: 4px 0 10px; font-size: 1.5rem; line-height: 1.25; overflow-wrap: anywhere; }
.d-top > div + div { margin-top: 8px; }
.d-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.d-facts { max-width: 520px; }
.d-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; margin-top: 20px; align-items: start; }
@media (max-width: 900px) { .drawer { padding: 20px 16px 32px; } .d-grid { grid-template-columns: minmax(0, 1fr); } }
.d-col > .d-section + .d-section { margin-top: 20px; }
.d-section { background: var(--bg-kaart); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--schaduw); padding: 18px 20px; }
.d-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.d-head h3 { margin: 0; font-size: 1.05rem; }
.d-origin { border-left: 4px solid var(--ink-faint); }
.d-comments { border-left: 4px solid var(--line-strong); background: var(--bg-sunken); }
.d-analysis { border-left: 4px solid var(--brand); }
.d-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.d-comment { display: flex; gap: 12px; align-items: flex-start; }
.d-comment + .d-comment { margin-top: 14px; }
.avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--leeg-bg); color: var(--ink-muted); }
.d-bubble { flex: 1; min-width: 0; background: var(--bg-kaart); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.d-bubble .d-text { margin-top: 4px; }
.d-banner { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 14px; background: var(--leeg-bg); color: var(--ink); }
.d-banner.ok { background: var(--ok-bg); color: var(--ok); }
.d-banner.busy { background: var(--warn-bg); color: var(--warn); }
.d-banner.bad { background: var(--fout-bg); color: var(--fout); }
.d-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.pill-verdict { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--leeg-bg); color: var(--leeg); }
.pill-verdict.ok { background: var(--ok-bg); color: var(--ok); }
.pill-verdict.review, .pill-verdict.warn { background: var(--warn-bg); color: var(--warn); }
.ai-state { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600; color: var(--ink-muted); }
.ai-state.ok { color: var(--ok); }
.ai-state.busy, .ai-state.review { color: var(--warn); }
.d-review { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.d-review h4 { margin: 0 0 8px; }
.d-review textarea { width: 100%; min-height: 110px; resize: vertical; }
.d-review .row { margin-top: 10px; align-items: center; }
button.link { background: none; border: 0; color: var(--ink-muted); text-decoration: underline; padding: 6px 8px; cursor: pointer; }
.d-history { margin-top: 16px; font-size: .9rem; }
.d-hist-row { padding: 8px 0; border-top: 1px solid var(--line); }
/* the markdown of an analysis */
.md { line-height: 1.55; overflow-wrap: anywhere; }
.md p, .md ul, .md ol, .md blockquote, .md pre { margin: 8px 0; }
.md ul, .md ol { padding-left: 22px; }
.md li { margin: 3px 0; }
.md li.depth-1 { margin-left: 18px; }
.md li.depth-2 { margin-left: 36px; }
.md code { font-family: var(--mono); font-size: .88em; background: var(--bg-code); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
.md pre.md-code { background: var(--bg-code); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; overflow-x: auto; }
.md pre.md-code code { border: 0; padding: 0; background: none; }
.md blockquote { border-left: 3px solid var(--line-strong); padding-left: 12px; color: var(--ink-muted); }
.md-section { border: 1px solid var(--line); border-radius: var(--radius); margin: 10px 0; background: var(--bg-kaart); }
.md-section > summary { cursor: pointer; font-weight: 700; padding: 9px 14px; list-style-position: inside; }
.md-section > .md-body { padding: 0 14px 10px; }
.md-plan { border-color: var(--brand); border-width: 2px; }
.md-plan > summary { color: var(--brand-dim); }
.md-table { overflow-x: auto; }
.md-table table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.md-table th, .md-table td { border: 1px solid var(--line); padding: 5px 8px; text-align: left; vertical-align: top; }
.md-table th { background: var(--bg-sunken); }

/* the emblem of an AI analysis: a pulsing dot while it waits for a computer, a turning ring while it is worked on, a check or a mark when it is over */
.ai-emblem { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; font-size: .7rem; font-weight: 800; line-height: 1; flex: none; }
.ai-emblem.wait { background: var(--warn); animation: ai-pulse 1.4s ease-in-out infinite; }
.ai-emblem.busy { border: 2px solid var(--warn-bg); border-top-color: var(--warn); animation: ai-spin .9s linear infinite; }
.ai-emblem.ok { background: var(--ok); color: var(--bg); }
.ai-emblem.review { background: var(--warn); color: var(--bg); }
.ai-emblem.bad { background: var(--fout); color: var(--bg); }
.ai-state.wait { color: var(--warn); }
.ai-state.bad { color: var(--fout); }
@keyframes ai-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes ai-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ai-emblem.wait, .ai-emblem.busy { animation: none; } }
.d-banner strong { display: inline-flex; align-items: center; }

/* which computers are on */
.d-runners { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; font-size: .88rem; }
.d-runners.off > strong { color: var(--warn); }
.d-runner-list { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.d-runner { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; }
.d-runner .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-faint); }
.d-runner.on .dot { background: var(--ok); }
.d-runner.busy .dot { background: var(--warn); }
.d-runner.off { color: var(--ink-muted); }

/* the analysis as a report */
.report { display: flex; flex-direction: column; gap: 14px; }
.rp-outcome { background: var(--bg-sunken); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 14px 16px; }
.rp-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.rp-text { font-size: 1.02rem; line-height: 1.55; }
.rp-text p { margin: 4px 0; }
.rp-effort { margin-top: 8px; font-size: .85rem; color: var(--ink-muted); }
.rp-sec { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; background: var(--bg-kaart); }
.rp-sec h4 { margin: 0 0 6px; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.rp-sec ul, .rp-sec ol { margin: 6px 0; padding-left: 20px; }
.rp-sec li + li { margin-top: 4px; }
.rp-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--leeg-bg); color: var(--ink-muted); font-size: .8rem; }
.rp-risks { background: var(--warn-bg); border-color: transparent; }
.rp-risks .rp-icon { background: var(--warn); color: var(--bg); }
.rp-assumptions { background: var(--bg-sunken); }
.rp-changes { border-left: 4px solid var(--warn); }
.rp-plan { border-left: 4px solid var(--brand); }
.rp-steps { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.rp-step { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.rp-step + .rp-step { margin-top: 0; }
.rp-num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--brand); color: var(--brand-ink); }
.rp-step-body { flex: 1; min-width: 0; }
.rp-step-text { line-height: 1.5; }
.rp-step-body ul { margin: 4px 0 0; padding-left: 18px; font-size: .9rem; }
.rp-test { margin-top: 6px; font-size: .85rem; color: var(--ink-muted); }
.rp-size { flex: none; align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--leeg-bg); color: var(--ink-muted); white-space: nowrap; }
.rp-size.s-S { background: var(--ok-bg); color: var(--ok); }
.rp-size.s-M { background: var(--warn-bg); color: var(--warn); }
.rp-size.s-L { background: var(--fout-bg); color: var(--fout); }
