/* ROUTANA - SHIP-PORTAL (2026-10-30). "there is not continuity ... look like
   3 different sites" / "the customer portal will need a redesign".

   The booking path and the customer side in the FRONT PAGE'S look. Loaded
   only through portal_v2/_look_head.html, after portal.css, book.css,
   polish.css and the website's own site.css + landing.css, so it re-points
   their tokens and nothing else has to change:
   - the dark landing page (--ink), its type (Archivo, Instrument Serif),
     its green (--green = the shop's colour, website/landing/_accent.html);
   - the shared header and footer come from the website's includes, so the
     orange band and the floating white card are switched off here;
   - polish.css's motion and button feel stay as they are (lift, sink, light
     sweep, loading); only their colours move to the green;
   - READABILITY FIRST, outdoors on a phone: body type 16-18 px, inputs 18 px,
     every quiet line at least #b9c7bf on the dark (about 9:1), no thin grey.
   No words, fields, ids or data hooks live here. */

/* ── 1. the tokens portal.css / book.css / polish.css read ────────────── */
:root {
  --bg: var(--ink);
  --surface: var(--ink-2);
  --surface2: var(--ink-3);
  --surface-hover: #18211c;
  --border: rgba(var(--line-rgb), .2);
  --text-dark: var(--text);
  --text-muted: #c2cec7;
  --muted: #c2cec7;
  --muted-strong: #dbe4df;

  --brand-accent: var(--green);
  --primary: var(--green);
  --primary-hover: var(--green-hi);
  --orange: var(--green);
  --orange-text: var(--green);
  --orange-hover: var(--green-hi);
  --orange-light: rgba(var(--accent-rgb), .12);
  --orange-border: rgba(var(--accent-rgb), .45);

  /* portal.css's own "selected" green becomes the one green */
  --green-hover: var(--green);
  --green-text: var(--green-hi);
  --green-light: rgba(var(--accent-rgb), .14);
  --green-border: rgba(var(--accent-rgb), .55);

  --pol-hairline: var(--line);
  --pol-edge: rgba(var(--line-rgb), .32);
  --pol-shadow-1: 0 1px 2px rgba(var(--shadow-rgb), .4);
  --pol-shadow-2: 0 1px 2px rgba(var(--shadow-rgb), .4), 0 12px 28px -14px rgba(var(--shadow-rgb), .7);
  --pol-shadow-3: 0 2px 6px rgba(var(--shadow-rgb), .4), 0 24px 60px -24px rgba(var(--shadow-rgb), .8);
  --pol-fill: var(--green);
  --pol-fill-hover: var(--green-hi);
  --pol-glow: rgba(var(--accent-rgb), .55);
  --pol-ring: rgba(var(--accent-rgb), .3);
  --pol-tint: rgba(var(--accent-rgb), .08);
  --pol-sel: var(--green);
  --pol-sel-ring: rgba(var(--accent-rgb), .25);

  --p2-deep: var(--green-deep);
  --p2-rich: var(--green);
  --p2-canvas: var(--ink);
  --p2-card-shadow: none;
  --p2-btn-light:
    linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, transparent 50%),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .14) 100%);

  --ol-quiet: #c2cec7;           /* the quietest line allowed on the dark */
  --ol-field: #0d1310;           /* an input's own fill, a step under the page */
  /* THEMEC (2026-11-04): the last fixed colours as tokens, at the dark values they always had */
  --ol-err-text: #fecaca;        /* an error's words on its red wash */
  --ol-wait-text: #dff5e5;       /* the main button's words while it waits for her */
  --ol-ok-text: #d9f7e1;         /* a saved / success line */
  --ol-placeholder: #8d9c94;
  --ol-empty: #090c0a;           /* a calendar day with nothing to pick */
  --ol-stage-hi: #18221c;        /* the stage a car picture sits on */
  --ol-stage-lo: #080b09;
  --ol-x-border: #f0a0a0;        /* Remove, on hover */
  --ol-x-text: #f6c1c1;
  --ol-green-text: var(--green-hi);
}

/* ── 2. the page: dark, the landing type, no band, no white card ──────── */
html, body { background: var(--ink); color: var(--text); }
body { font-family: var(--f-sans); font-size: 17px; line-height: 1.55; }
body::before { content: none; display: none; }
.portal-wrap {
  max-width: 620px; margin: 0 auto; min-height: 0;
  padding-top: calc(34px + var(--nav-h) + 8px);
  background: transparent; -webkit-user-select: auto; user-select: auto;
}
.portal-wrap input, .portal-wrap select, .portal-wrap textarea, .portal-wrap button { font-family: var(--f-sans); }
@media (min-width: 1024px) { .portal-wrap { max-width: 680px; } }

/* the old shop line + Sign In become the progress road only (the shared
   header carries the shop and My bookings) */
.top-bar { padding: 14px 20px 30px; background: transparent; border: 0; box-shadow: none; }
.top-bar > .logo, .top-bar > .sign-in { display: none !important; }
body[data-step=""] .top-bar, body[data-step="closed"] .top-bar,
body[data-step="success"] .top-bar { display: none; }
body[data-step] .top-bar::after {
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), .55), var(--green)) no-repeat 0 0 / calc(var(--p2-p, 0) * 100%) 100%,
    repeating-linear-gradient(90deg, rgba(var(--line-rgb), .22) 0 7px, transparent 7px 13px);
}
body[data-step] .top-bar::before {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .3), 0 2px 8px rgba(var(--shadow-rgb), .6);
}
@keyframes p2-gps {
  0%   { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6), 0 2px 8px rgba(var(--shadow-rgb), .6); }
  70%, 100% { box-shadow: 0 0 0 14px transparent, 0 2px 8px rgba(var(--shadow-rgb), .6); }
}

.screen {
  margin: 0; padding: 8px 20px calc(var(--p2-dock-h, 76px) + 40px + env(safe-area-inset-bottom, 0px));
  background: transparent; border-radius: 0; box-shadow: none;
}
.screen::after { display: none !important; }
body[data-step="success"] .screen, body[data-step="closed"] .screen, body[data-step="details"] .screen { padding-bottom: 48px; }
body[data-step="success"] .portal-wrap, body[data-step="closed"] .portal-wrap, body[data-step=""] .portal-wrap { padding-top: calc(34px + var(--nav-h) + 28px); }

/* the website's phone Call / Book bar steps aside: every screen here has
   its own docked main button */
.dock { display: none !important; }
/* the header reads as it does on an inner page once you scroll */
.nav { background: rgba(var(--ink-rgb), .84); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.foot { margin-top: 24px; }

/* ── 3. type: the landing headings, big readable body ─────────────────── */
.step-heading h2, .success-title, .closed-card h1, .otp-title, .screen h1, .screen h2 {
  font-family: var(--f-sans); font-weight: 650; font-stretch: 112%;
  color: var(--text); letter-spacing: -.02em; line-height: 1.08;
}
.step-heading h2 { font-size: clamp(2rem, 7.4vw, 2.6rem); margin-bottom: 10px; }
.step-heading p, .success-sub, .otp-sub, .form-hint, .win-hint, .answer-copy, .ik-banner,
.closed-card p, .cart-sub, .needby-row label {
  color: var(--ol-quiet); font-size: 1.02rem; line-height: 1.55;
}
.form-hint { font-size: .95rem; }
.form-label, .ik-label, .needby-row label {
  color: var(--text); font-size: .82rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
}
.needby-req { color: var(--green-txt); }
strong, b { color: var(--text); }
a { color: var(--green-txt); }
.ik-text-link, .rblk-ed, .otp-resend button, .addr-edit-btn, .btn-book-again { color: var(--green-txt); }

/* ── 4. inputs: big, high contrast, a clear green focus ───────────────── */
.form-input, .needby-row input, .note-mini-box, .pin-box, .otp-digit, select.form-input, select.form-input:read-only {
  background-color: var(--ol-field); color: var(--text);
  border: 1.5px solid rgba(var(--line-rgb), .3); box-shadow: none;
  font-size: 18px;
}
.form-input, .needby-row input { min-height: 56px; border-radius: 14px; }
.form-input::placeholder, .note-mini-box::placeholder { color: var(--ol-placeholder); opacity: 1; }
.form-input:read-only:not(select) { background-color: var(--ink-3); color: var(--muted-strong); }
@media (hover: hover) {
  .form-input:hover:not(:focus):not(:read-only), .needby-row input:hover:not(:focus) { border-color: rgba(var(--line-rgb), .5); }
}
.form-input:focus, .form-input:focus-visible, .needby-row input:focus, .note-mini-box:focus,
.otp-digit:focus, .otp-digit:focus-visible, .pin-box:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .28);
}
:root:not([data-theme="light"]) select.form-input { color-scheme: dark; }
:root:not([data-theme="light"]) .needby-row input { color-scheme: dark; }
.otp-digit { font-size: 26px; font-weight: 700; }
.otp-digit[placeholder]:not(:placeholder-shown):not(:focus):not(.error) { border-color: var(--green); background-color: rgba(var(--accent-rgb), .1); }
.otp-phone-display { color: var(--text); font-size: 1.3rem; }

/* the address list: a dark panel that pushes the buttons down (566bbb2) */
.addr-dropdown { background: var(--ink-3); border: 1.5px solid rgba(var(--line-rgb), .3); box-shadow: 0 18px 40px -16px rgba(var(--shadow-rgb), .8); }
.addr-item { color: var(--text); font-size: 1rem; border-color: var(--line); }
.addr-item:hover, .addr-item.active, .addr-item[aria-selected="true"] { background: rgba(var(--accent-rgb), .14); color: var(--text); }
.addr-item small, .addr-item .addr-sub, .addr-sec { color: var(--ol-quiet); }

/* ── 5. the main button: the landing's green with polish.css's feel ───── */
.ik-primary, .sticky-go {
  background-color: var(--green); color: var(--green-ink);
  font-weight: 700; font-size: 1.08rem; letter-spacing: -.005em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 34px -12px rgba(var(--accent-rgb), .6);
}
@media (hover: hover) {
  .ik-primary:hover:not(:disabled), .sticky-go:hover:not(:disabled) {
    background-color: var(--green-hi); color: var(--green-ink);
    box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .18), inset 0 1px 0 rgba(255, 255, 255, .4), 0 14px 44px -10px rgba(var(--accent-rgb), .75);  /* ledger 368 + 370: the glow ring, green */
  }
}
.ik-primary:active:not(:disabled), .sticky-go:active:not(:disabled) { color: var(--green-ink); transform: scale(.98); }
.ik-primary:focus-visible, .sticky-go:focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--green); }
/* waiting for her: still green, quieter - never a dead slab */
.ik-primary:disabled:not(.loading), .sticky-go:disabled {
  background-color: rgba(var(--accent-rgb), .22); background-image: none;
  color: var(--ol-wait-text); box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .55);
}
.ik-primary.loading, .ik-primary.loading:disabled { background-color: var(--green); }
.ik-ghost, .ik-ghost[id^="ik-back-"] {
  background: rgba(var(--ink-rgb), .35); color: var(--text);
  border: 1.5px solid rgba(var(--line-rgb), .3); box-shadow: none;
}
@media (hover: hover) { .ik-ghost:hover:not(:disabled) { border-color: rgba(var(--accent-rgb), .6); background: rgba(var(--accent-rgb), .1); color: var(--text); } }

/* the dock under the thumb: frosted dark, not white */
.wizard-step > .ik-actions, .ik-actions:has(> #ik-bookit), body[data-step="details"] form .ik-actions,
.wizard-step > .sticky-bar {
  background: rgba(var(--ink-rgb), .86); border-color: var(--line);
  box-shadow: 0 -12px 34px -12px rgba(var(--shadow-rgb), .8);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.sticky-sum, .wizard-step > .sticky-bar { color: var(--text); }

/* ── 6. choices: chips, cards, quick buttons, pay pick ────────────────── */
.chip, .opt-card, .ik-addon-row, .rebook-vcheck, .access-opt, .pay-pick-btn, .quick-btn {
  background: var(--ink-2); color: var(--text);
  border: 1.5px solid rgba(var(--line-rgb), .24); box-shadow: none;
}
.chip small, .opt-card small, .ik-addon-row small { color: var(--ol-quiet); }
@media (hover: hover) {
  .chip:hover, .opt-card:hover, .ik-addon-row:hover, .access-opt:hover, .pay-pick-btn:hover, .quick-btn:hover:not(:disabled) {
    border-color: rgba(var(--accent-rgb), .6); background: rgba(var(--accent-rgb), .07);
  }
}
.chip.selected, .opt-card.selected, .access-opt.selected, .pay-pick-btn.on, .quick-btn.on,
.ik-addon-row:has(input:checked), .rebook-vcheck:has(input:checked) {
  background: rgba(var(--accent-rgb), .16); border-color: var(--green); color: var(--text);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18);
}
.quick-btn { font-size: .98rem; }

/* cards: vehicle cards, review blocks, the pin card */
.vcard, .rblk, .pin-confirm, .cart-total, .value-hero, .ik-banner, .pin-graphic {
  background: var(--ink-2); color: var(--text);
  border: 1px solid var(--line-2); box-shadow: none;
}
.rblk-h, .rblk-title, .vcard-sub, .vcard .muted { color: var(--ol-quiet); }
.kv, .kv span { color: var(--text); }
.cart-total, .total-row { color: var(--text); }

/* errors stay loud and readable on the dark */
.wizard-step .otp-error:not(:empty), .otp-error.ik-error:not(:empty), #otp-error:not(:empty) {
  background: rgba(239, 68, 68, .14); color: var(--ol-err-text); border-color: rgba(239, 68, 68, .5);
}

/* ── 7. the time grid ─────────────────────────────────────────────────── */
.win-grid {
  background: var(--ink-2); border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line-2), 0 14px 30px -20px rgba(var(--shadow-rgb), .8);
}
.win-head, .win-head > div { background: var(--ink-3); color: var(--muted-strong); font-size: .85rem; font-weight: 650; letter-spacing: .14em; }
.win-row, .win-row > div { border-color: var(--line); }
.win-day { color: var(--text); }
.win-day-dow { color: var(--text); font-size: 1.08rem; font-weight: 700; }
.win-day-date { color: var(--ol-quiet); font-size: .98rem; }
.win-cell { min-height: 60px; font-size: 1.05rem; color: var(--text); background: var(--ink-2); }
.win-cell:not(.on):not(.closed) { color: var(--muted-strong); }
.win-cell.on { background: rgba(var(--accent-rgb), .16); color: var(--text); }
.win-cell.on .tick { color: var(--green-txt); }
/* RULE 4 - look busy, casino invisible (SHIP-PORTAL item 2, PROPOSED).
   A half that does not suit the van is a quiet blank: no box, no strike, no
   grey text, nothing to tap. A day with both halves gone is not drawn at all
   (book.js hides its row). The cell stays in the page so nothing it sends
   changes. */
.win-cell.closed {
  background: var(--ink-2) !important; color: transparent !important;
  text-decoration: none !important; box-shadow: none !important;
  cursor: default; pointer-events: none;
}
.win-cell.closed > * { visibility: hidden; }
.win-row[hidden] { display: none !important; }

/* ── 8. the booked page and the details page ──────────────────────────── */
.success-wrap { color: var(--text); }
.success-sub, .success-wrap p { color: var(--muted-strong); font-size: 1.08rem; }
.success-ref-label { color: var(--ol-quiet); }
.success-ref { color: var(--text); }
.success-icon { background: var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 18px 40px -16px rgba(var(--accent-rgb), .5); }
.btn-ics, .addv, .btn-book-again {
  background: var(--ink-2); color: var(--text); border: 1.5px solid rgba(var(--line-rgb), .3); box-shadow: none;
}
@media (hover: hover) { .btn-ics:hover, .addv:hover { border-color: var(--green); background: rgba(var(--accent-rgb), .1); } }

/* ── 9. the closed page ───────────────────────────────────────────────── */
.closed-card { background: var(--ink-2); border: 1px solid var(--line-2); color: var(--text); box-shadow: none; }
.closed-call { background: var(--green); color: var(--green-ink); }

/* ── 10. phones ───────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .portal-wrap { padding-top: calc(34px + var(--nav-h) + 2px); }
}

@media (prefers-reduced-motion: reduce) {
  .win-cell, .ik-primary, .chip { transition: none; }
}

/* ── 11. the footer clears the docked button on phones ────────────────── */
@media (max-width: 1023px) {
  body[data-step] .foot { padding-bottom: calc(var(--p2-dock-h, 76px) + 36px + env(safe-area-inset-bottom, 0px)); }
  body[data-step="success"] .foot, body[data-step="closed"] .foot, body[data-step=""] .foot { padding-bottom: 24px; }
}

/* ── 12. fixes from the first walk ────────────────────────────────────── */
/* the review's small print and the answer lines: readable, not faint */
.answer-copy, .rblk .answer-copy, .rblk .muted, .rblk small, .rblk p { color: var(--muted-strong) !important; font-size: 1rem; }
/* the booked seal sits fully under the header */
body[data-step="success"] .screen { padding-top: 76px; }
.success-icon { background: var(--ink); }
.success-tick circle { fill: var(--green); }
.success-tick path { stroke: var(--green-ink); }
/* quick buttons fit one line on a 390 phone */
@media (max-width: 420px) { .quick-row { flex-wrap: wrap; } .quick-btn { flex: 1 1 30%; font-size: .9rem; padding-left: 8px; padding-right: 8px; } }  /* ledger 369: five buttons wrap to two rows on a phone */

/* the sign-in pages (legacy door + its code screen) use the older button bar */
.bottom-nav {
  background: rgba(var(--ink-rgb), .9); border-top: 1px solid var(--line); box-shadow: 0 -12px 34px -12px rgba(var(--shadow-rgb), .8);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  padding-left: 20px; padding-right: 20px;
}
.btn-back, .av-back { color: var(--text); background: var(--ink-2); border: 1.5px solid rgba(var(--line-rgb), .3); border-radius: 14px; min-height: 52px; padding: 0 20px; font-size: 1rem; }
.v2-vehicle-remove { font-size: .95rem; }
.btn-next {
  min-height: 56px; padding: 0 28px; border-radius: 14px; font-size: 1.08rem; font-weight: 700;
  background: var(--green); color: var(--green-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 34px -12px rgba(var(--accent-rgb), .6);
  transition: transform 160ms var(--ease), box-shadow 220ms var(--ease), background-color .2s;
}
.btn-next:hover:not(:disabled) { background: var(--green-hi); transform: translateY(-1px); }
.btn-next:active:not(:disabled) { transform: scale(.98); }
.btn-next:disabled { opacity: 1; background: rgba(var(--accent-rgb), .22); color: var(--ol-wait-text); box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .55); }
.btn-back { color: var(--text); }
.banner, .banner-red { color: var(--ol-err-text); background: rgba(239, 68, 68, .14); border-color: rgba(239, 68, 68, .5); }
.form-group { margin-bottom: 18px; }

/* ── 13. the customer side (/my2/) ────────────────────────────────────── */
.acct-topbar { padding: 6px 20px 8px; }
.acct-greeting { color: var(--text); font-size: 1.15rem; font-weight: 700; }
.acct-logout { color: var(--muted-strong); border-color: rgba(var(--line-rgb), .28); font-size: .9rem; }
.acct-tabs { border-bottom-color: var(--line-2); padding: 0 20px; }  /* LIGHTFIX: same left edge as the greeting and the body */
.acct-tab { color: var(--muted-strong); font-size: .86rem; letter-spacing: .1em; }
.acct-tab:hover { color: var(--text); }
.acct-tab.active { color: var(--text); border-bottom-color: var(--green); }
.acct-body { padding: 0 20px 48px; }
.acct-page-title {
  font-family: var(--f-sans); font-weight: 650; font-stretch: 112%; letter-spacing: -.02em; line-height: 1.08;
  font-size: clamp(2rem, 7.4vw, 2.6rem); color: var(--text); margin: 10px 0 8px;
}
.acct-page-sub { color: var(--ol-quiet); font-size: 1.02rem; }
.acct-sec-title { color: var(--green-txt); font-size: .8rem; letter-spacing: .22em; font-weight: 600; margin: 30px 0 12px; }
.acct-card, .acct-booking-card, .v2-vehicle-card, .ev-card, .av-confirm-card {
  background: var(--ink-2); border: 1px solid var(--line-2); color: var(--text); box-shadow: none;
}
.acct-booking-date { color: var(--text); font-size: 1.08rem; }
.acct-booking-ref { color: var(--ol-quiet); }
.acct-booking-meta, .acct-line-sub, .v2-vehicle-sub, .ev-hint, .acct-empty-hint { color: var(--ol-quiet); font-size: .95rem; }
.acct-line { border-color: var(--line); }
.acct-line-name, .acct-line-price { color: var(--text); font-size: 1rem; }
.acct-badge { font-size: .74rem; padding: 5px 10px; }
.acct-badge-orange { background: rgba(var(--accent-rgb), .16); color: var(--ol-green-text); }
.acct-badge-green { background: rgba(var(--accent-rgb), .16); color: var(--ol-green-text); }
.acct-badge-muted { background: rgba(var(--line-rgb), .1); color: var(--muted-strong); }
.acct-badge-red { background: rgba(239, 68, 68, .16); color: var(--ol-err-text); }

/* her next booking: the big card, the one main action */
.acct-next {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 0% 0%, rgba(var(--accent-rgb), .16), transparent 70%), var(--ink-2);
  border: 1px solid rgba(var(--accent-rgb), .45); border-radius: var(--r);
  padding: 22px 20px 20px;
}
.acct-next-day { font-size: clamp(2rem, 8.4vw, 2.7rem); font-weight: 700; font-stretch: 110%; letter-spacing: -.02em; color: var(--text); }
.acct-next-half { color: var(--green-txt); font-size: 1.3rem; font-weight: 700; }
.acct-next-addr { color: var(--text); font-size: 1.08rem; }
.acct-next-total { color: var(--muted-strong); font-size: 1.02rem; border-top-color: var(--line-2); }
.acct-next-total strong { color: var(--text); font-size: 1.7rem; }
.acct-myv-row { color: var(--text); border-top-color: var(--line); font-size: 1.02rem; }
.acct-myv-go { color: var(--green-txt); }
@media (hover: hover) { .acct-myv-row:hover { background: rgba(var(--accent-rgb), .07); } }

/* the buttons: the landing's green main button; the quiet ones outlined */
.acct-btn { border-radius: 14px; font-weight: 700; transition: transform 160ms var(--ease), box-shadow 220ms var(--ease), background-color .2s, border-color .2s; }
.acct-btn-primary {
  min-height: 56px; font-size: 1.08rem; background: var(--green); color: var(--green-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 34px -12px rgba(var(--accent-rgb), .6);
}
.acct-btn-primary:hover { background: var(--green-hi); color: var(--green-ink); transform: translateY(-1px); }
.acct-btn-primary:active { transform: scale(.98); }
.acct-btn-outline { color: var(--text); border: 1.5px solid rgba(var(--line-rgb), .3); background: transparent; }
.acct-btn-outline:hover { border-color: var(--green); background: rgba(var(--accent-rgb), .1); }
.acct-btn-sm { font-size: .95rem; }

/* the season card: one of the page's quiet cards, not a coloured slab */
.acct-seasonal, .acct-seasonal--fall, .acct-seasonal--spring {
  background: var(--ink-2) !important; border: 1px solid var(--line-2); color: var(--text); box-shadow: none;
}
.acct-seasonal-title { color: var(--text); }
.acct-seasonal-sub { color: var(--ol-quiet); }
.acct-seasonal-cta, .acct-seasonal--fall .acct-seasonal-cta, .acct-seasonal--spring .acct-seasonal-cta {
  background: transparent; color: var(--text) !important; border: 1.5px solid rgba(var(--line-rgb), .3); box-shadow: none;
}

/* forms on Profile / add / edit vehicle */
.acct-label, .ev-label { color: var(--text); font-size: .82rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.acct-input, .ev-input, .av-input {
  min-height: 56px; font-size: 18px; color: var(--text); background: var(--ol-field);
  border: 1.5px solid rgba(var(--line-rgb), .3); border-radius: 14px;
}
:root:not([data-theme="light"]) :is(.acct-input, .ev-input, .av-input) { color-scheme: dark; }
.acct-input:focus, .ev-input:focus, .av-input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .28); outline: none; }
.acct-input:disabled { background: var(--ink-3); color: var(--muted-strong); }
.acct-alert-success { background: rgba(var(--accent-rgb), .14); color: var(--ol-ok-text); border-color: rgba(var(--accent-rgb), .5); }
.acct-alert-error { background: rgba(239, 68, 68, .14); color: var(--ol-err-text); border-color: rgba(239, 68, 68, .5); }
.v2-vehicle-name, .ev-name, .av-confirm-name { color: var(--text); }
.v2-vehicle-remove { color: var(--text); border-color: rgba(var(--line-rgb), .3); background: transparent; }
.v2-modal { background: var(--ink-2); color: var(--text); border: 1px solid var(--line-2); }
.v2-modal-body { color: var(--muted-strong); }

/* ── 14. the returning page: the dock's second button sits on its own fill */
.ik-actions .ik-ghost, .wizard-step > .ik-actions .ik-ghost { background-color: var(--ink-2); }
.cart-total { border-radius: 16px; padding: 14px 16px; }

/* ── 15. leftovers from the older sheets' fixed colours ───────────────── */
:root { --brand: var(--green); }                       /* book_welcome.html's own link colour */
body .addr-edit-btn { color: var(--green-txt); font-size: 1rem; }
.chip-rim { background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .5); color: var(--ol-green-text); }
.chip-rim.off { background: rgba(var(--line-rgb), .08); border-color: rgba(var(--line-rgb), .35); color: var(--text); }
.portal-wrap { border-left: 0 !important; border-right: 0 !important; box-shadow: none !important; }
.closed-card { border-radius: var(--r); padding: 28px 20px 24px; }

/* ── 16. phones: on a short step the footer starts below the first screen,
   so it never shows half-hidden behind the docked button ─────────────── */
@media (max-width: 1023px) {
  body[data-step="phone"] .portal-wrap, body[data-step="area"] .portal-wrap, body[data-step="info"] .portal-wrap,
  body[data-step="vehicle"] .portal-wrap, body[data-step="cart"] .portal-wrap, body[data-step="when"] .portal-wrap,
  body[data-step="review"] .portal-wrap, body[data-step="otp"] .portal-wrap, body[data-step="welcome"] .portal-wrap, body[data-step="details"] .portal-wrap {
    min-height: 100vh; min-height: 100svh;
  }
}

/* ── 17. the details page's summary card and the saved banner ─────────── */
.summary-card { background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 16px; }
.summary-row { border-color: var(--line) !important; }
.sr-label { color: var(--ol-quiet); }
.sr-value { color: var(--text); }
.banner-green { background: rgba(var(--accent-rgb), .14); color: var(--ol-ok-text); border-color: rgba(var(--accent-rgb), .5); }

/* ── 18. SHIP-VERIFY 2026-10-30, faults found walking it as a customer ── */
/* step 1: the header already says the shop's name; the card under it said it again */
.value-hero.value-hero--name { display: none; }
/* "What kind of vehicle is it?" sat right on top of the Type label */
#ik-type-fallback-hint { margin-bottom: 14px; }
/* the cart: the price always on its own line under the car, on every card
   (a long name pushed it under the photo, a short one left it beside the name) */
#ik-cart-rows .vcard-price { flex-basis: 100%; }
/* the house line drawings are white-backed: held back the way the cart holds them, not a white box */
.v2-vehicle-img img[src*="-outline"] { opacity: .45; border-radius: 10px; }
/* the season card in plain sentence case, like every other line */
.acct-seasonal-title, .acct-seasonal-sub { text-transform: none; }
/* "Don't know your exact vehicle? Pick a type instead." sat on top of the Colour label */
#ik-skip-ymm:not(.hidden) { display: inline-block; margin: 2px 0 16px; }
/* the review card's half reads like the rest of the page ("Morning", not "morning") */
#ik-review-blocks .kv > span + span { text-transform: capitalize; }
/* the returning page's dock has two rows: the footer's last line hid behind it */
@media (max-width: 1023px) {
  body[data-step="welcome"] .foot { padding-bottom: calc(var(--p2-dock-h, 76px) + 120px + env(safe-area-inset-bottom, 0px)); }
}
/* the season card on a phone: the text gets the full row, the button goes under it */
@media (max-width: 520px) {
  .acct-seasonal { flex-wrap: wrap; }
  .acct-seasonal-body { flex: 1 1 calc(100% - 60px); }
  .acct-seasonal-cta { flex: 1 1 100%; justify-content: center; }
}

/* ── 19. SHIP-WALK1 2026-10-30, his first walk of his own booking page ── */

/* item 1 + 3: the one drop-down (make, model, colour). A tap opens the whole
   list in the page's own type and colours; the current pick is lit. */
.ik-pick { position: relative; }
.ik-triple--ymm { position: relative; }
.ik-triple--ymm .ik-pick { position: static; }      /* the list spans the whole year / make / model row */
.ik-pick-input {
  padding-right: 40px; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23dbe4df' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.ik-pick.is-open .ik-pick-input { border-color: var(--green); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .25); }
/* the arrow and the field's own fill stay on focus and on a pick-only (read-only) field */
.form-input.ik-pick-input, .form-input.ik-pick-input:focus, .form-input.ik-pick-input:read-only {
  background-color: var(--ol-field); color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23dbe4df' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
@media (hover: hover) { .form-input.ik-pick-input:read-only:hover:not(:focus) { border-color: rgba(var(--line-rgb), .5); } }
/* an open list sits above everything after it on the step */
.ik-pick.is-open, .ik-triple--ymm:has(.ik-pick.is-open) { z-index: 80; position: relative; }
.ik-triple--ymm .ik-pick.is-open { position: static; }
.ik-pick-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60;
  max-height: min(320px, 52vh); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 6px;
  box-shadow: 0 2px 6px rgba(var(--shadow-rgb), .5), 0 24px 60px -18px rgba(var(--shadow-rgb), .9);
}
.ik-pick-list.hidden { display: none; }
.ik-pick-opt {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px;
  border-radius: 10px; font-family: var(--f-sans); font-size: 1.05rem; color: var(--text); cursor: pointer;
}
.ik-pick-opt.is-hi { background: rgba(var(--accent-rgb), .16); }
@media (hover: hover) { .ik-pick-opt:hover { background: rgba(var(--accent-rgb), .12); } }
.ik-pick-opt.is-current { color: var(--ol-green-text); font-weight: 700; }
.ik-pick-opt.is-current::after { content: "\2713"; margin-left: auto; color: var(--green-txt); }
.ik-pick-type { color: var(--muted-strong); font-weight: 600; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 4px; }
#ik-color-other { margin-top: 10px; }
/* the colour list: a small paint swatch before each name ("Other" has none) */
#ik-color-list .ik-pick-opt[data-value]::before {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(var(--line-rgb), .35); background: transparent;
}
#ik-color-list .ik-pick-opt[data-value="Other"]::before { border-style: dashed; }
#ik-color-list .ik-pick-opt[data-value="White"]::before { background: #f4f4f2; }
#ik-color-list .ik-pick-opt[data-value="Black"]::before { background: #111; }
#ik-color-list .ik-pick-opt[data-value="Silver"]::before { background: #c4c8cc; }
#ik-color-list .ik-pick-opt[data-value="Grey"]::before { background: #7b8086; }
#ik-color-list .ik-pick-opt[data-value="Blue"]::before { background: #2f5fb3; }
#ik-color-list .ik-pick-opt[data-value="Red"]::before { background: #c8312b; }
#ik-color-list .ik-pick-opt[data-value="Burgundy"]::before { background: #6e1f2c; }
#ik-color-list .ik-pick-opt[data-value="Green"]::before { background: #2f7a45; }
#ik-color-list .ik-pick-opt[data-value="Brown"]::before { background: #6b4a2f; }
#ik-color-list .ik-pick-opt[data-value="Beige"]::before { background: #d8c7a3; }
#ik-color-list .ik-pick-opt[data-value="Gold"]::before { background: #c9a54a; }
#ik-color-list .ik-pick-opt[data-value="Orange"]::before { background: #e07a26; }
#ik-color-list .ik-pick-opt[data-value="Yellow"]::before { background: #e8c933; }
#ik-color-list .ik-pick-opt[data-value="Purple"]::before { background: #6b3fa0; }
#ik-color-other.hidden { display: none; }

/* item 4: Value / Premium - each answer's two short lines */
#ik-care-row .chip small { display: block; line-height: 1.4; }

/* item 5: the vehicle card - the picture is the hero */
.vcard.vcard--hero { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.vcard-stage {
  position: relative; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 95% at 50% 35%, var(--ol-stage-hi) 0%, var(--ink-2) 55%, var(--ol-stage-lo) 100%);
  border-bottom: 1px solid var(--line);
}
.vcard--hero .vcard-photo { width: 100%; height: 100%; object-fit: contain; padding: 8px 14px; border-radius: 0; }
/* no picture yet: the house outline, drawn light on the dark stage (it is a
   black line on white, so it is inverted and its white is dropped) */
.vcard--hero .vcard-photo.is-outline { filter: invert(1); mix-blend-mode: screen; opacity: .6; padding: 9% 12%; }
.vcard-body { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 18px 18px; min-width: 0; }
.vcard--hero .vcard-name { font-size: 1.32rem; font-weight: 750; line-height: 1.2; letter-spacing: -.01em; }
.vcard-colour { font-size: 1rem; color: var(--muted-strong); }
.vcard--hero .vcard-meta { font-size: .98rem; color: var(--ol-quiet); margin-top: 2px; }
.vcard--hero .chip-rim { margin-top: 8px; }
.vcard--hero .vcard-addons { align-self: stretch; margin-top: 6px; }
.vcard--hero .vcard-addon-row { font-size: .98rem; color: var(--muted-strong); }
.vcard--hero .vcard-price { font-size: 1.55rem; font-weight: 750; margin-top: 10px; letter-spacing: -.01em; flex-basis: auto; }
.vcard--hero .vcard-x {
  position: static; width: auto; height: auto; min-height: 44px; margin-top: 12px; padding: 8px 18px;
  border: 1px solid rgba(var(--line-rgb), .3); border-radius: 12px; background: transparent;
  color: var(--text); font-family: var(--f-sans); font-size: .98rem; font-weight: 650;
}
@media (hover: hover) { .vcard--hero .vcard-x:hover { border-color: var(--ol-x-border); color: var(--ol-x-text); background: rgba(240, 90, 90, .1); } }
@media (min-width: 700px) {
  .vcard.vcard--hero { flex-direction: row; align-items: stretch; }
  .vcard-stage { flex: 0 0 248px; width: 248px; aspect-ratio: 1 / 1; border-bottom: 0; border-right: 1px solid var(--line); }
  .vcard-body { flex: 1 1 auto; justify-content: center; padding: 20px 22px; }
  .vcard--hero .vcard-photo.is-outline { padding: 6% 5%; }
}
.rblk-cards .vcard { margin: 10px 0 0; }

/* item 7: the confirm page's subtotal, tax and total */
#ik-review-total { display: block; }
#ik-review-total .tax-row, #ik-review-total .tax-total { display: flex; justify-content: space-between; gap: 12px; }
#ik-review-total .tax-row { font-weight: 600; font-size: 1rem; color: var(--muted-strong); padding: 2px 0; }
#ik-review-total .tax-row + .tax-total { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.success-total {
  display: flex; justify-content: space-between; gap: 12px; max-width: 420px; margin: 18px auto 4px;
  padding: 14px 18px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line-2);
  font-size: 1.05rem; font-weight: 750; color: var(--text);
}
.success-total span:first-child { font-weight: 600; color: var(--muted-strong); }

/* item 6: the week calendar (book.js buildCalendar moves the day rows in) */
.win-grid.is-cal { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.win-grid.is-cal > .win-head { display: none; }
.cal { display: flex; flex-direction: column; gap: 6px; }
.cal-month {
  font-family: var(--f-sans); font-weight: 650; font-stretch: 112%; font-size: 1.2rem;
  color: var(--text); letter-spacing: -.01em; margin: 12px 2px 2px;
}
.cal-month:first-child { margin-top: 0; }
.cal-head, .cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: .8rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-strong); padding: 2px 0; }
.win-grid .cal .win-row, .cal-empty {
  display: flex; flex-direction: column; gap: 5px; min-height: 128px; padding: 6px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2);
}
.cal-empty, .win-grid .cal .win-row[hidden] { background: var(--ol-empty); border-color: rgba(var(--line-rgb), .07); }
/* a day the engine does not open keeps its date and has no boxes */
.win-grid .cal .win-row[hidden] { display: flex !important; }
.win-grid .cal .win-row[hidden] .win-cell { display: none; }
.cal .win-day { display: block; padding: 0; background: none; border: 0; }
.cal .win-day-dow, .cal .win-day-date {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.cal .cal-num { display: block; font-size: 1.15rem; font-weight: 750; line-height: 1.15; color: var(--text); padding: 2px 4px 4px; }
.win-grid .cal .win-row[hidden] .cal-num { font-weight: 600; color: var(--ol-quiet); }
.cal .cal-mon { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ol-green-text); line-height: 1.1; }
.cal .win-cell {
  flex: 1 1 0; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 0 2px; border: 1px solid var(--line); border-radius: 9px;
  font-size: .92rem; font-weight: 700; white-space: nowrap;
}
.cal .win-cell.closed { border-color: transparent; }
@media (max-width: 560px) {
  .cal-head, .cal-week { gap: 4px; }
  .win-grid .cal .win-row, .cal-empty { min-height: 98px; padding: 4px 3px; gap: 4px; border-radius: 10px; }
  .cal .cal-num { font-size: 1.08rem; text-align: center; padding: 2px 0 2px; }
  .cal .win-cell { min-height: 32px; font-size: .74rem; border-radius: 7px; padding: 0; }
  .cal .win-cell .tick { display: none; }
  /* SHIP-POLISH3: a clock label longer than '12-8' ('9:30-12', or the word when a half
     has no hours) steps down in size and, as the last resort, is cut with an ellipsis -
     it never spills past the box's border. Words-only: no label text changes. */
  .cal .win-cell[data-long] { overflow: hidden; }
  .cal .win-cell[data-long] .cell-txt { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: .56rem; letter-spacing: -.02em; }
  .cal .win-cell[data-long="2"] .cell-txt { font-size: .5rem; letter-spacing: -.03em; }
  .cal-dow { font-size: .68rem; letter-spacing: .04em; }
}

/* item 5 on the customer side: My vehicles and Book again draw the car the
   way the cart does - the dark stage, the outline light on it, a bigger
   picture - never a grey or white box */
.v2-vehicle-img { background: radial-gradient(120% 95% at 50% 35%, var(--ol-stage-hi) 0%, var(--ink-2) 55%, var(--ol-stage-lo) 100%) !important; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.v2-vehicle-img img.is-outline, .v2-vehicle-img img[src*="-outline"] { filter: invert(1); mix-blend-mode: screen; opacity: .6; border-radius: 0; background: transparent; }
.rebook-vcheck .vcard-photo {
  /* WALKFIX 2026-11-06 (ledger 392): was 132 x 92 - "i cant even see it"; now the cart's 248 square */
  width: 248px; height: 248px; flex-shrink: 0; padding: 8px 14px; border-radius: 12px; object-fit: contain;
  background: radial-gradient(120% 95% at 50% 35%, var(--ol-stage-hi) 0%, var(--ink-2) 55%, var(--ol-stage-lo) 100%); border: 1px solid var(--line);
}
.rebook-vcheck .vcard-photo.is-outline { filter: invert(1); mix-blend-mode: screen; opacity: .7; background: none; border-color: transparent; }
@media (max-width: 560px) {
  .rebook-vcheck:not(.new) { flex-wrap: wrap; }
  .rebook-vcheck:not(.new) .vcard-photo { flex: 1 1 calc(100% - 32px); width: auto; height: auto; aspect-ratio: 16 / 9; }
  .rebook-vcheck:not(.new) .rv-body { flex: 1 1 100%; padding-left: 30px; }
}

/* ── 20. SHIP-LEFT 2026-10-30 ─────────────────────────────────────────── */
/* item 2: My vehicles add / edit - the vehicle's outline drawn light on the
   dark page (it is a black line on white), as on My vehicles' list. */
.av-confirm-img img[src*="-outline"], .ev-img img[src*="-outline"] {
  filter: invert(1); mix-blend-mode: screen; opacity: .6;
}

/* ── BOOKCAL (2026-10-31, ledger 226/227) ─────────────────────────────────
   1. THE YEAR BOX. Year is a native <select>; Make, Model and Colour are text
   boxes with our own arrow. iOS Safari and desktop Chrome draw a native
   select their own way (smaller, another font, their own arrow), and an older
   rule set the year to 16px against the others' 18px. One rule for all of
   them, by rule not by eye: no native look (appearance: none), the same
   height, line-height, font family / size / weight, padding, border width,
   radius and the same drawn arrow; 18px also keeps iOS from zooming in (it
   zooms on anything under 16px). Equal columns, each box 100% of its column.
   Border COLOUR and the focus ring stay with the rules above. */
.ik-triple.ik-triple--ymm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* By id so no older rule can out-rank it (portal.css's phone rule set typed
   boxes to 16px with a heavier selector than the year's; polish.css set the
   year alone to 16px on desktop). */
#ik-year.form-input, #ik-make.form-input, #ik-model.form-input, #ik-color.form-input, #ik-color-other.form-input {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  box-sizing: border-box; width: 100%; min-width: 0; margin: 0;
  height: 56px; min-height: 56px; line-height: 1.25;
  font-family: var(--f-sans); font-size: 18px; font-weight: 400; letter-spacing: normal;
  padding: 0 34px 0 14px; border-width: 1.5px; border-style: solid; border-radius: 14px;
  background-color: var(--ol-field); color: var(--text);
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23dbe4df' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
}
#ik-color-other.form-input { padding-right: 14px; background-image: none; }
#ik-year.form-input::-ms-expand { display: none; }
/* phones: 16px like every other box on the phone page (and iOS never zooms at 16px) */
@media (max-width: 640px) {
  #ik-year.form-input, #ik-make.form-input, #ik-model.form-input, #ik-color.form-input, #ik-color-other.form-input { font-size: 16px; }
}
@media (max-width: 420px) {
  #ik-year.form-input, #ik-make.form-input, #ik-model.form-input, #ik-color.form-input {
    padding-left: 10px; padding-right: 26px; background-position: right 9px center;
  }
}

/* 2. THE WEEKLY CALENDAR: one week per screen (book.js buildCalendar), with
   Previous week / Next week, three boxes a day (Morning / Afternoon /
   Evening). Desktop: Monday to Sunday as columns, the three boxes stacked.
   Phone: the week as seven rows, the day on the left, the three boxes across. */
.cal.is-weekly { gap: 8px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.cal-title {
  flex: 1 1 auto; text-align: center; font-family: var(--f-sans); font-weight: 650; font-stretch: 112%;
  font-size: 1.15rem; color: var(--text); letter-spacing: -.01em;
}
.cal-step {
  flex: 0 0 auto; min-height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--ink-2); color: var(--text);
  font-family: var(--f-sans); font-size: .95rem; font-weight: 650; cursor: pointer;
}
.cal-step:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { .cal-step:not(:disabled):hover { border-color: var(--green); } }
.cal-step:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .28); }
.cal-week[hidden] { display: none !important; }
.cal.is-weekly .win-row, .cal.is-weekly .cal-empty { min-height: 0; }
.cal .cal-wd { display: none; }
.cal-empty .cal-num { color: var(--ol-quiet); font-weight: 600; }
.cal.is-weekly .cal-empty { min-height: 60px; }
@media (max-width: 560px) {
  /* the week's name on its own line, the two buttons side by side under it */
  .cal-nav { flex-wrap: wrap; row-gap: 6px; }
  .cal-title { order: -1; flex: 1 1 100%; font-size: 1.1rem; white-space: nowrap; }
  .cal-step { flex: 1 1 0; padding: 0 10px; font-size: .95rem; }
  .cal.is-weekly .cal-head { display: none; }
  .cal.is-weekly .cal-week { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cal.is-weekly .win-row, .cal.is-weekly .cal-empty,
  .win-grid .cal.is-weekly .win-row[hidden] {
    flex-direction: row; align-items: stretch; gap: 6px; min-height: 52px; padding: 5px; border-radius: 12px;
  }
  .cal.is-weekly .win-day { flex: 0 0 60px; display: flex; flex-direction: column; justify-content: center; }
  .cal.is-weekly .cal-num { text-align: left; padding: 0 4px; font-size: 1.1rem; }
  .cal.is-weekly .cal-wd { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-strong); line-height: 1.1; }
  .cal.is-weekly .cal-empty .cal-num { display: flex; flex-direction: column; justify-content: center; }
  .cal.is-weekly .win-cell { flex: 1 1 0; min-height: 44px; font-size: .95rem; border-radius: 9px; }
  .cal.is-weekly .win-cell .tick { display: inline; }   /* room for the tick on a phone row: on / off is not colour alone */
  .cal.is-weekly .win-cell[data-long] .cell-txt { font-size: .8rem; }
  .cal.is-weekly .win-cell[data-long="2"] .cell-txt { font-size: .7rem; }
  .cal.is-weekly .win-day .wx { font-size: .72rem; line-height: 1.15; }  /* the weather stays, under the date */
}

/* TICKS (2026-11-05, his rules 16 + 17): the tick calendar.
   - "Any day works": one button above the grid, as wide as its words.
   - the "N windows picked" line rides the Continue / Yes row, under the main
     button (the row is a grid: the main button's row, then this line, then
     a real alternative like "Change something").
   - 2-hour slots: up to six boxes a day. Desktop: stacked in the day's
     column, a little shorter. Phone: the day on the left, the boxes in rows
     of three beside it. */
.quick-row[data-week] { justify-content: flex-start; }
.quick-row[data-week] .quick-btn { flex: 0 1 auto; padding-left: 22px; padding-right: 22px; }
.ik-actions > .tick-count {
  grid-column: 1 / -1; grid-row: 2; margin: 0; text-align: center;
  font-size: .9rem; font-weight: 650; color: var(--muted-strong); min-height: 0;
}
.ik-actions > .tick-count:empty { display: none; }
.ik-actions:has(> .tick-count:not(:empty)) > .ik-ghost:not([id^="ik-back-"]) { grid-row: 3; }
.win-grid[data-two-hour] .cal .win-cell { min-height: 38px; }
@media (max-width: 560px) {
  .win-grid[data-two-hour] .cal.is-weekly .win-row:not([hidden]) {
    display: grid !important; grid-template-columns: 60px repeat(3, minmax(0, 1fr)); align-items: stretch;
  }
  .win-grid[data-two-hour] .cal.is-weekly .win-row[hidden] { display: flex !important; }
  .win-grid[data-two-hour] .cal.is-weekly .win-row > .win-day { grid-row: span 2; }
  .win-grid[data-two-hour] .cal.is-weekly .win-cell { min-height: 40px; font-size: .9rem; }
  .win-grid[data-two-hour] .cal.is-weekly .win-cell .tick { display: inline; }   /* ticked is never colour alone */
  .win-grid[data-two-hour] .cal.is-weekly .win-cell[data-long] .cell-txt { font-size: inherit; letter-spacing: 0; }   /* '10–12' as big as '8–10' */
}

/* CALPORT B13 (2026-11-01): an add-on line (Premium...) sits under its car on
   My bookings, a little in, its own name only - never read as a second car. */
.acct-line--addon { border-top: 0; padding-top: 0; }
.acct-line--addon .acct-line-name { padding-left: 14px; }

/* ── THEMEC (2026-11-04): LIGHT MODE ──────────────────────────────────────
   The booking path and the customer side on paper (SHIP-THEME-CONTRACT.md
   section 3). site.css's light block already turns the page, the header,
   the footer and every var(--ink / --text / --line) here to paper; this
   block re-points this file's own tokens and carries the few twins a token
   cannot. Dark is untouched: every rule below starts [data-theme="light"]. */
[data-theme="light"] {
  --surface-hover: #eef3ef;
  --border: rgba(6, 8, 7, .16);
  --text-muted: #4a544e;
  --muted: #4a544e;
  --muted-strong: #2e3732;
  --orange-text: var(--green-txt);
  --green-text: var(--green-txt);
  --pol-edge: rgba(6, 8, 7, .24);
  --pol-shadow-1: 0 1px 2px rgba(20, 34, 26, .08);
  --pol-shadow-2: 0 1px 2px rgba(20, 34, 26, .08), 0 12px 28px -16px rgba(20, 34, 26, .22);
  --pol-shadow-3: 0 2px 6px rgba(20, 34, 26, .1), 0 24px 60px -24px rgba(20, 34, 26, .28);
  --ol-quiet: #4a544e;
  --ol-field: #ffffff;
  --ol-err-text: #991b1b;
  --ol-wait-text: #1d5a2d;
  --ol-ok-text: #14532d;
  --ol-placeholder: #69726d;
  --ol-empty: #eaefeb;
  --ol-stage-hi: #ffffff;
  --ol-stage-lo: #e4eae6;
  --ol-x-border: #e5a3a3;
  --ol-x-text: #b91c1c;
  --ol-green-text: var(--green-txt);
}
/* inside the booking content, a card is white on the paper page and the
   "deeper" fill (read-only boxes, the calendar's head) is a pale green-grey */
[data-theme="light"] .portal-wrap, [data-theme="light"] .v2-modal { --ink-2: #ffffff; --ink-3: #f0f4f1; }
/* boxes you type in: an outline dark enough to find (3:1 on white) */
[data-theme="light"] :is(.form-input, .needby-row input, .note-mini-box, .pin-box, .otp-digit, select.form-input, .acct-input, .ev-input, .av-input, .addr-dropdown) { border-color: rgba(6, 8, 7, .46); }
@media (hover: hover) {
  [data-theme="light"] .form-input:hover:not(:focus):not(:read-only), [data-theme="light"] .needby-row input:hover:not(:focus),
  [data-theme="light"] .form-input.ik-pick-input:read-only:hover:not(:focus) { border-color: rgba(6, 8, 7, .64); }
}
[data-theme="light"] :is(.form-input, .needby-row input, .otp-digit, .acct-input, .ev-input, .av-input):focus { border-color: var(--green-deep); }
/* the drawn arrow on the drop-down boxes: dark on paper */
[data-theme="light"] .ik-pick-input,
[data-theme="light"] .form-input.ik-pick-input, [data-theme="light"] .form-input.ik-pick-input:focus, [data-theme="light"] .form-input.ik-pick-input:read-only,
[data-theme="light"] #ik-year.form-input, [data-theme="light"] #ik-make.form-input, [data-theme="light"] #ik-model.form-input, [data-theme="light"] #ik-color.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23333d37' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
[data-theme="light"] #ik-color-other.form-input { background-image: none; }
/* soft paper shadows instead of the night-time black ones */
[data-theme="light"] .wizard-step > .ik-actions, [data-theme="light"] .ik-actions:has(> #ik-bookit),
[data-theme="light"] body[data-step="details"] form .ik-actions, [data-theme="light"] .wizard-step > .sticky-bar,
[data-theme="light"] .bottom-nav { box-shadow: 0 -10px 30px -16px rgba(20, 34, 26, .3); }
[data-theme="light"] .addr-dropdown { box-shadow: 0 18px 40px -18px rgba(20, 34, 26, .3); }
[data-theme="light"] .ik-pick-list { box-shadow: 0 2px 6px rgba(20, 34, 26, .08), 0 24px 60px -20px rgba(20, 34, 26, .32); }
[data-theme="light"] .win-grid:not(.is-cal) { box-shadow: 0 0 0 1px var(--line-2), 0 14px 30px -24px rgba(20, 34, 26, .3); }
[data-theme="light"] .ik-primary, [data-theme="light"] .sticky-go, [data-theme="light"] .acct-btn-primary, [data-theme="light"] .btn-next {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 26px -14px rgba(var(--accent-rgb), .7);
}
[data-theme="light"] .ik-primary:focus-visible, [data-theme="light"] .sticky-go:focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--green-deep); }
[data-theme="light"] .ik-primary:disabled:not(.loading), [data-theme="light"] .sticky-go:disabled, [data-theme="light"] .btn-next:disabled {
  background-color: rgba(var(--accent-rgb), .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1.5px rgba(var(--accent-rgb), .6);
}
[data-theme="light"] .ik-ghost, [data-theme="light"] .ik-ghost[id^="ik-back-"] { background: #fff; }
[data-theme="light"] body[data-step] .top-bar::before { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25), 0 2px 6px rgba(20, 34, 26, .25); }
/* the green as a fill under dark words: the deeper half of the green */
[data-theme="light"] .win-cell.on { background: rgba(var(--accent-rgb), .2); }
[data-theme="light"] .acct-badge-muted { background: rgba(6, 8, 7, .07); }
[data-theme="light"] .acct-badge-red { background: rgba(239, 68, 68, .12); }
/* the house line drawings are black lines on white: on paper they stay as drawn (no invert), the white drops away */
[data-theme="light"] .vcard--hero .vcard-photo.is-outline, [data-theme="light"] .v2-vehicle-img img.is-outline,
[data-theme="light"] .v2-vehicle-img img[src*="-outline"], [data-theme="light"] .rebook-vcheck .vcard-photo.is-outline,
[data-theme="light"] .av-confirm-img img[src*="-outline"], [data-theme="light"] .ev-img img[src*="-outline"] {
  filter: none; mix-blend-mode: multiply; opacity: .5;
}
[data-theme="light"] .v2-vehicle-img img[src*="-outline"] { opacity: .5; }
/* LIGHTFIX 2026-11-05: in light mode the car sits in a plain white frame (the photos are white-backed), one hairline, no stage gradient */
[data-theme="light"] .v2-vehicle-img { background: #ffffff !important; border-color: var(--line-2); }
