
.g9d-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.g9d-nav a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--rand); border-radius: 999px; background: var(--wit); color: var(--tekst);
  text-decoration: none; font-weight: 600;
}
.g9d-nav a:hover { border-color: var(--zee); }
.g9d-nav a:focus-visible { outline: 3px solid var(--zee-donker); outline-offset: 2px; }

.g9d-sectie { margin-top: 26px; scroll-margin-top: 80px; }
.g9d-sectie > h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 1.25rem; }
.g9d-sectie > .hint { margin: 0 0 12px; }
.g9d-teaser p { display: flex; gap: 10px; align-items: flex-start; margin: 0; }

.g9d-nieuw { margin: 0 0 14px; padding: 0; }
.g9d-nieuw > summary {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  cursor: pointer; font-weight: 700; color: var(--zee-donker); list-style: none;
}
.g9d-nieuw > summary::-webkit-details-marker { display: none; }
.g9d-nieuw > summary:focus-visible { outline: 3px solid var(--zee-donker); outline-offset: -3px; }
.g9d-nieuw[open] > summary { border-bottom: 1px solid var(--rand); }
.g9d-nieuw > .formulier, .g9d-nieuw > .hint { padding: 14px 16px 16px; margin: 0; }
.g9d-form textarea, .g9d-form input[type="text"], .g9d-form input[type="date"], .g9d-form input[type="number"], .g9d-form select { width: 100%; max-width: 100%; }
.g9d-foto-kies input[type="file"] { min-height: 44px; font-weight: 400; }

.g9d-knoppen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; }
.g9d-knoppen .knop, .g9d-knoppen .knop-tekst { min-height: 44px; }

.g9d-status { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 4px 10px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.g9d-status-vrij { background: var(--zee-licht); color: var(--zee-donker); }
.g9d-status-uit { background: var(--zand); color: var(--tekst); }

.g9d-kast { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.g9d-spul { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; scroll-margin-top: 80px; }
.g9d-spul.is-uit { background: var(--wit); }
.g9d-spul-foto {
  display: block; width: 72px; height: 72px; border-radius: var(--radius-s, 8px); overflow: hidden; background: var(--zee-licht);
}
.g9d-spul-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g9d-spul-leeg { display: flex; align-items: center; justify-content: center; color: var(--zee-donker); }
.g9d-spul-leeg svg { width: 32px; height: 32px; }
.g9d-spul-info { min-width: 0; }
.g9d-spul-naam { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.g9d-spul-oms { margin: 4px 0 0; overflow-wrap: anywhere; }
.g9d-van { margin: 4px 0 0; color: var(--tekst-zacht); }
.g9d-vraag { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius-s, 8px); background: var(--zee-licht); }
.g9d-vraag p { margin: 0; overflow-wrap: anywhere; }
.g9d-vraag .g9d-knoppen { margin-top: 8px; }
.g9d-mijn-vraag { margin: 8px 0 0; }
.g9d-lenen { margin-top: 10px; }
.g9d-lenen > summary { display: inline-flex; align-items: center; min-height: 44px; list-style: none; cursor: pointer; }
.g9d-lenen > summary::-webkit-details-marker { display: none; }
.g9d-lenen[open] > summary { margin-bottom: 10px; }
.g9d-lenen .g9d-form { display: grid; gap: 10px; }

.g9d-kanaal { display: flex; gap: 6px; align-items: center; }
.g9d-taken { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.g9d-taak { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; scroll-margin-top: 80px; }
.g9d-taak.is-mijn { border-left: 4px solid var(--zon); }
.g9d-vink {
  display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-top: 2px;
  border: 2px solid var(--rand-veld, var(--rand)); border-radius: 8px; color: var(--wit); background: var(--wit);
}
.g9d-taak.is-klaar .g9d-vink { background: var(--zee-donker); border-color: var(--zee-donker); }
.g9d-vink svg { width: 18px; height: 18px; }
.g9d-taak-info { min-width: 0; }
.g9d-taak-titel { margin: 0; font-size: 1.02rem; overflow-wrap: anywhere; }
.g9d-taak.is-klaar .g9d-taak-titel { color: var(--tekst-zacht); text-decoration: line-through; text-decoration-thickness: 1px; }
.g9d-taak-toe { margin: 4px 0 0; overflow-wrap: anywhere; }
.g9d-meta { margin: 6px 0 0; color: var(--tekst-zacht); }
.g9d-laat { color: var(--rood); font-weight: 600; }
.g9d-klaar { margin-top: 14px; }
.g9d-klaar > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.g9d-klaar > .g9d-taken { margin-top: 8px; }

.g9d-taak.g9d-feest { outline: 3px solid var(--zon); outline-offset: 2px; }
.g9d-confetti { position: absolute; left: 22px; top: 18px; width: 0; height: 0; pointer-events: none; }
.g9d-confetti i {
  position: absolute; left: 0; top: 0; width: 8px; height: 12px; border-radius: 2px; opacity: 0;
  background: var(--zon);
}
.g9d-confetti i:nth-child(3n) { background: var(--zee); }
.g9d-confetti i:nth-child(3n + 1) { background: var(--rood); }
@media (prefers-reduced-motion: no-preference) {
  .g9d-confetti i { animation: g9d-confetti 1.2s ease-out var(--d, 0ms) forwards; }
  .g9d-taak.g9d-feest .g9d-vink { animation: g9d-plop .5s ease-out; }
}
@keyframes g9d-confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x, 0), calc(var(--y, -60px) + 90px)) rotate(var(--r, 180deg)); }
}
@keyframes g9d-plop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

.g9d-potje { margin: 0 0 12px; scroll-margin-top: 80px; }
.g9d-potje h3 { margin: 0 0 4px; overflow-wrap: anywhere; }
.g9d-potje > p { overflow-wrap: anywhere; }
.g9d-potje.is-dicht { opacity: .9; }
.g9d-balk { height: 14px; margin: 10px 0 6px; border-radius: 999px; background: var(--zee-licht); overflow: hidden; }
.g9d-balk span { display: block; height: 100%; min-width: 2px; border-radius: 999px; background: var(--zee-donker); }
.g9d-potje.is-dicht .g9d-balk span { background: var(--tekst-zacht); }
@media (prefers-reduced-motion: no-preference) {
  .g9d-balk span { transition: width .6s ease-out; }
}
.g9d-stand { margin: 0; }
.g9d-geef { margin-top: 6px; }
.g9d-eigen { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 10px; }
.g9d-eigen label { flex: 0 0 100%; font-weight: 600; font-size: .95rem; }
.g9d-eigen input { width: 9em; min-height: 44px; }
.g9d-eigen .knop { min-height: 44px; }
.g9d-geef .hint { margin: 8px 0 0; }

@media (min-width: 720px) {
  .g9d-kast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g9d-spul { grid-template-columns: 96px minmax(0, 1fr); }
  .g9d-spul-foto { width: 96px; height: 96px; }
}
