/* Opmaak van Familiestudio. Deel 1: basis uit Gezinsacties (schermen, panelen, taakrijen,
   sheets, viering). Deel 2: boodschappen (uit de app Boodschappen). Deel 3: nieuw in Familiestudio.
   Kleuren altijd via tokens, zodat de drie huisstijlen werken. */

/* ---------- Kolom en schermen ---------- */
.iconen { position: absolute; }
.app { max-width: var(--kolom); margin: 0 auto; min-height: 100dvh; position: relative; }
.scherm-app { padding-bottom: calc(var(--tabbalk-hoogte) + 80px + var(--veilig-onder)); }
.scherm-app.zonder-invoer { padding-bottom: calc(var(--tabbalk-hoogte) + 28px + var(--veilig-onder)); }

/* ---------- Woordmerk en kopregel ---------- */
.woordmerk { display: flex; align-items: flex-end; gap: 4px; }
.woordmerk__naam { font-family: var(--font-kop); font-weight: 600; font-size: 21px; line-height: 1; }
.woordmerk__blok { width: 9px; height: 9px; background: var(--koraal); border-radius: 2px; margin-bottom: 3px; flex: none; }
.woordmerk--groot .woordmerk__naam { font-size: clamp(30px, 11.5vw, 44px); }
.woordmerk--groot .woordmerk__blok { width: 18px; height: 18px; margin-bottom: 7px; border-radius: 4px; }

.kop { display: flex; align-items: center; justify-content: space-between; gap: var(--ruimte-3); padding: 18px var(--ruimte-5) 14px; }
.kop__links { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.kop__gezin { font-size: 12px; color: var(--grijs-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aanwezig { display: flex; align-items: center; gap: var(--ruimte-2); min-width: 0; }
.aanwezig__tekst { font-size: 12px; color: var(--grijs-navy); white-space: nowrap; }
.stip { width: 8px; height: 8px; border-radius: 999px; background: var(--teal); flex: none; display: inline-block; }

/* ---------- Avatars: zes gezinskleuren uit de huisstijl ---------- */
.avatars { display: flex; }
.avatar {
  --maat: 28px;
  width: var(--maat); height: var(--maat); border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: calc(var(--maat) * 0.43); font-weight: 700; line-height: 1;
  background: var(--navy); color: var(--grond);
}
.avatars .avatar { box-shadow: 0 0 0 2px var(--grond); }
.avatars .avatar + .avatar { margin-left: -7px; }
.avatar--k0 { background: var(--navy); color: var(--grond); }
.avatar--k1 { background: var(--koraal); color: var(--navy); }
.avatar--k2 { background: var(--teal); color: var(--navy); }
.avatar--k3 { background: var(--tint); color: var(--navy); }
.avatar--k4 { background: var(--op-navy); color: var(--navy); }
.avatar--k5 { background: var(--vlak); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.avatar--klein { --maat: 22px; }
.avatar--groot { --maat: 44px; }
.avatar--leeg { background: transparent; color: var(--grijs-navy); box-shadow: inset 0 0 0 1.5px var(--grijs-navy); }
.avatar--leeg svg { width: 60%; height: 60%; }

/* ---------- Tabje + paneel (kenmerk van de huisstijl) ---------- */
.blok { display: flex; flex-direction: column; }
.blok__kop { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--ruimte-2); }
.tabje { display: inline-flex; align-items: center; gap: 6px; background: var(--vlak); font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: var(--radius-tab) var(--radius-tab) 0 0; }
.tabje__tel { color: var(--grijs-navy); font-weight: 500; }
.tabje--navy { background: var(--navy); color: var(--grond); }
.tabje--navy .tabje__tel { color: var(--op-navy); }
.tabje__blok { width: 7px; height: 7px; border-radius: 2px; background: var(--koraal); }
.paneel { background: var(--vlak); border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); }
.paneel--rijen { padding: 0 12px; }
.paneel--ruim { padding: var(--ruimte-4); display: flex; flex-direction: column; gap: var(--ruimte-3); }
.paneel--navy { background: var(--navy); color: var(--grond); border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); }
.paneel--rond { border-radius: var(--radius-lg); }
.blok__meer { font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }

.inhoud { padding: 0 var(--ruimte-5); display: flex; flex-direction: column; gap: 18px; }

/* ---------- Wie-filter op Vandaag ---------- */
.wie-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--ruimte-5) * -1); padding: 2px var(--ruimte-5) 4px; }
.wie-filter::-webkit-scrollbar { display: none; }
.wie-knop {
  display: inline-flex; align-items: center; gap: 7px; flex: none;
  min-height: 40px; padding: 4px 14px 4px 5px; border-radius: 999px;
  background: var(--vlak); font-size: 13px; font-weight: 600;
}
.wie-knop--tekst { padding-left: 14px; }
.wie-knop[aria-pressed="true"] { background: var(--navy); color: var(--grond); }
.wie-knop[aria-pressed="true"] .avatar { box-shadow: 0 0 0 2px var(--navy); }
.wie-knop__tel { font-weight: 500; opacity: 0.7; }

/* ---------- Titelblok op Vandaag ---------- */
.titelblok__paneel { padding: 20px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.titelblok__cijfer { font-family: var(--font-kop); font-weight: 500; font-size: 42px; line-height: 1; }
.titelblok__sub { font-size: 13px; color: var(--op-navy); }
.titelblok__rij { display: flex; align-items: center; justify-content: space-between; gap: var(--ruimte-3); }
.voortgang { height: 8px; background: var(--navy-vlak); border-radius: 999px; overflow: hidden; }
.voortgang__balk { height: 100%; width: 0; background: var(--grond); border-radius: 999px; transition: width 0.5s cubic-bezier(.2, .8, .2, 1); }
.titelblok--klaar .voortgang__balk { background: var(--koraal); }
.titelblok__beurt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--op-navy); }
.titelblok__beurt strong { color: var(--grond); font-weight: 600; }

/* ---------- Knoppen ---------- */
.pill-knop {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--grond); color: var(--navy); text-decoration: none;
  border-radius: var(--radius-pill); padding: 6px 6px 6px 18px; min-height: 48px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.pill-knop__pijl { width: 36px; height: 36px; border-radius: 999px; background: var(--koraal); color: var(--navy); flex: none; display: flex; align-items: center; justify-content: center; }
.pill-knop--navy { background: var(--navy); color: var(--grond); }
.pill-knop--breed { width: 100%; min-height: 56px; padding-left: 22px; font-size: 15px; }
.pill-knop--breed .pill-knop__pijl { width: 44px; height: 44px; }
.pill-knop--vlak { background: var(--vlak); }
.pill-knop:disabled { opacity: 0.5; cursor: default; }

.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; background: var(--grond); border: 1px solid var(--lijn); text-decoration: none;
}
.knop--navy { background: var(--navy); color: var(--grond); border-color: var(--navy); }
.knop--klein { min-height: 36px; padding: 0 14px; font-size: 13px; }
.knop--tekst { background: none; border: none; text-decoration: underline; text-underline-offset: 3px; padding: 0 6px; }
.knop--icoon { width: 44px; padding: 0; flex: none; }
.knop--gevaar { background: none; border-color: var(--lijn); }
.knop:disabled { opacity: 0.5; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px;
  border-radius: var(--radius-pill); background: var(--vlak); border: 1px solid var(--lijn);
  font-size: 13px; font-weight: 600;
}
.chip[aria-pressed="true"] { background: var(--navy); color: var(--grond); border-color: var(--navy); }
.chip .avatar { --maat: 22px; margin-left: -8px; }
.chip--avatar { padding-left: 13px; }
.label-klein { font-size: 12px; color: var(--grijs-navy); }

/* ---------- Taakrijen ---------- */
.taken { display: flex; flex-direction: column; }
.taak {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 60px; border-top: 1px solid var(--lijn); margin-top: -1px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.taak:first-child { border-top-color: transparent; }
.taak__vink {
  width: 44px; height: 44px; margin-left: -9px; flex: none; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.vink {
  width: 26px; height: 26px; border-radius: 999px; border: 2px solid var(--navy); color: var(--grond);
  display: flex; align-items: center; justify-content: center; transition: background 0.15s, transform 0.15s;
}
.vink svg { opacity: 0; transform: scale(0.4); transition: opacity 0.15s, transform 0.25s cubic-bezier(.3, 1.6, .5, 1); }
.taak__vink:active .vink { transform: scale(0.88); }
.taak--af .vink { background: var(--navy); }
.taak--af .vink svg { opacity: 1; transform: none; }
.taak--belangrijk .vink { border-width: 2.5px; }
.taak__open { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 11px 0; text-align: left; }
.taak__titel { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; display: flex; align-items: baseline; gap: 7px; }
.taak__prio { width: 8px; height: 8px; border-radius: 2px; background: var(--koraal); flex: none; transform: translateY(-1px); }
.taak__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--grijs-navy); }
.taak__meta span { display: inline-flex; align-items: center; gap: 4px; }
.taak__meta svg { flex: none; }
.taak__laat { color: var(--navy); font-weight: 700; }
.taak__notitie-teken { opacity: 0.8; }
.taak__wie { flex: none; display: flex; align-items: center; }
.taak--af .taak__titel { font-weight: 500; color: var(--grijs-navy); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.taak--weg { opacity: 0; transform: translateX(24px); }
.taak--nieuw { animation: oplichten 1.4s ease; }
@keyframes oplichten { from { background: var(--lijn); } to { background: transparent; } }

/* Viering: vier blokjes in de huisstijlkleuren schieten uit het vinkje */
.blokje {
  position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 2px; pointer-events: none;
  animation: wegspringen 0.65s cubic-bezier(.15, .7, .3, 1) forwards;
}
@keyframes wegspringen {
  0% { transform: translate(-50%, -50%) scale(0.4) rotate(0); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--draai)); opacity: 0; }
}
/* Grote viering in het titelblok als alles voor vandaag klaar is */
.feest { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.feest .blokje { width: 9px; height: 9px; animation-duration: 1.4s; }

.leeg-melding { padding: 26px 16px; text-align: center; color: var(--grijs-navy); font-size: 14px; line-height: 1.6; }
.leeg-melding strong { display: block; color: var(--navy); font-family: var(--font-kop); font-weight: 500; font-size: 21px; margin-bottom: 6px; }
.leeg-melding .knop { margin-top: 14px; }

/* ---------- Lijsten ---------- */
.paginakop { padding: 4px var(--ruimte-5) 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--ruimte-3); }
.paginakop h1 { font-size: 30px; }
.paginakop__links { display: flex; align-items: center; gap: 10px; min-width: 0; }
.paginakop__terug { width: 44px; height: 44px; margin-left: -12px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex: none; }

.lijst-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 var(--ruimte-5); }
.lijst-kaart { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.lijst-kaart .tabje { align-self: flex-start; max-width: 100%; }
.lijst-kaart .tabje svg { flex: none; }
.lijst-kaart__naam { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lijst-kaart .paneel { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 6px; min-height: 104px; }
.lijst-kaart__getal { font-family: var(--font-kop); font-weight: 500; font-size: 32px; line-height: 1; }
.lijst-kaart__getal small { font-family: var(--font-tekst); font-size: 12px; font-weight: 500; color: var(--grijs-navy); margin-left: 4px; }
.lijst-kaart__eerst { font-size: 12px; color: var(--grijs-navy); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lijst-kaart--nieuw .paneel { background: transparent; border: 1.5px dashed var(--grijs-navy); align-items: center; justify-content: center; color: var(--grijs-navy); font-size: 13px; font-weight: 600; border-radius: var(--radius-md); }
.lijst-kaart--nieuw { justify-content: flex-end; }
.lijst-icoon { width: 40px; height: 40px; border-radius: 12px; background: var(--grond); display: flex; align-items: center; justify-content: center; flex: none; }

/* ---------- Gezin ---------- */
.week-samen { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.week-samen__kop { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.week-samen__getal { font-family: var(--font-kop); font-weight: 500; font-size: 42px; line-height: 1; }
.week-samen__tekst { font-size: 13px; color: var(--op-navy); }
.balken { display: flex; flex-direction: column; gap: 10px; }
.balk { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: center; gap: 10px; font-size: 13px; }
.balk .avatar { box-shadow: 0 0 0 1.5px var(--op-navy); }
.balk__spoor { height: 10px; background: var(--navy-vlak); border-radius: 999px; overflow: hidden; }
.balk__vulling { height: 100%; background: var(--grond); border-radius: 999px; width: 0; transition: width 0.6s cubic-bezier(.2, .8, .2, 1); }
.balk__getal { text-align: right; font-weight: 600; }

.lid-rij { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 0; border-top: 1px solid var(--lijn); margin-top: -1px; width: 100%; text-align: left; }
.lid-rij:first-child { border-top-color: transparent; }
.lid-rij__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lid-rij__naam { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.lid-rij__sub { font-size: 12px; color: var(--grijs-navy); }
.label-ik { font-size: 11px; font-weight: 600; background: var(--grond); border-radius: 999px; padding: 2px 8px; }
.lid-rij__online { font-size: 11px; color: var(--grijs-navy); display: inline-flex; align-items: center; gap: 5px; }

.uitnodiging { display: flex; gap: 16px; align-items: center; }
.uitnodiging__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.uitnodiging__code { font-family: var(--font-kop); font-size: 28px; font-weight: 500; letter-spacing: 0.06em; }
.qr { width: 112px; height: 112px; flex: none; background: var(--grond); border-radius: 12px; padding: 8px; }
.qr svg { width: 100%; height: 100%; display: block; }

.activiteit { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 0; border-top: 1px solid var(--lijn); margin-top: -1px; }
.activiteit:first-child { border-top-color: transparent; }
.activiteit__tekst { flex: 1; font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.activiteit__tijd { font-size: 12px; color: var(--grijs-navy); white-space: nowrap; }

.instelling { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 0; border-top: 1px solid var(--lijn); margin-top: -1px; width: 100%; text-align: left; text-decoration: none; }
.instelling:first-child { border-top-color: transparent; }
.instelling__tekst { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.instelling__titel { font-size: 14px; font-weight: 600; }
.instelling__uitleg { font-size: 12px; color: var(--grijs-navy); }

/* ---------- Seintje ---------- */
.seintje { padding: 14px 14px 14px 16px; display: flex; align-items: center; gap: 12px; animation: schud 0.6s ease; }
.seintje__tekst { flex: 1; font-size: 14px; line-height: 1.45; }
.seintje__tekst strong { font-weight: 700; }
@keyframes schud { 0%, 100% { transform: none; } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

/* ---------- Invoerbalk en tabbalk ---------- */
.onderkant { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; max-width: var(--kolom); margin: 0 auto; background: var(--grond); }
.invoerbalk { padding: 10px 16px; }
.invoerbalk__veld {
  display: flex; align-items: center; min-height: 54px; gap: 6px;
  background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--radius-pill); padding: 6px 6px 6px 18px;
}
.invoerbalk__open { flex: 1; text-align: left; font-size: 14px; color: var(--grijs-navy); min-height: 40px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rond-knop { width: 42px; height: 42px; border-radius: 999px; flex: none; display: flex; align-items: center; justify-content: center; }
.rond-knop--navy { background: var(--navy); color: var(--grond); }
.rond-knop--luistert { background: var(--koraal); color: var(--navy); animation: luisteren 1.2s ease-in-out infinite; }
@keyframes luisteren { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 106, 118, 0.5); } 50% { box-shadow: 0 0 0 9px rgba(245, 106, 118, 0); } }

.tabbalk {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--vlak); border-top: 1px solid var(--lijn);
  padding: 4px 8px calc(10px + var(--veilig-onder)); height: calc(var(--tabbalk-hoogte) + var(--veilig-onder));
}
.tabbalk__knop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; color: var(--grijs-navy); border-top: 2px solid transparent; margin: 0 14px; position: relative; }
.tabbalk__knop[aria-current="page"] { color: var(--navy); font-weight: 600; border-top-color: var(--navy); }
.tabbalk__stip { position: absolute; top: 8px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 2px; background: var(--koraal); }

/* ---------- Sheets (onderpanelen) ---------- */
.sheet-achtergrond { position: fixed; inset: 0; background: rgba(28, 53, 114, 0.45); z-index: 40; animation: vervagen 0.2s ease; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  max-width: var(--kolom); margin: 0 auto; max-height: 92dvh;
  background: var(--vlak); border-radius: 22px 22px 0 0;
  display: flex; flex-direction: column;
  padding: 10px var(--ruimte-5) calc(18px + var(--veilig-onder));
  animation: omhoog 0.25s cubic-bezier(.2, .8, .2, 1);
}
.sheet__greep { align-self: center; width: 40px; height: 5px; border-radius: 999px; background: var(--lijn); flex: none; }
.sheet__kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 14px; flex: none; }
.sheet__kop h2 { font-size: 24px; }
.sheet__sluit { width: 44px; height: 44px; border-radius: 999px; background: var(--grond); display: flex; align-items: center; justify-content: center; flex: none; }
.sheet__inhoud { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; padding-bottom: 4px; margin: 0 -4px; padding-left: 4px; padding-right: 4px; }
.sheet__voet { flex: none; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.sheet .paneel, .sheet .tabje, .sheet .chip:not([aria-pressed="true"]), .sheet .lijst-icoon { background: var(--grond); }
.sheet .veld { background: var(--grond); }
@keyframes omhoog { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vervagen { from { opacity: 0; } to { opacity: 1; } }

/* Snel toevoegen: wat Familiestudio uit je zin haalt */
.snel-veld { position: relative; }
.snel-veld .veld { padding-right: 60px; min-height: 58px; resize: none; line-height: 1.45; }
.snel-veld .rond-knop { position: absolute; right: 8px; bottom: 8px; }
.voorbeeld { display: flex; flex-direction: column; gap: 10px; }
.voorbeeld-kaart { background: var(--grond); border-radius: var(--radius-md); padding: 14px; display: flex; flex-direction: column; gap: 10px; animation: vervagen 0.2s ease; }
.voorbeeld-kaart__kop { display: flex; align-items: flex-start; gap: 10px; }
.voorbeeld-kaart__titel { flex: 1; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.herkend { display: flex; flex-wrap: wrap; gap: 6px; }
.herkend__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border-radius: 999px; background: var(--vlak); font-size: 12px; font-weight: 600; }
.herkend__chip .avatar { --maat: 20px; margin-left: -6px; }
.herkend__chip--nieuw { animation: opploppen 0.35s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes opploppen { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.voorbeelden { display: flex; flex-direction: column; gap: 6px; }
.voorbeelden button { text-align: left; font-size: 13px; color: var(--grijs-navy); padding: 6px 0; }
.voorbeelden button::before { content: "“"; }
.voorbeelden button::after { content: "”"; }

/* ---------- Formulieren ---------- */
fieldset { border: none; }
.label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 8px; }
.veld {
  width: 100%; font-size: 16px; background: var(--vlak); border: 1.5px solid var(--lijn);
  border-radius: var(--radius-md); padding: 13px 16px; outline: none;
}
.veld:focus { border-color: var(--navy); }
.veld--code { font-family: var(--font-kop); font-size: 24px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
textarea.veld { resize: vertical; min-height: 90px; line-height: 1.5; }
.hulptekst { font-size: 12px; color: var(--grijs-navy); line-height: 1.5; margin-top: 8px; }
.foutmelding { font-size: 13px; color: var(--navy); background: var(--lijn); border-radius: var(--radius-sm); padding: 10px 12px; line-height: 1.45; }
.knoppenrij { display: flex; gap: 8px; }
.knoppenrij > * { flex: 1; }
.kleuren { display: flex; gap: 10px; flex-wrap: wrap; }
.kleur-knop { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.kleur-knop .avatar { --maat: 36px; transition: transform 0.15s; }
.kleur-knop[aria-checked="true"] { box-shadow: 0 0 0 2.5px var(--navy); }
.iconen-keuze { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.icoon-knop { aspect-ratio: 1; border-radius: 12px; background: var(--grond); display: flex; align-items: center; justify-content: center; }
.icoon-knop[aria-checked="true"] { background: var(--navy); color: var(--grond); }
.datum-rij { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.datum-invoer { font-size: 14px; font-weight: 600; background: var(--grond); border: 1px solid var(--lijn); border-radius: 999px; padding: 0 12px; min-height: 36px; }
.schakel-rij { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; width: 100%; text-align: left; }
.schakel-rij__tekst { display: flex; flex-direction: column; gap: 2px; }
.schakel-rij__titel { font-size: 14px; font-weight: 600; }
.schakel-rij__uitleg { font-size: 12px; color: var(--grijs-navy); }
.schakelaar { width: 48px; height: 28px; border-radius: 999px; flex: none; padding: 3px; background: var(--lijn); display: flex; align-items: center; transition: background 0.15s; }
.schakelaar::after { content: ""; width: 22px; height: 22px; border-radius: 999px; background: var(--vlak); transition: transform 0.2s cubic-bezier(.3, 1.4, .5, 1); }
[aria-checked="true"] > .schakelaar { background: var(--navy); }
[aria-checked="true"] > .schakelaar::after { transform: translateX(20px); background: var(--grond); }
.beurt-volgorde { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--grijs-navy); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbalk-hoogte) + 88px + var(--veilig-onder)); z-index: 70;
  width: calc(100% - 32px); max-width: calc(var(--kolom) - 32px);
  background: var(--navy); color: var(--grond); border-radius: var(--radius-md);
  padding: 10px 10px 10px 16px; display: flex; align-items: center; gap: 12px;
  font-size: 14px; animation: omhoog 0.2s ease;
}
.sheet-open .toast { bottom: auto; top: calc(12px + env(safe-area-inset-top, 0px)); }
.toast__tekst { flex: 1; line-height: 1.4; }
.toast__knop { color: var(--grond); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 40px; padding: 0 8px; flex: none; }

/* ---------- Laden en welkom ---------- */
.laden { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.laden__tekst { font-size: 13px; color: var(--grijs-navy); text-align: center; max-width: 30em; padding: 0 var(--ruimte-6); line-height: 1.5; }
.laden .woordmerk__blok { animation: hupje 1s ease-in-out infinite; }
@keyframes hupje { 0%, 100% { transform: none; } 50% { transform: translateY(-8px); } }

.welkom { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 32px var(--ruimte-5); }
.welkom__intro { font-size: 16px; line-height: 1.6; color: var(--grijs-navy); max-width: 28em; }
.welkom__keuze, .welkom__form { display: flex; flex-direction: column; gap: 14px; }
.welkom__beeld { width: 168px; }
@keyframes tekenen { to { stroke-dashoffset: 0; } }

@media (min-width: 600px) {
  .titelblok__cijfer { font-size: 48px; }
}
.chip[aria-pressed="true"] .avatar { box-shadow: 0 0 0 1.5px var(--grond); }

/* ---------- Handleiding ---------- */
.handleiding { max-width: 640px; margin: 0 auto; padding: 28px var(--ruimte-5) 64px; display: flex; flex-direction: column; gap: 26px; }
.handleiding h1 { font-size: clamp(34px, 9vw, 46px); }
.handleiding h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.handleiding p, .handleiding li { font-size: 15px; line-height: 1.65; }
.handleiding ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.handleiding__intro { color: var(--grijs-navy); font-size: 16px; }
.handleiding__stap { display: flex; flex-direction: column; gap: 12px; }
.handleiding h2, .handleiding .voorbeeld-kaart, .voorbeeld-tabel__rij, .handleiding li { break-inside: avoid; break-after: auto; }
.handleiding h2 { break-after: avoid; }
.stapnummer { width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: var(--grond); font-family: var(--font-kop); font-size: 16px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.handleiding .paneel { padding: 14px 16px; }
.handleiding code { font-family: var(--font-tekst); font-weight: 600; background: var(--vlak); border-radius: 6px; padding: 1px 6px; }
.voorbeeld-tabel { display: flex; flex-direction: column; gap: 10px; }
.voorbeeld-tabel__rij { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--lijn); }
.voorbeeld-tabel__rij:first-child { border-top: none; padding-top: 0; }
.voorbeeld-tabel__zin { font-weight: 600; }
.handleiding__terug { align-self: flex-start; }
@page { margin: 0; }
@media print {
  .handleiding { padding: 14mm 16mm; }
  *, *::before, *::after { animation: none !important; }
  body { background: var(--grond); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .handleiding__terug { display: none; }
}


/* ======================================================================
   Deel 2: boodschappen (overgenomen uit de app Boodschappen)
   ====================================================================== */
/* ---------- Productrijen ---------- */
.rij {
  display: flex; align-items: center; gap: var(--ruimte-3);
  min-height: 56px; border-top: 1px solid var(--lijn); margin-top: -1px;
}
.rij__vink {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--ruimte-3);
  padding: 10px 0; text-align: left;
}
.rij--af .vink { background: var(--navy); }
.rij--af .vink svg { opacity: 1; }
.rij__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rij__naam { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.rij__meta { font-size: 12px; color: var(--grijs-navy); }
.rij--af .rij__naam { font-weight: 500; color: var(--grijs-navy); text-decoration: line-through; }
.rij--af .rij__meta { display: none; }
.rij__aantal { font-weight: 600; }
.rij__meer {
  width: 40px; height: 40px; flex: none; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: var(--grijs-navy);
}
.rij--nieuw { animation: oplichten 1.2s ease; }
@keyframes oplichten { from { background: var(--lijn); } to { background: transparent; } }

/* ---------- Weekmenu ---------- */
.dag { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 0; border-top: 1px solid var(--lijn); margin-top: -1px; width: 100%; text-align: left; }
.dag__naam { width: 30px; flex: none; font-size: 13px; font-weight: 600; color: var(--grijs-navy); }
.dag__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dag__gerecht { font-size: 15px; font-weight: 600; }
.dag__meta { font-size: 12px; color: var(--grijs-navy); }
.dag__leeg { font-size: 14px; color: var(--grijs-navy); }
.dag__plus { width: 36px; height: 36px; border-radius: 999px; border: 1.5px dashed var(--grijs-navy); display: flex; align-items: center; justify-content: center; flex: none; color: var(--grijs-navy); }
.dag--vandaag .dag__naam { color: var(--navy); }
.label-voorstel { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; background: var(--grond); border-radius: 999px; padding: 4px 10px; flex: none; }
.samenvatting__cijfer { font-family: var(--font-kop); font-weight: 500; font-size: 32px; line-height: 1; }
.samenvatting__tekst { font-size: 13px; color: var(--op-navy); line-height: 1.6; }
.paneel--navy a { color: var(--grond); font-weight: 600; font-size: 13px; }

/* ---------- Seintje-banner ---------- */
.banner { padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.banner__tekst { flex: 1; font-size: 14px; }

.stepper { display: flex; align-items: center; gap: 4px; background: var(--grond); border-radius: 999px; padding: 4px; }
.sheet .stepper { background: var(--vlak); }
.stepper button { width: 40px; height: 40px; border-radius: 999px; background: var(--vlak); font-size: 20px; }
.sheet .stepper button { background: var(--grond); }
.stepper__waarde { min-width: 28px; text-align: center; font-weight: 600; }
.voorbeeld-rij { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 0; border-top: 1px solid var(--lijn); margin-top: -1px; }
.voorbeeld-rij__aantal { min-width: 34px; height: 30px; padding: 0 6px; border-radius: 8px; background: var(--vlak); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
.voorbeeld-rij__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.voorbeeld-rij__naam { font-size: 15px; font-weight: 600; }
.schap-keuze { font-size: 12px; color: var(--grijs-navy); background: transparent; border: none; padding: 0; max-width: 100%; text-decoration: underline; text-underline-offset: 3px; }
.schap-keuze--onbekend { color: var(--navy); font-weight: 600; }
.status-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; background: var(--vlak); border-radius: 999px; padding: 5px 10px; flex: none; }
.status-label--stil { background: none; color: var(--grijs-navy); padding: 0; }
.keuze-rij { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; border-top: 1px solid var(--lijn); margin-top: -1px; width: 100%; text-align: left; }
.keuze-rij__tekst { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.keuze-rij__titel { font-size: 15px; font-weight: 600; }
.keuze-rij__sub { font-size: 12px; color: var(--grijs-navy); }
.ingredient { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-top: 1px solid var(--lijn); }
.ingredient__hoeveel { width: 72px; flex: none; font-size: 13px; font-weight: 600; }
.ingredient__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ingredient__naam { font-size: 14px; font-weight: 500; }
.ingredient--thuis .ingredient__naam { color: var(--grijs-navy); text-decoration: line-through; }
.route-rij { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--lijn); margin-top: -1px; background: var(--grond); }
.route-rij__greep { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: grab; color: var(--grijs-navy); touch-action: none; }
.route-rij__nr { width: 22px; font-size: 12px; color: var(--grijs-navy); }
.sortable-ghost { opacity: 0.4; }

/* ---------- Winkelmodus ---------- */
.winkelmodus {
  position: fixed; inset: 0; z-index: 30; background: var(--navy); color: var(--grond);
  display: flex; justify-content: center; animation: vervagen 0.2s ease;
}
.winkelmodus__kolom { width: 100%; max-width: var(--kolom); display: flex; flex-direction: column; padding: 18px var(--ruimte-5) calc(20px + var(--veilig-onder)); min-height: 0; }
.winkelmodus__boven { display: flex; align-items: center; justify-content: space-between; }
.winkelmodus__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--op-navy); background: var(--navy-vlak); border-radius: 999px; padding: 7px 12px; }
.winkelmodus__stop { font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 4px; color: var(--grond); }
.winkelmodus__kop { display: flex; flex-direction: column; gap: 6px; padding: 22px 0 16px; }
.winkelmodus__sub { font-size: 13px; color: var(--op-navy); }
.winkelmodus__kop h2 { font-size: 40px; line-height: 1.05; }
.winkelmodus__melding { font-size: 13px; color: var(--op-navy); margin: 12px 0 0; min-height: 1.5em; }
.winkelmodus__items { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.winkel-item { display: flex; align-items: stretch; background: var(--navy-vlak); border-radius: var(--radius-md); min-height: 76px; }
.winkel-item__vink { flex: 1; display: flex; align-items: center; gap: 16px; padding: 12px 16px; text-align: left; color: var(--grond); }
.winkel-item .vink { width: 34px; height: 34px; border: 2.5px solid var(--grond); }
.winkel-item .vink { color: var(--navy); }
.winkel-item--af .vink { background: var(--grond); }
.winkel-item--af .vink svg { opacity: 1; }
.winkel-item__tekst { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.winkel-item__naam { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.winkel-item__meta { font-size: 13px; color: var(--op-navy); }
.winkel-item--af .winkel-item__naam { font-weight: 500; color: var(--op-navy); text-decoration: line-through; }
.winkel-item--af .winkel-item__meta { display: none; }
.winkel-item__mis { flex: none; width: 84px; border-left: 1px solid var(--navy); font-size: 12px; color: var(--op-navy); line-height: 1.3; padding: 0 8px; }
.winkelmodus__straks { padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.winkelmodus__straks .chip { background: var(--navy-vlak); border-color: var(--navy-vlak); color: var(--grond); font-weight: 500; padding: 0 12px; }
.winkelmodus__klaar { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.winkelmodus__klaar .tabje { background: var(--navy-vlak); color: var(--op-navy); }
.winkelmodus__klaar .paneel { background: var(--navy-vlak); padding: 22px; display: flex; flex-direction: column; gap: 12px; border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); }
.winkelmodus__klaar h2 { font-size: 40px; }
.winkelmodus__klaar p { font-size: 15px; line-height: 1.6; color: var(--op-navy); }

/* ---------- Scanner ---------- */
.scanner { position: fixed; inset: 0; z-index: 60; background: rgba(28, 53, 114, 0.9); display: flex; align-items: center; justify-content: center; padding: var(--ruimte-5); }
.scanner__kaart { background: var(--vlak); border-radius: var(--radius-lg); padding: var(--ruimte-4); width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.scanner video { width: 100%; border-radius: var(--radius-md); background: var(--navy); aspect-ratio: 4 / 3; object-fit: cover; }



/* ======================================================================
   Deel 3: nieuw in Familiestudio
   ====================================================================== */

/* ---------- Algemene kleine dingen ---------- */
.midden { align-self: center; }
.links { align-self: flex-start; }
.tekst-links { text-align: left; }
.sectiekop { font-size: 20px; margin-top: 6px; }
.chips--midden { justify-content: center; }
.chips--onder { margin-top: 10px; }
.chip__tel { color: var(--op-navy); }
.hulptekst--strak { margin-top: 0; }
.leeg-melding--compact { padding: 8px 4px; }
.knoppenrij--klein { flex: none; gap: 6px; margin-bottom: 6px; }
.knoppenrij--klein > * { flex: none; }
.blok__knop { margin-bottom: 6px; }
.instelling--los { border: none; }
.paneel--ingredienten { padding: 0 14px; }
.paneel--ingredienten .ingredient:first-child { border-top: none; }
.klein-select { font-size: 13px; font-weight: 600; background: var(--grond); border: 1px solid var(--lijn); border-radius: 999px; padding: 6px 10px; min-height: 36px; }
.schakelaar[aria-checked="true"] { background: var(--navy); }
.schakelaar[aria-checked="true"]::after { transform: translateX(20px); background: var(--grond); }
.instelling.schakel-rij { min-height: 60px; }
.label-gezin { font-size: 11px; font-weight: 600; color: var(--grijs-navy); white-space: nowrap; }
.avatar--mini { --maat: 18px; font-size: 9px; }
.avatar--reus { --maat: 56px; box-shadow: 0 0 0 3px var(--navy-vlak); }
.avatar--tab { --maat: 24px; }
.rond-knop--vlak { background: var(--vlak); }
.knop--op-navy { background: var(--navy-vlak); color: var(--op-grond); border-color: var(--navy-vlak); }
.knop--op-navy-tekst { color: var(--op-grond); min-height: 36px; padding: 0; align-self: flex-start; }
.voorstel-rij { display: flex; flex-direction: column; gap: 8px; }
.seintje-kaart { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.seintje-kaart h3 { font-size: 21px; }
.seintje-kaart p { font-size: 13px; line-height: 1.6; color: var(--op-navy); }
.route { padding: 0; overflow: hidden; }
.veld--tijd { padding: 11px 14px; }
.tijd-rij, .datum-drie { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.datum-drie { grid-template-columns: 0.8fr 1.4fr 1.1fr; }

/* ---------- Tabbalk met vijf knoppen; "Ik" is je eigen kleurbolletje ---------- */
.tabbalk { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 4px 4px calc(10px + var(--veilig-onder)); }
.tabbalk__knop { margin: 0 4px; font-size: 11px; }
.tabbalk__ik { height: 22px; display: flex; align-items: center; justify-content: center; }
.tabbalk__knop[aria-current="page"] .avatar { box-shadow: 0 0 0 2px var(--vlak), 0 0 0 3.5px var(--navy); }

/* ---------- Kopjes en segmenten ---------- */
.paginakop { flex-wrap: wrap; row-gap: 10px; }
.subkop { padding: 0 var(--ruimte-5) 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.subkop h2 { font-size: 24px; }
.segment { display: inline-flex; background: var(--vlak); border-radius: 999px; padding: 4px; gap: 2px; }
.segment__knop { min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--grijs-navy); transition: background 0.2s, color 0.2s; }
.segment__knop[aria-selected="true"] { background: var(--navy); color: var(--op-grond); }

/* ---------- Week: de held bovenaan ---------- */
.held { padding: 20px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.held::after { content: ""; position: absolute; right: 18px; top: 20px; width: 12px; height: 12px; border-radius: 3px; background: var(--koraal); }
.held__groet { font-family: var(--font-kop); font-size: 30px; line-height: 1.05; padding-right: 26px; }
.held__zin { font-size: 14px; line-height: 1.55; color: var(--op-navy); }
.held__volgende { display: flex; align-items: center; gap: 14px; background: var(--navy-vlak); border-radius: var(--radius-md); padding: 12px 14px; margin-top: 4px; text-align: left; color: var(--op-grond); }
.held__tijd { font-family: var(--font-kop); font-size: 26px; line-height: 1; flex: none; }
.held__wat { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 600; }
.held__label { font-size: 11px; font-weight: 500; color: var(--op-navy); text-transform: lowercase; }
.held__volgende .avatar { box-shadow: 0 0 0 2px var(--navy-vlak); }
.held__volgende .label-gezin { color: var(--op-navy); }

/* ---------- Week: navigatie en dagenstrip ---------- */
.weeknav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.weeknav__titel { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.weeknav__naam { font-family: var(--font-kop); font-size: 22px; line-height: 1.1; }
.dagstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: -6px; }
.dagstrip__dag { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; border-radius: 14px; background: var(--vlak); }
.dagstrip__naam { font-size: 11px; color: var(--grijs-navy); font-weight: 600; text-transform: capitalize; }
.dagstrip__nr { font-family: var(--font-kop); font-size: 20px; line-height: 1.1; }
.dagstrip__stippen { display: flex; gap: 3px; height: 6px; align-items: center; }
.stipje { width: 5px; height: 5px; border-radius: 999px; background: var(--navy); opacity: 0.55; }
.stipje--jarig { background: var(--koraal); opacity: 1; border-radius: 1.5px; }
.dagstrip__dag--voorbij { background: transparent; box-shadow: inset 0 0 0 1px var(--lijn); }
.dagstrip__dag--voorbij .dagstrip__nr { color: var(--grijs-navy); }
.dagstrip__dag--vandaag { background: var(--navy); color: var(--op-grond); }
.dagstrip__dag--vandaag .dagstrip__naam { color: var(--op-navy); }
.dagstrip__dag--vandaag .stipje { background: var(--op-grond); opacity: 0.8; }
.dagstrip__dag--vandaag .stipje--jarig { background: var(--koraal); opacity: 1; }
.uitklap-voorbij { align-self: center; margin: -6px 0; }

/* ---------- Week: de dagen ---------- */
.dagblok { scroll-margin-top: 80px; }
.dagblok--voorbij { opacity: 0.6; }
.dagblok--licht .paneel { animation: oplichten 1.2s ease; }
.blok__plus { width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--grijs-navy); margin-bottom: 2px; }
.dag-leeg { width: 100%; min-height: 52px; text-align: left; font-size: 13px; color: var(--grijs-navy); }
.item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 9px 0; border-top: 1px solid var(--lijn); margin-top: -1px; text-align: left; }
.paneel--rijen > .item:first-child { border-top-color: transparent; }
.item__tijd { width: 44px; flex: none; display: flex; flex-direction: column; font-family: var(--font-kop); font-size: 17px; line-height: 1.1; }
.item__tijd small { font-family: var(--font-tekst); font-size: 11px; color: var(--grijs-navy); font-weight: 500; }
.item__tijd--icoon { color: var(--navy); align-items: flex-start; justify-content: center; }
.item__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item__titel { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.item__meta { display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: 12px; color: var(--grijs-navy); }
.item__meta span { display: inline-flex; align-items: center; gap: 4px; }
.jarig-blok { width: 10px; height: 10px; border-radius: 2.5px; background: var(--koraal); flex: none; margin-right: 4px; }
.dagblok .taken .taak:first-child { border-top-color: var(--lijn); }
.paneel--rijen > .taken:first-child .taak:first-child { border-top-color: transparent; }

/* ---------- Familieraad ---------- */
.raad-snel { gap: 10px; }
.raad-snel__vraag { font-family: var(--font-kop); font-weight: 500; font-size: 19px; }
.raad { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.raad__vraag { font-family: var(--font-kop); font-size: 22px; line-height: 1.2; }
.raad__opties { display: flex; flex-direction: column; gap: 8px; }
.raad__optie { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 12px 0 16px; border-radius: 14px; background: var(--grond); text-align: left; font-weight: 600; }
.paneel--navy .raad__optie { background: var(--navy-vlak); color: var(--op-grond); }
.raad__balk { position: absolute; inset: 0 auto 0 0; background: var(--lijn); transition: width 0.6s cubic-bezier(.2, .8, .2, 1); }
.paneel--navy .raad__balk { background: rgba(255, 255, 255, 0.14); }
.raad__naam, .raad__stemmers { position: relative; }
.raad__naam { flex: 1; display: flex; align-items: center; gap: 8px; }
.raad__kroon { width: 10px; height: 10px; border-radius: 2.5px; background: var(--koraal); flex: none; }
.raad__stemmers { display: flex; align-items: center; }
.raad__stemmers .avatar + .avatar { margin-left: -5px; }
.raad__tel { font-size: 13px; min-width: 22px; text-align: right; }
.raad__optie--mijn { box-shadow: inset 0 0 0 2px var(--navy); }
.paneel--navy .raad__optie--mijn { box-shadow: inset 0 0 0 2px var(--op-grond); }
.raad__optie:disabled { cursor: default; }
.raad__voet { font-size: 12px; color: var(--grijs-navy); }
.paneel--navy .raad__voet { color: var(--op-navy); }
.raad-invoer { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.raad-invoer__rij { display: flex; gap: 6px; align-items: center; }

/* ---------- Tegels op Gezin ---------- */
.tegels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tegel { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; border-radius: var(--radius-lg); background: var(--vlak); text-align: left; min-height: 132px; position: relative; transition: transform 0.15s; }
.tegel:active { transform: scale(0.98); }
.tegel__icoon { width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: var(--op-grond); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.tegel:first-child .tegel__icoon { background: var(--koraal); color: var(--navy); }
.tegel__titel { font-size: 12px; color: var(--grijs-navy); font-weight: 600; }
.tegel__cijfer { font-family: var(--font-kop); font-size: 21px; line-height: 1.15; overflow-wrap: anywhere; }
.tegel__tekst { font-size: 12px; color: var(--grijs-navy); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- Verlanglijstjes ---------- */
.wens-held { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.wens-held__cijfer { font-family: var(--font-kop); font-size: 34px; line-height: 1; }
.wens-held .knoppenrij { flex-wrap: wrap; }
.wens-held .pill-knop { flex: none; }
.wens { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 0; border-top: 1px solid var(--lijn); margin-top: -1px; text-align: left; }
.wens:first-child { border-top-color: transparent; }
.wens__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wens__titel { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.wens__meta { font-size: 12px; color: var(--grijs-navy); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.wens--geregeld .wens__titel { color: var(--grijs-navy); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.label-geregeld { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; background: var(--grond); border-radius: 999px; padding: 4px 9px; flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Verjaardagen ---------- */
.jarig-held { padding: 20px; display: flex; flex-direction: column; gap: 6px; text-align: left; width: 100%; color: var(--op-grond); position: relative; }
.jarig-held::after { content: ""; position: absolute; right: 20px; top: 22px; width: 14px; height: 14px; border-radius: 3px; background: var(--koraal); }
.jarig-held__over { font-size: 13px; color: var(--op-navy); }
.jarig-held__naam { font-family: var(--font-kop); font-size: 30px; line-height: 1.1; padding-right: 28px; }
.jarige { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 8px 0; border-top: 1px solid var(--lijn); margin-top: -1px; text-align: left; }
.jarige:first-child { border-top-color: transparent; }
.jarige__dag { width: 40px; flex: none; display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--grijs-navy); line-height: 1.15; }
.jarige__dag strong { font-family: var(--font-kop); font-size: 21px; font-weight: 500; color: var(--navy); }
.jarige__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jarige__naam { font-size: 15px; font-weight: 600; }
.jarige__meta { font-size: 12px; color: var(--grijs-navy); }
.jarige__binnenkort { font-size: 11px; font-weight: 600; background: var(--navy); color: var(--op-grond); border-radius: 999px; padding: 4px 9px; flex: none; }

/* ---------- Oppaskaart ---------- */
.oppas-veld { text-align: left; width: 100%; }
.oppas-veld__tekst { white-space: pre-line; font-size: 14px; line-height: 1.6; }
.oppas-veld__leeg { font-size: 13px; color: var(--grijs-navy); font-style: italic; }

/* ---------- Ik ---------- */
.ik-held { padding: 18px; display: flex; align-items: center; gap: 14px; }
.ik-held__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ik-held__naam { font-family: var(--font-kop); font-size: 26px; line-height: 1.1; }
.ik-uitleg { font-size: 14px; line-height: 1.55; color: var(--grijs-navy); }

/* ---------- Huisstijl kiezen: drie stalen met een mini-voorbeeld ---------- */
.stijl-kiezer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stijl-staal { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 8px; border-radius: 16px; transition: background 0.2s; }
.stijl-staal__beeld { width: 100%; aspect-ratio: 1 / 0.9; border-radius: 12px; background: var(--s-grond); padding: 12px 10px 10px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--s-lijn); transition: transform 0.2s cubic-bezier(.3, 1.4, .5, 1); }
.stijl-staal__tab { width: 44%; height: 9px; border-radius: 4px 4px 0 0; background: var(--navy); }
.stijl-staal__paneel { flex: 1; border-radius: 0 7px 7px 7px; background: var(--s-vlak); padding: 7px; display: flex; flex-direction: column; gap: 5px; position: relative; }
.stijl-staal__paneel i { display: block; height: 5px; border-radius: 3px; background: var(--navy); opacity: 0.85; }
.stijl-staal__paneel i + i { width: 62%; opacity: 0.35; }
.stijl-staal__paneel b { position: absolute; right: 7px; bottom: 7px; width: 9px; height: 9px; border-radius: 2px; background: var(--koraal); }
.stijl-staal__naam { font-size: 13px; font-weight: 600; }
.stijl-staal[aria-checked="true"] { background: var(--grond); }
.stijl-staal[aria-checked="true"] .stijl-staal__beeld { box-shadow: 0 0 0 2.5px var(--navy); transform: scale(1.03); }
.stijl-kiezer--welkom { max-width: 360px; }
.stijl-kiezer--welkom .stijl-staal[aria-checked="true"] { background: var(--vlak); }

/* ---------- Slim invoerveld: soort kiezen ---------- */
.soort-keuze { flex: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -6px -4px 0; padding: 0 4px 2px; }
.soort-keuze::-webkit-scrollbar { display: none; }
.soort-knop { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--grond); color: var(--grijs-navy); }
.soort-knop[aria-pressed="true"] { background: var(--navy); color: var(--op-grond); }
.soort-label { display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: 11px; font-weight: 600; background: var(--navy); color: var(--op-grond); border-radius: 999px; padding: 4px 9px; align-self: flex-start; margin-top: 2px; }

.overstap { display: flex; gap: 12px; align-items: flex-start; padding: 14px; font-size: 13px; line-height: 1.5; }
.overstap svg { flex: none; margin-top: 1px; }

/* ---------- Welkom: het gezinnetje onder één dak ---------- */
.welkom__beeld { width: 190px; }
.gezinnetje { width: 100%; display: block; overflow: visible; }
.gezinnetje__dak { fill: none; stroke: var(--navy); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 280; stroke-dashoffset: 280; animation: tekenen 0.9s 0.1s cubic-bezier(.6, 0, .2, 1) forwards; }
.gezinnetje__lid { fill: var(--navy); transform-box: fill-box; transform-origin: bottom; animation: opstaan 0.6s cubic-bezier(.3, 1.5, .5, 1) backwards; }
.gezinnetje__lid--1 { animation-delay: 0.5s; }
.gezinnetje__lid--2 { animation-delay: 0.62s; fill: var(--navy-vlak); }
.gezinnetje__lid--3 { animation-delay: 0.74s; fill: var(--koraal); }
.gezinnetje__lid--4 { animation-delay: 0.86s; fill: var(--teal); }
.gezinnetje__vloer { fill: var(--lijn); }
@keyframes opstaan { from { transform: scaleY(0); } to { transform: none; } }
.welkom__hint { margin-top: 2px; }

@media (min-width: 600px) {
  .held__groet { font-size: 34px; }
  .tegel { min-height: 140px; }
}
.voorbeeld-kaart__kop { flex-wrap: nowrap; align-items: center; }
.voorbeeld-kaart__titel { min-width: 0; overflow-wrap: break-word; }

/* ---------- Handleiding: tekst naast een telefoonscherm ---------- */
.handleiding { max-width: 860px; }
.handleiding__kop { display: flex; flex-direction: column; gap: 14px; }
.handleiding__stap--beeld { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.handleiding__tekst { display: flex; flex-direction: column; gap: 12px; }
.scherm { margin: 0; justify-self: center; width: min(260px, 70vw); border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 6px var(--navy); background: var(--navy); }
.scherm img { display: block; width: 100%; height: auto; }
.scherm-paar { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.scherm-paar .scherm { width: min(220px, 42vw); }
@media (min-width: 760px) {
  .handleiding__stap--beeld { grid-template-columns: minmax(0, 1fr) auto; gap: 34px; }
}
@media print {
  .handleiding { max-width: none; }
  .handleiding__stap--beeld { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; break-inside: avoid; }
  .scherm { width: 200px; }
  .scherm-paar .scherm { width: 160px; }
}
