/* ==========================================================================
   Cadeaukring: design system
   - Palet uit het logo: koraal cadeau, gele hartstrik, crème, pruim voor tekst.
   - Letter: DM Sans (eigen hosting, variabel, ~37 kB), net als in het logo.
   - Thema per gelegenheid via <html data-occasion="…">: accentkleur, kopband,
     versiering en patroon. Altijd met voldoende contrast (zie DESIGN.md).
   ========================================================================== */

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000; font-style: normal; font-display: swap;
}

:root {
  /* Basis (uit het logo) */
  --bg: #FFF8F2;            /* warm crème */
  --surface: #FFFFFF;
  --surface-sunk: #FBEEE5;
  --ink: #4B2837;           /* pruim: 12,7:1 op wit */
  --ink-soft: #6E5260;      /* 6,6:1 op crème */
  --line: #F1DFD4;
  --field-border: #8F727C;  /* 4,3:1 op wit */

  /* Merkkleuren (decoratief) */
  --coral: #EA7567; --peach: #F49A75; --honey: #F7C96B; --cream: #FFF5EC;

  /* Accent voor knoppen en links (per gelegenheid overschreven) */
  --accent: #B03F3A;        /* witte tekst erop: 5,8:1 */
  --accent-strong: #8F302C;
  --accent-tint: #FDEBDD;
  --band-bg: #FDEBDD;
  --deco-1: #EA7567; --deco-2: #F7C96B; --deco-3: #F49A75;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M14 18c-3-4 3-8 5-3 2-5 8-1 5 3l-5 5Z' fill='%23EA7567' opacity='.18'/%3E%3Ccircle cx='46' cy='44' r='3' fill='%23F7C96B' opacity='.45'/%3E%3C/svg%3E");

  /* Status */
  --ok: #1D6B45;  --ok-tint: #E2F1E8;
  --hold: #84500A; --hold-tint: #FBEFD9;
  --done: #4F4466; --done-tint: #ECE8F3;
  --danger: #A3261E; --danger-tint: #FBE7E5;
  --info: #255A86; --info-tint: #E3EEF7;

  /* Gelegenheden (klein accent op badges en kaarten) */
  --occ-sinterklaas: #A3261E;
  --occ-kerst: #1F5E3A;
  --occ-verjaardag: #9A4318;
  --occ-baby: #2D5F8A;
  --occ-bruiloft: #7A5A1E;
  --occ-anders: #6B3F7A;

  --focus: #1B57B5;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --t-xs: .8125rem; --t-sm: .9375rem; --t-md: 1.0625rem; --t-lg: 1.3125rem; --t-xl: 1.625rem; --t-2xl: 2.0625rem; --t-3xl: 2.625rem;
  --r-control: 12px; --r-surface: 20px; --r-pill: 999px;
  --shadow-raise: 0 1px 2px rgba(75, 40, 55, .06), 0 10px 26px -14px rgba(75, 40, 55, .22);

  --gutter: 16px;
  --max: 1080px;
  --nav-h: 64px;
  color-scheme: light;
}

/* ------------------------- Thema's per gelegenheid ------------------------- */

[data-occasion="sinterklaas"] {
  --accent: #A3261E; --accent-strong: #821D17; --accent-tint: #FBE3DE; --band-bg: #FBE3DE;
  --deco-1: #C8372D; --deco-2: #E8BE55; --deco-3: #B5702E;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M14 30h12l1-10-7-14-7 14Z' fill='%23C8372D' opacity='.16'/%3E%3Ccircle cx='50' cy='22' r='4' fill='%23B5702E' opacity='.3'/%3E%3Ccircle cx='58' cy='30' r='3' fill='%23B5702E' opacity='.25'/%3E%3Cpath d='M44 52l2 4 4 1-3 3 1 4-4-2-4 2 1-4-3-3 4-1Z' fill='%23E8BE55' opacity='.45'/%3E%3C/svg%3E");
}
[data-occasion="kerst"] {
  --accent: #1F5E3A; --accent-strong: #164A2D; --accent-tint: #E3F0E6; --band-bg: #E3F0E6;
  --deco-1: #2E7D4F; --deco-2: #E7C35A; --deco-3: #C8372D;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg stroke='%2382B1C9' stroke-width='2' stroke-linecap='round' opacity='.5'%3E%3Cpath d='M18 8v18M9 17h18M12 11l12 12M24 11 12 23'/%3E%3C/g%3E%3Cpath d='M52 40l2 5 5 1-4 3 1 5-4-2-4 2 1-5-4-3 5-1Z' fill='%23E7C35A' opacity='.5'/%3E%3Ccircle cx='22' cy='56' r='3' fill='%23C8372D' opacity='.35'/%3E%3C/svg%3E");
}
[data-occasion="verjaardag"] {
  --accent: #9A4318; --accent-strong: #7C3511; --accent-tint: #FFF0CF; --band-bg: #FFF0CF;
  --deco-1: #EA7567; --deco-2: #F7C96B; --deco-3: #5B9BD5;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Crect x='10' y='12' width='9' height='4' rx='2' fill='%23EA7567' opacity='.45' transform='rotate(-25 14 14)'/%3E%3Crect x='46' y='20' width='9' height='4' rx='2' fill='%235B9BD5' opacity='.4' transform='rotate(30 50 22)'/%3E%3Crect x='30' y='50' width='9' height='4' rx='2' fill='%237BC4A0' opacity='.45' transform='rotate(15 34 52)'/%3E%3Ccircle cx='60' cy='56' r='3' fill='%23F7C96B' opacity='.7'/%3E%3C/svg%3E");
}
[data-occasion="baby"] {
  --accent: #2D5F8A; --accent-strong: #224A6C; --accent-tint: #E6F0FA; --band-bg: #E6F0FA;
  --deco-1: #9CC3E6; --deco-2: #F3B6C2; --deco-3: #F7D98B;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M14 30c-5 0-8-3-8-7s4-7 8-6c2-4 6-6 10-6 6 0 10 4 10 9 4 0 6 3 6 6 0 3-2 4-6 4Z' fill='%23FFFFFF' opacity='.9'/%3E%3Cpath d='M58 52l2 4 4 1-3 3 1 4-4-2-4 2 1-4-3-3 4-1Z' fill='%23F3B6C2' opacity='.6'/%3E%3C/svg%3E");
}
[data-occasion="bruiloft"] {
  --accent: #7A5A1E; --accent-strong: #614716; --accent-tint: #F8EEE0; --band-bg: #F8EEE0;
  --deco-1: #D9B56A; --deco-2: #F2C9C4; --deco-3: #C9A24E;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M14 20c-3-5 4-9 6-4 2-5 9-1 6 4l-6 6Z' fill='%23F2A9A0' opacity='.35'/%3E%3Ccircle cx='48' cy='48' r='7' fill='none' stroke='%23D9B56A' stroke-width='2' opacity='.55'/%3E%3Ccircle cx='56' cy='48' r='7' fill='none' stroke='%23C9A24E' stroke-width='2' opacity='.55'/%3E%3C/svg%3E");
}
[data-occasion="jubileum"] {
  --accent: #7A2E57; --accent-strong: #5F2243; --accent-tint: #F6E9F0; --band-bg: #F8ECE0;
  --deco-1: #E3B85C; --deco-2: #B0457A; --deco-3: #EA7567;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Ccircle cx='16' cy='18' r='6' fill='none' stroke='%23E3B85C' stroke-width='2' opacity='.6'/%3E%3Cpath d='M50 44l2 5 5 1-4 3 1 5-4-2-4 2 1-5-4-3 5-1Z' fill='%23B0457A' opacity='.35'/%3E%3C/svg%3E");
}
[data-occasion="anders"] {
  --accent: #6B3F7A; --accent-strong: #553163; --accent-tint: #F1E8F6; --band-bg: #F1E8F6;
  --deco-1: #B993D6; --deco-2: #F7C96B; --deco-3: #EA7567;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M10 14l6 12 6-10Z' fill='%23B993D6' opacity='.45'/%3E%3Cpath d='M44 40l6 12 6-10Z' fill='%23F7C96B' opacity='.6'/%3E%3Ccircle cx='22' cy='54' r='3' fill='%23EA7567' opacity='.5'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}
body.no-nav { padding-bottom: 0; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5rem; font-weight: 750; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-lg); }
h3 { font-size: var(--t-md); }
p { margin: 0 0 .75rem; }
a { color: var(--accent-strong); text-underline-offset: .15em; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--r-control); font-weight: 700;
}
.skip-link:focus { top: var(--gutter); color: #fff; }

/* ------------------------------ Kop en menu ------------------------------ */

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header::after { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--deco-1) 0 33%, var(--deco-2) 33% 66%, var(--deco-3) 66%); }
.site-header__inner {
  max-width: var(--max); margin: 0 auto; padding: .6rem var(--gutter);
  display: flex; align-items: center; gap: 1rem; min-height: 60px;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-size: 1.35rem; font-weight: 750; letter-spacing: -.035em; color: var(--ink); }
.site-header__meta { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.header-user { font-size: var(--t-sm); color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22ch; }

.main-nav {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.main-nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; max-width: var(--max); }
.main-nav li { flex: 1 1 0; min-width: 0; }
.main-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: var(--nav-h); padding: .35rem .2rem; font-size: .75rem; font-weight: 700;
  color: var(--ink-soft); text-decoration: none; text-align: center; line-height: 1.15;
}
.main-nav a svg { width: 24px; height: 24px; }
.main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav a[aria-current="page"] svg { stroke-width: 2.4; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .main-nav { position: sticky; top: 65px; inset: auto; border-top: 0; border-bottom: 1px solid var(--line); z-index: 19; }
  .main-nav ul { padding: 0 var(--gutter); gap: .25rem; }
  .main-nav li { flex: none; }
  .main-nav a { flex-direction: row; gap: .45rem; min-height: 48px; padding: 0 .9rem; font-size: var(--t-sm); border-bottom: 3px solid transparent; }
  .main-nav a svg { width: 20px; height: 20px; }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
}

.offline-banner {
  background: var(--hold-tint); color: var(--hold); border-bottom: 1px solid #E8D3AD;
  padding: .55rem var(--gutter); font-size: var(--t-sm); font-weight: 700; text-align: center;
}

/* --------------------------------- Pagina --------------------------------- */

.main { max-width: var(--max); margin: 0 auto; padding: 1.25rem var(--gutter) 2.5rem; outline: none; }
.main:focus { outline: none; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.page-head__text { max-width: 62ch; }
.lead { color: var(--ink-soft); font-size: var(--t-md); margin-bottom: 0; }
.section { margin-top: 2rem; }
.section > h2 { margin-bottom: .75rem; }
.stack > * + * { margin-top: 1rem; }
.back-link { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; text-decoration: none; margin-bottom: .75rem; min-height: 44px; }
.back-link svg { width: 18px; height: 18px; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--t-sm); }

.surface { background: var(--surface); border-radius: var(--r-surface); padding: 1.25rem; box-shadow: var(--shadow-raise); }
.surface--flat { box-shadow: none; border: 1px solid var(--line); }
.surface > h2:first-child, .surface > h3:first-child { margin-top: 0; }

.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* --------------------------------- Knoppen --------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 48px; padding: .6rem 1.1rem; border-radius: var(--r-control);
  border: 2px solid transparent; font-weight: 700; font-size: var(--t-md); line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); color: #fff; }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--field-border); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn--quiet { background: transparent; color: var(--accent-strong); padding-inline: .6rem; }
.btn--quiet:hover { background: var(--accent-tint); color: var(--accent-strong); }
.btn--danger { background: var(--surface); color: var(--danger); border-color: #D9A29D; }
.btn--danger:hover { background: var(--danger-tint); color: var(--danger); }
.btn--danger-solid { background: var(--danger); color: #fff; }
.btn--danger-solid:hover { background: #821D17; color: #fff; }
.btn--small { min-height: 44px; padding: .45rem .8rem; font-size: var(--t-sm); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-control);
  border: 0; background: transparent; color: var(--ink-soft); cursor: pointer;
}
.icon-button:hover { background: var(--surface-sunk); color: var(--ink); }
.icon-button svg { width: 22px; height: 22px; }
.header-button { min-height: 44px; padding: .4rem .8rem; border-radius: var(--r-control); border: 2px solid var(--line); background: var(--surface); font-weight: 700; font-size: var(--t-sm); cursor: pointer; }
.header-button:hover { border-color: var(--field-border); }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.form-actions { display: flex; flex-wrap: wrap-reverse; gap: .6rem; justify-content: flex-end; margin-top: 1.25rem; }

/* ------------------------------- Formulieren ------------------------------- */

.form .field + .field, .form .field + details, .form details + .field { margin-top: 1.1rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .35rem; }
.field fieldset, fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.required { color: var(--danger); }
.optional { font-weight: 400; color: var(--ink-soft); }
.hint { font-size: var(--t-sm); color: var(--ink-soft); margin: -.15rem 0 .45rem; }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: .65rem .8rem; font-size: 1rem;
  background: var(--surface); border: 2px solid var(--field-border); border-radius: var(--r-control);
}
.textarea { min-height: 88px; resize: vertical; }
.select { appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2A25' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 20px; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--focus); outline: 3px solid color-mix(in srgb, var(--focus) 30%, transparent); outline-offset: 0; }
[aria-invalid="true"].input, [aria-invalid="true"].textarea, [aria-invalid="true"].select { border-color: var(--danger); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix > span { display: grid; place-items: center; padding: 0 .75rem; background: var(--surface-sunk); border: 2px solid var(--field-border); border-right: 0; border-radius: var(--r-control) 0 0 var(--r-control); font-weight: 700; }
.input-prefix .input { border-radius: 0 var(--r-control) var(--r-control) 0; }
.field-error { display: flex; gap: .4rem; align-items: flex-start; color: var(--danger); font-weight: 700; font-size: var(--t-sm); margin: .4rem 0 0; }
.field-error svg { width: 18px; height: 18px; flex: none; margin-top: .1rem; }
.error-summary { border: 2px solid var(--danger); background: var(--danger-tint); border-radius: var(--r-control); padding: .9rem 1rem; margin-bottom: 1.1rem; }
.error-summary h2 { font-size: var(--t-md); color: var(--danger); }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--danger); font-weight: 700; }

.choices { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: .45rem; min-height: 48px; padding: .55rem .8rem;
  border: 2px solid var(--line); border-radius: var(--r-control); background: var(--surface); font-weight: 700; cursor: pointer;
}
.choice span svg { width: 20px; height: 20px; flex: none; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-strong); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 700; cursor: pointer; min-height: 44px; padding-top: .55rem; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--accent); }
.check-hint { font-size: var(--t-sm); color: var(--ink-soft); margin: .15rem 0 0 2rem; }

details.more { border-top: 1px solid var(--line); padding-top: .9rem; }
details.more > summary { cursor: pointer; font-weight: 700; color: var(--accent-strong); min-height: 44px; display: flex; align-items: center; gap: .4rem; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary svg { width: 18px; height: 18px; transition: transform .15s ease; }
details.more[open] > summary svg { transform: rotate(90deg); }
details.more > .field:first-of-type { margin-top: .5rem; }

/* --------------------------- Filterchips & werkbalk --------------------------- */

.toolbar { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: flex-end; margin: 0 0 1.25rem; }
.filter { border: 0; margin: 0; padding: 0; min-width: 0; max-width: 100%; }
.filter legend, .filter > .filter__label { font-size: var(--t-sm); font-weight: 700; color: var(--ink-soft); margin-bottom: .35rem; padding: 0; }
.chips { display: flex; gap: .4rem; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: thin; max-width: 100%; }
.chips--wrap { flex-wrap: wrap; overflow: visible; }
.chips label { position: relative; flex: none; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .4rem .9rem;
  border-radius: var(--r-pill); border: 2px solid var(--line); background: var(--surface);
  font-size: var(--t-sm); font-weight: 700; white-space: nowrap; cursor: pointer;
}
.chips span svg { width: 18px; height: 18px; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.sort { min-width: 12rem; }
.sort label { display: block; font-size: var(--t-sm); font-weight: 700; color: var(--ink-soft); margin-bottom: .35rem; }
.sort .select { min-height: 44px; padding-block: .45rem; }

/* ------------------------------ Badges & labels ------------------------------ */

.badge {
  display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: 700; background: var(--surface-sunk); color: var(--ink-soft); line-height: 1.5; white-space: nowrap;
}
.badge svg { width: 14px; height: 14px; }
.badge--occ { background: color-mix(in srgb, var(--occ, var(--ink-soft)) 12%, white); color: var(--occ, var(--ink-soft)); }
.occ-sinterklaas { --occ: var(--occ-sinterklaas); }
.occ-kerst { --occ: var(--occ-kerst); }
.occ-verjaardag { --occ: var(--occ-verjaardag); }
.occ-baby { --occ: var(--occ-baby); }
.occ-bruiloft { --occ: var(--occ-bruiloft); }
.occ-anders { --occ: var(--occ-anders); }
.badge--admin { background: var(--accent-tint); color: var(--accent-strong); }
.badge--child { background: var(--info-tint); color: var(--info); }
.badge--pending { background: var(--hold-tint); color: var(--hold); }
.badge--partner { background: var(--info-tint); color: var(--info); }
.badge--sponsor { background: var(--hold-tint); color: var(--hold); }

.status { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--t-sm); font-weight: 700; padding: .2rem .65rem; border-radius: var(--r-pill); white-space: nowrap; }
.status svg { width: 16px; height: 16px; }
.status--beschikbaar { background: var(--ok-tint); color: var(--ok); }
.status--gereserveerd { background: var(--hold-tint); color: var(--hold); }
.status--gekocht, .status--ingepakt, .status--gegeven { background: var(--done-tint); color: var(--done); }

.prio { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--t-sm); font-weight: 700; color: var(--ink-soft); }
.prio__bar { display: inline-flex; gap: 2px; }
.prio__bar i { width: 7px; height: 14px; border-radius: 2px; background: var(--line); }
.prio__bar i.on { background: var(--accent); }

/* ------------------------------ Meldingen ------------------------------ */

.notice { display: flex; gap: .6rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-control); background: var(--info-tint); color: var(--info); font-size: var(--t-sm); font-weight: 700; margin: 0 0 1rem; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: .05rem; }
.notice--privacy { background: var(--accent-tint); color: var(--accent-strong); }
.notice--warn { background: var(--hold-tint); color: var(--hold); }
.notice--ok { background: var(--ok-tint); color: var(--ok); }
.notice--danger { background: var(--danger-tint); color: var(--danger); }
.notice p { margin: 0; }
.alert { padding: .8rem 1rem; border-radius: var(--r-control); background: var(--danger-tint); color: var(--danger); font-weight: 700; margin-bottom: 1rem; }

.toast-region { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); width: min(32rem, calc(100% - 2 * var(--gutter))); display: grid; gap: .5rem; pointer-events: none; }
body.no-nav .toast-region { bottom: 16px; }
@media (min-width: 900px) { .toast-region { bottom: 24px; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: .6rem; background: var(--ink); color: #fff; padding: .7rem .8rem .7rem 1rem; border-radius: var(--r-control); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); font-weight: 700; font-size: var(--t-sm); }
.toast svg { width: 20px; height: 20px; flex: none; }
.toast span { flex: 1; }
.toast--error { background: var(--danger); }
.toast button { flex: none; min-height: 40px; padding: .3rem .8rem; border-radius: 8px; border: 2px solid rgba(255,255,255,.7); background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.toast button:hover { background: rgba(255,255,255,.12); }

/* ----------------------------- Lege & foutstaten ----------------------------- */

.state { text-align: center; padding: 2.25rem 1.25rem; max-width: 34rem; margin: 0 auto; }
.state > svg { width: 56px; height: 56px; margin: 0 auto 1rem; color: var(--accent); stroke-width: 1.5; }
.state p { color: var(--ink-soft); }
.state .btn { margin-top: .5rem; }
.state--error > svg { color: var(--danger); }
.loading { color: var(--ink-soft); padding: 2rem 0; text-align: center; }
.skeleton { display: grid; gap: .75rem; }
.skeleton i { display: block; height: 72px; border-radius: var(--r-surface); background: linear-gradient(90deg, var(--surface-sunk), #F6F8F5, var(--surface-sunk)); background-size: 200% 100%; animation: shimmer 1.4s ease infinite; }
.skeleton i:first-child { height: 40px; width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* --------------------------------- Wensen --------------------------------- */

.wish-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-surface); box-shadow: var(--shadow-raise); overflow: hidden; }
.wish { display: grid; grid-template-columns: 64px 1fr; gap: .9rem; padding: 1rem; border-top: 1px solid var(--line); }
.wish:first-child { border-top: 0; }
.wish__visual { width: 64px; height: 64px; border-radius: 12px; background: var(--surface-sunk); display: grid; place-items: center; color: var(--ink-soft); overflow: hidden; }
.wish__visual img { width: 100%; height: 100%; object-fit: cover; }
.wish__visual svg { width: 30px; height: 30px; }
.wish__body { min-width: 0; }
.wish__top { display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: center; margin-bottom: .2rem; }
.wish__title { font-size: var(--t-md); margin: 0; overflow-wrap: anywhere; }
.wish__title:focus { outline: none; }
h1[tabindex="-1"]:focus { outline: none; }
.wish__facts { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin: .2rem 0 0; font-size: var(--t-sm); color: var(--ink-soft); }
.wish__facts strong { color: var(--ink); }
.wish__desc, .wish__note { font-size: var(--t-sm); margin: .35rem 0 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.wish__link { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--t-sm); font-weight: 700; margin-top: .4rem; min-height: 32px; }
.wish__link svg { width: 16px; height: 16px; }
.wish__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.wish__state { display: flex; align-items: center; gap: .4rem; margin: .65rem 0 0; font-size: var(--t-sm); font-weight: 700; }
.wish__state svg { width: 18px; height: 18px; }
.wish.is-taken .wish__title, .wish.is-taken .wish__facts { color: var(--ink-soft); }
.wish.is-taken .wish__visual { opacity: .6; }
@media (min-width: 640px) {
  .wish { grid-template-columns: 84px 1fr; padding: 1.1rem 1.25rem; }
  .wish__visual { width: 84px; height: 84px; }
}

.group + .group { margin-top: 1.75rem; }
.group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.group__head h2 { margin: 0; }

.summary-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 1.25rem; }
.summary-row div { display: flex; flex-direction: column; }
.summary-row strong { font-size: var(--t-xl); line-height: 1.1; font-variant-numeric: tabular-nums; }
.summary-row span { font-size: var(--t-sm); color: var(--ink-soft); }

/* ------------------------------ Mensen ------------------------------ */

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.person { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; min-height: 72px; background: var(--surface); border-radius: var(--r-surface); text-decoration: none; color: var(--ink); border: 2px solid transparent; box-shadow: var(--shadow-raise); }
.person:hover { border-color: var(--line); color: var(--ink); }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--accent-tint); color: var(--accent-strong); }
.person__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.person__name { font-weight: 700; }
.person__sub { font-size: var(--t-sm); color: var(--ink-soft); }
.person > svg { width: 20px; height: 20px; color: var(--ink-soft); flex: none; }

/* ------------------------------ Gelegenheden ------------------------------ */

.occasions { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.occasion { position: relative; background: var(--surface); border-radius: var(--r-surface); padding: 1rem 1rem 1rem 1.15rem; box-shadow: var(--shadow-raise); overflow: hidden; }
.occasion::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--occ, var(--line)); }
.occasion__name { font-weight: 700; display: flex; gap: .4rem; align-items: center; }
.occasion__name svg { width: 20px; height: 20px; color: var(--occ); }
.occasion__when { font-size: var(--t-xl); font-weight: 700; line-height: 1.15; margin: .35rem 0 .1rem; font-variant-numeric: tabular-nums; }
.occasion__meta { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }

/* ------------------------------ Feestelijke kopband ------------------------------ */

.band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: .5rem;
  background-color: var(--band-bg);
  background-image: linear-gradient(100deg, var(--band-bg) 0 48%, color-mix(in srgb, var(--band-bg) 70%, transparent) 70%, transparent 92%), var(--pattern);
  background-size: auto, 72px 72px;
  border-radius: var(--r-surface); padding: 1.1rem 1.15rem 1.15rem; margin: 0 0 1.25rem;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
}
.band__text { position: relative; z-index: 1; min-width: 0; }
.band__title { display: flex; align-items: center; gap: .5rem; font-size: var(--t-xl); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .25rem; color: var(--ink); }
.band__title svg { width: 28px; height: 28px; color: var(--accent); flex: none; }
.band__sub { margin: 0 0 .5rem; color: var(--ink-soft); font-weight: 500; }
.band__facts { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; margin: 0 0 .75rem; font-size: var(--t-sm); color: var(--ink); }
.band__choose { border: 0; margin: 0; padding: 0; min-width: 0; }
.band__choose legend { font-size: var(--t-sm); font-weight: 700; color: var(--ink-soft); margin-bottom: .35rem; padding: 0; }
.band .chips span { background: rgba(255, 255, 255, .85); border-color: color-mix(in srgb, var(--accent) 22%, white); }
.band .chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.band__decor { position: absolute; right: 4px; top: 6px; width: 84px; height: 63px; pointer-events: none; }
.band__title, .band__sub { padding-right: 84px; }
@media (min-width: 640px) {
  .band { grid-template-columns: 1fr 190px; align-items: center; padding: 1.35rem 1.5rem; }
  .band__decor { position: static; width: 190px; height: 142px; }
  .band__title, .band__sub { padding-right: 0; }
  .band .chips { flex-wrap: wrap; overflow: visible; }
}

/* ------------------------------ Onboarding ------------------------------ */

.steps { list-style: none; margin: .75rem 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr auto; gap: .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; border: 2px solid var(--line); color: var(--ink-soft); }
.steps li.done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.steps li.done .steps__title { color: var(--ink-soft); }
.steps__title { font-weight: 700; display: block; }
.steps__why { display: block; font-size: var(--t-sm); color: var(--ink-soft); }
.progress { height: 8px; border-radius: var(--r-pill); background: var(--surface-sunk); overflow: hidden; margin: .5rem 0 0; }
.progress > span { display: block; height: 100%; background: var(--ok); border-radius: inherit; }

/* ------------------------------ Startpagina ------------------------------ */

.landing { display: grid; gap: 2.5rem; padding-top: .5rem; }
.landing > * { min-width: 0; }
.hero { display: grid; gap: 1.5rem; align-items: center; }
.hero > * { min-width: 0; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }
.hero__title { font-size: clamp(2rem, 7.5vw, 3.4rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; margin-bottom: 1rem; }
.hero__title span { display: block; }
.hero__lead { font-size: var(--t-lg); color: var(--ink-soft); max-width: 36ch; }
.hero .actions { margin-top: 1.25rem; }
.hero .notice { margin-top: 1.25rem; }

/* De demonstratie: dezelfde wens, twee perspectieven */
.perspectives { display: grid; gap: .75rem; }
.perspective { margin: 0; background: var(--surface); border-radius: var(--r-surface); box-shadow: var(--shadow-raise); padding: 1rem 1.1rem; }
.perspective__who { display: flex; align-items: center; gap: .6rem; font-size: var(--t-sm); color: var(--ink-soft); margin-bottom: .6rem; }
.perspective__who .avatar { width: 34px; height: 34px; font-size: var(--t-sm); }
.perspective__who strong { color: var(--ink); }
.perspective .wish { padding: 0; border: 0; grid-template-columns: 56px 1fr; }
.perspective .wish__visual { width: 56px; height: 56px; }
.perspective--emma { transform: rotate(-1.2deg); }
.perspective--oma { transform: rotate(.8deg); margin-left: 1rem; }
.perspective--emma { margin-right: 1rem; }
@media (prefers-reduced-motion: reduce) { .perspective--emma, .perspective--oma { transform: none; } }

.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: how; }
@media (min-width: 640px) { .how { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .how { grid-template-columns: repeat(4, 1fr); } }
.how li { counter-increment: how; background: var(--surface); border-radius: var(--r-surface); padding: 1.1rem 1.15rem; }
.how li::before { content: counter(how); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: .6rem; }
.how h3 { margin-bottom: .25rem; }
.how p { color: var(--ink-soft); font-size: var(--t-sm); margin: 0; }

.visibility { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-surface); overflow: hidden; font-size: var(--t-sm); }
.visibility th, .visibility td { padding: .65rem .55rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.visibility thead th { border-top: 0; background: var(--surface-sunk); }
.visibility td svg { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; }
.table-scroll { overflow-x: auto; border-radius: var(--r-surface); }

.auth { max-width: 30rem; margin: 0 auto; }
.auth .surface + .surface, .auth .surface + p { margin-top: 1rem; }
.demo-list { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }

/* ------------------------------ Beheer ------------------------------ */

.tabs { display: flex; gap: .25rem; overflow-x: auto; border-bottom: 2px solid var(--line); margin: 0 0 1.5rem; }
.tabs a { display: inline-flex; align-items: center; gap: .4rem; padding: 0 .9rem; min-height: 48px; font-weight: 700; color: var(--ink-soft); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tabs a svg { width: 18px; height: 18px; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

.meters { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.meter-card { background: var(--surface); border-radius: var(--r-surface); padding: 1rem; box-shadow: var(--shadow-raise); }
.meter-card__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.meter-card__head h3 { margin: 0; flex: 1; }
.meter { display: flex; height: 10px; border-radius: var(--r-pill); background: var(--ok-tint); overflow: hidden; }
.meter span:nth-child(1) { background: var(--done); }
.meter span:nth-child(2) { background: #D89B3A; }
.meter-card__numbers { display: flex; flex-wrap: wrap; gap: .1rem .9rem; font-size: var(--t-sm); color: var(--ink-soft); margin: .5rem 0 .6rem; }
.meter-card__numbers strong { color: var(--ink); }

.rows { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-surface); box-shadow: var(--shadow-raise); overflow: hidden; }
.row { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: center; padding: .9rem 1rem; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row__main { min-width: 0; }
.row__title { font-weight: 700; display: block; overflow-wrap: anywhere; }
.row__meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: var(--t-sm); color: var(--ink-soft); margin-top: .15rem; }
.row__side { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .row__side { justify-content: flex-start; } }

.member-card { background: var(--surface); border-radius: var(--r-surface); padding: 1rem 1.1rem; box-shadow: var(--shadow-raise); }
.member-card + .member-card { margin-top: .75rem; }
.member-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; }
.member-card__name { font-weight: 700; font-size: var(--t-md); margin-right: auto; }
.member-card__link { font-size: var(--t-sm); color: var(--ink-soft); margin: .6rem 0 .75rem; }
.member-card .sort { margin-top: .75rem; max-width: 22rem; }

.share-panel { background: var(--ink); color: #fff; border-radius: var(--r-surface); padding: 1.15rem 1.2rem; }
.share-panel h3 { color: #fff; }
.share-panel p { color: #D7E0DB; font-size: var(--t-sm); }
.share-panel__url { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8125rem; background: rgba(255,255,255,.08); color: #fff !important; padding: .6rem .7rem; border-radius: 8px; overflow-wrap: anywhere; user-select: all; }
.share-panel .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.share-panel .btn--secondary:hover { border-color: #fff; color: #fff; }

.danger-zone { border: 2px solid #E6B7B3; background: var(--surface); border-radius: var(--r-surface); padding: 1.15rem; }
.danger-zone h2 { color: var(--danger); }

/* ------------------------------ Inspiratie ------------------------------ */

.finder { display: grid; gap: 1.1rem; background: var(--surface); border-radius: var(--r-surface); padding: 1.1rem; box-shadow: var(--shadow-raise); margin-bottom: 1.5rem; }
.finder .filter legend { color: var(--ink); font-size: var(--t-md); }
.finder__budget { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.finder__budget .input-prefix { max-width: 9rem; }
.finder__budget .input { min-height: 44px; }
.ideas { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.idea { background: var(--surface); border-radius: var(--r-surface); padding: 1.1rem; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: .9rem; box-shadow: var(--shadow-raise); }
.idea__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.idea__icon svg { width: 28px; height: 28px; }
.idea h3 { margin: 0; }
.idea__price { font-weight: 700; font-size: var(--t-sm); margin: .1rem 0 .35rem; }
.idea__why { font-size: var(--t-sm); color: var(--ink-soft); margin: 0; }
.idea .actions { margin-top: .75rem; }
.shops { list-style: none; margin: .75rem 0 0; padding: .75rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.shops li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.shops a { font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; }
.shops a svg { width: 16px; height: 16px; }
.disclosure { font-size: var(--t-xs); color: var(--ink-soft); margin: .25rem 0 0; }
.sponsor { background: var(--surface); border: 2px dashed #D9C39A; border-radius: var(--r-surface); padding: 1rem 1.1rem; }
.sponsor__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; justify-content: space-between; margin-bottom: .4rem; }
.sponsor h3 { margin: 0 0 .25rem; }
.sponsor p { font-size: var(--t-sm); color: var(--ink-soft); }

/* ------------------------------ Dialogen ------------------------------ */

dialog { border: 0; padding: 0; border-radius: var(--r-surface); width: min(36rem, calc(100% - 2 * var(--gutter))); max-height: calc(100dvh - 2rem); background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); }
dialog::backdrop { background: rgba(20, 30, 26, .5); }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1rem .25rem 1.25rem; position: sticky; top: 0; background: var(--surface); z-index: 1; }
.dialog__head h2 { margin: 0; font-size: var(--t-lg); }
.dialog__body { padding: .5rem 1.25rem 1.25rem; }
@media (max-width: 559px) {
  dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: var(--r-surface) var(--r-surface) 0 0; max-height: 92dvh; }
}

/* ------------------------------ Voettekst ------------------------------ */

.site-footer { max-width: var(--max); margin: 0 auto; padding: 1.5rem var(--gutter) 2rem; font-size: var(--t-sm); color: var(--ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-bottom: .5rem; }
.site-footer a { color: var(--ink-soft); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.75rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }

.noscript { padding: 1rem; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 420px) { .header-user { display: none; } }

/* ------------------------- Familiegeheugen en cadeauhulp ------------------------- */

.hero__kicker { font-weight: 700; color: var(--accent-strong); margin: 0 0 .5rem; letter-spacing: .01em; }
.field-row { display: grid; gap: 0 .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr)); }
.wish__alt { font-size: var(--t-sm); color: var(--ink-soft); margin: .25rem 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.25rem; }
.form-actions--start { justify-content: flex-start; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--t-xs); font-weight: 700; padding: .15rem .55rem;
  border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft); margin-left: .4rem; vertical-align: middle; }
.memory__meta .tag { margin-left: 0; }
.tag svg { width: 13px; height: 13px; }
.tag--warn { background: var(--hold-tint); color: var(--hold); border-color: transparent; }
.btn--quiet-danger { color: var(--danger); }
.btn--quiet-danger:hover { background: var(--danger-tint); color: var(--danger); }

/* Stappen voor de gever */
.giver-steps { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: .5rem 0 .25rem; padding: 0; font-size: var(--t-sm); color: var(--ink-soft); }
.giver-steps li { display: inline-flex; align-items: center; gap: .35rem; }
.giver-steps__dot { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: var(--t-xs); font-weight: 700; border: 2px solid var(--line); }
.giver-steps__dot svg { width: 13px; height: 13px; }
.giver-steps li.done .giver-steps__dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.giver-steps li.now { color: var(--ink); font-weight: 700; }
.giver-steps li.now .giver-steps__dot { border-color: var(--accent); color: var(--accent-strong); }

/* Familiegeheugen */
.memory-group { margin: 0 0 1.75rem; }
.memory-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.memory { display: grid; grid-template-columns: 40px 1fr; gap: .75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-control); padding: .8rem .9rem; }
.memory__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-strong); display: grid; place-items: center; }
.memory__icon svg { width: 20px; height: 20px; }
.memory__body { min-width: 0; }
.memory__label { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.memory__kind { font-weight: 400; color: var(--ink-soft); }
.memory__detail { margin: .15rem 0 0; font-size: var(--t-sm); color: var(--ink-soft); overflow-wrap: anywhere; }
.memory__meta { display: flex; flex-wrap: wrap; gap: .35rem; margin: .45rem 0 0; }
.memory__actions { display: flex; flex-wrap: wrap; gap: .15rem; margin: .4rem 0 0 -.6rem; }
.memory.is-outdated .memory__label { color: var(--ink-soft); text-decoration: line-through; text-decoration-thickness: 1px; }
.reactions { border: 0; margin: .5rem 0 0; padding: 0; min-width: 0; }
.reactions legend { font-size: var(--t-sm); color: var(--ink-soft); padding: 0; margin-bottom: .35rem; }
.settings-panel { margin: 0 0 1.5rem; }

/* Cadeauhulp */
.helper .filter { margin-bottom: 1rem; }
.choices--people { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); }
.helper-cta { border: 2px solid var(--accent-tint); }
.suggestions { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .suggestions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.suggestion { background: var(--surface); border-radius: var(--r-surface); padding: 1.1rem; box-shadow: var(--shadow-raise); min-width: 0; }
.suggestion h3 { margin: .25rem 0 .2rem; overflow-wrap: anywhere; }
.suggestion__source { display: inline-flex; align-items: center; gap: .35rem; margin: 0; font-size: var(--t-xs); font-weight: 700; color: var(--accent-strong); text-transform: uppercase; letter-spacing: .04em; }
.suggestion__source svg { width: 15px; height: 15px; }
.suggestion__why, .suggestion__warn { display: flex; gap: .5rem; align-items: flex-start; font-size: var(--t-sm); margin: .5rem 0 0; }
.suggestion__why { color: var(--ok); font-weight: 700; }
.suggestion__warn { color: var(--hold); }
.suggestion__why svg, .suggestion__warn svg { width: 18px; height: 18px; flex: none; margin-top: .1rem; }
.suggestion .actions { margin-top: .85rem; }

/* ------------------------- Gidspagina's (/gids/…): gewone, indexeerbare pagina's ------------------------- */
.gids { max-width: 68ch; margin: 0 auto; }
.gids h1 { font-size: var(--t-2xl); margin-bottom: .75rem; }
.gids section + section, .gids .gids__cta, .gids .gids__related { margin-top: 1.75rem; }
.gids__crumb { margin-bottom: .5rem; font-size: var(--t-sm); }
.gids__faq details { border-top: 1px solid var(--line); padding: .25rem 0; }
.gids__faq details:last-of-type { border-bottom: 1px solid var(--line); }
.gids__faq summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: var(--accent-strong); }
.gids__faq details p { margin: 0 0 .9rem; }
.gids__cta { background: var(--accent-tint); box-shadow: none; }
.gids .gids__related ul, .gids .gids__list { list-style: none; padding: 0; margin: 0; }
.gids__related li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.gids__list li { padding: .9rem 0; border-top: 1px solid var(--line); }
.gids__list li:last-child { border-bottom: 1px solid var(--line); }
.gids__list a { font-weight: 700; font-size: var(--t-md); display: inline-flex; align-items: center; min-height: 44px; }
.gids__list span { display: block; color: var(--ink-soft); }
/* Lootjes: aanraakdoelen, reflow op 320 px en semantische formulieren. */
.lootjes { max-width: 52rem; margin-inline: auto; overflow-wrap: anywhere; }
.lootjes h2, .lootjes h3 { margin-block: 1.25rem .75rem; }
.lootjes-list { display: grid; gap: .75rem; padding-inline-start: 1.25rem; }
.lootjes-list li > * { margin-inline-end: .5rem; }
.lootjes .btn { min-height: 44px; white-space: normal; max-width: 100%; margin-block: .25rem; }
.lootjes-form { margin-block: 1rem; }
.lootjes-form fieldset { min-width: 0; margin-block: .75rem; padding: .75rem; }
.lootjes-choice { display: flex; align-items: center; gap: .75rem; min-height: 44px; cursor: pointer; }
.lootjes-choice input { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }
.lootjes .field input, .lootjes .field select { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; }
.lootjes :focus-visible { outline: 3px solid #6340a1; outline-offset: 3px; }
.lootjes :is(input, select, button, a) { scroll-margin-block: 6rem; }
.lootjes [data-loot-secret]:not(:empty) { padding-block: 1rem; }
@media (max-width: 380px) { .lootjes .actions { display: grid; grid-template-columns: minmax(0, 1fr); } }
