/* ==========================================================================
   Scouting CVV Zwervers — ontwerpsysteem
   Twee kleuren dragen het geheel: signal blue #0057FF als enige accent,
   porcelain #F8F7F4 als drager. Alles daarbuiten is inkt, lijn of status.
   Geen buildstap: dit bestand is de hele stylesheet.
   ========================================================================== */

:root {
    /* merk */
    --blue:        #0057FF;
    --blue-ink:    #0042c4;   /* hover / actief */
    --blue-wash:   #edf2ff;   /* vlak achter blauwe tekst */
    --blue-line:   #c7d7ff;
    --porcelain:   #f8f7f4;

    /* inkt & lijn (warm, past bij porcelain) */
    --surface:     #ffffff;
    --ink:         #14161a;
    --ink-soft:    #43454b;
    --muted:       #74736e;
    --line:        #e5e3dd;
    --line-soft:   #efedE8;

    /* status — spaarzaam, nooit in concurrentie met het blauw */
    --ok:          #0d7a52;
    --ok-wash:     #e6f4ee;
    --warn:        #9a5b06;
    --warn-wash:   #fdf1df;
    --alert:       #b3231d;
    --alert-wash:  #fcecea;

    --radius:      14px;
    --radius-sm:   9px;
    --shadow:      0 1px 2px rgba(20, 22, 26, .04);
    --shadow-lift: 0 6px 20px -8px rgba(20, 22, 26, .18);

    --sidebar:     256px;
    --topbar-h:    49px;   /* mobiele kopbalk */
    --tabbar-h:    52px;   /* mobiele tabbalk */
    --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* Eigen display-waarden (zoals .sheet met display:grid) overrulen anders het
   hidden-attribuut van de browser. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--porcelain);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.012em; line-height: 1.25; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.0625rem; }
h3 { font-size: .9375rem; }
p  { margin: 0; }
a  { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }

/* Basisformaat voor losse iconen. Contextregels verderop (.btn svg,
   .navitem svg, ...) hebben hogere specificiteit en winnen hiervan. */
.icon { width: 18px; height: 18px; flex: none; }

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ------------------------------------------------------------------ layout */

.shell { min-height: 100vh; }

.sidebar {
    display: none;
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar);
    background: var(--surface);
    border-right: 1px solid var(--line);
    flex-direction: column;
    z-index: 40;
}

.sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line-soft);
}

/* Het clubembleem. Hoogte bepaalt de maat; het schild is smaller dan hoog,
   dus de breedte volgt. Geen vlak eromheen: het logo heeft zijn eigen vorm. */
.mark {
    display: block;
    height: 34px;
    width: auto;
    flex: none;
}

.sidebar__brand strong { display: block; font-size: .9375rem; letter-spacing: -.01em; }
.sidebar__brand span   { display: block; font-size: .75rem; color: var(--muted); }

.sidebar__nav { flex: 1; overflow-y: auto; padding: 14px 12px; }
.sidebar__group + .sidebar__group { margin-top: 18px; }

.navlabel {
    padding: 0 10px 6px;
    font-size: .6875rem;
    font-weight: 650;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #a3a09a;
}

.navitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink-soft);
}
.navitem:hover { background: var(--porcelain); color: var(--ink); }
.navitem svg { width: 18px; height: 18px; flex: none; opacity: .75; }

.navitem[aria-current="page"] {
    background: var(--blue-wash);
    color: var(--blue-ink);
    font-weight: 600;
}
.navitem[aria-current="page"] svg { opacity: 1; }

.navitem__count {
    margin-left: auto;
    min-width: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: .6875rem;
    font-weight: 650;
    line-height: 18px;
    text-align: center;
}

.sidebar__foot { padding: 14px 16px; border-top: 1px solid var(--line-soft); }
.sidebar__foot .who { font-size: .875rem; font-weight: 550; }
.sidebar__foot .role { font-size: .75rem; color: var(--muted); margin-bottom: 10px; }

/* mobiele kop */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.topbar strong { font-size: .9375rem; letter-spacing: -.01em; }
.topbar .mark { height: 28px; }
.topbar form { margin-left: auto; }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.topbar__end form { margin-left: 0; }

.main { padding-bottom: 88px; }
.container { width: 100%; max-width: 1060px; margin: 0 auto; padding: 20px 16px; }

/* mobiele tabbar */
.tabbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    display: flex;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a, .tabbar button {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 2px 7px;
    border: 0;
    background: none;
    font: inherit;
    font-size: .6875rem;
    font-weight: 550;
    color: var(--muted);
    cursor: pointer;
}
.tabbar svg { width: 20px; height: 20px; }
.tabbar [aria-current="page"], .tabbar .is-open { color: var(--blue); }

.sheet {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(20, 22, 26, .35);
    display: grid;
    align-items: end;
}
.sheet__panel {
    background: var(--surface);
    border-radius: 18px 18px 0 0;
    padding: 18px 16px calc(78px + env(safe-area-inset-bottom));
    max-height: 76vh;
    overflow-y: auto;
}
.sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet__grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: .75rem;
    font-weight: 550;
    color: var(--ink-soft);
    text-align: center;
}
.sheet__grid a[aria-current="page"] { border-color: var(--blue); background: var(--blue-wash); color: var(--blue-ink); }
.sheet__grid svg { width: 20px; height: 20px; }

@media (min-width: 880px) {
    :root { --topbar-h: 0px; --tabbar-h: 0px; }
    .sidebar { display: flex; }
    .topbar, .tabbar, .sheet { display: none !important; }
    .main { margin-left: var(--sidebar); padding-bottom: 32px; }
    .container { padding: 28px 28px 48px; }
}

/* ------------------------------------------------------------------- stack */

.stack    > * + * { margin-top: 20px; }
.stack-sm > * + * { margin-top: 10px; }
.stack-xs > * + * { margin-top: 6px; }

/* ------------------------------------------------------------------ pagina */

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .6875rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}
.eyebrow::before {
    content: "";
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
}
.page-sub { font-size: .875rem; color: var(--muted); margin-top: 4px; }

.backlink {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--blue-ink);
    margin-bottom: 6px;
}
.backlink:hover { text-decoration: underline; }

/* ------------------------------------------------------------------- kaart */

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}
.card--flush { padding: 0; overflow: hidden; }
.card--tight { padding: 13px 14px; }
.card--accent { border-color: var(--blue-line); background: linear-gradient(180deg, var(--blue-wash), #fff 70%); }
.card--warn { border-color: #f0dcb8; background: var(--warn-wash); }
.card--alert { border-color: #f2cdc9; }

a.card { display: block; transition: border-color .12s, box-shadow .12s, transform .12s; }
a.card:hover { border-color: var(--blue-line); box-shadow: var(--shadow-lift); }

.card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.card__head h2, .card__head h3 { display: flex; align-items: center; gap: 8px; }
.card__head svg { width: 17px; height: 17px; color: var(--blue); }
.card__note { font-size: .8125rem; color: var(--muted); margin-top: -6px; margin-bottom: 12px; }

/* ------------------------------------------------------------- dagstrook */

/* Het programma per dag, zoals in een wedstrijdapp: horizontaal scrollen langs
   de dagen, de gekozen dag ingekleurd. */
.daystrip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 10px;
    margin: 0 -2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.daystrip::-webkit-scrollbar { display: none; }

/* Vijf dagen in beeld, te beginnen bij vandaag. De rest van de drie weken
   haal je erbij door naar links te vegen. */
.daystrip__day {
    flex: 0 0 calc((100% - 24px) / 5);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 7px 4px 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink-soft);
    text-decoration: none;
    transition: border-color .1s, background .1s;
}
.daystrip__day:hover { border-color: var(--blue); color: var(--blue-ink); }

/* Desktop: een hele week in beeld, met pijltjes om verder te bladeren. */
@media (min-width: 900px) {
    .daystrip__day { flex-basis: calc((100% - 36px) / 7); }
}
.daystrip-wrap { position: relative; }
.daystrip__arrow {
    position: absolute; top: 50%; z-index: 2; transform: translateY(calc(-50% - 4px));
    display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer;
    box-shadow: 0 1px 4px rgba(20, 22, 26, .12); transition: opacity .15s, color .15s, border-color .15s;
}
.daystrip__arrow .icon { width: 16px; height: 16px; }
.daystrip__arrow:hover { color: var(--blue); border-color: var(--blue); }
.daystrip__arrow:disabled { opacity: 0; pointer-events: none; }
.daystrip__arrow--prev { left: -14px; }
.daystrip__arrow--prev .icon { transform: rotate(180deg); }
.daystrip__arrow--next { right: -14px; }
.daystrip__dow {
    font-size: .625rem;
    letter-spacing: -.01em;
    text-transform: lowercase;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.daystrip__num { font-size: 1rem; font-weight: 650; line-height: 1.15; white-space: nowrap; }
.daystrip__num small { font-size: .6875rem; font-weight: 550; }
.daystrip__mark {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue);
}
.daystrip__mark.is-empty { background: transparent; }

.daystrip__day.is-selected {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.daystrip__day.is-selected .daystrip__mark { background: #fff; }
.daystrip__day.is-selected .daystrip__mark.is-empty { background: transparent; }

/* Het dagblok schuift mee met de richting waarin je door de dagen gaat: een
   latere dag komt van rechts binnen, een eerdere van links. */
[data-schedule-body] { overflow-x: clip; }
[data-schedule-body][aria-busy="true"] { opacity: .5; transition: opacity .15s; }

/* Een formulier dat net verstuurd is (app.js): de knop laat zien dat het bezig is. */
form[aria-busy="true"] button:not([type="button"]),
form[aria-busy="true"] input[type="submit"] { opacity: .6; cursor: progress; }

@keyframes schedule-slide-forward {
    from { opacity: 0; transform: translate3d(18px, 0, 0); }
    to   { opacity: 1; transform: none; }
}
@keyframes schedule-slide-back {
    from { opacity: 0; transform: translate3d(-18px, 0, 0); }
    to   { opacity: 1; transform: none; }
}
[data-schedule-body].is-sliding-forward {
    animation: schedule-slide-forward .24s cubic-bezier(.22, .7, .28, 1) both;
}
[data-schedule-body].is-sliding-back {
    animation: schedule-slide-back .24s cubic-bezier(.22, .7, .28, 1) both;
}

/* Wie bewegingen heeft uitgezet, krijgt de dag gewoon in één keer te zien. */
@media (prefers-reduced-motion: reduce) {
    [data-schedule-body].is-sliding-forward,
    [data-schedule-body].is-sliding-back { animation: none; }
}

/* kopje boven de wedstrijden of trainingen van die dag */
.daygroup {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 0 8px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--muted);
}
.daygroup svg { width: 15px; height: 15px; color: var(--blue); }

/* --------------------------------------------------------------- historie */

.revision { display: block; padding: 12px 0; }
.revision + .revision { border-top: 1px solid var(--line-soft); }
.revision__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.revision details.subtle { margin-left: 34px; }

.changes { display: grid; gap: 8px; margin: 8px 0 4px; }
.changes__label { font-size: .75rem; color: var(--muted); }
.changes__values {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    font-size: .875rem;
}
.changes__from { color: var(--muted); text-decoration: line-through; }
.changes__arrow { color: var(--blue); font-weight: 650; }
.changes__to { font-weight: 550; }

/* ------------------------------------------------------------ handleiding */

.helpnav { display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.helpnav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    color: var(--ink);
    text-decoration: none;
}
.helpnav a:hover { background: var(--porcelain); }
.helpnav svg { color: var(--blue); flex: none; }
.helpnav strong { display: block; font-size: .875rem; }

.help + .help { border-top: 1px solid var(--line-soft); padding-top: 14px; }
.help__title { font-size: .9375rem; font-weight: 650; margin-bottom: 3px; }
.help__lead { font-size: .875rem; color: var(--ink-soft); }

.help__steps {
    margin: 9px 0 0;
    padding-left: 1.35em;
    display: grid;
    gap: 6px;
    font-size: .875rem;
    color: var(--ink-soft);
}
.help__steps li { padding-left: 2px; }
.help__steps li::marker { color: var(--blue); font-weight: 650; font-size: .8125rem; }

.help__note {
    display: flex;
    gap: 7px;
    margin-top: 10px;
    padding: 8px 11px;
    border-radius: var(--radius-sm);
    background: var(--porcelain);
    font-size: .8125rem;
    color: var(--ink-soft);
}
.help__note svg { flex: none; color: var(--blue); margin-top: 1px; }

/* ---------------------------------------------------------- scoutingronde */

/* Een smalle balk boven elke pagina: in welke ronde zitten we en hoeveel tijd
   is er nog. Smal, want hij staat overal. */
.roundbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border: 1px solid var(--blue-line);
    border-radius: var(--radius-sm);
    background: var(--blue-wash);
}
.roundbar__dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 87, 255, .15);
}
.roundbar__text { min-width: 0; flex: 1; }
.roundbar__name {
    font-size: .8125rem;
    font-weight: 650;
    color: var(--blue-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.roundbar__when { font-size: .75rem; color: var(--ink-soft); }
.roundbar__track {
    flex: none;
    width: 120px;
    height: 5px;
    border-radius: 999px;
    background: rgba(0, 87, 255, .17);
    overflow: hidden;
}
.roundbar__fill { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.roundbar__link {
    flex: none;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}
.roundbar__link:hover { text-decoration: underline; }

/* Over de einddatum heen: dan is het geen voortgang meer maar een signaal. */
.roundbar--overdue { border-color: #f0dcb8; background: var(--warn-wash); }
.roundbar--overdue .roundbar__dot { background: var(--warn); box-shadow: 0 0 0 3px rgba(154, 91, 6, .15); }
.roundbar--overdue .roundbar__name { color: var(--warn); }
.roundbar--overdue .roundbar__link { color: var(--warn); }

@media (max-width: 560px) {
    .roundbar__track { display: none; }
}

/* Eén regel onderaan een kaart die om actie vraagt. */
.notewarn {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
    font-size: .8125rem;
    color: var(--warn);
}
.notewarn .icon { width: 16px; height: 16px; }
.notewarn a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.grid { display: grid; gap: 14px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }

@media (min-width: 700px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--stats { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------------------------- stats */

.stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 13px;
    display: block;
    transition: border-color .12s;
}
a.stat:hover { border-color: var(--blue-line); }
.stat__value {
    font-size: 1.75rem;
    font-weight: 650;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.stat__value small { font-size: .9375rem; font-weight: 500; color: #a3a09a; letter-spacing: 0; }
.stat__label { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.stat--flag { border-color: var(--blue); background: var(--blue-wash); }
.stat--flag .stat__value { color: var(--blue-ink); }

/* Mobiel: de vier cijfers in één compacte rij, zodat het schema eerder in beeld komt. */
@media (max-width: 699px) {
    .grid--stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .stat { padding: 7px 6px 8px; text-align: center; }
    .stat__value { font-size: 1.125rem; }
    .stat__label { font-size: .625rem; line-height: 1.2; margin-top: 3px; }
}

/* ------------------------------------------------------------------ knoppen */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: none;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    cursor: pointer;
    transition: background .12s, border-color .12s, color .12s;
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:disabled { opacity: .5; pointer-events: none; }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-ink); }

.btn--outline { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-ink); }

.btn--ghost { color: var(--ink-soft); }
.btn--ghost:hover { background: var(--porcelain); }

.btn--danger { background: var(--alert); color: #fff; }
.btn--danger:hover { background: #8e1b16; }

.btn--sm { padding: 6px 11px; font-size: .8125rem; }
.btn--block { width: 100%; }

/* tekstknop: voor acties in een rij, zonder visueel gewicht */
.linkbtn {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--blue-ink);
    cursor: pointer;
}
.linkbtn:hover { text-decoration: underline; }
.linkbtn--muted { color: var(--muted); font-weight: 500; }
.linkbtn--danger { color: var(--alert); }

.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.actions--end { justify-content: flex-end; }

/* segmented control (dagen, periodes, van mij/hele groep) */
.segmented { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.segmented a, .segmented button {
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font: inherit;
    font-size: .8125rem;
    font-weight: 550;
    color: var(--ink-soft);
    cursor: pointer;
    white-space: nowrap;
}
.segmented a:hover { border-color: var(--blue-line); }
.segmented [aria-current="true"], .segmented .is-active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.scroller { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.scroller::-webkit-scrollbar { height: 0; }

/* ----------------------------------------------------------------- formulier */

.field { display: block; }
.field + .field { margin-top: 13px; }
.label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 5px;
}
.hint { font-size: .75rem; color: var(--muted); margin-top: 4px; }

.input, select.input, textarea.input {
    display: block;
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font: inherit;
    font-size: .875rem;
    color: var(--ink);
    transition: border-color .12s, box-shadow .12s;
}
.input:focus, select.input:focus, textarea.input:focus {
    outline: 0;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 87, 255, .14);
}
textarea.input { min-height: 68px; resize: vertical; }
.input--sm { padding: 5px 8px; font-size: .8125rem; }
.input--mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.formgrid { display: grid; gap: 13px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 640px) {
    .formgrid--2 { grid-template-columns: repeat(2, 1fr); }
    .formgrid--3 { grid-template-columns: repeat(3, 1fr); }
    .formgrid--4 { grid-template-columns: repeat(4, 1fr); }
    .formgrid .span-2 { grid-column: span 2; }
    .formgrid .span-full { grid-column: 1 / -1; }
}

.filterbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filterbar .input { width: auto; flex: 1 1 180px; min-width: 150px; }

.check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .875rem;
    padding: 5px 0;
    cursor: pointer;
}
.check input { margin: 2px 0 0; accent-color: var(--blue); width: 16px; height: 16px; flex: none; }

/* Een lijst waarin je spelers aanvinkt en er onderaan iets mee doet. Eén
   keuzelijst voor de hele selectie in plaats van één per regel. */
.row__check {
    flex: none;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--blue);
    cursor: pointer;
}
[data-bulk].is-enhanced .rows .row { cursor: pointer; border-radius: var(--radius-sm); }
[data-bulk].is-enhanced .rows .row:hover { background: var(--porcelain); }

.bulk__all {
    padding: 0 0 8px;
    margin-bottom: 2px;
    border-bottom: 1px solid var(--line-soft);
    font-size: .8125rem;
    color: var(--muted);
}
/* De balk plakt onderaan het scherm zolang de lijst in beeld is: bij 33
   spelers staat de knop anders ver onder de speler die je net aanvinkte. */
.bulkbar {
    position: sticky;
    bottom: var(--tabbar-h);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px -18px -18px;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--surface);
}
.bulkbar__count { font-size: .8125rem; color: var(--muted); }
.bulkbar__count.is-active { color: var(--ink); font-weight: 550; }
.bulkbar__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bulkbar select { max-width: 11rem; }

/* Keuzekaarten: een radiogroep waarbij elke optie zijn eigen uitleg draagt.
   De body is de kaart, zodat de opmaak alleen van de aangrenzende input
   afhangt en er geen :has() aan te pas komt. */
.choices { display: grid; gap: 8px; }

.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }

.choice__body {
    display: block;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    transition: border-color .12s, background .12s, box-shadow .12s;
}
.choice:hover .choice__body { border-color: var(--blue-line); }

.choice input:checked + .choice__body {
    border-color: var(--blue);
    background: var(--blue-wash);
    box-shadow: inset 0 0 0 1px var(--blue);
}
.choice input:focus-visible + .choice__body { outline: 2px solid var(--blue); outline-offset: 2px; }

.choice__body strong { display: block; font-size: .875rem; font-weight: 600; }
.choice input:checked + .choice__body strong { color: var(--blue-ink); }
.choice__body span { display: block; font-size: .75rem; color: var(--muted); margin-top: 2px; line-height: 1.45; }

/* ------------------------------------------------------- beoordelingsschaal */

.rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
}
.rate:last-child { border-bottom: 0; }
.rate__label { font-size: .875rem; color: var(--ink-soft); }
.rate__scale { display: flex; gap: 5px; flex: none; }
.rate__scale input { position: absolute; opacity: 0; pointer-events: none; }
.rate__scale label {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 650;
    color: #a3a09a;
    cursor: pointer;
    transition: all .12s;
    font-variant-numeric: tabular-nums;
}
.rate__scale label:hover { border-color: var(--blue-line); color: var(--blue-ink); }
.rate__scale input:checked + label {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.rate__scale input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }

.groupcaption {
    font-size: .6875rem;
    font-weight: 650;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--blue-ink);
    margin: 14px 0 2px;
}
.scalekey { font-size: .75rem; color: var(--muted); margin-bottom: 6px; }

/* voortgangsbalk boven het rapportformulier; blijft onder de mobiele kopbalk */
.progress { position: sticky; top: var(--topbar-h); z-index: 20; padding: 10px 0; background: var(--porcelain); }
@media (min-width: 880px) { .progress { top: 0; } }
.progress__meta {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: var(--muted);
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
}
.bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 999px; background: var(--blue); transition: width .2s; }

.submitbar {
    position: sticky;
    bottom: var(--tabbar-h);
    display: flex;
    gap: 9px;
    justify-content: flex-end;
    padding: 12px 0;
    background: linear-gradient(180deg, rgba(248, 247, 244, 0), var(--porcelain) 45%);
}

/* ------------------------------------------------------------------ badges */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--porcelain);
    border: 1px solid var(--line);
    font-size: .75rem;
    font-weight: 600;
    color: var(--ink-soft);
    white-space: nowrap;
}
.badge--blue  { background: var(--blue-wash); border-color: var(--blue-line); color: var(--blue-ink); }
.badge--solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.badge--ok    { background: var(--ok-wash); border-color: #c3e4d6; color: var(--ok); }
.badge--warn  { background: var(--warn-wash); border-color: #f0dcb8; color: var(--warn); }
.badge--alert { background: var(--alert-wash); border-color: #f2cdc9; color: var(--alert); }
.badge--quiet { color: var(--muted); }
.badge--num   { font-variant-numeric: tabular-nums; min-width: 26px; justify-content: center; }

/* ------------------------------------------------------------------- lijsten */

.rows { display: flex; flex-direction: column; }
.rows > li, .rows > div { border-bottom: 1px solid var(--line-soft); }
.rows > li:last-child, .rows > div:last-child { border-bottom: 0; }

.row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
}
.row--link { transition: background .1s; border-radius: var(--radius-sm); }
a.row--link:hover { background: var(--porcelain); }
.row__main { min-width: 0; flex: 1; }
.row__title { font-weight: 550; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__meta { font-size: .75rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; }
.row__meta svg { width: 13px; height: 13px; opacity: .8; }
/* opvallend in een grijze regel, zoals "op 10 okt ingelogd" bij de activiteit */
.text-warn { color: var(--warn); font-weight: 600; }
.row__aside { flex: none; display: flex; align-items: center; gap: 8px; }

.card--flush .row { padding: 12px 16px; }

.avatar {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 999px;
    background: var(--blue-wash);
    color: var(--blue-ink);
    display: grid;
    place-items: center;
    font-size: .8125rem;
    font-weight: 650;
    letter-spacing: -.01em;
}
.avatar--lg { width: 60px; height: 60px; font-size: 1.125rem; }
.avatar--sm { width: 34px; height: 34px; font-size: .75rem; }

.pile { display: flex; }
.pile > * { margin-left: -6px; border: 2px solid var(--surface); }
.pile > *:first-child { margin-left: 0; }
.chip {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #e8e6e0;
    color: var(--ink-soft);
    display: grid;
    place-items: center;
    font-size: .625rem;
    font-weight: 650;
}
.chip--me { background: var(--blue); color: #fff; }

.empty { font-size: .875rem; color: var(--muted); }

/* ----------------------------------------------------------------- spelers */

/* Eigen component in plaats van .card + .row: die twee botsen (a.card zet
   display:block en wint van de flex van .row), waardoor de kaart uit elkaar valt. */
.playercard {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: border-color .12s, box-shadow .12s;
    min-width: 0;
}
.playercard:hover { border-color: var(--blue-line); box-shadow: var(--shadow-lift); }
.playercard__body { min-width: 0; flex: 1; }
.playercard__name {
    display: block;
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: -.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.playercard__meta {
    display: block;
    font-size: .75rem;
    color: var(--muted);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.playercard__count {
    flex: none;
    min-width: 26px;
    height: 26px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--blue-wash);
    border: 1px solid var(--blue-line);
    color: var(--blue-ink);
    font-size: .75rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.playercard__count--none {
    background: transparent;
    border-color: var(--line);
    color: #bdbab4;
    font-weight: 500;
}

/* zoeken: resultaten onder het zoekveld */
.quickfind__results {
    margin-top: 10px;
    border-top: 1px solid var(--line-soft);
    max-height: 330px;
    overflow-y: auto;
}
.result {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 2px;
    border-bottom: 1px solid var(--line-soft);
}
.result:last-child { border-bottom: 0; }
.result:hover { background: var(--porcelain); }
.result__body { min-width: 0; flex: 1; }
.result__name { display: block; font-size: .875rem; font-weight: 550; }
.result__meta { display: block; font-size: .75rem; color: var(--muted); }
.result__count { flex: none; font-size: .75rem; color: var(--muted); }
.quickfind__hint { font-size: .8125rem; color: var(--muted); padding: 12px 2px; }
.is-searching { opacity: .5; transition: opacity .15s; }

/* ---------------------------------------------------------------- dekkingsbalk */

.coverage { display: flex; align-items: center; gap: 9px; min-width: 110px; flex: 1; }
.coverage__track { height: 6px; flex: 1; border-radius: 999px; background: var(--line); overflow: hidden; }
.coverage__fill { height: 100%; border-radius: 999px; background: var(--blue); }
.coverage__fill--warn  { background: #d9a330; }
.coverage__fill--low   { background: #d06a2c; }
.coverage__fill--none  { background: var(--line); }
.coverage__pct { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; width: 34px; text-align: right; }

/* --------------------------------------------------------------- wedstrijden */

.match { display: flex; align-items: flex-start; gap: 13px; }
.datebox {
    width: 48px;
    flex: none;
    border-radius: var(--radius-sm);
    background: var(--blue-wash);
    color: var(--blue-ink);
    text-align: center;
    padding: 7px 0 6px;
    line-height: 1;
}
.datebox strong { display: block; font-size: 1.0625rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.datebox span { display: block; margin-top: 3px; font-size: .625rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }

.timepill {
    flex: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 58px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    background: var(--blue);
    color: #fff;
    font-size: .8125rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}
.timepill small { font-size: .625rem; font-weight: 550; opacity: .85; }
.timepill--empty { background: var(--porcelain); border: 1px solid var(--line); color: var(--muted); font-weight: 550; font-size: .6875rem; }

.claimbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
}
.claimbar__who { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .75rem; }
.claimbar__need { color: var(--warn); font-weight: 550; }
.claimbar__done { color: var(--ok); font-weight: 550; }
.claimbar__none { color: var(--muted); }

/* ------------------------------------------------------------------ tabellen */

.tablewrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.data th {
    text-align: left;
    font-size: .6875rem;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0 10px 8px;
    white-space: nowrap;
}
table.data td { padding: 9px 10px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
table.data tr:hover td { background: var(--porcelain); }
.num { font-variant-numeric: tabular-nums; text-align: right; }

/* Rechtenoverzicht: per rol wat erbij komt. auto-fit zorgt dat het in een
   smalle kolom (aanmeldpagina) netjes onder elkaar valt en op een breed
   paneel (gebruikersbeheer) naast elkaar. */
.abilities {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
/* dun streepje boven elke rol: scheidt de blokken, zowel onder elkaar als
   naast elkaar, zonder er kaders omheen te zetten */
.ability { border-top: 2px solid var(--line); padding-top: 9px; }
.ability__role { font-size: .8125rem; font-weight: 650; letter-spacing: -.005em; }
.ability__base { font-size: .75rem; color: var(--muted); margin-top: 1px; }
.ability__items { margin-top: 7px; display: grid; gap: 5px; }
.ability__items li { display: flex; gap: 7px; font-size: .8125rem; color: var(--ink-soft); line-height: 1.4; }
.ability__items svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--blue); }

/* ------------------------------------------------------------------ grafiek */

.chart { width: 100%; }
.chart--radar { display: block; max-width: 500px; margin: 0 auto; overflow: visible; }
.chart text { font-family: var(--font); fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; font-size: .75rem; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ------------------------------------------------------------------- flash */

.flashes { position: sticky; top: var(--topbar-h); z-index: 25; }
.flash {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: .875rem;
    box-shadow: var(--shadow);
}
.flash + .flash { margin-top: 8px; }
.flash--error   { border-color: #f2cdc9; background: var(--alert-wash); color: #7d1a15; }
.flash--success { border-color: #c3e4d6; background: var(--ok-wash); color: #0a5c3e; }
.flash svg { width: 17px; height: 17px; flex: none; margin-top: 1px; }

/* ----------------------------------------------------------------- details */

details.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0; }
details.panel > summary {
    padding: 14px 18px;
    font-size: .9375rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary::after {
    content: "";
    width: 7px; height: 7px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform .15s;
    flex: none;
}
details.panel[open] > summary::after { transform: rotate(-135deg); }
details.panel > .panel__body { padding: 0 18px 18px; }
details.panel + details.panel { margin-top: 10px; }

/* Subtiele inklapper binnen een kaart (geen .inline: dat is een flex-utility). */
details.subtle > summary { font-size: .8125rem; color: var(--muted); cursor: pointer; padding: 6px 0; }
details.subtle > summary:hover { color: var(--ink); }
details.subtle.danger > summary { color: var(--alert); }
details.subtle.danger > summary:hover { color: #8e1b16; }

/* ------------------------------------------------------------------- login */

.login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background:
        radial-gradient(120% 90% at 50% -20%, rgba(0, 87, 255, .10), transparent 60%),
        var(--porcelain);
}
.login__box { width: 100%; max-width: 380px; }
.login__brand { text-align: center; margin-bottom: 20px; }
.login__brand .mark { height: 76px; margin: 0 auto 14px; }
.login__brand h1 { font-size: 1.25rem; }
.login__brand p { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.login__version { text-align: center; margin-top: 10px; font-size: .6875rem; color: var(--muted); opacity: .75; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ utility */

.muted     { color: var(--muted); }
.small     { font-size: .8125rem; }
.xs        { font-size: .75rem; }
.strong    { font-weight: 600; }
.nums      { font-variant-numeric: tabular-nums; }
.truncate  { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.right     { text-align: right; }
.spread    { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.inline    { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tags      { display: flex; flex-wrap: wrap; gap: 6px; }
.dim       { opacity: .55; }
.nowrap    { white-space: nowrap; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.prose { font-size: .875rem; color: var(--ink-soft); }
.prose p + p { margin-top: 8px; }

@media print {
    .sidebar, .tabbar, .topbar, .submitbar, .flashes { display: none !important; }
    .main { margin: 0; }
    .card { box-shadow: none; break-inside: avoid; }
}

/* ------------------------------------------------------------ privacy: keurmerken */
.seals { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.seal {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 20px 16px 18px; border: 1px solid var(--blue-line); border-radius: 16px;
    background: linear-gradient(180deg, var(--blue-wash), #fff 75%);
}
.seal__badge {
    position: relative; display: grid; place-items: center; width: 72px; height: 72px;
    border-radius: 50%; color: var(--blue); background: #fff;
    box-shadow: 0 0 0 4px var(--blue-wash), 0 0 0 5px var(--blue-line);
}
.seal__badge .icon { width: 30px; height: 30px; }
.seal__bits {
    position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%);
    padding: 2px 8px; border-radius: 999px; background: var(--blue); color: #fff;
    font-size: .6875rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.seal__title { margin-top: 18px; font-size: .9375rem; font-weight: 650; }
.seal__spec { margin-top: 2px; font-size: .75rem; font-weight: 600; color: var(--blue); }
.seal__text { margin-top: 8px; font-size: .8125rem; color: var(--ink-soft); }

/* ------------------------------------------------------- tweestapsverificatie */
.input--code { font-size: 1.375rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.totp-setup { display: grid; gap: 18px; align-items: start; }
@media (min-width: 640px) { .totp-setup { grid-template-columns: 200px 1fr; } }
.totp-qr {
    display: grid; place-items: center; width: 200px; height: 200px; padding: 10px;
    border: 1px solid var(--blue-line); border-radius: 14px; background: #fff;
}
.totp-qr svg { width: 100%; height: 100%; }
.totp-qr .empty { font-size: .75rem; text-align: center; }
.totp-key {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9375rem;
    letter-spacing: .06em; word-break: break-all; padding: 8px 10px; border-radius: 8px;
    background: var(--blue-wash); color: var(--ink);
}

/* ------------------------------------------------------------ bewaartermijnen */
.settings { display: grid; }
.setting {
    display: grid; gap: 12px; padding: 16px 0; margin: 0; border: 0;
    border-top: 1px solid var(--line-soft); min-width: 0;
}
.setting:first-child { border-top: 0; padding-top: 4px; }
@media (min-width: 860px) {
    .setting { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: start; }
    .setting__control { justify-self: end; text-align: right; }
}
.setting__label { padding: 0; font-size: .9375rem; font-weight: 650; margin-bottom: 3px; }
.setting__meta { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.setting__impact { font-size: .8125rem; color: var(--ink-soft); }
.setting__impact.is-deleting { color: var(--warn); font-weight: 600; }
.setting__actions { padding-top: 14px; border-top: 1px solid var(--line-soft); }

/* Keuzeknoppen: radio's die eruitzien als één balk. Werkt zonder JavaScript. */
.segmented {
    display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px;
    background: var(--porcelain); border: 1px solid var(--line-soft); max-width: 100%; overflow-x: auto;
}
.segmented__input { position: absolute; opacity: 0; pointer-events: none; }
.segmented__option {
    flex: none; padding: 7px 13px; border-radius: 8px; cursor: pointer; white-space: nowrap;
    font-size: .8125rem; font-weight: 600; color: var(--ink-soft); user-select: none;
    transition: background .15s, color .15s, box-shadow .15s;
}
.segmented__option:hover { color: var(--ink); }
.segmented__input:checked + .segmented__option {
    background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(20, 22, 26, .12), 0 0 0 1px var(--blue-line);
}
.segmented__input:focus-visible + .segmented__option { outline: 2px solid var(--blue); outline-offset: 1px; }

.confirmbox {
    display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; padding: 12px 14px;
    border: 1px solid #f0dcb8; border-radius: 12px; background: var(--warn-wash);
    font-size: .8125rem; color: var(--ink-soft); cursor: pointer;
}
.confirmbox input { margin-top: 2px; flex: none; width: 16px; height: 16px; accent-color: var(--blue); }
.confirmbox[hidden] { display: none; }
.setting__mode { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
@media (min-width: 860px) { .setting__mode { justify-content: flex-end; } }
.segmented--sm .segmented__option { padding: 5px 11px; font-size: .75rem; }
.setting__modehint { margin-top: 4px; max-width: 420px; }
@media (min-width: 860px) { .setting__modehint { margin-left: auto; } }

/* Slot op de bewaartermijnen: eerst openen, dan pas wijzigen. */
.lockbtn {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    font-size: .8125rem; font-weight: 650; color: var(--ink-soft); background: var(--porcelain);
    border: 1px solid var(--line-soft); text-decoration: none; transition: background .15s, color .15s;
}
.lockbtn .icon { width: 16px; height: 16px; }
.lockbtn:hover { color: var(--blue); border-color: var(--blue-line); background: var(--blue-wash); }
.lockbtn--open { color: var(--warn); background: var(--warn-wash); border-color: #f0dcb8; }
.lockbar {
    display: flex; gap: 10px; align-items: flex-start; margin: 0 0 6px; padding: 10px 12px;
    border-radius: 10px; background: var(--porcelain); font-size: .8125rem; color: var(--ink-soft);
}
.lockbar .icon { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--muted); }
.lockbar a { color: var(--blue); font-weight: 600; }
.is-locked .segmented { opacity: .6; }
.segmented__input:disabled + .segmented__option { cursor: default; }
.segmented__input:disabled + .segmented__option:hover { color: var(--ink-soft); }

/* ------------------------------------------------------------------ audit-log */
.auditfilter { flex-wrap: wrap; gap: 8px; align-items: center; }
.auditlist { list-style: none; margin: 0; padding: 0; }
.auditrow {
    display: grid; grid-template-columns: 1fr; gap: 4px; padding: 11px 0;
    border-top: 1px solid var(--line-soft);
}
.auditrow:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 760px) {
    .auditrow { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; align-items: start; }
    .auditrow__aside { text-align: right; }
}
.auditrow__time { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.auditrow__what { font-size: .875rem; }
.auditrow__meta { font-size: .8125rem; color: var(--ink-soft); margin-top: 1px; }
.auditrow__details { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.auditrow__aside { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
@media (min-width: 760px) { .auditrow__aside { align-items: flex-end; } }
.auditrow__ip { font-size: .6875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.auditrow--beveiliging .auditrow__what strong { color: var(--warn); }
.auditlist--compact .auditrow { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
.auditlist--compact .auditrow__aside { flex-direction: row; text-align: left; align-items: center; }

/* ------------------------------------------------------------ wedstrijdkaart */
/* Zoals in een wedstrijdapp: thuisploeg links, uitploeg rechts, de aftrap in
   het midden. Onze ploeg staat iets nadrukkelijker. */
.matchcard__head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    margin-bottom: 12px;
}
.matchcard__date { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }
.matchcard__date .icon { width: 15px; height: 15px; color: var(--blue); }
.matchcard__tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }

.fixture {
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px;
    padding: 14px 6px; border-radius: 14px; background: var(--porcelain);
}
.fixture__side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; }
.fixture__name { display: flex; flex-direction: column; align-items: center; min-width: 0; max-width: 100%; }
.fixture__name a { display: contents; color: inherit; text-decoration: none; }
.fixture__name a:hover .fixture__club { color: var(--blue); }
.fixture__club { font-size: .875rem; font-weight: 650; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.fixture__team { font-size: .75rem; font-weight: 600; color: var(--muted); }
.fixture__side.is-us .fixture__team { color: var(--blue); }
.fixture__mid { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 0 4px; }
.fixture__time { font-size: 1.25rem; font-weight: 750; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.fixture__vs { font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.clublogo { width: 44px; height: 44px; object-fit: contain; flex: none; }
.clublogo--initials {
    display: grid; place-items: center; border-radius: 50%;
    font-size: .875rem; font-weight: 750; letter-spacing: .02em; color: #fff;
    background: hsl(var(--hue, 220) 45% 46%);
    box-shadow: inset 0 0 0 3px hsl(var(--hue, 220) 45% 38%);
}
@media (min-width: 640px) {
    .clublogo { width: 52px; height: 52px; }
    .fixture__club { font-size: .9375rem; }
}

.matchcard__foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .8125rem; color: var(--ink-soft); }
.matchcard__foot .icon { width: 15px; height: 15px; }
.matchcard__place { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); text-decoration: none; font-weight: 600; }
.matchcard__place:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------ wie gaat waarheen */
/* Mobiel: dag links, daarnaast team + tegenstander, waar, en wie er gaat
   onder elkaar. Vanaf tabletbreedte schuift de waarnemer naar rechts. */
.planrow {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "pill main" "pill who";
    column-gap: 12px; row-gap: 6px; align-items: start; padding: 12px 0;
}
.planrow > .timepill { grid-area: pill; }
.planrow__main { grid-area: main; min-width: 0; }
.planrow__who { grid-area: who; }
@media (min-width: 640px) {
    .planrow { grid-template-columns: auto minmax(0, 1fr) minmax(0, 200px); grid-template-areas: "pill main who"; align-items: center; }
    .planrow__who { justify-self: end; }
}
.planrow__title { font-size: .9375rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.planrow__title a { color: inherit; text-decoration: none; }
.planrow__title a:hover { color: var(--blue); }
.planrow__vs { font-weight: 500; color: var(--ink-soft); }
.planrow__meta {
    display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; margin-top: 4px; min-width: 0;
    font-size: .8125rem; color: var(--muted);
}
.planrow__place { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.planrow__place .icon { width: 14px; height: 14px; flex: none; }
.planrow__note { max-width: 100%; }
.planrow__who {
    display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%;
    font-size: .8125rem; font-weight: 600; color: var(--ink-soft);
}
.planrow__who .chip { flex: none; }

/* Wedstrijden zonder waarnemer: één tikbare balk in plaats van losse tekst. */
.coverage-alert {
    display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 11px 12px;
    border: 1px solid #f0dcb8; border-radius: 12px; background: var(--warn-wash);
    font-size: .8125rem; line-height: 1.35; color: var(--warn); text-decoration: none;
}
.coverage-alert > .icon { flex: none; width: 18px; height: 18px; }
.coverage-alert > span { flex: 1; min-width: 0; }
.coverage-alert > .icon:last-child { width: 15px; height: 15px; opacity: .7; }
.coverage-alert:hover { border-color: var(--warn); }

/* iOS zoomt in op elk invoerveld met een lettergrootte onder de 16px. Op
   touchscreens en smalle schermen daarom 16px; op desktop blijft het compacter.
   Bewust niet via maximum-scale in de viewport: dat blokkeert ook knijpzoomen. */
@media (max-width: 899px), (pointer: coarse) {
    .input:not(.input--code), select.input, textarea.input, .input--sm:not(.input--code),
    input[type="text"]:not(.input--code), input[type="email"], input[type="password"], input[type="search"],
    input[type="number"], input[type="date"], input[type="tel"], select, textarea {
        font-size: 16px;
    }
}

/* ------------------------------------------------------------ planningkaart */
/* Onderaan een wedstrijd- of trainingskaart op de planningspagina: status en
   notitie links, de knoppen rechts (op mobiel eronder). */
.planbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px;
    margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft);
}
.planbar__info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.planbar__note { font-size: .8125rem; color: var(--ink-soft); font-style: italic; }
.planbar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.planbar__actions .btn .icon { width: 15px; height: 15px; }
@media (max-width: 639px) {
    .planbar__actions { width: 100%; }
    .planbar__actions > .btn--primary { flex: 1 1 100%; justify-content: center; }
}

.trainingcard {
    display: flex; align-items: center; gap: 14px; padding: 12px 14px;
    border-radius: 14px; background: var(--porcelain);
}
.trainingcard__time { display: flex; flex-direction: column; align-items: center; min-width: 54px; }
.trainingcard__time strong { font-size: 1.25rem; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--ink); }
.trainingcard__time span { font-size: .6875rem; color: var(--muted); }
.trainingcard__main { min-width: 0; }
.trainingcard__team { font-size: .9375rem; font-weight: 650; color: var(--ink); }
.trainingcard__team a { color: inherit; text-decoration: none; }
.trainingcard__team a:hover { color: var(--blue); }
.trainingcard__where { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 3px; font-size: .8125rem; color: var(--muted); }

/* Waarneming inplannen: twee duidelijk gescheiden keuzes. */
.planform__choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.planform__choice > legend { padding: 0; margin-bottom: 6px; }
.planform__or {
    display: flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.planform__or::before, .planform__or::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }

/* ---------------------------------------------------- bekeken & dekking */
/* Label bij een speler: groen = bekeken in deze ronde, oranje = lang geleden,
   grijs = nog nooit. */
.seen {
    display: inline-flex; align-items: center; gap: 3px; flex: none; padding: 2px 7px; border-radius: 999px;
    font-size: .6875rem; font-weight: 650; line-height: 1.4; white-space: nowrap; border: 1px solid transparent;
}
.seen .icon { width: 12px; height: 12px; }
.seen--recent { background: var(--ok-wash); border-color: #c3e4d6; color: var(--ok); }
.seen--old { background: var(--warn-wash); border-color: #f0dcb8; color: var(--warn); }
.seen--new { background: var(--porcelain); border-color: var(--line-soft); color: var(--muted); }
.playercard .seen, .result .seen { margin-left: auto; }

/* Dekking van een team: smalle balk + "8/14 bekeken". */
.teamcov { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; font-size: .75rem; font-weight: 600; }
.teamcov__track { width: 46px; height: 5px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.teamcov__fill { display: block; height: 100%; border-radius: inherit; }
.teamcov--good .teamcov__fill { background: var(--ok); }
.teamcov--mid .teamcov__fill { background: #d99a2b; }
.teamcov--low .teamcov__fill { background: #d4553d; }
.teamcov__text { color: var(--muted); white-space: nowrap; }

.coverline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; font-size: .8125rem; color: var(--ink-soft); }
.colleague-note { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-size: .75rem; color: var(--blue); }
.colleague-note .icon { width: 13px; height: 13px; }

/* Waar is een scout nodig? Op mobiel onder elkaar: team met rechts de knop,
   daaronder de dekking en de eerstvolgende wedstrijd of training. */
.needlist { list-style: none; margin: 0; padding: 0; }
.needrow {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "team action" "cov action" "event event";
    column-gap: 12px; row-gap: 4px; align-items: center; padding: 12px 0;
    border-top: 1px solid var(--line-soft);
}
.needrow:first-child { border-top: 0; }
.needrow__team { grid-area: team; font-size: 1rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.needrow__team:hover { color: var(--blue); }
.needrow__cov { grid-area: cov; }
.needrow__cov .teamcov__track { width: 70px; }
.needrow__action { grid-area: action; align-self: center; }
.needrow__event {
    grid-area: event; display: flex; align-items: flex-start; gap: 7px; margin-top: 4px;
    padding: 8px 10px; border-radius: 10px; background: var(--porcelain);
    font-size: .8125rem; line-height: 1.4; color: var(--ink-soft);
}
.needrow__event .icon { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--blue); }
.needrow__event strong { color: var(--ink); font-weight: 650; }
@media (min-width: 760px) {
    .needrow { grid-template-columns: minmax(120px, 160px) minmax(0, 1fr) auto; grid-template-areas: "team event action" "cov event action"; }
    .needrow__event { margin-top: 0; }
}
/* "Nog af te ronden": voorbije waarnemingen met hun knoppen. Op een telefoon
   staan de knoppen onder de regel, de rapportknop over de hele breedte. */
.openobs { flex-wrap: wrap; border-top: 1px solid #f0dcb8; }
.openobs:first-child { border-top: 0; }
.openobs__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.openobs__actions .btn .icon { width: 15px; height: 15px; }
@media (max-width: 639px) {
    .openobs__actions { width: 100%; }
    .openobs__actions > .btn--primary { flex: 1 1 100%; justify-content: center; }
}

/* ------------------------------------------------------------------ bijlagen */
/* Kaarten met een echte voorvertoning (foto verkleind, PDF eerste pagina).
   Mobiel twee naast elkaar, breder zoveel als er passen. */
.attachgrid {
    list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) { .attachgrid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
.attach {
    display: flex; flex-direction: column; min-width: 0; overflow: hidden;
    border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface);
}
.attach__thumb {
    position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
    background: var(--porcelain); border-bottom: 1px solid var(--line-soft);
}
.attach__thumb img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.attach__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); }
.attach__fallback .icon { width: 30px; height: 30px; }
.attach__type {
    position: absolute; top: 8px; left: 8px; padding: 2px 7px; border-radius: 6px;
    font-size: .625rem; font-weight: 750; letter-spacing: .04em; color: #fff; background: rgba(20, 22, 26, .72);
}
.attach__body { padding: 9px 11px 4px; min-width: 0; }
.attach__title {
    font-size: .8125rem; font-weight: 650; color: var(--ink); line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.attach__sub { margin-top: 2px; font-size: .6875rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach__actions { display: flex; flex-wrap: wrap; gap: 2px; margin-top: auto; padding: 4px 6px 8px; }
.attach__actions form { display: contents; }
.attach__actions .btn { padding-left: 7px; padding-right: 7px; gap: 4px; }
.attach__actions .btn .icon { width: 15px; height: 15px; }
.btn--danger-text { color: var(--alert); }
.btn--danger-text:hover { background: var(--alert-wash); color: var(--alert); }

/* Uploaden: een nette knop in plaats van het kale bestandsveld; op mobiel onder elkaar. */
.attachform { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.attachform > .input { flex: 1 1 100%; }
@media (min-width: 640px) { .attachform > .input { flex: 1 1 240px; } }
.filepick {
    position: relative; flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 40px; padding: 8px 14px; border: 1.5px dashed var(--blue-line); border-radius: var(--radius-sm);
    background: var(--blue-wash); color: var(--blue-ink); font-size: .875rem; font-weight: 600; cursor: pointer;
    overflow: hidden; text-align: center;
}
.filepick:hover { border-color: var(--blue); }
.filepick .icon { width: 16px; height: 16px; flex: none; }
.filepick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.filepick.has-files { border-style: solid; }
@media (max-width: 639px) { .attachform .btn { flex: 1 1 100%; justify-content: center; min-height: 40px; } }

/* Bevestigen in de stijl van de site, in plaats van de grijze browsermelding. */
.modal {
    position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
    background: rgba(20, 22, 26, .45); animation: modal-in .15s ease-out;
}
.modal[hidden] { display: none; }
.modal__box {
    width: 100%; max-width: 400px; padding: 20px; border-radius: 16px; background: var(--surface);
    box-shadow: 0 20px 50px rgba(20, 22, 26, .25);
}
.modal__icon {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px;
    background: var(--blue-wash); color: var(--blue);
}
.modal__icon .icon { width: 20px; height: 20px; }
.modal--danger .modal__icon { background: var(--alert-wash); color: var(--alert); }
.modal__title { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.modal__text { margin-top: 6px; font-size: .875rem; line-height: 1.5; color: var(--ink-soft); overflow-wrap: anywhere; }
.modal__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
@media (max-width: 479px) {
    .modal { place-items: end center; padding: 0; }
    .modal__box { max-width: none; border-radius: 18px 18px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
    .modal__actions { flex-direction: column-reverse; }
    .modal__actions .btn { width: 100%; justify-content: center; min-height: 44px; }
}
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .modal { animation: none; } }

/* ---------------------------------------------------------------- toewijzen */
/* Paars: door iemand anders ingepland (HJO of coördinator). */
.assigned {
    display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
    font-size: .6875rem; font-weight: 650; white-space: nowrap;
    background: #f1ecfd; border: 1px solid #d9cdf7; color: #5b35c4;
}
.assigned .icon { width: 12px; height: 12px; }
.assigned--new { background: #5b35c4; border-color: #5b35c4; color: #fff; }
.chip--assigned { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #7c5ce0; }
.assign-link { display: inline-flex; align-items: center; gap: 4px; color: #5b35c4; font-size: .8125rem; }
.assign-link .icon { width: 14px; height: 14px; }
.planform__fixed {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px;
    background: var(--porcelain); font-size: .875rem;
}
.planform__fixed .icon { width: 16px; height: 16px; color: var(--blue); }


/* ------------------------------------------------------------------ scouts */

.sectionlabel {
    font-size: .8125rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ink-soft);
    margin: 0 0 8px;
}
.scoutgrid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .scoutgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .scoutgrid { grid-template-columns: 1fr 1fr 1fr; } }
.scoutcard {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: border-color .12s, box-shadow .12s;
}
.scoutcard:hover { border-color: var(--blue-line); box-shadow: var(--shadow-lift); }
.scoutcard__link {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 10px;
    color: inherit;
    text-decoration: none;
}
.scoutcard__link:hover .scoutcard__name { color: var(--blue-ink); }
.scoutcard__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px 12px 68px;
    border-top: 1px solid var(--line-soft);
}
.scoutcard__actions .btn { gap: 6px; }
.scoutcard__actions .icon { width: 15px; height: 15px; }
@media (max-width: 560px) { .scoutcard__actions { padding-left: 14px; } }
.scoutcard__main { flex: 1; min-width: 0; }
.scoutcard__name { font-weight: 650; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.scoutcard__teams { display: flex; flex-wrap: wrap; gap: 4px; margin: 7px 0 6px; }
.scoutcard__teams .badge { font-size: .6875rem; padding: 1px 7px; }
.scoutcard__meta { font-size: .75rem; color: var(--muted); }
.scoutcard__meta strong { color: var(--blue-ink); font-weight: 600; }
.scoutcard__go { color: var(--muted); align-self: center; }
.scoutcard__go svg { width: 16px; height: 16px; }

.stat__value--text { font-size: 1.125rem; letter-spacing: -.01em; padding: 5px 0 4px; }
@media (max-width: 699px) {
    .scoutstats .stat__value--text { font-size: .9375rem; padding: 3px 0 2px; }
}

/* Teams aanvinken: één regel per lichting, de lichting zelf is een knop die
   alle teams eronder aan of uit zet. */
.teampick { display: grid; gap: 6px; margin-top: 4px; }
.teampick__band {
    font-size: .6875rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin: 10px 0 2px;
}
.teampick__band:first-child { margin-top: 0; }
.teampick__row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 8px;
    align-items: start;
    padding: 6px 0;
    border-top: 1px solid var(--line-soft);
}
.teampick__cat {
    font: inherit;
    font-size: .75rem;
    font-weight: 650;
    color: var(--ink-soft);
    background: none;
    border: 1px dashed var(--line);
    border-radius: 999px;
    padding: 6px 0;
    cursor: pointer;
    text-align: center;
}
.teampick__cat:hover { border-color: var(--blue-line); color: var(--blue-ink); }
.teampick__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.teampick__chip { position: relative; cursor: pointer; }
.teampick__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.teampick__chip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink-soft);
    user-select: none;
    transition: background .1s, border-color .1s, color .1s;
}
.teampick__chip:hover span { border-color: var(--blue-line); }
.teampick__chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.teampick__chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.teampick__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    flex: none;
    background: var(--line);
}
.teampick__dot--good { background: var(--ok); }
.teampick__dot--mid { background: #d99a2b; }
.teampick__dot--low { background: #d4553d; }
.teampick__chip input:checked + span .teampick__dot { box-shadow: 0 0 0 1.5px #fff; }
.teampick__bar {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 12px -18px -18px;
    padding: 10px 18px;
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--line);
}
@media (max-width: 879px) { .teampick__bar { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); } }
.teampick__legend { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.teampick__legend .teampick__dot { margin-left: 4px; }
@media (max-width: 560px) {
    .teampick__row { grid-template-columns: 1fr; gap: 6px; }
    .teampick__cat { justify-self: start; padding: 4px 12px; }
}


/* Toewijzen vanaf de scoutpagina: per dag een kopje, per regel één knop. */
.assignlist__day {
    font-size: .75rem;
    font-weight: 650;
    color: var(--ink-soft);
    margin: 14px 0 0;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--line);
}
.assignlist__day:first-child { margin-top: 4px; }
.assignrow__action { gap: 10px; }
.assignrow__action form { display: inline-flex; }
.assignrow__done {
    display: inline-flex; align-items: center; gap: 4px;
    color: #7c5ce0; font-weight: 650;
}
.assignrow__done .icon { width: 15px; height: 15px; }
.assignrow--mine .timepill { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #7c5ce0; }
.assignrow__others { display: inline-flex; align-items: center; gap: 4px; }
.assignrow__others .icon { width: 14px; height: 14px; }
@media (max-width: 639px) {
    .assignrow__action { justify-content: flex-start; }
}


/* ------------------------------------------------- geen ronde (rondebalk) */

.roundbar--none { border-color: #f0dcb8; background: linear-gradient(90deg, var(--warn-wash), #fff 85%); padding: 12px 14px; }
.roundbar--none .roundbar__name { color: var(--warn); font-size: .875rem; white-space: normal; }
.roundbar--none .roundbar__when { white-space: normal; line-height: 1.4; margin-top: 1px; }
.roundbar__icon {
    flex: none; width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center;
    background: #fff; border: 1px solid #f0dcb8; color: var(--warn);
}
.roundbar__icon .icon { width: 18px; height: 18px; }
.roundbar__cta { flex: none; }
@media (max-width: 560px) {
    .roundbar--none { flex-wrap: wrap; }
    .roundbar--none .roundbar__text { flex-basis: calc(100% - 46px); }
    .roundbar__cta { margin-left: 46px; }
}

/* ---------------------------------------------------------- talentenkaart */

.talentfilter small { font-size: .6875rem; opacity: .7; margin-left: 2px; }

.talentgrid {
    display: grid;
    grid-template-columns: 120px repeat(3, minmax(0, 1fr));
    gap: 6px;
}
.talentgrid__corner {
    display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
    font-size: .6875rem; color: var(--muted); padding: 0 4px 6px;
}
.talentgrid__colhead, .talentgrid__rowhead {
    font-size: .8125rem; font-weight: 650; color: var(--ink-soft);
}
.talentgrid__colhead { padding: 8px 10px; border-radius: var(--radius-sm); background: var(--porcelain); text-align: center; }
.talentgrid__colhead--extra_uitdaging { background: var(--blue-wash); color: var(--blue-ink); }
.talentgrid__colhead--extra_begeleiding { background: var(--warn-wash); color: var(--warn); }
.talentgrid__rowhead { display: flex; align-items: center; padding: 0 6px; line-height: 1.25; }

.talentcell {
    min-height: 92px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}
.talentcell--empty { background: var(--porcelain); border-style: dashed; }
.talentcell--star { border-color: var(--blue); background: linear-gradient(180deg, var(--blue-wash), #fff 80%); box-shadow: 0 0 0 1px var(--blue) inset; }
.talentcell__head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.talentcell__label { display: none; font-size: .75rem; font-weight: 650; color: var(--ink-soft); }
.talentcell__count { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.talentcell--empty .talentcell__count { color: #b9b6ae; }
.talentcell__tag { font-size: .6875rem; font-weight: 650; color: var(--blue-ink); text-transform: uppercase; letter-spacing: .04em; }
.talentcell__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.talentcell__more { margin-top: 6px; }
.talentcell__more summary { font-size: .75rem; font-weight: 600; color: var(--blue); cursor: pointer; list-style: none; }
.talentcell__more summary::-webkit-details-marker { display: none; }
.talentcell__more[open] summary { margin-bottom: 6px; }

.tchip {
    display: inline-flex; align-items: center; gap: 5px;
    max-width: 100%;
    padding: 4px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: .75rem;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.2;
}
.tchip:hover { border-color: var(--blue-line); color: var(--blue-ink); }
.tchip__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tchip__team { color: var(--muted); white-space: nowrap; }
.tchip__once {
    font-style: normal; font-size: .625rem; font-weight: 700;
    padding: 1px 4px; border-radius: 4px;
    background: var(--warn-wash); color: var(--warn);
}

@media (max-width: 759px) {
    .talentgrid { grid-template-columns: 1fr; }
    .talentgrid__corner, .talentgrid__colhead, .talentgrid__rowhead { display: none; }
    .talentcell { min-height: 0; }
    .talentcell__label { display: inline; flex: 1; }
    .talentcell__head { margin-bottom: 6px; }
    .talentcell--empty .talentcell__head { margin-bottom: 0; }
}

.secondlook { align-items: center; }
.secondlook .row__title a { color: inherit; text-decoration: none; }
.secondlook .row__title a:hover { color: var(--blue); }
.secondlook__next { flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
@media (max-width: 639px) {
    .secondlook { flex-wrap: wrap; }
    .secondlook__next { flex-basis: 100%; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}

/* kleine versie op het technisch overzicht */
.minimatrix {
    display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 4px;
    text-decoration: none; color: inherit; margin-top: 4px;
}
.minimatrix__colhead { font-size: .6875rem; font-weight: 650; color: var(--muted); text-align: center; padding-bottom: 2px; }
.minimatrix__rowhead { font-size: .75rem; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; padding-right: 6px; }
.minimatrix__cell {
    display: grid; place-items: center; height: 40px; border-radius: 8px;
    background: var(--porcelain); border: 1px solid var(--line-soft);
    font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums;
}
.minimatrix__cell--empty { color: #b9b6ae; font-weight: 500; }
.minimatrix__cell--star { background: var(--blue); border-color: var(--blue); color: #fff; }
.minimatrix:hover .minimatrix__cell { border-color: var(--blue-line); }

/* ----------------------------------------------------------- dekkingskaart */

.covmap { display: grid; gap: 6px; }
.covmap__row { display: grid; grid-template-columns: 58px 1fr; gap: 8px; align-items: start; }
.covmap__cat { font-size: .75rem; font-weight: 650; color: var(--ink-soft); padding-top: 9px; }
.covmap__tiles { display: flex; flex-wrap: wrap; gap: 5px; }
.covmap__tile {
    display: inline-flex; flex-direction: column; justify-content: center;
    min-width: 76px; padding: 6px 9px; border-radius: 8px;
    border: 1px solid transparent; text-decoration: none; line-height: 1.15;
}
.covmap__name { font-size: .8125rem; font-weight: 650; }
.covmap__num { font-size: .6875rem; opacity: .85; font-variant-numeric: tabular-nums; }
.covmap__tile--good  { background: var(--ok); color: #fff; }
.covmap__tile--mid   { background: #f3d18f; color: #5c3b02; }
.covmap__tile--low   { background: #f6c3b8; color: #7a1d12; }
.covmap__tile--none  { background: #fff; border-color: #e7b3a9; color: var(--alert); }
.covmap__tile--empty { background: var(--porcelain); border: 1px dashed var(--line); color: var(--muted); }
a.covmap__tile:hover { box-shadow: 0 0 0 2px var(--blue-line); }
.covmap__legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; font-size: .75rem; color: var(--ink-soft); }
.covmap__legend span { display: inline-flex; align-items: center; gap: 5px; }
.covmap__swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; min-width: 0; padding: 0; }
@media (max-width: 560px) {
    .covmap__row { grid-template-columns: 1fr; gap: 4px; }
    .covmap__cat { padding-top: 4px; }
    .covmap__tile { min-width: 68px; }
}

/* ------------------------------------------------- beoordelingswachtrij */

.queuebar {
    position: sticky; top: 8px; z-index: 5;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px;
    border: 1px solid var(--blue-line); border-radius: var(--radius-sm);
    background: rgba(237, 242, 255, .96); backdrop-filter: blur(6px);
    box-shadow: var(--shadow-lift);
}
@media (max-width: 879px) { .queuebar { top: calc(var(--topbar-h) + 6px); } }
.queuebar__icon { color: var(--blue); flex: none; display: grid; }
.queuebar__icon .icon { width: 20px; height: 20px; }
.queuebar__text { flex: 1; min-width: 0; }
.queuebar__title { font-weight: 650; font-size: .875rem; color: var(--blue-ink); display: flex; gap: 8px; align-items: baseline; }
.queuebar__pos { font-weight: 500; font-size: .8125rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.queuebar__track { display: block; height: 4px; margin-top: 6px; border-radius: 999px; background: #fff; overflow: hidden; max-width: 260px; }
.queuebar__fill { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.queuebar__actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* ------------------------------------------------ namen uit oude rapporten */

.namerow { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 10px 0; }
.namerow__main { min-width: 0; flex: 1 1 220px; }
.namerow__guess { color: var(--ok); font-weight: 600; }
.namerow__form { display: flex; gap: 6px; flex: 0 1 360px; }
.namerow__form select { flex: 1; min-width: 0; }
@media (max-width: 560px) { .namerow__form { flex-basis: 100%; } }


/* -------------------------------------------------------------- meldingen */

.sidebar__head { display: flex; align-items: center; border-bottom: 1px solid var(--line-soft); }
.sidebar__head .sidebar__brand { flex: 1; min-width: 0; border-bottom: 0; }
.sidebar__head .bell { margin-right: 14px; }

.bell {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-soft);
    transition: background .12s, color .12s, border-color .12s;
}
.bell:hover, .bell[aria-current="page"] { background: var(--porcelain); color: var(--ink); border-color: var(--blue-line); }
.bell .icon { width: 21px; height: 21px; }
.bell--new { color: var(--blue); border-color: var(--blue-line); background: var(--blue-wash); }
.bell__badge {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #d93a2b;
    color: #fff;
    font-size: .625rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--surface);
    font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: no-preference) {
    .bell--new .icon { animation: bell-ring 1.2s ease-in-out 1; transform-origin: 50% 10%; }
}
@keyframes bell-ring {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); }
    45% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 75% { transform: rotate(2deg); }
}

.notifday { margin-top: 4px; }
.notifday__head {
    font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em;
    color: var(--muted); margin: 0 0 6px 2px;
}
.notiflist {
    list-style: none; margin: 0; padding: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
}
.notiflist > li + li { border-top: 1px solid var(--line-soft); }
.notif {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: .875rem;
    line-height: 1.4;
    position: relative;
}
a.notif:hover { background: var(--porcelain); }
.notif strong { color: var(--ink); font-weight: 650; }
.notif__icon {
    width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--porcelain); color: var(--ink-soft);
}
.notif__icon .icon { width: 17px; height: 17px; }
.notif--report .notif__icon, .notif--review .notif__icon { background: var(--blue-wash); color: var(--blue-ink); }
.notif--review .notif__icon { background: var(--ok-wash); color: var(--ok); }
.notif--tip .notif__icon { background: var(--warn-wash); color: var(--warn); }
.notif--assign .notif__icon { background: #f0ebfc; color: #6a4fd0; }
.notif--account .notif__icon, .notif--activated .notif__icon { background: #eef0f3; color: #4a5160; }
.notif__time { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.notif--new { background: linear-gradient(90deg, var(--blue-wash), rgba(237, 242, 255, 0) 70%); }
.notif__dot {
    position: absolute; left: 5px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
    border-radius: 999px; background: var(--blue);
}

.notif--assigned .notif__icon { background: #f0ebfc; color: #6a4fd0; }
.notif--reviewed .notif__icon { background: var(--ok-wash); color: var(--ok); }
.notif--teams .notif__icon { background: var(--blue-wash); color: var(--blue-ink); }

/* Het uitschuifpaneel van de bel. Op een groot scherm schuift het naast de
   zijbalk uit, op de telefoon zakt het onder de kopbalk naar beneden. */
.notifpanel {
    position: fixed;
    z-index: 60;
    top: calc(var(--topbar-h) + 6px);
    left: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - var(--topbar-h) - var(--tabbar-h) - 20px);
    max-height: calc(100dvh - var(--topbar-h) - var(--tabbar-h) - 20px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px -12px rgba(20, 22, 26, .35), 0 2px 6px rgba(20, 22, 26, .06);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(.98);
    transform-origin: top right;
    transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.notifpanel.is-open { opacity: 1; transform: none; }
@media (min-width: 880px) {
    .notifpanel {
        top: 12px;
        left: calc(var(--sidebar) + 10px);
        right: auto;
        width: 400px;
        max-height: min(560px, calc(100vh - 24px));
        transform: translateX(-14px);
        transform-origin: top left;
    }
}
@media (prefers-reduced-motion: reduce) { .notifpanel { transition: opacity .1s; transform: none; } }

.notifpanel__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 12px 10px 16px; border-bottom: 1px solid var(--line-soft);
}
.notifpanel__title { font-weight: 650; font-size: .9375rem; }
.notifpanel__close {
    width: 32px; height: 32px; border-radius: 999px; border: 0; background: none;
    font-size: 1.375rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.notifpanel__close:hover { background: var(--porcelain); color: var(--ink); }
.notifpanel__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.notifpanel__all {
    display: block; padding: 11px 16px; text-align: center;
    font-size: .8125rem; font-weight: 600; color: var(--blue);
    border-top: 1px solid var(--line-soft); background: var(--porcelain);
}
.notifpanel__all:hover { text-decoration: underline; }
.notifpanel__empty { padding: 22px 18px; font-size: .875rem; color: var(--muted); text-align: center; }

.notiflist--panel { border: 0; border-radius: 0; box-shadow: none; }
.notiflist--panel .notif { grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "icon text" "icon time"; row-gap: 2px; padding: 10px 14px 10px 16px; font-size: .8125rem; }
.notiflist--panel .notif__icon { grid-area: icon; width: 30px; height: 30px; border-radius: 9px; align-self: start; }
.notiflist--panel .notif__text { grid-area: text; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.notiflist--panel .notif__time { grid-area: time; font-size: .6875rem; }

.notifpanel__loading { display: flex; justify-content: center; gap: 6px; padding: 28px 0; }
.notifpanel__loading span {
    width: 7px; height: 7px; border-radius: 999px; background: var(--blue-line);
    animation: notif-dot 1s ease-in-out infinite;
}
.notifpanel__loading span:nth-child(2) { animation-delay: .15s; }
.notifpanel__loading span:nth-child(3) { animation-delay: .3s; }
@keyframes notif-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }


/* Filterrijen (rapporten, trainingen, meldingen, talentenkaart): altijd één
   regel die je opzij veegt, nooit twee rommelige regels. Op de telefoon zonder
   kader en tot aan de rand, met een zachte overloop rechts als hint. */
.scroller.segmented { flex-wrap: nowrap; scrollbar-width: none; position: relative; }
.scroller.segmented::-webkit-scrollbar { display: none; }
.scroller.segmented > * { flex: none; }
@media (max-width: 639px) {
    .scroller.segmented {
        display: flex;
        gap: 6px;
        margin: 0 -16px;
        padding: 2px 16px 4px;
        background: none;
        border: 0;
        border-radius: 0;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 32px), transparent);
        mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 32px), transparent);
    }
    .scroller.segmented a { padding: 8px 15px; font-size: .8125rem; box-shadow: var(--shadow); }
    .scroller.segmented [aria-current="true"] { box-shadow: 0 4px 12px -4px rgba(0, 87, 255, .45); }
}

/* Een lege toestand die er bewust uitziet in plaats van een losse zin. */
.emptycard {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 34px 22px 30px;
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}
.emptycard--flat { border: 0; background: none; padding: 28px 20px 26px; }
.emptycard__icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: grid; place-items: center;
    background: var(--blue-wash); color: var(--blue);
    margin-bottom: 6px;
}
.emptycard__icon .icon { width: 24px; height: 24px; }
.emptycard__title { font-weight: 650; font-size: 1rem; color: var(--ink); }
.emptycard__text { font-size: .875rem; color: var(--muted); max-width: 34ch; line-height: 1.5; }
.emptycard__text .linkbtn { display: inline-block; margin-top: 6px; }
@media (max-width: 639px) {
    .page-head h1 + .page-sub { font-size: .875rem; }
}


/* ------------------------------------------------------------------ agenda */

.agenda__nav { display: flex; gap: 6px; align-self: flex-start; }
.agenda__nav .btn { min-width: 38px; }

.calgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calgrid__wd {
    padding: 9px 0 7px; text-align: center; font-size: .6875rem; font-weight: 650;
    text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.calday {
    position: relative;
    display: flex; flex-direction: column; gap: 3px;
    min-height: 92px; padding: 6px 7px 7px;
    border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
    color: var(--ink); text-decoration: none;
    transition: background .1s;
}
.calday:nth-child(7n) { border-right: 0; }
.calday:hover { background: var(--porcelain); }
.calday--out { background: #fbfaf8; }
.calday--out .calday__num { color: #bdbab3; }
.calday--past .calday__items { opacity: .55; }
.calday__num { font-size: .8125rem; font-weight: 650; font-variant-numeric: tabular-nums; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; }
.calday--today .calday__num { background: var(--blue); color: #fff; }
.calday--selected { background: var(--blue-wash); box-shadow: inset 0 0 0 2px var(--blue); z-index: 1; }
.calday--closed { background: repeating-linear-gradient(135deg, #fdf6ea, #fdf6ea 6px, #fbefdc 6px, #fbefdc 12px); }
.calday--closed.calday--selected { background: var(--blue-wash); }
.calday__closure {
    font-size: .625rem; font-weight: 700; color: var(--warn); text-transform: uppercase; letter-spacing: .03em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.calday__items { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.calday__tag {
    display: flex; align-items: center; gap: 4px;
    padding: 1px 6px; border-radius: 6px; font-size: .6875rem; line-height: 1.5; white-space: nowrap; overflow: hidden;
}
.calday__tag i { width: 6px; height: 6px; border-radius: 999px; flex: none; }
.calday__tag b { font-weight: 700; font-variant-numeric: tabular-nums; }
.calday__tag em { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
.calday__tag--match { background: var(--blue-wash); color: var(--blue-ink); }
.calday__tag--match i { background: var(--blue); }
.calday__tag--training { background: #f1f0ec; color: var(--ink-soft); }
.calday__tag--training i { background: #9b988f; }
.calday__tag--off { background: var(--alert-wash); color: var(--alert); }
.calday__tag--off i { background: var(--alert); }

.calgrid__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 14px; font-size: .75rem; color: var(--ink-soft); border-top: 1px solid var(--line-soft); }
.calgrid__legend span { display: inline-flex; align-items: center; gap: 5px; }
.calgrid__dot { width: 9px; height: 9px; border-radius: 999px; display: inline-block; }
.calgrid__dot--match { background: var(--blue); }
.calgrid__dot--training { background: #9b988f; }
.calgrid__dot--off { background: var(--alert); }
.calgrid__dot--closed { background: #f0c98a; border-radius: 3px; }

/* Op de telefoon: compacte vakjes met alleen stippen. */
@media (max-width: 639px) {
    .calday { min-height: 54px; padding: 4px 2px 5px; align-items: center; }
    .calday__closure { display: none; }
    .calday__items { flex-direction: row; justify-content: center; gap: 3px; }
    .calday__tag { padding: 0; background: none !important; }
    .calday__tag i { width: 6px; height: 6px; }
    .calday__tag b, .calday__tag em { display: none; }
    .calday__num { font-size: .8125rem; }
    .calgrid__wd { font-size: .625rem; letter-spacing: .03em; }
}
@media (min-width: 640px) and (max-width: 999px) {
    .calday__tag em { display: none; }
}

/* De gekozen dag */
.agendaday { scroll-margin-top: calc(var(--topbar-h) + 12px); }
.agendaday__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.agendaday__head h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.agendaday__tools { display: flex; gap: 6px; flex-wrap: wrap; }

.daynotice {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-top: 12px; padding: 9px 12px; border-radius: var(--radius-sm);
    background: var(--warn-wash); border: 1px solid #f0dcb8; color: #6e4204; font-size: .8125rem;
}
.daynotice .icon { width: 16px; height: 16px; color: var(--warn); }
.daynotice > span { flex: 1; min-width: 0; }
.daynotice--alert { background: var(--alert-wash); border-color: #f2cdc9; color: #7a1d12; }
.daynotice--alert .icon { color: var(--alert); }

.agendalist { list-style: none; margin: 0; padding: 0; }
.agendaitem {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: start;
    padding: 12px 0; border-top: 1px solid var(--line-soft);
}
.agendalist > .agendaitem:first-child { border-top: 0; }
.agendaitem--team { grid-template-columns: minmax(0, 1fr) auto; padding: 9px 0; }
.agendaitem__main { min-width: 0; }
.agendaitem__title { font-weight: 650; font-size: .9375rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.agendaitem__title a { color: inherit; }
.agendaitem__title a:hover { color: var(--blue); }
.agendaitem__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: .8125rem; color: var(--muted); }
.agendaitem__who { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.agendaitem__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-top: 2px; }
.agendaitem--off .agendaitem__title { color: var(--muted); }
.agendaitem--off .agendaitem__title > a, .agendaitem--off .agendaitem__title > :first-child { text-decoration: line-through; text-decoration-color: rgba(179, 35, 29, .5); }
.agendaitem--off .timepill { opacity: .5; }

.agenda__scout {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 4px 3px 9px; border-radius: 999px;
    background: #f0ebfc; color: #4b33a8; font-size: .75rem; font-weight: 600;
}
.agenda__scout .icon { width: 13px; height: 13px; }
.agenda__scout form { display: inline-flex; }
.agenda__unassign {
    width: 20px; height: 20px; border-radius: 999px; border: 0; background: transparent;
    color: #6a4fd0; font-size: .9375rem; line-height: 1; cursor: pointer;
}
.agenda__unassign:hover { background: #ded5f8; }
.agenda__nobody { font-size: .75rem; color: var(--warn); font-weight: 600; }
.agenda__assign { display: flex; gap: 6px; margin-top: 8px; max-width: 360px; }
.agenda__assign select { flex: 1; min-width: 0; }

.agendaslot { margin-top: 10px; padding: 8px 12px 2px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.agendaslot__head { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); padding-bottom: 4px; }

@media (max-width: 639px) {
    .agendaitem { grid-template-columns: auto minmax(0, 1fr); }
    .agendaitem__actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; }
    .agendaitem--team .agendaitem__actions { grid-column: auto; }
    .agenda__assign { max-width: none; }
}

/* Een knop die een klein formulier openklapt */
.popform { position: relative; }
.popform > summary { list-style: none; cursor: pointer; }
.popform > summary::-webkit-details-marker { display: none; }
.popform__body {
    position: absolute; z-index: 20; top: calc(100% + 6px); right: 0;
    width: min(360px, calc(100vw - 32px));
    padding: 14px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 18px 40px -12px rgba(20, 22, 26, .3);
    display: grid; gap: 10px;
}
.popform--end .popform__body { right: 0; }
.popform__title { font-size: .8125rem; font-weight: 700; color: var(--ink); }
.popform__title + form { margin-top: -4px; }
.popform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.popform__grid label { display: grid; gap: 3px; font-size: .75rem; font-weight: 600; color: var(--ink-soft); }
.popform__wide { grid-column: 1 / -1; }
@media (max-width: 639px) {
    .popform__body { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(var(--tabbar-h) + 12px); width: auto; max-height: 75vh; overflow-y: auto; }
}

/* een uitgevallen training op het overzicht */
.row--dropped .row__title { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(179, 35, 29, .5); }
.matchcard--cancelled .fixture { opacity: .5; }

.daynotice__actions { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.daynotice__actions form { display: inline-flex; }
.daynotice--closed .btn--outline { background: #fff; }

/* Waarom een speler een vinkje heeft: aantal rapporten en van wie. */
.seenline {
    display: flex; align-items: center; gap: 4px; min-width: 0;
    margin-top: 3px; font-size: .75rem; color: var(--ink-soft);
}
.seenline .icon { width: 13px; height: 13px; flex: none; color: var(--ok); }
.seenline__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seenline--none { color: #a3a09a; }
.seenline--none .icon { color: #c4c1ba; }
.row__meta .seenline { margin-top: 0; }


/* ------------------------------------------------------------- foto's */

.avatar--photo { padding: 0; overflow: hidden; background: var(--line-soft); }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.avatar--xl { width: 76px; height: 76px; font-size: 1.375rem; }
.profilehead { display: flex; align-items: center; gap: 16px; }
@media (max-width: 559px) { .avatar--xl { width: 60px; height: 60px; font-size: 1.125rem; } .profilehead { gap: 12px; } }

.photoform__wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.photoform { display: flex; gap: 8px; align-items: center; flex: 1 1 260px; }
.photoform .filepick { flex: 1 1 auto; }
.js .photoform [data-autosubmit-fallback] { display: none; }

.photopop { flex: none; }
.photopop .popform__body { left: 0; right: auto; }
.photopop__trigger { position: relative; display: block; border-radius: 999px; }
.photopop__trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.photopop__cam {
    position: absolute; right: -2px; bottom: -2px;
    width: 26px; height: 26px; border-radius: 999px;
    display: grid; place-items: center;
    background: var(--surface); color: var(--blue);
    border: 1px solid var(--line); box-shadow: var(--shadow-lift);
}
.photopop__cam .icon { width: 14px; height: 14px; }
.photopop__trigger:hover .photopop__cam { background: var(--blue); color: #fff; border-color: var(--blue); }

.sidebar__me { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: inherit; text-decoration: none; border-radius: var(--radius-sm); }
.sidebar__me:hover .who { color: var(--blue); }
.sidebar__me > span { display: flex; flex-direction: column; min-width: 0; }
.sidebar__me .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar__me .role { margin-bottom: 0; }

/* -------------------------------------------------------- gebruikers */

.usergrid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .usergrid { grid-template-columns: 1fr 1fr; } }
.usercard {
    display: flex; align-items: center; gap: 12px; padding: 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    color: inherit; text-decoration: none; box-shadow: var(--shadow);
    transition: border-color .12s, box-shadow .12s;
}
.usercard:hover { border-color: var(--blue-line); box-shadow: var(--shadow-lift); }
.usercard__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.usercard__name { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usercard__badges { display: flex; flex-wrap: wrap; gap: 4px; }
.usercard__badges .badge { font-size: .6875rem; padding: 1px 7px; }
.usercard__meta { font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usercard__go { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: .8125rem; font-weight: 600; color: var(--blue); }
.usercard__go .icon { width: 14px; height: 14px; }
@media (max-width: 459px) { .usercard__go { font-size: 0; } .usercard__go .icon { width: 18px; height: 18px; } }

/* wachtwoord en toegang op de pagina van één gebruiker */
.accessopts { display: grid; gap: 10px; }
.accessopt { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.accessopt--main { border-color: var(--blue-line); background: linear-gradient(180deg, var(--blue-wash), #fff 75%); }
.accessopt__title { display: flex; align-items: center; gap: 7px; font-weight: 650; font-size: .9375rem; }
.accessopt__title .icon { width: 17px; height: 17px; color: var(--blue); }
details.accessopt > summary { cursor: pointer; list-style: none; }
details.accessopt > summary::-webkit-details-marker { display: none; }
details.accessopt > summary::after { content: "›"; margin-left: auto; color: var(--muted); font-size: 1.125rem; transition: transform .15s; }
details.accessopt[open] > summary::after { transform: rotate(90deg); }
details.accessopt[open] > summary { margin-bottom: 4px; }
.accessopt__text { font-size: .8125rem; color: var(--ink-soft); margin: 6px 0 12px; line-height: 1.5; }
.linkbox { display: grid; gap: 6px; margin: 4px 0 12px; padding: 12px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.linkbox__label { font-size: .8125rem; font-weight: 600; }
.linkbox__row { display: flex; gap: 8px; align-items: center; }
.linkbox__row .input { flex: 1; min-width: 0; }
.accessrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line-soft); }
details.panel.danger > summary { color: var(--alert); }

/* zelf een wachtwoord kiezen (uitnodiging of reset) */
.pwhead { display: flex; align-items: center; gap: 10px; }
.pwfield { position: relative; }
.pwfield .input { padding-right: 64px; }
.pwfield__toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    border: 0; background: var(--porcelain); color: var(--ink-soft);
    font: inherit; font-size: .75rem; font-weight: 600; padding: 5px 9px; border-radius: 7px; cursor: pointer;
}
.pwrules { display: grid; gap: 3px; font-size: .8125rem; color: var(--muted); }
.pwrules li { display: flex; align-items: center; gap: 7px; }
.pwrules li::before {
    content: ""; width: 14px; height: 14px; border-radius: 999px; flex: none;
    border: 1.5px solid #c9c6bf; background: #fff;
}
.pwrules li.is-ok { color: var(--ok); }
.pwrules li.is-ok::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* het potloodje op een avatar: altijd zichtbaar als bewerkknop */
.photopop__cam { background: var(--blue); color: #fff; border-color: #fff; border-width: 2px; }
.photopop__trigger:hover .photopop__cam { background: var(--blue-ink); }
.photopop__trigger:hover .avatar { filter: brightness(.94); }
.avatar--xl + .photopop__cam { width: 28px; height: 28px; right: 0; bottom: 0; }

/* Trainingen in het schema op de telefoon: tijd links, team en details ernaast,
   de knoppen eronder in plaats van ernaast — anders wordt alles samengeperst. */
@media (max-width: 639px) {
    .trainrow {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "pill main" "pill aside";
        column-gap: 12px;
        row-gap: 9px;
        align-items: start;
        padding: 13px 0;
    }
    .trainrow > .timepill { grid-area: pill; }
    .trainrow > .row__main { grid-area: main; }
    .trainrow > .row__aside { grid-area: aside; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
    .trainrow .row__title {
        white-space: normal; overflow: visible;
        display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
        font-size: 1rem; font-weight: 650;
    }
    .trainrow .row__title a { color: inherit; }
    .trainrow .row__meta { gap: 4px 10px; margin-top: 5px; }
    .trainrow .row__meta .badge { font-size: .6875rem; padding: 1px 7px; }
    .trainrow .row__aside .btn { min-height: 36px; }
}


/* Toewijzen op de scoutpagina: per team één regel met tikbare momenten. */
.slotboard { display: grid; gap: 2px; margin-top: 4px; }
.slotboard__row {
    display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; align-items: start;
    padding: 9px 0; border-top: 1px solid var(--line-soft);
}
.slotboard__row:first-child { border-top: 0; }
.slotboard__team { font-weight: 700; font-size: .9375rem; color: var(--ink); padding-top: 6px; }
.slotboard__team:hover { color: var(--blue); }
.slotboard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.slotboard__more > summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center;
    min-height: 34px; padding: 0 11px; border-radius: 999px; border: 1px dashed var(--line);
    font-size: .75rem; font-weight: 650; color: var(--ink-soft);
}
.slotboard__more > summary::-webkit-details-marker { display: none; }
.slotboard__more[open] { flex-basis: 100%; }
.slotboard__more[open] > summary { display: none; }
.slotchip__form { display: inline-flex; margin: 0; }
.slotchip {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 34px; padding: 5px 11px; border-radius: 999px;
    border: 1px solid var(--line); background: #f4f3ef; color: var(--ink);
    font: inherit; font-size: .75rem; line-height: 1.2; cursor: pointer;
    transition: border-color .1s, background .1s, box-shadow .1s;
}
.slotchip:hover { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-wash); }
.slotchip__when { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.slotchip__what { color: var(--ink-soft); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slotchip--match { background: var(--blue-wash); border-color: var(--blue-line); color: var(--blue-ink); }
.slotchip--match .slotchip__what { color: var(--blue-ink); opacity: .8; }
.slotchip--on { background: #6a4fd0; border-color: #6a4fd0; color: #fff; }
.slotchip--on .slotchip__what { color: #fff; opacity: .85; }
.slotchip--on .icon { width: 13px; height: 13px; }
.slotchip__taken { display: inline-flex; color: var(--warn); }
.slotchip__taken .icon { width: 13px; height: 13px; }
.slotchip--on .slotchip__taken { color: #fff; }

.slotlegend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: .75rem; color: var(--muted); }
.slotlegend span { display: inline-flex; align-items: center; gap: 5px; }
.slotlegend .icon { width: 13px; height: 13px; color: var(--warn); }
.slotlegend__dot { width: 10px; height: 10px; border-radius: 999px; display: inline-block; border: 1px solid var(--line); background: #f4f3ef; }
.slotlegend__dot--match { background: var(--blue-wash); border-color: var(--blue-line); }
.slotlegend__dot--on { background: #6a4fd0; border-color: #6a4fd0; }
.slotboard__other { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: .8125rem; color: var(--ink-soft); }

@media (max-width: 559px) {
    .slotboard__row { grid-template-columns: 1fr; gap: 6px; }
    .slotboard__team { padding-top: 0; }
}


/* Vaste teams van een scout: chips met een kruisje en één keuzelijst. */
.teamchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.teamchips__empty { font-size: .875rem; color: var(--muted); }
.teamchip__form { display: inline-flex; margin: 0; }
.teamchip {
    display: inline-flex; align-items: center; gap: 2px;
    min-height: 34px; padding: 3px 4px 3px 12px; border-radius: 999px;
    border: 1px solid var(--blue-line); background: var(--blue-wash);
    font-size: .8125rem; font-weight: 650;
}
.teamchip__name { color: var(--blue-ink); }
.teamchip__name:hover { text-decoration: underline; }
.teamchip__x {
    width: 28px; height: 28px; border-radius: 999px; border: 0; background: none; cursor: pointer;
    display: grid; place-items: center; font: inherit; font-size: 1.0625rem; line-height: 1;
    color: var(--blue-ink); opacity: .55;
}
.teamchip__x:hover, .teamchip__x:focus-visible { opacity: 1; background: var(--alert-wash); color: var(--alert); }
.teamadd { display: flex; gap: 8px; max-width: 420px; }
.teamadd select { flex: 1; min-width: 0; }
.js .teamadd [data-autosubmit-fallback] { display: none; }
.teamclear { margin-top: 10px; }

/* Kop van de scoutpagina */
.stat--link .stat__label { display: inline-flex; align-items: center; justify-content: center; gap: 2px; color: var(--blue-ink); }
.stat--link .stat__label .icon { width: 12px; height: 12px; }
.scouthead { align-items: center; }
.scouthead__who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.scouthead__text { min-width: 0; display: grid; gap: 3px; }
.scouthead__text h1 { line-height: 1.15; }
.scouthead__text .eyebrow, .scouthead__text .page-sub { margin: 0; }
.scouthead__text .page-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 699px) {
    .scouthead__who { gap: 12px; }
    .scouthead .avatar--lg { width: 52px; height: 52px; font-size: 1rem; }
    .scouthead h1 { font-size: 1.3125rem; }
    .scouthead .page-sub { font-size: .8125rem; }
    .scouthead__reports { display: none; }
    .scoutstats .stat { padding: 9px 4px 10px; }
    .scoutstats .stat__value { font-size: 1.125rem; }
    .scoutstats .stat__label { font-size: .625rem; margin-top: 2px; }
}

.login__forgot { display: inline-block; margin-top: 6px; font-size: .8125rem; font-weight: 600; color: var(--blue); }
.login__forgot:hover { text-decoration: underline; }


/* -------------------------------------------------- meldingsvoorkeuren */

.prefs { display: grid; }
.prefs__head, .prefs__row { display: grid; grid-template-columns: minmax(0, 1fr) 56px 56px; gap: 8px; align-items: center; }
.prefs__head {
    padding: 6px 0; border-bottom: 1px solid var(--line);
    font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted);
}
.prefs__head span:not(:first-child) { text-align: center; }
.prefs__head--staff { margin-top: 18px; }
.prefs__row { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.prefs__title { font-weight: 650; font-size: .875rem; }
.prefs__text { font-size: .75rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.prefs__when { display: grid; gap: 4px; margin-top: 8px; font-size: .75rem; font-weight: 600; color: var(--ink-soft); max-width: 240px; }
.prefs__when select { width: 100%; }
.prefs__own { margin-top: 12px; }
.switch { position: relative; display: grid; place-items: center; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
    width: 40px; height: 24px; border-radius: 999px; background: #d9d6cf; position: relative;
    transition: background .15s;
}
.switch__dot {
    position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 999px; background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s;
}
.switch input:checked + .switch__track { background: var(--blue); }
.switch input:checked + .switch__track .switch__dot { transform: translateX(16px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--blue); outline-offset: 2px; }
.switch input:disabled + .switch__track { opacity: .4; cursor: not-allowed; }
@media (max-width: 459px) { .prefs__head, .prefs__row { grid-template-columns: minmax(0, 1fr) 46px 46px; gap: 6px; } }

.notifpanel__foot { display: flex; border-top: 1px solid var(--line-soft); background: var(--porcelain); }
.notifpanel__foot .notifpanel__all { flex: 1; border-top: 0; background: none; }
.notifpanel__prefs { padding: 11px 16px; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); border-left: 1px solid var(--line-soft); }
.notifpanel__prefs:hover { color: var(--blue); }
