:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; background: #090b0f; color: #f6f7f9; --accent: #b9ff38; --accent-soft: rgba(185,255,56,.12); --surface: #14171d; --surface-2: #1b1f27; --line: #282d36; --muted: #8d96a5; --danger: #ff6b73; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { margin: 0; min-height: 100vh; background: #090b0f; }
button, input, select { font: inherit; }
button { cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
label, a, .service-card, .calendar-day, .time-chip, .counter { touch-action: manipulation; }
.shell { width: min(100% - 32px, 960px); margin: 0 auto; padding: 32px 0 80px; }
.hero { min-height: 100vh; display: grid; align-content: center; background: radial-gradient(circle at 50% 20%, #1c2733, transparent 45%); }
.hero h1, .shell > h1 { margin: 6px 0 12px; font-size: clamp(2.2rem, 9vw, 5rem); letter-spacing: -.06em; }
h2 { margin-top: 0; }
.eyebrow, .kicker { color: var(--accent); font-size: .7rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.muted { color: var(--muted); }
.button, .icon-button { border: 0; border-radius: 16px; background: var(--accent); color: #0a0d0f; font-weight: 850; padding: 16px 20px; text-decoration: none; width: fit-content; }
.topbar { display: flex; justify-content: space-between; align-items: center; }
.icon-button { font-size: 1.5rem; padding: 10px 16px; }
.card, .metric { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.metric span { color: var(--muted); display: block; font-size: .8rem; }
.metric strong { display: block; font-size: 2rem; margin-top: 10px; }
.order { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.order:last-child { border-bottom: 0; }
.order strong, .order span { display: block; }
.order small { color: var(--muted); }

.mini-app { width: min(100%, 520px); min-height: 100vh; margin: 0 auto; padding: 0 18px 118px; background: radial-gradient(circle at 100% 0, rgba(185,255,56,.07), transparent 28%); }
.mini-app.is-checking #booking-form, .mini-app.is-checking .booking-footer { visibility: hidden; }
.mini-header { height: 64px; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
.brand { text-align: center; font-size: .92rem; font-weight: 950; letter-spacing: .12em; }
.brand span { color: var(--accent); }
.back-button { width: 38px; height: 38px; border: 0; border-radius: 13px; background: var(--surface); color: #fff; font-size: 1.25rem; visibility: hidden; }
.step-count { color: var(--muted); text-align: right; font-size: .78rem; }
.step-count b { color: #fff; }
.progress { height: 3px; background: #1b1f25; border-radius: 999px; overflow: hidden; }
.progress i { display: block; width: 25%; height: 100%; background: var(--accent); border-radius: inherit; transition: width .25s ease; }
.booking-step { display: none; animation: step-in .25s ease; }
.booking-step.is-active { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
.step-heading { padding: 28px 2px 22px; }
.step-heading h1, .success-screen h1 { margin: 7px 0; font-size: 2rem; line-height: 1.05; letter-spacing: -.045em; }
.step-heading p, .success-screen p { margin: 0; color: var(--muted); line-height: 1.45; }
.calendar-panel { padding: 15px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.calendar-head { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; margin-bottom: 13px; }
.calendar-head strong { text-align: center; text-transform: capitalize; }
.calendar-head button { width: 36px; height: 36px; border: 0; border-radius: 12px; color: #fff; background: var(--surface-2); font-size: 1.35rem; }
.calendar-head button:disabled { opacity: .25; }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.weekdays span { color: #606977; text-align: center; font-size: .67rem; padding: 6px 0; text-transform: uppercase; }
.calendar-day { aspect-ratio: 1; border: 0; border-radius: 13px; color: #e8ebef; background: transparent; font-size: .88rem; font-weight: 650; }
.calendar-day:hover:not(:disabled) { background: var(--surface-2); }
.calendar-day.is-selected { color: #0b0e10; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.calendar-day.is-today:not(.is-selected) { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.calendar-day:disabled, .calendar-day.is-outside { color: #3e444e; cursor: default; }
.section-label { display: flex; justify-content: space-between; margin: 22px 2px 10px; font-size: .82rem; font-weight: 750; }
.section-label b { color: var(--accent); font-size: .7rem; }
.time-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 9px; scrollbar-width: none; touch-action: pan-x; overscroll-behavior-x: contain; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; cursor: grab; }
.time-strip:active { cursor: grabbing; }
.time-strip::-webkit-scrollbar { display: none; }
.time-chip { flex: 0 0 auto; min-width: 88px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: #fff; padding: 11px 14px; font-weight: 700; scroll-snap-align: center; touch-action: pan-x; }
.time-chip.is-selected { color: #0b0e10; background: var(--accent); border-color: var(--accent); }
.duration-card, .extra-row, .base-kit { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.duration-card span, .extra-row strong, .base-kit strong { display: block; font-weight: 800; }
.duration-card small, .extra-row small, .base-kit small { display: block; color: var(--muted); margin-top: 3px; }
.counter { display: flex; align-items: center; gap: 10px; }
.counter button { width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--surface-2); color: #fff; font-size: 1.2rem; }
.counter button:disabled { opacity: .3; }
.counter strong { min-width: 58px; text-align: center; font-size: .8rem; }
.counter.compact strong { min-width: 20px; }
.base-kit { justify-content: flex-start; margin: 0 0 12px; }
.base-kit > span { margin-left: auto; color: var(--accent); font-size: .7rem; font-weight: 800; }
.service-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--accent-soft); color: var(--accent); font-weight: 900; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-card { position: relative; min-height: 152px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); cursor: pointer; transition: .18s ease; }
.service-card input { position: absolute; opacity: 0; }
.service-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.service-card strong { margin-top: auto; }
.service-card small { color: var(--muted); }
.service-check { position: absolute; top: 13px; right: 13px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; color: transparent; border: 1px solid #353b46; }
.service-card:has(input:checked) .service-check { color: #0b0e10; border-color: var(--accent); background: var(--accent); }
.segment { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px; border-radius: 17px; background: var(--surface); }
.segment label { cursor: pointer; }
.segment input { position: absolute; opacity: 0; }
.segment span { min-height: 62px; display: grid; place-items: center; border-radius: 13px; color: var(--muted); font-size: .82rem; font-weight: 800; }
.segment b { display: block; color: inherit; font-size: .68rem; }
.segment input:checked + span { color: #0b0e10; background: var(--accent); }
.fields { display: grid; gap: 13px; margin-top: 18px; }
.fields label > span { color: var(--muted); font-size: .75rem; margin: 0 2px 7px; display: block; }
.fields input { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: 15px; outline: none; background: var(--surface); color: #fff; }
.fields input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 17px; color: var(--muted); font-size: .72rem; line-height: 1.35; cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent i { flex: 0 0 22px; height: 22px; display: grid; place-items: center; border: 1px solid #3b424d; border-radius: 7px; color: transparent; font-style: normal; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.consent input:checked + i { color: #0b0e10; background: var(--accent); border-color: var(--accent); transform: scale(1.06); box-shadow: 0 0 0 4px var(--accent-soft); }
.summary-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 17px; border-bottom: 1px solid var(--line); }
.summary-row:last-child { border: 0; }
.summary-row span { color: var(--muted); }
.summary-row strong { text-align: right; }
.summary-row.total { font-size: 1.15rem; }
.summary-row.total span, .summary-row.total strong { color: #fff; }
.summary-loading { padding: 24px; color: var(--muted); text-align: center; }
.notice { display: grid; gap: 4px; margin-top: 12px; padding: 15px 17px; border-radius: 17px; background: var(--accent-soft); }
.notice b { color: var(--accent); font-size: .8rem; }
.notice span { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.booking-footer { position: fixed; z-index: 10; left: 50%; bottom: 0; width: min(100%, 520px); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(9,11,15,.94); backdrop-filter: blur(16px); }
.booking-footer span { display: block; color: var(--muted); font-size: .65rem; }
.booking-footer strong { display: block; margin-top: 2px; }
.booking-footer button, .secondary-button { min-width: 156px; padding: 15px 18px; border: 0; border-radius: 15px; background: var(--accent); color: #0b0e10; font-weight: 900; transition: background-color .24s ease, color .24s ease, opacity .24s ease, transform .24s ease, box-shadow .24s ease; }
.booking-footer button:not(:disabled) { box-shadow: 0 8px 24px rgba(185,255,56,.12); }
.booking-footer button:disabled { background: #252a32; color: #69717e; opacity: .62; cursor: not-allowed; box-shadow: none; transform: scale(.98); }
.form-message { min-height: 20px; margin: 12px 2px; color: var(--danger); font-size: .78rem; }
.success-screen { min-height: calc(100vh - 90px); text-align: center; place-content: center; padding: 40px 10px; }
.success-screen:not([hidden]) { display: grid; }
.success-mark { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 25px; background: var(--accent); color: #0b0e10; font-size: 2rem; font-weight: 950; box-shadow: 0 0 0 12px var(--accent-soft); }
.active-order-mark { background: var(--surface-2); color: var(--accent); box-shadow: 0 0 0 12px var(--accent-soft); }
.secondary-button { margin: 24px auto 0; background: var(--surface-2); color: #fff; }
[hidden] { display: none !important; }
@media (max-width: 540px) { .metrics { grid-template-columns: 1fr 1fr; } }
