/* Alquiler Rental Desk
   Follows the existing Alquiler admin analytics page (admin-analytics.html): warm white surfaces,
   thin rules, Archivo for headings and figures, IBM Plex Sans for text, IBM Plex Mono for codes,
   one ink colour for primary actions and small status chips. Nothing decorative.
   Mobile first: staff use it on their phones at the counter and on deliveries. */

:root {
  color-scheme: light;
  /* Tokens copied from admin-analytics.html */
  --bg: #f7f7f4;
  --surface: #fcfcfb;
  --surface-2: #f1f0ec;
  --raise: #ffffff;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --rule: rgba(11, 11, 11, 0.10);
  --s1: #2a78d6;
  --s2: #eb6834;
  --s3: #1baf7a;
  --good: #0ca30c;
  --warn: #fab219;
  --serious: #ec835a;
  --crit: #d03b3b;
  --track: #e8e7e1;
  --wa: #1fa855;
  --radius: 4px;
  --radius-s: 3px;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-h: 62px;
  --top-h: 54px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font: 400 15px/1.5 var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--s1); text-underline-offset: 2px; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.2; font-family: var(--font-head); }
h1 { font-size: clamp(21px, 5.2vw, 27px); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 14.5px; font-weight: 600; }
p { margin: 0 0 .75em; }
code { font: 500 .85em var(--font-mono); background: var(--surface-2); padding: 0 .3em; border-radius: 2px; }
small { font-size: .85em; }
:focus-visible { outline: 2px solid var(--s1); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--raise); padding: 8px 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.text-red { color: var(--crit); }
.pre { white-space: pre-line; }
.ico { flex: none; }
.mono { font-family: var(--font-mono); }
.tnum { font-variant-numeric: tabular-nums; }
.kv-label, .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  height: calc(var(--top-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 16px 0;
  background: var(--bg); color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 700 15px var(--font-head); letter-spacing: -.01em; white-space: nowrap; }
.brand__glyph { width: 24px; height: 24px; flex: none; border-radius: 4px; background: var(--ink); color: var(--surface); display: grid; place-items: center; font: 700 12px var(--font-head); }
.brand__sub { font: 600 13px var(--font-head); color: var(--ink-2); padding-left: 10px; border-left: 1px solid var(--rule); }
.topnav { display: none; gap: 2px; margin-left: 12px; }
.topnav a { color: var(--ink-2); text-decoration: none; padding: 7px 11px; border-radius: var(--radius); font: 600 14px var(--font-head); }
.topnav a:hover { background: var(--surface-2); color: var(--ink); }
.topnav a.is-on { background: var(--ink); color: var(--surface); }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--axis); }
.live--live i { background: var(--good); }
.live--polling i { background: var(--warn); }
.live--offline i { background: var(--crit); }
.live span { display: none; }
.icon-btn {
  display: inline-grid; place-items: center; position: relative;
  min-width: 40px; min-height: 40px; border: 1px solid transparent; background: transparent; color: inherit; border-radius: var(--radius); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }
.bell b {
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--crit); color: #fff; font: 700 10.5px/17px var(--font-head);
}
.who-chip { display: none; font: 600 13px var(--font-head); color: var(--ink); }
.who-chip small { margin-left: 6px; padding: 1px 6px; border-radius: 2px; background: var(--surface-2); border: 1px solid var(--rule); font: 500 11px var(--font-mono); color: var(--ink-2); }

.stale-bar {
  position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); z-index: 25; width: 100%;
  border: 0; border-bottom: 1px solid var(--rule); padding: 9px 16px; background: color-mix(in srgb, var(--warn) 22%, var(--raise));
  color: var(--ink); font: 600 13.5px var(--font); cursor: pointer;
}

/* ---------------------------------------------------------------- bottom nav (phones) */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--surface); border-top: 1px solid var(--rule);
}
.bottomnav a, .bottomnav button[data-menu] {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); text-decoration: none; font: 600 11px var(--font-head);
}
.bottomnav a.is-on { color: var(--ink); }
.bottomnav a.is-on::before { content: ''; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; background: var(--ink); }
.bottomnav .dot { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--crit); color: #fff; font: 700 10px/16px var(--font-head); }

/* ---------------------------------------------------------------- page layout */
main { outline: none; }
.page { max-width: 1120px; margin: 0 auto; padding: 20px 16px 36px; }
.page--narrow { max-width: 680px; }
.page--full { max-width: none; padding-bottom: 8px; }
.analytics-frame { display: block; width: 100%; min-height: 480px; border: 0; border-radius: 0; background: transparent; }
.page--staff { max-width: 720px; }
.page__head { margin-bottom: 14px; }
.page__head p, .lead { color: var(--ink-2); font-size: 14px; max-width: 70ch; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.page > section.stack, .page > .stack { margin-top: 22px; }
.row { display: flex; gap: 8px; align-items: center; }
.row--wrap { flex-wrap: wrap; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.list { display: grid; gap: 8px; }
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.split { display: grid; gap: 10px; }
.two-col { display: grid; gap: 16px; }
.form-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; color: var(--ink-2); text-decoration: none; font: 600 13.5px var(--font-head); min-height: 40px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------- cards and notices */
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 16px; margin-top: 14px; }
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }
.panel h3 + * { margin-top: 0; }
.panel h3:not(:first-child) { margin-top: 18px; }
.panel--quiet { background: transparent; }
.panel--alert { border-left: 3px solid var(--warn); }
.panel--error { border-left: 3px solid var(--crit); }
details.panel > summary { cursor: pointer; min-height: 30px; display: flex; align-items: center; gap: 6px; font: 600 14.5px var(--font-head); }
details.panel[open] > summary { margin-bottom: 10px; }
.notice { padding: 11px 14px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--s1); margin: 12px 0; font-size: 14px; color: var(--ink-2); }
.notice b { color: var(--ink); }
.notice p { margin: 4px 0 0; }
.notice--ok { border-left-color: var(--good); }
.notice--warn { border-left-color: var(--warn); }
.notice--error { border-left-color: var(--crit); }
.notice .actions { margin-top: 10px; }
.form-error { padding: 10px 12px; border-radius: var(--radius-s); background: color-mix(in srgb, var(--crit) 10%, var(--raise)); border: 1px solid color-mix(in srgb, var(--crit) 35%, transparent); color: var(--crit); font-weight: 600; font-size: 14px; }
.field-error { display: block; margin: 6px 0 0; color: var(--crit); font-weight: 600; font-size: 14px; }
[aria-invalid="true"] { border-color: var(--crit) !important; box-shadow: 0 0 0 1px var(--crit); }
.hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.empty { padding: 22px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--axis); border-radius: var(--radius-s); font-size: 13.5px; }
.empty__title { font: 600 14.5px var(--font-head); color: var(--ink); margin-bottom: 4px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 9px 16px; border-radius: var(--radius);
  border: 1px solid var(--rule); font: 600 14.5px/1.2 var(--font); text-decoration: none; cursor: pointer;
  background: var(--raise); color: var(--ink); -webkit-tap-highlight-color: transparent;
}
.btn:hover { border-color: var(--axis); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn[aria-busy=true] { position: relative; color: transparent !important; }
.btn[aria-busy=true]::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid var(--muted); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn--primary { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.btn--primary:hover { background: #2a2a28; border-color: #2a2a28; }
.btn--primary[aria-busy=true]::after { border-color: #fff; border-right-color: transparent; }
.btn--ghost { background: transparent; }
.btn--danger { background: var(--crit); border-color: var(--crit); color: #fff; }
.btn--danger:hover { background: #b83030; border-color: #b83030; }
.btn--danger[aria-busy=true]::after, .btn--blue[aria-busy=true]::after { border-color: #fff; border-right-color: transparent; }
.btn--blue { background: var(--s1); border-color: var(--s1); color: #fff; }
.btn--blue:hover { background: #2165b8; border-color: #2165b8; }
.btn--danger-ghost { background: transparent; border-color: color-mix(in srgb, var(--crit) 45%, transparent); color: var(--crit); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: #178c46; border-color: #178c46; }
.btn--lg { min-height: 50px; font-size: 15.5px; padding: 12px 20px; }
.btn--sm { min-height: 36px; padding: 5px 11px; font-size: 13.5px; }
.btn--block { width: 100%; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions--wrap { flex-wrap: wrap; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.action-grid .btn { justify-content: flex-start; text-align: left; font-size: 14px; }

/* ---------------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.field > span small, .field small { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: 400 15px/1.3 var(--font); color: var(--ink);
  min-height: 44px; padding: 9px 11px; width: 100%;
  border: 1px solid var(--axis); border-radius: var(--radius-s); background: var(--raise);
}
textarea { min-height: 68px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--s1); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--s1) 18%, transparent); }
input[readonly] { background: var(--surface-2); color: var(--ink-2); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; cursor: pointer; }
.check--big { padding: 11px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; padding: 0; }
.radios { display: grid; gap: 6px; }
.radio { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); cursor: pointer; font-size: 14px; }
.radio:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio small { color: var(--muted); display: block; }
.period__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.inline { display: flex; gap: 8px; align-items: center; }
.inline input { min-width: 0; }
.phone-in { display: grid; grid-template-columns: 132px 1fr; gap: 8px; }
.money-in { padding: 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); display: grid; gap: 8px; background: var(--raise); }
.money-in .row > * { flex: 1; }
.lines-edit { display: grid; gap: 8px; }
.line-row { display: grid; grid-template-columns: 1fr 96px 44px; gap: 6px; }
.line-row:not(:has([data-amt])) { grid-template-columns: 1fr 44px; }
/* A typed charge (damage, fuel, summons...): the kind on its own row above the description and amount. */
.line-row:has([data-type]) { grid-template-columns: 1fr 96px 44px; }
.line-row [data-type] { grid-column: 1 / -1; }
.chips-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-pick legend { width: 100%; }
.chips-pick label { position: relative; }
.chips-pick input { position: absolute; opacity: 0; }
.chips-pick span { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--raise); cursor: pointer; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.chips-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--surface); font-weight: 600; }
.chips-pick input:focus-visible + span { outline: 2px solid var(--s1); }
.fuel-pick__row { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.fuel-pick label { position: relative; }
.fuel-pick input { position: absolute; opacity: 0; }
.fuel-pick span { display: grid; place-items: center; height: 40px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); font: 600 13.5px var(--font-head); cursor: pointer; }
.fuel-pick input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.fuel-pick input:focus-visible + span { outline: 2px solid var(--s1); }
.switch { position: relative; display: inline-block; width: 40px; height: 24px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 12px; background: var(--axis); transition: background .15s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:disabled + span { opacity: .45; }
.switch input:focus-visible + span { outline: 2px solid var(--s1); }
.switch.is-changed span { box-shadow: 0 0 0 2px var(--warn); }
/* quantity stepper (extras: helmet, raincoat, gloves) */
.qty-list { display: grid; gap: 6px; }
.qty-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); }
.qty-row small { display: block; color: var(--muted); }
.qty { display: inline-grid; grid-template-columns: 40px 42px 40px; align-items: stretch; height: 40px; border: 1px solid var(--axis); border-radius: var(--radius); overflow: hidden; background: var(--raise); }
/* Each part is a box with its content centred both ways (the number used to sit on the text baseline, slightly high). */
.qty button, .qty output, .qty input { display: grid; place-items: center; width: auto; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.qty button { background: var(--surface-2); font: 500 20px/1 var(--font); cursor: pointer; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.qty button:active { background: var(--track); }
.qty output, .qty input { font: 600 15px/1 var(--font-head); background: var(--raise); color: var(--ink); border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }

/* ---------------------------------------------------------------- plates, chips, money */
.plate {
  display: inline-flex; align-items: center; padding: 1px 6px;
  font: 500 12px/1.5 var(--font-mono); letter-spacing: .03em; white-space: nowrap;
  color: var(--ink); background: var(--surface-2); border: 1px solid var(--rule); border-radius: 2px;
  vertical-align: middle;
}
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 2px; font: 600 10.5px/1.4 var(--font); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.pill--grey { background: var(--surface-2); color: var(--muted); }
.pill--amber { background: color-mix(in srgb, var(--warn) 26%, transparent); color: var(--ink); }
.pill--blue { background: color-mix(in srgb, var(--s1) 14%, transparent); color: #1d5ba6; }
.pill--green { background: color-mix(in srgb, var(--good) 15%, transparent); color: #0a7d0a; }
.pill--ink { background: var(--ink); color: var(--surface); }
.pill--red { background: color-mix(in srgb, var(--crit) 15%, transparent); color: var(--crit); }
.pill--strong.pill--red { background: var(--crit); color: #fff; }
.pill--orange { background: color-mix(in srgb, var(--serious) 24%, transparent); color: var(--ink); }
.pill--teal { background: color-mix(in srgb, var(--s3) 16%, transparent); color: #127a55; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 6px; border: 1px solid var(--rule); border-radius: 2px; font: 500 11.5px var(--font); color: var(--ink-2); background: var(--raise); white-space: nowrap; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.money--strong { font-weight: 700; }
.money--neg { color: var(--muted); }
.ref { font-family: var(--font-mono); font-weight: 500; letter-spacing: .01em; }

/* ---------------------------------------------------------------- customer pages */
.hero { border-bottom: 1px solid var(--rule); background: var(--bg); }
.hero__inner { max-width: 1120px; margin: 0 auto; padding: 28px 16px 24px; }
.hero__title { font: 700 clamp(25px, 6.5vw, 38px)/1.1 var(--font-head); letter-spacing: -.025em; max-width: 20ch; margin-bottom: 8px; }
.hero__lead { max-width: 56ch; color: var(--ink-2); font-size: 15px; }
.hero__form { margin-top: 16px; display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--rule); color: var(--ink); padding: 14px; border-radius: var(--radius-s); max-width: 760px; }
.period { display: grid; gap: 10px; }
.period__times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.period__times label { display: block; }
.period__sum { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Date range calendar (same idea as the current website's picker: one field, a month grid, a shaded range) */
.rc { position: relative; min-width: 0; }
.rc__field { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--axis); border-radius: var(--radius-s); background: var(--raise); font: 500 15px/1.3 var(--font); color: var(--ink); text-align: left; cursor: pointer; }
.rc__field svg { flex: none; color: var(--ink-2); }
.rc__text { flex: 1; min-width: 0; }
.rc__edit { flex: none; font: 600 13px var(--font-head); color: var(--s1); }
.rc__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 8px; }
.rc__top b { font: 600 15px var(--font-head); }
.rc__x { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-2); font-size: 24px; line-height: 1; border-radius: var(--radius-s); cursor: pointer; }
.rc__x:hover { background: var(--surface-2); }
.rc__slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.rc__slot { display: grid; gap: 1px; text-align: left; padding: 6px 10px; min-height: 48px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; }
.rc__slot small { font: 600 10.5px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.rc__slot b { font: 600 14px var(--font-head); font-variant-numeric: tabular-nums; }
.rc__slot.is-on { border-color: var(--s1); box-shadow: inset 0 0 0 1px var(--s1); background: var(--raise); }
.rc__times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); }
.rc__times label { display: block; }
.rc__sum { margin: 10px 2px 0; display: grid; gap: 2px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rc__sum b { font: 600 15px var(--font-head); color: var(--ink); }
.rc__sum small { font-size: 12.5px; color: var(--ink-2); }
.rc__sum.is-warn { color: var(--crit); font-weight: 600; }
.rc__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); background: var(--raise); }
.rc__foot [data-rc-ok] { min-width: 150px; }
.rc__back { display: none; }
@media (max-width: 560px) {
  /* On a phone the calendar is a sheet from the bottom, with the Confirm button always in view. */
  .rc--float .rc__pop { position: fixed; z-index: 71; top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; max-height: calc(100dvh - 16px); overflow-y: auto; overscroll-behavior: contain; border-radius: 12px 12px 0 0; padding: 12px 14px 0; box-shadow: 0 -8px 30px rgba(0, 0, 0, .18); margin: 0; }
  .rc--float .rc__back:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(11, 11, 11, .38); }
  .rc--float .rc__foot { position: sticky; bottom: 0; margin: 12px -14px 0; padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .rc--float .rc__foot [data-rc-ok] { flex: 1; }
  .rc--float .rc__day { height: 42px; }
  html.rc-lock, html.rc-lock body { overflow: hidden; }
}
.rc__field[aria-expanded="true"] { border-color: var(--s1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s1) 18%, transparent); }
.rc__pop { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: min(360px, calc(100vw - 32px)); background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); padding: 12px 10px 10px; }
.rc--inline .rc__pop, .sheet .rc__pop { position: static; width: 100%; max-width: 360px; box-shadow: none; margin-top: 6px; }
.rc__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 8px; }
.rc__head b { font: 600 15px var(--font-head); }
.rc__nav { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); border-radius: var(--radius-s); font-size: 20px; line-height: 1; cursor: pointer; }
.rc__nav:disabled { opacity: .35; cursor: default; }
.rc__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; }
.rc__wd { padding: 4px 0 6px; text-align: center; font: 600 11.5px var(--font); color: var(--muted); }
.rc__day { height: 40px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font: 500 14px var(--font); font-variant-numeric: tabular-nums; cursor: pointer; }
.rc__day:hover:not(:disabled):not(.is-start):not(.is-end) { background: var(--surface-2); border-radius: 20px; }
.rc__day.is-out { color: var(--muted); }
.rc__day.is-off { color: var(--axis); cursor: default; }
.rc__day.is-booked { color: color-mix(in srgb, var(--crit) 60%, var(--raise)); text-decoration: line-through; }
.rc__day.is-today { font-weight: 700; }
.rc__day.is-in, .rc__day.is-in:hover:not(:disabled) { background: var(--surface-2); border-radius: 0; }
.rc__day.is-start, .rc__day.is-end { background: var(--s1); color: #fff; }
.rc__day.is-start { border-radius: 20px 0 0 20px; }
.rc__day.is-end { border-radius: 0 20px 20px 0; }
.rc__day.is-solo { border-radius: 20px; }
.rc__hint { margin: 8px 4px 0; font-size: 12.5px; color: var(--ink-2); }
.rc__hint.is-warn { color: var(--crit); }
.rc__legend { margin: 4px 4px 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.rc__legend i { width: 14px; height: 1.5px; background: color-mix(in srgb, var(--crit) 60%, var(--raise)); }
.period__label { display: block; font: 600 11px var(--font); letter-spacing: .09em; text-transform: uppercase; margin-bottom: 5px; color: var(--muted); }
/* Start page: the facts and the three tiles share the hero's 1120px column and left edge (they used to sit
   in a narrower, centred column, with the facts box 16px wider than the tiles under it). */
.home-info { padding-top: 0; }
.home-info .split { margin-top: 12px; }
.facts { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 0; margin-top: 20px; overflow: hidden; }
.fact { background: var(--surface); padding: 13px 15px; display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.fact b { font: 600 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.tile { display: flex; flex-direction: column; padding: 14px 15px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.tile b { font: 600 15px var(--font-head); }
.tile span { color: var(--ink-2); font-size: 13.5px; }
.tile:hover { border-color: var(--axis); }
.searchbar { display: grid; gap: 10px; padding: 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 14px 0 6px; scrollbar-width: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--raise); color: var(--ink-2); text-decoration: none; font: 500 13.5px var(--font); cursor: pointer; }
.chip:hover { border-color: var(--axis); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--surface); font-weight: 600; }
.chip input { width: 16px; height: 16px; }
.mcard { display: grid; grid-template-columns: 120px 1fr; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; text-decoration: none; color: var(--ink); }
.mcard:hover { border-color: var(--axis); }
.mcard__img { background: var(--raise); display: grid; place-items: center; border-right: 1px solid var(--rule); position: relative; }
/* The availability tab on top of a bike photo (owner, 30 Oct 2026). */
.atab { position: absolute; top: 0; left: 8px; right: auto; max-width: calc(100% - 16px); z-index: 1; padding: 3px 8px 4px; border-radius: 0 0 4px 4px; font: 600 11px/1.25 var(--font); letter-spacing: .01em; text-align: left; box-shadow: 0 1px 2px rgba(11, 11, 11, .08); }
.atab small { display: block; font-weight: 500; font-size: 10.5px; white-space: nowrap; }
.atab__when { white-space: nowrap; }
@media (max-width: 639px) { .mcard .atab { left: 6px; max-width: calc(100% - 12px); padding: 3px 6px 4px; } .mcard .atab small { font-size: 10px; } }
.atab--ok { background: #e2f3e2; color: #0a6b0a; }
.atab--soon { background: #fdeec8; color: #5a3d00; }
.atab--off { background: var(--surface-2); color: var(--ink-2); }
.mcard--booked .bike-img { opacity: .6; }
.booked__head { font-size: 17px; margin: 22px 0 2px; }
.grid--booked { margin-top: 10px; }
.mcard__img .bike-img { width: 100%; height: 112px; object-fit: contain; padding: 8px; }
.mcard__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.mcard__top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.mcard h2 { font-size: 15.5px; margin: 0; }
.mcard__spec { color: var(--muted); font-size: 13px; margin: 0; }
.mcard__price { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }
.mcard__price b { font: 700 19px/1 var(--font-head); color: var(--ink); letter-spacing: -.01em; }
.mcard__sub { color: var(--muted); font-size: 12.5px; margin: 0; }
.detail__grid { display: grid; gap: 14px; }
.detail__media { background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius-s); display: grid; place-items: center; min-height: 220px; position: relative; overflow: hidden; }
.detail__media .atab { left: 12px; font-size: 12.5px; padding: 5px 10px 6px; }
.detail__media .atab small { font-size: 12px; }
.detail__media .bike-img { max-height: 320px; object-fit: contain; padding: 16px; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; margin: 14px 0; }
.specs div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 8px 10px; }
.specs dt { font: 600 10.5px var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; font-size: 14px; }
/* Price guide on a bike's page: plain text in rows, deliberately not boxes or buttons (nothing to tap). */
.rateguide { margin: 12px 0 4px; cursor: default; }
.rateguide__title { margin: 0 0 4px; font: 600 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.rateguide__title span { margin-left: 4px; padding: 1px 6px; border-radius: 2px; background: color-mix(in srgb, var(--good) 12%, transparent); color: #0a6e0a; letter-spacing: .04em; }
.rateguide dl { margin: 0; }
.rateguide dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--axis); font-size: 14px; }
.rateguide dt { color: var(--ink-2); }
.rateguide dt small, .rateguide dd small { color: var(--muted); font-size: 12.5px; }
.rateguide dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.rateguide__note { margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.avail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; list-style: none; padding: 0; margin: 8px 0; }
.avail li { height: 32px; display: grid; place-items: center; border-radius: 2px; font: 600 12.5px var(--font-head); }
.avail .is-free { background: color-mix(in srgb, var(--good) 14%, var(--raise)); color: #0a7d0a; }
.avail .is-full { background: color-mix(in srgb, var(--crit) 12%, var(--raise)); color: var(--crit); text-decoration: line-through; }
.avail .is-past { background: var(--surface-2); color: var(--axis); }
.legend { font-size: 12.5px; color: var(--ink-2); display: flex; gap: 12px; align-items: center; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.legend i.is-free { background: color-mix(in srgb, var(--good) 30%, var(--raise)); }
.legend i.is-full { background: color-mix(in srgb, var(--crit) 25%, var(--raise)); }
.ticks { padding-left: 1.1em; margin: 0; display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.quote { display: grid; gap: 12px; }
.lines { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.lines td, .lines th { padding: 7px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; font-weight: 400; }
.lines td small { display: block; color: var(--muted); }
.lines .num, .table .num { text-align: right; white-space: nowrap; padding-left: 12px; }
.lines tfoot th, .lines tfoot td { border-bottom: 0; font-weight: 700; }
.lines tfoot tr:first-child th, .lines tfoot tr:first-child td { border-top: 1px solid var(--axis); }
.lines .is-discount td { color: #0a7d0a; }
.lines .is-deposit td { color: var(--ink-2); font-weight: 500; border-top: 1px dashed var(--axis); }
.lines .is-total th, .lines .is-total td { font: 700 15.5px var(--font-head); }
.lines th small { display: block; font: 400 12.5px var(--font); color: var(--muted); }
.lines .is-period td { padding: 8px 0 10px; font-size: 13.5px; color: var(--ink-2); }
.lines .is-period span { display: inline-block; min-width: 52px; font: 600 10.5px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.lines .is-period b { color: var(--ink); font-weight: 600; }
.lines .is-period small { margin-top: 3px; font-weight: 600; color: var(--ink); }
.lines .is-note td { font-size: 12.5px; color: #7a4d00; background: color-mix(in srgb, var(--warn) 12%, transparent); padding: 7px 8px; }
.lines .is-proposed td { color: #8a5a00; }
.lines .is-void td, .lines .is-rejected td, tr.is-void td { color: var(--axis); text-decoration: line-through; }
.lines .is-void td small, .lines .is-rejected td small { text-decoration: none; }
.book__when { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--rule); }
.book__when div { background: var(--surface); padding: 11px 13px; }
.book__when span { display: block; font: 600 10.5px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.book__when b { font: 600 15px var(--font-head); }

/* customer booking */
.ccard { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.ccard:hover { border-color: var(--axis); }
.ccard__img { background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius-s); display: grid; place-items: center; }
.ccard__img .bike-img { max-height: 64px; object-fit: contain; padding: 4px; }
.ccard__body { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.bv-head { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; margin-bottom: 12px; }
.bv-head__img { background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius-s); }
.bv-head__img .bike-img { max-height: 88px; object-fit: contain; padding: 6px; margin: auto; }
.bv-head h1 { margin: 0 0 6px; }
.due { margin: 14px 0; padding: 14px 15px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); display: grid; gap: 2px; }
.due span { font: 600 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.due b { font: 700 27px/1.1 var(--font-head); letter-spacing: -.02em; }
.due small { color: var(--ink-2); }
.due--late { border-left-color: var(--crit); }
.due--late b { color: var(--crit); }
.kv { display: grid; gap: 0; margin: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }
.kv--big { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 2px 14px; margin-top: 14px; }
.kv--settle .is-key dd { font-size: 16px; }
.balance { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 13px; margin: 12px 0 4px; border-radius: var(--radius-s); background: var(--raise); border: 1px solid var(--rule); border-left: 3px solid var(--good); font-size: 14px; }
.balance b { font: 700 18px var(--font-head); font-variant-numeric: tabular-nums; }
.balance--owe { border-left-color: var(--warn); }
.balance--credit { border-left-color: var(--s1); }
.balance--check { border-left-color: var(--warn); } /* paid online, still to check (repair round, DEF-05) */
.refunds { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.refund { padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); display: grid; gap: 4px; background: var(--raise); font-size: 14px; }
.refund small { color: var(--muted); }
.refund--failed { border-left: 3px solid var(--crit); }
.msgs { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.msgs li { padding: 9px 12px; border-radius: var(--radius-s); background: var(--surface-2); max-width: 92%; font-size: 14px; }
.msgs li.is-mine { background: var(--raise); border: 1px solid var(--rule); margin-left: auto; }
.msgs li.is-internal { background: color-mix(in srgb, var(--warn) 16%, var(--raise)); }
.msgs small { color: var(--muted); }
.msgs p { margin: 2px 0 0; white-space: pre-line; }
/* documents */
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.doc { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); font-size: 14px; }
.doc__thumb { width: 48px; height: 36px; border-radius: 2px; background: var(--surface-2); border: 1px solid var(--rule); display: grid; place-items: center; overflow: hidden; font: 600 10px var(--font-mono); color: var(--muted); }
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc small { display: block; color: var(--muted); }
.doc-viewer img { max-height: 70vh; margin: 0 auto; border: 1px solid var(--rule); }
.doc-viewer iframe { width: 100%; height: 70vh; border: 1px solid var(--rule); }
.addr { font-size: 14px; color: var(--ink-2); }
.addr b { color: var(--ink); }

/* progress track (rental lifecycle) */
.track { display: flex; list-style: none; padding: 0; margin: 12px 0; overflow-x: auto; }
.track li { flex: 1 0 0; min-width: 60px; position: relative; padding-top: 16px; font-size: 12px; text-align: center; color: var(--muted); }
.track li::before { content: ''; position: absolute; top: 4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--raise); border: 1.5px solid var(--axis); z-index: 1; }
.track li::after { content: ''; position: absolute; top: 8px; left: -50%; width: 100%; height: 1.5px; background: var(--grid); }
.track li:first-child::after { display: none; }
.track li.is-done { color: var(--ink); }
.track li.is-done::before { background: var(--ink); border-color: var(--ink); }
.track li.is-done::after { background: var(--ink); }
.track li.is-current { font-weight: 600; }
.track li.is-current::before { box-shadow: 0 0 0 3px color-mix(in srgb, var(--s1) 25%, transparent); }
.track li small { display: block; color: var(--muted); font-size: 11px; }
.track--stopped li.is-stop::before { background: var(--muted); border-color: var(--muted); }

/* ---------------------------------------------------------------- staff */
.hello { padding: 13px 15px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); margin-bottom: 12px; }
.hello p { margin: 0; color: var(--ink-2); font-size: 14px; }
.hello--late { border-left-color: var(--crit); }
.hello__counts { display: flex; gap: 16px; flex-wrap: wrap; font: 600 13px var(--font-head); color: var(--ink-2); margin-top: 4px; }
.hello__counts b { font: 700 22px/1.1 var(--font-head); color: var(--ink); letter-spacing: -.02em; margin-right: 4px; }
.hello--late .hello__counts .is-late b { color: var(--crit); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 2px; background: var(--surface-2); border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 12px; }
.seg a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 50px; border-radius: 3px; text-decoration: none; color: var(--ink-2); font: 500 12.5px var(--font); }
.seg a b { font: 700 18px/1 var(--font-head); color: var(--ink); }
.seg a.is-on { background: var(--raise); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.09); }
.subhead { font: 600 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.share-link { margin-top: 20px; }
.todo-group h3 { font: 600 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.todo-group--late h3 { color: var(--crit); }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.todo__item { display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; padding: 11px 13px; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--axis); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); min-height: 54px; }
.todo__item:hover { border-color: var(--axis); }
.todo-group--late .todo__item { border-left-color: var(--crit); }
.todo-group--today .todo__item { border-left-color: var(--ink); }
.todo__title { font: 600 14.5px var(--font-head); }
.todo__ref { font: 500 12px var(--font-mono); color: var(--muted); align-self: start; }
.todo__detail { grid-column: 1 / -1; color: var(--ink-2); font-size: 13.5px; }
.bcard { display: grid; gap: 4px; padding: 11px 13px; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--rule); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.bcard:hover { border-color: var(--axis); }
.bcard--late { border-left-color: var(--crit); }
.bcard--attention { border-left-color: var(--serious); }
.bcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bcard__ref { font: 500 13px var(--font-mono); }
.bcard__bike { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bcard__model { font: 600 14.5px var(--font-head); }
.bcard__meta { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; color: var(--ink-2); font-size: 13.5px; }
.bcard__tags { display: flex; gap: 4px; flex-wrap: wrap; }
.bcard__note { font-size: 12.5px; color: var(--muted); }
.bcard__note--attention { color: var(--crit); font-weight: 600; }
.deadline { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-variant-numeric: tabular-nums; }
.deadline--soon { color: #b5541f; }
.deadline--late { color: var(--crit); font-weight: 600; }
.simple { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.simple li { padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.simple li:last-child { border-bottom: 0; }
.simple a { color: var(--ink); text-decoration: none; display: block; }
.desk__head { display: grid; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.desk__title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.desk__title h1 { margin: 0; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0; }
.desk__bike { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 15px var(--font-head); }
.desk__who { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; color: var(--ink-2); font-size: 14px; }
.icon-link { display: inline-flex; align-items: center; gap: 4px; min-height: 38px; font-weight: 600; }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.times > div { padding: 10px 12px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--rule); display: grid; }
.times span { font: 600 10.5px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.times b { font: 700 17px/1.2 var(--font-head); letter-spacing: -.01em; }
.times small { color: var(--ink-2); }
.times .is-late { border-left: 3px solid var(--crit); }
.times .is-late b { color: var(--crit); }
.next { display: grid; gap: 8px; margin: 14px 0; }
.next__why { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--crit); }

/* Checklist at the top of a booking: red until done, green ticks once done. */
.hc { padding: 12px 14px; }
.hc--todo { border-color: color-mix(in srgb, var(--crit) 45%, var(--rule)); border-left: 4px solid var(--crit); }
.hc--ok { border-left: 4px solid var(--good); }
.hc__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.hc__head h3 { margin: 0; }
.hc__list { list-style: none; margin: 0; padding: 0; }
.check-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--rule); }
.check-row:first-child { border-top: 0; }
.check-row__icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.check-row.is-ok .check-row__icon { background: color-mix(in srgb, var(--good) 16%, transparent); color: #0a7d0a; }
.check-row.is-missing .check-row__icon { background: color-mix(in srgb, var(--crit) 14%, transparent); color: var(--crit); }
.check-row.is-wait .check-row__icon { background: color-mix(in srgb, var(--warn) 26%, transparent); color: #8a5a00; }
.check-row.is-wait .check-row__text small { color: #8a5a00; font-weight: 600; }
.hc--wait { border-left: 4px solid var(--warn); }
.text-good { color: #0a7d0a; }
.check-row__text { display: grid; min-width: 0; }
.check-row__text b { font: 600 14px var(--font-head); }
.check-row__text small { font-size: 12.5px; color: var(--ink-2); }
.check-row.is-missing .check-row__text small { color: var(--crit); font-weight: 600; }
.check-row__act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.check-row__act .btn { min-height: 36px; }
/* The deposit refund buttons sit under the text, so the text keeps its width (28 Oct 2026). */
.check-row__act--below { grid-column: 2 / -1; justify-content: flex-start; }
.check-row__act--below:empty { display: none; }
.hc__mini { list-style: none; margin: 0; padding: 8px 10px; border-radius: var(--radius-s); background: var(--raise); border: 1px solid var(--rule); display: grid; gap: 3px; font-size: 13px; }
.hc__mini li { display: flex; gap: 6px; align-items: center; }
.hc__mini .is-ok { color: #0a7d0a; }
.hc__mini .is-missing { color: var(--crit); font-weight: 600; }

.hc__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 3px; font-size: 12.5px; color: var(--ink-2); }
.hc__pay { white-space: normal; }
.hc__link { background: none; border: 0; padding: 0; font: 600 12.5px var(--font); color: var(--s1); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; min-height: 24px; }
.seg-pick span { min-width: 110px; justify-content: center; }
.refund-total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-radius: var(--radius-s); background: color-mix(in srgb, var(--s1) 8%, var(--raise)); border: 1px solid color-mix(in srgb, var(--s1) 30%, var(--rule)); }
.refund-total b { font: 700 20px var(--font-head); }

/* Folded panels: one summary line, tap to open. */
details.fold > summary.fold__sum { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; }
details.fold > summary.fold__sum::-webkit-details-marker { display: none; }
details.fold > summary.fold__sum::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); grid-row: 1 / span 2; grid-column: 2; margin: 0 4px 4px 0; transition: transform .15s; }
details.fold[open] > summary.fold__sum::after { transform: rotate(-135deg); margin: 4px 4px 0 0; }
.fold__meta { grid-column: 1; font: 400 13px var(--font); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fold__meta--wrap { white-space: normal; }
.fold__warn, .fold__ok { display: inline-flex; align-items: flex-start; gap: 5px; font-weight: 600; }
.fold__warn { color: #8a5300; }
.fold__ok { color: #157a15; }
.fold__warn svg, .fold__ok svg { flex: none; margin-top: 2px; }
.fold__tools { display: flex; justify-content: flex-end; margin-bottom: 6px; }
details.fold.money-panel > summary + * { margin-top: 0; }
.more-actions summary { font-size: 14.5px; }
.insp { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.insp li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.insp small { color: var(--muted); }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; font-size: 13.5px; }
.history time { color: var(--muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.fuel { display: inline-flex; gap: 2px; vertical-align: middle; }
.fuel i { width: 6px; height: 12px; border-radius: 1px; background: var(--track); }
.fuel i.on { background: var(--ink-2); }
.board-counts { display: flex; flex-wrap: wrap; gap: 6px; }
.board { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.board__item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: 'thumb title state' 'thumb detail detail'; gap: 4px 10px; align-items: center; padding: 8px 12px 8px 8px; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--muted); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.board__thumb { grid-area: thumb; display: block; width: 72px; height: 52px; }
/* A small photo of the bike (the model's photo cropped to the bike), in lists and the + sheet. */
.bike-thumb { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.board__title { grid-area: title; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.board__plate { flex: none; }
.board__model { font: 600 14px var(--font-head); }
.board__state { grid-area: state; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.board__detail { grid-area: detail; color: var(--ink-2); font-size: 13px; }
/* Manage Bikes: when each bike is free, and Book (owner, 30 Oct 2026). */
.board li { position: relative; }
.board__item { grid-template-areas: 'thumb title state' 'thumb detail detail' 'thumb free free'; }
.board__free { grid-area: free; font-size: 12.5px; color: var(--ink-2); padding-right: 64px; }
.board__free.is-now { color: #0a6b0a; font-weight: 600; }
.board__book { position: absolute; right: 10px; bottom: 7px; padding: 4px 12px; }
.desk__acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.fleet__head .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.board li.is-found .board__item { animation: found 1.4s ease-out; }
@keyframes found { 0%, 30% { box-shadow: 0 0 0 3px var(--ink); } 100% { box-shadow: 0 0 0 0 transparent; } }
/* Manage Bikes (27 Oct 2026): the summary as one neat cell, two columns; compact Blocked dates and repairs. */
.fleet__head { margin-bottom: 10px; }
.fleet .panel { margin-top: 10px; }
.fleet__head h1 { margin: 0; }
.fleet-sum { padding: 12px 14px; }
.fleet-sum__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 13px; }
.fleet-sum__head b { font: 600 15px var(--font-head); }
.fleet-sum__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--rows, 4), auto); grid-auto-flow: column; column-gap: 14px; }
.fleet-sum__row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 38px; padding: 4px 2px; border: 0; border-bottom: 1px solid var(--rule); background: none; font: 500 14px var(--font); color: var(--ink); text-align: left; cursor: pointer; }
.fleet-sum__row span { overflow-wrap: anywhere; line-height: 1.2; }
.fleet-sum__row b { font: 600 16px var(--font-head); font-variant-numeric: tabular-nums; }
.fleet-sum__row i { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.fleet-sum__row.tone-red i { background: var(--crit); }
.fleet-sum__row.tone-red b { color: var(--crit); }
.fleet-sum__row.tone-amber i { background: var(--warn); }
.fleet-sum__row.tone-orange i { background: var(--serious); }
.fleet-sum__row.tone-blue i { background: var(--s1); }
.fleet-sum__row.tone-teal i { background: var(--s3); }
.fleet-sum__row.tone-green i { background: var(--good); }
.fleet-sum__row:hover span { text-decoration: underline; }
.strip { padding: 8px 12px; }
.strip__head { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.strip__head h2 { margin: 0; font-size: 15px; }
.strip__meta { flex: 1; color: var(--muted); font-size: 13.5px; }
.strip .blocks-list li { padding: 6px 0; }
.strip__list { list-style: none; margin: 4px 0 2px; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.strip__list a { color: var(--ink); text-decoration: none; }
.addbike__model { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: end; }
.addbike__img { width: 96px; height: 68px; object-fit: contain; padding: 4px; border-radius: 8px; background: var(--surface-2); }
.board__item--overdue, .board__item--repair { border-left-color: var(--crit); }
.board__item--inspection, .board__item--repair_check { border-left-color: var(--warn); }
.board__item--available { border-left-color: var(--good); }
.board__item--out, .board__item--ready, .board__item--delivering { border-left-color: var(--s1); }
.board__item--retired, .board__item--blocked { opacity: .72; }
.queue { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.queue li { padding: 11px 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); display: grid; gap: 6px; font-size: 14px; }
.statline { display: flex; gap: 10px; margin: 8px 0 16px; flex-wrap: wrap; }
.statline div { padding: 12px 14px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--rule); display: grid; min-width: 140px; }
.statline span { font: 600 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.statline b { font: 700 24px/1.15 var(--font-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.statline .statline--alert { border-color: #e7b4ae; background: #fdf1ef; }
.statline .statline--alert b { color: var(--crit); }
.dep .statline div { min-width: 0; flex: 1 1 96px; }
.dep__tabs { padding-top: 2px; flex-wrap: wrap; overflow: visible; }
.dep__tabs .chip b { margin-left: 4px; font-variant-numeric: tabular-nums; }
.dep__lead { font-size: 13.5px; margin: 6px 0 10px; }
.dep__find { margin-bottom: 10px; max-width: 420px; }
.dep__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.dep__amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.dep__text { font-size: 13.5px; color: var(--ink-2); }
/* Bikes on the same booking (30 Oct 2026) */
.grp h3 { margin: 0; }
.grp__list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.grp__list li { display: grid; gap: 3px; padding: 9px 2px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.grp__list li.is-this { background: var(--surface-2); padding-left: 8px; padding-right: 8px; }
.grp__top { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.grp__tot { margin: 10px 0 0; font-size: 14px; }
.pay-for .radio small { display: block; }
.notes { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.notes a { display: grid; gap: 2px; padding: 11px 13px; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--rule); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.notes .is-unread a { border-left-color: var(--s1); background: var(--raise); }
.notes__title { font: 600 14.5px var(--font-head); }
.notes__body { color: var(--ink-2); font-size: 13.5px; }
.notes small { color: var(--muted); }
.search { display: flex; gap: 6px; margin: 8px 0 0; }
.me { display: grid; gap: 2px; padding: 14px 15px; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); border-radius: var(--radius-s); margin-bottom: 12px; }
.me b { font: 700 18px var(--font-head); }
.me span { color: var(--ink-2); font-size: 14px; }
.me small { color: var(--muted); }
.menu { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; }
.menu li + li { border-top: 1px solid var(--rule); }
.menu a, .menu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 11px 15px; text-decoration: none; color: var(--ink); background: none; border: 0; font: 600 14.5px var(--font-head); cursor: pointer; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--surface-2); }
.lookup { padding: 10px 12px; border: 1px solid var(--rule); border-left: 3px solid var(--s1); border-radius: var(--radius-s); background: var(--raise); font-size: 13.5px; color: var(--ink-2); }
.lookup b { color: var(--ink); }

/* WhatsApp preview */
.wa { display: grid; gap: 12px; }
.wa__bubble { background: #e7f6dc; border-radius: 8px 8px 8px 2px; padding: 12px 14px; max-height: 50vh; overflow: auto; border: 1px solid #cfe8bd; }
.wa__bubble pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 400 14px/1.45 var(--font); }

/* ---------------------------------------------------------------- sheet (bottom sheet on phones, dialog on desktop) */
.sheet { position: fixed; inset: 0; z-index: 50; display: none; }
.sheet.is-open { display: block; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(11, 11, 11, .42); }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto;
  background: var(--surface); border-radius: 10px 10px 0 0; padding: 0 16px calc(20px + env(safe-area-inset-bottom, 0px));
  animation: up .18s ease-out;
}
@keyframes up { from { transform: translateY(20px); opacity: .6; } }
.sheet__head { position: sticky; top: 0; background: var(--surface); display: flex; justify-content: space-between; align-items: center; padding: 13px 0 9px; z-index: 1; border-bottom: 1px solid var(--rule); margin-bottom: 10px; }
.sheet__head h2 { margin: 0; font: 600 16px var(--font-head); }
.sheet__head .sheet__back { margin: 0 6px 0 -8px; }
.sheet__head .sheet__back + h2 { flex: 1; }
.sheet__back[hidden] { display: none; }
.sheet__body { padding-top: 2px; }
.prose p { margin: 0 0 .6em; }

/* ---------------------------------------------------------------- toasts */
.toasts { position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: grid; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; padding: 11px 14px; border-radius: var(--radius); background: var(--ink); color: var(--surface); font-weight: 500; font-size: 14px; box-shadow: 0 5px 16px rgba(0, 0, 0, .16); animation: up .18s ease-out; }
.toast--error { background: var(--crit); color: #fff; }
.toast.is-leaving { opacity: 0; transition: opacity .3s; }

/* ---------------------------------------------------------------- admin */
.subnav { display: flex; gap: 4px; overflow-x: auto; margin: -4px 0 16px; padding-bottom: 4px; scrollbar-width: none; }
.subnav a { flex: none; padding: 7px 11px; border-radius: var(--radius); text-decoration: none; color: var(--ink-2); font: 600 13.5px var(--font-head); border: 1px solid var(--rule); background: var(--surface); }
.subnav a.is-on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.fleet-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 12px 0; }
.fs { padding: 12px 13px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--rule); display: grid; position: relative; overflow: hidden; }
.fs b { font: 700 27px/1.05 var(--font-head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fs span { font: 600 10.5px var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.fs--overdue b, .fs--repair b { color: var(--crit); }
.fs--available b { color: var(--good); }
.kpis { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: 8px; }
.kpi { padding: 14px 15px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); display: grid; gap: 2px; position: relative; overflow: hidden; }
.kpi span { font: 600 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.kpi b { font: 700 29px/1.05 var(--font-head); letter-spacing: -.02em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--ink-2); font-size: 12.5px; }
.kpi--liability::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--s1); }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 10px; font-size: 13.5px; }
.bars i { height: 7px; border-radius: 4px; background: var(--s1); width: var(--w); min-width: 3px; }
.bars b { font-variant-numeric: tabular-nums; font-weight: 600; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table thead th { font: 600 10.5px var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--axis); background: transparent; }
.table tbody tr:hover { background: var(--surface-2); }
.table tr.group th { background: var(--surface-2); font: 600 11px var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.perm-table td:first-child { min-width: 220px; }
.perm-table code { background: none; padding: 0; font-size: .75rem; }
.win { display: inline-block; margin: 0 6px 4px 0; padding: 2px 7px; border-radius: 2px; background: var(--surface-2); border: 1px solid var(--rule); font-size: 12.5px; }
.overrides { display: grid; gap: 6px; max-height: 40vh; overflow: auto; }
.ovr { display: grid; grid-template-columns: 1fr 130px; gap: 8px; align-items: center; font-weight: 400; font-size: 13.5px; }
.ovr select { min-height: 36px; padding: 5px; }
.settings input { max-width: 220px; }
.mono-wrap { word-break: break-word; }
.audit td:nth-child(5) { max-width: 420px; }
.demo-accounts .acct-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.acct { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; width: 100%; text-align: left; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); font: 400 14px var(--font); cursor: pointer; min-height: 54px; }
.acct:hover { border-color: var(--axis); }
.acct b { font-family: var(--font-head); }
.acct span { color: var(--muted); text-align: right; font-size: 13px; }
.acct code { grid-column: 1 / -1; background: none; padding: 0; color: var(--muted); }

/* ---------------------------------------------------------------- multi-phone demo */
body.is-demo { padding-bottom: 0; }
body.is-demo .bottomnav { display: none; }
.demo { padding: 16px; }
.demo__head { display: grid; gap: 10px; margin-bottom: 12px; }
.demo__toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.demo__body { display: grid; gap: 16px; }
.demo__guide { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 14px; align-self: start; }
.demo__guide .chips { padding-top: 0; }
.steps { padding-left: 1.3em; display: grid; gap: 9px; margin: 0 0 12px; font-size: 13.5px; }
.who { display: inline-block; padding: 0 6px; border-radius: 2px; font: 600 11.5px var(--font); background: var(--surface-2); border: 1px solid var(--rule); color: var(--ink); }
.who--abood { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.demo__phones { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; align-items: flex-start; }
.device { margin: 0; flex: none; }
.device figcaption { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13.5px; }
.device figcaption span { color: var(--muted); font-size: 12.5px; margin-right: auto; }
.device__frame { width: 360px; height: 740px; border: 8px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--bg); box-shadow: 0 6px 20px rgba(0, 0, 0, .14); }
.device__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------------------------------------------- service reminders and expenses */
.svc { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.svc__item { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--rule); border-left: 3px solid var(--good); border-radius: var(--radius-s); background: var(--raise); font-size: 14px; }
.svc__item--due_soon { border-left-color: var(--warn); }
.svc__item--due { border-left-color: var(--crit); }
.svc__item .actions { margin-top: 4px; }
.meter { height: 6px; background: var(--track); border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink-2); border-radius: 3px; }
.svc__item--due_soon .meter i { background: var(--warn); }
.svc__item--due .meter i { background: var(--crit); }
.exps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.exp { display: grid; gap: 4px; padding: 11px 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.exp:hover { border-color: var(--axis); }
.exp__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.exp__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-2); }
.exp__meta .ico { vertical-align: -2px; }
.exp__amount { font: 700 30px/1.1 var(--font-head); letter-spacing: -.02em; margin: 4px 0; font-variant-numeric: tabular-nums; }
.amount-in { font: 600 22px/1.2 var(--font-head); font-variant-numeric: tabular-nums; }
.rp__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rp__buttons .btn { cursor: pointer; }
.rp__list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.rp__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); font-size: 13.5px; }
.rp__item img, .rp__pdf { width: 52px; height: 52px; object-fit: cover; border-radius: 2px; background: var(--surface-2); display: grid; place-items: center; font: 600 11px var(--font-mono); color: var(--ink-2); }
.rp__item small { display: block; color: var(--muted); }
.radios--inline { grid-template-columns: 1fr 1fr; }
.radios--inline legend { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- wider screens */
@media (min-width: 640px) {
  .split { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .period:not(.period--cal) { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .hero__form .btn, .searchbar .btn { justify-self: start; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .action-grid { grid-template-columns: repeat(3, 1fr); }
  .toasts { left: auto; width: 380px; }
  .live span { display: inline; }
  .who-chip { display: inline-flex; align-items: center; }
}
@media (max-width: 420px) { .brand__sub { display: none; } }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bottomnav { display: none; }
  .topnav { display: flex; }
  /* The bar's contents line up with the page column (max 1120px) instead of the window edges. */
  .topbar { padding-left: max(16px, calc((100% - 1120px) / 2 + 16px)); padding-right: max(16px, calc((100% - 1120px) / 2 + 16px)); }
  .toasts { bottom: 20px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .mcard { grid-template-columns: 1fr; }
  .mcard__img { border-right: 0; border-bottom: 1px solid var(--rule); }
  .mcard__img .bike-img { height: 160px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .detail__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .sheet__panel { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: min(560px, 92vw); max-height: 88vh; border-radius: 6px; border: 1px solid var(--rule); animation: none; }
  .sheet__panel--wide { width: min(760px, 94vw); }
  .hero__inner { padding: 44px 16px 36px; }
  .demo__body { grid-template-columns: 330px 1fr; }
  .demo__head { grid-template-columns: 1fr auto; align-items: end; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Change dates (extend, shorten, move) */
.dc__quote { background: var(--surface-2); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 10px 12px; font-size: 14px; }
.dc__quote p { margin: 6px 0 0; }
.dc__quote.is-err { border-color: color-mix(in srgb, var(--crit) 45%, transparent); color: var(--crit); }
/* Change price: the second step to confirm (owner, 30 Oct 2026). */
.pc__sum dd { text-align: right; }
.pc__new dd b { font: 700 16px var(--font-head); }
.pc__why dd { max-width: 65%; overflow-wrap: anywhere; }
.pc__btns { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
/* Give money back (owner, 30 Oct 2026): from the rental payment, never the deposit. */
.gb small { font-weight: 400; color: var(--muted); }
.gb .is-off { opacity: .55; }
.gb__note { display: block; flex-basis: 100%; color: var(--ink-2); font-size: 12.5px; margin-top: 4px; }
.dc__sum { margin-bottom: 4px; }
.dc__money { margin-top: 4px; }
.dc__quick { padding-top: 0; }
.ok-line { color: #0a7d0a; font-weight: 600; }

/* Multi-phone demo: scenario tabs and where each one starts */
.demo__tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.demo__pick { position: relative; }
.demo__pick > summary { list-style: none; cursor: pointer; }
.demo__pick > summary::-webkit-details-marker { display: none; }
.demo__pick[open] .demo__toggles { position: absolute; right: 0; z-index: 5; margin-top: 6px; display: grid; gap: 6px; min-width: 260px; padding: 12px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); box-shadow: 0 6px 20px rgba(0, 0, 0, .10); }
.demo__tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--rule); margin: 0 -16px 14px; padding: 0 16px; position: sticky; top: 0; z-index: 4; background: var(--bg); scrollbar-width: none; }
.demo__tabs::-webkit-scrollbar { display: none; }
.demo__tab { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px 9px; font: 500 13.5px var(--font); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.demo__tab:hover { color: var(--ink); }
.demo__tab.is-on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.demo__entry { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); border-radius: var(--radius-s); padding: 12px 14px; margin-bottom: 14px; }
.demo__entry h2 { margin: 6px 0 4px; font-size: 17px; }
.demo__entry p { margin: 0 0 8px; font-size: 14px; }
.demo__entry-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.demo__entry-k { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; color: var(--muted); }
.demo__entry-where { color: var(--ink-2); }
.demo__guide h3 { margin: 0 0 8px; font-size: 14px; }
.steps li { cursor: pointer; border-radius: 3px; padding: 2px 4px; margin-left: -4px; }
.steps li.is-focus { background: var(--surface-2); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.device--start .device__frame { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--good), 0 6px 20px rgba(0, 0, 0, .14); }
.device--start figcaption span { color: #0a7d0a; font-weight: 600; }
.device.is-focus figcaption b { text-decoration: underline; text-underline-offset: 3px; }

.chip:disabled { opacity: .4; cursor: not-allowed; }

/* Testing: new version bar, phone links with QR codes, problem reports */
.update-bar { background: color-mix(in srgb, var(--s1) 16%, var(--raise)); }
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 14px 0; }
.qr-card { margin: 0; padding: 14px; background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius); display: grid; gap: 10px; align-content: start; }
.qr-card__code { width: 100%; max-width: 200px; aspect-ratio: 1; margin: 0 auto; }
.qr-card__code svg { width: 100%; height: 100%; display: block; }
.qr-card figcaption { display: grid; gap: 4px; }
.qr-card figcaption b { font: 600 16px var(--font-head); }
.qr-card figcaption span { color: var(--ink-2); font-size: 13px; }
.qr-card__url { font: 500 11.5px var(--font-mono); color: var(--ink-2); word-break: break-all; padding: 6px 8px; background: var(--surface-2); border-radius: var(--radius-s); user-select: all; }
.qr-card .btn { justify-self: start; }
.field--inline { display: flex; gap: 10px; align-items: center; }
.field--inline select { max-width: 320px; }
.fb__note { white-space: pre-wrap; font-size: 15px; margin: 6px 0 10px; }
.fb--done { opacity: .7; }

/* Alert pop-up and sound setting */
.alertpop { position: fixed; z-index: 60; left: 50%; top: calc(var(--top-h) + env(safe-area-inset-top, 0px) + 8px); transform: translate(-50%, -16px);
  width: min(440px, calc(100vw - 24px)); display: flex; align-items: stretch; background: var(--raise); border: 1px solid var(--rule);
  border-left: 4px solid var(--s1); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(11, 11, 11, .16); opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease; }
.alertpop.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.alertpop--action { border-left-color: var(--crit); }
.alertpop__main { flex: 1; text-align: left; background: none; border: 0; padding: 11px 12px; display: grid; gap: 2px; cursor: pointer; color: var(--ink); font: inherit; }
.alertpop__k { font: 600 11px var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.alertpop--action .alertpop__k { color: var(--crit); }
.alertpop__main b { font: 600 15px var(--font-head); }
.alertpop__body { font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.alertpop__hint { margin-top: 4px; font-size: 12px; color: var(--s1); }
.alertpop__x { border: 0; background: none; padding: 0 14px; font-size: 22px; color: var(--muted); cursor: pointer; }
.sound-pref h2 { font-size: 15px; margin-bottom: 8px; }
.sound-pref .chips { margin-bottom: 6px; }

/* Invitation to turn on lock-screen notifications */
.pushinvite { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 10px);
  max-width: 520px; margin: 0 auto; display: flex; gap: 10px; align-items: center; padding: 6px 6px 6px 12px; background: var(--raise);
  border: 1px solid var(--rule); border-radius: 26px; box-shadow: 0 8px 24px rgba(11, 11, 11, .14); font-size: 14px; }
.pushinvite > .ico { flex: none; color: var(--brand, var(--s1)); }
.pushinvite span { flex: 1; min-width: 0; line-height: 1.3; }
.pushinvite .btn { border-radius: 18px; }
.pushinvite__x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
@media (min-width: 900px) { .pushinvite { bottom: 20px; } }

/* Hold the pickup or return time on a booking to change it */
.times [data-hold] { cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; transition: background .15s ease, box-shadow .15s ease; }
.times [data-hold]:hover { border-color: var(--axis); }
.times [data-hold].is-holding { background: color-mix(in srgb, var(--s1) 10%, var(--surface)); box-shadow: inset 0 0 0 2px var(--s1); }
.times [data-hold]:focus-visible { outline: 2px solid var(--s1); outline-offset: 2px; }
.times__edit { float: right; font: 500 10.5px var(--font); letter-spacing: 0; text-transform: none; color: var(--s1); display: inline-flex; align-items: center; gap: 3px; font-style: normal; }

/* Other bikes for the new dates */
.alts-wrap { margin-top: 10px; display: grid; gap: 8px; }
.alts-wrap > summary { cursor: pointer; font-weight: 600; color: var(--s1); }
.alts { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 6px; }
.alt { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 10px; background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius-s); }
.alt > div { display: grid; gap: 2px; min-width: 0; }
.alt span { font-size: 13px; color: var(--ink-2); }
.alt--similar { border-left: 3px solid var(--good); }
.alt .btn { flex: none; }

/* Bike in the booking header: tap through to its page (status, service, faults). */
.bike-link { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "main go" "flags go"; gap: 4px 10px; align-items: center; margin-top: 6px; padding: 9px 10px 9px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); color: inherit; text-decoration: none; }
.bike-link:hover { border-color: var(--axis); }
.bike-link:active { background: var(--surface-2); }
.bike-link:focus-visible { outline: 2px solid var(--s1); outline-offset: 2px; }
.bike-link__main { grid-area: main; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 15px var(--font-head); }
.bike-link__flags { grid-area: flags; display: flex; gap: 6px; flex-wrap: wrap; }
.bike-link__go { grid-area: go; color: var(--muted); display: flex; }

/* Bike page at a glance. */
.glance { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.glance > div { padding: 9px 11px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); min-width: 0; }
.glance dt { font: 600 10.5px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 2px 0 0; display: grid; gap: 2px; font-size: 13.5px; overflow-wrap: anywhere; }
.glance dd b { font: 700 14.5px/1.25 var(--font-head); }
.glance small { color: var(--ink-2); }
.glance .is-bad { border-left: 3px solid var(--crit); }
.glance .is-bad dd b { color: var(--crit); }
.glance .is-warn { border-left: 3px solid var(--warn); }

/* Booking history: newest first; price changes stand out. */
.hist__list { list-style: none; padding: 0; margin: 0; display: grid; }
.hist__item { padding: 8px 0 8px 12px; border-left: 2px solid var(--grid); position: relative; }
.hist__item::before { content: ''; position: absolute; left: -5px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--axis); }
.hist__item time { display: block; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hist__item p { margin: 1px 0 0; font-size: 14px; }
.hist__price { display: inline-block; margin-top: 4px; padding: 2px 7px; border-radius: var(--radius-s); background: color-mix(in srgb, var(--s1) 9%, var(--raise)); font-size: 13px; font-variant-numeric: tabular-nums; }
.hist__price small { color: var(--ink-2); }
.hist--bike::before { background: var(--s2); }
.hist--money::before { background: var(--good); }
.hist--stop::before { background: var(--crit); }
.hist details > summary { cursor: pointer; color: var(--s1); font-weight: 600; padding: 6px 0; }

/* Which price, when the bike changes to another model. */
.price-choice legend { font-weight: 600; margin-bottom: 4px; display: flex; gap: 8px; align-items: baseline; }
.price-opt > span { display: grid; gap: 1px; width: 100%; }
.price-opt__sum { font: 700 16px var(--font-head); font-variant-numeric: tabular-nums; }
.price-opt__sum small { display: inline; font: 400 13px var(--font); }
@media (max-width: 360px) { .glance { grid-template-columns: 1fr; } }

/* Tap-to-copy booking reference. */
.ref-copy { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; border-radius: var(--radius-s); padding: 1px 3px; margin: -1px -3px; font: inherit; color: inherit; -webkit-user-select: all; user-select: all; }
.ref-copy svg { color: var(--muted); flex: none; }
.ref-copy:hover, .ref-copy:focus-visible { background: var(--surface-2); outline: none; }
.ref-copy--big svg { width: 18px; height: 18px; }

/* Customer status: yellow waiting, green accepted or on rent, red late or not accepted, grey the rest. */
.cstatus { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid; border-left-width: 5px; margin: 12px 0; }
.cstatus b { font: 700 17px/1.25 var(--font-head); }
.cstatus span { font-size: 14px; }
.cstatus--wait { background: #fff6dc; border-color: #f0c64a; color: #5c4300; }
.cstatus--ok { background: #e6f6e6; border-color: #3fae3f; color: #0d4d0d; }
.cstatus--late { background: #fde8e8; border-color: var(--crit); color: #7a1414; }
.cstatus--done { background: var(--surface-2); border-color: var(--axis); color: var(--ink-2); }
.ccard--wait { box-shadow: inset 4px 0 0 #f0c64a; }
.ccard--ok { box-shadow: inset 4px 0 0 #3fae3f; }
.ccard--late { box-shadow: inset 4px 0 0 var(--crit); }
.ccard--done { box-shadow: inset 4px 0 0 var(--axis); }

/* Handover earlier or later than booked. */
.warn-line { margin: 0 0 8px; padding: 8px 10px; border-radius: var(--radius-s); background: #fff6dc; border: 1px solid #f0c64a; font-size: 14px; }
.readiness ul { margin: 6px 0 0; }
.readiness li { padding: 4px 0; }
.readiness .actions { margin-top: 4px; }

/* Emails. */
.email-frame { width: 100%; min-height: 420px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: #fff; }
.emails li { display: grid; gap: 2px; padding: 6px 0; }
.gear-note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-s); background: color-mix(in srgb, var(--s1) 8%, var(--raise)); border: 1px solid color-mix(in srgb, var(--s1) 30%, transparent); font-size: 14px; }
.blocks-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.blocks-list li:last-child { border-bottom: 0; }

/* Light-yellow "do this now" cards (inspections and other jobs that hold things up). */
.do-list { display: grid; gap: 8px; margin: 12px 0; }
.do-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 12px 12px 14px; border-radius: var(--radius); text-decoration: none; color: inherit; border: 1px solid #f0c64a; background: #fff8e1; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.do-card:hover { background: #fff3c9; }
.do-card:active { background: #ffeeb3; }
.do-card:focus-visible { outline: 2px solid var(--s1); outline-offset: 2px; }
.do-card__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f6d36b; color: #4a3600; }
.do-card__body { display: grid; gap: 2px; min-width: 0; }
.do-card__body b { font: 700 15.5px/1.25 var(--font-head); }
.do-card__body span { font-size: 13.5px; color: var(--ink-2); }
.do-card__body small { font-size: 12.5px; color: #8a5a00; font-weight: 600; }
.do-card__go { color: #8a6a1a; display: flex; }

/* Waiting on others: late or blocking jobs that are someone else's. */
.waiting { margin: 12px 0; }
.waiting h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.waiting ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.wait { padding: 10px 12px; border: 1px solid var(--rule); border-left: 4px solid var(--warn); border-radius: var(--radius-s); background: var(--raise); display: grid; gap: 4px; }
.wait--late { border-left-color: var(--crit); }
.wait__who { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--ink-2); }
.wait__title { color: inherit; text-decoration: none; }
.wait__title span { color: var(--muted); font-size: 13px; margin-left: 4px; }
.wait__detail { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.wait__blocks { margin: 0; font-size: 13.5px; font-weight: 600; color: #8a5a00; }
.wait .actions { margin-top: 2px; }
.wait--pic { grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; }
.wait--pic > * { grid-column: 2; }
.wait--pic > .wait__pic { grid-column: 1; grid-row: 1 / span 3; align-self: start; width: 52px; height: 40px; margin-top: 2px; }
.wait--pic > .actions, .wait--pic > .linked { grid-column: 1 / -1; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.checks legend { font-weight: 600; margin-bottom: 4px; }
.waiting details > summary { cursor: pointer; color: var(--s1); font-weight: 600; padding: 8px 0; }
.waiting details ul { margin-top: 4px; }
.do-item { display: grid; gap: 2px; }
.do-item > .link-btn { justify-self: start; margin-left: 4px; font-size: 13.5px; }
/* Connected jobs: someone else's job joined to the one above it by a line. */
.linked { list-style: none; margin: 0 0 0 14px; padding: 0; display: grid; }
.linked__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0 0 18px; }
.linked__row::before { content: ''; position: absolute; left: 0; top: 0; width: 12px; height: calc(50% + 3px); border-left: 2px solid var(--warn); border-bottom: 2px solid var(--warn); border-bottom-left-radius: 8px; }
.linked__row:not(:last-child)::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; border-left: 2px solid var(--warn); }
.linked__row.is-late::before, .linked__row.is-late:not(:last-child)::after { border-color: var(--crit); }
.linked__main { display: grid; gap: 1px; min-width: 0; padding: 7px 10px; border: 1px dashed color-mix(in srgb, var(--warn) 70%, var(--rule)); border-radius: var(--radius-s); background: var(--raise); color: inherit; text-decoration: none; }
.linked__row.is-late .linked__main { border-color: color-mix(in srgb, var(--crit) 55%, var(--rule)); }
.linked__main:hover { background: var(--surface); }
.linked__who { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.linked__what { font: 600 13.5px/1.3 var(--font-head); }
.linked__ref { font: 500 11.5px var(--font-mono); color: var(--muted); margin-left: 2px; }
.linked__detail { font-size: 12.5px; color: var(--muted); }
.linked__nudge { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 12.5px var(--font); cursor: pointer; }
.linked__nudge:hover { border-color: var(--axis); }
.wait .linked { margin-left: 2px; }
.advice { display: block; margin-top: 2px; color: var(--ink-2); }
.advice a, .advice .link-btn { font-weight: 700; color: var(--s1); text-decoration: underline; text-underline-offset: 2px; }
.wa__to { margin: 0 0 6px; font-weight: 700; }

/* Condition photos. */
.photo-in__row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.photo-in__previews { display: contents; }
.photo-in__thumb { position: relative; width: 72px; height: 72px; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--rule); background: var(--surface-2); }
.photo-in__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-in__thumb button { position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.photo-in__add { width: 72px; height: 72px; border: 1.5px dashed var(--axis); border-radius: var(--radius-s); display: grid; place-items: center; align-content: center; gap: 2px; cursor: pointer; color: var(--ink-2); background: var(--raise); }
.photo-in__add small { font-size: 11px; font-weight: 600; }
.photo-in--receipt .photo-in__add { width: 88px; }
.photo-in__thumb--file { width: 112px; display: grid; align-content: center; justify-items: center; gap: 2px; padding: 4px 8px; background: var(--raise); }
.photo-in__thumb--file small { font-size: 11px; color: var(--ink-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-in__pdf { font: 700 12px var(--font-mono); color: #b42318; border: 1.5px solid currentColor; border-radius: 3px; padding: 2px 5px; }
.pgroup { margin-top: 8px; }
.pgroup h4 { margin: 0 0 6px; font-size: 14px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.pthumb { position: relative; aspect-ratio: 1; padding: 0; border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; background: var(--surface-2); cursor: pointer; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pthumb.is-shared { outline: 2px solid var(--s1); outline-offset: -2px; }
.pthumb__tag { position: absolute; left: 4px; bottom: 4px; background: var(--s1); color: #fff; font-size: 10.5px; font-weight: 700; padding: 1px 5px; border-radius: 2px; }
/* Repairs on the booking summary, and broken equipment lines */
.hc__repairs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.hc__repairs li { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.hc__repairs li.is-done { color: var(--muted); }
.hc__rstatus { font-weight: 700; color: #8a5a00; }
.hc__repairs li.is-done .hc__rstatus { color: #0a7d0a; }
.equip-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 6px; align-items: center; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px dashed var(--rule); }
.equip-row > * { min-width: 0; }
.equip-row > [data-eq-item] { grid-column: 1; grid-row: 1; }
.equip-row > [data-eq-action] { grid-column: 2; grid-row: 1; }
.equip-row > [data-eq-amt] { grid-column: 3; grid-row: 1; }
.equip-row > .icon-btn { grid-column: 4; grid-row: 1; }
.equip-row > [data-eq-problem] { grid-column: 1 / 4; grid-row: 2; }
.equip-row > .eq-cam { grid-column: 4; grid-row: 2; }
.eq-cam { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 8px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); font: 600 12px var(--font-head); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.eq-cam.is-done { border-color: #0ca30c; color: #0a7d0a; background: #effaef; }
/* Equipment repair task page: the three steps, reported, under way, done. */
.eqpage .desk__title h1 { font-family: var(--font-head); font-weight: 700; }
.eqsteps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 14px 0 4px; counter-reset: eq; }
.eqsteps li { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); color: var(--muted); font-size: 13px; }
.eqsteps li b { font: 600 13px var(--font-head); }
.eqsteps li.is-on { border-color: var(--ink); color: var(--ink); background: var(--raise); }
.eqsteps li small { min-height: 1em; }
/* Condition photo sets and angle slots */
.pset { margin: 12px 0 0; font: 700 11px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.pgroup__n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: 11.5px; }
.pthumb__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 10.5px; font-weight: 600; text-align: left; }
.angles__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.angle { position: relative; aspect-ratio: 4 / 3; border: 1.5px dashed var(--axis); border-radius: var(--radius-s); background: var(--raise); overflow: hidden; cursor: pointer; display: grid; place-items: center; }
.angle.is-done { border-style: solid; border-color: var(--good); }
.angle__ref { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.angle__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.angle__cam { position: relative; color: var(--ink-2); }
.angle.is-done .angle__cam { display: none; }
.angle__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 5px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 600; display: flex; justify-content: space-between; gap: 4px; }
.compare { display: grid; gap: 10px; }
.compare__head { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; position: sticky; top: 0; background: var(--surface); padding: 4px 0; z-index: 1; }
.compare__row p { margin: 0 0 4px; font-weight: 600; font-size: 13.5px; }
.compare__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.compare__pair figure { margin: 0; }
.compare__pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); background: #111; display: block; }
.compare__pair figcaption { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.compare__pair .is-missing { aspect-ratio: 4 / 3; display: grid; place-items: center; border: 1.5px dashed var(--rule); border-radius: var(--radius-s); color: var(--muted); font-size: 12.5px; }
.photo-view img { width: 100%; max-height: 70vh; object-fit: contain; background: #111; border-radius: var(--radius-s); }

/* ---------------------------------------------------------------- swipeable photos (24 Oct) */
.pstrip { position: relative; border-radius: var(--radius-s); overflow: hidden; background: #151515; }
.pstrip__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; outline: none; }
.pstrip__track::-webkit-scrollbar, .pviewer__track::-webkit-scrollbar { display: none; }
.pstrip__track:focus-visible { box-shadow: inset 0 0 0 3px var(--s1); }
.pstrip__slide { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 3; margin: 0; padding: 0; border: 0; background: #151515; scroll-snap-align: center; scroll-snap-stop: always; cursor: zoom-in; }
.pstrip__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pstrip__cap { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 2px; background: rgba(0, 0, 0, .62); color: #fff; font: 600 12px var(--font); }
.pstrip__count { position: absolute; top: 8px; right: 8px; padding: 2px 9px; border-radius: 10px; background: rgba(0, 0, 0, .62); color: #fff; font: 600 12px var(--font); font-variant-numeric: tabular-nums; pointer-events: none; }
.pstrip__nav, .pviewer__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 0 0 3px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.pstrip__nav--prev, .pviewer__nav--prev { left: 8px; }
.pstrip__nav--next, .pviewer__nav--next { right: 8px; }
.pstrip__nav:disabled, .pviewer__nav:disabled { opacity: 0; pointer-events: none; }
.pstrip__dots, .pviewer__dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.pstrip__dots i, .pviewer__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); box-shadow: 0 0 2px rgba(0, 0, 0, .4); }
.pstrip__dots i.is-on, .pviewer__dots i.is-on { background: #fff; }
.pviewer { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: #050505; color: #fff; }
.pviewer__top { display: flex; align-items: center; justify-content: space-between; padding: calc(6px + env(safe-area-inset-top, 0px)) 6px 6px 16px; }
.pviewer__count { font: 600 14px var(--font); font-variant-numeric: tabular-nums; }
.pviewer__x { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.pviewer__track { flex: 1; min-height: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; outline: none; }
.pviewer__slide { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0 0 calc(34px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; scroll-snap-align: center; scroll-snap-stop: always; }
.pviewer__slide img { max-width: 100%; max-height: calc(100% - 46px); object-fit: contain; }
.pviewer__slide figcaption { padding: 0 16px; font-size: 13px; color: #d6d6d6; text-align: center; }
.pviewer__dots { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.pviewer__nav { width: 46px; height: 46px; background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
@media (hover: none) and (pointer: coarse) { .pstrip__nav, .pviewer__nav { display: none; } }

/* ---------------------------------------------------------------- ready for collection (24 Oct) */
.collect { margin: 4px 0 14px; padding: 18px 16px 16px; border-radius: 8px; background: #0f5f2a; color: #fff; display: grid; gap: 10px; box-shadow: 0 6px 18px rgba(15, 95, 42, .22); }
.collect__tag { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; background: rgba(255, 255, 255, .18); font: 700 12px var(--font); letter-spacing: .06em; text-transform: uppercase; }
.collect__title { margin: 0; font: 800 clamp(24px, 6.6vw, 32px)/1.1 var(--font-head); letter-spacing: -.02em; color: #fff; }
.collect__lead { margin: 0; font-size: 15.5px; line-height: 1.45; color: #e7f6ec; }
.collect__bike { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.collect__bike > div:last-child { display: grid; gap: 3px; font-size: 14px; }
.collect__bike b { font: 700 16px var(--font-head); }
.collect__bike .muted, .collect__bike small { color: #cfe9d7; }
.collect__img { background: #fff; border-radius: 4px; display: grid; place-items: center; }
.collect__img .bike-img { max-height: 54px; object-fit: contain; padding: 3px; }
.collect__when { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .2); }
.collect__when > div { background: #0d5424; padding: 9px 11px; }
.collect__when dt { font: 600 10.5px var(--font); letter-spacing: .09em; text-transform: uppercase; color: #a9d9b8; }
.collect__when dd { margin: 2px 0 0; font: 700 15px var(--font-head); color: #fff; }
.collect__when small { display: block; font: 500 12.5px var(--font); color: #cfe9d7; }
.collect__note { margin: 0; font-size: 13px; color: #e7f6ec; }
.collect__where h2, .booking-view--ready .panel h2 { display: flex; align-items: center; gap: 8px; font: 700 17px var(--font-head); margin: 0 0 8px; }
.collect__addr { margin: 0 0 12px; font: 600 16.5px/1.4 var(--font-head); color: var(--ink); user-select: all; -webkit-user-select: all; }
.collect__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.collect__btns .btn { width: 100%; }
@media (max-width: 380px) { .collect__btns { grid-template-columns: 1fr; } }
.bring { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bring li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.bring li:last-child { border-bottom: 0; }
.bring li .ico { margin-top: 2px; color: var(--ink-2); }
.bring li.is-done { color: var(--ink-2); }
.bring li.is-done .ico { color: var(--good); }
.collect__more { margin-top: 18px; }
.ccard--ready { border-color: #3fae3f; border-left-width: 4px; }
.ccard__ready { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-weight: 700; color: #0f5f2a; }

/* ---------------------------------------------------------------- bike changed, complimentary items */
.bchange { margin: 12px 0; padding: 13px 15px; border-radius: var(--radius); border: 1px solid; border-left-width: 5px; display: grid; gap: 6px; }
.bchange--good { background: #e6f6e6; border-color: #3fae3f; color: #0d4d0d; }
.bchange--info { background: #eaf2fc; border-color: #5b95dd; color: #12365f; }
.bchange > b { font: 700 16.5px/1.25 var(--font-head); }
.bchange p { margin: 0; font-size: 14px; }
.bchange__facts { margin: 4px 0 0; display: grid; gap: 4px; font-size: 13.5px; }
.bchange__facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.bchange__facts dt { font-weight: 600; opacity: .85; }
.bchange__facts dd { margin: 0; }
.tag-free { display: inline-block; padding: 0 6px; border-radius: 2px; background: #0f5f2a; color: #fff; font: 700 10.5px/1.7 var(--font); letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.freeitem { display: inline-block; margin: 0 10px 2px 0; }
.lines .is-free td { color: var(--ink-2); }
.free-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.free-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); font-size: 14px; }
.free-list small { display: block; }
.free-pick { margin-top: 0; }
.free-pick .qty-list { margin: 8px 0; }
/* Gear and add-ons on the booking form and the staff sheets (12 Nov 2026): photo, name, price, description, quantity. */
.gearpick { display: grid; gap: 6px; }
.gearpick__lead { margin: -4px 0 10px; }
.gearpick__kind { margin: 10px 0 2px; font: 600 13px/1.3 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.gearpick__kind:first-child { margin-top: 0; }
.gearpick__list { display: grid; gap: 8px; }
.gearcard { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "img body qty" "img desc qty"; align-items: center; column-gap: 12px; row-gap: 4px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--raise); transition: border-color .15s, box-shadow .15s; }
.gearcard.is-on { border-color: var(--brand, var(--s1)); box-shadow: 0 0 0 2px var(--brand-soft, rgba(42, 120, 214, .15)); }
.gearcard__img { grid-area: img; width: 72px; height: 72px; border-radius: 8px; object-fit: contain; background: var(--surface-2); }
.gearcard__img--none { display: grid; place-items: center; color: var(--muted); }
.gearcard__body { grid-area: body; display: grid; gap: 2px; min-width: 0; align-self: end; }
.gearcard .qty { grid-area: qty; }
.gearcard__name { font: 600 15px/1.25 var(--font-head); }
.gearcard__price { font-size: 14px; font-weight: 600; color: var(--brand, var(--ink)); font-variant-numeric: tabular-nums; }
.gearcard__desc { grid-area: desc; align-self: start; font-size: 13px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gearcard--compact { grid-template-columns: 44px 1fr auto; grid-template-areas: "img body qty"; padding: 7px 10px; column-gap: 10px; }
.gearcard--compact .gearcard__img { width: 44px; height: 44px; }
.gearcard--compact .gearcard__body { align-self: center; }
@media (max-width: 480px) {
  .gearcard { grid-template-columns: 56px 1fr auto; grid-template-areas: "img body qty" "desc desc desc"; column-gap: 10px; row-gap: 8px; padding: 10px; }
  .gearcard__img { width: 56px; height: 56px; }
  .gearcard__body { align-self: center; }
  .gearcard .qty { grid-template-columns: 34px 36px 34px; height: 36px; }
  .gearcard__desc { -webkit-line-clamp: 2; }
  .gearcard--compact { grid-template-columns: 44px 1fr auto; grid-template-areas: "img body qty"; }
  .gearcard--compact .gearcard__img { width: 44px; height: 44px; }
  .gearcard__price { font-size: 13px; white-space: nowrap; }
  .gearcard__name { font-size: 14.5px; }
}
/* A gear photo opens full screen when tapped. */
.gearcard__zoom { position: relative; display: block; grid-area: img; cursor: zoom-in; border-radius: 8px; }
.gearcard__zoom i { position: absolute; right: 3px; bottom: 3px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.gearcard__zoom:focus-visible { outline: 2px solid var(--brand, var(--s1)); outline-offset: 2px; }
[data-gearpick] .gearcard--compact { grid-template-columns: 60px 1fr auto; }
[data-gearpick] .gearcard--compact .gearcard__img { width: 60px; height: 60px; }
/* More gear: a row under the standard items that opens the rest (branded helmets, jacket, pants). */
.gearmore { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 2px; padding: 10px 12px; border: 1px dashed var(--axis); border-radius: 10px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.gearmore:hover { border-color: var(--brand, var(--ink-2)); }
.gearmore__text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.gearmore__text b { font: 600 15px var(--font-head); }
.gearmore__text small { color: var(--muted); font-size: 13px; }
.gearmore__n { padding: 3px 9px; border-radius: 12px; background: var(--brand, var(--s1)); color: #fff; font: 600 12px var(--font-head); white-space: nowrap; }
.gearmore__n[hidden] { display: none; }
.gearmore__go { flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(-45deg); }
[data-more-chosen]:empty { display: none; }
.moregear__lead { margin: 0 0 6px; }
.moregear .gearpick__kind { margin: 16px 0 8px; }
.moregear .gearpick__list { display: grid; gap: 10px; }
.moregear__done { position: sticky; bottom: 0; margin: 16px -16px 0; padding: 12px 16px calc(4px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, transparent, var(--surface) 30%); }
/* Manage Products: the gear list. */
.gearadmin__img { width: 48px; height: 48px; border-radius: 6px; object-fit: contain; background: var(--surface-2); display: block; }
.gearadmin__photo { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.gearadmin__photo img, .gearadmin__photo .gearcard__img--none { width: 96px; height: 96px; border-radius: 8px; object-fit: contain; background: var(--surface-2); }

.early { display: grid; gap: 8px; }
.early__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.early__acts .btn.is-on { box-shadow: inset 0 0 0 2px var(--surface); }
.addr-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.addr-acts .btn { font-weight: 600; }

/* ---------------------------------------------------------------- Bookings board (journey) */
.bboard__head { margin-bottom: 8px; }
.navcount { display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: var(--s1); color: #fff; font: 700 11px/18px var(--font-head); text-align: center; }
.topnav a.is-on .navcount { background: #fff; color: var(--ink); }
.bottomnav .dot--blue { background: var(--s1); }

.nextup { margin: 0 0 12px; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); }
.nextup--late { border-left-color: var(--crit); }
.nextup__hi { margin: 0 0 8px; font: 600 15px var(--font-head); }
.nextup__hi small { color: var(--muted); font-weight: 500; }
.nextup__others { margin: 0; color: var(--ink-2); font-size: 14px; display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.nextup__others svg { color: var(--crit); flex: none; margin-top: 3px; }
.nextup .bi { border-left-width: 1px; }

/* The six steps in a row; tap one to jump to it. Scrolls sideways on a narrow phone. */
.journey { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin: 0 0 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.journey::-webkit-scrollbar { display: none; }
.journey__step { position: relative; display: grid; grid-template-rows: auto auto; justify-items: center; gap: 1px; padding: 7px 4px 6px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--rule); text-decoration: none; color: var(--ink-2); min-width: 0; }
.journey__step::after { content: ''; position: absolute; right: -4px; top: 50%; width: 4px; height: 1px; background: var(--axis); }
.journey__step:last-child::after { display: none; }
.journey__n { font: 600 10.5px var(--font-head); color: var(--muted); }
.journey__label { font: 600 12px/1.15 var(--font-head); text-align: center; max-width: 100%; min-height: 2.3em; display: flex; align-items: center; overflow-wrap: anywhere; }
.journey__count { font: 700 17px/1.1 var(--font-head); color: var(--ink); }
.journey__step.is-empty .journey__count { color: var(--muted); font-weight: 600; }
.journey__step.is-mine { border-color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); color: var(--ink); }
.journey__step.is-late .journey__count { color: var(--crit); }
.journey__onit { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--s3); box-shadow: 0 0 0 0 rgba(27, 175, 122, .5); animation: onit 2s infinite; }

.stages { display: grid; gap: 8px; }
.stage { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); scroll-margin-top: calc(var(--top-h) + 8px); }
.stage[open] { padding-bottom: 8px; }
.stage__head { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 12px; cursor: pointer; }
.stage__head::-webkit-details-marker { display: none; }
.stage__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font: 700 12px var(--font-head); color: var(--ink-2); }
.stage--mine .stage__n { background: var(--ink); color: var(--surface); }
.stage__title { display: grid; min-width: 0; }
.stage__title b { font: 600 15px var(--font-head); }
.stage__title small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage__nums { display: flex; gap: 6px; align-items: center; }
.stage__count { min-width: 26px; padding: 1px 7px; border-radius: 12px; background: var(--surface-2); font: 700 13px/20px var(--font-head); text-align: center; }
.stage__late { padding: 1px 7px; border-radius: 12px; background: #fbe7e7; color: var(--crit); font: 700 12px/20px var(--font-head); }
.stage__onit-wrap { grid-column: 2 / -1; }
.stage__onit-wrap:empty { display: none; }
.stage__onit { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; color: #11734f; }
.stage__onit i { width: 7px; height: 7px; border-radius: 50%; background: var(--s3); animation: onit 2s infinite; }
.stage__none { margin: 0 12px 4px; font-size: 13.5px; }
.stage__later { margin: 8px 12px 0; }
.stage__later > summary { cursor: pointer; color: var(--ink-2); font-size: 13.5px; padding: 4px 0; }
.stage__later .bi-list { margin: 6px 0 0; }
.bi-list { display: grid; gap: 6px; margin: 0 8px; }

/* One booking on the board: the next job first, then what it is, then who is on it. */
.bi { display: grid; gap: 3px; padding: 10px 12px; background: var(--raise); border: 1px solid var(--rule); border-left: 3px solid var(--axis); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.bi:hover { border-color: var(--axis); }
.bi--mine { border-left-color: var(--ink); }
.bi--late { border-left-color: var(--crit); }
.bi--waiting { border-left-color: var(--rule); }
.bi__next { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.bi__next b { font: 600 15px var(--font-head); }
.bi--waiting .bi__next b { font-weight: 500; color: var(--ink-2); }
.bi__late { color: var(--crit); font: 700 12px var(--font-head); text-transform: uppercase; letter-spacing: .03em; }
.bi__who { margin-left: auto; padding: 0 7px; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); font: 600 12px/20px var(--font-head); white-space: nowrap; }
.bi__who.is-me { background: var(--ink); color: var(--surface); }
.bi__what { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.bi__ref { font: 500 12.5px var(--font-mono); color: var(--ink-2); }
.bi__when { display: flex; gap: 5px; align-items: center; color: var(--ink-2); font-size: 13px; }
.bi__when svg { flex: none; }
.bi__problem { font-size: 13px; color: #8a3a12; background: #fdf0e8; padding: 4px 8px; border-radius: var(--radius-s); }
.bi__progress { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.meter { display: inline-block; width: 64px; height: 5px; border-radius: 3px; background: var(--track); overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--s3); }
.bi__flags { display: flex; gap: 5px; flex-wrap: wrap; }
.flag { font-size: 12.5px; padding: 2px 8px; border-radius: 10px; background: #fff3d6; color: #6b4a00; }
.flag small { font-weight: 600; }
.flag.is-mine { background: #ffe6a6; }
.flag--blocks { background: #e9f1fc; color: #1d4f8f; }
.flag--attention { background: #fdf0e8; color: #8a3a12; }
.bi__live:empty { display: none; }
.bi__live { display: flex; gap: 6px; flex-wrap: wrap; }
.bi__last { font-size: 12.5px; color: var(--muted); }

/* "Anu is reviewing it to accept · 2 min": a live dot, green while someone is on a step. */
.onit { display: inline-flex; gap: 6px; align-items: center; padding: 2px 9px 2px 7px; border-radius: 12px; background: #e3f6ee; color: #11734f; font-size: 12.5px; font-weight: 500; }
.onit i { width: 7px; height: 7px; border-radius: 50%; background: var(--s3); animation: onit 2s infinite; flex: none; }
.onit small { color: #3d8a6c; font-weight: 400; }
.onit--quiet { background: var(--surface-2); color: var(--ink-2); }
.onit--quiet i { background: var(--muted); animation: none; }
.onit--quiet small { color: var(--muted); }
@keyframes onit { 0% { box-shadow: 0 0 0 0 rgba(27, 175, 122, .5); } 70% { box-shadow: 0 0 0 6px rgba(27, 175, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(27, 175, 122, 0); } }
@media (prefers-reduced-motion: reduce) { .onit i, .stage__onit i, .journey__onit { animation: none; } }

.bboard__search { margin-top: 14px; }
.bboard__links { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }

/* The step on the booking's own page */
.stepnow { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--axis); }
.stepnow--mine { border-left-color: var(--ink); }
.stepnow--late { border-left-color: var(--crit); }
.stepnow__dots { display: flex; gap: 4px; margin: 0 0 6px; padding: 0; list-style: none; }
.stepnow__dots li { flex: 1; height: 4px; border-radius: 2px; background: var(--track); }
.stepnow__dots li.is-done { background: var(--axis); }
.stepnow__dots li.is-now { background: var(--ink); }
.stepnow--late .stepnow__dots li.is-now { background: var(--crit); }
.stepnow__line { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin: 0; }
.stepnow__n { font: 600 12px var(--font-head); color: var(--muted); }
.stepnow__line b { font: 600 16px var(--font-head); }
.stepnow__who { margin-left: auto; padding: 0 8px; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); font: 600 12.5px/22px var(--font-head); }
.stepnow__who.is-me { background: var(--ink); color: var(--surface); }
.stepnow__sub { margin: 3px 0 0; font-size: 13px; color: var(--ink-2); }
.stepnow__live { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.stepnow__live:empty { display: none; }

@media (min-width: 900px) {
  .journey { gap: 6px; }
  .journey__step { padding: 9px 6px 8px; }
  .journey__label { font-size: 13px; }
  .bi-list { margin: 0 12px; }
}

/* ---------------------------------------------------------------- customer: Complete your booking */
.prep { border-left: 3px solid var(--s1); }
.prep--done { border-left-color: var(--good); }
.prep__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.prep__head h2 { margin: 0; }
.prep__count { font: 700 14px var(--font-head); color: var(--ink-2); white-space: nowrap; }
.meter--wide { display: block; width: 100%; height: 6px; margin: 8px 0 8px; }
.prep__lead { margin: 0 0 8px; font-size: 14px; }
.prep__list { list-style: none; margin: 0; padding: 0; display: grid; }
.prep__item { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); }
.prep__item:first-child { border-top: 0; }
.prep__tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--font-head); background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--rule); }
.prep__item.is-done .prep__tick { background: var(--good); color: #fff; border-color: var(--good); }
.prep__item--you.is-todo .prep__tick { background: var(--s1); color: #fff; border-color: var(--s1); }
.prep__body { min-width: 0; }
.prep__label { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin: 0; }
.prep__label small { color: var(--muted); font-size: 12px; }
.prep__item.is-done .prep__label b { font-weight: 500; }
.prep__text { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); }
.prep__do { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
details.prep__do { display: block; }
details.prep__do > summary { display: inline-block; cursor: pointer; color: var(--s1); font-weight: 600; font-size: 14px; padding: 2px 0; }
details.prep__do[open] > summary { margin-bottom: 8px; }
.prep__file { position: relative; }
.prep__file[aria-busy="true"] { opacity: .6; pointer-events: none; }
.prep__total { margin: 10px 0 4px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 14.5px; }
.prep__free { font-size: 13.5px; margin: 0 0 4px; }

/* Early pickup? / Need more time? / Early return? */
.asks { display: grid; gap: 8px; margin: 0 0 12px; }
.asks .panel { margin: 0; }
.ask > summary { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; cursor: pointer; }
.ask > summary b { font: 600 15px var(--font-head); }
.ask__form { margin-top: 10px; }
.ask__form .period__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ask__other { margin: 0; font-size: 13.5px; }

/* Staff: the customer finishes on their phone */
.hc__self { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-2); }
.hc__self span { display: flex; gap: 6px; align-items: flex-start; }
.hc__self svg { flex: none; margin-top: 2px; }
.qr-box { width: min(260px, 70vw); margin: 0 auto; padding: 8px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); }
.qr-box svg { display: block; width: 100%; height: auto; }
.collect__note a { color: #fff; font-weight: 600; }
/* Checklist parts (Identification: licence and IC; Payments: refund account, rental, deposit) */
.prep__parts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.prep__part { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; font-size: 14px; }
.prep__part small { color: var(--ink-2); font-size: 13px; }
.prep__part .prep__do { margin-top: 6px; }
.prep__mini { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); margin-top: 1px; }
.prep__mini.is-done { background: var(--good); color: #fff; }
.prep__item .prep__total { margin: 8px 0 0; padding-top: 8px; font-size: 14px; }
/* The step's main buttons, straight under the step banner on the booking page */
.next--top { margin: 0 0 14px; }

/* ---------------------------------------------------------------- one colour per person
   By role, so it stays right whoever the staff are: customer service (Anu) violet, the shop (Niqqi)
   teal, finance (Firda) gold, the owner slate. Red stays for "late" only; green for done. */
.p-handover { --p: #6741d9; --p-bg: #efeafd; --p-ink: #4527a8; }
.p-shop_ops { --p: #0b7d8c; --p-bg: #e0f3f5; --p-ink: #075e6a; }
.p-finance { --p: #946200; --p-bg: #fdf3dc; --p-ink: #6e4900; }
.p-superuser { --p: #4f5660; --p-bg: #eceef1; --p-ink: #343a40; }
.p-none { --p: var(--axis); --p-bg: var(--surface-2); --p-ink: var(--ink-2); }

.pkey { display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: center; margin: -2px 0 10px; font-size: 13px; }
.pkey__late { display: inline-flex; gap: 6px; align-items: center; color: var(--crit); font-weight: 600; }
.pkey__late::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--crit); }
.pchip { display: inline-flex; gap: 6px; align-items: center; color: var(--p-ink); font-weight: 600; }
.pchip i { width: 9px; height: 9px; border-radius: 50%; background: var(--p); flex: none; }
.stage__onit .pchip { font-size: 12.5px; }
.stage__onit { gap: 8px; color: var(--ink-2); }

/* Board: the stripe, the owner chip and the step number carry the person's colour. */
.bi { border-left: 4px solid var(--p); }
.bi--mine, .bi--late { border-left-color: var(--p); }
.bi--waiting { border-left-color: color-mix(in srgb, var(--p) 35%, var(--surface)); }
.bi--late { box-shadow: inset 0 0 0 1px rgba(208, 59, 59, .28); }
.bi__who { background: var(--p-bg); color: var(--p-ink); }
.bi__who.is-me { background: var(--p); color: #fff; }
.stage { border-left: 4px solid var(--p); }
.stage__n { background: var(--p-bg); color: var(--p-ink); }
.stage--mine .stage__n { background: var(--p); color: #fff; }
.journey__step { box-shadow: inset 0 -3px 0 var(--p); }
.journey__step.is-mine { border-color: var(--p); background: var(--p-bg); box-shadow: inset 0 -3px 0 var(--p); }
.journey__onit { background: var(--ink-2); animation: none; }
.flag--person { background: var(--p-bg); color: var(--p-ink); display: inline-flex; gap: 6px; align-items: center; }
.flag--person .pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--p); flex: none; }
.flag--person.is-mine { box-shadow: inset 0 0 0 1px var(--p); }

/* "Niqqi is on the handover": in Niqqi's colour, the dot pulsing while she is on it. */
.onit { background: var(--p-bg); color: var(--p-ink); }
.onit i { background: var(--p); animation: onitp 2s infinite; }
.onit small { color: var(--p-ink); opacity: .75; }
.onit--quiet { background: var(--surface-2); color: var(--ink-2); }
.onit--quiet i { background: var(--p); animation: none; }
@keyframes onitp { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--p) 55%, transparent); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .onit i { animation: none; } }

/* The step on the booking page, in the colour of whoever does it. */
.stepnow { border-left: 4px solid var(--p); }
.stepnow--mine, .stepnow--late { border-left-color: var(--p); }
.stepnow__dots li.is-now, .stepnow--late .stepnow__dots li.is-now { background: var(--p); }
.stepnow__who { background: var(--p-bg); color: var(--p-ink); }
.stepnow__who.is-me { background: var(--p); color: #fff; }
.stage__onit .pchip i { width: 9px; height: 9px; background: var(--p); animation: none; box-shadow: none; }

/* Before handover, grouped into four steps (like the customer's checklist) */
.hc__head .hc__count { margin-left: auto; font: 700 13px var(--font-head); color: var(--ink-2); }
.hc__group { align-items: start; }
.hc__group .check-row__icon { margin-top: 1px; }
.hc__group .check-row__text { display: grid; gap: 2px; }
.hc__parts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.hc__parts li { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.hc__parts li small { color: var(--crit); font-weight: 600; }
.hc__done { color: var(--ink-2) !important; font-weight: 400 !important; }
.hc__more > summary { cursor: pointer; color: var(--s1); font-size: 13px; padding: 2px 0; width: fit-content; }
.hc__more[open] > summary { margin-bottom: 4px; }
/* Customer details opens to who is coming (owner, 27 Nov 2026) */
.hc__who > summary { list-style: none; cursor: pointer; display: grid; gap: 3px; -webkit-tap-highlight-color: transparent; }
.hc__who > summary::-webkit-details-marker { display: none; }
.hc__who-head { display: grid; gap: 2px; }
.hc__who-line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: 13.5px; color: var(--ink); }
.hc__who-line svg { color: var(--ink-2); }
.hc__who-tap { font-style: normal; font-weight: 600; font-size: 12.5px; color: var(--s1); text-decoration: underline; text-underline-offset: 2px; }
.hc__who-tap .is-hide, .hc__who[open] .hc__who-tap .is-show { display: none; }
.hc__who[open] .hc__who-tap .is-hide { display: inline; }
.hc__who-kv { margin-top: 8px; }
.hc__who-kv > div { font-size: 13.5px; padding: 6px 0; }
.hc__who-kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.hc__who-kv dd .hc__meta { justify-content: flex-end; margin: 0; }
.hc__who-acts { margin-top: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Live view (the shop in 2.5D) */
.lv { max-width: 1400px; }
.lv__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.lv__head h1 { margin: 0; }
.lv__sum { margin: 2px 0 0; color: var(--ink-2); font-size: 13.5px; }
.lv__tools { display: flex; gap: 4px; align-items: center; }
.lv__key { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 8px 0; font-size: 12.5px; color: var(--ink-2); }
.lv-key { display: inline-flex; gap: 6px; align-items: center; }
.lv-key i { width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--tone); background: color-mix(in srgb, var(--tone) 18%, transparent); }
.lv__people { display: inline-flex; gap: 10px; margin-left: auto; }
.lv-tone--ok, .lv-key--ok { --tone: #1aa34a; }
.lv-tone--today, .lv-key--today { --tone: #2a78d6; }
.lv-tone--inspect, .lv-key--inspect { --tone: #d08a00; }
.lv-tone--repair, .lv-key--repair { --tone: #e0703f; }
.lv-tone--late, .lv-key--late { --tone: #d03b3b; }
.lv-tone--out { --tone: #2a78d6; }
.lv-tone--blocked { --tone: #8a9096; }

.lv__stage { position: relative; height: max(440px, calc(100dvh - var(--top-h) - var(--nav-h) - 170px)); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: #eef0ec; touch-action: none; user-select: none; -webkit-user-select: none; }
.lv__canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.lv__canvas:active { cursor: grabbing; }
.lv__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lv__hint { position: absolute; left: 10px; bottom: 8px; margin: 0; padding: 4px 8px; border-radius: 4px; background: rgba(252, 252, 251, .86); color: var(--ink-2); font-size: 12px; pointer-events: none; max-width: calc(100% - 20px); }
.lv__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); font: 600 15px var(--font-head); background: #eef0ec; }

/* Badges pinned over the scene */
.lv-tag { position: absolute; left: 0; top: 0; pointer-events: auto; display: grid; justify-items: center; gap: 1px; padding: 3px 7px; border-radius: 10px; border: 1px solid var(--rule); background: rgba(255, 255, 255, .94); color: var(--ink); font: 600 11.5px/1.25 var(--font-head); white-space: nowrap; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); cursor: pointer; will-change: transform; }
.lv-tag small { font: 500 11px/1.2 var(--font); color: var(--ink-2); }
.lv-tag:hover, .lv-tag.is-selected { border-color: var(--ink); z-index: 2; }
.lv-tag.is-selected { box-shadow: 0 0 0 2px var(--ink); }
.lv-tag--bike { grid-auto-flow: column; align-items: center; gap: 4px; padding: 2px 7px 2px 3px; border-color: color-mix(in srgb, var(--tone) 55%, transparent); }
.lv-tag--bike small { grid-column: 1 / -1; }
.lv-tag--street { grid-auto-flow: row; grid-template-columns: auto auto; }
.lv-tag__ico { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--tone); color: #fff; }
.lv-tag__ico svg { width: 12px; height: 12px; }
.lv-tag__plate { font: 600 11px var(--font-mono); }
.lv--small:not(.lv--near) .lv-tag--bike:not(.lv-tag--street) .lv-tag__plate,
.lv--small:not(.lv--near) .lv-tag--bike:not(.lv-tag--street) small { display: none; }
.lv--small:not(.lv--near) .lv-tag--bike:not(.lv-tag--street) { padding: 2px; border-radius: 50%; }
.lv-tag .lv-s { display: none; }
.lv--small:not(.lv--near) .lv-tag .lv-l { display: none; }
.lv--small:not(.lv--near) .lv-tag .lv-s { display: inline; }
/* On a phone, seen from afar: people and places on one line, so they do not pile up. */
.lv--small:not(.lv--near) .lv-tag--place,
.lv--small:not(.lv--near) .lv-tag--person { grid-auto-flow: column; align-items: baseline; gap: 5px; padding: 3px 7px; }
.lv--small:not(.lv--near) .lv-tag__on { display: none; }
.lv-tag--person { border-color: var(--p); background: var(--p-bg); color: var(--p-ink); padding: 4px 9px; }
.lv-tag--person b { display: inline-flex; gap: 5px; align-items: center; }
.lv-tag--person b i { width: 8px; height: 8px; border-radius: 50%; background: var(--p); }
.lv-tag--person small { color: var(--p-ink); }
.lv-tag--person em { font-style: normal; color: var(--crit); font-weight: 700; }
.lv-tag__on { font: 500 11px var(--font); color: var(--p-ink); background: #fff; border-radius: 6px; padding: 0 5px; margin-top: 2px; }
.lv-tag--place { background: #1b1f24; color: #fff; border-color: #1b1f24; }
.lv-tag--place small { color: #c9ced6; }
.lv-tag--warn { background: #8a4b00; border-color: #8a4b00; }
.lv-tag--zone { pointer-events: none; background: transparent; border: 0; box-shadow: none; color: var(--muted); font: 700 11px var(--font-head); letter-spacing: .06em; text-transform: uppercase; cursor: default; }
.lv-tag--group { color: color-mix(in srgb, var(--tone) 75%, #000); background: rgba(255, 255, 255, .8); border-radius: 4px; padding: 1px 6px; }
.lv-tag--sign { pointer-events: none; background: #2a78d6; color: #fff; border-color: #2a78d6; cursor: default; }

/* Labels: all, people and places only, or none (the open panel's own label stays) */
.lv__lbl { grid-auto-flow: column; gap: 5px; padding: 0 9px; border-color: var(--rule); font: 600 12.5px var(--font-head); color: var(--ink-2); white-space: nowrap; }
.lv--labels-key .lv-tag--bike:not(.is-selected), .lv--labels-key .lv-tag--zone, .lv--labels-key .lv-tag--sign,
.lv--labels-off .lv-tag:not(.is-selected) { display: none; }

/* The panel: details and the way into the normal screens */
.lv-peek { position: fixed; z-index: 30; right: 16px; top: calc(var(--top-h) + 16px); width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - var(--top-h) - 32px); overflow: auto; padding: 14px; background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .16); animation: lvIn .22s ease-out; }
@keyframes lvIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* In the picture: a side panel inside the stage, so the toolbar above stays free. */
.lv__stage > .lv-peek { position: absolute; z-index: 5; top: 10px; right: 10px; bottom: auto; width: min(370px, calc(100% - 20px)); max-height: calc(100% - 20px); user-select: text; -webkit-user-select: text; touch-action: auto; }
/* In the list: it floats at the bottom right. */
.lv > .lv-peek { top: auto; bottom: 16px; }
.lv-peek__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.lv-peek__head h2 { margin: 0; font-size: 18px; }
.lv-peek__head h2 small { font: 500 13px var(--font); color: var(--ink-2); margin-left: 4px; }
.lv-peek__head p { margin: 4px 0 0; color: var(--ink-2); font-size: 13.5px; }
.lv-peek__h { margin: 10px 0 4px; font-size: 13px; color: var(--ink-2); }
.lv-peek__kv { margin: 6px 0 10px; }
.lv-peek .onit { margin: 0 0 8px; }
.lv-state { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ink); }
.lv-state i { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); }
.lv-jobs { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.lv-jobs a { display: grid; gap: 1px; padding: 7px 9px; border-radius: var(--radius-s); border: 1px solid var(--rule); border-left: 3px solid var(--axis); text-decoration: none; color: var(--ink); background: var(--surface); }
.lv-jobs a:hover { border-color: var(--axis); }
.lv-jobs b { font: 600 13.5px var(--font-head); }
.lv-jobs span { font-size: 12.5px; color: var(--ink-2); }
.lv-jobs li.is-late a { border-left-color: var(--crit); }
@media (max-width: 640px) {
  .lv__stage { height: max(380px, calc(100dvh - var(--top-h) - var(--nav-h) - 215px)); }
  .lv .lv-peek { position: fixed; z-index: 30; left: 0; right: 0; top: auto; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); width: 100%; max-height: 52dvh; border-radius: 12px 12px 0 0; animation-name: lvUp; }
  @keyframes lvUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
  .lv__people { margin-left: 0; }
  .lv__hint { display: none; }
}

/* The same information as a list (and where 3D cannot run) */
.lv__list section { margin: 0 0 14px; }
.lv__list h2 { font-size: 15px; margin: 0 0 6px; }
.lv__list h2 small { color: var(--muted); font-weight: 600; }
.lv-list__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lv-list__bikes { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.lv-row { display: flex; gap: 8px; align-items: baseline; width: 100%; text-align: left; padding: 8px 10px; margin: 0 0 6px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.lv-row b { font: 600 14px var(--font-head); }
.lv-row span { color: var(--ink-2); font-size: 13px; }
.lv-row__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tone, var(--p, var(--axis))); flex: none; align-self: center; }

/* ---------------------------------------------------------------- moving from the old admin */
/* Labels describe the software (NEW, UPDATED...), never a booking. Small and quiet on purpose. */
.tbadge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 5px; border: 1px solid var(--tb); border-radius: 4px; background: var(--tb-bg); color: var(--tb); font: 700 10px/1.45 var(--font-head); letter-spacing: .05em; white-space: nowrap; text-decoration: none; }
a.tbadge:hover { background: var(--tb); color: #fff; }
h1 .tbadge { position: relative; top: -3px; }
.tbadge--new { --tb: #0b6e5f; --tb-bg: #e3f3ef; }
.tbadge--updated { --tb: #1f5fae; --tb-bg: #e6eef9; }
.tbadge--unchanged { --tb: #5b636b; --tb-bg: #f1f2f3; }
.tbadge--legacy { --tb: #8a5a00; --tb-bg: #fbf1dc; }
.tbadge--dev { --tb: #6b7178; --tb-bg: #eceef0; border-style: dashed; }
.menu a .tbadge { margin-left: auto; }
.menu-h { margin: 18px 0 2px; font-size: 15px; display: flex; align-items: center; gap: 4px; }
.tguide__key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); margin: 8px 0 12px; }
.tguide__key .tbadge { margin-left: 0; margin-right: 2px; }
.tguide__group { margin: 18px 0 8px; }
.tguide__group > h2 { font-size: 17px; margin: 0 0 4px; }
.tguide__group > h2 small { color: var(--muted); font-weight: 600; }
.tguide__area { margin: 12px 0 6px; font: 700 11.5px var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tg { margin: 0 0 6px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--raise); scroll-margin-top: calc(var(--top-h) + 12px); }
.tg.is-target { border-color: var(--ink); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ink) 18%, transparent); }
.tg > summary { display: grid; grid-template-columns: 1fr auto 12px; grid-template-areas: "name go chev"; align-items: center; gap: 4px 12px; padding: 9px 12px; cursor: pointer; list-style: none; min-height: 44px; }
.tg > summary::-webkit-details-marker { display: none; }
.tg > summary::after { content: ''; grid-area: chev; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -3px; }
.tg[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.tg__name { grid-area: name; font: 600 14px var(--font-head); }
.tg__go { grid-area: go; }
@media (max-width: 560px) { .tg > summary { grid-template-columns: 1fr 12px; grid-template-areas: "name chev" "go go"; } }
.tg__name .tbadge { margin-left: 4px; }
.tg__go { font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.tg > summary > * { min-width: 0; }
.tg dl { margin: 0; padding: 0 12px 10px; display: grid; gap: 4px; }
.tg dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 8px; font-size: 13.5px; }
.tg dt { color: var(--ink-2); font-weight: 600; }
.tg dd { margin: 0; }
@media (max-width: 520px) { .tg dl > div { grid-template-columns: 1fr; gap: 0; } .tg dl > div + div { margin-top: 4px; } }

/* ---------------------------------------------------------------- side panel (wide screens), as on the old admin */
.sidenav { display: none; }
@media (min-width: 1100px) {
  body.has-side .sidenav:not([hidden]) { display: block; position: fixed; z-index: 20; left: 0; top: var(--top-h); bottom: 0; width: 256px; overflow-y: auto; padding: 16px 12px 24px 16px; border-right: 1px solid var(--rule); background: var(--surface); }
  body.has-side #view { margin-left: 256px; }
}
.sidenav__box { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); padding: 12px 10px; margin: 0 0 14px; }
.sidenav__hi { margin: 0 6px 8px; color: var(--ink-2); font-size: 13px; }
.sidenav__h { display: flex; align-items: center; gap: 2px; margin: 10px 6px 4px; font: 700 11px var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sidenav__h .tbadge { margin-left: 6px; }
.sidenav__list { list-style: none; margin: 0; padding: 0; }
.sidenav__list a { display: flex; align-items: center; gap: 8px; padding: 6px 6px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.sidenav__list a:hover { background: var(--surface-2); }
.sidenav__list a.is-on { background: var(--surface-2); font-weight: 600; }
.sidenav__list a .tbadge { margin-left: auto; font-size: 8.5px; padding: 0 4px; flex: none; }
.sidenav__e { width: 20px; text-align: center; }
.sidenav__guide { margin: 10px 6px 0; font-size: 12.5px; }

/* ---------------------------------------------------------------- invoice and rental agreement (the current website's layout) */
.docs-panel__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.docpage__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 10px; }
.docpage__head h1 { margin: 0; }
.docpage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.docpage__actions .is-busy { opacity: .45; pointer-events: none; }
.docpage__status { font-size: 13px; }
.pw { --doc-red: #b70000; --doc-pink: #fbe9e9; --doc-label: #fdf2f2; --doc-line: #e0b0b0; position: relative; background: #fff; color: #222; border: 1px solid var(--rule); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); padding: 28px 30px 20px; font: 13px/1.45 Roboto, 'Segoe UI', system-ui, -apple-system, sans-serif; overflow: hidden; }
.pw::before { content: ''; position: absolute; inset: 120px 0 auto; height: 420px; background: url(/img/docs/logo-tilted.png) center / 360px no-repeat; opacity: .06; pointer-events: none; }
.pw > * { position: relative; }
.pw__top { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: start; margin-bottom: 14px; }
.pw__logo { grid-column: 1 / -1; width: 145px; height: auto; }
.pw__company { display: grid; text-align: center; font-size: 12px; }
.pw__company b { color: var(--doc-red); font-size: 17px; line-height: 1.2; margin-bottom: 2px; }
.pw__idbox { min-width: 170px; }
.pw__invtitle { background: #000; color: #fff; font-weight: 700; font-size: 20px; text-align: center; padding: 3px 8px; margin-bottom: 5px; }
.pw__idbox table { border-collapse: collapse; width: 100%; font-size: 12px; }
.pw__idbox th, .pw__idbox td { border: 1px solid #000; padding: 4px 6px; text-align: center; }
.pw__idbox th { background: #f0f0f0; }
.pw__draft { color: var(--doc-red); font-weight: 700; text-align: center; border: 1px dashed var(--doc-red); padding: 6px; }
.pw__bar { margin: 16px 0 6px; padding: 5px 8px; background: var(--doc-pink); color: var(--doc-red); border: 1px solid #000; font-weight: 700; font-size: 14px; line-height: 1.3; }
.pw__billto { display: grid; margin: 4px 0 6px; }
.pw__billto b { font-size: 15px; margin-bottom: 6px; }
.pw__gap { margin-top: 8px; }
.pw__small { font-size: 12px; margin: 0 0 4px; }
.pw table.pw__lines { width: 100%; border-collapse: collapse; font-size: 13px; }
.pw__lines th, .pw__lines td { border: 1px solid #ccc; padding: 6px 7px; vertical-align: top; text-align: left; }
.pw__lines th { background: #f0f0f0; }
.pw__lines .num { text-align: right; white-space: nowrap; width: 1%; }
.pw__item td { font-size: 12px; }
.pw__item small { display: block; color: #444; }
.pw__sep td { border: 0; height: 8px; padding: 0; }
.pw__total td { background: var(--doc-pink); color: var(--doc-red); font-weight: 700; font-size: 15px; padding: 9px 7px; }
.pw__lines .is-green td { color: #1a7a3a; }
.pw__lines .is-credit td { color: #1a7a3a; font-style: italic; }
.pw__lines .is-muted td { color: #555; }
.pw__close td { font-weight: 700; font-size: 14px; }
.pw__close.is-red td { color: var(--doc-red); }
.pw__thanks { text-align: center; font-style: italic; color: var(--doc-red); font-size: 15px; margin: 18px 0 0; }
.pw__pay { margin: 4px 0; display: grid; gap: 2px; }
.pw__pay div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.pw__pay dt { font-weight: 700; }
.pw__pay dd { margin: 0; }
.pw__foot { display: grid; gap: 2px; text-align: center; margin-top: 22px; padding-top: 10px; border-top: 1px solid #eee; font-size: 11px; color: #555; }
.pw__foot b { color: var(--doc-red); font-weight: 400; }
.pw__top--agreement { grid-template-columns: 1fr auto; }
.pw__top--agreement .pw__logo { grid-column: 1; }
.pw__meta { text-align: right; font-size: 11px; color: #666; }
.pw__title { text-align: center; color: var(--doc-red); font-size: 22px; margin: 4px 0 6px; }
.pw__rule { border: 0; border-top: 1px solid #ccc; width: 60%; margin: 6px auto 12px; }
.pw__intro { font-size: 12px; text-align: justify; color: #333; }
.pw__sec { margin: 16px 0 8px; padding: 3px 9px; border-left: 4px solid var(--doc-red); color: var(--doc-red); font-weight: 700; font-size: 13px; line-height: 1.4; }
.pw__scroll { overflow-x: auto; }
.pw table.pw__grid { width: 100%; border-collapse: collapse; font-size: 12px; }
.pw__grid th, .pw__grid td { border: 1px solid var(--doc-line); padding: 6px; text-align: left; vertical-align: top; }
.pw__grid thead th { background: var(--doc-label); color: var(--doc-red); }
.pw__grid--kv th { background: var(--doc-label); width: 32%; }
.pw__grid .num { text-align: right; white-space: nowrap; }
.pw table.pw__plain { width: 100%; border-collapse: collapse; font-size: 12px; }
.pw__plain td { border: 1px solid #333; padding: 6px; }
.pw__text { font-size: 12.5px; text-align: justify; color: #333; }
.pw__duties { font-size: 12.5px; color: #333; padding-left: 20px; margin: 0; display: grid; gap: 4px; }
.pw__signs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; font-size: 12px; }
.pw__signs > div { display: grid; align-content: start; gap: 2px; }
.pw__signs > div > b { margin-bottom: 14px; font-size: 11px; }
.pw__signs small { color: #666; }
.pw__signline { display: block; border-bottom: 1px solid #999; height: 26px; width: 85%; }
@media (max-width: 560px) {
  .pw { padding: 18px 14px 14px; font-size: 12.5px; }
  .pw__top { grid-template-columns: 1fr; }
  .pw__company { text-align: left; }
  .pw__idbox { min-width: 0; }
  .pw__top--agreement { grid-template-columns: 1fr; }
  .pw__meta { text-align: left; }
  .pw__signs { grid-template-columns: 1fr; }
}
@media print {
  body.has-side #view { margin-left: 0; }
  .sidenav, .topbar, #bottomnav, .back, .docpage__head nav, .docpage__actions, .docpage .hint { display: none !important; }
  .pw { border: 0; box-shadow: none; padding: 0; }
}

/* ---------------------------------------------------------------- customer website: photos, reviews, ride guides
   Photos sit in the same thin-ruled frames as everything else; the date search stays first. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__inner--photo { display: grid; gap: 16px; }
.hero__main { min-width: 0; }
.hero__trust:empty { display: none; }
.hero__trust { margin-top: 12px; }
.hero__photo { position: relative; display: block; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius-s); background: #0b0b0b; aspect-ratio: 16 / 9; max-width: 100%; color: #fff; text-decoration: none; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__tag { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: var(--radius-s); background: rgba(11, 11, 11, .74); font-size: 13px; }
.hero__tag b { font: 600 13.5px var(--font-head); }
.hero__photo:hover .hero__tag { background: rgba(11, 11, 11, .9); }

.stars { color: #e3a008; letter-spacing: .04em; font-size: 14px; line-height: 1; white-space: nowrap; }
.stars i { color: var(--grid); font-style: normal; }
.rating { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-size: 14px; }
.rating b { font: 700 15px var(--font-head); }
.rating span { color: var(--ink-2); }
.rating:hover span { text-decoration: underline; }
.rating--compact { font-size: 13px; margin: 2px 0 6px; }

.home-sec { margin-top: 30px; }
.home-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 12px; }
.home-sec__head h2 { font: 700 20px/1.2 var(--font-head); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.home-sec__head > a { font-size: 14px; color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 2px; }
.home-sec__head > a:hover { color: var(--ink); text-decoration: underline; }
.home-sec__more { margin: 12px 0 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.home-sec__more a { color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.home-info .facts { margin-top: 30px; }

.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kind { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; text-decoration: none; color: var(--ink); }
.kind:hover { border-color: var(--axis); }
.kind__img { display: block; aspect-ratio: 3 / 2; background: #2a2a2a; overflow: hidden; position: relative; }
.hero__photo .atab { left: 10px; font-size: 12.5px; padding: 5px 10px 6px; }
.kind__img > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 94%; display: block; transition: transform .25s ease; }
.kind:hover .kind__img > img { transform: scale(1.03); }
/* A line-up of the kind's bikes, angled side by side on the shop's backdrop (owner, 22 Nov 2026), so a kind reads as a
   choice of bikes. The middle bike is in front; the side ones lean out and spread a little on hover. */
.kind__img--lineup { background: #2b2b2b url(/img/kinds/backdrop.webp) 50% 35% / cover no-repeat; container-type: inline-size; }
.lineup { position: absolute; inset: 10% 0 6%; pointer-events: none; }
/* Each bike stands on its slot: centre --x, height --h in card widths (so every bike stands the same height whatever its
   shape), tilt --r, lifted --b, and --dx it moves out on hover. The bikes face right, so each one is in front of the bike
   to its right (--z): no bike's front is covered (owner, 22 Nov 2026). */
.lineup__bike { position: absolute; left: var(--x); bottom: var(--b); width: auto; max-width: none; height: calc(var(--h) * 1cqw);
  z-index: var(--z); transform: translateX(-50%) rotate(var(--r)); transform-origin: 50% 100%;
  filter: drop-shadow(0 7px 5px rgba(0, 0, 0, .55)); transition: transform .3s ease; }
.kind:hover .lineup__bike { transform: translateX(calc(-50% + var(--dx))) rotate(calc(var(--r) * 1.3)); }
@supports not (height: 1cqw) { .lineup__bike { height: calc(var(--h) * 1.9%); } }
.lineup--2 .lineup__bike--0 { --x: 36%; --h: 40; --r: -6deg; --b: 1%; --z: 2; --dx: -4%; }
.lineup--2 .lineup__bike--1 { --x: 67%; --h: 40; --r: 6deg; --b: 1%; --z: 1; --dx: 4%; }
.lineup--3 .lineup__bike--0 { --x: 25%; --h: 36; --r: -9deg; --b: 2%; --z: 3; --dx: -6%; }
.lineup--3 .lineup__bike--1 { --x: 50%; --h: 39; --r: 0deg; --b: 0%; --z: 2; --dx: 0%; }
.lineup--3 .lineup__bike--2 { --x: 75%; --h: 36; --r: 9deg; --b: 2%; --z: 1; --dx: 6%; }
.lineup--4 .lineup__bike--0 { --x: 19%; --h: 33; --r: -9deg; --b: 2%; --z: 4; --dx: -6%; }
.lineup--4 .lineup__bike--1 { --x: 39.5%; --h: 35; --r: -4deg; --b: 1%; --z: 3; --dx: -3%; }
.lineup--4 .lineup__bike--2 { --x: 60.5%; --h: 35; --r: 4deg; --b: 1%; --z: 2; --dx: 3%; }
.lineup--4 .lineup__bike--3 { --x: 80%; --h: 33; --r: 9deg; --b: 2%; --z: 1; --dx: 6%; }
.lineup--5 .lineup__bike--0 { --x: 18%; --h: 28; --r: -8deg; --b: 2%; --z: 5; --dx: -6%; }
.lineup--5 .lineup__bike--1 { --x: 34%; --h: 29.5; --r: -4deg; --b: 1%; --z: 4; --dx: -4%; }
.lineup--5 .lineup__bike--2 { --x: 50%; --h: 31.5; --r: 0deg; --b: 0%; --z: 3; --dx: 0%; }
.lineup--5 .lineup__bike--3 { --x: 66%; --h: 29.5; --r: 4deg; --b: 1%; --z: 2; --dx: 4%; }
.lineup--5 .lineup__bike--4 { --x: 79%; --h: 28; --r: 8deg; --b: 2%; --z: 1; --dx: 6%; }
.kind__t small.kind__n { color: var(--tone, var(--ink-2)); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .lineup__bike { transition: none; } }
.kind__t { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; min-width: 0; }
.kind__t > b { font: 600 15px/1.25 var(--font-head); }
.kind__t small { color: var(--ink-2); font-size: 12.5px; line-height: 1.35; }
.kind__t > span { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.kind__t > span b { color: var(--ink); font: 700 14.5px var(--font-head); }

.rvs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 86%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.rv { margin: 0; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 14px 15px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rv__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rv__src { font: 600 10.5px var(--font); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.rv__text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.rv__text p { margin: 0; }
.rv__text[data-clamp] { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv__text.is-open { display: block; -webkit-line-clamp: unset; }
.rv__more { align-self: flex-start; font-size: 13px; }
.rv figcaption { font-size: 13px; margin-top: auto; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.rv figcaption span { color: var(--muted); }

.gcards { display: grid; gap: 10px; }
.gcard { display: grid; grid-template-columns: 108px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; text-decoration: none; color: var(--ink); min-width: 0; }
.gcard:hover { border-color: var(--axis); }
.gcard__img { background: var(--surface-2); overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard__body { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gcard__body h3 { font: 600 15px/1.3 var(--font-head); margin: 0; text-wrap: balance; }
.gcard__body p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard__meta { margin-top: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.guides__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 20px; }
.guides__head h1 { margin-bottom: 4px; }
.guides__head .lead { max-width: 60ch; margin: 0; }
.guides__head .seg { margin: 0; min-width: 230px; }
.seg > a { display: grid; place-items: center; padding: 7px 10px; border-radius: var(--radius-s); text-decoration: none; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.seg > a.is-on { background: var(--raise); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); font-weight: 600; }
.guides__cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 18px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); border-radius: var(--radius-s); text-decoration: none; color: var(--ink-2); font-size: 14px; }
.guides__cta b { color: var(--ink); }
.guides__cta .btn { flex: none; }

.guide-page { display: grid; gap: 22px; padding-bottom: 90px; }
.guide { min-width: 0; }
.guide__crumb { margin: 0 0 8px; }
.guide__crumb a { font: 600 11.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.guide__crumb a:hover { color: var(--ink); }
.guide h1 { font: 700 clamp(25px, 5.4vw, 36px)/1.14 var(--font-head); letter-spacing: -.022em; margin: 0 0 8px; text-wrap: balance; max-width: 26ch; }
.guide__meta { color: var(--muted); font-size: 13.5px; margin: 0; }
.guide__meta a { color: var(--ink-2); }
.guide__cover { margin: 16px 0 20px; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface-2); max-width: 100%; }
.guide__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide__body { font-size: 16.5px; line-height: 1.65; max-width: 66ch; color: var(--ink); }
.guide__body p { margin: 0 0 14px; }
.guide__body h2 { font: 700 21px/1.25 var(--font-head); letter-spacing: -.01em; margin: 28px 0 8px; text-wrap: balance; }
.guide__body h3 { font: 600 17px/1.3 var(--font-head); margin: 22px 0 6px; }
.guide__body ul, .guide__body ol { padding-left: 22px; margin: 0 0 14px; }
.guide__body li { margin: 4px 0; }
.guide__body a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.guide__body blockquote { margin: 0 0 14px; padding: 8px 14px; border-left: 3px solid var(--ink); background: var(--surface-2); }
.guide__aside { display: grid; gap: 14px; align-content: start; min-width: 0; }
.bookbox { display: grid; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--ink); border-radius: var(--radius-s); scroll-margin-top: calc(var(--top-h) + 16px); }
.bookbox h2 { font: 700 18px var(--font-head); margin: 0; }
.bookbox > .muted { margin: 0; font-size: 13.5px; }
.bookbox__where { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 12.5px; color: var(--muted); }
.bookbox__where svg { flex: none; margin-top: 1px; }
.gbikes h2 { font: 600 14px var(--font-head); margin: 0 0 8px; }
.gbike { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; margin-top: 8px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); }
.gbike:hover { border-color: var(--axis); }
.gbike__img { flex: none; width: 76px; height: 57px; overflow: hidden; border-radius: var(--radius-s); background: #2a2a2a; }
.gbike__img .bike-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 88%; padding: 0; }
.gbike__t { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.gbike__t b { font: 600 14px var(--font-head); }
.gbike__t small { color: var(--muted); font-size: 12px; }
.gbike__t span { font-size: 13px; color: var(--ink-2); }
.guide__more { margin-top: 10px; }
.guide-bar { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); z-index: 25; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: var(--raise); border-top: 1px solid var(--rule); box-shadow: 0 -4px 14px rgba(0, 0, 0, .05); transition: transform .2s ease; font-size: 14px; }
.guide-bar b { font: 700 17px var(--font-head); }
.guide-bar small { color: var(--muted); }
.guide-bar.is-away { transform: translateY(calc(100% + var(--nav-h) + 20px)); }

.review-ask { border-left: 3px solid #e3a008; }

/* Staff: Manage Reviews, Manage Articles */
.rvlist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.rvrow { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 12px 14px; }
.rvrow.is-hidden { background: transparent; }
.rvrow__top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.rvrow__top .pill { margin-left: auto; }
.rvrow__text { margin: 8px 0; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rvrow .actions { margin-top: 6px; }
.arts { list-style: none; padding: 0; margin: 6px 0 0; border-top: 1px solid var(--rule); }
.art { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.art:hover { background: var(--surface); }
.art__img { flex: none; width: 72px; height: 44px; border-radius: var(--radius-s); overflow: hidden; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.art__img img { width: 100%; height: 100%; object-fit: cover; }
.art__t { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
.art__t b { font: 600 14.5px/1.3 var(--font-head); }
.art__t small { color: var(--muted); font-size: 12.5px; }
.arted .seg { max-width: 320px; }
.seg > button { border: 0; background: transparent; padding: 7px 10px; border-radius: var(--radius-s); color: var(--ink-2); font: 500 13.5px var(--font); cursor: pointer; }
.seg > button.is-on { background: var(--raise); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); font-weight: 600; }
.artlang { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.tbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.artbody { font: 13.5px/1.6 var(--font-mono); }
.artprev { margin-top: 10px; padding: 14px 16px; background: var(--raise); border: 1px dashed var(--axis); border-radius: var(--radius-s); font-size: 15px; }
.artcover img { display: block; width: 100%; max-width: 480px; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--rule); border-radius: var(--radius-s); }

@media (min-width: 640px) {
  .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gcard { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .gcard__img { aspect-ratio: 16 / 9; }
  .gcard__body { padding: 12px 14px 14px; }
}
@media (min-width: 900px) {
  .hero__inner--photo { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: center; }
  .kinds { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rvs { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
  .gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-page { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px 40px; padding-bottom: 36px; max-width: 1060px; }
  .guide__aside { position: sticky; top: calc(var(--top-h) + 16px); }
  .guide__more { grid-column: 1 / -1; }
  .guide-bar { display: none; }
}

/* Booking form: the address comes after the booking (owner, 26 Oct 2026) */
.book__later { display: flex; gap: 7px; align-items: flex-start; margin: 12px 0 0; }
.book__later svg { flex: none; margin-top: 2px; }
.book [data-delivery] { margin-top: 14px; }
.book__hand fieldset + fieldset { margin-top: 16px; }

/* Checklist lines edited in place (owner, 26 Oct 2026): tap a line, or Edit on the right */
.prep__item { display: block; padding: 0; }
.prep__row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 0; }
summary.prep__row { cursor: pointer; list-style: none; border-radius: var(--radius-s); margin: 0 -6px; padding: 12px 6px; }
summary.prep__row::-webkit-details-marker { display: none; }
summary.prep__row:hover { background: var(--surface-2); }
summary.prep__row:focus-visible { outline: 2px solid var(--s1); outline-offset: 1px; }
.prep__main { display: flex; flex-direction: column; min-width: 0; }
.prep__main .prep__label { display: block; font-size: 15px; }
.prep__main .prep__text { margin-top: 2px; }
.prep__act { display: inline-flex; align-items: center; gap: 2px; padding-top: 1px; color: var(--s1); font: 600 13.5px var(--font); white-space: nowrap; }
.prep__act svg { transition: transform .15s ease; }
.prep__fold[open] .prep__act svg { transform: rotate(90deg); }
.prep__item.is-done .prep__act { color: var(--ink-2); }
.prep__panel { padding: 2px 0 14px 36px; }
.prep__panel .form-grid { margin-top: 2px; }
.prep__part { grid-template-columns: 18px minmax(0, 1fr) auto; }
.prep__partact { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.prep__acct { padding-left: 26px; }
.prep__inner > summary { cursor: pointer; color: var(--s1); font-weight: 600; font-size: 13.5px; padding: 2px 0; }
.prep__inner[open] > summary { margin-bottom: 8px; }
@media (max-width: 420px) {
  .prep__panel { padding-left: 0; }
  .prep__part { grid-template-columns: 18px minmax(0, 1fr); }
  .prep__partact { grid-column: 2; justify-content: flex-start; margin-top: 4px; }
  .prep__acct { padding-left: 0; }
}
.prep__note { margin: 8px 0 0; }

/* Pay the rental online once confirmed (owner, 26 Oct 2026): bank transfer or card (demo) */
.payon { display: grid; gap: 12px; }
.payon__how { grid-template-columns: 1fr 1fr; margin: 0; padding: 0; border: 0; }
.payon__how .radio { padding: 9px 10px; }
.payon__form { gap: 10px; }
.payon__to { display: grid; gap: 3px; padding: 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface-2); font-size: 14px; }
.payon__to .btn--sm { padding: 2px 8px; min-height: 0; vertical-align: baseline; }
.payon__acc { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.payon__file { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.payon__form .form-error { margin: 0; }
.payon__note { margin: 0; }
@media (max-width: 420px) { .payon__how { grid-template-columns: 1fr; } }

/* The Alquiler logo (owner, 26 Oct 2026): helmet and wordmark in the top bar */
.brand__logo { display: block; height: 34px; width: auto; flex: none; }
@media (max-width: 420px) { .brand__logo { height: 30px; } }

/* Checklist grouped by when (owner, 26 Oct 2026): now / us / at pickup */
.prep__when { margin: 16px 0 2px; font: 600 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prep__lead + .prep__when { margin-top: 10px; }
.prep__item--later .prep__tick { background: transparent; color: var(--muted); border-style: dashed; }
.prep__item--later.is-done .prep__tick { background: var(--good); color: #fff; border: 1px solid var(--good); }
.prep__item--you.is-todo .prep__tick { background: transparent; border: 2px solid var(--s1); }
.prep__item--you.is-todo .prep__label { color: var(--ink); }
.prep__list + .prep__when { margin-top: 14px; }
.prep__foot { margin-top: 12px; }

/* ---------------------------------------------------------------- + Add, search, tasks (owner, 27 Oct 2026) */
.bottomnav__add { display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; }
.bottomnav__add span { display: grid; place-items: center; width: 48px; height: 48px; margin-top: -14px; border-radius: 50%; background: var(--ink); color: var(--surface); box-shadow: 0 3px 10px rgba(0, 0, 0, .22); }
.bottomnav__add:active span { transform: scale(.96); }
.bottomnav__add:focus-visible span { outline: 3px solid var(--s1); outline-offset: 2px; }
.topnav__add { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 6px 12px; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--surface); font: 600 14px var(--font-head); cursor: pointer; }
.topnav__add:hover { background: #2a2a2a; }
/* Quick booking: the free bikes as cards, with the photo and the price for the dates (27 Oct 2026). */
.bikepick { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.bikepick > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; }
.bikepick > summary::-webkit-details-marker { display: none; }
.bikepick > summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .15s ease; }
.bikepick[open] > summary::after { transform: rotate(-135deg); }
.bikepick > .hint { margin: 0 12px 12px; }
.bikepick__list { display: grid; gap: 8px; padding: 0 10px 10px; }
@media (min-width: 760px) { .bikepick__list { grid-template-columns: 1fr 1fr; } }
.bikepick__card { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 8px 10px 8px 8px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--raise); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.bikepick__card:hover { border-color: var(--axis); }
.bikepick__card.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.bikepick__img { display: block; width: 76px; height: 56px; }
.bikepick__main { display: grid; gap: 1px; min-width: 0; }
.bikepick__main b { font: 600 14.5px var(--font-head); }
.bikepick__main small, .bikepick__price small { color: var(--ink-2); font-size: 12.5px; line-height: 1.3; }
.bikepick__price { display: grid; justify-items: end; gap: 1px; text-align: right; }
.bikepick__price b { font: 700 15.5px var(--font-head); font-variant-numeric: tabular-nums; }
.plate-sm { font-family: var(--font-mono, monospace); letter-spacing: .02em; }
/* Phones: the price goes under the description, on one line, so the name and details keep their width. */
@media (max-width: 560px) {
  .bikepick__card { grid-template-columns: 76px minmax(0, 1fr); align-items: start; }
  .bikepick__price { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 0 8px; text-align: left; }
}

/* The + menu (27 Oct 2026): the choices pop out as stacked cells; one opens its sheet. */
.addmenu { position: fixed; inset: 0; z-index: 45; }
.addmenu__back { position: absolute; inset: 0; background: rgba(11, 11, 11, .38); animation: fade-in .15s ease-out; }
.addmenu__stack { position: absolute; display: grid; gap: 8px; }
.addmenu--bar .addmenu__stack { left: 50%; transform: translateX(-50%); width: min(340px, calc(100vw - 32px)); bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 14px); }
.addmenu__cell { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--raise); color: var(--ink); text-align: left; font: inherit; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .16);
  animation: cell-in .22s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }
.addmenu__cell:hover, .addmenu__cell:focus-visible { border-color: var(--ink); outline: none; }
.addmenu__cell:active { transform: scale(.985); }
.addmenu__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--surface); }
.addmenu__txt { display: grid; gap: 2px; min-width: 0; }
.addmenu__txt b { font: 600 16px var(--font-head); }
.addmenu__txt small { color: var(--ink-2); font-size: 13px; line-height: 1.3; }
.addmenu.is-leaving .addmenu__cell, .addmenu.is-leaving .addmenu__back { opacity: 0; transition: opacity .14s ease; }
@keyframes cell-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.addmenu--drop .addmenu__back { background: rgba(11, 11, 11, .12); }
.addmenu--drop .addmenu__cell { animation-name: cell-drop; }
@keyframes cell-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
/* While it is open, the tab bar stays on top and its + turns into a close button. */
body.addmenu-open .bottomnav { z-index: 46; }
.bottomnav__add span svg { transition: transform .18s ease; }
body.addmenu-open .bottomnav__add span svg { transform: rotate(45deg); }
.list-head { margin-bottom: 8px; }
.list-head h1 { margin: 0; font-size: 22px; }

.qa { display: grid; gap: 12px; }
.qa__search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--axis); border-radius: var(--radius); background: var(--raise); color: var(--muted); }
.qa__search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.qa__search input { flex: 1; min-width: 0; min-height: 46px; border: 0; outline: 0; background: none; font: 16px var(--font); color: var(--ink); }
.qa__h { margin: 6px 0 4px; font: 600 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.qa__hits, .qa__acts { display: grid; gap: 6px; }
.qa__hit, .qa__act, .qa__general, .qa__target { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--raise); color: var(--ink); text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
.qa__hit:hover, .qa__act:hover, .qa__general:hover { border-color: var(--axis); background: var(--surface-2); }
.qa__general { grid-template-columns: 34px minmax(0, 1fr); border-style: dashed; }
.qa__target { background: var(--surface-2); cursor: default; }
.qa__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); }
.qa__target .qa__ico { background: var(--raise); }
.qa__main { min-width: 0; }
.qa__main b { margin-right: 6px; }
.qa__main small, .qa__act small, .qa__general small { display: block; color: var(--ink-2); font-size: 13px; overflow-wrap: anywhere; }
.qa__act > span:nth-child(2), .qa__general > span:nth-child(2) { display: grid; gap: 1px; }
.qa__act--task { border-color: var(--ink); }
.qa__act--task .qa__ico { background: var(--ink); color: var(--surface); }
.qa__act--danger b { color: var(--crit); }
.qa__none { margin: 6px 2px; }
.qa__chips legend { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.qa__chips span { min-height: 36px; }
.qa__foot { display: flex; gap: 8px; justify-content: space-between; }
.qa__foot .btn--primary { flex: 1; }
.qa__form textarea { min-height: 70px; }
/* The + sheet for a booking (27 Oct 2026): its next step, the booking page's own actions, then the team. */
.qa__target { grid-template-columns: auto minmax(0, 1fr) auto; }
.qa__tools { display: flex; gap: 6px; align-items: center; }
.qa__step { color: var(--ink) !important; font-weight: 600; margin-top: 2px; }
.qa__next, .qa__do, .qa__tellbox, .qa__acts { display: grid; gap: 8px; }
.qa__next .btn.is-blocked { opacity: .55; }
.qa__grid .btn { min-height: 48px; padding: 8px 10px; gap: 8px; line-height: 1.25; }
.qa__grid .btn svg { flex: 0 0 auto; color: var(--ink-2); }
.qa__grid .btn--danger-ghost svg { color: inherit; }
.qa__tell { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qa__pic { display: block; width: 56px; height: 41px; }
/* The + sheet's tabs (Make a change, Expense, Quick booking) and the search's Current / Past / Bikes. */
.qa__tabs { margin: 0 0 12px; }
.qa__tabs > button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; line-height: 1.15; text-align: center; }
.qa__tabs > button svg { flex: none; }
@media (max-width: 420px) { .qa__tabs > button svg { display: none; } .qa__tabs > button { padding: 6px 4px; } }
.qa__scopes { margin: 0; }
.qa__scopes > button { padding: 6px 4px; font-size: 13px; }
.qa__scopes > button[hidden] { display: none; }
.qa__hits--past .qa__hit { background: var(--surface-2); }
.qa__embed > .page { padding: 0; margin: 0; max-width: none; min-height: 0; }
.qa__embed > .page > .back, .qa__embed > .page > h1 { display: none; }
/* Groups that are not possible now, and choices inside a group that are not: greyed out, with the reason. */
.qa__group span { display: grid; gap: 1px; }
.qa__group small { font: 500 12px var(--font); color: var(--muted); }
.qa__group.is-off { background: var(--surface-2); color: var(--muted); border-style: dashed; }
.qa__group.is-off svg { color: var(--muted); }
.qa__act.is-off { cursor: default; background: var(--surface-2); color: var(--muted); border-style: dashed; grid-template-columns: auto minmax(0, 1fr); }
.qa__act.is-off .qa__ico { background: var(--surface); color: var(--muted); }
.qa__act.is-off small { color: var(--muted); }
.qa__act--wide { grid-column: 1 / -1; }
.qa__pic--big { width: 72px; height: 52px; }
/* "Saved" for a moment under the sheet's top bar after a change, then it fades away. */
.qa__flash { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 3; display: flex; gap: 8px; align-items: center; padding: 11px 14px; border-radius: var(--radius); background: #e8f5e8; color: #0a6b0a; border: 1px solid #b9e0b9; font-weight: 600; font-size: 14.5px; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); animation: flash-in .2s ease-out; transition: opacity .45s ease, transform .45s ease; }
.qa__flash.is-gone { opacity: 0; transform: translateY(-6px); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.qa__tell--one { grid-template-columns: 1fr; }
.qa__tell .qa__act { grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 8px; padding: 10px; }
.qa__tell .qa__ico { width: 30px; height: 30px; }
.qa__tell .qa__act small { font-size: 12.5px; }
@media (min-width: 700px) { .qa__grid { grid-template-columns: 1fr 1fr; } }

/* My list: tasks from the team, with Done on the line */
.todo__line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: stretch; }
.todo__line .todo__item { border-left-color: var(--s1); }
.todo-group--late .todo__line .todo__item { border-left-color: var(--crit); }
.todo__done { align-self: center; }
.todo__tag { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 9px; background: #e9f1fc; color: #1d4f8f; font: 600 11px/18px var(--font); font-style: normal; vertical-align: 1px; }

/* Tasks and notes on a booking or bike page */
.tasks { padding-top: 12px; padding-bottom: 12px; }
.tasks h3 { margin: 0; }
.tasks--open { border-left: 3px solid var(--s1); }
.tasks__n { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 9px; background: var(--s1); color: #fff; font: 600 11.5px/19px var(--font); vertical-align: 2px; }
.tasks__none { margin: 6px 0 0; font-size: 13.5px; }
.tk-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.tk { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 8px 0; border-top: 1px solid var(--rule); }
.tk:first-child { border-top: 0; }
.tk__ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e9f1fc; color: #1d4f8f; margin-top: 1px; }
.tk--late .tk__ico { background: #fde8e8; color: var(--crit); }
.tk--done .tk__ico { background: #e3f3e8; color: #1e7b3c; }
.tk--note .tk__ico { background: var(--surface-2); color: var(--ink-2); }
.tk__main b { display: block; font-weight: 600; font-size: 14.5px; }
.tk--done .tk__main b { color: var(--ink-2); font-weight: 500; }
.tk__main small { display: block; color: var(--ink-2); font-size: 12.5px; margin-top: 1px; }
.tasks__more summary { cursor: pointer; margin-top: 8px; color: var(--s1); font-weight: 600; font-size: 13.5px; }
.tasks--team .tk-list { margin-top: 4px; }
.flag--task { background: #e9f1fc; color: #1d4f8f; display: inline-flex; align-items: center; gap: 4px; }

/* ---------------------------------------------------------------- Calendar View: bikes by day */
.page.cal { max-width: 1400px; }
.cal__range { font-size: 13.5px; }
.cal__bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin: 8px 0 6px; }
.cal__nav { display: flex; gap: 6px; }
.cal__next svg { transform: rotate(180deg); }
.cal__days { margin: 0; min-width: 220px; }
.cal__days a { min-height: 34px; }
.cal__sum { margin: 2px 0 8px; font-size: 13.5px; }
.cal__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--raise); }
.cal__grid { --col: 46px; --label: 138px; --lane: 26px; display: grid; grid-template-columns: var(--label) calc(var(--days) * var(--col)); min-width: calc(var(--label) + var(--days) * var(--col)); }
@media (min-width: 900px) { .cal__grid { --label: 190px; } }
.cal__corner, .cal__bike { position: sticky; left: 0; z-index: 3; background: var(--raise); border-right: 1px solid var(--rule); }
.cal__corner { z-index: 4; display: flex; align-items: flex-end; padding: 6px 10px; font: 600 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); }
.cal__head { display: grid; grid-template-columns: repeat(var(--days), var(--col)); border-bottom: 1px solid var(--rule); position: sticky; top: 0; }
.cal__day { display: grid; justify-items: center; padding: 5px 0; border-left: 1px solid var(--grid); }
.cal__day small { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cal__day b { font: 600 14px var(--font-head); }
.cal__day.is-we { background: var(--surface-2); }
.cal__day.is-today { background: var(--ink); color: var(--surface); }
.cal__day.is-today small { color: rgba(255, 255, 255, .75); }
.cal__bike { display: grid; align-content: center; gap: 0; min-height: calc(var(--lanes) * var(--lane) + 8px); padding: 4px 10px; border-bottom: 1px solid var(--grid); text-decoration: none; color: var(--ink); }
.cal__bike b { font: 600 13px var(--font-mono); letter-spacing: .02em; }
.cal__bike small { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal__bike:hover { background: var(--surface-2); }
/* The bike's photo beside its plate (tap to enlarge). */
.cal__bike { grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; padding-left: 8px; }
.cal__bike b, .cal__bike small { grid-column: 2; }
.bike-pic.cal__pic { grid-row: 1 / span 2; align-self: center; width: 38px; height: 28px; border-radius: 4px; }
.bike-pic.cal__pic .bike-pic__zoom { display: none; }
@media (min-width: 900px) { .bike-pic.cal__pic { width: 52px; height: 38px; } }
.cal__track { position: relative; min-height: calc(var(--lanes) * var(--lane) + 8px); border-bottom: 1px solid var(--grid); overflow: hidden; }
.cal__cell { position: absolute; top: 0; bottom: 0; width: var(--col); border-left: 1px solid var(--grid); }
.cal__cell.is-we { background: rgba(241, 240, 236, .7); }
.cal__cell.is-today { background: rgba(42, 120, 214, .07); }
.cal__now { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--crit); z-index: 2; }
.cal__item { position: absolute; z-index: 1; height: calc(var(--lane) - 4px); display: flex; align-items: center; padding: 0 6px; border-radius: 4px; font: 600 11.5px/1 var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; color: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.cal__item:hover, .cal__item:focus-visible { z-index: 2; box-shadow: 0 0 0 2px var(--ink); }
.cal__item.is-cut-l { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.cal__item.is-cut-r { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.cal__item--ask { background: #f3b52e; color: #3d2a00; }
.cal__item--booked { background: var(--s1); }
.cal__item--out { background: #1e8c4d; }
.cal__item--late { background: var(--crit); }
.cal__item--back { background: #8a5cc2; }
.cal__item--done { background: #b9b8b1; color: #2b2b2a; }
.cal__item--repair { background: repeating-linear-gradient(135deg, #fde8e8 0 6px, #f6c9c9 6px 12px); color: #8a1f1f; box-shadow: inset 0 0 0 1px #e9a3a3; }
.cal__item--block { background: repeating-linear-gradient(135deg, #f1f0ec 0 6px, #e1e0d9 6px 12px); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--axis); }
.cal__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; padding: 0; font-size: 12.5px; color: var(--ink-2); }
.cal__legend li { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend i { position: static; display: inline-block; width: 18px; height: 11px; border-radius: 3px; padding: 0; }
/* With the side panel (wide screens) the pages are listed there: the top bar keeps only + Add and search. */
.topnav a { white-space: nowrap; }
@media (min-width: 1100px) { body.has-side .topnav > a { display: none; } }

/* ---------------------------------------------------------------- Live view: what bikes need, and Bike status (27 Oct 2026) */
.text-amber { color: #9a6200; }
.lv-flag { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #fff; }
.lv-flag svg { width: 11px; height: 11px; }
.lv-flag--service { background: #e8a10c; }
.lv-flag--service-due { background: var(--crit); }
.lv-flag--fuel { background: #b0631c; }
.lv-flag--task { background: var(--s1); }
.lv-key--flag { gap: 5px; }
.lv-tag__needs { display: inline-flex; gap: 2px; }
.lv-tag--bike.has-needs { border: 1.5px solid #e8a10c; }
.lv--small:not(.lv--near) .lv-tag--bike.has-needs { border-radius: 10px; }
.lv-tone--service { --tone: #e8a10c; }
.lv-tone--fuel { --tone: #b0631c; }
.lv-tone--task { --tone: var(--s1); }
.lv__body { display: grid; gap: 12px; }
@media (min-width: 1000px) {
  .lv__body { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
  .lv__body > .lv-status { max-height: max(440px, calc(100dvh - var(--top-h) - var(--nav-h) - 170px)); overflow-y: auto; }
}
.lv-status { padding: 10px 12px; background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius); }
.lv-status__h { margin: 0 0 6px; font: 600 15px var(--font-head); }
.lv-status__g { border-top: 1px solid var(--rule); }
.lv-status__g:first-of-type { border-top: 0; }
.lv-status__g > summary { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 2px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.lv-status__g > summary::-webkit-details-marker { display: none; }
.lv-status__g > summary b { min-width: 24px; padding: 0 7px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 16%, #fff); color: color-mix(in srgb, var(--tone) 75%, #000); text-align: center; font: 700 12.5px/20px var(--font-head); }
.lv-status__g.is-empty > summary { color: var(--muted); font-weight: 500; cursor: default; }
.lv-status__g.is-empty > summary b { background: var(--surface-2); color: var(--muted); }
.lv-status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); }
.lv-status__g--late { --tone: #d03b3b; } .lv-status__g--inspect { --tone: #d08a00; } .lv-status__g--repair { --tone: #e0703f; }
.lv-status__g--service { --tone: #e8a10c; } .lv-status__g--fuel { --tone: #b0631c; } .lv-status__g--task { --tone: #2a78d6; }
.lv-status__g--today { --tone: #2a78d6; } .lv-status__g--ok { --tone: #1aa34a; } .lv-status__g--out { --tone: #5b8fd6; } .lv-status__g--blocked { --tone: #8a9096; }
.lv-status__bikes { display: grid; gap: 4px; padding: 0 0 8px 20px; }
.lv-status__bike { display: grid; gap: 0; width: 100%; padding: 6px 8px; border: 1px solid var(--rule); border-left: 3px solid var(--tone); border-radius: var(--radius-s); background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.lv-status__bike:hover { background: var(--surface-2); }
.lv-status__bike b { font: 600 12.5px var(--font-mono); }
.lv-status__bike small { color: var(--ink-2); font-size: 12.5px; overflow-wrap: anywhere; }
.lv-status__foot { margin: 8px 0 0; font-size: 12px; }
.cal__needs { display: inline-flex; gap: 2px; vertical-align: -3px; }
.cal__bike.has-needs { box-shadow: inset 3px 0 0 #e8a10c; }
.lv-status__bike.is-due { border-left-color: var(--crit); }

/* Bike photos on list lines (owner, 27 Oct 2026): tap the photo to enlarge it; the rest of the line opens the booking. */
.bike-pic { position: relative; display: block; flex: none; width: 60px; height: 44px; border-radius: 6px; cursor: zoom-in; }
.bike-pic:focus-visible { outline: 2px solid var(--s1); outline-offset: 2px; }
.bike-pic:hover .bike-thumb { filter: brightness(.94); }
.bike-pic__zoom { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink-2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); pointer-events: none; }
.bcard--pic { grid-template-columns: 60px minmax(0, 1fr); gap: 0 11px; align-items: start; }
.bcard__body { display: grid; gap: 4px; min-width: 0; }
.bi--pic { grid-template-columns: 56px minmax(0, 1fr); gap: 0 10px; align-items: start; }
.bike-pic.bi__pic { width: 56px; height: 42px; margin-top: 2px; }
.bi__body { display: grid; gap: 3px; min-width: 0; }
.todo__item--pic { grid-template-columns: 52px minmax(0, 1fr) auto; }
.todo__item--pic .todo__pic { grid-row: 1 / span 2; align-self: start; width: 52px; height: 40px; margin-top: 1px; }
.todo__item--pic .todo__detail { grid-column: 2 / -1; }
.todo__pic--none { display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.bike-pic.board__thumb { width: 72px; height: 52px; }
.bike-pic.do-card__pic { width: 52px; height: 40px; }
.bike-link--pic { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "pic main go" "pic flags go"; }
.bike-pic.bike-link__pic { grid-area: pic; width: 56px; height: 42px; }
.desk__head--pic { grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 6px 14px; }
.desk__text { display: grid; gap: 6px; min-width: 0; }
.desk__text p { margin: 0; }
.bike-pic.desk__pic { width: 96px; height: 70px; }
.pviewer--one .pviewer__track, .pviewer--one .pviewer__slide { cursor: zoom-out; }
.pviewer--one .pviewer__slide { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.pviewer--one .pviewer__slide img { max-height: 100%; cursor: default; background: #fff; border-radius: 4px; }
@media print { .bike-pic__zoom { display: none; } }

/* ---------------------------------------------------------------- Finance: month-end and year-end reports, bank check (27 Oct 2026)
   The reports follow Firda's two templates: a titled sheet, numbered sections, item and amount. */
.subnav--fin { margin-top: -8px; gap: 2px; border-bottom: 1px solid var(--rule); padding-bottom: 0; }
.subnav--fin a { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; padding: 8px 10px 9px; color: var(--ink-2); }
.subnav--fin a.is-on { background: none; color: var(--ink); border-bottom-color: var(--ink); }
.fin-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.fin-pick { display: flex; align-items: center; gap: 4px; }
.fin-pick select { width: auto; min-width: 160px; font-weight: 600; }
.fin-pick__next svg { transform: rotate(180deg); }
.fin-pick__label { font: 700 18px var(--font-head); padding: 0 8px; }
.fin-left { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.seg.fin-kind { margin: 0; grid-auto-columns: auto; }
.seg.fin-kind > a { min-height: 0; padding: 7px 14px; }
.fin-short { display: none; }
@media (max-width: 479px) {
  .fin-long { display: none; }
  .fin-short { display: inline; }
  .subnav--fin a { padding-left: 7px; padding-right: 7px; }
}
.icon-btn.is-off { visibility: hidden; }
.frep { background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; margin-top: 12px; }
.frep__head { display: grid; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.frep__head h1 { margin: 0; font: 800 19px/1.2 var(--font-head); letter-spacing: .03em; text-transform: uppercase; }
.frep__head h1 span { font-weight: 600; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.frep__head h1 span::before { content: '| '; color: var(--axis); }
.frep__meta { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; font-size: 14px; }
.frep__meta div { display: flex; gap: 6px; align-items: baseline; }
.frep__meta dt { color: var(--muted); font: 600 11px var(--font); letter-spacing: .08em; text-transform: uppercase; }
.frep__meta dd { margin: 0; font-weight: 600; }
.frep__sec { margin-top: 20px; }
.frep__sec h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font: 700 15px var(--font-head); }
.frep__sec h2 i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 3px; background: var(--ink); color: var(--surface); font: 700 12.5px var(--font-head); font-style: normal; flex: none; }
.frep__edit { margin-left: auto; }
.frep__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.frep__tile { display: grid; gap: 3px; padding: 11px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); }
.frep__tile > span { font: 600 10.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.frep__tile b { font: 700 19px/1.15 var(--font-head); font-variant-numeric: tabular-nums; }
.frep__tile small { font-size: 12px; color: var(--ink-2); }
.frep__tile--net { background: #fdf6dc; border-color: #ecd99a; }
.frep__neg { color: var(--crit); }
.frep__table { border-top: 1px solid var(--rule); }
.frep__row { border-bottom: 1px solid var(--rule); }
.frep__row:not(details), .frep__row > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding: 8px 2px; }
.frep__row--more > summary { grid-template-columns: minmax(0, 1fr) auto 18px; cursor: pointer; list-style: none; }
.frep__row--more > summary::-webkit-details-marker { display: none; }
.frep__row--more > summary:hover .frep__l { text-decoration: underline; text-underline-offset: 3px; }
.frep__chev { color: var(--muted); display: flex; align-self: center; transition: transform .15s; }
.frep__row--more[open] .frep__chev { transform: rotate(90deg); }
.frep__l { font-size: 14px; min-width: 0; }
.frep__l small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.frep__amt { font: 600 14.5px var(--font); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.frep__total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: -1px; }
.frep__total .frep__l, .frep__total .frep__amt { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.frep__total--net { background: #fdf6dc; }
.frep__sub { padding: 10px 2px 4px; font: 600 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); }
.frep__detail { margin: 0 0 10px; padding: 8px 10px; background: var(--surface-2); border-radius: var(--radius-s); overflow-x: auto; }
.frep__split { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 8px; font-size: 13px; color: var(--ink-2); }
.frep__list { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.frep__list th { text-align: left; font: 600 10.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 6px; border-bottom: 1px solid var(--axis); }
.frep__list td { padding: 6px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.frep__list .num, .frep__grid .num { text-align: right; white-space: nowrap; }
.frep__grid { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; border-top: 1px solid var(--rule); }
.frep__grid th, .frep__grid td { padding: 8px 4px; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 400; }
.frep__grid thead th { font: 600 10.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.frep__grid tbody th { font-weight: 500; }
.frep__gridtotal th, .frep__gridtotal td { font-weight: 700 !important; border-top: 2px solid var(--ink); border-bottom: 0; }
.frep__months tr.is-empty { color: var(--muted); }
.frep__grid small.frep__phone { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
@media (max-width: 639px) {
  .frep__cf .frep__acc { display: none; }
  .subnav--fin .hide-sm { display: none; }
}
@media (min-width: 640px) { .frep__grid small.frep__phone { display: none; } }
.frep__note:not(details) { grid-template-columns: 1fr; }
.frep__txt { font-size: 14px; }
.frep__foot { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.frep__how { margin-top: 22px; font-size: 13px; color: var(--ink-2); }
.frep__how summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.frep__how li { margin: 6px 0; }
@media (min-width: 640px) {
  .frep { padding: 22px 26px; }
  .frep__head { grid-template-columns: 1fr auto; align-items: end; }
  .frep__tiles { grid-template-columns: repeat(4, 1fr); }
  .frep__note:not(details) { grid-template-columns: 220px minmax(0, 1fr); }
  .frep__head h1 { font-size: 22px; }
  .frep__head--stack { grid-template-columns: 1fr; }
}

/* Bank check: the statement and the cash box against the website, line by line. */
.fbk__startline { margin: 0 0 4px; font-size: 13px; }
.fbk__form { display: grid; gap: 10px; align-items: end; }
.fbk__sum { display: grid; gap: 0 14px; }
.fbk__acct h2 { margin: 0 0 6px; font-size: 16px; }
.fbk__acct dt small { color: var(--muted); font-weight: 400; }
.fbk__site dt, .fbk__site dd { font-weight: 700; color: var(--ink); }
.fbk__site { border-top: 2px solid var(--ink); }
.fbk__in { margin-top: 10px; }
.fbk__diff { margin: 6px 0 0; min-height: 20px; font-size: 13.5px; font-weight: 600; }
.fbk__ok { display: inline-flex; gap: 5px; align-items: center; color: #157a15; }
.fbk__bad { color: var(--crit); }
.fbk__progress { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.fbk__progress .meter { width: 90px; }
.fbk__progress .meter span { display: block; height: 100%; background: #1d8f3a; }
.fbk__save { display: flex; justify-content: flex-end; margin-top: 10px; }
.fbk__waiting { margin: 8px 0; padding-left: 18px; }
.fbk__waiting li { margin: 3px 0; }
.fbk__sec { margin-top: 22px; }
.fbk__sec > h2 { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 6px; font-size: 16px; }
.fbk__sec > h2 small, .fbk__cash h3 small { white-space: nowrap; font: 600 14px var(--font); font-variant-numeric: tabular-nums; }
.fbk__group { margin-top: 10px; }
.fbk__ghead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; cursor: pointer; list-style: none; padding: 4px 0; }
.fbk__ghead::-webkit-details-marker { display: none; }
.fbk__ghead h3::before { content: '▸'; display: inline-block; width: 14px; color: var(--muted); transition: transform .15s; }
.fbk__group[open] > .fbk__ghead h3::before { transform: rotate(90deg); }
.fbk__ghead h3 { margin: 0; font-size: 14px; }
.fbk__ghead h3 small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.fbk__gright { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.fbk__pend { display: inline-block; padding: 2px 8px; border-radius: 10px; background: #fbf1dc; color: #7a4f00; font: 600 12px/1.5 var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; vertical-align: middle; }
.fbk__pend.is-done { background: #e3f3e6; color: #146c14; }
.fbk__sec > h2 > span { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fbk__items { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.fbk__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'tick date amt' 'tick what amt'; gap: 0 10px; align-items: start; padding: 7px 6px; border-bottom: 1px solid var(--rule); background: var(--raise); font-size: 13.5px; }
.fbk__item.is-ticked { background: #f2f9f2; }
.fbk__item.is-ticked .fbk__amt { color: #157a15; }
.fbk__tick { grid-area: tick; display: flex; padding-top: 2px; }
.fbk__tick input { width: 20px; height: 20px; accent-color: #1d8f3a; }
.fbk__date { grid-area: date; color: var(--muted); font-size: 12px; }
.fbk__what { grid-area: what; min-width: 0; }
.fbk__what small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.fbk__amt { grid-area: amt; font-variant-numeric: tabular-nums; white-space: nowrap; align-self: center; }
.fbk__items:not(:has(.fbk__tick)) .fbk__item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'date amt' 'what amt'; }
.fbk__transfer summary, .fbk__cash summary { cursor: pointer; }
.fbk__transfer form { margin-top: 12px; }
.fbk__cash h3 { display: flex; justify-content: space-between; margin: 14px 0 4px; font-size: 14px; }
.fbk__confirm h2 { margin: 0 0 4px; font-size: 16px; }
.fbk__confirm .btn { margin-top: 10px; }
@media (min-width: 760px) {
  .fbk__sum { grid-template-columns: 1fr 1fr; }
  .fbk__save { grid-column: 1 / -1; }
  .fbk__form { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
  .fbk__start .fbk__form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .fbk__item { grid-template-columns: auto 92px minmax(0, 1fr) auto; grid-template-areas: 'tick date what amt'; }
  .fbk__items:not(:has(.fbk__tick)) .fbk__item { grid-template-columns: 92px minmax(0, 1fr) auto; grid-template-areas: 'date what amt'; }
}
@media print {
  .fin-noprint, .fin .notice, .fin .subnav { display: none !important; }
  body, .page { background: #fff !important; }
  .frep { border: 0; padding: 0; margin: 0; }
  .frep__detail, .frep__chev, .frep__edit, .frep__how { display: none !important; }
  .frep__sec { break-inside: avoid; margin-top: 14px; }
  .frep__tiles { grid-template-columns: repeat(4, 1fr); }
  .frep__head, .frep__head--stack { grid-template-columns: 1fr; }
  .frep__row--more > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .frep__note:not(details) { grid-template-columns: 200px minmax(0, 1fr); }
  .frep__tile--net, .frep__total--net { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .frep a { color: inherit; text-decoration: none; }
  .frep .tbadge { display: none !important; }
}

/* The cat on the motorbike (the old website's loading picture) while a booking is sent (27 Oct 2026):
   it bobs and leans as if riding over the road, its shadow growing and shrinking under it. */
.catload { position: fixed; inset: 0; z-index: 100000; display: grid; place-content: center; justify-items: center; gap: 10px; background: #fff; animation: catload-in .15s ease-out; }
.catload__ride { animation: catload-ride .42s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.catload__ride img { display: block; width: 200px; height: 200px; border-radius: 14px; object-fit: cover; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.catload__shadow { width: 150px; height: 12px; border-radius: 50%; background: rgba(0, 0, 0, .18); filter: blur(3px); animation: catload-shadow .42s ease-in-out infinite alternate; }
.catload p { margin: 6px 0 0; font-weight: 600; color: #1f1f1f; }
.catload.is-out { opacity: 0; transition: opacity .2s ease; }
@keyframes catload-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes catload-ride { 0% { transform: translateY(0) rotate(-2deg); } 35% { transform: translateY(-6px) rotate(0deg); } 70% { transform: translateY(-11px) rotate(1.5deg); } 100% { transform: translateY(-4px) rotate(2.5deg); } }
@keyframes catload-shadow { 0% { transform: scaleX(1); opacity: .9; } 70% { transform: scaleX(.82); opacity: .55; } 100% { transform: scaleX(.92); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .catload__ride { animation-duration: .8s; } }


/* Bike Analytics: what each bike earns, ranked by a score (27 Oct 2026). Phone: one bike a row, figures under
   it; computer: one line a bike with a header row. */
.bka__ends { display: grid; gap: 8px; margin-top: 14px; }
.bka__end { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--rule); border-left-width: 3px; border-radius: var(--radius-s); background: var(--surface); }
.bka__end--top { border-left-color: #1d8f3a; }
.bka__end--bottom { border-left-color: var(--crit); }
.bka__end > div { display: grid; gap: 2px; min-width: 0; font-size: 13px; }
.bka__end small { font: 600 10.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bka__end b { font: 700 15px/1.25 var(--font-head); }
.bike-pic.bka__endpic { width: 76px; height: 56px; }
.bka__plate { font: 500 12.5px var(--font-mono); color: var(--ink-2); white-space: nowrap; }
.bka__alert { margin: 10px 0 0; padding: 8px 10px; border-radius: var(--radius-s); background: #fbf1dc; font-size: 13px; }
.bka__tools { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-bottom: 8px; font-size: 13px; }
.bka__tools label { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.bka__tools select { width: auto; min-width: 150px; }
.bka__list { border-top: 1px solid var(--rule); }
.bka__bike { border-bottom: 1px solid var(--rule); }
.bka__bike > summary, .bka__head { display: grid; grid-template-columns: 22px 56px minmax(0, 1fr) auto 16px; grid-template-areas: 'rank pic name score chev' '. figs figs figs figs'; gap: 6px 10px; align-items: center; padding: 10px 2px; }
.bka__bike > summary { cursor: pointer; list-style: none; }
.bka__bike > summary::-webkit-details-marker { display: none; }
.bka__bike > summary:hover .bka__name b { text-decoration: underline; text-underline-offset: 3px; }
.bka__bike[open] > summary { background: var(--surface-2); }
.bka__bike[open] > summary > .frep__chev { transform: rotate(90deg); }
.bka__bike > summary > .frep__chev { grid-area: chev; }
.bka__rank { grid-area: rank; font: 700 14px var(--font-head); color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.bike-pic.bka__pic { grid-area: pic; width: 56px; height: 42px; }
.bka__name { grid-area: name; min-width: 0; font-size: 14px; line-height: 1.3; }
.bka__name b { font-weight: 600; }
.bka__name small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.bka__flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.bka__flag { padding: 1px 6px; border-radius: 3px; font: 600 11px/1.5 var(--font); white-space: nowrap; }
.bka__flag--good { background: #e3f3e6; color: #146c14; }
.bka__flag--bad { background: #fbe7e7; color: #a82828; }
.bka__flag--warn { background: #fbf1dc; color: #7a4f00; }
.bka__flag--info { background: #e6eef9; color: #1f5fae; }
.bka__score { grid-area: score; display: grid; justify-items: end; gap: 4px; min-width: 54px; }
.bka__score b { font: 700 19px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.bka__score i { display: block; width: 54px; height: 5px; border-radius: 3px; background: var(--track); overflow: hidden; }
.bka__score i span { display: block; height: 100%; background: currentColor; }
.bka__score--hi { color: #157a15; }
.bka__score--mid { color: #a86f00; }
.bka__score--lo { color: var(--crit); }
.bka__figs { grid-area: figs; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.bka__fig { display: grid; gap: 1px; font: 600 13.5px var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bka__fig small { font: 600 10px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bka__fig--after { display: none; }
.bka__head { display: none; }
.bka__more { padding: 4px 2px 16px; }
.bka__months { margin-top: 14px; }
.bka__side { min-width: 0; }
.bka__links { margin: 10px 0 0; font-size: 13px; }
@media (min-width: 640px) {
  .bka__ends { grid-template-columns: 1fr 1fr; }
  .bka__figs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bka__fig--after { display: grid; }
  .bka__more { padding-left: 98px; }
}
@media (min-width: 1000px) {
  .bka__bike > summary, .bka__head { grid-template-columns: 24px 60px minmax(0, 1fr) 64px repeat(4, 108px) 16px; grid-template-areas: 'rank pic name score f1 f2 f3 f4 chev'; padding: 8px 4px; }
  .bike-pic.bka__pic { width: 60px; height: 44px; }
  .bka__figs { display: contents; }
  .bka__fig { text-align: right; font-weight: 500; }
  .bka__fig:nth-child(1) { grid-area: f1; } .bka__fig:nth-child(2) { grid-area: f2; } .bka__fig:nth-child(3) { grid-area: f3; } .bka__fig:nth-child(4) { grid-area: f4; }
  .bka__fig--net { font-weight: 700; }
  .bka__fig small { display: none; }
  .bka__head { display: grid; grid-template-areas: none; padding-top: 0; padding-bottom: 6px; border-bottom: 1px solid var(--axis); font: 600 10.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .bka__head span:nth-child(n+4) { text-align: right; }
  .bka__head span:nth-child(3) { text-align: left; }
  .bka__list { border-top: 0; }
  .bka__more { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 0 36px; align-items: start; padding: 6px 30px 18px 98px; }
  .bka__side .bka__months:first-child { margin-top: 0; }
}
@media print {
  .bka .frep__sec { break-inside: auto; }
  .bka__bike { break-inside: avoid; }
  .bka__more, .bka__head { display: none !important; }
  .bka__bike[open] > summary { background: none; }
  .bka__score i, .bka__flag, .bka__end { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* What was keyed in for an expense or a payment, with its receipt or slip (public/js/findetails.js, 27 Oct 2026). */
.xd { display: grid; gap: 12px; }
.xd__lead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 15px; }
.xd__status { padding: 1px 8px; border-radius: 10px; font: 600 12px/1.6 var(--font); background: #fbf1dc; color: #7a4f00; }
.xd__status--approved, .xd__status--completed { background: #e3f3e6; color: #146c14; }
.xd__status--rejected, .xd__status--cancelled { background: #fbe7e7; color: #a82828; }
.xd__files { display: grid; gap: 10px; }
.xd__file { margin: 0; display: grid; gap: 4px; }
.xd__file iframe { width: 100%; height: 360px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: #fff; }
.xd__file figcaption { font-size: 12.5px; color: var(--muted); }
.xd__img { display: block; padding: 0; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface-2); cursor: zoom-in; max-width: 100%; }
.xd__img img { display: block; max-width: 100%; max-height: 340px; object-fit: contain; border-radius: var(--radius-s); }
.xd__none { margin: 0; padding: 10px 12px; border: 1px dashed var(--axis); border-radius: var(--radius-s); font-size: 13.5px; color: var(--ink-2); }
.xd__kv { margin: 0; }
@media (min-width: 760px) { .xd__files:has(.xd__file + .xd__file) { grid-template-columns: 1fr 1fr; } }

/* Sending a payment receipt to the customer (public/js/paperwork.js shareReceipt). */
.rshare__sum { margin: 0; font-size: 15px; }
.rshare__sum small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; }
.rshare__lang { margin: 0; justify-self: start; grid-auto-columns: auto; }
.rshare__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.rshare textarea { font-size: 14px; line-height: 1.45; }
.docs-panel__rc { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); }
.docs-panel__rc h4 { margin: 0 0 6px; font-size: 13.5px; }
.docs-panel__rc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.docs-panel__rc li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.docs-panel__rc li .hc__link { margin-left: auto; }
.docs-panel__rc a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.pw__pay--gap { margin-top: 10px; }
.pw__bar small { font-weight: 400; font-size: 11px; margin-left: 6px; }
.pw__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 4px; }
.pw__photos figure { margin: 0; display: grid; gap: 3px; }
.pw__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #ddd; border-radius: 3px; background: #f4f4f4; }
.pw__photos figcaption { font-size: 11px; color: #555; }
.pw__kept td:first-child { padding-left: 18px; }
.xd__photos-note { margin: 0; font-size: 13px; }

/* One check for two bookings (28 Oct 2026): the return inspection is also the next booking's bike check. */
.both { display: grid; gap: 8px; }
.both p { margin: 0; }
.both__head { display: flex; align-items: center; gap: 6px; color: #8a5a00; }
.both__head .icon, .both__head svg { flex: none; }
.both.is-off { opacity: .75; }
.both [data-both-checks] .checks { margin: 0; }
.do-card__body .do-card__warn, .todo__warn, .wait__warn, .readiness__both { display: flex; gap: 5px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; font-weight: 600; color: #8a5a00; }
.do-card__warn svg, .todo__warn svg, .wait__warn svg, .readiness__both svg { flex: none; margin-top: 1px; }
.todo__warn { grid-column: 1 / -1; background: #fff8e1; border: 1px solid #f0c64a; border-radius: 8px; padding: 5px 8px; }
.todo__item--pic .todo__warn { grid-column: 2 / -1; }
.wait__warn { margin: 0; }
.readiness__both { margin: 4px 0; }

/* What still stops a handover, next to the button (28 Oct 2026). */
.why-line { margin: 0; padding: 8px 10px; border-radius: 8px; background: #fff8e1; border: 1px solid #f0c64a; color: #8a5a00; font-size: 13.5px; font-weight: 600; line-height: 1.4; }

/* Rental conditions with the consent on the booking form; the return time follows the pickup (28 Oct 2026). */
.book__terms > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.book__terms > summary::-webkit-details-marker { display: none; }
.book__terms > summary h2 { margin: 0; }
.book__terms > summary::after { content: '▾'; color: var(--ink-2); }
.book__terms:not([open]) > summary::after { content: '▸'; }
.book__terms .ticks { margin-top: 10px; }
.rc__same { grid-column: 1 / -1; color: var(--ink-2); font-size: 12.5px; }

/* Early handover: the adjusted dates, with Back (28 Oct 2026). */
.early--adj { display: grid; gap: 8px; }
.early__back, .sheet-back { justify-self: start; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.sheet-back { margin-bottom: 4px; }
.early__title { margin: 0; }
.early__dates { margin: 0; }
.early__same { margin: 0; }

/* A field that stops a form: red with why under it (28 Oct 2026). */
.is-invalid > span:first-child, .check.is-invalid, fieldset.is-invalid > legend { color: var(--crit); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--crit); box-shadow: 0 0 0 2px rgba(208, 59, 59, .18); }
.check.is-invalid { outline: 2px solid var(--crit); outline-offset: 3px; border-radius: var(--radius-s); }
fieldset.is-invalid .radio { border-color: var(--crit); }

/* A chosen option: light blue, not black (owner, 28 Oct 2026: "on the preselected one put an outline around it, in light blue"). */
:root { --sel: #2a78d6; --sel-bg: #eaf2fd; --sel-ink: #134a8c; }
.radio:has(input:checked) { border-color: var(--sel); box-shadow: 0 0 0 2px rgba(42, 120, 214, .35); background: var(--sel-bg); }
.chips-pick input:checked + span { background: var(--sel-bg); border-color: var(--sel); color: var(--sel-ink); box-shadow: 0 0 0 2px rgba(42, 120, 214, .3); }
.fuel-pick input:checked + span { background: var(--sel-bg); color: var(--sel-ink); border-color: var(--sel); box-shadow: 0 0 0 2px rgba(42, 120, 214, .3); }

.money-in.is-next { box-shadow: 0 0 0 3px rgba(42, 120, 214, .45); transition: box-shadow .3s; }

/* A date change paid first, then approved (28 Oct 2026). */
.ext-pay { border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 10px 12px; background: var(--raise); margin: 8px 0; display: grid; gap: 8px; }
.ext-pay p { margin: 0; }
.ext-pay.is-due { border-color: var(--sel, #2a78d6); box-shadow: inset 3px 0 0 var(--sel, #2a78d6); }
.ext-pay.is-paid { border-color: #9fd5b0; background: #f1faf4; }
.ext-pay__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.ext-pay__list li { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.ext-pay__list li.is-ok svg { color: #1f8a4c; }
.ext-pay__list li.is-wait svg { color: #b26b00; }
.ext-pay .actions { margin: 0; }

/* Finance, Owners: paid to the bike owners and kept by the company (28 Oct 2026). */
.own__split { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--track); margin: 2px 0 6px; }
.own__split-co { background: var(--sel, #2a78d6); }
.own__split-ow { background: #e0a526; }
.own__legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.own__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.own__dot--co { background: var(--sel, #2a78d6); }
.own__dot--ow { background: #e0a526; }
.own__split-cost { background: #9aa3ad; }
.own__dot--cost { background: #9aa3ad; }
.own__to i { display: block; font: 400 11.5px var(--font); color: var(--muted); font-style: normal; white-space: normal; }
.own__costsum td { border-top: 1px solid var(--axis); }
.own__less { display: block; white-space: normal; min-width: 11ch; font-size: 11.5px; line-height: 1.3; margin-top: 2px; }
.own__sum { margin-top: 14px; }
.own__tap { margin: 0 0 8px; font-size: 13px; }
.own__list { border-top: 1px solid var(--rule); }
.own__owner { border-bottom: 1px solid var(--rule); }
.own__owner > summary { display: grid; grid-template-columns: minmax(0, 1fr) 16px; grid-template-areas: 'name chev' 'figs figs' 'bal bal'; gap: 6px 10px; align-items: center; padding: 10px 2px; cursor: pointer; list-style: none; }
.own__owner > summary::-webkit-details-marker { display: none; }
.own__owner[open] > summary { background: var(--surface-2); }
.own__owner[open] > summary > .frep__chev { transform: rotate(90deg); }
.own__owner > summary > .frep__chev { grid-area: chev; }
.own__name { grid-area: name; min-width: 0; font-size: 14.5px; line-height: 1.3; }
.own__name small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.own__figs { grid-area: figs; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: start; }
.own__rented i { display: block; font: 400 11.5px var(--font); color: var(--muted); font-style: normal; }
.own__bal small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.own__soon { color: #1f5fae; font-weight: 600; }
.own__login { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 10px 12px; margin: 6px 0 4px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); }
.own__login > div:first-child { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.own__login small { font-size: 12.5px; }
.own__login .actions { margin: 0; }
.own__cred dd code { font-size: 15px; }
.own__bal { grid-area: bal; font-size: 13px; font-weight: 600; }
.own__due { color: var(--crit); font-weight: 600; }
.own__over { color: #9a6200; font-weight: 600; }
.own__ok { color: #157a15; }
.own__more { padding: 4px 2px 16px; }
.own__more h3 { margin: 14px 0 6px; font: 600 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.own__more h3:first-child { margin-top: 6px; }
.own__none { font-size: 13px; margin: 0; }
.own__statement { margin-top: 12px; font-size: 13px; }
.own__statement > summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.own__bikes td:first-child { min-width: 140px; }
.own__head { display: none; }
@media (min-width: 1000px) {
  .own__owner > summary, .own__head { grid-template-columns: minmax(0, 1fr) repeat(5, 104px) 150px 16px; grid-template-areas: 'name f1 f2 f3 f4 f5 bal chev'; padding: 9px 4px; }
  .own__head { display: grid; gap: 6px 10px; padding-top: 0; padding-bottom: 6px; border-bottom: 1px solid var(--axis); font: 600 10.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .own__head span:nth-child(n+2) { text-align: right; }
  .own__list { border-top: 0; }
  .own__figs .bka__fig small { display: none; }
  .own__figs { display: contents; }
  .own__figs .bka__fig { text-align: right; }
  .own__figs .bka__fig:nth-child(1) { grid-area: f1; } .own__figs .bka__fig:nth-child(2) { grid-area: f2; } .own__figs .bka__fig:nth-child(3) { grid-area: f3; } .own__figs .bka__fig:nth-child(4) { grid-area: f4; } .own__figs .bka__fig:nth-child(5) { grid-area: f5; }
  .own__bal { text-align: right; }
  .own__more { padding: 6px 30px 18px 12px; max-width: 860px; }
}
@media print {
  .own__owner { break-inside: avoid; }
  .own__split, .own__split span, .own__dot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* The bike owners' own page (28 Oct 2026): simple, phone first. */
.ob__hello h1 { margin-bottom: 2px; }
.ob__hello p { margin: 0 0 12px; }
.ob__pw { margin-bottom: 12px; }
.ob__bar .field { max-width: 320px; }
.ob__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 6px; }
.ob__tile { display: grid; gap: 3px; padding: 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); }
.ob__tile > span { font: 600 10.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ob__tile b { font: 700 22px/1.15 var(--font-head); font-variant-numeric: tabular-nums; }
.ob__tile small { font-size: 12.5px; color: var(--ink-2); }
.ob__tile small b { font: 700 12.5px var(--font); }
.ob__tile--you { background: var(--sel-bg, #eaf2fd); border-color: #b9d3f3; }
.ob__due { color: var(--crit); }
.ob__next { font-size: 14px; margin: 8px 0 0; }
.ob__h { margin: 22px 0 8px; font-size: 17px; }
.ob__bike { border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); padding: 12px; margin-bottom: 10px; }
.ob__bikehead { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; }
.bike-pic.ob__pic { width: 88px; height: 64px; }
.ob__bikename { display: grid; gap: 4px; font-size: 15px; min-width: 0; }
.ob__bikename small { color: var(--muted); font-size: 12.5px; }
.ob__plate { font: 500 13px var(--font-mono); color: var(--ink-2); }
.ob__now { justify-self: start; padding: 2px 8px; border-radius: 999px; font: 600 12px/1.6 var(--font); }
.ob__now--blue { background: #e6eef9; color: #1f5fae; }
.ob__now--green { background: #e3f3e6; color: #146c14; }
.ob__now--amber { background: #fbf1dc; color: #7a4f00; }
.ob__now--grey { background: var(--surface-2); color: var(--ink-2); }
.ob__figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; margin: 12px 0 0; }
.ob__figs div { display: grid; gap: 1px; }
.ob__figs dt { font: 600 10px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ob__figs dd { margin: 0; font: 600 15px var(--font); font-variant-numeric: tabular-nums; }
.ob__figs dd small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.ob__fig--you dd { color: #1f5fae; }
.ob__allt { margin: 10px 0 0; font-size: 12.5px; }
.ob__table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ob__table th, .ob__table td { padding: 8px 6px; border-bottom: 1px solid var(--rule); text-align: left; white-space: nowrap; }
.ob__table thead th { font: 600 10.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--axis); }
.ob__table .num { text-align: right; }
.ob__table small { display: block; color: var(--muted); font-weight: 400; font-size: 11.5px; }
.ob__table small.ob__narrow { white-space: normal; line-height: 1.3; margin-left: auto; max-width: 15ch; }
.ob__table { font-size: 13px; }
.ob__table th, .ob__table td { padding: 8px 4px; }
.ob__wide { display: none; }
@media (min-width: 560px) { .ob__wide { display: table-cell; } .ob__table small.ob__narrow { display: none; } .ob__table { font-size: 13.5px; } .ob__table th, .ob__table td { padding: 8px 6px; } }
.ob__table tr.is-empty td, .ob__table tr.is-empty th { color: var(--muted); }
.ob__pays, .ob__rents, .ob__costs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.ob__pays li, .ob__rents li, .ob__costs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.ob__pays li { flex-direction: column; gap: 2px; }
.ob__costs li > span:first-child { min-width: 0; }
.ob__costs b { font-weight: 600; }
.ob__pays small, .ob__rents small, .ob__costs small { display: block; color: var(--muted); font-size: 12.5px; }
.ob__costs + .hint { margin-top: 6px; }
.ob__amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ob__how { margin: 18px 0 8px; font-size: 13.5px; }
.ob__how summary { cursor: pointer; font-weight: 600; }
@media (min-width: 640px) {
  .ob__tiles { grid-template-columns: repeat(3, 1fr); }
}

/* Manage Bikes: the bike pages customers see, edited in place (owner, 30 Oct 2026). */
.wp-panel > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wp-panel > summary::-webkit-details-marker { display: none; }
.wp-panel > summary span { display: flex; flex-direction: column; gap: 2px; }
.wp-panel > summary::after { content: '›'; font-size: 22px; color: var(--muted); transform: rotate(90deg); transition: transform .15s; }
.wp-panel[open] > summary::after { transform: rotate(-90deg); }
.wp-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.wp { border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); padding: 10px; }
.wp.is-editing { border-color: var(--s1); box-shadow: 0 0 0 2px color-mix(in srgb, var(--s1) 18%, transparent); }
.wp__view { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }
.wp__img { display: grid; place-items: center; background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; }
.wp__img .bike-img { width: 100%; height: 100%; object-fit: contain; }
.wp__t { min-width: 0; }
.wp__t > b { font: 600 15px var(--font-head); }
.wp__t p { margin: 4px 0; font-size: 13.5px; color: var(--ink-2); }
.wp__t small { display: block; font-size: 12px; }
.wp__btns { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.wp__photo { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; }
.wp__details { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.wp__details legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.wp__details legend small { font-weight: 400; color: var(--muted); }
.wp__row { display: grid; grid-template-columns: 1fr 1fr 36px; gap: 6px; margin-bottom: 6px; }
.wp__row input { min-width: 0; }
@media (max-width: 420px) { .wp__photo { grid-template-columns: 110px 1fr; } }

/* Quick booking for one bike, from Manage Bikes (owner, 30 Oct 2026). */
.wantbike__head { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; }
.wantbike__head > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wantbike__img img { width: 64px; height: 48px; object-fit: contain; }
.wantbike__label { margin: 12px 0 4px; font-weight: 600; font-size: 13px; }
.wantbike__wins { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); display: grid; gap: 2px; }

/* ---------------------------------------------------------------- Bookings as cards (owner, 31 Oct 2026)
   One list, most urgent first; the step as a status at the top right of each card, in the colour of
   whoever does it; the row of steps filters the list (All first). */
.bboard__me { margin: 0 0 10px; font: 500 14.5px/1.45 var(--font-head); color: var(--ink-2); }
.bboard__me a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--axis); }
.bboard__me a b { font-weight: 600; }
.bboard__me small { color: var(--muted); font-weight: 500; }
.bboard__me .bi__late { margin-left: 2px; }
.journey--filter { grid-template-columns: minmax(40px, .75fr) repeat(6, minmax(0, 1fr)); }
.journey__step { cursor: pointer; }
.journey__step--all { box-shadow: inset 0 -3px 0 var(--ink-2); }
.journey__step--all::after { display: none; }
.journey__step--all .journey__n { visibility: hidden; }
.journey__step.is-on { border-color: var(--sel); background: var(--sel-bg); color: var(--sel-ink); box-shadow: 0 0 0 2px rgba(42, 120, 214, .3), inset 0 -3px 0 var(--p); }
.journey__step.is-on .journey__label { color: var(--sel-ink); }
.journey__step--all.is-on { box-shadow: 0 0 0 2px rgba(42, 120, 214, .3); }
.bboard__showing { display: flex; gap: 10px; align-items: baseline; margin: -2px 0 10px; font-size: 13px; color: var(--ink-2); }
.bboard__showing span { flex: 1; min-width: 0; }
.bboard__showing b { color: var(--ink); }
.bboard__showing a { flex: none; color: var(--s1); font-weight: 600; text-decoration: none; }
.bboard__none { margin: 6px 0 4px; padding: 14px 12px; background: var(--surface); border: 1px dashed var(--rule); border-radius: var(--radius); text-align: center; }
.bi-list--cards { margin: 0; gap: 8px; }
.bi-later { margin: 6px 0 0; font: 600 12px var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.bi-later::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.bi__top { display: flex; gap: 6px; align-items: center; min-width: 0; }
.bi__top .bi__ref { flex: none; }
.bi__name { font-weight: 600; font-size: 13.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bi__badges { margin-left: auto; display: flex; gap: 4px; align-items: center; flex: none; }
.bi__status { padding: 0 8px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--p) 45%, transparent); background: var(--p-bg); color: var(--p-ink); font: 600 12px/18px var(--font-head); white-space: nowrap; }
.bi__badges .bi__late, .bboard__me .bi__late { padding: 0 7px; border-radius: 10px; background: #fbe7e7; font-size: 11.5px; line-height: 20px; }
.bi--card .bi__next b { font-size: 14.5px; }
.bi--card .bi__who { margin-left: auto; }
@media (max-width: 420px) {
  .journey--filter { gap: 3px; }
  .journey--filter .journey__step { padding: 6px 2px 5px; }
  .journey--filter .journey__label { font-size: 11.5px; }
}

/* ---------------------------------------------------------------- WhatsApp button (customer website, owner 31 Oct 2026)
   Green, round, bottom right above the tab bar; it floats gently and sends out a soft ring now and then. */
.wa-fab { position: fixed; z-index: 26; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25); animation: wa-float 3.2s ease-in-out infinite; transition: background-color .2s ease; }
.wa-fab .ico { position: relative; stroke-width: 2; }
.wa-fab:hover { background: #17924a; }
.wa-fab:active { transform: scale(.96); }
.wa-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wa-fab__ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(31, 168, 85, .55); animation: wa-ring 4.8s ease-out infinite; }
@keyframes wa-float { 0%, 100% { translate: 0 0; } 25% { translate: 0 -5px; } 50% { translate: -2px -2px; } 75% { translate: 0 -6px; } }
@keyframes wa-ring { 0%, 55% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .55); } 85%, 100% { box-shadow: 0 0 0 14px rgba(31, 168, 85, 0); } }
@media (prefers-reduced-motion: reduce) { .wa-fab, .wa-fab__ring { animation: none; } }
body.is-demo .wa-fab { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
/* Above the article's "Book a bike" bar on phones, while it shows. */
body:has(.guide-bar:not(.is-away)) .wa-fab { bottom: calc(var(--nav-h) + 84px + env(safe-area-inset-bottom, 0px)); }
/* Out of the way while a sheet, the + menu or the date calendar is open. */
body:has(.sheet.is-open) .wa-fab, body.addmenu-open .wa-fab, body:has(.rc__back:not([hidden])) .wa-fab { display: none; }
@media (min-width: 900px) { .wa-fab { right: 24px; bottom: 24px; } }
/* Room under the last thing on the page, so the button never covers it. */
body:has(.wa-fab:not([hidden])) #view { padding-bottom: 72px; }

/* ---------------------------------------------------------------- One booking form (owner, 31 Oct 2026) */
.radio.is-off { cursor: not-allowed; background: var(--surface-2); color: var(--muted); }
.radio.is-off b { color: var(--muted); }
.book__sub { margin: 16px 0 8px; font: 600 15px var(--font-head); }
.book__sub small { font-weight: 500; font-size: 13px; }
.book__agree { padding: 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); }
.book__agree a { color: var(--s1); font-weight: 600; }
.book__payon { margin-top: 10px; display: grid; gap: 10px; }
.filebtns { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.filebtns .btn { gap: 6px; }
.docslot { display: grid; gap: 8px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); margin-top: 8px; }
.docslot__head { display: flex; gap: 10px; align-items: flex-start; }
.docslot__head small { display: block; color: var(--muted); font-size: 13px; }
.docslot__tick { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); color: transparent; margin-top: 1px; }
.docslot.is-done { border-color: #9fd5b0; background: #f1faf4; }
.docslot.is-done .docslot__tick { background: var(--good); color: #fff; }
.docslot__acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.docslot__acts small, .payon__file small { display: inline-flex; gap: 4px; align-items: center; }
.docslot__kind span { min-height: 32px; padding: 4px 12px; }
.addr-find { position: relative; display: grid; gap: 6px; margin-bottom: 12px; }
.addr-find__list { position: absolute; z-index: 20; top: 46px; left: 0; right: 0; margin: 0; padding: 4px; list-style: none; background: var(--raise); border: 1px solid var(--rule); border-radius: var(--radius-s); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); max-height: 260px; overflow-y: auto; }
.addr-find__list li { display: flex; gap: 8px; align-items: flex-start; padding: 9px 8px; border-radius: var(--radius-s); font-size: 14px; cursor: pointer; }
.addr-find__list li:hover, .addr-find__list li:focus { background: var(--sel-bg); }
.addr-find__list li .ico { flex: none; margin-top: 3px; color: var(--muted); }
.addr-find__list .addr-find__none { color: var(--muted); cursor: default; }
.addr-find__acts { display: flex; gap: 6px; flex-wrap: wrap; }
.addr-find__acts .btn { gap: 6px; }

/* The one next step on the customer's booking page */
.next-step { border-left: 4px solid var(--warn); }
.next-step--ok { border-left-color: var(--good); }
.next-step h2 { margin: 0 0 4px; }
.next-step__lead { margin: 0 0 10px; font-size: 15px; }
.next-step__where { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: start; padding: 10px 12px; margin: 0 0 10px; border-radius: var(--radius-s); background: var(--surface-2); font-size: 14px; }
.next-step__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.next-step__acts .btn { flex: 1 1 140px; justify-content: center; }
.next-step--late { border-left-color: var(--crit); }
.next-step--done { border-left-color: var(--axis); }
.next-step__note { margin: -4px 0 10px; font-size: 14px; }
.next-step__where .ico { margin-top: 2px; color: var(--ink-2); }
.next-step__where .btn { gap: 6px; }
.next-step__h { margin: 4px 0 2px; font: 600 13px var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.next-step__foot { margin: 10px 0 0; }
.next-fold { margin-top: 6px; }
.next-fold > summary { cursor: pointer; color: var(--s1); font-size: 13.5px; font-weight: 600; width: fit-content; }
.next-fold[open] > summary { margin-bottom: 8px; }
.next-fold .actions { margin: 0; }

/* Bike page: a short summary; the rest folded */
.detail__sum { margin: 4px 0 2px; color: var(--ink-2); font-size: 15px; }
.detail__price { margin: 0 0 10px; font-size: 15px; }
.detail__price b { font: 700 20px var(--font-head); }
.detail__price small { color: var(--muted); font-size: 13.5px; }
.detail__more { border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); padding: 0 12px; }
.detail__more > summary { cursor: pointer; padding: 11px 0; font: 600 14.5px var(--font-head); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.detail__more > summary::-webkit-details-marker { display: none; }
.detail__more > summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--muted); }
.detail__more[open] > summary::after { content: '−'; }
.detail__more[open] { padding-bottom: 12px; }
.detail__more > p { margin: 0 0 10px; color: var(--ink-2); font-size: 14.5px; }
.detail__more .specs { margin: 10px 0; }
.searchbar--set { grid-template-columns: 1fr; }
.addr-photo { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--axis); border-radius: var(--radius-s); background: var(--surface-2); }
.addr-photo p { margin: 0; }
.addr-photo.is-done { border-style: solid; border-color: #9fd5b0; background: #f1faf4; }
.addr-photo .btn { gap: 6px; }
/* A booking card is one link (the reference stretches over the card); the step button and the photo sit above it. */
.bi--card { position: relative; }
.bi--card:hover { border-color: var(--axis); }
.bi__link { text-decoration: none; color: var(--ink-2); }
.bi__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.bi--card .bike-pic, .bi--card .bi__go, .bi--card .onit { position: relative; z-index: 1; }
.bi__go { display: flex; justify-content: flex-end; margin-top: 4px; }
.bi__do { gap: 4px; background: var(--p); border-color: var(--p); color: #fff; font-weight: 600; }
.bi__do:hover { filter: brightness(1.08); }
.bi__do small { font-weight: 500; opacity: .85; padding: 0 5px; border-radius: 8px; background: rgba(255, 255, 255, .22); }
.bi__do--pending { box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 25%, transparent); }
.bi__do--late { background: var(--crit); border-color: var(--crit); }

/* Manage Bikes: the bike's quick action (owner, 31 Oct 2026). A pending job is its own clear button. */
.board__acts { position: absolute; right: 10px; bottom: 8px; display: flex; gap: 6px; align-items: center; }
.board__acts .board__book { position: static; }
.board li:has(.board__acts > *) .board__item { padding-bottom: 46px; }
.board li:has(.board__acts > *) .board__free { padding-right: 0; }
.board__act { padding: 4px 12px; gap: 4px; }
.board__act--pending { background: #b45309; border-color: #b45309; color: #fff; font-weight: 600; box-shadow: 0 0 0 3px rgba(180, 83, 9, .2); }
.board__act--pending small { font-weight: 500; padding: 0 5px; border-radius: 8px; background: rgba(255, 255, 255, .22); }
.board__act--late { background: var(--crit); border-color: var(--crit); color: #fff; font-weight: 600; }
.stat-opts { display: grid; gap: 8px; }
.stat-opt { display: grid; gap: 2px; text-align: left; padding: 12px; border: 1px solid var(--rule); border-left: 4px solid var(--s1); border-radius: var(--radius-s); background: var(--raise); color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; }
.stat-opt small { color: var(--ink-2); font-size: 13px; }
.stat-opt:hover { border-color: var(--axis); }
.stat-opt--warn { border-left-color: #b45309; }
.stat-opt--ok { border-left-color: var(--good); }
.stat-opt--quiet { border-left-color: var(--axis); }

/* Licence and IC: Upload now or Verify at the shop (owner, 31 Oct 2026) */
.seg--pick { margin: 6px 0 10px; }
.seg--pick label { position: relative; display: flex; }
.seg--pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg--pick span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 8px; border-radius: 3px; color: var(--ink-2); font: 500 14px var(--font); text-align: center; }
.seg--pick input:checked + span { background: var(--raise); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .09); }
.seg--pick input:focus-visible + span { outline: 2px solid var(--s1); outline-offset: -2px; }
.docs-bring { margin: 2px 0 6px; padding: 2px 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); }

/* The customer's checklist folds (owner, 31 Oct 2026). */
.next-list { margin-top: 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); }
.next-list > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 12px; }
.next-list > summary::-webkit-details-marker { display: none; }
.next-list > summary::after { content: '\203A'; grid-column: 2; grid-row: 1 / span 2; font-size: 22px; line-height: 1; color: var(--muted); transform: rotate(90deg); transition: transform .15s; }
.next-list[open] > summary::after { transform: rotate(-90deg); }
.next-list__t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; }
.next-list__t b { font: 600 15px var(--font-head); }
.next-list__count { font-size: 12.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; }
.next-list__count.is-todo { background: color-mix(in srgb, var(--warn) 26%, transparent); color: var(--ink); }
.next-list__count.is-ok { background: color-mix(in srgb, var(--good) 15%, transparent); color: #0a7d0a; }
.next-list__todo { grid-column: 1; color: var(--ink-2); font-size: 13px; }
.next-list[open] > summary { border-bottom: 1px solid var(--rule); }
.next-list > .bring { margin: 0; padding: 10px 12px; }

/* Pay at pickup or online: plain radio buttons, not boxes (owner, 31 Oct 2026: "more like radio button"). */
.radios--plain { gap: 0; }
.radios--plain .radio, .radios--plain .radio:has(input:checked) { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 9px 0; }
.radios--plain .radio + .radio { border-top: 1px solid var(--rule); }
.radios--plain .radio input { width: 22px; height: 22px; margin: 0; accent-color: var(--s1); }
.radios--plain .radio span { padding-top: 1px; }
.radios--plain .radio:has(input:focus-visible) { outline: 2px solid var(--s1); outline-offset: 2px; }
.radios--plain .radio input:focus { outline: none; box-shadow: none; }
/* Paying online: its choices and the transfer details sit under "Pay online now". */
.radios--plain + .book__payon { margin-left: 34px; }

/* Steps as dots on a dotted line (owner, 1 Nov 2026): done, now (moving dots), to come. */
.jsteps { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.jstep { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.jstep + .jstep::before { content: ''; position: absolute; top: 12px; right: 50%; width: 100%; border-top: 2px dotted var(--axis); z-index: 0; }
.jstep--done + .jstep::before { border-top-style: solid; border-color: var(--good); }
.jstep__dot { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--raise); border: 2px solid var(--axis); color: #fff; }
.jstep--done .jstep__dot { background: var(--good); border-color: var(--good); }
.jstep--now .jstep__dot { border-color: var(--s1); display: flex; gap: 2px; justify-content: center; }
.jstep--now .jstep__dot i { width: 4px; height: 4px; border-radius: 50%; background: var(--s1); animation: jdots 1.1s ease-in-out infinite; }
.jstep--now .jstep__dot i:nth-child(2) { animation-delay: .15s; }
.jstep--now .jstep__dot i:nth-child(3) { animation-delay: .3s; }
.jstep__t { font-size: 12px; line-height: 1.25; color: var(--muted); padding: 0 2px; overflow-wrap: anywhere; }
.jstep--done .jstep__t { color: var(--ink-2); }
.jstep--now .jstep__t { color: var(--ink); font-weight: 600; }
.jstep--next .jstep__dot { border-color: var(--s1); }
.jstep--next .jstep__t { color: var(--ink); font-weight: 600; }
@keyframes jdots { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.jsteps.is-anim .jstep--done .jstep__dot { animation: jpop .4s ease-out both; animation-delay: calc(var(--i) * .45s); }
.jsteps.is-anim .jstep--done + .jstep::before { animation: jline .4s ease-out both; animation-delay: calc(var(--i) * .45s - .2s); transform-origin: right; }
.jsteps.is-anim .jstep--now .jstep__dot, .jsteps.is-anim .jstep--next .jstep__dot, .jsteps.is-anim .jstep--todo .jstep__dot { animation: jfade .3s ease-out both; animation-delay: calc(var(--i) * .45s); }
@keyframes jpop { 0% { transform: scale(.4); background: var(--raise); border-color: var(--axis); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes jline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes jfade { from { opacity: 0; } to { opacity: 1; } }
.next-step__h { margin: 14px 0 6px; font-size: 14px; }
/* The steps under the cat while a booking is sent. */
.catsteps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; min-width: 220px; }
.catstep { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #8a8a85; transition: color .2s; }
.catstep__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px dotted #c3c2b7; flex: none; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.catstep.is-now { color: #1f1f1f; font-weight: 600; }
.catstep.is-now .catstep__dot { border: 2px solid var(--s1); border-top-color: transparent; animation: catspin .8s linear infinite; }
.catstep.is-done { color: #1f1f1f; }
.catstep.is-done .catstep__dot { border: 0; background: var(--good); }
.catstep.is-done .catstep__dot::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
@keyframes catspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .jsteps.is-anim .jstep__dot, .jsteps.is-anim .jstep::before, .jstep--now .jstep__dot i, .catstep.is-now .catstep__dot { animation: none !important; } }

/* The customer's booking, simpler (owner, 1 Nov 2026): the payment as amounts with where they stand, the rest folded. */
.pay-sum > h3 { margin: 0 0 2px; }
.pay__rows { list-style: none; margin: 0; padding: 0; }
.pay__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--grid); }
.pay__rows li:first-child { border-top: 0; }
.pay__what { font-weight: 600; }
.pay__amt { font: 700 16px var(--font-head); text-align: right; }
.pay__rows .pill { grid-column: 1; justify-self: start; }
.pay__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
details.fold--nested { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--grid); }
details.fold--nested > summary.fold__sum { cursor: pointer; }
.fold--wrap > .panel { border: 0; padding: 0; margin: 10px 0 0; background: none; }
.fold--wrap > .panel > h3:first-child { display: none; }
.bk-details > summary + * { margin-top: 10px; }
.bk-details h3 { margin: 16px 0 6px; font-size: 15px; }
details.fold > summary.fold__sum { cursor: pointer; }
/* Pay now to secure the booking (owner, 1 Nov 2026 6:30am). */
details.paynow { margin-top: 12px; }
details.paynow > summary { list-style: none; cursor: pointer; }
details.paynow > summary::-webkit-details-marker { display: none; }
details.paynow[open] > summary { margin-bottom: 10px; }
details.paynow > .hint { margin: 0 0 10px; }
.payon__how.radios--plain { grid-template-columns: 1fr; gap: 0; }
.next-link { display: inline-block; margin-top: 6px; font-weight: 600; }
/* The bike page: the rental conditions as a link (owner, 1 Nov 2026). */
.detail__terms .btn { gap: 6px; }
.detail__terms p { margin: 0 0 10px; }
/* Your bikes in the booking form (owner, 1 Nov 2026). */
.bikes { list-style: none; margin: 0 0 10px; padding: 0; }
.bikes__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--grid); }
.bikes__row:first-child { border-top: 0; }
.bikes__row > span:first-child { display: grid; gap: 2px; }
.bikes__row small { color: var(--muted); font-size: 13px; }
.bikes__row.is-off small { color: var(--crit); }
.bikes__pick { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius-s); background: var(--surface-2); }
.bikes__pick > p { margin: 0 0 4px; }
.bikes--pick { margin: 0; }
.book__bikes .hint { margin: 10px 0 0; }
.lines--quote tr.is-bike td { border-top: 1px solid var(--grid); }
/* Each rider's licence and IC or passport in the booking form (owner, 1 Nov 2026). */
.book__rider { margin: 14px 0 6px; font: 600 15px var(--font-head); }
.book__riderbox { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--grid); }
.book__riderbox > p { margin: 0 0 8px; }

/* ---------------------------------------------------------------- Bookings page: Pickups, On rent, Returns
   Owner, 1 Nov 2026: simpler, like My list. Three tabs; each booking lists its subtasks, ticked when done. */
.bboard__tabs a { position: relative; }
.seg__late { font: 600 11px/1.2 var(--font-head); color: var(--crit); margin-top: 1px; }
.bboard .hello a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--axis); }
.jc-list { display: grid; gap: 8px; }
.jc { position: relative; display: grid; gap: 6px; padding: 11px 12px 10px; background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--axis); border-radius: var(--radius-s); }
.jc { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.jc:hover { border-color: var(--axis); }
.jc:active { background: var(--surface-2); }
.jc:has(.jc__ref:focus-visible) { outline: 2px solid var(--s1); outline-offset: 2px; }
.jc__ref:focus-visible { outline: none; }
.todo-group--today .jc { border-left-color: var(--ink); }
.todo-group--late .jc, .jc--late { border-left-color: var(--crit); }
.jc__head { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 10px; align-items: start; }
.bike-pic.jc__pic { width: 56px; height: 42px; margin-top: 2px; }
.jc__main { display: grid; gap: 1px; min-width: 0; }
.jc__top { display: flex; gap: 6px; align-items: center; min-width: 0; }
.jc__name { font: 600 15px/1.3 var(--font-head); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc__top .bi__late { flex: none; padding: 0 7px; border-radius: 10px; background: #fbe7e7; font-size: 11.5px; line-height: 20px; }
.jc__ref { margin-left: auto; flex: none; font: 500 12px var(--font-mono); color: var(--muted); text-decoration: none; }
/* The reference stretches over the whole card (above the subtasks, which are positioned for their joining line), so a
   tap anywhere opens the booking; only the photo (enlarges it) and the step button sit above it. */
.jc__ref::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.jc .bike-pic, .jc .bi__do { position: relative; z-index: 2; }
.jc__when { font-size: 13.5px; color: var(--ink-2); }
.jc__when.is-late { color: var(--crit); font-weight: 600; }
.jc__bike { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.jc__count { margin: 2px 0 -2px; font: 600 11px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sub { list-style: none; margin: 0; padding: 0; display: grid; }
.sub__row { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 0 9px; align-items: start; padding: 5px 0; font-size: 13.5px; line-height: 1.35; }
/* The line joining the subtasks, like a checklist on paper. */
.sub__row:not(:last-child)::before { content: ''; position: absolute; left: 8px; top: 23px; bottom: -5px; width: 2px; background: var(--track); }
.sub__mark { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; border: 2px dotted var(--axis); background: var(--raise); color: #fff; font: 700 11px/1 var(--font-head); }
.sub__text { display: grid; min-width: 0; }
.sub__label { color: var(--ink); }
.sub__detail { font-size: 12.5px; color: var(--ink-2); }
.sub__who { padding: 0 7px; border-radius: 10px; background: var(--p-bg); color: var(--p-ink); font: 600 12px/20px var(--font-head); white-space: nowrap; }
.sub__who.is-me { background: var(--p); color: #fff; }
.sub__row.is-done .sub__mark { border-color: var(--good); background: var(--good); }
.sub__row.is-done .sub__label, .sub__row.is-done .sub__detail { color: var(--muted); }
.sub__row.is-now .sub__mark { border-color: var(--p); background: var(--p); box-shadow: 0 0 0 3px var(--p-bg); }
.sub__row.is-now .sub__label { font-weight: 600; }
.sub__row.is-now.is-late .sub__mark { border-color: var(--crit); background: var(--crit); box-shadow: 0 0 0 3px #fbe7e7; }
.sub__row.is-late .sub__detail { color: var(--crit); }
.sub__row.is-open .sub__detail { color: #8a5a00; }
.sub__row.is-open .sub__mark { border-color: var(--warn); }
.sub__row.is-later .sub__label { color: var(--ink-2); }
.sub__row.is-later .sub__detail { color: var(--muted); }
.sub__row.is-change .sub__mark { border-color: var(--warn); background: var(--warn); color: #4a3600; }
.sub__row.is-warn .sub__mark { border-color: var(--s1); background: #e9f1fc; }
.sub__row.is-warn .sub__label { color: #1d4f8f; }
.sub__row.is-quiet .sub__mark { border-style: dashed; }
.sub__row.is-quiet .sub__label { color: var(--muted); }
.jc__foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 2px; }
.jc__last { font-size: 12.5px; color: var(--muted); min-width: 0; }
.jc .bi__live:empty { display: none; }
.bboard .nowrap { white-space: nowrap; }

/* Card tapped on the shop phone, in Take payment and Collect deposit (owner, 1 Nov 2026). */
.pay-by span { min-width: 96px; }
.tap-charge { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-s); background: #e9f1fc; border: 1px solid #b9d3f3; color: #1d4f8f; font-size: 13.5px; }
.tap-charge b { font: 700 20px/1.25 var(--font-head); color: var(--ink); }

/* My list: To-do for me or one person on the team (owner, 1 Nov 2026). */
.todo-form__for span { min-width: 64px; justify-content: center; }
.todo__tag--own { background: #efeafd; color: #4527a8; }
.tasks--asked { border-left: 3px solid var(--s1); }
.tasks--asked .hint { margin: 8px 0 0; }
.tk__for { font-weight: 600; color: var(--ink); }

/* ---------------------------------------------------------------- customer website: colour, profile, breadcrumbs,
   slider and footer (owner, 12 Nov 2026: "more colourful ... like the old website", "top right should be the
   login", breadcrumbs, a slider that the visitor controls, and a footer with the company's details).
   The brand red is the old website's (#B9192B). Staff and bike owners keep the plain desk look: these rules
   apply under body.site, which the app sets for visitors and customers. */
:root { --brand: #b9192b; --brand-2: #8f1120; --brand-soft: #fbe7ea; --brand-wash: #fff5f3;
  --k-scooter: #0c8a9b; --k-manual: #c8641a; --k-sport: #2a5fc9; --k-premium: #b9192b; --k-long: #6d46c4; }
body.site { background: #fbfaf8; }
body.site .topbar { background: #fff; box-shadow: inset 0 3px 0 var(--brand); }
body.site .topnav a:hover { background: var(--brand-wash); color: var(--brand); }
body.site .topnav a.is-on { background: transparent; color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
body.site .bottomnav a.is-on { color: var(--brand); }
body.site .bottomnav a.is-on::before { background: var(--brand); }
body.site .btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
body.site .btn--primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
body.site .chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
body.site .chip:hover { border-color: var(--brand); color: var(--brand); }

/* Profile button and its panel, at the top right */
.profile-wrap { position: relative; display: inline-flex; }
.profile { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 4px 13px 4px 10px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink); font: 600 13.5px var(--font-head); cursor: pointer; white-space: nowrap; }
.profile:hover { border-color: var(--brand); color: var(--brand); }
.profile[aria-expanded="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.profile.is-in { padding: 3px 12px 3px 3px; }
.profile__avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 13.5px var(--font-head); }
@media (max-width: 479px) { .profile.is-in { padding: 3px; } .profile.is-in .profile__label { display: none; } }
.ppanel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 45; width: min(310px, calc(100vw - 24px)); padding: 12px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 14px 34px rgba(11, 11, 11, .16); display: grid; gap: 8px; }
.ppanel__intro { display: grid; gap: 3px; margin: 2px 2px 4px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); white-space: normal; }
.ppanel__intro b { color: var(--ink); font: 600 15px var(--font-head); }
.ppanel__link { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: 500 14px var(--font); text-align: left; text-decoration: none; cursor: pointer; }
.ppanel__link:hover { background: var(--brand-wash); color: var(--brand); }
.ppanel__link svg { color: var(--ink-2); }
.ppanel__link:hover svg { color: var(--brand); }
.ppanel__who { display: flex; gap: 10px; align-items: center; padding: 2px 2px 10px; border-bottom: 1px solid var(--rule); }
.ppanel__who b { display: block; font: 600 15px var(--font-head); }
.ppanel__who small { color: var(--muted); font-size: 12.5px; }
.ppanel__count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--crit); color: #fff; font: 700 11px/20px var(--font-head); text-align: center; }
.ppanel__out { border-top: 1px solid var(--rule); border-radius: 0 0 6px 6px; color: var(--ink-2); }

/* Breadcrumbs */
.crumbs { margin: 0 0 12px; font-size: 13px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; color: var(--muted); }
.crumbs li + li::before { content: ''; flex: none; width: 6px; height: 6px; margin: 0 9px 0 6px; border-top: 1.5px solid var(--axis); border-right: 1.5px solid var(--axis); transform: rotate(45deg); }
.crumbs a { display: inline-block; padding: 4px 0; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; max-width: 62vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide .crumbs { margin-bottom: 10px; }

/* Start page: a warm band behind the search, the brand red in the heading */
body.site .hero--site { border-bottom: 0; background: radial-gradient(900px 340px at 88% -12%, rgba(185, 25, 43, .12), transparent 62%), linear-gradient(180deg, #fff 0%, var(--brand-wash) 100%); }
.hero__title .hl { color: var(--brand); }
body.site .hero__form { background: #fff; border: 1px solid rgba(185, 25, 43, .18); border-radius: 12px; padding: 16px; box-shadow: 0 12px 30px rgba(185, 25, 43, .08); }
.hero__side { min-width: 0; }

/* The slider: every slide is a link; swipe, arrows, dots or the arrow keys; a countdown in the active dot */
.slider { position: relative; overflow: hidden; border-radius: 12px; background: #151515; box-shadow: 0 16px 40px rgba(11, 11, 11, .18); }
.slider__track { display: flex; aspect-ratio: 4 / 3; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.slide--scooter { --tone: var(--k-scooter); }
.slide--premium { --tone: var(--k-premium); }
.slide--sport { --tone: var(--k-sport); }
.slide--long { --tone: var(--k-long); }
.slide__link { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; -webkit-user-drag: none; }
.slide__link img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.slide__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .74) 100%); }
.slide__text { position: absolute; left: 16px; right: 16px; bottom: 56px; display: grid; justify-items: start; gap: 6px; }
.slide__eyebrow { padding: 3px 10px; border-radius: 999px; background: var(--tone, var(--brand)); color: #fff; font: 700 11px var(--font); letter-spacing: .08em; text-transform: uppercase; }
.slide__title { max-width: 18ch; font: 700 clamp(21px, 5.6vw, 29px)/1.12 var(--font-head); letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.slide__sub { max-width: 42ch; color: rgba(255, 255, 255, .92); font-size: 14px; line-height: 1.4; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.slide__cta { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; padding: 8px 11px 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 13.5px var(--font-head); transition: background .15s, color .15s; }
.slide__link:hover .slide__cta, .slide__link:focus-visible .slide__cta { background: var(--tone, var(--brand)); color: #fff; }
.slide__link:focus-visible { outline: 3px solid #fff; outline-offset: -7px; }
.slider__ctl { display: flex; gap: 6px; }
.slider__btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; cursor: pointer; }
.slider__btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.slider__btn--prev svg { transform: rotate(180deg); }
.slider__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 10px 12px; pointer-events: none; }
.slider__bar > * { pointer-events: auto; }
.slider__dots { display: flex; gap: 2px; }
.slider__dot { display: grid; align-items: center; width: 34px; height: 28px; padding: 0 3px; border: 0; background: none; cursor: pointer; }
.slider__dot i { position: relative; display: block; height: 4px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .42); }
.slider__dot[aria-current="true"] i::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left center; }
.slider.is-ticking .slider__dot[aria-current="true"] i::after { animation: slidertick var(--slide-ms, 6500ms) linear forwards; }
.slider.is-held .slider__dot[aria-current="true"] i::after { animation-play-state: paused; }
@keyframes slidertick { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider__dot:focus-visible, .slider__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.slider__pause-i { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.slider.is-stopped .slider__pause-i { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.slider.is-single .slider__bar { display: none; }

/* Kinds of bike: each kind has its colour */
.kind--scooter { --tone: var(--k-scooter); }
.kind--manual { --tone: var(--k-manual); }
.kind--sport { --tone: var(--k-sport); }
.kind--premium { --tone: var(--k-premium); }
body.site .kind { border-top: 3px solid var(--tone, var(--brand)); border-radius: 6px; }
body.site .kind:hover { border-color: var(--tone, var(--brand)); box-shadow: 0 8px 20px rgba(11, 11, 11, .08); }
body.site .kind__t > b { color: var(--tone, var(--ink)); }

/* What our customers say: on the old website's red Kuala Lumpur picture */
.band { margin-top: 30px; }
.band > .page { padding-top: 6px; padding-bottom: 28px; }
.band--reviews { color: #fff; background: linear-gradient(rgba(110, 8, 20, .80), rgba(110, 8, 20, .86)), url('/img/site/kl-skyline-red.webp') center / cover no-repeat; }
.band--reviews .home-sec__head h2, .band--reviews .rating, .band--reviews .rating b, .band--reviews .rating span, .band--reviews .home-sec__more, .band--reviews .home-sec__more a, .band--reviews .muted { color: #fff; }
.band--reviews .rv { border: 0; border-radius: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); color: var(--ink); }
.band--reviews .stars i { color: rgba(255, 255, 255, .35); }
.band--reviews .rv .stars i { color: var(--grid); }

/* Two tiles under the facts */
@media (min-width: 640px) { .split--2 { grid-template-columns: repeat(2, 1fr); } }
body.site .split--2 .tile { flex-direction: row; align-items: center; gap: 14px; border-radius: 8px; background: #fff; }
.split--2 .tile > svg { flex: none; width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.split--2 .tile--track > svg { background: #e2f3f5; color: var(--k-scooter); }
.split--2 .tile > span { display: flex; flex-direction: column; gap: 2px; color: var(--ink-2); }
.split--2 .tile > span > b { color: var(--ink); }
body.site .split--2 .tile:hover { border-color: var(--brand); box-shadow: 0 8px 20px rgba(11, 11, 11, .06); }

/* Footer with the company's details */
.sitefoot { margin-top: 8px; background: #151515; color: #cfcdc6; border-top: 4px solid var(--brand); }
.sitefoot__inner { max-width: 1120px; margin: 0 auto; padding: 30px 16px 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
.sitefoot__brand { grid-column: 1 / -1; }
.sitefoot__logo { display: inline-block; padding: 8px 12px; border-radius: 8px; background: #fff; }
.sitefoot__logo img { width: 132px; height: auto; }
.sitefoot__col { min-width: 0; }
.sitefoot a, .sitefoot p { overflow-wrap: anywhere; }
@media (max-width: 639px) { .sitefoot__col--wide { grid-column: 1 / -1; } }
.sitefoot p { margin: 0 0 7px; font-size: 14px; line-height: 1.5; }
.sitefoot__brand p { max-width: 44ch; margin-top: 10px; }
.sitefoot h2 { margin: 0 0 10px; color: #fff; font: 700 12px var(--font); letter-spacing: .1em; text-transform: uppercase; }
.sitefoot a { display: inline-flex; align-items: center; gap: 7px; color: #f1efe9; text-decoration: none; }
.sitefoot a:hover { color: #fff; text-decoration: underline; }
.sitefoot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.sitefoot__social { display: flex; gap: 8px; margin-top: 12px; }
.sitefoot__social a { justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.sitefoot__social a:hover { background: var(--brand); text-decoration: none; }
.sitefoot__base { max-width: 1120px; margin: 0 auto; padding: 14px 16px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: #a7a49c; font-size: 12.5px; }
@media (min-width: 900px) {
  .sitefoot__inner { grid-template-columns: 1.5fr 1.1fr 1.1fr .8fr .8fr; padding-top: 38px; }
  .sitefoot__brand { grid-column: auto; }
  .slider__track { aspect-ratio: 5 / 4; }
}
@media (prefers-reduced-motion: reduce) { .slider__track { scroll-behavior: auto; } }
body.site .guides__cta { border-left-color: var(--brand); background: #fff; }

/* Booking form steps (owner, 12 Nov 2026): a bar under the top bar with the three parts of the form */
.bsteps { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); z-index: 20; margin: 0 -16px 6px; padding: 6px 16px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.bsteps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.bsteps a { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 6px; border-radius: 8px; color: var(--muted); font: 600 13px/1.2 var(--font-head); text-decoration: none; }
.bsteps a i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--axis); font: 700 12.5px var(--font-head); font-style: normal; background: #fff; }
.bsteps a[aria-current="step"] { color: var(--ink); }
.bsteps a[aria-current="step"] i { border-color: var(--brand, var(--ink)); background: var(--brand, var(--ink)); color: #fff; }
.bsteps a.is-done { color: var(--ink-2); }
.bsteps a.is-done i { border-color: var(--good); background: var(--good); color: transparent; position: relative; }
.bsteps a.is-done i::after { content: ''; position: absolute; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.bsteps__time { margin: -4px 0 4px; color: var(--muted); font-size: 13.5px; }
.bstep-head { display: grid; gap: 1px; margin: 18px 0 -2px; font: 700 19px/1.2 var(--font-head); scroll-margin-top: calc(var(--top-h) + 90px); outline: none; }
.bstep-head:first-child { margin-top: 4px; }
.bstep-head__n { color: var(--brand, var(--ink-2)); font: 700 11.5px var(--font); letter-spacing: .08em; text-transform: uppercase; }
.bstep-head small { color: var(--muted); font: 400 13.5px var(--font); }
@media (min-width: 640px) { .bsteps { margin-left: 0; margin-right: 0; border: 1px solid var(--rule); border-radius: 10px; } }
/* The motorbike riding to the finish flag under the booking steps */
.btrack { --ride: 0%; position: relative; height: 28px; margin: 4px 22px 0 14px; }
.btrack__line { position: absolute; left: 0; right: 0; top: 21px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--grid) 0 8px, transparent 8px 13px); }
.btrack__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--ride); border-radius: 2px; background: var(--brand, var(--ink)); transition: width .25s ease-out; }
.btrack__bike { position: absolute; left: var(--ride); top: -1px; width: 36px; height: 24px; margin-left: -18px; transition: left .25s ease-out; }
.btrack__bike svg { display: block; width: 36px; height: 24px; }
.btrack.is-riding .btrack__bike svg { animation: bikebob .26s ease-in-out infinite alternate; }
@keyframes bikebob { from { transform: translateY(0) rotate(0); } to { transform: translateY(-1.5px) rotate(-3deg); } }
.btrack__flag { position: absolute; right: -18px; top: 3px; transform-origin: 2px 19px; }
.btrack.is-finish .btrack__flag { animation: flagwave .5s ease-in-out 3 alternate; }
@keyframes flagwave { from { transform: rotate(0); } to { transform: rotate(-12deg); } }
.btrack.is-sent .btrack__bike { left: calc(100% + 26px); opacity: 0; transition: left .6s ease-in, opacity .6s ease-in .3s; }
/* What is left in each step, under its name; the bike stalls when "Send booking" is pressed with something missing. */
.bsteps a > span { display: grid; gap: 1px; min-width: 0; }
.bsteps a small { font: 500 11.5px/1.2 var(--font); color: var(--muted); white-space: nowrap; }
.bsteps a[aria-current="step"] small { color: var(--brand, var(--ink-2)); }
.bsteps a.is-done small { color: var(--good); }
.btrack.is-stalled .btrack__bike svg { animation: bikestall .7s ease-in-out; }
@keyframes bikestall { 0%, 100% { transform: translateX(0); } 15%, 45%, 75% { transform: translateX(-4px) rotate(-4deg); } 30%, 60%, 90% { transform: translateX(3px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .btrack__bike, .btrack__fill { transition: none; } .btrack.is-stalled .btrack__bike svg, .btrack.is-riding .btrack__bike svg, .btrack.is-finish .btrack__flag { animation: none; } }

/* While typing on a phone the bar keeps only the track, what is left and Next, and stays in view (public.js). */
.bsteps__row { display: flex; align-items: center; gap: 12px; }
.bsteps__row .btrack { flex: 1; min-width: 0; }
.bsteps__type { display: none; align-items: center; gap: 10px; flex: none; }
.bsteps__type > span { font: 600 13px var(--font-head); color: var(--ink-2); white-space: nowrap; }
.bsteps__type .btn { min-width: 64px; }
.bsteps.is-typing { visibility: hidden; }
/* While typing on a phone the track, what is left and Next sit just above the box being typed in (public.js). */
.bsteps-dock { grid-column: 1 / -1; margin: 0 0 6px; padding: 8px 12px; background: var(--bg); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); scroll-margin-top: calc(var(--top-h) + env(safe-area-inset-top, 0px) + 8px); }
.bsteps-dock .bsteps__type { display: flex; }
body.is-typing .bottomnav, body.is-typing .wa-fab, body.is-typing .pushinvite { display: none; }
/* Terms and conditions, privacy policy (12 Nov 2026): the page and the reader over the booking form. */
.legal-page { padding-top: 0; }
.legalbar { position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top, 0px)); z-index: 20; display: flex; align-items: center; gap: 10px; margin: 0 -16px; padding: 8px 16px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--rule); }
.legalbar__back, .legalbar .back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0; padding: 0 12px 0 8px; border: 1px solid var(--rule); border-radius: 20px; background: var(--raise); color: var(--ink); font: 600 14px var(--font-head); text-decoration: none; cursor: pointer; max-width: 62%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legalbar__back svg, .legalbar .back svg { flex: none; }
.legalbar__jump { margin-left: auto; min-width: 0; }
.legalbar__jump select { height: 40px; min-height: 40px; max-width: 46vw; padding: 0 30px 0 14px; border: 1px solid var(--rule); border-radius: 20px; background-color: var(--raise); font: 500 14px var(--font); color: var(--ink); }
.legalbar__back:focus-visible, .legalbar .back:focus-visible { outline: 2px solid var(--brand, var(--s1)); outline-offset: 2px; }
.legal { max-width: 680px; margin: 0 auto; }
.legal__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 22px 0 14px; }
.legal__head h1 { margin: 0; font-size: clamp(26px, 6.4vw, 34px); letter-spacing: -.015em; }
.legal__meta { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 13.5px; }
.legal__edit { margin-left: auto; }
.legal__key { margin: 0 0 22px; border: 1px solid var(--rule); border-radius: 12px; background: var(--raise); }
.legal__key > summary { display: grid; gap: 2px; padding: 12px 40px 12px 14px; cursor: pointer; list-style: none; position: relative; }
.legal__key > summary::-webkit-details-marker { display: none; }
.legal__key > summary::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .15s; }
.legal__key[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.legal__key > summary b { font: 600 15.5px var(--font-head); }
.legal__key > summary span { color: var(--muted); font-size: 13px; }
.legal__ticks { padding: 2px 14px 14px 32px; gap: 7px; font-size: 14.5px; line-height: 1.45; }
.legal__body { font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.legal__body > :first-child { margin-top: 0; }
.legal__body p { margin: 0 0 12px; }
.legal__body h2 { margin: 26px 0 8px; padding-top: 18px; border-top: 1px solid var(--rule); font: 700 18px/1.3 var(--font-head); scroll-margin-top: calc(var(--top-h) + 72px); }
.legal__body h3 { margin: 16px 0 6px; font: 600 15.5px/1.35 var(--font-head); scroll-margin-top: calc(var(--top-h) + 72px); }
.legal__body ul, .legal__body ol { margin: 0 0 12px; padding-left: 1.25em; }
.legal__body li { margin: 0 0 6px; padding-left: 2px; }
.legal__body strong { font-weight: 600; }
.legal__contact { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 14px; }
.legal__end { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.legal__end .btn { flex: 1 1 180px; justify-content: center; }
.legal__end .back { margin: 0; min-height: 0; color: #fff; }
.legal__up { position: fixed; z-index: 26; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(var(--nav-h) + 22px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; background: var(--raise); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .14); cursor: pointer; }
.legal__up svg { transform: rotate(90deg); }
.legal__up[hidden] { display: none; }
@media (min-width: 900px) { .legal__up { bottom: 24px; } .legalbar { margin: 12px 0 0; border: 1px solid var(--rule); border-radius: 12px; } }
/* The reader: the same text over the page, Back closes it. */
.reader { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg); animation: up .18s ease-out; }
.reader .legalbar--reader { position: static; margin: 0; padding-top: calc(8px + env(safe-area-inset-top, 0px)); }
.reader__scroll { flex: 1; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
.reader .legal__body h2, .reader .legal__body h3 { scroll-margin-top: 12px; }
.reader .legal__up { bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
/* The rental conditions sheet. */
.conds { padding-left: 1.2em; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.conds__note { margin: 12px 0 0; }
.conds__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.conds__actions .btn { flex: 1 1 150px; justify-content: center; text-align: center; white-space: nowrap; }
.reader h1:focus { outline: none; }
.detail__termsbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet__panel { overscroll-behavior: contain; }
.book__agree a { white-space: nowrap; }

/* The customer's booking page, shorter (owner, 12 Nov 2026: "Simplify the amount of wording"). */
.sentbar { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 8px 8px 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--good) 10%, var(--raise)); border: 1px solid color-mix(in srgb, var(--good) 30%, transparent); }
.sentbar__ok { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--good); color: #fff; }
.sentbar__ok .ico { stroke-width: 2.6; }
.sentbar > b { font: 600 15px var(--font-head); margin-right: auto; }
.sentbar__copy { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 18px; background: var(--raise); color: var(--ink); font: 500 13.5px var(--font); cursor: pointer; white-space: nowrap; }
.sentbar__copy span { font: 600 13.5px var(--font-mono, var(--font)); padding-right: 6px; margin-right: 2px; border-right: 1px solid var(--rule); }
.sentbar__ref { font: 600 13.5px var(--font-mono, var(--font)); }
.bfacts { display: grid; gap: 0; margin: 4px 0 2px; border-top: 1px solid var(--rule); }
.bfacts > div { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.bfacts dt { color: var(--muted); font-size: 13.5px; padding-top: 1px; }
.bfacts dd { margin: 0; font-size: 15px; line-height: 1.4; }
.bfacts dd small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.bfacts__acts { display: flex; gap: 8px; margin-top: 8px; }
.bfacts__acts .btn { gap: 5px; }
.next-step h2 { font-size: 19px; }
.next-step .jsteps { margin: 12px 0 10px; }
.next-step__lead { color: var(--ink-2); }
.next-list__t b { font-size: 14.5px; }
details.fold > summary.fold__sum b .ico, .ask > summary b .ico { vertical-align: -3px; margin-right: 6px; color: var(--ink-2); }
body:has(#pushinvite) .wa-fab { display: none; }
/* The alerts invitation never covers a form: hidden while a sheet is open (it covered Save on phones). */
body:has(#sheet.is-open) .pushinvite { display: none; }

/* The checklist shows status, not boxes to tick (owner, 12 Nov 2026). */
.next-list .bring li, .docs-bring li { grid-template-columns: 22px 1fr auto; align-items: start; }
.bring li .stmark { margin-top: 1px; }
.stmark.is-bring { background: var(--surface-2); color: var(--ink-2); }
.stmark.is-bring .ico { margin: 0 !important; color: var(--ink-2) !important; }
.stlabel.is-bring { background: var(--surface-2); color: var(--ink-2); }
.stmark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.stmark.is-done { background: var(--good); color: #fff; }
.stmark.is-done .ico { margin: 0 !important; color: #fff !important; stroke-width: 2.6; }
.stmark.is-todo { color: #b7791f; }
.stmark.is-todo .ico { margin: 0 !important; color: #b7791f !important; }
.stlabel { align-self: start; margin-top: 1px; padding: 2px 8px; border-radius: 10px; font: 600 11.5px var(--font-head); letter-spacing: .02em; white-space: nowrap; background: color-mix(in srgb, var(--warn) 22%, transparent); color: #6b4a00; }
.stlabel.is-done { background: color-mix(in srgb, var(--good) 14%, transparent); color: #0a6e0a; }
.detail__termsbtns .btn { gap: 6px; flex: 1 1 200px; justify-content: center; }

/* Hold a bike card to peek at it (peek.js). The phone's own link menu is turned off on the cards. */
.mcard[data-peek] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; transition: transform .18s ease; }
.mcard.is-peeking { transform: scale(.97); }
.peek { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(11, 11, 11, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: peekbg .16s ease-out; }
.peek__card { width: min(360px, 100%); overflow: hidden; border-radius: 18px; background: var(--raise); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: peekin .2s cubic-bezier(.2, .9, .3, 1.2); }
.peek__img { aspect-ratio: 4 / 3; background: var(--surface-2); }
.peek__img img { width: 100%; height: 100%; object-fit: cover; }
.peek__body { padding: 14px 16px 10px; display: grid; gap: 8px; }
.peek__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.peek__top b { font: 700 19px/1.2 var(--font-head); }
.peek__top span { flex: none; padding: 2px 8px; border-radius: 10px; background: var(--surface-2); color: var(--ink-2); font: 600 12px var(--font-head); }
.peek__price { margin: 0; font-size: 15px; color: var(--ink-2); }
.peek__price b { color: var(--brand, var(--ink)); font: 700 18px var(--font-head); }
.peek__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.peek__lines li { padding: 4px 9px; border: 1px solid var(--rule); border-radius: 12px; font-size: 12.5px; color: var(--ink-2); }
.peek__desc { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.peek__hold { padding: 2px 16px 14px; }
.peek__bar { display: block; height: 3px; border-radius: 2px; background: var(--track); overflow: hidden; }
.peek__bar i { display: block; height: 100%; width: 100%; background: var(--brand, var(--s1)); transform-origin: left; animation: peekhold 8s linear forwards; }
.peek.is-closing { animation: peekout .14s ease-in forwards; }
.peek.is-going .peek__card { transform: scale(1.04); transition: transform .16s ease-out; }
@keyframes peekbg { from { opacity: 0; } }
@keyframes peekin { from { transform: scale(.86); opacity: 0; } }
@keyframes peekout { to { opacity: 0; } }
@keyframes peekhold { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .peek, .peek__card { animation: none; } }

/* An iPhone zooms the whole page into any field whose text is under 16px, and the page then sits out of place
   (owner, 12 Nov 2026: "the thing zooms so much that the page gets out of place and the bike cant be seen"). */
@media (pointer: coarse) { input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; } }

/* The helmet that comes with the bike (owner, 13 Nov 2026). */
.gearpick__incl { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #0a6e0a; }
.gearpick__incl .ico { flex: none; stroke-width: 2.4; }
.gearcard__note { font-size: 12.5px; color: var(--muted); }
/* Name and price wrap beside the quantity, never under it. */
[data-gearpick] .gearcard--compact, .moregear .gearcard { grid-template-columns: 60px minmax(0, 1fr) auto; }
.gearcard__price, .gearcard__name { white-space: normal !important; overflow-wrap: anywhere; }
[data-gearpick] .gearcard .gearcard__price { font-size: 14px; }

/* ---------------------------------------------------------------- referral partners (owner, 13 Nov 2026) */
.pr__tiles { margin-top: 8px; }
@media (min-width: 760px) { .pr__tiles--4 { grid-template-columns: repeat(3, 1fr); } }
.pr__st { display: inline-flex; align-items: center; gap: 4px; }
.pr__st svg { flex: none; }
.pr__qr { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; }
.pr__qrcode { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 4px; line-height: 0; }
.pr__qrcode svg { width: 100%; height: auto; display: block; }
.pr__qrinfo { display: grid; gap: 8px; min-width: 0; }
.pr__qrname { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.pr__link { margin: 0; font-size: 13px; overflow-wrap: anywhere; }
.pr__link code { font-size: 12.5px; }
.pr__qrbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.pr__qrinfo .hint { margin: 0; }
@media (max-width: 420px) { .pr__qr { grid-template-columns: 1fr; } .pr__qrcode { width: 180px; justify-self: center; } }
.pr__earn { display: grid; gap: 0; margin: 0; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); }
.pr__earn > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-top: 1px solid var(--rule); }
.pr__earn > div:first-child { border-top: 0; }
.pr__earn dt { display: grid; font-weight: 600; font-size: 14px; }
.pr__earn dt small { font-weight: 400; font-size: 12px; color: var(--muted); }
.pr__earn dd { margin: 0; font: 600 15px var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prc { margin: 14px 0 0; padding: 12px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--surface); }
.prc__cap { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.prc__cap small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.prc__wrap { position: relative; }
.prc svg { width: 100%; height: auto; display: block; overflow: visible; }
.prc__axis { stroke: var(--axis); stroke-width: 1; }
.prc__lab { font: 500 9px var(--font); fill: var(--muted); }
.prc__bar { cursor: pointer; outline: none; }
.prc__bar:focus-visible path, .prc__bar:hover path { opacity: .82; }
.prc__tip { position: absolute; top: -6px; width: 150px; padding: 6px 8px; border-radius: var(--radius-s); background: var(--ink); color: var(--surface); font-size: 12px; line-height: 1.35; pointer-events: none; }
.pr__filters { display: grid; gap: 4px; }
.pr__chips { padding-top: 4px; }
.pr__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pr__dates .field { margin: 0; }
.pr__bks { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.pr__bk { border-bottom: 1px solid var(--rule); }
.pr__bk summary { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; cursor: pointer; list-style: none; }
.pr__bk summary::-webkit-details-marker { display: none; }
.pr__bkmain { display: grid; gap: 2px; min-width: 0; }
.pr__bkmain small { font-size: 12.5px; color: var(--ink-2); }
.pr__bkamt { display: grid; justify-items: end; gap: 4px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr__calc { display: grid; gap: 6px; margin: 0 0 12px; padding: 10px 12px; background: var(--surface-2); border-radius: var(--radius-s); font-size: 13.5px; }
.pr__calc > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.pr__calc dt { color: var(--muted); }
.pr__calc dd { margin: 0; overflow-wrap: anywhere; }
.pr__review dd { color: var(--crit); font-weight: 600; }
.pr__rowbtns dd { display: flex; flex-wrap: wrap; gap: 6px; }
.pr__pays { list-style: none; margin: 0; padding: 0; }
.pr__pays li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.pr__pays li > span:first-child { display: grid; gap: 3px; }
.pr__pays small { font-size: 12.5px; color: var(--ink-2); }
.pr__paybtns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pr__acts { flex-wrap: wrap; }
.pr__tablewrap { overflow-x: auto; margin-top: 12px; }
.pr__table tbody tr { cursor: pointer; }
.pr__table th small { display: block; font-weight: 400; color: var(--muted); }
.pr__table td, .pr__table th { white-space: nowrap; }
.pr__facts { display: grid; gap: 6px; margin: 14px 0 0; font-size: 14px; }
.pr__facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.pr__facts dt { color: var(--muted); }
.pr__facts dd { margin: 0; overflow-wrap: anywhere; }
.pr__payout { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pr__payout p { margin: 0; }
.pr__log { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.pr__log li { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.pr__log small { font-size: 12px; color: var(--ink-2); }
.pr__creds { display: grid; gap: 6px; margin: 0; }
.pr__creds > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px; }
.pr__creds dd { margin: 0; overflow-wrap: anywhere; }
.pr__bank { border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 8px 12px; }
.pr__bank summary { cursor: pointer; font-weight: 600; }
/* ---------------------------------------------------------------- Common jobs (team's questions, 13 Nov 2026)
   At the top of a booking: one big button per job the team asked how to do; each opens one short screen. */
.jobs { padding: 14px; }
.jobs > h3 { margin-bottom: 10px; }
.jobs__grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.jobs__btn { display: grid; gap: 2px; width: 100%; text-align: left; padding: 11px 12px; border: 1px solid var(--rule); border-left: 3px solid var(--ink); border-radius: var(--radius-s); background: var(--raise); color: var(--ink); font: inherit; cursor: pointer; min-height: 52px; }
.jobs__btn b { font: 700 14.5px/1.25 var(--font-head); }
.jobs__btn small { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.jobs__btn:hover { background: var(--surface-2); }
.jobs__btn:active { background: var(--track); }
.jobs__btn:focus-visible { outline: 2px solid var(--s1); outline-offset: 2px; }
.jobs__btn--danger { border-left-color: var(--crit); background: color-mix(in srgb, var(--crit) 6%, var(--raise)); }
.jobs__btn--danger b { color: var(--crit); }
.jobs__btn--warn { border-left-color: var(--warn); background: #fff8e1; }
.jobs__btn--warn:hover { background: #fff3c9; }
.jobs__note { position: relative; margin: 10px 0 0; padding-left: 22px; font-size: 13.5px; color: var(--ink-2); }
.jobs__note > svg:first-child { position: absolute; left: 0; top: 3px; color: var(--muted); }
.jobs__plan { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.jobs__plan th { text-align: left; font: 600 10.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 6px; border-bottom: 1px solid var(--axis); }
.jobs__plan td { padding: 6px; border-bottom: 1px solid var(--rule); }
.jobs-check { display: grid; gap: 4px; font-size: 13.5px; }
.jobs-check:empty { display: none; }
.jobs-check p { position: relative; margin: 0; padding: 8px 10px 8px 32px; background: var(--surface-2); border-radius: var(--radius-s); }
.jobs-check p > svg:first-child { position: absolute; left: 10px; top: 11px; }
@media (min-width: 640px) { .jobs__grid { grid-template-columns: 1fr 1fr; } }

/* A bike's papers: road tax, insurance, GPS SIM, each with the date it ends. */
.papers__list { list-style: none; padding: 0; margin: 0; }
.papers__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0 10px 10px; border-top: 1px solid var(--rule); border-left: 3px solid transparent; }
.papers__row:first-child { border-top: 0; }
.papers__row--soon { border-left-color: var(--warn); }
.papers__row--expired { border-left-color: var(--crit); }
.papers__what { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.papers__what b { font: 700 14.5px/1.25 var(--font-head); margin-right: 4px; }
.papers__what > .pill { justify-self: start; }
.papers__what small { font-size: 12.5px; overflow-wrap: anywhere; }
.papers__acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.papers .hint { margin-top: 8px; }
.papers details { margin-top: 8px; font-size: 13px; }
/* Add or edit a paper: the photo or PDF in one box (owner, 13 Nov 2026). */
.papers__file { border: 1px solid var(--rule); border-radius: 10px; padding: 10px 12px 12px; display: grid; gap: 6px; margin: 0; min-width: 0; }
.papers__file legend { padding: 0 4px; font-weight: 600; font-size: 13.5px; }
.papers__file input[type=file] { max-width: 100%; }
.papers__now { margin: 0; font-size: 13.5px; }
.glance dd a { color: inherit; text-decoration: none; }

/* The road tax on the customer's booking. */
.roadtax { border-left: 3px solid var(--good); }
.roadtax h3 { display: flex; gap: 6px; align-items: center; }

/* Finance, Partners: hotels and agencies and their commission. */
.part__list { border-top: 1px solid var(--rule); margin-top: 8px; }
.part { border-bottom: 1px solid var(--rule); }
.part > summary, .part--plain { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 6px 12px; align-items: center; padding: 10px 2px; cursor: pointer; list-style: none; }
.part--plain { grid-template-columns: minmax(0, 1fr); cursor: default; }
.part > summary::-webkit-details-marker { display: none; }
.part[open] > summary { background: var(--surface-2); }
.part[open] > summary > .frep__chev { transform: rotate(90deg); }
.part__name { min-width: 0; font-size: 14.5px; line-height: 1.3; }
.part__name small, .part__money small { display: block; margin-top: 2px; font-size: 12px; }
.part__money { text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }
.part__body { padding: 8px 2px 14px; display: grid; gap: 10px; }
.part__body h4 { margin: 4px 0 0; font: 600 13px var(--font-head); }
.part-page .row-between { margin: 12px 0 0; }
@media (max-width: 420px) { .part > summary { grid-template-columns: minmax(0, 1fr) 16px; } .part__money { grid-column: 1; grid-row: 2; text-align: left; } .part > summary > .frep__chev { grid-column: 2; grid-row: 1; } }

/* Add a bike owner (Finance, Owners; 14 Nov 2026) */
.own__bikes-pick { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.own__bikes-pick legend { padding: 0; margin-bottom: 4px; font-weight: 600; }
.own__pick { align-items: flex-start; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 8px; }
.own__pick span { display: grid; gap: 1px; }
.own__pick.is-off { opacity: .6; }
.own__bikes-pick details { display: grid; gap: 6px; }
.own__bikes-pick summary { cursor: pointer; color: var(--ink-2); font-size: 13.5px; padding: 4px 0; }
/* Breadcrumbs on the staff and admin pages (crumbs.js, 14 Nov 2026) */
.crumbs--staff { margin: 0 0 10px; }
.crumbs--staff a { padding: 6px 0; }
@media print { .crumbs--staff { display: none; } }

/* Gear only (gearshop.js, gearorders.js; 14 Nov 2026) */
.gearshop .panel { display: grid; gap: 10px; }
.gearshop__pay { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.gearshop__pay legend { font-weight: 600; margin-bottom: 4px; }
.gearshop__pay small { display: block; font-weight: 400; }
.gearshop__bank { display: grid; gap: 4px; margin: 0; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; background: var(--raise, #fff); }
.gearshop__bank div { display: flex; gap: 10px; justify-content: space-between; }
.gearshop__bank dt { color: var(--muted); }
.gearshop__bank dd { margin: 0; text-align: right; font-weight: 600; }
.gearshop__status { margin: 0 0 6px; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--brand, #b9192b) 8%, transparent); }
.gearshop__status--closed, .gearshop__status--out, .gearshop__status--confirmed { background: color-mix(in srgb, var(--good) 12%, transparent); }
.gearshop__status--cancelled, .gearshop__status--rejected { background: var(--raise, #f4f4f4); }
.gearorders { display: grid; gap: 10px; }
.gearorder { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.gearorder.is-late { border-color: var(--crit); }
.gearorder__top { display: flex; gap: 8px; align-items: center; }
.gearorder__top .pill { margin-left: auto; }
.gearorder__items { color: var(--ink-2); font-size: 14px; }
.gearorder__next { font-weight: 600; color: var(--ink-2); }
.gearorder__acts { flex-wrap: wrap; margin-bottom: 12px; }
.gearorder__hist { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }

/* Side panel: the money pages under "Finance", opened with a click (legacy.js, 14 Nov 2026) */
.sidenav__grp { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.sidenav__grp:hover { background: var(--surface-2); }
.sidenav__group.is-here > .sidenav__grp { font-weight: 600; }
.sidenav__grp small { margin-left: auto; color: var(--muted); font-size: 12px; }
.sidenav__chev { flex: none; width: 7px; height: 7px; margin: 0 4px 3px 2px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(-45deg); transition: transform .15s; }
.sidenav__group.is-open .sidenav__chev { transform: rotate(45deg); margin-bottom: 5px; }
.sidenav__sub { margin: 2px 0 4px 14px; padding-left: 8px; border-left: 1.5px solid var(--rule); }
.sidenav__sub a { font-size: 13.5px; white-space: normal; line-height: 1.25; }
@media (prefers-reduced-motion: reduce) { .sidenav__chev { transition: none; } }

/* Side panel by area, Quick booking on top, Settings menu at the top right (14 Nov 2026) */
.sidenav__quick { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; margin: 2px 4px 12px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 14px var(--font-head); text-decoration: none; }
.sidenav__quick:hover { opacity: .9; }
.sidenav__list a svg, .sidenav__grp svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
.sidenav__list a.is-on svg { color: var(--ink); }
.sidenav__sub a { padding-left: 8px; }
.sidenav__h { margin-top: 14px; }
.sidenav__foot { margin: 14px 2px 0; padding-top: 10px; border-top: 1px solid var(--rule); display: grid; gap: 4px; }
.sidenav__small { padding: 4px 6px; font-size: 12.5px; color: var(--muted); text-decoration: none; }
.sidenav__small:hover { color: var(--ink); }
.icon-btn.is-on { background: var(--ink); color: #fff; }
.setmenu { position: fixed; z-index: 60; width: 290px; max-height: calc(100vh - 90px); overflow: auto; padding: 8px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 12px 32px rgba(21, 21, 21, .16); }
.setmenu__h { margin: 6px 10px; font: 700 11px var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.setmenu a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.setmenu a svg { flex: none; color: var(--muted); }
.setmenu a:hover, .setmenu a:focus-visible, .setmenu a.is-on { background: var(--surface-2); outline: none; }
.setmenu hr { border: 0; height: 1px; margin: 6px 8px; background: var(--rule); }

/* Top bar and the menu at the top right (menu.js, 14 Nov 2026) */
.brand__sub:empty { display: none; }
.topbar__find { margin-left: 2px; }
.icon-btn--flag { background: #fde68a; color: #5c4400; }
.icon-btn--flag:hover { background: #fcd34d; }
body.has-menu { overflow: hidden; }
.mdrawer { position: fixed; inset: 0; z-index: 70; }
.mdrawer__back { position: absolute; inset: 0; background: rgba(21, 21, 21, .32); }
.mdrawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -12px 0 32px rgba(0, 0, 0, .18); }
.mdrawer__head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 18px; border-bottom: 1px solid var(--rule); }
.mdrawer__who { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mdrawer__who b { font: 700 17px var(--font-head); }
.mdrawer__who span { font-size: 13px; color: var(--muted); }
.mdrawer__body { flex: 1; overflow: auto; padding: 4px 12px 28px; -webkit-overflow-scrolling: touch; }
.mdrawer__h { margin: 16px 8px 6px; font: 700 11px var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
summary.mdrawer__h { cursor: pointer; }
.mdrawer__list { list-style: none; margin: 0; padding: 0; }
.mdrawer__list a, .mdrawer__list button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); text-decoration: none; font: 500 15px var(--font); text-align: left; cursor: pointer; }
.mdrawer__list a:hover, .mdrawer__list button:hover, .mdrawer__list a.is-on { background: var(--surface-2); }
.mdrawer__list a.is-on { font-weight: 600; }
.mdrawer__list svg { flex: none; color: var(--muted); }
.crumbs__menu { padding: 4px 0; border: 0; background: none; font: inherit; color: var(--ink-2); cursor: pointer; }
.crumbs__menu:hover { color: var(--brand); text-decoration: underline; }
.bottomnav button[data-menu] { border: 0; background: none; cursor: pointer; padding: 0; }

/* Gear rental on the start page and the Bikes page, and its slide (14 Nov 2026) */
.slide--gear { --tone: var(--brand, #b9192b); }
.gearband { display: flex; align-items: center; gap: 14px; margin: 18px 0 4px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--radius, 12px); background: var(--surface); color: var(--ink); text-decoration: none; }
.gearband:hover { border-color: var(--brand); }
.gearband img { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.gearband > span:nth-of-type(1) { flex: 1; min-width: 0; display: grid; gap: 2px; color: var(--ink-2); font-size: 14px; }
.gearband b { color: var(--ink); font: 700 16px var(--font-head); }
.gearband__go { flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font: 600 14px var(--font-head); white-space: nowrap; }
.gearband--compact { margin: 0 0 14px; padding: 10px 14px; }
.gearband--compact img { width: 44px; height: 44px; }
@media (max-width: 560px) { .gearband__go { display: none; } }
.gearinfo { margin-top: 28px; display: grid; gap: 8px; }
.gearinfo h2 { margin: 12px 0 2px; font-size: 20px; }
.gearinfo ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.gearinfo details { border-bottom: 1px solid var(--rule); padding: 10px 0; }
.gearinfo summary { cursor: pointer; font-weight: 600; }
.gearinfo details p { margin: 8px 0 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- a field with a problem (owner, 14 Nov 2026)
   "it should be dimmly highlighted in the light red so the user knows": the box itself is filled light red,
   on every form of the customer site and the staff app, with why under it (fieldcheck.js, markInvalid). */
:root { --invalid-fill: color-mix(in srgb, var(--crit) 9%, var(--raise, #fff)); }
input[aria-invalid="true"]:not([type=checkbox]):not([type=radio]), select[aria-invalid="true"], textarea[aria-invalid="true"],
.is-invalid input:not([type=checkbox]):not([type=radio]), .is-invalid select, .is-invalid textarea {
  background-color: var(--invalid-fill) !important; border-color: var(--crit) !important; }
div[aria-invalid="true"], fieldset[aria-invalid="true"], section[aria-invalid="true"], .panel[aria-invalid="true"],
.check.is-invalid, fieldset.is-invalid, label:has(> input[type=checkbox][aria-invalid="true"]), label:has(> input[type=radio][aria-invalid="true"]) {
  background-color: var(--invalid-fill); border-radius: var(--radius-s); }
.field-error { animation: inv-in .18s ease-out; }
@keyframes inv-in { from { opacity: 0; transform: translateY(-2px); } }

/* ---------------------------------------------------------------- send bikes for dates (14 Nov 2026) */
.sharebikes__h { margin: 4px 0 8px; font-size: 16px; }
.sharebikes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sharebikes__item { display: grid; grid-template-columns: auto 64px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--raise); cursor: pointer; }
.sharebikes__item:has(input:checked) { border-color: var(--blue, #2563eb); box-shadow: 0 0 0 1px var(--blue, #2563eb); }
.sharebikes__item img { width: 64px; height: 44px; object-fit: cover; border-radius: 4px; background: var(--surface-2); }
.sharebikes__item span { display: flex; flex-direction: column; min-width: 0; }
.sharebikes__price { text-align: right; }
.sharebikes__send textarea, .sharebikes__send input[readonly] { width: 100%; }
.picked__head { margin: 18px 0 2px; }
.picked__more { margin-top: 22px; }
.picked__more > summary { cursor: pointer; font-weight: 600; padding: 10px 0; }

/* ---------------------------------------------------------------- riders at the shop (15 Nov 2026) */
.riders { margin: 22px 0 6px; }
.riders__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 10px; }
.riders__head b { font: 700 17px var(--font-head); }
.riders__head .muted { font-size: 14px; }
.riders__list { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.riders__list li { flex: none; scroll-snap-align: start; }
.riders__ph { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.riders__ph img { display: block; width: 168px; aspect-ratio: 3 / 4; height: auto; object-fit: cover; transition: transform .2s ease; }
.riders__ph:hover img { transform: scale(1.03); }
.riders--compact { margin: 16px 0 0; }
.riders--compact .riders__head b { font-size: 15px; }
.riders--compact .riders__ph img { width: 96px; border-radius: 10px; }
.riders__big img { display: block; width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; }
@media (min-width: 900px) { .riders__ph img { width: 196px; } }
/* riders and reviews by bike type (15 Nov 2026) */
.rv-kinds { margin: 0 0 10px; }
.band--reviews .rv-kinds .chip { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.band--reviews .rv-kinds .chip.is-on { background: #fff; color: var(--brand, #b9192b); border-color: #fff; }
.band--reviews .rv-none { color: rgba(255, 255, 255, .85); }
.bike-trust { margin-top: 4px; }
.bike-trust__h { margin: 16px 0 8px; font: 700 15px var(--font-head); }
.rvs--bike { grid-auto-columns: minmax(240px, 86%); }
@media (min-width: 900px) { .rvs--bike { grid-auto-flow: row; grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- gear shop: browse, then checkout (15 Nov 2026) */
.gearshop--browse .page__head { margin-bottom: 6px; }
.gkind { margin-top: 18px; }
.gkind__h { margin: 0 0 10px; font-size: 18px; }
.gtiles { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .gtiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .gtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gtile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-s); overflow: hidden; }
.gtile.is-on { border-color: var(--brand, #b9192b); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand, #b9192b) 18%, transparent); }
.gtile__img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); cursor: zoom-in; }
.gtile__img img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); max-width: none; object-fit: contain; margin: 0; }
.gtile__img--none { display: grid; place-items: center; }
.gtile__img i { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink-2); }
.gtile__img--none { color: var(--muted); cursor: default; }
.gtile__body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.gtile__name { margin: 0; font: 600 15px/1.25 var(--font-head); }
.gtile__price { margin: 0; font-weight: 700; color: var(--brand, var(--ink)); font-variant-numeric: tabular-nums; }
.gtile__desc { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gtile__act { margin-top: auto; padding-top: 6px; }
.gtile__add { width: 100%; justify-content: center; }
.gtile .qty { width: 100%; grid-template-columns: 1fr 1fr 1fr; }
.gearbar { position: sticky; z-index: 20; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 10px); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding: 10px 10px 10px 16px; border-radius: var(--radius); background: var(--ink, #111); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); font-weight: 600; }
@media (min-width: 900px) { .gearbar { bottom: 16px; } }
.gearshop--browse .gearinfo { margin-top: 28px; }
.gearshop__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

/* Language switcher (22 Nov 2026): the language's code in the top bar opens English, Malay, French and Spanish;
   the footer lists the same four. Plain links: the page loads again in that language. */
.langpick { position: relative; }
.langpick > summary { list-style: none; display: inline-flex; align-items: center; min-width: 40px; min-height: 40px; padding: 0 9px; border-radius: var(--radius); cursor: pointer; font: 600 13px var(--font-head); color: var(--ink-2); }
.langpick > summary::-webkit-details-marker { display: none; }
.langpick > summary:hover, .langpick[open] > summary { background: var(--surface); }
.langpick .langs { position: absolute; right: 0; top: calc(100% + 6px); z-index: 45; margin: 0; padding: 6px; list-style: none; min-width: 170px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 14px 34px rgba(11, 11, 11, .16); }
.langpick .langs a { display: block; padding: 9px 10px; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-size: 14px; }
.langpick .langs a:hover, .langpick .langs a.is-on { background: var(--surface); }
.langpick .langs a.is-on { font-weight: 600; }
.sitefoot .langs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sitefoot .langs a.is-on { text-decoration: underline; text-underline-offset: 3px; }

/* Money: the To do and Deposits tabs (owner, 22 Nov 2026). */
.money__tabs { margin: 2px 0 14px; }

/* Photo from the old website (owner, 28 Nov 2026) */
.oldpics { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.oldpics__one { display: grid; gap: 4px; padding: 6px; border: 1px solid var(--rule); border-radius: var(--radius-s); background: var(--bg, #fff); text-align: left; cursor: pointer; font: 500 12.5px var(--font); color: var(--ink); }
.oldpics__one:hover, .oldpics__one:focus-visible { border-color: var(--s1); }
.oldpics__one img { width: 100%; aspect-ratio: 900 / 891; object-fit: cover; border-radius: 4px; }

/* Expenses: month picker (owner, 28 Nov 2026) */
.exp-month{max-width:18rem}
.exp-lines summary{cursor:pointer}
