/* Ozim 2.0 · Букинг и памятка (этап 1, 17.11.2026).
   Перенос макета design/ozim2/project/bk.css на настоящие страницы.
   Подключается ТОЛЬКО на экранах с {% set b2 = true %} — вместо app.css и
   tw.css, поэтому короткие имена (.card, .row, .chip) с CRM не пересекаются.

   Цвет — наш синий #2962FF целыми полями, тёмно-синий для «карт», подложка
   тонированная, белое — только карточки. Текст Onest, цифры Geist (шрифт
   подключён только для 0123456789: и стоит первым в стеке). Стекло — только
   у закреплённых панелей и кнопок поверх контента.

   Шапка шагов — position: sticky, нижняя панель — position: fixed, у
   страницы отступ снизу. Прокрутку body не блокируем никогда (без
   overflow: hidden на body и предках шапки). */

:root {
  --blue: #2962FF;
  --blue-hi: #5A86FF;
  --blue-lo: #1B47E3;
  --blue-ink: #0E2B8F;
  --navy: #0A1536;
  --navy-2: #14214D;
  --sky: #D9E3FF;
  --sky-2: #ECF1FF;
  --ground: #E5EAF4;
  --ground-2: #D8DFEC;
  --card: #FFFFFF;
  --ink: #0A1124;
  --ink2: #36405A;
  --ink3: #646E88;
  --ink4: #98A1B7;
  --hair: rgba(10, 17, 36, .09);
  --go: #15704B;
  --go-hi: #2C9C6E;
  --amber: #A65A05;
  --amber-bg: #FFEFD6;
  --red: #C42F2A;
  --f: 'Geist', 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --lift: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 0 0 1px rgba(10, 17, 36, .04), 0 14px 34px -20px rgba(18, 38, 110, .38);
  --col: 480px;
  /* Отступ закреплённых панелей от низа. Владелец 18.11.2026: «кнопка снизу
     находится прям слишком низко». Минимум 24px; у iPhone с полоской «домой» —
     над ней. В Telegram iOS env() пустой (нет viewport-fit=cover), там свою
     вставку отдаёт telegram-web-app.js переменной --tg-safe-area-inset-bottom. */
  --safe-b: max(24px, calc(env(safe-area-inset-bottom) + 8px), calc(var(--tg-safe-area-inset-bottom, 0px) + 8px));
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Цвет верха экрана (--top) ставит base.html из tg_bg страницы. Safari 26 на
   iPhone красит полосу со временем и батареей и полосу у клавиатуры цветом фона
   body (theme-color он больше не читает) — поэтому фон body и html = цвет верха,
   а верхний край страницы ровный, этого же цвета (.pg::before). Владелец
   18.11.2026: «где время зарядка итп там цвета нет сайта». */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background-color: var(--top, #E5EAF4); }
body.cx { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--top, var(--ground)); }
.cx, .cx *, .cx *::before, .cx *::after { box-sizing: border-box; }
.cx { font-family: var(--f); font-size: 15px; line-height: 1.4; color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums proportional-nums; text-wrap: pretty; -webkit-tap-highlight-color: transparent; }
.cx :where(a) { color: inherit; text-decoration: none; }
.cx :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
.cx :where(input, textarea, select) { font: inherit; color: inherit; }
.cx :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
.cx :where(ul, ol) { list-style: none; }
.cx img { display: block; max-width: 100%; }
.cx :where(a, button, input, textarea, summary, [tabindex]):focus { outline: none; }
.cx :where(a, button, summary, [tabindex]):focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.cx .on-dark :where(a, button):focus-visible, .cx :where(.pg.blue, .pg.navy, .pg.go, .pg.err, .fld-blue, .fld-navy, .st:not(.lt)) :where(a, button):focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.s { width: 18px; height: 18px; }
.i.xs { width: 14px; height: 14px; stroke-width: 2.4; }
.i.l { width: 26px; height: 26px; }

/* ── страница ── */
.pg { position: relative; min-height: 100vh; min-height: 100dvh; overflow-x: clip; isolation: isolate; background: var(--ground); }
.pg.step { background: radial-gradient(140% 420px at 50% -60px, #C7D6FF 0%, rgba(199, 214, 255, 0) 72%) no-repeat, var(--ground); }
.pg.blue, .fld-blue { background: radial-gradient(120% 60% at 92% -4%, #5D88FF 0%, rgba(93, 136, 255, 0) 58%), radial-gradient(90% 55% at -10% 104%, #1739C9 0%, rgba(23, 57, 201, 0) 70%), var(--blue); color: #fff; }
.pg.navy, .fld-navy { background: radial-gradient(110% 55% at 90% -6%, #1E347F 0%, rgba(30, 52, 127, 0) 62%), radial-gradient(80% 50% at -10% 105%, #102466 0%, rgba(16, 36, 102, 0) 70%), var(--navy); color: #fff; }
.pg.go { background: radial-gradient(120% 55% at 90% -6%, #34A574 0%, rgba(52, 165, 116, 0) 60%), radial-gradient(90% 50% at -10% 104%, #0E5B3B 0%, rgba(14, 91, 59, 0) 70%), var(--go); color: #fff; }
.pg.err { background: radial-gradient(120% 55% at 90% -6%, #F07A6E 0%, rgba(240, 122, 110, 0) 60%), radial-gradient(90% 50% at -10% 104%, #9E2228 0%, rgba(158, 34, 40, 0) 70%), #CF3B3F; color: #fff; }
.pg.sky { background: radial-gradient(120% 60% at 90% -6%, #F3F6FF 0%, rgba(243, 246, 255, 0) 60%), var(--sky); }
.pg::before, .st::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--top, transparent), rgba(255, 255, 255, 0)); }
/* низ светлых экранов — тоже цвет верха: под панелью «Дальше» и у клавиатуры
   Safari рисует цвет body, шва не будет */
.pg.step, .pg.sky { --fade: var(--top, var(--ground)); }
.grain { position: relative; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--noise); opacity: .16; mix-blend-mode: soft-light; border-radius: inherit; }
.grain > * { position: relative; z-index: 1; }
/* колонка контента: телефон — во всю ширину, компьютер — по центру */
.wrapw { width: 100%; max-width: var(--col); margin-left: auto; margin-right: auto; }
.dsp { height: calc(112px + var(--safe-b)); }
.bsp { height: calc(28px + var(--safe-b)); }

/* ── типографика ── */
.wm { font-family: 'Inter Tight', 'Onest', sans-serif; font-style: italic; font-weight: 700; font-size: 20px; letter-spacing: -.035em; white-space: nowrap; }
.wm b { font-weight: 700; color: var(--blue); }
.disp { font-weight: 750; font-size: 46px; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.h1 { font-weight: 720; font-size: 34px; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-weight: 700; font-size: 24px; line-height: 1.08; letter-spacing: -.028em; }
.h3 { font-weight: 650; font-size: 18px; line-height: 1.2; letter-spacing: -.018em; }
.lead { font-size: 16px; line-height: 1.42; color: var(--ink2); letter-spacing: -.008em; }
.on-dark .lead, .pg.blue .lead, .pg.navy .lead, .pg.go .lead, .pg.err .lead, .fld-blue .lead, .fld-navy .lead { color: rgba(255, 255, 255, .8); }
.t12 { font-size: 12px; line-height: 16px; } .t13 { font-size: 13px; line-height: 18px; } .t14 { font-size: 14px; line-height: 19px; }
.t15 { font-size: 15px; line-height: 21px; } .t16 { font-size: 16px; line-height: 22px; } .t17 { font-size: 17px; line-height: 23px; }
.t20 { font-size: 20px; line-height: 26px; letter-spacing: -.02em; }
.w5 { font-weight: 500; } .w6 { font-weight: 600; } .w7 { font-weight: 700; }
.k2 { color: var(--ink2); } .k3 { color: var(--ink3); } .k4 { color: var(--ink4); }
.kb { color: var(--blue); } .kw { color: #fff; } .kw7 { color: rgba(255, 255, 255, .76); } .kw5 { color: rgba(255, 255, 255, .58); }
.ka { color: var(--amber); } .kg { color: var(--go); } .kr { color: var(--red); }
.num { font-family: var(--f); letter-spacing: -.02em; }
.nw { white-space: nowrap; }
.num-comma { letter-spacing: 0; }

/* ── раскладка ── */
.row { display: flex; align-items: center; } .col { display: flex; flex-direction: column; }
.sp { justify-content: space-between; } .ce { justify-content: center; } .top-a { align-items: flex-start; } .end-a { align-items: flex-end; } .base-a { align-items: baseline; }
.f1 { flex: 1; min-width: 0; } .wrap { flex-wrap: wrap; }
.g2 { gap: 2px; } .g4 { gap: 4px; } .g6 { gap: 6px; } .g8 { gap: 8px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; } .g20 { gap: 20px; }
.px { padding-left: 20px; padding-right: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ttl { padding: 6px 20px 0; display: flex; flex-direction: column; gap: 8px; }

/* ── поверхности ── */
.card { background: var(--card); color: var(--ink); border-radius: 24px; box-shadow: var(--lift); }
.glass { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .45), 0 0 0 1px rgba(10, 17, 36, .05), 0 20px 44px -22px rgba(14, 34, 110, .5); }
.glass.dk { background: rgba(255, 255, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 44px -24px rgba(0, 8, 40, .55); color: #fff; }
.icb { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--blue); flex: none; }
.icb.w { background: rgba(255, 255, 255, .14); color: #fff; }
.icb.wb { background: #fff; color: var(--blue); }
.icb.g { background: #DDF2E8; color: var(--go); }
.icb.a { background: var(--amber-bg); color: var(--amber); }
.icb.sm { width: 32px; height: 32px; border-radius: 10px; }

/* ── шапка шагов: закреплена сверху, стекло появляется при прокрутке ── */
.pin-top { position: sticky; top: 0; z-index: 22; transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.pin-top.on { background: rgba(232, 237, 247, .76); background: color-mix(in srgb, var(--top, #E8EDF7) 78%, transparent); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 10px 24px -20px rgba(14, 34, 110, .6); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px 8px; min-height: 60px; }
.gb { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .16s var(--ease); }
.gb.nil { visibility: hidden; }
.prog { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.prog .s { display: flex; gap: 5px; }
.prog .s i { width: 26px; height: 5px; border-radius: 9px; background: rgba(10, 17, 36, .12); }
.prog .s i.on { background: var(--blue); }
.prog .s i.cur { background: var(--blue); width: 40px; }

/* ── кнопки ── */
.cta { height: 58px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; position: relative;
  padding: 0 7px 0 24px; font-weight: 650; font-size: 17px; letter-spacing: -.012em; background: var(--blue); color: #fff; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 14px 26px -14px rgba(41, 98, 255, .95);
  transition: transform .16s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.cta .ar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cta.c { justify-content: center; padding: 0 24px; }
.cta.wht { background: #fff; color: var(--blue); box-shadow: 0 14px 30px -16px rgba(0, 10, 50, .55); }
.cta.wht .ar { background: var(--blue); color: #fff; }
.cta.wht.go-t { color: var(--go); } .cta.wht.go-t .ar { background: var(--go); }
.cta.wht.err-t { color: #C2333A; } .cta.wht.err-t .ar { background: #C2333A; }
.cta.full { width: 100%; }
.cta .two { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.cta .two small { font-size: 13px; font-weight: 500; opacity: .76; overflow: hidden; text-overflow: ellipsis; }
.cta[aria-disabled="true"] { background: #B8C3DD; box-shadow: none; pointer-events: none; }
.cta[aria-disabled="true"] .ar { background: rgba(255, 255, 255, .22); }
.btn2 { min-height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; position: relative;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--hair), 0 8px 18px -14px rgba(18, 38, 110, .5); white-space: nowrap;
  transition: transform .16s var(--ease), background-color .2s var(--ease); touch-action: manipulation; }
.btn2.b { color: var(--blue); }
.btn2.dk { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.lnk { color: var(--blue); font-weight: 600; }
@media (hover: hover) {
  .cta:hover { background: var(--blue-lo); }
  .cta.wht:hover { background: #F1F4FF; }
  .btn2:hover { background: #F4F6FC; } .btn2.dk:hover { background: rgba(255, 255, 255, .2); }
  .gb:hover { transform: scale(1.04); }
}
/* отклик на касание — сразу, не дожидаясь отпускания */
.cta:active, .cta.press { transform: scale(.97); }
.cta.press { background: var(--blue-lo); }
.cta.wht.press { background: #EEF2FF; }
.btn2:active, .btn2.press, .gb:active, .gb.press { transform: scale(.96); }

/* ── нижняя панель: закреплена у края экрана, страница листается под ней ── */
.dockw { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 12px var(--safe-b); pointer-events: none; }
.dockw::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(118px + var(--safe-b)); z-index: -1;
  background: linear-gradient(to top, var(--fade, var(--ground)) 32%, rgba(255, 255, 255, 0));
  background: linear-gradient(to top, var(--fade, var(--ground)) 32%, color-mix(in srgb, var(--fade, var(--ground)) 0%, transparent)); }
/* открыта клавиатура (bk2.js, класс kb): на формах панель уходит, чтобы не
   закрывать поля; в чате остаётся над клавиатурой с прежним отступом —
   больший у iOS 26 упирается в плашку адреса Safari над клавиатурой */
.dockw { transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s; }
html.kb .dockw:not(.oz-dock) { opacity: 0; transform: translateY(18px); visibility: hidden; pointer-events: none; transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s .16s; }
html.kb .oz-dock { padding-bottom: 14px; }
.dock { pointer-events: auto; position: relative; max-width: calc(var(--col) - 24px); margin: 0 auto; border-radius: 34px; padding: 8px; display: flex; align-items: center; gap: 10px; }
.dock .sum { flex: 1; min-width: 0; padding-left: 12px; display: flex; flex-direction: column; gap: 1px; white-space: nowrap; }
.dock .sum > * { overflow: hidden; text-overflow: ellipsis; }
.dock .sum > :empty { display: none; }
.dock .cta { flex: none; min-width: 150px; }
.dock .cta.f1 { flex: 1; }

/* ── чипы и плашки ── */
.chip, .bk-chip { min-height: 40px; border-radius: 999px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 550; letter-spacing: -.01em;
  background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--hair); white-space: nowrap; transition: background-color .18s var(--ease), color .18s var(--ease), transform .16s var(--ease); touch-action: manipulation; }
.chip.on, .bk-chip.is-on { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -12px rgba(41, 98, 255, .9); }
.chip:active, .bk-chip:active { transform: scale(.96); }
.chip.sm { min-height: 34px; padding: 0 12px; font-size: 14px; }
.chip.dk { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.bk-chip .ck2 { display: none; }
.bk-chip.is-on .ck2 { display: inline; }
.pill { height: 26px; border-radius: 999px; padding: 0 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill.b { background: var(--sky); color: var(--blue-lo); }
.pill.w { background: rgba(255, 255, 255, .18); color: #fff; }
.pill.wb { background: #fff; color: var(--blue); }
.pill.a { background: var(--amber-bg); color: var(--amber); }
.pill.g { background: #DDF2E8; color: var(--go); }
.pill.n { background: rgba(10, 17, 36, .06); color: var(--ink2); }
.pill.lg { height: 32px; padding: 0 12px; font-size: 14px; }

/* ── линейка дня ── */
.rl { position: relative; height: 44px; border-radius: 12px; overflow: hidden; display: flex; background: var(--sky-2); }
.rl .h { flex: 1; border-left: 1px solid rgba(41, 98, 255, .1); }
.rl .h:first-child { border-left: 0; }
.rl .busy { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(10, 17, 36, .13) 0 1.5px, rgba(10, 17, 36, .04) 1.5px 7px); }
.rl .sel { position: absolute; top: 4px; bottom: 4px; border-radius: 9px; background: var(--blue); box-shadow: 0 8px 18px -8px rgba(41, 98, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .3);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 650; transition: left .32s var(--ease), opacity .2s var(--ease); }
.rl .sel.go { background: var(--go); box-shadow: none; }
.rl.tall { height: 60px; border-radius: 14px; }
.rl.tall .sel { border-radius: 10px; }
.rl.thin { height: 26px; border-radius: 8px; }
.rl.thin .sel { top: 3px; bottom: 3px; border-radius: 6px; }
.tks { position: relative; height: 18px; margin-top: 7px; font-size: 12px; line-height: 18px; color: var(--ink3); }
.tks span { position: absolute; top: 0; transform: translateX(-50%); }
.tks span:first-child { transform: none; }
.tks span:last-child { transform: translateX(-100%); }
.lg-sw { width: 18px; height: 10px; border-radius: 3px; flex: none; }
.lg-sw.busy { background: repeating-linear-gradient(135deg, rgba(10, 17, 36, .2) 0 1.5px, rgba(10, 17, 36, .05) 1.5px 5px); }
.lg-sw.free { background: var(--sky-2); box-shadow: inset 0 0 0 1px rgba(41, 98, 255, .15); }
.lg-sw.my { background: var(--blue); }

/* ── плитки «сколько часов» ── */
.hrs { position: relative; min-height: 138px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: var(--lift); padding: 14px 16px 15px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  transition: transform .16s var(--ease), background-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease); touch-action: manipulation; }
.hrs .n { font-size: 58px; font-weight: 600; letter-spacing: -.055em; line-height: .86; }
.hrs .u { font-size: 17px; font-weight: 600; letter-spacing: -.015em; margin-left: 4px; }
.hrs .tag { position: absolute; top: 14px; right: 14px; }
.hrs.on { background: radial-gradient(120% 80% at 90% 0%, #5A86FF 0%, rgba(90, 134, 255, 0) 60%), var(--blue); color: #fff; box-shadow: 0 20px 32px -18px rgba(41, 98, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.hrs.on .k3 { color: rgba(255, 255, 255, .78); }
.hrs.on .pill.b { background: rgba(255, 255, 255, .2); color: #fff; }
.hrs:active { transform: scale(.975); }
.hrs .ld, .sl .ld { position: absolute; top: 12px; right: 12px; }
.sl .ld { top: 6px; right: 6px; }
.rowl { display: flex; align-items: center; gap: 12px; padding: 13px 0; }
.rowl + .rowl { box-shadow: inset 0 1px 0 var(--hair); }
.lnrow { transition: transform .16s var(--ease); touch-action: manipulation; }
.lnrow:active { transform: scale(.985); }
.lnrow.on { box-shadow: 0 0 0 2px var(--blue), 0 18px 30px -20px rgba(41, 98, 255, 1); }

/* раскрывашка «сколько обычно уходит» */
.fold > summary { list-style: none; cursor: pointer; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary .chev { transition: transform .25s var(--ease); }
.fold[open] > summary .chev { transform: rotate(180deg); }
.fold .fold-b { animation: foldin .28s var(--ease); }
@keyframes foldin { from { opacity: 0; transform: translateY(-4px); } }

/* ── календарь месяца, без ценников ── */
.cal2 { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.cal2 .wd { text-align: center; font-size: 13px; font-weight: 600; color: var(--ink3); padding-bottom: 6px; }
.cal2 .d { height: 48px; display: grid; place-items: center; position: relative; touch-action: manipulation; }
.cal2 .d b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease); }
.cal2 .d.off b { color: #B3BACA; font-weight: 450; }
.cal2 .d.today b { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.cal2 .d.on b { background: var(--blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(41, 98, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.cal2 a.d:active b { transform: scale(.92); }
@media (hover: hover) { .cal2 a.d:not(.on):hover b { background: var(--sky-2); } }
.cal2 .d .ld { position: absolute; top: 50%; left: 50%; margin: -8px 0 0 -8px; }
.cal2 .d.is-busy b { color: transparent; }
.cal2 .bk-day-next { grid-column: span var(--span, 7); align-self: center; justify-self: stretch; height: 44px; margin: 2px 4px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; background: var(--sky); color: var(--blue-lo); font-size: 14px; font-weight: 650; }
.mon-nav { height: 38px; padding: 0 14px; font-size: 15px; gap: 2px; }
.mon-nav.prev { padding: 0 14px 0 10px; }
.mon-nav.next { padding: 0 10px 0 14px; }

/* ── старты (время) ── */
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sl { position: relative; height: 58px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--hair); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease), box-shadow .2s var(--ease); touch-action: manipulation; }
.sl b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 21px; }
.sl s { text-decoration: none; font-size: 11px; color: var(--ink3); line-height: 13px; }
.sl.on { background: var(--blue); color: #fff; box-shadow: 0 12px 22px -12px rgba(41, 98, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.sl.on s { color: rgba(255, 255, 255, .8); }
.sl:active { transform: scale(.95); }
@media (hover: hover) { .sl:not(.on):hover { background: var(--sky-2); } }
@media (max-width: 359px) { .slots { grid-template-columns: repeat(3, 1fr); } }

/* плашки предупреждений */
.note { border-radius: 18px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 19px; }
.note.a { background: var(--amber-bg); color: #6E3D04; }
.note.r { background: #FDE4E2; color: #8E1F1B; }
.note.b { background: #fff; color: var(--ink2); box-shadow: var(--lift); }
.note .i { margin-top: -1px; }

/* ── поля ── */
.fld { display: flex; flex-direction: column; gap: 7px; position: relative; }
.fld .lb { font-size: 13px; font-weight: 600; color: var(--ink2); padding-left: 4px; }
.inp { width: 100%; min-height: 58px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--hair); padding: 0 18px; font-size: 17px; letter-spacing: -.01em;
  -webkit-appearance: none; appearance: none; transition: box-shadow .18s var(--ease); }
textarea.inp { min-height: 78px; padding: 16px 18px; resize: none; line-height: 1.35; display: block; }
.inp::placeholder { color: var(--ink4); opacity: 1; }
.inp:focus { box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px rgba(41, 98, 255, .14); }
.inp.is-bad, .inp.uz-invalid { box-shadow: 0 0 0 2px var(--red), 0 0 0 6px rgba(196, 47, 42, .12); }
.fld-err { font-size: 13px; line-height: 17px; color: var(--red); padding-left: 4px; font-weight: 550; }
.fld-err:empty { display: none; }
.known { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: #fff; box-shadow: var(--lift); }
.bk-known-name { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }

/* промокод */
.promo > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 4px; color: var(--blue); font-weight: 600; font-size: 15px; }
.promo > summary::-webkit-details-marker { display: none; }
.promo[open] > summary { color: var(--ink2); }
.promo-row { display: flex; gap: 8px; margin-top: 8px; }
.promo-row .inp { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-row .btn2 { min-height: 58px; border-radius: 18px; padding: 0 18px; }
.promo-st { font-size: 13px; line-height: 17px; padding: 6px 4px 0; color: var(--ink3); }
.promo-st.is-ok { color: var(--go); font-weight: 600; }
.promo-st.is-err { color: var(--red); font-weight: 550; }

/* оплата */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 22px; background: rgba(10, 17, 36, .05); }
.seg > * { border-radius: 17px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.seg .on { background: #fff; box-shadow: 0 0 0 1.5px var(--blue), 0 10px 20px -14px rgba(41, 98, 255, .9); }
.seg .off { opacity: .55; }
.radio { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink4); flex: none; display: grid; place-items: center; }
.radio.on { box-shadow: inset 0 0 0 7px var(--blue); }

/* сводка-билет на шаге 4 */
.dt { width: 66px; height: 66px; border-radius: 20px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none;
  box-shadow: 0 12px 22px -12px rgba(41, 98, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.dt b { font-size: 28px; font-weight: 650; line-height: 28px; letter-spacing: -.03em; }
.sumrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 0; margin-top: 14px; box-shadow: inset 0 1px 0 var(--hair); }

/* ── бронь готова ── */
.tkt { position: relative; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 20, 60, .55); }
.tkt .cut { position: relative; height: 0; border-top: 2px dashed rgba(10, 17, 36, .12); margin: 0 22px; }
.tkt .cut::before, .tkt .cut::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--notch, var(--go)); }
.tkt .cut::before { left: -35px; } .tkt .cut::after { right: -35px; }
.code { font-size: 46px; font-weight: 650; letter-spacing: .01em; line-height: 1; }
.bigt { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 36px; }
.pair { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px; }
.pair .line { position: relative; height: 34px; display: flex; align-items: center; justify-content: center; }
.pair .line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(10, 17, 36, .14); }
.pair .line span { position: relative; }
.act { height: 76px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; position: relative;
  transition: transform .16s var(--ease), background-color .2s var(--ease); touch-action: manipulation; }
.act:active, .act.press { transform: scale(.96); }
.okc { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.okc .i { width: 30px; height: 30px; stroke-width: 2.4; }
.okc path { stroke-dasharray: 30; stroke-dashoffset: 0; animation: draw .7s var(--ease) .2s both; }
@keyframes draw { from { stroke-dashoffset: 30; } }
.stc { width: 50px; height: 50px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 200deg, #fff, #BFF0D8, #fff, #CFE0FF, #fff); flex: none; transition: transform .16s var(--ease); }
.stc > span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 2.5px var(--go); }
.stc .i { width: 20px; height: 20px; }
.stc:active { transform: scale(.92); }
.calc { font-size: 13px; color: var(--ink3); }
@media (max-width: 359px) { .code { font-size: 40px; } .bigt { font-size: 30px; } .stc { width: 44px; height: 44px; } }

/* ── главная ── */
.hero-c { position: relative; overflow: hidden; border-radius: 30px; }
.hero-img { display: block; width: 320px; max-width: 86%; margin: -22px -34px -30px auto; mix-blend-mode: luminosity;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); position: relative; z-index: 1; }
.flag { width: 18px; height: 18px; border-radius: 50%; overflow: hidden; display: inline-block; flex: none; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18); }
.flag svg { display: block; width: 18px; height: 18px; }
.lang { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 8px; border-radius: 999px; font-size: 14px; font-weight: 650; color: var(--ink2); position: relative; }
.lang.on { background: var(--blue); color: #fff; box-shadow: 0 8px 16px -10px rgba(41, 98, 255, 1); }
.mine { display: block; position: relative; overflow: hidden; border-radius: 24px; padding: 16px 18px; color: #fff;
  background: radial-gradient(110% 90% at 90% 0%, #6E95FF 0%, rgba(110, 149, 255, 0) 60%), linear-gradient(160deg, #3A6EFF, #2259F5 60%, #1C47D8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 24px 40px -22px rgba(0, 8, 40, .8); transition: transform .16s var(--ease); }
.mine:active { transform: scale(.98); }
.mine .n { font-size: 44px; font-weight: 650; letter-spacing: -.045em; line-height: 1; }

/* лист «что входит» */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: var(--col); max-height: 88vh; border-radius: 28px 28px 0 0; background: #fff; color: var(--ink);
  box-shadow: 0 -20px 60px -20px rgba(0, 10, 40, .5); overflow: auto; font-family: var(--f); }
.sheet::backdrop { background: rgba(10, 17, 36, .42); }
.sheet[open] { animation: sheetin .32s var(--ease); }
.sheet.is-closing { animation: sheetout .2s var(--ease) forwards; }
@keyframes sheetin { from { transform: translateY(40px); opacity: 0; } }
@keyframes sheetout { to { transform: translateY(40px); opacity: 0; } }
.sheet .grab { width: 40px; height: 5px; border-radius: 9px; background: rgba(10, 17, 36, .14); margin: 10px auto 0; }
.sheet-b { padding: 14px 20px calc(18px + var(--safe-b)); display: flex; flex-direction: column; gap: 14px; }
.sheet-tx { white-space: pre-line; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.ibtn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--ink3); position: relative; z-index: 2; }
.hrs.on .ibtn { color: rgba(255, 255, 255, .85); }

/* ── памятка: сторис ── */
.st { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; isolation: isolate; color: #fff; --st-bg: var(--blue); }
.st.lt { color: var(--ink); }
.st-in { width: 100%; max-width: var(--col); margin: 0 auto; flex: 1; display: flex; flex-direction: column; }
.st-bars { display: flex; gap: 4px; padding: 10px 14px 0; position: relative; z-index: 6; }
.st-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.st-bars i.on { background: #fff; }
.st-bars i.cur::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: stbar .5s var(--ease) both; }
@keyframes stbar { from { transform: scaleX(0); } }
.st.lt .st-bars i { background: rgba(10, 17, 36, .14); } .st.lt .st-bars i.on, .st.lt .st-bars i.cur::after { background: var(--ink); }
.st-head { display: flex; align-items: center; gap: 10px; padding: 12px 10px 0 16px; position: relative; z-index: 6; }
.st-logo { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; flex: none;
  font-family: 'Inter Tight', sans-serif; font-style: italic; font-weight: 700; font-size: 15px; letter-spacing: -.04em; }
.st.lt .st-logo { background: var(--blue); color: #fff; }
.st-head .kw7 { color: rgba(255, 255, 255, .72); }
.st.lt .st-head .kw7 { color: var(--ink3); }
.st-x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-left: auto; }
.st-body { flex: 1; position: relative; z-index: 2; padding: 22px 22px 8px; display: flex; flex-direction: column; }
.st-nav { position: sticky; bottom: 0; z-index: 8; display: grid; grid-template-columns: 1fr 1.45fr; gap: 10px; padding: 18px 16px var(--safe-b);
  background: linear-gradient(to top, var(--st-bg) 62%, transparent); }
.st-nav.one { grid-template-columns: 1fr; }
.st-nav a { height: 60px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650; font-size: 17px; letter-spacing: -.012em;
  transition: transform .16s var(--ease); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.st-nav a:active { transform: scale(.97); }
.st-nav .back { background: rgba(255, 255, 255, .15); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.st-nav .next { background: #fff; color: var(--blue); box-shadow: 0 16px 30px -16px rgba(0, 10, 50, .6); }
.st.lt .st-nav .back { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--hair); }
.st.lt .st-nav .next { background: var(--blue); color: #fff; box-shadow: 0 14px 26px -14px rgba(41, 98, 255, .95); }
.st.go .st-nav .next { color: var(--go); }
.st.navy .st-nav .next { color: var(--navy); }
.st-k { font-size: 14px; font-weight: 650; letter-spacing: -.005em; display: inline-flex; align-items: center; gap: 8px; }
.st-k .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(255, 255, 255, .18); }
.st.lt .st-k .n { background: var(--blue); color: #fff; }
.st.blue { --st-bg: #2558F2; }
.st.navy { --st-bg: #0C1838; }
.st.sky { --st-bg: var(--sky); background: radial-gradient(120% 50% at 90% -6%, #F2F5FF 0%, rgba(242, 245, 255, 0) 60%), var(--sky); }
.st.gr { --st-bg: var(--ground); background: radial-gradient(120% 50% at 90% -6%, #F4F6FB 0%, rgba(244, 246, 251, 0) 60%), var(--ground); }
.st.go { --st-bg: #136A47; }
.st.blue { background: radial-gradient(120% 60% at 92% -4%, #5D88FF 0%, rgba(93, 136, 255, 0) 58%), radial-gradient(90% 55% at -10% 104%, #1739C9 0%, rgba(23, 57, 201, 0) 70%), var(--blue); }
.st.navy { background: radial-gradient(110% 55% at 90% -6%, #1E347F 0%, rgba(30, 52, 127, 0) 62%), radial-gradient(80% 50% at -10% 105%, #102466 0%, rgba(16, 36, 102, 0) 70%), var(--navy); }
.st.go { background: radial-gradient(120% 55% at 90% -6%, #34A574 0%, rgba(52, 165, 116, 0) 60%), radial-gradient(90% 50% at -10% 104%, #0E5B3B 0%, rgba(14, 91, 59, 0) 70%), var(--go); }
.st .card { color: var(--ink); }
.st-pane { animation: stin .34s var(--ease); }
@keyframes stin { from { opacity: 0; transform: translateX(14px); } }
.st-pane.back-in { animation-name: stinb; }
@keyframes stinb { from { opacity: 0; transform: translateX(-14px); } }
.route { display: flex; flex-direction: column; }
.route .stp2 { display: grid; grid-template-columns: 44px 1fr; gap: 14px; position: relative; padding-bottom: 18px; }
.route .stp2:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 2px; border-left: 2px dashed rgba(255, 255, 255, .28); }
.route .nd { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #fff; }
.route .nd.b { background: var(--blue); box-shadow: 0 10px 22px -10px rgba(41, 98, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.banner { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; border-radius: 10px; background: var(--blue); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 14px 26px -12px rgba(41, 98, 255, 1); }
.banner .a { width: 28px; height: 28px; border-radius: 7px; background: #fff; color: var(--blue); display: grid; place-items: center; }
.li { display: flex; gap: 12px; align-items: flex-start; }
.ck { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .16); color: #fff; margin-top: 1px; }
.ck .i { width: 14px; height: 14px; stroke-width: 2.4; }
.ck.b { background: var(--sky); color: var(--blue); }
.tl { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: start; }
.soft { border-radius: 20px; padding: 14px 16px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--hair); }
.eqs { display: flex; gap: 8px; }
.eqs img { width: calc((100% - 16px) / 3); aspect-ratio: 110 / 68; object-fit: cover; border-radius: 16px; }

/* ── переходы между экранами (View Transitions) ──
   Новый экран въезжает справа, старый уходит влево с притемнением — как
   push в iOS; «назад» — зеркально. Шапка шага и нижняя панель стоят на месте
   и перетекают (свои имена), едет только содержимое. Экран результата
   (бронь, ошибка, заявка) раскрывается кругом от кнопки; закрытие результата —
   он уезжает вниз. Направление ставит скрипт в <head> base.html (data-vt). */
@view-transition { navigation: auto; }
.pin-top { view-transition-name: bk-top; }
.dockw { view-transition-name: bk-dock; }
::view-transition-group(*) { animation-duration: .42s; animation-timing-function: var(--ease); }
::view-transition-old(*), ::view-transition-new(*) { animation-duration: .42s; animation-timing-function: var(--ease); }

html[data-vt="fwd"]::view-transition-old(root), html[data-vt="back"]::view-transition-old(root),
html[data-vt="fwd"]::view-transition-new(root), html[data-vt="back"]::view-transition-new(root),
html[data-vt="reveal"]::view-transition-old(root), html[data-vt="reveal"]::view-transition-new(root),
html[data-vt="close"]::view-transition-old(root), html[data-vt="close"]::view-transition-new(root) { mix-blend-mode: normal; }

html[data-vt="fwd"]::view-transition-new(root) { animation: vt-in-r .44s var(--ease) both; box-shadow: -18px 0 40px -12px rgba(10, 17, 36, .28); }
html[data-vt="fwd"]::view-transition-old(root) { animation: vt-out-l .44s var(--ease) both; }
html[data-vt="back"]::view-transition-new(root) { animation: vt-in-l .44s var(--ease) both; }
html[data-vt="back"]::view-transition-old(root) { animation: vt-out-r .44s var(--ease) both; z-index: 1; box-shadow: -18px 0 40px -12px rgba(10, 17, 36, .28); }
html[data-vt="reveal"]::view-transition-new(root) { animation: vt-reveal .62s cubic-bezier(.5, 0, .12, 1) both; }
html[data-vt="reveal"]::view-transition-old(root) { animation: vt-sink .62s var(--ease) both; }
html[data-vt="close"]::view-transition-new(root) { animation: vt-rise-in .42s var(--ease) both; }
html[data-vt="close"]::view-transition-old(root) { animation: vt-drop .42s var(--ease) both; z-index: 1; }
html[data-vt="fade"]::view-transition-old(*), html[data-vt="fade"]::view-transition-new(*) { animation-duration: .22s; }
html[data-vt="fade"]::view-transition-group(*) { animation-duration: .22s; }

/* шапка/панель есть только на одном из экранов — едут вместе с ним */
html[data-vt="fwd"]::view-transition-new(bk-top):only-child, html[data-vt="fwd"]::view-transition-new(bk-dock):only-child { animation: vt-in-r .44s var(--ease) both; }
html[data-vt="fwd"]::view-transition-old(bk-top):only-child, html[data-vt="fwd"]::view-transition-old(bk-dock):only-child { animation: vt-out-l .44s var(--ease) both; }
html[data-vt="back"]::view-transition-new(bk-top):only-child, html[data-vt="back"]::view-transition-new(bk-dock):only-child { animation: vt-in-l .44s var(--ease) both; }
html[data-vt="back"]::view-transition-old(bk-top):only-child, html[data-vt="back"]::view-transition-old(bk-dock):only-child { animation: vt-out-r .44s var(--ease) both; }
html[data-vt="reveal"]::view-transition-old(bk-top):only-child, html[data-vt="reveal"]::view-transition-old(bk-dock):only-child { animation: vt-fade-out .22s ease-out both; }
html[data-vt="close"]::view-transition-old(bk-top):only-child, html[data-vt="close"]::view-transition-old(bk-dock):only-child { animation: vt-drop .42s var(--ease) both; }
html[data-vt="close"]::view-transition-new(bk-top):only-child, html[data-vt="close"]::view-transition-new(bk-dock):only-child { animation: vt-fade-in .3s ease-out .08s both; }

@keyframes vt-in-r { from { transform: translateX(100%); } }
@keyframes vt-in-l { from { transform: translateX(-28%); filter: brightness(.88); } }
@keyframes vt-out-l { to { transform: translateX(-28%); filter: brightness(.88); } }
@keyframes vt-out-r { to { transform: translateX(100%); } }
@keyframes vt-reveal { from { clip-path: circle(0% at 72% 94%); } to { clip-path: circle(150% at 72% 94%); } }
@keyframes vt-sink { to { transform: scale(.94); filter: brightness(.8); } }
@keyframes vt-drop { to { transform: translateY(14%) scale(.96); opacity: 0; } }
@keyframes vt-rise-in { from { transform: scale(.97); opacity: .4; } }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* браузер без переходов между страницами — экран мягко проявляется */
.no-vt .pg { animation: vt-fade-in .3s ease-out both; }
.no-vt .pg > .wrapw, .no-vt .pg > form { animation: pg-rise .42s var(--ease) both; }
@keyframes pg-rise { from { transform: translateY(10px); } }

/* ── «Бокс ваш.»: вступление ──
   Фон распускается от галочки, галочка пружинит и рисуется, волна, заголовок
   поднимается из-под маски, билет выезжает и оседает, цифры номера
   прокатываются (bk2.js), «Забронировано» щёлкает, линейка растёт, сторис и
   кнопки — волной. .sx-seen (вернулись из памятки) — без вступления. */
.sx .okc { position: relative; animation: sx-pop .72s cubic-bezier(.34, 1.56, .64, 1) .16s both; }
.sx .okc::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(170, 245, 205, .55), rgba(170, 245, 205, 0)); animation: sx-bloom 1.3s cubic-bezier(.2, .7, .2, 1) .12s both; }
.sx .okc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); pointer-events: none; animation: sx-ring 1s cubic-bezier(.2, .7, .2, 1) .36s both; }
.sx .okc path { animation: draw .5s var(--ease) .44s both; }
.sx .sx-mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.sx .sx-mask > span { display: inline-block; animation: sx-rise .72s var(--ease) .28s both; }
.sx .lead { animation: sx-up .6s var(--ease) .4s both; }
.sx .tkt { transform-origin: 50% 100%; animation: sx-tkt .95s cubic-bezier(.22, 1.18, .36, 1) .44s both; }
.sx .tkt .pill.g { animation: sx-click .5s cubic-bezier(.34, 1.56, .64, 1) 1s both; }
.sx .tkt .rl .sel { transform-origin: left center; animation: sx-grow .8s var(--ease) 1.1s both; }
.sx .sx-st { animation: sx-up .6s var(--ease) .95s both; }
.sx .stc { animation: sx-pop .55s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(1.05s + var(--i, 0) * 60ms); }
.sx .act { animation: sx-up .55s var(--ease) both; animation-delay: calc(1.2s + var(--i, 0) * 70ms); }
.sx .sx-last { animation: sx-up .55s var(--ease) 1.4s both; }
.sx.sx-lite .tkt { animation-delay: .38s; }
.sx.sx-lite .sx-st, .sx.sx-lite .sx-last { animation-delay: .8s; }
.sx.sx-seen *, .sx.sx-seen *::before, .sx.sx-seen *::after { animation: none !important; }
.code .dg { position: relative; display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.code .dg > i { font-style: normal; visibility: hidden; }
.code .dg > span { position: absolute; left: 50%; top: 0; transform: translate(-50%, 0); transition: transform .9s cubic-bezier(.16, .9, .22, 1); }
.code .dg > span > b { display: block; height: 1em; font-weight: inherit; text-align: center; }
.code.rolling .dg { -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.sx-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }
@keyframes sx-pop { 0% { transform: scale(0) rotate(-20deg); } 60% { transform: scale(1.12) rotate(3deg); } 100% { transform: none; } }
@keyframes sx-bloom { from { transform: scale(.3); opacity: 1; } to { transform: scale(9); opacity: 0; } }
@keyframes sx-ring { from { transform: scale(1); opacity: 1; } to { transform: scale(2.5); opacity: 0; } }
@keyframes sx-rise { from { transform: translateY(108%); } }
@keyframes sx-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes sx-tkt { 0% { opacity: 0; transform: translateY(80px) rotate(-4deg) scale(.94); } 35% { opacity: 1; } 100% { transform: none; } }
@keyframes sx-click { 0% { transform: scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes sx-grow { from { transform: scaleX(0); } }

/* ── памятка: сторис листаются пальцем ──
   Текущая карточка — в потоке страницы (листается вниз как обычно), соседняя
   на время жеста стоит поверх фиксированно и показывает свой верх. Отпустили —
   карточки доезжают пружиной (bk2.js не нужен, всё в memo.html). */
#memo.mx { touch-action: pan-y; }
#memo.mx .st-pane { animation: none; }
#memo .st.st-peek { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; z-index: 40; }
#memo .st.st-move, #memo .st.st-peek { will-change: transform; }
#memo .st.st-peek .st-bars i.cur::after { animation: none; transform: scaleX(0); }
.mx-drag, .mx-drag * { -webkit-user-select: none; user-select: none; }
.st-bars i.cur::after { animation-duration: .65s; }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: vt-fade-in .18s linear both !important; transform: none !important; clip-path: none !important; filter: none !important; box-shadow: none !important; }
  ::view-transition-old(*) { animation-name: vt-fade-out !important; }
  .no-vt .pg, .no-vt .pg > .wrapw, .no-vt .pg > form { animation: none; }
  .sx *, .sx *::before, .sx *::after { animation: none !important; }
}

/* ── нажатие и загрузка: защита от двойного нажатия ── */
.spin { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .75s linear infinite; flex: none; }
.spin.b { border-color: rgba(41, 98, 255, .22); border-top-color: var(--blue); }
.spin.s { width: 16px; height: 16px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-busy { cursor: progress; }
.cta.is-busy { background: var(--blue-lo); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.cta.wht.is-busy { background: #F1F4FF; }
/* пока уходит одно нажатие, остальные кнопки страницы не принимают касаний */
html.is-going .cx a, html.is-going .cx button, html.is-going .cx summary, html.is-going .cx label { pointer-events: none; }
html.is-going .is-busy { pointer-events: none; }
.toast { position: fixed; left: 50%; top: max(14px, env(safe-area-inset-top)); z-index: 60; transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  max-width: min(92vw, 420px); padding: 12px 18px; border-radius: 18px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  box-shadow: 0 20px 40px -18px rgba(0, 10, 40, .7); transition: transform .3s var(--ease), opacity .3s var(--ease); text-align: center; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .okc path, .st-pane, .fold .fold-b, .sheet[open], .st-bars i.cur::after, .soon-badge i { animation: none; }
  .spin { animation-duration: 1.6s; }
  .rl .sel { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass.dk { background: rgba(10, 21, 54, .55); }
  .pin-top.on { background: #E8EDF7; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 359px) {
  .h1 { font-size: 30px; } .disp { font-size: 40px; }
  .hrs .n { font-size: 50px; }
  .dock .cta { min-width: 128px; padding-left: 18px; }
}

/* ── абонемент: конструктор и расчёт ── */
.pin-top.dk { color: #fff; }
.pin-top.dk.on { background: rgba(10, 21, 54, .74); }
.ab-hero { margin-top: -60px; padding: 60px 0 26px; }
.big-n { font-weight: 650; letter-spacing: -.05em; line-height: .9; }
.pass-st { position: relative; margin: 34px 16px 0; }
/* «Совсем скоро»: карта под матовым стеклом и плашка поверх */
.pass-st.soon .pass.b1 > * { filter: blur(2.5px); opacity: .75; }
.soon-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px;
  background: rgba(10, 21, 54, .42); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); color: #fff; font-size: 15px; font-weight: 650; white-space: nowrap; }
.soon-badge i { width: 8px; height: 8px; border-radius: 50%; background: #FFC93C; box-shadow: 0 0 0 4px rgba(255, 201, 60, .25); animation: soonp 1.8s ease-in-out infinite; }
@keyframes soonp { 50% { box-shadow: 0 0 0 7px rgba(255, 201, 60, 0); } }
.pass { position: absolute; inset: 0; border-radius: 20px; }
.pass.b1 { position: relative; inset: auto; min-height: 214px; gap: 14px; background: radial-gradient(110% 90% at 90% 0%, #6E95FF 0%, rgba(110, 149, 255, 0) 60%), linear-gradient(160deg, #3A6EFF, #2259F5 60%, #1C47D8); color: #fff; padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 24px 40px -18px rgba(0, 8, 40, .8); }
.pass.b1.wash { background: radial-gradient(110% 90% at 90% 0%, #5FD3C4 0%, rgba(95, 211, 196, 0) 60%), linear-gradient(160deg, #1FA894, #148A7A 60%, #0E6F63); }
.pass.b2 { inset: auto 15px auto 15px; top: -12px; height: 80px; background: linear-gradient(160deg, #A9C1FF, #7C9DFF); opacity: .45; }
.pass.b3 { inset: auto 30px auto 30px; top: -24px; height: 80px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.pass .tags { display: flex; flex-wrap: wrap; gap: 4px; min-height: 0; }
.pass .tags span { height: 20px; padding: 0 8px; border-radius: 99px; background: rgba(255, 255, 255, .2); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.bump { animation: bump .32s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); } }
.sec { margin: 12px 16px 0; padding: 18px 16px 16px; }
.sec > .h3, .sec .sec-h { margin-bottom: 14px; }
/* настоящие input прячем, рисуем карточки; фокус с клавиатуры — на карточке */
.ab-radio, .ab-check { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
label:has(> .ab-radio:focus-visible), label:has(> .ab-check:focus-visible) { outline: 2.5px solid var(--blue); outline-offset: 3px; }
.opt { position: relative; border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--sky-2); box-shadow: inset 0 0 0 1px rgba(41, 98, 255, .08);
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease); touch-action: manipulation; }
.opt:active { transform: scale(.98); }
.opt:has(.ab-radio:checked) { background: radial-gradient(120% 80% at 90% 0%, #5A86FF 0%, rgba(90, 134, 255, 0) 60%), var(--blue); color: #fff;
  box-shadow: 0 18px 30px -18px rgba(41, 98, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.opt:has(.ab-radio:checked) .k3 { color: rgba(255, 255, 255, .8); }
.opt:has(.ab-radio:checked) .icb { background: rgba(255, 255, 255, .18); color: #fff; }
.seg > label { cursor: pointer; position: relative; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.seg > label:has(.ab-radio:checked) { background: #fff; box-shadow: 0 0 0 1.5px var(--blue), 0 10px 20px -14px rgba(41, 98, 255, .9); }
.seg > label:has(.ab-radio:checked) .radio { box-shadow: inset 0 0 0 6px var(--blue); }
.seg .radio { width: 20px; height: 20px; }
.stp { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-2); color: var(--blue); transition: transform .16s var(--ease); touch-action: manipulation; }
.stp:active { transform: scale(.92); }
.stp:disabled { color: var(--ink4); cursor: default; }
.sld { position: relative; height: 28px; margin: 18px 14px 0; touch-action: none; cursor: pointer; }
.sld .tr { position: absolute; left: 0; right: 0; top: 11px; height: 6px; border-radius: 6px; background: rgba(10, 17, 36, .09); }
.sld .fi { position: absolute; left: 0; top: 11px; height: 6px; border-radius: 6px; background: var(--blue); }
.sld .mk { position: absolute; top: 10px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(10, 17, 36, .14); }
.sld .mk.in { box-shadow: 0 0 0 2px var(--blue); }
.sld .th { position: absolute; top: 0; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(10, 17, 36, .08), 0 6px 14px -4px rgba(18, 38, 110, .45);
  transition: transform .16s var(--ease); }
.sld.drag .th { transform: scale(1.12); }
.sld-l { position: relative; height: 34px; margin: 8px 14px 0; }
.sld-l > span { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 12px; line-height: 16px; white-space: nowrap; color: var(--ink3); }
.sld-l > span:first-child { transform: translateX(-8px); align-items: flex-start; }
.sld-l > span:last-child { transform: translateX(calc(-100% + 8px)); align-items: flex-end; }
.sld-l > span b { color: var(--ink); font-weight: 600; }
.sld-l > span.on, .sld-l > span.on b { color: var(--blue); font-weight: 650; }
.nudge { margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: var(--sky-2); width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; }
.nudge.max { background: #DDF2E8; }
.nudge.max .lnk { display: none; }
.tgl { width: 52px; height: 32px; border-radius: 99px; background: rgba(10, 17, 36, .12); position: relative; flex: none; transition: background-color .22s var(--ease); }
.tgl::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(10, 17, 36, .25); transition: transform .22s var(--ease); }
label:has(> .ab-check:checked) .tgl { background: var(--blue); }
label:has(> .ab-check:checked) .tgl::after { transform: translateX(20px); }
.wash-only { display: none; }
form[data-kind="wash"] .wash-only { display: flex; }
form[data-kind="wash"] [data-for="box"], form[data-kind="box"] [data-for="wash"] { display: none; }
/* расчёт */
.save { margin: 18px 16px 0; padding: 18px; border-radius: 24px; }
.bars { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.bars .bar2 { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: baseline; }
.bars .trk { grid-column: 1 / -1; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.bars .trk i { display: block; height: 100%; border-radius: 6px; background: rgba(255, 255, 255, .5); }
.bars .bar2.with .trk i { background: #fff; }
.rcp .rr { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 0; }
.rcp .rr + .rr { box-shadow: inset 0 1px 0 var(--hair); }
.rcp .rr small { display: block; font-size: 13px; line-height: 17px; color: var(--ink3); margin-top: 2px; }
.rcp .rr.sub { background: var(--sky-2); margin: 0 -16px; padding: 12px 16px; box-shadow: none; }
.rcp .tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 4px; box-shadow: inset 0 2px 0 var(--ink); }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; line-height: 19px; color: var(--ink2); }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-size: 13px; font-weight: 650; }
.ab-range { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.sec:has(.ab-range:focus-visible) .sld .th { box-shadow: 0 0 0 3px var(--blue), 0 6px 14px -4px rgba(18, 38, 110, .45); }

/* ── Озимжон: синий шарик с глазами и чат на сайте (app/routers/ozimjon.py) ── */
.oz { --s: 40px; position: relative; width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(58% 52% at 32% 22%, rgba(206, 228, 255, .95), rgba(206, 228, 255, 0) 72%), radial-gradient(70% 70% at 84% 94%, #1236C4, rgba(18, 54, 196, 0) 66%), linear-gradient(160deg, #5C8BFF, #2962FF 55%, #1C43D6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), inset 0 calc(var(--s) * -.12) calc(var(--s) * .22) rgba(10, 24, 110, .32), 0 calc(var(--s) * .2) calc(var(--s) * .42) calc(var(--s) * -.24) rgba(41, 98, 255, .9); }
.oz .e { display: flex; gap: calc(var(--s) * .15); margin-top: calc(var(--s) * -.04); transition: transform .5s var(--ease); }
.oz .e i { display: block; width: calc(var(--s) * .11); height: calc(var(--s) * .23); border-radius: 99px; background: #fff; box-shadow: 0 0 calc(var(--s) * .1) rgba(255, 255, 255, .55); animation: ozblink 5.4s var(--ease) infinite; }
.oz.look .e { transform: translateX(calc(var(--s) * .06)); }
.oz.think .e { animation: ozlook 1.5s var(--ease) infinite alternate; }
.oz .live { position: absolute; right: 2%; bottom: 2%; width: 26%; height: 26%; border-radius: 50%; background: #2BD47F; box-shadow: 0 0 0 2.5px #fff; }
@keyframes ozblink { 0%, 91%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } 97% { transform: scaleY(1); } }
@keyframes ozlook { from { transform: translateX(calc(var(--s) * -.07)); } to { transform: translateX(calc(var(--s) * .07)); } }
.oz-on { color: #12945F; }
.oz-on i { width: 7px; height: 7px; border-radius: 50%; background: #2BD47F; display: inline-block; }

.oz-home { margin: 12px 12px 0; border-radius: 26px; padding: 16px; background: linear-gradient(170deg, #FFFFFF 0%, #E2E9FF 100%); box-shadow: var(--lift); }
.ask { min-height: 56px; border-radius: 28px; display: flex; align-items: flex-end; gap: 10px; padding: 7px 7px 7px 20px; background: #fff; box-shadow: 0 0 0 1px var(--hair); transition: box-shadow .2s var(--ease); }
.ask:focus-within { box-shadow: 0 0 0 2px var(--blue); }
.ask.sm { min-height: 50px; padding: 5px 5px 5px 16px; align-items: center; box-shadow: 0 0 0 1.5px var(--blue); }
.ask .phd { flex: 1; font-size: 16px; color: var(--ink3); letter-spacing: -.008em; }
.ask textarea { flex: 1; min-width: 0; align-self: center; border: 0; outline: 0; resize: none; background: transparent; color: var(--ink); font: inherit; font-size: 16px; line-height: 22px;
  letter-spacing: -.008em; padding: 10px 0; max-height: 132px; }
.ask textarea::placeholder { color: var(--ink3); }
.ask .go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; border: 0;
  transition: transform .16s var(--ease), background-color .2s var(--ease); touch-action: manipulation; }
.ask .go:active { transform: scale(.92); }
.ask .go[disabled], .ask .go.off { background: rgba(10, 17, 36, .07); color: var(--ink4); }
.ask.sm .go { width: 40px; height: 40px; }

.oz-log { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 0; }
.oz-day { align-self: center; padding: 6px 0 2px; }
.msg { max-width: 84%; padding: 11px 15px 12px; border-radius: 22px; font-size: 16px; line-height: 22px; letter-spacing: -.008em; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: #fff; color: var(--ink); border-bottom-left-radius: 8px; box-shadow: 0 0 0 1px rgba(10, 17, 36, .04), 0 10px 22px -18px rgba(18, 38, 110, .5); transform-origin: 0 100%; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 8px; box-shadow: 0 10px 22px -16px rgba(41, 98, 255, .9); transform-origin: 100% 100%; }
.msg.me.me-gap, .botrow + .msg.me { margin-top: 4px; }
.msg b { font-weight: 650; }
.botrow { display: flex; align-items: flex-end; gap: 8px; }
.botrow > .oz { --s: 30px; }
.botrow .oz.ghost { visibility: hidden; }
.typing { display: inline-flex; gap: 4px; padding: 15px 16px; border-radius: 22px; border-bottom-left-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 17, 36, .04); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink4); animation: oztype 1.3s var(--ease) infinite; }
.typing i:nth-child(2) { animation-delay: .16s; } .typing i:nth-child(3) { animation-delay: .32s; }
@keyframes oztype { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg-in { animation: msgin .42s var(--ease) both; }
@keyframes msgin { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.oz-tkt { width: min(300px, calc(100% - 38px)); padding: 16px; border-radius: 22px; border-bottom-left-radius: 8px; background: #fff; color: var(--ink); box-shadow: var(--lift); transform-origin: 0 100%; }
.oz-tkt .dd { width: 56px; height: 56px; border-radius: 16px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.oz-tkt .dd b { font-size: 22px; font-weight: 650; line-height: 24px; }
.oz-tkt .rows { margin-top: 14px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--hair); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.oz-tkt .rows > div { display: flex; justify-content: space-between; gap: 10px; }
.oz-tkt .raw { font-size: 14px; line-height: 20px; white-space: pre-line; }
.oz-tkt .done { margin-top: 14px; height: 46px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; background: rgba(42, 148, 103, .1); color: #15704B; }
.oz-tkt .done.bad { background: rgba(217, 85, 78, .1); color: #B23B35; }
.oz-human { align-self: center; max-width: 92%; text-align: center; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .6); }
.oz-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 4px 10px; margin: 0 auto; max-width: calc(var(--col) - 24px); pointer-events: auto; }
.oz-chips::-webkit-scrollbar { display: none; }
.oz-chips .chip { flex: none; background: #fff; box-shadow: var(--lift); }
.oz-dock .dock { padding: 6px; }
/* над полем ввода ещё и ряд подсказок — подложка выше, чтобы текст страницы под ними не проступал */
.oz-dock::before { height: calc(176px + var(--safe-b));
  background: linear-gradient(to top, var(--fade, var(--ground)) 58%, color-mix(in srgb, var(--fade, var(--ground)) 0%, transparent)); }
.oz-dock .ask { flex: 1; }
@media (prefers-reduced-motion: reduce) { .oz .e i, .oz.think .e, .typing i, .msg-in { animation: none; } }
