/* GG Belcentrum: huisstijl GeldGarant (ontwerpsysteem v2). Fonts self-hosted, geen externe bronnen. */
@font-face {
    font-family: "Inter";
    src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("/fonts/poppins-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

:root {
    --ink: #061126;
    --ink-2: #4a5468;
    --ink-3: #6b7489;
    --blue: #3069fe;
    --blue-ink: #1f4fd6;
    --blue-bg: #edf2ff;
    --surface: #f3f4f7;
    --lijn: #e3e6ee;
    --lijn-2: #d3d8e3;
    --wit: #fff;
    --rood: #c4282d;
    --rood-bg: #fdecec;
    --geel: #8a5a00;
    --geel-bg: #fff4d6;
    --groen: #157a3c;
    --groen-knop: #16a34a;
    --groen-bg: #e7f5ec;
    --r: 14px;
    --r-s: 10px;
    --schaduw: 0 1px 2px rgba(6, 17, 38, 0.04), 0 4px 16px rgba(6, 17, 38, 0.05);
    --zij: 248px;
    --kop: "Poppins", "Segoe UI", system-ui, sans-serif;
    font:
        15px/1.5 "Inter",
        "Segoe UI",
        system-ui,
        -apple-system,
        sans-serif;
    font-feature-settings: "cv11", "ss01";
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}
* {
    box-sizing: border-box;
}
[hidden] {
    display: none !important;
}
body {
    margin: 0;
    min-height: 100vh;
}
a {
    color: var(--ink);
    text-decoration-color: var(--blue);
    text-underline-offset: 3px;
}
a:hover {
    color: var(--blue-ink);
}
h1,
h2,
h3 {
    font-family: var(--kop);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
h1 {
    font-size: 26px;
    margin: 0 0 18px;
}
h2 {
    font-size: 18px;
    margin: 0 0 12px;
}
h3 {
    font-size: 15px;
    margin: 18px 0 8px;
}
:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ---------- schil: zijbalk + inhoud ---------- */
.schil {
    display: grid;
    grid-template-columns: var(--zij) minmax(0, 1fr);
    min-height: 100vh;
}
.zijbalk {
    background: var(--ink);
    color: #fff;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 22px 14px 16px;
    gap: 6px;
    overflow-y: auto;
}
.merk {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 10px 18px;
    color: #fff;
    text-decoration: none;
}
.merk img {
    display: block;
    width: 150px;
    height: auto;
}
.merk span {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9aa6c2;
    font-weight: 600;
}
#nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.navkop {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7f8aa6;
    font-weight: 600;
    padding: 16px 12px 6px;
}
#nav a {
    color: #d6dcea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    min-height: 42px;
}
#nav a svg {
    width: 18px;
    height: 18px;
    flex: none;
    opacity: 0.75;
}
#nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
#nav a.actief {
    background: var(--blue);
    color: #fff;
}
#nav a.actief svg {
    opacity: 1;
}
.wie {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
}
.wie .avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1b2a4a;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-family: var(--kop);
    flex: none;
}
.wie .naam {
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.wie .rol {
    color: #9aa6c2;
    font-size: 12.5px;
}
.wie button {
    margin-left: auto;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #d6dcea;
    border-radius: 8px;
    min-height: 36px;
    padding: 0 10px;
    font: inherit;
    font-size: 12.5px;
    cursor: pointer;
}
.wie button:hover {
    color: #fff;
    border-color: #fff;
}
main {
    padding: 28px 32px 48px;
    min-width: 0;
    max-width: 1680px;
}
main:focus {
    outline: none;
}
.laden {
    color: var(--ink-3);
}
.schil > * {
    min-width: 0;
}
@media (max-width: 960px) {
    .schil {
        grid-template-columns: minmax(0, 1fr);
    }
    .zijbalk {
        position: sticky;
        top: 0;
        z-index: 10;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 8px 12px;
        gap: 10px;
        overflow: hidden;
    }
    .zijbalk {
        flex-wrap: wrap;
        row-gap: 6px;
    }
    #nav {
        min-width: 0;
        order: 3;
        flex: 0 0 100%;
    }
    .merk {
        padding: 0;
    }
    .merk img {
        width: 112px;
    }
    .merk span {
        display: none;
    }
    #nav {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 4px;
    }
    #nav::-webkit-scrollbar {
        display: none;
    }
    .navkop {
        display: none;
    }
    #nav a {
        white-space: nowrap;
        padding: 8px 10px;
        font-size: 14px;
    }
    #nav a svg {
        display: none;
    }
    .wie {
        margin: 0 0 0 auto;
        border: 0;
        padding: 0;
    }
    .wie .naam,
    .wie .rol {
        display: none;
    }
    main {
        padding: 18px 16px 96px;
    }
}

/* ---------- basisbouwstenen ---------- */
.kaart {
    background: var(--wit);
    border: 1px solid var(--lijn);
    border-radius: var(--r);
    padding: 20px;
    box-shadow: var(--schaduw);
    min-width: 0;
}
.raster {
    display: grid;
    gap: 16px;
    align-items: start;
}
.twee {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.tegels {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 16px;
}
.tegel {
    background: var(--wit);
    border: 1px solid var(--lijn);
    border-radius: var(--r);
    padding: 16px 18px;
    box-shadow: var(--schaduw);
}
.tegel .getal {
    font-family: var(--kop);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.tegel .label {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 2px;
}
.rij {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.tussen {
    justify-content: space-between;
}
.klein {
    font-size: 13px;
    color: var(--ink-3);
}
.dik {
    font-weight: 600;
}
.paginakop {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.paginakop h1 {
    margin: 0;
}
.paginakop p {
    margin: 4px 0 0;
    color: var(--ink-3);
}

.btn {
    font: inherit;
    font-weight: 600;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--blue);
    background: var(--blue);
    color: #fff;
    border-radius: 999px;
    padding: 0 20px;
    min-height: 44px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 0.15s,
        border-color 0.15s,
        transform 0.1s;
}
.btn:hover {
    background: var(--blue-ink);
    border-color: var(--blue-ink);
    color: #fff;
}
.btn:active {
    transform: translateY(1px);
}
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}
.btn.licht {
    background: #fff;
    color: var(--ink);
    border-color: var(--lijn-2);
}
.btn.licht:hover {
    border-color: var(--ink);
    background: #fff;
    color: var(--ink);
}
.btn.donker {
    background: var(--ink);
    border-color: var(--ink);
}
.btn.rood {
    background: var(--rood);
    border-color: var(--rood);
}
.btn.rood:hover {
    background: #a51f24;
}
.btn.groen {
    background: var(--groen-knop);
    border-color: var(--groen-knop);
}
.btn.groen:hover {
    background: #128a3e;
}
.btn.klein {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13.5px;
}
.btn.groot {
    min-height: 50px;
    padding: 0 26px;
    font-size: 15.5px;
}
.btn.vol {
    width: 100%;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0 5px;
    color: var(--ink-2);
}
input,
select,
textarea {
    font: inherit;
    font-size: 16px;
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--lijn-2);
    border-radius: var(--r-s);
    background: #fff;
    color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(48, 105, 254, 0.18);
}
textarea {
    min-height: 80px;
    resize: vertical;
}
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-height: 0;
    accent-color: var(--blue);
    margin: 0;
}
.check {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 400;
    color: var(--ink);
    font-size: 14.5px;
    margin: 8px 0;
    min-height: 32px;
}
form.rij select,
form.rij input {
    width: auto;
}
#dfilter input {
    width: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 1px solid var(--lijn);
    background: #fafbfc;
    white-space: nowrap;
}
td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--lijn);
    vertical-align: top;
}
th.num,
td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
tr.klik {
    cursor: pointer;
}
tr.klik:hover td {
    background: #f7f9ff;
}
.tabelwrap {
    overflow-x: auto;
    border: 1px solid var(--lijn);
    border-radius: var(--r);
    background: #fff;
    box-shadow: var(--schaduw);
}
.tabelwrap table tr:last-child td {
    border-bottom: 0;
}

.pil {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink-2);
    border: 1px solid var(--lijn);
    white-space: nowrap;
}
.pil.ok {
    background: var(--groen-bg);
    color: var(--groen);
    border-color: #c8e8d3;
}
.pil.waarschuwen {
    background: var(--geel-bg);
    color: var(--geel);
    border-color: #f2dfa6;
}
.pil.blokkeren {
    background: var(--rood-bg);
    color: var(--rood);
    border-color: #f5c9cb;
}
.pil.blauw {
    background: var(--blue-bg);
    color: var(--blue-ink);
    border-color: #cfdcff;
}
.meldingen {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    display: grid;
    gap: 6px;
}
.meldingen li {
    font-size: 13.5px;
    padding: 8px 12px;
    border-radius: var(--r-s);
    background: var(--surface);
}
.meldingen li.blokkeren {
    background: var(--rood-bg);
    color: var(--rood);
}
.meldingen li.waarschuwen {
    background: var(--geel-bg);
    color: var(--geel);
}
.leeg {
    color: var(--ink-3);
    padding: 28px 18px;
    text-align: center;
}
.balk {
    height: 10px;
    border-radius: 999px;
    background: var(--blue);
    min-width: 2px;
}
.balkrij {
    display: grid;
    grid-template-columns: 190px 1fr 60px;
    gap: 10px;
    align-items: center;
    font-size: 13.5px;
    margin: 6px 0;
}
@media (max-width: 600px) {
    .balkrij {
        grid-template-columns: 120px 1fr 44px;
    }
}
.tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.tabs button {
    font: inherit;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--lijn-2);
    background: #fff;
    border-radius: 999px;
    padding: 0 16px;
    min-height: 40px;
    cursor: pointer;
}
.tabs button[aria-selected="true"] {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.geschiedenis {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
}
.geschiedenis li {
    padding: 10px 0 10px 16px;
    border-bottom: 1px solid var(--lijn);
    position: relative;
}
.geschiedenis li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lijn-2);
}
.geschiedenis li:last-child {
    border-bottom: 0;
}
pre.rapport {
    white-space: pre-wrap;
    font-size: 13px;
    background: var(--surface);
    border-radius: var(--r-s);
    padding: 12px;
    max-height: 420px;
    overflow: auto;
}
.velden {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 16px;
    margin: 0;
    font-size: 14px;
}
.velden dt {
    color: var(--ink-3);
}
.velden dd {
    margin: 0;
    overflow-wrap: anywhere;
}

/* ---------- meldingen (toasts) en inkomend gesprek ---------- */
.melding {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 8px;
    z-index: 40;
    max-width: min(420px, calc(100vw - 36px));
}
.melding div {
    background: var(--ink);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(6, 17, 38, 0.25);
    font-size: 14px;
}
.melding div.fout {
    background: var(--rood);
}
.inkomend {
    position: fixed;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    z-index: 50;
    background: #fff;
    border-radius: 18px;
    padding: 18px 22px;
    display: grid;
    gap: 6px;
    box-shadow: 0 20px 60px rgba(6, 17, 38, 0.3);
    border: 2px solid var(--blue);
    min-width: 300px;
}

/* ---------- werkplek ---------- */
.belbalk {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.belbalk h1 {
    margin: 0 auto 0 0;
}
.belbalk select {
    width: auto;
    min-width: 200px;
}
.mijndag {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.mijndag .tegel {
    padding: 12px 16px;
}
.mijndag .getal {
    font-size: 22px;
}
@media (max-width: 760px) {
    .mijndag {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mijndag .tegel:last-child {
        grid-column: 1 / -1;
    }
    .belbalk h1 {
        flex: 0 0 100%;
        font-size: 22px;
    }
    .belbalk label {
        display: none;
    }
    .belbalk select {
        flex: 1;
        min-width: 0;
    }
}
.werkplek {
    display: grid;
    gap: 16px;
    align-items: start;
    grid-template-columns: minmax(300px, 1fr) minmax(0, 1.3fr) 300px;
}
@media (max-width: 1280px) {
    .werkplek {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
    .werkplek > #midden {
        grid-column: 1 / -1;
        order: 3;
    }
}
@media (max-width: 760px) {
    .werkplek {
        grid-template-columns: 1fr;
    }
    .werkplek > .telefoon-kolom {
        order: -1;
    }
}
.lead-kop {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.lead-kop h2 {
    font-size: 21px;
    margin: 0 0 6px;
    overflow-wrap: anywhere;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.score {
    --p: 0;
    flex: none;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(closest-side, #fff 76%, transparent 78%),
        conic-gradient(var(--kleur, var(--blue)) calc(var(--p) * 1%), var(--lijn) 0);
    font-family: var(--kop);
    font-weight: 600;
    font-size: 18px;
    margin-left: auto;
}
.score small {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: -16px;
}
.waarom {
    list-style: none;
    margin: 14px 0 4px;
    padding: 12px 14px;
    background: var(--surface);
    border-radius: var(--r-s);
    display: grid;
    gap: 5px;
    font-size: 13.5px;
}
.waarom li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.waarom li b {
    font-variant-numeric: tabular-nums;
    color: var(--groen);
}
.waarom li b.min {
    color: var(--rood);
}
.belnummer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--blue-bg);
    border-radius: var(--r-s);
    padding: 12px 14px;
    margin: 14px 0 6px;
}
.belnummer strong {
    font-family: var(--kop);
    font-size: 20px;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
}
.belnummer .klein {
    display: block;
}
.blok {
    border-top: 1px solid var(--lijn);
    margin-top: 16px;
    padding-top: 4px;
}
.blok > h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    margin: 12px 0 8px;
}
.script {
    font-size: 15px;
    line-height: 1.6;
}
.script h3 {
    font-size: 15px;
    color: var(--blue-ink);
    margin: 18px 0 6px;
}
.script h3:first-child {
    margin-top: 0;
}
.script p {
    margin: 0 0 10px;
}
.script ul,
.script ol {
    padding-left: 20px;
    margin: 0 0 10px;
}
.script li {
    margin: 3px 0;
}
.leeg-werkplek {
    text-align: center;
    padding: 40px 20px;
}
.leeg-werkplek h2 {
    margin-bottom: 6px;
}
.leeg-werkplek p {
    color: var(--ink-3);
    margin: 0 0 18px;
}

/* softphone */
.telefoon-kolom {
    position: sticky;
    top: 20px;
}
.telefoon {
    background: var(--ink);
    color: #fff;
    border-radius: var(--r);
    padding: 20px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(6, 17, 38, 0.2);
}
.tel-nummer {
    font-family: var(--kop);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.tel-status {
    color: #9aa6c2;
    font-size: 13.5px;
    margin-top: 2px;
}
.tel-status::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6b7489;
    margin-right: 6px;
    vertical-align: 1px;
}
.telefoon[data-fase="in gesprek"] .tel-status::before {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}
.telefoon[data-fase="gaat over"] .tel-status::before,
.telefoon[data-fase="verbinden"] .tel-status::before {
    background: #f5b301;
}
.tel-timer {
    font-family: var(--kop);
    font-size: 38px;
    font-weight: 500;
    margin: 10px 0 14px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
.tel-bediening {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.tel-bediening .btn {
    flex: 1;
}
.tel-bediening .btn.licht {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}
.tel-bediening .btn.licht:hover {
    background: rgba(255, 255, 255, 0.16);
}
.toetsen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0;
}
.toetsen button {
    font: inherit;
    font-family: var(--kop);
    font-size: 18px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}
.toetsen button:disabled {
    opacity: 0.35;
    cursor: default;
}
.toetsen button:not(:disabled):hover {
    background: rgba(255, 255, 255, 0.14);
}
.telefoon details.toetsvak summary,
.telefoon .audio summary {
    cursor: pointer;
    color: #c4cce0;
    font-size: 13.5px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.telefoon #handmatig {
    background: none;
    border: 0;
    color: #9aa6c2;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    min-height: 40px;
}
.simulatie {
    background: rgba(245, 179, 1, 0.16);
    color: #ffd666;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12.5px;
    margin-bottom: 14px;
}
.audio {
    text-align: left;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 4px;
}
.audio label {
    color: #c4cce0;
}
.audio .klein {
    color: #9aa6c2;
}
.audio .btn.licht {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    margin-top: 10px;
    width: 100%;
}
.meter {
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 10px;
}
.meter > div {
    height: 100%;
    width: 0;
    background: #22c55e;
    transition: width 0.1s;
}
.micwaarschuwing {
    background: var(--rood);
    color: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    margin-top: 10px;
}
.belstart {
    margin-top: 16px;
    display: grid;
    gap: 8px;
}

/* uitkomst */
#uitkomstvak form {
    border: 2px solid var(--blue);
    border-radius: var(--r);
    padding: 16px 18px 18px;
    margin-bottom: 18px;
    background: #fbfcff;
}
#uitkomstvak h3:first-child {
    margin-top: 0;
    font-size: 16px;
}
.groepen {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.groep {
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid var(--lijn-2);
    background: #fff;
    border-radius: 999px;
    padding: 0 14px;
    min-height: 40px;
    cursor: pointer;
}
.groep:hover {
    border-color: var(--ink);
}
.groep[aria-pressed="true"] {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.opties {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 6px;
    margin-top: 10px;
}
.optie {
    font: inherit;
    font-size: 14px;
    text-align: left;
    border: 1px solid var(--lijn);
    background: #fff;
    border-radius: var(--r-s);
    padding: 10px 12px;
    min-height: 44px;
    cursor: pointer;
}
.optie:hover {
    border-color: var(--blue);
}
.optie[aria-pressed="true"] {
    border-color: var(--blue);
    background: var(--blue-bg);
    box-shadow: inset 0 0 0 1px var(--blue);
    font-weight: 600;
}
.uitleg {
    font-size: 13.5px;
    color: var(--ink-2);
    margin: 8px 0 0;
}
.snel {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}
.mailveld {
    border: 1px solid var(--lijn);
    border-radius: var(--r-s);
    padding: 4px 14px 14px;
    margin-top: 14px;
    background: #fff;
}
.mailveld details summary {
    cursor: pointer;
    min-height: 40px;
    display: flex;
    align-items: center;
    color: var(--blue-ink);
    font-weight: 600;
    font-size: 14px;
}
.mailvoorbeeld {
    border: 1px solid var(--lijn);
    border-radius: var(--r-s);
    background: #fff;
    padding: 10px;
    font-size: 14px;
}
.mailvoorbeeld pre {
    white-space: pre-wrap;
    font: inherit;
    margin: 8px 0 0;
    max-height: 300px;
    overflow: auto;
}
.mailvoorbeeld iframe {
    width: 100%;
    height: 520px;
    border: 1px solid var(--lijn);
    border-radius: 8px;
    margin-top: 8px;
    background: #f0f2f6;
}

/* ---------- pijplijn ---------- */
.kolommen {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    align-items: flex-start;
}
.kolom {
    flex: 0 0 260px;
    background: #e9ecf2;
    border-radius: var(--r);
    padding: 12px;
}
.kolom h2 {
    font-size: 14px;
    margin: 0 0 4px;
    display: flex;
    justify-content: space-between;
}
.pkaart {
    background: #fff;
    border: 1px solid var(--lijn);
    border-radius: var(--r-s);
    padding: 12px;
    margin-top: 8px;
    display: grid;
    gap: 4px;
    box-shadow: var(--schaduw);
    font-size: 13.5px;
}
.pkaart a.dik {
    color: var(--ink);
    text-decoration: none;
    font-size: 14.5px;
}
.laat {
    color: var(--rood);
}
.stap {
    font-weight: 600;
}

/* ---------- inlogpagina ---------- */
.inlog {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.inlog-merk {
    background: var(--ink);
    color: #fff;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.inlog-merk::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(48, 105, 254, 0.45), transparent 70%);
}
.inlog-merk h1 {
    font-size: 38px;
    line-height: 1.15;
    max-width: 14ch;
    margin: 0 0 14px;
}
.inlog-merk p {
    color: #b9c3da;
    max-width: 40ch;
    margin: 0;
}
.inlog-vak {
    display: grid;
    place-items: center;
    padding: 32px 20px;
}
.inlog-kaart {
    width: 100%;
    max-width: 400px;
}
.inlog-kaart h2 {
    font-size: 24px;
    margin-bottom: 6px;
}
.inlog-kaart > p {
    color: var(--ink-3);
    margin: 0 0 18px;
}
.inlog-kaart .btn {
    width: 100%;
    margin-top: 16px;
}
.code-invoer {
    font-family: var(--kop);
    font-size: 26px;
    letter-spacing: 0.4em;
    text-align: center;
}
.fouttekst {
    color: var(--rood);
    font-size: 14px;
    min-height: 20px;
    margin: 10px 0 0;
}
.terug {
    background: none;
    border: 0;
    font: inherit;
    color: var(--ink-3);
    text-decoration: underline;
    cursor: pointer;
    margin-top: 12px;
    min-height: 44px;
}
@media (max-width: 860px) {
    .inlog {
        grid-template-columns: 1fr;
    }
    .inlog-merk {
        padding: 24px 20px;
        min-height: 0;
    }
    .inlog-merk h1 {
        font-size: 26px;
        margin-top: 24px;
    }
    .inlog-merk .voet {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
