.beheer-kaarten{display:grid;gap:16px;min-width:0}.beheer-kaart{border:1px solid #d9e1e2;border-radius:12px;padding:16px;min-width:0;overflow-wrap:anywhere}.beheer-kaart h3{font-size:1.15rem;margin:0 0 8px}.beheer-opleidingen{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.beheer-opleiding{min-width:0;background:#f1f6f6;padding:16px;border-radius:8px}.beheer-opleiding h4{font-size:1rem;margin:0}.beheer-opleiding progress{width:100%;accent-color:#171A19}.beheer-kaart .btn-row{flex-wrap:wrap}.beheer-kaart .btn{white-space:normal;min-height:44px}#beheer-dialoog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:85dvh;overflow:auto;padding:20px;border:1px solid #d9e1e2;border-radius:12px;color:inherit;background:#fff}#beheer-dialoog::backdrop{background:rgb(0 0 0 / .4)}#beheer-dialoog input{min-width:0;box-sizing:border-box;width:100%}#beheer-historie article{padding:12px 0;border-bottom:1px solid #d9e1e2;overflow-wrap:anywhere}#beheer .field,#beheer fieldset{min-width:0}#beheer input{max-width:100%;box-sizing:border-box}@media(max-width:640px){.beheer-opleidingen{grid-template-columns:1fr}#beheer .form-grid{grid-template-columns:1fr}.beheer-kaart .btn-row .btn{flex:1 1 140px}#beheer .panel{min-width:0;padding:16px}#beheer .module-top .field{min-width:0!important;width:100%}}

.melding-nieuw{border-left:4px solid #171A19;background:#f5fafa}#meldingen-lijst,#mail-lijst{margin-top:20px}#beheer select{padding:10px;max-width:100%}#mail-overzicht summary{cursor:pointer;padding:10px 0}
[data-dashboard-view][hidden]{display:none!important}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.dashboard-grid button{appearance:none;text-align:left;padding:24px 20px;display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid #d9e1e2;border-radius:14px;cursor:pointer;color:#242d30;font:inherit;min-height:180px;box-shadow:0 3px 12px #171A1908}.dashboard-grid button:hover,.dashboard-grid button:focus-visible{border-color:#171A19;background:#f4fafa}.dashboard-grid strong{font-size:1.13rem}.dashboard-grid button>span:last-child{font-size:.88rem;color:#536569}.dashboard-icon{font-size:1.8rem;color:#171A19}.dashboard-attention{background:#edf6f5;border:1px solid #cbe0de;border-radius:14px;padding:22px}.dashboard-attention h2{font-size:1.2rem}.dashboard-attention button{display:flex;justify-content:space-between;gap:14px;width:100%;text-align:left;border:0;border-bottom:1px solid #d4e4e2;background:none;color:#174e52;padding:12px 0;font:inherit;cursor:pointer}.dashboard-activity{list-style:none;padding:0;margin:0}.dashboard-activity li{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e5eeee}.dashboard-activity small{display:block;color:#596b6d;margin-top:5px}.dashboard-activity time{font-size:.85rem;white-space:nowrap}.dashboard-subnav{display:flex;flex-wrap:wrap;gap:8px}.dashboard-subnav button{padding:12px 16px;border:1px solid #cddcdd;border-radius:9px;background:white;color:#21494d;cursor:pointer;font:inherit}.dashboard-subnav button[aria-current=page]{background:#171A19;color:white}.herstel-stappen summary{cursor:pointer;padding:12px 0;font-weight:600}.herstel-stappen li{margin:12px 0}@media(max-width:1000px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.dashboard-grid{gap:10px}.dashboard-grid button{padding:16px;min-height:155px}.dashboard-grid strong{font-size:1rem}.dashboard-activity li{flex-wrap:wrap}.dashboard-attention{padding:16px}}

/* Zelfde merkstijl voor het beheer. */
.dashboard-grid button,.dashboard-attention,.beheer-kaart,#beheer-dialoog,.dashboard-subnav button{border-radius:5px;border-color:var(--line)}
.dashboard-attention,.beheer-opleiding{background:var(--ice)}
.dashboard-attention button,.dashboard-subnav button{color:var(--fg)}
.dashboard-grid button:hover,.dashboard-grid button:focus-visible,.melding-nieuw{background:var(--mist);border-color:var(--brand)}
.dashboard-icon{color:var(--brand)}
.dashboard-grid strong{font-family:var(--font-display);font-size:1.45rem;font-weight:700}
.dashboard-subnav button[aria-current=page]{background:var(--fg);color:#fff}
.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#dashboard-kerncijfers strong{font-size:1.7rem}#dashboard-courses ol{padding-left:1.4rem}#beheer button:focus-visible,#beheer a:focus-visible{outline:3px solid var(--brand);outline-offset:3px}@media(max-width:760px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboard-kerncijfers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-grid strong{font-size:1.1rem}}@media(max-width:360px){.dashboard-grid{grid-template-columns:1fr}}

#plan-detail .plan-antw {white-space:pre-wrap;overflow-wrap:anywhere} #plan-detail details>article {margin-block:16px} #plan-detail textarea {min-height:150px;width:100%} #plan-lijst {margin-block:20px} #plan-detail {scroll-margin-top:90px}

/* Compact admin layout, independent of public landing-page section spacing. */
.beheer-page main>section{padding-block:16px 28px}
.beheer-page main>section>.wrap>.stack{gap:10px!important}
.beheer-page #beheer{gap:12px!important;padding-bottom:24px}
.beheer-page #beheer .stack{gap:10px}
.beheer-page #dashboard-titel{font-size:clamp(1.4rem,3.5vw,1.9rem)!important;line-height:1.2;margin:0}
.beheer-page .eyebrow{margin:0;font-size:.72rem}
.beheer-page #beheer section{padding-block:12px}
.beheer-page #beheer .panel{padding:14px;gap:10px}
.beheer-page #beheer .panel>section{padding:0}
.beheer-page #beheer h2{font-size:1.1rem;margin:0;line-height:1.3}
.beheer-page #beheer h3{font-size:1rem;margin:0 0 5px}
.beheer-page #beheer p{margin:0;line-height:1.4}
.beheer-page #beheer .btn-row{gap:6px}
.beheer-page #beheer .btn{min-height:44px;padding:8px 11px;font-size:.86rem}
.beheer-page #beheer .notice{padding:10px;font-size:.88rem;margin:0}
.beheer-page .dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.beheer-page .dashboard-grid button{display:grid;grid-template-columns:22px minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start;align-items:start;gap:4px 8px;padding:12px;min-height:82px;box-shadow:none}
.beheer-page .dashboard-grid .dashboard-icon{grid-column:1;grid-row:1/3;font-size:1.25rem;line-height:1.3}
.beheer-page .dashboard-grid strong{grid-column:2;font-size:1rem;line-height:1.25;overflow-wrap:anywhere}
.beheer-page .dashboard-grid button>span:last-child{grid-column:2;font-size:.78rem;line-height:1.3}
.beheer-page #dashboard-kerncijfers{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.beheer-page #dashboard-kerncijfers>*{padding:10px;min-height:0;gap:4px}
.beheer-page #dashboard-kerncijfers strong{font-size:1.4rem;line-height:1.1}
.beheer-page .dashboard-attention{padding:12px}
.beheer-page .dashboard-attention button{padding:7px 0;min-height:44px;font-size:.88rem;line-height:1.3;align-items:center}
.beheer-page .dashboard-attention button:last-child{border-bottom:0}
.beheer-page .dashboard-activity li{padding:8px 0;gap:8px;font-size:.86rem}
.beheer-page .dashboard-activity small{margin-top:2px}
.beheer-page .dashboard-subnav{gap:6px}
.beheer-page .dashboard-subnav button{padding:8px 10px;min-height:44px;font-size:.84rem}
.beheer-page .beheer-kaarten{gap:8px}
.beheer-page .beheer-kaart{padding:12px;border-radius:5px}
.beheer-page .beheer-opleidingen{gap:8px;margin:8px 0}
.beheer-page .beheer-opleiding{padding:10px}
.beheer-page #meldingen-lijst,.beheer-page #mail-lijst,.beheer-page #plan-lijst{margin-top:8px;margin-bottom:8px}
.beheer-page #beheer .form-grid{gap:10px}
.beheer-page .herstel-stappen li{margin:5px 0}
@media(max-width:760px){.beheer-page .dashboard-grid,.beheer-page #dashboard-kerncijfers{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.beheer-page .dashboard-grid button{padding:10px;min-height:84px;grid-template-columns:18px minmax(0,1fr);column-gap:6px}.beheer-page .dashboard-grid strong{font-size:.9rem}.beheer-page .dashboard-grid button>span:last-child{font-size:.74rem}.beheer-page #dashboard-kerncijfers strong{font-size:1.3rem}.beheer-page #beheer .panel{padding:12px;gap:10px}.beheer-page .dashboard-activity time{white-space:normal}}

.beheer-page .dashboard-attention{padding:10px 12px}.beheer-page .dashboard-attention h2{font-size:1rem!important;margin:0 0 2px!important}.beheer-page .dashboard-attention button{padding:6px 0;min-height:44px}.beheer-page main>section>.wrap>.stack>.eyebrow{display:none}.beheer-page #dashboard-titel{font-size:1.35rem!important}.beheer-page #beheer>button[hidden]{display:none!important}
@media(max-width:760px){.beheer-page .dashboard-grid button{grid-template-columns:minmax(0,1fr)}.beheer-page .dashboard-grid .dashboard-icon{display:none}.beheer-page .dashboard-grid strong,.beheer-page .dashboard-grid button>span:last-child{grid-column:1}}

/* Compact message actions share one row and wrap on phones. */
.message-summary{cursor:pointer;line-height:1.5}.message-reply textarea{box-sizing:border-box;width:100%;min-height:88px;margin-top:4px}.message-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}.message-action-link{border:0;background:transparent;color:var(--fg);font:inherit;font-size:.84rem;min-height:44px;padding:6px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.message-action-link[data-message-delete]{color:var(--brand)}.message-reply [role=status]:empty{display:none}.beheer-page [data-message][open]{display:flex;flex-direction:column;gap:8px}

/* One stable navigation row above every admin card. */
.beheer-page .dashboard-grid{display:none}.beheer-page #dashboard-subnav{position:sticky;top:76px;z-index:30;background:#fff;border-bottom:1px solid var(--line);padding:6px 0;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;flex-shrink:0}.beheer-page #dashboard-subnav button{white-space:nowrap;flex-shrink:0}.beheer-page [data-message]{overflow-anchor:none}.beheer-page #plan-detail:empty{display:none}

/* Shared admin geometry: one toolbar, equal controls and aligned cards. */
.beheer-page{--admin-control:44px;--admin-gap:12px}
.beheer-page #beheer :is(.panel,.beheer-kaart,.beheer-opleiding,.card){min-width:0;box-sizing:border-box}
.beheer-page #beheer .panel{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px;border-radius:8px}
.beheer-page #beheer details.panel{display:block}.beheer-page #beheer details.panel[open]>*+*{margin-top:12px}
.beheer-page #beheer :is(.beheer-kaart,.beheer-opleiding){display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:7px}
.beheer-page #beheer details.beheer-kaart:not([open]){display:block}
.beheer-page #beheer :is(h2,h3,h4,p){margin:0}
.beheer-page #beheer h2{font-size:1.1rem!important;line-height:1.4}.beheer-page #beheer h3{font-size:1rem;line-height:1.4}
.beheer-page #beheer .beheer-kaarten{gap:12px;align-items:stretch}
.beheer-page #beheer .beheer-opleidingen{gap:12px;margin:4px 0;align-items:stretch}
.beheer-page #beheer .beheer-opleiding .btn-row{margin-top:auto;padding-top:4px}
.beheer-page #beheer :is(.btn,.dashboard-subnav button){box-sizing:border-box;min-height:var(--admin-control);padding:10px 14px;font:600 .875rem/1.35 var(--font);display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:normal;border-radius:6px;max-width:100%}
.beheer-page #beheer .btn[hidden]{display:none!important}
.beheer-page #beheer .btn-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.beheer-page #beheer form>.btn{align-self:flex-start}
.beheer-page #beheer :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea),.beheer-page #beheer-dialoog :is(input:not([type=checkbox]):not([type=radio]),textarea,select){box-sizing:border-box;width:100%;min-width:0;max-width:100%;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--fg);font:400 1rem/1.4 var(--font);padding:10px 12px;min-height:var(--admin-control)}
.beheer-page #beheer :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){height:var(--admin-control)}
.beheer-page #beheer textarea{min-height:112px;resize:vertical}
.beheer-page #beheer :is(.field,form>label:not(.check),.form-grid>label){display:flex;flex-direction:column;gap:6px;min-width:0;font-size:.875rem;font-weight:600}
.beheer-page #beheer .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}
.beheer-page #beheer .form-grid>.field{height:100%;justify-content:flex-end}.beheer-page #beheer .form-grid label{line-height:1.4}
.beheer-page #beheer .check{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:.875rem;line-height:1.5;font-weight:400}
.beheer-page #beheer .check input{flex:0 0 20px;height:20px;width:20px;margin:1px 0 0}
.beheer-page #beheer fieldset{border:1px solid var(--line);border-radius:6px;padding:12px;display:grid;gap:10px;margin:0}
.beheer-page #beheer .admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.beheer-page #beheer .admin-toolbar h1{flex:1;min-width:0}.beheer-page #beheer .admin-toolbar .btn{flex-shrink:0}
.beheer-page #beheer .admin-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.beheer-page #beheer .admin-filter select{width:auto;min-width:200px}.beheer-page #beheer .admin-filter label{font-size:.875rem;font-weight:600}
.beheer-page #beheer .module-top{align-items:center;gap:12px}.beheer-page #beheer .module-top .field{flex:0 1 320px;margin:0}
.beheer-page #beheer :is(#cursist-paginas,#bestelling-paginas,#bericht-paginas):empty,.beheer-page #beheer [role=status]:empty{display:none}
.beheer-page #beheer .dashboard-subnav button{white-space:nowrap}
.beheer-page #beheer .message-actions{gap:8px 16px;min-height:44px}
.beheer-page #beheer summary{min-height:24px;line-height:1.5;overflow-wrap:anywhere;cursor:pointer}
.beheer-page #beheer :is(#privacy-list,#privacy-incidents):empty{display:none}
.beheer-page #beheer .card>ol{margin:0;padding-left:20px}
@media(max-width:640px){.beheer-page #beheer .panel{padding:12px}.beheer-page #beheer .form-grid{grid-template-columns:1fr}.beheer-page #beheer .beheer-opleidingen{grid-template-columns:1fr}.beheer-page #beheer .module-top .field{flex-basis:100%;width:100%;min-width:0!important}.beheer-page #beheer .admin-filter{align-items:stretch;flex-direction:column}.beheer-page #beheer .admin-filter select{width:100%;min-width:0}.beheer-page #beheer .btn-row .btn{flex:1 1 150px}.beheer-page #beheer .admin-toolbar .btn{flex:0 0 auto}.beheer-page #beheer form>.btn{align-self:stretch}.beheer-page #beheer .admin-toolbar h1{font-size:1.2rem!important}}
