/* ==========================================================================
   AMB Online — thema "Helder" (2026-11)
   Eén centraal stijlbestand. Kleuren/lettertype/afrondingen als tokens op :root;
   de bestaande klassenamen blijven, zodat alle pagina's meeschuiven.
   ========================================================================== */

@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;
  src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;
  src:url(/assets/fonts/inter-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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  /* merk */
  --red:#8C1C1C; --red-hover:#741616; --red-light:#F7ECEC; --red-border:#EBCFCF;
  --gold:#8A6A1F; --gold-light:#FBF6EA; --gold-border:#EADFC2;
  /* neutraal */
  --bg:#F5F6F8; --white:#FFFFFF; --surface-2:#F8F9FB;
  --border:#E4E6EB; --border-soft:#EEF0F3;
  --text:#16181D; --text-2:#3D434D; --muted:#5F6672;
  --shadow:rgba(16,24,40,0.06);
  /* status */
  --green:#157347; --green-light:#E8F5EE; --green-border:#BFE3CF;
  --blue:#1D4ED8;  --blue-light:#EAF0FE;  --blue-border:#C9D7FB;
  --amber:#8A5A00; --amber-light:#FFF4DB; --amber-border:#F3DDA6;
  --purple:#5B3AA8;--purple-light:#F1ECFB;--purple-border:#DCD0F3;
  /* vorm */
  --radius:12px; --radius-sm:8px; --radius-pill:999px;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  --sidebar-w:248px;
  /* aliassen voor oudere stijlen */
  --red-h:var(--red-hover); --green-bg:var(--green-light); --green-bd:var(--green-border);
  --orange:#B54708; --orange-bg:#FEF3E8;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{height:100%;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.45;min-height:100%;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased}
a{color:var(--red)}
:focus-visible{outline:2px solid var(--red);outline-offset:2px;border-radius:4px}
.amb-ico{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ── Raamwerk: zijbalk + inhoud ─────────────────────────────────────────── */
.app-layout{display:flex;flex:1;min-height:100vh}
.sidebar{width:var(--sidebar-w);flex-shrink:0;background:var(--white);border-right:1px solid var(--border);position:sticky;top:0;height:100vh;align-self:flex-start;overflow-y:auto;padding:16px 12px 12px;display:flex;flex-direction:column;gap:2px}
.content-area{flex:1;min-width:0;padding:28px 36px 48px}

.sb-brand{display:flex;align-items:center;gap:10px;padding:4px 8px 16px;text-decoration:none;color:var(--text)}
.sb-brand img{height:38px;width:auto}
.sb-brand-name{display:block;font-weight:700;font-size:15px;line-height:1.2}
.sb-brand-sub{display:block;font-size:11.5px;color:var(--muted);line-height:1.3}

.sb-dashboard,.sb-mod-link{display:flex;align-items:center;gap:12px;margin:0;padding:8px 10px;font-size:14px;font-weight:500;color:var(--text-2);text-decoration:none;border-radius:9px;transition:background .12s,color .12s}
.sb-dashboard:hover,.sb-mod-link:hover{background:var(--surface-2);color:var(--text)}
.sb-dashboard.active,.sb-mod-link.active{background:var(--red-light);color:var(--red);font-weight:600}
.sb-mod-link .s-icon{font-size:16px;flex-shrink:0;width:18px;text-align:center}
.sb-badge{margin-left:auto;font-size:11px;font-weight:600;background:var(--red-light);color:var(--red);border-radius:var(--radius-pill);padding:1px 8px}

.sb-section>summary,.sb-sub>summary{list-style:none;display:flex}
.sb-section>summary::-webkit-details-marker,.sb-sub>summary::-webkit-details-marker{display:none}
.sb-section,.sb-sub{display:block}
.sb-header{display:flex;align-items:center;gap:12px;margin:0;padding:8px 10px;font-size:14px;font-weight:500;color:var(--text-2);border-radius:9px;cursor:pointer;user-select:none;transition:background .12s,color .12s}
.sb-header:hover{background:var(--surface-2);color:var(--text)}
.sb-header.active{color:var(--red);background:var(--red-light);font-weight:600}
.sb-header .s-icon{font-size:15px;width:18px;text-align:center}
.sb-label{flex:1}
.sb-arrow{font-size:12px;color:var(--muted);transition:transform .2s;display:inline-block;opacity:.7}
.sb-section[open]>.sb-header .sb-arrow{transform:rotate(90deg)}
.sb-sub[open]>.sb-sub-header .sb-arrow{transform:rotate(90deg)}
.sb-sub-header{display:flex;align-items:center;gap:8px;margin:1px 0 1px 20px;padding:6px 10px;font-size:13px;font-weight:600;color:var(--muted);border-radius:8px;cursor:pointer;user-select:none}
.sb-sub-header:hover{background:var(--surface-2);color:var(--text)}
.sb-sub-header.active{color:var(--red);background:var(--red-light)}
.sb-sub-header .s-icon{font-size:13px}
.sb-sub-header .amb-ico,.amb-ico-sm{width:16px;height:16px}
.sb-page{display:block;margin:1px 0 1px 30px;padding:6px 10px;font-size:13px;color:var(--muted);text-decoration:none;border-radius:8px;line-height:1.3}
.sb-page:hover{background:var(--surface-2);color:var(--text)}
.sb-page.active{color:var(--red);font-weight:600;background:var(--red-light)}
.sb-page--sub,.sb-page--sub.active{margin-left:40px}
.sb-section .sb-mod-link{margin-left:20px;padding:6px 10px;font-size:13px}
.sb-login-hint{display:block;margin:1px 0 1px 30px;padding:5px 10px;font-size:12px;color:var(--muted);font-style:italic}
.sb-beheer-divider{padding:18px 10px 6px;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.6px}

.sb-user{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 6px 2px;border-top:1px solid var(--border);margin-left:-2px;margin-right:-2px}
.sb-avatar{width:34px;height:34px;border-radius:50%;background:#EEF0F3;color:var(--text);display:flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:600;flex-shrink:0}
.sb-user-text{display:flex;flex-direction:column;min-width:0;flex:1}
.sb-user-name{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-user-role{font-size:11.5px;color:var(--muted)}
.sb-tools{display:flex;align-items:center;gap:2px}
.sb-lang{font-size:11.5px;font-weight:600;color:var(--muted);text-decoration:none;padding:4px 5px;border-radius:6px}
.sb-lang.active{color:var(--red)}
.sb-lang:hover{background:var(--surface-2);color:var(--text)}
.sb-logout{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;color:var(--muted);text-decoration:none}
.sb-logout:hover{background:var(--red-light);color:var(--red)}

/* Mobiel: bovenbalk met menuknop, zijbalk schuift in */
.mtopbar{display:none}
.sb-backdrop{display:none}
@media (max-width:900px){
  .mtopbar{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:60;height:56px;padding:0 16px;background:var(--white);border-bottom:1px solid var(--border)}
  .mtopbar-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border);border-radius:10px;background:var(--white);color:var(--text);cursor:pointer}
  .mtopbar-brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;color:var(--text);text-decoration:none}
  .mtopbar-brand img{height:30px}
  .app-layout{min-height:calc(100vh - 56px)}
  .sidebar{position:fixed;left:0;top:0;bottom:0;height:100%;z-index:80;transform:translateX(-100%);transition:transform .2s ease;box-shadow:0 10px 40px rgba(16,24,40,.18)}
  body.sb-open .sidebar{transform:none}
  body.sb-open .sb-backdrop{display:block;position:fixed;inset:0;z-index:70;background:rgba(16,24,40,.35)}
  .content-area{padding:20px 16px 40px}
}

/* ── Pagina-onderdelen ──────────────────────────────────────────────────── */
.page-header{margin-bottom:24px;padding-bottom:0;border-bottom:none;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.page-header > div h1,.page-header h1{font-size:24px;font-weight:700;letter-spacing:-.3px;color:var(--text);margin-bottom:4px}
.page-header > div p,.page-header p{font-size:14px;color:var(--muted)}
.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:14px}
.breadcrumb a{color:var(--muted);text-decoration:none}
.breadcrumb a:hover{color:var(--red)}
.breadcrumb span{margin:0 6px;opacity:.6}

.page-body{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:28px 32px;line-height:1.7;font-size:14.5px}
.page-body h1,.page-body h2,.page-body h3{margin:1.2em 0 .5em;font-weight:700}
.page-body h1{font-size:21px}.page-body h2{font-size:18px}.page-body h3{font-size:15px}
.page-body p{margin-bottom:.8em}
.page-body ul,.page-body ol{margin:.5em 0 .8em 1.5em}
.page-body li{margin-bottom:.3em}
.page-body a{color:var(--red)}
.page-body table{border-collapse:collapse;width:100%;margin:1em 0}
.page-body th,.page-body td{border:1px solid var(--border);padding:8px 12px;text-align:left}
.page-body th{background:var(--surface-2);font-weight:600}

.admin-bar{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px;font-size:13px;color:var(--text-2)}
.btn-admin{padding:7px 14px;background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;display:inline-block}
.btn-admin:hover{border-color:var(--red);color:var(--red)}

/* Kaarten */
.card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.card-header{padding:14px 20px;border-bottom:1px solid var(--border);font-size:15px;font-weight:600;color:var(--text);background:var(--white);display:flex;align-items:center;justify-content:space-between;gap:12px}
.card-body{padding:20px}

/* Tabellen */
table.data-table,.card table{width:100%;border-collapse:collapse;background:var(--white)}
table.data-table{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
table.data-table th,.card table th{background:var(--surface-2);padding:10px 16px;text-align:left;font-size:12px;font-weight:600;color:var(--muted);text-transform:none;letter-spacing:0;border-bottom:1px solid var(--border);white-space:nowrap}
table.data-table td,.card table td{padding:12px 16px;font-size:13.5px;border-bottom:1px solid var(--border-soft);vertical-align:middle}
table.data-table tr:last-child td,.card table tr:last-child td{border-bottom:none}
table.data-table tbody tr:hover td,.card table tbody tr:hover td{background:#FAFBFC}

/* Knoppen */
.btn{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;text-decoration:none;border:1px solid var(--border);color:var(--text-2);cursor:pointer;background:var(--white);font-family:inherit;line-height:1.3}
.btn:hover{border-color:#C9CDD4;color:var(--text);background:var(--surface-2)}
.btn-red{background:var(--red);color:#fff;border-color:var(--red)}
.btn-red:hover{background:var(--red-hover);border-color:var(--red-hover);color:#fff}
.btn-outline{background:var(--white);border-color:var(--border);color:var(--text-2)}
.btn-outline:hover{border-color:#C9CDD4;color:var(--text);background:var(--surface-2)}
.btn-sm{padding:5px 10px;font-size:12.5px}
.btn-danger{background:var(--white);color:var(--red);border-color:var(--red-border)}
.btn-danger:hover{background:var(--red);color:#fff;border-color:var(--red)}
.btn-save{background:var(--red);color:#fff;border:none;padding:10px 20px;border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;display:inline-block;font-family:inherit}
.btn-save:hover{background:var(--red-hover)}
.btn-save[disabled]{opacity:.5;cursor:not-allowed}
.btn-cancel{color:var(--muted);text-decoration:none;font-size:14px;font-weight:500}
.btn-cancel:hover{color:var(--text)}
.btn-row{display:flex;gap:12px;align-items:center;padding-top:18px;border-top:1px solid var(--border);margin-top:8px}
.btn-hero{display:inline-block;background:var(--red);color:#fff;padding:12px 24px;border-radius:var(--radius-sm);text-decoration:none;font-size:14px;font-weight:600}
.btn-hero:hover{background:var(--red-hover)}
.btn-nav{padding:7px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13px;color:var(--text-2);text-decoration:none;white-space:nowrap}
.btn-nav:hover{border-color:#C9CDD4;color:var(--text)}

/* Badges */
.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 9px;border-radius:var(--radius-pill);font-size:12px;font-weight:600;line-height:1.5;border:1px solid transparent;white-space:nowrap}
.badge-active,.badge-yes,.badge-st-green,.badge-resolved,.badge-low{background:var(--green-light);color:var(--green);border-color:var(--green-border)}
.badge-inactive,.badge-no,.badge-st-gray,.badge-on_hold{background:#EEF0F3;color:var(--text-2);border-color:#E1E4E9}
.badge-in_repair,.badge-st-orange,.badge-in_progress,.badge-high{background:var(--amber-light);color:var(--amber);border-color:var(--amber-border)}
.badge-retired,.badge-st-slate,.badge-closed{background:#F1F2F4;color:#4B5260;border-color:#E1E4E9}
.badge-in_storage,.badge-st-blue,.badge-open,.badge-medium{background:var(--blue-light);color:var(--blue);border-color:var(--blue-border)}
.badge-st-red,.badge-internal,.badge-critical{background:var(--red-light);color:var(--red);border-color:var(--red-border)}
.badge-st-purple{background:var(--purple-light);color:var(--purple);border-color:var(--purple-border)}
.badge-external{background:var(--gold-light);color:var(--gold);border-color:var(--gold-border)}
.code-badge{background:var(--surface-2);padding:2px 8px;border-radius:6px;font-size:12px;border:1px solid var(--border);font-family:ui-monospace,Consolas,monospace}

/* Formulieren */
.form-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:24px 28px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}
.form-grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px 20px}
.form-full,.form-group.full{grid-column:1/-1}
.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:0}
.form-group label,label.field-label{font-size:13px;font-weight:600;color:var(--text-2);text-transform:none;letter-spacing:0}
input[type=text],input[type=number],input[type=email],input[type=date],input[type=datetime-local],input[type=time],input[type=search],input[type=url],input[type=tel],input[type=password],select,textarea,
.form-group input,.form-group select,.form-group textarea{width:100%;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);padding:9px 12px;font-size:14px;color:var(--text);font-family:inherit;transition:border-color .15s,box-shadow .15s}
input[type=file]{font-family:inherit;font-size:13px}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(140,28,28,.12)}
.form-group textarea,textarea{resize:vertical;min-height:84px}
.hint{font-size:12.5px;color:var(--muted);margin-top:2px}
.check-row{display:flex;align-items:center;gap:10px;padding:5px 0}
.check-row input[type=checkbox],.check-row input[type=radio]{width:16px;height:16px;flex-shrink:0;accent-color:var(--red)}
.check-row label{font-size:14px;font-weight:500;color:var(--text);text-transform:none;letter-spacing:0;margin:0}
.form-section{font-size:15px;font-weight:600;color:var(--text);text-transform:none;letter-spacing:0;margin:28px 0 14px;padding-bottom:10px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px}
.form-section::before{content:none}
@media (max-width:700px){.form-grid,.form-grid-3{grid-template-columns:1fr}.form-card{padding:20px 16px}}

/* Filters */
.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:20px;padding:12px 14px;background:var(--white);border:1px solid var(--border);border-radius:var(--radius)}
.filter-select,.filter-input{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 12px;font-size:13.5px;color:var(--text);font-family:inherit}
.filter-select{min-width:150px;width:auto}
.filter-input{min-width:220px;width:auto}

/* Statistieken / KPI's */
.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-bottom:24px}
.stat-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px}
.stat-label{font-size:13px;font-weight:500;color:var(--muted);text-transform:none;letter-spacing:0;margin-bottom:6px}
.stat-value{font-size:28px;font-weight:700;letter-spacing:-.5px;color:var(--text);line-height:1.1}
.stat-sub{font-size:12.5px;color:var(--muted);margin-top:4px}
.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin-bottom:24px}
.kpi-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:16px 18px;position:relative;overflow:hidden}
.kpi-card::before{content:'';position:absolute;left:18px;top:16px;width:8px;height:8px;border-radius:50%}
.kpi-card.kpi-blue::before{background:var(--blue)}
.kpi-card.kpi-orange::before{background:var(--amber)}
.kpi-card.kpi-green::before{background:var(--green)}
.kpi-card.kpi-red::before{background:var(--red)}
.kpi-card.kpi-gray::before{background:var(--muted)}
.kpi-label{font-size:13px;font-weight:500;color:var(--muted);text-transform:none;letter-spacing:0;margin-bottom:6px;padding-left:16px}
.kpi-value{font-size:28px;font-weight:700;line-height:1.1;letter-spacing:-.5px;color:var(--text)}
.kpi-sub{font-size:12.5px;color:var(--muted);margin-top:4px}

/* Meldingen */
.alert{padding:12px 16px;border-radius:var(--radius-sm);font-size:13.5px;margin-bottom:20px;border:1px solid;line-height:1.5}
.alert-error{background:#FEF3F2;border-color:#F6CFCB;color:#912018}
.alert-info{background:var(--green-light);border-color:var(--green-border);color:#0F5132}

/* Detailrijen */
.detail-grid{display:grid;gap:0}
.detail-row{display:grid;grid-template-columns:180px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid var(--border-soft);align-items:baseline}
.detail-row:last-child{border-bottom:none}
.detail-label{font-size:13px;font-weight:500;color:var(--muted);text-transform:none;letter-spacing:0}
.detail-value{font-size:14px;color:var(--text);line-height:1.5}
.amount-value{font-size:15px;font-weight:700;color:var(--text)}

/* Sub-navigatie in modules */
.it-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:16px;padding-bottom:0;border-bottom:none}
.it-nav-label{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.6px;margin-right:6px}
.it-nav-tab{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;font-size:13.5px;font-weight:600;color:var(--text-2);text-decoration:none;border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--white)}
.it-nav-tab:hover{border-color:#C9CDD4;color:var(--text)}
.it-nav-tab.active{background:var(--red);color:#fff;border-color:var(--red)}
.cmdb-tabs{display:flex;gap:2px;flex-wrap:wrap;margin-bottom:24px;padding:4px;background:#ECEEF2;border-radius:10px;border:none;width:fit-content;max-width:100%}
.cmdb-tab{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;font-size:13.5px;font-weight:500;color:var(--text-2);text-decoration:none;border-radius:8px}
.cmdb-tab:hover{color:var(--text);background:rgba(255,255,255,.6)}
.cmdb-tab.active{color:var(--red);background:var(--white);font-weight:600;box-shadow:0 1px 2px rgba(16,24,40,.08)}

/* Helpdesk: tijdlijn, info, prioriteit */
.activity{display:flex;flex-direction:column}
.activity-item{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--border-soft);align-items:flex-start}
.activity-item:last-child{border-bottom:none}
.activity-avatar{width:32px;height:32px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0}
.activity-avatar.internal{background:var(--gold)}
.activity-body{flex:1;min-width:0}
.activity-meta{font-size:12.5px;color:var(--muted);margin-bottom:4px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.activity-name{font-weight:600;color:var(--text)}
.activity-time{color:var(--muted)}
.activity-internal-badge{font-size:11px;font-weight:600;background:var(--gold-light);color:var(--gold);border:1px solid var(--gold-border);padding:1px 8px;border-radius:var(--radius-pill)}
.activity-text{font-size:14px;color:var(--text);line-height:1.6;white-space:pre-wrap}
.ticket-info{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}
.ticket-info-item{background:var(--surface-2);border:1px solid var(--border-soft);border-radius:var(--radius-sm);padding:12px 14px}
.ticket-info-label{font-size:12px;font-weight:500;color:var(--muted);text-transform:none;letter-spacing:0;margin-bottom:3px}
.ticket-info-value{font-size:14px;font-weight:600;color:var(--text)}
.prio-dot{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:4px}
.prio-dot.low{background:var(--green)}.prio-dot.medium{background:var(--blue)}.prio-dot.high{background:var(--amber)}.prio-dot.critical{background:var(--red)}

/* Landing */
.hero{padding:48px 0 32px}
.hero h2{font-size:28px;font-weight:700;letter-spacing:-.4px;color:var(--text);margin-bottom:10px}
.hero p{font-size:15px;color:var(--muted);line-height:1.6;max-width:520px;margin-bottom:24px}

/* ── Dashboard ──────────────────────────────────────────────────────────── */
.dash-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:24px}
.dash-head-text{flex:1;min-width:240px}
.dash-date{font-size:13px;color:var(--muted);margin-bottom:4px}
.dash-title{font-size:26px;font-weight:700;letter-spacing:-.4px}
.dash-sub{font-size:14px;color:var(--muted);margin-top:4px}
.dash-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:14px;margin-bottom:28px}
.dash-tile{background:var(--white);border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px;color:var(--text);text-decoration:none;transition:border-color .15s,box-shadow .15s,transform .15s}
.dash-tile:hover{border-color:var(--red-border);box-shadow:0 4px 14px var(--shadow);transform:translateY(-1px)}
.dash-tile-ico{width:40px;height:40px;border-radius:12px;background:var(--red-light);color:var(--red);display:flex;align-items:center;justify-content:center}
.dash-tile-ico .amb-ico{width:20px;height:20px}
.dash-tile-name{display:block;font-size:15px;font-weight:600}
.dash-tile-sub{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.dash-section-title{font-size:16px;font-weight:600;color:var(--text);margin-bottom:12px}

/* ── Zoeken (intranet + telefoonlijst), 2026-11-18 ── */
.amb-search{position:relative;display:flex;align-items:center;gap:8px}
.amb-search input{flex:1;min-width:0;width:100%;padding:9px 12px 9px 36px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--white);font:inherit;font-size:14px;color:var(--text);-webkit-appearance:none;appearance:none}
.amb-search input:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px var(--red-light)}
.amb-search-ico{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--muted);display:flex;pointer-events:none}
.amb-search-btn{padding:9px 16px;border:none;border-radius:var(--radius-sm);background:var(--red);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.amb-search-btn:hover{background:var(--red-hover)}
.amb-search--side{margin:0 0 12px}
.amb-search--side input{padding:7px 10px 7px 34px;font-size:13.5px;background:var(--surface-2)}
.amb-search--side input:focus{background:var(--white)}
.amb-search--hero{margin:0 0 24px;max-width:720px}
.amb-search--hero input{padding:13px 16px 13px 42px;font-size:15.5px;border-radius:var(--radius)}
.amb-search--hero .amb-search-ico{left:14px}
.amb-search--hero .amb-search-btn{padding:13px 20px;border-radius:var(--radius)}
.amb-search--page{margin:0 0 20px;max-width:720px}
.amb-search-pop{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:80;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:0 12px 32px rgba(16,24,40,.14);max-height:min(70vh,460px);overflow-y:auto;padding:4px}
.amb-search--side .amb-search-pop{right:auto;width:340px;max-width:calc(100vw - 32px)}
.amb-sg{display:block;padding:8px 10px;border-radius:6px;text-decoration:none;color:var(--text)}
.amb-sg:hover,.amb-sg.on{background:var(--surface-2)}
.amb-sg-t{display:block;font-size:14px;font-weight:600;line-height:1.3}
.amb-sg-c{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.amb-sg-num{font-weight:500;color:var(--muted);font-size:12.5px}
.amb-sg-lang,.srch-lang{display:inline-block;font-size:10.5px;font-weight:700;color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:0 4px;margin-left:4px;vertical-align:1px}
.amb-sg-all{font-size:13px;font-weight:600;color:var(--red);border-top:1px solid var(--border);border-radius:0 0 6px 6px;margin-top:4px}
.amb-sg-none{padding:10px;font-size:13px;color:var(--muted)}
.amb-search mark,.srch-group mark{background:#FFF1B8;color:inherit;border-radius:2px;padding:0 1px}
.srch-msg{font-size:13.5px;color:var(--muted);margin:0 0 14px}
.srch-empty{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:22px 24px;font-size:14px;display:flex;flex-direction:column;gap:4px}
.srch-empty span{color:var(--muted);font-size:13px}
.srch-group{margin:0 0 28px;max-width:880px}
.srch-group h2{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;margin:0 0 10px}
.srch-group h2 span{font-size:12px;font-weight:600;color:var(--muted);background:var(--surface-2);border-radius:var(--radius-pill);padding:1px 8px}
.srch-item{display:block;background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 16px;margin:0 0 8px;text-decoration:none;color:var(--text)}
.srch-item:hover{border-color:var(--red)}
.srch-path{display:block;font-size:12px;color:var(--muted)}
.srch-title{display:block;font-size:15.5px;font-weight:600;color:var(--red);margin:2px 0}
.srch-snip{display:block;font-size:13.5px;line-height:1.55;color:var(--text-2)}
.srch-phones{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.srch-phone{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 14px;display:flex;flex-direction:column;gap:2px}
.srch-phone-name{font-weight:600;font-size:14.5px;color:var(--text);text-decoration:none}
.srch-phone-name:hover{color:var(--red)}
.srch-phone-nrs{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13px;margin-top:4px}
.srch-phone-nrs a{color:var(--red);text-decoration:none}
.mtopbar-search{margin-left:auto}
@media (max-width:640px){.amb-search--hero .amb-search-btn,.amb-search--page .amb-search-btn{display:none}}

/* ── Intranetpagina's: foto's, documenten, video's (2026-11-18) ── */
.page-body img{max-width:100%;height:auto;border-radius:6px}
.page-body figure.image{display:table;margin:1em auto}
.page-body figure.image img{display:block}
.page-body figure.image figcaption{display:table-caption;caption-side:bottom;font-size:12.5px;color:var(--muted);text-align:center;padding-top:6px}
.page-body .img-full,.page-body figure.img-full,.page-body figure.img-full img{width:100%}
.page-body .img-left{float:left;margin:4px 20px 10px 0;max-width:45%}
.page-body .img-right{float:right;margin:4px 0 10px 20px;max-width:45%}
.page-body video,.page-body audio{display:block;max-width:100%;margin:1em 0;border-radius:6px}
.page-body video{width:100%;max-width:760px;background:#000}
.page-body iframe{max-width:100%;border:0;border-radius:6px}
.page-body iframe[src*="youtube"],.page-body iframe[src*="youtu.be"],.page-body iframe[src*="vimeo"],.page-body iframe[src*="microsoftstream"],.page-body iframe[src*="sharepoint"]{width:100%;max-width:760px;height:auto;aspect-ratio:16/9}
.page-body .doc-link{display:inline-flex;align-items:center;gap:6px;font-weight:600;text-decoration:none}
.page-body .doc-link::before{content:"";width:16px;height:16px;flex-shrink:0;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7zM14 3v5h5M10 13h6M10 17h6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7zM14 3v5h5M10 13h6M10 17h6'/%3E%3C/svg%3E") center/contain no-repeat}
.page-body .doc-link:hover{text-decoration:underline}
.page-body .doc-meta{font-size:12.5px;color:var(--muted)}
.page-body details{border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 14px;margin:.6em 0}
.page-body details>summary{cursor:pointer;font-weight:600}
.page-body hr{border:0;border-top:1px solid var(--border);margin:1.4em 0}
.page-body::after{content:"";display:table;clear:both}
@media (max-width:640px){.page-body .img-left,.page-body .img-right{float:none;margin:1em 0;max-width:100%}}
