@font-face { font-family: "Inter"; src: url("fonts/inter-latin.65850a373e25.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-ext.01ba6c2a184b.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-latin.25ea4a783c12.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --zwart: #0a0a0a;
  --lime: #c6ff3d;
  --lime-dim: #9ec91f;
  --bg: #f6f6f3;
  --kaart: #ffffff;
  --tekst: #16160f;
  --gedimd: #6b6b63;
  --lijn: #e3e3dc;
  --lijn-sterk: #cfcfc6;
  --focus: #5b8a00;
  --rood: #b42318;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { font-size: 15px; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; color: var(--tekst); background: var(--bg); line-height: 1.45; }
a { color: inherit; }
h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -0.01em; margin: 0 0 .5rem; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.15rem; }
.gedimd { color: var(--gedimd); }
.klein { font-size: .85rem; }
.rechts { text-align: right; }
.nowrap { white-space: nowrap; }

/* bovenbalk */
.balk { background: var(--zwart); color: #fff; display: flex; align-items: center; gap: 2rem; padding: 0 24px; height: 56px; position: sticky; top: 0; z-index: 20; }
.balk .logo svg { height: 30px; display: block; }
.balk nav { display: flex; gap: .25rem; flex: 1; }
.balk nav a { color: #cfcfcf; text-decoration: none; padding: .45rem .75rem; border-radius: 6px; font-weight: 500; }
.balk nav a:hover { color: #fff; background: #1c1c1c; }
.balk nav a.actief { color: var(--zwart); background: var(--lime); }
.balk .gebruiker { color: #9a9a9a; font-size: .9rem; display: flex; gap: .75rem; align-items: center; }
.balk .gebruiker button { background: none; border: 0; color: #cfcfcf; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

main { max-width: 1280px; margin: 0 auto; padding: 28px 24px 80px; }
.kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.kop h1 { margin: 0; }

.kaart { background: var(--kaart); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 18px 20px; }
.raster { display: grid; gap: 16px; }
.raster.k4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.raster.k2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* knoppen en velden */
.knop { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--lijn-sterk); background: #fff; color: var(--tekst);
  padding: .5rem .9rem; border-radius: 6px; font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.knop:hover { border-color: var(--tekst); }
.knop.primair { background: var(--zwart); color: #fff; border-color: var(--zwart); }
.knop.primair:hover { background: #2a2a2a; }
.knop.accent { background: var(--lime); border-color: var(--lime-dim); color: var(--zwart); }
.knop.klein { padding: .3rem .6rem; font-size: .85rem; }
.knop.gevaar { color: var(--rood); }
.knop:disabled { opacity: .5; cursor: default; }
.icoon { border: 0; background: none; cursor: pointer; color: var(--gedimd); padding: 4px 6px; border-radius: 4px; font-size: .95rem; line-height: 1; }
.icoon:hover { background: #efefe9; color: var(--tekst); }
.icoon.gevaar:hover { color: var(--rood); }

input:not([type=checkbox]):not([type=radio]), select, textarea { font: inherit; color: inherit; border: 1px solid var(--lijn-sterk); border-radius: 6px; padding: .45rem .6rem; background: #fff; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lime-dim); outline-offset: -1px; border-color: var(--focus); }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--gedimd); margin-bottom: .25rem; }
.veld { margin-bottom: .9rem; }
.velden { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; }
.zoekbalk { display: flex; gap: .5rem; }
.zoekbalk input { max-width: 360px; }
.fouten { color: var(--rood); font-size: .85rem; }

/* tabellen */
table.lijst { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; }
table.lijst th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gedimd); font-weight: 600; padding: .65rem .8rem; border-bottom: 1px solid var(--lijn); background: #fbfbf8; }
table.lijst td { padding: .6rem .8rem; border-bottom: 1px solid var(--lijn); vertical-align: top; }
table.lijst tr:last-child td { border-bottom: 0; }
table.lijst tbody tr:hover { background: #fafaf6; }
table.lijst a { text-decoration: none; font-weight: 500; }
table.lijst a:hover { text-decoration: underline; }

.label { display: inline-block; font-size: .75rem; font-weight: 600; padding: .15rem .5rem; border-radius: 99px; background: #ececE6; }
.label.concept { background: #ececE6; }
.label.verstuurd { background: #dbeafe; color: #1e3a8a; }
.label.geaccepteerd { background: #e2f7c2; color: #2f5200; }
.label.afgewezen { background: #fde2e1; color: #8a1c13; }
.label.vervallen { background: #eee; color: #777; }

.stat .getal { font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 600; }
.stat a { text-decoration: none; }

/* inloggen */
.inlog { max-width: 380px; margin: 12vh auto; }
.inlog .merk { background: var(--zwart); padding: 22px; border-radius: var(--radius) var(--radius) 0 0; }
.inlog .merk svg { height: 34px; display: block; }
.inlog .kaart { border-radius: 0 0 var(--radius) var(--radius); }

/* zoek-dropdown */
.zoeker { position: relative; }
.zoeker .resultaten { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; min-width: 460px; background: #fff; border: 1px solid var(--lijn-sterk); border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12); max-height: 380px; overflow: auto; }
.zoeker .resultaat { display: grid; grid-template-columns: 56px 1fr auto; gap: .6rem; padding: .5rem .75rem; cursor: pointer; align-items: baseline; border-bottom: 1px solid #f0f0ea; }
.zoeker .resultaat:last-child { border-bottom: 0; }
.zoeker .resultaat.actief, .zoeker .resultaat:hover { background: #f4fbe6; }
.zoeker .resultaat .nr { font-size: .8rem; color: var(--gedimd); font-variant-numeric: tabular-nums; }
.zoeker .resultaat .soort { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #2f5200; background: #e2f7c2; padding: .05rem .35rem; border-radius: 4px; margin-right: .35rem; }
.zoeker .resultaat .info { font-size: .8rem; color: var(--gedimd); }
.zoeker .leeg { padding: .75rem; color: var(--gedimd); font-size: .9rem; }

/* offerte-editor */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.editor aside { position: sticky; top: 76px; display: grid; gap: 16px; max-height: calc(100vh - 92px); overflow-y: auto; padding-bottom: 4px; grid-template-columns: minmax(0, 1fr); }
.positie { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); margin-bottom: 16px; }
.positie-kop { display: flex; align-items: center; gap: .5rem; padding: 10px 12px; border-bottom: 1px solid var(--lijn); background: #fbfbf8; border-radius: var(--radius) var(--radius) 0 0; }
.positie-kop .pnr { font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--gedimd); min-width: 2rem; }
.positie-kop input.titel { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.05rem; border-color: transparent; background: transparent; }
.positie-kop input.titel:hover { border-color: var(--lijn-sterk); }
.positie-kop .subtotaal { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; margin: 0 .5rem; }
table.regels { width: 100%; border-collapse: collapse; }
table.regels th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gedimd); font-weight: 600; text-align: left; padding: .4rem .35rem; }
table.regels td { padding: 2px 3px; border-top: 1px solid #f0f0ea; vertical-align: middle; }
table.regels input, table.regels select { border-color: transparent; background: transparent; padding: .35rem .4rem; }
table.regels input:hover, table.regels select:hover { border-color: var(--lijn-sterk); background: #fff; }
table.regels input:focus { background: #fff; }
table.regels .num { text-align: right; font-variant-numeric: tabular-nums; }
table.regels td.totaal { text-align: right; padding-right: .6rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.regels td.pos { color: var(--gedimd); font-size: .8rem; font-variant-numeric: tabular-nums; padding-left: .7rem; white-space: nowrap; }
table.regels input.toel { font-size: .82rem; color: var(--gedimd); padding-top: 0; padding-bottom: .15rem; }
table.regels tr:not(:hover):not(:focus-within) input.toel:placeholder-shown { opacity: 0; }
table.regels .bron { font-size: .72rem; color: var(--gedimd); padding: 0 .4rem; }
table.regels tr .acties { opacity: 0; white-space: nowrap; }
table.regels tr:hover .acties, table.regels tr:focus-within .acties { opacity: 1; }
.positie-voet { display: flex; gap: .5rem; padding: 10px 12px; border-top: 1px solid var(--lijn); align-items: center; }
.positie-voet .aantal { width: 84px; flex: none; text-align: right; }
.positie-voet .zoeker { flex: 1; }
.totalen dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 0; font-variant-numeric: tabular-nums; }
.totalen dt { color: var(--gedimd); }
.totalen dd { margin: 0; text-align: right; }
.totalen .groot { font-size: 1.35rem; font-weight: 700; color: var(--tekst); font-family: "Space Grotesk", sans-serif; }
.melding { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--zwart); color: #fff; padding: .6rem 1rem; border-radius: 8px; font-size: .9rem; z-index: 50; }
.melding.fout { background: var(--rood); }
.opslaan-status { font-size: .8rem; color: var(--gedimd); }
.vergrendeld { background: #fff7e0; border: 1px solid #f1d58a; padding: .7rem 1rem; border-radius: 8px; margin-bottom: 16px; display: flex; gap: 1rem; align-items: center; justify-content: space-between; }

@media (max-width: 1000px) {
  .editor { grid-template-columns: 1fr; }
  .editor aside { position: static; max-height: none; overflow: visible; }
  .balk { gap: 1rem; overflow-x: auto; }
}

/* fases */
.label.fase-lead { background: #ececE6; }
.label.fase-afspraak { background: #e0ecff; color: #1e3a8a; }
.label.fase-bezocht { background: #dbeafe; color: #1e3a8a; }
.label.fase-offerte { background: #fff1c2; color: #7a5300; }
.label.fase-getekend { background: #e2f7c2; color: #2f5200; }
.label.fase-uitvoering { background: #d3f2c0; color: #234000; }
.label.fase-opgeleverd { background: #c6ff3d; color: #0a0a0a; }
.label.fase-wachtend { background: #efe4ff; color: #4b2a85; }
.label.fase-verloren { background: #fde2e1; color: #8a1c13; }
.label.fase-archief { background: #eee; color: #777; }
.getal.positief { color: #2f5200; }
.getal.negatief { color: var(--rood); }
.stat .getal { font-size: 1.7rem; }
.waarschuwing { color: #a15c00; font-weight: 600; }

.funnelbalk { display: flex; gap: 6px; overflow-x: auto; }
.funnelbalk a { flex: 1; min-width: 104px; background: #fff; border: 1px solid var(--lijn); border-radius: 8px; padding: 10px 12px; text-decoration: none; display: flex; flex-direction: column; }
.funnelbalk a:hover { border-color: var(--tekst); }
.funnelbalk .getal { font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; font-weight: 600; }
.funnelbalk .klein { color: var(--gedimd); line-height: 1.2; }

/* funnelbord */
.bord { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 12px; align-items: start; }
.kolom { background: #efefe9; border-radius: 10px; padding: 10px; min-height: 200px; }
.kolom.doel { outline: 2px dashed var(--lime-dim); }
.kolom h3 { font-size: .95rem; margin: 2px 2px 10px; }
.kaartje { background: #fff; border: 1px solid var(--lijn); border-radius: 8px; padding: 10px; margin-bottom: 8px; cursor: grab; }
.kaartje.sleept { opacity: .4; }
.kaartje a { text-decoration: none; }
.kaartje select { margin-top: 6px; padding: .25rem .4rem; }
.kolom .leeg { margin: 4px; }

/* dossier */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--lijn-sterk); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: .6rem .9rem; text-decoration: none; color: var(--gedimd); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.actief { color: var(--tekst); border-bottom-color: var(--zwart); }
.tabs .teller { font-size: .75rem; background: #ececE6; border-radius: 99px; padding: .05rem .4rem; margin-left: .2rem; }
.logitem { padding: 10px 0; border-bottom: 1px solid var(--lijn); }
.logitem:last-child { border-bottom: 0; }
.logitem .label { font-size: .7rem; margin-right: .3rem; }
.logitem.soort-fase .label, .logitem.soort-offerte .label { background: #fff1c2; }
.uploadvak { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.uploadvak input[type=file] { width: auto; flex: 1; min-width: 240px; }
.galerij { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.galerij figure { margin: 0; background: #fff; border: 1px solid var(--lijn); border-radius: 8px; overflow: hidden; }
.galerij figure > a { display: block; aspect-ratio: 4/3; background: #1a1a1a; position: relative; }
.galerij img, .galerij video { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerij .speel { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.galerij .document { position: absolute; inset: 0; display: grid; place-items: center; color: var(--lime); font-family: "Space Grotesk", sans-serif; font-size: 1.4rem; font-weight: 600; }
.galerij figcaption { padding: 8px 10px; font-size: .88rem; }
.galerij figcaption .icoon { font-size: .75rem; padding: 2px 0; }

/* editor: dienstgroep en kosten */
table.regels tr.groep td { background: #f6fbe9; border-top: 1px solid #e3efc6; padding-top: 6px; padding-bottom: 6px; }
table.regels tr.groep .groepnaam { font-weight: 600; font-size: .88rem; }
table.regels tr.groep .soort { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #2f5200; background: #e2f7c2; padding: .05rem .35rem; border-radius: 4px; margin-right: .35rem; }
table.regels tr.in-groep td.pos { border-left: 3px solid #d7ecaa; }
table.regels tr.groep input { background: #fff; border-color: var(--lijn-sterk); font-weight: 600; }
.kosten-rij { display: grid; grid-template-columns: 96px 1fr 80px 22px; gap: 4px; margin-bottom: 4px; align-items: center; }
.kosten-rij input, .kosten-rij select { padding: .3rem .4rem; font-size: .88rem; }
.marge { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--lijn); }
.marge dl { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; margin: 0; font-variant-numeric: tabular-nums; }
.marge dd { margin: 0; text-align: right; }
.intern { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8a1c13; background: #fde2e1; padding: .1rem .4rem; border-radius: 4px; vertical-align: middle; }

/* oplevering */
table.checklist td { vertical-align: middle; }
.keuze { display: inline-flex; border: 1px solid var(--lijn-sterk); border-radius: 6px; overflow: hidden; }
.keuze label { margin: 0; font-size: .82rem; font-weight: 500; color: var(--tekst); padding: .3rem .6rem; cursor: pointer; border-right: 1px solid var(--lijn-sterk); }
.keuze label:last-child { border-right: 0; }
.keuze input { position: absolute; opacity: 0; width: 1px; }
.keuze input:checked + span { font-weight: 700; }
.keuze label:has(input:checked) { background: var(--zwart); color: #fff; }
.keuze label.ok:has(input:checked) { background: #2f5200; }
.keuze label.punt:has(input:checked) { background: #a15c00; }
.keuze label:has(input:focus-visible) { outline: 2px solid var(--lime-dim); }
.handtekening { border: 1px dashed var(--lijn-sterk); border-radius: 8px; background: #fff; width: 100%; height: 160px; touch-action: none; display: block; }
.handtekening-afb { max-width: 100%; height: 120px; border: 1px solid var(--lijn); border-radius: 8px; background: #fff; }
a.kaart { text-decoration: none; display: block; }
a.kaart:hover { border-color: var(--tekst); }

/* dashboard-funnel */
.fase-tegel { flex: 1; min-width: 104px; background: #fff; border: 1px solid var(--lijn); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; text-align: left; font: inherit; cursor: pointer; color: inherit; }
.fase-tegel:hover, .fase-tegel.open { border-color: var(--tekst); }
.fase-tegel.open { box-shadow: inset 0 -3px 0 var(--lime-dim); }
.funnelbalk.slepen .fase-tegel { border-style: dashed; }
.fase-tegel.doel, .fase-paneel.doel { outline: 2px solid var(--lime-dim); background: #f4fbe6; }
.funnel-panelen { display: grid; gap: 10px; margin-top: 10px; }
.fase-paneel { background: #efefe9; border-radius: 10px; padding: 10px 12px; }
.fase-paneel .paneel-kop { display: flex; gap: .6rem; align-items: baseline; margin-bottom: 8px; }
.kaartjes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.kaartjes .kaartje { margin: 0; }

.berichten { display: grid; gap: 8px; margin-bottom: 16px; }
.bericht { padding: .65rem 1rem; border-radius: 8px; background: #e2f7c2; color: #234000; border: 1px solid #c9e89a; }
.bericht.error { background: #fde2e1; color: #8a1c13; border-color: #f5c2bf; }
.gegevenslijst { display: grid; grid-template-columns: 140px 1fr; gap: .4rem 1rem; margin: 0; }
.gegevenslijst dt { color: var(--gedimd); font-size: .88rem; }
.gegevenslijst dd { margin: 0; }

.bezig-blok { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px 16px; border-radius: 8px; background: #f4fbe6; border: 1px solid #d7ecaa; }
.draaier { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 3px solid #d7ecaa; border-top-color: #2f5200; animation: draai .9s linear infinite; }
@keyframes draai { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .draaier { animation-duration: 3s; } }

.veldenlijst { display: grid; grid-template-columns: auto 1fr; gap: .25rem .6rem; margin: 0; font-size: .82rem; }
.veldenlijst dt code { font-size: .78rem; background: #f0f0ea; padding: .05rem .3rem; border-radius: 4px; }
.veldenlijst dd { margin: 0; color: var(--gedimd); }
.mailvoorbeeld { background: #fff; border: 1px solid var(--lijn); border-radius: 8px; overflow: hidden; }
.mailkop { padding: 12px 16px; border-bottom: 1px solid var(--lijn); background: #fbfbf8; display: grid; gap: 4px; font-size: .9rem; }
.mailkop .gedimd { display: inline-block; width: 82px; }
.mailtekst { padding: 16px; white-space: pre-line; line-height: 1.55; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

.sleepvak { border: 2px dashed var(--lijn-sterk); border-radius: 10px; padding: 14px 16px; margin: 6px 0 16px; background: #fbfbf8; }
.sleepvak.doel { border-color: var(--lime-dim); background: #f4fbe6; }
.sleepvak.bezig { opacity: .7; }
.sleepvak textarea { background: #fff; }
.sleepvak-acties { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.ingevuld { background: #f4fbe6 !important; border-color: var(--lime-dim) !important; }
.rolkeuze { border: 0; padding: 0; margin: 0 0 .9rem; }
.rolkeuze legend { font-size: .82rem; font-weight: 600; color: var(--gedimd); margin-bottom: .3rem; }
.rolkeuze label { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; color: inherit; font-size: .9rem; margin-bottom: .35rem; }

table.cijfers td, table.cijfers th { text-align: right; white-space: nowrap; }
table.cijfers td:first-child, table.cijfers th:first-child { text-align: left; }
table.cijfers tr.totaalrij td { font-weight: 700; background: #fbfbf8; border-top: 2px solid var(--lijn-sterk); }
.staven { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 220px; padding-top: 18px; }
.staaf { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.staaf .balk-in { width: 100%; max-width: 44px; background: var(--lime-dim); border-radius: 4px 4px 0 0; min-height: 2px; }
.staaf .bedrag { font-size: .7rem; color: var(--gedimd); margin-bottom: 3px; font-variant-numeric: tabular-nums; }
.staaf .maand { font-size: .72rem; color: var(--gedimd); margin-top: 6px; white-space: nowrap; }

/* projecten en planning */
.label.projectstatus-gepland { background: #e0ecff; color: #1e3a8a; }
.label.projectstatus-bezig { background: #fff1c2; color: #7a5300; }
.label.projectstatus-klaar { background: #e2f7c2; color: #2f5200; }
.label.projectstatus-geannuleerd { background: #eee; color: #777; }
.bestandkeuze { display: grid; grid-template-columns: 20px 56px 1fr; gap: .5rem; align-items: center; font-weight: 400; color: inherit; margin-bottom: 6px; }
.bestandkeuze input { width: auto; }
.bestandkeuze img, .bestandkeuze .docje { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; background: #1a1a1a; color: var(--lime); font-size: .7rem; display: grid; place-items: center; }
.gantt-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); margin-bottom: 8px; }
.gantt { display: grid; grid-template-columns: 170px repeat(var(--kolommen), minmax(22px, 1fr)); min-width: 1100px; font-size: .8rem; }
.g-kop { background: #fbfbf8; }
.g-week { padding: 6px 8px; font-weight: 600; color: var(--gedimd); border-left: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); background: #fbfbf8; white-space: nowrap; overflow: hidden; }
.g-dag { text-align: center; padding: 3px 0; color: var(--gedimd); border-bottom: 1px solid var(--lijn); background: #fbfbf8; }
.g-dag.weekend, .g-cel.weekend { background: #f0f0ea; }
.g-dag.vandaag { background: var(--lime); color: var(--zwart); font-weight: 700; }
.g-cel.vandaag { background: #f4fbe6; }
.g-naam { padding: 8px 10px; border-bottom: 1px solid var(--lijn); position: sticky; left: 0; background: #fff; z-index: 2; }
.g-naam a { text-decoration: none; font-weight: 600; }
.g-rij { display: grid; grid-template-columns: repeat(var(--kolommen), minmax(22px, 1fr)); grid-auto-rows: minmax(26px, auto); border-bottom: 1px solid var(--lijn); position: relative; padding: 6px 0; row-gap: 4px; }
.g-cel { border-left: 1px solid #f4f4ef; margin: -6px 0; }
.g-balk { z-index: 1; border-radius: 6px; padding: 4px 8px; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0 1px; }
.g-balk.projectstatus-gepland { background: #dbe7ff; color: #1e3a8a; }
.g-balk.projectstatus-bezig { background: #ffe9a8; color: #6b4a00; }
.g-balk.projectstatus-klaar { background: #d7f2b0; color: #2f5200; }
.g-balk.te-laat { outline: 2px solid var(--rood); }
