/* Boxsy client UI — monochrome, big bold numerals, rounded white cards on light gray */
@font-face { font-family: 'Inter'; src: url('fonts/inter-cyrillic-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-cyrillic-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Tight'; src: url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: italic; src: url('fonts/inter-tight-cyrillic-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Tight'; font-style: italic; src: url('fonts/inter-tight-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Boxsy logo — the same as on the landing (boxsy.ru .logo): three red speed lines + italic 900 «boxsy».
   Markup: <span class="bx-logo"><span class="ln"><i></i><i></i><i></i></span>boxsy</span>; size = font-size; .w = white.
   Shared by every screen: do not restyle per page, set only font-size (and .w on dark). */
.bx-logo { display: inline-flex; align-items: center; font: italic 900 32px/1 'Inter Tight', 'Inter', system-ui, sans-serif; letter-spacing: -.05em; color: #111; white-space: nowrap; }
.bx-logo .ln { display: inline-flex; flex-direction: column; align-items: flex-end; gap: .11em; margin-right: .03em; transform: translateY(-.02em); }
.bx-logo .ln i { display: block; height: .13em; border-radius: .1em; background: #e3262b; }
.bx-logo .ln i:nth-child(1) { width: .5em; } .bx-logo .ln i:nth-child(2) { width: .72em; } .bx-logo .ln i:nth-child(3) { width: .36em; }
.bx-logo.w { color: #fff; }

:root {
  --bg: #ededed;
  --card: #ffffff;
  --ink: #111111;
  --ink-2: #5f5f5f;
  --ink-3: #9a9a9a;
  --line: #e2e2e2;
  --soft: #f4f4f4;
  --dark: #141414;
  --dark-2: #232323;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Inter Tight', 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.35; }
body { min-height: 100dvh; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }

.wrap { max-width: 480px; margin: 0 auto; padding: 12px 12px calc(190px + env(safe-area-inset-bottom)); }

/* header */
.top { display: flex; align-items: center; gap: 10px; padding: 6px 2px 12px; }
.circle { width: 40px; height: 40px; border-radius: 50%; background: var(--card); display: grid; place-items: center; flex: none; }
.top .t { flex: 1; min-width: 0; }
.top .name { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .addr { color: var(--ink-3); font-size: 13px; }

/* cards */
.card { background: var(--card); border-radius: var(--r-lg); padding: 16px; margin-bottom: 10px; }
.label { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; gap: 8px; }
.muted { color: var(--ink-3); }
.sub { color: var(--ink-2); font-size: 13.5px; }

/* ticket number badge: dashed = not at the point yet, filled = on site */
.code { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; line-height: 1; padding: 10px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.code.out { border: 2px dashed var(--ink); }
.code.in { background: var(--ink); color: #fff; border: 2px solid var(--ink); }
.code.sm { font-size: 15px; padding: 5px 9px; }

/* russian plate: number | region */
.plate { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 6px; font-weight: 700; font-size: 13px; line-height: 1; background: #fff; color: var(--ink); }
.plate b { padding: 4px 6px; letter-spacing: .02em; }
.plate i { font-style: normal; padding: 4px 5px; border-left: 1.5px solid var(--ink); font-size: 11.5px; }

.car-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.head-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.state { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.05; }
.big { font-family: var(--display); font-weight: 800; font-size: 54px; letter-spacing: -.035em; line-height: .95; }
.huge { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.03em; line-height: 1; margin: 14px 0 6px; }
.h-day { margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.time-row { display: flex; align-items: baseline; gap: 8px; }

/* 3-tile action row */
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.tile { background: var(--card); border-radius: var(--r-md); padding: 12px 6px; display: grid; justify-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.tile[disabled] { opacity: .4; pointer-events: none; }

/* boxes now at the point */
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.bx { background: var(--soft); border-radius: var(--r-sm); padding: 10px; min-height: 74px; }
.bx .n { font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: .05em; }
.bx .c { display: inline-block; margin: 6px 0 4px; background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 8px; border-radius: 999px; }
.bx .m { font-size: 12px; color: var(--ink-2); }
.bx.free .m { color: var(--ink); font-weight: 600; }
.next-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }

/* box chooser when called */
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.pick div { background: var(--soft); border-radius: var(--r-md); text-align: center; padding: 12px 4px; }
.pick b { display: block; font-family: var(--display); font-size: 24px; font-weight: 800; }
.pick span { font-size: 12px; color: var(--ink-3); }
.pick .me { background: var(--ink); color: #fff; }
.pick .me span { color: #cfcfcf; }

/* progress ring */
.ring-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.ring { width: 76px; height: 76px; position: relative; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .v { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: .9; }
.ring .v small { display: block; font: 600 11px var(--font); color: var(--ink-3); }

.switch-mode { display: block; margin: 16px auto 0; background: none; border: 0; padding: 8px 6px; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.push-row { display: flex; gap: 12px; align-items: flex-start; }
.push-row > svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.push-row b { font-size: 16px; }
.note.push-on { margin: 0 0 10px; }
.note > svg { flex: none; width: 18px; height: 18px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border-radius: var(--r-sm); padding: 10px 12px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }

/* path of the car */
.path { margin-top: 10px; }
.step { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; position: relative; padding-bottom: 14px; }
.step:not(:last-child)::before { content: ''; position: absolute; left: 16px; top: 34px; bottom: 0; border-left: 2px solid var(--ink); }
.step.todo:not(:last-child)::before { border-left: 2px dotted var(--ink-3); }
.dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.step.now .dot { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.step.todo .dot { background: #fff; color: var(--ink-3); border: 1.5px solid var(--line); }
.step .st { font-weight: 700; }
.step.todo .st { color: var(--ink-3); font-weight: 600; }
.step .ss { font-size: 12.5px; color: var(--ink-3); }
.step .tm { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.step.todo .tm { color: var(--ink-3); font-weight: 500; }

/* receipt */
.rows .r { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rows .r:last-child { border-bottom: 0; }
.rows .tot { font-family: var(--display); font-weight: 800; font-size: 22px; }

/* stars */
.stars { display: flex; justify-content: center; gap: 10px; margin: 12px 0; }
.stars button svg { width: 34px; height: 34px; }
.stars button.on svg { fill: var(--ink); }

/* buttons */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 18px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; }
.btn.white { background: #fff; color: var(--ink); }
.btn.black { background: var(--ink); color: #fff; }
.btn.line { border: 1.5px solid var(--ink); background: #fff; }
.btn.sm { padding: 9px 14px; font-size: 13.5px; width: auto; }
.btn[disabled] { opacity: .5; }

/* sticky dark bottom panel */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; }
.dock .in { max-width: 480px; margin: 0 auto; background: var(--dark); color: #fff; border-radius: 28px 28px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 10px; font-weight: 700; font-size: 12.5px; }
.dock .meta { color: #a9a9a9; font-size: 12.5px; margin-left: 8px; }
.dock .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin: 10px 0 12px; }
.dock .bigt { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; line-height: 1; }
.dock .bigt small { font: 500 13px var(--font); color: #a9a9a9; margin-left: 6px; letter-spacing: 0; }
.dock .right { text-align: right; font-size: 12.5px; color: #a9a9a9; }
.dock .right b { display: block; color: #fff; font-size: 14px; }

/* bottom sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--bg); width: 100%; max-width: 480px; max-height: 88dvh; overflow: auto; border-radius: 26px 26px 0 0; padding: 16px 12px calc(16px + env(safe-area-inset-bottom)); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; }
.day { flex: none; width: 58px; padding: 8px 0; border-radius: 999px; background: #fff; text-align: center; }
.day small { display: block; font-size: 11px; color: var(--ink-3); }
.day b { font-family: var(--display); font-size: 20px; font-weight: 800; }
.day.on { background: var(--ink); color: #fff; }
.day.on small { color: #bbb; }
.day[disabled] { opacity: .35; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { background: #fff; border-radius: 999px; padding: 10px 0; font-weight: 600; text-align: center; }
.slot.on { background: var(--ink); color: #fff; }
.slot[disabled] { text-decoration: line-through; color: var(--ink-3); background: transparent; border: 1px solid var(--line); }
.part { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; margin: 12px 4px 8px; }

.toast { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; z-index: 30; }
.center { text-align: center; }
.mt { margin-top: 12px; }
.err { padding: 40px 16px; text-align: center; color: var(--ink-2); }

/* ---------- point page ---------- */
.hero { padding: 18px 16px; }
.hero .nm { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -.025em; line-height: 1.05; }
.hero .ad { color: var(--ink-2); margin-top: 4px; }
.open { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 600; }
.open::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.open.closed { color: var(--ink-3); }
.open.closed::before { background: transparent; border: 1.5px solid var(--ink-3); }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.links a, .links button { background: var(--soft); border-radius: var(--r-md); padding: 10px 4px; display: grid; justify-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.kv { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; }
.kv .v { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.pills div { border-radius: 999px; padding: 9px 0; text-align: center; font-weight: 700; background: var(--ink); color: #fff; }
.pills div.free { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.stack { display: grid; gap: 8px; }

/* ---------- booking wizard ---------- */
.wz-top { display: flex; align-items: center; gap: 10px; padding: 6px 2px 10px; }
.wz-top .t { flex: 1; min-width: 0; }
.wz-top .s { font-weight: 700; font-size: 14.5px; }
.wz-top .p { color: var(--ink-3); font-size: 12.5px; }
.bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 0 2px 14px; }
.bar i { height: 4px; border-radius: 4px; background: #d6d6d6; }
.bar i.on { background: var(--ink); }
.q { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.025em; line-height: 1.05; margin: 2px 4px 4px; }
.qs { color: var(--ink-2); margin: 0 4px 14px; font-size: 14px; }
.opts { display: grid; gap: 8px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt { background: #fff; border-radius: var(--r-md); padding: 14px; text-align: left; display: flex; align-items: center; gap: 12px; border: 2px solid transparent; width: 100%; }
.opt .ot { flex: 1; min-width: 0; }
.opt .on1 { font-weight: 700; font-size: 15.5px; }
.opt .os { color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.opt .pr { font-weight: 700; white-space: nowrap; text-align: right; }
.opt .pr small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12px; }
.opt.sel { border-color: var(--ink); }
.opt[disabled] { opacity: .45; }
.opt .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; flex: none; }
.opt.sel .ic { background: var(--ink); color: #fff; }
.tick { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #cfcfcf; display: grid; place-items: center; flex: none; color: transparent; }
.opt.sel .tick { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile-v { flex-direction: column; align-items: flex-start; min-height: 104px; justify-content: space-between; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip-r { background: #fff; border-radius: 999px; padding: 12px 0; text-align: center; font-weight: 700; font-size: 16px; border: 2px solid transparent; }
.chip-r.sel { background: var(--ink); color: #fff; }
.hint { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: var(--r-md); padding: 12px 14px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.hint b { font-family: var(--display); font-size: 15px; color: var(--ink); white-space: nowrap; }
.field { display: block; background: #fff; border-radius: var(--r-md); padding: 10px 14px 12px; margin-bottom: 8px; }
.field span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.field input { width: 100%; border: 0; outline: 0; font: 600 18px var(--font); padding: 6px 0 0; background: transparent; color: var(--ink); }
.field input::placeholder { color: #c4c4c4; font-weight: 500; }
.field.bad { box-shadow: inset 0 0 0 2px var(--ink); }
.field .why { font-size: 12px; color: var(--ink-3); margin-top: 4px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--r-md); padding: 12px 14px; font-size: 13px; color: var(--ink-2); text-align: left; width: 100%; }
.consent.sel .tick { background: var(--ink); border-color: var(--ink); color: #fff; }
.summary { background: #fff; border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 8px; font-size: 13.5px; }
.summary .sr { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.summary .sr span { color: var(--ink-3); }
.dock .row.compact { margin: 0 0 12px; align-items: center; }
.dock .btn[disabled] { opacity: .35; }
.dock .btn, .dock .bigt { white-space: nowrap; }


/* ================= client: point page, booking wizard, ticket (<html class="cl">) =================
   «Как презентации Apple»: one idea per screen, big Inter Tight headlines over a short grey line, a calm #f5f5f7 canvas
   with white cards, large radii, hairlines instead of borders. Black / white / greys; the logo red #e3262b only as an
   accent (live «сейчас» dots, the current step, progress). Every class here is .c-* under .cl, so the staff screens
   (master, owner, TV) that share app.css keep their look. Phone first; ≥1024 px gets two columns. */
.cl {
  --c-bg: #f5f5f7; --c-card: #fff; --c-ink: #111; --c-ink2: #6e6e73; --c-ink3: #8e8e93; --c-mute: #b4b4b9;
  --c-fill: #f0f0f2; --c-fill2: #e8e8ed; --c-line: rgba(0, 0, 0, .08); --c-red: #e3262b; --c-dark: #161617;
  --c-r-xl: 28px; --c-r-lg: 22px; --c-r-md: 16px; --c-r-sm: 12px;
  --c-ease: cubic-bezier(.2, .8, .2, 1); --c-t: .28s;
  --c-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 28px rgba(0, 0, 0, .05); --c-shadow-s: 0 1px 2px rgba(0, 0, 0, .05), 0 2px 8px rgba(0, 0, 0, .035);
  --c-font: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --c-display: 'Inter Tight', 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* fields.css on the client pages */
  --bxf-line: #d2d2d7; --bxf-mute: #6e6e73; --bxf-key: #ececf0;
  background: var(--c-bg);
}
.cl body { margin: 0; min-height: 100dvh; background: var(--c-bg); color: var(--c-ink); font: 400 16px/1.4 var(--c-font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
.cl svg { flex: none; }
.cl button { font: inherit; color: inherit; }
.cl a { color: inherit; }
.cl :focus { outline: none; }
.cl :focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; }
.cl .bxf input:focus-visible { outline: none; } /* the field box draws its own focus ring */
.cl .c-consent:has(input:focus-visible) { box-shadow: var(--c-shadow), inset 0 0 0 2px var(--c-ink); }
.cl .c-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar: logo (+ point name) on every screen ---------- */
.cl .c-bar { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top);
  background: rgba(245, 245, 247, .82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--c-line); }
.cl .c-bar-in { max-width: 1100px; margin: 0 auto; height: 56px; padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  display: flex; align-items: center; gap: 12px; }
.cl .c-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; text-decoration: none; color: var(--c-ink); }
.cl .c-brand .bx-logo { font-size: 23px; }
.cl .c-brand-pt { min-width: 0; padding-left: 10px; border-left: 1px solid #d2d2d7; font: 600 14px/1.2 var(--c-font); color: var(--c-ink2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 599px) {
  .cl .c-brand-pt { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13px; line-height: 1.15; overflow-wrap: anywhere; }
}
.cl .c-bar-r { display: flex; align-items: center; gap: 8px; flex: none; font: 600 13px/1 var(--c-font); color: var(--c-ink2); }
.cl .c-ibtn { width: 44px; height: 44px; margin: 0 -4px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center;
  color: var(--c-ink); cursor: pointer; text-decoration: none; flex: none; transition: background var(--c-t) var(--c-ease), transform .15s; }
.cl .c-ibtn svg { width: 22px; height: 22px; }
.cl .c-ibtn:active { transform: scale(.92); }
@media (hover: hover) { .cl .c-ibtn:hover { background: rgba(0, 0, 0, .05); } }
.cl .c-ibtn.solid { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); margin: 0; }
.cl .c-ibtn.solid svg { width: 18px; height: 18px; }

/* wizard progress under the bar: done = black, current = red, ahead = grey */
.cl .c-prog { max-width: 1100px; margin: 0 auto; padding: 0 16px 10px; display: flex; gap: 5px; }
.cl .c-prog i { position: relative; flex: 1; height: 4px; border-radius: 4px; background: #d9d9de; overflow: hidden; }
.cl .c-prog i.done { background: var(--c-ink); }
.cl .c-prog i.now::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--c-red); transform-origin: left;
  animation: c-grow .5s var(--c-ease) both; }
@keyframes c-grow { from { transform: scaleX(0); } }
.cl .c-stepno { font: 600 13px/1 var(--c-font); color: var(--c-ink2); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- page, type, cards ---------- */
.cl .c-page { max-width: 1100px; margin: 0 auto; padding: 20px max(16px, env(safe-area-inset-left)) calc(var(--dock-h, 0px) + 32px + env(safe-area-inset-bottom)); overflow-x: clip; }
.cl .c-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--c-font); color: var(--c-ink2); margin: 0 0 10px; }
.cl .c-h1 { font: 800 32px/1.06 var(--c-display); letter-spacing: -.035em; margin: 0 0 10px; color: var(--c-ink); text-wrap: balance; }
.cl .c-h1:focus { outline: none; }
.cl .c-h2 { font: 800 22px/1.1 var(--c-display); letter-spacing: -.025em; margin: 0; }
.cl .c-lead { font-size: 17px; line-height: 1.42; color: var(--c-ink2); margin: 0 0 24px; text-wrap: pretty; }
.cl .c-cap { font: 600 13px/1.2 var(--c-font); color: var(--c-ink2); margin: 0; }
.cl .c-card { background: var(--c-card); border-radius: var(--c-r-lg); padding: 20px; box-shadow: var(--c-shadow); }
.cl .c-card + .c-card { margin-top: 12px; }
.cl .c-muted { color: var(--c-ink2); }
.cl .c-num { font-variant-numeric: tabular-nums; }

/* live «сейчас» dot: the red accent, pulsing */
.cl .c-live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--c-red); flex: none; display: inline-block; }
.cl .c-live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--c-red); opacity: 0; animation: c-pulse 1.8s var(--c-ease) infinite; }
@keyframes c-pulse { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.cl .c-off-dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--c-ink3); flex: none; display: inline-block; }

/* buttons */
.cl .c-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 700 16px/1.1 var(--c-font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s var(--c-ease), background var(--c-t), opacity var(--c-t), box-shadow var(--c-t); }
.cl .c-btn svg { width: 18px; height: 18px; }
.cl .c-btn:active { transform: scale(.97); }
.cl .c-btn.black { background: var(--c-ink); color: #fff; }
.cl .c-btn.white { background: #fff; color: var(--c-ink); }
.cl .c-btn.ghost { background: var(--c-fill); color: var(--c-ink); }
.cl .c-btn.line { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1.5px #c7c7cc; }
.cl .c-btn.wide { width: 100%; }
.cl .c-btn.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.cl .c-btn.off { opacity: .45; }
.cl .c-btn[disabled] { opacity: .45; cursor: default; }
.cl .c-btn.static { cursor: default; }
.cl .c-btn.static:active { transform: none; }
@media (hover: hover) { .cl .c-btn.black:hover { background: #000; } .cl .c-btn.ghost:hover { background: var(--c-fill2); } .cl .c-btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--c-ink); } }
.cl .c-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: 600 15px/1.2 var(--c-font); color: var(--c-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: #c7c7cc; }
.cl .c-link:hover { text-decoration-color: var(--c-ink); }
.cl .c-link svg { width: 18px; height: 18px; }

/* toast (ui.js toast()): a dark pill at the bottom, just above the dock and its button — never over the question or the name */
.cl .toast { position: fixed; left: 50%; top: auto; bottom: calc(var(--dock-h, 0px) + 14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60;
  max-width: min(calc(100vw - 32px), 440px); width: max-content; padding: 12px 18px; border-radius: 16px; background: rgba(22, 22, 23, .96); color: #fff;
  font: 600 15px/1.35 var(--c-font); text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); animation: c-toast .3s var(--c-ease) both; }
@keyframes c-toast { from { opacity: 0; transform: translate(-50%, 8px) scale(.97); } }
/* the wizard says what «Дальше» needs right above the button, in the dock; the next change clears it */
.cl .c-hint { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 0; font: 600 14.5px/1.35 var(--c-font); color: #fff; }
.cl .c-hint[hidden] { display: none; }
.cl .c-hint::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--c-red); }
.cl .c-hint.c-pop-in { animation: c-fade .25s var(--c-ease) both; }
.cl .c-btn.shake { animation: bxf-shake .38s cubic-bezier(.36, .07, .19, .97); }

/* ---------- entering a step: slides in from the side we are going to ---------- */
.cl .c-step.in-f { animation: c-in-f .34s var(--c-ease) both; }
.cl .c-step.in-b { animation: c-in-b .34s var(--c-ease) both; }
@keyframes c-in-f { from { opacity: 0; transform: translateX(28px); } }
@keyframes c-in-b { from { opacity: 0; transform: translateX(-28px); } }
.cl .c-fade { animation: c-fade .3s var(--c-ease) both; }
.cl .c-rise .c-pt-hero, .cl .c-rise .c-pt-go, .cl .c-rise .c-pt-live, .cl .c-rise .c-pt-how { animation: c-fade .5s var(--c-ease) both; }
.cl .c-rise .c-pt-go { animation-delay: .08s; } .cl .c-rise .c-pt-live { animation-delay: .16s; } .cl .c-rise .c-pt-how { animation-delay: .24s; }
@keyframes c-fade { from { opacity: 0; transform: translateY(6px); } }

/* ---------- choice tiles (car, mode, service): tactile, a check pops in ---------- */
.cl .c-tile { position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: left; width: 100%; min-height: 44px;
  background: #fff; color: var(--c-ink); border: 0; border-radius: var(--c-r-lg); padding: 16px; cursor: pointer; box-shadow: var(--c-shadow), inset 0 0 0 2px transparent;
  transition: transform .2s var(--c-ease), box-shadow var(--c-t) var(--c-ease), background var(--c-t); -webkit-user-select: none; user-select: none; }
.cl .c-tile:active { transform: scale(.97); }
@media (hover: hover) { .cl .c-tile:hover { box-shadow: var(--c-shadow), inset 0 0 0 2px #d2d2d7; } }
.cl .c-tile.on { box-shadow: 0 10px 30px rgba(0, 0, 0, .08), inset 0 0 0 2px var(--c-ink); }
.cl .c-tile.dim { background: #fafafa; }
.cl .c-tile.dim .c-t-title, .cl .c-tile.dim .c-t-art { color: var(--c-ink3); }
.cl .c-check { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.8px #d2d2d7; color: transparent; background: transparent; transition: background var(--c-t), box-shadow var(--c-t), transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.cl .c-check svg { width: 15px; height: 15px; }
.cl .c-tile.on .c-check, .cl .c-svc.on .c-check { background: var(--c-ink); box-shadow: none; color: #fff; animation: c-pop .34s cubic-bezier(.3, 1.6, .5, 1); }
.cl .c-check.only { opacity: 0; transform: scale(.4); }
.cl .c-tile.on .c-check.only { opacity: 1; transform: none; }
@keyframes c-pop { 0% { transform: scale(.5); } 100% { transform: scale(1); } }

.cl .c-s-n, .cl .c-s-m, .cl .c-m-title, .cl .c-m-big, .cl .c-mode .c-t-sub, .cl .c-g-t, .cl .c-g-s, .cl .c-t-title, .cl .c-t-sub { display: block; }
.cl .c-go-t .c-g-a { display: block; } .cl .c-go-t .c-g-a svg { width: 100%; height: 100%; }

/* step 1: car silhouettes, 2×2 */
.cl .c-cars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cl .c-car { padding: 14px 14px 16px; min-height: 168px; }
.cl .c-car .c-t-art { display: block; width: 100%; max-width: 190px; margin: 4px auto 10px; color: var(--c-ink); transition: transform .35s var(--c-ease); }
.cl .c-car .c-t-art svg { display: block; width: 100%; height: auto; }
.cl .c-car.on .c-t-art { transform: translateX(4px); }
.cl .c-t-title { font: 700 17px/1.2 var(--c-font); letter-spacing: -.01em; }
.cl .c-t-sub { font-size: 13.5px; line-height: 1.35; color: var(--c-ink2); margin-top: 4px; }
.cl .c-switch { display: flex; justify-content: center; margin-top: 20px; }

/* step 2: tyre sidewall + radius grid */
.cl .c-tyre-card { background: #fff; border-radius: var(--c-r-lg); box-shadow: var(--c-shadow); padding: 12px 16px 16px; margin-bottom: 16px; overflow: hidden; }
.cl .c-tyre-card svg.tyre { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; color: var(--c-ink); }
.cl .c-tyre-card p { margin: 6px 0 0; text-align: center; font-size: 14.5px; line-height: 1.4; color: var(--c-ink2); }
.cl .c-tyre-card p b { color: var(--c-ink); font-weight: 700; }
.cl .c-radii { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cl .c-r { min-height: 60px; border: 0; border-radius: var(--c-r-md); background: #fff; box-shadow: var(--c-shadow); cursor: pointer;
  font: 800 21px/1 var(--c-display); letter-spacing: -.02em; color: var(--c-ink); font-variant-numeric: tabular-nums;
  transition: transform .2s var(--c-ease), background var(--c-t), color var(--c-t); }
.cl .c-r small { font: 700 .62em/1 var(--c-display); vertical-align: .15em; margin-right: 1px; color: inherit; opacity: .55; }
.cl .c-r:active { transform: scale(.94); }
.cl .c-r.on { background: var(--c-ink); color: #fff; animation: c-pop .3s cubic-bezier(.3, 1.6, .5, 1); }
@media (hover: hover) { .cl .c-r:not(.on):hover { box-shadow: var(--c-shadow), inset 0 0 0 2px #d2d2d7; } }

/* step 3: services */
.cl .c-svcs { display: grid; gap: 10px; }
.cl .c-svc { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 14px 16px; text-align: left; border: 0; cursor: pointer;
  background: #fff; color: var(--c-ink); border-radius: var(--c-r-lg); box-shadow: var(--c-shadow), inset 0 0 0 2px transparent;
  transition: transform .2s var(--c-ease), box-shadow var(--c-t) var(--c-ease); -webkit-user-select: none; user-select: none; }
.cl .c-svc:active { transform: scale(.98); }
@media (hover: hover) { .cl .c-svc:hover { box-shadow: var(--c-shadow), inset 0 0 0 2px #d2d2d7; } }
.cl .c-svc.on { box-shadow: 0 10px 30px rgba(0, 0, 0, .07), inset 0 0 0 2px var(--c-ink); }
.cl .c-svc .c-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--c-fill); display: grid; place-items: center; flex: none; transition: background var(--c-t), color var(--c-t); }
.cl .c-svc .c-ic svg { width: 26px; height: 26px; }
.cl .c-svc.on .c-ic { background: var(--c-ink); color: #fff; }
.cl .c-svc .c-s-t { flex: 1; min-width: 0; }
.cl .c-svc .c-s-n { font: 600 16px/1.25 var(--c-font); overflow-wrap: break-word; hyphens: auto; }
.cl .c-svc .c-s-m { font-size: 13.5px; color: var(--c-ink2); margin-top: 3px; }
.cl .c-svc .c-s-p { font: 700 16px/1.2 var(--c-font); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl .c-svc .c-s-pm { display: none; font-weight: 700; color: var(--c-ink); }
.cl .c-svc .c-check { position: static; flex: none; }
.cl .c-svc.sm { min-height: 64px; padding: 10px 14px; }
.cl .c-svc.sm .c-ic { width: 40px; height: 40px; border-radius: 12px; }
.cl .c-svc.sm .c-ic svg { width: 22px; height: 22px; }
.cl .c-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 4px 12px; }
.cl .c-sec h3 { margin: 0; font: 700 19px/1.2 var(--c-display); letter-spacing: -.02em; }
.cl .c-sec span { font-size: 14px; color: var(--c-ink2); }

/* step 4: «сейчас» / «на время», two big tiles */
.cl .c-when { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cl .c-mode { min-height: 220px; padding: 20px 18px; justify-content: flex-start; gap: 18px; }
.cl .c-mode .c-m-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--c-fill); display: grid; place-items: center; transition: background var(--c-t), color var(--c-t); }
.cl .c-mode .c-m-ic svg { width: 28px; height: 28px; }
.cl .c-mode.on .c-m-ic { background: var(--c-ink); color: #fff; }
.cl .c-mode .c-m-now { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--c-font); color: var(--c-ink); letter-spacing: .02em; }
.cl .c-mode .c-m-title { font: 800 26px/1.05 var(--c-display); letter-spacing: -.03em; margin-top: 10px; }
.cl .c-mode .c-m-big { font: 800 20px/1.1 var(--c-display); letter-spacing: -.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.cl .c-mode .c-t-sub { margin-top: 6px; }

/* step 5: day strip + time grid */
.cl .c-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 16px; margin: 0 -16px 4px; padding: 6px 16px 14px; scrollbar-width: none; }
.cl .c-days::-webkit-scrollbar { display: none; }
.cl .c-day { flex: none; width: 68px; min-height: 84px; scroll-snap-align: start; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--c-shadow-s);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; cursor: pointer; color: var(--c-ink);
  transition: transform .2s var(--c-ease), background var(--c-t), color var(--c-t); }
.cl .c-day:active { transform: scale(.95); }
.cl .c-day .wd { font: 600 12px/1 var(--c-font); color: var(--c-ink2); }
.cl .c-day .dm { font: 800 24px/1 var(--c-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cl .c-day .mo { font: 500 11.5px/1 var(--c-font); color: var(--c-ink2); }
.cl .c-day.on { background: var(--c-ink); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.cl .c-day.on .wd, .cl .c-day.on .mo { color: #c7c7cc; }
.cl .c-day.shut, .cl .c-day.full { background: transparent; box-shadow: inset 0 0 0 1.5px #dcdce0; }
.cl .c-day.shut .dm, .cl .c-day.full .dm { color: var(--c-mute); }
.cl .c-day.full .dm { text-decoration: line-through; text-decoration-thickness: 2px; }
.cl .c-dayline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 8px 4px 4px; }
.cl .c-dayline b { font: 700 19px/1.2 var(--c-display); letter-spacing: -.02em; }
.cl .c-dayline span { font-size: 14px; color: var(--c-ink2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl .c-tgroup { margin-top: 18px; }
.cl .c-tg-h { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; font: 700 15px/1.2 var(--c-font); }
.cl .c-tg-h svg { width: 20px; height: 20px; }
.cl .c-tg-h span { margin-left: auto; font: 500 13px/1 var(--c-font); color: var(--c-ink2); }
.cl .c-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cl .c-time { min-height: 48px; border: 0; border-radius: 14px; background: #fff; box-shadow: var(--c-shadow-s); cursor: pointer; color: var(--c-ink);
  font: 600 16px/1 var(--c-font); font-variant-numeric: tabular-nums; transition: transform .2s var(--c-ease), background var(--c-t), color var(--c-t); }
.cl .c-time:active { transform: scale(.94); }
.cl .c-time.on { background: var(--c-ink); color: #fff; animation: c-pop .3s cubic-bezier(.3, 1.6, .5, 1); }
.cl .c-time.cur { box-shadow: inset 0 0 0 2px var(--c-red); }
.cl .c-time.busy { background: transparent; box-shadow: inset 0 0 0 1.5px #e3e3e8; color: var(--c-mute); text-decoration: line-through; cursor: default; }
@media (hover: hover) { .cl .c-time:not(.on):not(.busy):hover { box-shadow: var(--c-shadow), inset 0 0 0 2px #d2d2d7; } }

/* empty states: a soft round picture, one line, what to do */
.cl .c-empty { background: #fff; border-radius: var(--c-r-lg); box-shadow: var(--c-shadow); padding: 28px 20px; text-align: center; margin-top: 12px; }
.cl .c-empty .c-e-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--c-fill); display: grid; place-items: center; }
.cl .c-empty .c-e-ic svg { width: 30px; height: 30px; }
.cl .c-empty h3 { margin: 0 0 6px; font: 800 21px/1.15 var(--c-display); letter-spacing: -.02em; }
.cl .c-empty p { margin: 0 auto; max-width: 34ch; color: var(--c-ink2); font-size: 15px; line-height: 1.45; }
.cl .c-empty .c-e-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }

/* step 6: contacts */
.cl .c-form { max-width: 520px; }
.cl .c-form .bxf-cap { font-size: 14px; color: var(--c-ink); }
.cl .c-form .bxf-cap em { color: var(--c-ink2); }
.cl .bxf-name .bxf-box { padding-left: 18px; padding-right: 18px; }
.cl .bxf-name .bxf-box input { font: 600 19px/1 var(--c-font); letter-spacing: 0; }
.cl .bxf-name .bxf-box::after { display: none; }
.cl .c-recap { background: #fff; border-radius: var(--c-r-lg); box-shadow: var(--c-shadow); padding: 6px 16px; margin: 6px 0 14px; }
.cl .c-recap div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 15px; }
.cl .c-recap div + div { border-top: 1px solid var(--c-line); }
.cl .c-recap span { color: var(--c-ink2); flex: none; }
.cl .c-recap b { font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.cl .c-consent { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; padding: 16px; border: 0; cursor: pointer;
  background: #fff; border-radius: var(--c-r-lg); box-shadow: var(--c-shadow), inset 0 0 0 2px transparent; font-size: 14.5px; line-height: 1.45; color: var(--c-ink2);
  transition: box-shadow var(--c-t); }
.cl .c-consent .c-box { width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 2px #c7c7cc; display: grid; place-items: center; flex: none; color: transparent;
  transition: background var(--c-t), box-shadow var(--c-t); }
.cl .c-consent .c-box svg { width: 16px; height: 16px; }
.cl .c-consent.on .c-box { background: var(--c-ink); box-shadow: none; color: #fff; animation: c-pop .3s cubic-bezier(.3, 1.6, .5, 1); }
.cl .c-consent a { color: var(--c-ink); font-weight: 600; text-underline-offset: 3px; }
.cl .c-consent.bad { box-shadow: var(--c-shadow), inset 0 0 0 2px var(--c-red); }
.cl .c-consent.shake { animation: bxf-shake .38s cubic-bezier(.36, .07, .19, .97); }
.cl .c-consent-more { margin: 6px 0 0 4px; }
.cl .c-consent-more .c-link { font-size: 14.5px; color: var(--c-ink); }

/* ---------- the dock: dark sheet at the bottom on a phone, sticky summary card on a computer ---------- */
.cl .c-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; pointer-events: none; }
.cl .c-dock:empty { display: none; }
.cl .c-dock-in { pointer-events: auto; max-width: 640px; margin: 0 auto; background: var(--c-dark); color: #fff; border-radius: 26px 26px 0 0;
  padding: 14px max(20px, env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .14); }
.cl .c-dock-line { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13.5px; color: #a1a1a6; }
.cl .c-dock-line > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl .c-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff;
  font: 700 12.5px/1.1 var(--c-font); white-space: nowrap; }
.cl .c-chip svg { width: 13px; height: 13px; }
.cl .c-chip .c-live-dot { width: 7px; height: 7px; }
.cl .c-dock-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.cl .c-total { min-width: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cl .c-total b { font: 800 30px/1 var(--c-display); letter-spacing: -.035em; white-space: nowrap; }
.cl .c-total b [data-countdown] { font-variant-numeric: tabular-nums; }
.cl .c-total small { font: 500 14px/1 var(--c-font); color: #a1a1a6; white-space: nowrap; }
.cl .c-total-no { font-size: 14px; line-height: 1.35; color: #a1a1a6; max-width: 210px; }
@media (max-width: 1023px) and (max-height: 700px) { .cl .c-wz .c-dock-line { display: none; } .cl .c-wz .c-dock-row { margin-top: 0; } }
.cl .c-dock .c-btn { flex: none; }
.cl .c-dock .c-btn.white.off { opacity: .4; }
.cl .c-dock-note { display: none; }
.cl .c-sum-h, .cl .c-sum-rows { display: none; }
.cl .c-dock .c-right { text-align: right; font-size: 13px; color: #a1a1a6; line-height: 1.35; flex: none; }
.cl .c-dock .c-right b { display: block; color: #fff; font-size: 15px; }
.cl .c-dock .c-btn.wide { margin-top: 14px; }
.cl .c-dock .c-btn.static { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }

/* ---------- point page ---------- */
.cl .c-pt { display: grid; gap: 14px; }
.cl .c-pt-l, .cl .c-pt-r { display: contents; }
.cl .c-pt-hero { order: 1; padding: 8px 4px 4px; }
.cl .c-pt-go { order: 2; }
.cl .c-pt-live { order: 3; }
.cl .c-pt-how { order: 4; }
.cl .c-open { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 11px; border-radius: 999px; background: #fff; box-shadow: var(--c-shadow);
  font: 600 14px/1.1 var(--c-font); margin-bottom: 16px; }
.cl .c-open.closed { color: var(--c-ink2); }
.cl .c-pt-hero .c-h1 { font-size: 36px; }
.cl .c-pt-hero .c-h1.long { font-size: 28px; }
.cl .c-pt-hero .c-lead { margin-bottom: 20px; }
.cl .c-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 420px; }
.cl .c-quick a, .cl .c-quick button { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 76px; padding: 12px 4px 10px; border: 0; border-radius: 18px;
  background: #fff; box-shadow: var(--c-shadow); color: var(--c-ink); text-decoration: none; cursor: pointer; font: 600 13.5px/1.1 var(--c-font);
  transition: transform .2s var(--c-ease), box-shadow var(--c-t); }
.cl .c-quick a:active, .cl .c-quick button:active { transform: scale(.95); }
.cl .c-quick svg { width: 24px; height: 24px; }
@media (hover: hover) { .cl .c-quick a:hover, .cl .c-quick button:hover { box-shadow: var(--c-shadow), inset 0 0 0 2px #d2d2d7; } }

.cl .c-go { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cl .c-go-t { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 96px; padding: 18px;
  border: 0; border-radius: var(--c-r-lg); text-align: left; cursor: pointer; background: #fff; color: var(--c-ink); box-shadow: var(--c-shadow);
  transition: transform .2s var(--c-ease), box-shadow var(--c-t), background var(--c-t); }
.cl .c-go-t:active { transform: scale(.98); }
.cl .c-go-t .c-g-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--c-fill); display: grid; place-items: center; flex: none; }
.cl .c-go-t .c-g-x { flex: 1; min-width: 0; }
.cl .c-go-t .c-g-ic svg { width: 28px; height: 28px; }
.cl .c-go-t .c-g-t { font: 800 21px/1.1 var(--c-display); letter-spacing: -.025em; }
.cl .c-go-t .c-g-s { font-size: 14.5px; line-height: 1.35; color: var(--c-ink2); margin-top: 4px; }
.cl .c-go-t .c-g-a { width: 24px; height: 24px; flex: none; transition: transform .25s var(--c-ease); }
@media (hover: hover) { .cl .c-go-t:hover .c-g-a { transform: translateX(3px); } .cl .c-go-t:not(.prime):hover { box-shadow: var(--c-shadow), inset 0 0 0 2px #d2d2d7; } }
.cl .c-go-t.prime { background: var(--c-ink); color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); }
.cl .c-go-t.prime .c-g-ic { background: rgba(255, 255, 255, .12); }
.cl .c-go-t.prime .c-g-s { color: #c7c7cc; }
.cl .c-go-t .c-g-now { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font: 700 12.5px/1 var(--c-font); letter-spacing: .02em; color: #fff; }
.cl .c-go-t:not(.prime) .c-g-now { color: var(--c-ink); }
.cl .c-go-t.dim .c-g-t { color: var(--c-ink2); }

.cl .c-live { padding: 22px 20px 20px; }
.cl .c-live-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cl .c-live-h .c-cap { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink); font-size: 15px; font-weight: 700; }
.cl .c-live-h small { font-size: 13px; color: var(--c-ink2); }
.cl .c-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 18px; }
.cl .c-stat b { display: block; font: 800 40px/1 var(--c-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl .c-stat span { display: block; font-size: 14px; color: var(--c-ink2); margin-top: 6px; }
.cl .c-stat.long b { font-size: 30px; letter-spacing: -.035em; }
.cl .c-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; }
.cl .c-boxt { border-radius: 14px; padding: 10px 12px 11px; background: var(--c-ink); color: #fff; min-height: 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.cl .c-boxt small { font: 600 12px/1 var(--c-font); color: #a1a1a6; }
.cl .c-boxt b { font: 700 15px/1.1 var(--c-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl .c-boxt.free { background: var(--c-fill); color: var(--c-ink); }
.cl .c-boxt.free small { color: var(--c-ink2); }
.cl .c-boxt.me { background: var(--c-ink); color: #fff; box-shadow: inset 0 0 0 2px var(--c-red); }
.cl .c-boxt .c-tcode { font: 800 15px/1 var(--c-display); letter-spacing: -.01em; }

.cl .c-how { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; counter-reset: how; }
.cl .c-how li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border-radius: var(--c-r-md); box-shadow: var(--c-shadow); }
.cl .c-how li > i { width: 44px; height: 44px; border-radius: 13px; background: var(--c-fill); display: grid; place-items: center; flex: none; }
.cl .c-how li > i svg { width: 24px; height: 24px; }
.cl .c-how b { display: block; font: 600 15.5px/1.25 var(--c-font); }
.cl .c-how span { display: block; font-size: 13.5px; color: var(--c-ink2); margin-top: 2px; }
.cl .c-how-h { margin: 18px 4px 12px; font: 800 22px/1.1 var(--c-display); letter-spacing: -.025em; }
.cl .c-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; margin: 32px 0 0; font-size: 13px; color: var(--c-ink2); text-align: center; }
.cl .c-foot .bx-logo { font-size: 16px; }

/* loading / not found: the logo at the top, the message under it */
.cl .c-boot { min-height: 60dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.cl .c-boot .bx-logo { font-size: 34px; }
.cl .c-boot .c-e-ic { width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: var(--c-shadow); display: grid; place-items: center; }
.cl .c-boot .c-e-ic svg { width: 32px; height: 32px; }
.cl .c-boot .c-h2 { font-size: 26px; }
.cl .c-boot p { margin: 0; max-width: 32ch; font-size: 16px; color: var(--c-ink2); }
.cl .c-boot .c-spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #d9d9de; border-top-color: var(--c-red); animation: c-spin .8s linear infinite; }
@keyframes c-spin { to { transform: rotate(360deg); } }

/* ---------- ticket ---------- */
.cl .c-tk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.cl .c-tk-l, .cl .c-tk-r { display: contents; }
.cl .c-tk .c-card + .c-card { margin-top: 0; }
.cl .o1 { order: 1; } .cl .o2 { order: 2; } .cl .o3 { order: 3; } .cl .o4 { order: 4; } .cl .o5 { order: 5; } .cl .o6 { order: 6; } .cl .o7 { order: 7; } .cl .o8 { order: 8; } .cl .o9 { order: 9; }
.cl .c-hero { padding: 22px 20px 20px; }
.cl .c-tk-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.cl .c-code { display: inline-flex; align-items: center; font: 800 24px/1 var(--c-display); letter-spacing: -.03em; padding: 8px 12px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.cl .c-code.out { border: 2px dashed var(--c-ink); padding: 6px 10px; }
.cl .c-code.in { background: var(--c-ink); color: #fff; }
.cl .c-code.sm { font-size: 14px; padding: 4px 7px; border-radius: 7px; border-width: 1.5px; }
.cl .c-code.sm.out { padding: 3px 6px; }
.cl .c-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--c-fill); font: 600 13.5px/1.1 var(--c-font); color: var(--c-ink); }
.cl .c-tag svg { width: 15px; height: 15px; }
.cl .c-tag.live { color: var(--c-ink); background: #fdecec; }
.cl .c-hero .c-h1 { margin-bottom: 6px; }
.cl .c-hero .c-h1.xl { font-size: 44px; letter-spacing: -.045em; }
.cl .c-hero .c-lead { margin: 0; font-size: 16px; }
.cl .c-bigtime { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 14px 0 2px; }
.cl .c-bigtime b { font: 800 64px/.95 var(--c-display); letter-spacing: -.045em; }
.cl .c-bigtime span { font-size: 16px; color: var(--c-ink2); }
.cl .c-bigtime.late b { color: var(--c-mute); text-decoration: line-through; text-decoration-thickness: 4px; }
.cl .c-bigtime.late span { color: var(--c-ink); font-weight: 600; }
.cl .c-carline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; font-size: 14.5px; color: var(--c-ink2); }
.cl .plate { display: inline-flex; border: 1.6px solid var(--c-ink); border-radius: 6px; background: #fff; color: var(--c-ink); font: 700 14px/1 var(--c-display); letter-spacing: .03em; }
.cl .plate b { padding: 4px 7px; font-weight: 700; }
.cl .plate i { font-style: normal; padding: 4px 6px; border-left: 1.6px solid var(--c-ink); font-size: 12px; }
.cl .c-nextstep { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: var(--c-r-md); background: var(--c-fill); font-size: 15px; line-height: 1.45; }
.cl .c-nextstep > svg { width: 22px; height: 22px; margin-top: 1px; }
.cl .c-nextstep b { font-weight: 700; }
.cl .c-nextstep a { color: var(--c-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.cl .c-cd { font-variant-numeric: tabular-nums; }

/* waiting / called: the place, the boxes */
.cl .c-place { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.cl .c-place b { display: block; font: 800 44px/1 var(--c-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.cl .c-place span { display: block; font-size: 14px; color: var(--c-ink2); margin-top: 6px; }
.cl .c-place > div:last-child { text-align: right; }
.cl .c-sub-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.cl .c-sub-h h2 { margin: 0; font: 700 17px/1.2 var(--c-display); letter-spacing: -.015em; }
.cl .c-sub-h span { font-size: 13.5px; color: var(--c-ink2); }
.cl .c-order { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 14px; font-size: 14px; color: var(--c-ink2); }
.cl .c-order b { color: var(--c-ink); }
.cl .c-order .c-code.ot { color: var(--c-ink2); border-color: #b4b4b9; }
.cl .c-gobox { font: 800 48px/.98 var(--c-display); letter-spacing: -.05em; margin: 0 0 6px; }
.cl .c-gobox em { font-style: normal; color: var(--c-red); }
.cl .c-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; margin-top: 18px; }
.cl .c-pick div { border-radius: 16px; background: var(--c-fill); padding: 14px 6px 12px; text-align: center; }
.cl .c-pick b { display: block; font: 800 30px/1 var(--c-display); letter-spacing: -.03em; }
.cl .c-pick span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--c-ink2); }
.cl .c-pick .me { background: var(--c-ink); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--c-red); }
.cl .c-pick .me span { color: #fff; font-weight: 600; }
.cl .c-where { margin-top: 14px; text-align: center; font-size: 14px; color: var(--c-ink2); }
.cl .c-late { margin-top: 16px; padding: 14px 16px; border-radius: var(--c-r-md); background: #fdecec; font-size: 15px; line-height: 1.4; }
.cl .c-late b { display: block; font: 800 19px/1.2 var(--c-display); letter-spacing: -.02em; color: var(--c-red); margin-bottom: 2px; }

/* in the box: ring with the red progress arc */
.cl .c-ringrow { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.cl .c-ring { position: relative; width: 112px; height: 112px; flex: none; }
.cl .c-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cl .c-ring circle { transition: stroke-dashoffset .8s var(--c-ease); }
.cl .c-ring .v { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cl .c-ring .v b { font: 800 34px/1 var(--c-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cl .c-ring .v b.sm { font-size: 22px; letter-spacing: -.02em; }
.cl .c-ring .v small { font-size: 12.5px; color: var(--c-ink2); margin-top: 3px; }
.cl .c-ring .tip { transition: cx .8s var(--c-ease), cy .8s var(--c-ease); }
.cl .c-ringrow .c-h2 { font-size: 26px; }
.cl .c-ringrow p { margin: 6px 0 0; font-size: 15px; color: var(--c-ink2); }

/* receipt */
.cl .c-rows { margin-top: 16px; }
.cl .c-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--c-line); font-size: 15.5px; }
.cl .c-rows div b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl .c-rows .tot span { font-weight: 600; }
.cl .c-rows .tot b { font: 800 30px/1 var(--c-display); letter-spacing: -.035em; }
.cl .c-paynote { font-size: 13.5px; color: var(--c-ink2); margin-top: 4px; }

/* action tiles under the hero */
.cl .c-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cl .c-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 84px; padding: 12px 4px; border: 0; border-radius: 18px;
  background: #fff; box-shadow: var(--c-shadow); color: var(--c-ink); cursor: pointer; font: 600 14px/1.15 var(--c-font); text-align: center; text-decoration: none;
  transition: transform .2s var(--c-ease), box-shadow var(--c-t); }
.cl .c-act:active { transform: scale(.95); }
.cl .c-act svg { width: 24px; height: 24px; }
@media (hover: hover) { .cl .c-act:hover { box-shadow: var(--c-shadow), inset 0 0 0 2px #d2d2d7; } }
.cl .c-quiet { display: flex; justify-content: center; }
.cl .c-placec-t { display: flex; align-items: flex-start; gap: 14px; }
.cl .c-placec-t > i { width: 44px; height: 44px; border-radius: 13px; background: var(--c-fill); display: grid; place-items: center; flex: none; }
.cl .c-placec-t > i svg { width: 22px; height: 22px; }
.cl .c-placec-t b { display: block; font: 700 16px/1.25 var(--c-font); }
.cl .c-placec-t span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.4; color: var(--c-ink2); }
.cl .c-placec-b { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 16px; }
.cl .c-dock-say { display: flex; align-items: center; gap: 10px; margin: 14px 2px 0; font-size: 14.5px; line-height: 1.4; color: #c7c7cc; }

/* car's path: a vertical line; done = black, the client's move now = red ring */
.cl .c-path { list-style: none; margin: 4px 0 0; padding: 0; }
.cl .c-path li { position: relative; display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; padding-bottom: 18px; }
.cl .c-path li:last-child { padding-bottom: 0; }
.cl .c-path li:not(:last-child)::before { content: ''; position: absolute; left: 15.25px; top: 36px; bottom: 4px; width: 1.5px; background: #d9d9de; }
.cl .c-path li.ok:not(:last-child)::before { background: var(--c-ink); }
.cl .c-path .d { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ink); color: #fff; }
.cl .c-path .d svg { width: 16px; height: 16px; }
.cl .c-path li.now .d { background: #fff; color: var(--c-red); box-shadow: inset 0 0 0 2px var(--c-red), 0 0 0 4px #fdecec; }
.cl .c-path li.todo .d { background: #fff; color: var(--c-ink3); box-shadow: inset 0 0 0 1.5px #d2d2d7; }
.cl .c-path .st { font: 600 16px/1.25 var(--c-font); padding-top: 5px; }
.cl .c-path li.todo .st { color: var(--c-ink2); font-weight: 500; }
.cl .c-path .ss { font-size: 13.5px; color: var(--c-ink2); margin-top: 3px; }
.cl .c-path .tm { font: 600 14px/1.2 var(--c-font); color: var(--c-ink); padding-top: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl .c-path li.todo .tm { color: var(--c-ink2); font-weight: 500; }

/* prepay */
.cl .c-prepay .c-h2 { margin: 8px 0 6px; }
.cl .c-prepay p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--c-ink2); }
.cl .c-prepay .c-btn { margin-top: 16px; }
.cl .c-paid { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.cl .c-paid svg { width: 22px; height: 22px; }

/* push prompt: looks like the notification it turns on */
.cl .c-push { display: flex; gap: 14px; align-items: flex-start; }
.cl .c-push .c-app { width: 44px; height: 44px; border-radius: 12px; background: var(--c-ink); color: #fff; display: grid; place-items: center; flex: none; }
.cl .c-push .c-app svg { width: 22px; height: 22px; }
.cl .c-push b { display: block; font: 700 16px/1.25 var(--c-font); }
.cl .c-push p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--c-ink2); }
.cl .c-push-c .c-btn { margin-top: 16px; }
.cl .c-note { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--c-r-md); background: #fff; box-shadow: var(--c-shadow); font-size: 14.5px; line-height: 1.4; color: var(--c-ink2); }
.cl .c-note > svg { width: 20px; height: 20px; color: var(--c-ink); }
.cl .c-row { display: flex; align-items: center; gap: 12px; }
.cl .c-row > svg { width: 22px; height: 22px; }
.cl .c-row > b { flex: 1; min-width: 0; font: 600 15.5px/1.3 var(--c-font); }
.cl .c-row .c-btn { flex: none; }

/* rating */
.cl .c-rate { text-align: center; padding: 26px 20px 22px; }
.cl .c-rate p { margin: 6px 0 0; color: var(--c-ink2); font-size: 15px; }
.cl .c-stars { display: flex; justify-content: center; gap: 4px; margin: 16px 0 4px; }
.cl .c-stars button { flex: 0 1 52px; min-width: 44px; height: 52px; padding: 0; border: 0; background: none; cursor: pointer; color: #d2d2d7; display: grid; place-items: center; border-radius: 50%;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), color .2s; }
.cl .c-stars button svg { width: min(38px, 100%); height: 38px; }
.cl .c-stars button.on { color: var(--c-ink); transform: scale(1.08); }
.cl .c-stars button:active { transform: scale(.9); }
@media (hover: hover) { .cl .c-stars:hover button:not(:hover ~ button) { color: var(--c-ink); } }
.cl .c-rate .c-btn { margin-top: 14px; }

/* ---------- sheets (reschedule, cancel): bottom sheet on a phone, a centred dialog on a computer ---------- */
.cl .c-sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .4); display: flex; align-items: flex-end; justify-content: center;
  animation: c-bg .25s ease both; }
@keyframes c-bg { from { background: rgba(0, 0, 0, 0); } }
.cl .c-sheet { width: 100%; max-width: 640px; max-height: 92dvh; overflow: auto; overscroll-behavior: contain; background: var(--c-bg); border-radius: 28px 28px 0 0;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); animation: c-up .34s var(--c-ease) both; }
@keyframes c-up { from { transform: translateY(40px); opacity: 0; } }
.cl .c-sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: #c7c7cc; margin: 0 auto 14px; }
.cl .c-sheet .c-h1 { font-size: 28px; }
.cl .c-sheet .c-lead { margin-bottom: 16px; font-size: 16px; }
.cl .c-sheet-acts { display: grid; gap: 8px; margin-top: 20px; position: sticky; bottom: calc(-18px - env(safe-area-inset-bottom)); padding: 12px 0 calc(6px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--c-bg) 80%, rgba(245, 245, 247, 0)); }

@media (min-width: 360px) {
  .cl .c-go { gap: 12px; }
}
@media (max-width: 359px) {
  .cl .c-h1 { font-size: 28px; }
  .cl .c-pt-hero .c-h1 { font-size: 30px; }
  .cl .c-pt-hero .c-h1.long { font-size: 24px; }
  .cl .c-live-h small { display: none; }
  .cl .c-go-t { padding: 16px 14px; gap: 12px; }
  .cl .c-go-t .c-g-ic { width: 44px; height: 44px; border-radius: 14px; }
  .cl .c-go-t .c-g-t { font-size: 19px; }
  .cl .c-quick a, .cl .c-quick button { font-size: 12.5px; }
  .cl .c-when { grid-template-columns: 1fr; }
  .cl .c-mode { min-height: 0; }
  .cl .c-car { min-height: 150px; padding: 12px 12px 14px; }
  .cl .c-t-title { font-size: 15.5px; }
  .cl .c-t-sub { font-size: 12.5px; }
  .cl .c-times { grid-template-columns: repeat(3, 1fr); }
  .cl .c-stat b { font-size: 34px; }
  .cl .c-bigtime b { font-size: 54px; }
  .cl .c-gobox { font-size: 40px; }
  .cl .c-total b { font-size: 26px; }
  .cl .c-dock .c-btn { padding: 0 18px; }
  .cl .c-brand-pt { display: none; }
  .cl .c-svc { gap: 12px; padding: 12px 14px; }
  .cl .c-svc .c-s-p { display: none; }
  .cl .c-svc .c-s-pm { display: inline; }
  .cl .c-sec span { display: none; }
  .cl .c-acts { gap: 8px; }
  .cl .c-act { font-size: 13px; }
}

/* ---------- tablet ---------- */
@media (min-width: 600px) {
  .cl .c-page { padding-top: 32px; }
  .cl .c-h1 { font-size: 40px; }
  .cl .c-radii { grid-template-columns: repeat(6, 1fr); }
  .cl .c-times { grid-template-columns: repeat(5, 1fr); }
  .cl .c-car { min-height: 196px; padding: 18px 18px 20px; }
  .cl .c-wz-main, .cl .c-pt, .cl .c-tk { max-width: 640px; margin: 0 auto; }
  .cl .c-go { grid-template-columns: 1fr 1fr; }
  .cl .c-go-t { display: grid; grid-template-columns: 1fr 24px; grid-template-areas: 'ic a' 'x x'; align-content: space-between; min-height: 200px; align-items: start; padding: 20px; gap: 22px 8px; }
  .cl .c-go-t .c-g-ic { grid-area: ic; }
  .cl .c-go-t .c-g-a { grid-area: a; }
  .cl .c-go-t .c-g-x { grid-area: x; }
  .cl .c-sheet { padding-left: 24px; padding-right: 24px; }
}

/* ---------- computer: two columns, a sticky summary on the right ---------- */
@media (min-width: 1024px) {
  .cl .c-bar-in { height: 64px; padding: 0 32px; }
  .cl .c-brand .bx-logo { font-size: 26px; }
  .cl .c-brand-pt { font-size: 15px; }
  .cl .c-prog { padding: 0 32px 12px; }
  .cl .c-page { padding: 48px 32px 64px; }
  .cl .c-h1 { font-size: 48px; letter-spacing: -.04em; }
  .cl .c-lead { font-size: 19px; margin-bottom: 32px; }
  .cl .c-wz { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
  .cl .c-wz-main { max-width: none; margin: 0; }
  .cl .c-cars { gap: 16px; }
  .cl .c-car { min-height: 220px; padding: 22px 22px 24px; }
  .cl .c-car .c-t-art { max-width: 230px; margin-bottom: 16px; }
  .cl .c-t-title { font-size: 19px; }
  .cl .c-svcs { gap: 12px; }
  .cl .c-when { gap: 16px; }
  .cl .c-mode { min-height: 260px; padding: 26px 24px; }
  .cl .c-mode .c-m-title { font-size: 32px; }
  .cl .c-days { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; margin: 0 0 8px; padding: 4px 0 12px; }
  .cl .c-days.many { display: flex; overflow-x: auto; margin: 0 -8px 8px; padding: 4px 8px 12px; }
  .cl .c-day { width: auto; min-width: 72px; min-height: 92px; }
  .cl .c-times { grid-template-columns: repeat(6, 1fr); }
  .cl .c-recap { display: none; }
  .cl .c-tyre-card { padding: 16px 24px 20px; }

  /* the dock becomes the summary card */
  .cl .c-dock { position: sticky; top: 96px; left: auto; right: auto; bottom: auto; z-index: 1; pointer-events: auto; }
  .cl .c-dock-in { max-width: none; background: #fff; color: var(--c-ink); border-radius: var(--c-r-xl); padding: 26px; box-shadow: var(--c-shadow); }
  .cl .c-sum-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 800 22px/1.1 var(--c-display); letter-spacing: -.025em; margin-bottom: 8px; }
  .cl .c-sum-rows { display: block; margin: 0 0 6px; }
  .cl .c-sum-rows > div { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
  .cl .c-sum-rows dt { grid-row: span 2; width: 36px; height: 36px; border-radius: 11px; background: var(--c-fill); display: grid; place-items: center; color: var(--c-ink); }
  .cl .c-sum-rows dt svg { width: 20px; height: 20px; }
  .cl .c-sum-rows dd { margin: 0; min-width: 0; }
  .cl .c-sum-rows .k { font-size: 12.5px; color: var(--c-ink2); }
  .cl .c-sum-rows .v { font: 600 15px/1.3 var(--c-font); overflow-wrap: anywhere; }
  .cl .c-sum-rows .v.no { color: var(--c-mute); font-weight: 500; }
  .cl .c-sum-rows > div.cur dt { box-shadow: inset 0 0 0 2px var(--c-red); background: #fff; }
  .cl .c-dock-line { display: none; }
  .cl .c-dock-row { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 18px; }
  .cl .c-total small { color: var(--c-ink2); }
  .cl .c-dock .c-btn.white { background: var(--c-ink); color: #fff; width: 100%; min-height: 56px; }
  .cl .c-dock .c-btn.white.off { opacity: .35; }
  .cl .c-dock-note { display: block; margin: 14px 0 0; font-size: 13px; line-height: 1.4; color: var(--c-ink2); text-align: center; }

  /* point page */
  .cl .c-pt { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 56px; align-items: start; }
  .cl .c-pt-l, .cl .c-pt-r { display: grid; gap: 16px; align-content: start; }
  .cl .c-pt-l { padding-top: 24px; }
  .cl .c-pt-hero .c-h1 { font-size: 64px; letter-spacing: -.05em; line-height: 1; }
  .cl .c-pt-hero .c-h1.long { font-size: 46px; letter-spacing: -.04em; line-height: 1.04; }
  .cl .c-pt-hero .c-lead { font-size: 20px; }
  .cl .c-quick { gap: 12px; }
  .cl .c-how-h { margin-top: 36px; }
  .cl .c-how { gap: 12px; }
  .cl .c-live { padding: 26px 26px 24px; }
  .cl .c-stat b { font-size: 48px; }
  .cl .c-foot { grid-column: 1 / -1; }

  /* ticket */
  .cl .c-tk { max-width: none; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px 40px; align-items: start; }
  .cl .c-tk-l, .cl .c-tk-r { display: grid; gap: 16px; align-content: start; }
  .cl .c-tk-r { position: sticky; top: 96px; }
  .cl .c-hero { padding: 32px 32px 30px; }
  .cl .c-hero .c-h1 { font-size: 44px; }
  .cl .c-hero .c-h1.xl { font-size: 60px; }
  .cl .c-bigtime b { font-size: 88px; }
  .cl .c-gobox { font-size: 64px; }
  .cl .c-tk .c-card { padding: 24px 26px; }
  .cl .c-tk .c-hero { padding: 32px; }
  .cl .c-tk .c-dock { position: static; }
  .cl .c-tk .c-dock-in { padding: 24px; }
  .cl .c-tk .c-dock-line { display: flex; color: var(--c-ink2); }
  .cl .c-tk .c-chip { background: var(--c-fill); color: var(--c-ink); }
  .cl .c-tk .c-dock-row { flex-direction: row; align-items: flex-end; }
  .cl .c-tk .c-dock .c-right b { color: var(--c-ink); }
  .cl .c-tk .c-dock .c-right { color: var(--c-ink2); }
  .cl .c-tk .c-dock .c-btn.white { margin-top: 18px; }
  .cl .c-tk .c-dock .c-btn.static { background: var(--c-fill); color: var(--c-ink); }
  .cl .c-tk .c-dock-say { color: var(--c-ink2); margin-top: 18px; }
  .cl .c-hint { color: var(--c-ink); margin-top: 16px; }

  .cl .c-sheet-bg { align-items: center; padding: 32px; }
  .cl .c-sheet { border-radius: var(--c-r-xl); max-height: 86dvh; padding: 28px 32px; animation-name: c-zoom; }
  .cl .c-sheet .grab { display: none; }
  .cl .c-sheet-acts { bottom: -28px; padding: 16px 0 4px; display: flex; flex-wrap: wrap; }
  .cl .c-sheet-acts .c-btn { flex: 1 1 auto; width: auto; }
  .cl .c-tk.solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
  .cl .c-tk.solo .c-tk-r { display: none; }
  @keyframes c-zoom { from { transform: scale(.96); opacity: 0; } }
}
@media (min-width: 1200px) {
  .cl .c-how { grid-template-columns: repeat(3, 1fr); }
  .cl .c-how li { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
}
@media (min-width: 1440px) {
  .cl .c-bar-in, .cl .c-prog, .cl .c-page { max-width: 1180px; }
}

@media (prefers-reduced-motion: reduce) {
  .cl *, .cl *::before, .cl *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .cl .c-live-dot::after { display: none; }
}

/* point page: the point's Boxsy subscription is paused — no online booking, only the phone (point.js pausedCard) */
.cl .c-paused { display: flex; flex-direction: column; gap: 6px; padding: 22px; }
.cl .c-paused b { font: 700 20px/1.25 'Inter Tight', 'Inter', sans-serif; letter-spacing: -.01em; }
.cl .c-paused span { color: var(--c-ink2); font-size: 15px; line-height: 1.45; }
.cl .c-paused .c-btn { margin-top: 10px; align-self: flex-start; }
/* the cancel sheet: a cancellation less than 2 h before counts toward prepay (Р2) */
.cl .c-cap.c-warn { color: var(--c-ink); background: var(--c-soft, #f2f2f4); border-radius: 12px; padding: 10px 12px; font-weight: 500; line-height: 1.4; }

/* ---------- ticket (У4): no repeats — the dock is only the main action: one status line and the button ---------- */
.cl .c-dk-line { display: flex; align-items: center; gap: 10px; margin: 0 2px; font: 600 15px/1.35 var(--c-font); color: #fff; }
.cl .c-dk-line > svg { width: 18px; height: 18px; flex: none; color: #a1a1a6; }
.cl .c-dk-line > span:last-child { min-width: 0; }
.cl .c-dk .c-btn.wide { margin-top: 12px; }
.cl .c-dock .c-btn.quiet { background: rgba(255, 255, 255, .12); color: #fff; }
@media (hover: hover) { .cl .c-dock .c-btn.quiet:hover { background: rgba(255, 255, 255, .2); } }
/* «Путь машины»: the current step and the next one; «Весь путь» opens the rest */
.cl .c-pathc:not(.whole) .c-path li.far { display: none; }
.cl .c-pathc:not(.whole) .c-path li.lastv { padding-bottom: 0; }
.cl .c-pathc:not(.whole) .c-path li.lastv::before { display: none; }
.cl .c-path-tg { min-height: 44px; margin: -12px -4px; font-size: 14.5px; }
.cl .c-pathc.bare:not(.whole) .c-sub-h { margin-bottom: 0; }
.cl .c-pathc.bare:not(.whole) .c-path { display: none; }
/* no button (e.g. «Я уже у ворот» — с 13:00): the line alone, quieter */
.cl .c-dk.say .c-dk-line { font-weight: 500; color: #c7c7cc; }
/* «День закончился»: the call button off the plate line */
.cl .c-hero .c-carline + .c-btn { margin-top: 20px; }
/* 320 px: the path times wrap instead of running past the card; the queue numbers stay on one line */
@media (max-width: 360px) {
  .cl .c-path .tm { white-space: normal; text-align: right; max-width: 6.5em; }
  .cl .c-place b { font-size: 36px; }
}
@media (min-width: 1024px) {
  .cl .c-tk .c-dk { padding: 22px 24px 24px; }
  .cl .c-tk .c-dk-line { color: var(--c-ink); }
  .cl .c-tk .c-dk-line > svg { color: var(--c-ink2); }
  .cl .c-tk .c-dk.say .c-dk-line { color: var(--c-ink2); }
  .cl .c-tk .c-dk .c-btn.wide { margin-top: 16px; }
  .cl .c-tk .c-dock .c-btn.quiet { background: var(--c-fill); color: var(--c-ink); min-height: 52px; }
  .cl .c-tk .c-dock .c-btn.quiet:hover { background: var(--c-fill2); }
}

/* ---------- У1 (client, point.js): the car and the radius on one screen ---------- */
/* compact car tiles so the radii fit under them on a phone; the «где написан радиус» picture folds behind «?» */
.cl .c-carstep .c-car { min-height: 0; padding: 12px 12px 14px; }
.cl .c-carstep .c-car .c-t-art { max-width: 128px; margin: 0 auto 6px; }
.cl .c-carstep .c-t-title { font-size: 16px; }
.cl .c-carstep .c-t-sub { font-size: 12.5px; margin-top: 2px; }
.cl .c-carstep .c-check { top: 10px; right: 10px; width: 24px; height: 24px; }
.cl .c-r-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 4px 10px; }
.cl .c-r-h h2 { margin: 0; font: 700 19px/1.2 var(--c-display); letter-spacing: -.02em; }
.cl .c-qbtn { width: 44px; height: 44px; margin: -8px -10px -8px 0; padding: 0; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--c-ink); }
.cl .c-qbtn span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--c-shadow-s), inset 0 0 0 1.5px #d2d2d7;
  font: 700 15px/1 var(--c-font); transition: background var(--c-t), color var(--c-t), box-shadow var(--c-t); }
.cl .c-qbtn[aria-expanded="true"] span { background: var(--c-ink); color: #fff; box-shadow: none; }
@media (hover: hover) { .cl .c-qbtn:hover span { box-shadow: var(--c-shadow-s), inset 0 0 0 1.5px var(--c-ink); } }
.cl .c-carstep .c-tyre-card { margin-bottom: 12px; animation: c-fade .25s var(--c-ease) both; }
.cl .c-carstep .c-tyre-card[hidden] { display: none; }
.cl .c-carstep .c-radii { gap: 8px; scroll-margin: 90px 0 calc(var(--dock-h, 0px) + 16px); }
.cl .c-carstep .c-r { min-height: 52px; font-size: 19px; }
@media (min-width: 360px) { .cl .c-carstep .c-radii { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 600px) {
  .cl .c-carstep .c-cars { grid-template-columns: repeat(4, 1fr); }
  .cl .c-carstep .c-car { padding: 14px 14px 16px; }
  .cl .c-carstep .c-car .c-t-art { max-width: 140px; margin: 6px auto 10px; }
}
@media (min-width: 1024px) {
  .cl .c-carstep .c-cars { gap: 12px; }
  .cl .c-carstep .c-car { padding: 18px 16px 18px; }
  .cl .c-carstep .c-car .c-t-art { max-width: 150px; }
  .cl .c-carstep .c-t-title { font-size: 17px; }
  .cl .c-carstep .c-t-sub { font-size: 13px; }
  .cl .c-r-h { margin-top: 32px; }
  .cl .c-r-h h2 { font-size: 22px; }
  .cl .c-carstep .c-radii { gap: 10px; }
  .cl .c-carstep .c-r { min-height: 58px; font-size: 21px; }
}
/* У6: a booking-only point's card shows the boxes only (no queue to wait in) */
.cl .c-live-h + .c-boxes { margin-top: 16px; }

/* ---------- round 2, client (point.js, ticket.js) ---------- */
/* Q4: no wait estimate (boxes held by cars left from yesterday) — words, not a big number */
.cl .c-stat.c-noest b, .cl .c-place b.c-noest { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; white-space: normal; }
@media (min-width: 1024px) { .cl .c-stat.c-noest b { font-size: 26px; } }
/* P1-5: today's break under the hours in the day row of the time picker */
.cl .c-dayline > span { text-align: right; }
.cl .c-dayline .c-dl-brk { display: block; font-style: normal; font-size: 13px; margin-top: 2px; }
/* P1-6: the paid prepay taken off in the receipt */
.cl .c-rows .pre span, .cl .c-rows .pre b { color: var(--c-ink2); }
/* P1-7: a step of the car's path passed by (the time came first): quiet, never the red ring */
.cl .c-path li.skip .d { background: var(--c-fill); color: var(--c-ink3); }
.cl .c-path li.skip .st { color: var(--c-ink2); font-weight: 500; }

/* ================= Д1/Д2: the client ticket like the landing's phone (ticket.js, .tk-*) =================
   The landing's phone (styles.css .ph-h .pc .pl .tkt .path .ph-bot) × ~1.3 on a real phone: compact white cards, a small
   grey caps caption, the code badge next to a short status and one grey line; big only the time and the timers. */
/* header: «←» + the point's name and address in two lines + a small logo + a round «поделиться» */
.cl .tk-bar { box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }
.cl .tk-bar-in { max-width: 640px; margin: 0 auto; min-height: 62px; padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
  display: flex; align-items: center; gap: 10px; }
.cl .tk-rnd { width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--c-ink); display: grid; place-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1); cursor: pointer; text-decoration: none; transition: transform .15s var(--c-ease), box-shadow var(--c-t); }
.cl .tk-rnd svg { width: 18px; height: 18px; }
.cl .tk-rnd:active { transform: scale(.92); }
@media (hover: hover) { .cl .tk-rnd:hover { box-shadow: 0 1px 3px rgba(0, 0, 0, .1), inset 0 0 0 1.5px #d2d2d7; } }
.cl .tk-pt { flex: 1; min-width: 0; }
.cl .tk-pt b { display: block; font: 700 16px/1.2 var(--c-font); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl .tk-pt span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.2; color: var(--c-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl .tk-by { flex: none; display: flex; align-items: center; }
.cl .tk-by .bx-logo { font-size: 15px; }
.cl .tk-by.solo { flex: 1; justify-content: center; }
.cl .tk-by.solo .bx-logo { font-size: 20px; }

/* page and cards: 12 px gutters, 20 px radii, 10 px between cards */
.cl .tk-page { padding: 6px max(12px, env(safe-area-inset-left)) calc(var(--dock-h, 0px) + 20px + env(safe-area-inset-bottom)); }
.cl .tk-page .c-tk { gap: 10px; }
.cl .c-tk .c-card { border-radius: 20px; padding: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }

/* the caption: «ВАШ ТАЛОН · ЗАПИСЬ НА ВРЕМЯ» … «11:00» (.pl) */
.cl .tk-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cl .tk-cap > span { min-width: 0; font: 700 11.5px/1.25 var(--c-font); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink2); }
.cl .tk-cap > b { flex: none; font: 700 13px/1 var(--c-font); color: var(--c-ink); font-variant-numeric: tabular-nums; }

/* the code badge (.tkt) next to a short status and one grey line */
.cl .tk-head { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.cl .tk-head:first-child { margin-top: 0; }
.cl .tk-hd { min-width: 0; }
.cl .tk-code { display: inline-flex; align-items: center; flex: none; font: 800 30px/1 var(--c-display); letter-spacing: -.03em; padding: 6px 10px; border-radius: 11px;
  border: 2px dashed var(--c-ink); background: #fff; color: var(--c-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl .tk-code.in { background: var(--c-ink); color: #fff; border-style: solid; }
.cl .tk-code.due { border: 2px solid var(--c-red); box-shadow: 0 0 0 3px #fdecec; }
.cl .tk-code.xs { font-size: 13px; padding: 3px 6px; border-width: 1.5px; border-radius: 6px; }
.cl .tk-code.xs.ot { color: var(--c-ink2); border-color: #b4b4b9; }
.cl .tk-st { margin: 0; font: 800 22px/1.1 var(--c-display); letter-spacing: -.025em; color: var(--c-ink); text-wrap: balance; }
.cl .tk-sub { margin: 3px 0 0; font-size: 13.5px; line-height: 1.3; color: var(--c-ink2); }
.cl .tk-hd > .tk-sub:first-child { margin: 0; font-size: 14px; }

/* the booked time: the only big thing (.big) */
.cl .tk-day { margin-top: 16px; font-size: 14px; color: var(--c-ink2); }
.cl .tk-time { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.cl .tk-time b { font: 800 46px/1 var(--c-display); letter-spacing: -.045em; }
.cl .tk-time span { font-size: 14px; color: var(--c-ink2); }
.cl .tk-time.late { margin-top: 14px; }
.cl .tk-time.late b { color: var(--c-mute); text-decoration: line-through; text-decoration-thickness: 3px; }
.cl .tk-note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--c-ink2); text-wrap: pretty; }
.cl .tk-plate { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 13px; background: #f3f3f5; font-size: 13.5px; line-height: 1.4; color: #48484c; }
.cl .tk-plate > svg { width: 18px; height: 18px; margin-top: 1px; color: var(--c-ink); }
.cl .tk-plate b { color: var(--c-ink); font-weight: 600; }
.cl .tk-plate a { color: var(--c-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
/* what is done for how much + the plate and the car: one small block under the main thing */
.cl .tk-det { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-line); display: grid; gap: 8px; }
.cl .tk-svc { font-size: 14px; line-height: 1.35; color: var(--c-ink2); }
.cl .tk-car { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; color: var(--c-ink2); }
.cl .tk-car .plate { font-size: 13px; }
.cl .tk-car .plate b { padding: 3px 6px; }
.cl .tk-car .plate i { padding: 3px 5px; font-size: 11px; }
.cl .tk-btn { margin-top: 16px; }
.cl .tk-btns { display: grid; gap: 8px; margin-top: 16px; }

/* «Сейчас на точке»: small box tiles with codes (.mini3), «дальше A-14 · A-16 вы» */
.cl .tk-now { margin-top: 16px; }
.cl .tk-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; margin-top: 9px; }
.cl .tk-boxes > div { min-width: 0; padding: 9px 10px 9px; border-radius: 12px; background: #f3f3f5; }
.cl .tk-boxes small { display: block; font: 700 10.5px/1.2 var(--c-font); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink2); }
.cl .tk-boxes b { display: inline-block; margin: 7px 0 5px; padding: 3px 6px; border-radius: 5px; background: var(--c-ink); color: #fff; font: 800 14px/1 var(--c-display); letter-spacing: -.01em; }
.cl .tk-boxes b.w { display: block; padding: 0; background: none; color: var(--c-ink); font: 700 14px/1.2 var(--c-font); letter-spacing: 0; margin: 8px 0 1px; }
.cl .tk-boxes .free b.w { color: var(--c-ink2); font-weight: 600; }
.cl .tk-boxes span { display: block; font-size: 12px; line-height: 1.3; color: var(--c-ink2); }
.cl .tk-order { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 7px; margin-top: 11px; font-size: 13px; color: var(--c-ink2); }
.cl .tk-order b { color: var(--c-ink); }

/* «Позвали»: «Заезжайте в бокс 2» in a red frame, «ждём вас ещё 4:11», the box tiles (.bxs) */
.cl .tk-go { margin: 14px 0 0; padding: 8px 12px 10px; border: 2px solid var(--c-red); border-radius: 14px; font: 800 42px/.98 var(--c-display); letter-spacing: -.05em; color: var(--c-ink); }
.cl .tk-wait { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; }
.cl .tk-wait span { font-size: 14px; color: var(--c-ink2); }
.cl .tk-wait b { font: 800 36px/1 var(--c-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cl .tk-wait.late { display: block; padding: 10px 12px; border-radius: 13px; background: #fdecec; }
.cl .tk-wait.late b { display: block; font: 800 19px/1.2 var(--c-display); letter-spacing: -.02em; color: var(--c-red); }
.cl .tk-wait.late span { display: block; margin-top: 2px; color: var(--c-ink); }
.cl .tk-bxs { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 9px; margin-top: 16px; }
.cl .tk-bxs > div { padding: 12px 4px 10px; border-radius: 16px; background: #f1f1f3; text-align: center; }
.cl .tk-bxs b { display: block; font: 800 29px/1 var(--c-display); letter-spacing: -.03em; }
.cl .tk-bxs span { display: block; margin-top: 6px; font-size: 12px; color: var(--c-ink2); }
.cl .tk-bxs .me { background: var(--c-ink); color: #fff; }
.cl .tk-bxs .me span { color: #c7c7cc; font-weight: 600; }
.cl .tk-where { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--c-ink2); }

/* «В боксе»: the ring «23 из 35», «осталось ~12 мин / закончим около 11:35» */
.cl .tk-ringrow { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.cl .tk-ring { position: relative; width: 80px; height: 80px; flex: none; }
.cl .tk-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cl .tk-ring circle { transition: stroke-dashoffset .8s var(--c-ease); }
.cl .tk-ring .tip { transition: cx .8s var(--c-ease), cy .8s var(--c-ease); }
.cl .tk-ring .v { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cl .tk-ring .v b { font: 800 26px/1 var(--c-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cl .tk-ring .v small { margin-top: 2px; font-size: 11px; color: var(--c-ink2); }
.cl .tk-ringrow > div:last-child { min-width: 0; }
.cl .tk-ringrow > div:last-child b { display: block; font: 800 26px/1.04 var(--c-display); letter-spacing: -.035em; }
.cl .tk-ringrow > div:last-child span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.3; color: var(--c-ink2); }

/* «Готово»: the receipt (.sum-line) */
.cl .tk-rows { margin-top: 12px; }
.cl .tk-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; line-height: 1.3; }
.cl .tk-rows > div b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl .tk-rows .pre span, .cl .tk-rows .pre b { color: var(--c-ink2); }
.cl .tk-rows .tot { border-bottom: 0; padding-bottom: 2px; align-items: center; }
.cl .tk-rows .tot b { font: 800 24px/1 var(--c-display); letter-spacing: -.03em; }
.cl .tk-rows + .tk-note { margin-top: 4px; font-size: 12.5px; }

/* action tiles under the ticket (.ph-btns) */
.cl .tk-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cl .tk-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 64px; padding: 10px 4px 9px; border: 0; border-radius: 16px;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); color: var(--c-ink); cursor: pointer; font: 600 13.5px/1.15 var(--c-font); text-align: center;
  transition: transform .2s var(--c-ease), box-shadow var(--c-t); }
.cl .tk-act svg { width: 20px; height: 20px; }
.cl .tk-act:active { transform: scale(.95); }
@media (hover: hover) { .cl .tk-act:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .05), inset 0 0 0 1.5px #d2d2d7; } }

/* «Путь машины» (.path): small caps caption, 30 px dots */
.cl .tk-sec { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 20px; margin-bottom: 12px; }
.cl .tk-sec .c-path-tg { min-height: 40px; margin: -12px -4px; font-size: 13.5px; white-space: nowrap; }
.cl .tk-pathc.bare:not(.whole) .tk-sec { margin-bottom: 0; }
.cl .tk-sec-r { font-size: 12px; color: var(--c-ink2); white-space: nowrap; }
.cl .tk-pathc .c-path li { grid-template-columns: 30px 1fr auto; gap: 12px; padding-bottom: 14px; }
.cl .tk-pathc .c-path li:last-child, .cl .tk-pathc:not(.whole) .c-path li.lastv { padding-bottom: 0; }
.cl .tk-pathc .c-path li:not(:last-child)::before { left: 14.25px; top: 34px; bottom: 3px; }
.cl .tk-pathc .c-path .d { width: 30px; height: 30px; }
.cl .tk-pathc .c-path .d svg { width: 15px; height: 15px; }
.cl .tk-pathc .c-path li.now .d { box-shadow: inset 0 0 0 2px var(--c-red), 0 0 0 3px #fdecec; }
.cl .tk-pathc .c-path .st { font: 600 15.5px/1.25 var(--c-font); padding-top: 5px; }
.cl .tk-pathc .c-path .ss { font-size: 13px; margin-top: 2px; }
.cl .tk-pathc .c-path .tm { font: 600 13.5px/1.2 var(--c-font); padding-top: 6px; }
.cl .tk-pathc .c-path li.todo .tm { font-weight: 500; }

/* prepay, rows, the address, push */
.cl .tk-pp { margin-top: 8px; font: 800 24px/1.1 var(--c-display); letter-spacing: -.03em; }
.cl .tk-pp span { font: 600 15px/1 var(--c-font); letter-spacing: 0; color: var(--c-ink2); }
.cl .c-tk .tk-line { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; font-size: 14px; line-height: 1.35; }
.cl .tk-line > svg { width: 18px; height: 18px; color: var(--c-ink); }
.cl .tk-line > b { flex: 1; min-width: 0; font: 600 14.5px/1.3 var(--c-font); }
.cl .tk-line > span { flex: 1; min-width: 0; }
.cl .tk-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1.3px #d2d2d7; color: var(--c-ink); font: 700 13.5px/1 var(--c-font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: box-shadow var(--c-t), transform .15s var(--c-ease); }
.cl .tk-pill svg { width: 15px; height: 15px; }
.cl .tk-pill:active { transform: scale(.96); }
.cl .tk-pill[disabled] { opacity: .45; }
@media (hover: hover) { .cl .tk-pill:hover { box-shadow: inset 0 0 0 1.5px var(--c-ink); } }
.cl .tk-place-t { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.35; color: var(--c-ink2); }
.cl .tk-place-t svg { width: 17px; height: 17px; margin-top: 1px; color: var(--c-ink); }
.cl .tk-place-b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cl .tk-place-t + .tk-place-b { padding-left: 25px; }
.cl .c-tk .c-push { gap: 12px; }
.cl .c-tk .c-push .c-app { width: 36px; height: 36px; border-radius: 10px; }
.cl .c-tk .c-push .c-app svg { width: 18px; height: 18px; }
.cl .c-tk .c-push b { font-size: 14.5px; }
.cl .c-tk .c-push p { font-size: 13.5px; line-height: 1.4; }
.cl .c-tk .c-push-c .c-btn { margin-top: 12px; min-height: 46px; font-size: 15px; }
.cl .c-tk .c-note { gap: 10px; padding: 11px 14px; border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); font-size: 13px; }
.cl .c-tk .c-note > svg { width: 17px; height: 17px; }
.cl .tk-foot { display: flex; justify-content: center; }
.cl .tk-foot .c-link { font-size: 14px; }
.cl .tk-foot .c-link svg { width: 16px; height: 16px; }

/* «Как всё прошло?» and «Спасибо за оценку!» */
.cl .tk-rate { text-align: center; padding: 18px 16px 16px; }
.cl .tk-h2 { margin: 0; font: 800 22px/1.15 var(--c-display); letter-spacing: -.025em; }
.cl .tk-rate p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--c-ink2); }
.cl .tk-rate .c-stars { margin: 10px 0 6px; }
.cl .tk-rate .c-stars button { height: 48px; }
.cl .tk-rate .c-stars button svg { width: min(34px, 100%); height: 34px; }
.cl .tk-rate .c-stars.done { gap: 8px; color: #d2d2d7; }
.cl .tk-rate .c-stars.done span { display: grid; place-items: center; }
.cl .tk-rate .c-stars.done svg { width: 26px; height: 26px; }
.cl .tk-rate .c-stars.done .on { color: var(--c-ink); }
.cl .tk-rate .c-btn { margin-top: 8px; min-height: 46px; font-size: 15px; }

/* the panel (.ph-bot): chip + one line, the time / the wait / the sum, the main button */
.cl .tk-dock-in { pointer-events: auto; max-width: 640px; margin: 0 auto; background: var(--c-dark); color: #fff; border-radius: 26px 26px 0 0;
  padding: 14px max(16px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); box-shadow: 0 -10px 40px rgba(0, 0, 0, .14); }
.cl .tk-dk-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cl .tk-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 9px; border-radius: 8px; background: #fff; color: var(--c-ink); font: 700 13px/1.2 var(--c-font); white-space: nowrap; }
.cl .tk-chip svg { width: 13px; height: 13px; }
.cl .tk-chip .c-live-dot { width: 7px; height: 7px; }
.cl .tk-dk-line { min-width: 0; font-size: 13px; line-height: 1.3; color: #a1a1a6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl .tk-dk-mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 8px; }
.cl .tk-dk-big { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.cl .tk-dk-big b { font: 800 34px/1.05 var(--c-display); letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl .tk-dk-big small { font-size: 13px; color: #a1a1a6; white-space: nowrap; }
.cl .tk-dk-big.noest b { font-size: 24px; letter-spacing: -.025em; }
.cl .tk-dk-r { flex: none; text-align: right; font-size: 12.5px; line-height: 1.35; color: #a1a1a6; }
.cl .tk-dk-r b { display: block; color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.cl .tk-dock-in .c-btn.wide { margin-top: 12px; min-height: 52px; }
.cl .tk-dock-in .c-btn.quiet { background: rgba(255, 255, 255, .12); color: #fff; }
@media (hover: hover) { .cl .tk-dock-in .c-btn.quiet:hover { background: rgba(255, 255, 255, .2); } }
/* the «спасибо» screen: only the big «Оставить отзыв на картах» over the page */
.cl .tk-dock-in.bare { background: none; box-shadow: none; padding-top: 10px; }
.cl .tk-dock-in.bare .c-btn.wide { margin-top: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }

/* the sheets (cancel, reschedule, leave the queue) in the same compact scale */
.cl .tk-sheet .c-sheet .c-h1 { font: 800 22px/1.15 var(--c-display); letter-spacing: -.025em; margin-bottom: 6px; }
.cl .tk-sheet .c-sheet .c-lead { font-size: 14.5px; margin-bottom: 12px; }
.cl .tk-sheet .c-sheet .c-cap { font-size: 13px; }
.cl .tk-sheet .c-sheet-acts { margin-top: 14px; }
.cl .tk-sheet .c-sheet-acts .c-btn { min-height: 48px; font-size: 15.5px; }

/* 320 px */
@media (max-width: 359px) {
  .cl .tk-bar-in { gap: 8px; }
  .cl .tk-cap > span { letter-spacing: .07em; }
  .cl .tk-rnd { width: 36px; height: 36px; }
  .cl .tk-pt b { font-size: 15px; }
  .cl .tk-pt span { font-size: 12.5px; }
  .cl .tk-by .bx-logo { font-size: 14px; }
  .cl .tk-code { font-size: 26px; padding: 5px 8px; }
  .cl .tk-st { font-size: 20px; }
  .cl .tk-time b { font-size: 42px; }
  .cl .tk-go { font-size: 36px; }
  .cl .tk-boxes { gap: 6px; }
  .cl .tk-boxes > div { padding: 8px 8px; }
  .cl .tk-act { font-size: 12.5px; }
  .cl .tk-dk-big b { font-size: 30px; }
  .cl .tk-pathc .c-path .tm { white-space: normal; text-align: right; max-width: 6.5em; }
}
/* computer: a narrower two-column ticket, the panel is a white card on the right */
@media (min-width: 1024px) {
  .cl .tk-bar-in { max-width: 1000px; min-height: 68px; padding: 10px 32px; gap: 14px; }
  .cl .tk-pt b { font-size: 17px; }
  .cl .tk-pt span { font-size: 13.5px; }
  .cl .tk-by .bx-logo { font-size: 18px; }
  .cl .tk-page { padding: 28px 32px 64px; }
  .cl .tk-page .c-tk { max-width: 936px; margin: 0 auto; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px 24px; }
  .cl .tk-page .c-tk-l, .cl .tk-page .c-tk-r { gap: 12px; }
  .cl .tk-page .c-tk-r { top: 92px; }
  .cl .tk-page .c-tk.solo { grid-template-columns: minmax(0, 560px); }
  .cl .tk-bar.narrow .tk-bar-in { max-width: 624px; }
  .cl .c-tk .c-card { padding: 22px 24px; border-radius: 22px; }
  .cl .c-tk .tk-main { padding: 24px 26px; }
  .cl .tk-code { font-size: 34px; padding: 7px 12px; }
  .cl .tk-st { font-size: 26px; }
  .cl .tk-sub { font-size: 14.5px; }
  .cl .tk-time b { font-size: 60px; }
  .cl .tk-go { font-size: 54px; }
  .cl .tk-wait b { font-size: 42px; }
  .cl .tk-ring { width: 96px; height: 96px; }
  .cl .tk-ring .v b { font-size: 30px; }
  .cl .tk-ringrow > div:last-child b { font-size: 30px; }
  .cl .tk-rows .tot b { font-size: 28px; }
  .cl .tk-pathc .c-path .st { font-size: 16px; }
  .cl .c-tk .tk-line { padding: 14px 16px 14px 20px; }
  .cl .tk-dock-in { max-width: none; background: #fff; color: var(--c-ink); border-radius: 22px; padding: 20px 22px 22px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
  .cl .tk-chip { background: var(--c-ink); color: #fff; }
  .cl .tk-dk-line { color: var(--c-ink2); white-space: normal; }
  .cl .tk-dk-big small, .cl .tk-dk-r { color: var(--c-ink2); }
  .cl .tk-dk-r b { color: var(--c-ink); }
  .cl .tk-dock-in .c-btn.wide { margin-top: 16px; }
  .cl .tk-dock-in .c-btn.white { background: var(--c-ink); color: #fff; }
  .cl .tk-dock-in .c-btn.quiet { background: var(--c-fill); color: var(--c-ink); }
  .cl .tk-dock-in .c-btn.quiet:hover { background: var(--c-fill2); }
  .cl .tk-dock-in.bare { padding: 0; background: none; }
  .cl .tk-dock-in.bare .c-btn.wide { box-shadow: none; min-height: 56px; }
  .cl .tk-sheet .c-sheet .c-h1 { font-size: 26px; }
}
/* ---------- end of the ticket design pass ---------- */

/* ================= d-book (Д1, Д2): the point page and the booking wizard at the landing's phone scale =================
   The landing draws the phone ~300 px wide; here its sizes × ~1.3. Everything is scoped to .pw-h (the bar), .pw (the point
   page) and .c-wz (the wizard), so the ticket (.c-tk) that shares the .c-* classes keeps its own look. */
/* the bar: «←» + two lines + a small boxsy logo (+ a round «поделиться» on the point page) */
.cl .pw-h { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top);
  background: rgba(245, 245, 247, .86); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 rgba(0, 0, 0, .05); }
.cl .pw-h-in { box-sizing: border-box; max-width: 1100px; min-height: 62px; margin: 0 auto; display: flex; align-items: center; gap: 12px;
  padding: 9px max(16px, env(safe-area-inset-right)) 9px max(16px, env(safe-area-inset-left)); }
.cl .pw-rb { position: relative; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--c-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1); display: grid; place-items: center; cursor: pointer; transition: transform .15s var(--c-ease), box-shadow var(--c-t); }
.cl .pw-rb::before { content: ''; position: absolute; inset: -3px; border-radius: 50%; } /* 46 px to tap */
.cl .pw-rb svg { width: 18px; height: 18px; }
.cl .pw-rb:active { transform: scale(.92); }
@media (hover: hover) { .cl .pw-rb:hover { box-shadow: 0 1px 3px rgba(0, 0, 0, .1), inset 0 0 0 1.5px #d2d2d7; } }
.cl .pw-t { flex: 1; min-width: 0; }
.cl .pw-t > b, .cl .pw-t > h1 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; margin: 0;
  font: 700 16px/1.2 var(--c-font); letter-spacing: -.01em; color: var(--c-ink); }
.cl .pw-t > b { white-space: normal; } /* .c-stepno was a one-line counter */
.cl .pw-t > b > span { white-space: nowrap; }
.cl .pw-t > small { display: block; margin-top: 2px; font: 500 13px/1.25 var(--c-font); color: var(--c-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl .pw-t > small:empty { display: none; }
.cl .pw-pt .pw-t > small { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.cl .pw-logo { flex: none; display: flex; align-items: center; }
.cl .pw-logo .bx-logo { font-size: 15px; } /* the same bar as the ticket's (.tk-bar) */
.cl .pw-pt .pw-logo { margin-right: -2px; }
/* the wizard's progress: segments under the bar, done and current black, the rest grey (as on the landing) */
.cl .pw-h .c-prog { max-width: 1100px; padding: 0 max(16px, env(safe-area-inset-left)) 10px; gap: 4px; }
.cl .pw-h .c-prog i { height: 3.5px; background: #d9d9de; }
.cl .pw-h .c-prog i.done { background: var(--c-ink); }
.cl .pw-h .c-prog i.now::after { background: var(--c-ink); }

/* ---------- point page ---------- */
.cl .pw.c-page { padding-top: 6px; }
.cl .pw .c-pt { gap: 10px; }
.cl .pw .c-pt-hero { padding: 0; display: grid; gap: 10px; }
.cl .pw .c-open { justify-self: start; margin: 0; padding: 7px 12px 7px 11px; font: 600 13.5px/1.2 var(--c-font); box-shadow: var(--c-shadow-s); }
.cl .pw .c-quick { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cl .pw .c-quick.n1 { grid-template-columns: 1fr; }
.cl .pw .c-quick a, .cl .pw .c-quick button { flex-direction: row; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 14px;
  box-shadow: var(--c-shadow-s); font: 600 14.5px/1.1 var(--c-font); }
.cl .pw .c-quick svg { width: 18px; height: 18px; }
.cl .pw .c-go { grid-template-columns: 1fr; gap: 8px; }
.cl .pw .c-go-t { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px; border-radius: 18px; box-shadow: var(--c-shadow-s); }
.cl .pw .c-go-t.prime { box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.cl .pw .c-go-t .c-g-ic { width: 44px; height: 44px; border-radius: 13px; }
.cl .pw .c-go-t .c-g-ic svg { width: 24px; height: 24px; }
.cl .pw .c-go-t .c-g-t { font: 700 17px/1.2 var(--c-font); letter-spacing: -.01em; }
.cl .pw .c-go-t .c-g-s { font-size: 13px; line-height: 1.35; margin-top: 2px; }
.cl .pw .c-go-t .c-g-now { margin-bottom: 4px; font: 700 10.5px/1 var(--c-font); letter-spacing: .1em; text-transform: uppercase; }
.cl .pw .c-go-t .c-g-now .c-live-dot { width: 7px; height: 7px; }
.cl .pw .c-go-t .c-g-a { width: 20px; height: 20px; }
.cl .pw .c-paused { padding: 16px; border-radius: 18px; }
.cl .pw .c-paused b { font: 700 17px/1.25 var(--c-font); letter-spacing: -.01em; }
.cl .pw .c-paused span { font-size: 14px; }
.cl .pw .c-paused .c-btn { min-height: 44px; font-size: 15px; }
/* the live card: a small-caps caption, the wait and the cars, «Сейчас на точке» tiles */
.cl .pw .c-live { padding: 14px 14px 14px; border-radius: 18px; box-shadow: var(--c-shadow-s); }
.cl .pw .c-live-h .c-cap { gap: 7px; font: 700 11.5px/1 var(--c-font); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink2); }
.cl .pw .c-live-h .c-cap .c-live-dot, .cl .pw .c-live-h .c-cap .c-off-dot { width: 7px; height: 7px; }
.cl .pw .c-live-h small { font-size: 12px; color: var(--c-ink3); }
.cl .pw .c-stats { gap: 10px; margin: 12px 0 12px; }
.cl .pw .c-stat b { font: 800 30px/1 var(--c-display); letter-spacing: -.04em; }
.cl .pw .c-stat.long b { font-size: 24px; }
.cl .pw .c-stat.c-noest b { font-size: 19px; line-height: 1.15; letter-spacing: -.015em; }
.cl .pw .c-stat span { font-size: 12.5px; line-height: 1.35; margin-top: 4px; }
.cl .pw .c-live-h + .c-boxes { margin-top: 12px; }
.cl .pw .c-boxes { grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 6px; }
.cl .pw .c-boxt, .cl .pw .c-boxt.free { min-height: 0; padding: 9px 10px 9px; border-radius: 12px; background: var(--c-fill); color: var(--c-ink); gap: 5px; justify-content: flex-start; }
.cl .pw .c-boxt small:first-child { font: 700 10.5px/1 var(--c-font); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink2); }
.cl .pw .c-boxt small { font: 500 11.5px/1.15 var(--c-font); color: var(--c-ink2); }
.cl .pw .c-boxt b { justify-self: start; align-self: flex-start; max-width: 100%; box-sizing: border-box; padding: 4px 7px; border-radius: 7px; background: var(--c-ink); color: #fff; font: 700 13px/1.1 var(--c-font); }
.cl .pw .c-boxt.free b { padding: 4px 0; background: none; color: var(--c-ink); }
.cl .pw .c-foot { margin-top: 18px; font-size: 12px; color: var(--c-ink3); }
.cl .pw .c-foot .bx-logo { font-size: 14px; }

/* ---------- wizard ---------- */
.cl .c-wz.c-page { padding-top: 12px; }
.cl .c-wz .c-h1 { font: 800 24px/1.12 var(--c-display); letter-spacing: -.03em; margin: 0 0 4px; }
.cl .c-wz .c-lead { font-size: 13.5px; line-height: 1.4; margin: 0 0 14px; }
.cl .c-wz .c-tile { border-radius: 16px; box-shadow: var(--c-shadow-s), inset 0 0 0 2px transparent; }
.cl .c-wz .c-tile.on { box-shadow: 0 6px 18px rgba(0, 0, 0, .07), inset 0 0 0 2px var(--c-ink); }
.cl .c-wz .c-check { width: 22px; height: 22px; top: 10px; right: 10px; }
.cl .c-wz .c-check svg { width: 13px; height: 13px; }
/* small-caps captions, as .pl on the landing: «РАДИУС КОЛЁС», «ДОПОЛНИТЕЛЬНО», «УТРО» */
.cl .c-wz .c-r-h h2, .cl .c-wz .c-sec h3, .cl .c-wz .c-tg-h { font: 700 11.5px/1.2 var(--c-font); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink2); }
/* step 1: the car and the radius */
.cl .c-wz .c-cars { gap: 8px; }
.cl .c-wz .c-carstep .c-car { padding: 10px 12px 12px; }
.cl .c-wz .c-carstep .c-car .c-t-art { max-width: 112px; margin: 0 auto 4px; }
.cl .c-wz .c-carstep .c-t-title { font: 700 15px/1.2 var(--c-font); }
.cl .c-wz .c-carstep .c-t-sub { font-size: 12px; line-height: 1.3; margin-top: 2px; }
.cl .c-wz .c-r-h { margin: 16px 2px 8px; }
.cl .c-wz .c-qbtn span { width: 24px; height: 24px; font-size: 13px; }
.cl .c-wz .c-carstep .c-radii { gap: 6px; }
.cl .c-wz .c-carstep .c-r { min-height: 46px; border-radius: 12px; font-size: 18px; box-shadow: var(--c-shadow-s); }
.cl .c-wz .c-carstep .c-tyre-card { border-radius: 16px; padding: 10px 14px 12px; box-shadow: var(--c-shadow-s); }
.cl .c-wz .c-tyre-card p { font-size: 13px; }
.cl .c-wz .c-switch { margin-top: 12px; }
.cl .c-wz .c-switch .c-link { font-size: 14px; }
/* step 2: services */
.cl .c-wz .c-svcs { gap: 6px; }
.cl .c-wz .c-svc { min-height: 60px; gap: 12px; padding: 10px 12px; border-radius: 16px; box-shadow: var(--c-shadow-s), inset 0 0 0 2px transparent; }
.cl .c-wz .c-svc.on { box-shadow: 0 6px 18px rgba(0, 0, 0, .06), inset 0 0 0 2px var(--c-ink); }
.cl .c-wz .c-svc .c-ic { width: 40px; height: 40px; border-radius: 12px; }
.cl .c-wz .c-svc .c-ic svg { width: 22px; height: 22px; }
.cl .c-wz .c-svc .c-s-n { font: 600 15px/1.25 var(--c-font); }
.cl .c-wz .c-svc .c-s-m { font-size: 12.5px; margin-top: 2px; }
.cl .c-wz .c-svc .c-s-p { font: 700 15px/1.2 var(--c-font); }
.cl .c-wz .c-svc .c-check { width: 22px; height: 22px; }
.cl .c-wz .c-svc.sm { min-height: 52px; padding: 8px 12px; }
.cl .c-wz .c-svc.sm .c-ic { width: 34px; height: 34px; border-radius: 10px; }
.cl .c-wz .c-svc.sm .c-ic svg { width: 19px; height: 19px; }
.cl .c-wz .c-sec { align-items: center; margin: 18px 2px 8px; }
.cl .c-wz .c-sec span { font-size: 12.5px; color: var(--c-ink3); }
.cl .c-wz .c-empty { border-radius: 18px; padding: 22px 16px; box-shadow: var(--c-shadow-s); }
.cl .c-wz .c-empty .c-e-ic { width: 52px; height: 52px; margin-bottom: 10px; }
.cl .c-wz .c-empty .c-e-ic svg { width: 26px; height: 26px; }
.cl .c-wz .c-empty h3 { font: 700 17px/1.25 var(--c-font); letter-spacing: -.01em; margin-bottom: 4px; }
.cl .c-wz .c-empty p { font-size: 14px; }
.cl .c-wz .c-empty .c-e-act { margin-top: 14px; }
/* step 3: «сейчас» / «на время» */
.cl .c-wz .c-when { gap: 8px; }
.cl .c-wz .c-mode { min-height: 0; padding: 14px; gap: 12px; }
.cl .c-wz .c-mode .c-m-ic { width: 40px; height: 40px; border-radius: 12px; }
.cl .c-wz .c-mode .c-m-ic svg { width: 22px; height: 22px; }
.cl .c-wz .c-mode .c-m-now { font: 700 10.5px/1 var(--c-font); letter-spacing: .1em; text-transform: uppercase; gap: 6px; }
.cl .c-wz .c-mode .c-m-now .c-live-dot { width: 7px; height: 7px; }
.cl .c-wz .c-mode .c-m-title { font: 700 18px/1.15 var(--c-font); letter-spacing: -.015em; margin-top: 6px; }
.cl .c-wz .c-mode .c-m-big { font: 700 15px/1.2 var(--c-font); letter-spacing: -.01em; margin-top: 4px; }
.cl .c-wz .c-mode .c-t-sub { font-size: 12.5px; margin-top: 4px; }
/* step 4: compact day tiles «пт / 23», the slots in small-caps groups, taken ones crossed out */
.cl .c-wz .c-days { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(42px, 1fr); gap: 6px; overflow-x: auto; overflow-y: hidden;
  margin: 0 -16px; padding: 2px 16px 10px; scroll-padding: 0 16px; }
.cl .c-wz .c-day { width: auto; min-width: 0; min-height: 56px; gap: 5px; border-radius: 12px; background: #fff; box-shadow: var(--c-shadow-s); color: var(--c-ink); }
.cl .c-wz .c-day .wd { font: 600 11.5px/1 var(--c-font); color: var(--c-ink2); }
.cl .c-wz .c-day .dm { font: 800 21px/1 var(--c-display); letter-spacing: -.02em; color: inherit; text-decoration: none; }
.cl .c-wz .c-day.shut { background: transparent; box-shadow: inset 0 0 0 1.5px #e3e3e8; }
.cl .c-wz .c-day.shut .wd, .cl .c-wz .c-day.shut .dm { color: var(--c-mute); }
.cl .c-wz .c-day.late, .cl .c-wz .c-day.full { background: var(--c-fill); box-shadow: none; }
.cl .c-wz .c-day.late .wd, .cl .c-wz .c-day.full .wd { color: var(--c-mute); }
.cl .c-wz .c-day.late .dm, .cl .c-wz .c-day.full .dm { color: #c4c4c9; text-decoration: line-through; text-decoration-thickness: 2px; }
.cl .c-wz .c-day.on { background: var(--c-ink); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .16); }
.cl .c-wz .c-day.on .wd { color: #bdbdc2; }
.cl .c-wz .c-day.on .dm { color: #fff; }
.cl .c-wz .c-dayline { align-items: flex-start; margin: 4px 2px 0; }
.cl .c-wz .c-dayline b { font: 700 15px/1.3 var(--c-font); letter-spacing: -.01em; }
.cl .c-wz .c-dayline > span { font-size: 13px; line-height: 1.3; color: var(--c-ink2); }
.cl .c-wz .c-dayline .c-dl-brk { font-size: 12px; margin-top: 1px; }
.cl .c-wz .c-tgroup { margin-top: 14px; }
.cl .c-wz .c-tg-h { display: block; margin: 0 2px 8px; }
.cl .c-wz .c-times { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cl .c-wz .c-time { min-height: 44px; border-radius: 12px; font: 600 15.5px/1 var(--c-font); font-variant-numeric: tabular-nums; }
.cl .c-wz .c-time.busy { background: var(--c-fill); box-shadow: none; color: #b4b4b9; text-decoration: line-through; text-decoration-thickness: 1.5px; }
/* step 5: contacts — the fields a bit smaller, the recap and the consent compact */
.cl .c-wz .c-form .bxf { margin-bottom: 12px; }
.cl .c-wz .c-form .bxf-cap { margin-bottom: 6px; font-size: 13px; }
.cl .c-wz .c-form .bxf-msg { margin-top: 6px; font-size: 12.5px; }
.cl .c-wz .c-form .bxf-box { height: 54px; }
.cl .c-wz .c-form .bxf-box input, .cl .c-wz .c-form .bxf-pre { font-size: 19px; }
.cl .c-wz .c-form .bxf-name .bxf-box input { font-size: 17px; }
.cl .c-wz .c-recap { border-radius: 16px; padding: 2px 14px; margin: 4px 0 10px; box-shadow: var(--c-shadow-s); }
.cl .c-wz .c-recap div { padding: 9px 0; font-size: 14px; }
.cl .c-wz .c-consent { gap: 12px; padding: 12px 14px; border-radius: 16px; font-size: 13.5px; box-shadow: var(--c-shadow-s), inset 0 0 0 2px transparent; }
.cl .c-wz .c-consent.bad { box-shadow: var(--c-shadow-s), inset 0 0 0 2px var(--c-red); }
.cl .c-wz .c-consent .c-box { width: 24px; height: 24px; border-radius: 7px; }
.cl .c-wz .c-consent-more .c-link { font-size: 13.5px; }
/* the dock, as .ph-bot: a white chip + one line, the sum and «Дальше» */
.cl .c-wz .c-dock-in { border-radius: 22px 22px 0 0; background: #111;
  padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.cl .c-wz .c-dock-line { gap: 8px; font-size: 13px; }
.cl .c-wz .c-chip { gap: 5px; padding: 4px 8px; border-radius: 7px; background: #fff; color: var(--c-ink); font: 700 12px/1.15 var(--c-font); }
.cl .c-wz .c-chip svg { width: 12px; height: 12px; }
.cl .c-wz .c-dock-row { margin-top: 9px; gap: 12px; }
.cl .c-wz .c-total { gap: 7px; }
.cl .c-wz .c-total b { font-size: 28px; letter-spacing: -.035em; }
.cl .c-wz .c-total small { font-size: 13px; }
.cl .c-wz .c-total-no { font-size: 13px; }
.cl .c-wz .c-dock .c-btn { min-height: 46px; padding: 0 20px; font-size: 15.5px; }
.cl .c-wz .c-hint { margin-top: 10px; font-size: 14px; }

@media (max-width: 359px) {
  .cl .pw-h-in { gap: 10px; padding-left: 12px; padding-right: 12px; }
  .cl .pw-t > b, .cl .pw-t > h1 { font-size: 15px; }
  .cl .pw-t > small { font-size: 12.5px; }
  .cl .pw-logo .bx-logo { font-size: 14px; }
  .cl .pw-h .c-prog { padding-left: 12px; padding-right: 12px; }
  .cl .pw .c-go-t .c-g-t { font-size: 16px; }
  .cl .c-wz .c-h1 { font-size: 22px; }
  .cl .c-wz .c-days { grid-auto-columns: minmax(36px, 1fr); gap: 5px; }
  .cl .c-wz .c-day .dm { font-size: 19px; }
  .cl .c-wz .c-times { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .cl .c-wz .c-time { font-size: 14.5px; }
  .cl .c-wz .c-total b { font-size: 24px; }
  .cl .c-wz .c-dock .c-btn { padding: 0 16px; }
}
@media (min-width: 600px) {
  .cl .pw .c-pt, .cl .c-wz .c-wz-main { max-width: 640px; margin: 0 auto; }
  .cl .pw-pt .pw-h-in { max-width: 672px; }
  .cl .c-wz.c-page { padding-top: 20px; }
  .cl .c-wz .c-h1 { font-size: 28px; }
  .cl .c-wz .c-lead { font-size: 15px; }
  .cl .c-wz .c-times { grid-template-columns: repeat(6, 1fr); }
  .cl .c-wz .c-carstep .c-car .c-t-art { max-width: 128px; }
}
@media (min-width: 1024px) {
  .cl .pw-h-in { min-height: 68px; padding: 10px 32px; }
  .cl .pw-t > b, .cl .pw-t > h1 { font-size: 17px; }
  .cl .pw-t > small { font-size: 13.5px; }
  .cl .pw-logo .bx-logo { font-size: 18px; }
  .cl .pw-h .c-prog { padding: 0 32px 12px; }
  /* the point page: two columns — the state and the ways in | the live queue */
  .cl .pw.c-page { padding: 20px 32px 48px; }
  .cl .pw .c-pt { max-width: 960px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 24px; }
  .cl .pw-pt .pw-h-in { max-width: 1024px; }
  .cl .pw .c-pt-l, .cl .pw .c-pt-r { gap: 12px; padding-top: 0; }
  .cl .pw .c-live { padding: 18px; }
  .cl .pw .c-stat b { font-size: 40px; }
  .cl .pw .c-stat span { font-size: 13.5px; }
  .cl .pw .c-stat.c-noest b { font-size: 22px; }
  .cl .pw-pt .pw-t > h1 { font-size: 19px; }
  .cl .pw-pt .pw-t > small { font-size: 14px; }
  .cl .pw .c-open { font-size: 14px; }
  .cl .pw .c-quick a, .cl .pw .c-quick button { min-height: 48px; font-size: 15px; }
  .cl .pw .c-go { gap: 12px; }
  .cl .pw .c-go-t { min-height: 92px; padding: 18px; gap: 14px; }
  .cl .pw .c-go-t .c-g-ic { width: 48px; height: 48px; border-radius: 14px; }
  .cl .pw .c-go-t .c-g-t { font-size: 19px; }
  .cl .pw .c-go-t .c-g-s { font-size: 14px; }
  .cl .pw .c-boxt { padding: 11px 12px; }
  .cl .pw .c-foot { margin-top: 28px; }
  /* the wizard: the question on the left, the summary card on the right */
  .cl .c-wz.c-page { padding: 28px 32px 64px; }
  .cl .c-wz { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .cl .c-wz .c-wz-main { max-width: 720px; margin: 0; }
  .cl .c-wz .c-h1 { font-size: 32px; margin-bottom: 6px; }
  .cl .c-wz .c-lead { font-size: 16px; margin-bottom: 20px; }
  .cl .c-wz .c-days, .cl .c-wz .c-days.many { grid-auto-columns: minmax(64px, 1fr); margin: 0 -8px; padding: 2px 8px 12px; scroll-padding: 0 8px; }
  .cl .c-wz .c-day { min-height: 60px; }
  .cl .c-wz .c-time { min-height: 46px; }
  .cl .c-wz .c-carstep .c-car { padding: 14px 14px 16px; }
  .cl .c-wz .c-carstep .c-car .c-t-art { max-width: 140px; }
  .cl .c-wz .c-carstep .c-r { min-height: 50px; font-size: 19px; }
  .cl .c-wz .c-mode { padding: 18px; }
  .cl .c-wz .c-mode .c-m-title { font-size: 20px; }
  .cl .c-wz .c-dock { top: 104px; }
  .cl .c-wz .c-dock-in { padding: 20px; border-radius: 22px; background: #fff; box-shadow: var(--c-shadow-s); }
  .cl .c-wz .c-sum-h { font: 700 11.5px/1.2 var(--c-font); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink2); margin-bottom: 2px; }
  .cl .c-wz .c-sum-rows > div { padding: 10px 0; grid-template-columns: 32px 1fr; }
  .cl .c-wz .c-sum-rows dt { width: 32px; height: 32px; border-radius: 10px; }
  .cl .c-wz .c-sum-rows dt svg { width: 18px; height: 18px; }
  .cl .c-wz .c-sum-rows .k { font-size: 12px; }
  .cl .c-wz .c-sum-rows .v { font-size: 14px; }
  .cl .c-wz .c-dock-row { margin-top: 14px; gap: 14px; }
  .cl .c-wz .c-dock .c-btn { min-height: 50px; }
  .cl .c-wz .c-dock-note { margin-top: 12px; font-size: 12.5px; }
  .cl .c-wz .c-hint { color: var(--c-ink); }
}
@media (min-width: 1440px) {
  .cl .pw-wz .pw-h-in, .cl .pw-wz .c-prog { max-width: 1180px; }
}
/* the wizard's sheets («Вы уже записаны», «Политика данных») at the same compact scale */
.cl .pw-sheet .c-sheet .c-h1 { font: 800 22px/1.15 var(--c-display); letter-spacing: -.025em; margin-bottom: 6px; }
.cl .pw-sheet .c-sheet .c-lead { font-size: 14.5px; margin-bottom: 12px; }
.cl .pw-sheet .c-sheet .c-card { border-radius: 16px; padding: 14px 16px; box-shadow: var(--c-shadow-s); font-size: 14px !important; }
.cl .pw-sheet .c-sheet-acts { margin-top: 14px; }
.cl .pw-sheet .c-sheet-acts .c-btn { min-height: 48px; font-size: 15.5px; }
@media (min-width: 1024px) { .cl .pw-sheet .c-sheet { max-width: 520px; } .cl .pw-sheet .c-sheet .c-h1 { font-size: 26px; } }
/* ---------- end of the point page + wizard design pass (d-book) ---------- */

/* «Ваш талон A-2 · в очереди →» on the point page (point.js mineHtml): back to a ticket made on this device */
.cl .c-mine { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 12px 14px 12px 16px; border-radius: 16px; background: #111; color: #fff; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .14); transition: transform .15s; }
.cl .c-mine:active { transform: scale(.99); }
.cl .c-mine-k { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px/1.2 var(--font); letter-spacing: .08em; word-spacing: .25em; white-space: nowrap; text-transform: uppercase; color: #9a9aa0; flex: none; }
.cl .c-mine b { font: 800 17px/1 var(--display); letter-spacing: -.01em; flex: none; }
.cl .c-mine-s { flex: 1; min-width: 0; font-size: 14px; color: #d6d6db; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl .c-mine svg { width: 18px; height: 18px; flex: none; }

/* in-app browsers (ticket.js inAppCard / linkSheet / downloadIcs; TG audit 05.11): the real browser, «save the ticket» */
.cl .c-inapp-b { display: grid; gap: 8px; margin-top: 14px; }
.cl .c-inapp-b .c-btn { min-height: 46px; font-size: 15px; }
.cl .c-inapp-b .c-btn.white { box-shadow: inset 0 0 0 1.5px var(--c-line, #d6d6d6); }
.cl .c-inapp-h { margin: 10px 2px 0; font-size: 13.5px; line-height: 1.45; color: var(--c-mute, #6e6e73); }
.cl .c-linkbox { display: block; width: 100%; box-sizing: border-box; margin: 14px 0 0; height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--c-line, #d6d6d6);
  font: 500 15px/1 var(--c-font); color: var(--c-ink); background: #fff; }
.cl .c-sheet .c-inapp-b + .c-btn { margin-top: 8px; }

/* ================= 01.1 + 02.1 (05.11): the point page over a map, the car step on a stage (point.js) =================
   The chosen design (boxsy.ru/design/ → «Варианты»): 01.1 «Карта и шторка» and 02.1 «Как в Яндекс Go», with the
   prototype's motion (motion.js). The map: OpenStreetMap tiles through /api/tiles, greyed to stay calm under the sheet. */
.cl .roll { display: inline-grid; overflow: hidden; vertical-align: bottom; }
.cl .roll > * { grid-area: 1 / 1; white-space: nowrap; }
@keyframes pm-pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 38, 43, .45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(227, 38, 43, 0); } }
/* ---------- 01.1: the map ---------- */
.cl .pm { --pm-map: clamp(300px, 46vh, 440px); position: relative; min-height: 100dvh; display: flow-root; } /* flow-root: the sheet's margin stays inside (the map is at the top of .pm) */
.cl .pm-map { position: absolute; left: 0; right: 0; top: 0; height: var(--pm-map); overflow: hidden; background: #e7e8eb; }
.cl .pm-tiles { position: absolute; inset: 0; filter: grayscale(1) contrast(.9) brightness(1.05); transform-origin: 50% 45%; }
.cl .pm-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; -webkit-user-drag: none; }
.cl .pm-maplink { position: absolute; inset: 0; z-index: 1; }
.cl .pm-pin { position: absolute; width: 0; height: 0; z-index: 2; pointer-events: none; }
.cl .pm-drop { position: absolute; left: -15px; top: -40px; width: 30px; height: 40px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); transform-origin: 50% 100%; }
.cl .pm-sh { position: absolute; left: -9px; top: -3px; width: 18px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .28); filter: blur(1.5px); }
.cl .pm-lab { position: absolute; left: 0; bottom: 52px; transform: translateX(-50%); max-width: 230px; padding: 8px 14px 9px; border-radius: 14px; background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16); white-space: nowrap; }
.cl .pm-lab b { display: block; overflow: hidden; text-overflow: ellipsis; font: 700 13px/1.2 var(--c-font); }
.cl .pm-lab small { display: block; margin-top: 1px; font: 500 12px/1.25 var(--c-font); color: var(--c-ink2); }
.cl .pm-lab i { position: absolute; left: 50%; bottom: -5px; width: 11px; height: 11px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.cl .pm-osm { position: absolute; right: 8px; bottom: 36px; z-index: 2; padding: 3px 6px; border-radius: 5px; background: rgba(255, 255, 255, .78); font: 500 10px/1 var(--c-font); color: #6e6e73; text-decoration: none; }
/* the logo and «поделиться» float on the map */
.cl .pm-top { position: absolute; left: 0; right: 0; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); pointer-events: none; }
.cl .pm-top > * { pointer-events: auto; }
.cl .pm-logo { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.cl .pm-logo .bx-logo { font-size: 17px; }
.cl .pm-top .pw-rb { width: 44px; height: 44px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
/* ---------- 01.1: the sheet over the map ---------- */
.cl .pm-sheet { position: relative; z-index: 3; box-sizing: border-box; margin-top: calc(var(--pm-map) - 28px); min-height: calc(100dvh - var(--pm-map) + 28px);
  padding: 10px max(16px, env(safe-area-inset-right)) calc(112px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, .10); }
.cl .pm-grab { width: 38px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: #d8d8dc; }
.cl .pm.no-map .pm-top { position: relative; padding-bottom: 12px; }
.cl .pm.no-map .pm-sheet { margin-top: 0; min-height: calc(100dvh - 70px); padding-top: 22px; }
.cl .pm.no-map .pm-grab { display: none; }
.cl .pm-name { margin: 0; font: 800 26px/1.06 var(--c-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.cl .pm-addr { margin: 6px 0 0; font-size: 15px; line-height: 1.35; color: var(--c-ink2); }
.cl .pm-addr:empty { display: none; }
.cl .pm-open { display: flex; align-items: center; gap: 9px; margin-top: 10px; font: 600 14px/1.35 var(--c-font); }
.cl .pm-open.closed { color: var(--c-ink2); }
.cl .pm-sheet .c-mine { margin: 0 0 14px; }
.cl .pm-sheet .c-paused { margin-top: 18px; background: var(--c-fill); box-shadow: none; }
/* the two ways in, as tariff cards; the black ring flows to the chosen one */
.cl .pm-opts { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cl .pm-opts.n1 { grid-template-columns: 1fr; }
.cl .pm-opt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 118px; padding: 14px 14px 13px; border: 0; border-radius: 20px;
  background: var(--c-fill); text-align: left; cursor: pointer; transition: background-color .35s, box-shadow .35s, transform .2s var(--c-ease); }
.cl .pm-opt:active { transform: scale(.97); }
.cl .pm-opt.on { background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }
.cl .pm-opt.dim .pm-o-v, .cl .pm-opt.dim .pm-o-t { color: var(--c-ink3); }
.cl .pm-o-t { display: flex; align-items: center; gap: 7px; font: 650 13px/1.2 var(--c-font); color: var(--c-ink2); transition: color .3s; }
.cl .pm-opt.on .pm-o-t { color: var(--c-ink); }
.cl .pm-o-t svg { width: 17px; height: 17px; }
.cl .pm-o-v { margin-top: 12px; font: 800 25px/1.02 var(--c-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.cl .pm-o-s { margin-top: 6px; font-size: 13px; line-height: 1.3; color: var(--c-ink2); }
.cl .pm-ring { position: absolute; left: 0; top: 0; z-index: 1; border-radius: 20px; box-shadow: inset 0 0 0 2px var(--c-ink); pointer-events: none; }
/* the boxes now */
.cl .pm-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.cl .pm-bx { min-width: 0; padding: 9px 11px; border-radius: 14px; background: var(--c-fill); }
.cl .pm-bx i { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 11px/1.2 var(--c-font); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink3); }
.cl .pm-bx b { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: 700 13.5px/1.2 var(--c-font); white-space: nowrap; }
.cl .pm-bx .sq { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--c-ink); }
.cl .pm-bx.call .sq { border-radius: 50%; background: var(--c-red); animation: pm-pulse 1.2s infinite; }
.cl .pm-bx.free .sq { background: transparent; box-shadow: inset 0 0 0 1.6px var(--c-ink); }
/* call, the way there, send */
.cl .pm-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.cl .pm-acts.n2 { grid-template-columns: 1fr 1fr; }
.cl .pm-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 66px; padding: 0 6px; border: 0; border-radius: 16px;
  background: var(--c-fill); font: 600 13px/1.2 var(--c-font); color: var(--c-ink); text-decoration: none; cursor: pointer; transition: transform .2s var(--c-ease); }
.cl .pm-act svg { width: 20px; height: 20px; }
.cl .pm-act:active { transform: scale(.96); }
.cl .pm-sheet .c-foot { margin-top: 26px; }
/* the big button for the chosen way in */
.cl .pm-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 14px max(16px, env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: linear-gradient(rgba(255, 255, 255, 0), #fff 34%); }
.cl .pm-go { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 640px; height: 60px; margin: 0 auto; padding: 0 20px 0 22px; border: 0; border-radius: 18px;
  background: var(--c-ink); color: #fff; font: 700 18px/1 var(--c-font); cursor: pointer; transition: transform .2s var(--c-ease); }
.cl .pm-go:active { transform: scale(.98); }
.cl .pm-go .roll { flex: 1; min-width: 0; }
.cl .pm-go .roll > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cl .pm-go em { font-style: normal; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .62); }
.cl .pm-go > svg { width: 20px; height: 20px; }
@media (hover: hover) { .cl .pm-opt:not(.on):hover { box-shadow: inset 0 0 0 2px #d2d2d7; } .cl .pm-act:hover { background: var(--c-fill2); } .cl .pm-go:hover { background: #000; } }

/* ---------- 02.1: the stage with the car ---------- */
.cl .c-wz .cs { margin: -12px calc(-1 * max(16px, env(safe-area-inset-left))) 0; }
.cl .cs-stage { position: relative; height: 232px; overflow: hidden; touch-action: pan-y;
  background: radial-gradient(120% 90% at 50% 62%, #fbfbfc 0%, #eeeff2 55%, #e2e4e8 100%); }
.cl .cs-stage::after { content: ''; position: absolute; left: 50%; top: 168px; width: 360px; height: 56px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .07), rgba(0, 0, 0, 0)); pointer-events: none; }
.cl .cs-cap { position: absolute; left: max(20px, env(safe-area-inset-left)); top: 14px; font: 800 12px/1 var(--c-font); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink3); }
.cl .cs-hero, .cl .cs-co { position: absolute; left: 0; right: 0; top: 34px; width: min(340px, 86%); margin: 0 auto; aspect-ratio: 280 / 130; }
.cl .cs-hero .car { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; }
.cl .cs-ghost { position: absolute; inset: 0; color: #dcdde2; --gap: #eef0f2; }
.cl .cs-ghost svg { display: block; width: 100%; height: auto; }
.cl .cs-co { z-index: 1; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .25s; }
.cl .cs-co.on { opacity: 1; }
.cl .cs-ring { transform-box: fill-box; transform-origin: center; }
.cl .cs-chip { position: absolute; z-index: 2; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--c-red); color: #fff; font: 800 14px/26px var(--c-display);
  opacity: 0; transition: opacity .25s; transform-origin: 30% 100%; pointer-events: none; }
.cl .cs-chip.on { opacity: 1; }
.cl .cs-hint { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0; text-align: center; font: 600 14px/1.3 var(--c-font); color: var(--c-ink2); }
/* the sheet: the title, the cars as tariff cards, the radii */
.cl .cs-sheet { position: relative; margin-top: -22px; padding: 18px 0 6px; border-radius: 28px 28px 0 0; background: var(--c-bg); }
.cl .cs-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 max(16px, env(safe-area-inset-left)); }
.cl .c-wz .cs-h .c-h1 { margin: 0; font-size: 25px; }
.cl .cs-mode { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; background: #fff; box-shadow: var(--c-shadow-s);
  font: 650 13px/1 var(--c-font); white-space: nowrap; }
.cl .cs-mode svg { width: 15px; height: 15px; }
.cl .cs-mode .c-live-dot { width: 7px; height: 7px; }
.cl .cs-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cl .cs-scroll::-webkit-scrollbar { display: none; }
.cl .cs-cars { position: relative; display: flex; gap: 8px; width: max-content; padding: 12px max(16px, env(safe-area-inset-left)) 4px; }
.cl .cs-car { position: relative; display: flex; flex-direction: column; align-items: flex-start; width: 120px; padding: 8px 10px 12px; border: 0; border-radius: 20px;
  background: transparent; text-align: left; cursor: pointer; transition: background-color .35s, transform .2s var(--c-ease); }
.cl .cs-car.on { background: #fff; box-shadow: var(--c-shadow-s); }
.cl .cs-car:active { transform: scale(.96); }
.cl .cs-car .cs-art { width: 100px; height: auto; margin: 0 auto 2px; transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.cl .cs-car.on .cs-art { transform: scale(1.1) translateY(-2px); }
.cl .cs-n { font: 650 14px/1.2 var(--c-font); white-space: nowrap; }
.cl .cs-p { display: inline-block; min-height: 20px; margin-top: 3px; font: 800 17px/1.15 var(--c-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; transform-origin: 0 60%; }
.cl .cs-m { margin-top: 1px; font-size: 12.5px; color: var(--c-ink2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl .cs-tring { position: absolute; left: 0; top: 0; z-index: 2; border-radius: 20px; box-shadow: inset 0 0 0 2px var(--c-ink); pointer-events: none; }
.cl .cs-rh { display: flex; align-items: center; justify-content: space-between; padding: 18px max(16px, env(safe-area-inset-left)) 0; }
.cl .cs-rh h2 { margin: 0; font: 700 15px/1.2 var(--c-font); }
.cl .cs-help { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; font: 600 14px/1 var(--c-font); color: var(--c-ink2); cursor: pointer; }
.cl .cs-help svg { width: 17px; height: 17px; }
.cl .cs-radii { position: relative; z-index: 0; display: flex; gap: 8px; width: max-content; padding: 10px max(16px, env(safe-area-inset-left)) 4px; }
.cl .cs-r { position: relative; width: 60px; height: 48px; border: 0; border-radius: 15px; background: transparent; color: var(--c-ink); font: 750 17px/1 var(--c-display); letter-spacing: -.01em; cursor: pointer; transition: color .3s; }
.cl .cs-r::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 15px; background: #fff; box-shadow: var(--c-shadow-s); }
.cl .cs-r small { margin-right: 1px; font-size: 11px; font-weight: 700; color: var(--c-ink3); transition: color .3s; }
.cl .cs-r.on { color: #fff; }
.cl .cs-r.on small { color: rgba(255, 255, 255, .6); }
.cl .cs-rind { position: absolute; left: 0; top: 0; border-radius: 15px; background: var(--c-ink); }
.cl .cs-note { margin: 14px max(16px, env(safe-area-inset-left)) 0; font-size: 13px; line-height: 1.4; color: var(--c-ink2); }
.cl .cs-sheet .c-switch { margin: 10px max(16px, env(safe-area-inset-left)) 0; }
.cl .cs-tyre svg { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 8px; }
.cl .cs-sum { display: inline-block; margin: 0 8px 0 auto; font-size: 14.5px; font-weight: 600; opacity: .62; white-space: nowrap; }
@media (hover: hover) { .cl .cs-car:not(.on):hover { background: rgba(255, 255, 255, .6); } .cl .cs-r:not(.on):hover::before { box-shadow: var(--c-shadow-s), inset 0 0 0 1.5px #d2d2d7; } }
/* the wizard's dock on a phone (02.1–05.1): no dark sheet — «what is chosen» over one black button with its summary */
.cl .nd-over { display: none; }
@media (max-width: 1023px) {
  .cl .c-wz .c-dock-in.nd { background: linear-gradient(rgba(245, 245, 247, 0), var(--c-bg) 30%); box-shadow: none; border-radius: 0; padding-top: 22px; color: var(--c-ink); }
  .cl .c-wz .c-dock-in.nd .c-dock-line, .cl .c-wz .c-dock-in.nd .c-dock-note, .cl .c-wz .c-dock-in.nd .c-total, .cl .c-wz .c-dock-in.nd .c-total-no { display: none; }
  .cl .c-wz .c-dock-in.nd .c-dock-row { margin-top: 0; }
  .cl .c-wz .c-dock-in.nd #next { flex: 1; justify-content: flex-start; min-height: 58px; padding: 0 20px 0 22px; border-radius: 18px; background: var(--c-ink); color: #fff; font-size: 17px; }
  .cl .c-wz .c-dock-in.nd #next.off { opacity: 1; background: #3a3a3c; }
  .cl .c-wz .c-dock-in.nd .c-hint { margin: 0 0 10px; color: var(--c-ink); }
  .cl .c-wz .c-dock-in.nd .nd-over { display: flex; justify-content: space-between; gap: 10px; margin: 0 4px 8px; font-size: 13px; color: var(--c-ink2); }
  .cl .nd-over span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cl .nd-over b { flex: none; color: var(--c-ink); font-weight: 650; font-variant-numeric: tabular-nums; }
}
@media (min-width: 600px) {
  .cl .c-wz .cs { margin: 0; }
  .cl .cs-stage { height: 270px; border-radius: 28px; }
  .cl .cs-stage::after { top: 200px; }
  .cl .cs-hero, .cl .cs-co { top: 44px; width: min(400px, 80%); }
  .cl .cs-sheet { margin-top: 0; padding-top: 22px; background: none; }
  .cl .cs-h, .cl .cs-rh { padding-left: 0; padding-right: 0; }
  .cl .cs-cars, .cl .cs-radii { padding-left: 0; padding-right: 0; }
  .cl .cs-note, .cl .cs-sheet .c-switch { margin-left: 0; margin-right: 0; }
  .cl .cs-scroll#cs-rs { overflow: visible; }
  .cl .cs-radii { flex-wrap: wrap; width: auto; }
  .cl .pm-sheet, .cl .pm-cta { padding-left: max(24px, calc(50% - 300px)); padding-right: max(24px, calc(50% - 300px)); }
}
/* a computer: the map fills the window, the sheet and its button are one card on the left */
@media (min-width: 1024px) {
  .cl .pm.has-map .pm-map { position: fixed; inset: 0; height: auto; }
  .cl .pm.has-map .pm-osm { bottom: 10px; }
  .cl .pm-top { position: fixed; padding: 20px 24px 0; }
  .cl .pm-panel { position: relative; z-index: 3; width: 448px; margin: 84px 0 24px 24px; border-radius: 28px; background: #fff; box-shadow: 0 16px 50px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .06); }
  .cl .pm.no-map .pm-panel { margin: 24px auto 32px; width: 520px; }
  .cl .pm.no-map .pm-top { position: relative; max-width: 520px; margin: 0 auto; padding: 24px 0 0; }
  .cl .pm .pm-sheet { margin: 0; min-height: 0; padding: 24px 24px 8px; border-radius: 28px 28px 0 0; box-shadow: none; background: none; }
  .cl .pm-grab { display: none; }
  .cl .pm .pm-cta { position: sticky; bottom: 0; padding: 12px 24px 24px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 30%); border-radius: 0 0 28px 28px; }
  .cl .pm-name { font-size: 28px; }
  .cl .c-wz .cs-stage { height: 300px; }
  .cl .cs-hero, .cl .cs-co { top: 48px; width: min(440px, 76%); }
  .cl .cs-stage::after { top: 222px; }
}
@media (prefers-reduced-motion: reduce) { .cl .pm-bx.call .sq { animation: none; } }
/* ---------- end of 01.1 + 02.1 ---------- */

/* ================= 03.1 + 04.1 + 05.1 (05.11): services, day and time, contacts ================= */
/* «Ваша машина» / «Ваша запись»: the car flown in from the stage, «Изменить» */
.cl .wz-mine { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; padding: 6px 14px 6px 6px; border-radius: 20px; background: radial-gradient(120% 120% at 30% 60%, #fbfbfc, #e8e9ec); }
.cl .wz-mcar { flex: none; width: 108px; }
.cl .wz-mcar .car { display: block; width: 100%; height: auto; }
.cl .wz-mx { flex: 1; min-width: 0; }
.cl .wz-mx b { display: block; font: 750 16px/1.2 var(--c-font); }
.cl .wz-mx small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.3; color: var(--c-ink2); }
.cl .wz-mch { flex: none; padding: 8px 0; border: 0; background: none; font: 650 14px var(--c-font); cursor: pointer; }
.cl .wz-fly { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; transform-origin: 0 0; }
.cl .wz-fly .car { display: block; width: 100%; height: auto; }
/* the extras as chips */
.cl .c-chips2 { display: flex; flex-wrap: wrap; gap: 8px; }
.cl .c-chip2 { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: #fff; box-shadow: var(--c-shadow-s);
  font: 600 14px var(--c-font); color: var(--c-ink); cursor: pointer; transition: background-color .3s, color .3s, transform .2s var(--c-ease); }
.cl .c-chip2 .c-ic { display: grid; place-items: center; } .cl .c-chip2 .c-ic svg { width: 18px; height: 18px; }
.cl .c-chip2 em { font-style: normal; font-weight: 500; color: var(--c-ink2); transition: color .3s; }
.cl .c-chip2.on { background: var(--c-ink); color: #fff; } .cl .c-chip2.on em { color: rgba(255, 255, 255, .65); }
.cl .c-chip2:active { transform: scale(.96); }
/* the day strip: white tiles, the chosen one in a black ring that flows; «18 окон», few in red */
.cl .c-wz .c-days { position: relative; }
.cl .c-wz .c-day { gap: 2px; background: #fff; color: var(--c-ink); box-shadow: var(--c-shadow-s); }
.cl .c-wz .c-day.on { background: #fff; color: var(--c-ink); box-shadow: var(--c-shadow-s); animation: none; }
.cl .c-wz .c-day.on .wd { color: var(--c-ink2); }
.cl .c-wz .c-day .fr { font: 600 10.5px/1.1 var(--c-font); color: var(--c-ink2); white-space: nowrap; }
.cl .c-wz .c-day.low .fr { color: var(--c-red); }
.cl .c-wz .c-day.shut .fr, .cl .c-wz .c-day.full .fr, .cl .c-wz .c-day.late .fr { color: var(--c-mute); }
.cl .c-dring { position: absolute; left: 0; top: 0; z-index: 2; border-radius: 16px; box-shadow: inset 0 0 0 2px var(--c-ink); pointer-events: none; }
.cl .c-wz .c-days { grid-auto-columns: 64px; padding-top: 4px; }
.cl .c-wz .c-day { min-height: 72px; border-radius: 16px; }
.cl .c-wz .c-day.on .dm { color: var(--c-ink); }
.cl .c-wz .c-tg-h { display: flex; align-items: center; gap: 6px; }
.cl .c-wz .c-tg-h svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .cl .c-chip2, .cl .c-dring { transition: none; } }
/* ---------- end of 03.1 + 04.1 + 05.1 ---------- */
