/* =====================================================================
   055 Connect – één stylesheet voor de hele site.
   Opbouw: 1 lettertypen · 2 tokens · 3 basis · 4 hulpklassen · 5 knoppen
   6 formulieren · 7 headers · 8 homepage · 9 mobiel menu · 10 footer
   11 ledenomgeving · 12 beheer · 13 nieuwsbrief · 14 print · 15 responsive
   ===================================================================== */

/* ---------- 1. Lettertypen (zelf gehost, geen Google Fonts) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-serif-4-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-serif-4-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- 2. Tokens ---------- */
:root {
  --green: #263C30;          /* donkergroen */
  --green-deep: #1C2D25;     /* footer */
  --green-card: #2F4A3D;     /* kaart op groen */
  --green-line: #4E6A5B;     /* lijnen op groen */
  --green-line-2: #3E5A4B;
  --green-outline: #6F8A7B;
  --gold: #D3B36B;           /* goud op groen */
  --gold-num: #B08F47;       /* grote cijfers op licht (iets donkerder dan #B8964C voor contrast) */
  --gold-label: #86692A;     /* kleine labels op licht (#8A6D2B, iets donkerder voor 4.5:1) */
  --ground: #F4F3ED;
  --white: #FFFFFF;
  --text: #1E2B24;
  --muted: #4A5A51;
  --muted-2: #56655C;
  --border: #C7CDC6;
  --line: #D9DDD6;
  --line-soft: #E6E8E3;
  --line-card: #ECEEE9;
  --soft: #DCE2DC;
  --on-green: #DDE5DF;
  --on-green-2: #C9D6CD;
  --on-green-label: #A5B9AC;
  --input-bg: #FAFAF7;
  --danger: #9B2C2C;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Poppins, Helvetica, Arial, sans-serif;
  --gutter: 24px;
  --section: 104px;
  --radius-card: 18px;
}

/* ---------- 3. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-wrap: break-word; }
/* Vangnet tegen zijwaarts scrollen (v1.8). De echte oorzaken zijn weggehaald; dit vangt alleen
   nog iets onverwachts op, zoals een heel lange link. "clip" maakt geen scrollvlak (sticky header
   blijft werken); oudere Safari zonder clip valt terug op hidden op html (dat gaat naar het venster). */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body.page-home { font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--gold-label); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--green-deep); }

/* Focus: altijd goed zichtbaar */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.on-green :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--gold); color: var(--green-deep); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.main { padding: 40px 0 80px; min-height: 60vh; }

/* ---------- 4. Hulpklassen ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.strong { font-weight: 500; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; } .mt-18 { margin-top: 18px; } .mt-20 { margin-top: 20px; } .mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-48 { margin-top: 48px; }
.stack-12 > * + * { margin-top: 12px; }
.stack-16 > * + * { margin-top: 16px; }
.narrow { max-width: 720px; }
.inline-form { display: inline; margin: 0; }
.gold-italic { color: var(--gold); font-style: italic; }
.only-mobile { display: none; }
.only-desktop { display: inline; }
.only-desktop-flex { display: inline-flex; }
.only-desktop-grid { display: grid; }

.kicker { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-label); font-weight: 600; }
.kicker-gold { color: var(--gold); }
.kicker-light { color: var(--on-green-2); font-weight: 400; }
.kicker-sm { font-size: 12px; font-weight: 400; }
.kicker-sm-18 { letter-spacing: 0.18em; }
.list-label { margin-bottom: 12px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.label-gold { margin-top: 28px; margin-bottom: 6px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-label); font-weight: 600; }

.h-section { margin-top: 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
h1.h-section { margin-top: 0; }
.h-page { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.h-sub { font-size: 32px; line-height: 1.15; }
.h-card { font-size: 28px; line-height: 1.15; }
.h-card-sm { font-size: 26px; line-height: 1.15; }
.h-card-lg { margin-top: 8px; font-size: 30px; line-height: 1.15; }
.h-form { margin-top: 14px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; }
.h-done { margin-top: 18px; font-size: 30px; }
.h-wiz { font-size: 22px; font-weight: 500; }
.h-narrow { max-width: 760px; }

.card-box { background: var(--white); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.flash { margin-bottom: 20px; padding: 14px 18px; border-radius: 14px; font-size: 15px; background: #E3EFE7; color: #1F5136; }
.flash-fout { background: #F8E3E1; color: #7A2320; }
.flash-info { background: #FBF1DC; color: #6B4F14; }
.flash a { color: inherit; font-weight: 500; }
p.flash { margin-bottom: 0; }
.form-errors { padding: 16px 20px; border-radius: 14px; background: #F8E3E1; color: #7A2320; font-size: 15px; }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }
.field-error { color: #7A2320; font-size: 15px; font-weight: 500; }
.note-warn { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #FBF1DC; color: #6B4F14; font-size: 14px; }
.note-ok { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #E3EFE7; color: #1F5136; font-size: 14px; display: inline-block; }
.note-warn { display: inline-block; }
.tag { display: inline-block; margin: 2px 0 2px 6px; padding: 2px 10px; border-radius: 999px; background: var(--ground); font-size: 12px; color: var(--muted-2); vertical-align: middle; }
.tag-warn, .tag-failed { background: #F8E3E1; color: #7A2320; }
.tag-sent { background: #E3EFE7; color: #1F5136; }
.tag-logged { background: #FBF1DC; color: #6B4F14; }
.tag-logged, .tag-sent, .tag-failed, .tag-skipped { margin-left: 0; }
.back { margin: 0 0 12px; }
.back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-size: 15px; text-decoration: none; }
.back a:hover { text-decoration: underline; }
.done-check { margin: 0 auto; width: 72px; height: 72px; border-radius: 999px; background: var(--green); display: flex; align-items: center; justify-content: center; }
.done-box { text-align: center; padding: 20px 0; }
.done-box .muted { margin-top: 8px; }
.plain-list { margin: 0; padding-left: 20px; }
.pre { white-space: pre-wrap; word-break: break-word; background: var(--ground); padding: 16px; border-radius: 12px; font-size: 13px; }
details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 500; }

/* ---------- 5. Knoppen (pil, weight 500, 15px, min. 48px) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }
.btn-gold:hover { background: #DEC283; color: var(--green-deep); }
.btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: #1F3328; color: var(--white); }
.btn-outline { background: var(--white); color: var(--green); border-color: var(--green); font-weight: 400; }
.btn-outline:hover { background: var(--ground); color: var(--green); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--green-outline); font-weight: 400; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--white); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: var(--white); }
.btn-danger:hover { background: #7E2222; color: var(--white); }
.btn-danger-outline { background: var(--white); border-color: var(--danger); color: var(--danger); font-weight: 400; }
.btn-danger-outline:hover { background: #FBEDEC; color: var(--danger); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-row form { margin: 0; }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--green); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--gold-label); }
.pill-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--green-outline); border-radius: 999px; background: transparent; color: var(--on-green); font-size: 14px; text-decoration: none; }
.pill-link:hover { border-color: var(--gold); color: var(--white); }
.text-link-strong { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- 6. Formulieren ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--input-bg); font-size: 16px; font-weight: 400; color: var(--text); }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23263C30' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field-hint { font-weight: 400; color: var(--muted-2); font-size: 13px; }
.field-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.field-lg { font-size: 15px; font-weight: 500; }
.field-lg input, .field-lg select, .field-lg textarea { min-height: 52px; border-radius: 12px; background: var(--white); }
.field-lg textarea { min-height: 96px; }
.field-dark { color: var(--on-green); font-weight: 400; }
.field-dark input, .field-dark textarea { border-color: var(--green-outline); border-radius: 12px; background: var(--green-card); color: var(--white); }
.field-dark input::placeholder, .field-dark textarea::placeholder { color: #A9BCB0; }
.field-dark input:focus, .field-dark textarea:focus { border-color: var(--gold); }
.field-search input { border-radius: 999px; padding: 0 18px; background: var(--white); }
.field-grow { flex: 1 1 320px; }
.field-narrow { max-width: 360px; }
.field-full { grid-column: 1 / -1; }
.field-indent { margin-left: 34px; font-weight: 400; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); font-weight: 400; cursor: pointer; }
.check input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green); }
.check-lg { font-size: 16px; color: var(--text); }
.check-lg input { flex-basis: 22px; width: 22px; height: 22px; margin-top: 2px; }
.check-box { padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--input-bg); color: var(--text); }
.radio-list { display: flex; flex-direction: column; gap: 10px; }
.radio { display: flex; gap: 12px; align-items: center; min-height: 32px; font-size: 16px; cursor: pointer; }
.radio input { width: 22px; height: 22px; margin: 0; accent-color: var(--green); flex: 0 0 22px; }
.hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.toolbar .field-search { flex: 1 1 280px; }

/* Schakelaar "Zichtbaar voor leden" */
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 400; color: var(--muted); cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.switch-track { position: relative; flex: 0 0 44px; width: 44px; height: 26px; border-radius: 999px; background: #C3CAC3; transition: background-color .2s ease; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s ease; }
.switch input:checked + .switch-track { background: var(--green); }
.switch input:checked + .switch-track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--green); outline-offset: 2px; }
.switch input:checked ~ .switch-text { color: var(--text); }
.field-with-switch { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.file-btn { position: relative; overflow: hidden; }
.file-btn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file-btn:focus-within { outline: 3px solid var(--green); outline-offset: 3px; }

/* ---------- 7. Headers ---------- */
.site-header, .app-header { background: var(--green); color: var(--white); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.logo-link { display: block; flex: 0 0 auto; text-decoration: none; line-height: 0; }
.logo { display: block; height: 72px; width: auto; }
.logo-home { height: 84px; }
.logo-app { height: 64px; }
.hdr-simple .header-row { padding-top: 16px; padding-bottom: 16px; }
.hdr-simple .logo { height: 64px; }
.header-row-app { padding-top: 16px; padding-bottom: 0; gap: 12px; }
.admin-header .header-row-app { padding-bottom: 16px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.main-nav a { color: var(--on-green); text-decoration: none; }
.main-nav a:not(.btn):hover { color: var(--white); text-decoration: underline; }
.btn-nav { min-height: 44px; padding: 0 22px; }
.menu-btn { display: none; width: 52px; height: 52px; padding: 0; border: 1px solid var(--green-outline); border-radius: 999px; background: transparent; align-items: center; justify-content: center; }
.menu-btn:hover { border-color: var(--gold); }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.user-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; font-size: 14px; color: var(--on-green); }
.user-hi { display: inline-flex; align-items: center; gap: 12px; color: var(--on-green); text-decoration: none; margin-left: 4px; }
.user-hi:hover { color: var(--white); }
.user-name { color: var(--on-green); }
.admin-brand { display: flex; align-items: center; gap: 18px; }
.badge-outline { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); font-size: 13px; }

.tabs { display: flex; gap: 4px; padding-top: 12px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 14px 14px 0 0; color: var(--on-green); font-size: 15px; text-decoration: none; }
.tab:hover { color: var(--white); background: rgba(255,255,255,.06); }
.tab.is-active { background: var(--ground); color: var(--green); font-weight: 500; }
.tab-short { display: none; }

/* Avatars */
.avatar { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 999px; background: var(--soft); color: var(--green); font-weight: 500; line-height: 1; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-gold { width: 40px; height: 40px; background: var(--gold); color: var(--green-deep); font-size: 15px; }
.avatar-44 { width: 44px; height: 44px; font-size: 14px; }
.avatar-48 { width: 48px; height: 48px; font-size: 16px; }
.avatar-140 { width: 140px; height: 140px; font-family: var(--serif); font-weight: 400; font-size: 48px; }

/* ---------- 8. Homepage ---------- */
.hero { background: var(--green); color: var(--white); }
.hero-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-end; padding-top: 72px; padding-bottom: 96px; }
.hero-text { flex: 999 1 560px; min-width: 0; }
.hero-kicker { margin-bottom: 24px; }
.hero-title { font-size: clamp(42px, 6vw, 76px); line-height: 1.05; letter-spacing: -0.01em; }
.hero-lead { margin-top: 28px; max-width: 560px; font-size: 19px; color: var(--on-green); }
.hero-buttons { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.next-box { flex: 1 1 340px; min-width: 0; background: var(--green-card); border-radius: 20px; padding: 32px; }
.next-title { margin-top: 14px; font-size: 30px; line-height: 1.15; }
.next-grid { margin: 24px 0 0; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; font-size: 15px; color: var(--on-green); }
.next-grid dt { color: var(--on-green-label); }
.next-grid dd { margin: 0; }
.next-mobile { margin-top: 10px; font-size: 14px; color: var(--on-green); }

.section { padding: var(--section) 0; }
.section-flush-top { padding-top: 0; }
.bg-white { background: var(--white); }
.bg-green { background: var(--green); color: var(--white); }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.split-main { flex: 1 1 520px; min-width: 0; }
.split-side { flex: 1 1 380px; min-width: 0; }
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--white); border-radius: var(--radius-card); padding: 32px; }
.step-nr { font-size: 40px; color: var(--gold-num); line-height: 1; }
.step h3 { margin: 22px 0 8px; font-size: 19px; font-weight: 500; }
.step p:not(.step-nr) { font-size: 16px; color: var(--muted); }
.photos { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.photo { aspect-ratio: 3 / 2; border-radius: var(--radius-card); background: var(--soft); display: flex; align-items: flex-end; padding: 20px; font-size: 14px; color: #3B4A42; }

.two-col { display: flex; flex-wrap: wrap; gap: 56px; }
.col-side { flex: 1 1 320px; min-width: 0; }
.col-main { flex: 2 1 560px; min-width: 0; }
.agenda-row { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.agenda-date { flex: 0 0 170px; font-weight: 600; color: var(--green); }
.agenda-theme { flex: 1 1 280px; min-width: 0; font-size: 24px; line-height: 1.25; }
.agenda-past { gap: 4px 24px; padding: 14px 0; border-top-color: var(--line-soft); font-size: 16px; color: var(--muted-2); }
.agenda-past .agenda-date { font-weight: 400; color: var(--muted-2); }
.agenda-past .agenda-theme { font-size: 16px; line-height: 1.6; }
.agenda-empty { color: var(--muted); }
.list-label-past { margin-top: 48px; }

.benefits { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.benefit { border: 1px solid var(--green-line); border-radius: var(--radius-card); padding: 32px; }
.benefit h3, .join-steps h3 { margin: 0 0 10px; font-size: 19px; font-weight: 500; }
.benefit p, .join-steps p { font-size: 16px; color: var(--on-green-2); }
.join { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.join-steps { flex: 2 1 560px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.join-steps li { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--green-line); }
.join-steps li:last-child { border-bottom: 1px solid var(--green-line); }
.join-steps h3 { margin-bottom: 6px; }
.join-nr { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 999px; background: var(--gold); color: var(--green-deep); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.price-card { flex: 1 1 300px; min-width: 0; background: var(--ground); color: var(--text); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 6px; }
.price { margin-top: 8px; font-size: 56px; line-height: 1; }
.price-sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.price-note { margin-top: 20px; font-size: 15px; color: var(--muted); }
.price-cta { margin-top: auto; padding-top: 28px; }

.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc { background: var(--white); border-radius: 14px; }
.acc-h { font-size: inherit; font-weight: inherit; }
.acc-btn { width: 100%; min-height: 64px; padding: 18px 24px; display: flex; align-items: center; gap: 18px; background: transparent; border: 0; border-radius: 14px; text-align: left; color: var(--text); }
.acc-nr { flex: 0 0 28px; font-size: 20px; color: var(--gold-label); }
.acc-title { flex: 1 1 auto; font-weight: 600; font-size: 17px; }
.acc-sign { flex: 0 0 24px; font-size: 22px; color: var(--green); text-align: center; line-height: 1; }
.acc-body { padding: 0 24px 22px 70px; font-size: 16px; color: var(--muted); }

.form-card { background: var(--white); border-radius: 24px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; }
.form-card-intro { flex: 1 1 320px; min-width: 0; }
.kennis-form { flex: 1.4 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start; }
.kennis-form .form-errors { grid-column: 1 / -1; }
.form-done { flex: 1.4 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; border-radius: 18px; background: var(--ground); }
.form-done .muted { margin-top: 8px; max-width: 420px; }

/* ---------- 9. Mobiel menu (onder 860px) ---------- */
.menu-overlay { position: fixed; inset: 0; z-index: 50; background: var(--green); color: var(--white); display: flex; flex-direction: column; padding: 14px var(--gutter) 28px; overflow-x: hidden; overflow-y: auto; --mx: calc(100% - 46px); --my: 44px; }
.menu-overlay.is-open { animation: c055reveal .6s cubic-bezier(.65,0,.35,1) both; }
.menu-overlay.is-closing { animation: c055hide .45s cubic-bezier(.65,0,.35,1) both; }
@keyframes c055reveal { from { clip-path: circle(0 at var(--mx) var(--my)); } to { clip-path: circle(150vmax at var(--mx) var(--my)); } }
@keyframes c055hide { from { clip-path: circle(150vmax at var(--mx) var(--my)); } to { clip-path: circle(0 at var(--mx) var(--my)); } }
@keyframes c055up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes c055tree { from { opacity: 0; transform: scale(.92); } to { opacity: .09; transform: none; } }
/* De boom steekt bewust over de rand; .menu-deco is precies zo groot als het menu en knipt hem af. */
.menu-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.menu-tree { position: absolute; right: -90px; bottom: 60px; width: 420px; max-width: none; height: auto; opacity: .09; }
.menu-overlay.is-open .menu-tree { animation: c055tree 1.2s ease .2s both; }
.menu-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.logo-menu { height: 60px; }
.menu-close { width: 52px; height: 52px; padding: 0; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); display: flex; align-items: center; justify-content: center; }
.menu-nav { position: relative; margin-top: 44px; display: flex; flex-direction: column; }
.menu-link { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--green-line-2); color: var(--white); text-decoration: none; }
.menu-link:hover { color: var(--white); }
.menu-nr { flex: 0 0 26px; font-size: 12px; color: var(--gold); letter-spacing: 0.08em; }
.menu-label { flex: 1 1 auto; font-family: var(--serif); font-size: 36px; line-height: 1.1; }
.menu-arrow { align-self: center; flex: 0 0 20px; transition: transform .25s ease; }
.menu-link:hover .menu-arrow { transform: translateX(6px); }
.menu-overlay.is-open .menu-link, .menu-overlay.is-open .menu-bottom { animation: c055up .55s cubic-bezier(.2,.7,.2,1) both; }
.menu-overlay.is-open .menu-link:nth-child(1) { animation-delay: .18s; }
.menu-overlay.is-open .menu-link:nth-child(2) { animation-delay: .25s; }
.menu-overlay.is-open .menu-link:nth-child(3) { animation-delay: .32s; }
.menu-overlay.is-open .menu-link:nth-child(4) { animation-delay: .39s; }
.menu-overlay.is-open .menu-bottom { animation-delay: .5s; }
.menu-bottom { position: relative; margin-top: auto; padding-top: 32px; }
.menu-next { border: 1px solid var(--green-line); border-radius: 16px; padding: 16px 18px; background: var(--green-card); }
.menu-next .kicker { font-size: 11px; letter-spacing: 0.2em; }
.menu-next-title { margin-top: 6px; font-size: 15px; font-weight: 500; }
.menu-bottom .btn { margin-top: 14px; }
.menu-contact { margin-top: 16px; text-align: center; font-size: 13px; color: var(--on-green-2); }
.menu-contact a { color: var(--white); }
.menu-login { margin-top: 6px; }
html.menu-open { overflow: hidden; }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--green-deep); color: var(--on-green-2); padding: 64px 0 40px; font-size: 15px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-col { flex: 1 1 220px; min-width: 0; }
.footer-brand { flex-basis: 280px; }
.logo-footer { display: block; width: 150px; height: auto; }
.footer-kicker { margin-top: 12px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.site-footer a { color: var(--on-green-2); }
.site-footer a:hover { color: var(--white); }
.site-footer .link-white { color: var(--white); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #34493E; font-size: 13px; color: #9FB4A7; }
.slim-footer { background: var(--green-deep); color: var(--on-green-2); font-size: 13px; }
.slim-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; }
.slim-footer a { color: var(--white); }

/* Inloggen & tekstpagina's */
.login-box { max-width: 520px; margin: 24px auto 0; text-align: center; }
.login-logo { display: block; width: 120px; height: auto; margin: 0 auto 28px; }
.login-card { background: var(--white); border-radius: 22px; padding: clamp(24px, 5vw, 44px); text-align: left; }
.login-card .done-check { margin: 0 0 18px; }
.h-login { font-size: clamp(28px, 4vw, 36px); line-height: 1.15; margin-bottom: 12px; }
.prose { max-width: 760px; background: var(--white); border-radius: 22px; padding: clamp(24px, 5vw, 56px); }
.prose .h-page { margin-top: 10px; }
.prose .lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.prose h2 { margin: 36px 0 10px; font-size: 26px; line-height: 1.2; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }

/* ---------- 11. Ledenomgeving ---------- */
.lc-card { transition: transform .2s ease, box-shadow .2s ease; }
.lc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(38,60,48,.12); }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.meeting-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.rsvp-card { flex: 999 1 560px; min-width: 0; background: var(--green); color: var(--white); border-radius: 22px; padding: 36px; }
.rsvp-card .h-page { margin-top: 12px; }
.rsvp-meta { margin-top: 14px; color: var(--on-green); }
.rsvp-question { margin-top: 14px; font-size: 15px; color: var(--on-green); }
.rsvp-question span { color: var(--gold); }
.rsvp-ask { margin: 28px 0 12px; font-weight: 500; }
.rsvp-card .btn-outline-light { font-weight: 400; }
.sub-form { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.sub-form .field { flex: 1 1 280px; max-width: 420px; font-size: 14px; }
.rsvp-note { margin-top: 16px; font-size: 14px; color: var(--gold); }
.program-card { flex: 1 1 320px; min-width: 0; background: var(--white); border-radius: 22px; padding: 32px; }
.program { margin: 18px 0 0; padding: 0; list-style: none; }
.program li { display: flex; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line-card); font-size: 15px; }
.program-nr { flex: 0 0 22px; color: var(--gold-label); font-weight: 500; }
.who { margin-top: 48px; }
.who-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.person-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.person { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--white); color: var(--text); text-decoration: none; min-width: 0; }
.person:hover { color: var(--text); }
.person-text { min-width: 0; }
.person-name { display: block; font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.person-sub { display: block; font-size: 13px; color: var(--muted-2); }
.person-static { opacity: .95; }

.search-form { flex: 0 1 360px; min-width: 0; }
.search-form .field { font-weight: 500; }
.filter-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--green); font-size: 14px; text-decoration: none; }
.chip-btn:hover { border-color: var(--green); color: var(--green); }
.chip-btn.is-on { background: var(--green); border-color: var(--green); color: var(--white); }
.face-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.face { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--white); color: var(--text); text-decoration: none; min-width: 0; }
.face:hover { color: var(--text); }
.face-photo { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; width: 100%; background: var(--soft); color: var(--green); }
.face-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face-ini { font-family: var(--serif); font-size: 56px; }
.face-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: var(--green); color: var(--gold); font-size: 12px; }
.face-info { display: block; padding: 16px 18px 18px; }
.face-name { display: block; font-weight: 500; overflow-wrap: break-word; hyphens: manual; }
.face-company { display: block; font-size: 14px; color: var(--muted-2); }
.chip { display: inline-block; max-width: 100%; overflow-wrap: break-word; hyphens: manual; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--ground); font-size: 13px; color: var(--green); }

.panel-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(20,33,26,.55); display: flex; justify-content: flex-end; overflow: hidden; }
.panel { width: min(460px, 100%); height: 100%; overflow-y: auto; background: var(--white); padding: 28px; outline: none; }
.panel-backdrop.is-open .panel { animation: c055slide .3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes c055slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.panel-top { display: flex; justify-content: flex-end; }
.icon-btn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; }
.icon-btn:hover { border-color: var(--green); }
.panel .avatar-140 { margin-top: 8px; display: flex; }
.panel-name { margin-top: 20px; font-size: 32px; line-height: 1.1; }
.panel-sub { margin-top: 6px; }
.role-chip { margin-top: 10px; display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--green); color: var(--gold); font-size: 13px; }
.panel .label-gold { margin-top: 24px; }
.panel-text { color: var(--text); }
.panel-quote { padding: 14px 16px; border-radius: 14px; background: var(--ground); color: var(--text); }
.panel-note { margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--ground); color: var(--muted); font-size: 14px; }

.help-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.help-main { flex: 999 1 560px; min-width: 0; }
.help-aside { flex: 0 1 380px; min-width: 0; }
.q-list { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.q-item { background: var(--white); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 210px; }
.q-head { display: flex; align-items: center; gap: 14px; }
.q-who { min-width: 0; }
.q-name { font-size: 15px; font-weight: 500; }
.q-mine { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--ground); font-size: 12px; font-weight: 400; color: var(--green); }
.q-foot { margin-top: auto; padding-top: 4px; }
.q-item.is-mine { box-shadow: inset 0 0 0 2px var(--gold); }
.q-item form { margin: 0; }
.q-body { flex: 1 1 260px; min-width: 0; }
.q-text { font-size: 19px; line-height: 1.4; font-weight: 500; overflow-wrap: break-word; hyphens: manual; }
.q-meta { margin-top: 0; font-size: 13px; color: var(--muted-2); }
.q-helpers { margin-top: 6px; font-size: 13px; color: var(--green); font-weight: 500; }
.help-card { background: var(--green); color: var(--white); border-radius: 22px; padding: 28px; position: sticky; top: 24px; }
.help-card-sub { margin-top: 8px; font-size: 14px; color: var(--on-green-2); }
.char-count { font-size: 12px; font-weight: 400; color: var(--muted-2); text-align: right; }
.field-dark .char-count { color: #A9BCB0; }

.profile-form { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.form-section { background: var(--white); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.form-section-title { margin-bottom: 14px; font-size: 19px; font-weight: 500; }
.photo-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.photo-actions { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* v1.6 Profielfoto verschuiven en zoomen */
.photo-media { flex: 0 0 auto; display: flex; }
.photo-row.is-editing { align-items: flex-start; }
.pe-stage { position: relative; width: 240px; height: 240px; overflow: hidden; border-radius: 16px; background: var(--soft); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.pe-stage[hidden] { display: none; }
.pe-stage.is-dragging { cursor: grabbing; }
.pe-stage:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 16px; }
.pe-img { position: absolute; left: 0; top: 0; max-width: none; max-height: none; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.pe-ring { position: absolute; inset: 0; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 200px rgba(244, 243, 237, .74); pointer-events: none; }
.pe-tools { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; max-width: 440px; }
.pe-tools[hidden] { display: none; }
.pe-help { font-size: 15px; line-height: 1.5; }
.pe-help strong { display: block; font-weight: 500; color: var(--text); }
.pe-help .muted { font-size: 14px; }
.pe-zoom { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 320px; }
.pe-zbtn { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--green); border-radius: 999px; background: var(--white); color: var(--green); cursor: pointer; }
.pe-zbtn:hover { background: var(--ground); }
.pe-range { flex: 1 1 auto; min-width: 0; height: 44px; margin: 0; accent-color: var(--green); cursor: pointer; }
.pe-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pe-view { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.photo-row.is-editing .pe-view .muted { display: none; }
@media (max-width: 600px) {
  .pe-buttons { width: 100%; }
  .pe-buttons .btn-green { flex: 1 1 100%; }
  .pe-view, .pe-view .btn-row { width: 100%; }
  .pe-view .btn-row .btn { flex: 1 1 100%; }
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.data-card { margin-top: 32px; background: var(--white); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.data-card .muted { margin-top: 8px; }

/* ---------- 12. Beheer ---------- */
.tile-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tile-grid-small { margin-top: 0; }
.tile { position: relative; min-height: 190px; padding: 26px; border: 0; border-radius: 22px; background: var(--white); color: var(--text); text-align: left; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; width: 100%; font: inherit; }
.tile:hover { color: var(--text); }
.tile-small { min-height: 150px; }
.tile-plain { min-height: 0; justify-content: flex-start; gap: 4px; padding: 26px; border-radius: 20px; }
.tile-form { margin: 0; display: flex; }
.bh-tile { transition: transform .2s ease, box-shadow .2s ease; }
.bh-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(38,60,48,.14); }
.tile-nr { width: 52px; height: 52px; border-radius: 16px; background: var(--green); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; }
.tile-title { display: block; font-size: 19px; font-weight: 500; }
.tile-sub { display: block; margin-top: 4px; font-size: 14px; color: var(--muted-2); }
.tile-badge { position: absolute; top: 22px; right: 22px; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--gold); color: var(--green-deep); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.stats-bar { margin-top: 40px; background: var(--green); color: var(--white); border-radius: 22px; padding: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.stats-title { flex: 1 1 320px; min-width: 0; }
.stats { flex: 2 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--green-card); border-radius: 16px; padding: 18px; }
.stat-nr { font-size: 36px; line-height: 1; }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--on-green-2); }

.wiz-steps { margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.wiz-step { padding: 8px 16px; border-radius: 999px; background: var(--white); color: var(--muted-2); font-size: 14px; }
.wiz-step.is-current { background: var(--green); color: var(--white); }
.wiz-step.is-done { color: var(--green); }
.wiz-card { margin-top: 20px; background: var(--white); border-radius: 22px; padding: clamp(24px, 4vw, 40px); max-width: 720px; }
.wiz-card + .wiz-card { margin-top: 24px; }
.wiz-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.wiz-actions-rev { flex-direction: row-reverse; }
.summary-box { padding: 20px; border-radius: 16px; background: var(--ground); }

.row-list { display: flex; flex-direction: column; gap: 14px; }
.row-card { background: var(--white); border-radius: 20px; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; justify-content: space-between; }
.row-main { flex: 1 1 320px; min-width: 0; }
.row-kicker { font-size: 13px; color: var(--muted-2); }
.row-title { margin-top: 2px; font-size: 19px; font-weight: 500; }
.row-title-sm { font-size: 16px; }
.app-card { background: var(--white); border-radius: 20px; padding: 24px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.app-info { flex: 1 1 320px; min-width: 0; }
.app-kind { font-size: 13px; color: var(--muted-2); }
.app-name { margin-top: 2px; font-size: 19px; font-weight: 500; }
.app-name-sm { font-size: 16px; }
.app-name .muted { font-weight: 400; }
.app-card .muted { margin-top: 2px; overflow-wrap: anywhere; }
.app-card-done { padding: 18px 24px; }
.app-result { font-weight: 500; color: var(--green); font-size: 15px; }

.table-wrap { background: var(--white); border-radius: 20px; padding: 8px 24px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { padding: 14px 12px 10px 0; text-align: left; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; overflow-wrap: anywhere; }
.table tr:last-child td { border-bottom: 0; }
.table .td-action { text-align: right; white-space: nowrap; padding-right: 0; }
.table tr.is-inactive td { color: var(--muted-2); }
.table tr.is-selected td { background: #FBF6EA; }

.check-list { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.check-list li { padding: 6px 0; }
.check-list .is-ok { color: #1F5136; }
.check-list .is-warn { color: #6B4F14; }
.check-list .is-bad { color: #7A2320; font-weight: 500; }

.progress { display: block; width: 100%; height: 14px; border: 0; border-radius: 999px; background: var(--ground); overflow: hidden; appearance: none; -webkit-appearance: none; }
.progress::-webkit-progress-bar { background: var(--ground); border-radius: 999px; }
.progress::-webkit-progress-value { background: var(--green); border-radius: 999px; transition: width .3s ease; }
.progress::-moz-progress-bar { background: var(--green); border-radius: 999px; }
.send-counts { font-size: 15px; color: var(--muted); }
.send-error { margin-top: 12px; color: #7A2320; font-weight: 500; }

/* ---------- 13. Nieuwsbrief / mailvoorbeeld ---------- */
.compose-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.compose-form { flex: 1 1 460px; min-width: 0; margin: 0; }
.compose-preview { flex: 1 1 460px; min-width: 0; position: sticky; top: 16px; }
.mail-frame { display: block; width: 100%; height: 720px; border: 0; border-radius: 16px; background: var(--ground); box-shadow: 0 0 0 1px var(--line); }
.mail-frame-tall { height: calc(100vh - 80px); min-height: 560px; }
.nb-block { margin: 20px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.nb-block legend { padding: 0 8px; font-weight: 500; font-size: 15px; }
.nb-image { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.nb-thumb { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--ground); }
.compose-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 14. Print ---------- */
.page-print { background: var(--white); }
.page-print .main { padding-top: 24px; }
.print-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-bottom: 28px; }
.print-head { display: flex; gap: 28px; align-items: center; padding-bottom: 20px; border-bottom: 2px solid var(--green); }
.print-logo { width: 110px; height: auto; flex: 0 0 auto; }
.print-title { margin-top: 6px; font-size: 32px; line-height: 1.15; }
.print-head .muted { margin-top: 4px; font-size: 14px; }
.print-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 13px; }
.print-table th { text-align: left; padding: 10px 10px 8px 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-label); border-bottom: 1px solid var(--line); }
.print-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; overflow-wrap: anywhere; }
.print-table .col-nr { width: 28px; color: var(--muted-2); }
.print-foot { margin-top: 20px; font-size: 11px; color: var(--muted-2); }
@media print {
  @page { size: A4 landscape; margin: 14mm; }
  body { background: #fff; font-size: 12px; }
  .no-print, .skip-link, .slim-footer, .site-footer { display: none !important; }
  .main { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .print-table tr { break-inside: avoid; }
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 860px) {
  :root { --section: 72px; }
  .public-header { position: sticky; top: 0; z-index: 20; }
  .public-header .header-row { padding-top: 14px; padding-bottom: 14px; flex-wrap: nowrap; }
  .logo-home { height: 60px; }
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-inner { padding-top: 36px; padding-bottom: 44px; gap: 28px; }
  .compose-preview { position: static; }
  .mail-frame-tall { height: 640px; }
  .help-card { position: static; }
}

@media (min-width: 861px) {
  .menu-overlay { display: none !important; }
}

@media (max-width: 600px) {
  :root { --section: 48px; } /* v1.8: marge blijft 24px, net als in de ledenomgeving */
  body.page-home { font-size: 16px; }
  .only-mobile { display: inline; }
  p.only-mobile { display: block; }
  .only-desktop, .only-desktop-flex, .only-desktop-grid { display: none; }
  .header-row { gap: 12px; }
  .logo, .hdr-simple .logo, .logo-app { height: 52px; }

  .hero-kicker { margin-bottom: 18px; font-size: 11px; letter-spacing: 0.2em; }
  .hero-title { font-size: 40px; line-height: 1.08; }
  .hero-lead { margin-top: 18px; font-size: 16px; }
  .hero-buttons { margin-top: 26px; }
  .hero-buttons .btn { width: 100%; }
  .next-box { padding: 22px; border-radius: 18px; flex-basis: 100%; }
  .next-box .kicker { font-size: 11px; letter-spacing: 0.2em; }
  .next-title { margin-top: 8px; font-size: 20px; line-height: 1.3; font-weight: 500; }

  .kicker { font-size: 11px; letter-spacing: 0.2em; }
  .h-section { margin-top: 10px; font-size: 30px; line-height: 1.12; }
  .split { gap: 16px; }
  .steps { margin-top: 24px; gap: 12px; }
  .step { display: flex; gap: 16px; padding: 22px; border-radius: 16px; }
  .step-nr { flex: 0 0 30px; font-size: 22px; line-height: 1.2; } /* v1.8: vaste breedte, zodat de teksten van 01 t/m 04 precies onder elkaar staan */
  .step h3 { margin: 0 0 4px; font-size: 17px; }
  .step p:not(.step-nr) { font-size: 14px; }
  .photos { display: none; }
  .two-col { gap: 28px; }
  .agenda-row { padding: 16px 0; }
  .agenda-date { flex-basis: 100%; font-size: 14px; }
  .agenda-theme { font-size: 20px; }
  .agenda-past .agenda-theme { font-size: 15px; }
  .list-label-past { margin-top: 32px; }
  .benefits { margin-top: 28px; gap: 12px; }
  .benefit { padding: 22px; border-radius: 16px; }
  .join { margin-top: 40px; gap: 28px; }
  .join-steps li { gap: 16px; padding: 20px 0; }
  .join-nr { flex-basis: 36px; width: 36px; height: 36px; }
  .price-card { padding: 26px; }
  .price { font-size: 44px; }
  .acc-btn { padding: 16px 18px; gap: 12px; }
  .acc-nr { flex-basis: 20px; font-size: 18px; }
  .acc-title { font-size: 16px; }
  .acc-body { padding: 0 18px 18px 50px; font-size: 15px; }
  .form-card { gap: 28px; border-radius: 20px; padding: 26px 20px; }
  .h-form { font-size: 26px; line-height: 1.15; }
  .kennis-form { grid-template-columns: minmax(0, 1fr); }
  .site-footer { padding-top: 48px; }
  .footer-cols { gap: 28px; }

  .main { padding: 28px 0 56px; }
  .user-name { display: none; }
  .header-row-app { flex-wrap: nowrap; }
  .admin-brand { gap: 12px; }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 14px; padding-bottom: 16px; overflow: visible; }
  .tab { justify-content: center; min-height: 44px; padding: 0 10px; border: 1px solid var(--green-line); border-radius: 999px; font-size: 14px; }
  .tab.is-active { border-color: var(--ground); }
  .tab-long { display: none; }
  .tab-short { display: inline; }
  .rsvp-card, .program-card { padding: 24px 20px; border-radius: 20px; }
  .rsvp-card .btn-row .btn { width: 100%; }
  .sub-form .field { max-width: none; }
  .sub-form .btn { width: 100%; }
  .h-sub { font-size: 26px; }
  .person-grid { grid-template-columns: minmax(0, 1fr); }
  .face-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .face-ini { font-size: 40px; }
  .face-info { padding: 12px 14px 14px; }
  .face-badge { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; }
  .search-form { flex-basis: 100%; }
  .q-item { padding: 18px; gap: 12px; }
  .q-item form, .q-item form .btn { width: 100%; }
  .panel { padding: 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; padding: 22px; gap: 14px; }
  .tile-grid { gap: 12px; }
  .stats-bar { padding: 24px 20px; gap: 20px; }
  .stats { gap: 8px; }
  .stat { padding: 14px 12px; }
  .stat-nr { font-size: 30px; }
  .stat-label { font-size: 13px; }
  .wiz-card { padding: 22px 20px; }
  .wiz-actions .btn { flex: 1 1 100%; }
  .row-card .btn-row, .app-card .btn-row { width: 100%; }
  .app-card .btn-row form { flex: 1 1 0; }
  .app-card .btn-row .btn { width: 100%; padding: 0 12px; }
  .compose-actions .btn { width: 100%; }
  .field-indent { margin-left: 0; }
  .table-wrap { padding: 4px 16px; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .table tr:last-child { border-bottom: 0; }
  .table td { padding: 2px 0; border: 0; }
  .table .td-action { text-align: left; padding-top: 10px; }
  .print-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mail-frame { height: 560px; }
  .print-scroll { overflow-x: auto; }
  .print-table { min-width: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .menu-tree { opacity: .09; }
  .lc-card:hover, .bh-tile:hover { transform: none; }
}


/* ---------- Software bijwerken (v1.1) ---------- */
.steps-plain { margin: 12px 0 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.field input[type="file"] { min-height: 48px; padding: 10px 0; border: 0; background: transparent; }

/* ---------- Programma van de middag (v1.2) ---------- */
.prog-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.prog-card { flex: 999 1 560px; min-width: 0; max-width: none; margin-top: 0; position: relative; }
.prog-aside { flex: 1 1 320px; min-width: 0; }
.prog-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prog-row { display: flex; align-items: center; gap: 12px; }
.prog-nr { flex: 0 0 28px; color: var(--gold-label); font-weight: 500; text-align: right; }
.prog-input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: var(--text); }
.prog-btns { display: flex; gap: 6px; flex: 0 0 auto; }
.prog-btns .icon-btn:disabled { opacity: .35; cursor: default; }
.prog-preview { background: var(--white); border-radius: 22px; padding: 28px; }
.prog-preview-list { margin: 14px 0 0; padding: 0; list-style: none; }
.prog-preview-list li { display: flex; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.prog-preview-list li span { flex: 0 0 18px; color: var(--gold-label); font-weight: 500; }
.enter-default { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 600px) { .prog-row { flex-wrap: wrap; } .prog-input { flex-basis: calc(100% - 40px); } .prog-btns { margin-left: 40px; } }

/* ---------- Schermvullend (v1.1) ---------- */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > .main { flex: 1 0 auto; min-height: 0; }
body > .site-footer, body > .slim-footer { flex-shrink: 0; }
body.hdr-leden .wrap, body.hdr-beheer .wrap { max-width: 1680px; padding-left: clamp(24px, 4vw, 64px); padding-right: clamp(24px, 4vw, 64px); }
@media print { body { display: block; min-height: 0; } }

/* =====================================================================
   v1.3 – Nieuwsbrief-bouwer, vaste teksten, foto's van bijeenkomsten
   ===================================================================== */
.mb-20 { margin-bottom: 20px; }
.link-danger { color: var(--danger); }
.link-danger:hover { color: #7E2222; }
.check-hint { display: block; margin-top: 2px; font-size: 14px; color: var(--muted-2); }
.icon-btn-sm { width: 40px; height: 40px; font-size: 17px; color: var(--green); }
.icon-btn-sm:disabled { opacity: .35; cursor: default; }
.icon-btn-del:hover { border-color: var(--danger); color: var(--danger); }

/* Stappen bovenaan de bouwer */
.nb-steps { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.nb-step { display: flex; align-items: center; min-height: 44px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--white); color: var(--muted-2); font-size: 14px; }
.nb-step a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: inherit; text-decoration: none; }
.nb-step > span:first-child { margin-right: 10px; }
.nb-step a:hover { color: var(--green); }
.nb-step-nr { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 999px; background: var(--ground); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; }
.nb-step.is-current { background: var(--green); color: var(--white); }
.nb-step.is-current a:hover { color: var(--white); }
.nb-step.is-current .nb-step-nr { background: var(--gold); color: var(--green-deep); }
.nb-step.is-done { color: var(--green); }
.nb-step.is-done .nb-step-nr { background: #E3EFE7; color: #1F5136; }

/* Startscherm: sjablonen */
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tpl-card { margin: 0; background: var(--white); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.tpl-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--green); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.tpl-title { margin-top: 20px; font-size: 21px; font-weight: 500; line-height: 1.25; }
.tpl-desc { margin-top: 6px; flex: 1 0 auto; font-size: 15px; color: var(--muted); }
.tpl-field { margin-top: 20px; }
.tpl-btn { margin-top: 16px; width: 100%; }
p.tpl-field { align-self: flex-start; }

/* De bouwer: links bewerken, rechts het voorbeeld */
.nb-builder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.nb-editor { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.nb-section { background: var(--white); border-radius: 22px; padding: clamp(22px, 3vw, 32px); min-width: 0; }
.nb-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 21px; font-weight: 500; }
.nb-sec-nr { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 999px; background: var(--green); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; }
.nb-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.nb-sub { font-size: 15px; font-weight: 600; }
.nb-cards { display: flex; flex-direction: column; gap: 12px; }
.nb-fixed { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--ground); font-size: 15px; color: var(--muted); }
.nb-fixed .field-hint { margin-left: 4px; }
.nb-card { border: 1px solid var(--line); border-radius: 18px; background: var(--white); min-width: 0; scroll-margin-top: 16px; }
.nb-card:target { box-shadow: 0 0 0 2px var(--gold); }
.nb-card-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-bottom: 1px solid var(--line-soft); }
.nb-card-sign .nb-card-head { padding-right: 16px; }
.nb-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: var(--ground); color: var(--green); display: flex; align-items: center; justify-content: center; }
.nb-icon-muted { background: var(--white); color: var(--muted-2); }
.nb-card-title { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 500; }
.nb-card-nr { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--muted-2); }
.nb-card-btns { flex: 0 0 auto; display: flex; gap: 6px; }
.nb-card-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.nb-card-note { padding: 12px 18px 14px; }
.nb-grid-balk { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px; }
.nb-grid-balk > :last-child { grid-column: 1 / -1; }
textarea[data-autogrow] { overflow-y: hidden; }
.nb-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nb-card-body.nb-grid-2 { display: grid; }
.nb-image { gap: 12px 16px; }
.nb-thumb { width: 120px; height: 80px; border-radius: 10px; }
.nb-warn { padding: 12px 16px; border-radius: 12px; background: #FBF1DC; color: #6B4F14; font-size: 15px; }
.nb-warn a { color: inherit; font-weight: 500; }
.nb-pay { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; background: var(--ground); }
.nb-pay-qr { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 8px; background: var(--white); image-rendering: pixelated; }
.nb-pay p { min-width: 0; overflow-wrap: anywhere; }
.nb-empty { padding: 8px 0; }
.nb-add { align-self: stretch; }
.nb-add > summary { list-style: none; display: inline-flex; width: auto; }
.nb-add > summary::-webkit-details-marker { display: none; }
.nb-add[open] > summary { background: var(--ground); }
.nb-add-menu { margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.nb-add-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; text-align: left; color: var(--text); }
.nb-add-item:hover { background: var(--ground); }
.nb-add-label { display: block; font-size: 15px; font-weight: 500; }
.nb-add-desc { display: block; font-size: 13px; color: var(--muted-2); line-height: 1.4; }
.nb-send { display: flex; flex-wrap: wrap; gap: 12px; }
.nb-tools { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.nb-tools-title { font-size: 15px; font-weight: 500; }
.nb-saved { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 14px; color: var(--muted-2); }
.nb-saved .link-btn { font-size: 14px; }

.nb-preview { background: var(--white); border-radius: 22px; padding: 18px; min-width: 0; }
.nb-preview-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-bottom: 14px; padding-left: 6px; }
.nb-preview-head .list-label { margin: 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ground); }
.seg-btn { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--green); font-size: 14px; }
.seg-btn.is-on { background: var(--green); color: var(--white); font-weight: 500; }
.nb-frame-wrap { display: flex; justify-content: center; border-radius: 16px; background: var(--ground); overflow: hidden; }
.nb-frame { display: block; width: 600px; max-width: 100%; height: 760px; border: 0; background: var(--ground); transition: width .25s ease; }
.nb-frame-wrap.is-phone { padding: 18px 0; background: #E9E8E0; }
.nb-frame-wrap.is-phone .nb-frame { width: 375px; border-radius: 26px; box-shadow: 0 0 0 7px var(--green-deep); height: 724px; }
@media (min-width: 1180px) {
  .nb-builder { grid-template-columns: minmax(0, 1fr) 640px; }
  .nb-preview { position: sticky; top: 16px; }
  .nb-frame { height: calc(100vh - 120px); min-height: 520px; }
  .nb-frame-wrap.is-phone .nb-frame { height: calc(100vh - 156px); }
}

/* Vaste teksten */
.tx-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.tx-main { flex: 999 1 560px; min-width: 0; max-width: 860px; }
.tx-aside { flex: 1 1 300px; min-width: 0; position: sticky; top: 16px; }
.tx-stack { display: flex; flex-direction: column; gap: 20px; }
.tx-field .field-hint { display: block; margin-top: 6px; }
.tx-field .field-error { margin-top: 6px; }
.tx-field.has-error input, .tx-field.has-error textarea { border-color: var(--danger); background: #FFF8F7; }
.tx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tx-preview { background: var(--white); border-radius: 22px; padding: 28px; }
.tx-qr { display: inline-flex; padding: 14px; border-radius: 16px; background: var(--ground); }
.tx-qr img { display: block; width: 160px; height: 160px; border-radius: 6px; image-rendering: pixelated; }
.tx-preview .small { overflow-wrap: anywhere; }

/* Foto van een bijeenkomst (beheer) */
.mp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.mp-frame { flex: 0 0 240px; width: 240px; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--ground); }
.mp-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mp-frame.is-empty { border: 1.5px dashed var(--border); }
.mp-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--muted-2); }
.mp-actions { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.wiz-photo { margin: 32px 0 0; padding: 28px 0 0; border: 0; border-top: 1px solid var(--line-soft); min-width: 0; }
.wiz-photo legend { float: left; width: 100%; padding: 0; }
.wiz-photo legend + * { clear: both; }
.summary-photo { display: flex; align-items: center; gap: 12px; }
.summary-photo img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; }
.row-card-photo { flex-wrap: wrap; }
.mt-thumb { position: relative; flex: 0 0 96px; width: 96px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--ground); color: var(--muted-2); display: flex; align-items: center; justify-content: center; }
.mt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-thumb.is-empty { border: 1.5px dashed var(--border); }
.mt-thumb.is-empty:hover { border-color: var(--green); color: var(--green); }
.mt-badge { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: 999px; background: rgba(28,45,37,.85); color: var(--white); font-size: 10px; line-height: 1.5; }

/* Homepage: foto's van bijeenkomsten */
.photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-tile { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: var(--radius-card); overflow: hidden; background: var(--soft); }
.photo-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; background: linear-gradient(180deg, rgba(20,33,26,0) 0%, rgba(20,33,26,.72) 100%); color: var(--white); font-size: 14px; line-height: 1.4; }
.agenda-has-thumbs { flex-wrap: nowrap; align-items: center; min-height: 73px; }
.agenda-has-thumbs .agenda-theme { flex: 1 1 auto; }
.agenda-thumb { flex: 0 0 66px; width: 66px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--soft); }
.agenda-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Ledenomgeving: vorige bijeenkomst */
.meeting-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.meeting-main .rsvp-card { flex: 1 0 auto; }
.prev-card { display: flex; flex-wrap: wrap; background: var(--white); border-radius: 22px; overflow: hidden; }
.prev-photo { flex: 0 0 280px; margin: 0; aspect-ratio: 3 / 2; background: var(--soft); }
.prev-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.prev-text { flex: 1 1 240px; min-width: 0; padding: 24px 28px; align-self: center; }
.prev-title { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.prev-text .muted { margin-top: 6px; }

@media (max-width: 860px) {
  .tx-aside { position: static; }
  .nb-add-menu { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .nb-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-step { padding-right: 12px; font-size: 13px; line-height: 1.25; }
  .nb-step a { gap: 8px; }
  .nb-section { padding: 22px 16px; border-radius: 20px; }
  .nb-section-title { font-size: 19px; }
  .nb-card-head { padding: 8px 8px 8px 10px; gap: 10px; }
  .nb-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .nb-card-nr { display: block; margin-left: 0; }
  .nb-card-btns { gap: 4px; }
  .nb-card-body { padding: 16px 14px; }
  .nb-grid-balk, .nb-grid-2, .nb-card-body.nb-grid-2, .tx-grid { grid-template-columns: minmax(0, 1fr); }
  .nb-send .btn { width: 100%; }
  .nb-pay { flex-direction: column; align-items: flex-start; }
  .nb-pay-qr { flex-basis: auto; }
  .nb-card-head .nb-icon { display: none; }
  .nb-card-head { padding-left: 16px; }
  .nb-preview { padding: 12px; border-radius: 20px; }
  .nb-frame { height: 640px; }
  .nb-frame-wrap.is-phone { padding: 0; background: var(--ground); }
  .nb-frame-wrap.is-phone .nb-frame { width: 100%; border-radius: 0; box-shadow: none; height: 640px; }
  .tpl-card { padding: 22px; }
  .tx-preview { padding: 22px 20px; }
  .mp-frame { flex-basis: 100%; width: 100%; }
  .mt-thumb { flex-basis: 72px; width: 72px; height: 52px; align-self: flex-start; margin-top: 4px; }
  .row-card-photo .row-main { flex: 1 1 0; }
  .photos { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; margin-top: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .photos::-webkit-scrollbar { display: none; }
  .photos-1 { grid-auto-columns: 100%; }
  .photo-tile { scroll-snap-align: start; border-radius: 16px; }
  .photo-tile figcaption { padding: 40px 16px 14px; font-size: 13px; }
  .agenda-has-thumbs { flex-wrap: wrap; min-height: 0; }
  .agenda-has-thumbs .agenda-theme { flex: 1 1 0; }
  .agenda-thumb { flex-basis: 54px; width: 54px; height: 36px; }
  .prev-photo { flex-basis: 100%; }
  .prev-text { padding: 18px 20px 20px; }
}

/* =====================================================================
   v1.4 – Agenda, activiteiten, prikbord, opbrengsten, koffiematch, oogst
   ===================================================================== */
.avatar-32 { width: 32px; height: 32px; font-size: 12px; }
.avatar-36 { width: 36px; height: 36px; font-size: 13px; }
.plain-fieldset { margin-left: 0; margin-right: 0; margin-bottom: 0; padding: 0; border: 0; min-width: 0; }
.field-label-strong { padding: 0; font-size: 15px; font-weight: 500; }
.field-dark select { border-color: var(--green-outline); border-radius: 12px; background-color: var(--green-card); color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23D3B36B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field-dark select:focus { border-color: var(--gold); }
.field-dark select option { color: var(--text); background: var(--white); }
.check-dark { color: var(--on-green); font-size: 14px; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.input-prefix { position: relative; display: block; }
.input-prefix > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-weight: 400; pointer-events: none; }
.field .input-prefix input { padding-left: 32px; }
.page-head-actions { justify-content: flex-end; }
.copy-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
.copy-row input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--input-bg); font-size: 14px; font-weight: 400; color: var(--text); }
.copy-row .btn { flex: 0 0 auto; }
.steps-plain strong { color: var(--text); font-weight: 500; }
.tag-cat { margin-left: 0; }
.count-pill { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--ground); font-size: 13px; font-weight: 500; color: var(--green); vertical-align: 2px; }

/* Ledenmenu: zes tabs, op de telefoon horizontaal scrollen met vervaging */
.tabs-wrap { position: relative; }
.tabs-wrap::before, .tabs-wrap::after { content: ""; position: absolute; top: 12px; bottom: 0; width: 44px; pointer-events: none; opacity: 0; transition: opacity .2s ease; z-index: 1; }
.tabs-wrap::before { left: 0; background: linear-gradient(to left, rgba(38,60,48,0), var(--green) 80%); }
.tabs-wrap::after { right: 0; background: linear-gradient(to right, rgba(38,60,48,0), var(--green) 80%); }
.tabs-wrap.fade-left::before, .tabs-wrap.fade-right::after { opacity: 1; }
.tabs { scroll-behavior: smooth; }

/* Agenda */
.ag-section { margin-top: 36px; }
.ag-month { margin-bottom: 14px; display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ag-month::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.ag-list { display: flex; flex-direction: column; gap: 12px; }
.ag-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px 22px; align-items: center; padding: 18px 22px 18px 18px; border-radius: 20px; background: var(--white); scroll-margin-top: 16px; }
.ag-date { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 16px; background: var(--ground); color: var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ag-date-day { font-size: 30px; line-height: 1; font-weight: 400; }
.ag-date-sub { margin-top: 5px; font-size: 12px; line-height: 1; color: var(--muted-2); }
.ag-kind-meeting .ag-date { background: var(--green); color: var(--gold); }
.ag-kind-meeting .ag-date-sub { color: var(--on-green-2); }
.ag-kind-club .ag-date { background: #FBF1DC; color: #6B4F14; }
.ag-main { min-width: 0; }
.ag-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted-2); }
.ag-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.ag-badge-meeting { background: var(--green); color: var(--gold); }
.ag-badge-club { background: #FBF1DC; color: #6B4F14; }
.ag-badge-lid { background: #E3EFE7; color: #1F5136; }
.ag-title { margin-top: 6px; font-size: 19px; font-weight: 500; line-height: 1.3; overflow-wrap: break-word; }
.ag-title a { color: var(--text); text-decoration: none; }
.ag-title a:hover { color: var(--green); text-decoration: underline; }
.ag-meta { margin-top: 4px; font-size: 14px; color: var(--muted); }
.ag-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.me-pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 13px; line-height: 1.4; white-space: nowrap; }
.me-ok { background: #E3EFE7; color: #1F5136; }
.me-wait { background: #FBF1DC; color: #6B4F14; }
.me-no { background: var(--ground); color: var(--muted-2); }
.me-ask { border: 1px solid var(--gold); color: #6B4F14; padding: 3px 11px; }
.ag-ics { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 14px; color: var(--green); white-space: nowrap; }
.ag-row.is-cancelled .ag-title a { color: var(--muted-2); text-decoration: line-through; }
.ag-row.is-past { padding: 14px 18px 14px 14px; grid-template-columns: 60px minmax(0, 1fr) auto; }
.ag-row.is-past .ag-date { width: 60px; height: 60px; border-radius: 14px; }
.ag-row.is-past .ag-date-day { font-size: 24px; }
.ag-row.is-past .ag-title { font-size: 17px; }
.ag-harvest { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--ground); }
.ag-hot { font-size: 14px; color: var(--text); }
.ag-hot span { color: var(--gold-label); font-weight: 600; }
.ag-hot + .ag-harvest-label { margin-top: 10px; }
.ag-harvest-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-label); font-weight: 600; }
.harvest-list { margin: 6px 0 0; padding-left: 20px; font-size: 15px; }
.harvest-list li + li { margin-top: 4px; }
.ag-past > summary { display: inline-flex; gap: 8px; padding: 0 20px; border-radius: 999px; background: var(--white); font-size: 15px; }
.ag-past > summary .muted { font-weight: 400; }
.poll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.poll-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 22px 24px; border-radius: 20px; background: var(--white); color: var(--text); text-decoration: none; box-shadow: inset 0 0 0 2px var(--gold); }
.poll-card:hover { color: var(--text); }
.poll-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.poll-flag { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold-label); }
.poll-title { font-size: 19px; font-weight: 500; line-height: 1.3; }
.poll-meta { font-size: 14px; color: var(--muted); }
.poll-cta { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 500; color: var(--green); }
.poll-cta.is-done { color: var(--muted-2); font-weight: 400; }

/* Archief */
.archive-list { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); gap: 20px; }
.archive-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-radius: 22px; background: var(--white); overflow: hidden; scroll-margin-top: 16px; }
.archive-card.no-photo { grid-template-columns: minmax(0, 1fr); }
.archive-photo { margin: 0; min-height: 220px; background: var(--soft); }
.archive-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.archive-body { padding: 26px 28px; min-width: 0; }
.archive-title { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }

/* Activiteit */
.act-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.act-main, .act-aside { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.act-hero { flex: none; }
.act-facts { margin: 22px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; font-size: 15px; color: var(--on-green); }
.act-facts dt { color: var(--on-green-label); }
.act-facts dd { margin: 0; overflow-wrap: anywhere; }
.act-cancelled { margin-top: 14px; display: inline-block; padding: 4px 14px; border-radius: 999px; background: #F8E3E1; color: #7A2320; font-size: 14px; font-weight: 500; }
.poll-head { display: flex; flex-direction: column; gap: 6px; }
.vote-list { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.vote-row { display: grid; grid-template-columns: minmax(170px, 1fr) auto minmax(150px, 1fr) auto; gap: 12px 20px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; scroll-margin-top: 16px; }
.vote-row.is-best { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: #FDFAF2; }
.best-tag { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--gold); color: var(--green-deep); font-size: 12px; font-weight: 600; }
.vote-date { font-weight: 500; }
.vote-form { margin: 0; }
.seg-vote { gap: 2px; }
.seg-vote .seg-btn { min-height: 44px; padding: 0 16px; }
.seg-vote .seg-btn:hover { background: rgba(38,60,48,.08); }
.seg-vote .vote-ja.is-on { background: var(--green); color: var(--white); }
.seg-vote .vote-misschien.is-on { background: var(--gold); color: var(--green-deep); }
.seg-vote .vote-nee.is-on { background: #5E6E65; color: var(--white); }
.vote-nums { font-size: 14px; }
.vote-names { margin-top: 2px; font-size: 13px; color: var(--muted-2); overflow-wrap: anywhere; }
.vote-fix { margin: 0; }
.mini-people { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mini-people a { display: flex; align-items: center; gap: 12px; padding: 6px 8px; margin: 0 -8px; border-radius: 12px; color: var(--text); text-decoration: none; }
.mini-people a:hover { background: var(--ground); color: var(--text); }
.mp-name { display: block; font-size: 15px; font-weight: 500; line-height: 1.3; }
.mp-sub { display: block; font-size: 13px; color: var(--muted-2); line-height: 1.4; }
.wait-list { margin: 0; padding-left: 22px; font-size: 15px; }
.org-card { box-shadow: inset 0 0 0 2px var(--gold); }
.org-card .field { font-weight: 500; }

/* Activiteit maken */
.act-form-layout { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.act-form { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mode-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mode-opt, .choice { position: relative; display: block; cursor: pointer; }
.mode-opt input, .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode-box, .choice-box { display: flex; flex-direction: column; gap: 2px; height: 100%; min-height: 72px; padding: 16px 18px 16px 50px; border: 1.5px solid var(--border); border-radius: 16px; background: var(--white); position: relative; }
.mode-box::before, .choice-box::before { content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 999px; border: 1.5px solid var(--green-outline); background: var(--white); }
.mode-opt input:checked + .mode-box, .choice input:checked + .choice-box { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); background: #F5F8F4; }
.mode-opt input:checked + .mode-box::before, .choice input:checked + .choice-box::before { border: 6px solid var(--green); }
.mode-opt input:focus-visible + .mode-box, .choice input:focus-visible + .choice-box { outline: 3px solid var(--green); outline-offset: 2px; }
.mode-title, .choice-title { font-weight: 500; }
.mode-sub, .choice-sub { font-size: 14px; color: var(--muted); }
.opt-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.opt-row { display: grid; grid-template-columns: 24px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; align-items: end; }
.opt-nr { padding-bottom: 13px; color: var(--gold-label); font-weight: 500; text-align: right; }
.opt-row .field { font-weight: 500; }
.tip-card { position: sticky; top: 24px; padding: 28px; border-radius: 22px; background: var(--white); }
.tip-steps { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--muted); }
.tip-steps li { display: flex; gap: 12px; align-items: flex-start; }
.tip-steps li span { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 999px; background: var(--green); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; }

/* Prikbord */
.post-list { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.post { padding: 24px 26px; border-radius: 20px; background: var(--white); scroll-margin-top: 16px; min-width: 0; }
.post.is-pinned { box-shadow: inset 0 0 0 2px var(--gold); }
.post-head { display: flex; align-items: center; gap: 14px; }
.post-avatar { flex: 0 0 auto; line-height: 0; border-radius: 999px; }
.post-who { flex: 1 1 auto; min-width: 0; }
.post-name { font-size: 15px; font-weight: 500; }
.post-meta { font-size: 13px; color: var(--muted-2); }
.post-cat { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; background: var(--ground); color: var(--green); font-size: 12px; font-weight: 500; white-space: nowrap; }
.post-cat-bestuur { background: var(--green); color: var(--gold); }
.post-cat-aanbod { background: #FBF1DC; color: #6B4F14; }
.post-cat-vraag { background: #E3EFE7; color: #1F5136; }
.post-title { margin-top: 16px; font-size: 21px; font-weight: 500; line-height: 1.3; overflow-wrap: break-word; }
.post-text { margin-top: 8px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.post-img { margin: 16px 0 0; }
.post-img img { display: block; max-width: 100%; max-height: 440px; width: auto; border-radius: 14px; }
.post-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.post-tools { display: inline-flex; flex-wrap: wrap; gap: 0 18px; align-items: center; }
.post-tools .link-btn { font-size: 14px; }
.comments { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.comment { display: flex; gap: 10px; align-items: flex-start; scroll-margin-top: 16px; }
.comment .avatar { margin-top: 4px; }
.comment-body { flex: 1 1 auto; min-width: 0; padding: 10px 14px; border-radius: 14px; background: var(--ground); }
.comment-who { font-size: 14px; }
.comment-who strong { font-weight: 500; }
.comment-text { margin-top: 2px; font-size: 15px; overflow-wrap: anywhere; }
.comment-tools { display: flex; gap: 16px; }
.comment-tools .link-btn { min-height: 32px; font-size: 13px; }
.comment-form { margin: 12px 0 0; display: flex; gap: 10px; align-items: flex-end; }
.comment-form textarea { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--input-bg); font-size: 15px; line-height: 1.4; resize: vertical; }
.comment-form textarea:focus { border-color: var(--green); }
.comment-form .btn { flex: 0 0 auto; }
.help-card .form-errors { padding: 12px 14px; }
.post-jump { margin-top: 16px; }

/* Opbrengstenteller */
.ref-layout { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.ref-form { min-width: 0; }
.ref-aside { min-width: 0; }
.ref-stat { padding: 28px; border-radius: 22px; background: var(--green); color: var(--white); }
.ref-stat-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ref-stat-grid > div { padding: 18px; border-radius: 16px; background: var(--green-card); min-width: 0; }
.ref-nr { font-size: 32px; line-height: 1.1; color: var(--gold); overflow-wrap: anywhere; }
.ref-label { margin-top: 6px; font-size: 14px; color: var(--on-green-2); }
.ref-all { margin-top: 14px; font-size: 14px; color: var(--on-green); }
.ref-list { margin: 12px 0 0; padding: 0; list-style: none; }
.ref-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.ref-list form { margin: 0; flex: 0 0 auto; }
.ref-row-main { min-width: 0; }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--ground); font-size: 14px; color: var(--muted); }
.privacy-note svg { flex: 0 0 16px; margin-top: 3px; color: var(--green); }

/* Ledenhome: Binnenkort, koffiematch, opbrengst */
.home-strip { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.hs-card { min-width: 0; padding: 26px 28px; border-radius: 22px; background: var(--white); display: flex; flex-direction: column; }
.hs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.hs-title { font-size: 19px; font-weight: 500; }
.hs-link { font-size: 14px; }
.hs-foot { margin-top: auto; padding-top: 18px; }
.soon-list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.soon-item { display: flex; align-items: center; gap: 14px; padding: 8px; margin: 0 -8px; border-radius: 14px; color: var(--text); text-decoration: none; }
.soon-item:hover { background: var(--ground); color: var(--text); }
.soon-item.is-cancelled .soon-title { text-decoration: line-through; color: var(--muted-2); }
.ag-date-sm { width: 52px; height: 52px; border-radius: 14px; }
.ag-date-sm .ag-date-day { font-size: 21px; }
.ag-date-sm .ag-date-sub { margin-top: 3px; font-size: 11px; }
.soon-text { flex: 1 1 auto; min-width: 0; }
.soon-title { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soon-meta { display: block; font-size: 13px; color: var(--muted-2); }
.me-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 999px; background: #3E8A5E; }
.coffee-list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.coffee-list a { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 14px; color: var(--text); text-decoration: none; }
.coffee-list a:hover { background: var(--ground); color: var(--text); }
.hs-thanks { background: var(--green); color: var(--white); }
.hs-thanks .hs-title { color: var(--white); }
.thanks-nr { margin-top: 14px; font-size: 44px; line-height: 1; color: var(--gold); }
.thanks-nr span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--on-green); }
.thanks-sub { margin-top: 6px; font-size: 14px; color: var(--on-green-2); }
.hs-foot .btn { max-width: 100%; }

/* Profiel */
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.coffee-switch { padding-top: 20px; border-top: 1px solid var(--line-soft); }
.coffee-switch .muted { margin-left: 54px; }
.profile-cards { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.profile-cards .data-card { margin-top: 0; min-width: 0; }
.profile-cards + .data-card { margin-top: 16px; }
.how-to ul { margin-top: 4px; }
.how-to li + li { margin-top: 6px; }

/* Beheer */
.tile-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row-card-date { flex-wrap: nowrap; }
.row-card-date .row-main { flex: 1 1 auto; }
.row-card-date .btn-row { flex: 0 0 auto; justify-content: flex-end; }
.row-card.is-cancelled .row-title { color: var(--muted-2); }
.row-kicker .ag-badge { margin-right: 4px; }
.plan-layout { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.plan-card { margin-top: 0; max-width: none; }
.plan-rule { align-self: end; padding-bottom: 15px; }
.month-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.month-chip { position: relative; display: block; cursor: pointer; }
.month-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.month-chip span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); font-size: 14px; color: var(--muted-2); text-align: center; }
.month-chip input:checked + span { border-color: var(--green); background: var(--green); color: var(--white); font-weight: 500; }
.month-chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.plan-list { margin: 16px 0 0; padding: 0; list-style: none; }
.plan-row { display: grid; grid-template-columns: 140px 170px minmax(0, 1fr); gap: 8px 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.plan-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; cursor: pointer; }
.plan-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); flex: 0 0 20px; }
.plan-date { width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); font: inherit; font-size: 15px; color: var(--text); }
.plan-row.is-off { color: var(--muted-2); }
.plan-row.is-off .plan-date { background: var(--ground); }
.plan-note .tag { margin-left: 0; }
.wiz-card-wide { max-width: 1040px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 8px; }
.pick { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; min-width: 0; }
.pick input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.pick:has(input:checked) { border-color: var(--green); background: #F5F8F4; }
.pick-name { display: block; font-size: 15px; font-weight: 500; }
.pick-sub { display: block; font-size: 13px; color: var(--muted-2); }
.cm-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: start; }
.cm-card { margin-top: 0; max-width: none; }
.cm-history { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cm-history .list-label { margin-bottom: 0; }
.cm-pairs { margin: 10px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.cm-pairs li { break-inside: avoid; padding: 2px 0; }
.stat-empty { background: transparent; border: 1px dashed var(--green-line); }

@media (max-width: 1200px) {
  .act-layout, .act-form-layout, .ref-layout { grid-template-columns: minmax(0, 1fr); }
  .tip-card { position: static; }
  .vote-row { grid-template-columns: minmax(0, 1fr) auto; }
  .vote-count { grid-column: 1 / -1; }
  .vote-fix { grid-column: 1 / -1; }
  .tile-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-layout, .cm-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-cards { grid-template-columns: minmax(0, 1fr); }
  .month-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row-card-date { flex-wrap: wrap; }
  .row-card-date .btn-row { justify-content: flex-start; width: 100%; }
  .archive-card { grid-template-columns: minmax(0, 1fr); }
  .archive-photo { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  /* Ledenmenu: één rij pillen die je opzij schuift */
  body.hdr-leden .tabs-wrap { padding-left: 0; padding-right: 0; }
  .tabs-wrap::before, .tabs-wrap::after { top: 14px; bottom: 16px; width: 36px; }
  .tabs { display: flex; gap: 8px; padding: 14px 24px 16px; overflow-x: auto; scroll-padding: 0 24px; }
  .tab { flex: 0 0 auto; padding: 0 16px; }
  .page-head-actions { width: 100%; }
  .page-head-actions .btn { flex: 1 1 100%; }
  .home-strip { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hs-card { padding: 22px 20px; border-radius: 20px; }
  .hs-foot .btn { width: 100%; }
  .ag-section { margin-top: 28px; }
  .ag-row { grid-template-columns: 56px minmax(0, 1fr); gap: 10px 14px; padding: 14px 16px 14px 14px; align-items: start; }
  .ag-date { width: 56px; height: 56px; border-radius: 14px; }
  .ag-date-day { font-size: 22px; }
  .ag-date-sub { font-size: 11px; margin-top: 3px; }
  .ag-row.is-past { grid-template-columns: 56px minmax(0, 1fr); padding: 14px 16px 14px 14px; }
  .ag-row.is-past .ag-date { width: 56px; height: 56px; }
  .ag-title { font-size: 17px; margin-top: 4px; }
  .ag-when { display: none; }
  .ag-side { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px 12px; }
  .ag-side:empty { display: none; }
  .ag-ics { min-height: 36px; }
  .ag-harvest { margin-left: -70px; }
  .ag-past > summary { width: 100%; justify-content: center; }
  .poll-card { padding: 20px; }
  .archive-body { padding: 20px; }
  .archive-title { font-size: 23px; }
  .act-facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .act-facts dt { margin-top: 10px; font-size: 13px; }
  .act-facts dt:first-child { margin-top: 0; }
  .vote-row { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .seg-vote { display: flex; width: 100%; }
  .seg-vote .seg-btn { flex: 1 1 0; padding: 0 8px; }
  .vote-fix .btn { width: 100%; }
  .mode-pick { grid-template-columns: minmax(0, 1fr); }
  .form-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .opt-row { grid-template-columns: 20px minmax(0, 1fr) minmax(0, 1fr); padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
  .opt-row .field:nth-of-type(1) { grid-column: 2 / -1; }
  .opt-row .field:nth-of-type(2) { grid-column: 2; }
  .opt-nr { grid-row: 1; align-self: end; }
  .tip-card { padding: 22px 20px; }
  .post { padding: 18px; }
  .post-head { flex-wrap: wrap; }
  .post-cat { order: 3; margin-left: 58px; margin-top: -4px; }
  .post-title { font-size: 19px; margin-top: 12px; }
  .comment-form { flex-wrap: wrap; }
  .comment-form .btn { width: 100%; }
  .comment-new textarea { flex-basis: 100%; }
  .ref-stat { padding: 22px 20px; }
  .ref-nr { font-size: 26px; }
  .coffee-switch .muted { margin-left: 0; margin-top: 4px; }
  .copy-row { flex-wrap: wrap; }
  .copy-row input { flex-basis: 100%; }
  .copy-row .btn { width: 100%; }
  .tile-grid-4 { grid-template-columns: minmax(0, 1fr); }
  .month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .plan-note { grid-column: 1 / -1; margin-top: -4px; }
  .cm-pairs { columns: 1; }
  .ref-list li { align-items: flex-start; }
}
.only-mobile-block { display: none; }
@media (max-width: 600px) { .only-mobile-block { display: block; } }
.home-strip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 600px) { .home-strip { grid-template-columns: minmax(0, 1fr); } }
.ag-past > summary { list-style: none; align-items: center; }
.ag-past > summary::-webkit-details-marker { display: none; }
.ag-past > summary::after { content: "+"; margin-left: 6px; font-size: 20px; line-height: 1; color: var(--green); }
.ag-past[open] > summary::after { content: "−"; }
/* Datumprikker: datum | stemmen | knoppen (stem + kiezen onder elkaar) */
.vote-row { grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) auto; grid-template-areas: "when count vote" "when count fix"; row-gap: 10px; }
.vote-when { grid-area: when; }
.vote-count { grid-area: count; }
.vote-form { grid-area: vote; justify-self: end; }
.vote-fix { grid-area: fix; justify-self: end; }
.vote-row:not(:has(.vote-fix)) { grid-template-areas: "when count vote"; }
.vote-fix .btn, .seg-vote .seg-btn { white-space: nowrap; }
@media (max-width: 1200px) {
  .vote-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when vote" "count fix"; }
  .vote-row:not(:has(.vote-fix)) { grid-template-areas: "when vote" "count count"; }
  .vote-count, .vote-fix { grid-column: auto; }
}
@media (max-width: 600px) {
  .vote-row, .vote-row:not(:has(.vote-fix)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "when" "vote" "count" "fix"; }
  .vote-form, .vote-fix { justify-self: stretch; }
}
.tile-grid-4 .tile { justify-content: flex-start; gap: 24px; }
@media (max-width: 600px) { .page-head-actions .btn-green { order: -1; } }
.plan-layout .wiz-card + .wiz-card { margin-top: 0; }
@media (max-width: 900px) { .row-card-date .ag-date { display: none; } }

/* ---------- Onze leden op de openbare website (v1.5) ---------- */
.section-ruled { padding-top: 0; }
.ruled { border-top: 1px solid var(--line); padding-top: var(--section); }
.pm-grid { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.pm-card { min-width: 0; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-card); padding: 28px; }
.pm-head { height: 80px; padding-bottom: 20px; border-bottom: 1px solid var(--line-card); display: flex; align-items: center; min-width: 0; }
.pm-logo-wrap { margin: 0; height: 100%; max-width: 100%; display: flex; align-items: center; }
.pm-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 60px; object-fit: contain; object-position: left center; }
.pm-company { margin: 0; font-size: 24px; line-height: 1.2; color: var(--green); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pm-branche { margin-top: 20px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-label); font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.pm-what { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.pm-what.is-placeholder { color: var(--muted-2); font-style: italic; }
.pm-foot { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pm-person { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.3; }
.pm-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -10px 0; font-size: 15px; font-weight: 500; color: var(--green); text-decoration: none; }
.pm-link:hover { color: var(--gold-label); text-decoration: underline; }
.pm-link svg { flex: 0 0 16px; transition: transform .2s ease; }
.pm-link:hover svg { transform: translateX(3px); }
.pm-after { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.pm-join { font-size: 16px; color: var(--muted); }
.pm-join a { font-weight: 500; }
.pm-page .split { align-items: flex-end; }

/* Mijn profiel: stap 7 */
.pub-intro { max-width: 760px; }
.pub-layout { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.pub-fields { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pub-fields .field > .field-hint { line-height: 1.45; }
.field textarea.ta-short { min-height: 76px; resize: none; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.logo-row .check { align-items: center; }
.logo-row .check input { margin-top: 0; }
.pub-preview { min-width: 0; padding: 20px; border-radius: var(--radius-card); background: var(--ground); }
.pub-preview .list-label { margin-bottom: 12px; }
.pub-preview .pm-card { padding: 24px; }
.pub-off { padding: 20px; border: 1px dashed var(--border); border-radius: 16px; background: var(--white); font-size: 15px; color: var(--muted); }

/* Beheer */
.page-head + .toolbar { margin-top: 24px; }
.pub-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--ground); font-size: 12px; color: var(--muted-2); white-space: nowrap; vertical-align: middle; }
.pub-tag-bedrijf, .pub-tag-naam { background: #E3EFE7; color: #1F5136; font-weight: 500; }
.seed-public { padding-top: 20px; border-top: 1px solid var(--line-soft); }

@media (max-width: 900px) {
  .pub-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .pm-grid { margin-top: 24px; gap: 12px; }
  .pm-card { padding: 22px; border-radius: 16px; }
  .pm-head { height: auto; padding-bottom: 16px; }
  .pm-logo { max-height: 48px; }
  .pm-company { font-size: 22px; }
  .pm-branche { margin-top: 16px; font-size: 12px; }
  .pm-what { font-size: 15px; }
  .pm-foot { padding-top: 18px; }
  .pm-after { margin-top: 24px; }
  .pm-after .btn { width: 100%; }
  .pub-preview { padding: 16px; }
  .field textarea.ta-short { min-height: 104px; }
  .pub-preview .pm-card { padding: 22px; }
}

/* ---------- v1.7: agenda op de homepage ---------- */
.ha-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.ha-head-text { flex: 1 1 420px; min-width: 0; }
.ha-title { margin-top: 14px; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.12; }
.ha-intro { margin-top: 12px; max-width: 540px; }
.ha-years { display: flex; flex-wrap: wrap; gap: 8px; }
.ha-label { margin-top: 44px; }
.ha-label-later { margin-top: 28px; }
.ha-label-past { margin-top: 56px; }
.ha-cards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ha-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ha-cards-1 { grid-template-columns: minmax(0, 620px); }
.ha-card { min-width: 0; display: flex; align-items: flex-start; gap: 22px; padding: 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.ha-card.is-next { background: var(--green); border-color: var(--green); color: var(--white); }
.ha-date { flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; padding: 12px 4px 11px; border-radius: 16px; background: var(--ground); text-align: center; }
.ha-wd { font-size: 11px; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-label); font-weight: 600; }
.ha-day { margin-top: 6px; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--green); }
.ha-mon { margin-top: 6px; font-size: 13px; line-height: 1.2; color: var(--muted); }
.is-next .ha-date { background: var(--green-card); }
.is-next .ha-wd { color: var(--gold); }
.is-next .ha-day { color: var(--white); }
.is-next .ha-mon { color: var(--on-green); }
.ha-body { flex: 1 1 auto; min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
.ha-badge { align-self: flex-start; margin-bottom: 10px; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--green); font-size: 12px; font-weight: 500; line-height: 1.5; }
.ha-theme { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--text); overflow-wrap: anywhere; }
.is-next .ha-theme { color: var(--white); }
.ha-theme.is-open, .ha-ttheme.is-open, .ha-later .is-open { color: var(--muted-2); font-style: italic; }
.is-next .ha-theme.is-open { color: var(--on-green-2); }
.ha-meta { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.is-next .ha-meta { color: var(--on-green); }
.ha-link { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--gold); text-underline-offset: 3px; }
.ha-link:hover { color: var(--white); }
.ha-later { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); column-gap: 32px; }
.ha-later li { display: flex; flex-wrap: wrap; gap: 2px 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.ha-later time { flex: 0 0 150px; color: var(--muted-2); }
.ha-later span { flex: 1 1 160px; min-width: 0; }
.ha-past { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.ha-tile { min-width: 0; }
.ha-thumb { aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: #E3EBE5; display: flex; align-items: center; justify-content: center; }
.ha-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ha-fallback { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--green); }
.ha-tmonth { margin-top: 12px; font-size: 13px; color: var(--muted-2); }
.ha-ttheme { margin-top: 2px; font-size: 15px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ha-more { margin-top: 28px; }
.ha-more > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--green); font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
.ha-more > summary::-webkit-details-marker { display: none; }
.ha-more > summary:hover { border-color: var(--green); }
.ha-more > summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.ha-more[open] > summary .ha-more-closed, .ha-more:not([open]) > summary .ha-more-open { display: none; }
.ha-more[open] { display: flex; flex-direction: column; align-items: flex-start; }
.ha-more[open] > summary { order: 2; margin-top: 28px; }
.ha-more > .ha-past { width: 100%; align-self: stretch; }
.ha-more::details-content { width: 100%; }
@media (max-width: 1100px) {
  .ha-card { flex-direction: column; gap: 16px; }
  .ha-date { flex-basis: auto; flex-direction: row; align-items: baseline; gap: 8px; padding: 8px 14px; }
  .ha-day, .ha-mon { margin-top: 0; }
  .ha-day { font-size: 28px; }
  .ha-body { align-self: stretch; }
}
@media (max-width: 860px) {
  .ha-scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-top: 2px; padding-bottom: 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .ha-scroll::-webkit-scrollbar { display: none; }
  .ha-scroll.ha-cards-1 { grid-auto-columns: 100%; }
  .ha-card { scroll-snap-align: start; }
  .ha-past { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
}
@media (max-width: 600px) {
  .ha-title { font-size: 28px; }
  .ha-label { margin-top: 32px; }
  .ha-label-past { margin-top: 40px; }
  .ha-card { padding: 22px 20px; border-radius: 18px; }
  .ha-theme { font-size: 21px; }
  .ha-fallback { font-size: 34px; }
  .ha-thumb { border-radius: 14px; }
  .ha-years { width: 100%; }
  .ha-more > summary { width: 100%; justify-content: center; }
}

/* ---------- v1.7: ledenhome (hotseat, terugkoppeling, buddy, voordragen) ---------- */
.meeting-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.hotseat-note { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--ground); font-size: 14px; line-height: 1.55; color: var(--muted); }
.hotseat-note-label { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold-label); }
.fb-card, .buddy-card { min-width: 0; padding: 28px 32px; border-radius: 22px; background: var(--white); }
.fb-lead { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.fb-lead strong { font-weight: 500; color: var(--text); }
.fb-quote { margin: 16px 0 0; padding: 14px 16px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--ground); }
.fb-quote blockquote { margin: 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.fb-quote figcaption { margin-top: 6px; font-size: 13px; color: var(--muted-2); }
.fb-form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-card); }
.fb-form .field { font-size: 14px; }
.buddy-person { display: flex; align-items: center; gap: 12px; margin: 12px -8px 0; padding: 8px; border-radius: 14px; color: var(--text); text-decoration: none; }
.buddy-person:hover { background: var(--ground); color: var(--text); }
.buddy-person + .buddy-person { margin-top: 2px; }
.buddy-text { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.home-strip.home-strip-3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
.hs-nominate .btn { white-space: normal; text-align: center; }
@media (max-width: 1200px) {
  .home-strip.home-strip-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-strip-3 .hs-soon { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .home-strip.home-strip-3 { grid-template-columns: minmax(0, 1fr); }
  .fb-card, .buddy-card { padding: 22px 20px; border-radius: 20px; }
  .fb-form .btn, .hs-nominate .btn { width: 100%; }
}
.act-form-aside .tip-card + .tip-card { margin-top: 16px; }
.nom-list { margin: 14px 0 0; padding: 0; list-style: none; }
.nom-list li { padding: 10px 0; border-top: 1px solid var(--line-card); }
.nom-list li:first-child { border-top: 0; padding-top: 0; }
/* v1.7: aanmeldingen met keuzes (voordracht, buddy) */
.app-card-decide { align-items: stretch; }
.app-card-decide .app-info { flex-basis: 100%; }
.app-by { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--gold-label); }
.app-why { margin-top: 8px; padding: 12px 14px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--ground); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.app-decide { flex: 1 1 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-card); }
.app-decide-2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.app-option { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; background: var(--ground); }
.app-option-title { font-weight: 500; font-size: 15px; }
.app-option .field { font-weight: 500; }
.app-option .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) {
  .app-decide, .app-decide-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .app-option .btn { align-self: stretch; width: 100%; }
}
.buddy-tag { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: #FBF1DC; color: #6B4F14; font-size: 12px; font-weight: 500; }
.buddy-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.buddy-form .field { flex: 1 1 320px; max-width: 480px; }
@media (max-width: 600px) { .buddy-form .btn { width: 100%; } }
.fb-quote-sm { margin-top: 8px; }
.fb-quote-sm blockquote { font-size: 14px; }
.fb-own > summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--green); min-height: 44px; display: flex; align-items: center; }
.fb-own .fb-form { margin-top: 4px; padding-top: 12px; }
/* v1.7: onderdelen van de club */
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-row { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.feature-row:first-child { border-top: 0; padding-top: 0; }
.feature-row .switch { color: var(--text); font-weight: 500; font-size: 15px; }
.feature-info { margin: 2px 0 0 54px; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 680px; }
.feature-note { margin-left: 54px; }
@media (max-width: 600px) {
  .feature-row .switch { align-items: flex-start; min-height: 32px; }
  .feature-row .switch-text { padding-top: 2px; line-height: 1.45; }
  .feature-info, .feature-note { margin-left: 0; margin-top: 8px; }
}
@media (max-width: 600px) { .form-actions .btn { flex: 1 1 100%; } }

/* ---------- Inloglink kopiëren in het maillog (1.7) ---------- */
.login-copy { padding: 18px 20px; border-radius: 16px; background: var(--ground); }
.login-copy-title { font-weight: 500; }
.login-copy .copy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.login-copy .copy-row input { flex: 1 1 320px; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; font-size: 14px; }

/* =====================================================================
   v1.8 – Rij die opzij scrolt (.rail) en inloggen met een wachtwoord
   ===================================================================== */
/* .rail staat NIET in .wrap. Zelf precies 100% breed (nooit breder), met de paginamarge als
   padding binnenin. Op de computer gedraagt hij zich als .wrap; op de telefoon scrolt de rij
   binnen zijn eigen vak (overflow-x: auto op de rij), zonder negatieve marges en zonder 100vw. */
.rail { box-sizing: border-box; width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (max-width: 860px) {
  .rail { max-width: none; }
  .ha-scroll > :last-child, .photos > :last-child { scroll-snap-align: end; }
}

/* Wachtwoordveld met oogknop */
.pw-field > label { cursor: default; }
.pw-wrap { position: relative; display: block; }
.field .pw-wrap input { padding-right: 56px; }
.pw-toggle { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.pw-toggle:hover { color: var(--green); background: var(--ground); }
.pw-toggle:focus-visible { outline-offset: -2px; }
.pw-toggle svg { display: block; }
.pw-toggle .pw-eye-off, .pw-toggle[aria-pressed="true"] .pw-eye { display: none; }
.pw-toggle[aria-pressed="true"] .pw-eye-off { display: block; }
.pw-meter { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--muted-2); }
.pw-bar { display: block; height: 6px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.pw-bar-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--border); transition: width .2s ease, background-color .2s ease; }
.pw-meter[data-level="1"] .pw-bar-fill { width: 25%; background: #B3412F; }
.pw-meter[data-level="2"] .pw-bar-fill { width: 50%; background: var(--gold-num); }
.pw-meter[data-level="3"] .pw-bar-fill { width: 75%; background: #4C7A5E; }
.pw-meter[data-level="4"] .pw-bar-fill { width: 100%; background: var(--green); }
.pw-meter.is-bad .pw-meter-text { color: #7A2320; }
.pw-meter.is-ok .pw-meter-text { color: #1F5136; }
.pw-meter-text:empty { display: none; }
.pw-meter-repeat:has(.pw-meter-text:empty) { display: none; }
/* Alleen voor wachtwoordbeheerders (welk account hoort bij dit wachtwoord) */
.pw-username { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Inlogpagina's */
.login-alt { margin-top: 16px; }
.login-alt a, .login-alt .link-btn { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--green); }
.login-alt a:hover { color: var(--gold-label); }
.login-foot { margin-top: 4px; }
.login-error { padding: 14px 16px; border-radius: 14px; background: #F8E3E1; }
.login-error-hint { margin-top: 6px; font-weight: 400; }
.login-card .btn-row .btn { flex: 1 1 auto; }

/* Mijn profiel: wachtwoord */
.pw-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 20px 48px; align-items: start; }
.pw-card-text .muted + .muted { margin-top: 8px; }
.pw-form { min-width: 0; }
.pw-card + .profile-cards { margin-top: 16px; }

/* Beheer > lid: inloggen */
.login-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.login-action { min-width: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; }
.login-action-title { font-size: 16px; font-weight: 500; }
.login-action .muted { margin-top: 6px; }
.temp-own > summary { font-size: 15px; color: var(--green); }
.temp-own-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.temp-own-form .field { flex: 1 1 220px; }
.temp-pw .copy-row input.temp-pw-value { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; letter-spacing: .02em; color: var(--text); }
.pub-tag-warn { background: #FBF1DC; color: #6B4F14; font-weight: 500; }

@media (max-width: 900px) {
  .pw-card { grid-template-columns: minmax(0, 1fr); }
  .login-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .login-action { padding: 18px 16px; }
  .login-action .btn, .temp-own-form .btn, .pw-form .btn { width: 100%; }
  .login-card .btn-row .btn { flex-basis: 100%; }
}

/* =====================================================================
   v1.9 – Openbare website met losse pagina's (ontwerp: HomeNieuw.dc.html)
   ===================================================================== */
.main-nav a.is-active { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-link.is-active .menu-label { color: var(--gold); }
.menu-overlay.is-open .menu-link:nth-child(5) { animation-delay: .46s; }
.menu-overlay.is-open .menu-link:nth-child(6) { animation-delay: .53s; }

.more-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.more-link:hover { color: var(--gold-label); }
.more-link-gold { color: var(--gold); }
.more-link-gold:hover, .more-link-light:hover { color: var(--white); }
.more-link-light { color: var(--white); }

/* De punt van de hotseat */
@keyframes c055glow { 0% { box-shadow: 0 0 0 0 rgba(211,179,107,.55), 0 0 60px 10px rgba(211,179,107,.22); } 70% { box-shadow: 0 0 0 46px rgba(211,179,107,0), 0 0 90px 20px rgba(211,179,107,.32); } 100% { box-shadow: 0 0 0 0 rgba(211,179,107,0), 0 0 60px 10px rgba(211,179,107,.22); } }
@keyframes c055glowsm { 0% { box-shadow: 0 0 0 0 rgba(211,179,107,.6); } 70% { box-shadow: 0 0 0 9px rgba(211,179,107,0); } 100% { box-shadow: 0 0 0 0 rgba(211,179,107,0); } }
@keyframes c055fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hs-dot { display: inline-block; flex: 0 0 auto; border-radius: 999px; background: var(--gold); animation: c055glowsm 2.2s ease-out infinite; }
.hs-dot-sm { width: 10px; height: 10px; }
.hs-dot-md { width: 22px; height: 22px; margin-left: 22px; vertical-align: middle; }

/* Kop van een losse pagina */
.page-hero { background: var(--green); color: var(--white); padding: 56px 0 80px; }
.page-hero-title { margin-top: 16px; max-width: 900px; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.01em; }
.page-hero-lead { margin-top: 22px; max-width: 640px; font-size: 19px; color: var(--on-green); }

/* Hero: volgende bijeenkomst met aftellen */
.next-line { margin-top: 14px; font-size: 15px; color: var(--on-green); }
.cd { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--green-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cd-nr { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.cd-label { display: block; margin-top: 6px; font-size: 13px; color: var(--on-green-2); }
.next-more { margin-top: 10px; }

/* Loop de middag mee */
.mo { background: var(--green-deep); color: var(--white); padding: var(--section) 0; }
.mo-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
.mo-title { margin-top: 14px; font-size: clamp(36px, 4vw, 52px); line-height: 1.06; }
.mo-lead { margin-top: 18px; color: var(--on-green-2); }
.mo-arrows { margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.mo-arrow { width: 52px; height: 52px; padding: 0; border: 1px solid var(--green-outline); border-radius: 999px; background: transparent; color: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s ease, background .2s ease; }
.mo-arrow:hover { border-color: var(--gold); }
.mo-arrow-gold { border-color: var(--gold); background: var(--gold); color: var(--green-deep); }
.mo-arrow-gold:hover { background: #DEC283; }
.mo-pos { margin-left: 8px; font-size: 14px; color: var(--on-green-2); }
.mo-stage { min-height: 330px; padding: 44px 48px; border-radius: 26px; background: var(--green); border: 1px solid var(--green-line-2); }
.mo-panel { display: none; }
.mo-panel.is-on { display: block; animation: c055fade .45s cubic-bezier(.2,.7,.2,1) both; }
.mo-time { display: flex; align-items: center; font-family: var(--serif); font-size: 92px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.mo-kicker { margin-top: 18px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-green-2); }
.mo-h { margin-top: 8px; font-size: 42px; line-height: 1.08; }
.mo-text { margin-top: 14px; max-width: 640px; font-size: 17px; color: var(--on-green); }
.mo-stops { position: relative; margin-top: 36px; margin-bottom: 0; list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.mo-stops.mo-n-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mo-stops li { display: flex; min-width: 0; }
.mo-stop { position: relative; width: 100%; min-height: 108px; padding: 16px 14px; border: 1px solid var(--green-line); border-radius: 16px; background: transparent; color: var(--white); text-align: left; display: flex; flex-direction: column; gap: 6px; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.mo-stop:hover { border-color: var(--gold); transform: translateY(-2px); }
.mo-stop.is-on { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }
.mo-stop.is-on .hs-dot { background: var(--green-deep); }
.mo-bar { display: flex; align-items: center; gap: 10px; height: 12px; }
.mo-line { display: block; flex: 1 1 auto; height: 4px; border-radius: 4px; background: var(--green-line); }
.mo-stop.is-done .mo-line { background: var(--gold); }
.mo-stop.is-on .mo-line { background: var(--green-deep); }
.mo-stop-time { font-size: 13px; opacity: .85; }
.mo-stop-title { font-size: 15px; font-weight: 500; line-height: 1.3; }
.mo-more { margin-top: 20px; }

/* De hotseat */
.hs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 64px; align-items: center; }
.hs-lead { margin-top: 22px; max-width: 540px; }
.hs-rules { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.hs-rule { width: 100%; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: transparent; color: var(--text); text-align: left; font-size: 18px; font-weight: 500; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hs-rule:hover { transform: translateY(-2px); border-color: var(--gold); }
.hs-rule.is-on { background: var(--white); border-color: var(--gold); }
.hs-rule-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 999px; background: var(--border); }
.hs-rule.is-on .hs-rule-dot { background: var(--gold); }
.hs-stage { min-height: 480px; padding: 48px; border-radius: 28px; background: var(--green); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 44px; }
.hs-seat { width: 210px; height: 210px; padding: 0; border: 0; border-radius: 999px; background: radial-gradient(circle at 40% 35%, #E6CD93 0%, var(--gold) 45%, #B8964C 100%); color: var(--green-deep); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; animation: c055glow 2.8s ease-out infinite; transition: transform .3s ease; }
.hs-seat:hover { transform: scale(1.04); }
.on-green .hs-seat:focus-visible { outline-offset: 8px; border-radius: 999px; }
.hs-seat-label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.hs-seat-date { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.hs-texts { min-height: 84px; max-width: 380px; text-align: center; }
.hs-t { display: none; font-size: 17px; color: var(--on-green); }
.hs-t.is-on { display: block; animation: c055fade .45s cubic-bezier(.2,.7,.2,1) both; }
.hs-t-title { color: var(--white); font-weight: 500; }

/* Jaarstrook */
.ys-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.ys-months { margin: 44px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.ys-month { width: 100%; height: 88px; padding: 0; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--white); color: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 500; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
button.ys-month:hover { transform: translateY(-2px); border-color: var(--gold); }
.ys-dot { display: block; width: 8px; height: 8px; border-radius: 999px; background: var(--gold); }
.ys-month.is-past { background: var(--ground); color: #6B786F; }
.ys-month.is-past .ys-dot { background: var(--border); }
.ys-month.is-next { border-color: var(--gold); }
.ys-month.is-empty { background: transparent; border-style: dashed; color: #8D978F; font-weight: 400; }
.ys-month.is-on { background: var(--green); border-color: var(--green); color: var(--white); }
.ys-panel { display: none; }
.ys-panel.is-on { display: grid; animation: c055fade .45s cubic-bezier(.2,.7,.2,1) both; }
.ys-panel { margin-top: 16px; padding: 30px 36px; border-radius: 20px; background: var(--ground); grid-template-columns: 240px minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; }
.ys-date { font-size: 15px; color: var(--muted); }
.ys-status { display: block; margin-top: 2px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-label); font-weight: 600; }
.ys-theme { font-size: 34px; line-height: 1.15; }
.ys-theme.is-open { color: var(--muted-2); }
.ys-cta { white-space: nowrap; }

/* Branchecheck */
.bc-grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 64px; align-items: start; }
.bc-lead { margin-top: 20px; color: var(--on-green-2); }
.bc-form { margin-top: 28px; }
.bc-label { display: block; font-size: 14px; color: var(--on-green); }
.bc-row { margin-top: 8px; display: flex; gap: 8px; }
.bc-row input { flex: 1 1 auto; min-width: 0; min-height: 56px; padding: 0 22px; border: 1px solid var(--green-outline); border-radius: 999px; background: var(--green-deep); color: var(--white); font-size: 17px; -webkit-appearance: none; appearance: none; }
.bc-row input::placeholder { color: #8FA597; }
.bc-row input:focus { border-color: var(--gold); }
.bc-btn { min-height: 56px; }
.bc-btn { display: none; } /* zonder JavaScript zet nojs.css hem aan */
.bc-result:not(:empty) { margin-top: 16px; }
.bc-box { padding: 18px 22px; border-radius: 16px; animation: c055fade .35s cubic-bezier(.2,.7,.2,1) both; }
.bc-box.is-free { background: var(--gold); color: var(--green-deep); }
.bc-box.is-taken { background: var(--green-deep); color: var(--white); border: 1px solid var(--green-line); }
.bc-box-title { font-weight: 500; }
.bc-box-text { margin-top: 4px; font-size: 15px; }
.bc-box.is-free a { color: var(--green-deep); font-weight: 500; }
.bc-more { margin-top: 20px; }
.bc-count { font-size: 14px; color: var(--on-green-2); }
.bc-chips { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.bc-chip { padding: 11px 20px; border: 1px solid var(--green-line); border-radius: 999px; color: var(--on-green); font-size: 15px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.bc-chip.is-hit { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }

/* Lid worden */
.jn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: stretch; }
.jn-steps { margin: 36px 0 0; padding: 0; list-style: none; }
.jn-steps li { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.jn-steps li:last-child { border-bottom: 1px solid var(--line); }
.jn-steps h3 { font-size: 18px; font-weight: 500; }
.jn-steps p { margin-top: 2px; font-size: 15px; color: var(--muted); }
.jn-nr { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 999px; background: var(--gold); color: var(--green-deep); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.jn-more { margin-top: 16px; }
.jn-price { background: var(--white); border-radius: 22px; padding: 36px; display: flex; flex-direction: column; }
.jn-amount { margin-top: 10px; font-size: 64px; line-height: 1; }
.jn-sub { margin-top: 10px; font-size: 15px; color: var(--muted); }
.jn-note { margin-top: 14px; font-size: 14px; color: var(--muted-2); }
.jn-cta { margin-top: auto; padding-top: 28px; }

/* Proef een middag */
.cta-wrap { padding: 0 0 var(--section); }
.cta { padding: 48px 56px; border-radius: 28px; background: var(--gold); color: var(--green-deep); display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; }
.cta-title { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; }
.cta-text { margin-top: 10px; font-size: 17px; }
.cta-btn { white-space: nowrap; }

/* De middag: feiten en programma */
.facts-section { padding-bottom: 56px; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { padding: 24px 26px; border-radius: 18px; background: var(--white); }
.fact-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-label); font-weight: 600; }
.fact-value { margin-top: 8px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.prog-list { margin: 0; padding: 0; list-style: none; }
.prog-list li { display: flex; gap: 22px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); font-size: 18px; }
.prog-list li:last-child { border-bottom: 1px solid var(--line); }
.prog-list-nr { flex: 0 0 34px; font-family: var(--serif); font-size: 20px; color: var(--gold-num); }

/* Kennismaken en lidmaatschap */
.kn-steps { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.kn-steps li { display: flex; gap: 16px; align-items: center; color: var(--muted); }
.kn-steps .jn-nr { flex-basis: 36px; width: 36px; height: 36px; }
.benefits-light { margin-top: 0; }
.benefits-light .benefit { border-color: var(--line); background: var(--white); }
.benefits-light .benefit p { color: var(--muted); }
.pm-page .pm-grid { margin-top: 0; }

/* Footer met menu */
.footer-head { margin-bottom: 10px; color: var(--white); font-weight: 500; }
.footer-links { margin: 0; padding: 0; list-style: none; line-height: 2; }
.footer-logo-link { display: inline-block; line-height: 0; }
.footer-cols-4 .footer-col { flex: 1 1 180px; }
.footer-cols-4 .footer-brand { flex: 1.3 1 240px; }

@media (max-width: 1100px) {
  .mo-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hs-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .bc-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .mo-stops { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scroll-padding-right: var(--gutter); scrollbar-width: none; padding-bottom: 4px; }
  .mo-stops::-webkit-scrollbar { display: none; }
  .mo-stops li { flex: 0 0 164px; scroll-snap-align: start; }
  .mo-stop-title { hyphens: manual; -webkit-hyphens: manual; }
  .mo-stops li:last-child { scroll-snap-align: end; }
  .hs-grid { grid-template-columns: minmax(0, 1fr); }
  .ys-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ys-panel { grid-template-columns: minmax(0, 1fr); }
  .jn-grid { grid-template-columns: minmax(0, 1fr); }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 32px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 32px 0 48px; }
  .page-hero-title { margin-top: 12px; font-size: 36px; line-height: 1.1; }
  .page-hero-lead { margin-top: 16px; font-size: 16px; }
  .cd { margin-top: 18px; padding-top: 16px; }
  .cd-nr { font-size: 36px; }
  .mo-title { font-size: 34px; }
  .mo-stage { min-height: 300px; padding: 28px 22px; border-radius: 20px; }
  .mo-time { font-size: 60px; }
  .hs-dot-md { width: 16px; height: 16px; margin-left: 16px; }
  .mo-h { font-size: 30px; }
  .mo-text { font-size: 16px; }
  .mo-stops { margin-top: 20px; }
  .hs-rule { padding: 15px 18px; font-size: 16px; gap: 14px; }
  .hs-stage { min-height: 380px; padding: 40px 24px 32px; border-radius: 22px; gap: 36px; }
  .hs-seat { width: 168px; height: 168px; }
  .hs-seat-date { font-size: 26px; }
  .hs-t { font-size: 16px; }
  .ys-months { margin-top: 28px; gap: 6px; }
  .ys-month { height: 64px; border-radius: 12px; gap: 6px; font-size: 13px; }
  .ys-panel { padding: 22px; border-radius: 18px; }
  .ys-theme { font-size: 26px; }
  .ys-cta { width: 100%; white-space: normal; }
  .bc-row input { font-size: 16px; min-height: 52px; padding: 0 18px; }
  .bc-chip { padding: 8px 14px; font-size: 14px; }
  .bc-chips { gap: 8px; }
  .jn-steps li { gap: 16px; padding: 18px 0; }
  .jn-nr { flex-basis: 36px; width: 36px; height: 36px; }
  .jn-price { padding: 26px; }
  .jn-amount { font-size: 48px; }
  .cta { padding: 28px 22px; border-radius: 22px; }
  .cta-btn { width: 100%; white-space: normal; }
  .cta-text { font-size: 16px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fact { padding: 18px 20px; border-radius: 16px; }
  .fact-value { font-size: 16px; }
  .prog-list li { gap: 14px; padding: 14px 0; font-size: 16px; }
}

/* =====================================================================
   v1.9 – Beheer: onderdelen links als tabbladen
   ===================================================================== */
.bh-shell { flex: 1 0 auto; background: linear-gradient(to right, var(--green) 288px, transparent 288px); display: grid; grid-template-columns: 288px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.bh-side { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; background: var(--green); color: var(--white); display: flex; flex-direction: column; scrollbar-width: thin; scrollbar-color: var(--green-line) transparent; }
.bh-side-top { display: flex; align-items: center; gap: 14px; padding: 22px 24px 18px; }
.bh-logo { height: 56px; }
.bh-menu-btn { display: none; }
.bh-nav { flex: 1 0 auto; display: flex; flex-direction: column; padding: 4px 14px 20px; }
.bh-group + .bh-group { margin-top: 18px; }
.bh-group-label { padding: 0 12px 6px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-green-label); }
.bh-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.bh-link { position: relative; display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 12px; color: var(--on-green); font-size: 15px; text-decoration: none; transition: background .15s ease, color .15s ease; }
.bh-link:hover { background: rgba(255,255,255,.07); color: var(--white); }
.bh-link.is-active { background: var(--ground); color: var(--green); font-weight: 500; }
.bh-link.is-active::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.bh-link-label { flex: 1 1 auto; min-width: 0; }
.bh-count { flex: 0 0 auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--gold); color: var(--green-deep); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.bh-side-foot { margin-top: auto; padding: 22px 12px 0; border-top: 1px solid var(--green-line-2); display: flex; flex-direction: column; gap: 2px; }
.bh-group:last-of-type { margin-bottom: 24px; }
.bh-foot-link { display: flex; align-items: center; min-height: 38px; color: var(--on-green-2); font-size: 14px; text-decoration: none; }
.bh-foot-link:hover { color: var(--white); text-decoration: underline; }
.bh-user { margin-top: 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--on-green); }
.bh-user-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-user .pill-link { min-height: 36px; padding: 0 12px; font-size: 13px; }
.bh-body { min-width: 0; display: flex; flex-direction: column; }
.bh-main { flex: 1 0 auto; padding-top: 48px; }
body.hdr-beheer .bh-main .wrap { max-width: 1320px; margin-left: 0; }
@media (max-width: 1000px) {
  .bh-shell { display: block; min-height: 0; background: none; }
  .bh-side { position: sticky; top: 0; z-index: 30; height: auto; overflow: visible; }
  .bh-side-top { padding: 12px var(--gutter); gap: 12px; }
  .bh-logo { height: 48px; }
  .bh-menu-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; max-width: 60%; padding: 0 8px 0 18px; border: 1px solid var(--green-outline); border-radius: 999px; background: transparent; color: var(--white); font-size: 14px; }
  .bh-menu-btn:hover { border-color: var(--gold); }
  .bh-menu-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bh-menu-icon { flex: 0 0 auto; width: 34px; padding: 0 6px; }
  .bh-nav { display: none; }
  .bh-side.is-open .bh-nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; background: var(--green); padding: 8px var(--gutter) 24px; border-top: 1px solid var(--green-line-2); box-shadow: 0 24px 40px rgba(0,0,0,.25); }
  .bh-link.is-active::before { display: none; }
  .bh-main { padding-top: 28px; }
  body.hdr-beheer .bh-main .wrap { margin-left: auto; }
}
@media (max-width: 600px) {
  .bh-side-top .badge-outline { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-seat:hover, .mo-stop:hover, .hs-rule:hover, button.ys-month:hover { transform: none; }
}

/* v1.9: footer-regel met maker */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.site-footer .footer-bottom a { color: #9FB4A7; }
.site-footer .footer-bottom a:hover { color: var(--white); }

/* v1.9: ledenomgeving – meer lucht tussen logo en tabbladen */
@media (min-width: 601px) {
  .hdr-leden .header-row-app { padding-top: 28px; }
  .hdr-leden .tabs { padding-top: 36px; gap: 6px; }
  .hdr-leden .main { padding-top: 48px; }
}

/* v1.9: ledenhome met alleen "Binnenkort" */
.home-strip.home-strip-1 { grid-template-columns: minmax(0, 1fr); }
/* v1.9: "Proef een middag" na een witte sectie loopt door in wit (geen harde kleurstap boven het blok) */
.bg-white + .cta-wrap { background: var(--white); }
.ha-more > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ha-more[open] > summary { background: transparent; border-color: transparent; padding-left: 0; text-decoration: underline; text-underline-offset: 6px; }
.ha-more[open] > summary:hover { border-color: transparent; color: var(--gold-label); }

/* v1.10: Beheer > lid: velden in een rij staan altijd op één lijn */
.lid-grid { align-items: end; }

/* v1.10: "Wat we doen" tot 200 tekens */
.field textarea.ta-short { min-height: 108px; resize: vertical; }
@media (max-width: 600px) { .field textarea.ta-short { min-height: 150px; } }

/* v1.10: "Over ons" */
.field textarea.ta-about { min-height: 180px; resize: vertical; line-height: 1.6; }
.char-count.is-over { color: #7A2320; font-weight: 500; }
.panel-about, .pm-about { white-space: pre-line; }
.pm-more { margin-top: 10px; }
.pm-more > summary { display: inline-flex; align-items: center; min-height: 40px; color: var(--green); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; list-style: none; }
.pm-more > summary::-webkit-details-marker { display: none; }
.pm-more > summary:hover { color: var(--gold-label); }
.pm-more[open] .pm-more-closed, .pm-more:not([open]) .pm-more-open { display: none; }
.pm-about { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.pm-more[open] { display: flex; flex-direction: column; align-items: flex-start; }
.pm-more[open] > summary { order: 2; }
.pm-more::details-content { width: 100%; }

/* =====================================================================
   v1.10 – Profielpaneel, vernieuwd
   ===================================================================== */
.panel.pp { width: min(480px, 100%); padding: 0; display: flex; flex-direction: column; background: var(--ground); }
.pp-hero { position: relative; flex: 0 0 auto; padding: 22px 28px 56px; background: var(--green); color: var(--white); overflow: hidden; }
.pp-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 999px; border: 1px solid rgba(211,179,107,.22); pointer-events: none; }
.pp-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.pp-tag { padding: 5px 14px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); font-size: 13px; }
.pp-close { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--green-outline); color: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s ease, background .2s ease; }
.pp-close:hover { border-color: var(--gold); color: var(--white); background: rgba(255,255,255,.06); }
.pp-id { position: relative; z-index: 1; margin-top: 14px; display: flex; align-items: flex-end; gap: 14px; }
.pp-avatar { width: 128px; height: 128px; font-family: var(--serif); font-weight: 400; font-size: 44px; background: var(--green-card); color: var(--gold); box-shadow: 0 0 0 4px var(--green), 0 0 0 5px rgba(211,179,107,.55); }
.pp-logo { display: inline-flex; align-items: center; justify-content: center; max-width: 150px; height: 64px; padding: 8px 14px; border-radius: 14px; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.pp-logo img { display: block; max-width: 100%; max-height: 48px; width: auto; height: auto; object-fit: contain; }
.pp-name { position: relative; z-index: 1; margin-top: 22px; font-size: 34px; line-height: 1.08; }
.pp-sub { position: relative; z-index: 1; margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15px; color: var(--on-green); }
.pp-branche { padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--on-green); font-size: 13px; }
.pp-actions { position: relative; z-index: 2; margin: -32px 20px 0; padding: 8px; border-radius: 20px; background: var(--white); box-shadow: 0 12px 32px rgba(28,45,37,.14); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.pp-actions-1 { grid-template-columns: minmax(0, 1fr); }
.pp-actions-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-actions-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-action { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 72px; padding: 8px 4px; border-radius: 14px; color: var(--green); font-size: 13px; font-weight: 500; text-decoration: none; transition: background .2s ease, color .2s ease; }
.pp-action:hover { background: var(--ground); color: var(--green); }
.pp-action:first-child { background: var(--green); color: var(--white); }
.pp-action:first-child:hover { background: #1F3328; color: var(--white); }
.pp-ico { flex: 0 0 auto; }
.pp-action:first-child .pp-ico { color: var(--gold); }
.pp-body { flex: 1 0 auto; padding: 8px 28px 28px; }
.pp-body .panel-note { margin-top: 20px; background: var(--white); }
.pp-block { margin-top: 26px; }
.pp-label { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-label); font-weight: 600; }
.pp-label::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.pp-help { margin-top: 10px; padding-left: 18px; border-left: 3px solid var(--gold); font-size: 24px; line-height: 1.3; color: var(--text); }
.pp-call { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--text); }
.pp-question { margin-top: 10px; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--text); }
.pp-question.is-empty { color: var(--muted-2); background: transparent; border-style: dashed; }
.pp-about { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--muted); white-space: pre-line; }
.pp-foot { position: sticky; bottom: 0; flex: 0 0 auto; padding: 16px 28px 20px; background: linear-gradient(to bottom, rgba(244,243,237,0), var(--ground) 28%); }
@media (max-width: 600px) {
  .pp-hero { padding: 16px 20px 52px; }
  .pp-avatar { width: 104px; height: 104px; font-size: 36px; }
  .pp-logo { height: 54px; max-width: 130px; }
  .pp-logo img { max-height: 40px; }
  .pp-name { font-size: 28px; }
  .pp-actions { margin: -30px 14px 0; }
  .pp-action { min-height: 64px; font-size: 12px; }
  .pp-body { padding: 4px 20px 24px; }
  .pp-help { font-size: 21px; }
  .pp-foot { padding: 14px 20px 18px; }
}
.pp-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* v1.11: logo in een eigen blok onderin, niet meer naast de foto */
.pp-company-card { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.pp-company-logo { display: block; max-width: 180px; max-height: 44px; width: auto; height: auto; object-fit: contain; }
.pp-company-link { font-size: 14px; color: var(--green); text-underline-offset: 4px; overflow-wrap: anywhere; }
.pp-company-link:hover { color: var(--gold-label); }
.pp-company-card + .pp-about { margin-top: 14px; }

/* v1.13: proefperiode */
.proef-chip { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #FBF1DC; color: #6B4F14; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; vertical-align: middle; }
.pub-intro .proef-chip { margin-left: 0; margin-right: 6px; }

/* =====================================================================
   v1.13 – "Lees meer" als verdieping (pop-up)
   ===================================================================== */
.pm-more { margin-top: 12px; }
.pm-more-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--green); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.pm-more-link:hover { color: var(--gold-label); }
.pm-modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; padding: 24px; }
.pm-modal:target, .pm-modal.is-open { display: flex; }
.pm-modal-back { position: absolute; inset: 0; background: rgba(20,33,26,.62); cursor: default; }
.pm-modal-box { position: relative; width: min(640px, 100%); max-height: min(86vh, 860px); overflow-y: auto; border-radius: 28px; background: var(--white); box-shadow: 0 30px 80px rgba(0,0,0,.3); outline: none; }
.pm-modal.is-open .pm-modal-box { animation: c055pop .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes c055pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.pm-modal-close { position: absolute; top: 18px; right: 18px; z-index: 1; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.pm-modal-close:hover { border-color: var(--green); color: var(--green); }
.pm-modal-head { padding: 40px 44px 28px; border-bottom: 1px solid var(--line-soft); }
.pm-modal-logo { display: block; max-width: 220px; max-height: 64px; width: auto; height: auto; object-fit: contain; margin-bottom: 26px; }
.pm-modal-kicker { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-label); font-weight: 600; padding-right: 48px; }
.pm-modal-title { margin-top: 8px; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; padding-right: 48px; }
.pm-modal-lead { margin-top: 14px; padding-left: 16px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 21px; line-height: 1.4; color: var(--text); }
.pm-modal-body { padding: 28px 44px 8px; }
.pm-modal-about { font-size: 16px; line-height: 1.75; color: var(--muted); white-space: pre-line; }
.pm-modal-foot { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 44px 28px; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--white) 30%); }
.pm-modal-foot .pm-person { margin: 0; }
@media (max-width: 600px) {
  .pm-modal { align-items: flex-end; padding: 0; }
  .pm-modal-box { width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 24px 24px 0 0; }
  .pm-modal.is-open .pm-modal-box { animation: c055sheet .35s cubic-bezier(.2,.7,.2,1) both; }
  .pm-modal-head { padding: 28px 22px 22px; }
  .pm-modal-logo { max-width: 170px; max-height: 50px; margin-bottom: 20px; }
  .pm-modal-lead { font-size: 18px; }
  .pm-modal-body { padding: 22px 22px 4px; }
  .pm-modal-about { font-size: 15px; }
  .pm-modal-foot { padding: 18px 22px 24px; }
  .pm-modal-foot .btn { width: 100%; }
}
@keyframes c055sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* v1.14: "Proef een middag" in zacht lichtgroen in plaats van goud */
.cta { background: #E3EBE5; color: var(--green-deep); }
.bg-white + .cta-wrap .cta { background: #E3EBE5; }

/* v1.15: verdieping breder: links het bedrijf, rechts het verhaal (minder scrollen) */
@media (min-width: 901px) {
  .pm-modal-box { width: min(1080px, 100%); max-height: min(84vh, 760px); overflow: hidden; display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "head body" "foot body"; }
  .pm-modal-head { grid-area: head; padding: 44px 40px 24px; border-bottom: 0; border-right: 1px solid var(--line-soft); overflow-y: auto; }
  .pm-modal-foot { grid-area: foot; position: static; flex-direction: column; align-items: flex-start; gap: 18px; padding: 8px 40px 40px; background: none; border-right: 1px solid var(--line-soft); }
  .pm-modal-foot > span:empty { display: none; }
  .pm-modal-foot .btn { width: 100%; }
  .pm-modal-body { grid-area: body; overflow-y: auto; padding: 88px 56px 48px 48px; }
  .pm-modal-title { font-size: 34px; padding-right: 0; }
  .pm-modal-kicker { padding-right: 0; }
  .pm-modal-lead { font-size: 19px; }
  .pm-modal-about { font-size: 16px; line-height: 1.8; max-width: 620px; }
  .pm-modal-close { top: 22px; right: 22px; }
}
/* v1.15 mobiel: sluitknop blijft in beeld bij scrollen, onderbalk compact op één regel */
@media (max-width: 900px) {
  .pm-modal-close { position: sticky; top: 14px; margin: 14px 14px -58px auto; display: flex; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
  .pm-modal-foot { flex-wrap: nowrap; gap: 12px; padding-top: 28px; }
  .pm-modal-foot .pm-person { min-width: 0; }
  .pm-modal-foot .pm-person span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pm-modal-foot .btn { width: auto; flex: 0 0 auto; padding: 0 20px; }
}

/* v1.16: titels nooit midden in een woord afbreken; lange namen worden kleiner */
.pm-modal-title, .pm-company { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.pm-modal-title.is-long { font-size: 28px; }
.pm-modal-title.is-xlong { font-size: 24px; }
.pm-company.is-long { font-size: 22px; }
.pm-company.is-xlong { font-size: 19px; }
@media (min-width: 901px) {
  .pm-modal-box { grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .pm-modal-title.is-long { font-size: 26px; }
  .pm-modal-title.is-xlong { font-size: 22px; }
}

/* v1.17: geen focusring na sluiten met de muis */
.no-ring:focus, .no-ring:focus-visible { outline: none; }

/* v1.18: kleiner logo in de footer */
.logo-footer { width: 96px; }
@media (max-width: 600px) { .logo-footer { width: 84px; } }

/* =====================================================================
   v1.20 – Hotseat: geen pulserende gloed meer, maar rustige cirkels.
   De punten op de ringen draaien mee als je een andere spelregel kiest.
   ===================================================================== */
.hs-seat { animation: none; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.hs-dot { animation: none; box-shadow: 0 0 0 3px rgba(211,179,107,.22); }
.mo-stop.is-on .hs-dot { box-shadow: 0 0 0 3px rgba(28,45,37,.18); }
.hs-orbit { position: relative; width: 360px; height: 360px; max-width: 100%; display: flex; align-items: center; justify-content: center; }
.hs-ring { position: absolute; left: 50%; top: 50%; border-radius: 999px; border: 1px solid rgba(211,179,107,.4); transform: translate(-50%, -50%); pointer-events: none; transition: transform 1s cubic-bezier(.65,0,.35,1); }
.hs-ring-1 { width: 252px; height: 252px; border-color: rgba(211,179,107,.5); }
.hs-ring-2 { width: 306px; height: 306px; border-color: rgba(211,179,107,.3); }
.hs-ring-3 { width: 360px; height: 360px; border-color: rgba(211,179,107,.16); }
.hs-sat { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 999px; background: var(--gold); }
.hs-sat-sm { top: -4px; width: 8px; height: 8px; margin-left: -4px; opacity: .7; }
.hs-orbit[data-step="1"] .hs-ring-2 { transform: translate(-50%, -50%) rotate(120deg); }
.hs-orbit[data-step="2"] .hs-ring-2 { transform: translate(-50%, -50%) rotate(240deg); }
.hs-orbit[data-step="0"] .hs-ring-3 { transform: translate(-50%, -50%) rotate(200deg); }
.hs-orbit[data-step="1"] .hs-ring-3 { transform: translate(-50%, -50%) rotate(80deg); }
.hs-orbit[data-step="2"] .hs-ring-3 { transform: translate(-50%, -50%) rotate(-40deg); }
.hs-stage { gap: 28px; }
@media (max-width: 600px) {
  .hs-orbit { width: 280px; height: 280px; }
  .hs-ring-1 { width: 200px; height: 200px; }
  .hs-ring-2 { width: 240px; height: 240px; }
  .hs-ring-3 { width: 280px; height: 280px; }
}

/* v1.22: kaarten op Lidmaatschap zonder lijntje, net als de andere witte kaarten */
.benefits-light .benefit { border: 0; }

/* v1.23: Onze leden in drie kolommen, met grotere profielfoto's */
.pm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pm-card .pm-person { gap: 14px; font-size: 16px; }
.pm-card .pm-person .avatar { width: 64px; height: 64px; font-size: 20px; }
.pm-modal-foot .pm-person .avatar { width: 56px; height: 56px; font-size: 18px; }
.pm-logo { max-height: 68px; }
@media (max-width: 1000px) { .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .pm-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pm-card .pm-person .avatar { width: 56px; height: 56px; }
  .pm-logo { max-height: 52px; }
}
.pm-company.is-long { font-size: 24px; }
.pm-company.is-xlong { font-size: 22px; }

/* =====================================================================
   v1.25 – Onder constructie
   ===================================================================== */
.uc-body { display: block; min-height: 100vh; min-height: 100dvh; background: var(--green); color: var(--white); }
.uc { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 48px var(--gutter); overflow: hidden; }
.uc-inner { position: relative; z-index: 1; max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.uc-logo { height: 96px; }
.uc-kicker { margin-top: 36px; }
.uc-title { margin-top: 14px; font-size: clamp(38px, 6vw, 64px); line-height: 1.06; }
.uc-lead { margin-top: 20px; font-size: 18px; color: var(--on-green); }
.uc-next { margin-top: 28px; padding: 16px 22px; border-radius: 18px; background: var(--green-card); font-size: 16px; }
.uc-next-label { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.uc-contact { margin-top: 28px; font-size: 15px; color: var(--on-green-2); }
.uc-contact a, .uc-login a { color: var(--white); }
.uc-login { margin-top: 10px; font-size: 14px; }
.uc-login a { color: var(--on-green-2); }
.uc-rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.uc-rings span { position: absolute; left: 50%; top: 50%; border-radius: 999px; border: 1px solid rgba(211,179,107,.22); transform: translate(-50%, -50%); }
.uc-rings span:nth-child(1) { width: 640px; height: 640px; }
.uc-rings span:nth-child(2) { width: 860px; height: 860px; border-color: rgba(211,179,107,.14); }
.uc-rings span:nth-child(3) { width: 1080px; height: 1080px; border-color: rgba(211,179,107,.08); }
@media (max-width: 600px) {
  .uc-logo { height: 72px; }
  .uc-lead { font-size: 16px; }
  .uc-rings span:nth-child(1) { width: 420px; height: 420px; }
  .uc-rings span:nth-child(2) { width: 560px; height: 560px; }
  .uc-rings span:nth-child(3) { width: 700px; height: 700px; }
}
.uc-bar { background: var(--gold); color: var(--green-deep); font-size: 14px; text-align: center; padding: 8px var(--gutter); }
.uc-bar a { color: var(--green-deep); font-weight: 500; }
.uc-contact a { white-space: nowrap; }

/* v1.26: verhuizen */
.move-form .field { max-width: 420px; }

/* v1.27: technische instellingen ingeklapt */
.tech-block { border-top: 1px solid var(--line); padding-top: 24px; }
.tech-summary { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: 18px; background: var(--white); cursor: pointer; list-style: none; max-width: 860px; }
.tech-summary::-webkit-details-marker { display: none; }
.tech-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; }
.tech-title::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--green); }
.tech-block[open] .tech-title::after { content: "−"; }
.tech-sub { font-size: 14px; color: var(--muted-2); }
.tech-summary { align-items: stretch; text-align: left; }
.tech-title { width: 100%; }

/* v1.28 – Diner na afloop */
.dinner-form { margin-top: 8px; padding-top: 4px; }
.dinner-form .rsvp-ask { margin-top: 20px; }
.rsvp-ask-sub { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; opacity: .75; }
.stats.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .stats.stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tag-dinner { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #E3EBE5; color: var(--green, #263C30); font-size: 12px; font-weight: 500; vertical-align: 1px; }

/* v1.30 – Geen lichte naad onder de vaste header op iPhone (Safari rondt de hoogte af) */
.site-header, .app-header { box-shadow: 0 1px 0 0 var(--green); }
.public-header { transform: translateZ(0); }

/* v1.30 – Basisvermelding: leden met alleen naam en bedrijfsnaam */
.pm-basic { margin-top: 56px; }
.pm-basic.is-only { margin-top: 40px; }
.pm-basic-title { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark, #8A6D2B); }
.pm-basic-list { margin: 16px 0 0; padding: 8px 28px; list-style: none; background: var(--white); border-radius: var(--radius-card); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.pm-basic-item { min-width: 0; padding: 16px 0; border-bottom: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 2px; }
.pm-basic-company { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; line-height: 1.3; color: var(--ink, #1E2B24); overflow-wrap: normal; }
.pm-basic-name { font-size: 14px; color: var(--muted-2, #56655C); }
@media (max-width: 900px) { .pm-basic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pm-basic-list { grid-template-columns: 1fr; padding: 4px 20px; } }
.pub-tag-basis { background: #EEF2EF; color: #1F5136; font-weight: 500; }
.pm-basic-list { overflow: hidden; }
.pm-basic-item { margin-bottom: -1px; }

/* v1.36 – Deelnemerslijst: telefoon en e-mail in eigen kolommen */
.dl-table { table-layout: fixed; }
.dl-table .dl-nr { width: 32px; }
.dl-table .dl-name { width: 17%; }
.dl-table .dl-company { width: 19%; }
.dl-table .dl-branche { width: 12%; }
.dl-table .dl-q { width: 24%; }
.dl-table .dl-phone { width: 128px; }
.dl-table .dl-mail { width: 24%; }
.dl-table td.nowrap { white-space: nowrap; }
.dl-table td.dl-email { overflow-wrap: anywhere; word-break: normal; }
.dl-table td.dl-email a { color: inherit; }
@media (max-width: 760px) { .dl-table { table-layout: auto; } .dl-table col { width: auto !important; } }
.print-table.dl-table { min-width: 860px; }
@media print { .print-table.dl-table { min-width: 0; font-size: 11.5px; } }
.diner-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px 20px; align-items: end; }
.diner-grid .field-full { grid-column: 1 / -1; }
.diner-test { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.diner-test .field { flex: 1 1 260px; max-width: 420px; }
@media (max-width: 600px) { .diner-grid { grid-template-columns: 1fr; } .diner-test .btn, .diner-grid .btn-row .btn { width: 100%; } }

/* v1.36 – Programma met tijden, uitleg en de hotseat */
.program-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.program-time { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--gold-label); }
.program-desc { font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.program-hot { margin-top: 6px; padding: 8px 12px; border-radius: 10px; background: #F4EEDD; font-size: 14px; line-height: 1.45; color: var(--text, #1E2B24); }
.program-hot-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-label); }
.prog-row-x { align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.prog-row-x:first-child { border-top: 0; padding-top: 0; }
.prog-row-x .prog-nr { padding-top: 34px; }
.prog-row-x .prog-btns { padding-top: 26px; }
.prog-fields { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px 12px; }
.prog-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.prog-f-label { font-size: 12px; font-weight: 500; color: var(--muted-2); }
.prog-f-desc { grid-column: 1 / -1; }
.prog-f .prog-input { width: 100%; }
@media (max-width: 600px) {
  .prog-row-x { flex-wrap: wrap; }
  .prog-row-x .prog-nr { padding-top: 0; flex-basis: 100%; text-align: left; }
  .prog-fields { grid-template-columns: 1fr; flex-basis: 100%; }
  .prog-row-x .prog-btns { margin-left: 0; padding-top: 4px; }
}

/* v1.36 – Hotseat plannen */
.hs-plan { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.hs-plan-card { margin-top: 0; max-width: none; }
.hs-slots { display: grid; gap: 12px; }
.hs-slot { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hs-slot-label { font-size: 13px; font-weight: 500; color: var(--muted-2); }
.hs-slot select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: var(--text); }
.hs-turn { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #F4EEDD; color: #6B4F14; font-size: 12px; font-weight: 500; }
.hs-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hs-chip { padding: 8px 14px; border-radius: 999px; background: var(--white); font-size: 14px; }
.hs-chip.is-planned { background: #E3EBE5; }
.hs-chip-sub { font-size: 12px; color: var(--muted-2); }
.hs-plan > .wiz-card { margin-top: 0; align-self: start; }
.note-card-warn { background: #FFFBF2; box-shadow: inset 0 0 0 2px #EBD9AC; }

/* v1.37 – Nieuwsbrief: blokken inklappen */
.nb-fold { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: -4px; border: 0; border-radius: 10px; background: transparent; color: var(--muted-2); cursor: pointer; }
.nb-fold:hover { background: var(--ground); color: var(--text); }
.nb-fold svg { transition: transform .15s ease; }
.nb-card.is-folded .nb-fold svg { transform: rotate(-90deg); }
.nb-card.is-folded .nb-card-body, .nb-card.is-folded .nb-card-note { display: none; }
.nb-card.is-folded .nb-card-head { border-bottom: 0; }
.nb-card-sum { display: none; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-card.is-folded .nb-card-sum { display: block; }
.nb-fold-all { margin-top: 6px; font-size: 13px; color: var(--muted-2); }
/* v1.37: met het menu links was de editor te smal; nu krijgen editor en voorbeeld de ruimte samen */
@media (min-width: 1180px) {
  .nb-builder { grid-template-columns: minmax(0, 1fr); }
  .nb-preview { position: static; }
}
@media (min-width: 1360px) {
  .nb-builder { grid-template-columns: minmax(440px, 1fr) minmax(0, 560px); }
  .nb-preview { position: sticky; top: 16px; }
}
.nb-card-title { overflow-wrap: normal; word-break: normal; }
/* v1.39: aantal momenten volgt het programma */
@media (min-width: 901px) {
  .mo-stops.mo-n-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mo-stops.mo-n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mo-stops.mo-n-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mo-stops.mo-n-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .mo-stops.mo-n-9 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mo-stops.mo-n-10 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* v1.40 – Contributie met sterretje */
.jn-star { font-size: .5em; vertical-align: super; margin-left: 2px; color: var(--gold-label); }
.jn-star-note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted-2); }

/* v1.41 – Gast in de hotseat */
.hs-guests { padding-top: 16px; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; }
.hs-guest-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.hs-guest-row input { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: var(--text); }
@media (max-width: 560px) { .hs-guest-row { grid-template-columns: 1fr; } }

/* v1.42 – Hotseat-voorstel */
.hs-suggest-all { margin-top: 16px; }
.hs-slot.is-suggested select { background: #FBF3DD; border-color: #E5CF93; }

/* v1.42 – Hulpvragen-archief en contacten */
.hv-filter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px 16px; align-items: end; }
.hv-f-btns { display: flex; gap: 12px; align-items: center; min-height: 48px; }
.hv-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.hv-print td.nowrap { white-space: nowrap; }
@media (max-width: 900px) { .hv-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .hv-f-zoek { grid-column: 1 / -1; } }
@media (max-width: 560px) { .hv-filter { grid-template-columns: 1fr; } }
.ct-search { display: flex; gap: 12px; align-items: flex-end; max-width: 640px; }
.ct-f { flex: 1 1 auto; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ct-chips-label { min-width: 44px; font-size: 13px; color: var(--muted-2); }
.ct-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; color: var(--text); text-decoration: none; }
.ct-chip:hover { border-color: var(--green); }
.ct-chip.is-on { background: var(--green); border-color: var(--green); color: var(--white); }
.ct-kind { display: inline-block; margin-top: 2px; font-size: 12px; color: var(--muted-2); }
.ct-kind-gast { color: #6B4F14; }
.ct-miss { font-size: 12px; color: #A15A2C; }
@media (max-width: 560px) { .ct-search { flex-direction: column; align-items: stretch; } }
.app-approve-guest { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.app-approve-guest .field { flex: 1 1 260px; }
.hs-suggest-all + p { margin-top: 16px; }

/* v1.43 – Import */
.imp-list { margin: 16px 0 0; padding: 0; list-style: none; }
.imp-list li { display: flex; gap: 14px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.imp-list li:first-child { border-top: 0; }
.imp-nr { flex: 0 0 48px; text-align: right; font-family: var(--serif); font-size: 22px; color: var(--gold-label); }
.ct-del { display: inline; margin-left: 8px; } .ct-del .link-btn { font-size: 12px; color: var(--muted-2); }
.table td.nowrap { white-space: nowrap; }
/* v1.44: namen en bedrijven niet midden in een woord afbreken */
.hv-table td, .ct-table td { overflow-wrap: break-word; word-break: normal; hyphens: manual; }
.hv-table td:nth-child(1) { width: 18%; } .hv-table td:nth-child(2) { width: 22%; } .hv-table td:nth-child(4) { width: 14%; }
.ct-li { display: inline-flex; padding: 4px; margin: -4px; border-radius: 6px; }
.ct-li:hover { background: var(--ground); }
.ct-li svg { display: block; }

/* v1.46 – Ontvangers in de nieuwsbrief-bouwer */
.nb-aud-group { margin: 14px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-label); }
.nb-aud-group:first-child { margin-top: 0; }

/* v1.47 – Klikbare getallen op de startpagina van het beheer */
a.stat-link { display: block; color: inherit; text-decoration: none; transition: background .15s ease, transform .15s ease; }
a.stat-link:hover { background: var(--green-line, #3E5547); transform: translateY(-2px); }
a.stat-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
a.stat-link .stat-label::after { content: " →"; opacity: .6; }
.dl-wrap { display: flex; flex-direction: column; }
.dl-wrap.is-focus .dl-list { order: -1; }
.dl-wrap.is-focus .dl-list > .ct-chips:first-child { margin-top: 28px; }
.dl-wrap.is-focus .dl-tools { margin-top: 32px; }

/* v1.48 – Bestuur */
.bs-list { margin: 0; padding: 0; list-style: none; }
.bs-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto auto; gap: 12px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.bs-row:first-child { border-top: 0; }
#toegang .bs-row { grid-template-columns: minmax(0, 1fr) auto; }
.bs-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bs-title input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: var(--text); }
.bs-rm { font-size: 13px; color: var(--muted-2); }
.bs-add { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.bs-add .field { flex: 1 1 240px; }
@media (max-width: 700px) { .bs-row { grid-template-columns: minmax(0, 1fr) auto; } .bs-title { grid-column: 1 / -1; grid-row: 2; } .bs-rm { justify-self: start; } }

/* v1.49 – Aanwezigheid per bijeenkomst */
.aw-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.aw-stat { flex: 1 1 130px; min-width: 0; padding: 14px 16px; border-radius: 14px; background: var(--white); }
.aw-stat.aw-wide { flex: 2 1 220px; }
.aw-nr { font-size: 26px; font-weight: 600; line-height: 1.1; color: var(--text); }
.aw-label { margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--muted-2); }
.aw-card { background: var(--white); border-radius: 22px; padding: 8px 0; }
.aw-head { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; justify-content: space-between; padding: 18px 24px 14px; border-bottom: 1px solid var(--line-soft); }
.aw-empty { padding: 16px 24px; }
.aw-list { margin: 0; padding: 0; list-style: none; }
.aw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 24px; border-top: 1px solid var(--line-soft); scroll-margin-top: 80px; }
.aw-row:first-child { border-top: 0; }
.aw-form { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: minmax(180px, 1.4fr) minmax(170px, 1fr) auto auto auto; gap: 8px 16px; align-items: center; }
.aw-form-guest { grid-template-columns: minmax(200px, 1.4fr) minmax(180px, 1.1fr) auto auto auto auto; }
.aw-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aw-sel { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aw-sel-label { font-size: 12px; color: var(--muted-2); }
.aw-sel select, .aw-sub input { width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font: inherit; font-size: 14px; color: var(--text); }
.aw-st-ja { background: #E3EFE7 !important; border-color: #BFD6C6 !important; }
.aw-st-nee { background: #FBEDEA !important; border-color: #EBC9C0 !important; }
.aw-st-vervanger { background: #FBF3DD !important; border-color: #E5CF93 !important; }
.aw-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.aw-check input { width: 18px; height: 18px; accent-color: var(--green); }
.aw-check input:disabled + span { opacity: .45; }
.aw-price { font-size: 14px; white-space: nowrap; }
.aw-badge { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--ground); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); vertical-align: 2px; }
.aw-actions { display: flex; gap: 14px; align-items: center; flex: 0 0 auto; }
.aw-sent { padding: 2px 10px; border-radius: 999px; background: #E3EFE7; color: #1F5136; font-size: 12px; font-weight: 600; }
.aw-del { color: #A15A2C; }
.aw-add { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; padding: 18px 24px 16px; border-top: 1px solid var(--line-soft); background: #FAFAF7; border-radius: 0 0 22px 22px; }
.aw-add-known { display: flex; gap: 12px; align-items: flex-end; flex: 1 1 420px; }
.aw-add-known .field { flex: 1 1 auto; }
.aw-new { flex: 1 1 100%; }
.aw-new[open] summary { margin-bottom: 14px; }
.aw-new-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.aw-new-form .aw-full { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .aw-form, .aw-form-guest { grid-template-columns: 1fr 1fr; }
  .aw-who, .aw-sel, .aw-sub { grid-column: 1 / -1; }
  .aw-row { padding: 14px 16px; }
  .aw-head { padding: 16px; }
  .aw-add { padding: 16px; }
  .aw-add-known { flex-direction: column; align-items: stretch; }
  .aw-new-form { grid-template-columns: 1fr; }
}
.aw-badge.is-gold { background: #FBF3DD; color: #6B4F14; }
.aw-badge.is-warn { background: #FBEDEA; color: #A15A2C; }

/* v1.50: als app op het beginscherm – ruimte voor de statusbalk en de balk/thuisstreep onderin */
.site-header, .app-header, .bh-side { padding-top: env(safe-area-inset-top, 0px); }
.site-header, .app-header { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
/* v1.54: ruimte onder de footer terug (1.50 zette die per ongeluk op 0), plus de thuisstreep van de iPhone */
.site-footer { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
.slim-footer { padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (max-width: 600px) { .site-footer { padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px)); } }

/* v1.50: ledenmenu op de telefoon – alle zes de tabbladen in beeld, drie naast elkaar, niets valt weg */
@media (max-width: 600px) {
  body.hdr-leden .tabs-wrap { padding-left: 24px; padding-right: 24px; }
  .tabs-wrap::before, .tabs-wrap::after { display: none; }
  .hdr-leden .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px 0 18px; overflow: visible; }
  .hdr-leden .tab { justify-content: center; min-height: 42px; padding: 0 4px; font-size: 14px; white-space: nowrap; }
  .hdr-leden .header-row-app { padding-top: 16px; padding-bottom: 12px; }
  /* Aanmelden: knoppen iets compacter, en genoeg ruimte onderin zodat niets achter de balk van Safari valt */
  .rsvp-card .btn-row { gap: 10px; }
  .rsvp-card .btn-row .btn { min-height: 46px; }
  .rsvp-ask { margin: 22px 0 10px; }
  .hdr-leden .main { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  /* Eet je mee: twee knoppen naast elkaar, scheelt een hele rij */
  .dinner-form .btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rsvp-card .dinner-form .btn-row .btn { width: auto; padding-left: 8px; padding-right: 8px; }
}

/* v1.51: ontbrekende afstand-hulpklassen */
.mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }

/* v1.51: Aanwezigheid – knoppen onder de tellers met meer lucht */
.aw-tools { margin-top: 24px; gap: 12px; }
.aw-tools + .aw-card { margin-top: 36px; }
@media (max-width: 600px) {
  .aw-tools { margin-top: 20px; gap: 10px; }
  .aw-tools .btn { flex: 1 1 100%; }
  .aw-tools + .aw-card { margin-top: 28px; }
}

/* v1.51: profielpaneel als app op het beginscherm – kop onder de statusbalk vandaan, knop onderin vrij van de thuisstreep */
.panel.pp { height: 100%; height: 100dvh; overscroll-behavior: contain; }
.pp-hero { padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
.pp-foot { background: var(--ground); border-top: 1px solid var(--line); box-shadow: 0 -12px 24px rgba(244,243,237,.9); padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 600px) {
  .pp-hero { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .pp-foot { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* v1.51: als app – de strook achter de statusbalk is groen, net als de kop */
html:has(body.hdr-leden), html:has(body.hdr-beheer) { background: var(--green); }
@media (max-width: 900px) { html:has(body.hdr-beheer) .bh-body { background: var(--ground); } }

/* v1.51: tellers op Aanwezigheid in een raster, zodat de laatste niet over de hele breedte uitrekt */
.aw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); gap: 10px; }
.aw-stat.aw-wide { grid-column: auto; }
@media (max-width: 600px) { .aw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aw-nr { white-space: nowrap; font-size: 24px; }
.aw-stats .aw-stat { padding: 14px 14px; }

/* v1.53: archief-acties en uitnodiging */
.ct-del form { display: inline; }
.inv-list { columns: 2 220px; column-gap: 24px; padding-left: 18px; }
.inv-list li { break-inside: avoid; margin: 2px 0; }

/* v1.55: gasten – eerst "komt de gast?", dan "komt als" */
.aw-form.aw-form-guest { flex-basis: 100%; grid-template-columns: minmax(180px, 1.2fr) minmax(170px, 1fr) minmax(170px, 1fr) auto auto auto auto; }
.aw-form-guest + .aw-actions { margin-left: auto; }
.aw-row.is-off .aw-who { opacity: .55; }
@media (max-width: 1400px) { .aw-form.aw-form-guest { grid-template-columns: 1fr 1fr; } .aw-form-guest .aw-who { grid-column: 1 / -1; } .aw-form-guest + .aw-actions { margin-left: 0; } }

/* v1.60: geen blauwe tik-flits op telefoons */
html { -webkit-tap-highlight-color: transparent; }
/* v1.60: de iPhone maakt van datums, tijden, adressen en telefoonnummers zelf blauwe links. Die nemen onze kleur over. */
a[x-apple-data-detectors], a[href^="x-apple-data-detectors:"] { color: inherit !important; text-decoration: inherit !important; font: inherit !important; }

/* v1.62: gast bewerken met foto */
.ctc-form { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px 32px; align-items: start; }
.ctc-photo { display: flex; flex-direction: column; align-items: flex-start; }
.ctc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.ctc-full { grid-column: 1 / -1; }
@media (max-width: 760px) { .ctc-form, .ctc-fields { grid-template-columns: minmax(0, 1fr); } }
.person-li { vertical-align: -2px; margin-left: 2px; }

/* v1.64: hulpvragen in een rustiger, kleinere letter */
.q-text { font-size: 16px; line-height: 1.55; font-weight: 400; color: var(--text); }
@media (max-width: 600px) { .q-text { font-size: 15px; } }

/* v1.64: Betalingen */
.bt-form { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 20px; align-items: center; }
@media (max-width: 600px) { .bt-form { grid-template-columns: auto 1fr; } .bt-form .aw-who { grid-column: 1 / -1; } }

/* v1.64: knoppen in het beheer wat kleiner en rustiger */
.hdr-beheer .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.hdr-beheer .btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.hdr-beheer .btn-lg { min-height: 46px; padding: 0 24px; font-size: 15px; }
.hdr-beheer .month-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hdr-beheer .month-chip span { min-height: 38px; font-size: 13px; padding: 0 4px; }
@media (max-width: 600px) { .hdr-beheer .month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* v1.66: hulpvragen invoeren tijdens de bijeenkomst */
.hv-row { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 10px 20px; align-items: start; }
.hv-input textarea { width: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font: inherit; font-size: 15px; line-height: 1.5; color: var(--text); resize: vertical; }
.hv-input textarea:focus { outline: none; border-color: var(--green); }
.hv-prev { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.hv-chip { max-width: 100%; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--ground); font: inherit; font-size: 13px; color: var(--green); cursor: pointer; text-align: left; }
.hv-chip:hover { border-color: var(--green); }
@media (max-width: 760px) { .hv-row { grid-template-columns: minmax(0, 1fr); } }
.hv-prev-dark { margin-top: 12px; }
.hv-prev-dark > span { width: 100%; color: var(--on-green); }
.hv-prev-dark .hv-chip { background: rgba(255,255,255,.08); border-color: var(--green-line); color: var(--white); }
.hv-prev-dark .hv-chip:hover { border-color: var(--gold); }

/* v1.67: rollen en toegang */
#toegang .bs-row-access { grid-template-columns: minmax(0, 1fr) minmax(200px, 260px) minmax(120px, auto); }
.bs-role select { width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font: inherit; font-size: 14px; }
.rl-table th, .rl-table td { vertical-align: top; }
.rl-table thead th { font-size: 11px; line-height: 1.3; white-space: normal; min-width: 92px; }
.rl-role { min-width: 220px; text-align: left; font-weight: 400; }
.rl-desc textarea { display: block; width: 100%; margin-top: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; line-height: 1.45; color: var(--muted); resize: vertical; }
.rl-desc-text { display: block; margin-top: 4px; }
.rl-cell { text-align: center; }
.rl-check input { width: 20px; height: 20px; accent-color: var(--green); }
.rl-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 24px; font-size: 13px; }
.rl-legend dt { font-weight: 600; color: var(--text); }
.rl-legend dd { margin: 2px 0 0; color: var(--muted); }
@media (max-width: 760px) {
  #toegang .bs-row-access { grid-template-columns: minmax(0, 1fr); }
  .rl-table thead { display: none; }
  .rl-table tr { display: block; padding: 12px 0; border-top: 1px solid var(--line-soft); }
  .rl-table th, .rl-table td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0; border: 0; text-align: left; }
  .rl-table .rl-role { display: block; }
  .rl-table td::before { content: attr(data-label); font-size: 13px; color: var(--muted); }
}
.rl-table tbody th.rl-role { min-width: 260px; text-transform: none; letter-spacing: normal; font-size: 14px; font-weight: 400; color: var(--text); padding-right: 16px; }
.rl-table tbody th.rl-role .strong { font-size: 15px; }
.rl-desc textarea { min-height: 72px; }
.stats-static .stat-link { pointer-events: none; }
.stats-static .stat-label::after { content: none !important; display: none; }
.rl-table thead th { min-width: 78px; font-size: 10.5px; letter-spacing: .08em; }
.rl-table tbody th.rl-role { min-width: 220px; }

/* v1.67: aanmelden als lid – spelregels en ondertekenen */
.terms-box { border: 1px solid var(--line); border-radius: 16px; background: #FAFAF7; }
.terms-title { padding: 14px 18px 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-label); }
.terms-scroll { max-height: 300px; overflow-y: auto; padding: 6px 18px 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.terms-scroll:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.terms-list { margin: 0; padding-left: 20px; }
.terms-list > li { margin-top: 12px; }
.terms-list h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--text); }
.terms-list ul { margin: 0; padding-left: 18px; }
.terms-list ul li { margin: 3px 0; }
.terms-date { margin: 0; }
.terms-date-val { display: flex; align-items: center; min-height: 48px; color: var(--text); }
.app-details { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; margin: 12px 0; font-size: 14px; }
.app-details dt { font-size: 12px; color: var(--muted-2); }
.app-details dd { margin: 2px 0 0; color: var(--text); }

/* v1.68: beheermenu met inklapbare groepen */
.bh-group + .bh-group { margin-top: 4px; }
.bh-group-fold { border-top: 1px solid var(--green-line-2); padding-top: 4px; }
.bh-group-btn { width: 100%; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--on-green-label); font: inherit; cursor: pointer; text-align: left; }
.bh-group-btn:hover { background: rgba(255,255,255,.05); color: var(--white); }
.bh-group-btn .bh-group-label { padding: 0; flex: 1 1 auto; }
.bh-group-btn:hover .bh-group-label { color: var(--white); }
.bh-chev { flex: 0 0 auto; transition: transform .2s ease; }
.bh-group-btn[aria-expanded="false"] .bh-chev { transform: rotate(-90deg); }
.bh-group-btn[aria-expanded="true"] + .bh-list { padding-bottom: 8px; }
.bh-group-count { margin-left: 0; }
.bh-group-btn[aria-expanded="true"] .bh-group-count { display: none; }
.bh-group-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* v1.69: rollen uitgelegd op het overzicht */
.role-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px 32px; padding: 24px 28px; border-radius: 22px; background: var(--white); align-items: start; }
.role-all > summary { margin-top: 4px; }
.role-list { display: grid; gap: 10px; margin: 0; }
.role-item { padding: 10px 14px; border-radius: 12px; background: var(--ground); }
.role-item.is-mine { box-shadow: inset 0 0 0 2px var(--gold); }
.role-item dt { font-weight: 600; font-size: 14px; color: var(--text); }
.role-item dd { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.role-rights { display: block; margin-top: 4px; font-size: 12px; color: var(--green); }
.bs-role-desc { display: block; margin-top: 2px; color: var(--muted-2); line-height: 1.45; }
@media (max-width: 900px) { .role-info { grid-template-columns: minmax(0, 1fr); padding: 20px; } }

/* v1.70 – Handleidingen */
.wiz-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wiz-card fieldset legend { padding: 0; }


/* v1.72 – Gast of vervanger aanmelden, hotseat overdragen (ledenomgeving) */
.gp-box { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--green-line); border-radius: 16px; background: var(--green-card); }
.gp-hot { border-color: var(--gold); }
.gp-title { margin: 0; font-weight: 500; color: var(--white); }
.gp-sub { display: block; font-size: 13px; font-weight: 400; color: #A9BCB0; margin-top: 2px; }
.gp-text { margin: 6px 0 0; font-size: 14px; color: var(--on-green); }
.gp-current { margin: 0; color: var(--on-green); }
.gp-current strong { color: var(--white); font-weight: 500; }
.gp-link { cursor: pointer; color: var(--gold); font-size: 14px; margin-top: 8px; display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.gp-change > summary { list-style: none; }
.gp-change > summary::-webkit-details-marker { display: none; }
.gp-form { display: grid; gap: 12px; margin-top: 14px; max-width: 560px; }
.gp-form > .btn { justify-self: start; }
.gp-field select, .gp-new select { width: 100%; }
.field-dark select { min-height: 48px; padding: 0 12px; border: 1px solid var(--green-outline); border-radius: 12px; background: var(--green-deep); color: var(--white); font: inherit; font-size: 15px; }
.field-dark select:focus { border-color: var(--gold); outline: none; }
.gp-field > span, .gp-new .field > span { display: block; margin-bottom: 6px; font-size: 14px; }
.gp-new { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gp-new .field:first-child { grid-column: 1 / -1; }
.gp-dinner { border: 0; margin: 4px 0 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.gp-dinner legend { padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--white); font-weight: 500; width: 100%; }
.gp-dinner legend .gp-sub { display: inline; margin-left: 4px; }
.gp-guests { margin-top: 8px; }
.gp-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.gp-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--green-line); border-radius: 14px; color: var(--on-green); }
.gp-list strong { color: var(--white); font-weight: 500; }
.gp-add { margin-top: 20px; }
.gp-add > summary { list-style: none; cursor: pointer; }
.gp-add > summary::-webkit-details-marker { display: none; }
.gp-add[open] > summary { display: none; }
.gp-add .gp-form { padding: 18px 20px; border: 1px solid var(--green-line); border-radius: 16px; background: var(--green-card); margin-top: 0; }
@media (max-width: 560px) {
  .gp-new { grid-template-columns: minmax(0, 1fr); }
  .gp-list li { flex-direction: column; align-items: flex-start; }
}
.aw-warn { color: var(--danger); font-weight: 500; }
.gp-dinner .check input { accent-color: var(--gold); }

/* v1.74 – Wie komen er (gast) */
.wk-page { padding-top: 48px; padding-bottom: 72px; }
.person.is-me { border-color: var(--gold); }

/* v1.76 – Deelnemerslijst: symbolen voor eet mee en hotseat */
.dl-icons { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: -2px; }
.dl-icon { display: inline-block; flex: 0 0 auto; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.dl-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.dl-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* v1.77: tekst in gouden knoppen altijd donker (ook in het menu bovenaan) */
.btn.btn-gold, a.btn.btn-gold, .main-nav a.btn-gold, .main-nav a.btn-gold:hover, .main-nav a.btn-gold:visited, .btn.btn-gold:hover, .btn.btn-gold:focus-visible, .mobile-menu a.btn-gold { color: var(--green-deep); text-decoration: none; }
.act-form-img { display: block; max-width: 260px; max-height: 200px; width: auto; border-radius: 12px; margin: 4px 0 10px; }
.diner-total { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--ground); max-width: 560px; }
.diner-total-nr { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }

/* v1.78 */
.person-grid-absent { margin-top: 12px; }
.person.is-absent .avatar { filter: grayscale(1); opacity: .8; }
.person.is-absent .person-name { color: var(--muted); }
.mb-16 { margin-bottom: 16px; }

/* v1.83 – Foto's op de homepage */
.ph { background: var(--green); padding: 0; }
.ph-banner { position: relative; margin: 0; }
.ph-banner > img { display: block; width: 100%; height: clamp(260px, 42vw, 560px); object-fit: cover; object-position: center; }
.ph-cap { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.ph-where { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); color: #fff; line-height: 1.2; }
.ph-strip-wrap { padding-top: 40px; padding-bottom: 72px; }
.ph-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.ph-head .kicker { margin: 0; }
.ph-more { color: var(--white); font-size: 15px; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.ph-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ph-strip img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.ph-strip span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--on-green-muted, #A9BCB0); }
.hf-preview { display: block; width: 100%; max-width: 520px; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 12px; }
@media (max-width: 900px) { .ph-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ph-strip-wrap { padding-bottom: 56px; } }
/* v1.85 – foto bij Lid worden (bovenin het contributieblok) */
.jn-price .jn-photo { display: block; width: calc(100% + 72px); max-width: none; margin: -36px -36px 28px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px 22px 0 0; }
.hf-inset { max-width: 240px; aspect-ratio: 3 / 2; }
@media (max-width: 600px) { .jn-price .jn-photo { width: calc(100% + 52px); margin: -26px -26px 22px; } }
/* v1.86 – mail inplannen, jaren lid, jubileummail, Geweest bij 055 Connect */
.nb-plan { border: 1px solid var(--line, #D9DDD6); border-radius: 14px; padding: 14px 18px; background: var(--paper, #fff); }
.nb-plan-set { border-color: var(--gold); background: #FBF7EC; }
.nb-plan-set p { margin: 0; }
.nb-plan-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.nb-plan-row .field { margin: 0; min-width: 150px; }
.nb-plan-tag { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--gold-label); }
.years-tag { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--gold-label); font-weight: 600; letter-spacing: 0.02em; }
.face-years { display: block; margin-top: 6px; font-size: 12px; color: var(--gold-label); font-weight: 600; }
.ct-rule { max-width: 720px; border: 1px solid var(--line, #D9DDD6); border-radius: 14px; padding: 14px 18px; background: var(--paper, #fff); }
.ct-rule p { margin: 0; }
.jub-names a { color: var(--green); }
.jub-year { border: 1px solid var(--line, #D9DDD6); border-radius: 12px; padding: 10px 16px; background: var(--paper, #fff); }
.jub-year summary { cursor: pointer; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.jub-y { font-weight: 600; color: var(--green); min-width: 4.5em; }
.jub-test { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.jub-test .field { margin: 0; min-width: 220px; }
.h-wiz-sub { margin-bottom: 4px; font-size: 18px; font-weight: 600; color: var(--green); }
.ct-rule fieldset, #teksten fieldset { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
.ct-rule legend, #teksten legend { padding: 0; }
.nb-choice { border: 0; padding: 0; margin: 12px 0 0; min-width: 0; }
.nb-choice legend { padding: 0; }
.choice-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--gold); color: var(--green); font-size: 11px; font-weight: 600; letter-spacing: .02em; vertical-align: 1px; }
.aw-st-ziek { border-color: #C2570C; color: #8A3D08; background: #FFF4EC; }
/* v1.89 – uitnodigingen: vaste ontvangers, kennismaking, netwerk, concepten kiezen */
.nb-fixed-aud { margin: 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white, #fff); }
.nb-new-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.nb-new-grid .field { margin: 0; }
.nb-new-wide { grid-column: 1 / -1; }
.nb-new-contact { margin-top: 12px; }
.nb-new-contact summary { cursor: pointer; }
@media (max-width: 600px) { .nb-new-grid { grid-template-columns: minmax(0, 1fr); } }
.nb-drafts-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; }
.row-card-check { display: flex; align-items: center; gap: 14px; }
.row-check { display: inline-flex; align-items: center; flex: 0 0 auto; }
.row-check input { width: 20px; height: 20px; }
.row-card-check .row-main { flex: 1 1 auto; min-width: 0; }
/* v1.94: afwezig (ziek) apart onderaan de deelnemerslijst */
.print-table tr.dl-group td { padding: 10px 12px; background: #FFF4EC; color: #8A3D08; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-bottom: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.print-table tr.dl-group td .dl-icon { vertical-align: -3px; margin-right: 6px; }
.print-table tr.dl-absent td, .print-table tr.dl-absent td strong { color: #9AA59E; }
/* v1.95: de brede foto op de homepage: heel of als strook */
.ph-banner.is-full > img { height: auto; max-height: none; object-fit: contain; }
.ph-banner.is-boven > img { object-position: center 15%; }
.ph-banner.is-midden > img { object-position: center 50%; }
.ph-banner.is-onder > img { object-position: center 85%; }
.hf-fit { border: 0; padding: 0; margin: 0; min-width: 0; }
.hf-fit legend { padding: 0; }
/* v1.96 – hotseat-rooster */
.hs-year td { vertical-align: top; }
.hs-edit-link { margin-left: 8px; font-size: 13px; color: var(--gold-label, #86692A); }
.hs-editors { display: grid; gap: 2px; }
.hs-roster { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hs-roster-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.2fr); gap: 4px 20px; padding: 14px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.hs-roster-row.is-mine { background: #FBF7EC; }
.hs-roster-date { font-weight: 600; color: var(--green); }
.hs-roster-theme { color: var(--muted, #4A5A51); }
@media (max-width: 700px) { .hs-roster-row { grid-template-columns: minmax(0, 1fr); } }
/* v1.96 – ingeplande mails */
.nb-sched { margin: 20px 0 8px; padding: 16px 20px; border: 1px solid var(--gold); border-radius: 14px; background: #FBF7EC; }
.nb-sched .list-label { margin: 0 0 8px; }
.nb-sched-list { list-style: none; margin: 0 0 8px; padding: 0; }
.nb-sched-list li { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 2px 16px; padding: 8px 0; border-top: 1px solid rgba(134, 105, 42, .2); }
.nb-sched-list li:first-child { border-top: 0; }
.nb-sched-when { font-weight: 600; color: var(--green); }
.nb-sched-compact { margin: 24px 0; }
@media (max-width: 600px) { .nb-sched-list li { grid-template-columns: minmax(0, 1fr); } }
/* v1.97 – Gezondheid en noodknop. Rood, geel en groen alleen als stip; verder wit, zwart en grijs. */
.gz-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.gz-head form { margin: 0; }
.gz-dot { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #9A9A9A; }
.gz-dot-goed { background: #2E9E5B; }
.gz-dot-let-op { background: #F2C200; }
.gz-dot-fout { background: #D32F2F; }
.gz-stand { display: flex; align-items: flex-start; gap: 14px; max-width: 720px; padding: 18px 22px; border-radius: 14px; background: #FFFFFF; color: #0F0F0F; border: 1px solid #E2E2E2; }
.gz-stand .gz-dot { margin-top: 6px; }
.gz-stand strong { display: block; font-weight: 600; }
.gz-stand small { display: block; margin-top: 2px; color: #6B6B6B; font-size: 13px; }
.gz-stand-fout { background: #0F0F0F; color: #FFFFFF; border-color: #0F0F0F; }
.gz-stand-fout small { color: #B5B5B5; }
.gz-list { list-style: none; margin: 0; padding: 0; }
.gz-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid #ECECEC; }
.gz-item:first-child { border-top: 0; padding-top: 0; }
.gz-item .gz-dot { margin-top: 5px; }
.gz-item-text { min-width: 0; }
.gz-label { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #6B6B6B; }
.gz-head-line { display: block; font-weight: 600; color: #0F0F0F; overflow-wrap: anywhere; }
.gz-why { margin: 2px 0 0; color: #4A4A4A; font-size: 14px; overflow-wrap: anywhere; }
.gz-details summary { cursor: pointer; font-size: 14px; }
.gz-details ol { margin: 10px 0 0; padding-left: 20px; font-size: 14px; color: #4A4A4A; }
.gz-details code, .gz-nood code { font-size: 13px; overflow-wrap: anywhere; }
.gz-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.gz-grid .field { margin: 0; }
@media (max-width: 600px) { .gz-grid { grid-template-columns: minmax(0, 1fr); } }
.btn-nood { background: #C62828; border-color: #C62828; color: #FFFFFF; }
.btn-nood:hover, .btn-nood:focus-visible { background: #A61F1F; border-color: #A61F1F; color: #FFFFFF; }
.gz-nood.is-on { border: 2px solid #0F0F0F; }
.gz-log { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.gz-log li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 2px 14px; padding: 8px 0; border-top: 1px solid #ECECEC; overflow-wrap: anywhere; }
.gz-log li:first-child { border-top: 0; }
.gz-log-when { color: #6B6B6B; }
@media (max-width: 600px) { .gz-log li { grid-template-columns: minmax(0, 1fr); } }
.gz-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 12px 18px; border-radius: 12px; background: #0F0F0F; color: #FFFFFF; font-size: 15px; }
.gz-bar a { color: #FFFFFF; text-decoration: underline; margin-left: 6px; }
