/* Leden en lidgeld (/leden-en-lidgeld/). Bouwt verder op base.css, style.css en features.css.
   Alle klassen beginnen met ld-. Mockups volgen de schermen van het platform. */

/* ---------- Hero: het scherm Leden ---------- */
.ld-toolbar { gap: 8px; }
.ld-tabs { display: inline-flex; align-items: center; height: 40px; padding: 3px; border-radius: 999px; background: var(--subtle); flex: none; }
.ld-tabs > span { display: inline-flex; align-items: center; gap: 7px; height: 100%; padding: 0 14px; border-radius: 999px; font-size: 13.5px; color: color-mix(in srgb, var(--subtle-foreground) 80%, transparent); white-space: nowrap; }
.ld-tabs > span.on { background: var(--card); color: var(--foreground); box-shadow: var(--shadow-raised); }
.dark .ld-tabs > span.on { background: rgb(255 255 255 / 0.14); }
.ld-tabs i { font-size: 15px; }
.ld-search { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--subtle); color: var(--muted-foreground); font-size: 13.5px; white-space: nowrap; min-width: 210px; }
.ld-spacer { flex: 1; }
.ld-caret { font-size: 11px !important; margin-left: -2px; }

.ld-table { border-radius: 20px; }
.ld-row {
  display: grid; align-items: center; gap: 14px;
  grid-template-columns: 36px minmax(0, 1fr) 90px 150px 82px 68px 76px 124px;
  padding: 11px 22px; border-top: 1px solid var(--hairline); font-size: 14px;
}
.ld-head { border-top: 0; padding-block: 13px; font-size: 11.5px; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); white-space: nowrap; }
.ld-head > span { overflow: hidden; text-overflow: ellipsis; }
/* MemberTag: Tag size sm */
.ld-table .tag { gap: 4px; padding: 0 8px 0 6px; font-size: 12px; }
.ld-row .r { text-align: right; }
.ld-who { min-width: 0; }
.ld-who .m-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ld-narrow { display: none; }
.ld-c-tier { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.ld-c-post { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted-foreground); }
.ld-c-post i { font-size: 16px; }
.ld-c-city { font-size: 13.5px; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 1. Instellingen, tab Lidmaatschap ---------- */
.split-vis > .ld-settings { width: min(460px, 100%); }
.ld-sec-head { display: flex; gap: 12px; align-items: flex-start; }
.ld-sec-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--subtle); color: var(--subtle-foreground); font-size: 19px; }
.ld-switch-row { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--subtle); font-size: 13.5px; }
.ld-switch-row > div { flex: 1; min-width: 0; }
.ld-switch { position: relative; flex: none; width: 32px; height: 18px; border-radius: 99px; background: var(--input); transition: background-color 240ms var(--ease-hover); }
.ld-switch::after { content: ""; position: absolute; top: 1px; left: 1px; width: 16px; height: 16px; border-radius: 99px; background: var(--background); box-shadow: 0 1px 2px rgb(0 0 0 / 0.16); transition: transform 240ms var(--ease-hover), background-color 240ms var(--ease-hover); }
.ld-switch.on { background: var(--primary); }
.ld-switch.on::after { transform: translateX(14px); }
.dark .ld-switch:not(.on)::after { background: var(--foreground); }
.dark .ld-switch.on::after { background: var(--primary-foreground); }
.ld-label { margin-top: 14px; font-size: 13px; color: var(--subtle-foreground); }
.ld-input { margin-top: 6px; height: 38px; display: flex; align-items: center; padding: 0 14px; border-radius: 12px; background: var(--subtle); font-size: 14px; }
.ld-tiers-head { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ld-h3 { font-size: 15px; font-weight: 500; }
.ld-tier { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; padding: 12px 14px; border-radius: 16px; box-shadow: 0 0 0 1px var(--hairline); }
.ld-tier-main { flex: 1 1 200px; min-width: 0; display: grid; gap: 3px; }
.ld-tier-main b { font-weight: 500; }
.ld-count { font-size: 13px; color: var(--subtle-foreground); }
.ld-tier-btns { display: flex; align-items: center; gap: 4px; color: var(--subtle-foreground); font-size: 13px; }
.ld-tier-btns i { width: 28px; height: 28px; border-radius: 99px; display: grid; place-items: center; font-size: 15px; }
.ld-tier-btns .ld-off { opacity: 0.35; }
.ld-tier-btns span { padding: 0 8px; }

/* ---------- 2. Het formulier: keuze en formule ----------
   Volgt KindChoice, TierChoice en StepPills (src/components/donate). Het voorbeeld is 440px breed,
   zoals een iframe onder 640px: de twee keuzes staan dan onder elkaar.
   De wrapper houdt de hoogte van de hoogste stap vast; de kaart zelf groeit en krimpt aan de onderkant,
   zodat er rond het voorbeeld niets verspringt. */
.split-vis > .ld-form-wrap { width: min(440px, 100%); display: grid; align-content: start; }
.ld-form { background: var(--card); border-radius: 24px; }
.ld-form-head { display: flex; align-items: center; gap: 14px; padding: 20px 20px 0; }
.ld-form-head .m-title { min-width: 0; font-size: 20px; font-weight: 300; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-form .m-org { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; background: var(--brand); }
.ld-pills { list-style: none; margin: 16px 0 0; padding: 0 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ld-pills li { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ld-pills li > span { height: 3px; border-radius: 99px; background: color-mix(in srgb, var(--foreground) 8%, transparent); overflow: hidden; position: relative; }
.ld-pills li > span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out-expo), opacity 500ms var(--ease-out-expo); }
.ld-pills li.on > span::after, .ld-pills li.done > span::after { transform: scaleX(1); }
.ld-pills li.done > span::after { opacity: 0.45; }
.ld-pills small { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 12.5px; line-height: 1.3; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 300ms var(--ease-hover); }
.ld-pills small i { display: none; font-size: 12px; flex: none; }
.ld-pills li.on small { color: var(--foreground); }
.ld-pills li.done small { color: var(--subtle-foreground); }
.ld-pills li.done small i { display: block; animation: ld-pop 300ms var(--ease-out-expo); }
@keyframes ld-pop { from { opacity: 0; transform: scale(0.5); } }

.ld-steps { display: grid; overflow: hidden; transition: height 420ms var(--ease-out-expo); }
.ld-step { grid-area: 1 / 1; align-self: start; min-width: 0; padding: 20px; }
.ld-step:not(.is-on) { visibility: hidden; opacity: 0; }
.ld-q { font-size: 15px; }
.ld-kinds { margin-top: 16px; display: grid; gap: 12px; }
.ld-kind {
  position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: left;
  padding: 16px; border: 0; border-radius: 18px; background: var(--subtle); color: var(--foreground);
  font: inherit; font-size: 14px; box-shadow: 0 0 0 1px transparent;
  transition: background-color 200ms var(--ease-hover), box-shadow 200ms var(--ease-hover), transform 200ms var(--ease-hover);
}
button.ld-kind { cursor: pointer; }
button.ld-kind:hover { background: color-mix(in srgb, var(--subtle), var(--foreground) 5%); }
button.ld-kind:active { transform: scale(0.98); transition-duration: 100ms; }
button.ld-kind:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 40%, transparent); }
.ld-kind-top { display: flex; align-items: center; gap: 12px; }
.ld-kind-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--card); color: var(--subtle-foreground); box-shadow: var(--shadow-raised); font-size: 20px; }
.ld-kind-t { display: grid; flex: 1; min-width: 0; }
.ld-kind-t b { font-weight: 400; font-size: 17px; line-height: 1.25; }
.ld-kind-t small { font-size: 14px; line-height: 1.4; color: var(--muted-foreground); }
.ld-arrow { font-size: 16px; color: var(--muted-foreground); transition: transform 200ms var(--ease-hover); }
button.ld-kind:hover .ld-arrow { transform: translateX(2px); }
.ld-bul { display: flex; gap: 8px; align-items: flex-start; color: var(--subtle-foreground); line-height: 1.45; }
.ld-kind-top + .ld-bul { margin-top: 12px; }
.ld-bul + .ld-bul { margin-top: 6px; }
.ld-bul i { font-size: 14px; margin-top: 2px; color: var(--brand); flex: none; }
.ld-foot { margin-top: auto; padding-top: 12px; font-size: 12px; color: var(--muted-foreground); }

.ld-tierpick { display: grid; gap: 10px; padding-top: 6px; }
.ld-pick {
  position: relative; isolation: isolate; display: flex; align-items: flex-start; gap: 16px; text-align: left; width: 100%;
  padding: 14px 16px; border: 1px solid transparent; border-radius: 18px; background: var(--subtle); color: var(--foreground);
  font: inherit; cursor: pointer;
  transition: background-color 200ms var(--ease-hover), color 200ms var(--ease-hover), box-shadow 200ms var(--ease-hover), transform 200ms var(--ease-hover);
}
/* Gekozen formule: surface-primary in de merkkleur, als laag die invaagt */
.ld-pick::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0;
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--brand), #fff 14%) 0%, var(--brand) 52%, color-mix(in srgb, var(--brand), #000 8%) 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand), #000 24%), inset 0 2px 0 -1px rgb(255 255 255 / 0.22), inset 0 -1px 1px rgb(0 0 0 / 0.18);
  transition: opacity 200ms var(--ease-hover);
}
.ld-pick:hover:not([aria-checked="true"]) { background: color-mix(in srgb, var(--subtle), var(--foreground) 5%); }
.ld-pick:active { transform: scale(0.98); transition-duration: 100ms; }
.ld-pick:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 40%, transparent); }
.ld-pick[aria-checked="true"] { background: transparent; color: #fff; box-shadow: 0 1px 1px rgb(0 0 0 / 0.1), 0 4px 10px -4px color-mix(in srgb, var(--brand) 60%, transparent); }
.ld-pick[aria-checked="true"]::before { opacity: 1; }
.ld-pick-t { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ld-pick-t b { font-weight: 400; font-size: 17px; line-height: 1.25; }
.ld-pick-t small { font-size: 14px; line-height: 1.4; color: var(--muted-foreground); transition: color 200ms var(--ease-hover); }
.ld-pick-p { display: grid; justify-items: end; flex: none; }
.ld-pick-p b { font-weight: 300; font-size: 22px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.ld-pick-p small { margin-top: 4px; font-size: 12px; color: var(--muted-foreground); transition: color 200ms var(--ease-hover); }
.ld-pick[aria-checked="true"] .ld-pick-t small { color: rgb(255 255 255 / 0.75); }
.ld-pick[aria-checked="true"] .ld-pick-p small { color: rgb(255 255 255 / 0.6); }
.ld-pick-chk {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 99px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 12px; box-shadow: 0 0 0 2px var(--card);
  opacity: 0; transform: scale(0.5); transition: opacity 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo);
}
.ld-pick[aria-checked="true"] .ld-pick-chk { opacity: 1; transform: none; }
.ld-form-btns { margin-top: 20px; display: flex; gap: 10px; }
.ld-form-btns .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.ld-form-btns .ld-brand-btn { flex: 1; padding: 0 14px 0 18px; }
.ld-brand-btn {
  color: #fff; cursor: default; border-color: color-mix(in srgb, var(--brand), #000 24%);
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--brand), #fff 14%) 0%, var(--brand) 52%, color-mix(in srgb, var(--brand), #000 8%) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), inset 0 -1px 1px rgb(0 0 0 / 0.18), 0 1px 1px rgb(0 0 0 / 0.1), 0 4px 10px -4px color-mix(in srgb, var(--brand) 60%, transparent);
}
.ld-brand-btn i { font-size: 16px; }

/* ---------- 3. Filteren op de pagina Leden ---------- */
.split-vis > .ld-filter { width: min(330px, 100%); background: transparent; box-shadow: none; overflow: visible; }
.ld-filter-trigger { display: flex; }
.ld-filter-trigger .btn { height: 40px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 35%, transparent); }
.ld-badge { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--primary); color: var(--primary-foreground); font-size: 11.5px; font-weight: 500; }
.ld-pop { margin-top: 6px; padding: 6px; border-radius: 16px; background: var(--popover); box-shadow: var(--shadow-float); font-size: 13.5px; }
.ld-pop-h { padding: 10px 10px 4px; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-foreground); }
.ld-pop-h:not(:first-child) { margin-top: 6px; border-top: 1px solid var(--hairline); padding-top: 12px; }
.ld-pop-sep { height: 1px; margin: 4px 6px; background: var(--hairline); }
.ld-opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; }
.ld-opt > i:first-child { font-size: 17px; color: var(--muted-foreground); }
.ld-opt > span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-opt-n { color: var(--muted-foreground); font-size: 12.5px; }
.ld-opt-ok { font-size: 13px; }
.ld-opt.on { background: var(--subtle); font-weight: 500; }
.ld-opt.on > i:first-child { color: var(--amber-ink); }
.ld-opt.on-soft { font-weight: 500; }

/* ---------- Breed: het jaar van een lid ---------- */
.ld-year { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.ld-year::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; background: currentColor; opacity: 0.15; border-radius: 2px; }
.ld-year > li { display: grid; grid-template-rows: auto 1fr; gap: 18px; min-width: 0; }
.ld-when { position: relative; display: grid; gap: 4px; padding-top: 30px; font-size: 14.5px; line-height: 1.5; }
.ld-when b { font-weight: 500; }
.ld-when > span:last-child { opacity: 0.62; }
.ld-dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 99px; background: currentColor; opacity: 0.35; box-shadow: 0 0 0 4px #161616; }
.dark .ld-dot { box-shadow: 0 0 0 4px var(--wide-bg, #222225); }
.ld-year li.end .ld-dot { opacity: 1; background: var(--green); }
.ld-year li.end .ld-when b { color: var(--green); }
.dark .ld-year li.end .ld-when b { color: var(--green-ink); }

.ld-mail { --brand: #2f6f4f; align-self: start; border-radius: 18px; }
.ld-mail-in { padding: 20px; font-size: 13px; line-height: 1.55; color: var(--subtle-foreground); }
.ld-mail-in p { margin-top: 9px; }
.ld-mail-org { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--foreground); padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.ld-mail-org .m-org { width: 28px; height: 28px; border-radius: 8px; font-size: 15px; background: var(--brand); }
.ld-mail-kick { font-size: 10.5px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand); }
.dark .ld-mail-kick { color: #6fbf93; }
.ld-mail-h { margin-top: 4px; font-size: 17px; letter-spacing: -0.015em; line-height: 1.25; color: var(--foreground); }
.ld-mail-amt { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--subtle); }
.ld-mail-amt > div { display: grid; min-width: 0; }
.ld-mail-amt b { font-weight: 500; color: var(--foreground); }
.ld-mail-amt small { font-size: 11.5px; color: var(--muted-foreground); }
.ld-mail-amt > span { font-size: 16px; color: var(--foreground); letter-spacing: -0.01em; white-space: nowrap; }
.ld-mail-muted { color: var(--muted-foreground); font-size: 12px; }
.ld-mail-btn { margin-top: 14px; display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 500; }

/* ---------- 4. Leden exporteren ---------- */
.split-vis > .ld-export { width: min(440px, 100%); background: var(--popover); border-radius: 24px; }
.ld-exp-head { padding: 20px 22px 16px; border-bottom: 1px solid var(--hairline); }
.ld-exp-head .m-title { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.ld-exp-body { padding: 4px 22px 6px; }
.ld-exp-sec { padding: 14px 0; }
.ld-exp-sec + .ld-exp-sec { border-top: 1px solid var(--hairline); }
.ld-exp-t { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; }
.ld-n { width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; background: var(--subtle); font-size: 12px; font-variant-numeric: tabular-nums; }
.ld-opts { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ld-opts span { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--subtle); font-size: 13px; }
.ld-opts span.on { background: var(--card); box-shadow: 0 0 0 1.5px var(--foreground); }
.ld-opts span { border-radius: 14px; }
.ld-opts b { font-weight: 500; }
.ld-opts small { font-size: 11.5px; color: var(--muted-foreground); }
.ld-chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px; }
.ld-chips span { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; font-size: 13px; color: var(--subtle-foreground); }
.ld-chips span.on { background: var(--subtle); color: var(--foreground); box-shadow: 0 0 0 1px var(--hairline); }
.ld-select { margin-top: 8px; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; border-radius: 12px; background: var(--subtle); font-size: 13.5px; }
.ld-select i { font-size: 11px; color: var(--muted-foreground); }
.ld-exp-sec .ld-label { margin-top: 10px; }
.ld-checks { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 13.5px; }
.ld-checks span { display: flex; align-items: center; gap: 9px; }
.ld-checks i { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; flex: none; font-size: 12px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--foreground) 22%, transparent); }
.ld-checks span.on i { background: var(--primary); color: var(--primary-foreground); box-shadow: none; }
.ld-exp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--hairline); }

/* ---------- 5. Mijn steun ---------- */
.split-vis > .ld-mine { width: min(420px, 100%); }
.ld-mine-org { display: flex; align-items: center; gap: 10px; padding: 16px 22px 0; font-size: 13.5px; color: var(--subtle-foreground); }
.ld-mine-org .m-org { width: 28px; height: 28px; border-radius: 8px; font-size: 15px; background: var(--brand); }
.ld-mine-h { margin-top: 14px; padding: 0 22px 14px; border-bottom: 1px solid var(--hairline); font-size: 17px; letter-spacing: -0.01em; }
.ld-mine-top { display: flex; gap: 14px; align-items: flex-start; }
.ld-mine-ico { width: 42px; height: 42px; border-radius: 99px; display: grid; place-items: center; flex: none; font-size: 20px; background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green-ink); }
.ld-mine-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; }
.ld-pill { padding: 2px 8px; border-radius: 99px; font-size: 12px; background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green-ink); }
.ld-mine-top .m-sub { margin-top: 3px; }
.ld-mine-box { margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--hairline); display: grid; gap: 12px; }
.ld-mine-switch { position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer; font-size: 13.5px; }
.ld-mine-switch > span:first-child { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ld-fg { color: var(--foreground); }
.ld-mine-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ld-mine-switch input:focus-visible + .ld-switch { outline: 2px solid var(--ring); outline-offset: 2px; }
.ld-mine-addr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.ld-mine-addr .m-sub { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.ld-mine-addr .m-sub i { font-size: 16px; flex: none; }
.ld-stop { margin-top: 14px; }

/* ---------- 6. Eén persoon: lid en donateur ---------- */
.split-vis > .ld-donor { width: min(440px, 100%); }
.ld-donor-top { display: flex; gap: 14px; align-items: center; }
.ld-big { width: 52px; height: 52px; font-size: 16px; flex: none; }
.ld-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ld-stats { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid var(--hairline); }
.ld-stats div { display: grid; gap: 4px; padding: 12px 22px; }
.ld-stats div + div { border-left: 1px solid var(--hairline); }
.ld-stats .m-sub { font-size: 12px; }
.ld-stats b { font-weight: 400; font-size: 1.35rem; letter-spacing: -0.03em; }
.ld-block { padding: 14px 22px 12px; }
.ld-block + .ld-block { border-top: 1px solid var(--hairline); }
.ld-block-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14.5px; }
.ld-mem { margin-top: 10px; display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--hairline); }
.ld-mem-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; font-size: 19px; background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal-ink); }
.ld-kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; font-size: 13.5px; }
.ld-kv > span:first-child { color: var(--muted-foreground); }
.ld-note { margin-top: 6px; font-size: 12px; color: var(--muted-foreground); }
.ld-gift { margin-top: 8px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.ld-gift .tag { justify-self: start; max-width: 100%; overflow: hidden; }
.ld-gift .m-amount { white-space: nowrap; }
.ld-exp-foot .m-sub { white-space: nowrap; }

/* ---------- Pakketten en CTA ---------- */
.ld-plan-note { margin-top: 18px; font-size: 14.5px; line-height: 1.55; color: var(--muted-foreground); }
.ld-cta-card { width: min(360px, 100%) !important; }
.ld-cta-top { display: flex; gap: 12px; align-items: flex-start; }
.ld-cta-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 22px; background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal-ink); }
.ld-cta-nums { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ld-cta-nums > div { display: grid; gap: 4px; }
.ld-cta-nums b { font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.ld-wide-btn { margin-top: 18px; width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ld-row { grid-template-columns: 36px minmax(0, 1fr) 92px 150px 82px 124px; }
  .ld-c-post, .ld-c-city, .ld-head > :nth-child(6), .ld-head > :nth-child(7) { display: none; }
  .ld-search { min-width: 0; }
}
@media (max-width: 1000px) {
  .ld-year { grid-template-columns: 1fr 1fr; }
  .ld-year::before { display: none; }
}
@media (max-width: 860px) {
  .ld-hide-md { display: none !important; }
  .ld-row { grid-template-columns: 36px minmax(0, 1fr) auto; padding: 11px 16px; row-gap: 4px; }
  .ld-head { display: none; }
  .ld-c-tier, .ld-c-due, .ld-c-amt { display: none; }
  .ld-mailaddr { display: none; }
  .ld-narrow { display: inline; }
  .ld-c-st { grid-column: 3; grid-row: 1; }
  .ld-toolbar { padding-inline: 16px; }
}
@media (max-width: 640px) {
  .ld-hide-sm { display: none !important; }
  .ld-search { flex: 1; }
  .ld-tabs > span { padding: 0 11px; }
  .ld-year { grid-template-columns: 1fr; gap: 28px; }
  .ld-year::before { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .ld-when { padding-top: 0; padding-left: 30px; }
  .ld-dot { top: 3px; }
  .ld-mail { margin-left: 30px; }
  .ld-opts, .ld-checks { grid-template-columns: 1fr; }
  .ld-exp-body, .ld-exp-head, .ld-exp-foot { padding-inline: 16px; }
  .ld-block, .ld-stats div { padding-inline: 16px; }
  .ld-tier-btns span { display: none; }
}
@media (max-width: 480px) {
  .ld-row { grid-template-columns: 36px minmax(0, 1fr); }
  .ld-c-st { grid-column: 2 !important; grid-row: 2 !important; }
  .ld-gift { gap: 8px; }
  .ld-gift .tag i { display: none; }
  .ld-chips .ld-hide-xs { display: none; }
  .ld-form-head { padding: 16px 16px 0; }
  .ld-pills { padding: 0 16px; gap: 6px; }
  .ld-pills small { font-size: 11.5px; }
  .ld-step { padding: 18px 16px 16px; }
  .ld-mail-in { padding: 16px; }
  .ld-mail { margin-left: 28px; }
  .ld-when { padding-left: 28px; }
}
@media (max-width: 360px) {
  .ld-form-head .m-title { font-size: 18px; }
  .ld-pills { gap: 5px; }
  .ld-pills small { font-size: 11px; }
  .ld-kind { padding: 14px; }
  .ld-kind-top { gap: 10px; }
  .ld-kind-ico { width: 36px; height: 36px; border-radius: 11px; font-size: 18px; }
  .ld-kind-t b, .ld-pick-t b { font-size: 16px; }
  .ld-block, .ld-stats div { padding-inline: 14px; }
  .ld-gift .m-date { font-size: 11px; }
  .ld-tabs > span { padding: 0 9px; font-size: 12.5px; }
  .ld-tabs i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-steps, .ld-swap > *, .ld-pick::before, .ld-pick-chk, .ld-pills li > span::after { transition: none; }
  .ld-pills li.done small i { animation: none; }
}

/* Vet in het donkere brede blok: licht, zoals de rest van de tekst daar */
.ld-yearblock.wide-inverse .wide-text p b { color: #f2f2f2; }

/* De werkbalk met de tabs Leden en Betalingen blijft ook op een smal scherm staan */
.fp-screen .m-toolbar.ld-toolbar { display: flex; }
.ld-search { overflow: hidden; }
@media (max-width: 480px) {
  .ld-search, .ld-spacer { display: none; }
  .ld-tabs { flex: 1; }
  .ld-tabs > span { flex: 1; justify-content: center; }
}

/* Twee toestanden op dezelfde plek: de grootste bepaalt de maat, dus geen sprong bij een wissel */
.ld-swap { display: inline-grid; }
.ld-swap > * {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; min-width: 0; opacity: 0; visibility: hidden; transform: translateY(3px);
  transition: opacity 180ms var(--ease-hover), transform 180ms var(--ease-hover), visibility 0s linear 180ms;
}
.ld-swap > .is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 300ms var(--ease-hover) 140ms, transform 420ms var(--ease-out-expo) 140ms, visibility 0s; }
.btn .ld-swap { justify-items: center; }
.m-sub.ld-swap { display: grid; }
.m-sub.ld-swap > * { display: block; }
.ld-pick[aria-checked="true"]:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 40%, transparent), 0 4px 10px -4px color-mix(in srgb, var(--brand) 60%, transparent); }
.ld-mine-switch input:focus-visible + .ld-switch { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 50%, transparent); }
