/* CT Pools — boekmodule. Gebruikt de tokens van de site (tokens.css via de shell). */
/* Formulieren met POST→redirect: geen paginaovergangen (voorkomt afgebroken view transitions). */
@view-transition { navigation: none; }
.app { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(72px, 10vw, 140px); }
.app-smal { max-width: 760px; }
.app-titel { font-size: var(--text-index); line-height: .95; letter-spacing: -.015em; margin: 16px 0 28px; overflow-wrap: break-word; hyphens: auto; }
.app .lead { margin-bottom: 24px; }
.app .waterline { margin: 0 0 28px; }
.app .h2 { margin: 40px 0 14px; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .app-grid { grid-template-columns: minmax(0, 1fr); } }

.app-stappen { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; border-top: 3px solid var(--waterline); padding-top: 14px; }
.app-stappen li { display: flex; align-items: center; gap: 8px; color: var(--ink-500); font-size: 15px; }
.app-stappen span { display: inline-flex; width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--stone-300); align-items: center; justify-content: center; font-size: 13px; }
.app-stappen li[aria-current] { color: var(--ink-900); font-weight: 700; }
.app-stappen li[aria-current] span { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.app-stappen li.klaar span { background: var(--pool-100); border-color: var(--pool-700); }

.app-form { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.app-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.app-form legend { font-family: var(--font-display); font-size: 26px; color: var(--ink-900); margin-bottom: 12px; padding: 0; }
.app .veld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.app-rij > .veld { flex: 1 1 200px; }
.app .veld > label, .app .veldlabel { font-weight: 700; font-size: 15px; }
.app input[type=text], .app input[type=search], .app input:not([type]), .app input[type=email], .app input[type=tel], .app input[type=password], .app input[type=number], .app input[type=time], .app input[type=date], .app select, .app textarea {
  font: inherit; font-size: 17px; color: var(--ink-900); background: var(--white); border: 1px solid var(--stone-500); border-radius: 0; min-height: 48px; padding: 10px 14px; width: 100%; }
.app textarea { min-height: 96px; resize: vertical; }
.app input:focus-visible, .app select:focus-visible, .app textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 0; border-color: var(--focus-ring); }
.app input[readonly] { background: var(--paper-50); color: var(--ink-500); }
.app-rij { display: flex; flex-wrap: wrap; gap: 16px; }
.app-knoppen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.app-form > button, .app-form > .btn { align-self: flex-start; }

.app-keuzes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.app-keuze { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--stone-300); background: var(--white); cursor: pointer; }
.app-keuze.klein { padding: 10px 14px; }
.app-keuze:has(input:checked) { border: 2px solid var(--pool-700); background: var(--pool-100); padding: 13px 15px; }
.app-keuze.klein:has(input:checked) { padding: 9px 13px; }
.app-keuze:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.app-keuze input, .app-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--pool-700); }
.app-keuze .prijs { float: right; font-family: var(--font-display); font-size: 20px; color: var(--ink-900); margin-left: 12px; }
.app-keuze small { color: var(--ink-500); font-size: 14px; line-height: 1.4; display: block; margin-top: 4px; }
.app-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }

.slots { display: flex; flex-direction: column; gap: 22px; }
.slot-week { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; }
.slot-week legend { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 6px; font-family: var(--font-body); }
.slot-dag { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 8px 0; border-top: 1px solid var(--stone-300); }
.slot-dag:last-child { border-bottom: 1px solid var(--stone-300); }
.slot-datum { font-weight: 700; font-size: 16px; }
.slot-delen { display: grid; grid-template-columns: repeat(2, 132px); gap: 8px; }
.slot { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 6px 10px; border: 1px solid var(--stone-500); background: var(--white); cursor: pointer; font-size: 15px; font-weight: 700; line-height: 1.2; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-500); }
.slot:hover { border-color: var(--pool-700); }
.slot:has(input:checked) { background: var(--ink-900); border-color: var(--ink-900); color: var(--white); }
.slot:has(input:checked) small { color: var(--paper-50); }
.slot:has(input:focus-visible) { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.slot-leeg { border-style: dashed; border-color: var(--stone-300); background: transparent; color: var(--ink-500); font-weight: 400; cursor: default; }
.slot-meer summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: var(--pool-700); }
.slot-meer[open] summary { margin-bottom: 14px; }
@media (max-width: 520px) { .slot-dag { grid-template-columns: minmax(0, 1fr); } .slot-delen { grid-template-columns: 1fr 1fr; } }

.app-overzicht { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--stone-300); padding: 20px; }
.app-overzicht dl, .app-dl { margin: 0 0 12px; border-top: 1px solid var(--ink-900); }
.app-overzicht dl div, .app-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--stone-300); }
.app-dl div { justify-content: flex-start; }
.app-dl dt { flex: 0 0 140px; color: var(--ink-500); font-size: 14px; }
.app-overzicht dd, .app-dl dd { margin: 0; text-align: right; }
.app-dl dd { text-align: left; }
.app-overzicht .totaal { font-weight: 700; font-size: 18px; }
.app-klein { font-size: 14px; color: var(--ink-500); }
.app-ok { background: var(--pool-100); border-left: 3px solid var(--pool-700); padding: 12px 16px; margin: 0 0 18px; }
.app-fout { background: #fbeceb; border-left: 3px solid var(--red-600); color: var(--ink-900); padding: 12px 16px; margin: 0 0 18px; }
.app-lijst { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--ink-900); }
.app-lijst li { padding: 12px 0; border-bottom: 1px solid var(--stone-300); }
.app-details { border-top: 1px solid var(--stone-300); padding: 14px 0; }
.app-details summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.app-kopie { width: 100%; font: 14px/1.4 monospace; padding: 10px; border: 1px solid var(--stone-300); background: var(--paper-50); }

.beheer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; border-top: 1px solid var(--ink-900); border-bottom: 1px solid var(--stone-300); padding: 10px 0; margin-bottom: 28px; }
.beheer-nav a { color: var(--ink-700); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.beheer-nav a[aria-current] { color: var(--ink-900); font-weight: 700; text-decoration: underline; text-decoration-color: var(--pool-500); text-underline-offset: 6px; }
.beheer-cijfers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.beheer-cijfers div { border-top: 3px solid var(--waterline); background: var(--white); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.beheer-cijfers b { font-family: var(--font-display); font-size: 36px; font-weight: 400; }
.beheer-dag a { color: var(--ink-900); text-decoration: none; }
.beheer-tabel { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 20px; background: var(--white); }
.beheer-tabel th, .beheer-tabel td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--stone-300); vertical-align: top; }
.beheer-tabel thead th { border-bottom: 1px solid var(--ink-900); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); font-weight: 400; }
.beheer-tabel tr.weekend th, .beheer-tabel tr.weekend td { background: var(--paper-50); }
.beheer-tabel input { min-height: 40px !important; }
@media (max-width: 700px) { .beheer-tabel { font-size: 14px; display: block; overflow-x: auto; } }

.app-testbalk { background: #fff4d6; border-bottom: 1px solid #e0b84a; color: var(--ink-900); font-size: 15px; padding: 10px 0; }
.app-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.app-keuze small.klantprijs { color: var(--pool-700); font-weight: 700; }
form.inline { display: inline; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; color: var(--pool-700); text-decoration: underline; cursor: pointer; min-height: 32px; }
.app-uitleg { margin: 0 0 24px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.app-keuze small.duur { color: var(--ink-700); }




/* ===== Beheer: eigen werkopmaak (shell 'beheer-shell') ============================================== */
body.bh { background: var(--paper-100); }
.bh-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px 20px; padding: 0 20px; min-height: 52px; background: var(--ink-900); color: var(--white); }
.bh-merk { color: var(--white); text-decoration: none; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; } .bh-merk img { display: block; }
.bh-merk span { color: var(--pool-300, #7fd3e6); letter-spacing: .04em; margin-left: 4px; }
.bh-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; border: 0 !important; padding: 0 !important; margin: 0 !important; }
.bh-nav::-webkit-scrollbar { display: none; }
.bh-nav a { color: #c9cdd1 !important; text-decoration: none !important; padding: 0 10px; min-height: 52px; display: inline-flex; align-items: center; white-space: nowrap; font-size: 15px; border-bottom: 3px solid transparent; }
.bh-nav a:hover { color: var(--white) !important; }
.bh-nav a[aria-current] { color: var(--white) !important; font-weight: 700; border-bottom-color: var(--pool-500); }
.bh-test { background: #f2c94c; color: var(--ink-900); font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 4px; letter-spacing: .08em; }
.bh-uitform { margin: 0; }
.bh-uit { color: #c9cdd1; font-size: 14px; white-space: nowrap; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; text-decoration: underline; }
.bh-main { padding: 20px 24px 64px !important; max-width: 1240px; margin: 0 auto; }
.bh-main.bh-breed { max-width: none; }
.bh-kop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: 16px; }
.bh-titel { font-family: var(--font-display); font-size: 30px; line-height: 1.1; margin: 0; font-weight: 400; }
.bh-login { max-width: 420px; margin: 10vh auto; padding: 0 20px; }
.bh-login .bh-merk { color: var(--ink-900); display: flex; margin-bottom: 18px; }
.bh-login .bh-merk span { color: var(--pool-700); }
@media (max-width: 700px) {
  .bh-top { padding: 0 12px; gap: 8px 12px; flex-wrap: wrap; }
  .bh-nav { order: 3; flex-basis: 100%; }
  .bh-nav a { min-height: 44px; }
  .bh-main { padding: 14px 14px 48px !important; }
  .bh-titel { font-size: 24px; }
}

/* ===== Zwembaden (beheer) ============================================================================ */
.zw-tabs { display: inline-flex; background: var(--white); border: 1px solid var(--stone-300); border-radius: 999px; padding: 3px; gap: 2px; }
.zw-tabs a { padding: 6px 16px; min-height: 36px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--ink-700); text-decoration: none; font-size: 15px; }
.zw-tabs a[aria-current] { background: var(--ink-900); color: var(--white); font-weight: 700; }
.zw-nieuw { margin-left: auto; min-height: 40px; padding: 6px 16px; font-size: 15px; }
.zw-balk { position: sticky; top: 52px; z-index: 20; background: var(--paper-100); padding: 8px 0 10px; border-bottom: 1px solid var(--stone-300); margin-bottom: 12px; }
.zw-zoekrij { display: flex; gap: 8px; flex-wrap: wrap; }
.zw-zoekrij input[type=search] { flex: 1 1 260px; min-height: 42px !important; font-size: 16px !important; width: auto !important; }
.zw-zoekrij select { width: auto !important; min-height: 42px !important; font-size: 15px !important; }
.zw-meerfilters { min-height: 42px; padding: 6px 16px; font-size: 15px; }
.zw-snel { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.zw-snelknop, .zw-wis { border: 1px solid var(--stone-500); background: var(--white); color: var(--ink-900); border-radius: 999px; padding: 5px 12px; min-height: 34px; font: inherit; font-size: 14px; cursor: pointer; }
.zw-snelknop[aria-pressed="true"] { background: var(--pool-700); border-color: var(--pool-700); color: var(--white); font-weight: 700; }
.zw-wis { border-color: transparent; background: transparent; text-decoration: underline; color: var(--pool-700); }
.zw-paneel { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px 12px; padding: 12px; margin-bottom: 12px; background: var(--white); border: 1px solid var(--stone-300); }
.zw-paneel[hidden] { display: none; }
.zw-paneel label { font-size: 13px !important; font-weight: 700; }
.zw-paneel select { min-height: 38px !important; font-size: 15px !important; padding: 4px 8px !important; }
.zw-teller { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; font-size: 15px; }
.zw-export { min-height: 38px; padding: 4px 14px; font-size: 14px; }
/* tegels */
.zw-tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.zw-tegel { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--stone-300); border-radius: 6px; overflow: hidden; color: var(--ink-900); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.zw-tegel:hover, .zw-tegel:focus-visible { border-color: var(--pool-700); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.zw-tegel-foto { position: relative; display: block; }
.zw-tegel-foto img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #dfe3df; }
.zw-badge { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.92); color: var(--ink-900); }
.zw-badge-reno { background: #ffb347; color: #3d2200; }
.zw-badge-klant { left: auto; right: 8px; background: #0c4d2b; color: #fff; }
.zw-tegel-tekst { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px 11px; }
.zw-tegel-tekst b { font-size: 15px; line-height: 1.25; }
.zw-tegel-sub { font-size: 13px; color: var(--ink-500); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.zw-status { font-size: 12px; font-weight: 700; color: var(--k); }
.zw-status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--k); margin-right: 4px; }
.zw-feiten { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.zw-feiten span { font-size: 12px; background: var(--paper-50); border: 1px solid var(--stone-300); border-radius: 4px; padding: 1px 6px; color: var(--ink-700); }
.zw-meer { margin: 16px auto 0; display: block; }
/* kaart met lijst */
.zw-kaartvlak { display: grid; grid-template-columns: minmax(0, 1fr) 320px; height: calc(100vh - 230px); min-height: 460px; border: 1px solid var(--stone-300); background: var(--white); }
.zw-kaart { height: 100%; min-height: 360px; }
.zw-kaartlijst { list-style: none; margin: 0; padding: 0; overflow: auto; border-left: 1px solid var(--stone-300); }
.zw-kaartlijst button { display: flex; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--stone-300); padding: 8px; font: inherit; cursor: pointer; color: var(--ink-900); }
.zw-kaartlijst button:hover, .zw-kaartlijst button:focus-visible { background: var(--pool-100); }
.zw-kaartlijst img { width: 64px; height: 64px; object-fit: cover; flex: none; border-radius: 4px; }
.zw-kaartlijst span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.zw-mini-reno { color: #a35400; font-size: 12px !important; font-weight: 700; }
.zw-legende { background: rgba(255,255,255,.94); padding: 6px 10px; border-radius: 4px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; }
.zw-legende i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.zw-legende i.reno { background: transparent; border: 3px solid #e07b00; width: 7px; height: 7px; }
.zw-popup { display: flex; flex-direction: column; gap: 6px; color: var(--ink-900); text-decoration: none; }
.zw-popup img { width: 200px; height: 200px; object-fit: cover; border-radius: 4px; }
@media (max-width: 800px) { .zw-kaartvlak { grid-template-columns: 1fr; grid-template-rows: 55vh auto; height: auto; } .zw-kaartlijst { border-left: 0; border-top: 1px solid var(--stone-300); max-height: 60vh; } }
/* tabel */
.zw-tabelwrap { overflow: auto; max-height: calc(100vh - 240px); border: 1px solid var(--stone-300); background: var(--white); }
.zw-tabel { border-collapse: separate; border-spacing: 0; font-size: 13px; white-space: nowrap; width: 100%; margin: 0; }
.zw-tabel th, .zw-tabel td { padding: 4px 10px; border-bottom: 1px solid var(--stone-300); text-align: left; vertical-align: middle; }
.zw-tabel thead th { position: sticky; top: 0; z-index: 2; background: var(--ink-900); color: var(--white); font-weight: 400; }
.zw-tabel thead th button { background: none; border: 0; padding: 6px 0; font: inherit; color: inherit; cursor: pointer; }
.zw-tabel thead th:first-child, .zw-tabel tbody td:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); }
.zw-tabel thead th:first-child { z-index: 3; background: var(--ink-900); }
.zw-tabel tbody th { position: sticky; left: 72px; z-index: 1; background: var(--white); font-weight: 700; }
.zw-tabel thead th:nth-child(2) { position: sticky; left: 72px; z-index: 3; }
.zw-tabel tbody tr:hover td, .zw-tabel tbody tr:hover th { background: var(--pool-100); }
.zw-tabel td.num { text-align: right; font-variant-numeric: tabular-nums; }
.zw-td-foto img { display: block; width: 52px; height: 52px; object-fit: cover; border-radius: 4px; }
.zw-tabel select { min-height: 30px !important; font-size: 13px !important; padding: 2px 6px !important; width: auto !important; }
.zw-uitleg { margin-top: 24px; }
.zw-uitleg summary { cursor: pointer; color: var(--ink-500); font-size: 14px; }
/* nieuwe zwembaden zoeken */
.zw-zoekbalk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.zw-zoek { display: flex; gap: 6px; flex: 1 1 360px; }
.zw-zoek input { min-height: 42px !important; }
.zw-zoekvlak { display: grid; grid-template-columns: minmax(0, 1fr) 360px; height: calc(100vh - 220px); min-height: 460px; border: 1px solid var(--stone-300); background: var(--white); }
.zw-zoekvlak .zw-kaart { height: 100%; }
.zw-resultaten { list-style: none; margin: 0; padding: 0; overflow: auto; border-left: 1px solid var(--stone-300); }
.zw-resultaten li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--stone-300); font-size: 14px; }
.zw-label { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: #ffb347; color: #3d2200; font-size: 11px; font-weight: 700; }
@media (max-width: 800px) { .zw-zoekvlak { grid-template-columns: 1fr; grid-template-rows: 55vh auto; height: auto; } .zw-resultaten { border-left: 0; border-top: 1px solid var(--stone-300); } }

/* fiche */
.zf { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.zf-hero { margin: 0; position: relative; background: #dfe3df; border-radius: 6px; overflow: hidden; }
.zf-hero img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.zf-hero figcaption { position: absolute; left: 10px; top: 10px; background: rgba(26,27,29,.85); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.zf-tijdlijn { list-style: none; margin: 10px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
.zf-jaar { width: 100%; background: var(--white); border: 2px solid transparent; border-radius: 6px; padding: 3px; cursor: pointer; font: inherit; color: var(--ink-900); display: flex; flex-direction: column; gap: 3px; }
.zf-jaar img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.zf-jaar span { font-size: 12px; text-align: center; }
.zf-jaar i { color: var(--pool-700); font-style: normal; }
.zf-jaar[aria-pressed="true"] { border-color: var(--ink-900); font-weight: 700; }
.zf-adres { font-size: 17px; margin: 0 0 10px; }
.zf-reno { background: #fff1dc; border-left: 4px solid #e07b00; padding: 10px 12px; margin: 0 0 12px; }
.zf-feiten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.zf-feit { background: var(--white); border: 1px solid var(--stone-300); border-radius: 6px; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; }
.zf-label { font-size: 12px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .06em; }
.zf-feit b { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.zf-sub { font-size: 13px; color: var(--ink-700); }
.zf-form { background: var(--white); border: 1px solid var(--stone-300); border-radius: 6px; padding: 14px; gap: 12px !important; margin: 0 !important; }
.zf-form .app-knoppen { gap: 8px; }
.zf-form .btn { min-height: 42px; padding: 6px 16px; font-size: 15px; }
.zf-weg { margin-left: auto; color: var(--red-600, #b3261e) !important; font-size: 14px; }
.zf-knop { min-height: 40px; padding: 6px 14px; font-size: 15px; }
@media (max-width: 900px) { .zf { grid-template-columns: 1fr; } }

/* kliktest 18/10: fiche-foto zo groot dat de tijdlijn zonder scrollen zichtbaar is; gsm: menu op één schuifbare regel, 2 tegels per rij */
.zf-hero { max-width: min(100%, calc(100vh - 250px)); }
.bh-nav, .beheer-nav.bh-nav { flex-wrap: nowrap !important; }
@media (max-width: 700px) {
  .zw-tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .zw-tegel-tekst { padding: 7px 8px 9px; }
  .zw-tegel-tekst b { font-size: 14px; }
  .zw-feiten span { font-size: 11px; padding: 0 4px; }
  .zw-snel { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .zw-snelknop { white-space: nowrap; }
  .zw-nieuw { margin-left: 0; }
  .zw-balk { top: 96px; }
  .zf-hero { max-width: 100%; }
}
.zf-teller { color: var(--ink-500); font-size: 14px; }
.zw-zoek input { flex: 1 1 auto; width: auto !important; min-width: 0; }
.zw-resultaten:empty::before { content: "Gevonden zwembaden verschijnen hier. Groene bolletjes op de kaart staan al op de lijst."; display: block; padding: 16px; color: var(--ink-500); font-size: 14px; }
.zw-plaats { font-size: 12px !important; color: var(--ink-500); }
.zw-popup span { font-size: 13px; color: var(--ink-500); margin-top: -4px; }

/* selectie in de tabel */
.zw-selectie { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 10px; margin-bottom: 8px; background: var(--white); border: 1px solid var(--stone-300); }
.zw-selectie select { width: auto !important; min-height: 38px !important; font-size: 14px !important; }
.zw-tabel .zw-kies { width: 36px; padding: 4px 6px 4px 10px; position: sticky; left: 0; z-index: 2; background: var(--white); }
.zw-tabel thead .zw-kies { background: var(--ink-900); z-index: 4; }
.zw-tabel .zw-kies input { width: 18px; height: 18px; accent-color: var(--pool-700); }
.zw-tabel thead th:nth-child(2), .zw-tabel tbody td.zw-td-foto { position: sticky; left: 36px; z-index: 1; background: var(--white); }
.zw-tabel thead th:nth-child(2) { z-index: 3; background: var(--ink-900); }
.zw-tabel tbody th { left: 108px; }
.zw-tabel thead th:nth-child(3) { position: sticky; left: 108px; z-index: 3; }
.zw-tabel thead th:first-child { left: 0; }
.zw-tabel tbody tr.zw-gekozen td, .zw-tabel tbody tr.zw-gekozen th { background: #e3f3f7; }
#zw-zelf[aria-pressed="true"] { background: var(--pool-700); color: var(--white); border-color: var(--pool-700); }
.zw-status { color: var(--ink-700) !important; }
.zw-legende i.vak { border-radius: 2px; border: 1px solid; width: 12px; height: 10px; }
.zw-popup-links { margin-top: 4px; font-size: 13px; }
.app-zonekaart { margin: 0 0 20px; max-width: 420px; } .app-zonekaart img { width: 100%; height: auto; border: 1px solid var(--stone-300); }
/* beheer › aanvragen */
.aa-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.aa-grid .app-dl small { color: var(--ink-500); }
.bh-filters a[aria-current] { font-weight: 700; color: var(--ink-900); }
.bh-tabelwrap { overflow-x: auto; }
@media (max-width: 1000px) { .aa-grid { grid-template-columns: minmax(0, 1fr); } }
/* beheer: submenu, gebruiker, CRM */
.bh-sub { display: flex; gap: 2px 4px; flex-wrap: wrap; padding: 0 clamp(16px, 3vw, 32px); background: var(--white); border-bottom: 1px solid var(--stone-300); }
.bh-sub a { padding: 10px 12px; color: var(--ink-700); text-decoration: none; font-size: 15px; border-bottom: 2px solid transparent; }
.bh-sub a[aria-current] { color: var(--ink-900); font-weight: 700; border-bottom-color: var(--pool-500); }
.bh-wie { color: #c9cdd1; font-size: 14px; margin-right: 8px; white-space: nowrap; }
.crm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .crm-grid { grid-template-columns: minmax(0, 1fr); } }
.crm-zij { display: flex; flex-direction: column; gap: 16px; }
.crm-blok { background: var(--white); border: 1px solid var(--stone-300); padding: 16px; }
.crm-kop { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.crm-kop p { margin: 0 0 4px; }
.crm-versies a { display: inline-block; padding: 4px 10px; border: 1px solid var(--stone-300); margin: 0 4px 4px 0; text-decoration: none; color: var(--ink-900); background: var(--white); }
.crm-versies a[aria-current] { border: 2px solid var(--pool-700); padding: 3px 9px; font-weight: 700; }
.crm-lijnen td { vertical-align: top; } .crm-lijnen input, .crm-lijnen textarea, .crm-lijnen select { width: 100%; }
.crm-lijnen textarea { margin-top: 6px; font-size: 14px; }
.crm-lijnen td:first-child { width: 110px; } .crm-lijnen td:nth-child(3) { width: 130px; } .crm-lijnen td:last-child { width: 60px; }
.crm-lijnen tr.crm-nieuw { background: var(--paper-50); }
.crm-bedrag { text-align: right; }
.crm-weg { font-size: 13px; color: var(--red-600); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding-top: 12px; cursor: pointer; }
.crm-lijnen input[type=checkbox], .crm-lijnen input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; }
.crm-config { margin-top: 24px; background: var(--white); border: 1px solid var(--stone-300); padding: 12px 16px; }
.crm-config summary { cursor: pointer; font-weight: 700; color: var(--pool-700); }
.crm-configveld { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 16px; }
.crm-tijdlijn { list-style: none; margin: 0 0 12px; padding: 0; max-height: 360px; overflow-y: auto; }
.crm-tijdlijn li { padding: 8px 0; border-bottom: 1px solid var(--stone-150); font-size: 14px; }
.crm-status { display: inline-block; padding: 2px 8px; font-size: 13px; font-weight: 700; background: var(--stone-150); color: var(--ink-900); }
.crm-verstuurd, .crm-bekeken { background: var(--pool-100); color: var(--pool-900); }
.crm-bevestigd { background: #dff3e4; color: #1e5b2e; }
.crm-afgewezen, .crm-vervallen { background: #f6e1dd; color: #8a2e20; }
.crm-zoek { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; } .crm-zoek input { flex: 1 1 260px; }
.crm-3d .cfg-3d { margin: 8px 0 10px; } .crm-3d-bewaar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.crm-tarieven .beheer-tabel td:nth-child(2), .crm-tarieven .beheer-tabel td:nth-child(4) { width: 110px; color: var(--ink-500); } .crm-tarieven .beheer-tabel td:nth-child(3) { width: 150px; } .crm-eigen td { background: var(--pool-100); }
.crm-blok .app-dl dt { flex: 1 1 60%; } .crm-blok .app-dl dd { flex: 0 1 auto; }
/* beheer › installaties */
.prj-balk { display: inline-block; width: 90px; height: 8px; background: var(--stone-150); vertical-align: middle; } .prj-balk > span { display: block; height: 100%; background: var(--pool-700); }
.prj-balk-groot { width: 220px; height: 12px; }
.prj-stappen td { vertical-align: top; } .prj-stappen input[type=text], .prj-stappen td:first-child input { width: 100%; min-width: 260px; }
.prj-stappen .prj-dagen { width: 70px; } .prj-stappen details { margin-top: 6px; font-size: 14px; } .prj-stappen details textarea { width: 100%; margin: 4px 0 8px; }
.prj-stappen details summary { cursor: pointer; color: var(--pool-700); }
.prj-stappen .prj-icoon { display: inline-block; width: 22px; color: var(--ink-500); }
.prj-stappen td:first-child { display: grid; grid-template-columns: 22px 1fr; align-items: center; } .prj-stappen td:first-child > details, .prj-stappen td:first-child > .prj-bedrag { grid-column: 2; }
.prj-bedrag { display: flex; gap: 6px; align-items: center; margin-top: 6px; } .prj-bedrag input { width: 120px; text-align: right; }
.prj-maand th { background: var(--paper-100); font-family: var(--font-display); font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--ink-900); padding-top: 14px; }
.prj-klaar td { background: #eef6f0; } .prj-overgeslagen td { background: var(--paper-100); } .prj-overgeslagen td:first-child input { text-decoration: line-through; color: var(--ink-500); }
.prj-te-laat td:nth-child(3) input { border-color: var(--red-600); } .prj-laat { color: var(--red-600); font-weight: 700; }
.prj-mail { font-size: 13px !important; padding: 6px 10px !important; white-space: nowrap; }
.prj-zien { white-space: nowrap; font-size: 14px; }
.prj-gepland { background: var(--pool-100); color: var(--pool-900); } .prj-lopend { background: #fff2cc; color: #6b4e00; } .prj-opgeleverd, .prj-nazorg { background: #dff3e4; color: #1e5b2e; } .prj-geannuleerd { background: #f6e1dd; color: #8a2e20; }
.crm-sfeer { margin: 12px 0 0; } .crm-sfeer img { display: block; max-width: 100%; height: auto; margin: 6px 0; }
/* webshop (/winkel/) */
.winkel-lijst { display: grid; gap: 12px; }
.winkel-product { display: grid; grid-template-columns: 160px minmax(0, 1fr) 9em; gap: 16px 20px; align-items: start; padding: 14px; background: var(--white, #fff); border: 1px solid var(--stone-300, #c8cbcd); }
.winkel-foto { width: 160px; height: 160px; object-fit: contain; background: #fff; }
.winkel-naam { font-size: 1.15em; margin: 0; } .winkel-meta { margin: 2px 0 6px; } .winkel-kort { margin: 0 0 8px; }
.winkel-ghs { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0 0 8px; font-size: 14px; }
.winkel-meer summary { cursor: pointer; color: var(--pool-700, #10768f); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.winkel-meer > div { padding-top: 6px; font-size: 15px; } .winkel-docs { margin: 6px 0; padding-left: 18px; }
.winkel-koop { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.winkel-prijs { font-family: var(--font-display, Georgia, serif); font-size: 1.35em; white-space: nowrap; margin: 0; display: flex; flex-direction: column; }
.winkel-prijs .app-klein { font-family: var(--font-body, sans-serif); font-size: 13px; }
.winkel-aantal { font-size: 14px; } .winkel-koop input { width: 100%; text-align: center; min-height: 44px; }
@media (max-width: 720px) { .winkel-product { grid-template-columns: 96px minmax(0, 1fr); } .winkel-foto { width: 96px; height: 96px; } .winkel-koop { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; } .winkel-koop input { width: 6em; } }
/* beheer: gevaarknop, klantenfiche, dubbels */
.btn-gevaar { background: #fff; color: #9b1c1c; border: 1px solid #9b1c1c; }
.btn-gevaar:hover, .btn-gevaar:focus-visible { background: #9b1c1c; color: #fff; }
.crm-kern { margin-bottom: 18px; }
.crm-versies { display: inline-block; margin-left: 8px; font-size: 13px; }
.crm-dubbel-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 10px; }
.bh-zoekklant { margin-bottom: 8px; }
.inline { display: inline; }
/* installatie op gsm: elke stap als kaart */
@media (max-width: 700px) {
  .prj-stappen thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prj-stappen, .prj-stappen tbody, .prj-stappen tr, .prj-stappen td, .prj-stappen th { display: block; width: 100%; }
  .prj-stappen tr { border: 1px solid var(--stone-300, #c8cbcd); padding: 8px 10px; margin-bottom: 10px; background: var(--white, #fff); }
  .prj-stappen td { border: 0; padding: 4px 0; }
  .prj-stappen input, .prj-stappen select { max-width: 100%; }
  .crm-dubbel-paar { grid-template-columns: 1fr; }
}
.crm-sfeer-keuze { border: 1px solid var(--rule, #d9d6cf); padding: 10px 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; width: 100%; }
.crm-sfeer-keuze legend { font-weight: 600; padding: 0 4px; } .crm-sfeer-extra { display: flex; flex-wrap: wrap; gap: 4px 16px; width: 100%; }
.crm-sfeer-keuze .app-rij { margin: 0; } .crm-sfeer-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 20px; }
.crm-sfeer-groep { display: flex; flex-direction: column; gap: 2px; } .crm-sfeer-groep .veldlabel { font-weight: 600; margin-top: 6px; }
.crm-sfeer-voortgang { border: 1px solid var(--rule, #d9d6cf); padding: 12px; margin-top: 12px; }
.crm-sfeer-kop { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.crm-sfeer-balk { height: 6px; background: var(--stone-150, #eceae5); margin: 0 0 12px; } .crm-sfeer-balk span { display: block; height: 100%; background: var(--waterline, #2aa6c4); transition: width .4s; }
.crm-sfeer-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.crm-sfeer-raster figure { margin: 0; } .crm-sfeer-raster img, .taak-leeg { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; border: 1px solid var(--rule, #d9d6cf); }
.crm-sfeer-raster figcaption { font-size: 14px; line-height: 1.35; margin-top: 4px; color: var(--ink-700); }
.taak-ref figcaption { font-weight: 600; } .taak-ref img { outline: 2px solid var(--ink-900); outline-offset: -2px; }
.taak-leeg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; text-align: center; background: var(--paper-100, #f7f5f1); color: var(--ink-700); font-size: 14px; }
.taak-leeg small { font-size: 12px; overflow-wrap: anywhere; } .taak-mislukt .taak-leeg { background: #fbeceb; color: var(--ink-900); }
.taak-draait { background: linear-gradient(90deg, var(--paper-100, #f7f5f1) 0%, #e2f1f6 50%, var(--paper-100, #f7f5f1) 100%); background-size: 200% 100%; animation: sfeer-laden 1.4s linear infinite; }
@keyframes sfeer-laden { to { background-position: -200% 0; } } @media (prefers-reduced-motion: reduce) { .taak-draait { animation: none; } }
.crm-sfeer-knoppen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .crm-sfeer-knoppen form { margin: 0; }

/* webshopproducten (beheer) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ws-producten .ws-cat th { background: var(--paper-100, #f7f5f1); text-align: left; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.ws-mini { display: block; width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid var(--rule, #d9d6cf); }
.ws-geenfoto { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink-500, #6b6e72); text-align: center; }
.crm-status.crm-ok { background: #dff2e6; }
.ws-bestanden { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 24px; }
.ws-foto { display: block; max-width: 220px; max-height: 220px; object-fit: contain; background: #fff; border: 1px solid var(--rule, #d9d6cf); margin: 4px 0; }
.ws-ghs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 16px; }
.ghs { display: inline-flex; align-items: center; gap: 8px; } .ghs svg { flex: none; }

/* beheer › instellingen: overzicht */
.inst-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.inst-kaart { background: var(--white, #fff); border: 1px solid var(--rule, #d9d6cf); padding: 16px 18px; display: flex; flex-direction: column; }
.inst-kaart h2 { margin: 0 0 4px; } .inst-kaart .app-dl { flex: 1; } .inst-kaart > p:last-child { margin: 12px 0 0; }

/* beheer › PIM */
.pim-tabel td.n, .pim-tabel th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pim-filters .app-rij .veld { flex: 1 1 160px; }
.pim-blad { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0; }
.pim-blad a, .pim-blad span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; border: 1px solid var(--rule, #d9d6cf); }
.pim-blad span[aria-current] { background: var(--ink-900, #1a1b1d); color: #fff; }
.pim-fiche { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 20px 32px; margin-bottom: 20px; }
@media (max-width: 760px) { .pim-fiche { grid-template-columns: 1fr; } }
.pim-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; align-content: start; }
.pim-fotos img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--rule, #d9d6cf); }
.pim-geenfoto { aspect-ratio: 1; border: 1px solid var(--rule, #d9d6cf); } .pim-docs { padding-left: 18px; }

/* sfeerbeelden: archief */
.sfeer-archief .taak { display: flex; flex-direction: column; gap: 6px; } .sfeer-knoppen { display: flex; flex-wrap: wrap; gap: 6px; }
.sfeer-knoppen form { margin: 0; } .sfeer-knoppen .btn { min-height: 36px; padding: 4px 12px; font-size: 14px; }
.sfeer-voorblad img { outline: 3px solid var(--waterline, #2aa6c4); outline-offset: -3px; } .sfeer-archief li:not(.sfeer-voorblad):not(.sfeer-in) img { opacity: .7; }
#sfeer-archief { margin-top: 18px; } .sfeer-melding:empty { display: none; }

/* offerte-editor: rolluik uit de PIM */
.rolluik-pim { margin-top: 16px; } .rp-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--rule, #d9d6cf); border: 1px solid var(--rule, #d9d6cf); margin: 8px 0 12px; }
.rp-kpi div { background: var(--white, #fff); padding: 10px 12px; } .rp-kpi dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-700); } .rp-kpi dd { margin: 2px 0 0; font-size: 18px; font-variant-numeric: tabular-nums; }
.rp-melding { margin: 0 0 8px; padding: 8px 12px; } .rp-tekening { margin: 8px 0 14px; overflow-x: auto; } .rp-tekening svg { display: block; width: 100%; min-width: 520px; height: auto; border: 1px solid var(--rule, #d9d6cf); }
.rp-alts { display: grid; gap: 2px; } .rp-lijnen caption { text-align: left; caption-side: top; padding-bottom: 6px; } .rp-tot td { border-top: 2px solid var(--ink-900, #1a1b1d); }

/* PIM: zoeken terwijl je typt */
.pim-resultaat[aria-busy=true] { opacity: .55; transition: opacity .15s; }
.pim-filters .app-rij .veld:first-child { flex: 2 1 280px; }

/* online boeken: producten meebestellen */
.bk-prod-lijst { display: grid; gap: 8px; } .bk-prod { display: grid; grid-template-columns: 64px minmax(0, 1fr) 5.5em; gap: 12px; align-items: center; padding: 8px 10px; background: var(--white, #fff); border: 1px solid var(--stone-300, #c8cbcd); }
.bk-prod img { width: 64px; height: 64px; object-fit: contain; } .bk-prod label { display: flex; flex-direction: column; gap: 2px; } .bk-prod input { width: 100%; text-align: center; min-height: 44px; }
.bk-prod-prijs { font-family: var(--font-display, Georgia, serif); }
.pim-ws { min-width: 150px; } .pim-ws .app-check { display: inline-flex; margin: 0; } .pim-ws-stand { display: block; }

/* adresveld met suggesties (adres-zoek.js): boeken, contracten */
.az-veld { position: relative; } .az-lijst { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 0; padding: 4px 0; list-style: none; background: var(--white, #fff); border: 1px solid var(--stone-300, #c8cbcd); box-shadow: 0 8px 24px rgba(26, 27, 29, .12); max-height: 300px; overflow-y: auto; }
.az-lijst li { padding: 11px 14px; min-height: 44px; cursor: pointer; line-height: 1.35; } .az-lijst li:hover, .az-lijst li[aria-selected="true"] { background: var(--paper-100, #f7f5f1); }
.az .az-ok { color: var(--ink-900); font-weight: 600; } .az-zelf { background: none; border: 0; padding: 6px 0; min-height: 44px; color: var(--pool-700, #10768f); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 15px; }
[data-adres-velden][hidden], .az-zelf[hidden] { display: none; }
.pim-koppel-in { width: 100%; min-width: 220px; margin-bottom: 4px; }
.crm-ctp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; padding: 10px 12px; background: var(--paper-100, #f7f5f1); } .crm-ctp label { font-weight: 600; } .crm-ctp select { width: auto; }
.crm-ctp-filter { display: inline-flex; margin: 0 8px; }
.winkel-oud { color: var(--ink-500, #6b6e72); font-size: .8em; text-decoration-thickness: 1px; } .winkel-nu { color: var(--pool-800, #0b5a6d); }

/* Mijn CT Pools */
.mijn-kop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 18px; } .mijn-kop .lead { margin: 0; } .mijn-kop .app-klein { flex-basis: 100%; margin: 0; }
.mijn-acties { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.mijn-acties a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; background: var(--white, #fff); border: 1px solid var(--rule, #d9d6cf); border-top: 3px solid var(--waterline, #2aa6c4); color: var(--ink-900); text-decoration: none; }
.mijn-acties a:hover { border-color: var(--pool-700, #10768f); } .mijn-acties b { font-family: var(--font-display, Georgia, serif); font-weight: 400; font-size: 21px; } .mijn-acties span { color: var(--ink-700); font-size: 15px; }
.mijn-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 48px; align-items: start; } @media (max-width: 860px) { .mijn-grid { grid-template-columns: minmax(0, 1fr); } }
.mijn-grid section { margin-bottom: 28px; } .mijn-grid .h2 { margin: 0 0 10px; }
.mijn-kaart { padding: 14px 16px; margin-bottom: 10px; background: var(--white, #fff); border: 1px solid var(--rule, #d9d6cf); } .mijn-kaart p { margin: 0 0 6px; } .mijn-kaart p:last-child { margin: 0; }
.mijn-datum { font-family: var(--font-display, Georgia, serif); font-size: 20px; }

/* online boeken: keuze per beurt of contract */
.bk-soort { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 0 0 24px; }
.bk-soort a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--white, #fff); border: 2px solid var(--rule, #d9d6cf); color: var(--ink-900); text-decoration: none; }
.bk-soort a:hover { border-color: var(--pool-700, #10768f); } .bk-soort a[aria-current] { border-color: var(--pool-700, #10768f); box-shadow: inset 0 4px 0 var(--waterline, #2aa6c4); }
.bk-soort b { font-family: var(--font-display, Georgia, serif); font-weight: 400; font-size: 22px; } .bk-soort span { color: var(--ink-700); font-size: 15px; }
.bk-formules { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.bk-formules li { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--white, #fff); border: 1px solid var(--rule, #d9d6cf); } .bk-formules h3 { margin: 0; font-size: 22px; }
.bk-formules p { margin: 0; } .bk-formules .btn { margin-top: auto; align-self: flex-start; } .bk-formule-prijs { font-family: var(--font-display, Georgia, serif); font-size: 26px; }

/* productpagina /winkel/<naam>/ */
.winkel-naam a { color: inherit; text-decoration: none; } .winkel-naam a:hover { text-decoration: underline; }
.winkel-detail { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px 40px; align-items: start; margin: 8px 0 32px; }
.winkel-detail-foto { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--rule, #d9d6cf); }
.winkel-detail-info .app-titel { margin: 0 0 4px; } .winkel-detail .winkel-prijs { font-size: 1.6em; margin: 12px 0; }
.winkel-detail-koop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 10px; } .winkel-detail-koop input { width: 6em; }
.winkel-detail-tekst { max-width: 72ch; } .winkel-detail-tekst .h2 { margin: 24px 0 8px; }
@media (max-width: 760px) { .winkel-detail { grid-template-columns: minmax(0, 1fr); } }
/* beheer › advertenties en meten */
.meten-log { font-size: 12px; white-space: pre-wrap; word-break: break-all; background: var(--paper-100, #f7f5f1); padding: 8px; max-height: 220px; overflow: auto; }
.meten-lijst ol { padding-left: 20px; } .meten-lijst li { margin-bottom: 6px; }

/* beheer › offerte: tabbladen per onderdeel */
.crm-tabs { position: sticky; top: 0; z-index: 4; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; padding: 8px 0; background: var(--paper-100, #f7f5f1); border-bottom: 1px solid var(--rule, #d9d6cf); }
.crm-tab { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 12px; border: 1px solid var(--rule, #d9d6cf); background: var(--white, #fff); color: var(--ink-900); font: inherit; font-size: 15px; cursor: pointer; }
.crm-tab small { font-size: 12px; color: var(--ink-500, #55585c); }
.crm-tab[aria-pressed="true"] { background: var(--ink-900); border-color: var(--ink-900); color: var(--white, #fff); }
.crm-tab[aria-pressed="true"] small { color: #cfd3d6; }
.crm-tab:focus-visible { outline: 2px solid var(--pool-700, #10768f); outline-offset: 2px; }
.crm-offerte-main { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.crm-offerte-main > .crm-config { order: -1; }
.crm-offerte-main > [data-tab="klant"] { order: -2; }
.crm-overzicht td.n { text-align: right; white-space: nowrap; }
.crm-naar { background: none; border: 0; padding: 0; color: var(--pool-700, #10768f); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; white-space: nowrap; }
main [data-tab][hidden] { display: none !important; }
/* offerte › renders: luchtfoto's van de plaatsing */
.crm-lucht { margin-top: 16px; }
.crm-lucht-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.crm-lucht figure { margin: 0; } .crm-lucht img { display: block; width: 100%; height: auto; border: 1px solid var(--rule, #d9d6cf); }

/* beheer › Is dit een zwembad? */
.quiz-teller { font-weight: 700; }
.quiz-kaart { display: grid; grid-template-columns: minmax(0, 660px) minmax(260px, 1fr); gap: 20px 28px; align-items: start; }
.quiz-groot { margin: 0; } .quiz-groot img { display: block; width: 100%; height: auto; background: #e8e6e1; }
.quiz-adres { margin: 0 0 4px; } .quiz-twijfel { margin: 8px 0 16px; padding-left: 18px; color: var(--ink-700); }
.quiz-knoppen { display: flex; flex-direction: column; gap: 10px; } .quiz-knoppen .btn { justify-content: flex-start; gap: 10px; }
.quiz-knoppen kbd, .quiz-terug kbd { display: inline-block; min-width: 1.6em; padding: 1px 6px; border: 1px solid currentColor; border-radius: 4px; font: 700 13px/1.3 ui-monospace, monospace; text-align: center; }
.quiz-nee { border-color: #b3261e !important; color: #b3261e !important; }
.quiz-gekozen { outline: 3px solid var(--pool-500, #2aa6c4); outline-offset: 2px; }
.quiz-terug-rij { margin-top: 14px; } .quiz-terug { min-height: 40px; font-size: 15px; gap: 8px; }
.quiz-terug:disabled { opacity: 0.45; cursor: default; }
.quiz-leer { margin-top: 28px; } .quiz-leer td.n, .quiz-leer th.n { text-align: right; } .quiz-leer form.inline { display: inline; }
.quiz-klein { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.quiz-klein figure { margin: 0; } .quiz-klein img { display: block; width: 100%; height: auto; background: #e8e6e1; }
.quiz [hidden] { display: none !important; }
@media (max-width: 900px) { .quiz-kaart { grid-template-columns: minmax(0, 1fr); } }
/* app-medewerkers: foto's uit de app, toewijzing werfstappen */
.app-fotos { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0; } .app-fotos figure { margin: 0; width: 160px; } .app-fotos img { width: 160px; height: 120px; object-fit: cover; border-radius: 6px; display: block; }
.prj-mw { margin-top: 4px; font-size: 13px; } .med-blok { margin-bottom: 18px; } .med-toestellen { margin: 4px 0 0; padding-left: 18px; }
/* Poolwatch-overzicht */
.pw-tabel td.n, .pw-tabel th.n { text-align: right; white-space: nowrap; } .pw-tabel tr.pw-let { background: #fff7e6; }
.pw-koppel { display: flex; gap: 6px; margin-top: 4px; } .pw-koppel input { width: 90px; padding: 3px 6px; font-size: 13px; min-height: 0; }
/* Klantenfiche in tabbladen */
.kf-kop { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.kf-badges { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; } .kf-contact { margin: 0; }
.kf-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--ink-200, #d9dee2); margin: 0 0 18px; }
.kf-tabs a { padding: 10px 14px; text-decoration: none; color: var(--ink-700, #2e3033); border-radius: 8px 8px 0 0; margin-bottom: -2px; border-bottom: 2px solid transparent; font-weight: 600; }
.kf-tabs a:hover { background: var(--pool-100, #e2f1f6); }
.kf-tabs a[aria-current="page"] { color: var(--pool-800, #0c5e73); border-bottom-color: var(--pool-700, #10768f); background: var(--pool-100, #e2f1f6); }
.kf-tel { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #fff; border: 1px solid var(--ink-200, #d9dee2); font-size: 12px; text-align: center; font-weight: 600; }
.kf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 14px; }
.kf-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.kf-inhoud .crm-blok { margin-bottom: 14px; } .kf-aandacht { border-left: 4px solid #c46a00; }
.kf-hist td.n, .kf-hist th.n, .kf-inhoud td.n, .kf-inhoud th.n { text-align: right; white-space: nowrap; }
/* Monitoring zwembaden (spreadsheet) */
.mon-balk { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; } .mon-balk input[type=search] { min-width: 240px; flex: 1 1 240px; }
.mon-filters { display: flex; flex-wrap: wrap; gap: 4px; } .mon-filter { border: 1px solid var(--pool-700, #10768f); background: #fff; color: var(--pool-800, #0c5e73); border-radius: 16px; padding: 5px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.mon-filter[aria-pressed="true"] { background: var(--pool-700, #10768f); color: #fff; }
.mon-wrap { overflow: auto; max-height: 75vh; border: 1px solid var(--ink-200, #d9dee2); border-radius: 8px; }
.mon-tabel { margin: 0; font-size: 13px; } .mon-tabel thead th { position: sticky; top: 0; background: #fff; z-index: 2; box-shadow: 0 1px 0 #1a1b1d; white-space: nowrap; }
.mon-tabel tbody th { position: sticky; left: 0; background: #fff; z-index: 1; text-align: left; font-weight: 600; min-width: 170px; }
.mon-tabel td.n { text-align: right; white-space: nowrap; } .mon-tabel tr.mon-let td, .mon-tabel tr.mon-let th { background: #fff7e6; }
.mon-sort { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; color: inherit; } th[aria-sort="ascending"] .mon-sort::after { content: " ▲"; } th[aria-sort="descending"] .mon-sort::after { content: " ▼"; }
.mon-tabel select { font-size: 13px; padding: 3px; min-height: 0; } .mon-tabel textarea { font-size: 13px; min-width: 180px; padding: 3px 6px; min-height: 0; resize: vertical; }
.mon-fout { color: #a4262c; font-weight: 700; }

.mon-tabel thead th { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; color: var(--ink-900, #1a1b1d); }
@media (max-width: 760px) { .kf-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; } .kf-tabs a { white-space: nowrap; padding: 9px 11px; } }
.kf-open td { background: #fff7e6; } .kf-tijdlijn li[hidden] { display: none; }
.zw-velden { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 14px; } .zw-breed { grid-column: 1 / -1; } .zw-bewerk { margin-top: 10px; } .zw-bewerk summary, .crm-blok details > summary.h3 { cursor: pointer; }
/* Werkorders */
.wo-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; } .wo-filter .veld { min-width: 150px; }
.wo-soort { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--pool-100, #e2f1f6); color: var(--pool-900, #08495a); white-space: nowrap; }
.wo-melding { background: #fde7e9; color: #a4262c; } .wo-installatie { background: #ede7f6; color: #4a2c8a; } .wo-levering { background: #fff4d6; color: #8a5a00; } .wo-contract { background: #e6f4ea; color: #1f7a3f; }
.wo-tabel tr.wo-hoog td { background: #fff7e6; } .wo-tabel td.n { text-align: right; white-space: nowrap; } .wo-nieuw summary { cursor: pointer; }
