/* ============================================================
   Shootique, huisstijl fris (20 september 2026)
   Frisse look: licht grijsgroen vlak, witte kaarten,
   fijne randen, koraal accent.
   Overschrijft tokens.css en app.css. Laden NA app.css.
   ============================================================ */

:root {
  --color-bg-page: #F2F5F1;
  --color-bg-surface: #FFFFFF;
  --color-bg-soft: #E8EEE7;

  --color-text-primary: #232825;
  --color-text-secondary: #5C6460;
  --color-text-tertiary: #939B95;

  --color-border-subtle: #C9D2C6;
  --color-border-soft: #E1E7DF;

  --color-accent: #DC335A;
  --color-accent-hover: #B92C4D;
  --color-accent-soft: #F9E3E9;

  --color-success: #5b7f6c;
  --color-success-soft: rgba(111, 143, 121, 0.14);
  --color-warning: #D4A24A;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(35, 40, 37, 0.05);
  --shadow-lift: 0 2px 4px rgba(35, 40, 37, 0.04), 0 18px 34px -16px rgba(35, 40, 37, 0.34);
  --shadow-lift-klein: 0 2px 4px rgba(35, 40, 37, 0.04), 0 14px 26px -14px rgba(35, 40, 37, 0.32);
}

/* Zijbalk op papier, actief item als wit kaartje */
.sidebar {
  background: var(--color-bg-page);
  border-right: 1px solid var(--color-border-soft);
}
.nav-item.active {
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-card);
}
.nav-item.active .nav-icon { color: var(--color-accent); }
.nav-item:hover { background: rgba(255, 255, 255, 0.7); }
.foot-btn:hover { background: rgba(255, 255, 255, 0.7); }

/* Kaarten en tegels */
.card {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
}
.card.nu { border: 1px solid #D6DED3; box-shadow: var(--shadow-lift); }
.tile {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
}
.tile:hover {
  border-color: #D6DED3;
  box-shadow: var(--shadow-lift-klein);
  transform: translateY(-1px);
}

/* Knoppen en velden */
.btn { border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); }
.btn:hover { background: var(--color-bg-soft); border-color: var(--color-border-subtle); }
.btn-primary { border-color: var(--color-accent); font-weight: var(--fw-bold); }
.input, textarea.input, select.input { border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); }

/* Lijnen en labels */
.divider { border-top: 1px solid var(--color-border-soft); }
.section-label { color: var(--color-text-tertiary); }

/* ---------- Vandaag in de nieuwe opzet ---------- */
.va-kop { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.va-kop h1 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 64px; line-height: 0.95; letter-spacing: 0.5px; margin: 0; }
.va-datum { color: var(--color-text-secondary); margin: 4px 0 0; font-size: 13px; }
.va-boven { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin-bottom: 34px; }
.va-boven-l { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.va-boven-r { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 1040px) { .va-boven { grid-template-columns: 1fr; } }

body .va-section-label { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 30px; line-height: 1; letter-spacing: 0.5px; text-transform: none; color: var(--color-text-primary); margin: 0 0 14px; }

/* eerstvolgende shoot, de blikvanger */
.va-hero { display: flex; align-items: stretch; background: var(--color-bg-surface); border: 1px solid #D6DED3; border-radius: 22px; box-shadow: var(--shadow-lift); overflow: hidden; cursor: pointer; }
.va-hero-dag { flex-shrink: 0; width: 150px; background: var(--color-accent-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 24px 10px; }
.va-hero-getal { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 74px; line-height: 0.9; color: var(--color-accent); }
.va-hero-dag .lbl { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-accent); font-weight: var(--fw-semibold); }
.va-hero-info { flex: 1; min-width: 0; padding: 22px 26px; display: flex; flex-direction: column; gap: 6px; }
.va-hero-merk { display: inline-flex; align-items: center; font-size: 12px; font-weight: var(--fw-bold); color: #fff; background: var(--color-accent); border-radius: 7px; padding: 4px 9px; align-self: flex-start; }
.va-hero-naam { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 46px; line-height: 0.95; letter-spacing: 0.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.va-hero-sub { font-size: 13px; color: var(--color-text-secondary); }
.va-hero-acties { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.va-hero-knop { height: 40px; padding: 0 16px; border-radius: 12px; background: var(--color-accent); color: #fff; display: inline-flex; align-items: center; font-size: 14px; font-weight: var(--fw-bold); text-decoration: none; }
.va-hero-knop.stil { background: var(--color-bg-page); color: var(--color-text-primary); font-weight: var(--fw-semibold); }
.va-hero-open { flex-shrink: 0; padding: 22px 26px 22px 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.va-hero-open b { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 40px; line-height: 1; color: var(--color-accent); }
.va-hero-open span { font-size: 11px; color: var(--color-text-tertiary); }
@media (max-width: 760px) {
  .va-hero { flex-wrap: wrap; }
  .va-hero-dag { width: 100%; flex-direction: row; gap: 10px; padding: 14px; }
  .va-hero-getal { font-size: 46px; }
  .va-hero-open { padding: 0 26px 20px; }
}

/* de shoots daarna, klein */
body .va-shoot-row { display: flex; flex-direction: column; gap: 10px; margin: 0; }
body .va-shoot-card { border: 1px solid var(--color-border-soft); border-radius: 16px; padding: 14px 18px; gap: 16px; }
body .va-shoot-card:hover { border-color: #D6DED3; }
body .va-shoot-days { font-size: 34px; color: #8A6320; }
body .va-shoot-open { font-size: 28px; }

/* cijfers rechts */
.va-stat-kolom { display: grid; gap: 10px; }
body .va-stat { border: 1px solid var(--color-border-soft); border-radius: 16px; padding: 14px 18px; gap: 14px; }
body .va-stat-num { font-size: 40px; }
body .va-stat-num.butter { color: #8A6320; }
body .va-stat-num.duck { color: #2f5445; }

/* in de doka */
.va-doka { background: var(--color-bg-surface); border: 1px solid var(--color-border-soft); border-radius: 18px; padding: 14px 18px 16px; }
.va-doka h2 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 30px; line-height: 1; margin: 0 0 8px; letter-spacing: 0.5px; }
.va-doka-rij { display: grid; grid-template-columns: 88px minmax(0, 1fr) 22px; align-items: center; gap: 10px; padding: 4px 0; font-size: 12px; }
.va-doka-naam { color: var(--color-text-secondary); }
.va-doka-baan { height: 7px; border-radius: 4px; background: var(--color-bg-soft); overflow: hidden; }
.va-doka-baan > span { display: block; height: 100%; border-radius: 4px; }
.va-doka-getal { font-weight: var(--fw-bold); text-align: right; }

/* let op */
body .va-sig-lijst { margin-bottom: 0; }
body .va-sig { border: 1px solid var(--color-border-soft); border-left: 3px solid var(--color-border-subtle); border-radius: 14px; }
body .va-sig-hoog { border-left-color: var(--color-accent); }
body .va-sig-let_op { border-left-color: #D4A24A; }
body .va-sig-aantal { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 30px; line-height: 1; min-width: 34px; }
body .va-sig-knop { border: 0; background: var(--color-bg-page); color: var(--color-text-primary); border-radius: 10px; padding: 9px 14px; font-weight: var(--fw-semibold); }
body .va-sig-knop:hover { background: var(--color-accent); color: #fff; }
body .va-sig-hoog .va-sig-knop { background: var(--color-accent); color: #fff; }

/* kaarten onderin */
body .va-school-card, body .va-empty { border: 1px solid var(--color-border-soft); border-radius: 18px; }
body .va-school-card:hover { border-color: #D6DED3; box-shadow: var(--shadow-lift-klein); }
body .va-kcard { border: 1px solid var(--color-border-soft); border-radius: 16px; }
body .va-kcard:hover { border-color: #D6DED3; }
body .va-kanban { background: transparent; padding: 0; }
body .va-kcnt { border: 1px solid var(--color-border-soft); }
body .va-step { background: var(--color-bg-page); color: var(--color-text-primary); border-radius: 9px; }
body .va-step:hover { background: var(--color-accent-soft); color: var(--color-accent); }
body .va-progress > div { background: #c6d6cc; }

/* blok van het dashboard dat werkdag.js onder de shoots schuift */
body .ov-kolommen:has(> :only-child) { grid-template-columns: 1fr; }
body .ov-cijfer, body .ov-kaart, body .ov-blok { border: 1px solid var(--color-border-soft); border-radius: 16px; }
body .ov-cijfers { gap: 10px; }

/* ---------- Galerijen als kaarten met de cover erop ---------- */
body .gal-rooster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
body .gal-kaart { padding: 0; border: 1px solid var(--color-border-soft); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: var(--color-bg-surface); transition: box-shadow 0.15s ease, border-color 0.15s ease; }
body .gal-kaart:hover { border-color: #D6DED3; box-shadow: var(--shadow-lift-klein); }
.gal-kcover { display: block; aspect-ratio: 16 / 10; background: var(--color-bg-soft); position: relative; overflow: hidden; }
.gal-kcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-kleeg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 72px; line-height: 1; color: #BFC9BC; }
.gal-ktekst { display: flex; flex-direction: column; padding: 14px 18px 16px; flex-grow: 1; }
body .gal-knaam { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 30px; line-height: 1; letter-spacing: 0.5px; }
body .gal-kklant { font-size: 13px; color: var(--color-text-secondary); margin-top: 4px; }
body .gal-kvoet { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
body .gal-aantal { font-size: 12px; color: var(--color-text-tertiary); margin-left: auto; }

/* ============================================================
   Laag over alle modules heen. Alleen kleur, rand, hoek en kop.
   Geen indeling, zodat niets kan verspringen.
   ============================================================ */

/* Alles wat een kaart, tegel, blok, paneel of vak heet krijgt
   dezelfde warme rand en ronding. */
body [class*="kaart"],
body [class*="-card"],
body [class*="tegel"],
body [class*="-blok"],
body [class*="paneel"],
body [class*="-vak"],
body [class*="-doos"] {
  border-radius: 18px;
}
body [class*="kaart"]:not([class*="kop"]):not([class*="cover"]),
body [class*="tegel"],
body [class*="-blok"],
body [class*="paneel"] {
  border-color: var(--color-border-soft);
}

/* Koppen in het handschrift van de huisstijl */
body h1 { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: 0.5px; line-height: 1; }
body h2 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 34px; letter-spacing: 0.5px; line-height: 1; }
body h3 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 26px; letter-spacing: 0.5px; line-height: 1; }

/* Invoer overal gelijk */
body input[type="text"], body input[type="search"], body input[type="email"],
body input[type="tel"], body input[type="url"], body input[type="number"],
body input[type="date"], body input[type="time"], body input[type="password"],
body select, body textarea {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
}
body input:focus, body select:focus, body textarea:focus { border-color: var(--color-accent); outline: none; }

/* Tabellen: fijne warme lijnen in plaats van grijze blokken */
body table { border-collapse: collapse; }
body th { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-tertiary); font-weight: var(--fw-semibold); }
body td, body th { border-color: var(--color-border-soft); }
body tr:hover > td { background: rgba(255, 255, 255, 0.6); }

/* Lades en zijpanelen */
body [class*="lade"], body [class*="drawer"] { background: var(--color-bg-surface); border-color: var(--color-border-soft); }

/* Harde grijze schaduwen uit oude modules zachter maken */
body [class*="kaart"], body [class*="tegel"] { box-shadow: none; }
body [class*="kaart"]:hover { box-shadow: var(--shadow-lift-klein); }

/* Eén geheel: de hoofdknop van een scherm is altijd de koraal knop rechtsboven */
body .page-head .actions .btn:last-child,
body .page-head .actions .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
  font-weight: var(--fw-bold);
}
body .page-head .actions .btn:last-child:hover,
body .page-head .actions .btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}
/* Uitleg onder een kop overal gelijk */
body .page-head + p, body .page-head ~ p.uitleg { color: var(--color-text-secondary); font-size: 13px; }

/* ============================================================
   Zacht wit: geen kaderlijnen, bijna rechte hoeken en een
   lichte schaduw. Eén regel voor alle modules.
   ============================================================ */
body [class*="kaart"], body [class*="tegel"], body [class*="-blok"], body [class*="paneel"],
body [class*="-vak"], body [class*="-doos"], body .card, body .tile,
body .va-stat, body .va-sig, body .va-doka, body .va-empty, body .va-hero,
body .va-kcard, body .va-school-card, body .va-shoot-card,
body .gal-kaart, body .ov-cijfer, body .ov-kaart {
  border: 0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(35, 40, 37, 0.05), 0 10px 24px -16px rgba(35, 40, 37, 0.30);
}
body [class*="kaart"]:hover, body .tile:hover, body .va-kcard:hover,
body .va-school-card:hover, body .va-shoot-card:hover, body .gal-kaart:hover {
  box-shadow: 0 1px 2px rgba(35, 40, 37, 0.06), 0 16px 30px -18px rgba(35, 40, 37, 0.40);
}
/* de streep links op een signaal blijft, die zegt hoe dringend het is */
body .va-sig { border-left: 3px solid var(--color-border-subtle); }
body .va-sig-hoog { border-left-color: var(--color-accent); }
body .va-sig-let_op { border-left-color: #D4A24A; }
body .va-sig-info { border-left-color: var(--color-border-subtle); }
/* hoeken van knoppen en velden mee omlaag, anders vloekt het */
body .btn, body .va-hero-knop, body .va-sig-knop,
body input[type="text"], body input[type="search"], body input[type="email"],
body input[type="tel"], body input[type="url"], body input[type="number"],
body input[type="date"], body input[type="time"], body input[type="password"],
body select, body textarea { border-radius: 6px; }
body .gal-kcover { border-radius: 0; }
body .gal-kaart { overflow: hidden; }

/* ============================================================
   Tabbladen binnen een module overal gelijk: een rustig bakje
   met het actieve blad als wit kaartje. De roze pillen bovenaan
   blijven het hoogste niveau.
   ============================================================ */
body .st-tabs, body .pr-tabs-hoofd, body .bz-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--color-bg-soft);
  padding: 3px;
  border: 0;
  border-radius: 6px;
  width: max-content;
  max-width: 100%;
}
body .st-tab, body .pr-tab-hoofd, body .bz-tab {
  border: 0;
  background: transparent;
  height: 32px;
  padding: 0 13px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
}
body .st-tab:hover, body .pr-tab-hoofd:hover, body .bz-tab:hover { color: var(--color-text-primary); }
body .st-tab.active, body .pr-tab-hoofd.active, body .bz-tab.active {
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
  box-shadow: 0 1px 2px rgba(35, 40, 37, 0.10);
}

/* ============================================================
   Ritme: dezelfde marges, dezelfde kopmaat en dezelfde lucht
   op elk scherm. Zo voelt het als één app.
   ============================================================ */
body .main { max-width: 1340px; margin: 0 auto; padding: 32px 44px 64px; }
@media (max-width: 900px) { body .main { padding: 24px 18px 48px; padding-top: 64px; } }

body .page-head { align-items: flex-end; margin-bottom: 20px; }
body .page-head h1 { font-size: 56px; }
@media (max-width: 700px) { body .page-head h1 { font-size: 40px; } }
body .page-head .breadcrumb { display: none; }

/* Uitleg onder een kop: rustige regel, niet te breed */
body .main > p { max-width: 68ch; color: var(--color-text-secondary); font-size: 13.5px; line-height: 1.55; }

/* Lijsten en tabellen wat meer lucht */
body td { padding-top: 11px; padding-bottom: 11px; }
body th { padding-top: 10px; padding-bottom: 10px; }

/* Zoekbalk en filters op één lijn met ruimte eronder */
body [class*="-bar"], body [class*="-filters"] { margin-bottom: 18px; }

/* ---------- Agenda: de dag als kop, de afspraken als kaartjes ---------- */
body .ag-lijst { display: flex; flex-direction: column; gap: 8px; background: transparent; }
body .ag-dagkop {
  background: transparent;
  border: 0;
  padding: 22px 2px 4px;
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-size: 26px;
  letter-spacing: 0.5px;
  color: var(--color-text-primary);
}
body .ag-rij {
  background: var(--color-bg-surface);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(35, 40, 37, 0.05), 0 10px 24px -16px rgba(35, 40, 37, 0.30);
  padding: 14px 18px;
  align-items: center;
}
body .ag-rij:hover { box-shadow: 0 1px 2px rgba(35, 40, 37, 0.06), 0 16px 30px -18px rgba(35, 40, 37, 0.40); }
body .ag-tijd { font-size: 13px; font-weight: var(--fw-semibold); color: var(--color-text-secondary); }
body .ag-titel { font-size: 15px; font-weight: var(--fw-semibold); }
body .ag-cel { font-size: 13px; color: var(--color-text-secondary); }

/* ============================================================
   Onderdelen die in bijna elke module voorkomen, nu overal
   hetzelfde. Ze heten per module anders (kl-, bs-, off-, tk-),
   maar het achtervoegsel is steeds gelijk.
   ============================================================ */

/* Filterpillen */
body [class$="-pil"] {
  height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-medium);
  cursor: pointer;
  white-space: nowrap;
}
body [class$="-pil"]:hover { color: var(--color-text-primary); }
body [class$="-pil"].active, body [class$="-pil"].aan, body [class$="-pil"][aria-pressed="true"] {
  background: var(--color-accent);
  color: #FFFFFF;
  font-weight: var(--fw-bold);
}

/* Rijen in een lijst als los kaartje */
body [class$="-lijst"] > [class$="-rij"] {
  background: var(--color-bg-surface);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(35, 40, 37, 0.05), 0 10px 24px -16px rgba(35, 40, 37, 0.30);
  padding: 12px 18px;
  align-items: center;
}
body [class$="-lijst"] > [class$="-rij"]:hover {
  box-shadow: 0 1px 2px rgba(35, 40, 37, 0.06), 0 16px 30px -18px rgba(35, 40, 37, 0.40);
}
body [class$="-lijst"] > [class$="-rij"].kop {
  background: transparent;
  box-shadow: none;
  padding: 0 18px 6px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}
body [class$="-lijst"] { display: flex; flex-direction: column; gap: 6px; background: transparent; }
body [class$="-naam"] { font-size: 15px; font-weight: var(--fw-semibold); }

/* Cijferblokjes bovenaan een scherm */
body [class$="-cijfers"] { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 22px; }
body [class$="-cijfer"] {
  background: var(--color-bg-surface);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(35, 40, 37, 0.05), 0 10px 24px -16px rgba(35, 40, 37, 0.30);
  padding: 14px 18px;
}
body [class$="-cijfer"] .n { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 40px; line-height: 1; letter-spacing: 0.5px; }
body [class$="-cijfer"] .l { font-size: 13px; color: var(--color-text-secondary); }
body [class$="-cijfer"].let .n { color: var(--color-accent); }

/* Balk met zoekveld en filters */
body [class$="-bar"] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
body [class$="-tel"] { margin-left: auto; font-size: 12px; color: var(--color-text-tertiary); }
body [class$="-zoek"] { flex: 1; min-width: 220px; max-width: 420px; }

/* Elke moduletitel even groot, ook als de module geen page-head gebruikt */
body .main h1 { font-size: 56px; line-height: 1; letter-spacing: 0.5px; margin: 0 0 2px; }
@media (max-width: 700px) { body .main h1 { font-size: 40px; } }

/* ---------- Nu doen: regel per school ---------- */
.nd-lijst { display: flex; flex-direction: column; gap: 8px; }
body .nd-rij { background: var(--color-bg-surface); border: 0; border-radius: 4px; box-shadow: 0 1px 2px rgba(35,40,37,0.05), 0 10px 24px -16px rgba(35,40,37,0.30); padding: 12px 16px; display: flex; align-items: center; gap: 16px; cursor: pointer; }
body .nd-rij:hover { box-shadow: 0 1px 2px rgba(35,40,37,0.06), 0 16px 30px -18px rgba(35,40,37,0.40); }
.nd-letter { width: 44px; height: 44px; border-radius: 4px; background: var(--color-bg-soft); color: var(--color-text-secondary); font-family: var(--font-display); font-weight: var(--fw-display); font-size: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nd-tekst { display: flex; flex-direction: column; gap: 7px; min-width: 0; flex: 1; }
.nd-naam { font-size: 15px; font-weight: var(--fw-semibold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-balk { display: grid; grid-template-columns: repeat(5, 28px); gap: 3px; }
.nd-vak { display: block; height: 5px; border-radius: 3px; background: #E1E7DF; }
.nd-vak.bezig { background: var(--color-accent); }
.nd-vak.klaar { background: var(--color-text-primary); }
.nd-stap { display: flex; flex-direction: column; gap: 2px; width: 240px; flex-shrink: 0; }
.nd-stap-l { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-text-tertiary); }
.nd-stap-t { font-size: 13px; color: var(--color-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-open { font-size: 12px; color: var(--color-text-tertiary); width: 62px; text-align: right; flex-shrink: 0; }
body .nd-rij .nd-knop { flex-shrink: 0; height: 36px; padding: 0 15px; border: 0; border-radius: 6px; background: var(--color-accent); color: #FFFFFF; font-family: var(--font-body); font-size: 13px; font-weight: var(--fw-bold); cursor: pointer; text-decoration: none; }
body .nd-rij .nd-knop:hover { background: var(--color-accent-hover); color: #FFFFFF; }
@media (max-width: 1000px) { .nd-stap { display: none; } .nd-open { display: none; } }

/* ---------- Het bord: een kolom per fase ---------- */
.kb-bord { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .kb-bord { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kb-kolom { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.kb-kop { display: flex; align-items: baseline; gap: 6px; }
.kb-titel { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 26px; line-height: 1; flex: 1; }
.kb-tel { font-size: 12px; font-weight: var(--fw-bold); color: var(--color-text-tertiary); }
.kb-streep { display: block; height: 3px; border-radius: 2px; background: #c6d6cc; margin-bottom: 2px; }
.kb-streep.shoot { background: var(--color-accent); }
.kb-streep.nawerk { background: #D4A24A; }
.kb-streep.levering { background: #9db5a8; }
.kb-streep.afsluiting { background: var(--color-text-primary); }
body .kb-kaart { background: var(--color-bg-surface); border: 0; border-radius: 4px; box-shadow: 0 1px 2px rgba(35,40,37,0.05), 0 10px 24px -16px rgba(35,40,37,0.30); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; }
body .kb-kaart:hover { box-shadow: 0 1px 2px rgba(35,40,37,0.06), 0 16px 30px -18px rgba(35,40,37,0.40); }
.kb-naam { font-size: 13.5px; font-weight: var(--fw-semibold); line-height: 1.3; }
.kb-datum { font-size: 11px; color: var(--color-text-tertiary); }
body .kb-kaart .kb-knop { margin-top: 7px; height: 32px; border: 0; border-radius: 6px; background: var(--color-bg-page); color: var(--color-text-primary); font-family: var(--font-body); font-size: 12px; font-weight: var(--fw-semibold); text-align: left; padding: 0 10px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body .kb-kaart .kb-knop:hover { background: var(--color-accent); color: #FFFFFF; }
.kb-klaar { font-size: 11px; color: #5b7f6c; margin-top: 6px; }
.kb-leeg { font-size: 12px; color: var(--color-text-tertiary); padding: 10px 0; text-align: center; }

/* Schuifje naast de vinkjes van de koppenkaart */
.kk-schuif { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-secondary); }
.kk-schuif input[type="range"] { width: 110px; accent-color: var(--color-accent); }
.kk-schuif b { font-size: 12px; font-weight: var(--fw-bold); color: var(--color-text-primary); min-width: 34px; }

/* ============================================================
   Zijbalk zoals in het ontwerp: rustig papiervlak, woorden
   groter, groepen klein in kapitalen, het actieve blad als wit
   kaartje met een koraal stip ervoor.
   ============================================================ */
body .sidebar { width: 248px; padding: 24px 14px 18px; gap: 2px; }
body .app-shell { grid-template-columns: 248px 1fr; }
body .brand { padding: 4px 8px 22px; }
body .brand-mark.has-img { height: 56px; }
body .section-label {
  padding: 20px 10px 6px;
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: var(--fw-semibold);
  color: var(--color-text-tertiary);
}
body .nav-item {
  position: relative;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--color-text-secondary);
}
body .nav-item .nav-icon { width: 17px; height: 17px; opacity: 0.75; }
body .nav-item:hover { background: rgba(255, 255, 255, 0.75); color: var(--color-text-primary); }
body .nav-item.active {
  background: var(--color-bg-surface);
  color: var(--color-text-primary);
  font-weight: var(--fw-semibold);
  box-shadow: 0 1px 2px rgba(35, 40, 37, 0.06), 0 8px 18px -12px rgba(35, 40, 37, 0.35);
}
body .nav-item.active::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--color-accent);
}
body .nav-item.active .nav-icon { color: var(--color-accent); opacity: 1; }
body .sub-label { padding: 14px 12px 2px; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; }
body .divider { margin: 14px 8px; border-top: 1px solid var(--color-border-soft); }
body .nav-groep > summary { padding-right: 12px; }
body .foot-btn { border-radius: 6px; font-size: 13px; }
@media (max-width: 900px) { body .app-shell { grid-template-columns: 1fr; } body .sidebar { width: 288px; } }

/* ============================================================
   Studio: al het gereedschap op een pagina, zoals in het ontwerp
   ============================================================ */
.st-kop { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.st-kop-l { flex-grow: 1; min-width: 260px; }
body .st-kop h1 { margin: 0; font-size: 72px; }
.st-kop p { margin: 6px 0 0; font-size: 15px; color: var(--color-text-secondary); max-width: 560px; line-height: 1.5; }
.st-filter { display: flex; gap: 4px; background: var(--color-bg-surface); border-radius: 24px; padding: 4px; box-shadow: var(--shadow-card); }
.st-filter button { height: 38px; border-radius: 19px; border: 0; background: transparent; color: var(--color-text-secondary); padding: 0 16px; font-family: var(--font-body); font-size: 13px; font-weight: var(--fw-semibold); cursor: pointer; white-space: nowrap; }
.st-filter button.aan { background: var(--color-text-primary); color: #FFFFFF; }
.st-rooster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1200px) { .st-rooster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .st-rooster { grid-template-columns: 1fr; } }
.st-groot { grid-column: span 2; grid-row: span 2; background: var(--color-bg-surface); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; box-shadow: var(--shadow-lift); }
.st-voorna { position: relative; display: flex; flex-grow: 1; min-height: 300px; }
.st-helft { flex-grow: 1; display: flex; align-items: flex-end; justify-content: center; }
.st-fig { width: 150px; height: 72%; border-radius: 75px 75px 14px 14px; background: #D9C7B8; }
.st-lijn { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #FFFFFF; }
.st-knop-rond { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; color: var(--color-text-primary); }
.st-vb { position: absolute; left: 16px; top: 16px; font-size: 11px; font-weight: var(--fw-bold); letter-spacing: 0.05em; background: #FFFFFF; border-radius: 999px; padding: 5px 10px; }
.st-groot-tekst { padding: 20px 24px 22px; display: flex; align-items: flex-end; gap: 16px; }
body .st-groot-tekst h2 { margin: 0; font-size: 44px; }
.st-groot-tekst p { margin: 4px 0 0; font-size: 14px; color: var(--color-text-secondary); line-height: 1.45; }
.st-open { height: 44px; border-radius: 22px; background: var(--color-accent); color: #FFFFFF; padding: 0 20px; display: flex; align-items: center; font-size: 14px; font-weight: var(--fw-bold); flex-shrink: 0; }
.st-tool { background: var(--color-bg-surface); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; box-shadow: var(--shadow-lift); }
.st-tool:hover, .st-groot:hover { box-shadow: 0 1px 2px rgba(35,40,37,0.06), 0 18px 32px -18px rgba(35,40,37,0.42); }
.st-beeld { height: 128px; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 18px; box-sizing: border-box; overflow: hidden; }
.st-tool-tekst { padding: 14px 18px 18px; }
.st-tool-naam { display: flex; align-items: center; gap: 8px; }
.st-tool-naam span:first-child { font-size: 16px; font-weight: var(--fw-bold); flex-grow: 1; }
.st-merk { font-size: 10px; font-weight: var(--fw-bold); letter-spacing: 0.08em; color: #5C3F18; background: #EFD6A0; border-radius: 999px; padding: 3px 8px; }
.st-tool-uit { font-size: 13px; color: var(--color-text-secondary); line-height: 1.4; margin-top: 3px; }

body .section-label:empty { display: none; }

.kb-soort { font-size: 11px; color: var(--color-text-secondary); background: var(--color-bg-soft); border-radius: 999px; padding: 2px 8px; align-self: flex-start; margin-top: 6px; }

/* ---------- Gekozen foto's met een rode cirkel, als op het contactvel ---------- */
body .gal-foto { position: relative; }
body .gal-foto:has(> .gal-fav)::after {
  content: "";
  position: absolute;
  inset: -4%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M52 7 C82 5 97 30 93 56 C89 83 60 97 35 91 C11 85 1 58 8 35 C15 14 36 5 61 11' fill='none' stroke='%23DC335A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  /* naam voor de zoekfunctie: gekozen-cirkel */
}
body .gal-foto > .gal-fav { z-index: 2; }

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   Telefoonregels (ronde 76, 5 okt 2026). Eén plek voor alles wat
   op een smal scherm niet breder mag worden dan het scherm.
   Modules brengen liever geen eigen CSS hiervoor mee.
   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   .shq-scroll  = wikkel om elke brede tabel (scrolt zijwaarts)
   .shq-sub-balk = segmentbalk, blijft op één regel en scrolt  */
body .main { min-width: 0; overflow-x: clip; }
.shq-sub-rij { max-width: 100%; }
.shq-sub-balk { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shq-sub-balk::-webkit-scrollbar { display: none; }
.shq-sub { white-space: nowrap; flex: 0 0 auto; }
.shq-scroll, .ink-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.shq-scroll table, .ink-scroll table { min-width: 640px; }
.shq-scroll th, .ink-scroll th { white-space: nowrap; }

/* Ronde 77: prijsvakjes met euroteken en variantrijen (Producten, Fysiek).
   Invoervelden die bewust zonder eigen rand in een omlijst vak staan: de
   algemene inputregel hierboven zou er anders een tweede rand omheen zetten.
   Variantrij: kolommen mogen krimpen, anders duwt de naam het prullenbakje
   buiten de kaart op een smal scherm. */
body .pr-variant-prijs input, body .pr-prod-prijs-wrap input, body input.pr-prod-prijs { border: 0; background: transparent; box-shadow: none; padding: 6px 0; min-height: 0; height: auto; }
body .pr-variant, body .pr-variant.heeft-druk { grid-template-columns: minmax(0, 1fr) 110px 40px; }
body .pr-variant > * { min-width: 0; }
body .pr-variant > input, body .pr-variant > select { width: 100%; }
body .pr-variant-prijs { width: 100%; }
body .pr-variant > button { min-width: 0; width: 40px; padding-left: 0; padding-right: 0; }
