@font-face { font-family: Satoshi; src: url(fonts/satoshi-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Satoshi; src: url(fonts/satoshi-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url(fonts/satoshi-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
    --groen: #2f9460;
    --groen-donker: #247a4e;
    --groen-zacht: #eaf4ef;
    --groen-rand: #cfe5d9;
    --inkt: #1f2b25;
    --tekst: #47544d;
    --grijs: #7d8a83;
    --rand: #e1ebe5;
    --vlak: #f5f9f6;
    --wit: #fff;
    --rood: #c8483f;
    --rood-zacht: #fdeeec;
    --geel-zacht: #fff6cf;
    --geel: #8a6a00;
    --blauw-zacht: #e9f2fd;
    --blauw: #2a66ad;
    --straal: 12px;
    --straal-klein: 8px;
    --schaduw: 0 1px 2px rgba(31, 43, 37, .04), 0 8px 24px -16px rgba(31, 43, 37, .18);
    --zij: 232px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Satoshi, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--tekst);
    background: var(--vlak);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--inkt); margin: 0; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 26px; line-height: 1.2; }
h2 { font-size: 17px; }
h3 { font-size: 15px; }
p { margin: 0 0 12px; }
a { color: var(--groen-donker); text-decoration: none; }
a:hover { text-decoration: underline; }
.icoon { width: 18px; height: 18px; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--groen); outline-offset: 2px; }

/* ── Menu ──────────────────────────────────────────────────────────────────── */

.kop {
    position: fixed; inset: 0 auto 0 0; width: var(--zij);
    background: var(--wit); border-right: 1px solid var(--rand);
    display: flex; flex-direction: column; gap: 22px; padding: 22px 14px 16px; z-index: 30;
}
.kop-logo { padding: 0 10px; display: block; }
.kop-logo img { display: block; height: 30px; width: auto; }
.kop-menuknop { display: none; }
.kop-nav { display: flex; flex-direction: column; gap: 2px; }
.kop-nav a, .kop-account {
    display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: var(--straal-klein);
    color: var(--tekst); font-weight: 500;
}
.kop-nav a:hover, .kop-account:hover { background: var(--vlak); text-decoration: none; color: var(--inkt); }
.kop-nav a.is-actief, .kop-account.is-actief { background: var(--groen-zacht); color: var(--groen-donker); }
.kop-rechts { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.zoek { position: relative; }
.zoek .icoon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--grijs); }
.zoek input[type=search] { padding-left: 36px; margin: 0; }

.inhoud { margin-left: var(--zij); padding: 32px 36px 64px; max-width: calc(var(--zij) + 1320px); }
body.kaal .inhoud { margin: 0 auto; max-width: none; padding: 0 16px; }

/* ── Basis ─────────────────────────────────────────────────────────────────── */

.paginakop { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.paginakop .knoppen { margin: 0; }
.onderkop { color: var(--grijs); margin: 4px 0 0; }
.terug { display: inline-flex; align-items: center; gap: 4px; color: var(--grijs); font-size: 14px; margin-bottom: 10px; }

.kaart { background: var(--wit); border: 1px solid var(--rand); border-radius: var(--straal); padding: 22px; box-shadow: var(--schaduw); }
.kaart + .kaart { margin-top: 18px; }
.kaart--smal { max-width: 520px; }
.kaart > h2 { margin-bottom: 14px; }
.kaartkop { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.kaartkop h2 { margin: 0; }
.kolommen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.kolommen > .kaart + .kaart { margin-top: 0; }
.kolommen--breedsmal { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.stapel > * + * { margin-top: 18px; }
.leeg { color: var(--grijs); margin: 0; }
.hint { color: var(--grijs); font-size: 13.5px; }
.rechts { text-align: right; }
.nowrap { white-space: nowrap; }

.knop {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-weight: 500; line-height: 1.2; cursor: pointer;
    padding: 9px 15px; border-radius: var(--straal-klein); border: 1px solid var(--groen);
    background: var(--groen); color: #fff; text-decoration: none; white-space: nowrap;
}
.knop:hover { background: var(--groen-donker); border-color: var(--groen-donker); text-decoration: none; }
.knop--licht { background: var(--wit); color: var(--inkt); border-color: var(--rand); }
.knop--licht:hover { background: var(--vlak); border-color: var(--groen-rand); }
.knop--rood { background: var(--wit); color: var(--rood); border-color: #f0cfcb; }
.knop--rood:hover { background: var(--rood-zacht); border-color: #e7b5af; }
.knop--klein { padding: 6px 10px; font-size: 13.5px; }
.knop--vol { width: 100%; }
.knop[disabled] { opacity: .5; cursor: not-allowed; }
.knoppen { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.tekstknop { background: none; border: 0; padding: 0; font: inherit; color: var(--groen-donker); cursor: pointer; }
.tekstknop:hover { text-decoration: underline; }
.tekstknop--rood { color: var(--rood); }

label { display: block; font-weight: 500; color: var(--inkt); font-size: 14px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=date], input[type=time],
input[type=number], input[type=url], input[type=tel], select, textarea {
    display: block; width: 100%; margin-top: 5px; font: inherit; font-weight: 400; color: var(--inkt);
    padding: 9px 11px; background: var(--wit); border: 1px solid #d5e0da; border-radius: var(--straal-klein);
    min-height: 40px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--groen); box-shadow: 0 0 0 3px rgba(47, 148, 96, .15); }
.formulier > * + * { margin-top: 12px; }
.veldrij { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.veldrij--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vink { display: flex; align-items: center; gap: 9px; font-weight: 400; color: var(--tekst); }
.vink input { width: 17px; height: 17px; margin: 0; accent-color: var(--groen); flex: none; }

.melding { padding: 11px 14px; border-radius: var(--straal-klein); margin: 0 0 18px; font-weight: 500; }
.melding--goed { background: var(--groen-zacht); color: var(--groen-donker); }
.melding--fout { background: var(--rood-zacht); color: var(--rood); }

.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 500; white-space: nowrap; background: #eef1ef; color: var(--tekst); }
.badge--te_doen, .badge--concept { background: #eef1ef; color: var(--tekst); }
.badge--bezig, .badge--verstuurd, .badge--p-lopend { background: var(--blauw-zacht); color: var(--blauw); }
.badge--wacht, .badge--p-wacht, .badge--verlopen { background: var(--geel-zacht); color: var(--geel); }
.badge--klaar, .badge--akkoord, .badge--p-opgeleverd { background: var(--groen-zacht); color: var(--groen-donker); }
.badge--afgewezen, .badge--laat { background: var(--rood-zacht); color: var(--rood); }
.badge--klant { background: #f1ecfb; color: #6a4bb0; }

/* ── Tabellen en lijsten ───────────────────────────────────────────────────── */

.tabel { width: 100%; border-collapse: collapse; }
.tabel th { text-align: left; font-size: 13px; font-weight: 500; color: var(--grijs); padding: 0 12px 10px; border-bottom: 1px solid var(--rand); white-space: nowrap; }
.tabel td { padding: 13px 12px; border-bottom: 1px solid var(--rand); vertical-align: middle; }
.tabel tr:last-child td { border-bottom: 0; }
.tabel tbody tr:hover td { background: #fafcfb; }
.tabel td:first-child, .tabel th:first-child { padding-left: 4px; }
.tabel td:last-child, .tabel th:last-child { padding-right: 4px; }
.tabel a.sterk, .sterk { font-weight: 500; color: var(--inkt); }
.tabel .sub { color: var(--grijs); font-size: 13.5px; }
.tabelwrap { overflow-x: auto; }
.doorgehaald { text-decoration: line-through; color: var(--grijs) !important; }

.lijst { list-style: none; margin: 0; padding: 0; }
.lijst li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rand); }
.lijst li:last-child { border-bottom: 0; padding-bottom: 0; }
.lijst li:first-child { padding-top: 0; }
.lijst .groei { flex: 1; min-width: 0; }
.lijst .sub { color: var(--grijs); font-size: 13.5px; }
.lijst .sterk { display: block; }
.datumblok { flex: none; width: 46px; text-align: center; background: var(--groen-zacht); color: var(--groen-donker); border-radius: var(--straal-klein); padding: 5px 0; line-height: 1.15; font-weight: 700; }
.datumblok small { display: block; font-size: 11.5px; font-weight: 500; text-transform: lowercase; }
.laat { color: var(--rood); font-weight: 500; }

.voortgang { height: 6px; background: #e9efeb; border-radius: 99px; overflow: hidden; min-width: 70px; }
.voortgang span { display: block; height: 100%; background: var(--groen); border-radius: 99px; }
.voortgangrij { display: flex; align-items: center; gap: 10px; }
.voortgangrij small { color: var(--grijs); white-space: nowrap; }

.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filters a { padding: 6px 12px; border-radius: 99px; color: var(--tekst); font-weight: 500; font-size: 14px; border: 1px solid var(--rand); background: var(--wit); }
.filters a:hover { text-decoration: none; border-color: var(--groen-rand); }
.filters a.is-actief { background: var(--inkt); color: #fff; border-color: var(--inkt); }
.filters a small { opacity: .7; margin-left: 4px; }

.gegevens { display: grid; grid-template-columns: max-content 1fr; gap: 7px 18px; margin: 0; }
.gegevens dt { color: var(--grijs); }
.gegevens dd { margin: 0; color: var(--inkt); min-width: 0; overflow-wrap: anywhere; }

.tijdlijn { list-style: none; margin: 0; padding: 0; }
.tijdlijn li { position: relative; padding: 0 0 14px 18px; border-left: 2px solid var(--rand); margin-left: 5px; }
.tijdlijn li:last-child { padding-bottom: 0; }
.tijdlijn li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--groen); border: 2px solid #fff; }
.tijdlijn small { color: var(--grijs); display: block; }

/* ── Tabbladen ─────────────────────────────────────────────────────────────── */

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rand); margin: 0 0 22px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--tekst); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { text-decoration: none; color: var(--inkt); }
.tabs a.is-actief { color: var(--groen-donker); border-bottom-color: var(--groen); }
.tabs a small { color: var(--grijs); margin-left: 4px; }

.schakel { display: inline-flex; border: 1px solid var(--rand); border-radius: var(--straal-klein); background: var(--wit); padding: 3px; gap: 2px; }
.schakel a, .schakel button { font: inherit; font-size: 14px; font-weight: 500; border: 0; background: none; cursor: pointer; padding: 5px 11px; border-radius: 6px; color: var(--tekst); }
.schakel a:hover { text-decoration: none; }
.schakel .is-actief { background: var(--groen-zacht); color: var(--groen-donker); }
.werkbalk { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }

/* ── Bord ──────────────────────────────────────────────────────────────────── */

.bord { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 6px; align-items: start; }
.kolom--vervallen { opacity: .75; }
.kolom--vervallen .taak strong { text-decoration: line-through; color: var(--grijs); }
.kolomkop form { margin-left: auto; margin-right: 4px; }
.badge--vervallen { background: #eef1ef; color: var(--grijs); text-decoration: line-through; }
.badge--eigen { background: #e6f3f5; color: #1f6f7d; }
.kolom { background: #edf3ef; border-radius: var(--straal); padding: 12px; min-width: 0; }
.kolomkop { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
.kolomkop h3 { font-size: 14px; }
.kolomkop span { color: var(--grijs); font-size: 13px; font-weight: 500; }
.kolomlijst { display: flex; flex-direction: column; gap: 8px; min-height: 36px; }
.kolom.is-doel { box-shadow: inset 0 0 0 2px var(--groen); }
.taak {
    background: var(--wit); border: 1px solid var(--rand); border-radius: 10px; padding: 11px 12px;
    cursor: grab; box-shadow: 0 1px 1px rgba(31, 43, 37, .04); text-align: left; width: 100%; font: inherit; color: inherit; display: block;
}
.taak:hover { border-color: var(--groen-rand); }
.taak.is-sleep { opacity: .45; }
.taak strong { display: block; color: var(--inkt); font-weight: 500; line-height: 1.35; }
.taakmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: 13px; color: var(--grijs); }
.snel { margin-top: 8px; }
.snel input { background: transparent; border-style: dashed; margin: 0; }
.snel input:focus { background: var(--wit); border-style: solid; }

.afvink { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #c3d2ca; background: var(--wit); cursor: pointer; padding: 0; display: grid; place-items: center; color: #fff; }
.afvink.is-klaar { background: var(--groen); border-color: var(--groen); }
.afvink svg { width: 13px; height: 13px; }
.groepkop td { background: var(--vlak); font-weight: 700; color: var(--inkt); padding-top: 9px; padding-bottom: 9px; }

/* ── Balkenplanning ────────────────────────────────────────────────────────── */

.gantt { border: 1px solid var(--rand); border-radius: var(--straal); background: var(--wit); overflow: auto; max-height: calc(100vh - 230px); position: relative; box-shadow: var(--schaduw); }
.g-binnen { position: relative; min-width: 100%; width: max-content; }
.g-kop, .g-rij { width: max-content; min-width: 100%; }
.g-kop { position: sticky; top: 0; z-index: 6; display: flex; background: var(--wit); border-bottom: 1px solid var(--rand); }
.g-hoek { position: sticky; left: 0; z-index: 7; flex: none; width: var(--g-label); background: var(--wit); border-right: 1px solid var(--rand); display: flex; align-items: flex-end; padding: 0 14px 8px; font-size: 13px; color: var(--grijs); font-weight: 500; }
.g-schaal { position: relative; height: 52px; flex: none; }
.g-maand { position: absolute; top: 0; height: 26px; font-size: 13px; font-weight: 700; color: var(--inkt); border-left: 1px solid var(--rand); white-space: nowrap; }
.g-maand span { position: sticky; left: calc(var(--g-label) + 1px); display: inline-block; padding: 5px 8px 0; background: var(--wit); }
.g-dag { position: absolute; top: 26px; height: 26px; font-size: 11.5px; color: var(--grijs); text-align: center; line-height: 26px; border-left: 1px solid var(--rand); overflow: hidden; white-space: nowrap; }
.g-dag.is-weekend { color: #b3beb8; }
.g-dag.is-vandaag { color: var(--groen-donker); font-weight: 700; }
.g-rij { display: flex; border-bottom: 1px solid #eef3f0; }
.g-rij:last-child { border-bottom: 0; }
.g-label { position: sticky; left: 0; z-index: 4; flex: none; width: var(--g-label); background: var(--wit); border-right: 1px solid var(--rand); padding: 0 14px; height: 38px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.g-label span, .g-label a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tekst); }
.g-rij--kop .g-label { background: var(--vlak); }
.g-rij--kop .g-label span, .g-rij--kop .g-label a { font-weight: 700; color: var(--inkt); }
.g-rij--kop .g-baan { background-color: var(--vlak); }
.g-rij--sub .g-label { padding-left: 28px; }
.g-rij--sub .g-label span { font-size: 14px; }
.g-rij.is-klaar .g-label span { color: var(--grijs); text-decoration: line-through; }
.g-baan { position: relative; flex: none; height: 38px; }
.g-baan.is-leeg { cursor: copy; }
.g-balk {
    position: absolute; top: 8px; height: 22px; border-radius: 6px; background: var(--groen); color: #fff;
    font-size: 12.5px; font-weight: 500; line-height: 22px; padding: 0 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
}
.g-balk.is-sleep { cursor: grabbing; box-shadow: 0 6px 16px -6px rgba(31, 43, 37, .5); z-index: 3; }
.g-balk--project { background: var(--inkt); top: 9px; height: 20px; line-height: 20px; }
.g-balk--fase { background: var(--groen); }
.g-balk--taak { background: #bfe0cd; color: #1d5a3a; top: 10px; height: 18px; line-height: 18px; }
.g-balk--taak.is-klant { background: #ddd3f5; color: #55389b; }
.g-balk--taak.is-klaar { background: #e6ece8; color: var(--grijs); }
.g-balk--taak.is-laat { background: #f6cfca; color: #9a2f27; }
.g-balk.is-smal { padding: 0; }
.g-greep { position: absolute; top: 0; bottom: 0; width: 9px; cursor: ew-resize; }
.g-greep--l { left: 0; }
.g-greep--r { right: 0; }
.g-vandaag { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--rood); opacity: .7; z-index: 2; pointer-events: none; }
.g-afspraak { position: absolute; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--blauw); transform: translateX(-4px); z-index: 2; }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--grijs); font-size: 13.5px; margin-top: 12px; }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }

/* ── Dialoog ───────────────────────────────────────────────────────────────── */

dialog { border: 0; padding: 0; border-radius: 14px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); color: var(--tekst); box-shadow: 0 30px 80px -20px rgba(31, 43, 37, .45); }
dialog::backdrop { background: rgba(31, 43, 37, .45); }
.dlg { padding: 24px; }
.dlg h2 { margin-bottom: 16px; font-size: 19px; }
.dlg-voet { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.dlg-voet .spacer { flex: 1; }

/* ── Inloggen ──────────────────────────────────────────────────────────────── */

.inlog { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 26px; padding: 24px 0; }
.inlog .kaart { width: min(380px, calc(100vw - 32px)); padding: 28px; }
.inlog .kaart > * + * { margin-top: 14px; }
.inlog h1 { font-size: 22px; }

/* ── Offerte ───────────────────────────────────────────────────────────────── */

.posten { list-style: none; margin: 0; padding: 0; }
.posten li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rand); }
.posten li:last-child { border-bottom: 0; }
.tabstrook { display: flex; flex-wrap: wrap; align-items: stretch; gap: 2px; border-bottom: 1px solid var(--rand); margin: 16px 0 20px; }
.tabknop { display: inline-flex; align-items: center; gap: 6px; padding: 9px 6px 9px 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--tekst); font: inherit; font-weight: 500; cursor: pointer; border-radius: 0; }
.tabknop:hover { color: var(--inkt); }
.tabknop.is-actief { color: var(--groen-donker); border-bottom-color: var(--groen); }
.tabknop .kruis { width: 22px; height: 22px; font-size: 17px; opacity: .55; }
.tabknop:hover .kruis, .tabknop.is-actief .kruis { opacity: 1; }
.tabknop--nieuw { color: var(--grijs); padding: 9px 12px; margin-left: 6px; }
.tabknop--nieuw:hover { color: var(--groen-donker); }
.kruis { border: 0; background: none; font: inherit; font-size: 19px; line-height: 1; width: 24px; height: 24px; border-radius: 6px; color: var(--grijs); cursor: pointer; display: grid; place-items: center; padding: 0; flex: none; }
.kruis:hover { background: var(--rood-zacht); color: var(--rood); }
.tabpaneel h3 { margin: 20px 0 8px; }
.veldrij--titel { grid-template-columns: minmax(0, 1fr) 180px; }
.taakrij { display: grid; grid-template-columns: minmax(0, 1fr) 130px 24px; gap: 10px; align-items: center; margin-top: 8px; }
.taakrij input[type=text] { margin: 0; }
.tabpaneel .tekstknop { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 500; }
form > .knoppen { margin-top: 18px; }

/* ── Klein scherm ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .kop { position: sticky; top: 0; inset: auto; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 16px; gap: 0; border-right: 0; border-bottom: 1px solid var(--rand); }
    .kop-logo { padding: 0; margin-right: auto; }
    .kop-menuknop { display: grid; gap: 4px; width: 40px; height: 40px; place-content: center; background: none; border: 1px solid var(--rand); border-radius: var(--straal-klein); cursor: pointer; }
    .kop-menuknop span { display: block; width: 18px; height: 2px; background: var(--inkt); border-radius: 2px; }
    .kop-nav, .kop-rechts { display: none; width: 100%; margin: 0; }
    .kop.is-open .kop-nav, .kop.is-open .kop-rechts { display: flex; padding-top: 10px; }
    .inhoud { margin-left: 0; padding: 20px 16px 48px; }
    .kolommen, .kolommen--breedsmal { grid-template-columns: minmax(0, 1fr); }
    h1 { font-size: 22px; }
    .kaart { padding: 16px; }
    .veldrij--3 { grid-template-columns: minmax(0, 1fr); }
    .gantt { max-height: none; }
    .veldrij--titel { grid-template-columns: minmax(0, 1fr); }
    .taakrij { grid-template-columns: minmax(0, 1fr) 90px 24px; }
}
@media (max-width: 520px) {
    .veldrij { grid-template-columns: minmax(0, 1fr); }
}

.gantt { --g-label: 260px; }
@media (max-width: 900px) { .gantt { --g-label: 140px; } }

.kaartkop--voet { margin: 0; }
.tabel--los { margin-top: 16px; }
.posten + h3 { margin-top: 20px; }
.kaart h3 { margin-bottom: 6px; }
.l-fase { background: var(--groen); }
.l-taak { background: #bfe0cd; }
.l-klant { background: #ddd3f5; }
.l-laat { background: #f6cfca; }
.l-project { background: var(--inkt); }
.stapel-boven { margin-top: 18px; }
.voortgangrij .voortgang { flex: 1; max-width: 240px; }

.borden { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.borden a, .borden-nieuw { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--straal-klein); border: 1px solid var(--rand); background: var(--wit); color: var(--tekst); font: inherit; font-weight: 500; cursor: pointer; }
.borden a:hover, .borden-nieuw:hover { border-color: var(--groen-rand); text-decoration: none; color: var(--inkt); }
.borden a.is-actief { background: var(--inkt); border-color: var(--inkt); color: #fff; }
.borden a small { font-size: 12.5px; opacity: .7; }
.borden-nieuw { border-style: dashed; background: transparent; color: var(--grijs); }
.knoppen--los { margin: 0; gap: 14px; }
.inline { display: inline; margin-left: 12px; }
.teller { margin-left: auto; background: var(--groen); color: #fff; border-radius: 99px; font-size: 12px; font-weight: 700; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; }
.timerblok { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--straal-klein); background: var(--inkt); color: #fff; }
.timerblok:hover { text-decoration: none; }
.timerblok strong { display: block; font-variant-numeric: tabular-nums; line-height: 1.2; }
.timerblok small { display: block; opacity: .7; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.timerpunt { width: 9px; height: 9px; border-radius: 50%; background: #ff6b5e; flex: none; animation: puls 1.6s ease-in-out infinite; }
@keyframes puls { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .timerpunt { animation: none; } }
input[type=file] { font: inherit; width: 100%; padding: 14px; border: 1.5px dashed #c9d8d0; border-radius: var(--straal-klein); background: var(--vlak); }
.lijst--ruim li { align-items: flex-start; padding: 14px 0; }
.lijst--ruim .voortgangrij { margin-top: 8px; }
.lijst > li > .icoon { color: var(--grijs); }

/* ── Tickets ───────────────────────────────────────────────────────────────── */
.filters--los { margin: 0; }
.zoek--breed { width: min(280px, 100%); }
.punt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--groen); vertical-align: middle; }
.draad { display: flex; flex-direction: column; gap: 18px; }
.bericht { display: flex; gap: 12px; align-items: flex-start; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #e3e9e6; color: var(--inkt); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.bericht--craftly .avatar { background: var(--groen); color: #fff; }
.berichtvak { flex: 1; min-width: 0; background: var(--vlak); border: 1px solid var(--rand); border-radius: var(--straal); padding: 13px 16px; }
.bericht--craftly .berichtvak { background: var(--groen-zacht); border-color: var(--groen-rand); }
.bericht--intern .berichtvak { background: var(--geel-zacht); border-color: #eedf9a; }
.berichtvak header { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 6px; }
.berichtvak header strong { color: var(--inkt); }
.berichtvak header span { color: var(--grijs); font-size: 13px; }
.berichttekst { color: var(--inkt); overflow-wrap: anywhere; }
.bijlagen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bijlagen a { display: inline-flex; align-items: center; gap: 8px; background: var(--wit); border: 1px solid var(--rand); border-radius: var(--straal-klein); padding: 6px 10px 6px 6px; font-size: 13.5px; color: var(--inkt); max-width: 100%; }
.bijlagen a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bijlagen img { width: 44px; height: 44px; object-fit: cover; border-radius: 5px; }
.bijlagen .icoon { margin: 0 4px; color: var(--grijs); }
.los-formulier { margin-top: 14px; }

.timerrij, .timerstart { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.timerrij { align-items: center; }
.timerstart label { flex: 1; min-width: 180px; }
.timerklok { display: block; font-size: 26px; color: var(--inkt); font-variant-numeric: tabular-nums; line-height: 1.2; }
.timerrij .groei { flex: 1; min-width: 0; }
.timerrij .sub { color: var(--grijs); }
.posten--los { margin-top: 14px; }
.voortgang--breed { margin-top: 14px; height: 8px; }
.voortgang.is-over span { background: var(--rood); }

.tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.tegels .kaart + .kaart { margin-top: 0; }
.tegel h2 a { color: var(--inkt); }
.sterkol { width: 34px; }
.sterknop { border: 0; background: none; padding: 4px; cursor: pointer; color: #c9d3ce; display: inline-grid; }
.sterknop.is-aan { color: #e0a100; }
.sterknop.is-aan svg { fill: currentColor; }
span.sterknop { cursor: default; }
.tijdlijn form { margin-top: 2px; }
.filters--kop { margin: 8px 0 0; }

.statuskeuze { display: inline-block; }
.statuskeuze select { display: inline-block; width: auto; min-height: 0; margin: 0; border: 0; font-size: 12.5px; font-weight: 500; line-height: 1.5; padding: 2px 24px 2px 10px; border-radius: 99px; cursor: pointer; -webkit-appearance: none; appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 13px) 55%, calc(100% - 9px) 55%; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.statuskeuze select:hover { box-shadow: 0 0 0 2px rgba(31, 43, 37, .12); }
.statuskeuze select:focus { box-shadow: 0 0 0 3px rgba(47, 148, 96, .25); }
td .inline { vertical-align: middle; }
td .inline .kruis { display: inline-grid; vertical-align: middle; }
td .inline:first-child { margin-left: 0; }
.sorteer { color: inherit; display: inline-flex; align-items: center; gap: 5px; }
.sorteer:hover { color: var(--inkt); text-decoration: none; }
.sorteer span { font-size: 12px; opacity: .45; }
.sorteer.is-actief { color: var(--groen-donker); }
.sorteer.is-actief span { opacity: 1; }
.lijst .sterk .punt { margin-left: 4px; }
.werkbalk .zoek--breed { margin-left: auto; }
