/* Reunie 25 jaar Scouting Brandevoort: shared styles.
   Colors follow scoutingbrandevoort.nl (navy) and the logo (yellow, red). */
:root {
  --bg: #f4f6fb; --card: #ffffff; --ink: #1d2433; --muted: #5f6b80;
  --brand: #2c4696; --accent: #f2b705; --red: #d22f27; --line: #dde3ef;
  --chip: #e7ecf7; --head: #2c4696; --radius: 14px;
  --pijl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235f6b80' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151f; --card: #1a2030; --ink: #e8ecf5; --muted: #98a2b8;
    --brand: #8ea8ec; --red: #f0665e; --line: #2a3247; --chip: #222b40; --head: #1f3270;
    --pijl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2398a2b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: var(--brand); }

/* header + nav (rendered by nav.js): blue band with logo and title, light menu strip below */
.demo { background: var(--accent); color: #1d2433; text-align: center; font-size: 13px; padding: 6px 16px; }
.band { background: var(--head); color: #fff; }
.band .in { max-width: 960px; margin: 0 auto; padding: 14px 16px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.brand .t { font-weight: 800; font-size: 22px; line-height: 1.15; }
.brand .t small { display: block; font-weight: 500; font-size: 14px; color: rgba(255,255,255,.8); }
.strip { position: sticky; top: 0; z-index: 5; background: var(--card); border-bottom: 1px solid var(--line); }
.strip .in { max-width: 960px; margin: 0 auto; padding: 0 16px; display: flex; }
.strip nav { display: flex; flex: 1; min-width: 0; }
.strip a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 12px 12px; border-bottom: 3px solid transparent; white-space: nowrap; }
.strip a:hover { color: var(--brand); }
.strip a.on { color: var(--brand); font-weight: 700; border-bottom-color: var(--accent); }
.strip a.cta { flex: none; color: var(--brand); font-weight: 700; }
.strip .kort { display: none; }

main { max-width: 960px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.1; margin: 0 0 12px; color: var(--brand); }
h2 { margin: 0 0 12px; color: var(--brand); }
h3.sub { margin: 24px 0 4px; font-size: 16px; color: var(--brand); }
.muted { color: var(--muted); }
small.muted { font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.narrow { max-width: 460px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-block; background: var(--chip); color: var(--brand); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.note { border-left: 3px solid var(--accent); padding: 8px 12px; background: var(--card); border-radius: 0 10px 10px 0; font-size: 14px; }
.err { border-left: 3px solid var(--red); padding: 8px 12px; background: var(--card); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--red); }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.sticky { position: sticky; top: 64px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.grid3 a.card { text-decoration: none; color: inherit; }
.grid3 a.card:hover { border-color: var(--brand); }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.btn.danger { background: transparent; color: var(--red); border: 1px solid var(--red); }
.btn:disabled { opacity: .5; cursor: default; }
.linkbtn { font: inherit; background: none; border: 0; color: var(--brand); text-decoration: underline; cursor: pointer; padding: 0; }

/* forms */
form { display: grid; gap: 14px; }
label { font-weight: 600; font-size: 15px; display: grid; gap: 4px; }
input, select { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
input[readonly] { opacity: .7; }
/* Drop-down lists get the same look as the text fields; Safari otherwise draws its own glossy one. */
select { -webkit-appearance: none; appearance: none; padding-right: 34px; cursor: pointer;
         background-image: var(--pijl); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; }
select:disabled { cursor: default; opacity: .6; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0; }
legend { font-weight: 600; padding: 0 6px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.check input { width: auto; }
.code { font-size: 28px; letter-spacing: .3em; text-align: center; max-width: 220px; }

/* speltak picker */
.takken { display: grid; margin-top: 8px; }
.tak { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.tak .check { font-weight: 600; }
.tak .age { color: var(--muted); font-weight: 400; font-size: 13px; }
.yrs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.yrs input { width: 78px; padding: 6px 8px; text-align: center; }
.yrs input:disabled { opacity: .45; }
.tak.off .yrs { opacity: .6; }
/* "Heette toen" under a ticked speltak with old names */
.tak .toen { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding-left: 26px; margin-top: -2px; }
.tak .toen select { width: auto; padding: 5px 30px 5px 10px; font-size: 14px; }
.tak .toen input { width: 190px; padding: 5px 10px; font-size: 14px; }

/* home */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: stretch; }
.hero .date { font-size: 20px; font-weight: 600; }
.hero .agenda { margin: -6px 0 0; font-size: 15px; }
.count { display: flex; gap: 10px; margin: 18px 0; }
.count div { background: var(--chip); border-radius: 12px; padding: 10px 14px; text-align: center; min-width: 72px; }
.count strong { display: block; font-size: 28px; color: var(--brand); }
.count span { font-size: 12px; color: var(--muted); }
.stat { font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1.15; }
.stat b { font-size: 44px; }
.faces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.faces a { background: var(--chip); border-radius: 999px; padding: 4px 10px; font-size: 14px; color: inherit; text-decoration: none; }
.faces a:hover { background: color-mix(in srgb, var(--brand) 18%, var(--chip)); }
.faces a.zelf { background: var(--accent); color: #1d2433; font-weight: 700; }

/* person cards */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.person .name { font-weight: 700; font-size: 17px; }
.person .meta { color: var(--muted); font-size: 14px; }
.person .tk { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.person .tk span { background: var(--chip); border: 1px solid transparent; border-radius: 6px; padding: 1px 7px; font-size: 12.5px; }
.person .tk span.ld { background: transparent; border-color: var(--brand); color: var(--brand); }
.person .tk span.hit { background: var(--accent); color: #1d2433; border-color: var(--accent); }
.person.anon .name { color: var(--muted); font-style: italic; font-weight: 400; }

/* participants page */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.filters input { max-width: 220px; }
.filters select { width: auto; }
.filters .check { font-size: 15px; }
.lijst select.erbij-kies { width: auto; padding: 4px 30px 4px 8px; font-size: 14px; background-position: right 10px center; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { font: inherit; border: 0; background: transparent; color: var(--ink); padding: 7px 14px; cursor: pointer; }
.seg button.on { background: var(--brand); color: #fff; }
.summary { margin: 12px 0 0; font-size: 15px; }
.summary b { color: var(--brand); }
.scroll { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
table.ov { border-collapse: collapse; font-size: 14px; min-width: 100%; }
.ov th, .ov td { padding: 5px 8px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ov thead th { position: sticky; top: 0; background: var(--card); font-size: 12.5px; color: var(--muted); }
.ov th.y { text-align: left; color: var(--muted); font-weight: 600; }
.ov td button { font: inherit; font-weight: 700; width: 100%; min-width: 34px; border: 0; border-radius: 6px; padding: 3px 4px; cursor: pointer; color: var(--ink); }
.ov td button small { font-weight: 600; color: var(--brand); }
.ov td button:hover { outline: 2px solid var(--brand); }

/* payment block (mijn) */
.stack { display: grid; gap: 20px; }
.betaal .bedrag { font-size: 22px; font-weight: 700; color: var(--brand); margin: 0 0 6px; }
.betaal .zelf { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.betaal code { background: var(--chip); border-radius: 6px; padding: 1px 6px; font-size: 13.5px; color: var(--ink); }
.pill.wacht { background: #fdf0c2; color: #6b4e00; }
.pill.ok { background: #dcf1df; color: #1e6b2c; }
@media (prefers-color-scheme: dark) {
  .pill.wacht { background: #4a3a08; color: #f6d77a; }
  .pill.ok { background: #183d22; color: #9fdcaa; }
}

/* comité page (beheer) */
.tegels { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 8px 0 4px; }
.tegels div { background: var(--chip); border-radius: 12px; padding: 10px 14px; }
.tegels span { display: block; font-size: 13px; color: var(--muted); }
.tegels strong { font-size: 26px; color: var(--brand); }
table.lijst { border-collapse: collapse; font-size: 14px; width: 100%; }
.lijst th, .lijst td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.lijst th { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.lijst td .linkbtn { text-align: left; font-weight: 600; }
.lijst tr.meer td { background: var(--bg); font-size: 13.5px; }
.lijst .check { font-size: 14px; white-space: nowrap; }
.lijst .mail { overflow-wrap: anywhere; }
/* Phones: the registration date moves under the e-mail address, so the name gets room */
.lijst .klein-sinds { display: none; }
@media (max-width: 600px) {
  .lijst .kol-sinds { display: none; }
  .lijst .klein-sinds { display: block; }
}

/* text pages (programma, vragen, privacy) */
.prog { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.prog dt { font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.prog dd { margin: 0; }
details { border-top: 1px solid var(--line); padding: 10px 0; }
details:first-child { border-top: 0; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 8px 0 0; }
.text p, .text li { max-width: 68ch; }

footer { border-top: 1px solid var(--line); text-align: center; padding: 20px 16px; font-size: 13px; color: var(--muted); }
footer a { color: inherit; }

@media (max-width: 720px) {
  .hero, .split, .grid3, .two { grid-template-columns: 1fr; }
  .brand img { height: 46px; }
  .brand .t { font-size: 19px; }
  .sticky { position: static; }
  .tak { grid-template-columns: 1fr; gap: 4px; }
}

/* Beheer: tabs, comité list and the rights table */
.tabs { margin: 0 0 16px; }
/* Phones: segmented buttons a bit smaller and on one line; tabs in rows of two, so all
   of them are visible and the page never scrolls sideways */
@media (max-width: 600px) {
  .seg { max-width: 100%; }
  .seg button { padding: 7px 10px; font-size: 15px; white-space: nowrap; }
  .seg.tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 14px; }
  .seg.tabs .vlag { margin-left: 4px; }
}
.pill.hoofd { background: var(--brand); color: #fff; }
.toevoegen { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; margin-top: 12px; }
.toevoegen label { flex: 1 1 220px; }
.rechten th:not(:first-child), .rechten td:not(:first-child) { text-align: center; }
.rechten .ja { color: #1e8a3a; font-weight: 700; }
.rechten .nee { color: var(--muted); }
.pill.nieuw { background: var(--accent); color: #1d2433; }
.acties { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: 12px; }
.lijst .acties { justify-content: flex-start; margin-top: 8px; }
.acties .btn { padding: 7px 14px; font-size: 14px; }
dialog.dialoog { max-width: min(520px, calc(100vw - 32px)); color: var(--ink); }
dialog.dialoog::backdrop { background: rgba(0, 0, 0, .45); }

/* Herinneringen: stories */
.kop2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.verhalen { display: grid; gap: 12px; margin-top: 12px; }
.verhaal { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.verhaal.eigen { border-style: dashed; }
.verhaal h3 { margin: 0 0 2px; font-size: 18px; }
.verhaal .meta { color: var(--muted); font-size: 13.5px; margin-bottom: 8px; }
.verhaal .chip { background: var(--chip); border-radius: 6px; padding: 1px 7px; font-size: 12.5px; color: var(--ink); margin-right: 4px; }
.verhaal p { margin: 0 0 8px; line-height: 1.55; overflow-wrap: anywhere; }
.verhaal .voet { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 13.5px; }
.linkbtn.zacht { color: var(--muted); }
.lege { text-align: center; padding: 28px 16px; }
.note.ok { border-left-color: #1e8a3a; }
textarea { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; min-height: 160px; resize: vertical; }
.teller { text-align: right; font-size: 12.5px; color: var(--muted); }
.rij { display: flex; gap: 10px; flex-wrap: wrap; }
.rij label { flex: 1 1 180px; }
.verhaal .acties { justify-content: flex-start; }
.verhaal .paneel { margin-top: 10px; }

/* Herinneringen: photos */
.fotogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.tegel { position: relative; display: block; width: 100%; padding: 0; text-align: left; font: inherit; color: var(--ink); border-radius: 10px; overflow: hidden; background: var(--card); border: 1px solid var(--line); cursor: pointer; }
.tegel img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--chip); }
.tegel .onder { display: block; padding: 6px 8px; font-size: 13px; }
.tegel .onder b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tegel .onder span { color: var(--muted); font-size: 12px; }
.tegel .label { position: absolute; top: 6px; left: 6px; }
.tegel.eigen { border-style: dashed; }
.tegel.eigen img { opacity: .8; }
.drop { display: grid; justify-items: center; gap: 4px; border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; font-weight: 400; cursor: pointer; }
.drop.over { border-color: var(--brand); background: var(--chip); }
.keuze { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.keuze .mini { width: 72px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--chip); }
.balk { height: 8px; background: var(--chip); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.balk div { height: 100%; width: 0; background: var(--brand); transition: width .3s; }
dialog.lightbox { width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 12px; border: 0; border-radius: 14px; background: #0d1220; color: #fff; }
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lb-foto { position: relative; display: grid; place-items: center; }
.lb-foto img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 8px; }
.lb-pijl { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, .45); color: #fff; border: 0; border-radius: 999px; width: 42px; height: 42px; font-size: 22px; cursor: pointer; }
.lb-pijl.l { left: 8px; } .lb-pijl.r { right: 8px; }
.lb-sluit { position: absolute; top: 6px; right: 10px; z-index: 1; background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; }
.lb-info { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; }
.lb-info .chip { background: rgba(255, 255, 255, .12); border-radius: 6px; padding: 1px 7px; font-size: 12.5px; margin-right: 4px; }
.lb-info .zacht, .lb-info #lb-nr, .lb-info .linkbtn { color: #aab3c5; }
.lb-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lb-form input { flex: 1 1 200px; width: auto; }
.lb-form select { flex: 0 1 auto; width: auto; }
.lb-form input, .lb-form select { padding: 6px 8px; font-size: 14px; }
.lb-form select { padding-right: 26px; background-position: right 8px center; }
.lb-form .btn { padding: 6px 14px; font-size: 14px; }
.lb-form .err { flex-basis: 100%; margin: 0; }
.lb-info > div:first-child { flex: 1 1 auto; }
.fotogrid.beoordeel .tegel { cursor: default; }
.fotogrid.beoordeel .knoppen { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 8px 8px; }
.fotogrid.beoordeel .btn, .groepkop .btn { padding: 5px 10px; font-size: 13px; }
.groepkop { margin: 12px 0 0; font-size: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Menu on narrow screens: one row to swipe, the button on the right stays put */
@media (max-width: 760px) {
  .strip .in { padding: 0 0 0 6px; }
  .strip nav { overflow-x: auto; scrollbar-width: none; }
  .strip nav::-webkit-scrollbar { display: none; }
  .strip nav { --l: 0px; --r: 0px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--l), #000 calc(100% - var(--r)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--l), #000 calc(100% - var(--r)), transparent); }
  .strip nav.terug { --l: 32px; }
  .strip nav.meer { --r: 48px; }
  .strip a { padding: 11px 9px; }
  .strip a.cta { border-left: 1px solid var(--line); padding: 11px 12px; }
  .strip .lang { display: none; }
  .strip .kort { display: inline; }
}

/* Your own card on "Wie doen er mee?" */
.person.zelf { border: 2px solid var(--accent); }
a.person { display: block; color: inherit; text-decoration: none; }
a.person:hover { background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.person .naar { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--brand); }

/* Card or story reached from a link on the home page */
.person, .verhaal { scroll-margin-top: 80px; }
.gevonden { animation: gevonden 2.4s ease-out; }
@keyframes gevonden { 0%, 40% { box-shadow: 0 0 0 4px var(--accent); } 100% { box-shadow: 0 0 0 4px transparent; } }
@media (prefers-reduced-motion: reduce) { .gevonden { animation: none; box-shadow: 0 0 0 3px var(--accent); } }

/* Home: the newest memories */
.nieuwst { margin-top: 20px; }
.nieuwst h2 { margin: 0 0 10px; }
.nieuwst a.card { display: block; text-decoration: none; color: inherit; overflow: hidden; }
.nieuwst a.card:hover { border-color: var(--brand); }
.nieuwst .soort { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 6px; }
.nieuwst h3 { margin: 0 0 4px; font-size: 18px; }
.nieuwst .door { color: var(--muted); font-size: 13.5px; margin: 0 0 8px; }
.nieuwst .kort { margin: 0 0 8px; line-height: 1.55; overflow-wrap: anywhere; }
.nieuwst .verder { color: var(--brand); font-weight: 600; font-size: 14px; }
.nieuwst .foto { display: grid; grid-template-columns: 160px 1fr; gap: 14px; align-items: start; }
.nieuwst .foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--chip); }
@media (max-width: 480px) { .nieuwst .foto { grid-template-columns: 1fr; } }
.pill.jij { background: var(--accent); color: #1d2433; font-size: 12px; padding: 1px 8px; vertical-align: 2px; }

/* Comité: number badges (menu "Beheer", tabs) */
.vlag { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 9px;
        background: var(--accent); color: #1d2433; font-size: 11.5px; font-weight: 700; padding: 0 5px; margin-left: 6px; vertical-align: 1px; }
.vlag.hot { background: var(--red); color: #fff; }
.vlag.grijs { background: var(--chip); color: var(--muted); }

/* Overleg: status, subject, buttons next to items */
.st { display: inline-block; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 700; }
.st.hot { background: #ffd9d6; color: #9b1c14; }
.st.open { background: var(--chip); color: var(--brand); }
.st.done { background: #dcf1df; color: #1e6b2c; }
/* Subject label: wraps like text, so a long photo title never widens a window or column */
.ond { display: inline-block; max-width: 100%; overflow-wrap: anywhere; background: var(--chip); border-radius: 6px; padding: 1px 7px; font-size: 12.5px; color: var(--ink); text-decoration: none; text-align: left; }
a.ond:hover, button.ond:hover { text-decoration: underline; }
button.ond { font: inherit; font-size: 12.5px; border: 0; cursor: pointer; }
.praat { display: inline-flex; gap: 5px; align-items: center; font: inherit; font-size: 13px; color: var(--brand); background: transparent;
         border: 1px dashed var(--brand); border-radius: 999px; padding: 2px 10px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.praat .st { font-size: 11px; padding: 0 7px; }
.praat-groep { display: inline-flex; gap: 4px; align-items: center; }
.praat.plus { padding: 2px 9px; font-weight: 700; }
.paginavoet { max-width: 960px; margin: -36px auto 0; padding: 0 16px 20px; font-size: 13.5px; color: var(--muted);
              display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* Overleg tab on Beheer: list + conversation */
.ov-wrap { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 14px; }
@media (max-width: 760px) { .ov-wrap { grid-template-columns: minmax(0, 1fr); } }
/* minmax(0, …): long titles and messages must not stretch the columns */
.ov-lijst { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ov-item { display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--card);
           border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.ov-item.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.ov-item .t { font-weight: 700; display: flex; gap: 6px; align-items: center; }
.ov-item .ongelezen { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.ov-item .laatst { color: var(--muted); font-size: 13.5px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-item .rij2 { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.gesprek .kop { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: start; }
.gesprek h2 { margin: 0 0 4px; overflow-wrap: anywhere; }
.statusknop { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.statusknop button { font: inherit; font-size: 13px; border: 0; background: transparent; color: var(--ink); padding: 5px 12px; cursor: pointer; }
.statusknop button.on[data-status="hot"] { background: var(--red); color: #fff; }
.statusknop button.on[data-status="open"] { background: var(--brand); color: #fff; }
.statusknop button.on[data-status="done"] { background: #1e8a3a; color: #fff; }
.berichten { display: grid; gap: 10px; margin: 16px 0; }
.bericht { background: var(--chip); border-radius: 12px; padding: 9px 12px; max-width: 85%; justify-self: start; }
.bericht.mij { background: color-mix(in srgb, var(--brand) 14%, var(--card)); justify-self: end; }
.bericht .wie { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; display: flex; gap: 10px; justify-content: space-between; }
.bericht .wie .linkbtn { font-size: 12px; color: var(--muted); }
.bericht p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.systeem { text-align: center; font-size: 12.5px; color: var(--muted); }
.antwoord { display: flex; gap: 8px; align-items: end; }
.antwoord textarea { flex: 1; min-height: 44px; height: 60px; resize: vertical; }

/* Hearts on stories and photos */
.hart { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 14px; line-height: 1; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; }
.hart .i { font-size: 16px; font-variant-emoji: text; transition: transform .15s; }
.hart:hover { border-color: var(--red); color: var(--red); }
.hart.aan { background: color-mix(in srgb, var(--red) 12%, var(--card)); border-color: var(--red); color: var(--red); font-weight: 600; }
.hart.pof .i { transform: scale(1.35); }
.hart.eigen { cursor: default; font-size: 13.5px; }
.hart.eigen .i { color: var(--red); }
.hart.eigen:hover { border-color: var(--line); color: var(--muted); }
.tegel .hartje { position: absolute; top: 6px; right: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; border-radius: 999px; padding: 2px 8px; font-variant-emoji: text; }
.tegel .hartje.aan { background: var(--red); }
.lb-hart { margin-top: 8px; }
.lb-info .hart { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.lb-info .hart.aan { background: rgba(240, 102, 94, .2); border-color: #f0665e; color: #ff8a83; }
.lb-info .hart.eigen .i { color: #ff8a83; }
.rood { color: var(--red); font-variant-emoji: text; }

/* "Ben je erbij?" on the sign-up form: three big choices */
.erbij-vraag { border: 0; padding: 0; display: grid; gap: 10px; }
.erbij-vraag legend { padding: 0; margin-bottom: 6px; font-size: 18px; color: var(--brand); }
.erbij-vraag .note { margin: 0; }
.erbij { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.erbij label { position: relative; display: block; cursor: pointer; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); font-weight: 400; }
.erbij label b { display: block; font-size: 16px; }
.erbij label small { color: var(--muted); font-size: 13px; }
.erbij input { position: absolute; opacity: 0; pointer-events: none; }
.erbij label:has(input:checked) { border-color: var(--brand); background: var(--card); }
.erbij label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) { .erbij { grid-template-columns: 1fr; } }
