/* Razortrips – look and feel (light only for now).
   Brand colour: change --accent, --accent-hover and --accent-soft below and the whole site follows. */

:root {
  /* Brand colours, measured from the Razortrips logo file */
  --navy: #172b3c;      /* "Razor" */
  --amber: #d6952f;     /* right mountain */
  --green: #6c8831;     /* left mountain */

  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --border: #e3e7ec;
  --border-strong: #ccd3dc;
  --text: #121214;           /* Turo-style near-black text */
  --text-2: #3c4758;
  --text-3: #6a7484;
  --accent: var(--navy);          /* buttons, links, selected things */
  --accent-hover: #0e1d29;
  --accent-soft: #e8edf1;
  --on-accent: #ffffff;
  --highlight: #c27f2b;           /* "trips" amber */
  --amber-soft: #fbf2e4;
  --green-text: #616c32;          /* tagline green */
  --green-soft: #eff2e5;
  --good: var(--green-text);
  --warn: #b45309;
  --warn-soft: #fdf3e2;
  --err: #c0362c;
  --err-soft: #fdecea;
  --star: var(--amber);
  --shadow: 0 1px 2px rgba(20, 33, 58, .05), 0 8px 24px rgba(20, 33, 58, .06);
  --shadow-lg: 0 2px 6px rgba(20, 33, 58, .06), 0 24px 48px rgba(20, 33, 58, .12);
  --radius: 14px;
  --radius-lg: 20px;
  --art-bg: radial-gradient(120% 90% at 50% 35%, #f8f9fb, #e2e6eb);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* sections that links jump to (like #faq) stop below the sticky top bar. Set on the sections, not the whole page:
   a page-wide scroll padding made the browser "scroll up to show" the top bar's own menus when clicked */
[id] { scroll-margin-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
img[src*="p=art"] { background: var(--art-bg); } /* car drawings until real photos are added */
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--highlight); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 900; }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.i { width: 18px; height: 18px; flex: none; }
.muted { color: var(--text-3); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.dot { color: var(--text-3); padding: 0 1px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow-wrap { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface-2); }
.btn-danger { background: transparent; color: var(--err); border-color: var(--border); }
.btn-danger:hover { background: var(--err-soft); color: var(--err); }
.btn-light { background: var(--surface); color: #0f1419; }
.btn-light:hover { background: #eef1f4; color: #0f1419; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.btn-lg { height: 52px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn-sm .i { width: 16px; height: 16px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }

.pill {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border);
}
.status-confirmed { background: var(--green-soft); color: var(--green-text); border-color: transparent; }
.status-new { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.status-declined, .status-cancelled { color: var(--text-3); }
.pill-new { background: var(--amber-soft); color: var(--highlight); border-color: transparent; }
.pill-warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill-dark { background: rgba(15, 20, 25, .78); color: #fff; border: 0; backdrop-filter: blur(6px); }
.pill-btn { cursor: pointer; }

/* ---------- header (Turo-style: promo strip, logo left, call link and menu right) ---------- */
.promo { background: var(--surface-2); text-align: center; padding: 12px 16px; font-size: 16px; line-height: 24px; }
.promo a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.promo a:hover { color: var(--highlight); }
.top { background: var(--bg); position: sticky; top: 0; z-index: 50; transition: box-shadow .25s ease; }
/* Front page: once the banner search scrolls away, it moves into the top bar (like Turo) */
.top-search { display: none; flex: 1; min-width: 0; justify-content: center; }
.is-scrolled .top { box-shadow: 0 1px 0 var(--border); }
.is-scrolled .top-search { display: flex; }
.is-scrolled .top-actions .top-link { display: none; }
.search-top { box-shadow: none; max-width: 760px; min-height: 52px; padding: 5px 6px; }
.search-top .s-field { padding: 0 12px; }
/* Phones and tablets: a small search pill in the top bar; tapping it opens the full search under the bar */
.top-pill { display: none; flex: 1 1 auto; min-width: 0; max-width: 420px; margin: 0 auto; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.top-pill .i { flex: none; width: 18px; height: 18px; }
.top-pill-t { display: flex; align-items: baseline; gap: 6px; min-width: 0; font-size: 14px; line-height: 20px; white-space: nowrap; }
.top-pill-t b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.top-pill-t span { flex: none; color: var(--text-2); }
.top-pill-t span::before { content: "·"; margin-right: 6px; color: var(--text-3); }
.top-pill[aria-expanded="true"] { border-color: var(--text); }
.cats { position: sticky; top: 72px; z-index: 40; background: var(--bg); transition: box-shadow .25s ease; }
.is-scrolled .cats { box-shadow: 0 1px 0 var(--border); }
.page-home.is-scrolled .top { box-shadow: none; } /* one divider, under the tabs */
.top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.logo-img { display: block; height: 54px; width: auto; } /* logo file with only its plain white background made see-through; the logo itself is untouched */
.logo-lg { height: 92px; }
.brand .pill { margin-left: 2px; }
.top-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; position: relative; }
.top-link { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1px; color: var(--text-2); }
.top-link .i { width: 15px; height: 15px; }
.top-link:hover { border-color: var(--text); color: var(--text); }
.menu-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px; border-radius: 8px; border: 1px solid transparent; background: var(--surface); cursor: pointer; color: var(--text); }
.menu-pill[aria-expanded="true"], .menu-pill:hover { background: var(--surface-2); }
.menu-pill .i { width: 22px; height: 22px; stroke-width: 1.6; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); width: 282px; padding: 8px 0; border-radius: 12px; background: var(--surface); box-shadow: 0 6px 24px rgba(0, 0, 0, .16); border: 1px solid var(--border); z-index: 80; display: none; }
.menu.is-open { display: block; }
.menu a { display: flex; align-items: center; gap: 12px; padding: 8px 16px; color: var(--text); font-size: 16px; line-height: 24px; }
.menu a.menu-plain { padding: 8px 16px; }
.menu a .i { width: 22px; height: 22px; color: var(--text); stroke-width: 1.5; }
.menu a:hover { background: var(--surface-2); color: var(--text); }
.menu hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0; }
.menu button.menu-plain { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 8px 16px; font-size: 16px; line-height: 24px; color: var(--text); cursor: pointer; }
.menu button.menu-plain:hover { background: var(--surface-2); }

/* ---------- Log in / Sign up popup (Turo's layout) ---------- */
.auth-modal { width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 28px; border: 0; border-radius: 12px; box-shadow: 0 12px 48px rgba(0, 0, 0, .24); color: var(--text); }
.auth-modal::backdrop { background: rgba(18, 18, 20, .55); }
.auth-modal h2 { font-size: 28px; font-weight: 700; letter-spacing: -.5px; margin: 8px 0 20px; }
.auth-modal .auth-sub { margin: -12px 0 20px; color: var(--text); }
.auth-x, .auth-back { position: absolute; top: 18px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--text); }
.auth-x { right: 18px; }
.auth-back { left: 18px; }
.auth-back + h2 { margin-top: 40px; }
.auth-x:hover, .auth-back:hover { background: var(--surface-2); }
.auth-modal .field + .field { margin-top: 14px; }
.auth-modal .field input, .auth-modal .field select { border-radius: 8px; border-color: var(--border-strong); }
.auth-modal .btn-block { margin-top: 18px; height: 48px; font-size: 16px; }
.auth-or { text-align: center; color: var(--text-2); font-size: 14px; margin: 36px 0 16px; }
.auth-alts { display: grid; gap: 12px; }
.auth-alt { display: flex; align-items: center; justify-content: center; gap: 10px; height: 46px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 16px; font-weight: 600; cursor: pointer; }
.auth-alt:hover { border-color: var(--text); color: var(--text); }
.auth-alt .i { width: 20px; height: 20px; }
.auth-switch { text-align: center; margin: 28px 0 0; }
.auth-switch button { background: none; border: 0; color: var(--highlight); font-size: 16px; font-weight: 500; cursor: pointer; }
.auth-switch button:hover { text-decoration: underline; }
.auth-legal { text-align: center; font-size: 12.5px; color: var(--text); margin: 28px 0 0; }
.auth-legal a { color: var(--highlight); }
.auth-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--err-soft); color: var(--err); font-size: 14px; }
.acct-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.acct-grid .panel > .btn { margin-top: 8px; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 15px; }
.nav a .i { width: 17px; height: 17px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.menu-btn { display: none; }
/* ---------- banner with search (Turo: 1136 wide, rounded, white title, search on top) ---------- */
.hero-wrap { max-width: 1184px; margin: 0 auto; padding: 16px 24px; }
.hero { position: relative; min-height: 320px; border-radius: 12px; overflow: hidden; display: flex; background: #1b2430; }
/* Looping videos: the copy fading in sits on top; the one underneath stays fully visible until the fade is done */
.hero-video, .loop-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; transition: opacity 1.6s ease; background: #1b2430; }
.hero-video.is-on, .loop-video.is-on { opacity: 1; z-index: 2; }
.hero-video.leaving, .loop-video.leaving { opacity: 1; z-index: 1; transition: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(8, 14, 22, .5), rgba(8, 14, 22, .18) 78%); pointer-events: none; }
.hero-in { position: relative; z-index: 4; width: 100%; padding: 48px 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.hero-title { text-align: center; margin-bottom: 4px; }
.hero-title > * { display: inline; margin: 0; color: #fff; font-size: 38px; font-weight: 700; letter-spacing: -.6px; line-height: 44px; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.hero-sub { color: #fff; text-align: center; font-size: 16px; line-height: 24px; margin: 0 0 16px; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }

.search { display: grid; grid-template-columns: 235px minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; width: 100%; max-width: 896px; min-height: 56px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 4px 8px rgba(0, 0, 0, .14); }
.s-field { display: grid; gap: 0; padding: 0 16px; min-width: 0; position: relative; }
.s-field + .s-field { border-left: 1px solid var(--border); }
.s-label { font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .1px; color: var(--text); }
.s-control { display: flex; align-items: center; gap: 6px; min-width: 0; }
.s-control .i { display: none; }
.s-control select, .s-control input, .bf select, .bf input { border: 0; background: transparent; padding: 0; font-size: 16px; line-height: 24px; min-width: 0; outline: none; color: var(--text); }
.s-control select { width: 100%; text-overflow: ellipsis; cursor: pointer; }
.s-dt input { flex: 1 1 auto; width: 0; cursor: pointer; }
.s-dt select { flex: 0 0 auto; width: auto; color: var(--text-2); }
.s-control input::placeholder { color: var(--text-3); }
.s-control select:invalid, .s-control select.is-empty { color: var(--text-3); }
.search.is-monthly [data-time] { display: none; }
.s-go { width: 40px; height: 40px; padding: 0; border-radius: 8px; background: var(--accent); color: var(--on-accent); }
.s-go:hover { background: var(--accent-hover); color: var(--on-accent); }
.s-go .i { width: 20px; height: 20px; }
.s-go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.search-compact { margin: 0; box-shadow: none; }

/* ---------- category tabs ---------- */
.cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 6px; padding: 20px 24px 8px; }
.cats a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; color: var(--text); font-size: 15px; font-weight: 500; }
.cats a .i { width: 18px; height: 18px; }
.cats a:hover { background: var(--surface-2); color: var(--text); }
.cats a[aria-selected="true"] { background: var(--text); color: var(--bg); font-weight: 600; }

/* ---------- car rows with arrows ---------- */
.main-w { max-width: 1184px; margin: 0 auto; padding: 0 24px; }
.carrow { padding: 24px 0 8px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.row-head h2 { font-size: 21px; font-weight: 900; letter-spacing: -.3px; line-height: 28px; }
.row-head p { font-size: 14px; line-height: 20px; color: var(--text-2); letter-spacing: .06px; }
.row-arrows { display: flex; gap: 8px; }
.row-all { display: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.row-arrows button { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--text); }
.row-arrows button:disabled { opacity: .4; cursor: default; }
.row-arrows .i { width: 16px; height: 16px; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; }

/* card: photo, heart, bold name, year · rating, $/day, total */
.tcard { position: relative; min-width: 0; }
.tcard-img { position: relative; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.tcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; } /* their photos have the car low in the frame */
.tcard-img .pill { position: absolute; left: 10px; bottom: 10px; z-index: 2; }
.tcard.is-taken .tcard-img img { filter: grayscale(.7); opacity: .6; }
.tcard-link { position: absolute; inset: 0; z-index: 1; border-radius: 12px; }
.fav { position: absolute; right: 8px; top: 8px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; cursor: pointer; color: #fff; }
.fav .i { width: 24px; height: 24px; fill: rgba(0, 0, 0, .25); stroke: #fff; stroke-width: 2; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.fav[aria-pressed="true"] .i { fill: #e2483d; stroke: #fff; }
.tcard-body { padding: 12px 8px 0; }
.tcard-title { font-size: 21px; font-weight: 900; letter-spacing: -.3px; line-height: 28px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard:hover .tcard-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.tcard-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 16px; line-height: 24px; color: var(--text); margin-top: 4px; }
.tcard-meta .count { color: var(--text-3); margin-left: 4px; }
.tcard-price { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--text); }
.tcard-price b { font-weight: 700; }
.tcard-total { font-size: 14px; line-height: 20px; color: var(--text-3); }
.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars .i { width: 16px; height: 16px; color: var(--amber); fill: var(--amber); stroke: none; }
.stars b { font-weight: 400; }

/* ---------- content sections (like Turo's city page) ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 24px 0 56px; }
.big-h { font-size: clamp(32px, 4.4vw, 51px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; color: var(--text); }
.lead-c { max-width: 660px; margin: 20px auto 0; font-size: 21px; line-height: 28px; text-align: center; color: var(--text); }
.center { text-align: center; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.value { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; }
.value .v-icon { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--amber-soft); color: var(--highlight); }
.value .v-icon .i { width: 24px; height: 24px; }
.value h3, .h3 { font-size: 21px; font-weight: 900; letter-spacing: -.3px; line-height: 28px; }
.value p { color: var(--text); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { display: grid; gap: 8px; align-content: start; }
.step-art { height: 120px; border-radius: 16px; background: var(--amber-soft); display: grid; place-items: center; color: var(--highlight); margin-bottom: 8px; }
.step-art .i { width: 48px; height: 48px; stroke-width: 1.5; }
.step h3 { font-size: 21px; font-weight: 900; letter-spacing: -.3px; }
.btn-turo { height: 50px; padding: 0 18px; border-radius: 8px; font-size: 18px; font-weight: 700; background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.btn-turo:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-turo-dark { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-turo-dark:hover { background: var(--text-2); border-color: var(--text-2); color: var(--bg); }
.cta-c { display: flex; justify-content: center; margin-top: 40px; }
.band { background: var(--amber-soft); }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scrollbar-width: none; }
.review { margin: 0; padding: 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-content: start; }
.review .r-avatar { grid-row: span 3; width: 40px; height: 40px; border-radius: 999px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; }
.review .r-car { font-weight: 700; color: var(--highlight); }
.review blockquote { margin: 0; color: var(--text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review figcaption { font-size: 13px; font-weight: 700; }
.review-stars { display: inline-flex; gap: 2px; }
.review-stars .i { width: 15px; height: 15px; color: var(--amber); fill: var(--amber); stroke: none; }
.reviews-list { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }

/* Front page: "What Our Customers Say" cards (text, divider, photo and name) and the FAQ cards */
.center-head { display: grid; justify-items: center; gap: 12px; max-width: 760px; margin: 0 auto 40px; text-align: center; }
.center-head .muted { margin: 0; font-size: 17px; line-height: 1.6; }
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.testimonial { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 2px rgba(18, 18, 20, .04); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease; }
.testimonial:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 18px 40px rgba(23, 43, 60, .13); }
.testimonial blockquote { flex: 1; margin: 0; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.t-photo { flex: none; width: 48px; height: 48px; border-radius: 999px; object-fit: cover; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border-strong); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.testimonial:hover .t-photo { transform: scale(1.08); }
.t-initial { display: grid; place-items: center; background: var(--surface-2); color: var(--text); font-weight: 700; }
.t-who { display: grid; min-width: 0; }
.t-who b { font-weight: 600; color: var(--text); }
.t-who small { font-size: 13px; color: var(--text-2); }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1120px; margin: 0 auto; }
.faq-card { padding: 26px 28px; background: color-mix(in srgb, var(--surface-2) 45%, var(--surface)); border: 1px solid var(--border); border-radius: 16px; transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease; }
.faq-card:hover { background: var(--surface); border-color: var(--border-strong); box-shadow: 0 10px 28px rgba(23, 43, 60, .08); }
.faq-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--text); }
.faq-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.explore { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.explore .kicker { font-size: 16px; font-weight: 900; margin-bottom: 8px; }
.explore p { margin-top: 16px; }
.explore .btn { margin-top: 24px; }
.explore-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #1b2430; }
.explore-img img, .explore-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.places h3 { font-size: 18px; font-weight: 900; letter-spacing: -.2px; margin-bottom: 6px; }
.compare { background: var(--bg-alt); border-radius: 16px; padding: 40px; }
.compare h2 { font-size: 28px; font-weight: 900; letter-spacing: -.6px; text-align: center; margin-bottom: 28px; }
.compare-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: 48px; }
.compare h3 { font-size: 15px; font-weight: 900; margin-bottom: 10px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.compare li .i { width: 18px; height: 18px; margin-top: 2px; }
.compare .yes .i { color: var(--green-text); stroke-width: 2.6; }
.compare .no .i { color: var(--text-3); }
.faq { border-top: 1px solid var(--border); margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 21px; line-height: 28px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--text-3); transition: transform .2s; flex: none; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 0 24px; color: var(--text); max-width: 860px; }
.sub-head { font-size: 21px; font-weight: 900; margin: 40px 0 16px; }
.empty { padding: 40px 24px; text-align: center; color: var(--text-3); border: 1px dashed var(--border-strong); border-radius: 12px; }
.empty h1 { color: var(--text); font-size: 26px; margin-bottom: 8px; }

/* ---------- facts as tiles (owner area) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.tile { display: grid; gap: 4px; padding: 24px; border-left: 1px solid var(--border); color: var(--text); align-content: start; }
.tile:first-child { border-left: 0; }
a.tile:hover { background: var(--surface-2); color: var(--text); }
.tile-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); }
.tile-value { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.tile-value small { font-size: 15px; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
.tile-note { font-size: 13.5px; color: var(--text-3); }
.tile.is-hot .tile-value { color: var(--warn); }

/* ---------- footer (Turo: grey, link grid, columns, bottom line) ---------- */
.foot { background: var(--surface-2); padding: 48px 0 40px; margin-top: 64px; }
.foot-in { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.foot-tabs { display: flex; flex-wrap: wrap; gap: 0 4px; margin-bottom: 28px; }
.foot-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--text-2); cursor: pointer; }
.foot-tabs button:hover { color: var(--text); }
.foot-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.foot-links .more { display: none; }
.foot-links.is-open .more { display: block; }
.show-more { grid-column: 1 / -1; justify-self: start; margin-top: 12px; padding: 8px 14px; border: 2px solid transparent; border-radius: 10px; background: none; color: var(--highlight); font-size: 16px; font-weight: 700; cursor: pointer; }
.show-more:focus-visible { border-color: #89b4f8; }
.foot-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 16px; font-size: 13px; padding: 0 14px; }
.foot-links a { color: var(--text); }
.foot-links a:hover, .foot-cols a:hover { text-decoration: underline; }
.foot-sep { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 1.2fr; gap: 24px 16px; }
.foot-cols h3 { font-size: 16px; font-weight: 900; margin-bottom: 14px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.foot-cols a, .foot-cols span { color: var(--text); }
.foot-logo .logo-img { height: 76px; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; font-size: 13px; color: var(--text); }
.foot-base a { color: var(--text); }
.callbar { display: none; }

/* ---------- search results ---------- */
.results-head { max-width: 1184px; margin: 0 auto; padding: 16px 24px 0; }
.results-head h1 { font-size: 21px; font-weight: 900; letter-spacing: -.3px; margin: 8px 0 16px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; }
.chip span { font-size: 12px; color: var(--text-3); }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip[aria-selected="true"] span { color: rgba(255, 255, 255, .7); }
.filters .sort { margin-left: auto; }
.sort label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.sort select { height: 36px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); padding: 0 12px; font-weight: 500; font-size: 14px; }
.result-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 20px 0; font-variant-numeric: tabular-nums; }
.result-line b { font-size: 16px; }

/* ---------- car page (Turo layout) ---------- */
.crumbs { padding: 16px 0 12px; font-size: 14.5px; }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); font-weight: 600; }
.crumbs a:hover { color: var(--highlight); }
.crumbs .i { width: 16px; height: 16px; }
.gallery { display: grid; gap: 8px; border-radius: 16px; overflow: hidden; height: 460px; }
.gallery.g-2 { grid-template-columns: 2fr 1fr; }
.gallery.g-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery.g-3 .g-main { grid-row: span 2; }
.gallery > div { position: relative; background: var(--surface-2); min-height: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.g-all { position: absolute; right: 16px; bottom: 16px; z-index: 2; height: 36px; padding: 0 14px; border-radius: 8px; border: 0; background: var(--surface); font-weight: 700; font-size: 14px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.g-all .i { width: 16px; height: 16px; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 56px; margin-top: 32px; align-items: start; }
.detail-title h1 { font-size: 40px; font-weight: 600; letter-spacing: -.8px; line-height: 48px; }
.detail-title .tcard-meta { margin-top: 6px; font-size: 16px; }
.block { padding: 28px 0; border-top: 1px solid var(--border); }
.detail-title + .block { margin-top: 24px; }
.block h2 { font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.block > p { color: var(--text); }
.host { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.host-mark { width: 64px; height: 64px; border-radius: 999px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.host-mark img { width: 100%; height: 100%; }
.host b { font-size: 18px; font-weight: 900; }
.host p { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.spec { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.spec .i { width: 22px; height: 22px; color: var(--text); }
.features { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.features li { display: flex; align-items: center; gap: 10px; }
.features .i { color: var(--text); width: 18px; height: 18px; }
.included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.included h3 { font-size: 16px; font-weight: 900; margin-bottom: 10px; grid-column: auto; }
.included ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.included li { display: flex; gap: 12px; align-items: flex-start; }
.included .i { width: 20px; height: 20px; color: var(--green-text); margin-top: 2px; }
.included li span { display: grid; }
.included small { color: var(--text-2); font-size: 13.5px; }
.rules { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; }
.rules li { display: flex; gap: 10px; align-items: flex-start; }
.rules .i { width: 20px; height: 20px; margin-top: 2px; }

.detail-side { position: sticky; top: 24px; display: grid; gap: 12px; }
.book-box { display: grid; gap: 16px; padding: 24px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.book-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.book-price b { font-size: 28px; font-weight: 900; letter-spacing: -.5px; }
.book-price .muted { font-size: 14px; }
.book-fields { display: grid; gap: 12px; }
.bf { display: grid; gap: 6px; }
.bf .s-label { font-size: 14px; font-weight: 700; }
.bf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.bf-row input, .bf-row select, .bf > select { height: 44px; padding: 0 12px; font-size: 15px; cursor: pointer; }
.bf-row select { border-left: 1px solid var(--border-strong); color: var(--text); }
.bf > select { border: 1px solid var(--border-strong); border-radius: 8px; width: 100%; }
.bf-row:focus-within, .bf > select:focus { border-color: var(--text); }
.side-facts { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 14px; }
.side-facts div { display: flex; gap: 10px; align-items: flex-start; }
.side-facts .i { width: 20px; height: 20px; color: var(--green-text); }
.side-facts span { display: grid; }
.side-facts small { color: var(--text-2); }
.side-help { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); color: var(--text); font-size: 14.5px; }
.side-help:hover { color: var(--text); border-color: var(--text); }
.side-help .i { color: var(--green-text); }
.breakdown { margin: 0; display: grid; gap: 10px; font-size: 15px; font-variant-numeric: tabular-nums; }
.breakdown > div { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; align-items: baseline; }
.breakdown dt { color: var(--text-2); }
.breakdown dd { margin: 0; font-weight: 600; text-align: left; white-space: nowrap; }
/* Info lists: a fixed label column, every value starts on the same line, thin dividers between rows */
.facts { margin: 0; display: grid; font-size: 15px; font-variant-numeric: tabular-nums; }
.facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--border); }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--text-3); font-size: 14px; }
.facts dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.facts + .breakdown { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.panel > h2 + .facts { margin-top: 16px; }
.breakdown .total { padding-top: 12px; border-top: 1px solid var(--border); font-size: 17px; }
.breakdown .total dt { color: var(--text); font-weight: 700; }
.breakdown .total dd { font-weight: 800; }
.good { color: var(--good); }
.page-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; letter-spacing: -1px; margin: 8px 0 24px; }
.lead { font-size: 18px; color: var(--text-2); }

/* ---------- forms / checkout ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.panel > h2 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 4px; }
.panel > h2 + p, .panel > h2 + .muted { margin-bottom: 18px; }
.panel > h2 + .form-grid, .panel > h2 + .field, .panel > h2 + .flash, .panel > h2 + .trip-car, .panel > h2 + .breakdown { margin-top: 16px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 56px; }
.checkout-form { display: grid; gap: 18px; padding: 28px; }
.checkout-form > p.muted { margin: -14px 0 0; }
.summary { display: grid; gap: 18px; position: sticky; top: 92px; }
.summary-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.summary-title { display: grid; gap: 2px; }
.summary-title b { font-size: 18px; }
.summary-trip { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.summary-trip li { display: flex; gap: 12px; align-items: flex-start; }
.summary-trip .i { color: var(--text-3); margin-top: 3px; }
.summary-trip span { display: grid; font-weight: 600; font-size: 15px; }
.summary-trip small { font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.span-2 { grid-column: span 2; }
.field { display: grid; gap: 6px; min-width: 0; }
.field + .field { margin-top: 14px; }
.form-grid .field + .field { margin-top: 0; }
.field-label { font-size: 14px; font-weight: 700; color: var(--text); }
.field input, .field select, .field textarea, .note-box {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-size: 15.5px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input[type="color"] { padding: 4px; height: 46px; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hint { font-size: 13px; color: var(--text-3); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); cursor: pointer; margin: 14px 0; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.checkout-form .check { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { padding: 12px 16px; border-radius: 12px; font-size: 14.5px; margin: 0 0 16px; }
.flash-ok { background: var(--green-soft); color: var(--green-text); font-weight: 600; }
.flash-err { background: var(--err-soft); color: var(--err); }
.book-box .flash, .checkout-form .flash { margin: 0; }
main > .wrap > .flash, body > .wrap > .flash { margin-top: 16px; }

.done { text-align: center; display: grid; gap: 16px; justify-items: center; padding: 40px 32px; }
.done-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 999px; background: var(--green-soft); color: var(--green-text); }
.done-icon .i { width: 32px; height: 32px; stroke-width: 2.6; }
.done h1 { font-size: 34px; letter-spacing: -.03em; }
.done .lead { max-width: 480px; }
.done-ref { display: grid; gap: 4px; padding: 14px 28px; border-radius: 14px; background: var(--surface-2); }
.done-ref b { font-size: 26px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.done .breakdown { width: 100%; max-width: 440px; text-align: left; margin-top: 8px; }
.small-head { font-size: 16px; margin-top: 12px; }
.next-steps { margin: 0; padding-left: 20px; text-align: left; color: var(--text-2); display: grid; gap: 6px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

.policy { display: grid; gap: 0; margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.policy section { padding: 22px 24px; border-top: 1px solid var(--border); }
.policy section:first-child { border-top: 0; }
.policy h2 { font-size: 17px; margin-bottom: 8px; }
.policy ul { margin: 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 4px; }

/* ---------- owner area ---------- */
/* Frame like the 1now dashboard: left menu, top bar with search, cards on a light page */
.admin { background: #fafafa; }
.adm { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--surface) 0 247px, var(--border) 247px 248px, transparent 248px); }
.adm-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 16px; background: var(--surface); border-right: 1px solid var(--border); overflow-y: auto; z-index: 70; }
.adm-brand { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.adm-brand .logo-img { height: 44px; }
.adm-close { display: none; }
.adm-nav { display: grid; gap: 2px; }
.adm-nav a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.adm-nav a .i { width: 19px; height: 19px; color: var(--text-3); transition: color .2s; }
.adm-nav a:hover { background: var(--surface-2); color: var(--text); }
.adm-nav a[aria-current="page"] { background: color-mix(in srgb, var(--amber) 13%, var(--surface)); color: var(--text); font-weight: 600; }
.adm-nav a[aria-current="page"] .i { color: var(--highlight); }
/* dropdown groups (Analytics, Fleet, Settings) */
.adm-group summary { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; font-weight: 500; cursor: pointer; list-style: none; }
.adm-group summary::-webkit-details-marker { display: none; }
.adm-group summary .i { width: 19px; height: 19px; color: var(--text-3); }
.adm-group summary .i:last-child { width: 16px; height: 16px; margin-left: auto; transition: transform .2s; }
.adm-group[open] summary .i:last-child { transform: rotate(180deg); }
.adm-group summary:hover { background: var(--surface-2); color: var(--text); }
.adm-group summary.is-on { background: var(--surface-2); color: var(--text); font-weight: 600; }
.adm-group summary.is-on .i:first-child { color: var(--highlight); }
.adm-nav a.adm-sub { height: 38px; padding-left: 43px; font-size: 14px; color: var(--text-3); }
.adm-nav a.adm-sub:hover { color: var(--text); }
.adm-nav a.adm-sub[aria-current="page"] { color: var(--text); }
.adm-crumbs em { font-style: normal; color: var(--text-3); }
.adm-nav a.adm-sum-link { flex: 1; height: 100%; padding: 0; border-radius: 0; color: inherit; background: none; }
.adm-nav a.adm-sum-link:hover { color: var(--text); }
.adm-card { margin-top: auto; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.adm-card-h { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.adm-card p { margin: 8px 0 12px; font-size: 13px; color: var(--text-3); }
.adm-card .btn .i { width: 15px; height: 15px; }
.adm-shade { display: none; }
.adm-body { min-width: 0; display: flex; flex-direction: column; }
.adm-top { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 28px; background: var(--surface); border-bottom: 2px solid var(--amber); }
.adm-burger { display: none; }
.adm-crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; white-space: nowrap; }
.adm-crumbs a { color: var(--text-3); }
.adm-crumbs a:hover { color: var(--text); }
.adm-crumbs span { color: var(--text-3); }
.adm-crumbs b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.adm-search { margin-left: auto; position: relative; width: min(340px, 34vw); }
.adm-search .i { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.adm-search input[type="search"] { width: 100%; height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); font: inherit; font-size: 14px; color: var(--text); }
.adm-search input[type="search"]:focus { outline: none; border-color: var(--border-strong); background: var(--surface); }
.adm-me { position: relative; }
.adm-avatar { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--amber); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.adm-avatar:hover { background: var(--highlight); }
.adm-menu { right: 0; top: calc(100% + 8px); width: 240px; }
.adm-menu span.menu-plain { display: block; padding: 8px 16px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-menu a, .adm-menu button.menu-plain { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.adm-menu .i { width: 20px; height: 20px; color: var(--text-2); stroke-width: 1.6; }
.adm-content { padding: 28px 28px 64px; width: 100%; max-width: 1480px; }
.search-note { margin: -4px 0 14px; font-size: 14px; }
.admin-head-intro { margin-bottom: 14px; }
.admin-head-intro .muted { margin: 4px 0 0; font-size: 14px; }
.admin .tabs { margin-bottom: 20px; }
.admin .tabs a[aria-selected="true"] { border-bottom-color: var(--amber); }
.settings-narrow { max-width: 860px; }
.svcs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.svc .kpi-ic { width: 34px; height: 34px; border-radius: 10px; }
.svc-main { display: grid; gap: 2px; min-width: 0; }
.svc-main b { font-weight: 600; }
.svc-main span { font-size: 13.5px; color: var(--text-3); }
.svc-state { white-space: nowrap; }
.kpi-value-sm { font-size: 19px; white-space: normal; }
.chg-none { background: var(--surface-2); color: var(--text-3); padding: 2px 6px; }
.exp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.exp-grid .form-grid { margin: 0; }
.rows.rows-exp li { grid-template-columns: 130px minmax(0, 1fr) 120px 48px; }
.rows-exp li > .r-col:first-child { padding-left: 0; border-left: 0; }
.rows-exp .r-end { justify-self: start; }
a.kpi-link { color: inherit; transition: border-color .2s, box-shadow .2s; }
a.kpi-link:hover { color: inherit; border-color: var(--border-strong); box-shadow: 0 6px 18px rgba(23, 43, 60, .06); }
.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.r-money { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* Bookings list, like 1now: tabs left, tools right, one card per booking */
.bk-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 16px; }
.admin .bk-tabs { margin: 0; border-bottom: 0; }
.bk-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); }
.seg a { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; color: var(--text-2); font-size: 13.5px; font-weight: 500; }
.seg a .i { width: 15px; height: 15px; }
.seg a.is-on { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.icon-btn-plain { border-color: transparent; background: transparent; }
.bk-filter, .bk-more { position: relative; }
.bk-filter summary, .bk-more summary { list-style: none; cursor: pointer; }
.bk-filter summary::-webkit-details-marker, .bk-more summary::-webkit-details-marker { display: none; }
.bk-filter summary.is-on { border-color: var(--amber); color: var(--highlight); }
.bk-filter[open] .menu, .bk-more[open] .menu { display: block; }
.bk-filter-menu { width: 280px; padding: 14px; }
.bk-filter-menu .field { margin-bottom: 10px; }
.bk-filter-btns { display: flex; justify-content: flex-end; gap: 8px; }
.bk-menu { width: 220px; }
.bk-menu form { margin: 0; }
.bk-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 16px; border: 0; background: none; font: inherit; font-size: 15px; color: var(--text); text-align: left; cursor: pointer; }
.bk-menu button:hover { background: var(--surface-2); }
.bk-menu .i { width: 18px; height: 18px; color: var(--text-2); }
.bk-menu a { font-size: 15px; }
.bk-menu button.is-danger, .bk-menu button.is-danger .i { color: #b42318; }
.bk-box { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.bk-count { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.bk-list { list-style: none; margin: 0; padding: 0; }
.bk { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 20px; padding: 16px 18px 14px; border-bottom: 1px solid var(--border); }
.bk-thumb { display: block; width: 72px; aspect-ratio: 16 / 11; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.bk-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.bk-who { min-width: 0; }
.bk-name { font-size: 16px; font-weight: 600; color: var(--text); }
.bk-name:hover { color: var(--highlight); }
.bk-ref { margin-left: 4px; font-size: 13.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.bk-sub { margin-top: 2px; font-size: 14px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-right { display: grid; grid-template-columns: 84px 112px 96px 40px; align-items: center; justify-items: start; gap: 8px; align-self: start; }
.bk-total { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bk-right .pill { display: inline-flex; align-items: center; gap: 6px; }
.bk-right .pill i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.st-paid { background: #e6f4ea; color: #1e7b3c; border-color: transparent; }
.st-unpaid { background: #fdf3dc; color: #8a5a00; border-color: #f2d48a; }
.st-booked { background: #e6f4ea; color: #1e7b3c; border-color: #bfe3c9; }
.st-pending { background: var(--surface-2); color: var(--text-2); border-color: var(--border-strong); }
.st-done { background: var(--surface-2); color: var(--text-2); }
.st-off { background: #fdecec; color: #b42318; border-color: #f6c6c1; }
.bk-legs { grid-column: 1 / -1; display: grid; gap: 6px; margin: 12px 0 0; }
.bk-legs > div { display: grid; grid-template-columns: 112px minmax(0, 1fr) 150px; align-items: center; gap: 12px; font-size: 14px; }
.bk-legs dt { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.bk-legs dt i { width: 8px; height: 8px; border-radius: 999px; border: 1.5px solid var(--text-3); }
.bk-legs dt i.dot-on { border-color: var(--highlight); background: var(--highlight); }
.bk-legs dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.bk-legs dd.bk-when { color: var(--text-2); font-variant-numeric: tabular-nums; }
.bk-empty { display: grid; justify-items: center; gap: 6px; padding: 56px 16px; text-align: center; color: var(--text-3); font-size: 14px; }
.bk-empty .kpi-ic { width: 40px; height: 40px; border-radius: 999px; }
.bk-empty b { color: var(--text); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; font-size: 13.5px; }
.pager > .muted { margin-right: auto; }
.pager-rows label { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); }
.pager-rows select { height: 34px; padding: 0 28px 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font: inherit; font-size: 13.5px; }
.pager-nav { display: flex; align-items: center; gap: 4px; }
.pager-nav a, .pager-nav span { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.pager-nav a:hover { border-color: var(--border-strong); color: var(--text); }
.pager-nav .is-on { background: var(--amber); border-color: var(--amber); color: #fff; font-weight: 700; }
.pager-nav .is-off { color: var(--text-3); opacity: .6; }
.pager-nav .gap { border: 0; min-width: 16px; padding: 0; }
/* Home, Analytics, Revenue and Expense pieces (1now layout) */
.dash-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.home-kpis { margin-top: 18px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.home-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-wide { margin-top: 14px; }
.cc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cc-title { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.cc-sub { margin: 2px 0 0; font-size: 13px; color: var(--text-3); }
.up-list { list-style: none; margin: 0; padding: 0; display: grid; }
.up-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 170px 92px; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.up-list li:first-child { border-top: 0; }
.up-who { display: grid; min-width: 0; color: var(--text); }
.up-who b { font-weight: 600; }
.up-who span, .up-when span { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-when { display: grid; min-width: 0; }
.up-when b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.up-list .up-exp { grid-template-columns: 34px minmax(0, 1fr) 96px; }
.up-amt { font-variant-numeric: tabular-nums; }
.up-list .pill { display: inline-flex; align-items: center; gap: 6px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 10px 16px; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--border); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: left; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl-main { display: block; font-weight: 600; color: var(--text); }
.tbl-main:hover { color: var(--highlight); }
.tbl-sub { display: block; font-size: 12.5px; color: var(--text-3); }
.tbl-note { color: var(--text-2); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl .pill { display: inline-flex; align-items: center; gap: 6px; }
.tbl .pill i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.tbl td a .i { width: 15px; height: 15px; vertical-align: -2px; }
.card-chart .tbl th:first-child, .card-chart .tbl td:first-child { padding-left: 0; }
.card-chart .tbl th:last-child, .card-chart .tbl td:last-child { padding-right: 0; }
.tbl-fleet td, .tbl-fleet th { padding: 12px 14px; white-space: nowrap; }
.tbl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.admin .tbl-tabs { margin: 0; border-bottom: 0; }
.bk-box > .tbl-tabs { padding: 6px 18px 0; border-bottom: 1px solid var(--border); }
.donut { position: relative; width: 190px; height: 190px; margin: 6px auto 18px; }
.donut svg { width: 100%; height: 100%; transform: rotate(0deg); }
.donut-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-mid b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.donut-mid span { max-width: 92px; font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut-key { list-style: none; margin: 0; padding: 0; }
.donut-key li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 14px; }
.donut-key li:first-child { border-top: 0; }
.donut-key i { width: 10px; height: 10px; border-radius: 3px; }
.donut-key span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.donut-key b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-pair { gap: 2px; }
.ch-pair i { max-width: 11px; }
.ch-pair i.is-exp { background: #2f73a8; }
.ch-svg-top { pointer-events: none; z-index: 1; }
.ch-dash { stroke-dasharray: 5 4; }
.ch-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--text-2); }
.ch-key span { display: inline-flex; align-items: center; gap: 8px; }
.ch-key i { width: 10px; height: 10px; border-radius: 3px; }
.ch-key i.is-line { width: 18px; height: 0; border-radius: 0; border-top: 2px dashed #c27f2b; }
.ch-grid span.is-zero { border-top-color: var(--border-strong); }
.funnel { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; }
.funnel-step { display: grid; justify-items: center; gap: 4px; padding: 22px 12px; border-radius: 14px; background: var(--surface-2); text-align: center; }
.funnel-step b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.funnel-step span:not(.kpi-ic) { font-size: 14px; color: var(--text); }
.funnel-step small { font-size: 12px; color: var(--text-3); }
.funnel-step .kpi-ic { background: var(--surface); color: var(--highlight); }
.funnel-step.is-last { background: #9c5f18; }
.funnel-step.is-last b, .funnel-step.is-last span:not(.kpi-ic), .funnel-step.is-last small { color: #fff; }
.funnel-arrow { display: grid; justify-items: center; color: var(--highlight); }
.funnel-arrow small { font-size: 11px; color: var(--text-3); }
.funnel-arrow .i { width: 18px; height: 18px; }
.visits { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--border); }
.stack-bar { display: flex; gap: 2px; height: 12px; margin-bottom: 12px; }
.stack-bar i { display: block; height: 100%; border-radius: 3px; min-width: 4px; }
.src-list, .page-list { list-style: none; margin: 0; padding: 0; }
.src-list li { display: grid; grid-template-columns: 10px 18px minmax(0, 1fr) 56px 48px; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); font-size: 14px; }
.src-list li:first-child { border-top: 0; }
.src-list li > i { width: 10px; height: 10px; border-radius: 3px; }
.src-list .i { width: 16px; height: 16px; color: var(--text-3); }
.src-list b { font-variant-numeric: tabular-nums; }
.src-list small { color: var(--text-3); font-variant-numeric: tabular-nums; }
.page-list li { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 6px 12px; padding: 8px 0; font-size: 14px; }
.page-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-list li b { font-variant-numeric: tabular-nums; }
.page-list li i { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: #c27f2b; }
/* pop-up windows on owner pages (Add category, Add expense…) */
.adm-modal { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.adm-modal::backdrop { background: rgba(18, 18, 20, .45); }
.adm-modal form { display: grid; gap: 14px; padding: 20px 22px; }
.adm-modal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adm-modal-h h2 { margin: 0; font-size: 18px; }
.adm-modal-f { display: flex; justify-content: flex-end; gap: 8px; }
.adm-modal .form-grid { margin: 0; }
/* Fleet → All fleet: pills with counts and photo cards, like 1now */
.fl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.fl-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fl-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 500; }
.fl-pill span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.fl-pill:hover { color: var(--text); border-color: var(--border-strong); }
.fl-pill.is-on { background: var(--text); border-color: var(--text); color: #fff; }
.fl-pill.is-on span { background: rgba(255, 255, 255, .18); color: #fff; }
.fl-pill i, .fl-badge i { width: 7px; height: 7px; border-radius: 999px; }
.dot-live { background: #2f9e57; }
.dot-paused { background: var(--text-3); }
.dot-booked { background: #c27f2b; }
.fl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fl-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.fl-card:hover { border-color: var(--border-strong); box-shadow: 0 10px 28px rgba(23, 43, 60, .08); }
.fl-img { position: relative; display: block; height: 180px; overflow: hidden; background: var(--surface-2); }
.fl-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.fl-badges { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; }
.fl-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(18, 18, 20, .78); color: #fff; font-size: 12px; font-weight: 600; }
.fl-body { display: grid; gap: 4px; padding: 14px 16px 12px; }
.fl-name { font-size: 16px; font-weight: 600; color: var(--text); }
.fl-name:hover { color: var(--highlight); }
.fl-sub { font-size: 13px; color: var(--text-3); }
.fl-place { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.fl-place .i { width: 14px; height: 14px; }
.fl-price { margin-top: 6px; font-size: 13px; color: var(--text-3); }
.fl-price b { font-size: 19px; font-weight: 700; color: var(--text); }
.fl-more { margin: auto 16px 0; padding: 12px 0 14px; border-top: 1px solid var(--border); text-align: right; font-size: 14px; font-weight: 600; color: #9c5f18; }
.fl-more:hover { color: var(--text); }
/* Fleet → Live map, like 1now: list panel on the left, big map on the right */
.kpi-value.is-good { color: #1e7b3c; }
.kpi-value.is-bad { color: #b42318; }
.lm { display: grid; grid-template-columns: 300px minmax(0, 1fr); margin-top: 14px; min-height: 620px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.lm-side { display: flex; flex-direction: column; border-right: 1px solid var(--border); min-width: 0; }
.lm-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 16px 10px; }
.lm-top .pill { display: inline-flex; align-items: center; gap: 6px; }
.lm-search { padding: 0 16px 10px; }
.lm-search .dash-sel, .lm-search input { width: 100%; }
.lm-search input[type="search"] { height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font: inherit; font-size: 14px; }
.lm-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; border-bottom: 1px solid var(--border); }
.lm-chips a { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.lm-chips a span { font-weight: 500; color: var(--text-3); }
.lm-chips a.is-on { background: #9c5f18; color: #fff; }
.lm-chips a.is-on span { color: #fff; }
.lm-list { list-style: none; margin: 0; padding: 4px 0; flex: 1; overflow-y: auto; }
.lm-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 8px; align-items: center; gap: 10px; padding: 9px 16px; }
.lm-list li:hover { background: var(--surface-2); }
.lm-list img { width: 44px; height: 32px; border-radius: 6px; object-fit: cover; object-position: 50% 78%; }
.lm-list a { display: grid; min-width: 0; color: var(--text); }
.lm-list b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-list a span { font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-list li > i { width: 8px; height: 8px; border-radius: 999px; }
.lm-empty { display: block !important; color: var(--text-3); font-size: 14px; }
.lm-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-3); }
.lm-foot .i { width: 14px; height: 14px; }
.lm-map { position: relative; background: var(--surface-2); }
.lm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Customers table, like 1now */
.tbl-who { display: flex; align-items: center; gap: 12px; }
.tbl-who > span:last-child { display: grid; }
.tbl-who b { font-weight: 600; }
.tbl-cust .cust-av { width: 34px; height: 34px; font-size: 13px; }
.ver { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.ver .i { width: 13px; height: 13px; }
.ver.is-on { border-color: #bfe3c9; background: #e6f4ea; color: #1e7b3c; }
.tbl-cust .bk-menu { text-align: left; }
/* Customers */
.cust-search input[type="search"] { height: 38px; width: min(300px, 70vw); padding: 0 12px 0 36px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font: inherit; font-size: 14px; color: var(--text); }
.rows.rows-cust li { grid-template-columns: 44px minmax(0, 1fr) 170px 120px; }
.cust-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: color-mix(in srgb, var(--amber) 16%, var(--surface)); color: var(--text); font-weight: 700; }
.rows-cust .r-meta .pill { margin-left: 4px; }
/* Calendar, like 1now: cars down the side, days (or hours) across the top, solid bars */
.seg-lg { margin-bottom: 18px; }
.seg-lg a { height: 34px; padding: 0 16px; font-size: 14px; }
.seg a.is-accent { background: #9c5f18; color: #fff; }
.cal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-nav b { min-width: 150px; text-align: center; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cal { overflow: auto; max-height: calc(100vh - 230px); border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.cal-grid { display: grid; grid-template-columns: 200px repeat(var(--days), minmax(56px, 1fr)); grid-auto-rows: 56px; min-width: calc(200px + var(--days) * 56px); position: relative; }
.cal-v-week { grid-template-columns: 200px repeat(var(--days), minmax(120px, 1fr)); min-width: calc(200px + var(--days) * 120px); }
.cal-grid.cal-v-day { grid-template-columns: 200px repeat(var(--days), minmax(64px, 1fr)); min-width: calc(200px + var(--days) * 64px); }
.cal-corner, .cal-car { position: sticky; left: 0; z-index: 3; grid-column: 1; background: var(--surface); border-right: 1px solid var(--border); }
.cal-corner { top: 0; z-index: 4; display: flex; align-items: center; padding: 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--border); }
.cal-day { position: sticky; top: 0; z-index: 2; display: grid; place-content: center; gap: 1px; text-align: center; font-size: 13px; font-weight: 600; line-height: 1.2; background: var(--surface); border-bottom: 1px solid var(--border); border-left: 1px solid color-mix(in srgb, var(--border) 60%, transparent); font-variant-numeric: tabular-nums; }
.cal-day small { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--text-3); }
.cal-day.is-wknd { background: color-mix(in srgb, var(--surface-2) 70%, var(--surface)); }
.cal-day.is-today, .cal-day.is-today small { color: var(--highlight); }
.cal-car { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--border); color: var(--text); min-width: 0; }
.cal-car img { flex: none; width: 40px; height: 30px; border-radius: 6px; object-fit: cover; object-position: 50% 78%; background: var(--surface-2); }
.cal-car span { display: grid; min-width: 0; }
.cal-car b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-car small { font-size: 12px; color: var(--text-3); }
.cal-car:hover { color: var(--text); background: var(--surface-2); }
.cal-cell { border-bottom: 1px solid var(--border); border-left: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.is-wknd { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.cal-cell.is-today { background: color-mix(in srgb, var(--amber) 9%, transparent); }
.cal-bar { z-index: 1; align-self: center; display: grid; align-content: center; height: 40px; margin: 0 3px; padding: 0 9px; border-radius: 6px; overflow: hidden; line-height: 1.25; }
.cal-bar b, .cal-bar small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-bar b { font-size: 12.5px; font-weight: 700; }
.cal-bar small { font-size: 11px; }
.cal-bar:hover { filter: brightness(.94); }
.status-confirmed-bar { background: #9c5f18; color: #fff; }
.cal-bar.status-confirmed-bar, .cal-bar.status-completed-bar { box-shadow: 0 0 0 2px var(--surface); }
.cal-bar.status-confirmed-bar:hover { color: #fff; }
.status-new-bar { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px #9c5f18; }
.cal-bar.status-new-bar { box-shadow: inset 0 0 0 1.5px #9c5f18, 0 0 0 2px var(--surface); }
.status-completed-bar { background: #e9ebee; color: var(--text); }
.cal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--text-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }

/* Dashboard */
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 16px; margin-bottom: 8px; }
.dash-head h1 { font-size: 24px; letter-spacing: -.02em; }
.dash-head .muted { margin: 2px 0 0; font-size: 14px; }
.dash-range { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dash-sel { position: relative; display: inline-flex; align-items: center; }
.dash-sel .i { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--text-3); pointer-events: none; }
.dash-sel select, .dash-dates input { height: 38px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font: inherit; font-size: 14px; color: var(--text); }
.dash-sel select { padding: 0 32px 0 36px; cursor: pointer; }
.dash-dates { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dash-dates[hidden] { display: none; }
.dash-dates input { padding: 0 10px; }
.dash-sec { margin: 26px 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.dash-alert { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--border)); border-radius: 14px; background: color-mix(in srgb, var(--amber) 8%, var(--surface)); color: var(--text); }
.dash-alert > span:nth-child(2) { display: grid; flex: 1; }
.dash-alert small { color: var(--text-3); font-size: 13px; }
.dash-alert > .i { color: var(--text-3); }
.dash-alert:hover { border-color: var(--amber); color: var(--text); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpis-more { margin-top: 14px; }
.kpis[hidden] { display: none; }
.kpi { padding: 18px 18px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); min-width: 0; }
.kpi-label { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.kpi-ic { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
.kpi-ic .i { width: 15px; height: 15px; }
.kpi-value { margin: 14px 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi-value small { font-size: 15px; font-weight: 600; color: var(--text-3); }
.kpi-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.chg { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chg .i { width: 13px; height: 13px; }
.chg-good { background: #e6f4ea; color: #1e7b3c; }
.chg-bad { background: #fdecec; color: #b42318; }
.chg-flat, .chg-new { background: var(--surface-2); color: var(--text-2); }
.dash-more { display: flex; justify-content: center; margin-top: 14px; }
.dash-more .btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.dash-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card-chart { padding: 18px 18px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); min-width: 0; }
.cc-head { display: grid; gap: 2px; margin-bottom: 14px; }
.cc-head span { font-size: 14px; color: var(--text-2); }
.cc-head b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cc-empty { margin: 40px 0; text-align: center; color: var(--text-3); }
.dash-foot { margin-top: 24px; }

/* Charts: bars and lines drawn with plain HTML so they stay sharp at any width */
.chart { position: relative; height: 230px; margin: 0 0 30px 46px; }
.ch-grid span { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--border); }
.ch-grid i { position: absolute; right: calc(100% + 8px); top: -8px; font-style: normal; font-size: 11.5px; line-height: 16px; color: var(--text-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ch-plot { position: absolute; inset: 0; }
.ch-cols { display: flex; align-items: flex-end; gap: 2px; }
.ch-col { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; min-width: 0; cursor: default; }
.ch-col i { display: block; width: 100%; max-width: 24px; border-radius: 4px 4px 0 0; background: #c27f2b; transition: opacity .15s; }
.ch-cols:hover .ch-col i { opacity: .55; }
.ch-cols .ch-col:hover i { opacity: 1; }
.ch-x { position: absolute; left: 0; right: 0; top: calc(100% + 8px); height: 16px; }
.ch-x span { position: absolute; transform: translateX(-50%); font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.ch-x span:first-child { transform: none; left: 0 !important; }
.ch-x span:last-child { transform: translateX(-100%); left: 100% !important; }
.ch-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch-line { fill: none; stroke: #c27f2b; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ch-area { fill: #c27f2b; opacity: .1; }
.ch-hits { position: absolute; inset: 0; display: flex; }
.ch-hit { position: relative; flex: 1 1 0; }
.ch-hit:hover::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid var(--border-strong); }
.ch-hit b { display: none; position: absolute; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 999px; background: #c27f2b; box-shadow: 0 0 0 2px var(--surface); }
.ch-hit:hover b { display: block; }
.ch-tip { position: absolute; z-index: 5; padding: 6px 10px; border-radius: 8px; background: #121214; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 8px)); font-variant-numeric: tabular-nums; }
.ch-table { margin-top: 2px; font-size: 13px; }
.ch-table summary { cursor: pointer; color: var(--text-3); width: max-content; }
.ch-table summary:hover { color: var(--text); }
.ch-table-in { max-height: 220px; overflow: auto; margin-top: 8px; border: 1px solid var(--border); border-radius: 10px; }
.ch-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ch-table th, .ch-table td { padding: 6px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.ch-table th { position: sticky; top: 0; background: var(--surface-2); font-weight: 600; }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hbars li { position: relative; display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 92px; align-items: center; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.hb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.hb-track { height: 14px; }
.hb-track i { display: block; height: 100%; min-width: 3px; max-height: 24px; border-radius: 0 4px 4px 0; background: #c27f2b; }
.hb-val { font-weight: 600; font-variant-numeric: tabular-nums; }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 20px; }
.admin-head h1 { font-size: 24px; letter-spacing: -.03em; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.admin-head h1 .muted { font-weight: 600; }
.admin .crumbs { padding-top: 0; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--warn-soft); color: var(--text-2); font-size: 14.5px; margin-bottom: 12px; }
.notice .i { color: var(--warn); margin-top: 2px; }
.tiles-admin { margin: 20px 0 28px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--text-3); font-weight: 600; font-size: 14.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a span { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); font-variant-numeric: tabular-nums; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }

/* Lists: same columns on every row (thumbnail · main · date · amount) */
.rows { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.rows li { display: grid; grid-template-columns: 88px minmax(0, 1fr) 210px 130px; gap: 16px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--border); }
.rows li:first-child { border-top: 0; }
.rows li:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.r-thumb { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.r-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.r-main { min-width: 0; display: grid; gap: 4px; }
.r-title { color: var(--text); font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.r-title:hover { color: var(--accent); }
.r-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.r-text { font-size: 14px; color: var(--text-2); }
.r-col { display: grid; justify-items: start; gap: 3px; padding-left: 16px; border-left: 1px solid var(--border); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-col b { font-size: 14px; font-weight: 600; }
.r-col span:not(.pill) { font-size: 13px; color: var(--text-3); }
.rows-cars li { grid-template-columns: 88px minmax(0, 1fr) 120px 150px; }
.rows-reviews li { grid-template-columns: minmax(0, 1fr) auto; }
.r-actions { display: flex; align-items: center; gap: 8px; }

.admin-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stack { display: grid; gap: 20px; align-content: start; }
.trip-car { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.trip-car img { width: 104px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.trip-car div { display: grid; gap: 2px; }
.quote { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); display: grid; gap: 6px; }
.quote p { color: var(--text-2); font-size: 14.5px; }
.status-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.msg { padding: 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-alt); display: grid; gap: 8px; }
.msg p { font-size: 14.5px; color: var(--text-2); }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.feature-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pick { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--text-2); }
.pick input:checked + span { background: var(--green-soft); border-color: transparent; color: var(--green-text); }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.photo { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .pill { position: absolute; left: 8px; top: 8px; }
.photo-actions { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.photo-actions .icon-btn { width: 34px; height: 34px; border-radius: 10px; }
.photo-empty { display: grid; gap: 8px; margin: 14px 0; }
.photo-empty img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }
.upload { position: relative; display: flex; gap: 12px; align-items: center; padding: 16px; border: 1.5px dashed var(--border-strong); border-radius: 12px; cursor: pointer; color: var(--text-2); }
.upload:hover { border-color: var(--accent); }
.upload .i { width: 26px; height: 26px; color: var(--highlight); }
.upload span { display: grid; }
.upload small { font-size: 13px; color: var(--text-3); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.panel .btn-block { margin-top: 6px; }

.auth { min-height: calc(100vh - 200px); display: grid; place-items: center; padding: 24px 0; }
.auth-box { width: 100%; max-width: 420px; display: grid; gap: 14px; padding: 32px; }
.auth-box h1 { font-size: 26px; letter-spacing: -.03em; }
.auth-box .field + .field { margin-top: 0; }

/* ---------- tablets ---------- */
@media (max-width: 1080px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .track { grid-auto-columns: calc((100% - 32px) / 3); }
  .detail, .checkout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .rows li { grid-template-columns: 80px minmax(0, 1fr) 190px 110px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .adm { grid-template-columns: minmax(0, 1fr); background: none; }
  .adm-side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-102%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .adm.side-open .adm-side { transform: none; }
  .adm.side-open .adm-shade { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(18, 18, 20, .35); }
  .adm-close, .adm-burger { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }
  .adm-top { padding: 0 16px; gap: 12px; }
  .dash-charts { grid-template-columns: minmax(0, 1fr); }
  .home-grid, .home-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .funnel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .funnel-arrow { display: none; }
  .exp-grid { grid-template-columns: minmax(0, 1fr); }
  .kpis-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm { grid-template-columns: minmax(0, 1fr); }
  .lm-side { border-right: 0; border-bottom: 1px solid var(--border); }
  .lm-list { max-height: 320px; }
  .lm-map { min-height: 340px; }
  .is-scrolled .top-search { display: none; }
  .testimonials { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin: 0 auto; }
  .is-scrolled .top-pill { display: flex; }
  .is-scrolled .top-search.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 12px 24px 16px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(0, 0, 0, .12); animation: drop .18s ease both; }
  .top-search.is-open .search-top { max-width: 640px; margin: 0 auto; min-height: 0; padding: 8px; }
  .menu-btn { display: inline-grid; }
  .search { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .s-where { grid-column: span 2; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
  .s-field + .s-field { border-left: 0; }
  .s-until { border-left: 1px solid var(--border); }
  .s-go { grid-column: span 2; width: 100%; border-radius: 8px; height: 44px; margin-top: 4px; }
  .s-go span { position: static; width: auto; height: auto; clip: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track { grid-auto-columns: calc((100% - 16px) / 2); }
  .values, .steps, .places { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .reviews { grid-auto-columns: 80%; }
  .explore { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile:nth-child(3) { border-left: 0; }
  .tile:nth-child(n+3) { border-top: 1px solid var(--border); }
  .detail, .checkout, .admin-split, .acct-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-side, .summary { position: static; }
  .summary { order: -1; }
  .gallery { height: 340px; }
  .foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  .adm-crumbs a, .adm-crumbs span, .adm-crumbs em { display: none; }
  .adm-search { width: auto; flex: 1; }
  .adm-content { padding: 20px 16px 48px; }
  .kpi { padding: 14px; }
  .kpi-value { font-size: 21px; margin: 10px 0 8px; }
  .kpi-label { font-size: 11px; gap: 8px; letter-spacing: .04em; }
  .kpi-label .kpi-ic { display: none; }
  .chart { height: 190px; margin-left: 40px; }
  .hbars li { grid-template-columns: minmax(0, 1fr) 84px; gap: 4px 12px; }
  .hb-name { grid-column: 1 / -1; }
  .ch-x span:not(:first-child):not(:last-child):nth-child(odd) { display: none; }
  .svc { grid-template-columns: 34px minmax(0, 1fr); }
  .bk { grid-template-columns: 56px minmax(0, 1fr); }
  .bk-thumb { width: 56px; }
  .bk-right { grid-column: 1 / -1; grid-template-columns: 84px 112px minmax(0, 1fr) 40px; }
  .bk-legs > div { grid-template-columns: 92px minmax(0, 1fr); gap: 2px 10px; }
  .bk-legs dt { white-space: nowrap; letter-spacing: .04em; font-size: 11px; }
  .bk-legs dd.bk-when { grid-column: 2; text-align: left; }
  .bk-tools { width: 100%; }
  .bk-tools .btn-primary { margin-left: auto; }
  .pager-nav a, .pager-nav span { min-width: 30px; padding: 0 8px; }
  .svc > :last-child { grid-column: 2; justify-self: start; }
  .rows.rows-exp li { grid-template-columns: minmax(0, 1fr) auto auto; }
  .rows.rows-cust li { grid-template-columns: 40px minmax(0, 1fr); }
  .up-list li { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .fl-grid { grid-template-columns: minmax(0, 1fr); }
  .up-list li .up-when { grid-column: 2; justify-items: start; text-align: left; }
  .up-list li .pill { grid-column: 3; grid-row: 1; }
  .dash-actions { width: 100%; }
  .rows-cust li > .r-col { grid-column: 2; padding-left: 0; border-left: 0; }
  .cal-grid, .cal-v-week, .cal-grid.cal-v-day { grid-template-columns: 132px repeat(var(--days), minmax(48px, 1fr)); min-width: calc(132px + var(--days) * 48px); }
  .cal-car img { display: none; }
  .cal-car, .cal-corner { padding: 0 10px; }
  .dash-head .cal-nav { width: 100%; }
  .rows-exp li > .r-col:first-child { grid-column: 1 / -1; }
  .rows-exp li > .r-col { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .wrap, .main-w, .results-head { padding-left: 16px; padding-right: 16px; }
  .is-scrolled .top-search.is-open { padding: 12px 16px 16px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .faq-card, .testimonial { padding: 22px 20px; }
  .center-head { margin-bottom: 28px; }
  .top-pill { padding: 0 14px 0 12px; }
  .top-pill-t { flex-direction: column; align-items: flex-start; gap: 0; }
  .top-pill-t b { max-width: 100%; font-size: 13.5px; line-height: 18px; }
  .top-pill-t span { font-size: 12px; line-height: 16px; }
  .top-pill-t span::before { content: none; }
  .promo { font-size: 14px; padding: 10px 16px; }
  .top-in { height: 64px; gap: 12px; }
  .hide-sm { display: none !important; }
  .is-scrolled .top-search { display: none; }
  .cats { top: 64px; }
  .logo-img { height: 44px; }
  .logo-lg { height: 72px; }
  .hero-wrap { padding: 8px 16px; }
  .hero { min-height: 0; }
  .hero-in { padding: 32px 16px 20px; }
  .hero-title > * { font-size: 28px; line-height: 34px; letter-spacing: -.4px; }
  .search { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 0; }
  .s-where { grid-column: auto; }
  .s-field { padding: 10px 4px; }
  .s-until { border-left: 0; border-top: 1px solid var(--border); }
  .s-go { grid-column: auto; margin-top: 8px; }
  .row-arrows { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tcard-title { font-size: 19px; }
  .section { padding: 48px 0; }
  .lead-c { font-size: 18px; line-height: 26px; }
  .compare { padding: 28px 20px; }
  .compare-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq summary { font-size: 18px; line-height: 26px; }
  .tile { padding: 18px; }
  .tile-value { font-size: 28px; }
  .foot { padding-bottom: 96px; }
  .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callbar { display: grid; grid-template-columns: auto auto 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--border); }
  .callbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 13px; white-space: nowrap; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 700; }
  .callbar a.callbar-main { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  .callbar-main .i { display: none; }
  .admin .callbar { display: none; }
  .gallery { height: auto; border-radius: 0; margin: 0 -16px; }
  .gallery.g-2, .gallery.g-3 { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .gallery > div:not(.g-main) { display: none; }
  .gallery .g-main { aspect-ratio: 3 / 2; grid-row: auto; }
  .detail { margin-top: 20px; }
  .detail-title h1 { font-size: 30px; line-height: 36px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .features, .included { grid-template-columns: minmax(0, 1fr); }
  .host { grid-template-columns: auto minmax(0, 1fr); }
  .host .btn { grid-column: span 2; }
  .book-box { padding: 20px; }
  .checkout-form { padding: 20px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .span-2 { grid-column: auto; }
  .panel { padding: 20px; }
  .done { padding: 32px 20px; }
  .filters .sort { margin-left: 0; }
  .admin-head h1 { font-size: 24px; }
  .rows li, .rows-cars li { grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; padding: 12px; }
  .r-thumb { grid-row: span 3; align-self: start; }
  .r-col { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-left: 0; border-left: 0; }
  .rows-reviews li { grid-template-columns: minmax(0, 1fr); }
  .rows-reviews .r-col { grid-column: 1; }
  .r-title { white-space: normal; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- List your car (like Turo's Earn on Turo page) ---------- */
.host-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.host-hero { padding: 40px 0 32px; }
.host-hero .host-narrow { max-width: 560px; }
.host-hero .kicker { font-size: 12px; font-weight: 700; letter-spacing: .6px; margin-bottom: 12px; }
.host-hero h1 { font-size: clamp(32px, 4.6vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.08; }
.host-hero p { margin: 14px 0 20px; color: var(--text-2); }
.host-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 300px; overflow: hidden; }
.host-strip img { width: 100%; height: 300px; min-width: 0; object-fit: cover; object-position: 50% 75%; }
.host-h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.host-narrow > .host-h2 + p { margin-top: 8px; color: var(--text-2); }
.host-tips { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 28px; }
.host-tips img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.host-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.host-tips li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.host-tips .v-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--amber-soft); color: var(--highlight); }
.host-tips h3 { font-size: 17px; font-weight: 800; }
.host-tips p { font-size: 14.5px; color: var(--text-2); margin-top: 2px; }
.host-calc { background: var(--bg-alt); border-radius: 16px; padding: 36px; }
.calc-inputs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin: 24px 0; align-items: end; }
.calc-inputs input[type="range"] { padding: 0; min-height: 0; border: 0; accent-color: var(--accent); box-shadow: none; background: none; }
.host-calc h3.center { font-size: 20px; font-weight: 800; }
.host-facts { margin: 28px 0; text-align: left; }
.host-calc-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 32px; }
.host-more { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.host-calc .tile-value { color: var(--text); }
.host-note { font-size: 12px; color: var(--text-3); margin-top: 20px; text-align: center; }
.host-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.host-help h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.host-help p { font-size: 14.5px; color: var(--text-2); }
.host-form { padding: 32px; }
.host-form .host-h2 + p { margin: 6px 0 20px; }
.host-faq { margin-top: 24px; }
.host-faq summary { font-size: 18px; }
.rows-owners li { grid-template-columns: minmax(0, 1fr) 150px 200px; }
.rows-owners .r-actions select { height: 36px; border-radius: 8px; border: 1px solid var(--border); padding: 0 8px; font-weight: 600; }
@media (max-width: 900px) {
  .host-tips, .calc-inputs { grid-template-columns: minmax(0, 1fr); }
  .host-tips img { aspect-ratio: 16 / 10; }
    .host-help { grid-template-columns: minmax(0, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .host-narrow { padding: 0 16px; }
  .host-strip { grid-template-columns: minmax(0, 1fr); grid-template-rows: 220px; }
  .host-strip img { height: 220px; }
  .host-strip img + img { display: none; }
  .host-calc { padding: 24px 16px; }
  .host-tiles,   .host-form { padding: 20px; }
  .rows-owners li { grid-template-columns: minmax(0, 1fr); }
  .rows-owners .r-col { grid-column: 1; }
}

/* ---------- Motion: smooth, quiet, and off for people who ask for less motion ---------- */
.btn, .chip, .cats a, .top-link, .menu-pill, .icon-btn, .auth-alt, .tile, .review, .row-arrows button { transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease; }
.btn:active, .auth-alt:active, .cats a:active { transform: scale(.98); }
.tcard-img { transition: box-shadow .3s ease, transform .3s ease; }
.tcard-img img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tcard:hover .tcard-img { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tcard:hover .tcard-img img { transform: scale(1.05); }
.fav { transition: transform .15s ease; }
.fav:active { transform: scale(.85); }
.fav[aria-pressed="true"] .i { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.3); } }
.hero-in > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-title, .hero-sub { transition: opacity .18s ease, transform .18s ease; }
.hero-in.is-swapping .hero-title, .hero-in.is-swapping .hero-sub { opacity: 0; transform: translateY(6px); }
.hero-in > *:nth-child(2) { animation-delay: .08s; }
.hero-in > *:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.menu.is-open { animation: drop .18s ease both; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.auth-modal[open] { animation: modal .22s cubic-bezier(.2, .7, .2, 1) both; }
.auth-modal[open]::backdrop { animation: fade .22s ease both; }
@keyframes modal { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
[data-view]:not([hidden]) { animation: fade .2s ease both; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.faq details[open] p { animation: rise .3s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Phones: nothing scrolls sideways; rows and tabs stack (house rules) ---------- */
@media (max-width: 640px) {
  .cats { position: static; flex-wrap: wrap; justify-content: center; overflow: visible; gap: 6px; padding: 14px 16px 4px; }
  .page-home.is-scrolled .top { box-shadow: 0 1px 0 var(--border); }
  .cats a { height: 38px; padding: 0 12px; font-size: 14.5px; }
  .track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); gap: 28px; overflow: visible; margin: 0; padding: 0; }
  .track > :nth-child(n+5) { display: none; }
  .row-all { display: inline; }
  .reviews { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; overflow: visible; }
  .foot-tabs { flex-wrap: wrap; overflow: visible; }
  .host-calc-tiles, .host-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .host-calc-tiles .tile:nth-child(3), .host-more .tile:nth-child(3) { grid-column: span 2; }
  .tabs { flex-wrap: wrap; overflow: visible; }
  .host-facts .tile:nth-child(3) { border-left: 0; }
  .host-facts .tile:nth-child(n+3) { border-top: 1px solid var(--border); }
  .tiles .tile { padding: 16px; }
  .tile-value { font-size: 24px; }
}

/* Settings, like 1now: boxes with a heading row, lists of rows, chips and provider cards */
.pill-sm { height: 20px; padding: 0 8px; font-size: 11.5px; font-weight: 600; }
.pill i { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.st-accent { background: var(--amber-soft); color: #8a5414; border-color: transparent; }
.set-box { padding: 20px 22px; margin-bottom: 16px; }
.set-narrow { max-width: 760px; }
.set-box .bk-empty { padding: 32px 16px; }
.set-box-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.set-box-h h2, .web-list h2 { font-size: 17px; letter-spacing: -.01em; margin: 0; }
.set-box-h .muted { margin: 3px 0 0; font-size: 14px; }
.set-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.set-foot-split { justify-content: space-between; }
.set-logo { display: flex; align-items: center; gap: 14px; padding: 14px; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.set-logo img { height: 48px; width: auto; max-width: 160px; object-fit: contain; }
.set-logo div { display: grid; gap: 2px; }
.set-logo .muted { font-size: 13.5px; }
.field input:disabled { background: var(--surface-2); color: var(--text-3); cursor: not-allowed; }
.set-rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.set-rows > li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 14px; }
.set-rows > li + li { border-top: 1px solid var(--border); }
.set-rows > li:nth-child(even) { background: var(--surface-2); }
.set-rows .kpi-ic, .set-card .kpi-ic, .web-item .kpi-ic, .web-bar .kpi-ic { width: 36px; height: 36px; border-radius: 10px; }
.set-main { display: grid; gap: 2px; min-width: 0; }
.set-main b { font-weight: 600; overflow-wrap: anywhere; }
.set-main > span { font-size: 13.5px; color: var(--text-3); }
.set-pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.set-rows-tight > li { grid-template-columns: 36px minmax(0, 1fr) 70px; padding: 8px 14px; }
.set-rows-tight input { width: 100%; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-weight: 600; }
.set-rows-tight .muted { font-variant-numeric: tabular-nums; }
.set-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.set-two .set-box { margin: 0; }
.set-chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.set-chips li { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 4px 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; }
.set-chips form { display: contents; }
.set-chips button { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 999px; background: transparent; color: var(--text-3); cursor: pointer; }
.set-chips button:hover { background: var(--surface); color: var(--accent); }
.set-chips .i { width: 14px; height: 14px; }
.set-add { display: flex; gap: 8px; }
.set-add input { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
.set-sub { margin-bottom: 16px; max-width: 100%; overflow-x: auto; }
.set-tiers { display: grid; gap: 10px; }
.set-tier { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; font-size: 14.5px; color: var(--text-2); }
.set-tier input { width: 84px; height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; }
.set-tier .icon-btn { margin-left: auto; width: 34px; height: 34px; }
.set-lines { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; }
.set-lines > li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; }
.set-lines > li + li { border-top: 1px solid var(--border); }
.set-lines > li:nth-child(even) { background: var(--surface-2); }
.set-n { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.set-text { font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.set-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
.set-exp { display: block; padding: 0; }
.set-exp summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 20px; align-items: center; gap: 14px; padding: 14px; cursor: pointer; list-style: none; }
.set-exp summary::-webkit-details-marker { display: none; }
.set-exp summary > .i { color: var(--text-3); transition: transform .2s; }
.set-exp[open] summary > .i { transform: rotate(180deg); }
.set-exp-body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 14px; border-top: 1px solid var(--border); }
.set-exp-body .field { flex: 0 1 340px; margin: 0; }
.set-hero { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 10px; }
.set-note { margin: 12px 2px 0; }
.set-facts { margin: 0; display: grid; border: 1px solid var(--border); border-radius: 12px; }
.set-facts div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 10px 14px; }
.set-facts div + div { border-top: 1px solid var(--border); }
.set-facts dt { color: var(--text-3); font-size: 14px; }
.set-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.adm-modal-in { display: grid; gap: 14px; padding: 20px 22px; }
.tbl-team td { vertical-align: middle; }
.tbl-team form { display: inline; }
/* Website: address bar, live preview on the left, settings list on the right */
.web-bar { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.web-bar .set-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.web-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.web-prev { position: relative; aspect-ratio: 16 / 11; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.web-prev iframe { position: absolute; top: 0; left: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.web-list { margin: 0; padding: 18px; }
.set-group { margin: 16px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.web-item { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 12px; background: transparent; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.web-item:hover { background: var(--surface-2); }
.web-item:hover b { color: var(--accent); }
.web-item > .i { color: var(--text-3); }
/* Integrations, like 1now: a small section label, then one full-width row per provider */
.intg-label { margin: 2px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.intg { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.intg > li { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.intg-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; }
.intg-logo { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: var(--c, var(--surface-2)); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -.02em; }
.intg-logo:not([style]) { color: var(--text-2); border: 1px solid var(--border); }
.intg-main { display: grid; gap: 2px; min-width: 0; }
.intg-main b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.intg-main > span { font-size: 13px; color: var(--text-3); }
.intg-act { display: flex; align-items: center; gap: 8px; }
.intg > li.is-off { background: var(--surface-2); }
.intg > li.is-off .intg-row > :not(.intg-act) { opacity: .55; }
.intg-more { margin: 0; padding: 12px 16px 4px 66px; border-top: 1px solid var(--border); font-size: 14px; }
.intg-more > div { padding: 6px 0; grid-template-columns: 150px minmax(0, 1fr); }
.intg-more > div:first-child { padding-top: 0; }
.intg-note { margin: 0; padding: 0 16px 12px 66px; font-size: 13px; color: var(--text-3); }
.intg + .intg-note { padding: 12px 2px 0; }
.btn-connect { background: #9c5f18; color: #fff; border-color: #9c5f18; }
.btn-connect:hover { background: #84500f; color: #fff; }
.intg-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .set-two, .web-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .set-box { padding: 16px; }
  .set-rows > li { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .set-rows > li .set-pills { grid-column: 2; grid-row: 2; justify-content: flex-start; }
  .set-rows > li .bk-more { grid-column: 3; grid-row: 1; }
  .set-rows > li > .btn { grid-column: 2 / -1; justify-self: start; }
  .set-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .web-bar { grid-template-columns: 36px minmax(0, 1fr); }
  .web-bar > .btn { grid-column: 1 / -1; }
  .intg-row { grid-template-columns: 36px minmax(0, 1fr); }
  .intg-act { grid-column: 2; }
  .intg-more { padding-left: 16px; }
  .intg-more > div { grid-template-columns: 110px minmax(0, 1fr); }
  .intg-note { padding-left: 16px; }
  .set-sub { display: flex; flex-wrap: wrap; }
  .set-sub a { white-space: nowrap; padding: 0 12px; }
  .set-card { grid-template-columns: 36px minmax(0, 1fr); }
  .set-card > .pill { grid-column: 2; justify-self: start; }
  .tbl-team thead { display: none; }
  .tbl-team, .tbl-team tbody { display: block; }
  .tbl-team tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .tbl-team td { display: block; padding: 0; border: 0; overflow-wrap: anywhere; }
  .tbl-team td:nth-child(1) { grid-column: 1; }
  .tbl-team td:nth-child(2), .tbl-team td:nth-child(3) { grid-column: 1; font-size: 13.5px; color: var(--text-2); }
  .tbl-team td:nth-child(2):has(.muted), .tbl-team td:nth-child(3):has(.muted) { display: none; }
  .tbl-team td:nth-child(4) { grid-column: 1; margin-top: 4px; }
  .tbl-team td:nth-child(5) { grid-column: 2; grid-row: 1; text-align: right; }
}

/* Booking form: driver's license (upload now or show at pickup) */
.lic-head { margin-top: 22px; }
.lic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 16px; }
.lic-opt { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.lic-opt:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.lic-opt input { margin-top: 3px; accent-color: #9c5f18; }
.lic-opt span { display: grid; gap: 2px; }
.lic-opt small { color: var(--text-3); font-size: 13px; }
.lic-file { grid-column: 1 / -1; }
.lic-file[hidden] { display: none; }
.pay-note { display: flex; align-items: flex-start; justify-content: center; gap: 6px; text-align: left; }
.pay-note .i { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.lic-later { display: grid; gap: 8px; margin: 18px 0 4px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); text-align: left; }
.lic-later .btn { justify-self: start; }
.lic-done { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: #1e7b3c; font-weight: 600; }
.lic-done .i { width: 18px; height: 18px; }
/* Owner booking page: license photo and payment */
.lic-photo { display: block; margin: 8px 0 10px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.lic-photo img { display: block; width: 100%; max-height: 320px; object-fit: contain; }
.lic-check { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
@media (max-width: 640px) {
  .lic { grid-template-columns: minmax(0, 1fr); }
}
.admin-head-stack { flex-direction: column; align-items: flex-start; gap: 4px; }
.admin-head-stack > .muted { font-size: 14px; font-variant-numeric: tabular-nums; }
.lic-check { justify-content: flex-start; }
.acct-trips li { grid-template-columns: minmax(0, 1fr) 96px 190px !important; }
.acct-trips .r-col { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (max-width: 640px) {
  .facts > div { grid-template-columns: 92px minmax(0, 1fr); }
  .acct-trips li { grid-template-columns: minmax(0, 1fr) 90px !important; }
  .acct-trips .r-pills { grid-column: 1 / -1; }
}
/* Calendar sync: the private link with a Copy button and the steps */
.intg-cal { display: grid; gap: 8px; padding: 14px 16px 16px 66px; }
.intg-small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.intg-small:not(:first-child) { margin-top: 6px; }
.intg-copy { display: flex; gap: 8px; }
.intg-copy input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); color: var(--text-2); font: inherit; font-size: 13px; }
.intg-hint { margin: 2px 0 0; font-size: 13px; color: var(--text-3); }
.intg-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
@media (max-width: 640px) {
  .intg-cal { padding-left: 16px; }
}
/* Calendar: snoozed dates (striped, behind bookings) and the list under the calendar */
.cal-snooze { z-index: 0; align-self: stretch; display: grid; place-items: center; margin: 1px 0; overflow: hidden;
  background: repeating-linear-gradient(135deg, #eceef1 0 6px, #f6f7f8 6px 12px); border-block: 1px solid var(--border); }
.cal-snooze span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.cal-key-snooze { background: repeating-linear-gradient(135deg, #d9dce0 0 3px, #f2f3f5 3px 6px); }
.snz-box { margin-top: 16px; }
.snz-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.snz-list li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 120px auto; align-items: center; gap: 14px; padding: 12px 14px; }
.snz-list li + li { border-top: 1px solid var(--border); }
.snz-list li:nth-child(even) { background: var(--surface-2); }
.snz-dates { font-weight: 600; font-variant-numeric: tabular-nums; }
.snz-main { display: grid; gap: 2px; min-width: 0; }
.snz-main b { font-weight: 600; }
.snz-main > span { font-size: 13.5px; color: var(--text-3); overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .snz-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .snz-dates { grid-column: 1 / -1; }
  .snz-list li > span:nth-child(3) { grid-column: 1; }
  .snz-list li > form { grid-column: 2; grid-row: 2 / 4; }
}

/* Date picker, like Turo's: separate date and time boxes, and a one-month calendar that drops down under the box */
.dp-btn { flex: 1 1 auto; width: 0; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; line-height: 24px; text-align: left; cursor: pointer; font-variant-numeric: tabular-nums; }
.dp-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-btn .i { flex: none; width: 16px; height: 16px; color: var(--text-2); }
.s-dt .dp-btn .i { display: none; }
.dp-btn.is-empty { color: var(--text-3); }
.dp-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 6px; }
.bf-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 10px; border: 0; border-radius: 0; overflow: visible; }
.bf-row .dp-btn, .bf-row select, .bf > select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 8px; background-color: var(--surface); font-size: 15px; }
.bf-row select, .bf > select { -webkit-appearance: none; appearance: none; padding-right: 34px; color: var(--text);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346505c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.bf-row:focus-within { border: 0; }
.bf-row .dp-btn[aria-expanded="true"], .bf-row .dp-btn:focus-visible, .bf-row select:focus, .bf > select:focus { border-color: var(--text); outline: 0; box-shadow: 0 0 0 1px var(--text); }
.dp { position: absolute; z-index: 400; padding: 14px 12px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 20, 25, .16); color: var(--text); }
.dp.is-fixed { position: fixed; }
.dp-top { display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: center; margin: 0 4px 8px; }
.dp-title { text-align: center; font-size: 15px; font-weight: 700; }
.dp-nav { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--surface); color: var(--text); cursor: pointer; }
.dp-nav:hover:not(:disabled) { border-color: var(--text); }
.dp-nav:disabled { opacity: .35; cursor: default; }
.dp-nav .i { width: 16px; height: 16px; }
.dp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 6px; }
.dp-dow { height: 28px; display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.dp-day { height: 40px; padding: 0; border: 1.5px solid transparent; border-left: 0; border-right: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer; }
.dp-day:hover:not(:disabled) { background: var(--surface-2); border-radius: 8px; }
.dp-day.is-today { font-weight: 800; }
.dp-day.is-start, .dp-day.is-end, .dp-day.is-in, .dp-day.is-solo { color: #9c5f18; font-weight: 600; border-top-color: #9c5f18; border-bottom-color: #9c5f18; border-radius: 0; background: transparent; }
.dp-day.is-start { border-left: 1.5px solid #9c5f18; border-radius: 999px 0 0 999px; }
.dp-day.is-end { border-right: 1.5px solid #9c5f18; border-radius: 0 999px 999px 0; }
.dp-day.is-solo { border: 1.5px solid #9c5f18; border-radius: 999px; }
.dp-day.is-start:hover, .dp-day.is-end:hover, .dp-day.is-in:hover { background: var(--amber-soft); }
.dp-day:disabled { color: #b9bec5; cursor: default; }
.dp-day.is-busy { color: #a4aab2; text-decoration: line-through; }
.dp-day:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; border-radius: 8px; }

/* Car page, laid out like Turo's: gallery, title and spec chips, grouped features, included items, reviews, host,
   rules, and a booking box split into small sections */
.cp { max-width: 1064px; margin: 0 auto; padding: 24px 24px 0; }
.cp .gallery { height: 420px; gap: 6px; border-radius: 12px; }
.cp .gallery.g-2, .cp .gallery.g-3 { grid-template-columns: 2.55fr 1fr; }
.g-fav { position: absolute; top: 12px; right: 12px; z-index: 2; }
.cp .detail { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin-top: 28px; }
.cp-title h1 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.cp-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 14.5px; color: var(--text-2); }
.cp-sub b { color: var(--text); }
.cp-sub .i { width: 14px; height: 14px; color: var(--text); fill: currentColor; stroke: none; }
.cp-specs { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cp-specs li { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13.5px; }
.cp-specs .i { width: 17px; height: 17px; color: var(--text-2); }
.cp-sec { padding-top: 32px; }
.cp-sec h2 { margin: 0 0 14px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; text-transform: none; color: var(--text); }
.cp-sec h3 { margin: 16px 0 10px; font-size: 14.5px; font-weight: 700; }
.cp-sec h2 + h3 { margin-top: 0; }
.cp-sec > p { margin: 0; font-size: 15px; line-height: 1.6; }
.cp-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
.cp-feat h3 { margin: 0 0 8px; }
.cp-feat ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.cp-feat.is-clipped { max-height: 236px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.cp-more { margin-top: 6px; }
.cp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cp-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 14.5px; }
.cp-list .i { width: 20px; height: 20px; color: var(--text-2); margin-top: 1px; }
.cp-list span { display: grid; gap: 2px; }
.cp-list small { font-size: 12.5px; color: var(--text-3); }
.cp-score { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.cp-score b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.cp-score .i { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.cp-note { margin: -4px 0 16px; font-size: 14px; }
.cp-reviews { display: grid; gap: 22px; }
.cp-reviews figure { margin: 0; display: grid; gap: 6px; }
.cp-reviews.is-clipped figure:nth-child(n+6) { display: none; }
.cp-stars { display: flex; gap: 2px; }
.cp-stars .i { width: 14px; height: 14px; color: var(--text); fill: currentColor; stroke: none; }
.cp-reviews blockquote { margin: 0; font-size: 15px; line-height: 1.55; }
.cp-reviews figcaption { font-size: 12.5px; color: var(--text-3); }
.cp-host { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cp-host .host-mark { width: 56px; height: 56px; }
.cp-host div { display: grid; gap: 2px; }
.cp-host b { font-size: 15.5px; }
.cp-host .muted { font-size: 13px; }
.cp-fine { margin: 16px 0 0 !important; font-size: 12.5px !important; color: var(--text-3); }
.cp-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; padding: 18px 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.cp-trail a { color: var(--text-2); }
.cp-trail a:hover { color: var(--highlight); }
.cp-trail .i { width: 14px; height: 14px; color: var(--text-3); }
/* booking box */
.bx { gap: 0; padding: 20px 20px 16px; box-shadow: none; border-radius: 12px; }
.bx-price { display: grid; gap: 2px; padding-bottom: 16px; }
.bx-price div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.bx-price s { font-size: 16px; color: var(--text-3); }
.bx-price b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.bx-price div > span { font-size: 14px; color: var(--text-2); }
.bx-price small { font-size: 12.5px; color: var(--text-3); }
.bx-sec { padding: 16px 0; border-top: 1px solid var(--border); }
.bx-sec h3 { margin: 0 0 12px; font-size: 15.5px; font-weight: 700; }
.bx .bf .s-label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.bx-line { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; font-size: 14px; font-variant-numeric: tabular-nums; }
.bx-line .good { color: #1e7b3c; }
.bx-details summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 700; }
.bx-details summary::-webkit-details-marker { display: none; }
.bx-details summary .i { width: 18px; height: 18px; color: var(--text-2); transition: transform .2s; }
.bx-details[open] summary .i { transform: rotate(180deg); }
.bx-details .breakdown { margin-top: 12px; font-size: 14px; }
.bx-go { margin: 4px 0 16px; height: 48px; font-size: 16px; }
.bx > .flash { margin: 0 0 12px; }
.bx-fact { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14px; }
.bx-fact .i { width: 20px; height: 20px; color: var(--text-2); }
.bx-fact span { display: grid; gap: 2px; }
.bx-fact small { font-size: 12.5px; color: var(--text-3); }
.bx-end { display: grid; gap: 12px; justify-items: center; padding-bottom: 4px; }
.bx-fav { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; font-size: 14px; }
.bx-fav .i { width: 18px; height: 18px; }
.bx-fav[aria-pressed="true"] .i { color: #9c5f18; fill: currentColor; }
.bx-share { display: flex; gap: 10px; }
.bx-share .icon-btn { width: 36px; height: 36px; border-radius: 999px; }
.bx-share .icon-btn .i { width: 17px; height: 17px; }
.bx-share .icon-btn.is-done { border-color: #1e7b3c; color: #1e7b3c; }
.bx-call { font-size: 13.5px; font-weight: 600; color: #9c5f18; }
@media (max-width: 900px) {
  .cp .detail { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .cp .gallery { height: 300px; }
}
@media (max-width: 640px) {
  .cp { padding: 12px 16px 0; }
  .cp .gallery { height: 240px; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
  .cp .gallery > div:not(.g-main) { display: none; }
  .cp .gallery.g-1 .g-fav, .cp .gallery .g-main .g-fav { display: grid; }
  .cp-title h1 { font-size: 26px; }
  .cp-feat { grid-template-columns: minmax(0, 1fr); }
  .cp-host { grid-template-columns: 48px minmax(0, 1fr); }
  .cp-host .btn { grid-column: 1 / -1; justify-self: start; }
}
/* Car page: all photos in a pop-up, like Turo */
.cp .gallery > [data-dialog] { cursor: pointer; }
.ph-modal { width: min(1000px, calc(100vw - 32px)); max-height: calc(100vh - 48px); }
.ph-modal .adm-modal-h { position: sticky; top: -20px; z-index: 1; margin: -20px -22px 0; padding: 16px 22px; background: var(--surface); border-bottom: 1px solid var(--border); }
.ph-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ph-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.ph-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 640px) { .ph-grid { grid-template-columns: minmax(0, 1fr); } }
/* Car page: the calendar sits inside the booking box, like Turo; past and unavailable days crossed out */
.dp.is-inline { position: static; width: auto; margin: 8px 0 4px; box-shadow: none; border-color: var(--border-strong); }
.dp-day:disabled { text-decoration: line-through; }
.bx .flash-err { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; background: none; color: #b42318; font-size: 13px; line-height: 1.4; }
.bx .flash-err::before { content: "!"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1; }
.bx .flash-err[hidden] { display: none; }
.bx-go:disabled { background: #e3e5e8; border-color: #e3e5e8; color: #6b7280; cursor: not-allowed; box-shadow: none; }

/* Car page: delivery ZIP code */
.bf-zip input { height: 44px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); font-size: 15px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.bf-zip input:focus { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); outline: 0; }
.bf-note { font-size: 12.5px; color: var(--text-3); }
.bf-note.is-bad { color: #b42318; }
.bf[hidden] { display: none; }
/* Booking form: 3 references, check-in instructions */
.refs { display: grid; gap: 10px; margin: 12px 0 8px; }
.ref-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.ref-row .field { margin: 0; }
.ref-n { width: 26px; height: 26px; margin-bottom: 10px; display: grid; place-items: center; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--text-3); }
.summary-rules { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.summary-rules ul { margin: 0; padding-left: 18px; display: grid; gap: 2px; color: var(--text-2); }
.checkin-list { list-style: none; margin: 0 auto 20px; padding: 0; display: grid; gap: 8px; max-width: 440px; text-align: left; }
.checkin-list li { display: flex; align-items: center; gap: 10px; }
.checkin-list .i { width: 18px; height: 18px; color: var(--green-text); }
@media (max-width: 640px) {
  .ref-row { grid-template-columns: 26px minmax(0, 1fr); }
  .ref-row .field + .field { grid-column: 2; }
}

/* Trip reviews, like Turo's */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rv { display: grid; gap: 14px; }
.rv h1 { font-size: 26px; letter-spacing: -.02em; }
.rv > .done-icon, .rv > h1, .rv > .lead, .rv > .btn { justify-self: start; }
.rv-car { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.rv-car img { width: 96px; height: 64px; object-fit: cover; object-position: 50% 78%; border-radius: 8px; }
.rv-car div { display: grid; gap: 2px; }
.rv-car .muted { font-size: 13.5px; }
.rv-form { display: grid; gap: 14px; }
.rv-form h2 { margin: 10px 0 0; font-size: 18px; }
.rv-form h2 .muted { font-size: 14px; font-weight: 500; }
.rv-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars label { display: grid; place-items: center; width: 30px; height: 30px; cursor: pointer; color: #d5d8dd; }
.rv-stars label .i { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.rv-stars.is-big label { width: 46px; height: 46px; }
.rv-stars.is-big label .i { width: 38px; height: 38px; }
.rv-stars input:checked ~ label, .rv-stars label:hover, .rv-stars label:hover ~ label { color: #9c5f18; }
.rv-stars input:focus-visible + label { outline: 2px solid var(--text); outline-offset: 1px; border-radius: 6px; }
.rv-cats { display: grid; border: 1px solid var(--border); border-radius: 12px; }
.rv-cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 14px; font-size: 15.5px; }
.rv-cat + .rv-cat { border-top: 1px solid var(--border); }
.rv-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-areas label { cursor: pointer; }
.rv-areas input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-areas span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14.5px; }
.rv-areas input:checked + span { background: var(--amber-soft); border-color: #9c5f18; color: #84500f; font-weight: 600; }
.rv-areas input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 1px; }
/* owner's review list */
.rvw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rvw { display: grid; gap: 12px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.rvw-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.rvw-head .cust-av { width: 44px; height: 44px; font-size: 16px; }
.rvw-who { display: grid; gap: 2px; font-size: 14.5px; }
.rvw-who .muted { font-size: 13px; }
.rvw-stars { display: inline-flex; gap: 2px; color: #9c5f18; }
.rvw-stars .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rvw-act { display: flex; gap: 8px; }
.rvw blockquote { margin: 0; font-size: 15px; line-height: 1.55; }
.rvw h3 { margin: 0 0 8px; font-size: 14px; }
.rvw-cats dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 24px; }
.rvw-cats dl div { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; font-size: 14px; }
.rvw-cats dt { color: var(--text-2); }
.rvw-cats dd { margin: 0; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rvw-cats dd .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.rvw-areas div { display: flex; flex-wrap: wrap; gap: 6px; }
/* car page: category bars */
.cp-bars { margin: 0 0 4px; display: grid; gap: 8px; max-width: 520px; }
.cp-bars div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14px; }
.cp-bars dt { color: var(--text-2); }
.cp-bars dd { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 12px; align-items: center; }
.cp-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.cp-bar i { display: block; height: 100%; border-radius: 999px; background: #9c5f18; }
.cp-bars b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.cp-based { margin: 0 0 18px !important; }
@media (max-width: 640px) {
  .rvw-head { grid-template-columns: 40px minmax(0, 1fr); }
  .rvw-act { grid-column: 1 / -1; }
  .cp-bars div { grid-template-columns: 110px minmax(0, 1fr); }
}

.form-grid + .set-tiers { margin-top: 14px; }
/* Log in / Sign up with email and password, like Turo */
.auth-link { margin: 4px 0 16px; }
.auth-link button { padding: 0; border: 0; background: none; color: #9c5f18; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.auth-link button:hover { text-decoration: underline; }
.auth-modal .check { margin: 4px 0 10px; font-size: 14px; }
.auth-modal .check a { color: #9c5f18; }
.auth-note { margin: 10px 0 0; text-align: center; }

/* Member menu and pages (Favorites, Trips, Profile, Account), like Turo's */
.menu button[data-logout] { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 16px; border: 0; background: none; color: var(--text); font: inherit; font-size: 16px; line-height: 24px; text-align: left; cursor: pointer; }
.menu button[data-logout] .i { width: 22px; height: 22px; stroke-width: 1.5; }
.menu button[data-logout]:hover { background: var(--surface-2); }
.member { padding-bottom: 48px; }
.member-narrow { max-width: 720px; }
.member-narrow .panel { margin-bottom: 16px; }
.member-narrow .panel h2 { font-size: 18px; margin-bottom: 12px; }
.member-narrow .panel .btn { margin-top: 12px; }
.member-logout { margin-top: 4px; }
.member-empty { display: grid; justify-items: center; gap: 8px; padding: 56px 16px; text-align: center; color: var(--text-2); border: 1px solid var(--border); border-radius: 14px; }
.member-empty > .i { width: 32px; height: 32px; color: var(--text-3); }
.member-empty b { color: var(--text); font-size: 17px; }
.member-empty .btn { margin-top: 8px; }
.trip-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.trip { display: grid; grid-template-columns: 120px minmax(0, 1fr) 210px; gap: 18px; align-items: center; padding: 16px 18px; }
.trip + .trip { border-top: 1px solid var(--border); }
.trip:nth-child(even) { background: var(--surface-2); }
.trip-img { display: block; width: 120px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.trip-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.trip-main { display: grid; gap: 3px; min-width: 0; }
.trip-car { font-weight: 600; font-size: 16px; color: var(--text); }
.trip-car:hover { color: var(--highlight); }
.trip-when { font-size: 14px; font-variant-numeric: tabular-nums; }
.trip-main .muted { font-size: 13px; }
.trip-side { display: grid; gap: 4px; justify-items: start; font-variant-numeric: tabular-nums; }
.trip-side .btn { margin-top: 4px; }
.prof-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.prof-av { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 999px; background: var(--amber-soft); color: #84500f; font-size: 22px; font-weight: 800; }
.prof-head div { display: grid; gap: 2px; }
.prof-head b { font-size: 20px; }
.prof-head .muted { font-size: 14px; }
@media (max-width: 640px) {
  .trip { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .trip-img { width: 84px; }
  .trip-side { grid-column: 2; }
}


/* ---------- search results: filter pills, list view, tips ---------- */
.search:has(.s-age) { grid-template-columns: 235px minmax(0, 1fr) minmax(0, 1fr) 92px auto; }
.s-age select { color: var(--text); }
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0 16px; border-bottom: 1px solid var(--border); }
.fpill { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.fpill select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0 18px 0 2px; font: inherit; color: inherit; cursor: pointer; outline: none; }
.fpill > .i { width: 15px; height: 15px; color: var(--text-2); }
.fpill select + .i { position: absolute; right: 12px; pointer-events: none; }
.fpill:hover { border-color: var(--text); color: var(--text); }
.fpill.is-on { background: var(--text); border-color: var(--text); color: var(--bg); }
.fpill.is-on > .i { color: var(--bg); }
.fpill.is-on select option { color: var(--text); background: var(--surface); }
.fbar-reset { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--text); margin-left: 4px; }
.fbar-end { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; }
.fsort { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.fsort select { border: 1px solid var(--border); border-radius: 8px; height: 34px; padding: 0 8px; background: var(--surface); color: var(--text); font: inherit; font-weight: 500; }

.pill-deal { background: #e6f4ea; color: #1e7b3c; border-color: #bfe3c9; height: 20px; padding: 0 8px; font-size: 11.5px; font-weight: 600; }

.rlist { list-style: none; margin: 0 0 32px; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.ritem { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr) 190px 44px; align-items: center; gap: 0 20px; padding: 14px 16px; border-top: 1px solid var(--border); }
.rlist > li:first-child { border-top: 0; }
.ritem:nth-child(even) { background: var(--surface-2); }
.ritem:hover .ritem-main b { color: var(--accent); }
.ritem-link { position: absolute; inset: 0; z-index: 1; }
.ritem-img { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.ritem-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ritem-main { display: grid; gap: 3px; min-width: 0; }
.ritem-main b { font-size: 16px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ritem-meta { display: flex; align-items: center; gap: 4px; color: var(--text-2); font-size: 13.5px; }
.ritem-meta .i { width: 13px; height: 13px; }
.ritem-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ritem-tags:empty { display: none; }
.ritem-price { display: grid; gap: 2px; padding-left: 20px; border-left: 1px solid var(--border); font-variant-numeric: tabular-nums; font-size: 14px; }
.ritem-price b { font-size: 17px; }
.ritem-price s { color: var(--text-3); font-size: 13.5px; }
.ritem-price small { color: var(--text-2); font-size: 13px; }
.ritem-fav { position: relative; z-index: 2; top: auto; right: auto; }

.rtip { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--border); background: var(--amber-soft); }
.rtip > .i { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--surface); color: #8a5414; }
.rtip > span { display: grid; gap: 2px; }
.rtip b { font-size: 14.5px; }
.rtip span span { color: var(--text-2); font-size: 13.5px; }
.rtips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 32px 0; }
.rtips .rtip { border: 1px solid var(--border); border-radius: 14px; }

.empty-art { width: 160px; height: auto; margin-bottom: 4px; }

@media (max-width: 900px) {
  .search:has(.s-age) { grid-template-columns: 1fr 1fr; }
  .s-age { grid-column: span 2; border-top: 1px solid var(--border); padding-top: 8px; }
  .rtips { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .search:has(.s-age) { grid-template-columns: minmax(0, 1fr); }
  .s-age { grid-column: auto; }
  .fbar-end { margin-left: 0; width: 100%; justify-content: space-between; }
  .ritem { grid-template-columns: 112px minmax(0, 1fr); gap: 8px 14px; padding: 12px; }
  .ritem-img { grid-row: span 2; align-self: start; }
  .ritem-price { grid-column: 2; padding-left: 0; border-left: 0; }
  .ritem-fav { position: absolute; top: 8px; right: 8px; }
  .ritem-main b { white-space: normal; padding-right: 32px; }
}
.ritem-fav .i { fill: transparent; stroke: var(--text-2); filter: none; }
.ritem-fav[aria-pressed="true"] .i { fill: #e2483d; stroke: #e2483d; }

/* ---------- How it works ---------- */
.how { padding-top: 32px; }
.how-head { max-width: 720px; margin-bottom: 28px; }
.how-head .lead { margin: 8px 0 0; font-size: 17px; line-height: 26px; }
.how-h { font-size: 20px; font-weight: 700; letter-spacing: -.2px; margin: 40px 0 14px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; counter-reset: none; }
.how-steps li { position: relative; display: grid; align-content: start; gap: 6px; padding: 20px 18px 22px; border-left: 1px solid var(--border); }
.how-steps li:first-child { border-left: 0; }
.how-steps li:nth-child(even) { background: var(--surface-2); }
.how-num { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.how-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--amber-soft); color: #8a5414; margin-bottom: 6px; }
.how-ic .i { width: 20px; height: 20px; }
.how-steps b { font-size: 15.5px; font-weight: 600; }
.how-steps li > span:last-child { color: var(--text-2); font-size: 14px; line-height: 21px; }
.how-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.how-fact { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; }
.how-fact span { font-size: 11.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--text-3); }
.how-fact b { font-size: 24px; font-weight: 700; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.how-fact small { color: var(--text-2); font-size: 13px; }
.how-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 32px; }
.how-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.how-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) 90px; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); }
.how-list li:first-child { border-top: 0; }
.how-list li:nth-child(even) { background: var(--surface-2); }
.how-list li > span:nth-child(2) { display: grid; gap: 1px; }
.how-list li b { font-weight: 600; font-size: 14.5px; }
.how-list li small { color: var(--text-2); font-size: 13px; }
.how-li-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); }
.how-list li:nth-child(even) .how-li-ic { background: var(--surface); }
.how-li-ic .i { width: 16px; height: 16px; }
.how-amt { padding-left: 14px; border-left: 1px solid var(--border); font-weight: 600; font-variant-numeric: tabular-nums; }
.how-list li.how-note { grid-template-columns: 32px minmax(0, 1fr); color: var(--text-2); font-size: 13.5px; }
.how-list li.how-note > span:nth-child(2) { display: block; }
.how-list a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.how-faq { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.how-faq details { border-top: 1px solid var(--border); }
.how-faq details:first-child { border-top: 0; }
.how-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.how-faq summary::-webkit-details-marker { display: none; }
.how-faq summary .i { width: 18px; height: 18px; flex: none; color: var(--text-2); transition: transform .2s ease; }
.how-faq details[open] summary .i { transform: rotate(180deg); }
.how-faq summary:hover { color: var(--accent); }
.how-faq p { margin: 0; padding: 0 18px 18px; color: var(--text-2); line-height: 23px; max-width: 760px; }
.how-more { margin: 12px 0 0; font-size: 14px; }
.how-more a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.how-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 20px 24px; border-radius: 14px; background: var(--amber-soft); }
.how-cta > div { display: grid; gap: 2px; }
.how-cta b { font-size: 17px; }
@media (max-width: 1080px) {
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-steps li { border-left: 0; border-top: 1px solid var(--border); }
  .how-steps li:nth-child(-n+2) { border-top: 0; }
  .how-steps li:nth-child(even) { border-left: 1px solid var(--border); }
  .how-steps li:last-child { grid-column: span 2; }
  .how-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .how { padding-top: 20px; }
  .how-steps { grid-template-columns: minmax(0, 1fr); }
  .how-steps li, .how-steps li:nth-child(even) { border-left: 0; border-top: 1px solid var(--border); }
  .how-steps li:nth-child(2) { border-top: 1px solid var(--border); }
  .how-steps li:last-child { grid-column: auto; }
  .how-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-fact b { font-size: 20px; }
  .how-list li { grid-template-columns: 32px minmax(0, 1fr) 64px; padding: 12px; }
  .how-amt { padding-left: 10px; }
  .how-cta { flex-direction: column; align-items: stretch; }
}
@media (max-width: 640px) {
  .how-steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 14px 40px 14px 16px; }
  .how-ic { grid-row: span 2; margin: 0; }
  .how-num { top: 14px; }
}

/* ---------- Messages: an inbox like car-rental apps have (conversations | chat | trip details) ---------- */
.menu-count, .adm-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.minbox { padding-top: 16px; padding-bottom: 32px; }
.mbox { display: grid; grid-template-columns: 320px minmax(0, 1fr) 300px; height: calc(100vh - 190px); min-height: 560px; max-height: 900px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); }
.mbox-adm { height: calc(100vh - 120px); max-height: none; }
.mav { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 999px; background: color-mix(in srgb, var(--amber) 18%, var(--surface)); color: #7a4a12; font-weight: 700; font-size: 15px; }
.mav-sm { width: 28px; height: 28px; font-size: 12px; }

/* left: conversations */
.mlist { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--border); }
.mlist-head { display: grid; gap: 10px; padding: 16px 16px 12px; border-bottom: 1px solid var(--border); }
.mlist-head > b { font-size: 20px; font-weight: 700; letter-spacing: -.2px; }
.msearch { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.msearch .i { width: 16px; height: 16px; color: var(--text-3); }
.msearch input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14.5px; color: var(--text); outline: none; }
.mtabs { display: flex; gap: 6px; }
.mtabs button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.mtabs button span { color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.mtabs button[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.mtabs button[aria-selected="true"] span { color: rgba(255, 255, 255, .7); }
.mrows { flex: 1; overflow-y: auto; }
.mrow { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 64px; align-items: start; gap: 0 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.mrow:hover { background: var(--surface-2); color: var(--text); }
.mrow.is-on { background: color-mix(in srgb, var(--amber) 10%, var(--surface)); }
.mrow.is-on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #9c5f18; }
.mrow .mav { width: 44px; height: 44px; }
.mrow-car { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; display: block; }
.mrow-main { display: grid; gap: 1px; min-width: 0; }
.mrow-main b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow-sub { font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mrow-last { font-size: 13.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.mrow.is-unread .mrow-last { color: var(--text); font-weight: 600; }
.mrow-side { display: grid; justify-items: start; gap: 6px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; padding-top: 2px; }
.mrow-dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 700; line-height: 20px; text-align: center; }
.mnone { padding: 24px 16px; margin: 0; color: var(--text-2); font-size: 14px; text-align: center; }

/* middle: the chat */
.mchat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.mchat-head { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.mback { display: none; place-items: center; width: 36px; height: 36px; margin-left: -6px; border-radius: 10px; color: var(--text); }
.mback .i { width: 20px; height: 20px; }
.mchat-who { display: grid; gap: 2px; min-width: 0; flex: 1; }
.mchat-who b { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mchat-who > span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.mchat-act { display: flex; gap: 6px; flex: none; }
.mbtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.mbtn:hover { border-color: var(--text); color: var(--text); }
.mbtn .i { width: 16px; height: 16px; }
.mdetails-btn { display: none; }
.mscroll { flex: 1; overflow-y: auto; padding: 20px 20px 8px; background: var(--bg); }
.mevent { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 16px; padding: 8px 14px; width: fit-content; max-width: 100%; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 12.5px; text-align: center; }
.mevent .i { width: 14px; height: 14px; flex: none; color: var(--text-3); }
.mfirst { max-width: 420px; margin: 24px auto; color: var(--text-2); font-size: 14px; line-height: 21px; text-align: center; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cday { display: flex; align-items: center; gap: 12px; margin: 14px 0 10px; color: var(--text-3); font-size: 12px; font-weight: 600; }
.cday::before, .cday::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.cmsg { display: flex; align-items: flex-end; gap: 8px; max-width: 76%; }
.cmsg.is-mine { margin-left: auto; justify-content: flex-end; }
.cmsg.is-tail { margin-bottom: 8px; }
.cbody { display: grid; gap: 3px; min-width: 0; }
.cmsg.is-mine .cbody { justify-items: end; }
.cbody p { margin: 0; padding: 10px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 15px; line-height: 22px; overflow-wrap: anywhere; }
.cmsg.is-tail:not(.is-mine) .cbody p { border-bottom-left-radius: 6px; }
.cmsg.is-mine .cbody p { background: #1b2d3c; border-color: #1b2d3c; color: #fff; }
.cmsg.is-mine.is-tail .cbody p { border-bottom-right-radius: 6px; }
.ctime { font-size: 11.5px; color: var(--text-3); font-variant-numeric: tabular-nums; padding: 0 4px; }
.cseen { margin: 0 0 4px; text-align: right; font-size: 11.5px; color: var(--text-3); min-height: 16px; }
.mcompose { display: grid; gap: 8px; padding: 12px 16px 10px; border-top: 1px solid var(--border); background: var(--surface); }
.mquick { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.mquick::-webkit-scrollbar { display: none; }
.mq { flex: none; height: 30px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.mq:hover { border-color: var(--text); }
.mcompose-row { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 14px; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); }
.mcompose-row:focus-within { border-color: var(--text-2); }
.mcompose textarea { flex: 1; min-width: 0; max-height: 160px; padding: 7px 0; border: 0; background: transparent; resize: none; font: inherit; font-size: 15px; line-height: 22px; color: var(--text); outline: none; }
.msend { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); cursor: pointer; }
.msend:hover { background: var(--accent-hover); }
.msend .i { width: 16px; height: 16px; }
.msend:disabled { opacity: .5; cursor: default; }
.mhint { margin: 0; font-size: 12px; color: var(--text-3); }

/* right: trip details */
.mtrip { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; padding: 16px; border-left: 1px solid var(--border); }
.mtrip-head { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.mtrip-head b { font-size: 16px; font-weight: 700; }
.mtrip-x { display: none; }
.mtrip-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; display: block; }
.mtrip-car { font-size: 16px; font-weight: 600; }
.mtrip .pill { width: fit-content; }
.mtrip-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 12px; }
.mtrip-dates > div { display: grid; gap: 1px; padding: 10px 12px; }
.mtrip-dates > div + div { border-left: 1px solid var(--border); }
.mtrip-dates span { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-3); }
.mtrip-dates b { font-size: 14.5px; font-weight: 600; }
.mtrip-dates small { color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.mtrip-facts { margin: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.mtrip-facts > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 9px 12px; border-top: 1px solid var(--border); font-size: 13.5px; }
.mtrip-facts > div:first-child { border-top: 0; }
.mtrip-facts > div:nth-child(even) { background: var(--surface-2); }
.mtrip-facts dt { color: var(--text-3); }
.mtrip-facts dd { margin: 0; color: var(--text); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.mtrip-act { display: grid; gap: 8px; }
.mtrip-act .btn { justify-content: center; }

.msg-last { display: grid; gap: 2px; margin: 0 0 12px; font-size: 14px; }

@media (max-width: 1180px) {
  .mbox { grid-template-columns: 300px minmax(0, 1fr); position: relative; }
  .mdetails-btn { display: inline-flex; }
  .mtrip { display: none; position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 100%); z-index: 5; background: var(--surface); box-shadow: -12px 0 24px rgba(0, 0, 0, .08); }
  .mtrip-x { display: inline-grid; }
  .mbox.show-trip .mtrip { display: flex; }
}
@media (max-width: 760px) {
  .minbox { padding: 0 0 16px; }
  .mbox { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 150px); min-height: 480px; border-radius: 0; border-left: 0; border-right: 0; }
  .mbox-adm { height: calc(100dvh - 110px); border: 1px solid var(--border); border-radius: 14px; }
  .mbox.is-list .mchat, .mbox.is-chat .mlist { display: none; }
  .mlist { border-right: 0; }
  .mback { display: inline-grid; }
  .mchat-head { gap: 10px; padding: 10px 12px; }
  .mchat-act .mbtn span { display: none; }
  .mchat-act .mbtn { width: 36px; padding: 0; justify-content: center; }
  .mscroll { padding: 16px 12px 8px; }
  .cmsg { max-width: 88%; }
  .mcompose { padding: 10px 12px 8px; }
  .mhint { display: none; }
  .mtrip { width: 100%; box-shadow: none; }
}
.mtrip > * { flex-shrink: 0; }
.mtrip-facts dd.one { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtrip-act .btn { height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; gap: 8px; }
.mtrip-act .btn .i { width: 16px; height: 16px; }
.page-inbox .callbar, .page-hosting .callbar { display: none !important; }

/* Messages on phones: like an app, the open chat takes the whole screen */
.mstrip { display: none; }
@media (max-width: 760px) {
  .mbox.is-chat { position: fixed; inset: 0; z-index: 90; height: 100dvh; min-height: 0; max-height: none; border: 0; border-radius: 0; }
  .page-inbox:has(.mbox.is-chat), .admin:has(.mbox.is-chat) { overflow: hidden; }
  .mbox.is-chat .mchat-head { min-height: 56px; padding: 8px 8px 8px 6px; gap: 8px; padding-top: calc(8px + env(safe-area-inset-top)); }
  .mbox.is-chat .mchat-who > span { display: none; }
  .mbox.is-chat .mchat-who b { font-size: 16.5px; }
  .mbox.is-chat .mav { width: 36px; height: 36px; font-size: 14px; }
  .mbox.is-chat .mdetails-btn { display: none; }
  .mstrip { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 18px; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
  .mstrip img { width: 52px; height: 36px; object-fit: cover; border-radius: 6px; display: block; }
  .mstrip > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
  .mstrip b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mstrip > span:nth-child(2) span { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
  .mstrip > .i { width: 18px; height: 18px; color: var(--text-3); }
  .mbox.is-chat .mevent { font-size: 12px; border-radius: 12px; }
  .mbox.is-chat .mcompose { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .mbox.is-chat .mtrip { position: absolute; inset: 0; width: 100%; z-index: 6; padding-top: calc(16px + env(safe-area-inset-top)); }
}

/* Settings → Login & security */
.set-code { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--amber-soft); }
.set-code p { margin: 0; }
.set-code-row { display: grid; grid-template-columns: minmax(0, 200px) auto; justify-content: start; align-items: end; gap: 12px; }
.set-code-row .field input { font-size: 18px; letter-spacing: 4px; font-variant-numeric: tabular-nums; }
.set-code + form { margin-top: 8px; }
.btn-link { padding: 0; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.btn-link:hover { color: var(--text); }
@media (max-width: 640px) { .set-code-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Car owners: application (List your car) ---------- */
.hstate { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 8px 0; }
.hstate .host-h2 { margin: 4px 0 0; }
.hstate > p { margin: 0; max-width: 520px; }
.hstate-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--amber-soft); color: #8a5414; }
.hstate-ic.is-ok { background: #e6f4ea; color: #1e7b3c; }
.hstate-ic .i { width: 26px; height: 26px; }
.hstate-act { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hstate-facts { width: 100%; max-width: 520px; margin: 8px 0; text-align: left; }
.hform { display: grid; gap: 4px; margin-top: 16px; }
.hf-step { margin: 0; padding: 20px 0; border: 0; border-top: 1px solid var(--border); min-width: 0; }
.hf-step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-size: 18px; font-weight: 700; float: left; width: 100%; }
.hf-step legend + * { clear: both; }
.hf-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 700; }
.hf-sub { margin: 18px 0 8px; font-weight: 600; font-size: 14.5px; }
.hf-note { margin: 0 0 12px; color: var(--text-2); font-size: 14px; }
.hf-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hf-boxes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hf-box { position: relative; display: grid; gap: 2px; padding: 14px 14px 12px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--surface); }
.hf-box input { position: absolute; opacity: 0; pointer-events: none; }
.hf-box b { font-size: 16px; font-variant-numeric: tabular-nums; }
.hf-box small { color: var(--text-3); font-size: 12.5px; }
.hf-box:hover { border-color: var(--text-2); }
.hf-box:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); background: color-mix(in srgb, var(--amber) 8%, var(--surface)); }
.hf-box:has(input:checked)::after { content: ""; position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; border-radius: 999px; background: #9c5f18 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
.hf-box:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
.hf-fees { margin-top: 12px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.hf-fee-tbl { margin: 0; }
.hf-fee-tbl th, .hf-fee-tbl td { padding: 8px 14px; font-variant-numeric: tabular-nums; }
.hf-fee-tbl td.is-on { background: color-mix(in srgb, var(--amber) 18%, var(--surface)); font-weight: 700; color: var(--text); }
.hf-fee-line { margin: 0; padding: 10px 14px; border-top: 1px solid var(--border); background: var(--surface-2); font-size: 14px; }
.hf-fee-line:empty { display: none; }
.hf-photos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.hf-photo { position: relative; display: grid; gap: 6px; justify-items: center; cursor: pointer; font-size: 13px; }
.hf-photo input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.hf-photo-box { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border: 1.5px dashed var(--border-strong); border-radius: 10px; color: var(--text-3); overflow: hidden; background: var(--surface-2); }
.hf-photo-box .i { width: 24px; height: 24px; }
.hf-photo-box img { width: 100%; height: 100%; object-fit: cover; }
.hf-photo.is-set .hf-photo-box { border-style: solid; border-color: var(--text-2); }
.hf-photo.is-set .hf-photo-box .i { display: none; }
.hf-photo:has(input:focus-visible) .hf-photo-box { outline: 2px solid var(--text); outline-offset: 2px; }
.hf-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hf-doc input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hf-doc.is-set { border-style: solid; border-color: var(--text-2); }
.hf-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.hf-check { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 14px; cursor: pointer; }
.hf-checks .hf-check:nth-child(-n+2) { border-top: 0; }
.hf-checks .hf-check:nth-child(odd) { border-right: 1px solid var(--border); }
.hf-check input { margin-top: 2px; width: 17px; height: 17px; accent-color: #9c5f18; flex: none; }
.hf-terms { margin: 0 0 14px; padding: 14px 16px 14px 34px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); color: var(--text-2); font-size: 14px; line-height: 21px; display: grid; gap: 6px; }
.hf-agree { padding: 0; border: 0; font-size: 14.5px; }
.hform > .btn { margin-top: 12px; }
@media (max-width: 640px) {
  .hf-boxes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hf-docs, .hf-checks { grid-template-columns: minmax(0, 1fr); }
  .hf-checks .hf-check:nth-child(2) { border-top: 1px solid var(--border); }
  .hf-checks .hf-check:nth-child(odd) { border-right: 0; }
}

/* ---------- Car owner dashboard ---------- */
.hd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hd-head .page-title { margin-bottom: 4px; }
.hd-head p { margin: 0 0 4px; }
.hd .tabs { margin: 16px 0 20px; }
.hd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.hd-tile { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; }
.hd-tile > span { font-size: 11.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--text-3); }
.hd-tile b { font-size: 26px; font-weight: 700; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.hd-of { font-size: 16px; color: var(--text-3); font-weight: 600; }
.hd-tile small { color: var(--text-2); font-size: 13px; }
.hd-box { display: block; padding: 18px 20px; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.hd-box-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hd-box-h h2 { margin: 0; font-size: 18px; }
.hd-box-h p { margin: 2px 0 0; font-size: 14px; }
.hd-none { margin: 0; font-size: 14px; }
.hd-total { margin: 10px 0 0; font-size: 14px; }
.hd-trips { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.hd-trips li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) 190px 130px; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); }
.hd-trips li:first-child { border-top: 0; }
.hd-trips li:nth-child(even) { background: var(--surface-2); }
.hd-trips li > span { display: grid; gap: 2px; min-width: 0; }
.hd-trips b { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hd-trips li > span > span { color: var(--text-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.hd-trips .pill { width: fit-content; }
.hd-t-amt { padding-left: 14px; border-left: 1px solid var(--border); }
.hd-cal-h { align-items: center; justify-content: flex-start; }
.hd-cal-h h2 { min-width: 150px; text-align: center; }
.hd-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-left: auto; font-size: 13px; color: var(--text-2); }
.hd-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hd-legend i { width: 10px; height: 10px; border-radius: 3px; }
.hd-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.hd-dow { padding: 8px 10px; font-size: 12px; font-weight: 600; color: var(--text-3); border-bottom: 1px solid var(--border); background: var(--surface-2); }
.hd-day { display: grid; align-content: start; gap: 3px; min-height: 92px; padding: 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); min-width: 0; }
.hd-day:nth-child(7n) { border-right: 0; }
.hd-day.is-out { background: var(--surface-2); }
.hd-day.is-out .hd-dnum { color: var(--text-3); }
.hd-dnum { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hd-day.is-today .hd-dnum { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: #9c5f18; color: #fff; }
.hd-ev { display: block; padding: 2px 6px; border-radius: 5px; font-size: 11.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1b2d3c; }
.hd-ev.is-wait { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .55) 0 4px, transparent 4px 8px); }
.hd-c0 { background: #f3dcb6; } .hd-c1 { background: #cfe3f5; } .hd-c2 { background: #d6ecd2; } .hd-c3 { background: #ead6f1; } .hd-c4 { background: #f5d0cf; }
.hd-cal-note { margin: 10px 0 0; }
.hd-cars { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.hd-cars li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 130px 190px; align-items: center; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--border); }
.hd-cars li:first-child { border-top: 0; }
.hd-cars li:nth-child(even) { background: var(--surface-2); }
.hd-cars img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; background: var(--surface-2); }
.hd-car-main { display: grid; gap: 3px; min-width: 0; }
.hd-car-main b { font-size: 16px; font-weight: 600; }
.hd-car-main > span { color: var(--text-2); font-size: 13.5px; }
.hd-docs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.hd-docs a { display: inline-flex; align-items: center; gap: 5px; color: var(--text); font-size: 13.5px; font-weight: 600; }
.hd-docs a:hover { color: var(--accent); }
.hd-docs .i { width: 15px; height: 15px; color: var(--text-3); }
.hd-car-price { display: grid; gap: 1px; padding-left: 16px; border-left: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.hd-car-price b { font-size: 17px; }
.hd-car-price span { color: var(--text-2); font-size: 12.5px; }
.hd-add summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.hd-add summary::-webkit-details-marker { display: none; }
.hd-add summary > span:nth-child(2) { display: grid; gap: 2px; font-size: 14px; }
.hd-add summary b { font-size: 16px; }
.hd-add summary > .i { width: 18px; height: 18px; color: var(--text-2); transition: transform .2s; }
.hd-add[open] summary > .i { transform: rotate(180deg); }
.hd-add .hform { margin-top: 8px; }
.hd-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hd-cols .hd-box { margin-bottom: 16px; }
.hd-cols form.hd-box { display: grid; gap: 12px; align-content: start; }
.hd-cols form .btn { justify-self: start; }
.hd-terms { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.hd-terms summary { display: flex; align-items: center; justify-content: space-between; font-weight: 600; cursor: pointer; list-style: none; }
.hd-terms summary::-webkit-details-marker { display: none; }
.hd-terms summary .i { width: 16px; height: 16px; }
.hd-terms ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14px; line-height: 21px; display: grid; gap: 6px; }
.hd-month-tbl td, .hd-month-tbl th { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .hd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-cols { grid-template-columns: minmax(0, 1fr); }
  .hd-trips li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .hd-t-when { grid-column: 1; grid-row: 2; }
  .hd-trips li > span:nth-child(3) { grid-column: 2; grid-row: 1; justify-self: end; }
  .hd-t-amt { grid-column: 2; grid-row: 2; padding-left: 0; border-left: 0; justify-items: end; text-align: right; }
  .hd-cars li { grid-template-columns: 96px minmax(0, 1fr); gap: 8px 14px; }
  .hd-cars img { width: 96px; grid-row: span 3; align-self: start; }
  .hd-car-price { grid-column: 2; padding-left: 0; border-left: 0; display: flex; gap: 6px; align-items: baseline; }
  .hd-cars li > span:last-child { grid-column: 2; }
}
@media (max-width: 640px) {
  .hd-box { padding: 14px; }
  .hd-tile b { font-size: 22px; }
  .hd-day { min-height: 64px; padding: 4px; gap: 2px; }
  .hd-ev { font-size: 0; height: 6px; padding: 0; border-radius: 3px; }
  .hd-dow { padding: 6px 4px; text-align: center; }
  .hd-legend { margin-left: 0; width: 100%; }
}

/* ---------- Car owners in the owner dashboard ---------- */
.ho-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.ho-list li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1.6fr) 110px 170px 110px 170px; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--border); }
.ho-list li:first-child { border-top: 0; }
.ho-list li:nth-child(even) { background: var(--surface-2); }
.ho-list li:hover .ho-main b { color: var(--accent); }
.ho-link { position: absolute; inset: 0; z-index: 1; }
.ho-main, .ho-col { display: grid; gap: 2px; min-width: 0; }
.ho-main b { font-weight: 600; }
.ho-main > span { color: var(--text-2); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ho-main a { position: relative; z-index: 2; color: inherit; }
.ho-col { padding-left: 14px; border-left: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.ho-col b { font-size: 14px; font-weight: 600; }
.ho-col span { color: var(--text-3); font-size: 12.5px; }
.ho-end { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.ho-end .i { width: 16px; height: 16px; color: var(--text-3); }
.ho-list form { position: relative; z-index: 2; justify-self: end; }
.ho-acts { display: flex; gap: 8px; }
.ho-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 8px; }
.ho-grid .bk-box { margin: 0; }
.ho-h2 { font-size: 18px; margin: 24px 0 12px; }
.ho-car { margin-bottom: 16px; }
.ho-photos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ho-photos a { display: grid; gap: 4px; color: var(--text-2); font-size: 12.5px; text-align: center; }
.ho-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.ho-papers { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 16px; margin-top: 16px; }
.ho-doc { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); }
.ho-doc:hover { border-color: var(--text-2); color: var(--text); }
.ho-doc .i { width: 36px; height: 36px; padding: 8px; border-radius: 8px; background: var(--amber-soft); color: #8a5414; }
.ho-doc > span { display: grid; gap: 1px; }
.ho-doc span span { color: var(--text-3); font-size: 12.5px; }
.ho-checks { grid-column: 2; grid-row: 1 / span 2; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; }
.ho-checks ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; font-size: 13.5px; }
.ho-checks li { display: flex; align-items: flex-start; gap: 6px; }
.ho-checks li .i { width: 15px; height: 15px; margin-top: 2px; flex: none; }
.ho-checks li.is-ok .i { color: #1e7b3c; }
.ho-checks li.is-no { color: var(--accent); }
.ho-approve { display: grid; grid-template-columns: 160px 90px 140px auto auto; align-items: end; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); justify-content: start; }
.ho-listed { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; }
.ho-listed .i { width: 16px; height: 16px; color: #1e7b3c; }
.ho-listed a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.set-fee-tbl td, .set-fee-tbl th { vertical-align: middle; }
.pct-in { display: inline-flex; align-items: center; gap: 6px; }
.pct-in input { width: 90px; height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-variant-numeric: tabular-nums; }
.pct-in span { color: var(--text-3); }
@media (max-width: 1180px) {
  .ho-list li { grid-template-columns: 40px minmax(0, 1fr) 150px 150px; }
  .ho-list li > .ho-col:nth-of-type(3), .ho-list li > .ho-col:nth-child(5) { display: none; }
}
@media (max-width: 900px) {
  .ho-grid, .ho-papers { grid-template-columns: minmax(0, 1fr); }
  .ho-checks { grid-column: auto; grid-row: auto; }
  .ho-approve { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ho-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .ho-list li > .ho-col { display: none; }
  .ho-end { grid-column: 2; justify-content: flex-start; }
  .ho-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ho-checks ul { grid-template-columns: minmax(0, 1fr); }
  .ho-acts { width: 100%; }
}
/* earnings chart: bars stretch to the box, labels stay normal size */
.hchart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.hchart-y { display: flex; flex-direction: column; justify-content: space-between; height: 220px; margin-top: -7px; margin-bottom: 7px; font-size: 12px; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.hchart-plot svg { display: block; width: 100%; height: 220px; border-bottom: 1px solid var(--border-strong); }
.hchart-bar { fill: color-mix(in srgb, var(--amber) 55%, var(--surface)); }
.hchart-bar.is-now { fill: #9c5f18; }
.hchart-bar:hover { fill: #7a4a12; }
.hchart-grid { stroke: var(--border); stroke-dasharray: 3 4; }
.hchart-x { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-top: 6px; font-size: 12px; color: var(--text-3); text-align: center; white-space: nowrap; }
.hchart-x span { overflow: hidden; }
@media (max-width: 640px) {
  .hchart-y, .hchart-plot svg { height: 160px; }
  .hchart-x { font-size: 11px; }
  .hchart-x span { overflow: visible; visibility: hidden; }
  .hchart-x span:nth-child(3n+1) { visibility: visible; }
}
/* bottom bar on small phones: Call and Text as icons, Book gets the room */
@media (max-width: 640px) {
  .callbar { grid-template-columns: auto auto minmax(0, 1fr); }
  .callbar a.callbar-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 46px; text-align: center; }
}
@media (max-width: 380px) {
  .callbar a:not(.callbar-main) { width: 46px; padding: 0; gap: 0; font-size: 0; }
  .callbar a:not(.callbar-main) .i { width: 20px; height: 20px; }
}
/* car owner screens on phones: month tables keep Month · Trips · Share; trip rows stack without cutting text */
@media (max-width: 640px) {
  .hd-month-tbl th:nth-child(3), .hd-month-tbl td:nth-child(3), .hd-month-tbl th:nth-child(4), .hd-month-tbl td:nth-child(4) { display: none; }
  .hd-trips li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .hd-trips li > .hd-t-car { grid-column: 1; grid-row: 1; }
  .hd-trips li > .hd-t-amt { grid-column: 2; grid-row: 1; }
  .hd-trips li > .hd-t-when { grid-column: 1 / -1; grid-row: 2; }
  .hd-trips li > span:nth-child(3) { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin-top: 2px; }
  .hd-trips b { white-space: normal; }
}

/* long words (links, emails) wrap instead of pushing boxes wider; inputs can shrink on tiny screens */
.msg p, .panel p, .facts dd, .hd-box p { overflow-wrap: anywhere; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
/* very small phones (under 360px): car owner cars and the add-a-car form stay inside their boxes */
.hform, .hform > *, .hf-step > * { min-width: 0; }
.hf-doc span, .hf-photo b { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .hf-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hf-boxes, .hf-boxes-4 { grid-template-columns: minmax(0, 1fr); }
  .hd-cars li { grid-template-columns: minmax(0, 1fr); }
  .hd-cars img { width: 100%; grid-row: auto; aspect-ratio: 16 / 9; }
  .hd-car-price, .hd-cars li > span:last-child { grid-column: 1; }
  .hd-box { padding: 12px; }
}

/* ---------- small phones (up to 400px): the search tools row ---------- */
@media (max-width: 400px) {
  .fbar-end { flex-wrap: wrap; gap: 8px; width: 100%; }
  .fsort { min-width: 0; flex: 1 1 auto; }
  .fsort select { min-width: 0; width: 100%; }
  .fbar .seg a { gap: 0; padding: 0 10px; font-size: 0; }
  .fbar .seg a .i { width: 17px; height: 17px; }
}
/* ---------- very old phones (up to 360px): everything stacks, nothing gets squeezed ---------- */
@media (max-width: 360px) {
  .lic { grid-template-columns: minmax(0, 1fr); }
  .checkout-form, .book-box { padding: 14px; }
  .hd-tiles { grid-template-columns: minmax(0, 1fr); }
  .bk { padding: 14px 12px; }
  .bk-right { grid-template-columns: auto auto minmax(0, 1fr) 36px; }
  .bk-legs > div { grid-template-columns: minmax(0, 1fr); }
  .bk-legs dd.bk-when { grid-column: 1; }
  .up-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .up-list li > :first-child:not(.up-who) { display: none; }
  .up-list li .up-who { grid-column: 1; grid-row: 1; }
  .up-list li .pill { grid-column: 2; grid-row: 1; }
  .up-list li .up-when { grid-column: 1 / -1; grid-row: 2; }
  .up-list .up-exp { grid-template-columns: minmax(0, 1fr) auto; }
  .trip-car { flex-wrap: wrap; }
  .trip-car img { width: 100%; }
  .cal-nav { flex-wrap: wrap; }
  .cal-nav b { min-width: 0; flex: 1; font-size: 16px; }
  .set-box { padding: 12px; }
  .set-rows > li { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 12px; gap: 6px 10px; }
  .set-rows > li > .kpi-ic { display: none; }
  .set-rows > li > :nth-child(2) { grid-column: 1; }
  .set-rows > li .set-pills { grid-column: 1 / -1; grid-row: 2; }
  .set-rows > li .bk-more { grid-column: 2; grid-row: 1; }
  .set-rows > li > .btn { grid-column: 1 / -1; }
  .panel { padding: 14px; }
}
/* very old phones: booking list rows and settings fields wrap neatly */
@media (max-width: 360px) {
  .bk-right { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
  .bk-right .bk-more { margin-left: auto; }
  .pager-nav { flex-wrap: wrap; }
  .set-exp-body .field { flex: 1 1 100%; }
  .set-exp-body .btn { flex: 1 1 100%; justify-content: center; }
}
/* lists and columns can always shrink to the screen */
.stack, .up-list { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 360px) {
  .set-foot-split { flex-wrap: wrap; gap: 8px; }
  .set-foot-split .btn { flex: 1 1 100%; justify-content: center; }
}
.up-who, .up-when { grid-template-columns: minmax(0, 1fr); }
.up-who > span, .up-when > span { max-width: 100%; }
/* list view on very small phones: photo on top, text and price under it */
@media (max-width: 360px) {
  .ritem { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ritem-img { grid-row: auto; width: 100%; }
  .ritem-price { grid-column: 1; }
  .ritem-main b { padding-right: 36px; }
  .ritem-fav { top: 12px; right: 12px; background: rgba(255, 255, 255, .9); border-radius: 999px; }
  .mrow { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 0 10px; padding: 12px; }
  .mrow-car { width: 40px; height: 40px; }
  .mrow .mav { width: 38px; height: 38px; }
}
/* chat header on tablets: buttons as icons so the name has room */
@media (max-width: 1180px) {
  .mbox-adm .mchat-act .mbtn span { display: none; }
  .mbox-adm .mchat-act .mbtn { width: 36px; padding: 0; justify-content: center; }
}
@media (max-width: 900px) {
  .mchat-act .mbtn span { display: none; }
  .mchat-act .mbtn { width: 36px; padding: 0; justify-content: center; }
}

/* ---------- one booking on phones and small tablets: panels in working order ---------- */
.cust-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 1080px) {
  .admin-split > .stack { display: contents; }
  .admin-split { gap: 14px; }
  .admin-split .p-trip { order: 1; } .admin-split .p-reply { order: 2; } .admin-split .p-cust { order: 3; }
  .admin-split .p-pay { order: 4; } .admin-split .p-msg { order: 5; } .admin-split .p-lic { order: 6; }
  .admin-split .p-refs { order: 7; } .admin-split .p-review { order: 8; } .admin-split .p-note { order: 9; }
}
@media (max-width: 640px) {
  .admin-split .panel { padding: 16px; border-radius: 14px; }
  .admin-split .panel h2 { font-size: 17px; margin-bottom: 10px; }
  .trip-car img { width: 88px; }
  .status-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .status-buttons .btn { justify-content: center; }
  .status-buttons .btn:only-of-type { grid-column: 1 / -1; }
  .msg-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .msg-actions .btn { justify-content: center; padding: 0 8px; }
  .cust-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cust-acts .btn { justify-content: center; padding: 0 8px; }
  /* Bookings list: tabs on one line, tools on one row */
  .admin .bk-tabs { width: 100%; gap: 0; }
  .admin .bk-tabs a { padding: 10px 9px; font-size: 14px; }
  .bk-bar { gap: 10px; }
  .bk-tools { width: 100%; flex-wrap: nowrap; }
  .bk-tools .btn-primary { margin-left: auto; }
}
@media (max-width: 420px) { .hide-xs { display: none; } }
@media (max-width: 360px) {
  .admin .bk-tabs a { padding: 10px 6px; font-size: 13px; }
  .bk-tools .seg a { font-size: 0; gap: 0; padding: 0 10px; }
  .bk-tools .seg a .i { width: 16px; height: 16px; }
  .msg-actions, .cust-acts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .admin .bk-tabs { display: flex; flex-wrap: wrap; justify-content: space-between; overflow: visible; }
  .admin .bk-tabs a { padding: 10px 2px; font-size: 14px; }
}
@media (max-width: 360px) { .admin .bk-tabs a { padding: 10px 1px; font-size: 13px; } }
.note-box { display: block; width: 100%; resize: vertical; min-height: 90px; margin: 4px 0 12px; }
.p-note .muted.small { margin: -4px 0 8px; }
.bk-legs dt { text-transform: none; letter-spacing: 0; font-size: 13px; }
.test-strip { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 10px 14px; border: 1px solid #f2d48a; border-radius: 12px; background: #fdf3dc; color: #6b4a00; font-size: 14px; line-height: 20px; }
.test-strip:hover { color: #6b4a00; border-color: #e5be5a; }
.test-strip .i { width: 18px; height: 18px; flex: none; margin-top: 1px; }
