*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
svg { flex: none; }
.muted { color: var(--ink-2); }
.small { font-size: .85rem; }
.fine { margin: 0; font-size: .78rem; color: var(--ink-3); text-align: center; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stack { display: grid; gap: 8px; }

/* Top bar */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.pd-banner { background: var(--signal-soft); color: var(--ink); border-bottom: 1px solid var(--line); font-size: .9rem; line-height: 1.45; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .01em; min-width: 0; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--signal); color: var(--on-signal); display: grid; place-items: center; flex: none; }
.demo-chip { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--signal-soft); color: var(--signal-text); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; flex: none; }
.lang button { border: 0; background: transparent; padding: 6px 11px; font-weight: 700; font-size: .85rem; color: var(--ink-2); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: end; padding-block: 40px 30px; }
.eyebrow { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--signal-text); }
h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.3rem + 3vw, 3.5rem); line-height: 1.02; margin: 0; text-wrap: balance; }
.lead { margin: 14px 0 0; max-width: 60ch; color: var(--ink-2); font-size: 1.08rem; }
.personalize { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; box-shadow: var(--shadow); }
.personalize-label { grid-column: 1 / -1; font-weight: 700; }
.hint { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: var(--ink-2); }

/* Fields */
.field { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--ink-2); min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); background: var(--surface-2); border-radius: 8px; padding: 10px 12px; font-size: 1rem; font-weight: 500; color: var(--ink); }
.field textarea { resize: vertical; line-height: 1.4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--focus-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--signal-strong); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 13px 18px; font-weight: 700; font-size: 1rem; border: 1px solid transparent; text-decoration: none; line-height: 1.2; }
.btn-primary { background: var(--signal); color: var(--on-signal); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.05); }
.btn-primary:disabled { background: var(--line); color: var(--ink-3); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 11px; font-size: .85rem; border-radius: 8px; }
.linkish { border: 0; background: none; color: var(--ink); font-weight: 600; padding: 2px 0; text-decoration: underline; text-decoration-color: var(--signal-strong); text-decoration-thickness: 2px; text-underline-offset: 4px; font-size: .9rem; }
.linkish.center { justify-self: center; }

/* Bench */
.bench { padding-block: 6px 52px; }
.bench-tabs { display: none; }
.bench-grid { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 32px; align-items: start; }
.panel { min-width: 0; scroll-margin-top: 72px; }
.panel-cap { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; font-size: .85rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .07em; }
.step-no { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: .75rem; font-weight: 700; letter-spacing: 0; flex: none; }
.panel-note { margin: 12px 4px 0; font-size: .86rem; color: var(--ink-2); max-width: 46ch; }
.badge { min-width: 20px; height: 20px; border-radius: 10px; background: var(--danger); color: var(--on-danger); font-size: .72rem; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; }

/* Phone */
.phone { background: var(--bezel); border-radius: 46px; padding: 12px; box-shadow: var(--shadow); max-width: 390px; }
.phone-screen { position: relative; height: 760px; overflow-y: auto; overscroll-behavior: contain; border-radius: 35px; background: var(--surface); scrollbar-width: none; }
.phone-screen::-webkit-scrollbar { display: none; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 4px; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.status-bat { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; opacity: .8; }
.status-bat::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.scr { display: flex; flex-direction: column; min-height: calc(100% - 34px); }
.scr-body { padding: 16px 16px 20px; display: grid; gap: 14px; align-content: start; flex: 1; }
.scr-title { margin: 0; font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; line-height: 1.05; text-wrap: balance; }
.scr-sub { margin: 6px 0 0; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.1; }
.scr-lead { margin: 0; font-size: .92rem; color: var(--ink-2); }
.empty { margin: 0; padding: 14px; border: 1px dashed var(--line); border-radius: 10px; color: var(--ink-2); font-size: .92rem; }

/* Search listing */
.sbar { margin: 8px 14px 10px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
.sbar svg { color: var(--ink-2); }
.l-media { height: 170px; margin: 4px 14px 0; border-radius: 12px; overflow: hidden; }
.l-photo, .l-photo img, .l-photo svg { display: block; width: 100%; height: 100%; }
.l-photo img { object-fit: cover; }
.listing { padding: 16px 16px 22px; display: grid; gap: 5px; font-size: .92rem; }
.listing h3 { margin: 0; font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.stars { color: var(--star); letter-spacing: 1px; }
.open-now { color: var(--ok); }
.closed-now { color: var(--danger); }
.actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.act { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.act-book { background: var(--signal); border-color: var(--signal); color: var(--on-signal); animation: ring 1.8s ease-out infinite; }
.tap-hint { display: flex; align-items: center; gap: 4px; margin: 6px 0 0 6px; font-size: .82rem; font-weight: 600; color: var(--signal-text); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 var(--signal); } 70%, 100% { box-shadow: 0 0 0 10px rgba(8, 127, 86, 0); } }
.scr-search .listing { padding: 12px 16px 4px; gap: 3px; }
.l-actions { display: flex; gap: 8px; padding: 10px 16px 2px; overflow-x: auto; scrollbar-width: none; }
.l-actions::-webkit-scrollbar { display: none; }
.l-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9rem; }
.l-btn:hover { border-color: var(--ink-3); }
.l-btn-primary { background: var(--signal); border-color: var(--signal); color: var(--on-signal); animation: ring 1.8s ease-out infinite; }
.scr-search .tap-hint { margin: 6px 16px 0 24px; }
.l-book { margin: 14px 16px 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.l-book h4 { margin: 0; padding: 12px 14px 10px; font-size: 1rem; }
.l-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.l-row .n { font-weight: 600; font-size: .92rem; }
.l-row .m { color: var(--ink-2); font-size: .82rem; }
.l-row .l-btn { height: 32px; }
.l-partner { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-2); }
.l-mark { width: 18px; height: 18px; border-radius: 5px; background: var(--signal); color: var(--on-signal); display: grid; place-items: center; flex: none; }

/* Flow header */
.flow-head { position: sticky; top: 0; z-index: 2; background: var(--surface); display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; flex: none; }
.flow-id { min-width: 0; }
.flow-garage { font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-step { font-size: .8rem; color: var(--ink-2); }
.progress { height: 3px; background: var(--line); }
.progress span { display: block; height: 100%; background: var(--signal); transition: width .3s ease; }
.flow-foot { position: sticky; bottom: 0; z-index: 2; padding: 14px 16px 16px; margin-top: auto; background: linear-gradient(to bottom, transparent, var(--surface) 28%); }

/* Services */
.svc-list { display: grid; gap: 8px; }
.svc { display: grid; gap: 2px; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.svc:hover { border-color: var(--ink-3); background: var(--surface-2); }
.svc-name { font-weight: 700; }
.svc-desc { font-size: .86rem; color: var(--ink-2); line-height: 1.35; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.svc-pick { font-weight: 700; font-size: .9rem; color: var(--ink-2); margin-top: -8px; }

/* Dates and slots */
.dates { display: flex; gap: 8px; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: thin; }
.date { flex: 0 0 auto; display: grid; justify-items: center; width: 66px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); line-height: 1.15; }
.date .dw { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--ink-2); }
.date .dd { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; }
.date .dm { font-size: .72rem; color: var(--ink-2); }
.date .dfree { margin-top: 3px; font-size: .68rem; font-weight: 700; color: var(--ok); white-space: nowrap; }
.date.is-full .dfree { color: var(--danger); }
.date[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.date[aria-pressed="true"] .dw, .date[aria-pressed="true"] .dm, .date[aria-pressed="true"] .dfree { color: inherit; }
.slot-group h4 { margin: 2px 0 6px; font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.slot { padding: 9px 0; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-family: var(--font-mono); font-weight: 600; font-size: .86rem; font-variant-numeric: tabular-nums; }
.slot:hover:not(:disabled) { border-color: var(--ink-3); }
.slot:disabled { background: var(--surface-2); color: var(--ink-3); text-decoration: line-through; border-style: dashed; }
.slot[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }

/* Details */
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.opts { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.opts legend { font-size: .85rem; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 4px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; cursor: pointer; }
.opt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--signal-strong); }
.opt:has(input:checked) { border-color: var(--signal-strong); background: var(--signal-soft); }
.err { margin: 0; color: var(--danger); font-weight: 600; font-size: .9rem; }
.plate { display: inline-block; font-family: var(--font-mono); font-weight: 600; font-size: .76rem; line-height: 1.3; letter-spacing: .02em; padding: 0 5px; border: 1.5px solid var(--plate-ink); border-radius: 4px; background: var(--plate-bg); color: var(--plate-ink); white-space: nowrap; vertical-align: 1px; }

/* Confirmation */
.done-hero { display: grid; justify-items: center; text-align: center; gap: 6px; padding-top: 10px; }
.done-hero p { margin: 0; }
.done-check { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.sum { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sum-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: .92rem; }
.sum-row:first-child { border-top: 0; }
.sum-row dt { color: var(--ink-2); }
.sum-row dd { margin: 0; font-weight: 600; }
.sms-wrap { display: grid; gap: 4px; }
.sms-from { font-size: .75rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.sms { max-width: 94%; background: var(--sms-bg); border-radius: 16px 16px 16px 4px; padding: 10px 12px; font-size: .88rem; line-height: 1.4; }

/* Garage desk */
.desk { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.desk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--steel); color: var(--on-steel); }
.desk-head > div { min-width: 0; }
.desk-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.desk-sub { font-size: .82rem; opacity: .85; }
.chip-sample { flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 3px 9px; }
.desk-tabs { display: flex; gap: 4px; padding: 6px 12px 0; border-bottom: 1px solid var(--line); }
.desk-tabs button { border: 0; background: none; padding: 10px 12px; font-weight: 700; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.desk-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--signal); }
.desk-body { padding: 14px 16px 18px; display: grid; gap: 14px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--signal-text); }
.kpi span { display: block; margin-top: 4px; font-size: .8rem; line-height: 1.25; color: var(--ink-2); }
.day-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.day-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: .86rem; white-space: nowrap; }
.day-tab .count { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); }
.day-tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.day-tab[aria-pressed="true"] .count { color: inherit; }
.dot-new { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); display: inline-block; }
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
.desk-main, .desk-side { min-width: 0; display: grid; gap: 14px; align-content: start; }
.desk-body > *, .desk-main > *, .desk-side > * { min-width: 0; }
.sec-title { margin: 0 0 8px; display: flex; justify-content: space-between; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }

/* Lift timeline */
.tl-scroll { overflow-x: auto; }
.tl { display: grid; grid-template-columns: 46px repeat(var(--lanes), minmax(118px, 1fr)); }
.tl-lanehead { padding: 0 0 6px 8px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tl-axis { position: relative; }
.tl-axis span { position: absolute; right: 8px; transform: translateY(-50%); font-family: var(--font-mono); font-size: .7rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tl-lane { position: relative; border-left: 1px solid var(--line); }
.gl { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--line); }
.gl-h { border-top-style: solid; }
.tl-lunch { position: absolute; left: 0; right: 0; display: grid; place-items: center; font-size: .66rem; font-weight: 600; color: var(--ink-3); background: repeating-linear-gradient(45deg, var(--surface-2) 0 6px, var(--surface) 6px 12px); border-block: 1px solid var(--line); }
.blk { position: absolute; left: 4px; right: 4px; display: grid; align-content: start; border-radius: 7px; padding: 2px 7px; font-size: .74rem; line-height: 1.38; text-align: left; overflow: hidden; border: 1px solid transparent; }
.blk .l1, .blk .l2 { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk .l1 { font-weight: 700; }
.blk .l2 { opacity: .85; }
.blk .t { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.blk-tires { background: var(--c-tires-bg); color: var(--c-tires-ink); border-color: var(--c-tires-line); }
.blk-quick { background: var(--c-quick-bg); color: var(--c-quick-ink); border-color: var(--c-quick-line); }
.blk-job { background: var(--c-job-bg); color: var(--c-job-ink); border-color: var(--c-job-line); border-style: dashed; }
.blk[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); z-index: 1; }
.blk.is-new { border: 2px solid var(--signal-strong); }
.flash { animation: flash 1s ease-out 3; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 var(--signal); } 100% { box-shadow: 0 0 0 9px rgba(8, 127, 86, 0); } }

/* Drop-offs and detail */
.drops { display: grid; gap: 6px; }
.drops .sec-title { margin-bottom: 2px; }
.drop { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1px 10px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-align: left; }
.drop .t { grid-row: span 2; align-self: center; font-family: var(--font-mono); font-weight: 600; font-size: .8rem; font-variant-numeric: tabular-nums; }
.drop .s { font-weight: 700; font-size: .88rem; min-width: 0; }
.drop .c { font-size: .8rem; color: var(--ink-2); min-width: 0; }
.drop.is-new { border-color: var(--signal-strong); background: var(--signal-soft); }
.drop[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.detail { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface-2); display: grid; gap: 10px; font-size: .9rem; }
.detail h5 { margin: 0; font-size: 1rem; }
.detail dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 12px; }
.detail dt { color: var(--ink-2); }
.detail dd { margin: 0; overflow-wrap: anywhere; }
.detail p { margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; vertical-align: 1px; }
.pill-new { background: var(--signal); color: var(--on-signal); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-online { background: var(--c-tires-bg); color: var(--c-tires-ink); }
.pill-phone { background: var(--c-job-bg); color: var(--c-job-ink); }
.pill-plan { background: var(--signal-soft); color: var(--signal-text); }

/* Settings */
.settings { display: grid; gap: 16px; }
.set-lead { margin: 0; color: var(--ink-2); }
.set-lead b { color: var(--ink); }
.set-list { display: grid; gap: 6px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; }
label.set-row { cursor: pointer; }
.switch { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; margin: 0; border-radius: 12px; background: var(--line); position: relative; flex: none; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch:checked { background: var(--ok); }
.switch:checked::after { transform: translateX(18px); }
.stepper { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.stepper button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 1.1rem; line-height: 1; }
.stepper button:disabled { opacity: .4; }
.stepper output { min-width: 22px; text-align: center; font-family: var(--font-mono); font-weight: 600; }

/* Why */
.why { padding-block: 20px 44px; }
.why h2, .feedback h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 700; line-height: 1.05; margin: 0 0 20px; text-wrap: balance; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.why-grid article { border-top: 3px solid var(--signal); padding-top: 12px; }
.set-note { margin: 2px 2px 0; }
.why-grid h3 { margin: 0 0 6px; font-size: 1.08rem; line-height: 1.25; }
.why-grid p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Feedback */
.feedback { padding-block: 0 56px; }
.fb-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; }
.fb-intro h2 { margin-bottom: 12px; }
.fb-intro p:last-child { margin: 0; color: var(--ink-2); max-width: 44ch; }
.fb-form { display: grid; gap: 22px; }
.q { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.q legend, .q .legend-like { padding: 0; font-weight: 700; color: var(--ink); font-size: 1rem; }
.q legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; display: inline-flex; }
.chip-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip-opt span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: .92rem; }
.chip-opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.chips.interest { display: grid; }
.chips.interest .chip-opt { display: flex; }
.chips.interest .chip-opt span { display: block; width: 100%; border-radius: 12px; padding: 12px 14px; }
.chips.interest .chip-opt input:checked + span { background: var(--signal-soft); color: var(--ink); border-color: var(--signal-strong); }
.fb-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fb-done { display: grid; gap: 14px; align-content: start; }
.fb-done h3 { margin: 0; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.fb-done p { margin: 0; }
.msg-preview { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: .8rem; line-height: 1.5; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; max-height: 280px; overflow: auto; user-select: all; }
.sel { user-select: all; font-weight: 700; }

/* Footer and toast */
.foot { padding-block: 22px 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }
.foot p { margin: 0; max-width: 80ch; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50; width: max-content; max-width: min(calc(100vw - 32px), 480px); background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; font-size: .92rem; }
.toast.show { animation: toast-in .25s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* Responsive */
@media (max-width: 1060px) {
  .bench-grid { grid-template-columns: 350px minmax(0, 1fr); gap: 24px; }
  .desk-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 26px 20px; }
  .bench-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: var(--bg); padding-block: 8px; margin-bottom: 8px; }
  .bench-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .92rem; }
  .bench-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
  .bench-tabs button[aria-selected="true"] .step-no { background: var(--signal); color: var(--on-signal); }
  .bench-grid { grid-template-columns: minmax(0, 1fr); }
  .bench[data-view="client"] .panel-garage, .bench[data-view="garage"] .panel-client { display: none; }
  .panel-cap { display: none; }
  .phone { background: transparent; padding: 0; border-radius: 0; box-shadow: none; max-width: none; }
  .phone-screen { height: auto; overflow: visible; border-radius: 14px; border: 1px solid var(--line); }
  .status { display: none; }
  .scr { min-height: 0; }
  .fb-card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .fb-contact { grid-template-columns: minmax(0, 1fr); }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpi { display: flex; align-items: baseline; gap: 10px; }
  .kpi b { font-size: 1.5rem; flex: none; }
  .kpi span { margin-top: 0; }
  .desk-body { padding-inline: 12px; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .personalize { grid-template-columns: minmax(0, 1fr); }
  .brand { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
