/* Drive Up — site, booking flow and admin styles */
:root {
  --ink: #0E1B2C; --ink-2: #1A2B42; --ink-3: #0A1422; --line-dark: #2A3D59;
  --yellow: #F5B700; --yellow-soft: #FFF1C7; --yellow-ink: #6B4A00;
  --blue: #2457E6; --blue-soft: #E6ECFB; --blue-ink: #1E3F9E;
  --green: #157347; --green-soft: #E3F4EA; --green-ink: #0F5C36;
  --red: #B42318; --red-soft: #FDECEA; --red-ink: #8A1C12;
  --ground: #F4F6F8; --white: #FFFFFF; --line: #E2E6EC; --line-2: #CBD2DC;
  --muted: #4B5768; --muted-2: #5D6878; --tile: #E9EDF2;
  --radius: 16px; --radius-sm: 10px;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 18px 40px rgba(5, 12, 24, .18);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: #163FB0; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); font-weight: 900; }
h2, .h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.h3, h3 { font-size: 1.5rem; font-weight: 800; }
.h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
code { background: var(--tile); padding: 1px 6px; border-radius: 4px; font-size: .9em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow-wrap { max-width: 880px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt-sm { margin-top: 12px; } .mt-lg { margin-top: 28px; } .mt-xl { margin-top: 56px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wrap-row { flex-wrap: wrap; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 20px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font: 700 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn-lg { min-height: 52px; padding: 15px 26px; font-size: 17px; border-radius: 12px; }
.btn-small { min-height: 34px; padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #E2A800; color: var(--ink); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #0F5C36; color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark { color: #fff; border-color: #3A4E6B; background: transparent; }
.btn-ghost-dark:hover { border-color: #fff; color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger-outline { background: #fff; color: var(--red); border-color: var(--red); }
.btn-danger-outline:hover { background: var(--red-soft); color: var(--red-ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; cursor: pointer; text-decoration: underline; }
.link-btn.danger { color: var(--red); }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }

/* Tags & status */
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; font-style: normal; white-space: nowrap; }
.tag-green { background: var(--green-soft); color: var(--green-ink); }
.tag-amber, .tag-yellow { background: var(--yellow-soft); color: var(--yellow-ink); }
.tag-blue { background: var(--blue-soft); color: var(--blue-ink); }
.tag-red { background: var(--red-soft); color: var(--red-ink); }
.tag-grey { background: #EEF1F5; color: var(--muted); }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: #EEF1F5; color: var(--muted); }
.status-lg { font-size: 14px; padding: 7px 14px; }
.status-pending_approval { background: var(--yellow-soft); color: var(--yellow-ink); }
.status-approved { background: var(--blue-soft); color: var(--blue-ink); }
.status-active { background: var(--green-soft); color: var(--green-ink); }
.status-declined, .status-cancelled { background: var(--red-soft); color: var(--red-ink); }

/* Alerts */
.alert { border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.alert-success { background: var(--green-soft); color: var(--green-ink); }
.alert-error { background: var(--red-soft); color: var(--red-ink); }
.alert-info { background: var(--blue-soft); color: var(--blue-ink); }
.flash-wrap { padding-top: 16px; }
.notice { background: #FFF8E1; color: #4A3700; border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.field-error { color: var(--red); font-size: 13px; font-weight: 500; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field > span { font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input, .field select, .field textarea, .input, .search input, .filters input, .filters select {
  font: 400 16px/1.4 var(--body); padding: 11px 13px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; width: 100%;
}
.field textarea, textarea.input { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 87, 230, .18); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace !important; font-size: 14px !important; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid > h2 { margin: 8px 0 0; font-size: 1.15rem; }
.form-grid > h2 small { font-family: var(--body); font-weight: 400; color: var(--muted); font-size: 13px; letter-spacing: 0; }
.span-2 { grid-column: 1 / -1; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; line-height: 1.4; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.row-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.narrow-form { max-width: 480px; }

/* Header */
.topbar { background: var(--ink-3); color: #C9D3E0; font-size: 13px; }
.topbar a { color: #C9D3E0; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--yellow); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-word { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: .04em; }
.brand-word span { color: var(--yellow); }
.brand-img { height: 40px; width: auto; }
.brand-dark { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.main-nav a { color: #C9D3E0; text-decoration: none; }
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav .nav-cta { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 56px 0 104px; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 { margin: 0; }
.eyebrow-pill { align-self: flex-start; background: var(--ink-2); color: var(--yellow); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.lead { font-size: 19px; color: #C9D3E0; max-width: 540px; margin: 0; }
.lead-dark { font-size: 17px; color: #2B3646; }
.trust { list-style: none; padding: 0; margin: 8px 0 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: #C9D3E0; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { color: var(--yellow); }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; border: 1px solid var(--line-dark); background: var(--ink-2); }
.price-float { position: absolute; left: -24px; bottom: -44px; background: #fff; color: var(--ink); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 9px; min-width: 280px; font-size: 15px; }
.price-float hr { margin: 2px 0; }
.price-float .total strong { font-family: var(--display); font-size: 26px; font-weight: 800; }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.eyebrow-dark { color: var(--ink); }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 40px 0 72px; }
.section-white { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2, .section-head .h2 { margin: 0; }
.section-head > p { max-width: 420px; margin: 0; }
.section-head.narrow > div { max-width: 640px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.align-center { align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.card-pad { padding: 32px; }
.card-yellow { background: var(--yellow); border-color: var(--yellow); }
.card-yellow p { color: #2A2410; }

/* Car cards */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.car-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.car-card:hover { box-shadow: 0 14px 30px rgba(5, 12, 24, .1); transform: translateY(-2px); }
.car-photo { position: relative; display: block; background: var(--tile); aspect-ratio: 16 / 10; overflow: hidden; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; }
.car-photo .tag { position: absolute; top: 12px; left: 12px; }
.car-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.car-body h3 { font-size: 20px; font-weight: 700; margin: 2px 0 0; }
.car-body h3 a { color: var(--ink); text-decoration: none; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price strong { font-family: var(--display); font-weight: 800; font-size: 30px; }
.price span { color: var(--muted); font-size: 15px; }
.price-lg strong { font-size: 40px; font-weight: 900; }
.car-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { background: var(--ground); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps li span:last-child { color: var(--muted); font-size: 15px; }
.step-n { font-family: var(--display); font-weight: 900; font-size: 32px; color: var(--blue); }
.steps .step-dark { background: var(--ink); color: #fff; }
.steps .step-dark .step-n { color: var(--yellow); }
.steps .step-dark span:last-child { color: #C9D3E0; }

/* Price table */
.price-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 8px 0 16px; }
.price-table > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.price-table > div:first-child { border-top: 0; }
.price-table > .dark { background: var(--ink); color: #fff; border-top: 0; }
.price-table > .dark strong { font-family: var(--display); font-size: 20px; }

/* Location & info */
.map-link img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 20px; background: var(--tile); }
.info-list { display: flex; flex-direction: column; gap: 14px; margin: 16px 0 0; }
.info-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; }
.info-list dt { font-weight: 700; }
.info-list dd { margin: 0; color: var(--muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq-item summary { list-style: none; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 600; cursor: pointer; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 3px; right: 3px; top: 9px; height: 2.2px; background: var(--blue); border-radius: 2px; transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-answer { padding: 0 20px 18px; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* CTA & footer */
.cta-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: 32px; }
.cta-band p { color: #C9D3E0; margin: 0; }
.site-footer { background: var(--ink-3); color: #C9D3E0; padding: 48px 0 100px; font-size: 14px; }
.site-footer a { color: #C9D3E0; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand p { margin: 10px 0 0; line-height: 1.7; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-content: flex-start; }
.footer-bottom { border-top: 1px solid #1E2E45; margin-top: 28px; padding-top: 20px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; background: #128C4A; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: 0 12px 28px rgba(5, 12, 24, .28); }
.wa-float:hover { background: #0E7A40; color: #fff; }

/* Car detail */
.back-link { display: inline-block; margin-bottom: 16px; font-weight: 600; text-decoration: none; font-size: 14px; }
.car-detail { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gallery-main { background: var(--tile); border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--tile); aspect-ratio: 16 / 10; }
.gallery-thumbs button.is-active { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.car-info { display: flex; flex-direction: column; gap: 14px; }
.car-info h1 { margin: 0; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spec-grid > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.spec-grid span { font-size: 12px; color: var(--muted); }
.turo-box { background: var(--yellow-soft); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.turo-box p { margin: 0; font-size: 14px; color: #4A3700; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 5px; width: 12px; height: 7px; border-left: 2.4px solid var(--green); border-bottom: 2.4px solid var(--green); transform: rotate(-45deg); }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose p, .prose li { color: #2B3646; }

/* Booking */
.stepper { background: #fff; border-bottom: 1px solid var(--line); }
.stepper ol { list-style: none; display: flex; gap: 6px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; margin: 0 auto; }
.stepper li { flex-shrink: 0; display: flex; align-items: center; }
.stepper li + li::before { content: ''; width: 22px; height: 2px; background: var(--line); margin-right: 6px; border-radius: 2px; }
.stepper li.step-done + li::before { background: var(--green); }
.stepper a, .step-inner { display: flex; align-items: center; gap: 8px; padding: 6px 4px; min-height: 44px; text-decoration: none; color: var(--muted); font-size: 14px; }
.stepper .dot { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: #fff; }
.step-done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.step-current .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-current .label { color: var(--ink); font-weight: 700; }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; padding-top: 32px; padding-bottom: 72px; }
.booking-main { display: flex; flex-direction: column; gap: 22px; }
.step-head h1 { margin: 0 0 4px; }
.step-head p { margin: 0; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.summary { position: sticky; top: 96px; overflow: hidden; }
.summary > img { width: 100%; height: 180px; object-fit: cover; background: var(--tile); }
.summary-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.summary-body h2 { margin: 0; }
.summary-body hr { margin: 0; }
.summary-dl { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.summary-dl > div { display: flex; justify-content: space-between; gap: 12px; }
.summary-dl dt { color: var(--muted); }
.summary-dl dd { margin: 0; font-weight: 700; text-align: right; }
.due { background: var(--ink); color: #fff; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; }
.due strong { font-family: var(--display); font-size: 24px; }
.dates-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.calendar { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.cal-days button { height: 44px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 15px var(--body); cursor: pointer; padding: 0; }
.cal-days button:hover:not(:disabled) { border-color: var(--ink); }
.cal-days button.is-range { background: var(--blue-soft); border-color: var(--blue-soft); }
.cal-days button.is-edge { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal-days button.is-booked { background: repeating-linear-gradient(135deg, #EEF1F5 0 5px, #DDE2E9 5px 10px); color: #6B7686; text-decoration: line-through; border-color: transparent; cursor: not-allowed; }
.cal-days button.is-soon { background: transparent; color: #A7B0BD; border: 1px dashed var(--line-2); cursor: not-allowed; }
.cal-days button.is-conflict { background: var(--red); color: #fff; }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-sel { background: var(--ink); }
.lg-booked { background: repeating-linear-gradient(135deg, #EEF1F5 0 3px, #C9D0DA 3px 6px); }
.lg-soon { border: 1px dashed #A7B0BD; }
.avail-msg:empty { display: none; }
.avail-msg { border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.avail-msg.ok { background: var(--green-soft); color: var(--green-ink); }
.avail-msg.bad { background: var(--red-soft); color: var(--red-ink); }
.avail-msg.info { background: var(--ground); }
.date-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.date-pills > div { background: var(--ground); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.date-pills span { font-size: 12px; color: var(--muted); }
.choice-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.choice-group legend { font-size: 14px; font-weight: 600; padding: 0 0 6px; }
.choice, .choice-card { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; background: #fff; }
.choice:has(input:checked), .choice-card:has(input:checked) { border-color: var(--ink); }
.choice input, .choice-card input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; flex-shrink: 0; }
.choice span, .choice-card span { display: flex; flex-direction: column; gap: 3px; }
.choice small, .choice-card small { color: var(--muted); font-size: 13px; }
.choice-card em { align-self: flex-start; margin-top: 4px; }
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.upload { position: relative; border: 2px dashed #9DB3E8; background: #F7F9FC; border-radius: 14px; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; cursor: pointer; color: var(--blue); min-height: 150px; justify-content: center; }
.upload strong { color: var(--ink); font-size: 15px; }
.upload small { color: var(--muted); }
.upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload.is-done { border-style: solid; border-color: var(--green); background: #F1FAF4; color: var(--green); }
.upload:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.lock-note { display: flex; gap: 8px; align-items: center; margin: 0; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.review-grid > div { background: var(--ground); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.review-grid span { color: var(--muted); }
.review-grid a { font-size: 13px; align-self: flex-start; }
.agreement-box { border: 1px solid var(--line); border-radius: 14px; max-height: 320px; overflow-y: auto; padding: 18px 20px; font-size: 14px; line-height: 1.6; color: #2B3646; }
.agreement h2 { font-size: 1.05rem; margin: 1.2em 0 .4em; font-family: var(--body); letter-spacing: 0; }
.agreement h2:first-child { margin-top: 0; }
.ag-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 13px; }
.ag-table th { text-align: left; background: var(--ink); color: #fff; padding: 6px 8px; }
.ag-table td { border-bottom: 1px solid var(--line); padding: 6px 8px; vertical-align: top; }
.ag-table td:first-child { color: var(--muted); width: 36%; }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sign-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
.sig-pad { position: relative; border: 1.5px dashed #9DB3E8; border-radius: 14px; background: #FBFCFD; height: 150px; touch-action: none; }
.sig-pad canvas { width: 100%; height: 100%; display: block; border-radius: 14px; cursor: crosshair; }
.sig-pad::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 30px; height: 1px; background: var(--line-2); pointer-events: none; }
.sig-pad button { position: absolute; top: 8px; right: 8px; z-index: 2; }
.sig-pad.is-signed { border-style: solid; border-color: var(--green); }
.big-check { width: 60px; height: 60px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ref-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.ref { background: var(--ground); border-radius: 12px; padding: 14px 18px; display: flex; flex-direction: column; }
.ref span { font-size: 13px; color: var(--muted); }
.ref strong { font-family: var(--display); font-size: 20px; letter-spacing: .04em; }
.ref-amber { background: var(--yellow-soft); }
.ref-amber span { color: var(--yellow-ink); }
.timeline { list-style: none; padding: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; }
.timeline li { padding: 14px 18px 14px 52px; position: relative; border-top: 1px solid var(--line); color: var(--muted); }
.timeline li:first-child { border-top: 0; }
.timeline li::before { content: ''; position: absolute; left: 18px; top: 16px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline li.now { color: var(--ink); }
.timeline li.now::before { background: var(--yellow-soft); border-color: var(--yellow); }
.pay-request { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--yellow-soft); border-radius: 12px; padding: 14px 16px; flex-wrap: wrap; }
.pay-request div { display: flex; flex-direction: column; }
.cancel-box { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.cancel-box summary { cursor: pointer; font-weight: 700; color: var(--red); }
.cancel-box form { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ===== Admin ===== */
.admin-body { background: var(--ground); }
.admin-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; background: linear-gradient(to right, var(--ink) 248px, var(--ground) 248px); }
.admin-side { background: var(--ink); color: #C9D3E0; padding: 22px 14px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand-admin { padding: 0 8px 20px; flex-wrap: wrap; }
.brand-admin small { width: 100%; color: #8DA0BC; font-size: 12px; }
.brand-admin .brand-word { font-size: 19px; }
.brand-admin .brand-mark { width: 30px; height: 30px; }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.admin-side nav a { display: flex; justify-content: space-between; align-items: center; color: #C9D3E0; text-decoration: none; padding: 10px 12px; border-radius: 9px; font-size: 14px; }
.admin-side nav a:hover { background: var(--ink-2); color: #fff; }
.admin-side nav a.is-active { background: var(--ink-2); color: #fff; font-weight: 600; }
.badge { background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 12px; padding: 1px 8px; border-radius: 999px; font-style: normal; }
.side-foot { margin-top: auto; padding: 16px 8px 0; border-top: 1px solid #1E2E45; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.side-foot a, .side-foot .link-btn { color: #C9D3E0; text-decoration: none; text-align: left; }
.admin-main { padding: 20px 32px 60px; min-width: 0; }
.admin-topbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.admin-toggle { display: none; color: var(--ink); }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { font-size: 28px; margin: 0; font-weight: 800; }
.page-head p { margin: 4px 0 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.panel-pad { padding: 20px 22px; }
.panel h2 { font-size: 17px; margin: 0 0 12px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.panel-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi strong { font-family: var(--display); font-size: 28px; font-weight: 800; }
.kpi em { font-style: normal; font-size: 12px; }
.kpi .warn { color: var(--yellow-ink); } .kpi .bad { color: var(--red); }
.admin-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; margin-bottom: 20px; }
.admin-cols.cols-wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid #EEF1F5; text-decoration: none; color: var(--ink); }
.list-row:first-child, .panel-head + .list-row { border-top: 0; }
a.list-row:hover { background: #F7F9FC; }
.list-row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.list-row .right { align-items: flex-end; text-align: right; flex-shrink: 0; }
.list-row.unread { background: #F2F6FF; }
.panel-pad .list-row.static { padding-left: 0; padding-right: 0; }
.empty { color: var(--muted); padding: 18px 20px; margin: 0; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line); }
.tabs a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs em { font-style: normal; opacity: .7; }
.search { display: flex; gap: 8px; min-width: 320px; }
.search input { min-height: 44px; }
.filters { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 16px; }
.filters .field { min-width: 160px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid #EEF1F5; vertical-align: top; }
.table tr.row-link { cursor: pointer; }
.table tr.row-link:hover td { background: #F7F9FC; }
.neg { color: var(--red); }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 14px 0 0; font-size: 14px; }
.dl-grid dt { color: var(--muted); font-size: 12px; }
.dl-grid dd { margin: 0; font-weight: 600; }
.licence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.licence-img { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.licence-img img, .licence-img span { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; background: var(--tile); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.licence-img em { font-style: normal; font-size: 12px; }
.checks-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-size: 14px; }
.checks-list .ok { color: var(--green-ink); } .checks-list .bad { color: var(--red); font-weight: 700; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.checklist .ok { color: var(--green-ink); } .checklist .bad { color: var(--red); font-weight: 700; }
.action-box { border: 2px solid var(--yellow); }
.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
details.sub { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
details.sub summary { cursor: pointer; font-weight: 600; font-size: 14px; }
details.sub[open] summary { margin-bottom: 12px; }
.history { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.vehicle-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.vehicle-tile { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.vehicle-tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--tile); }
.vehicle-tile .panel-pad { display: flex; flex-direction: column; gap: 4px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.photo-item { position: relative; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.photo-item.is-main { border-color: var(--yellow); }
.photo-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--tile); }
.photo-item .main-flag { position: absolute; top: 8px; left: 8px; }
.photo-item .demo-flag { position: absolute; top: 8px; right: 8px; }
.photo-actions { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px; }
.photo-upload { display: flex; flex-direction: column; gap: 10px; }
.photo-upload .upload { min-height: 0; flex-grow: 1; }
.danger-zone { margin-top: 12px; }
.image-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.image-setting { display: flex; flex-direction: column; gap: 10px; }
.image-preview { background: var(--tile); border-radius: 12px; height: 140px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #C9D3E0; font-size: 13px; }
.image-preview.dark { background: var(--ink); }
.image-preview img { max-height: 100%; width: 100%; object-fit: contain; }
.faq-edit summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.month-label { min-width: 140px; text-align: center; font-size: 17px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.gantt-wrap { overflow-x: auto; }
.gantt { display: grid; grid-template-columns: 190px repeat(var(--days), minmax(30px, 1fr)); grid-auto-rows: 52px; min-width: 1100px; position: relative; }
.g-day { grid-row: 1; text-align: center; font-size: 12px; font-weight: 600; padding-top: 8px; border-bottom: 1px solid var(--line); border-left: 1px solid #F1F3F6; display: flex; flex-direction: column; color: var(--ink); }
.g-day small { color: var(--muted); font-weight: 400; font-size: 10px; }
.g-day.we { background: #F7F9FC; }
.g-day.today { background: var(--yellow-soft); }
.g-label { grid-column: 1; padding: 8px 14px; display: flex; flex-direction: column; justify-content: center; text-decoration: none; color: var(--ink); border-bottom: 1px solid #EEF1F5; font-size: 13px; background: #fff; position: sticky; left: 0; z-index: 2; }
.g-label small { color: var(--muted); }
.g-headcell { grid-row: 1; border-bottom: 1px solid var(--line); }
.g-track { grid-column: 2 / -1; border-bottom: 1px solid #EEF1F5; }
.g-bar { align-self: center; height: 30px; border-radius: 7px; margin: 0 2px; padding: 0 8px; font-size: 11px; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; z-index: 1; }
.g-bar:hover { filter: brightness(1.1); color: #fff; }
.st-active { background: var(--green); } .st-approved { background: var(--ink); } .st-pending_approval { background: var(--yellow); color: var(--ink) !important; }
.st-awaiting_payment { background: #A7B0BD; } .st-completed { background: #8492A6; } .st-block-turo { background: var(--blue); }
.st-block-maintenance { background: repeating-linear-gradient(135deg, #DDE2E9 0 6px, #C9D0DA 6px 12px); color: var(--ink) !important; }
.login-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--ink); padding: 16px; }
.login-card { width: 100%; max-width: 420px; }
.install { max-width: 860px; margin: 40px auto; padding: 0 16px; display: flex; flex-direction: column; gap: 18px; }
.install .card { padding: 24px; }
.unread { border-color: var(--blue); }

/* Responsive */
@media (max-width: 960px) {
  .booking-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; order: -1; }
  .summary > img { height: 140px; }
  .car-detail { grid-template-columns: minmax(0, 1fr); }
  .dates-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-shell { grid-template-columns: minmax(0, 1fr); background: var(--ground); }
  .admin-side { position: fixed; inset: 0 auto 0 0; width: 260px; transform: translateX(-100%); transition: transform .2s; z-index: 60; }
  .admin-side.is-open { transform: none; box-shadow: var(--shadow); }
  .admin-toggle { display: inline-flex; }
  .admin-cols, .admin-cols.cols-wide { grid-template-columns: minmax(0, 1fr); }
  .admin-main { padding: 16px 16px 60px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; border-top: 1px solid var(--line-dark); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav .nav-cta { margin-top: 8px; }
  .header-in { position: relative; }
  .hero { padding: 36px 0 90px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .price-float { position: relative; left: auto; bottom: auto; min-width: 0; margin: -28px 12px 0; }
  .hero { padding-bottom: 48px; }
  .section { padding: 64px 0; }
  .card-pad { padding: 22px; }
  .form-grid, .choice-cards, .upload-grid, .review-grid, .sign-block, .spec-grid, .decision-grid, .checks-list, .dl-grid, .licence-grid, .checklist { grid-template-columns: minmax(0, 1fr); }
  .info-list > div { grid-template-columns: 1fr; gap: 2px; }
  .cta-band { padding: 28px; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .topbar-in span:first-child { display: none; }
  .search { min-width: 0; width: 100%; }
  .step-nav .btn-lg { flex-grow: 1; }
}
.admin-main > .panel, .admin-main > form.panel { margin-bottom: 20px; }
