/*
 * start-v4.css — Tab Start + Reis › Overzicht + intake-meldingen + dagje uit (2026-10-24)
 * Bron: canvas "TripGrutto — Start + Reis-overzicht v4" (ApATxk1eS5esCNfFg2PbZb).
 * Alleen design-system tokens (licht + Polder). P-09: oranje alleen voor de ene
 * hoofdknop, accent-streep, label en actieve tab.
 */

/* ───────── Start: oude Home-onderdelen weg, geen weer ───────── */
#view-home > :not(#v4Start) { display: none !important; }
body.is-start .weather-badge { display: none !important; }
.v4-hide { display: none !important; }

.v4-start { display: flex; flex-direction: column; padding: 20px 0 8px; }
.v4-gruttje { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 4px 0 4px; }
.v4-gruttje-ring {
  width: 128px; height: 128px; border-radius: 50%;
  border: 2.5px solid var(--accent); background: var(--cream);
  display: flex; align-items: center; justify-content: center; color: var(--ink-secondary);
}
.v4-gruttje-ring svg { width: 54px; height: 54px; }
.v4-gruttje.is-big { margin-top: 24px; }
.v4-gruttje.is-big .v4-gruttje-ring { width: 176px; height: 176px; }
.v4-gruttje.is-big .v4-gruttje-ring svg { width: 72px; height: 72px; }
.v4-bubble {
  position: relative; padding: 6px 13px; border-radius: 12px;
  border: 1.5px solid var(--ink); font: 600 14px/1.2 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink);
}
.v4-bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 11px; height: 11px; margin-left: -6px;
  background: var(--bg); border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg);
}
.v4-hi { margin: 24px 0 0; text-align: center; font-size: 24px; font-weight: 700; color: var(--ink); }
.v4-hi-sub { margin: 8px auto 0; max-width: 300px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }
.v4-cta {
  margin-top: 28px; width: 100%; min-height: 52px; border: none; border-radius: 999px;
  background: var(--accent); color: #fff; font: 600 16px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer;
}
.theme-dark .v4-cta { color: var(--bg); }
.v4-cta-2 {
  margin-top: 10px; width: 100%; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: transparent; color: var(--ink); font: 600 15px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer;
}
.v4-link { margin: 6px auto 0; min-height: 44px; padding: 0 8px; border: none; background: none; color: var(--accent-ink); font: 500 14px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.v4-trust { margin: 18px 0 0; text-align: center; font-size: 12px; color: var(--ink-secondary); }

.v4-head { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.v4-head h1 { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.v4-new {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--accent); background: transparent; color: var(--accent-ink); font: 600 14px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer;
}
.v4-trips { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.v4-trips[hidden] { display: none; }
.v4-trip { display: flex; align-items: stretch; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.v4-trip.is-active { border-left: 3px solid var(--accent); }
.v4-trip.is-past { opacity: .8; }
.v4-trip-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 14px 4px 14px 16px; border: none; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.v4-trip-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.v4-trip-name { font-size: 17px; font-weight: 700; }
.v4-trip-line { font-size: 13px; color: var(--ink-secondary); }
.v4-badge { padding: 2px 8px; border-radius: 999px; background: var(--cream); color: var(--ink-secondary); font-size: 11.5px; font-weight: 600; }
.v4-badge.is-accent { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.v4-trip-more { width: 48px; flex-shrink: 0; border: none; background: none; color: var(--ink-secondary); cursor: pointer; }
.v4-dayout, .v4-past-toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: 10px;
  border-radius: 14px; border: 1.5px dashed var(--line-strong); background: transparent; color: var(--ink);
  font: 500 14px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer;
}
.v4-dayout svg { color: var(--accent-ink); }
.v4-past-toggle { justify-content: flex-start; border: none; color: var(--ink-secondary); padding: 0 4px; }
.v4-past-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

/* ───────── Onderste balk: Reis grijs zonder reis ───────── */
.bottom-nav-item.is-disabled, .bottom-nav-item:disabled { opacity: .38; cursor: default; }

/* ───────── Topbar op Reis-schermen ───────── */
#pageTitle.v4-trip-title { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v4-caret { font-size: 12px; opacity: .85; }

/* ───────── Reis › Overzicht ───────── */
#view-overview:not([hidden]) { display: flex; flex-direction: column; gap: 12px; padding-bottom: 16px; }
#view-overview #v4OvMoved { display: flex; flex-direction: column; gap: 12px; }
#view-overview #v4OvMoved:empty, #view-overview #v4OvToday:empty, #view-overview #v4OvHero:empty { display: none; }
.v4-hero { background: var(--cream); border-left: 3px solid var(--accent); border-radius: 16px; padding: 16px 16px 8px 15px; display: flex; flex-direction: column; }
.v4-eye { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.v4-hero-title { margin: 4px 0 0; font-size: 28px; line-height: 1.1; font-weight: 700; color: var(--ink); }
.v4-hero-sub { margin: 4px 0 0; font-size: 13px; color: var(--ink-secondary); }
.v4-ready-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-strong); font-size: 12px; color: var(--ink-secondary); }
.v4-ready-head span:first-child { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.v4-row {
  display: flex; align-items: center; gap: 12px; min-height: 56px; width: 100%; padding: 0;
  border: none; border-top: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer;
}
.v4-ready-head + .v4-row { border-top: none; }
.v4-row > svg { color: var(--ink-secondary); flex-shrink: 0; }
.v4-row-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v4-row-tx b { font-size: 14.5px; }
.v4-row-tx small { font-size: 12.5px; color: var(--ink-secondary); display: flex; align-items: center; gap: 8px; }
.v4-st { width: 22px; height: 22px; border-radius: 50%; border: 1.8px solid var(--ink-tertiary); box-sizing: border-box; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.v4-st.is-half { border-color: var(--warn); background: linear-gradient(90deg, var(--warn) 50%, transparent 50%); }
.v4-st.is-done { border: none; background: var(--ok); color: #fff; }
.theme-dark .v4-st.is-done { color: var(--bg); }
.v4-bar { display: inline-block; width: 64px; height: 4px; border-radius: 999px; background: var(--line-strong); overflow: hidden; }
.v4-bar > i { display: block; height: 4px; background: var(--ok); }
.v4-pill {
  flex-shrink: 0; min-height: 40px; padding: 0 16px; border: none; border-radius: 999px;
  background: var(--accent); color: #fff; font: 600 13.5px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer;
}
.theme-dark .v4-pill { color: var(--bg); }
.v4-hero > .v4-pill { align-self: flex-start; margin-top: 10px; }

.v4-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 4px 16px; }
.v4-lbl { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-secondary); }
.v4-stop { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 14px; color: var(--ink); }
.v4-stop-t { width: 44px; font-size: 12.5px; color: var(--ink-secondary); font-variant-numeric: tabular-nums; }
.v4-stop-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.8px solid var(--ink-tertiary); box-sizing: border-box; flex-shrink: 0; }
.v4-stop.is-done .v4-stop-n { color: var(--ink-secondary); text-decoration: line-through; }
.v4-stop.is-done .v4-stop-dot { border: none; background: var(--ok); }
.v4-stop.is-next .v4-stop-t { color: var(--accent-ink); font-weight: 600; }
.v4-stop.is-next .v4-stop-dot { border: 2.5px solid var(--accent); }
.v4-stop.is-next .v4-stop-n { font-weight: 600; }
.v4-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.v4-qa button {
  min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 500 14px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer;
}
.v4-qa svg { color: var(--accent-ink); }
.v4-drow {
  width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 4px 0 0;
  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;
}
.v4-drow > svg:first-child { color: var(--ink-secondary); flex-shrink: 0; }
.v4-drow > span { flex: 1; }
.v4-drow > em { font-style: normal; font-size: 13px; color: var(--ink-secondary); }
.v4-drow > svg:last-child { color: var(--ink-secondary); }

/* ───────── Sheets (⋯-menu, reis wisselen) ───────── */
.v4-sheet .bg-sheet-head h3 { margin: 0; font-size: 16px; }
.v4-menu .dp-menu-item { display: flex; flex-direction: column; gap: 2px; min-height: 48px; justify-content: center; }
.v4-menu .dp-menu-item small { font-size: 12.5px; color: var(--ink-secondary); font-weight: 400; }
.v4-menu .dp-menu-item.is-active b::after { content: " ✓"; color: var(--accent-ink); }
.v4-menu .v4-all { color: var(--accent-ink); }

/* ───────── Intake: overlap + wisseldag ───────── */
.v4-datebox { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; padding: 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.v4-datebox b { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.v4-datebox.is-err { background: var(--err-soft); border: 1px solid color-mix(in srgb, var(--err) 30%, transparent); }
.v4-datebox.is-err b { color: var(--err-ink); }
.v4-datebox.is-info { background: var(--info-soft); }
.v4-datebox.is-info b { color: var(--info-ink); }
.v4-datebtns { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.v4-datebtns button { min-height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: 500 14px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.v4-datebtns .is-pri { border: none; background: var(--accent); color: #fff; font-weight: 600; }
.theme-dark .v4-datebtns .is-pri { color: var(--bg); }
.v4-wd-rows { display: flex; flex-direction: column; padding: 2px 12px; border-radius: 12px; background: var(--card); }
.v4-wd-rows > div { display: flex; align-items: center; gap: 12px; min-height: 38px; border-top: 1px solid var(--line); }
.v4-wd-rows > div:first-child { border-top: none; }
.v4-wd-rows > div > span:first-child { width: 58px; flex-shrink: 0; font-size: 12.5px; color: var(--ink-secondary); font-variant-numeric: tabular-nums; }
.v4-wd-rows .is-arrive span { font-weight: 600; }
.v4-wd-rows .is-arrive span:first-child { color: var(--accent-ink); }

/* ───────── Dagje uit ───────── */
.v4-dayoutbox { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.v4-dayoutbox[hidden] { display: none; }
.v4-do-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v4-do-chips .is-off { opacity: .55; border-style: dashed; cursor: default; }
.v4-do-from { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.v4-do-from label { font-size: 14.5px; color: var(--ink); }
.v4-do-from label span { color: var(--ink-secondary); font-weight: 400; }
.v4-do-from small { font-size: 12.5px; line-height: 1.45; color: var(--ink-secondary); }
body.v4-dayout-mode #intakeDestChips, body.v4-dayout-mode #intakeStep1ChipsLabel { display: none !important; }

/* ───────── Te doen (Overzicht) ───────── */
.v4-todos { padding-bottom: 6px; }
.v4-todo-head { display: flex; align-items: center; justify-content: space-between; }
.v4-todo-head .v4-lbl { margin: 0; }
.v4-todo-add { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: none; background: none; color: var(--accent-ink); cursor: pointer; }
.v4-todo { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--line); }
.v4-todo input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.v4-todo-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 4px 8px 0; border: none; background: none; color: var(--ink); text-align: left; font: 400 14px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.v4-todo-tx small { font-size: 12px; color: var(--ink-secondary); }
.v4-todo.is-done .v4-todo-tx span { color: var(--ink-secondary); text-decoration: line-through; }
.v4-todo-empty { margin: 4px 0 10px; font-size: 13px; color: var(--ink-secondary); }

/* Nu-blok in Overzicht (zelfde stijl als Home v2) */
/* ─── Hero-kaarten: planner-hero / Nu-blok / Terugblik ─── */
#view-home .planner-hero,
#view-home .terugblik-block,
#view-overview .now-block {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 16px;
  padding: 16px 16px 16px 15px;
  box-shadow: none;
  overflow: visible;
}
#view-overview .now-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}
#view-home .planner-hero-eyebrow,
#view-home .terugblik-eyebrow,
#view-overview .now-lbl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
}
#view-overview .now-day::before { content: "·"; margin-right: 6px; }
#view-home .planner-hero-title,
#view-home .terugblik-title,
#view-overview .now-title {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
#view-overview .now-title { font-size: 17px; font-weight: 600; }
#view-home .planner-hero-sub,
#view-home .terugblik-metrics,
#view-overview .now-sub {
  margin: 0 0 12px;
  color: var(--ink-secondary);
  font-size: 13.5px;
  line-height: 1.45;
  opacity: 1;
}
#view-overview .now-sub { margin-bottom: 10px; }
/* 1 primary CTA per scherm (P-09) */
#view-home .planner-hero-cta,
#view-overview .now-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 600 13.5px/1 "IBM Plex Sans", system-ui, sans-serif;
  box-shadow: none;
  cursor: pointer;
}
.theme-dark #view-home .planner-hero-cta,
.theme-dark #view-overview .now-cta { color: var(--bg); }
#view-home .planner-hero-cta:hover,
#view-overview .now-cta:hover { background: var(--accent-ink); transform: none; }
.theme-dark #view-home .planner-hero-cta:hover,
.theme-dark #view-overview .now-cta:hover { filter: brightness(1.08); background: var(--accent); }
/* Conditionele weer-waarschuwing in het Nu-blok (.c-strip warn) */
#view-overview .now-warn {
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 12.5px;
  font-weight: 500;
}
#dp10ExtHint { }
body.v4-dayout-mode #dp10ExtHint { display: none !important; }

/* Terugblik in Overzicht (zelfde stijl als Home v2) */
#view-overview .terugblik-block {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 16px;
  padding: 16px 16px 16px 15px;
  box-shadow: none;
  overflow: visible;
}
#view-overview .terugblik-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
}
#view-overview .terugblik-title {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
#view-overview .terugblik-metrics {
  margin: 0 0 12px;
  color: var(--ink-secondary);
  font-size: 13.5px;
  line-height: 1.45;
  opacity: 1;
}
#view-overview .terugblik-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
#view-overview .terugblik-cta {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font: 500 13px/1.3 "IBM Plex Sans", system-ui, sans-serif;
  box-shadow: none;
  cursor: pointer;
}

/* 2026-10-25 · intake op één scherm */
.os-intake #intakeStep2 { margin-top: 24px; gap: 8px; }
.os-intake #intakeStep2Title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.os-intake #intakeStep2Sub { margin: -4px 0 4px; font-size: 14px; color: var(--ink-secondary); }
.os-intake #intakeStep1ChipsLabel[hidden], .os-intake #intakeDestChips[hidden], .os-intake #intakeDatesSkipBtn[hidden], .os-intake #intakeProgressCount[hidden] { display: none; }
.os-intake #dp10ExtHint, .os-intake #intakeDateStartLabel[hidden] { display: none !important; }
.os-fvseg { grid-template-columns: 1fr 1fr !important; display: grid; }
/* 2026-10-25 · rustige intake: alleen titel, 3 velden, knop */
.os-intake:not(.os-dayout) #intakeStep1Sub,
.os-intake #v8NameBox label, .os-intake .v8-sug,
.os-intake #v8StayLbl, .os-intake #v8StayHint,
.os-intake #intakeStep2Sub { display: none !important; }
.os-intake #v8NameBox { margin-bottom: 12px; }
.os-intake:not(.os-dayout) #intakeStep1Title { margin-bottom: 8px; }
.os-intake #intakeStep2 { margin-top: 20px; }
.os-intake #intakeStep2Title .os-later { font-weight: 400; color: var(--ink-secondary); }
.os-intake .dp19-destpanel:empty, .os-intake .dp19-legend:empty, .os-intake #dp19DestList:empty { display: none; }
.os-intake #intakeStep1 { gap: 10px; }
.os-intake #intakeStep2 { margin-top: 12px; }
.os-intake #v8NameInput { background: var(--card); border: 1.5px solid var(--line-strong); }
.os-intake .intake-dates { min-width: 0; }
.os-intake .intake-date-field { min-width: 0; }
.os-intake .intake-date-field input, .os-intake .intake-date-field .tg-date { width: 100%; min-width: 0; box-sizing: border-box; }
/* 2026-10-25 · rustig dagje uit */
.os-dayout #intakeStep1Sub, .os-dayout #v4DayOutBox .v4-lbl, .os-dayout .v4-do-from label { display: none !important; }
.os-dayout .v4-dayoutbox { margin-top: 4px; }
.os-dayout .v4-do-from { padding: 0; border: 0; background: none; margin-top: 6px; }
.os-dayout .v4-do-from:not(:focus-within) small { display: none; }

/* 2026-10-25 · Plan dag rustig: tegels in 2 kolommen */
#dp13Facts.os-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 0; background: none; padding: 0; overflow: visible; border-radius: 0; }
#dp13Facts.os-tiles > .dp13-fact.is-static { display: none; }
#dp13Facts.os-tiles > .dp13-fact { order: 1; min-height: 44px; margin: 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; display: flex; align-items: center; min-width: 0; }
#dp13Facts.os-tiles > .dp13-fact > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-weight: 500; }
#dp13Facts.os-tiles > .dp13-fact > em { display: none; }
#dp13Facts.os-tiles > .dp13-fact[aria-expanded="true"] { border: 1.5px solid var(--info, #22447a); background: color-mix(in srgb, var(--info, #22447a) 8%, var(--card)); }
#dp13Facts.os-tiles > .dp13-fact.os-empty { border-style: dashed; background: transparent; color: var(--ink-secondary); }
#dp13Facts.os-tiles > .v8-exp { order: 5; grid-column: 1 / -1; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
#dlgPlanner .pl-q.os-hide, #dlgPlanner.os-plan #plTempoWhy, #plStyleHint.os-hide { display: none !important; }
#plTitle .os-date { font-weight: 400; font-size: .8em; color: var(--ink-secondary); }
#plTempo .os-sug::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-left: 6px; vertical-align: middle; }
/* 2026-10-28 · vertrekpunt exact */
.os-myloc { align-self: flex-start; background: none; border: 0; padding: 6px 0; font: inherit; font-size: 14px; color: var(--info, #22447a); font-weight: 600; cursor: pointer; }
.os-usetext b { font-weight: 600; }
.os-which { margin: 8px 0 6px; font-size: 13px; color: var(--ink-secondary); }
.os-stayq { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }

/* 2026-10-28 · rondreis */
.rr-card { display: flex; flex-direction: column; gap: 8px; }
.rr-head { display: flex; align-items: baseline; gap: 8px; }
.rr-head .v4-lbl { flex-grow: 1; margin: 0; }
.rr-cnt { font-size: 12.5px; font-weight: 600; color: var(--warn, #8a4a26); }
.rr-cnt.is-ok { color: var(--ok, #2f6b3a); }
.rr-end { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; background: none; border: 0; font: inherit; color: var(--ink-secondary); text-align: left; cursor: pointer; }
.rr-end > span:first-child { width: 26px; text-align: center; }
.rr-end-tx { flex-grow: 1; }
.rr-end em { font-style: normal; font-weight: 600; font-size: 13px; color: var(--info, #22447a); }
.rr-leg { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 10px; background: var(--card); }
.rr-leg-main { flex-grow: 1; min-width: 0; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.rr-nr { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--bg, #fff); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rr-leg-tx { display: flex; flex-direction: column; min-width: 0; }
.rr-leg-tx b { font-size: 15px; }
.rr-leg-tx small { font-size: 12.5px; color: var(--ink-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-leg-tx small.is-open { color: var(--warn, #8a4a26); }
.rr-n { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.rr-n button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); font-size: 18px; color: var(--ink); cursor: pointer; }
.rr-n em { font-style: normal; min-width: 64px; text-align: center; font-size: 13px; font-weight: 600; }
.rr-n.is-big button { width: 44px; height: 44px; }
.rr-between { font-size: 12.5px; color: var(--ink-secondary); padding: 2px 0 2px 12px; border-left: 2px dashed var(--line-strong); margin-left: 20px; }
.rr-openrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1.5px dashed var(--warn, #d8b49a); border-radius: 12px; padding: 10px 12px; background: none; font: inherit; color: var(--warn, #8a4a26); cursor: pointer; }
.rr-add { min-height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.rr-form { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 8px; }
.rr-f { display: flex; flex-direction: column; gap: 6px; }
.rr-f > span { font-weight: 600; }
.rr-f > span i { font-style: normal; font-weight: 400; color: var(--ink-secondary); }
.rr-f small { font-size: 12.5px; color: var(--ink-secondary); }
.rr-two, .rr-three { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rr-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rr-two button, .rr-three button { min-height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--card); font: inherit; color: var(--ink); cursor: pointer; }
.rr-two button.is-on, .rr-three button.is-on { border: 1.5px solid var(--accent); font-weight: 600; }
.rr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rr-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.rr-info { margin: 0; background: color-mix(in srgb, var(--info, #22447a) 10%, var(--card)); color: var(--info, #22447a); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.rr-save { min-height: 50px; border: 0; border-radius: 12px; background: var(--accent); color: var(--on-accent, #fff); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.rr-save[disabled] { opacity: .5; }
.rr-del { min-height: 40px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--err, #8a2b1d); cursor: pointer; }
.rr-row .dp10-tr small { color: var(--ink-secondary); }
.rr-open { color: var(--warn, #8a4a26); }
.rr-banner { border: 1.5px solid color-mix(in srgb, var(--info, #22447a) 35%, transparent); background: color-mix(in srgb, var(--info, #22447a) 7%, var(--card)); border-radius: 14px; padding: 10px 12px; margin: 0 0 12px; }
.rr-banner-h { margin: 0 0 4px; font-weight: 700; }
.dp14-wk .rr-wk { display: block; font-style: normal; font-size: 9.5px; line-height: 1.1; margin-top: 2px; color: var(--ink-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dp14-wk.is-on .rr-wk { color: inherit; opacity: .85; }
.rr-open { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
/* 2026-10-29 · hotel + straat, bewaren, controleren */
.os-stayq { gap: 8px; }
.os-stayact { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.os-staysave { min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--accent); color: var(--on-accent, #fff); font: inherit; font-weight: 700; cursor: pointer; }
.os-staysave[hidden], .os-mapcheck[hidden] { display: none; }
.os-mapcheck { font-weight: 600; color: var(--info, #22447a); text-decoration: none; }

/* 2026-10-29 · Plan dag met verhaal */
#dlgPlanner.os-story #plTitle { display: flex; flex-direction: column; gap: 2px; font-size: 21px; font-weight: 800; }
#dlgPlanner.os-story #plTitle .ps-date { font-size: 13px; font-weight: 400; color: var(--ink-secondary); }
#dlgPlanner.os-story #plTitle .os-date { display: none; }
.ps-intro { margin: 0 0 14px; color: var(--ink-secondary); line-height: 1.45; }
.ps-intro b { color: var(--ink); }
.ps-step1 { margin-bottom: 8px; }
.ps-step1 small { font-weight: 400; font-size: 12.5px; color: var(--ink-secondary); }
#dlgPlanner.os-story .ps-step1 > span::before, #dlgPlanner.os-story #plQTempo::before, #dlgPlanner.os-story #plQ1::before { color: var(--accent); font-weight: 800; }
#dlgPlanner.os-story .ps-step1 > span::before { content: "1 · "; }
#dlgPlanner.os-story #plQTempo::before { content: "2 · "; }
#dlgPlanner.os-story #plQ1::before { content: "3 · "; }
#dp13Facts.ps-rows { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; padding: 0; }
#dp13Facts.ps-rows > .dp13-fact.is-static { display: none; }
#dp13Facts.ps-rows > .dp13-fact { display: flex; align-items: center; gap: 10px; min-height: 50px; margin: 0; padding: 0 14px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--card); text-align: left; width: 100%; font: inherit; color: var(--ink); }
#dp13Facts.ps-rows > .dp13-fact:first-of-type, #dp13Facts.ps-rows > .dp13-fact.is-static + .dp13-fact { border-top: 0; }
#dp13Facts.ps-rows > .dp13-fact[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 6%, var(--card)); }
#dp13Facts.ps-rows .ps-lbl { width: 96px; flex-shrink: 0; color: var(--ink-secondary); }
#dp13Facts.ps-rows .ps-val { flex-grow: 1; min-width: 0; text-align: right; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#dp13Facts.ps-rows .dp13-fact > i { font-style: normal; color: var(--ink-tertiary, #a09888); }
#dp13Facts.ps-rows > .v8-exp { margin: 0; padding: 4px 14px 14px; border: 0; border-radius: 0; background: color-mix(in srgb, var(--accent) 6%, var(--card)); }
#dlgPlanner.os-story #plTempoDesc, #dlgPlanner.os-story #plTempoWhy { display: none !important; }
.ps-sug { margin: 8px 0 0; font-size: 13px; color: var(--ink-secondary); }
.ps-fv { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--info, #22447a); cursor: pointer; }
#dlgPlanner.os-story #plTempo .os-sug::after { display: none; }
.ps-get { margin: 4px 0 10px; background: var(--cream, #f5ede1); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: var(--ink-secondary); }
.ps-get b { color: var(--ink); }

/* ===== Dagplan 12 nov (Jimmy): korte dag · "Deze dag" · één Gruttje-kaart · reisblokken één stijl ===== */
/* A · planvenster: wat elke keuze vandaag oplevert */
.pl-tseg-btn.tq-has-sub { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 8px; padding-bottom: 8px; }
.pl-tseg-btn .tq-sub { font: 400 12px/1.2 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink-secondary); }
.tq-info { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; padding: 8px 16px 8px 12px; border-radius: 12px; background: var(--info-soft); color: var(--ink); font-size: 13px !important; line-height: 1.45; }
.tq-info span { font-size: 13px !important; }
.tq-info svg { flex-shrink: 0; margin-top: 1px; color: var(--v3-link, #2f5d99); }
.tq-info[hidden] { display: none; }

/* B · kaart "Deze dag" */
#view-dayplan .tqa-hide { display: none !important; }
#view-dayplan .tqa-card { margin: 16px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--v3-r, 16px); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
#view-dayplan .tqa-h { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-secondary); }
#view-dayplan .tqa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#view-dayplan .tqa-grid.is-one { grid-template-columns: 1fr; }
#view-dayplan .tqa-btn { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: 600 15px/1.2 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
#view-dayplan .tqa-btn:active { background: var(--cream); }
#view-dayplan .tqa-btn svg { flex-shrink: 0; }
#view-dayplan .tqa-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
#view-dayplan .tqa-row { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: 400 15px/1.2 "IBM Plex Sans", system-ui, sans-serif; text-align: left; cursor: pointer; }
#view-dayplan .tqa-row:last-child { border-bottom: 0; }
#view-dayplan .tqa-ri { display: flex; color: var(--v3-link, #2f5d99); }
#view-dayplan .tqa-rt { flex: 1 1 auto; }
#view-dayplan .tqa-chev { color: var(--ink-tertiary, #a09888); }
#view-dayplan .tqa-row.is-danger, #view-dayplan .tqa-row.is-danger .tqa-ri { color: var(--err, #b23b3b); }
/* het vertrek/aankomst-blok staat boven de kaart */
#view-dayplan .bb-arr.is-dp.is-line { margin-top: 16px; }

/* C · één Gruttje-kaart: verhaal, weer als laatste zin, samenvatting */
#view-dayplan .tgo-dhead.tq-one { background: var(--cream); padding: 16px; border-radius: var(--v3-r, 16px); gap: 16px; }
#view-dayplan .tgo-dhead.tq-one .tgo-dh-g { display: flex; gap: 12px; align-items: flex-start; }
#view-dayplan .tq-one .tgo-dh-say { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
#view-dayplan .tq-one .tqg-wx .dp7-bl { display: inline; margin: 0; padding: 0; font-size: inherit; color: inherit; background: none; }
#view-dayplan .tq-one .tqg-wx .dp7-pk { display: inline; margin: 0; padding: 0; min-height: 0; border: 0; background: none; font: 600 15px/1.5 "IBM Plex Sans", system-ui, sans-serif; color: var(--v3-link, #2f5d99); cursor: pointer; }
#view-dayplan .tq-one .tqg-icons { margin: 0; font-size: 13px; color: var(--ink-secondary); }
#view-dayplan .tq-one .tqg-icons .dp7-wx { display: flex; gap: 12px; }
#view-dayplan .tq-one .tqg-sum { margin: 0; font-size: 13px; color: var(--ink-secondary); display: block !important; }
#view-dayplan .tq-one .tgo-dh-btns { padding-left: 52px; }
#view-dayplan .tq-one .tgo-dh-btns:empty { display: none; }

/* D · reisblokken: dezelfde stijl vóór en na het plannen */
#view-dayplan .rr-banner { border: 0; background: #f8f4ee; border-radius: 16px; padding: 12px 12px 16px; margin: 0 -4px 12px; }
.theme-dark #view-dayplan .rr-banner { background: rgba(242,245,235,0.03); }
#view-dayplan .rr-banner-h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px !important; font-weight: 600; color: var(--ink); }
#view-dayplan .rr-banner-h::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
#view-dayplan .rr-row .dp9-c,
#view-dayplan .tgz-row.is-travel .tgz-travel { padding: 12px; border-radius: var(--v3-r, 16px); background: var(--info-soft); font-size: 15px; line-height: 1.45; color: var(--ink); }
/* stijlgids v3 · lettergroottes 15/13 in het dagplan (meetronde 12 nov) */
#view-dayplan .rr-row .dp9-c *, #view-dayplan .tgz-travel *, #view-dayplan .tgh-stay .tgh-tx, #view-dayplan .tgh-stay .tgh-tx span, #view-dayplan .tgh-btn, #view-dayplan .v3-add, #view-dayplan .tgz-row.is-slot button { font-size: 15px !important; }
#view-dayplan .rr-row .dp9-c small, #view-dayplan .tgz-travel small, #view-dayplan .rr-sub { font-size: 13px !important; }
/* zelf ingevulde dag: "Zelf ingevuld" staat in de Gruttje-kaart */
#view-dayplan.tgz-own-day.tq-has-card .tgz-head { display: none !important; }
#view-dayplan .tq-one .tqg-wx, #view-dayplan .tq-one .tqg-wx .dp7-bl { font-size: 15px !important; line-height: 1.5; color: var(--ink); }
#view-dayplan .tq-one .tqg-wx .dp7-pk { font-size: 15px !important; }
#view-dayplan .tqa-btn { white-space: nowrap; padding: 0 6px; }
#view-dayplan .tqa-btn span { overflow: hidden; text-overflow: ellipsis; }
#view-dayplan .tgx-moves button { font-size: 15px !important; }
/* dagdeel-label overal met hoofdletter (geplande dag had "ochtend", eigen dag "Ochtend") */
#view-dayplan .dp9-band > span > span:last-child { display: inline-block; }
#view-dayplan .dp9-band > span > span:last-child::first-letter { text-transform: uppercase; }
/* "Boek nu" op een zelf ingevulde dag: onder de kaart, zoals op een geplande dag */
#view-dayplan .tgz-row.has-tgb { flex-wrap: wrap; row-gap: 0; }
#view-dayplan .tgz-row.has-tgb > .tgb-line { flex: 1 0 calc(100% - 60px); margin-left: 60px; margin-top: 8px; }
#view-dayplan .tgz-row.has-tgb > .tgz-card { flex: 1 1 0; min-width: 0; }
#view-dayplan .tgz-tip .dp9-tx { font-size: 13px !important; }
#view-dayplan .dp9-tiproute { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-secondary); }
#view-dayplan .dp9-tiproute .dp7-route { font-size: 13px; }
/* vrij moment vóór het diner: "tot 19:00 ▾" */
#view-dayplan .tq-untilrow { display: flex; margin: 8px 0 0; }
#view-dayplan .tq-untilp { flex-wrap: wrap; }
#view-dayplan .tq-untilhint { flex-basis: 100%; font-size: 13px; color: var(--ink-secondary); }
/* duur-paneel (ook bestaande "1u ▾"): stijlgids v3 — geen oranje rand, "Klaar" als tekstknop in linkkleur, 15 px */
#view-dayplan .dp19-durp { border-color: var(--line-strong); gap: 8px; }
#view-dayplan .dp19-durok { color: var(--v3-link, #2f5d99); font-size: 15px; }
#view-dayplan .dp19-durl, #view-dayplan .dp19-durv { font-size: 15px; }
#view-dayplan .tq-untilp .dp19-durv { min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
#view-dayplan .tq-untilhint { margin-top: 0; }

/* ===== Geld 12 nov (Jimmy): Nieuwe uitgave volgens stijlgids v3 ===== */
/* bedragveld: geen oranje rand (oranje = alleen de hoofdknop), blauwe rand zodra je typt; geen tweede kader om het getal */
.bg-amount-box, .bg-amount-box.is-small { border: 1px solid var(--line-strong); border-radius: 16px; }
.bg-amount-box:focus-within { border: 2px solid var(--v3-link, #2f5d99); padding: 15px 11px; }
.bg-amount-box.is-small:focus-within { padding: 9px 11px; }
.bg-amount-box input, .bg-amount-box input:focus, .bg-amount-box input:focus-visible { outline: none !important; box-shadow: none !important; border: 0 !important; background: transparent !important; }
/* "Datum" als kopje, net als Categorie en Notitie */
.bg-date-row > label { font: 600 13px/1.3 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink-secondary); }
/* Bonnetje toevoegen: een gewone knop (was een grijze stippelrand en zag er uitgeschakeld uit) */
.bg-receipt-btn { display: flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 16px 0 0; padding: 0 16px; border: 1px solid var(--line-strong) !important; border-style: solid !important; border-radius: 14px; background: var(--card); color: var(--ink) !important; font: 600 15px/1.2 "IBM Plex Sans", system-ui, sans-serif !important; cursor: pointer; }
.bg-receipt-btn:active { background: var(--cream); }
.bg-receipt-btn .v3-icohost, .bg-receipt-btn svg { color: var(--v3-link, #2f5d99); }
.bg-add-sheet .bg-btn-secondary { border-radius: 14px; font-size: 15px; }
/* Rekenhulp · zelf een som maken: rekentekens als knoppen + uitkomst terwijl je typt (12 nov) */
#view-budget .ck-ops, .ck-ops { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; }
.ck-ops button { width: 52px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: 600 17px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.ck-ops button:active { background: var(--cream); }
.ck-live { margin-left: auto; font: 600 15px/1.2 "IBM Plex Sans", system-ui, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.ck-neg { color: var(--ink-secondary); }

/* ===== Bord 4 (12 nov): één lijst-patroon in Dagplan, Geld en Paklijst ===== */
.tql-off { display: none !important; }
/* één hoofdknop met tekst, bovenaan de lijst (Geld: onder het totaal; Paklijst: boven de lijst) */
.tql-main, #tqlPkAddSlot .pk-btn-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 16px 0; padding: 0 16px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font: 600 17px/1.2 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
.theme-dark .tql-main { color: var(--bg); }
.tql-main[hidden] { display: none; }
#tqlPkAddSlot { margin: 0 0 16px; }
#tqlPkAddSlot[hidden] { display: none; }
#tqlPkAddSlot .pk-btn-primary { margin: 0; }
/* een regel met meer erachter: › rechts */
.bg-row .tql-chev, .bg-owed-row .tql-chev { flex-shrink: 0; margin-left: 4px; font-size: 17px; line-height: 1; color: var(--ink-tertiary, #a09888); }
/* Rekenhulp · zelf een som maken: rekenbord op het scherm (12 nov, Jimmy: "een nummerbord met de rekentekens") */
.ck-live { display: block; min-height: 20px; margin: 8px 0 0; text-align: right; }
.ck-pad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 8px 0 16px; }
.ck-pad button { min-height: 52px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: 600 20px/1 "IBM Plex Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.ck-pad button.is-op { background: var(--cream); }
.ck-pad button.is-back { font-size: 17px; color: var(--ink-secondary); }
.ck-pad button:active { background: var(--line); }

/* Aankomst/vertrek vanuit je verblijf (28 nov 2026) */
#dlgRrEnd .rre-stay { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; }
#dlgRrEnd .rre-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--cream); font-size: 18px; }
#dlgRrEnd .rre-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#dlgRrEnd .rre-tx small { font-size: 12.5px; color: var(--ink-secondary); font-weight: 400; }
#dlgRrEnd .rre-tx b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
#dlgRrEnd .rre-other { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--info); font: inherit; font-weight: 600; cursor: pointer; }
#dlgRrEnd .rre-err { margin: 0; color: var(--err); font-size: 14px; font-weight: 500; }

/* Lang verblijf in één plaats (28 nov 2026) */
.lv-note { display: block; margin: 6px 0 8px; color: var(--ink-secondary); font-size: 14px; line-height: 1.45; }
p.lv-note { margin: 10px 0 0; }
.dp14-choice.lv-self { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
.dp14-choice.lv-self b { font-weight: 500; color: var(--ink-secondary); }
