/* Boekingsplatform – basisstijl. Kleuren als variabelen zodat een schip later een eigen accent kan krijgen. */
:root {
  --ink: #14202B;
  --ink-2: #45515B;
  --ink-3: #5B6670;
  --ground: #F4F6F7;
  --surface: #FFFFFF;
  --line: #DDE3E7;
  --line-2: #E6EAED;
  --field: #CCD4DA;
  --nav: #13293A;
  --nav-2: #1D3A50;
  --nav-active: #24465F;
  --nav-ink: #D3DEE5;
  --nav-muted: #A9BCC9;
  --accent: #1F5A7A;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3EEF3;
  --warn-bg: #FBE7D0;
  --warn-ink: #7A3E0C;
  --warn-line: #B8651F;
  --danger: #8A3A12;
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--ground); font-size: 15px; line-height: 1.45; }
a { color: var(--accent); }
a:hover { color: #143D54; }
h1 { margin: 0; font-size: 26px; font-weight: 600; }
h2 { margin: 0; font-size: 15px; font-weight: 600; }
.mono { font-family: var(--mono); }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }

.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.nav { flex: 1 1 220px; background: var(--nav); color: #E9F0F4; padding: 24px 16px; display: flex; flex-direction: column; gap: 28px; }
.nav__eyebrow { font-size: 12px; color: var(--nav-muted); letter-spacing: .04em; }
.nav__ship { width: 100%; background: var(--nav-2); color: #fff; border: 0; border-radius: 8px; padding: 10px 12px; font: 600 16px var(--font); min-height: 44px; }
.nav__links { display: flex; flex-direction: column; gap: 2px; }
.nav__link { color: var(--nav-ink); border-radius: 8px; padding: 11px 12px; text-decoration: none; }
.nav__link:hover { color: #fff; background: var(--nav-2); }
.nav__link[aria-current="page"] { color: #fff; background: var(--nav-active); font-weight: 500; }
.nav__link[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.nav__group { display: block; margin: 14px 12px 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.nav__link--main { font-weight: 600; color: #fff; }
.nav__link--sub { padding: 8px 12px 8px 24px; font-size: 15px; }
.nav__foot { margin-top: auto; font-size: 13px; color: var(--nav-muted); }
.nav__extra { margin-top: auto; display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
.nav__extra + .nav__foot { margin-top: 0; }
.nav__version { display: block; font-size: 11px; opacity: .7; margin-top: 4px; }
.env-banner { background: repeating-linear-gradient(-45deg, #FFF4D6, #FFF4D6 12px, #FFEBB5 12px, #FFEBB5 24px); color: #5C4300; border: 1px solid #F0D58A; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.env-banner a { color: inherit; }
@media (min-width: 821px) {
    /* Menu blijft staan bij scrollen, zodat account en instellingen onderaan altijd in beeld zijn. */
    .nav { position: sticky; top: 0; height: 100vh; overflow-y: auto; align-self: flex-start; }
}
.nav__group--small { margin: 0 12px 4px; font-size: 11px; color: var(--nav-muted); }
.nav__link--small { padding: 5px 12px; font-size: 13px; min-height: 32px; color: var(--nav-muted); }
.nav__link--small[aria-current="page"] { color: #fff; }
.nav__foot button { background: none; border: 0; color: var(--nav-ink); padding: 8px 0; font: inherit; cursor: pointer; text-decoration: underline; min-height: 44px; }
.main { flex: 999 1 560px; min-width: 0; padding: 28px 32px 40px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 700px) { .main { padding: 20px 16px 32px; } }

.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--between { justify-content: space-between; }
.cols { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.col-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-side { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }

[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.eyebrow { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--field); background: var(--surface); color: var(--ink); font: 500 14px var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: #9AA4AC; color: var(--ink); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--primary:hover { background: #174862; color: #fff; }
.btn--icon { width: 44px; padding: 0; }
.btn--danger { color: var(--danger); border-color: #E0B9A0; }

.badge { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
/* Statuskleuren gelijk aan de kalender: optie = oranje, verstuurd = paars, geboekt = rood, afgerond/betaald = groen */
.badge--booked { background: var(--c-booked, #D64545); color: #fff; }
.badge--sent { background: var(--c-sent, #7B4FBF); color: #fff; }
.badge--tentative { background: color-mix(in srgb, var(--c-option, #F08C00) 20%, #fff); color: color-mix(in srgb, var(--c-option, #F08C00) 55%, #000); }
.badge--paid { background: color-mix(in srgb, var(--c-free, #2E9E5B) 16%, #fff); color: color-mix(in srgb, var(--c-free, #2E9E5B) 60%, #000); }
.badge--neutral { background: #EEF1F3; color: var(--ink-2); font-weight: 500; }

.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.input { min-height: 44px; border: 1px solid var(--field); border-radius: 8px; padding: 0 12px; font: 500 15px var(--font); color: var(--ink); background: #fff; width: 100%; }
.input:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid #8CB8CE; outline-offset: 1px; }
.error { color: var(--danger); font-size: 13px; }
.flash { background: var(--accent-soft); color: var(--accent); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.flash--warn { background: var(--warn-bg); color: var(--warn-ink); }

/* Kalender */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; overflow-x: auto; }
.cal__inner { min-width: 620px; }
.cal__head, .cal__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 4px; }
.cal__head { font-size: 12px; color: var(--ink-3); padding-bottom: 8px; }
.cal__week { row-gap: 4px; border-top: 1px solid var(--line-2); padding: 6px 0 10px; }
.cal__day { font-size: 13px; font-weight: 600; grid-row: 1; color: var(--ink); text-decoration: none; justify-self: start; padding: 0 4px; border-radius: 4px; }
.cal__day:hover { background: var(--accent-soft); color: var(--accent); }
.cal__day--out { color: #9AA4AC; font-weight: 400; }
.cal__day--today { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cal__bar { display: block; border-radius: 6px; padding: 0 8px; font-size: 12px; line-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; border: 1px solid transparent; }
.cal__bar--booked { background: var(--accent); color: #fff; }
.cal__bar--booked:hover { background: #174862; color: #fff; }
.cal__bar--tentative { background: var(--warn-bg); color: var(--warn-ink); border: 1px dashed var(--warn-line); }
.cal__bar--tentative:hover { color: var(--warn-ink); background: #F8DCBC; }
.cal__bar--blocked { background: repeating-linear-gradient(135deg, #E3E7EA 0 6px, #F1F3F5 6px 12px); color: #45515B; }
.cal__bar--cont-before { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.cal__bar--cont-after { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }

/* Tabellen */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; color: var(--ink-3); font-size: 12px; font-weight: 500; padding: 8px; }
table.data td { padding: 11px 8px; border-top: 1px solid var(--line-2); vertical-align: top; }
table.data .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
table.data tr.total td { border-top: 1px solid var(--ink); font-weight: 600; }

/* Tijdlijn */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); gap: 8px; }
.timeline li { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.timeline .bar { height: 6px; border-radius: 3px; background: var(--line); }
.timeline .done .bar { background: var(--accent); }
.timeline .open .bar { background: var(--warn-line); }

/* Inlogschermen */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth__card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.auth__brand { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.qr svg { width: 200px; height: 200px; }
.codes { font-family: var(--mono); background: var(--ground); border-radius: 8px; padding: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; font-size: 14px; }
pre.log { white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }

/* Nieuwe offerte: stappen, tegels, actiebalk, keuze. */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; counter-reset: step; }
.steps__item { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; }
.steps__number { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--field); font-size: 13px; font-weight: 600; background: var(--surface); }
.steps__item.is-current { color: var(--ink); font-weight: 600; }
.steps__item.is-current .steps__number { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.steps__item.is-done .steps__number { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 8px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 12px 42px; border: 1px solid var(--field); border-radius: 10px; background: var(--surface); cursor: pointer; min-height: 64px; }
.tile input { position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; margin: 0; }
.tile:hover { border-color: var(--accent); }
.tile:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); background: #F7FAFB; }
.tile__title { font-weight: 600; }
.tile__sub { font-size: 13px; color: var(--ink-2); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.input--big { font-size: 20px; font-weight: 600; min-height: 48px; }
.actionbar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 -4px 16px rgba(20, 32, 43, .08); }
.actionbar--top { position: static; box-shadow: none; }
.actionbar__info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.choice__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin-top: 6px; }
.choice__option { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--field); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--surface); min-height: 88px; }
.choice__option strong { font-size: 17px; color: var(--accent); }
.choice__option:hover { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }

/* Live overzicht catering */
table.overview tr.overview__head th { padding: 14px 8px 4px; color: var(--ink); font-size: 13px; font-weight: 600; }
table.overview tr.overview__grand td { font-size: 16px; }

/* Klant zoeken en "bedoel je…?" */
.btn--link { background: none; border: 0; padding: 0; min-height: 0; color: var(--link, inherit); text-decoration: underline; cursor: pointer; font: inherit; }
.customer-search { position: relative; display: flex; flex-direction: column; gap: 6px; }
.suggest { list-style: none; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); display: flex; flex-direction: column; gap: 2px; max-height: 340px; overflow: auto; }
.suggest li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; }
.suggest li:hover { background: var(--line-2); }
.suggest-box { display: flex; flex-direction: column; gap: 8px; background: var(--warn-bg); color: var(--warn-ink); }
.suggest-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid rgba(0,0,0,.08); }

/* Tabs met bedragen (betalingen) */
.tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; }
.tab { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; }
.tab[aria-current="page"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tab strong { font-size: 18px; }

/* Agenten: beschikbaarheid per schip per dag en zoekresultaten */
.agrid { border-collapse: separate; border-spacing: 2px; font-size: 12px; min-width: 760px; }
.agrid th { font-weight: 500; color: var(--ink-2, #45515B); text-align: center; padding: 2px; }
.agrid tbody th { text-align: left; white-space: nowrap; padding-right: 10px; }
.agrid td { width: 22px; height: 26px; border-radius: 3px; }
.agrid__we { color: var(--accent, #1F5A7A); }
.agrid--free { background: #fff; border: 1px solid #C9D3D9; cursor: pointer; }
.agrid td.agrid--free:hover { background: #E4F1E8; }
.agrid--option { background: #FBE7CF; border: 1px dashed #D9A35F; }
.agrid--booked { background: var(--accent, #1F5A7A); }
.agrid--blocked { background: repeating-linear-gradient(135deg, #D5DBDF 0 3px, #F1F3F5 3px 6px); }
i.swatch.agrid--free { border: 1px solid #C9D3D9; }
.agent-result { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line-2, #E3E8EB); border-radius: 8px; margin-top: 8px; opacity: .75; }
.agent-result--ok { opacity: 1; border-color: #9CC7AA; }
.agent-result > div:first-child { flex: 1 1 280px; }
.agent-result__price { display: flex; flex-direction: column; align-items: flex-end; min-width: 140px; }
.agent-result__actions { display: flex; gap: 8px; }

/* Schipper: komende tochten in de agenda, groot en aan te tikken */
.skipper-trip { gap: 6px; }
.skipper-trip__title { font-weight: 600; font-size: 17px; text-decoration: none; color: var(--ink); }
.skipper-trip--next { border: 2px solid var(--accent, #1F5A7A); }
.skipper-trip .btn { justify-content: center; }

/* Periodekiezer: hele tochten aanklikken */
.cal__bar--free { background: #E3F2E8; color: #1E5B34; border: 1px solid #9CC7AA; cursor: pointer; font: inherit; font-size: 12px; text-align: left; }
button.cal__bar--free:hover { background: #CDE8D6; }
.cal__bar--past { background: #F1F3F5; color: #9AA4AC; }
.cal__bar--picked { outline: 3px solid var(--accent, #1F5A7A); outline-offset: 1px; font-weight: 700; }
i.swatch.cal__bar--free { display: inline-block; }
.picker .cal__week { min-height: 0; }

/* Agendakleuren (per gebruiker in te stellen): vrij, optie, contract verstuurd, geboekt */
.cal__bar--free { background: color-mix(in srgb, var(--c-free) 16%, #fff); color: color-mix(in srgb, var(--c-free) 65%, #000); border: 1px solid var(--c-free); }
button.cal__bar--free:hover { background: color-mix(in srgb, var(--c-free) 30%, #fff); }
.cal__bar--tentative, .cal__bar--tentative:hover { background: color-mix(in srgb, var(--c-option) 22%, #fff); color: color-mix(in srgb, var(--c-option) 55%, #000); border: 1px dashed var(--c-option); }
.cal__bar--sent, .cal__bar--sent:hover { background: var(--c-sent); color: #fff; }
.cal__bar--booked, .cal__bar--booked:hover { background: var(--c-booked); color: #fff; }
.swatch--free { background: color-mix(in srgb, var(--c-free) 16%, #fff); border: 1px solid var(--c-free); }
.swatch--option { background: color-mix(in srgb, var(--c-option) 22%, #fff); border: 1px dashed var(--c-option); }
.swatch--sent { background: var(--c-sent); }
.swatch--booked { background: var(--c-booked); }
.swatch--blocked { background: repeating-linear-gradient(135deg, #D5DBDF 0 3px, #F1F3F5 3px 6px); }
.agrid--free { background: color-mix(in srgb, var(--c-free) 16%, #fff); border: 1px solid var(--c-free); }
.agrid td.agrid--free:hover { background: color-mix(in srgb, var(--c-free) 32%, #fff); }
.agrid--option { background: color-mix(in srgb, var(--c-option) 25%, #fff); border: 1px dashed var(--c-option); }
.agrid--sent { background: var(--c-sent); }
.agrid--booked { background: var(--c-booked); }

/* Periodekiezer compact: balkjes liggen over de datums, het dagnummer klein linksboven */
.picker .cal__day { grid-row: 1; font-size: 10px; font-weight: 600; align-self: start; padding: 1px 4px; z-index: 0; pointer-events: none; }
.picker .cal__bar { align-self: end; height: 24px; line-height: 22px; margin-bottom: 2px; z-index: 1; position: relative; }
.picker .cal__week { gap: 0 2px; }

/* Offerteformulier: keuzes links, kalender in het midden, prijs rechts; smaller scherm onder elkaar */
.offer-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(380px, 1.25fr) minmax(260px, .9fr); gap: 20px; align-items: start; }
.offer-grid__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.offer-grid__price { position: sticky; top: 16px; }
.offer-grid .tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 1280px) { .offer-grid { grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.2fr); } .offer-grid__price { grid-column: 1 / -1; position: static; } }
@media (max-width: 820px) { .offer-grid { grid-template-columns: 1fr; } }

.agent-group { margin: 14px 0 4px; padding-left: 8px; border-left: 4px solid var(--line-2, #ccc); }
.agent-group--free { border-color: var(--c-free); }
.agent-group--option { border-color: var(--c-option); }
.agent-group--sent { border-color: var(--c-sent); }
.agent-group--booked { border-color: var(--c-booked); }
.picker .cal__inner { min-width: 0; }
.picker .cal__bar { padding: 0 6px; font-size: 11px; }
@media (max-width: 520px) { .picker .cal__bar { font-size: 10px; padding: 0 3px; } .picker .cal__head span { font-size: 11px; } }

/* Telefoon: menu inklappen, formulier in een logische volgorde (arrangement, kalender, extra's, prijs) */
.nav__toggle { display: none; }
@media (max-width: 700px) {
    .nav { flex-basis: 100%; padding: 12px 16px; gap: 10px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .nav__toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 8px; font: inherit; cursor: pointer; }
    .nav__links, .nav__extra, .nav__foot { display: none; flex-basis: 100%; }
    .nav--open .nav__links, .nav--open .nav__extra, .nav--open .nav__foot { display: flex; }
    .nav--open .nav__foot { display: block; }
}
@media (max-width: 820px) {
    .offer-grid { display: flex; flex-direction: column; }
    .offer-grid__col { display: contents; }
    .offer-grid section[aria-labelledby="h-arr"] { order: 1; }
    .offer-grid section[aria-labelledby="h-pick"] { order: 2; }
    .offer-grid section[aria-labelledby="h-extras"] { order: 3; }
    .offer-grid section[aria-labelledby="h-price"] { order: 4; }
}

/* Agent: links de zoekopties, rechts een compacte kalender, daaronder de schepen */
.agent-top { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 20px; align-items: start; }
.agent-top > .card { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .agent-top { grid-template-columns: 1fr; } }
.picker--small { --picker-row: 38px; }
.picker--small .cal__bar { height: 20px; font-size: 11px; }
.picker--small .cal__day { font-size: 10px; }
.picker--small .cal__head span { font-size: 11px; }

/* Prijsblok: de tocht onder elkaar */
.calc-facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; font-size: 14px; }
.calc-facts dt { color: var(--ink-3); }
.calc-facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.calc-spacer td { height: 14px; padding: 0 !important; border: 0 !important; }
/* Filters boven een lijst */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: inherit; text-decoration: none; font-size: 14px; }
.chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip[aria-current="page"] .muted { color: rgba(255,255,255,.8); }

/* ---------- Telefoon (update 34) ---------- */
@media (max-width: 700px) {
    /* Compacte bovenbalk: alleen schip en menuknop */
    .nav__eyebrow { display: none; }
    .nav > div:first-child { flex: 1 1 auto; min-width: 0; }
    .nav__ship { min-height: 40px; padding: 8px 10px; font-size: 15px; }
    .nav { padding: 8px 12px; }

    /* Maandkalender: alle 7 dagen in beeld */
    .cal { padding: 8px; }
    .cal__inner { min-width: 0; }
    .cal__head, .cal__week { column-gap: 2px; }
    .cal__head { font-size: 11px; }
    .cal__day { font-size: 11px; padding: 0 2px; }
    .cal__bar { font-size: 10px; line-height: 22px; padding: 0 4px; border-radius: 4px; }

    /* Tabellen met class data--cards worden kaartjes */
    table.data--cards { min-width: 0 !important; }
    table.data--cards thead { display: none; }
    table.data--cards, table.data--cards tbody { display: block; }
    table.data--cards tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
    table.data--cards tr:first-child { border-top: 0; }
    table.data--cards td { display: block; grid-column: 1 / -1; padding: 0; border: 0; white-space: normal !important; text-align: left; }
    table.data--cards td.num { text-align: left; font-family: var(--font); }
    table.data--cards td[data-label]::before { content: attr(data-label) " "; color: var(--ink-3); font-size: 12px; }
    table.data--cards td.cell-head { grid-column: 1; font-weight: 600; }
    table.data--cards td.cell-side { grid-column: 2; grid-row: 1; justify-self: end; }
    table.data--cards td.cell-hide { display: none; }

    /* Vaste actiebalk onderaan het offerteformulier compacter */
    .actionbar { padding: 8px 12px; gap: 8px; }
}
.btn--small { min-height: 34px; padding: 0 10px; font-size: 13px; }

/* ---------- Vandaag, zoeken, tellers (update 34) ---------- */
.nav__search input { width: 100%; min-height: 40px; border: 0; border-radius: 8px; padding: 0 12px; background: rgba(255,255,255,.1); color: #fff; font: inherit; margin-bottom: 8px; }
.nav__search input::placeholder { color: var(--nav-muted); }
.nav__count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--c-option, #E8A33D); color: #1b1b1b; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.count { display: inline-flex; min-width: 22px; height: 22px; padding: 0 7px; margin-left: 6px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-size: 13px; align-items: center; justify-content: center; vertical-align: 2px; }
.today-search .input { max-width: 560px; }
.today-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .today-grid { grid-template-columns: minmax(0, 1fr); } }
.todo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.todo:first-of-type { border-top: 0; }
.todo--urgent strong::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-booked, #D64545); margin-right: 8px; vertical-align: 2px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2, #F4F6F8); }
.stat__label { font-size: 12px; color: var(--ink-3); }
.stat__value { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* Jaarkalender (seizoensoverzicht) */
.year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 18px 20px; }
.year-month { display: flex; flex-direction: column; gap: 6px; }
.year-month__title { font-weight: 600; color: var(--ink); text-decoration: none; }
.year-month__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.year-month__wd { font-size: 10px; color: var(--ink-3); text-align: center; }
.yd { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; height: 24px; border-radius: 4px; background: #F1F3F5; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.yd--booked { background: var(--c-booked); color: #fff; }
.yd--sent { background: var(--c-sent); color: #fff; }
.yd--tentative { background: color-mix(in srgb, var(--c-option) 30%, #fff); color: color-mix(in srgb, var(--c-option) 55%, #000); }
.yd--blocked { background: repeating-linear-gradient(135deg, #D9DEE2 0 4px, #EEF1F3 4px 8px); color: #45515B; }
.year-legend { display: inline-flex; flex-wrap: wrap; gap: 6px 12px; }
.year-legend span { display: inline-flex; align-items: center; gap: 4px; }
.year-legend .yd { width: 14px; height: 14px; }
.nav__logo { display: flex; align-items: center; justify-content: flex-start; background: #fff; border-radius: 8px; padding: 8px 10px; margin-bottom: 4px; }
@media (max-width: 700px) { .nav__logo { display: none; } }
