/* Groene Vingers, stijl Botanisch: licht salie, wit, bosgroen, zonnebloemgeel en koraal. */

:root {
  --grond: #EDF2E6;
  --kaart: #FFFFFF;
  --tekst: #1B2B1F;
  --zacht: #4F5E52;
  --lijn: #E3E9DD;
  --groen: #1F5A39;
  --groen-donker: #163F28;
  --groen-licht: #E3EFE1;
  --geel: #F2C14E;
  --geel-tekst: #3A2C05;
  --oranje-tekst: #7A5A00;
  --koraal: #C24A25;
  --koraal-donker: #9E3A1B;
  --koraal-licht: #FBE3D9;
  --water: #2B6CB0;
  --water-licht: #E2ECF7;
  --mint: #D6EBD9;
  --boter: #F7E9C3;
  --lila: #E6E1F3;
  --perzik: #F9DFD2;
  --kop: "Bricolage Grotesque", system-ui, sans-serif;
  --romp: "DM Sans", system-ui, sans-serif;
  --rond: 22px;
  --onder: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grond);
  color: var(--tekst);
  font-family: var(--romp);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--groen); }
h1, h2, h3 { font-family: var(--kop); letter-spacing: -0.02em; margin: 0; line-height: 1.12; }
p { margin: 0; }
.verborgen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.scherm {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px calc(120px + var(--onder));
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.scherm.zonder-nav { padding-bottom: calc(40px + var(--onder)); }

/* ---------- Kop ---------- */
.kop { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 6px; }
.kop-tekst { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kop-datum { font-size: 13px; font-weight: 600; color: var(--zacht); }
.kop h1 { font-size: 30px; font-weight: 800; }
.terugkop { display: flex; align-items: center; gap: 8px; }
.terugkop h1 { font-size: 22px; font-weight: 700; }
.terugkop .sub { font-size: 12px; font-weight: 600; color: var(--zacht); }

.rondknop {
  width: 44px; height: 44px; flex-shrink: 0;
  border: none; border-radius: 999px;
  background: var(--kaart); color: var(--tekst);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.rondknop:active { transform: scale(0.96); }

.seizoenchip {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--geel); color: var(--geel-tekst);
  font-size: 13px; font-weight: 600;
}

/* ---------- Kaarten ---------- */
.kaart { background: var(--kaart); border-radius: var(--rond); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.kaart h2 { font-size: 19px; font-weight: 700; }
.kaart h3 { font-size: 16px; font-weight: 700; }
.sectiekop { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sectiekop h2 { font-size: 19px; font-weight: 700; }
.sectiekop a, .sectiekop span { font-size: 13px; font-weight: 600; color: var(--zacht); text-decoration: none; }
.zacht { color: var(--zacht); }
.klein { font-size: 13px; }

/* Weer */
.weerkaart { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; color: inherit; }
.weer-icoon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--boter); color: var(--oranje-tekst); display: flex; align-items: center; justify-content: center; }
.weer-tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.weer-tekst b { font-size: 15px; }
.weer-tekst span { font-size: 13px; color: var(--zacht); }
.weer-temp { font-family: var(--kop); font-size: 26px; font-weight: 700; }
.waarschuwingen { display: flex; flex-wrap: wrap; gap: 8px; }
.waarschuwing { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.waarschuwing.vorst, .waarschuwing.storm { background: var(--water-licht); color: #1E4E80; }
.waarschuwing.hitte { background: var(--koraal-licht); color: var(--koraal-donker); }

/* Zorgkaart (Aiaiai) */
.zorgkaart {
  position: relative; overflow: hidden;
  border-radius: 24px; padding: 20px;
  background: var(--koraal-licht);
  display: flex; flex-direction: column; gap: 6px;
  min-height: 170px;
}
.zorgkaart.let_op { background: var(--boter); }
.zorgkaart-foto {
  position: absolute; right: 16px; top: 18px;
  width: 92px; height: 92px; border-radius: 24px; object-fit: cover;
  border: 3px solid #FFFFFF;
}
.zorgkaart .uitroep { font-family: var(--kop); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--koraal-donker); }
.zorgkaart.let_op .uitroep { color: var(--oranje-tekst); }
.zorgkaart .wie { font-size: 16px; font-weight: 700; max-width: calc(100% - 110px); }
.zorgkaart p { max-width: calc(100% - 110px); font-size: 14px; color: #4A3229; }
.zorgkaart.let_op p { color: #4A3D12; }

/* Taken */
.taken { background: var(--kaart); border-radius: var(--rond); display: flex; flex-direction: column; }
.taak { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 12px; }
.taak + .taak { border-top: 1px solid #EEF1EA; }
.taak-hoofd { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border: none; background: none; padding: 0; text-align: left; min-height: 48px; }
.taak-tekst { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.taak-tekst b { font-size: 15px; font-weight: 700; }
.taak-tekst small { font-size: 13px; color: var(--zacht); display: flex; align-items: center; gap: 5px; }
.taak-tekst small.laat { color: var(--koraal-donker); font-weight: 600; }
.duim { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; object-fit: cover; background: var(--mint); display: flex; align-items: center; justify-content: center; color: var(--groen); overflow: hidden; }
.duim.weer { background: var(--water-licht); color: #1E4E80; }
.duim.hitte { background: var(--koraal-licht); color: var(--koraal-donker); }
.vink {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 999px; border: 2px solid #C9D4C5; background: #FFFFFF; color: #8A978C;
  display: flex; align-items: center; justify-content: center;
}
.vink:active { background: var(--groen); color: #FFFFFF; border-color: var(--groen); }
.leeg { padding: 22px 18px; text-align: center; color: var(--zacht); font-size: 14px; }
.leeg b { display: block; font-family: var(--kop); font-size: 18px; color: var(--tekst); margin-bottom: 4px; }

/* Plantkaarten */
.raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plantkaart { background: var(--kaart); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.plantkaart:active { transform: scale(0.98); }
.plantkaart-foto { height: 120px; display: flex; align-items: center; justify-content: center; color: var(--groen); }
.plantkaart-foto img { width: 100%; height: 100%; object-fit: cover; }
.tint-0 { background: var(--mint); } .tint-1 { background: var(--boter); } .tint-2 { background: var(--lila); } .tint-3 { background: var(--perzik); }
.plantkaart-tekst { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.plantkaart-tekst b { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plantkaart-tekst small { font-size: 13px; color: var(--zacht); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.balk { margin-top: 8px; height: 6px; border-radius: 999px; background: #E3EADF; display: flex; overflow: hidden; }
.balk span { border-radius: 999px; background: var(--water); }
.balk span.nu { background: var(--koraal); }
.plantstatus { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--zacht); }
.plantstatus.dringend, .plantstatus.water { color: var(--koraal-donker); }
.plantstatus.let_op, .plantstatus.foto { color: var(--oranje-tekst); }
.plantstatus.vorst { color: #2B5C8F; }
.nieuwkaart { border: 2px dashed #BFCDBA; background: transparent; border-radius: 20px; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--groen); font-weight: 700; text-decoration: none; }

/* ---------- Knoppen ---------- */
.knop {
  min-height: 52px; padding: 0 20px;
  border: none; border-radius: 999px;
  background: var(--groen); color: #FFFFFF;
  font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.knop:active { background: var(--groen-donker); }
.knop[disabled] { opacity: 0.6; }
.knop.licht { background: var(--kaart); color: var(--tekst); }
.knop.donker { background: var(--tekst); }
.knop.tekst { background: transparent; color: var(--groen); }
.knop.klein { min-height: 44px; font-size: 14px; padding: 0 16px; }
.knop.rood { background: transparent; color: var(--koraal-donker); }
.knoppen { display: flex; flex-direction: column; gap: 8px; }
.knoprij { display: flex; flex-wrap: wrap; gap: 8px; }
.knoprij .knop { flex: 1; }
.snelknoppen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.snelknop { min-height: 76px; border: none; border-radius: 18px; background: var(--kaart); color: var(--tekst); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 700; text-decoration: none; }
.snelknop .ic { width: 34px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.snelknop.water .ic { background: var(--water-licht); color: var(--water); }
.snelknop.voeding .ic { background: var(--boter); color: var(--oranje-tekst); }
.snelknop.foto .ic { background: var(--groen-licht); color: var(--groen); }

/* ---------- Navigatie ---------- */
.nav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(14px + var(--onder));
  width: min(calc(100% - 32px), 528px);
  padding: 8px; border-radius: 28px; background: #FFFFFF;
  box-shadow: 0 6px 24px rgba(27, 43, 31, 0.10);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 2px;
  z-index: 20;
}
.nav a {
  height: 56px; border-radius: 20px; color: var(--zacht);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 11px; font-weight: 600; text-decoration: none;
}
.nav a[aria-current="page"] { background: var(--groen-licht); color: var(--groen); font-weight: 700; }
.nav a.fab { justify-self: center; width: 56px; height: 56px; border-radius: 999px; background: var(--groen); color: #FFFFFF; }

/* ---------- Plant ---------- */
.plantfoto { position: relative; height: 300px; border-radius: 24px; overflow: hidden; background: var(--mint); display: flex; align-items: center; justify-content: center; color: var(--groen); }
.plantfoto img { width: 100%; height: 100%; object-fit: cover; }
.plantfoto .rondknop { position: absolute; top: 12px; }
.plantfoto .links { left: 12px; }
.plantfoto .rechts { right: 12px; }
.naamblok { display: flex; flex-direction: column; gap: 4px; }
.naamblok h1 { font-size: 30px; font-weight: 800; }
.naamblok .soort { font-size: 14px; font-weight: 600; color: var(--zacht); }
.naamblok .soort i { font-weight: 500; }
.statuschip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--groen-licht); color: var(--groen); }
.statuschip.let_op { background: var(--boter); color: var(--oranje-tekst); }
.statuschip.dringend { background: var(--koraal-licht); color: var(--koraal-donker); }
.statuschip.onbekend { background: #ECEFEA; color: var(--zacht); }
.rij { display: flex; align-items: flex-start; gap: 12px; }
.rij + .rij { border-top: 1px solid #EEF1EA; padding-top: 12px; }
.rij .ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.rij .ic.water { background: var(--water-licht); color: var(--water); }
.rij .ic.voeding { background: var(--boter); color: var(--oranje-tekst); }
.rij .ic.foto { background: var(--groen-licht); color: var(--groen); }
.rij .ic.plek { background: var(--lila); color: #4B3F7A; }
.rij-tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rij-tekst b { font-size: 15px; }
.rij-tekst span { font-size: 14px; color: var(--zacht); }
.redenen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.reden { padding: 3px 10px; border-radius: 999px; background: #F0F3EC; font-size: 12px; font-weight: 600; color: var(--zacht); }
.feiten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.feit { display: flex; flex-direction: column; gap: 1px; }
.feit b { font-size: 13px; color: var(--zacht); font-weight: 600; }
.feit span { font-size: 15px; }
.tips { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fotorij { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.fotorij a { flex-shrink: 0; width: 96px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 4px; }
.fotorij img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.fotorij small { font-size: 12px; font-weight: 600; color: var(--zacht); display: flex; align-items: center; gap: 4px; }
.stip { width: 8px; height: 8px; border-radius: 999px; background: var(--groen); display: inline-block; }
.stip.let_op { background: var(--geel); } .stip.dringend { background: var(--koraal); } .stip.onbekend { background: #B8C2B5; }
.logboek { display: flex; flex-direction: column; }
.logregel { display: flex; gap: 12px; padding: 8px 0; font-size: 14px; }
.logregel + .logregel { border-top: 1px solid #EEF1EA; }
.logregel time { width: 64px; flex-shrink: 0; color: var(--zacht); font-weight: 600; font-size: 13px; padding-top: 1px; }

/* ---------- Formulieren ---------- */
.veld { display: flex; flex-direction: column; gap: 6px; }
.veld > label, .veld legend, .veldlabel { font-size: 14px; font-weight: 700; }
.veld .hulp { font-size: 13px; color: var(--zacht); font-weight: 400; }
.invoer { min-height: 50px; padding: 0 14px; border: 1.5px solid #D5DED0; border-radius: 14px; background: #FFFFFF; width: 100%; }
textarea.invoer { padding: 12px 14px; min-height: 90px; resize: vertical; }
.invoer:focus, .keuze input:focus-visible + span, .schakel input:focus-visible + span { outline: 3px solid rgba(31, 90, 57, 0.35); outline-offset: 2px; }
fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.keuze { display: flex; flex-wrap: wrap; gap: 8px; }
.keuze legend { margin-bottom: 8px; padding: 0; }
.keuze label { position: relative; }
.keuze input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.keuze label > span { min-height: 44px; padding: 0 16px; border-radius: 999px; background: #F0F3EC; display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; }
.keuze input:checked + span { background: var(--groen); color: #FFFFFF; }
.keuze.groot label > span { min-height: 52px; font-size: 15px; padding: 0 22px; }
.schakel { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; font-size: 15px; font-weight: 600; }
.schakel small { display: block; font-size: 13px; font-weight: 400; color: var(--zacht); }
.schakel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.schakel span.knopje { width: 50px; height: 30px; flex-shrink: 0; border-radius: 999px; background: #CBD5C7; position: relative; transition: background 0.15s; }
.schakel span.knopje::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 999px; background: #FFFFFF; transition: transform 0.15s; }
.schakel input:checked + span.knopje { background: var(--groen); }
.schakel input:checked + span.knopje::after { transform: translateX(20px); }
.schuif { display: flex; align-items: center; gap: 14px; }
.schuif input[type="range"] { flex: 1; accent-color: var(--groen); height: 32px; }
.schuif output { min-width: 56px; text-align: right; font-weight: 700; }
.kandidaten { display: flex; flex-direction: column; gap: 8px; }
.kandidaat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #F4F7F1; cursor: pointer; border: 2px solid transparent; }
.kandidaat:has(input:checked) { border-color: var(--groen); background: #FFFFFF; }
.kandidaat input { accent-color: var(--groen); width: 20px; height: 20px; margin: 0; flex-shrink: 0; }
.kandidaat span { display: flex; flex-direction: column; min-width: 0; }
.kandidaat b { font-size: 15px; }
.kandidaat small { font-size: 13px; color: var(--zacht); }
.zekerheid { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--zacht); white-space: nowrap; }

/* Foto kiezen */
.fotokiezer { border: 2px dashed #BFCDBA; border-radius: 24px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.fotokiezer .groot-ic { width: 72px; height: 72px; border-radius: 999px; background: var(--mint); color: var(--groen); display: flex; align-items: center; justify-content: center; }
.fotokiezer p { color: var(--zacht); font-size: 14px; max-width: 300px; }
.fotokiezer .knoppen { width: 100%; }
.bestandknop { position: relative; overflow: hidden; }
.bestandknop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Bezig */
.bezig { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 10px 0 20px; text-align: center; }
.bezig img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 24px; }
.bezig h2 { font-size: 22px; }
.bezig p { color: var(--zacht); min-height: 1.5em; }
.puntjes { display: flex; gap: 8px; }
.puntjes span { width: 10px; height: 10px; border-radius: 999px; background: var(--groen); animation: hup 1.2s infinite ease-in-out; }
.puntjes span:nth-child(2) { animation-delay: 0.15s; background: var(--geel); }
.puntjes span:nth-child(3) { animation-delay: 0.3s; background: var(--koraal); }
@keyframes hup { 0%, 80%, 100% { transform: translateY(0); opacity: 0.6; } 40% { transform: translateY(-8px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .puntjes span { animation: none; } }

/* ---------- Resultaat van een foto-check ---------- */
.checkfoto { position: relative; border-radius: 24px; overflow: hidden; background: var(--perzik); }
.checkfoto img.hoofd { width: 100%; max-height: 420px; object-fit: cover; }
.marker { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 999px; background: var(--geel); border: 2px solid #FFFFFF; color: var(--tekst); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.fotolabel { position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: #FFFFFF; font-size: 12px; font-weight: 700; }
.vorigefoto { position: absolute; right: 14px; bottom: 14px; width: 80px; border: 3px solid #FFFFFF; border-radius: 16px; overflow: hidden; background: #FFFFFF; text-decoration: none; color: var(--tekst); }
.vorigefoto img { width: 100%; height: 72px; object-fit: cover; }
.vorigefoto span { display: block; text-align: center; font-size: 11px; font-weight: 700; padding: 2px 0 3px; }
.uitroepkop { font-size: 32px; font-weight: 800; color: var(--groen); }
.uitroepkop.dringend { color: var(--koraal-donker); }
.uitroepkop.let_op { color: var(--oranje-tekst); }
.zekerheidchip { padding: 4px 10px; border-radius: 999px; background: var(--groen-licht); font-size: 12px; font-weight: 700; color: var(--groen); white-space: nowrap; }
.gezien { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gezien li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.gezien .nr { width: 24px; height: 24px; flex-shrink: 0; border-radius: 999px; background: var(--geel); color: var(--tekst); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.gezien .nr.leeg { background: #F0F3EC; }
.checklijst label { display: flex; align-items: center; gap: 12px; min-height: 52px; font-size: 15px; line-height: 1.4; cursor: pointer; padding: 6px 0; }
.checklijst label + label { border-top: 1px solid #EEF1EA; }
.checklijst input { width: 24px; height: 24px; flex-shrink: 0; margin: 0; accent-color: var(--groen); }
.checklijst label.later { color: var(--zacht); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.minikaart { border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.minikaart h3 { font-size: 16px; font-weight: 700; }
.minikaart p { font-size: 14px; }
.minikaart.mint { background: var(--mint); color: #23392A; }
.minikaart.boter { background: var(--boter); color: var(--geel-tekst); }
.minikaart.lila { background: var(--lila); color: #2E2650; }

/* ---------- Agenda ---------- */
.weerrij { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.weerdag { background: var(--kaart); border-radius: 16px; padding: 10px 2px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
.weerdag b { font-size: 13px; }
.weerdag .max { font-weight: 700; font-size: 14px; }
.weerdag .regen { color: var(--water); font-weight: 600; }
.weerdag.vorst { background: var(--water-licht); }
.weerdag.hitte { background: var(--koraal-licht); }
.agendadag { display: flex; flex-direction: column; gap: 8px; }
.agendadag h2 { font-size: 17px; font-weight: 700; }
.agendadag h2 small { font-family: var(--romp); font-size: 13px; font-weight: 600; color: var(--zacht); margin-left: 6px; }

/* ---------- Onderblad en melding ---------- */
.blad-achtergrond { position: fixed; inset: 0; background: rgba(27, 43, 31, 0.4); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.blad { width: min(100%, 560px); background: var(--grond); border-radius: 26px 26px 0 0; padding: 22px 20px calc(22px + var(--onder)); display: flex; flex-direction: column; gap: 14px; max-height: 88vh; overflow-y: auto; }
.blad h2 { font-size: 21px; }
.blad .uitleg { white-space: pre-line; font-size: 14px; color: var(--zacht); }
.blad .uitleg a { word-break: break-all; }
#toast {
  position: fixed; left: 50%; bottom: calc(96px + var(--onder));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--tekst); color: #FFFFFF; padding: 12px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; z-index: 60; transition: opacity 0.2s, transform 0.2s;
  max-width: calc(100% - 40px); text-align: center;
}
#toast.zichtbaar { opacity: 1; transform: translate(-50%, 0); }
.foutkaart { background: var(--koraal-licht); color: #4A3229; border-radius: 18px; padding: 14px 16px; font-size: 14px; }
.infokaart { background: var(--water-licht); color: #1E3F63; border-radius: 18px; padding: 14px 16px; font-size: 14px; }

/* ---------- Aanmelden ---------- */
.aanmelden { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 22px; max-width: 420px; margin: 0 auto; padding: 24px; }
.aanmelden .logo { width: 88px; height: 88px; border-radius: 26px; }
.aanmelden h1 { font-size: 34px; font-weight: 800; }
.aanmelden p { color: var(--zacht); }

@media (min-width: 720px) {
  .raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
