/* Wilma - gedeelde stijl voor publieke site en beheer. Licht/donker volgt het apparaat. */
:root {
  --bg: #F7F5F0; --surface: #FFFFFF; --surface2: #EFEBE2; --text: #23262B; --muted: #5B6068;
  --line: #D9D4C8; --asphalt: #4A4F57; --yellow: #FFC21A; --orange: #F26B1D; --accent: #B8470A; --accent-text: #FFFFFF;
  --ok: #1F7A3D; --ok-bg: #E3F3E8; --err: #B3261E; --err-bg: #FCE8E6; --focus: #1A5FD0;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A1C20; --surface: #23262B; --surface2: #2C3036; --text: #ECE9E1; --muted: #A9AEB6;
    --line: #3A3F47; --accent: #FFC21A; --accent-text: #23262B;
    --ok: #6FD08C; --ok-bg: #1F3326; --err: #FF8A80; --err-bg: #3B2220; --focus: #8AB4FF;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 1.6em 0 .5em; }
h1 { font-size: 2rem; margin-top: 0; } h2 { font-size: 1.4rem; } h3 { font-size: 1.1rem; }
p, ul, ol { margin: 0 0 1em; }
code, kbd { font-family: ui-monospace, Consolas, monospace; background: var(--surface2); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
pre { background: var(--surface2); padding: 1em; border-radius: var(--radius); overflow-x: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 460px; margin: 0 auto; padding: 24px 16px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* header */
.site-head { background: #23262B; color: #fff; border-bottom: 4px solid var(--yellow); }
.site-head .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.3rem; }
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.nav a { color: #E8E6E0; text-decoration: none; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { background: #3A3F47; }
.nav a[aria-current="page"] { background: var(--yellow); color: #23262B; font-weight: 600; }
/* gebruikersmenu (beheer): opent bij hover, bij toetsenbordfocus en bij tikken */
.usermenu { position: relative; margin-left: 8px; }
.usermenu-btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; color: #E8E6E0; font: inherit; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.usermenu:hover .usermenu-btn, .usermenu:focus-within .usermenu-btn { background: #3A3F47; }
.usermenu .ico { flex: none; }
.usermenu-name { max-width: 10em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usermenu-list { display: none; position: absolute; right: 0; top: 100%; min-width: 200px; padding: 6px; z-index: 20; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.usermenu:hover .usermenu-list, .usermenu:focus-within .usermenu-list { display: block; }
.usermenu-list a, .usermenu-list button { display: block; width: 100%; text-align: left; background: none; border: 0; font: inherit; color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.usermenu-list a:hover, .usermenu-list button:hover { background: var(--surface2); }
.usermenu-list a[aria-current="page"] { font-weight: 700; }
.usermenu-list form { margin: 0; }
main { padding: 28px 0 48px; }
.site-foot { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--muted); font-size: .92rem; }
.site-foot a { color: var(--muted); }

/* onderdelen */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.card > :first-child { margin-top: 0; } .card > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat { font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.badge { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--yellow); color: #23262B; vertical-align: middle; }
.badge.ok { background: var(--ok-bg); color: var(--ok); } .badge.err { background: var(--err-bg); color: var(--err); } .badge.off { background: var(--surface2); color: var(--muted); }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; border: 1px solid transparent; }
.flash.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok); }
.flash.error { background: var(--err-bg); color: var(--err); border-color: var(--err); }
.flash.info { background: var(--surface2); }
.notice { border-left: 5px solid var(--orange); background: var(--surface2); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 0 0 1em; }

/* formulieren */
label { display: block; font-weight: 600; margin: 14px 0 4px; }
input[type=text], input[type=password], input[type=email], input[type=url], input[type=number], input[type=date], input[type=tel], select, textarea {
  width: 100%; padding: 10px 12px; font: inherit; color: var(--text); background: var(--surface); border: 2px solid var(--line); border-radius: 8px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: none; }
.hint { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 14px; }
.check input { margin-top: 5px; }
.btn, button.btn { display: inline-block; background: var(--yellow); color: #23262B; border: 0; border-radius: 8px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; margin-top: 16px; }
.btn:hover { filter: brightness(.95); }
.btn.secondary { background: var(--surface2); color: var(--text); border: 1px solid var(--line); }
.btn.danger { background: var(--err-bg); color: var(--err); border: 1px solid var(--err); }
.btn.small { padding: 5px 11px; font-size: .9rem; margin-top: 0; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.code-input { font-size: 1.5rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }

/* tabel */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.codes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; list-style: none; padding: 0; }
.codes li { background: var(--surface2); padding: 8px 12px; border-radius: 8px; font-family: ui-monospace, Consolas, monospace; font-size: 1.05rem; text-align: center; }
.qr { background: #fff; padding: 12px; display: inline-block; border-radius: 8px; line-height: 0; }
.qr svg, .qr img { width: 200px; height: 200px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 0; }

/* publieke site */
.hero { background: linear-gradient(180deg, #23262B 0%, #2C3036 100%); color: #fff; padding: 56px 0 64px; border-bottom: 4px solid var(--yellow); }
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 .4em; }
.hero p { font-size: 1.15rem; max-width: 40em; color: #E8E6E0; }
.hero .btn { margin-right: 8px; }
.hero .btn.secondary { background: transparent; color: #fff; border: 2px solid #8A8F97; }
.hero-logo { width: 96px; height: 96px; margin-bottom: 16px; }
.feature h3 { margin-top: 0; }
.acro { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; list-style: none; padding: 0; }
.acro li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.acro b { display: inline-block; width: 1.4em; height: 1.4em; line-height: 1.4em; text-align: center; background: var(--yellow); color: #23262B; border-radius: 6px; margin-right: 6px; }
.release { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.release:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
@media (max-width: 600px) { .nav { margin-left: 0; } h1 { font-size: 1.6rem; } }
@media print { .site-head, .site-foot, .nav { display: none; } }

/* hamburgermenu: alleen op smalle schermen en alleen als JavaScript aan staat (anders blijft het menu zichtbaar) */
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 6px 8px; border-radius: 8px; cursor: pointer; line-height: 0; }
.nav-toggle:hover { background: #3A3F47; }
/* Het beheer heeft meer menu-items en schakelt eerder (1360 px) naar het hamburgermenu dan de gewone website (960 px). */
body:not(.pub) .site-head .wrap { max-width: 1360px; }
@media (max-width: 1360px) {
  .js body:not(.pub) .nav-toggle { display: inline-flex; }
  .js body:not(.pub) .site-head .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; margin-left: 0; }
  .js body:not(.pub) .site-head .nav.open { display: flex; }
  .js body:not(.pub) .site-head .nav a, .js body:not(.pub) .site-head .nav .usermenu-btn { padding: 10px 12px; }
  .js body:not(.pub) .usermenu { margin-left: 0; border-top: 1px solid #3A3F47; margin-top: 6px; padding-top: 6px; }
  .js body:not(.pub) .usermenu-list { display: block; position: static; background: transparent; border: 0; box-shadow: none; padding: 0 0 0 28px; min-width: 0; }
  .js body:not(.pub) .usermenu-list a, .js body:not(.pub) .usermenu-list button { color: #E8E6E0; padding: 10px 12px; }
  .js body:not(.pub) .usermenu-list a:hover, .js body:not(.pub) .usermenu-list button:hover { background: #3A3F47; }
}
@media (max-width: 960px) {
  .js body.pub .nav-toggle { display: inline-flex; }
  .js body.pub .site-head .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; margin-left: 0; }
  .js body.pub .site-head .nav.open { display: flex; }
  .js body.pub .site-head .nav a, .js body.pub .site-head .nav .usermenu-btn { padding: 10px 12px; }
  .js body.pub .usermenu { margin-left: 0; border-top: 1px solid #3A3F47; margin-top: 6px; padding-top: 6px; }
  .js body.pub .usermenu-list { display: block; position: static; background: transparent; border: 0; box-shadow: none; padding: 0 0 0 28px; min-width: 0; }
  .js body.pub .usermenu-list a, .js body.pub .usermenu-list button { color: #E8E6E0; padding: 10px 12px; }
  .js body.pub .usermenu-list a:hover, .js body.pub .usermenu-list button:hover { background: #3A3F47; }
}

/* changelog */
.cl { list-style: none; padding: 0; }
.cl li { padding: 4px 0; }
.cl strong { display: inline-block; min-width: 6.5em; color: var(--accent); }
.cl strong.cl-bugfix { color: var(--err); }
.hash { word-break: break-all; }
details.card summary { cursor: pointer; }

/* slepen en neerzetten */
.dropzone { border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bg); padding: 14px; margin: 8px 0; }
.dropzone.over { border-color: var(--accent); background: var(--surface2); }
.dropzone .dz-hint { color: var(--muted); margin: 0 0 8px; }
.dropzone .dz-file { margin: 8px 0 0; font-weight: 600; }
.dropzone .dz-msg { color: var(--err); margin: 8px 0 0; }
.progress { height: 10px; background: var(--surface2); border-radius: 6px; overflow: hidden; margin-top: 10px; }
.progress > span { display: block; height: 100%; width: 0; background: var(--yellow); }
.sr { position: absolute; left: -9999px; }
.row .grow { flex: 1 1 260px; width: auto; }
.filters > div { min-width: 140px; }
.entry { margin-bottom: 8px; }
.h-captcha { margin: 14px 0; }

/* contactformulier: verborgen veld tegen spambots (geen display:none, dat slaan sommige bots over) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* app-afbeeldingen op de homepage */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin: 0 0 8px; }
.shots figure { margin: 0; text-align: center; }
.shots img { width: 100%; height: auto; max-width: 270px; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.shots figcaption { margin-top: 8px; font-size: .92rem; color: var(--muted); }

/* ---------- publieke site 0.6: koptekst met foto, schermafbeeldingen, telefoon, documentatie ---------- */
.banner { background-color: #2C3036; color: #fff; border-bottom: 4px solid var(--yellow); padding: 30px 0 26px; background-size: cover; background-position: center; }
.banner h1 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.5rem); }
/* Foto's: zet kop.jpg (gedeeld) en/of <pagina>.jpg in assets/img/header/. Zonder foto blijft de effen donkere kop staan. */
.photo-kop { background-image: linear-gradient(90deg, rgba(28,30,34,.92), rgba(28,30,34,.62)), url("../img/header/kop.jpg"); }
.photo-home { background-image: linear-gradient(90deg, rgba(28,30,34,.94) 0%, rgba(28,30,34,.84) 55%, rgba(28,30,34,.6) 100%), url("../img/header/home.jpg"), url("../img/header/kop.jpg"); }
.photo-functies { background-image: linear-gradient(90deg, rgba(28,30,34,.92), rgba(28,30,34,.62)), url("../img/header/functies.jpg"), url("../img/header/kop.jpg"); }
.photo-documentatie { background-image: linear-gradient(90deg, rgba(28,30,34,.92), rgba(28,30,34,.62)), url("../img/header/documentatie.jpg"), url("../img/header/kop.jpg"); }
.photo-naam { background-image: linear-gradient(90deg, rgba(28,30,34,.92), rgba(28,30,34,.62)), url("../img/header/naam.jpg"), url("../img/header/kop.jpg"); }
.photo-download { background-image: linear-gradient(90deg, rgba(28,30,34,.92), rgba(28,30,34,.62)), url("../img/header/download.jpg"), url("../img/header/kop.jpg"); }

/* homepage: tekst links, telefoon rechts, deels over de rand van de kop */
.hero { background-color: #2C3036; background-size: cover; background-position: center; position: relative; margin-bottom: 110px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.hero-phone { margin: -18px 30px -170px 0; position: relative; z-index: 2; }
.phone { width: 250px; padding: 9px; background: #0B0B0D; border-radius: 38px; position: relative;
  box-shadow: 0 30px 55px rgba(0,0,0,.5), inset 0 0 0 2px #26262B, 0 0 0 1px #3A3A40;
  transform: perspective(1100px) rotateX(-6deg) rotateY(-17deg) rotateZ(5deg); }
.phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
.phone::before, .phone::after { content: ""; position: absolute; right: -3px; width: 3px; background: #1B1B1F; border-radius: 0 2px 2px 0; }
.phone::before { top: 118px; height: 50px; }
.phone::after { top: 190px; height: 74px; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { margin: 6px auto -150px; }
  .hero { margin-bottom: 130px; }
}
@media (prefers-reduced-motion: no-preference) { .hero-phone { transition: transform .3s; } }

/* naam: afkorting met de beginletters vet */
.acro li { display: flex; align-items: center; gap: 8px; }
.acro b { flex: none; margin-right: 0; }
.acro-line { font-size: 1.2rem; }
.acro-line b { color: var(--accent); }

/* schermafbeeldingen */
.shot { margin: 0; text-align: center; }
.shot a.zoom { display: inline-block; line-height: 0; cursor: zoom-in; border-radius: 22px; }
.shot img { width: 100%; max-width: 270px; height: auto; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.shot.wide img { max-width: 520px; border-radius: 14px; }
.shot figcaption { margin-top: 8px; font-size: .92rem; color: var(--muted); }
.shot-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; align-items: flex-start; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; }
.feat.rev .feat-text { order: 2; }
.feat h2 { margin-top: 0; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; gap: 16px; } .feat.rev .feat-text { order: 0; } }

/* vergelijking licht/donker: schuifknop */
.compare { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.compare figure { margin: 0; text-align: center; }
.compare img { width: 100%; max-width: 270px; height: auto; border-radius: 22px; border: 1px solid var(--line); }
.compare figcaption { margin-top: 6px; font-size: .92rem; color: var(--muted); }
.compare.on { display: block; position: relative; width: min(270px, 100%); margin: 0 auto; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.14); touch-action: pan-y; --pos: 50%; }
.compare.on figure { margin: 0; position: relative; }
.compare.on .c-two { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare.on img { max-width: none; width: 100%; border: 0; border-radius: 0; display: block; }
.compare.on figcaption { position: absolute; top: 118px; font-size: .8rem; font-weight: 700; background: rgba(0,0,0,.6); color: #fff; padding: 2px 9px; border-radius: 999px; margin: 0; }
.compare.on .c-two figcaption { left: 10px; } .compare.on .c-one figcaption { right: 10px; }
.compare.on::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35); pointer-events: none; }
.compare.on .c-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; }
.compare .knob { display: none; }
.compare.on .knob { display: block; position: absolute; top: 50%; left: var(--pos); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; border: 2px solid #23262B; z-index: 1; pointer-events: none; }
.compare.on .knob::before { content: "\2194"; position: absolute; inset: 0; text-align: center; line-height: 36px; font-size: 22px; color: #23262B; }
.compare.on:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(10,11,13,.92); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 16px; }
.lb[hidden] { display: none; }
.lb-img { max-width: min(96vw, 1400px); max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 10px; background: #222; object-fit: contain; }
.lb-cap { color: #E8E6E0; margin: 12px 56px 0; text-align: center; font-size: .98rem; min-height: 1.4em; }
.lb button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 12px; right: 12px; } .lb-prev { left: 10px; top: 50%; margin-top: -23px; } .lb-next { right: 10px; top: 50%; margin-top: -23px; }
.lb-count { position: absolute; top: 20px; left: 16px; color: #C9C6BE; font-size: .9rem; }
body.lb-open { overflow: hidden; }

/* documentatie */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.doc-toc { position: sticky; top: 12px; font-size: .95rem; }
.doc-toc ul { list-style: none; margin: 0; padding: 0; }
.doc-toc a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.doc-toc a:hover { background: var(--surface2); }
.doc section { padding-top: 6px; margin-bottom: 36px; scroll-margin-top: 12px; }
.doc section > h2 { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.doc section:first-of-type > h2 { border-top: 0; padding-top: 0; }
.doc-fig { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: 24px; align-items: start; margin: 16px 0 24px; }
.doc-fig.wide { grid-template-columns: 1fr; }
.doc-fig .shot { text-align: left; }
.doc-fig .shot img { max-width: 270px; }
.doc-fig.wide .shot img { max-width: 100%; }
.doc-fig.duo { grid-template-columns: minmax(0, 1fr); }
.legend { list-style: none; counter-reset: lg; margin: 0; padding: 0; }
.legend li { counter-increment: lg; position: relative; padding: 0 0 12px 40px; min-height: 30px; }
.legend li::before { content: counter(lg); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #BE281E; color: #fff; font-weight: 700; font-size: .95rem; line-height: 28px; text-align: center; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0,0,0,.2); }
.legend strong { display: inline; }
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin: 10px 0 0; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 10px; }
  .doc-toc { position: static; }
  .doc-toc ul { display: flex; flex-wrap: wrap; gap: 4px 6px; }
  .doc-toc a { background: var(--surface2); }
  .doc-fig { grid-template-columns: 1fr; }
  .doc-fig .shot { text-align: center; }
}
.compare .c-two { order: -1; }

/* verfijningen 0.6 */
.pub main > .hero:first-child { margin-top: -28px; }
.acro { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.feat { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.feat.rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.feat .shot-row { gap: 16px; flex-wrap: nowrap; }
.feat .shot { flex: 0 1 230px; min-width: 0; }
.feat .shot img { max-width: 100%; }
.feat .shot.wide { flex-basis: 100%; }
.doc-fig { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.doc-fig .shot img { max-width: 340px; }
.doc .shot-row .shot { flex: 0 1 220px; }
@media (max-width: 760px) { .feat, .feat.rev { grid-template-columns: 1fr; } .feat .shot-row { flex-wrap: wrap; justify-content: center; } }
@media (max-width: 900px) { .doc-fig { grid-template-columns: 1fr; } .doc-fig .shot img { max-width: 340px; } }

.photo-home { background-position: center 38%; }
.banner.photo-kop { background-position: center 45%; }
@media (max-width: 760px) {
  .photo-home { background-image: linear-gradient(rgba(28,30,34,.88), rgba(28,30,34,.88)), url("../img/header/home.jpg"), url("../img/header/kop.jpg"); }
  .photo-kop, .photo-functies, .photo-documentatie, .photo-naam, .photo-download { background-image: linear-gradient(rgba(28,30,34,.85), rgba(28,30,34,.85)), url("../img/header/kop.jpg"); }
}

/* beheer: statistiekgrafieken en voortgangsbalk */
[hidden] { display: none !important; }
progress { width: 100%; height: 14px; accent-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
svg.chart { display: block; width: 100%; height: auto; max-width: 900px; }
svg.chart .gridline { stroke: var(--line); stroke-width: 1; }
svg.chart .axis { stroke: var(--muted); stroke-width: 1; }
svg.chart .bar { fill: var(--accent); }
svg.chart .hit { fill: transparent; }
svg.chart .hit:hover { fill: var(--surface2); opacity: .6; }
svg.chart text { fill: var(--muted); font-size: 11px; font-family: inherit; }
@media (max-width: 600px) { svg.chart text { font-size: 17px; } }

/* diagnose (beheer) */
.badge.st-new { background: #8E1B14; color: #fff; } .badge.st-seen { background: var(--err-bg); color: var(--err); }
.badge.st-research { background: #F6D9B8; color: #7A3B00; } .badge.st-waiting { background: #CFE2F7; color: #0F3F73; } .badge.st-done { background: var(--ok-bg); color: var(--ok); }
.badge.import { background: var(--surface2); color: var(--muted); border: 1px solid var(--line); }
.checkrow { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.checkrow:first-of-type { border-top: 0; }
.checkrow .why { grid-column: 2; }
pre.logbox { max-height: 360px; overflow: auto; font-size: .82rem; white-space: pre-wrap; word-break: break-word; }
.meta-grid { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; } .meta-grid dt { color: var(--muted); } .meta-grid dd { margin: 0; word-break: break-word; }
@media (max-width: 600px) { .meta-grid { grid-template-columns: 1fr; } .meta-grid dd { margin-bottom: 6px; } }
.badge.ann-important { background: #8E1B14; color: #fff; } .badge.ann-warning { background: #F6D9B8; color: #7A3B00; } .badge.ann-outage { background: #E7D4F5; color: #4A1B70; }
.badge.ann-info { background: #CFE2F7; color: #0F3F73; } .badge.ann-request { background: #D5ECE6; color: #0B4F43; } .badge.ann-news { background: var(--ok-bg); color: var(--ok); }
form.inline { display: inline; }
input[type=number].w6, input[type=text].w6 { width: 6em; } input[type=number].w8, input[type=text].w8 { width: 8em; }
.row .check { margin-top: 0; }
