/* Gedeeld door de pagina's die tools/ maakt: footer, donkere stand en de knoppen daarvoor. De startpagina heeft dit zelf in index.html. */
.thema{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border,#eef0f5);background:var(--card,#fff);color:var(--text,#1e293b);border-radius:99px;padding:6px 12px;font:inherit;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}
.thema:hover{border-color:var(--brand,#f26a1b)}
.ft-knop{display:inline-flex;gap:8px;flex-wrap:wrap}
.thema-i{width:14px;height:14px;border-radius:50%;box-shadow:inset -4px -3px 0 0 currentColor}
[data-theme=dark] .thema-i{box-shadow:none;background:currentColor;outline:2px dotted currentColor;outline-offset:2px;width:10px;height:10px}
/* footer: merk links, drie rijtjes links rechts */
footer.site{padding:56px 0 28px;background:transparent;font-size:.92rem}
footer.site .wrap.ft{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;align-items:start}
.ft-logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--text,#1e293b);font-weight:800;font-size:1.25rem;letter-spacing:-.03em}
.ft-logo b{color:var(--brand,#f26a1b)}
.ft-brand p{margin:12px 0;max-width:32ch;color:var(--muted,#64708a)}
.ft-mail{font-weight:600;color:var(--text,#1e293b);text-decoration:underline;text-decoration-color:#cbd3e1;text-underline-offset:4px}
footer.site{text-align:left}
.ft-col{display:flex;flex-direction:column;gap:8px;height:auto;align-items:flex-start;justify-content:flex-start}
.ft-col b{color:var(--text,#1e293b);font-size:.85rem;margin-bottom:4px}
.ft-col a{color:var(--muted,#64708a);text-decoration:none;transition:color .15s}
.ft-col a:hover,.ft-mail:hover{color:var(--brand-d,#dc5a0f)}
footer.site .wrap.ft-bot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:40px;padding-top:20px;border-top:1px solid var(--line, var(--border,#eef0f5));font-size:.82rem;color:var(--muted,#64708a)}

@media(max-width:900px){footer.site .wrap.ft{grid-template-columns:1fr 1fr}.ft-brand{grid-column:1/-1}}
@media(max-width:480px){footer.site .wrap.ft{grid-template-columns:1fr}}
[data-theme=dark]{color-scheme:dark;--bg:#1c1916;--bg2:#26211c;--card:#2d2722;--text:#f4efe8;--muted:#b9afa2;--border:#433a31;--line:rgba(255,255,255,.08);--brand:#f08a4b;--brand-d:#ffa266;--ink:#f08a4b;--ink-d:#ffa266;--ok:#4ade80}
[data-theme=dark] .btn:not(.ghost){color:#16130f}
[data-theme=dark] .btn.ghost{background:var(--card,#fff);color:var(--text,#1e293b);border-color:var(--border,#eef0f5)}
[data-theme=dark] .fb-logo .fb-word{fill:#f2ede6}
[data-theme=dark] .inv,[data-theme=dark] .card,[data-theme=dark] details,[data-theme=dark] dialog{background:var(--card,#fff);color:var(--text,#1e293b);border-color:var(--border,#eef0f5)}
[data-theme=dark] .shwt{background:#2d2722}
[data-theme=dark] .shwt button{color:var(--muted,#64708a)}
[data-theme=dark] .shwt button.on{background:#3a322b;color:var(--text,#1e293b)}
[data-theme=dark] .shwf img{border-color:#433a31;background:#2d2722}
[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select{background:var(--bg2);color:var(--text,#1e293b);border-color:var(--border,#eef0f5)}
[data-theme=dark] img:not([src$=".svg"]){filter:brightness(.92)}
[data-theme=dark] .badge{background:var(--card,#fff)}
[data-theme=dark] .ft-mail{color:var(--text,#1e293b)}
html.thema-wissel,html.thema-wissel *,html.thema-wissel *::before,html.thema-wissel *::after{transition:background-color .5s ease,color .5s ease,border-color .5s ease,fill .5s ease!important}
@media (prefers-reduced-motion:reduce){html.thema-wissel *{transition:none!important}}
footer.site .wrap{max-width:1080px;margin:0 auto;padding:0 20px}
footer.site a{text-decoration:none}
[data-theme=dark] body.los{background:var(--bg);color:var(--text)}
[data-theme=dark] body.los .box,[data-theme=dark] body.los .card{background:var(--card);border-color:var(--border);color:var(--text)}
[data-theme=dark] body.los .muted{color:var(--muted)}
[data-theme=dark] body.los main a:not(.btn){color:var(--brand)}
