/* Merk Arvilio Boost (groep Groei, oker #B7650F; besluit Ron 17 nov 2026). Zolang Refresh UI nog geen
 * --rui-merk-boost heeft, staan de drie kleuren hier. Daarna: var(--rui-merk-boost…) gebruiken en dit blok weg.
 * Na het thema geladen, dus dit wint van de accentkleur van het thema. */
:root {
    --boost: #b7650f; --boost-tekst: #9a5409; --boost-zacht: #fbf1e6;   /* wit op #b7650f 4,3:1 (alleen voor vlakken en grote tekst); #9a5409 haalt 5,8:1 op wit en 5,2:1 op zacht */
    --rui-accent: var(--boost);
    --rui-accent-tekst: var(--boost-tekst);
    --rui-accent-zacht: var(--boost-zacht);
    --rui-knop-hover: var(--boost-tekst);
    --rui-knop-hover-tekst: #ffffff;
    --rui-menu-actief: var(--boost-zacht);
    --rui-menu-actief-tekst: var(--boost-tekst);
    --rui-verloop: linear-gradient(110deg, #16181d 0%, var(--rui-merk-inkt) 45%, var(--boost-tekst) 85%, var(--boost) 100%);
}
.menu .merk-icoon, .inlog-kop .merk-icoon { display: block; flex: none; border-radius: 22%; }
.inlog-kop .merk-icoon { width: 36px; max-width: none; }

/* Boost: kiezer bovenaan, Nog te doen, de statistieken (uit fk-beheer.css) en instellingen */
.bs-kiezer { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 0 0 14px; }
.bs-kiezer select { min-height: 30px; height: 30px; font-size: .82rem; }
.bs-kiezer label { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: .85rem; }
.bs-kiezer input[type=date] { min-height: 30px; height: 30px; font-size: .8rem; }
.bs-code { display: block; white-space: pre-wrap; word-break: break-all; background: var(--rui-blok); border: 1px solid var(--rui-lijn); border-radius: 6px; padding: 10px 12px; font: .8rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.bs-status { display: inline-flex; align-items: center; gap: 6px; }
.bs-status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--rui-licht); }
.bs-status.binnen::before { background: var(--rui-goed); }
.bs-status.stil::before { background: var(--rui-fout); }
.bs-rij-niet td { color: var(--rui-zacht); font-style: italic; }
.rap-tegels { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .rap-tegels { grid-template-columns: repeat(2, 1fr); } }
.rap-snel { display: flex; gap: 4px; flex-wrap: wrap; }
.rap-grafiek { margin: 0; }
.rap-grafiek svg { width: 100%; height: auto; display: block; }
.rap-legenda { display: flex; gap: 16px; font-size: .78rem; color: var(--rui-zacht); margin: 0 0 4px; }
.rap-legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.rap-raster { stroke: var(--rui-lijn); stroke-width: 1; }
.rap-basis { stroke: var(--rui-lijn-sterk); stroke-width: 1; }
.rap-as { fill: var(--rui-zacht); font-size: 11px; font-family: var(--rui-font); }
.rap-vlak { fill: transparent; }
.rap-maand:hover .rap-vlak { fill: var(--rui-blok); }
.rap-vlak-actief, .rap-maand:hover .rap-vlak-actief { fill: var(--rui-accent-zacht); }
.rap-tip { position: fixed; z-index: 50; pointer-events: none; background: var(--rui-zwart); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: .75rem; white-space: pre; line-height: 1.5; }

.rap-scroll { overflow-x: auto; margin-bottom: 8px; }
.rap-uitleg { margin: 28px 0; max-width: 960px; }
.rap-uitleg summary { cursor: pointer; font-weight: 600; }
.rap-uitleg li { margin: 4px 0; line-height: 1.55; }
.st-live-kop { display: grid; grid-template-columns: auto 1fr minmax(180px, 260px); gap: 24px; align-items: center; margin-bottom: 14px; }
.st-live-nu { display: flex; align-items: center; gap: 12px; }
.st-live-getal { font-size: 2.6rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.st-live-label { font-weight: 600; line-height: 1.25; }
.st-live-label .klein { font-weight: 400; color: var(--rui-zacht); }
.st-stip { width: 12px; height: 12px; border-radius: 50%; background: var(--rui-goed); box-shadow: 0 0 0 0 var(--rui-goed); animation: st-puls 2s infinite; }
.st-stil .st-stip { background: var(--rui-licht); animation: none; }
@keyframes st-puls { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); } 70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.st-live-cijfers { display: flex; gap: 22px; flex-wrap: wrap; }
.st-live-cijfers div { display: flex; flex-direction: column; }
.st-live-cijfers span { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-live-cijfers small { font-size: .74rem; color: var(--rui-zacht); }
.st-minuten { display: flex; align-items: flex-end; gap: 2px; height: 48px; }
.st-minuten i { flex: 1; background: var(--rui-accent); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .85; }
.st-minuten i:last-child { opacity: 1; }
.st-bijgewerkt { margin: 6px 0 0; color: var(--rui-zacht); }
.st-ikoon { font-size: 16px; vertical-align: -3px; color: var(--rui-zacht); }
.st-filter label { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: .85rem; }
.st-filter input[type=date] { min-height: 30px; height: 30px; font-size: .8rem; }
.st-periode { margin: 4px 0 12px; font-size: 1.05rem; }
.st-periode .klein { font-weight: 400; color: var(--rui-zacht); }
.st-duo { margin-bottom: 20px; }
.st-duo h2, .st-drie h2 { margin-top: 0; font-size: 1rem; }
.st-drie { margin-bottom: 20px; }
.st-tabel th, .st-tabel td { padding: 6px 8px; font-size: .8rem; }
.st-tabel th:first-child, .st-tabel td:first-child { padding-left: 0; }
.st-naam { position: relative; max-width: 380px; }
.st-balk { position: absolute; left: 0; top: 3px; bottom: 3px; background: var(--rui-accent-zacht); border-radius: 4px; z-index: 0; }
.st-tekst { position: relative; z-index: 1; padding-left: 6px; display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.st-wie .st-naam { max-width: 420px; }
.st-leeg { color: var(--rui-zacht); }
.st-trechter { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.st-trechter li { display: grid; grid-template-columns: 170px 1fr 110px; gap: 10px; align-items: center; font-size: .85rem; }
.st-trechter-balk { height: 18px; background: var(--rui-blok); border-radius: 4px; overflow: hidden; }
.st-trechter-balk span { display: block; height: 100%; background: var(--rui-accent); border-radius: 4px; }
.st-trechter-getal { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-trechter-getal small { color: var(--rui-zacht); font-weight: 400; }
@media (max-width: 1100px) { .st-live-kop { grid-template-columns: 1fr; } .st-trechter li { grid-template-columns: 130px 1fr 90px; } }
.afmaken { position: relative; margin: 0 14px 0 auto; }
.afmaken summary {
    list-style: none; cursor: pointer; user-select: none;
    display: flex; align-items: center; gap: 6px;
    padding: 5px 12px 5px 9px; border-radius: 999px;
    background: var(--rui-accent-zacht); color: var(--rui-accent-tekst);
    font-size: .8rem; font-weight: 600;
}
.afmaken summary::-webkit-details-marker { display: none; }
.afmaken summary .ikoon { font-size: 18px; }
.afmaken[open] summary, .afmaken summary:hover { background: var(--rui-knop-hover); color: var(--rui-knop-hover-tekst); }
.afmaken-paneel {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 20;
    width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 80px); overflow-y: auto;
    background: var(--rui-wit); border: 1px solid var(--rui-lijn); border-radius: var(--rui-radius);
    box-shadow: var(--rui-schaduw);
}
.afmaken-groep { padding: 14px 18px 6px; }
.afmaken-groep + .afmaken-groep { border-top: 1px solid var(--rui-lijn); }
.afmaken-groep h3 { margin: 0; font-size: .86rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.afmaken-groep h3 span { font-size: .72rem; padding: 1px 7px; border-radius: 999px; background: var(--rui-blok); color: var(--rui-zacht); }
.afmaken-groep > .klein { margin: 2px 0 8px; }
.afmaken-groep ul { list-style: none; margin: 0; padding: 0; }
.afmaken-groep li { position: relative; padding: 8px 0 10px 18px; border-top: 1px dashed var(--rui-lijn); font-size: .86rem; }
.afmaken-groep li:first-child { border-top: 0; }
.afmaken-groep li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--rui-accent); }
.afmaken-groep li.wacht::before { background: var(--rui-info); }
.afmaken-groep li.overstap::before { background: var(--rui-licht); }
.afmaken-groep li a { font-weight: 600; }
.afmaken-groep li .klein { margin-top: 2px; line-height: 1.45; }
.afmaken-wie { margin-left: 6px; font-size: .7rem; padding: 1px 6px; border-radius: 4px; background: var(--rui-blok); color: var(--rui-zacht); white-space: nowrap; }
@media (max-width: 700px) { .afmaken summary { font-size: 0; gap: 0; padding: 5px 8px; } .afmaken summary::after { content: attr(data-kort); font-size: .8rem; } }

