:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080b0f;
  color: #f0f4f7;
  font-synthesis: none;
  --surface: #0c1118;
  --panel: #111a23;
  --line: #344452;
  --muted: #a6b6c3;
  --blue: #65e5fa;
  --dark: #06131b;
  --select: #102834;
  --warn: #ffdc99;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { color: var(--dark); background: var(--blue); }
a { color: var(--blue); }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 10px; color: var(--dark); background: var(--blue); transform: translateY(-130%); }
.skip-link:focus { transform: translateY(0); }
.shell { max-width: 800px; min-height: 100vh; margin: auto; padding: 0 clamp(12px, 4vw, 28px) max(40px, env(safe-area-inset-bottom)); background: var(--surface); }
.hero { height: clamp(116px, 29vw, 170px); position: relative; display: flex; align-items: start; padding-top: max(18px, env(safe-area-inset-top)); overflow: hidden; border-bottom: 1px solid #344f5b; background: radial-gradient(ellipse at 80% 95%, #174154, transparent 60%); }
.brand { display: flex; align-items: center; gap: 9px; position: relative; z-index: 2; }
.brand strong, .brand small { display: block; line-height: 1.05; }
.brand strong { font-size: clamp(15px, 4vw, 22px); }
.brand small { color: var(--muted); margin-top: 5px; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.mark { display: flex; align-items: center; color: #fff; font-size: 1.45rem; font-weight: 850; letter-spacing: -.12em; padding-right: 4px; }
.mark span { color: var(--blue); }
.hero-car, .hero-car-code { position: absolute; right: 0; bottom: 0; width: min(47%, 250px); height: 74%; object-fit: contain; object-position: right bottom; }
.hero-car-code { display: grid; place-items: center; color: var(--blue); font-weight: 800; }
.tabs { display: flex; gap: 7px; flex-wrap: wrap; margin: 18px 0; }
.tabs button { min-height: 44px; padding: 6px 11px; border: 1px solid var(--line); background: var(--panel); border-radius: 6px; color: #d9e5ec; font-size: .88rem; font-weight: 700; }
.tabs button.active { background: var(--blue); color: var(--dark); border-color: var(--blue); }
#cart-count { padding-left: 3px; font-variant-numeric: tabular-nums; }
#notice { white-space: pre-line; }
#notice:not(:empty) { margin: 12px 0; padding: 12px; border-radius: 6px; background: #102a2e; color: #b6f4ec; }
#notice.error:not(:empty) { background: #3c2027; color: #ffb9be; }
h1 { margin: 14px 0 7px; font-size: clamp(1.7rem, 6vw, 2.25rem); line-height: 1.06; letter-spacing: -.045em; }
h2 { margin: 22px 0 10px; font-size: 1.25rem; }
h3 { margin: 0 0 8px; font-size: 1rem; }
p { line-height: 1.5; margin: 7px 0 14px; }
.subtitle, .muted, .empty { color: var(--muted); }
.progress { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .8rem; color: var(--muted); }
progress { flex: 1; height: 6px; appearance: none; border: 0; border-radius: 8px; background: var(--line); accent-color: var(--blue); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--blue); transition: width .2s ease; }
progress::-moz-progress-bar { background: var(--blue); }
.warning { padding: 12px; border: 1px solid #775734; border-radius: 8px; background: #2e2417; color: var(--warn); }
.warning p:last-child { margin-bottom: 0; }
.fields-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 8px 12px; }
.field { display: block; min-width: 0; font-weight: 700; margin: 12px 0; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); padding: 10px; margin-top: 6px; color: inherit; font-size: 16px; }
.field textarea { min-height: 82px; resize: vertical; }
.cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.car-card, .service-card, .booking-card, .block-card { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 12px; text-align: left; color: inherit; }
.car-card, .service-card { min-width: 0; transition: border-color .18s, background .18s; }
.car-card { min-height: 144px; display: flex; flex-direction: column; gap: 4px; }
.car-card.selected, .service-card.selected { border-color: var(--blue); background: var(--select); }
.car-card img { display: block; width: 100%; height: 84px; object-fit: contain; }
.car-card small, .service-card small, .booking-card small { color: var(--muted); }
.fallback { width: 100%; height: 84px; display: grid; place-items: center; color: var(--blue); font-size: 1.5rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px; }
.service-card { display: flex; gap: 10px; width: 100%; min-height: 70px; align-items: start; }
.service-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 1px solid #3b7184; color: var(--blue); background: #12232d; border-radius: 5px; }
.service-card strong, .service-card small { display: block; overflow-wrap: anywhere; }
.service-card small { margin-top: 4px; line-height: 1.4; }
.service-card .service-state { color: var(--blue); font-weight: 700; }
.hidden-functions, .hidden-category { margin: 20px 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; padding: 9px 12px; color: inherit; font-weight: 750; text-align: center; transition: border-color .18s, background .18s; }
.primary { background: linear-gradient(115deg, #65e5fa, #37b7ef); color: var(--dark); flex: 1; }
.secondary { background: #13212c; color: #e1ebf2; border-color: var(--line); }
.button:disabled { opacity: .44; }
@media (hover: hover) {
  .button:not(:disabled):hover, .car-card:hover, .service-card:hover { border-color: var(--blue); }
}
.cart-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.cart-list li { display: flex; align-items: start; justify-content: space-between; gap: 8px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.cart-list small { display: block; color: var(--muted); margin-top: 4px; }
.toast { position: fixed; z-index: 4; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; width: min(500px, calc(100% - 24px)); margin: auto; padding: 13px; background: #132934; border: 1px solid #468494; border-radius: 9px; box-shadow: 0 10px 35px #0009; animation: arrive .2s ease-out; }
.toast p { margin: 4px 0 0; color: #ccdee8; font-size: .87rem; }
.toast .actions { margin-top: 8px; }
.toast .button { font-size: .83rem; }
.calendar { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: clamp(7px, 3vw, 16px); }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.calendar-head strong { text-transform: capitalize; text-align: center; }
.calendar-head .button { min-width: 44px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekday { color: var(--muted); text-align: center; font-size: .8rem; }
.calendar-day { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: #15232e; color: #e9f3f7; min-height: 40px; padding: 0; }
.calendar-day:disabled { color: #7e8b95; background: transparent; border-color: transparent; }
.calendar-day[aria-pressed=true] { background: var(--blue); border-color: var(--blue); color: var(--dark); font-weight: 800; }
.time-selection { text-align: center; color: var(--blue); font-size: 2.15rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.wheels { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 15px; }
.wheel-column { width: min(42%, 170px); display: grid; gap: 6px; text-align: center; color: var(--muted); font-size: .83rem; font-weight: 700; }
.wheel { height: 180px; overflow: auto; overscroll-behavior: contain; scroll-snap-type: y mandatory; scrollbar-width: none; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(#0a1118, #172b39, #0a1118); padding: 67px 0; }
.wheel::-webkit-scrollbar { display: none; }
.wheel button { display: block; width: 100%; height: 44px; border: 0; background: transparent; scroll-snap-align: center; font-size: 1.4rem; font-weight: 750; color: #a4b4bf; font-variant-numeric: tabular-nums; }
.wheel button[aria-selected=true] { background: #174356; color: var(--blue); }
.colon { align-self: center; font-size: 1.5rem; font-weight: 800; }
.alternative-times, .mini-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.summary, .success { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #101f29; }
.success { background: #122b29; border-color: #437977; }
.success strong { color: #91e6d9; }
.review { display: grid; gap: 10px; }
.review > div { display: grid; gap: 4px; }
.review dt { font-size: .84rem; color: var(--muted); }
.review dd { margin: 0; overflow-wrap: anywhere; }
.review ul { margin: 0; padding-left: 1.2em; }
.booking-card { margin: 10px 0; }
.booking-card strong { font-size: 1.05rem; }
.booking-card p { margin: 5px 0; }
.mini-actions button, .block-card button { min-height: 44px; border: 1px solid var(--line); border-radius: 5px; background: #152532; padding: 6px 8px; color: inherit; font-size: .85rem; font-weight: 700; }
.day-nav { display: flex; gap: 8px; align-items: end; }
.day-nav .field { flex: 1; margin: 0; }
.block-card { margin: 8px 0; }
.thread { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.bubble { padding: 10px; border-radius: 7px; margin: 8px 0; max-width: 94%; background: #192b38; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.master { background: #183333; margin-left: auto; }
.bubble small { display: block; margin-bottom: 4px; font-size: .73rem; }
.thread .button { width: 100%; }
#demo-switch { padding: 8px; margin: 0 0 12px; border-radius: 6px; background: #2e2417; color: var(--warn); }
#demo-switch select { margin-left: 8px; min-height: 40px; }
.coding-admin { margin: 16px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.coding-admin summary { font-weight: 800; cursor: pointer; }
.coding-map-row { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.coding-map-row small { color: var(--muted); }
#content > h1, #content > .progress { animation: arrive .18s ease-out; }
@keyframes arrive { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.privacy-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0;line-height:1.5;font-size:.9rem}
.privacy-consent input{flex:none;width:19px;height:19px;margin:2px 0 0}
.privacy-consent a{text-decoration:underline}
