
.jv-balk { padding: 10px 0 0; }
.jv-balk-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 14px; }
.jv-balk-nieuw .jv-balk-in { justify-content: space-between; }
.jv-nieuw-zin { display: flex; flex: 1 1 420px; align-items: center; gap: 10px; margin: 0; padding: 8px 8px 8px 14px; border-radius: 14px;
  background: #fff6dc; border: 1px solid #f0d58c; color: var(--tekst); font-size: .92rem; line-height: 1.35; }
.jv-nieuw-zin[hidden] { display: none; }
.jv-nieuw-zin > .ic { flex: none; width: 20px; height: 20px; color: var(--zon-donker); }
.jv-nieuw-tekst { flex: 1 1 auto; min-width: 0; }
.jv-link { flex: none; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--zee); color: #fff; font: inherit; font-weight: 700; font-size: .86rem; cursor: pointer; }
.jv-link:hover { background: var(--zee-donker); }
.jv-weg { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--tekst-zacht); cursor: pointer; }
.jv-weg:hover { background: rgba(0, 0, 0, .06); color: var(--tekst); }
.jv-weg .ic { width: 18px; height: 18px; }
.jv-balk-knoppen { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.jv-telling { color: var(--tekst-zacht); font-size: .82rem; }
.jv-telling[hidden] { display: none; }

.jv-knop { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--rand); border-radius: 999px;
  background: var(--wit); color: var(--tekst); font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.jv-knop:hover { border-color: var(--zee); }
.jv-knop .ic { width: 18px; height: 18px; }
.jv-balk-aangepast .jv-knop[aria-haspopup] { border-color: var(--zee); color: var(--zee); }
.jv-knop-vol { background: var(--zee); border-color: var(--zee); color: #fff; }
.jv-knop-vol:hover { background: var(--zee-donker); }
.jv-knop-licht { background: transparent; }
.jv-link:focus-visible, .jv-weg:focus-visible, .jv-knop:focus-visible, .jv-pijl:focus-visible, .jv-sluit:focus-visible,
.jv-schakel input:focus-visible + .jv-schakel-baan { outline: 3px solid var(--zon); outline-offset: 2px; }

.is-jv-nieuw { position: relative; }
.jv-nieuw-label { position: absolute; z-index: 3; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; pointer-events: none;
  background: var(--zon); color: #2b2100; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.jv-nieuw-label.jv-nieuw-inline { position: static; display: inline-block; align-self: flex-start; width: max-content; margin: 0 6px 3px 0; box-shadow: none; }
.prik.is-jv-nieuw > .jv-nieuw-label { top: -6px; right: 14px; }
.jv-flits { animation: jv-flits 1.6s ease-out 1; }
@keyframes jv-flits { 0% { box-shadow: 0 0 0 0 rgba(242, 179, 61, .9); } 100% { box-shadow: 0 0 0 18px rgba(242, 179, 61, 0); } }
@media (prefers-reduced-motion: reduce) { .jv-flits { animation: none; outline: 3px solid var(--zon); outline-offset: 4px; } }

.jv-paneel { width: min(520px, calc(100vw - 24px)); max-height: min(86vh, 720px); padding: 0; border: 0; border-radius: 20px;
  background: var(--wit); color: var(--tekst); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.jv-paneel[open] { display: flex; flex-direction: column; }
.jv-paneel::backdrop { background: rgba(8, 30, 36, .5); }
.jv-paneel-kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 0 22px; }
.jv-paneel-kop h2 { margin: 0; font-family: var(--font-kop); font-size: 1.35rem; }
.jv-sluit { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--tekst); cursor: pointer; }
.jv-sluit:hover { background: var(--zee-licht); }
.jv-sluit .ic { width: 20px; height: 20px; }
.jv-paneel-uitleg { margin: 6px 22px 10px; color: var(--tekst-zacht); font-size: .9rem; line-height: 1.45; }
.jv-lijst { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 4px 14px; list-style: none; counter-reset: vp; }
.jv-rij { display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 8px; border-radius: 12px; }
.jv-rij + .jv-rij { border-top: 1px solid var(--rand); }
.jv-rij.is-uit .jv-naam { color: var(--tekst-zacht); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.jv-schakel { display: flex; flex: 1 1 auto; align-items: center; gap: 12px; min-width: 0; min-height: 48px; cursor: pointer; }
.jv-schakel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jv-schakel-baan { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: #c9c3b7; transition: background .15s; }
.jv-schakel-baan::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.jv-schakel input:checked + .jv-schakel-baan { background: var(--dijk); }
.jv-schakel input:checked + .jv-schakel-baan::after { transform: translateX(18px); }
.jv-naam { min-width: 0; font-weight: 700; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.jv-pijl { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--zee); cursor: pointer; }
.jv-pijl:hover:not(:disabled) { background: var(--zee-licht); }
.jv-pijl:disabled { color: #c9c3b7; cursor: default; }
.jv-pijl .ic { width: 20px; height: 20px; }
.jv-pijl-op .ic { transform: rotate(-90deg); }
.jv-pijl-neer .ic { transform: rotate(90deg); }
.jv-paneel-voet { display: flex; justify-content: space-between; gap: 10px; padding: 14px 22px 18px; border-top: 1px solid var(--rand); }
@media (prefers-reduced-motion: reduce) { .jv-schakel-baan, .jv-schakel-baan::after { transition: none; } }

.jv-zoek { position: relative; }
.jv-zoek .jv-zoek-uit { text-align: left; }
.plein:has(.jv-zoek.is-open) { overflow: visible; z-index: 30; }
.plein-tekst:has(.jv-zoek.is-open), .th-hero-tekst:has(.jv-zoek.is-open) { position: relative; z-index: 30; }

.jv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.jv-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--rand); border-radius: 999px;
  background: var(--wit); color: var(--tekst); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; }
.jv-chip:hover { border-color: var(--zee); }
.jv-chip[aria-pressed="true"] { background: var(--zee); border-color: var(--zee); color: #fff; }
.jv-chip:focus-visible { outline: 3px solid var(--zon); outline-offset: 2px; }
.jv-chip-tal { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--zee-licht); color: var(--zee-donker); font-size: .74rem; text-align: center; }
.jv-chip[aria-pressed="true"] .jv-chip-tal { background: rgba(255, 255, 255, .22); color: #fff; }
li[data-dag][hidden] { display: none !important; }
@media (max-width: 599px) {
  .jv-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .jv-chip { flex: none; }
}
@media (pointer: coarse) {
  .jv-chip, .jv-link { min-height: 40px; }
  .jv-weg { width: 40px; height: 40px; }
}

.praat-mee .peiling-form:not(:has(.peiling-opties input:checked)) > :is(.peiling-rij, .peiling-hint, .peiling-teller) { display: none; }
.praat-mee .peiling-form:has(.peiling-opties input:checked) > .peiling-rij { animation: jv-erbij .25s ease-out; }
@keyframes jv-erbij { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .praat-mee .peiling-form > .peiling-rij { animation: none; } }

@media (min-width: 900px) {
  .th-praat > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 40px; align-items: start; }
  .th-praat > .wrap > * { grid-column: 1; }
  .th-praat > .wrap > [data-peiling] { grid-column: 2; grid-row: 1 / span 4; }
}

.jv-zweef { position: fixed; z-index: 40; right: 18px; bottom: calc(var(--onderbalk, 64px) + 14px); display: none; align-items: flex-end; gap: 8px; }
@media (min-width: 600px) { .jv-zweef:not([hidden]) { display: flex; animation: jv-erbij .2s ease-out; } }
@media (min-width: 900px) { .jv-zweef { bottom: 22px; } }
.jv-zweef-knop { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--rand); border-radius: 999px;
  background: var(--wit); color: var(--tekst); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; box-shadow: 0 8px 22px rgba(8, 49, 60, .18); }
.jv-zweef-knop:hover { border-color: var(--zee); color: var(--zee); }
.jv-zweef-knop .ic { width: 18px; height: 18px; }
.jv-zweef-boven { width: 44px; padding: 0; justify-content: center; }
.jv-zweef-boven .ic { transform: rotate(-90deg); }
.jv-zweef-knop:focus-visible, .jv-zweef-link:focus-visible { outline: 3px solid var(--zon); outline-offset: 2px; }
.jv-zweef-lijst { position: absolute; right: 52px; bottom: calc(100% + 8px); width: 260px; max-height: min(60vh, 460px); overflow-y: auto; margin: 0; padding: 6px;
  list-style: none; background: var(--wit); border: 1px solid var(--rand); border-radius: 16px; box-shadow: 0 18px 40px rgba(8, 49, 60, .2); }
.jv-zweef-lijst[hidden] { display: none; }
.jv-zweef-link { display: flex; align-items: center; width: 100%; min-height: 40px; padding: 6px 12px; border: 0; border-radius: 10px; background: none;
  color: var(--tekst); font: inherit; font-size: .9rem; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.jv-zweef-link:hover { background: var(--zee-licht); color: var(--tekst); }
.jv-zweef-link[aria-current] { background: var(--zee-licht); color: var(--zee); font-weight: 800; }
.jv-zweef-link[aria-current]::before { content: ''; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--zon); }
.jv-zweef-indeling { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--rand); }
.jv-zweef-indeling .jv-zweef-link { color: var(--zee); }
html.lg-avond .jv-zweef-knop, html.lg-avond .jv-zweef-lijst { background: #1e2a2e; color: #e7eef0; border-color: #3d4c51; }
html.lg-avond .jv-zweef-link { color: #e7eef0; }
html.lg-avond .jv-zweef-link:hover, html.lg-avond .jv-zweef-link[aria-current] { background: #2a3a3f; }
@media print { .jv-zweef { display: none !important; } }

@media (max-width: 599px) {
  .jv-nieuw-zin { flex-basis: 100%; flex-wrap: wrap; font-size: .88rem; }
  .jv-balk-nieuw .jv-balk-knoppen { width: 100%; justify-content: flex-end; }
  .jv-paneel { max-height: 92vh; }
}

html.lg-avond .jv-nieuw-zin { background: #3a3220; border-color: #6b5a2e; color: #f3ead2; }
html.lg-avond .jv-knop, html.lg-avond .jv-paneel { background: #1e2a2e; color: #e7eef0; border-color: #3d4c51; }
html.lg-avond .jv-paneel-uitleg, html.lg-avond .jv-telling { color: #b9c7cb; }
html.lg-avond .jv-chip[aria-pressed="true"], html.lg-avond .jv-link { color: #0d2329; }
html.lg-avond .jv-chip[aria-pressed="true"] .jv-chip-tal { background: rgba(13, 35, 41, .16); color: #0d2329; }
@media print { .jv-balk, .jv-nieuw-label { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .jv-zweef:not([hidden]) { animation: none; } }
