/*
 * screens-v2.css — rebuild-ronde 2 (2026-10-15) voor Praktische Info, Budget,
 * Paklijst, Rekenhulp, Reisdetails, Instellingen, Zero-state/intake.
 * Indeling uit de losse scherm-mockups, uiterlijk uit Master overview v2.
 * Alleen design-system v2 tokens. P-09: oranje alleen voor 1 primary actie,
 * accent-streep, eyebrow en actieve keuze.
 */

/* ═══════════════════ Gedeeld ═══════════════════ */
.view > .intro { display: none; }               /* uitleg-alinea's staan niet in de mockups */
.v2-section-label,
.info-section-label {
  margin: 4px 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}
.v2-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.v2-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}
.v2-hint .v2-hint-ico {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.v2-hint p { margin: 0; flex: 1; }
.v2-hint-close { border: none; background: none; color: var(--ink-tertiary); font-size: 14px; cursor: pointer; }
.v2-tabs { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: var(--cream); }
.v2-tab {
  flex: 1; border: none; background: transparent; border-radius: 999px; padding: 8px 10px;
  color: var(--ink-secondary); font: 500 13px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer;
}
.v2-tab.is-active { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: var(--sh-sm); }

/* ═══════════════════ Praktische Info ═══════════════════ */
#view-info:not([hidden]) { display: flex; flex-direction: column; gap: 10px; }
#view-info > * { margin: 0; }
#view-info > [hidden] { display: none !important; }

#view-info .origin-banner {
  border-radius: 14px;
  border: none;
  background: var(--info-soft);
  padding: 12px 14px;
  box-shadow: none;
}
#view-info .origin-chip { background: var(--card); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; }

.info-audience:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.info-audience-chip { padding: 6px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12.5px; font-weight: 500; }
.theme-dark .info-audience-chip { color: var(--accent); }
.info-audience-switch { border: 1px solid var(--line); background: var(--card); color: var(--ink-secondary); border-radius: 8px; padding: 5px 10px; font-size: 12px; cursor: pointer; }

.info-context-list { display: flex; flex-direction: column; gap: 6px; }
.info-ctx {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--info);
  border-radius: 12px;
  padding: 10px 30px 10px 12px;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}
.info-ctx.is-ok { border-left-color: var(--ok); }
.info-ctx.is-warn { border-left-color: var(--warn); cursor: default; padding-right: 12px; }
.info-ctx-why { font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-tertiary); margin-bottom: 2px; }
.info-ctx-title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.info-ctx-body { margin: 4px 0 6px; font-size: 12.5px; line-height: 1.45; color: var(--ink-secondary); }
.info-ctx-link { border: none; background: none; padding: 0; color: var(--accent); font: 500 12.5px/1.3 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.info-ctx .info-row-chev { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }

#view-info .info-universal-highlights {
  background: var(--cream);
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 12px 14px;
}
#view-info .info-universal-head { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--accent); text-transform: none; letter-spacing: 0; }
#view-info .info-universal-row { display: flex; flex-direction: column; gap: 0; }
#view-info .info-universal-card {
  display: grid; grid-template-columns: 26px 1fr; column-gap: 8px;
  padding: 8px 0; border: none; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; text-align: left;
}
#view-info .info-universal-card:first-child { border-top: none; }
#view-info .info-universal-emoji { grid-row: span 2; font-size: 16px; margin: 0; }
#view-info .info-universal-card strong { font-size: 13.5px; color: var(--ink); }
#view-info .info-universal-card p { margin: 1px 0 0; font-size: 12.5px; color: var(--ink-secondary); }

#view-info .info-search-row { margin: 0; }
#view-info .info-search {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ink);
}

#infoCategories { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.info-cat { border-top: 1px solid var(--line); }
.info-cat:first-child { border-top: none; }
.info-cat.is-safety { box-shadow: inset 3px 0 0 var(--err); }
.info-cat-head {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: none; background: none; color: var(--ink); text-align: left; cursor: pointer; font-family: inherit;
}
.info-cat-ico { font-size: 17px; width: 22px; text-align: center; }
.info-cat-text { flex: 1; display: flex; flex-direction: column; }
.info-cat-name { font-size: 14.5px; font-weight: 600; }
.info-cat.is-safety .info-cat-name { color: var(--err); }
.info-cat-meta { font-size: 11.5px; color: var(--ink-secondary); margin-top: 1px; }
.info-cat-chev { color: var(--ink-tertiary); font-size: 18px; transition: transform 0.15s; }
.info-cat.is-open .info-cat-chev { transform: rotate(90deg); }
.info-cat-list { display: flex; flex-direction: column; padding: 0 0 6px 46px; }
.info-cat-list.is-search { padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.info-row {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 9px 14px 9px 0; border: none; border-top: 1px solid var(--line); background: none;
  color: var(--ink); text-align: left; cursor: pointer; font-family: inherit;
}
.info-cat-list.is-search .info-row { padding-left: 14px; }
.info-cat-list .info-row:first-child { border-top: none; }
.info-row-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.info-row-title { font-size: 13.5px; line-height: 1.35; }
.info-row-sub { font-size: 11.5px; color: var(--ink-tertiary); }
.info-row-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 6px; border-radius: 4px; background: var(--cream); color: var(--ink-secondary); }
.info-row-label.is-tip { background: var(--accent-soft); color: var(--accent); }
.info-row-chev { color: var(--ink-tertiary); font-size: 16px; }

.info-footer-tagline { text-align: center; font-size: 11.5px; color: var(--ink-tertiary); margin: 6px 0 0; }

.info-card-sheet .info-sheet-head { display: flex; align-items: center; justify-content: space-between; }
.info-sheet-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.info-sheet-title { margin: 6px 0 6px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.info-sheet-label { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 7px; border-radius: 4px; background: var(--cream); color: var(--ink-secondary); }
.info-sheet-label.is-tip { background: var(--accent-soft); color: var(--accent); }
.info-sheet-body { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.info-sheet-body p { margin: 0 0 12px; }
.info-sheet-body .card-calc-link {
  display: block; width: 100%; text-align: left; margin: 0 0 6px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--accent); font: 500 13px/1.3 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer;
}
.info-sheet-body .source { display: block; margin-top: 10px; font-size: 12px; color: var(--ink-secondary); }
.info-sheet-body .source a { color: var(--accent); }
.info-sheet-body .verif-date { display: block; margin-top: 6px; font: 500 11px/1.3 "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.info-sheet-body .verif-date.is-stale { color: var(--warn); }

/* ═══════════════════ Budget v2 (Master 14) ═══════════════════ */
#view-budget:not([hidden]) { display: flex; flex-direction: column; gap: 10px; padding-bottom: 96px; }
#view-budget > * { margin: 0; }
#view-budget > [hidden], #view-budget .bg-legacy { display: none !important; }

.topbar-csv-btn {
  order: 3; border: none; background: transparent; color: var(--topbar-ink);
  font: 600 12.5px/1 "IBM Plex Sans", system-ui, sans-serif; height: 30px; padding: 0 8px; border-radius: 8px; cursor: pointer; opacity: 0.92;
}
.topbar-csv-btn:hover { background: rgba(255, 255, 255, 0.12); }

.bg-total { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.bg-total-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bg-total-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-secondary); }
.bg-total-amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.bg-total-amount strong { font: 700 26px/1.15 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.bg-total-amount span { font-size: 13px; color: var(--ink-secondary); }
.bg-total-home { font: 400 12px/1.3 "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.bg-pace { border: none; border-radius: 999px; padding: 4px 10px 4px 8px; font: 600 12px/1 "IBM Plex Sans", system-ui, sans-serif; display: inline-flex; align-items: center; gap: 6px; cursor: help; background: var(--cream); color: var(--ink-secondary); }
.bg-pace::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bg-pace.is-nodata::before { display: none; }
.bg-pace.is-ahead, .bg-pace.is-ontrack { background: var(--ok-soft); color: var(--ok); }
.bg-pace.is-behind { background: var(--warn-soft); color: var(--warn); }
.bg-pace.is-over { background: var(--err-soft); color: var(--err); }
.bg-owed-net { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok-ink); font-size: 12.5px; }
.theme-dark .bg-owed-net { color: var(--ok); }
.bg-owed-net strong { font: 600 13.5px/1 "IBM Plex Mono", monospace; }
.bg-bar { position: relative; height: 6px; border-radius: 999px; background: var(--cream); margin-top: 8px; overflow: hidden; }
.bg-bar-fill { height: 100%; border-radius: 999px; background: var(--ok); transition: width 0.3s; }
.bg-bar-fill.is-behind { background: var(--warn); }
.bg-bar-fill.is-over { background: var(--err); }
.bg-bar-ticks span { position: absolute; top: 0; bottom: 0; width: 1.5px; background: var(--card); }
.bg-total-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--ink-tertiary); margin-top: 4px; }
.bg-total-foot .is-over { color: var(--err); font-weight: 600; }
.bg-limit-link { align-self: flex-start; border: none; background: none; padding: 6px 0 0; color: var(--accent); font: 500 12.5px/1.2 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }

.bg-insight { padding: 9px 12px; border-radius: 10px; background: var(--info-soft); border-left: 3px solid var(--info); font-size: 12.5px; color: var(--ink); transition: opacity 0.4s; }
.bg-insight.is-fading { opacity: 0; }

.bg-list { display: flex; flex-direction: column; gap: 6px; }
.bg-day-label { font-size: 11.5px; font-weight: 600; color: var(--ink-secondary); margin: 4px 2px 0; }
.bg-day-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bg-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: none; border-top: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer; font-family: inherit; }
.bg-row:first-child { border-top: none; }
.bg-row-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: color-mix(in srgb, var(--c, #888) 16%, transparent); }
.bg-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bg-row-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bg-row-meta { font: 400 11px/1.35 "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.bg-row-amt { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.bg-row-amt strong { font: 600 14px/1.2 "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; }
.bg-row-amt span { font: 400 11px/1.3 "IBM Plex Mono", monospace; color: var(--ink-tertiary); }

.bg-empty { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bg-empty-ico { font-size: 34px; }
.bg-empty strong { font-size: 15px; }
.bg-empty p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-secondary); max-width: 280px; }

.bg-stage-list { display: flex; flex-direction: column; gap: 6px; }
.bg-stage { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 12px; border-radius: 12px; border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); }
.bg-stage-ico { font-size: 18px; }
.bg-stage-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bg-stage-src { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.bg-stage-name { font-size: 13px; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bg-stage-add { border: none; border-radius: 8px; padding: 6px 10px; background: var(--accent); color: #fff; font: 600 12px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.theme-dark .bg-stage-add { color: var(--bg); }
.bg-stage-x { border: none; background: none; color: var(--ink-tertiary); font-size: 13px; cursor: pointer; padding: 4px; }

.bg-viz { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.bg-viz-panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.bg-donut { display: flex; justify-content: center; }
.bg-donut-center { font: 700 18px "IBM Plex Sans", system-ui, sans-serif; fill: var(--ink); }
.bg-legend { margin-top: 10px; display: flex; flex-direction: column; }
.bg-legend-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.bg-legend-row:first-child { border-top: none; }
.bg-legend-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.bg-legend-name { flex: 1; }
.bg-legend-row strong { font: 600 12.5px/1 "IBM Plex Mono", monospace; }
.bg-viz-caption { margin: 8px 0 0; text-align: center; font-size: 11px; color: var(--ink-tertiary); }
.bg-bars { width: 100%; height: auto; display: block; }
.bg-bar-rect { fill: color-mix(in srgb, var(--info) 55%, transparent); }
.bg-bar-rect.is-today { fill: var(--accent); }
.bg-bar-val { font: 600 9.5px "IBM Plex Mono", monospace; fill: var(--ink-secondary); }
.bg-bar-lbl { font: 500 9.5px "IBM Plex Sans", sans-serif; fill: var(--ink-tertiary); }
.bg-bar-axis { stroke: var(--line); stroke-width: 1; }

.bg-owed { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.bg-owed-head { display: flex; align-items: center; justify-content: space-between; }
.bg-owed-head .v2-section-label { margin: 0; }
.bg-owed-add { border: 1px solid var(--line); background: var(--card); color: var(--ink-secondary); border-radius: 8px; padding: 5px 10px; font: 500 12px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.bg-owed-list { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bg-owed-list:empty { display: none; }
.bg-owed-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: none; border-top: 1px solid var(--line); background: none; color: var(--ink); text-align: left; font-family: inherit; cursor: pointer; }
.bg-owed-row:first-child { border-top: none; }
.bg-owed-av { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--info-soft); color: var(--info); font-size: 12px; font-weight: 700; }
.bg-owed-name { flex: 1; font-size: 13.5px; }
.bg-owed-row strong { font: 600 13px/1 "IBM Plex Mono", monospace; color: var(--ok); }
.bg-owed-empty { margin: 0; font-size: 12.5px; color: var(--ink-tertiary); line-height: 1.45; }

.bg-fab {
  position: fixed; right: max(18px, calc(50% - 320px + 18px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--accent); background: var(--card); color: var(--accent);
  font: 700 18px/1 "IBM Plex Sans", system-ui, sans-serif; box-shadow: var(--sh-md, 0 6px 18px rgba(0, 0, 0, 0.18)); cursor: pointer;
}
.bg-fab:active { transform: scale(0.96); }
.bg-fab-hint {
  position: fixed; right: max(86px, calc(50% - 320px + 86px)); bottom: calc(36px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  padding: 6px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-sm); font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.bg-fab-hint[hidden] { display: none; }

/* sheets */
.bg-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 0 0 10px; }
.bg-sheet-head h3 { margin: 0; font-size: 17px; }
.bg-amount-box { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px; border: 2px solid var(--accent); border-radius: 14px; background: var(--card); margin-bottom: 12px; cursor: text; }
.bg-amount-box.is-small { padding: 10px 12px; border-width: 1.5px; }
.bg-amount-row { display: flex; align-items: baseline; gap: 6px; justify-content: center; }
.bg-amount-cur { font-size: 20px; color: var(--ink-tertiary); }
.bg-amount-box input { width: 170px; border: none; background: transparent; text-align: left; font: 700 34px/1.1 "IBM Plex Mono", monospace; color: var(--ink); outline: none; padding: 0; }
.bg-amount-box.is-small input { font-size: 24px; width: 140px; }
.bg-amount-home { font: 400 13px/1.2 "IBM Plex Mono", monospace; color: var(--ink-secondary); }
.bg-amount-rate { font: 400 10.5px/1.2 "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.bg-amount-home:empty, .bg-amount-rate:empty { display: none; }
.bg-cat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.bg-cat-chip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 7px 11px; font: 500 13px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.bg-cat-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.theme-dark .bg-cat-chip.is-active { color: var(--bg); }
.bg-input { width: 100%; box-sizing: border-box; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); border-radius: 10px; padding: 10px 12px; font: 400 14px/1.3 "IBM Plex Sans", system-ui, sans-serif; margin-bottom: 10px; }
.bg-date-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-secondary); }
.bg-input-date { width: auto; margin: 0; padding: 7px 10px; }
.bg-receipt-btn { display: block; text-align: center; margin: 10px 0 0; padding: 10px; border: 1.5px dashed var(--line-strong); border-radius: 10px; font-size: 13px; color: var(--ink-secondary); cursor: pointer; }
.bg-receipt-preview { position: relative; margin-top: 8px; }
.bg-receipt-preview img { max-width: 100%; max-height: 140px; border-radius: 10px; display: block; }
.bg-receipt-remove { position: absolute; top: 6px; left: 6px; border: none; border-radius: 50%; width: 26px; height: 26px; background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer; }
.bg-sheet-error { margin: 8px 0 0; font-size: 12.5px; color: var(--err); }
.bg-sheet-actions { display: flex; gap: 8px; margin-top: 14px; }
.bg-sheet-actions > * { flex: 1; }
.bg-btn-primary { border: none; border-radius: 12px; padding: 13px 14px; background: var(--accent); color: #fff; font: 600 14px/1.1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.theme-dark .bg-btn-primary { color: var(--bg); }
.bg-btn-secondary { border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; background: var(--card); color: var(--ink); font: 600 13.5px/1.1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.bg-btn-ghost { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--card); color: var(--ink); font: 500 13px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.bg-btn-ghost.is-armed { border-color: var(--err); color: var(--err); background: var(--err-soft); }
.bg-sheet-text { margin: 0 0 10px; font-size: 13px; color: var(--ink-secondary); line-height: 1.45; }

.bg-detail-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.bg-detail-top { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.bg-detail-top strong { display: block; font-size: 15px; }
.bg-detail-meta { display: block; font: 400 11px/1.3 "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.bg-detail-amount { text-align: center; font: 700 30px/1.2 "IBM Plex Mono", monospace; margin-top: 12px; color: var(--ink); }
.bg-detail-home { text-align: center; font: 400 12.5px/1.3 "IBM Plex Mono", monospace; color: var(--ink-secondary); }
.bg-detail-note { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: var(--info-soft); font-size: 13px; color: var(--ink); }
.bg-detail-receipt { max-width: 100%; max-height: 180px; border-radius: 10px; margin-bottom: 10px; display: block; }
.bg-split-btn { width: 100%; }
.bg-unsplit-btn { width: 100%; margin-bottom: 4px; }
.bg-detail-sub { margin: 6px 0 12px; text-align: center; font-size: 11.5px; color: var(--ink-tertiary); }
.bg-detail-actions { display: flex; gap: 8px; margin-top: 8px; }
.bg-split-preview { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 6px; }
.bg-pv-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13px; }
.bg-pv-row span:not(.bg-owed-av) { flex: 1; display: flex; flex-direction: column; }
.bg-pv-row small { font-size: 11px; color: var(--ink-tertiary); }
.bg-pv-row strong { font: 600 13px/1 "IBM Plex Mono", monospace; }
.bg-pv-row.is-mine { background: var(--card); border: 1px solid var(--line); }
.bg-pv-row.is-owed { background: var(--ok-soft); }
.bg-pv-row.is-owed strong { color: var(--ok); }
.bg-pv-note { margin: 4px 0 0; font-size: 11px; font-style: italic; color: var(--ink-tertiary); text-align: center; line-height: 1.45; }
.bg-amount-box input:focus, .bg-amount-box input:focus-visible { outline: none; box-shadow: none; border: none; }
.bg-sheet-head h3 { color: var(--ink); }

/* ═══════════════════ Paklijst v2 (Master 15) ═══════════════════ */
#view-packing:not([hidden]) { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; }
#view-packing > * { margin: 0; }
#view-packing > [hidden], #view-packing .pk-legacy { display: none !important; }

.pk-setup { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.pk-setup-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.pk-setup .v2-section-label + .pk-setup-row { border-top: none; }
.pk-setup-row strong { font: 500 13px/1.2 "IBM Plex Mono", monospace; color: var(--ink-secondary); text-align: right; }
.pk-setup-input { border: 1px solid var(--line-strong); border-radius: 8px; background: var(--card); color: var(--ink); padding: 6px 8px; font: 400 13px "IBM Plex Sans", system-ui, sans-serif; max-width: 140px; }

.pk-weather { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; transition: opacity 0.3s; }
.pk-weather.is-offline { border-left: 3px solid var(--warn); }
.pk-wx-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-secondary); }
.pk-wx-head span:last-child { font: 400 11px "IBM Plex Mono", monospace; text-transform: none; letter-spacing: 0; color: var(--ink-tertiary); }
.pk-wx-head.is-offline span:first-child { color: var(--warn); }
.pk-wx-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pk-wx-day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0; border-radius: 8px; background: var(--cream); }
.pk-wx-day.is-rain { background: var(--info-soft); }
.pk-wx-day.is-sun { background: var(--warn-soft); }
.pk-wx-name { font-size: 9.5px; font-weight: 600; text-transform: uppercase; color: var(--ink-tertiary); }
.pk-wx-ico { font-size: 15px; }
.pk-wx-t { font: 700 11px "IBM Plex Mono", monospace; color: var(--ink); }
.pk-wx-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--info-soft); border-left: 3px solid var(--info); font-size: 12.5px; color: var(--ink); transition: opacity 0.3s; }
.pk-wx-alert.is-fading { opacity: 0; }
.pk-wx-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.pk-wx-btn { border: 1px solid var(--info); background: var(--card); color: var(--info); border-radius: 8px; padding: 5px 9px; font: 600 11.5px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }

.pk-empty { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pk-empty-ico { font-size: 42px; opacity: 0.7; }
.pk-empty strong { font-size: 16px; }
.pk-empty p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-secondary); max-width: 290px; }

.pk-ess { background: var(--cream); border-left: 3px solid var(--accent); border-radius: 14px; padding: 12px; }
.pk-ess-head { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pk-ess-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pk-ess-item { display: flex; align-items: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 4px 0 0; }
.pk-ess-toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; border: none; background: none; padding: 9px 4px 9px 9px; color: var(--ink); font: 500 12.5px/1.25 "IBM Plex Sans", system-ui, sans-serif; text-align: left; cursor: pointer; }
.pk-ess-chk { width: 17px; height: 17px; flex-shrink: 0; border-radius: 5px; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.pk-ess-item.is-done .pk-ess-chk { background: var(--accent); border-color: var(--accent); color: #fff; }
.theme-dark .pk-ess-item.is-done .pk-ess-chk { color: var(--bg); }
.pk-ess-item.is-done .pk-ess-label { color: var(--ink-tertiary); text-decoration: line-through; }
.pk-ess-q { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; border: none; background: var(--cream); color: var(--ink-secondary); font-size: 11px; font-weight: 700; cursor: help; }
.pk-ess-why { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--card); font-size: 12px; line-height: 1.45; color: var(--ink-secondary); }

.pk-who { display: flex; align-items: center; gap: 8px; }
.pk-who-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-tertiary); white-space: nowrap; }
.pk-who-chips { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.pk-who-chip { border: 1px solid var(--line); background: var(--card); color: var(--ink-secondary); border-radius: 999px; padding: 6px 11px; font: 500 12.5px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.pk-who-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.theme-dark .pk-who-chip.is-active { color: var(--bg); }
.pk-who-chip:disabled { opacity: 0.5; cursor: not-allowed; }

.pk-triggers { display: flex; flex-direction: column; gap: 8px; }
.pk-triggers:empty { display: none; }
.pk-trig { border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); border-radius: 14px; padding: 12px; }
.pk-trig.is-late { border-color: var(--err); background: var(--err-soft); }
.pk-trig-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pk-trig-head strong { flex: 1; }
.pk-trig-ico { font-size: 18px; }
.pk-trig-x { border: none; background: none; color: var(--ink-tertiary); cursor: pointer; font-size: 13px; }
.pk-trig-urgent { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--card); color: var(--err); font: 700 11px "IBM Plex Mono", monospace; }
.pk-trig-why { margin: 6px 0 8px; font-size: 12px; font-style: italic; color: var(--ink-secondary); }
.pk-trig-items { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.pk-trig-item { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 12.5px; }
.pk-trig-item b { color: var(--accent); margin-right: 4px; }
.pk-trig-actions { display: flex; gap: 6px; }
.pk-trig-accept { flex: 1; border: none; border-radius: 9px; padding: 9px; background: var(--accent); color: #fff; font: 600 12.5px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.theme-dark .pk-trig-accept { color: var(--bg); }
.pk-trig-later { border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; background: var(--card); color: var(--ink-secondary); font: 600 12.5px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }

.pk-section { display: flex; flex-direction: column; gap: 6px; }
.pk-sec-head { display: flex; align-items: center; gap: 8px; padding: 4px 2px 0; }
.pk-sec-title { flex: 1; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.pk-sec-count { font: 700 11px "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.pk-bar { height: 6px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.pk-bar-fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width 0.3s; }
.pk-bar-fill.is-done { background: var(--ok); }
.pk-done-strip { padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 600; }
.pk-list { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pk-cat-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border: none; border-top: 1px solid var(--line); background: var(--cream); color: var(--ink-secondary); font: 600 11.5px/1.2 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.pk-cat-head:first-child { border-top: none; }
.pk-cat-meta { font: 500 10.5px "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.pk-item { display: flex; align-items: center; gap: 6px; padding-right: 6px; border-top: 1px solid var(--line); }
.pk-list > .pk-item:first-child { border-top: none; }
.pk-item-main { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 4px 10px 14px; border: none; background: none; color: var(--ink); text-align: left; font: 400 13.5px/1.35 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.pk-chk { width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.pk-item.is-done .pk-chk { background: var(--topbar-bg); border-color: var(--topbar-bg); color: #fff; }
.theme-dark .pk-item.is-done .pk-chk { background: var(--ok); border-color: var(--ok); color: var(--bg); }
.pk-item.is-done .pk-item-name { color: var(--ink-tertiary); text-decoration: line-through; }
.pk-qty { font: 500 11px "IBM Plex Mono", monospace; color: var(--ink-tertiary); background: var(--cream); padding: 1px 6px; border-radius: 4px; }
.pk-dl { flex-shrink: 0; font: 500 10px "IBM Plex Mono", monospace; padding: 2px 7px; border-radius: 999px; background: var(--cream); color: var(--ink-secondary); white-space: nowrap; }
.pk-dl.is-before { background: var(--info-soft); color: var(--info); }
.pk-dl.is-arrival { background: var(--ok-soft); color: var(--ok); }
.pk-dl.is-during { background: var(--warn-soft); color: var(--warn); }
.pk-item-more { border: none; background: none; color: var(--ink-tertiary); font-size: 16px; padding: 6px; cursor: pointer; }
.packing-row-highlight { background: var(--accent-soft); }

.pk-celebrate { border: 2px solid var(--ok); background: var(--ok-soft); border-radius: 14px; padding: 18px; text-align: center; }
.pk-celebrate-ico { font-size: 38px; }
.pk-celebrate strong { display: block; font-size: 15px; color: var(--ok-ink); margin-top: 4px; }
.theme-dark .pk-celebrate strong { color: var(--ok); }
.pk-celebrate p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-secondary); }

.pk-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pk-btn-primary { border: none; border-radius: 12px; padding: 12px 18px; background: var(--accent); color: #fff; font: 600 14px/1.1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.theme-dark .pk-btn-primary { color: var(--bg); }
.pk-btn-secondary { border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 18px; background: var(--card); color: var(--ink); font: 600 13.5px/1.1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.pk-item-name { min-width: 0; overflow-wrap: anywhere; }

/* ═══════════════════ Rekenhulp v2 (Master 12/13) ═══════════════════ */
#view-calc:not([hidden]) { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; }
#view-calc > * { margin: 0; }
#view-calc > [hidden], #view-calc .cv-legacy, #view-calc .calc-panel[hidden] { display: none !important; }
#view-calc .calc-panel { background: none; border: none; box-shadow: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

#view-calc .calc-gruttje-strip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); border: none; border-left: none; color: var(--ink); font-size: 13px; line-height: 1.4; }
#view-calc .calc-gruttje-strip[hidden] { display: none; }
#view-calc .calc-gruttje-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px; }

#view-calc .calc-tabs { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: var(--cream); border: none; margin: 0; }
#view-calc .calc-tab { flex: 1; border: none; background: transparent; border-radius: 999px; padding: 9px 10px; color: var(--ink-secondary); font: 500 13.5px/1 "IBM Plex Sans", system-ui, sans-serif; box-shadow: none; }
#view-calc .calc-tab.is-active { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: var(--sh-sm); }

.cv-chips-wrap { position: relative; }
#view-calc .calc-shortcut-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 40px 2px 0; margin: 0; }
#view-calc .calc-shortcut-chip.cv-chip { flex-shrink: 0; min-width: 104px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-align: left; box-shadow: none; cursor: pointer; }
.cv-chip .chip-icon { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; margin-bottom: 4px; background: var(--cream); }
.cv-chip.is-stat .chip-icon { background: var(--ok-soft); }
.cv-chip.is-btw .chip-icon { background: var(--warn-soft); }
.cv-chip.is-vat .chip-icon { background: var(--accent-soft); }
.cv-chip.is-fx .chip-icon { background: var(--info-soft); }
.cv-chip .chip-label { font-size: 12.5px; font-weight: 600; }
.cv-chip .chip-desc { font-size: 10.5px; color: var(--ink-tertiary); line-height: 1.25; }
.cv-chips-more { position: absolute; right: 0; top: 0; bottom: 2px; width: 44px; border: none; padding: 0 2px 0 0; display: flex; align-items: center; justify-content: flex-end; background: linear-gradient(to right, transparent, var(--bg) 60%); color: var(--ink); font-size: 18px; cursor: pointer; }

.cv-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.cv-example { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: var(--info-soft); }
.cv-example-load { flex: 1; border: none; background: none; padding: 2px 0; text-align: left; color: var(--info); font: 400 12px/1.35 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.cv-tag { display: inline-block; padding: 1px 6px; border-radius: 4px; background: var(--card); color: var(--info); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; margin-right: 4px; }
.cv-example-x { border: none; background: none; color: var(--ink-tertiary); cursor: pointer; }
.cv-lines:empty { display: none; }
.cv-line { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.cv-line-ico { font-size: 14px; }
.cv-line-name { flex: 1; min-width: 0; color: var(--ink); }
.cv-line.is-dim .cv-line-name { color: var(--ink-tertiary); font-style: italic; }
.cv-line-amt { font: 600 13.5px "IBM Plex Mono", monospace; color: var(--ink); }
.cv-line-amt.is-pct { color: var(--accent); }
.cv-line-x, .cv-line-x-space { width: 22px; flex-shrink: 0; border: none; background: none; color: var(--ink-tertiary); cursor: pointer; font-size: 12px; }
.cv-add-form { padding: 8px; border-radius: 10px; background: var(--cream); }
.cv-add-form .add-row-primary { display: flex; gap: 6px; }
.cv-add-form select, .cv-add-form input[type=text] { border: 1px solid var(--line-strong); border-radius: 8px; background: var(--card); color: var(--ink); padding: 8px; font: 400 14px "IBM Plex Sans", system-ui, sans-serif; min-width: 0; }
.cv-add-form #rowValue { flex: 1; font-family: "IBM Plex Mono", monospace; }
.cv-add-form #addRowBtn { border: none; border-radius: 8px; padding: 8px 12px; background: var(--ink); color: var(--bg); font: 600 13px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.cv-add-form .row-label-toggle { margin-top: 6px; border: none; background: none; color: var(--ink-secondary); font-size: 12px; padding: 0; cursor: pointer; }
.cv-add-form .row-label-input { width: 100%; box-sizing: border-box; margin-top: 6px; }
.cv-add-form .hint { font-size: 11.5px; color: var(--ink-tertiary); margin: 6px 0 0; line-height: 1.4; }
.cv-icon-chips { display: flex; gap: 4px; margin-bottom: 6px; }
.cv-icon-chip { width: 32px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 14px; }
.cv-icon-chip.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.cv-total { padding-top: 6px; border-top: 1px solid var(--line); }
.cv-total-row { display: flex; justify-content: space-between; align-items: baseline; }
.cv-total-row span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-tertiary); }
.cv-total-row strong { font: 700 24px "IBM Plex Mono", monospace; color: var(--ink); }
.cv-total-row strong.is-dim { color: var(--ink-tertiary); }
.cv-total-alt { text-align: right; font: 400 13px "IBM Plex Mono", monospace; color: var(--ink-secondary); }
.cv-rate { text-align: right; font: 400 10.5px "IBM Plex Mono", monospace; color: var(--ink-tertiary); margin-top: 2px; }
.cv-rate.is-stale { color: var(--warn); }
.cv-btn-row { display: flex; gap: 8px; }
.cv-btn { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--card); color: var(--ink-secondary); font: 600 12.5px/1.2 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
#view-calc .cv-btn.clear-rows-btn, #view-calc .cv-btn.save-history-btn { margin: 0; width: auto; }
.cv-more { border: none; background: none; color: var(--ink-tertiary); font: 400 12px "IBM Plex Sans", system-ui, sans-serif; padding: 4px; cursor: pointer; }
.cv-more-body { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: var(--cream); }
.cv-more-body .field-row { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.cv-more-body label { font-size: 11.5px; color: var(--ink-secondary); }
.cv-more-body select, .cv-more-body input { border: 1px solid var(--line-strong); border-radius: 8px; background: var(--card); color: var(--ink); padding: 8px; font: 400 14px "IBM Plex Sans", system-ui, sans-serif; }
.cv-more-body .rate-line { margin: 0; font-size: 11.5px; padding: 6px 8px; border-radius: 6px; }
.cv-budget, .cv-primary { border: none; border-radius: 12px; padding: 13px; background: var(--accent); color: #fff; font: 600 14px/1.1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.theme-dark .cv-budget, .theme-dark .cv-primary { color: var(--bg); }
.cv-budget:disabled { opacity: 0.45; cursor: default; }
.cv-primary.is-secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line-strong); }

.cv-context { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--info-soft); border-left: 3px solid var(--info); font-size: 12.5px; }
.cv-context[hidden] { display: none; }
.cv-context-ico { font-size: 18px; }
.cv-context-text { flex: 1; display: flex; flex-direction: column; }
.cv-context-text strong { color: var(--info); font-weight: 600; }
.cv-context-text span { color: var(--ink-secondary); font-size: 11.5px; }
.cv-context-x { border: none; background: none; color: var(--ink-tertiary); cursor: pointer; }
.cv-field { display: flex; flex-direction: column; gap: 4px; }
.cv-field label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-secondary); }
.cv-field input, .cv-field select { border: 1px solid var(--line-strong); border-radius: 8px; background: var(--card); color: var(--ink); padding: 10px 12px; font: 400 15px "IBM Plex Mono", monospace; }
.cv-link { align-self: flex-start; border: none; background: none; padding: 0; color: var(--accent); font: 500 12.5px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
#view-calc .cv-toggle { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--cream); border: none; margin: 0; }
#view-calc .cv-toggle .split-mode-btn { flex: 1; border: none; border-radius: 8px; background: transparent; padding: 8px; color: var(--ink-secondary); font: 600 12.5px "IBM Plex Sans", system-ui, sans-serif; box-shadow: none; }
#view-calc .cv-toggle .split-mode-btn.is-active { background: var(--card); color: var(--ink); box-shadow: var(--sh-sm); }
#splitEven, #splitCustom { display: flex; flex-direction: column; gap: 8px; }
#splitEven[hidden], #splitCustom[hidden] { display: none; }
.cv-share { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px; border-radius: 12px; background: var(--accent-soft); }
.cv-share-label { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-tertiary); }
.cv-share strong { font: 700 28px "IBM Plex Mono", monospace; color: var(--accent); }
.cv-share-alt { font: 400 12px "IBM Plex Mono", monospace; color: var(--ink-secondary); text-align: center; }
#view-calc .split-custom-result { font-size: 13px; }

#view-calc .history-strip { margin: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }

.cv-pay-hint { margin: 0 0 12px; padding: 8px 10px; border-radius: 8px; background: var(--cream); font-size: 12.5px; color: var(--ink-secondary); line-height: 1.4; }
.cv-pay-list { display: flex; flex-direction: column; gap: 8px; }
.cv-pay-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); text-align: left; cursor: pointer; font-family: inherit; }
.cv-pay-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font: 800 16px system-ui, sans-serif; }
.cv-pay-ico.is-copy { background: var(--ink-secondary); font-size: 18px; }
.cv-pay-ico.is-native { background: var(--ink); font-size: 18px; }
.cv-pay-text { flex: 1; display: flex; flex-direction: column; }
.cv-pay-text strong { font-size: 14px; }
.cv-pay-text span { font-size: 11.5px; color: var(--ink-tertiary); }
.cv-pay-arrow { color: var(--ink-tertiary); font-size: 16px; }
.cv-pay-foot { margin: 12px 0 0; text-align: center; font-size: 11.5px; color: var(--ink-tertiary); }
.cv-pay-foot:empty { display: none; }
.cv-pay-toast { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok-ink); font-size: 12.5px; }
.theme-dark .cv-pay-toast { color: var(--ok); }
.cv-chips-wrap[hidden] { display: none; }

/* ═══════════════════ Reisdetails v2 (Master 16) ═══════════════════ */
#view-trip-details:not([hidden]) { display: flex; flex-direction: column; gap: 12px; padding-bottom: 24px; }
#view-trip-details > * { margin: 0; }
#view-trip-details > [hidden], #view-trip-details .td-legacy { display: none !important; }

.td-hero { position: relative; overflow: hidden; background: var(--cream); border-radius: 14px; padding: 16px 16px 16px 19px; }
.td-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); }
.td-hero.is-post::before { background: var(--ok); }
.td-eyebrow { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.td-hero.is-post .td-eyebrow { color: var(--ok); }
.td-title { margin: 0; font-size: 20px; line-height: 1.25; color: var(--ink); }
.td-sub { margin: 4px 0 0; font-size: 13px; color: var(--ink-secondary); }
.td-meta { margin: 4px 0 0; font: 400 11.5px "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.td-hero-rows { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.td-hero-rows div { display: flex; justify-content: space-between; gap: 10px; }
.td-hero-rows span { color: var(--ink-secondary); white-space: nowrap; }
.td-hero-rows strong { font-weight: 500; text-align: right; }
.td-hero-btn { margin-top: 12px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; background: var(--card); color: var(--ink); font: 600 13px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.td-hero-btn.is-primary { background: var(--accent); border-color: var(--accent); color: #fff; width: 100%; }
.theme-dark .td-hero-btn.is-primary { color: var(--bg); }
.td-hero-btn:disabled { opacity: 0.55; cursor: default; }
.td-hero-actions { display: flex; gap: 8px; }
.td-hero-actions .td-hero-btn { flex: 1; width: auto; }
.td-stats { display: flex; justify-content: space-around; margin-top: 12px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.td-stats div { display: flex; flex-direction: column; align-items: center; }
.td-stats strong { font: 700 17px "IBM Plex Mono", monospace; color: var(--ink); }
.td-stats span { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-tertiary); }

.td-sec { display: flex; flex-direction: column; gap: 8px; }
.td-sec-head { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
.td-sec-head-gap { margin-top: 10px; }
.td-sec-title { flex: 1; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.td-sec-meta { font: 500 11px "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.td-list { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.td-list[hidden] { display: none; }
.td-list .booking-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); background: none; border-radius: 0; margin: 0; }
.td-list .booking-row:first-child { border-top: none; }
.td-list .booking-row-main { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.td-list .booking-row-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.td-list .booking-row-text { display: flex; flex-direction: column; min-width: 0; }
.td-list .booking-row-title { font-size: 14px; }
.td-list .booking-row-meta { font: 400 11.5px "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.td-bk-zero { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 20px 16px; border-radius: 14px; background: var(--info-soft); }
.td-bk-zero[hidden] { display: none; }
.td-bk-zero-ico { font-size: 32px; }
.td-bk-zero .hint { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-secondary); max-width: 300px; }
.td-bk-zero .booking-email-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--info); background: var(--card); }
.td-bk-zero .booking-email-code { font: 600 12px "IBM Plex Mono", monospace; color: var(--info); background: none; }
.td-bk-zero .booking-email-copy { border: none; background: none; cursor: pointer; }
.td-dashed { align-self: flex-start; border: 1.5px dashed var(--line-strong); border-radius: 10px; padding: 8px 12px; background: none; color: var(--ink); font: 600 12.5px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
#view-trip-details #bookingAddForm { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }

.td-doc-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.td-doc-grid .doc-grid { display: contents; }
.td-doc-grid .doc-tile, .td-doc-add { position: relative; width: calc((100% - 24px) / 4); min-width: 74px; aspect-ratio: 0.9; box-sizing: border-box; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px; text-align: center; }
.td-doc-grid .doc-tile { background: var(--card); border: 1px solid var(--line); transition: transform 0.15s; }
.td-doc-grid .doc-tile:not(.doc-tile-personal):hover { transform: translateY(-2px); }
.td-doc-grid .doc-tile-icon { font-size: 22px; }
.td-doc-grid .doc-tile-name { font-size: 10.5px; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.td-doc-grid .doc-tile-size { font: 400 9.5px "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.td-doc-grid .doc-tile-actions { position: absolute; top: 2px; right: 2px; display: flex; gap: 0; opacity: 0; transition: opacity 0.15s; }
.td-doc-grid .doc-tile:not(.doc-tile-personal):hover .doc-tile-actions, .td-doc-grid .doc-tile:focus-within .doc-tile-actions { opacity: 1; }
.td-doc-grid .doc-tile-actions button { border: none; background: var(--card); border-radius: 6px; font-size: 11px; padding: 2px 4px; cursor: pointer; }
.td-doc-add { border: 1.5px dashed var(--line-strong); color: var(--ink-secondary); font-size: 11.5px; font-weight: 600; cursor: pointer; }
.td-doc-add-plus { font-size: 20px; color: var(--accent); }
.td-storage { display: flex; justify-content: space-between; font: 400 10.5px "IBM Plex Mono", monospace; color: var(--ink-tertiary); }
.td-storage-bar { height: 4px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.td-storage-bar div { height: 100%; background: var(--ok); }
.td-pid { background: var(--topbar-bg); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.theme-dark .td-pid { background: color-mix(in srgb, var(--card) 70%, #000); border: 1px solid var(--line); }
.td-pid-note { margin: 0; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); border-left: 3px solid var(--warn); color: rgba(255, 255, 255, 0.88); font-size: 12px; line-height: 1.45; }
.td-pid .doc-tile { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.14); color: #fff; }
.td-pid .doc-tile-size { color: rgba(255, 255, 255, 0.6); }
.td-pid .doc-tile-badge { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--warn); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.td-pid .doc-tile-personal .doc-tile-actions { opacity: 1; position: static; margin-top: 2px; }
.td-pid .doc-tile-personal .doc-tile-view { display: none; }
.td-pid .td-doc-add.is-pid { border-color: var(--warn); color: var(--warn); }
.td-pid .td-doc-add.is-pid .td-doc-add-plus { color: var(--warn); }

.td-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 14px; border: none; border-top: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer; font-family: inherit; }
.td-row:first-child { border-top: none; }
.td-row-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.td-row-name { flex: 1; font-size: 14px; }
.td-row-val { font: 500 12.5px "IBM Plex Mono", monospace; color: var(--ink-secondary); text-align: right; }
.td-row-val.is-setup { color: var(--accent); font-weight: 700; }
.td-row-val em { display: block; font: italic 400 10.5px "IBM Plex Sans", sans-serif; color: var(--warn); }
.td-row-chev { color: var(--ink-tertiary); font-size: 14px; min-width: 12px; text-align: right; }
.td-row.is-locked { cursor: default; }
.td-row.is-locked .td-row-name { color: var(--ink-tertiary); }
.td-action { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: none; border-top: 1px solid var(--line); background: none; color: var(--ink); text-align: left; font: 400 14px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.td-action:first-child { border-top: none; }
.td-action:disabled { color: var(--ink-tertiary); cursor: default; }
.td-action.is-danger { color: var(--err); }
.td-action[hidden] { display: none; }
.td-soon { margin-left: auto; font-size: 10.5px; padding: 2px 7px; border-radius: 999px; background: var(--cream); color: var(--ink-tertiary); }
.td-stepper { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.td-stepper:first-child { border-top: none; }
.td-stepper span { flex: 1; font-size: 14px; }
.td-stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font-size: 16px; cursor: pointer; }
.td-stepper strong { min-width: 20px; text-align: center; font: 600 15px "IBM Plex Mono", monospace; }
.td-edit-dates { display: flex; flex-direction: column; gap: 10px; }
.td-edit-dates[hidden] { display: none; }
.td-list .booking-row { border-left: none; border-right: none; border-bottom: none; box-shadow: none; }
.td-list .booking-row .calc-row-remove { border: none; background: none; color: var(--ink-tertiary); }
.td-storage[hidden], .td-storage-bar[hidden] { display: none; }

/* ═══════════════════ Instellingen v2 (Master 17) ═══════════════════ */
#view-settings:not([hidden]) { display: flex; flex-direction: column; gap: 8px; padding-bottom: 24px; }
#view-settings > * { margin: 0; }
#view-settings > [hidden], #view-settings .st-legacy { display: none !important; }
#view-settings > .v2-section-label { margin-top: 8px; }
.st-group { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.st-row { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; padding: 13px 14px; border: none; border-top: 1px solid var(--line); background: none; color: var(--ink); text-align: left; font: 400 14px "IBM Plex Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.st-group > .st-row:first-child, .st-group > .st-data-intro + .st-row { border-top: none; }
div.st-row { cursor: default; }
.st-row-block { flex-direction: column; align-items: stretch; gap: 8px; }
.st-row-top { display: flex; align-items: center; gap: 12px; }
.st-ico { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.st-label { flex: 1; font-weight: 500; }
.st-label-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.st-status { font: 400 11px "IBM Plex Mono", monospace; color: var(--ink-tertiary); margin-top: 2px; }
.st-val { font-size: 13px; color: var(--ink-secondary); text-align: right; }
.st-val small { font-size: 11px; color: var(--ink-tertiary); }
.st-chev { color: var(--ink-tertiary); font-size: 14px; }
.st-row.is-danger { color: var(--err); }
.st-row.is-danger .st-ico { background: var(--err-soft); }
.st-chips { display: flex; gap: 6px; flex-wrap: wrap; padding-left: 40px; }
.st-chip { border: 1px solid var(--line); background: var(--cream); color: var(--ink); border-radius: 999px; padding: 6px 13px; font: 500 12.5px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.st-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.theme-dark .st-chip.is-active { color: var(--bg); }
.st-sub { margin: 0; padding-left: 40px; font-size: 11.5px; color: var(--ink-tertiary); line-height: 1.4; }
.st-explain { padding: 8px 12px; border-radius: 10px; background: var(--cream); border-left: 3px solid var(--info); font-size: 12px; color: var(--ink-secondary); line-height: 1.45; }
#view-settings .gps-status-card { margin: 0; border-radius: 12px; }
.st-data-intro { margin: 12px 12px 4px; padding: 10px 12px; border-radius: 10px; background: var(--ok-soft); border-left: 3px solid var(--ok); font-size: 12px; line-height: 1.45; color: var(--ink-secondary); display: flex; flex-direction: column; gap: 2px; }
.st-data-intro strong { color: var(--ok-ink); }
.theme-dark .st-data-intro strong { color: var(--ok); }
.st-data .st-row:nth-child(2) { border-top: none; }
.st-help { margin-top: 8px; padding: 12px 14px; border-radius: 14px; background: var(--info-soft); display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--ink-secondary); }
.st-help strong { font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--info); }
.st-footer { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px 0; text-align: center; font-size: 11.5px; color: var(--ink-tertiary); }
.st-footer strong { font-size: 13px; color: var(--ink-secondary); }
.st-pick.is-active { color: var(--accent); font-weight: 600; }
#view-settings .settings-section-admin { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 14px; padding: 12px 14px; }

/* ═══════════════════ Zero-state · intake · toast · crash (Master 1/2/19/20) ═══════════════════ */
.zerostate-view:not([hidden]) { gap: 18px; justify-content: center; }
.zerostate-gruttje.is-circle { width: 100px; height: 100px; border-radius: 50%; border: 2.5px solid var(--accent); font-size: 42px; margin: 0 auto 14px; }
.zerostate-view .zerostate-title { font-size: 20px; }
.zerostate-view .zerostate-sub { margin: 0; max-width: 300px; font-size: 13.5px; line-height: 1.5; color: var(--ink-secondary); font-weight: 400; }
.zerostate-view .zerostate-body { display: none; }
.zerostate-view .zerostate-feature-strip { display: flex; justify-content: center; gap: 14px; border: none; padding: 0; margin: 0; }
.zerostate-view .zerostate-feature-icon { background: none; border: none; padding: 2px; cursor: pointer; }
.zerostate-view .zerostate-feature-emoji { font-size: 20px; }
.zerostate-view .zerostate-feature-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.zerostate-feature-caption { margin: -10px 0 0; text-align: center; font-size: 11.5px; color: var(--ink-tertiary); }
.zerostate-view .zerostate-ctas { gap: 12px; }
.zerostate-view .zerostate-cta-primary { width: 100%; border-radius: 14px; padding: 15px; font-size: 15px; }

/* intake: Overslaan + 1/3 in de topbar */
body.is-intake .topbar .brand, body.is-intake .topbar .back-btn, body.is-intake .topbar .lang-switch, body.is-intake .topbar .weather-badge { display: none !important; }
body.is-intake .topbar-inner { justify-content: space-between; }
body.is-intake .topbar-inner .intake-header { display: flex; flex: 1; align-items: center; justify-content: space-between; margin: 0; padding: 0; background: none; border: none; }
body.is-intake .topbar-inner .intake-skip { background: none; border: none; color: var(--topbar-ink); font: 600 14px "IBM Plex Sans", system-ui, sans-serif; padding: 6px 4px; cursor: pointer; }
body.is-intake .topbar-inner .intake-skip::before { content: "← "; }
body.is-intake .topbar-inner .intake-progress-count { color: var(--topbar-ink); opacity: 0.85; font: 600 13px "IBM Plex Mono", monospace; }
.intake-view .intake-chip { padding: 7px 12px; font-size: 13px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); box-shadow: none; }
.intake-view .intake-chip.is-selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.theme-dark .intake-view .intake-chip.is-selected { color: var(--bg); }
.intake-view .intake-chips-label { color: var(--accent); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.intake-view .intake-nav { gap: 10px; }
.intake-view .intake-next-btn { flex: 1; border-radius: 14px; padding: 15px; }

/* globale toast (celebrations) */
.tg-toast { position: fixed; left: 50%; top: calc(64px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 200; display: flex; align-items: center; gap: 10px; max-width: min(92vw, 420px); padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--card); color: var(--ink-secondary); box-shadow: var(--sh-md, 0 6px 20px rgba(0, 0, 0, 0.18)); font-size: 13px; font-weight: 600; transition: opacity 0.35s; cursor: pointer; }
.tg-toast[hidden] { display: none; }
.tg-toast.is-out { opacity: 0; }
.tg-toast-ico { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.tg-crash { position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 210; max-width: 616px; margin: 0 auto; padding: 12px 14px; border-radius: 14px; background: var(--card); border-left: 3px solid var(--err); box-shadow: var(--sh-md, 0 6px 20px rgba(0, 0, 0, 0.18)); font-size: 13px; color: var(--ink-secondary); }
.tg-crash strong { color: var(--err); }
.tg-crash div { display: flex; gap: 8px; margin-top: 8px; }
.tg-crash button { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--card); color: var(--ink); font: 600 12.5px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.tg-crash button:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Meer-sheet: altijd een gecentreerde bottom-sheet, net als de andere sheets (fix: stond links-midden op breed scherm) */
.more-sheet-dialog,
.more-sheet-dialog[open] { position: fixed; inset: auto 0 0 0 !important; top: auto !important; bottom: 0 !important; left: 0 !important; right: 0 !important; margin: 0 auto !important; transform: none !important; width: 100%; max-width: 640px; border-radius: 18px 18px 0 0 !important; border: none; background: var(--bg); box-shadow: var(--sh-sheet, 0 -8px 30px rgba(0,0,0,0.2)); }

/* Datumveld met label in de app-taal (native veld blijft eronder voor de kalender) */
.tg-date { position: relative; display: inline-block; max-width: 100%; }
.tg-date > input[type="date"] { color: transparent; width: 100%; box-sizing: border-box; }
.tg-date > input[type="date"]::-webkit-datetime-edit { color: transparent; }
.tg-date-label { position: absolute; left: 12px; right: 36px; top: 50%; transform: translateY(-50%); pointer-events: none; font: inherit; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-date-label.is-empty { color: var(--ink-tertiary); }
.tg-date-label.is-disabled { opacity: 0.5; }
.field-row .tg-date, .cv-field .tg-date, .intake-date-field .tg-date { display: block; width: 100%; }
.bg-date-row .tg-date { min-width: 190px; }

/* ============================================================
   NAVIGATIE v3 — 3 tabs + snelle fixes (2026-10-15)
   ============================================================ */
/* Reis-segmentbalk */
.reis-seg-wrap { margin: 4px 16px 14px; }
.reis-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--cream); }
.reis-seg-btn { flex: 1 1 0; min-width: 0; border: 0; background: transparent; color: var(--ink-secondary); border-radius: 999px; padding: 9px 4px; font: 600 13px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reis-seg-btn.is-active { background: var(--card); color: var(--ink); box-shadow: var(--sh-md); }
.reis-sub { display: flex; gap: 8px; margin-top: 10px; }
.reis-sub[hidden] { display: none; }
.reis-sub-btn { border: 1px solid var(--line); background: var(--card); color: var(--ink-secondary); border-radius: 999px; padding: 7px 14px; font: 500 13px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.reis-sub-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.theme-dark .reis-sub-btn.is-active { color: var(--bg); }
.theme-dark .reis-seg { background: var(--card-elevated, var(--bg-pop)); }

/* Home: snelle acties; oude tegels + Meer weg */
#view-home .tile-grid-primary, #view-home #moreBtn { display: none !important; }
.home-qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 16px 14px; }
.home-qa-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); font: 600 13px/1.2 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; box-shadow: var(--sh-sm); }
.home-qa-btn:active { transform: scale(0.97); }
.home-qa-ico { font-size: 20px; line-height: 1; }

/* Formulieren als bottom-sheet */
.n3-form-sheet .add-row-form { display: block; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.n3-form-sheet .add-row-form[hidden] { display: none; }
.n3-form-sheet .field-row { margin-bottom: 12px; }
.n3-collapsed { display: none !important; }
.n3-more-details { display: block; margin: 2px 0 14px; padding: 0; border: 0; background: none; color: var(--accent); font: 600 13px/1.2 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.n3-more-details[hidden] { display: none; }

/* Rekenhulp: valuta alleen tonen, wijzigen in Instellingen */
.n3-cur-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin: 6px 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: 500 13px/1.3 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; text-align: left; }
.n3-cur-change { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* Dag-plan: eerst de 3 vragen */
.dp-startcard { margin: 0 16px 16px; padding: 18px 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); box-shadow: var(--sh-md); }
.dp-startcard[hidden] { display: none; }
.dp-startcard .planner-hero-eyebrow { color: var(--accent); font: 700 11px/1 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.dp-startcard-title { margin: 0 0 6px; font: 700 21px/1.25 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink); }
.dp-startcard-sub { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--ink-secondary); }
.dp-startcard .planner-hero-cta { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 11px 18px; background: var(--accent); color: #fff; font: 600 15px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.theme-dark .dp-startcard .planner-hero-cta { color: var(--bg); }
#view-dayplan.dp-needs-prefs > *:not(.reis-seg-wrap):not(.dp-startcard):not(dialog) { display: none !important; }

/* Zwevende knoppen boven de bottom-nav */
body.has-bottom-nav .bg-fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
body.has-bottom-nav .bg-fab-hint { bottom: calc(94px + env(safe-area-inset-bottom, 0px)); }
.dp-startcard .planner-hero-sparkle { display: none; }
#view-dayplan .reis-seg-wrap { margin: -12px -20px 14px; }
#view-dayplan .dp-startcard { margin: 0 -20px 16px; }
