/* LogicAI Wiki - huisstijl volgens het ontwerp "LogicAI Wiki" (8 oktober 2026).
   Navy zijbalk, offwhite werkvlak, witte kaarten, teal als merkkleur en oranje als accent.
   Koppen in Barlow, lopende tekst in Mulish (vervanger voor TT Firs Neue), code in JetBrains Mono. */

/* ── Webfonts (lokaal, geen externe requests) ──────────────────────────── */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mulish'; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/mulish-italic-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mulish'; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/mulish-italic-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/mulish-400-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mulish'; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/mulish-400-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/jetbrains-mono-400-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/jetbrains-mono-400-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Tokens (LogicAI design system) ────────────────────────────────────── */
:root {
    --navy: #1C2143;
    --navy-900: #14182F;
    --navy-700: #2A3158;
    --navy-600: #3A4270;
    --brick: #C05746;
    --brick-600: #A6452F;
    --brick-100: #F4DDD8;
    --orange: #FC814A;
    --orange-600: #E96A2E;
    --orange-300: #FDB089;
    --orange-100: #FEE7DA;
    --teal: #78C6CE;
    --teal-700: #4FA6B0;
    --teal-600: #5EB6BF;
    --teal-300: #A6DCE1;
    --teal-100: #DCF0F2;
    --slate: #3D5A6C;
    --offwhite: #F7F7F7;
    --white: #FFFFFF;
    --grey-100: #EDEFF1;
    --grey-200: #DDE3E6;
    --grey-300: #C9DDDF;
    --grey-400: #9BAAB2;
    --grey-500: #6E7E88;
    --grey-600: #4C5963;

    --surface-page: var(--offwhite);
    --surface-card: var(--white);
    --surface-sunken: var(--grey-100);
    --text-strong: var(--navy);
    --text-body: #2C3550;
    --text-muted: var(--grey-500);
    --text-on-dark: var(--offwhite);
    --text-on-dark-muted: #AAB4D0;
    --text-link: var(--teal-700);
    --border-subtle: var(--grey-200);
    --border-on-dark: rgba(255, 255, 255, 0.16);
    --success: #2E9E6B;
    --danger: var(--brick);
    --focus-ring: rgba(120, 198, 206, 0.55);

    --font-display: 'Barlow', 'Arial Narrow', system-ui, sans-serif;
    --font-body: 'Mulish', system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(28, 33, 67, 0.06);
    --shadow-sm: 0 2px 8px rgba(28, 33, 67, 0.07);
    --shadow-md: 0 8px 24px rgba(28, 33, 67, 0.09);
    --shadow-lg: 0 18px 48px rgba(28, 33, 67, 0.12);

    --dur-fast: 120ms;
    --dur-base: 200ms;
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

    --zijbalk-breedte: 264px;
    --kolom: 1200px;
    --kolom-smal: 860px;
}

/* ── Basis ─────────────────────────────────────────────────────────────── */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font: 400 15px/1.55 var(--font-body);
    color: var(--text-body);
    background: var(--surface-page);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
    color: var(--navy);
}

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: var(--radius-xs);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    color: var(--text-strong);
    letter-spacing: -0.02em;
}

h1 {
    margin: 0 0 6px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.05;
}

h2 {
    margin: 28px 0 14px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    margin: 18px 0 6px;
    font-size: 17px;
    font-weight: 700;
}

p {
    margin: 0 0 10px;
}

strong {
    color: var(--text-strong);
}

.gedempt {
    color: var(--text-muted);
}

.klein {
    font-size: 13px;
}

.leeg {
    color: var(--text-muted);
}

.icoon {
    display: inline-flex;
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--grey-400);
}

.icoon svg {
    width: 100%;
    height: 100%;
}

/* Overline boven een titel ("OVERZICHT", "WERKWIJZE & PROCESSEN") */
.eyebrow {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-700);
}

/* ── Indeling: zijbalk + hoofdvlak ─────────────────────────────────────── */
.app {
    display: flex;
    min-height: 100vh;
}

.hoofd {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    background: var(--surface-page);
}

/* ── Zijbalk ───────────────────────────────────────────────────────────── */
.zij {
    position: sticky;
    top: 0;
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 3px;
    width: var(--zijbalk-breedte);
    height: 100vh;
    overflow-y: auto;
    padding: 22px 14px 16px;
    background: var(--navy);
    color: var(--text-on-dark);
    font-size: 15px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.zij__kop {
    display: flex;
    align-items: center;
    padding: 2px 10px 20px;
}

.zij__merk {
    display: inline-flex;
    color: inherit;
}

.zij__logo {
    display: block;
    width: auto;
    height: 26px;
}

.zij__rij {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-on-dark-muted);
    font: inherit;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.zij__rij .icoon {
    color: currentColor;
}

.zij__rij:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--offwhite);
}

.zij__rij--aan,
.zij__rij--aan:hover {
    background: rgba(120, 198, 206, 0.18);
    color: var(--teal);
    font-weight: 700;
}

.zij__rij--gedempt {
    color: var(--teal);
    font-weight: 600;
}

.zij__rij--gedempt:hover {
    background: rgba(120, 198, 206, 0.18);
    color: var(--teal);
}

p.zij__rij--gedempt,
p.zij__rij--gedempt:hover {
    background: none;
    color: var(--text-on-dark-muted);
    font-weight: 400;
    font-size: 13.5px;
    cursor: default;
}

.zij__label {
    overflow: hidden;
    text-overflow: ellipsis;
}

.zij__sectie {
    display: flex;
    align-items: center;
    padding: 22px 12px 6px;
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
    opacity: 0.85;
}

/* Favorieten en boomrijen zijn iets compacter dan de vaste ingangen */
.zij__sectie ~ .zij__rij,
.boom .zij__rij {
    min-height: 34px;
    gap: 9px;
    font-size: 14.5px;
    color: var(--offwhite);
}

.zij__sectie ~ .zij__rij .icoon,
.boom .zij__rij .icoon {
    color: var(--teal);
}

.zij__sectie ~ .zij__rij--aan,
.boom .zij__rij--aan {
    color: var(--teal);
}

.zij__voet {
    margin-top: auto;
    padding-top: 12px;
}

.zij__voet form {
    margin: 0;
}

.zij__voet .zij__rij {
    color: var(--text-on-dark-muted);
}

.zij__voet .zij__rij .icoon {
    color: currentColor;
}

/* Gebruikersblok onderaan: avatar, naam en uitloggen */
.zij__gebruiker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 10px 2px;
    border-top: 1.5px solid var(--border-on-dark);
}

.zij__gebruiker .zij__rij {
    flex: 1;
    min-width: 0;
    min-height: 34px;
    padding: 0 6px;
    color: var(--offwhite);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
}

.zij__gebruiker .zij__rij .icoon {
    display: none;
}

.zij__gebruiker form {
    display: inline-flex;
}

.zij__uitloggen {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-on-dark-muted);
    cursor: pointer;
}

.zij__uitloggen:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--offwhite);
}

.zij__uitloggen .icoon {
    color: currentColor;
}

/* Paginaboom in de zijbalk (details/summary: werkt zonder JavaScript) */
.boom {
    margin: 0;
}

.boom > summary {
    list-style: none;
}

.boom > summary::-webkit-details-marker {
    display: none;
}

.boom__chevron {
    display: inline-flex;
    flex: none;
    width: 14px;
    height: 14px;
    margin-left: -2px;
    color: var(--text-on-dark-muted);
    transition: transform var(--dur-fast) var(--ease-out);
}

.boom__chevron svg {
    width: 100%;
    height: 100%;
}

.boom[open] > summary .boom__chevron {
    transform: rotate(90deg);
}

.boom__link {
    flex: 1;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
}

.boom__link:hover {
    color: inherit;
}

/* Favoriet-ster (spec U-03): pas zichtbaar bij hover of focus op de rij; een favoriet is altijd zichtbaar en gevuld */
.boom__ster {
    display: inline-flex;
    flex: none;
    margin: 0 0 0 auto;
    opacity: 0;
}

.zij__rij:hover .boom__ster,
.boom__ster:focus-within,
.boom__ster--aan {
    opacity: 1;
}

.boom__sterknop {
    display: inline-flex;
    padding: 3px;
    border: 0;
    border-radius: var(--radius-xs);
    background: none;
    color: var(--text-on-dark-muted);
    cursor: pointer;
}

.boom__sterknop:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--offwhite);
}

.boom__sterknop .icoon {
    width: 16px;
    height: 16px;
    color: inherit;
}

.boom__ster--aan .boom__sterknop,
.boom__ster--aan .icoon {
    color: var(--orange);
}

.boom__ster--aan .icoon svg {
    fill: currentColor;
}

/* ── Bovenbalk ─────────────────────────────────────────────────────────── */
.top {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 60px;
    padding: 10px 36px;
    background: var(--surface-page);
    color: var(--text-muted);
    font-size: 14px;
}

.top > span:not(.sep):not(.top__ruimte):not(.gedempt) {
    color: var(--navy);
    font-weight: 600;
}

.top > a:not(.knop) {
    color: var(--text-muted);
}

.top > a:not(.knop):hover {
    color: var(--navy);
}

.top__ruimte {
    flex: 1;
}

.sep {
    color: var(--grey-400);
}

.kruimels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kruimels li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--grey-400);
}

.kruimels a {
    color: var(--text-muted);
    text-decoration: none;
}

.kruimels a:hover {
    color: var(--navy);
}

.kruimels [aria-current="page"] {
    color: var(--navy);
    font-weight: 600;
}

/* Bovenbalk: formulierknoppen (Verwijderen) naast links */
.top form {
    display: inline-flex;
    margin: 0;
}

/* Groep ronde icoonknoppen in een witte pil (paginaweergave) */
.knopgroep {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-pill);
    background: var(--white);
}

.knopgroep .knop--icoon {
    width: 36px;
    height: 36px;
    min-height: 0;
    padding: 0;
    border-radius: var(--radius-pill);
    color: var(--slate);
}

.knopgroep .knop--icoon:hover,
.knopgroep .menu[open] > summary {
    background: var(--teal-100);
    color: var(--teal-700);
}

.knopgroep .knop--gevaar:hover {
    background: var(--brick-100);
    color: var(--brick);
}

.knopgroep__streep {
    width: 1.5px;
    height: 20px;
    margin: 0 3px;
    background: var(--grey-200);
}

/* ── Knoppen ───────────────────────────────────────────────────────────── */
.knop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius-pill);
    background: none;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out),
        filter var(--dur-fast) var(--ease-out);
}

.knop:hover {
    background: var(--grey-100);
    color: var(--navy);
}

.knop .icoon {
    width: 16px;
    height: 16px;
    color: currentColor;
}

.knop--primair {
    background: var(--orange);
    color: var(--white);
}

.knop--primair:hover {
    background: var(--orange-600);
    color: var(--white);
}

.knop--navy {
    background: var(--navy);
    color: var(--offwhite);
}

.knop--navy:hover {
    background: var(--navy-700);
    color: var(--white);
}

.knop--teal {
    background: var(--teal-100);
    color: var(--teal-700);
}

.knop--teal:hover {
    background: var(--teal-300);
    color: var(--navy);
}

.knop--rand {
    border: 1.5px solid var(--grey-200);
    background: var(--white);
}

.knop--rand:hover {
    border-color: var(--teal);
    background: var(--white);
}

.knop--klein {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13.5px;
}

.knop--icoon {
    width: 38px;
    padding: 0;
}

.knop--icoon .icoon {
    width: 18px;
    height: 18px;
}

.knop:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Uitklapmenu in de bovenbalk (details/summary: werkt zonder JavaScript) */
.menu {
    position: relative;
}

.menu > summary {
    list-style: none;
}

.menu > summary::-webkit-details-marker {
    display: none;
}

.menu[open] > summary {
    background: var(--grey-100);
}

.menu__lijst {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 3;
    min-width: 220px;
    padding: 6px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.menu__item:hover,
.menu__item:focus-visible {
    background: var(--teal-100);
    color: var(--navy);
}

.menu__item .icoon {
    color: var(--teal-700);
}

/* ── Inhoudskolom ──────────────────────────────────────────────────────── */
.pagina {
    flex: 1;
    padding: 8px 36px 48px;
}

.kolom {
    max-width: var(--kolom);
    margin: 0 auto;
}

.kolom--smal {
    max-width: var(--kolom-smal);
}

.kop {
    margin: 4px 0 22px;
}

.kop .intro {
    margin: 8px 0 0;
}

.intro {
    max-width: 720px;
    margin: 6px 0 22px;
    color: var(--text-muted);
    font-size: 15.5px;
}

/* Kaart: witte container met zachte hoeken */
.kaart {
    padding: 22px 24px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-lg);
    background: var(--surface-card);
}

.kaart--schaduw {
    border: 0;
    box-shadow: var(--shadow-sm);
}

.kaart--teal {
    border: 0;
    background: var(--teal-100);
    color: var(--navy);
}

.kaart--teal h2,
.kaart--teal h3 {
    margin-top: 0;
}

.kaart > h2:first-child,
.kaart > h3:first-child {
    margin-top: 0;
}

.kaart + .kaart,
.kaart + h2,
.rijen + h2,
.lijst + h2 {
    margin-top: 28px;
}

/* ── Home: hero met mascotte ───────────────────────────────────────────── */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 28px;
    padding: 36px 40px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--teal-100);
}

.hero__tekst {
    max-width: 560px;
}

.hero .eyebrow {
    color: var(--slate);
}

.hero h1 {
    margin: 0;
}

.hero__mascotte {
    position: absolute;
    top: 50%;
    right: 36px;
    transform: translateY(-50%);
    width: auto;
    height: 190px;
    opacity: 0.95;
    pointer-events: none;
}

/* Zolang de suggestielijst open is mag de hero niet afknippen (overflow: hidden houdt de afgeronde achtergrond strak) */
.hero:has(.zoek__suggesties:not([hidden])) {
    overflow: visible;
}

.hero__zoek {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 640px;
    min-height: 58px;
    margin: 0;
    padding: 0 10px 0 20px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.hero__zoek .icoon {
    color: var(--teal-700);
}

.hero__zoek input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--navy);
    font: inherit;
    font-size: 16.5px;
}

.hero__zoek input[type="search"]::placeholder {
    color: var(--text-muted);
}

.hero__zoek input[type="search"]:focus {
    outline: none;
}

.sectiekop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
}

.sectiekop h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.sectiekop h2 .icoon {
    width: 20px;
    height: 20px;
    color: var(--orange);
}

.sectiekop h2 .icoon svg {
    fill: currentColor;
}

.sectiekop a {
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}

.sectie {
    margin: 0 0 28px;
}

/* Favorietenkaarten */
.kaarten {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kaartje {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--dur-base) var(--ease-out);
}

.kaartje:hover {
    box-shadow: var(--shadow-md);
}

.kaartje__icoon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--teal);
}

.kaartje__icoon .icoon {
    color: inherit;
}

.kaartje__titel {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
}

.kaartje__titel:hover {
    color: var(--teal-700);
}

.kaartje__sub {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Ruimtes als tegels */
.ruimtes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ruimtes li {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: border-color var(--dur-base) var(--ease-out);
}

.ruimtes li:hover {
    border-color: var(--teal);
}

.ruimtes .icoon {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 10px;
    background: var(--teal-100);
    color: var(--teal-700);
}

.ruimtes a {
    display: block;
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--navy);
}

.ruimtes a:hover {
    color: var(--teal-700);
}

.ruimtes .gedempt {
    display: block;
    margin-top: 2px;
}

/* ── Lijsten met rijen (recent, alle pagina's, subpagina's, tags, prullenbak) ── */
.rijen {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lijst {
    padding: 4px 8px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.lijst__kop {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 12px 10px;
    border-bottom: 1.5px solid var(--grey-100);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.lijst__kop > span:first-child {
    flex: 1;
}

.rij {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 12px;
    border-bottom: 1.5px solid var(--grey-100);
}

.rij:last-child {
    border-bottom: 0;
}

.rij > .icoon {
    color: var(--teal-700);
}

.rij--hoog {
    flex-wrap: wrap;
}

.rij--hoog .rij__titel {
    flex-basis: 100%;
}

.rij__titel {
    flex: 1;
    min-width: 0;
    font-size: 15px;
}

.rij__titel a {
    color: var(--navy);
    font-weight: 600;
}

.rij__titel a:hover {
    color: var(--teal-700);
}

.rij__ruimte,
.rij__tijd {
    color: var(--text-muted);
    font-size: 13px;
}

.rij__ruimte {
    width: 200px;
}

.rij__tijd {
    width: 120px;
    text-align: right;
    white-space: nowrap;
}

/* Uitklapbare lijst of tabel: rijen na de eerste tien zijn verborgen tot de pijlknop eronder wordt gebruikt */
.uitklap__rij[hidden] {
    display: none;
}

.rijen--uitklapbaar .rij:last-child {
    border-bottom: 1.5px solid var(--grey-100);
}

.lijst__meer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--teal-700);
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.lijst__meer:hover {
    background: var(--grey-100);
    color: var(--navy);
}

.lijst__meer .icoon {
    width: 16px;
    height: 16px;
    color: currentColor;
    transform: rotate(90deg); /* chevron wijst standaard naar rechts; hier omlaag */
    transition: transform var(--dur-fast) var(--ease-out);
}

.lijst__meer[aria-expanded="true"] .icoon {
    transform: rotate(-90deg); /* uitgeklapt: pijl omhoog */
}

.rij form {
    margin: 0;
}

.rij--gedempt .rij__titel {
    color: var(--text-muted);
}

.avatar {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.avatar--groot {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

/* ── Tabellen (geschiedenis, audit, gebruikers) ───────────────────────── */
.tabel {
    width: 100%;
    border-collapse: collapse;
}

.tabel th,
.tabel td {
    padding: 11px 12px;
    border-bottom: 1.5px solid var(--grey-100);
    text-align: left;
    vertical-align: top;
}

.tabel th {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.tabel tr:last-child td {
    border-bottom: 0;
}

.tabel td a {
    color: var(--navy);
    font-weight: 600;
}

.tabel td a:hover {
    color: var(--teal-700);
}

.kaart--tabel {
    padding: 4px 8px;
    overflow-x: auto;
}

tr.gedempt td {
    color: var(--text-muted);
}

/* ── Paginaweergave: artikel op een witte kaart ─────────────────────────── */
.artikel {
    max-width: var(--kolom-smal);
    margin: 0 auto;
    padding: 40px 48px 44px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.artikel h1 {
    margin: 0 0 14px;
    font-size: 38px;
}

.artikel__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid var(--grey-100);
    color: var(--text-muted);
    font-size: 13.5px;
}

.artikel__meta .label {
    padding: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: 500;
}

.artikel__meta .label + .label::before {
    content: "·";
    margin-right: 12px;
    color: var(--grey-300);
}

.artikel__auteur {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
}

.artikel__auteur .avatar {
    width: 24px;
    height: 24px;
    font-size: 10px;
}

.artikel .paginainhoud {
    margin-top: 22px;
    font-size: 16.5px;
    line-height: 1.65;
}

.artikel .paginainhoud > p:first-child {
    font-size: 18px;
    color: var(--navy);
}

.artikel > .leeg {
    margin-top: 22px;
}

.artikel h2 {
    margin-top: 32px;
}

/* Labels en tags ("badge"): teal pil */
.labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 11px;
    border-radius: var(--radius-pill);
    background: var(--grey-100);
    color: var(--grey-600);
    font-size: 12.5px;
    font-weight: 600;
}

.label .icoon {
    width: 13px;
    height: 13px;
    margin-right: 2px;
    color: inherit;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
}

.label--tag {
    background: var(--teal-100);
    color: var(--teal-700);
}

.label--tag form {
    display: inline-flex;
    margin: 0;
}

.label__verwijder {
    padding: 0 2px;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
}

.label__verwijder:hover {
    color: var(--brick);
    opacity: 1;
}

.tagformulier {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.tagformulier input,
.tagformulier select,
.eigenschappenformulier select,
.rolformulier select {
    min-height: 32px;
    padding: 4px 12px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    font: inherit;
    font-size: 13.5px;
}

.tagformulier input {
    width: 160px;
}

.tagformulier input:focus,
.tagformulier select:focus,
.eigenschappenformulier select:focus,
.rolformulier select:focus {
    border-color: var(--teal);
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.tagformulier .knop,
.eigenschappen .knop,
.rolformulier .knop,
.rij .knop {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13.5px;
}

/* Eigenaar, status en laatste controle op een pagina (spec U-07, U-08) */
.eigenschappen {
    align-items: center;
    gap: 8px 10px;
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--surface-sunken);
}

.eigenschappen form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.eigenschappen .knop {
    border: 1.5px solid var(--grey-200);
    background: var(--white);
}

.eigenschappen .knop:hover {
    border-color: var(--teal);
}

.eigenschappen .label {
    background: var(--white);
}

.eigenschappenformulier > .icoon {
    color: var(--grey-500);
}

.eigenschappenformulier select {
    max-width: 240px;
}

/* Statuskleur, op het label (viewer) en op de select (editor) */
.status--concept {
    background: var(--orange-100);
    color: var(--orange-600);
}

.status--actueel {
    background: #DDF3E6;
    color: #1F7A4D;
}

.status--verouderd {
    background: var(--brick-100);
    color: var(--brick);
}

/* ── Paginainhoud (server-side gerenderde blokken) ─────────────────────── */
.paginainhoud h1 {
    margin-top: 28px;
    font-size: 28px;
}

.paginainhoud h2 {
    margin: 26px 0 8px;
    font-size: 24px;
}

.paginainhoud h3 {
    margin: 20px 0 6px;
    font-size: 18px;
}

.paginainhoud p {
    margin: 0 0 12px;
}

.paginainhoud ul,
.paginainhoud ol {
    margin: 0 0 12px;
    padding-left: 24px;
}

.paginainhoud li {
    padding: 3px 0;
}

.paginainhoud li::marker {
    color: var(--teal-700);
}

.paginainhoud a {
    color: var(--teal-700);
    text-decoration: underline;
    text-decoration-color: rgba(120, 198, 206, 0.6);
    text-underline-offset: 3px;
}

.paginainhoud a:hover {
    color: var(--navy);
    text-decoration-color: currentColor;
}

.paginainhoud pre {
    margin: 8px 0 14px;
    padding: 14px 18px;
    overflow-x: auto;
    border-radius: var(--radius-md);
    background: var(--navy);
    color: var(--offwhite);
    font-size: 13.5px;
    line-height: 1.55;
}

.paginainhoud code {
    font-family: var(--font-mono);
}

.paginainhoud :not(pre) > code {
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    background: var(--teal-100);
    color: var(--navy);
    font-size: 0.88em;
}

/* Geüploade video (blok "video") */
.paginainhoud .video-bestand {
    margin: 8px 0 16px;
    max-width: 720px;
}

.paginainhoud .video-bestand video {
    display: block;
    width: 100%;
    border-radius: var(--radius-md);
    background: #000;
}

/* Geüploade afbeelding (blok "image", PNG/JPEG) en bijlage (blok "file", PDF); spec U-01 */
.paginainhoud .afbeelding {
    margin: 8px 0 16px;
    max-width: 720px;
}

.paginainhoud .afbeelding img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.paginainhoud .bijlage {
    margin: 8px 0 16px;
}

.paginainhoud .bijlage > a::before {
    content: "\1F4CE\00A0";
}

.paginainhoud .video-bestand figcaption,
.paginainhoud .afbeelding figcaption,
.paginainhoud .bijlage figcaption {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Ingesloten video onder een alinea die alleen een YouTube-link bevat */
.paginainhoud .video {
    margin: 8px 0 16px;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--grey-100);
}

.paginainhoud .video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.paginainhoud blockquote {
    margin: 12px 0 16px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--teal-100);
    color: var(--navy);
    font-size: 15.5px;
}

.paginainhoud blockquote p:last-child {
    margin-bottom: 0;
}

.paginainhoud .checklist {
    padding-left: 2px;
    list-style: none;
}

.paginainhoud .checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.paginainhoud input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 5px 0 0;
    accent-color: var(--teal-700);
}

.paginainhoud input[type="checkbox"]:enabled {
    cursor: pointer;
}

.paginainhoud .block-children {
    margin-left: 24px;
}

.paginainhoud img {
    max-width: 100%;
}

.paginainhoud table {
    width: 100%;
    margin: 8px 0 16px;
    border-collapse: collapse;
    font-size: 15px;
}

.paginainhoud th,
.paginainhoud td {
    padding: 8px 10px;
    border: 1.5px solid var(--grey-200);
    text-align: left;
}

.paginainhoud th {
    background: var(--grey-100);
    color: var(--navy);
}

.paginainhoud hr {
    margin: 20px 0;
    border: 0;
    border-top: 1.5px solid var(--grey-200);
}

/* ── Formulieren ───────────────────────────────────────────────────────── */
.formulier {
    max-width: 560px;
}

.veld {
    margin-bottom: 18px;
}

.veld label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.veld input,
.veld select,
.veld textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--navy);
    font: inherit;
    font-size: 16px;
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.veld input::placeholder {
    color: var(--grey-400);
}

.veld input:focus,
.veld select:focus,
.veld textarea:focus {
    border-color: var(--teal);
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.veld input[aria-invalid="true"],
.veld select[aria-invalid="true"] {
    border-color: var(--brick);
}

.veld .gedempt {
    display: block;
    margin: 6px 0 0;
}

.veld__fout {
    margin: 6px 0 0;
    color: var(--brick);
    font-size: 13.5px;
}

.acties {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 22px 0 0;
}

.acties .knop--primair {
    min-height: 48px;
    padding: 0 26px;
    font-size: 15.5px;
}

/* Formulierkaart met mascotte (nieuwe pagina, verplaatsen) */
.formkaart {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 40px 34px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.formkaart .formulier {
    max-width: none;
}

.formkaart .intro {
    margin: 8px 0 24px;
}

.formkaart::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -18px;
    width: 130px;
    height: 110px;
    background: url("../img/mascotte.png") no-repeat center / contain;
    opacity: 0.35;
    pointer-events: none;
}

.titel-invoer {
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--navy);
    font: inherit;
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.titel-invoer:focus {
    outline: none;
}

.titel-invoer::placeholder {
    color: var(--grey-300);
}

.verborgen {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ── Meldingen ─────────────────────────────────────────────────────────── */
.melding {
    margin: 0 0 18px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--brick-100);
    color: var(--brick-600);
    font-size: 14.5px;
}

.melding--info {
    background: var(--teal-100);
    color: var(--navy);
}

.melding a {
    font-weight: 600;
    text-decoration: underline;
}

/* ── Editor (React-island): zelfde lettertype en kleur als de leesweergave ── */
.bewerkkaart {
    max-width: var(--kolom-smal);
    margin: 0 auto;
    padding: 36px 48px 44px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.bewerkkaart .intro {
    margin: 0 0 16px;
}

.bn-container {
    --bn-font-family: 'Mulish', system-ui, -apple-system, "Segoe UI", sans-serif;
    --bn-colors-editor-text: #2C3550;
    --bn-colors-editor-background: #FFFFFF;
    font-family: var(--bn-font-family);
    font-size: 16.5px;
}

.bn-container h1,
.bn-container h2,
.bn-container h3 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.wiki-editor__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 0 16px;
    margin-bottom: 8px;
    border-bottom: 1.5px solid var(--grey-100);
    color: var(--text-muted);
    font-size: 13.5px;
}

.wiki-editor__toolbar button {
    order: 2;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
}

.wiki-editor__toolbar button:hover {
    background: var(--orange-600);
}

.wiki-editor__toolbar button:disabled {
    opacity: 0.6;
    cursor: default;
}

.wiki-editor__toolbar [role="status"] {
    order: 1;
}

.wiki-editor__toolbar a {
    order: 3;
    font-weight: 600;
}

[data-save-status="error"],
[data-save-status="conflict"] {
    color: var(--brick);
}

/* Reden waarom een upload (afbeelding, PDF, video) is geweigerd: type of grootte */
.wiki-editor__upload-error {
    order: 4;
    flex-basis: 100%;
    color: var(--brick);
}

/* ── Foutpagina zonder zijbalk ─────────────────────────────────────────── */
.los {
    max-width: 560px;
    margin: 96px auto;
    padding: 40px 44px;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.los > .gedempt {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-700);
}

/* ── Beheerpagina: teltegels ───────────────────────────────────────────── */
.tegels {
    display: grid;
    /* auto-fit laat lege kolommen vervallen, zodat de tegels samen even breed zijn als de kaart eronder */
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.tegel {
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
    padding: 26px 28px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.tegel__getal {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
}

.tegel:nth-child(3n) .tegel__getal {
    color: var(--orange);
}

.tegel__label {
    color: var(--text-muted);
    font-size: 13.5px;
}

/* Gebruikersbeheer */
.tabel--gebruikers td {
    vertical-align: middle;
}

.tabel--gebruikers form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.tabel--gebruikers td form + form,
.tabel--gebruikers td span + form {
    margin-left: 6px;
}

/* Wachtwoord instellen per gebruiker: twee kleine velden en een knop, onder het logintype. */
.tabel--gebruikers td span + .wachtwoordformulier {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 0;
}

.tabel--gebruikers .wachtwoordformulier input[type="password"] {
    width: 140px;
    min-height: 32px;
    padding: 4px 10px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    font: inherit;
    font-size: 13.5px;
}

.tabel--gebruikers .wachtwoordformulier input[type="password"]:focus {
    border-color: var(--teal);
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.tabel .knop {
    min-height: 32px;
    padding: 0 12px;
    border: 1.5px solid var(--grey-200);
    font-size: 13.5px;
}

.tabel .knop:hover {
    border-color: var(--teal);
    background: var(--white);
}

/* Twee kolommen: inhoud links, kaart rechts (tags, gebruikers) */
.tweekolom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.tweekolom > .kaart {
    position: sticky;
    top: 70px;
}

/* ── Responsief ────────────────────────────────────────────────────────── */
@media (max-width: 64rem) {
    .tweekolom {
        grid-template-columns: minmax(0, 1fr);
    }

    .tweekolom > .kaart {
        position: static;
    }

    .hero__mascotte {
        height: 140px;
        right: 16px;
    }

    .artikel,
    .bewerkkaart {
        padding: 28px 28px 32px;
    }
}

@media (max-width: 48rem) {
    .app {
        flex-direction: column;
    }

    .zij {
        position: static;
        width: auto;
        height: auto;
        padding: 16px 12px;
    }

    .zij__voet {
        margin-top: 8px;
    }

    .top {
        position: static;
        min-height: 0;
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .pagina {
        padding: 8px 16px 40px;
    }

    .hero {
        padding: 26px 22px;
    }

    .hero__mascotte {
        display: none;
    }

    h1 {
        font-size: 30px;
    }

    .artikel h1,
    .titel-invoer {
        font-size: 30px;
    }

    .artikel,
    .bewerkkaart,
    .formkaart {
        padding: 22px 18px 26px;
        border-radius: var(--radius-lg);
    }

    .rij__ruimte {
        width: auto;
    }

    .rij__tijd {
        width: auto;
    }

    .lijst__kop {
        display: none;
    }

    .zoek__pad,
    .zoek__fragment {
        margin-left: 0;
    }

    .los {
        margin: 24px 16px;
        padding: 28px 22px;
    }
}

/* Formulier (Verwijderen) binnen de knopgroep: zelfde uitlijning als de losse knoppen */
.knopgroep form {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0;
}

/* Hoge rij (templates, prullenbak): icoon en titel op de eerste regel, de rest eronder, ingesprongen */
.rij--hoog .rij__titel {
    flex: 1 0 calc(100% - 32px);
}

.rij--hoog > .rij__titel + * {
    margin-left: 32px;
}

.rij--hoog > .rij__tijd {
    width: auto;
    text-align: left;
}

/* Actieve gebruikersrij (beheerpagina open): alleen de kleur verandert */
.zij__gebruiker .zij__rij--aan,
.zij__gebruiker .zij__rij--aan:hover {
    background: none;
    color: var(--teal);
}

/* ── Ontwerp-aanvullingen (LogicAI Wiki.html): zijbalk, rechterkolom, keuzekaarten, beheer ──────── */

/* Zijbalk: gebruikersblok met naam en rol (ontwerp 8a) */
.zij__wie {
    flex: 1;
    min-width: 0;
}

.zij__naam {
    overflow: hidden;
    color: var(--offwhite);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zij__rol {
    color: var(--text-on-dark-muted);
    font-size: 12px;
}

/* Naam en rol zijn een link naar /account/wachtwoord; zelfde kleuren, naam kleurt teal bij hover */
a.zij__wie {
    color: inherit;
    text-decoration: none;
}

a.zij__wie:hover .zij__naam,
a.zij__wie:focus-visible .zij__naam {
    color: var(--teal);
}

/* Paginaweergave met rechterkolom (ontwerp 2a): artikel links, "Op deze pagina" en "Gerelateerd" rechts */
.pagina--met-zijkant {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 28px;
    align-items: start;
    max-width: calc(var(--kolom-smal) + 28px + 240px);
    margin: 0 auto;
}

.pagina--met-zijkant .artikel {
    max-width: none;
    margin: 0;
}

.zijkant {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

.zijkant__kaart {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 8px 12px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.zijkant__kop {
    margin: 0;
    padding: 0 12px 10px;
    color: var(--grey-500);
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.inhoudsopgave {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.inhoudsopgave a {
    display: block;
    padding: 7px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
}

.inhoudsopgave a:hover,
.inhoudsopgave a:focus-visible {
    background: var(--grey-50);
    color: var(--navy);
}

.inhoudsopgave li:first-child a {
    background: var(--teal-100);
    color: var(--navy);
    font-weight: 600;
}

.inhoudsopgave__niveau-3 a {
    padding-left: 24px;
}

.inhoudsopgave__niveau-4 a,
.inhoudsopgave__niveau-5 a,
.inhoudsopgave__niveau-6 a {
    padding-left: 36px;
}

.zijkant__kaart--navy {
    gap: 6px;
    padding: 18px 18px 16px;
    border: 0;
    background: var(--navy);
    color: var(--offwhite);
}

.zijkant__kaart--navy .zijkant__kop {
    padding: 0;
    color: var(--teal);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.zijkant__koprij {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.zijkant__plus {
    width: 28px;
    height: 28px;
    min-height: 0;
    padding: 0;
    border: 1.5px solid var(--border-on-dark);
    border-radius: var(--radius-pill);
    background: none;
    color: var(--teal);
}

.zijkant__plus:hover,
.menu--zijkant[open] > .zijkant__plus {
    border-color: var(--teal);
    background: rgba(120, 198, 206, 0.18);
    color: var(--teal);
}

.zijkant__leeg {
    margin: 0;
    color: var(--text-on-dark-muted);
    font-size: 13.5px;
}

.gerelateerd {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gerelateerd li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gerelateerd a {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: var(--offwhite);
    font-size: 14px;
    text-decoration: none;
}

.gerelateerd a:hover {
    color: var(--teal);
}

.gerelateerd .icoon {
    flex: none;
    width: 14px;
    height: 14px;
    color: currentColor;
}

.gerelateerd form {
    display: inline-flex;
    margin: 0;
}

.gerelateerd .label__verwijder {
    color: var(--text-on-dark-muted);
}

.gerelateerd .label__verwijder:hover {
    color: var(--orange);
}

/* Uitklapformulier onder de plus-knop en het actiemenu per gebruiker */
.menu__formulier,
.menu__acties {
    display: grid;
    gap: 8px;
    min-width: 260px;
    padding: 12px;
    color: var(--navy);
}

.menu__formulier label,
.menu__acties label {
    display: block;
    margin-bottom: 2px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.menu__formulier select,
.menu__acties select,
.menu__acties input[type="text"],
.menu__acties input[type="password"] {
    width: 100%;
    min-height: 36px;
    padding: 4px 12px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    font: inherit;
    font-size: 14px;
}

.menu__formulier select:focus,
.menu__acties select:focus,
.menu__acties input[type="text"]:focus,
.menu__acties input[type="password"]:focus {
    border-color: var(--teal);
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.menu__formulier .knop {
    justify-content: center;
}

/* Nieuwe pagina: template als keuzekaarten (ontwerp 4a) */
.sjabloonveld {
    min-width: 0;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.sjabloonveld legend {
    margin-bottom: 10px;
    padding: 0;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.sjabloonkeuze {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.sjabloonkaart {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 14px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.sjabloonkaart:hover {
    border-color: var(--teal);
}

.sjabloonkaart:has(input:checked) {
    border-color: var(--teal);
    background: var(--teal-100);
    box-shadow: inset 0 0 0 0.5px var(--teal);
}

.sjabloonkaart:has(input:focus-visible) {
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.sjabloonkaart__icoon {
    display: inline-flex;
    color: var(--grey-500);
}

.sjabloonkaart__icoon .icoon {
    width: 20px;
    height: 20px;
    color: inherit;
}

.sjabloonkaart:has(input:checked) .sjabloonkaart__icoon {
    color: var(--teal-700);
}

.sjabloonkaart__tekst {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sjabloonkaart__titel {
    overflow-wrap: anywhere;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.sjabloonkaart__sub {
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.sjabloonveld > .gedempt {
    display: block;
    margin: 10px 0 0;
}

/* Beheer (ontwerp 3a): kop met tab-pillen, filters, personen, rolbadges, rechterkolom */
.kop--met-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
}

.kop--met-tabs .intro {
    margin-bottom: 0;
}

.tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: var(--grey-100);
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
}

.tab {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
}

.tab:hover {
    color: var(--navy);
}

.tab--aan,
.tab--aan:hover {
    background: var(--navy);
    color: var(--offwhite);
}

.tegels--drie {
    /* auto-fit: de drie tegels vullen samen de breedte van de gebruikerslijst eronder */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tegels--drie .tegel:nth-child(3n) .tegel__getal {
    color: var(--navy);
}

.gebruikerslijst {
    padding: 0;
    overflow: visible;
}

.gebruikerslijst__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 14px 20px;
    border-bottom: 1.5px solid var(--grey-100);
}

.gebruikerslijst__zoek {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    max-width: 260px;
    min-height: 38px;
    padding: 0 12px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-sm);
    background: var(--offwhite);
    color: var(--text-muted);
}

.gebruikerslijst__zoek:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.gebruikerslijst__zoek input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    color: var(--navy);
    font: inherit;
    font-size: 14px;
}

.gebruikerslijst__zoek input:focus {
    outline: none;
}

.filterpillen {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
}

.filterpil {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
}

.filterpil:hover {
    background: var(--grey-100);
    color: var(--navy);
}

.filterpil--aan,
.filterpil--aan:hover {
    background: var(--teal-100);
    color: var(--teal-700);
}

.gebruikerslijst > .leeg {
    margin: 0;
    padding: 24px 20px;
}

.gebruikerslijst .tabel th {
    color: var(--grey-500);
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.persoon {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.persoon .avatar--groot {
    width: 34px;
    height: 34px;
    font-size: 13px;
}

.persoon__tekst {
    min-width: 0;
}

.persoon__naam {
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
}

.persoon__sub {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.label--rol-admin {
    background: var(--orange-100);
    color: var(--orange-600);
}

.label--rol-editor,
.label--rol-viewer {
    background: var(--teal-100);
    color: var(--teal-700);
}

.tabel__acties {
    width: 40px;
    text-align: right;
}

.tabel__acties .menu {
    display: inline-block;
}

.tabel__acties .knop--icoon {
    width: 36px;
    height: 36px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    color: var(--grey-400);
}

.tabel__acties .knop--icoon:hover,
.tabel__acties .menu[open] > .knop--icoon {
    background: var(--grey-100);
    color: var(--navy);
}

.menu__acties form {
    display: grid;
    gap: 6px;
    margin: 0;
}

.menu__acties form + form {
    padding-top: 10px;
    border-top: 1.5px solid var(--grey-100);
}

.menu__regel {
    display: flex;
    gap: 6px;
}

.menu__regel select,
.menu__regel input[type="text"] {
    flex: 1;
    min-width: 0;
}

.menu__acties .knop {
    justify-content: center;
    min-height: 34px;
    border: 1.5px solid var(--grey-200);
    font-size: 13.5px;
}

.menu__acties .knop--gevaar:hover {
    border-color: var(--brick);
    background: var(--brick-100);
    color: var(--brick);
}

/* Beheer > overzicht: recente wijzigingen (audit) in dezelfde stijl als de gebruikerslijst */
.auditlijst {
    padding: 0;
    overflow: visible;
}

.auditlijst > .leeg {
    margin: 0;
    padding: 24px 20px;
}

.auditlijst .tabel th {
    color: var(--grey-500);
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tabel--audit td {
    vertical-align: middle;
}

.tabel--audit .label {
    white-space: nowrap;
}

.auditlijst__details {
    max-width: 260px;
    overflow-wrap: anywhere;
}

/* Kleur per soort gebeurtenis: herstellen/koppelen teal, verwijderen/ontkoppelen oranje, de rest grijs */
.label--audit-page-move,
.label--audit-page-restore,
.label--audit-page-restore-revision,
.label--audit-page-relation-add,
.label--audit-user-create,
.label--audit-user-activate {
    background: var(--teal-100);
    color: var(--teal-700);
}

.label--audit-page-delete,
.label--audit-page-relation-remove,
.label--audit-user-deactivate,
.label--audit-user-delete {
    background: var(--orange-100);
    color: var(--orange-600);
}

.zijkolom {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zijkolom .formulier {
    max-width: none;
}

.zijkolom .kaart > h2 {
    margin: 0 0 14px;
    font-size: 17px;
}

.zijkolom .veld {
    margin-bottom: 14px;
}

.zijkolom .acties {
    margin-top: 6px;
}

.knop--vol {
    width: 100%;
    justify-content: center;
}

.rollen h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.rollen p {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 64rem) {
    .pagina--met-zijkant {
        grid-template-columns: minmax(0, 1fr);
    }

    .zijkant {
        position: static;
    }
}

/* Tags (ontwerp 6a): zoekveld en sorteerpillen boven de lijstkaart, hernoemkaart rechts */
.tweekolom--tags {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.tagoverzicht {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.tagoverzicht .kop {
    margin: 4px 0 0;
}

.tagoverzicht .intro {
    margin-bottom: 0;
}

.lijstfilters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}

.lijstzoek {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 280px;
    max-width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-muted);
}

.lijstzoek:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--focus-ring);
}

.lijstzoek input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    color: var(--navy);
    font: inherit;
    font-size: 14px;
}

.lijstzoek input:focus {
    outline: none;
}

.filterpillen__label {
    padding: 6px 4px 6px 0;
    color: var(--text-muted);
}

.taglijst {
    padding: 0;
}

.taglijst > .leeg {
    margin: 0;
    padding: 24px 20px;
}

.taglijst .tabel th {
    color: var(--grey-500);
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.taglijst__tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.taglijst__tag .icoon {
    color: var(--teal-700);
}

.label--leeg {
    background: var(--grey-100);
    color: var(--grey-600);
}

.taglijst__gebruik {
    width: 110px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}

.taglijst__gebruik--nul {
    color: var(--orange-600);
}

.taglijst__actie {
    width: 44px;
    padding-right: 6px;
    padding-left: 6px;
    text-align: center;
}

.taglijst__actie form {
    display: inline-flex;
    margin: 0;
}

.taglijst .knop--icoon {
    width: 34px;
    height: 34px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    color: var(--grey-500);
}

.taglijst .knop--icoon:hover {
    background: var(--teal-100);
    color: var(--teal-700);
}

.taglijst .knop--gevaar:hover {
    background: var(--brick-100);
    color: var(--brick);
}

.taglijst__rij--aan td {
    background: var(--teal-100);
}

.hernoemkaart__gekozen {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 13.5px;
}

.tip h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.tip p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Alle pagina's (ontwerp 5a): titelfilter in de kop, ruimte- en sorteerpillen, lijstkaart met ster */
.paginaoverzicht {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.paginaoverzicht .kop {
    margin: 4px 0 0;
}

.paginaoverzicht .intro {
    margin-bottom: 0;
}

.lijstzoek--breed {
    width: 300px;
}

.filterpillen--navy .filterpil--aan,
.filterpillen--navy .filterpil--aan:hover {
    background: var(--navy);
    color: var(--offwhite);
}

.paginalijst {
    padding: 0;
}

.paginalijst > .leeg {
    margin: 0;
    padding: 24px 20px;
}

.paginalijst .tabel th {
    color: var(--grey-500);
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.paginalijst__titel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.paginalijst__titel .icoon {
    flex: none;
    color: var(--teal-700);
}

.paginalijst__titel a {
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
}

.paginalijst__ruimte {
    width: 190px;
    color: var(--text-muted);
    font-size: 13px;
}

.paginalijst__ruimte a {
    color: var(--text-muted);
}

.paginalijst__ruimte a:hover {
    color: var(--navy);
}

.paginalijst__wie {
    width: 40px;
}

.paginalijst__tijd {
    width: 120px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}

.paginalijst__ster {
    width: 40px;
    text-align: center;
}

.paginalijst .boom__ster {
    margin: 0;
    opacity: 1;
}

.paginalijst .boom__sterknop {
    color: var(--grey-400);
}

.paginalijst .boom__sterknop:hover {
    background: var(--orange-100);
    color: var(--orange);
}

.paginalijst .boom__ster--aan .boom__sterknop {
    color: var(--orange);
}

/* ── Zoeken (spec F-13, ontwerp 7a): smalle kolom, zoekbalk, tagpillen, resultatenkaart ────── */
.pagina--zoeken {
    display: flex;
    justify-content: center;
}

.zoek {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 820px;
}

.zoek__balk {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    margin: 0;
    padding: 0 8px 0 20px;
    border: 1.5px solid var(--teal);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--focus-ring);
    font-size: 17px;
}

.zoek__balk > .icoon {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--teal-700);
}

.zoek__balk input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    color: var(--navy);
    font: inherit;
}

.zoek__balk input[type="search"]::placeholder {
    color: var(--text-muted);
}

.zoek__balk input[type="search"]:focus {
    outline: none;
}

.zoek__wis {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-pill);
    color: var(--grey-500);
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
}

.zoek__wis:hover {
    background: var(--grey-100);
    color: var(--navy);
}

.zoek__balk .knop {
    flex: none;
}

/* Titelsuggesties onder de zoekbalk (zelfde uitklaplook als .menu__lijst) */
.zoek__suggesties {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 3;
    margin: 0;
    padding: 6px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
    list-style: none;
    font-size: 14px;
}

.zoek__suggesties[hidden] {
    display: none;
}

.zoek__suggestie {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

.zoek__suggestie:hover,
.zoek__suggestie:focus-visible,
.zoek__suggestie--aan {
    background: var(--teal-100);
    color: var(--navy);
}

.zoek__suggestie-pad {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 400;
    white-space: nowrap;
}

.zoek__hint {
    margin: -6px 0 0;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.zoek__kop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}

.zoek__aantal {
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
}

.zoek__tagaantal {
    opacity: 0.7;
}

.zoek__wissen {
    text-decoration: underline;
}

.zoek__resultaten {
    padding: 0;
    overflow: hidden;
}

.zoek__resultaten > .leeg {
    margin: 0;
    padding: 24px 20px;
}

.zoek__hit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1.5px solid var(--grey-100);
    transition: background var(--dur-fast) var(--ease-out);
}

.zoek__hit:last-of-type {
    border-bottom: 0;
}

.zoek__hit:hover {
    background: var(--grey-50);
}

.zoek__icoon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--teal-100);
    color: var(--teal-700);
}

.zoek__icoon .icoon {
    width: 17px;
    height: 17px;
    color: inherit;
}

.zoek__inhoud {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.zoek__hitkop {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.zoek__titel {
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.zoek__titel:hover {
    color: var(--teal-700);
}

.zoek__in {
    color: var(--text-muted);
    font-size: 13px;
}

.zoek__fragment {
    margin: 0;
    color: var(--text-body);
    font-size: 14.5px;
    line-height: 1.55;
}

.zoek__fragment mark,
.paginainhoud mark {
    padding: 0 2px;
    border-radius: 3px;
    background: var(--orange-100);
    color: var(--navy);
}

.zoek__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 13px;
}

.zoek__tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.zoek__tags .label {
    background: var(--grey-100);
    color: var(--grey-600);
}

.zoek__punt {
    color: var(--grey-300);
}

.zoek__wie {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.zoek__wie .avatar {
    width: 20px;
    height: 20px;
    font-size: 9px;
}

.zoek__paginering {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1.5px solid var(--grey-100);
}

/* Het ingebouwde wis-kruisje van het zoekveld verbergen; het ontwerp heeft een eigen wisknop. */
.zoek__balk input[type="search"]::-webkit-search-cancel-button,
.zoek__balk input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

/* Alle pagina's (ontwerp 5a): ruimtepillen op de eerste rij, Sorteer op de rij eronder, beide links */
.lijstfilters--gestapeld {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}

/* ── Loginpagina (spec F-01): navy bovenbalk met het logo links, kaart in het midden ───────── */
.inlog {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.inlog__kop {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 0 28px;
    background: var(--navy);
    color: var(--text-on-dark-muted);
}

.inlog__merk {
    display: inline-flex;
    color: inherit;
}

.inlog__logo {
    display: block;
    width: auto;
    height: 26px;
}

.inlog__ondertitel {
    padding-left: 16px;
    border-left: 1.5px solid var(--border-on-dark);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inlog__vlak {
    display: flex;
    flex: 1;
    align-items: flex-start;
    justify-content: center;
    padding: 56px 16px 64px;
}

.inlog__kaart {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 40px 44px 36px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.inlog__kaart h1 {
    margin: 0 0 6px;
}

.inlog__kaart .intro {
    margin: 0 0 24px;
}

.inlog__kaart .formulier {
    max-width: none;
}

.inlog__kaart .acties {
    margin-top: 6px;
}

.inlog__kaart .acties .knop--primair {
    width: 100%;
}

/* Mascotte rechtsboven op de hoogte van de eyebrow, zodat een lange titel er niet onderdoor loopt */
.inlog__mascotte {
    position: absolute;
    top: 16px;
    right: 26px;
    width: auto;
    height: 50px;
    opacity: 0.45;
    pointer-events: none;
}

/* "of"-scheiding tussen wachtwoordlogin en Entra */
.inlog__of {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.inlog__of::before,
.inlog__of::after {
    content: "";
    flex: 1;
    height: 1.5px;
    background: var(--grey-100);
}

.inlog__ms {
    flex: none;
}

.inlog__voet {
    margin: 24px 0 0;
    text-align: center;
}

@media (max-width: 48rem) {
    .inlog__kop {
        padding: 0 16px;
    }

    .inlog__ondertitel {
        display: none;
    }

    .inlog__vlak {
        padding: 24px 16px 40px;
    }

    .inlog__kaart {
        padding: 28px 22px 26px;
        border-radius: var(--radius-lg);
    }

    .inlog__mascotte {
        height: 42px;
        top: 12px;
        right: 16px;
    }
}

/* "Wachtwoord vergeten?" onder het wachtwoordveld, en de stappen op de uitlegpagina */
.inlog__vergeten {
    display: inline-block;
    margin-top: 8px;
    font-size: 13.5px;
    font-weight: 600;
}

.inlog__stappen {
    margin: 0 0 24px;
    padding-left: 22px;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.55;
}

.inlog__stappen li {
    padding: 3px 0;
}

.inlog__stappen li::marker {
    color: var(--teal-700);
    font-weight: 700;
}

.inlog__kaart .acties {
    flex-direction: column;
    align-items: stretch;
}

/* ── Account aanmaken (ontwerp 28-10-2026): navy welkomstpaneel links, formulier rechts ──────── */
.aanmaken {
    display: flex;
    min-height: 100vh;
    background: var(--white);
}

.aanmaken__paneel {
    display: flex;
    flex: 0 0 520px;
    max-width: 42%;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 44px 48px;
    background: var(--navy);
    color: var(--text-on-dark);
}

.aanmaken__merk {
    display: inline-flex;
    align-self: flex-start;
    color: inherit;
}

.aanmaken__logo {
    display: block;
    width: auto;
    height: 28px;
}

.aanmaken__welkom {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.aanmaken__mascotte {
    display: block;
    width: 120px;
    height: auto;
}

.aanmaken__welkom h2 {
    margin: 0;
    color: var(--offwhite);
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.aanmaken__welkom p {
    max-width: 380px;
    margin: 0;
    color: var(--text-on-dark-muted);
    font-size: 16px;
    line-height: 1.6;
}

.aanmaken__voet {
    margin: 0;
    color: var(--text-on-dark-muted);
    font-size: 13px;
}

.aanmaken__vlak {
    display: flex;
    flex: 1;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.aanmaken__kolom {
    display: flex;
    width: 100%;
    max-width: 420px;
    flex-direction: column;
    gap: 24px;
}

.aanmaken__kolom h1 {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.aanmaken__kolom .melding {
    margin: 0;
}

.aanmaken__intro {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.55;
}

.aanmaken__intro strong {
    color: var(--navy);
}

.aanmaken__formulier {
    max-width: none;
}

.aanmaken__formulier .veld {
    margin-bottom: 14px;
}

.aanmaken__kolom .acties {
    flex-direction: column;
    align-items: stretch;
    margin-top: 10px;
}

.aanmaken__login {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.aanmaken__login a {
    color: var(--slate);
    font-weight: 700;
}

@media (max-width: 56rem) {
    .aanmaken {
        flex-direction: column;
    }

    .aanmaken__paneel {
        flex: none;
        max-width: none;
        gap: 14px;
        padding: 20px 20px 24px;
    }

    .aanmaken__mascotte {
        width: 64px;
    }

    .aanmaken__welkom h2 {
        font-size: 24px;
    }

    .aanmaken__vlak {
        align-items: flex-start;
        padding: 28px 16px 40px;
    }
}

@media (max-width: 40rem) {
    .aanmaken__welkom p,
    .aanmaken__voet {
        display: none;
    }
}
