:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #18212b;
  --muted: #5d6874;
  --line: #dfdad0;
  --brand: #1d3a5f;
  --brand-ink: #ffffff;
  --accent: #f5a623;
  --accent-soft: #fdf1dc;
  --link: #1d4f8c;
  --ok: #2e7d4f;
  --warn: #b26a00;
  --bad: #b3261e;
  --radius: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161c; --surface: #19212a; --ink: #e8ecf0; --muted: #9aa6b2; --line: #2b3642;
    --brand: #0e2238; --accent: #f5b041; --accent-soft: #3a2c12; --link: #8cbcf2;
    --ok: #6fcf97; --warn: #f2c94c; --bad: #ff8a80;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
a { color: var(--link); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.small { font-size: .85rem; }
.muted { color: var(--muted); }

/* header */
.top { background: var(--brand); color: var(--brand-ink); padding: 12px 0 16px; border-bottom: 4px solid var(--accent); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.brand { color: var(--brand-ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--accent); color: #1d3a5f; font-size: 1.2rem; }
.langs select { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: .9rem; max-width: 46vw; }
.langs option { color: #000; }
.search { display: flex; gap: 8px; }
.search input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--radius); border: 0; font: inherit; }
.search button, button, .btn {
  background: var(--accent); color: #1b1300; border: 0; border-radius: var(--radius); padding: 10px 16px;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block;
}
button:disabled { opacity: .5; cursor: not-allowed; }
button.ghost, .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

main.wrap { padding-top: 24px; padding-bottom: 48px; }
h1 { font-size: 1.7rem; line-height: 1.25; margin: .3em 0 .5em; }
h2 { font-size: 1.25rem; }
.hero h1 { font-size: 1.5rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.flash { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 4px 14px; border-radius: 6px; margin-bottom: 16px; }

/* chapters */
.section-title { margin-top: 28px; }
.chapters { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.chapters a { display: flex; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; }
.chapters a:hover { border-color: var(--accent); }
.chapters .num { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.chapters .ctext { display: flex; flex-direction: column; }
.chapters .intro { color: var(--muted); font-size: .95rem; }
.chapters .meta { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 2px; }
.chapters li.empty a { opacity: .65; }

/* cards */
.cards { list-style: none; padding: 0; display: grid; gap: 10px; }
.cards a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; }
.cards a:hover { border-color: var(--accent); }
.cards span { color: var(--muted); font-size: .95rem; }
.tags em, .tag { font-style: normal; font-size: .75rem; font-weight: 600; background: var(--accent-soft); color: var(--ink); padding: 1px 7px; border-radius: 99px; margin-right: 4px; }
mark { background: var(--accent); color: #1b1300; padding: 0 2px; border-radius: 3px; }
.filter { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; }
.filter select { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }

/* article */
.art { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.artmeta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.notice { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 6px; margin: 14px 0; font-size: .95rem; }
.prose h2 { margin-top: 1.6em; padding-top: .4em; border-top: 1px solid var(--line); }
.prose > h2:first-child { border-top: 0; margin-top: .8em; padding-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); }
.prose blockquote { margin: 1em 0; padding: 10px 16px; border-left: 4px solid var(--brand); background: var(--bg); border-radius: 0 6px 6px 0; }
.prose blockquote p { margin: .3em 0; }
.sources { margin-top: 28px; border-top: 2px solid var(--line); }
.sources ul { padding-left: 18px; font-size: .92rem; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: .95rem; }
.pager .next { margin-left: auto; text-align: right; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: .88rem; }
.disclaimer { max-width: 70ch; }

/* admin */
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions form { margin: 0; }
.legend { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.table-wrap { overflow-x: auto; }
table.status { border-collapse: collapse; width: 100%; background: var(--surface); font-size: .92rem; }
table.status th, table.status td { border-bottom: 1px solid var(--line); padding: 8px; text-align: center; }
table.status td:first-child, table.status th:first-child { text-align: left; }
tr.unpub { opacity: .6; }
.st { display: inline-block; min-width: 28px; text-align: center; padding: 1px 7px; border-radius: 6px; font-size: .8rem; font-weight: 700; text-decoration: none; }
.st-source { background: var(--brand); color: #fff; }
.st-machine { background: var(--accent-soft); color: var(--warn); }
.st-reviewed { background: #e3f3e9; color: var(--ok); }
.st-outdated { background: #fbe4e2; color: var(--bad); }
.st-none { background: var(--bg); color: var(--muted); border: 1px dashed var(--line); }
.jobs { list-style: none; padding: 0; font-size: .9rem; }
.form { display: grid; gap: 14px; }
.form.narrow { max-width: 360px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
.form label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form input:not([type=checkbox]), .form select, .form textarea { font: inherit; font-weight: 400; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace !important; font-size: .9rem !important; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.countries { border: 1px solid var(--line); border-radius: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.countries label { display: flex !important; gap: 4px; font-weight: 500 !important; }
.langlist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.langlist a { display: flex; gap: 8px; align-items: center; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: inherit; }
.side-by-side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.srcbox { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px; max-height: 80vh; overflow: auto; }
.srcbox pre { white-space: pre-wrap; font-size: .85rem; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
form.inline { margin: 8px 0 16px; }
body:has(.side-by-side) .wrap { max-width: 1280px; }
@media (max-width: 800px) { .side-by-side { grid-template-columns: 1fr; } }
@media (max-width: 520px) { h1 { font-size: 1.4rem; } .art { padding: 16px; } }

/* rekentool */
.top-inner .brand { margin-right: auto; }
.toplink { color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.12); white-space: nowrap; }
.toplink:hover { background: rgba(255,255,255,.22); }
@media (max-width: 520px) { .brand span:last-child { display: none; } }
.calc-teaser { display: flex; align-items: center; gap: 14px; padding: 16px; margin: 8px 0 4px; background: var(--brand); color: #fff; border-radius: var(--radius); text-decoration: none; border-left: 6px solid var(--accent); }
.calc-teaser .ico { font-size: 1.8rem; }
.calc-teaser strong { display: block; font-size: 1.1rem; }
.calc-teaser .small { opacity: .85; }
.calc-teaser .arrow { margin-left: auto; font-size: 1.8rem; color: var(--accent); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-form { display: grid; gap: 14px; }
.calc-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 12px 14px 14px; display: grid; gap: 10px; margin: 0; }
.calc-form legend { font-weight: 700; padding: 0 6px; }
.calc-form label { display: grid; gap: 4px; font-size: .92rem; font-weight: 600; }
.calc-form label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.calc-form input:not([type=checkbox]), .calc-form select { font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%; font-size: 1.05rem; }
.calc-form button { font-size: 1.1rem; padding: 14px; }
.calc-result { position: sticky; top: 12px; display: grid; gap: 12px; }
.calc-result .big { background: var(--surface); border: 2px solid var(--ok); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 2px; }
.calc-result .big.alt { border-color: var(--accent); }
.calc-result .big.stop { border-color: var(--bad); background: #fbe4e2; color: #5c0d08; }
.calc-result .big strong { font-size: 2.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-result .lbl { font-weight: 600; color: var(--muted); }
.calc-result .stop .lbl { color: inherit; }
.bars { list-style: none; padding: 12px 16px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .92rem; }
.bars b { font-variant-numeric: tabular-nums; }
.bars i { grid-column: 1 / -1; height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.bars em { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.bars em.warn { background: var(--accent); }
.bars em.bad { background: var(--bad); }
.times { margin: 0; display: grid; gap: 8px; }
.times div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.times dt { font-size: .88rem; color: var(--muted); }
.times dd { margin: 2px 0 0; font-weight: 700; font-size: 1.1rem; }

/* beheer-navigatie */
.adminnav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; border-bottom: 2px solid var(--line); }
.adminnav a { padding: 8px 12px; text-decoration: none; color: var(--muted); font-weight: 600; border-radius: 8px 8px 0 0; }
.adminnav a.on { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-bottom-color: var(--surface); margin-bottom: -2px; }
.adminnav a.right { margin-left: auto; }
button.small, .btn.small { padding: 5px 10px; font-size: .85rem; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.inline-form input { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .85rem; }
code.key { word-break: break-all; }
pre.code { background: #10161d; color: #d7e3ef; padding: 14px; border-radius: 8px; overflow-x: auto; font-size: .8rem; }
.quizch { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 8px 0; }
.quizch summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.langs-st { display: inline-flex; gap: 3px; margin-left: auto; }
.quizch li.ok { font-weight: 700; color: var(--ok); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 12px 0; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; }
.stats strong { font-size: 1.8rem; }
.stats span { color: var(--muted); font-size: .88rem; }
.minibar { height: 6px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-bottom: 2px; }
.minibar em { display: block; height: 100%; background: var(--ok); }
table.drivers td.links { white-space: nowrap; }

/* vacatures en sponsor */
.extras { display: grid; gap: 12px; margin-top: 20px; }
.sponsor { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; position: relative; }
.sponsor img { max-height: 44px; max-width: 120px; object-fit: contain; }
.sponsor .sp-label { position: absolute; top: -9px; left: 12px; background: var(--bg); padding: 0 6px; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sponsor .sp-body { display: grid; font-size: .92rem; }
.sponsor .sp-body span { color: var(--muted); }
.jobs h2 { font-size: 1.05rem; margin: 0 0 6px; }
.jobs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.jobs li a { display: grid; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: inherit; }
.jobs li a:hover { border-color: var(--accent); }
.jobs li span { font-size: .88rem; color: var(--muted); }
.jobs .more { display: inline-block; margin-top: 6px; font-size: .9rem; font-weight: 600; }

/* opleiding */
.trainbar { background: var(--accent-soft); border-bottom: 1px solid var(--line); padding: 8px 0; font-weight: 600; }
.trainbar a { text-decoration: none; }
.tr-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.progress-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 10px; margin: 10px 0 18px; }
.pc-top { display: flex; justify-content: space-between; }
.pc-bar { height: 10px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.pc-bar em { display: block; height: 100%; background: var(--ok); }
.progress-card .btn { justify-self: start; }
.progress-card .done { color: var(--ok); font-weight: 700; margin: 0; }
.modules { list-style: none; padding: 0; display: grid; gap: 12px; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.module.passed { border-left: 5px solid var(--ok); }
.m-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.m-head h2 { margin: 0; font-size: 1.1rem; flex: 1; }
.m-head .num { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; }
.m-arts { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 4px; font-size: .95rem; }
.m-arts a { text-decoration: none; color: var(--ink); }
.m-arts li.read a { color: var(--ok); }
.quiz { display: grid; gap: 14px; }
.quiz .q { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 14px; margin: 0; }
.quiz legend { font-weight: 700; padding: 0 4px; }
.quiz .qn { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.quiz .opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 8px; margin-top: 8px; cursor: pointer; }
.quiz .opt:has(input:checked) { border-color: var(--brand); background: var(--accent-soft); }
.quiz .opt input { margin-top: 4px; }
.quiz button { font-size: 1.05rem; padding: 14px; }
.result-card { border-radius: var(--radius); padding: 16px; display: grid; gap: 2px; border: 2px solid; margin: 12px 0; }
.result-card.ok { border-color: var(--ok); background: #e3f3e9; color: #0f3d23; }
.result-card.bad { border-color: var(--bad); background: #fbe4e2; color: #5c0d08; }
.result-card .big { font-size: 2.2rem; font-weight: 700; }
.review { display: grid; gap: 10px; padding-left: 20px; }
.review li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; }
.review li.bad { border-left: 4px solid var(--bad); }
.review li.ok { border-left: 4px solid var(--ok); }
.cert { background: #fff; color: #111; border: 3px double #1d3a5f; border-radius: 6px; padding: 32px 28px; text-align: center; max-width: 720px; margin: 0 auto; }
.cert-mark { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 10px; background: #f5a623; color: #1d3a5f; font-size: 1.6rem; font-weight: 700; }
.cert-site { color: #1d3a5f; font-weight: 700; margin: 8px 0 0; }
.cert h1 { color: #1d3a5f; margin: 6px 0 18px; }
.cert-to { margin: 0; color: #555; }
.cert-name { font-size: 1.8rem; font-weight: 700; margin: 4px 0 12px; }
.cert-mods { border-collapse: collapse; margin: 10px auto; width: 100%; font-size: .95rem; }
.cert-mods th, .cert-mods td { border-bottom: 1px solid #ccc; padding: 6px 8px; text-align: left; }
.cert-foot { margin-top: 18px; font-size: .92rem; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
@media print {
  .top, .foot, .noprint, .trainbar { display: none !important; }
  body { background: #fff; }
  .cert { border-width: 4px; }
}

/* rekentool v2 */
.calc2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .calc2 { grid-template-columns: 1fr; } }
.calc2-form { display: grid; gap: 12px; }
.calc2-form > button { justify-self: start; }
.qcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px 58px; }
.qnum { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.qlabel { display: block; font-weight: 700; font-size: 1.05rem; margin: 2px 0 2px; }
.qhelp { margin: 0 0 10px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.dur { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dur input, .dur select, .timein { font: inherit; font-size: 1.25rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.dur input { width: 5.2em; text-align: center; }
.dur span { color: var(--muted); font-weight: 600; }
.qcard .check { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: .95rem; }
.qcard .check input { width: 20px; height: 20px; }
.qmore { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 12px 16px; }
.qmore summary { cursor: pointer; font-weight: 700; }
.qgrid { display: grid; gap: 18px; margin-top: 14px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 18px; font-weight: 700; border-right: 1px solid var(--line); background: var(--bg); }
.seg label:last-child span { border-right: 0; }
.seg input:checked + span { background: var(--brand); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.calc2-res { position: sticky; top: 12px; display: grid; gap: 10px; }
.rcard { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--ok); border-radius: var(--radius); padding: 12px 16px; display: grid; gap: 2px; }
.rcard.main { border-width: 2px 2px 2px 8px; }
.rcard.warn { border-left-color: var(--accent); }
.rcard.stop { border-color: var(--bad); background: #fbe4e2; color: #5c0d08; }
.rcard .rl { font-weight: 600; color: var(--muted); font-size: .92rem; }
.rcard.stop .rl { color: inherit; }
.rcard .rv { font-size: 2.4rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rcard.main .rv { font-size: 3rem; }
.rcard .rv.sm { font-size: 1.4rem; }
.rcard .rs { font-size: .92rem; }
.rnote { margin: 0; font-size: .88rem; color: var(--muted); }
.why { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.why summary { cursor: pointer; font-weight: 600; }
.why ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.why li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; font-size: .92rem; padding: 6px 8px; border-radius: 6px; }
.why li b { font-variant-numeric: tabular-nums; }
.why li em { grid-column: 1 / -1; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--brand); }
.why li.key { background: var(--accent-soft); }
.why li.bad { background: #fbe4e2; color: #5c0d08; }
@media (prefers-color-scheme: dark) { .why li em { color: var(--accent); } }
[hidden] { display: none !important; }
.minibar-calc { display: none; }
@media (max-width: 860px) {
  .minibar-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--brand); color: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .minibar-calc div { display: grid; }
  .minibar-calc span { font-size: .75rem; opacity: .85; }
  .minibar-calc strong { font-size: 1.4rem; font-variant-numeric: tabular-nums; }
  .minibar-calc.stop { background: var(--bad); }
  body:has(.minibar-calc) .foot { padding-bottom: 90px; }
}
