/* Личный кабинет клиентов Letium: дизайн-система кабинета (переработка 07.11.2026).
   Все классы с префиксом lk-, токены объявлены на .lk-app, поэтому кабинет одинаково выглядит в странице CMS (шапка и подвал
   сайта), во фрейме и отдельной страницей. Основной сценарий — телефон; на компьютере ширина до 1320 px и две колонки.

   Настройка под лагерь (docs/LK_EMBED.md):
   - пресет темы: <main id="lk-app" data-lk-theme="orlenok"> или LK_CONFIG.theme = 'orlenok' | { preset, brand, accent, … };
   - свои цвета на сайте: .lk-app { --lk-brand: #…; --lk-brand-ink: #…; --lk-accent: #…; --lk-night: #…; --lk-paper: #…; }
   - высота закреплённой шапки сайта (липкая навигация кабинета встаёт под неё): .lk-app { --lk-sticky-top: 72px; }
   Пресеты объявлены через :where() — любое правило сайта для .lk-app их перекрывает. */

/* ================= Токены ================= */
.lk-app {
  --paper: var(--lk-paper, #F6F4EF); --surface: var(--lk-surface, #FFFFFF); --sunk: #F1EEE7; --tint: #FAF8F4; --sand: #F3ECDC;
  --line: rgba(22,29,51,.09); --line-strong: rgba(22,29,51,.2);
  --ink: var(--lk-ink, #161D33); --ink-2: #434A5F; --ink-3: #6A7083;
  --brand: var(--lk-brand, #00A0E3); --brand-ink: var(--lk-brand-ink, #0B6BAE); --brand-deep: var(--lk-brand-deep, #08548A); --brand-soft: var(--lk-brand-soft, #EAF3FB);
  --gold: var(--lk-accent, #E8B65A); --gold-hover: var(--lk-accent-hover, #F0C574); --gold-ink: var(--lk-accent-ink, #8A5300); --gold-soft: var(--lk-accent-soft, #FBF0D9);
  --ok: #1A6B3D; --ok-soft: #E3F2E8; --low: #8A5300; --low-soft: #FDF0D5; --last: #B3361F; --last-soft: #FBE6E0; --sold: #5F6577; --sold-soft: #ECEBE7;
  --boy: #2C78CF; --boy-soft: #E4EFFB; --girl: #C93F74; --girl-soft: #FBE7EF;
  --night-0: #0A1124; --night: var(--lk-night, #131D38); --night-2: #1E2A4A; --night-line: rgba(244,242,236,.14); --on-night: #F4F2EC; --on-night-2: #B9BFCE;
  --font-ui: var(--lk-font-ui, 'Onest', 'Segoe UI', Roboto, Arial, sans-serif); --font-serif: var(--lk-font-serif, 'Literata', Georgia, 'Times New Roman', serif);
  --r-s: 10px; --r-m: 16px; --r-l: var(--lk-radius, 24px); --r-pill: 999px;
  --pad: clamp(16px, 4vw, 40px);
  --sticky-top: var(--lk-sticky-top, 0px);
  --shadow-1: 0 1px 2px rgba(22,29,51,.04), 0 4px 14px -6px rgba(22,29,51,.08);
  --shadow: 0 1px 2px rgba(22,29,51,.05), 0 18px 40px -16px rgba(22,29,51,.22);
  --ease: cubic-bezier(.2,.7,.2,1);
  background: var(--paper); color: var(--ink); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.5;
  min-height: 60vh; overflow-x: clip;
}
/* пресеты лагерей холдинга (настройка, не копия сайта): Орлёнок — комфорт и премиальность, Юность — спорт */
:where(.lk-app[data-lk-theme="orlenok"]) {
  --lk-brand: #2F7C6B; --lk-brand-ink: #1F5E50; --lk-brand-deep: #174A3F; --lk-brand-soft: #E7F1EE;
  --lk-accent: #CFA968; --lk-accent-hover: #DDBA7E; --lk-accent-ink: #7A5A21; --lk-accent-soft: #F6EEDF;
  --lk-night: #16231F; --lk-paper: #F5F3EE;
}
:where(.lk-app[data-lk-theme="yunost"]) {
  --lk-brand: #D33A2C; --lk-brand-ink: #B02D20; --lk-brand-deep: #8E2218; --lk-brand-soft: #FCEBE8;
  --lk-accent: #F2B33D; --lk-accent-hover: #F6C462; --lk-accent-ink: #855700; --lk-accent-soft: #FDF1D8;
  --lk-night: #1D1F26; --lk-paper: #F6F5F1;
}
:where(.lk-app[data-lk-theme="zvezdny"]) { }

.lk-app *, .lk-app *::before, .lk-app *::after { box-sizing: border-box; }
.lk-app h1, .lk-app h2, .lk-app h3, .lk-app h4, .lk-app p, .lk-app ul, .lk-app ol, .lk-app dl, .lk-app dd, .lk-app figure { margin: 0; }
.lk-app ul, .lk-app ol { padding: 0; list-style: none; }
:where(.lk-app) a { color: var(--brand-ink); }
:where(.lk-app) a:hover { color: var(--brand-deep); }
:where(.lk-app) button { font: inherit; color: inherit; }
.lk-app [hidden] { display: none !important; }
html.lk-locked, html.lk-locked body { overflow: hidden; }

/* ================= Раскладка ================= */
.lk-wrap { max-width: 1320px; margin: 0 auto; padding: 24px var(--pad) 64px; display: flex; flex-direction: column; gap: 20px; }
.lk-wrap--wide { max-width: 1320px; }
.lk-wrap--narrow { max-width: 880px; }
.lk-sec { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lk-sec:empty { display: none; }
[id^="lk-"] { scroll-margin-top: calc(var(--sticky-top) + 76px); }

/* ================= Типографика ================= */
.lk-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.lk-eyebrow::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--gold-ink); clip-path: polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%); }
.lk-h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.lk-h1 .lk-it, .lk-it { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.lk-h2 { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.lk-h3 { font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -.005em; }
.lk-lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.lk-body { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.lk-small { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.lk-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.lk-label { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lk-muted { color: var(--ink-3); }
.lk-strike { text-decoration: line-through; color: var(--ink-3); }

/* ================= Кнопки ================= */
.lk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font: 600 15px/1 var(--font-ui); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; letter-spacing: -.005em;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s, transform .12s, box-shadow .18s; background: none; }
.lk-btn:active { transform: translateY(1px) scale(.99); }
.lk-btn:disabled, .lk-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.lk-btn--primary { background: var(--brand-ink); color: #fff; box-shadow: 0 6px 16px -8px var(--brand-ink); }
.lk-btn--primary:hover { background: var(--brand-deep); color: #fff; }
.lk-btn--gold { background: var(--gold); color: var(--night-0); box-shadow: 0 8px 22px -10px rgba(232,182,90,.9); }
.lk-btn--gold:hover { background: var(--gold-hover); color: var(--night-0); }
.lk-btn--secondary { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.lk-btn--secondary:hover { border-color: var(--ink); color: var(--ink); }
.lk-btn--danger { color: var(--last); border-color: #EBC2B8; background: var(--surface); }
.lk-btn--danger:hover { border-color: var(--last); color: var(--last); }
.lk-btn--ghost { min-height: 40px; padding: 0 6px; color: var(--brand-ink); }
.lk-btn--ghost:hover { color: var(--brand-deep); }
.lk-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.lk-btn--ghost.lk-btn--sm { padding: 0 6px; }
.lk-btn--block { width: 100%; }
.lk-btn--light { color: #fff; border-color: rgba(244,242,236,.38); }
.lk-btn--light:hover { border-color: #fff; color: #fff; }
.lk-btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.lk-btn.is-busy > * { visibility: hidden; }
.lk-btn.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor;
  border-color: rgba(255,255,255,.9) rgba(255,255,255,.9) rgba(255,255,255,.2) rgba(255,255,255,.2); animation: lk-spin .7s linear infinite; }
.lk-btn--secondary.is-busy::after, .lk-btn--ghost.is-busy::after, .lk-btn--danger.is-busy::after, .lk-btn--gold.is-busy::after { border-color: var(--ink) var(--ink) transparent transparent; }
@keyframes lk-spin { to { transform: rotate(360deg); } }
.lk-app :focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.lk-iconbtn { width: 44px; height: 44px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s; }
.lk-iconbtn:hover { border-color: var(--ink); }
.lk-ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lk-ic--sm { width: 16px; height: 16px; }
.lk-ic--xs { width: 13px; height: 13px; }
.lk-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lk-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.lk-links a, .lk-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 600; font-size: 15px; text-decoration: none;
  color: var(--brand-ink); background: none; border: 0; padding: 0; cursor: pointer; }
.lk-links a:hover, .lk-link:hover { color: var(--brand-deep); }
.lk-link--sm { font-size: 14px; min-height: 32px; align-self: flex-start; }
.lk-link--inline { min-height: 28px; margin-left: 8px; font-size: 14px; vertical-align: baseline; }

/* кнопка «Назад» экранов: крупная, заметная (в приложении — на месте системной) */
.lk-back, .lk-crumb { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 4px; border: 0; border-radius: var(--r-pill);
  background: none; color: var(--ink); font: 600 15px/1 var(--font-ui); text-decoration: none; cursor: pointer; flex: none; transition: background .15s; }
.lk-back:hover, .lk-crumb:hover { background: var(--sunk); color: var(--ink); }
.lk-back__ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-1); transition: transform .15s; }
.lk-back:hover .lk-back__ic { transform: translateX(-2px); }
.lk-crumb:not(.lk-back) { min-height: 40px; padding: 0 12px; font-size: 14px; color: var(--brand-ink); }

/* ================= Статусы и метки ================= */
.lk-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 2px 10px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600;
  line-height: 1.3; white-space: nowrap; background: var(--sunk); color: var(--ink-2); }
.lk-chip--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.lk-chip--ok { color: var(--ok); background: var(--ok-soft); }
.lk-chip--low { color: var(--low); background: var(--low-soft); }
.lk-chip--last { color: var(--last); background: var(--last-soft); }
.lk-chip--sold { color: var(--sold); background: var(--sold-soft); }
.lk-chip--brand { color: var(--brand-ink); background: var(--brand-soft); }
.lk-chip--gold { color: var(--gold-ink); background: var(--gold-soft); }
.lk-hintchip { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 14px; font-size: 13px; font-weight: 650; line-height: 1.3;
  background: linear-gradient(180deg, #FBF0D9, #F6E3BD); box-shadow: inset 0 0 0 1px rgba(138,83,0,.14); color: var(--gold-ink); }

/* ================= Карточки ================= */
.lk-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 16px; min-width: 0; box-shadow: var(--shadow-1); }
.lk-card--sand { background: var(--sand); border-color: transparent; box-shadow: none; }
.lk-card--flat { padding: 0; overflow: hidden; }
.lk-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.lk-card__head > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lk-sep { height: 1px; background: var(--line); border: 0; margin: 2px 0; }
.lk-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .lk-grid2 { grid-template-columns: minmax(0, 1fr); } }

/* ================= Кабинет брони: шапка ================= */
.lk-cabtop, .lk-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.lk-cabtop__t, .lk-top__t { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lk-cabtop__h { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.lk-cabtop__meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--ink-2); }
.lk-cabtop__meta .lk-ic { color: var(--ink-3); }
.lk-cabtop__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.lk-cabtop__acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ================= Статус: ночное небо лагеря ================= */
.lk-status { position: relative; isolation: isolate; overflow: clip; border-radius: var(--r-l); padding: clamp(22px, 3.4vw, 36px); background: var(--night); color: var(--on-night);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; box-shadow: 0 24px 48px -28px rgba(10,17,36,.7); }
.lk-status__main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lk-status__acts { margin-top: 0 !important; }
.lk-status::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .75;
  background-image: radial-gradient(1px 1px at 23px 41px, #fff 50%, transparent 52%), radial-gradient(1px 1px at 141px 97px, rgba(255,255,255,.7) 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 87px 163px, #fff 50%, transparent 52%), radial-gradient(1px 1px at 201px 19px, rgba(255,255,255,.6) 50%, transparent 52%),
    radial-gradient(2px 2px at 251px 131px, rgba(232,182,90,.9) 50%, transparent 52%), radial-gradient(1px 1px at 311px 271px, rgba(255,255,255,.6) 50%, transparent 52%);
  background-size: 230px 230px, 290px 290px, 370px 370px, 170px 170px, 530px 530px, 340px 340px; }
.lk-status::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(60% 70% at 88% -10%, rgba(0,160,227,.28), transparent 70%), radial-gradient(50% 60% at 0% 110%, rgba(232,182,90,.16), transparent 70%); }
.lk-status .lk-eyebrow { color: var(--on-night-2); }
.lk-status .lk-eyebrow::before { background: var(--gold); }
.lk-status__title { font-size: clamp(25px, 3.4vw, 36px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; color: #fff; text-wrap: balance; }
.lk-status__text { font-size: 16px; line-height: 1.55; color: var(--on-night-2); max-width: 640px; text-wrap: pretty; }
.lk-status--warning { box-shadow: inset 0 0 0 2px rgba(232,182,90,.7), 0 24px 48px -28px rgba(10,17,36,.7); }
.lk-status--danger { box-shadow: inset 0 0 0 2px #E06A4F, 0 24px 48px -28px rgba(10,17,36,.7); }
.lk-status--danger .lk-status__title { color: #FFD4C9; }
.lk-status .lk-actions { margin-top: 4px; }
.lk-status__money { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: var(--r-m); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--night-line);
  backdrop-filter: blur(6px); min-width: 0; }
.lk-status__ml { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--on-night-2); }
.lk-status__sum { font-size: clamp(30px, 4vw, 40px); line-height: 1; letter-spacing: -.03em; font-weight: 700; color: #fff; }
.lk-status__mt { font-size: 13px; color: var(--on-night-2); }
.lk-meter { height: 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.14); overflow: hidden; margin-top: 6px; }
.lk-meter > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #F6D79A); transition: width .6s var(--ease); }
.lk-sched { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--night-line); padding-top: 12px; margin-top: 4px; }
.lk-sched li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.lk-sched li > span { display: inline-flex; align-items: center; gap: 8px; }
.lk-sched li > span > i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin: 0 3.5px; }
.lk-sched li.is-done { color: var(--on-night-2); text-decoration: line-through; }
.lk-sched li.is-done .lk-ic { color: #8FD3A8; }
.lk-sched li.is-overdue { color: #FFB4A3; }
.lk-sched li.is-overdue > span > i { background: #FF8D74; }
@media (min-width: 860px) {
  .lk-status--split { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); grid-template-areas: 'main money' 'acts money'; align-items: center; column-gap: 32px; row-gap: 18px; }
  .lk-status--split .lk-status__main { grid-area: main; align-self: end; }
  .lk-status--split .lk-status__acts { grid-area: acts; align-self: start; }
  .lk-status--split .lk-status__money { grid-area: money; }
}

/* ================= «Что нужно сделать» ================= */
.lk-todos { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px clamp(16px, 2.2vw, 24px); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-1); }
.lk-todos__head { display: flex; align-items: center; gap: 10px; }
.lk-todos__n { min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--r-pill); display: inline-grid; place-items: center; background: var(--night); color: #fff; font-size: 13px; font-weight: 700; }
.lk-todos__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.lk-todoi { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--tint); text-align: left;
  cursor: pointer; min-width: 0; min-height: 64px; transition: border-color .15s, background .15s, transform .15s; }
.lk-todoi:hover { border-color: var(--line-strong); background: var(--surface); transform: translateY(-1px); }
.lk-todoi__ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.lk-todoi__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.lk-todoi__t b { font-size: 15px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.lk-todoi__t span { font-size: 13px; color: var(--ink-3); line-height: 1.4; overflow-wrap: anywhere; }
.lk-todoi__go { color: var(--ink-3); }
.lk-todoi--gold .lk-todoi__ic { background: var(--gold-soft); color: var(--gold-ink); }
.lk-todoi--last .lk-todoi__ic { background: var(--last-soft); color: var(--last); }
.lk-todoi--last { border-color: #F2C9BE; }
.lk-todoi--low .lk-todoi__ic { background: var(--low-soft); color: var(--low); }
.lk-todos--done { flex-direction: row; align-items: center; gap: 14px; }
.lk-todos--done > div { display: flex; flex-direction: column; gap: 2px; }
.lk-todos__ok { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }

/* ================= Навигация по разделам ================= */
.lk-anchors { position: sticky; top: var(--sticky-top); z-index: 20; margin: -6px calc(-1 * var(--pad)); padding: 8px var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.lk-anchors__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lk-anchors__in::-webkit-scrollbar { display: none; }
.lk-anchors a { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: var(--r-pill); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, box-shadow .15s; }
.lk-anchors a:hover, .lk-anchors a.is-on { background: var(--night); color: #fff; box-shadow: none; }
html[data-lk-embed="iframe"] .lk-anchors { position: static; }

/* ================= Две колонки ================= */
.lk-cols { display: flex; flex-direction: column; gap: 20px; }
.lk-main, .lk-side { display: contents; }
/* телефон и планшет: порядок разделов одной колонкой */
.lk-sec--quality { order: 5; } .lk-sec--terms { order: 8; } .lk-sec--summary { order: 10; } .lk-sec--kids { order: 20; } .lk-sec--stages { order: 30; }
.lk-sec--cancelled { order: 35; } .lk-sec--refunds { order: 36; } .lk-sec--pay { order: 40; } .lk-sec--certs { order: 50; } .lk-sec--services { order: 55; }
.lk-sec--contact { order: 60; } .lk-sec--wishes { order: 70; } .lk-sec--docs { order: 80; } .lk-sec--changes { order: 90; } .lk-sec--docs0 { order: 6; }
@media (min-width: 1024px) {
  .lk-cols { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 31%, 410px); gap: 24px; align-items: start; }
  .lk-cols--one { grid-template-columns: minmax(0, 1fr); }
  .lk-main, .lk-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
  .lk-side .lk-sec--pay { order: 1; } .lk-side .lk-sec--contact { order: 2; } .lk-side .lk-sec--certs { order: 3; } .lk-side .lk-sec--summary { order: 4; }
  .lk-side .lk-sec--docs { order: 5; } .lk-side .lk-sec--changes { order: 6; } .lk-side .lk-sec--docs0 { order: 0; }
  .lk-side .lk-card { padding: 22px; }
}

/* ================= Связь с лагерем ================= */
.lk-person { display: flex; gap: 14px; align-items: center; }
.lk-avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink);
  font-weight: 700; font-size: 15px; overflow: hidden; }
.lk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lk-avatar--kid { background: var(--gold-soft); color: var(--gold-ink); }
.lk-avatar--lg { width: 56px; height: 56px; font-size: 18px; background: linear-gradient(135deg, var(--gold-soft), #F4DFB4); }
.lk-person__b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lk-bots { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 14px; border-radius: var(--r-m); background: var(--brand-soft); }
.lk-bots__t { flex: 1 1 220px; font-size: 14px; color: var(--ink-2); }
.lk-contact { gap: 14px; }
.lk-contact__phone { font-weight: 700; font-size: 16px; text-decoration: none; color: var(--ink); margin-top: 2px; font-variant-numeric: tabular-nums; }
.lk-cacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; }
.lk-cact { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: var(--r-m); border: 0; background: var(--tint);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--brand-ink); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: box-shadow .15s, background .15s; }
.lk-cact:hover { box-shadow: inset 0 0 0 1.5px var(--brand-ink); background: var(--surface); }
.lk-msgrs { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r-m); background: var(--brand-soft); }
.lk-msgrs__t { font-size: 13.5px; color: var(--ink-2); }
.lk-msgrs__row { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-msgr { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: #fff; background: var(--brand-ink); text-decoration: none; }
.lk-msgr:hover { color: #fff; filter: brightness(1.06); }
.lk-msgr--telegram { background: #229ED9; } .lk-msgr--max { background: #5B3CF5; } .lk-msgr--vk { background: #0077FF; }
.lk-msgr.is-on { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.lk-socials { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.lk-socials a { font-size: 14px; font-weight: 600; text-decoration: none; }
.lk-switch { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.lk-switch input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand-ink); }
.lk-switch__b { display: flex; flex-direction: column; gap: 2px; }

/* ================= Сводка брони ================= */
.lk-sumbk { gap: 14px; }
.lk-trip { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-m); background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.lk-trip__p { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lk-trip__p:last-child { text-align: right; }
.lk-trip__l { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.lk-trip__d { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.lk-trip__t { font-size: 13px; color: var(--ink-3); }
.lk-trip__arrow { color: var(--ink-3); }
.lk-more > summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; min-height: 36px; color: var(--brand-ink); font-weight: 600; font-size: 14px; }
.lk-more > summary::-webkit-details-marker { display: none; }
.lk-more[open] > summary .lk-ic { transform: rotate(180deg); }
.lk-more[open] > summary { margin-bottom: 8px; }
.lk-more .lk-ic { transition: transform .2s; }

/* определения: строки «ключ — значение» */
.lk-dl { display: grid; grid-template-columns: minmax(100px, 34%) minmax(0, 1fr); gap: 9px 16px; font-size: 15px; }
.lk-dl dt { color: var(--ink-3); }
.lk-dl dd { color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .lk-dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .lk-dl dd { margin-bottom: 10px; } }
.lk-side .lk-dl { grid-template-columns: minmax(84px, 38%) minmax(0, 1fr); font-size: 14.5px; }

/* ================= Дети: раскрывающиеся карточки ================= */
.lk-kid { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.lk-kid:hover { border-color: var(--line-strong); }
.lk-kid.is-open { box-shadow: var(--shadow-1); }
.lk-kid__head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: none; border: 0; cursor: pointer; text-align: left; flex-wrap: wrap; }
.lk-kid__ic { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--boy-soft), #D3E5F8); color: var(--boy); font-weight: 700; font-size: 15px; }
.lk-kid__ic--f { background: linear-gradient(135deg, var(--girl-soft), #F7D5E2); color: var(--girl); }
.lk-kid__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.lk-kid__name { font-weight: 650; font-size: 16px; overflow-wrap: break-word; letter-spacing: -.005em; }
.lk-kid__t .lk-hintchip, .lk-kid__t .lk-chip { align-self: flex-start; margin-top: 4px; white-space: normal; }
.lk-kid__chev { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s var(--ease), background .15s; color: var(--ink-3); }
.lk-kid__head:hover .lk-kid__chev { background: var(--sunk); }
.lk-kid.is-open .lk-kid__chev { transform: rotate(180deg); }
.lk-kid__body { padding: 2px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.lk-kid--muted { opacity: .7; }
.lk-kid__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.lk-sex { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 13px; font-weight: 700; line-height: 1; }
.lk-sex--m { background: var(--boy-soft); color: var(--boy); }
.lk-sex--f { background: var(--girl-soft); color: var(--girl); }
.lk-kid__badge { flex: none; display: flex; }
.lk-kid__badge:empty { display: none; }
.lk-todo { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 650; white-space: nowrap; }
.lk-todo i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lk-todo--low { background: var(--low-soft); color: var(--low); }
.lk-todo--last { background: var(--last-soft); color: var(--last); }
.lk-todo--ok { background: var(--ok-soft); color: var(--ok); }
.lk-todo--sold { background: var(--sold-soft); color: var(--sold); }
@media (max-width: 599px) {
  .lk-kid__head { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: 'ic t chev' '. badge badge'; row-gap: 8px; }
  .lk-kid__ic { grid-area: ic; } .lk-kid__t { grid-area: t; } .lk-kid__chev { grid-area: chev; } .lk-kid__badge, .lk-kid__datawarn { grid-area: badge; justify-self: start; }
}
.lk-sub { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.lk-sub__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lk-wallet { display: flex; align-items: baseline; gap: 8px; }
.lk-wallet b { font-size: 26px; letter-spacing: -.02em; }

/* ================= Строки и таблицы ================= */
.lk-rows { display: flex; flex-direction: column; }
.lk-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; min-width: 0; }
.lk-row:last-child { border-bottom: 0; }
.lk-row > :first-child { min-width: 0; overflow-wrap: break-word; flex: 1 1 auto; }
.lk-row > :last-child:not(:first-child) { flex: none; }
.lk-row--total { font-weight: 700; font-size: 16px; }
.lk-row__sub { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; font-weight: 400; }
.lk-row--click { cursor: pointer; text-decoration: none; color: inherit; border-radius: var(--r-s); transition: background .15s; }
.lk-row--click:hover { background: var(--tint); color: inherit; }
.lk-row__val { white-space: normal; text-align: right; font-weight: 600; }
.lk-order .lk-row--total:last-of-type { font-size: 18px; }
.lk-doc__t { display: inline-flex; align-items: center; gap: 10px; }
.lk-doc__ic { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.lk-docs .lk-row { padding: 9px 0; }
.lk-tablewrap { overflow-x: auto; margin: 0 calc(-1 * clamp(18px, 2.4vw, 28px)); padding: 0 clamp(18px, 2.4vw, 28px); }
.lk-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lk-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.lk-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lk-table td.lk-n, .lk-table th.lk-n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lk-table tr.is-grey td { color: var(--ink-3); }
.lk-only-narrow { display: none !important; }
@media (max-width: 720px) { .lk-only-wide { display: none !important; } .lk-only-narrow { display: flex !important; } }

/* ведомость: цвет строки */
.lk-led { border-left: 4px solid var(--line-strong); padding: 12px 14px; border-radius: var(--r-m); background: var(--surface); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; }
.lk-led--none { border-left-color: var(--last); }
.lk-led--partial { border-left-color: var(--gold); }
.lk-led--full { border-left-color: var(--ok); }
.lk-led--grey { opacity: .6; border-left-color: var(--sold); }
.lk-led__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }

/* крупные числа */
.lk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .lk-kpis { grid-template-columns: minmax(0, 1fr); } }
.lk-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-1); }
.lk-kpi b { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.025em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.lk-kpi--accent { background: var(--night); color: #fff; border-color: transparent; }
.lk-kpi--accent .lk-small { color: var(--on-night-2); }

/* ================= Формы ================= */
.lk-form { display: flex; flex-direction: column; gap: 14px; }
.lk-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lk-fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .lk-fields, .lk-fields--3 { grid-template-columns: minmax(0, 1fr); } }
.lk-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lk-field__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lk-field__hint { font-size: 13px; color: var(--ink-3); }
.lk-field__err { font-size: 13px; color: var(--last); font-weight: 600; }
.lk-input { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-m); background: #fff;
  font: 16px/1.4 var(--font-ui); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.lk-input:hover { border-color: rgba(22,29,51,.32); }
textarea.lk-input { padding: 14px 16px; min-height: 110px; resize: vertical; }
select.lk-input { appearance: auto; padding-right: 12px; }
.lk-input:focus { border-color: var(--brand-ink); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-ink) 16%, transparent); }
.lk-input.is-invalid { border-color: var(--last); }
.lk-input--sm { width: auto; min-height: 40px; padding: 0 10px; font-size: 13px; }
.lk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.lk-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand-ink); }
.lk-check.is-disabled { opacity: .55; cursor: default; }
.lk-radios { display: flex; flex-direction: column; gap: 8px; }
.lk-radios--row { flex-direction: row; flex-wrap: wrap; }
.lk-radio { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.lk-radio:hover { border-color: var(--line-strong); }
.lk-radio:has(input:checked) { border-color: var(--brand-ink); background: var(--brand-soft); }
.lk-radio:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.lk-radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand-ink); flex: none; }
.lk-radio__b { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lk-radio--chip { padding: 8px 14px; }
.lk-q { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }

/* вкладки-сегменты */
.lk-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--sunk); border-radius: 26px; }
.lk-seg button { flex: 1 0 auto; min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); border: 0; background: none; font: 600 14px/1 var(--font-ui); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.lk-seg button:hover { color: var(--ink); }
.lk-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(22,29,51,.12), 0 4px 12px -6px rgba(22,29,51,.2); }

/* плашки */
.lk-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.lk-note--gold { background: var(--gold-soft); border-color: #F1DCAE; color: #5E4310; }
.lk-note--blue { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand-ink) 18%, transparent); }
.lk-note--green { background: var(--ok-soft); border-color: #C7E5D1; }
.lk-note--red { background: var(--last-soft); border-color: #F2C9BE; color: #7A2414; }
.lk-note > .lk-ic { margin-top: 2px; }

/* ================= Экран-страница («Мои брони», редактор): шапка с «Назад» ================= */
.lk-pagehead { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lk-pagehead__t { display: flex; flex-direction: column; gap: 8px; }

/* ================= Сохранённые брони ================= */
.lk-saved { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.lk-bk { position: relative; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-l); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px;
  cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .2s; min-width: 0; box-shadow: var(--shadow-1); }
.lk-bk:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.lk-bk.is-current { border-color: var(--brand-ink); box-shadow: 0 0 0 1px var(--brand-ink), var(--shadow-1); }
.lk-bk__x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; }
.lk-bk__x:hover { background: var(--sunk); color: var(--ink); }
.lk-bk__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lk-bk__cur { font-size: 12px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 2px 9px; border-radius: var(--r-pill); }
.lk-bk__camp { font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.lk-bk__tour { font-size: 15px; color: var(--ink-2); }
.lk-bk__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); }
.lk-bk__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ================= Экраны поверх кабинета (окна и стадии) ================= */
.lk-screen { position: fixed; inset: 0; z-index: 1000; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); animation: lk-screen-in .24s var(--ease); -webkit-overflow-scrolling: touch; }
.lk-screen__bar { position: sticky; top: 0; z-index: 3; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.lk-screen__barin { max-width: 880px; margin: 0 auto; padding: 10px var(--pad); display: flex; align-items: center; gap: 8px; min-height: 64px; }
.lk-screen--wide .lk-screen__barin, .lk-screen--wide .lk-screen__box { max-width: 1120px; }
.lk-stage-screen .lk-screen__barin, .lk-stage-screen .lk-screen__box { max-width: 1120px; }
.lk-screen__title { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.lk-screen__box { max-width: 880px; margin: 0 auto; padding: 22px var(--pad) calc(48px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 16px; }
.lk-screen__sub { font-size: 15px; color: var(--ink-3); }
@media (max-width: 600px) {
  .lk-screen__barin .lk-back__t { display: none; }
  .lk-screen__barin .lk-back { padding: 0; }
  .lk-screen__barin { min-height: 58px; }
}
@keyframes lk-screen-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@media (min-width: 721px) { @keyframes lk-screen-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } } }
/* старые имена: окно (.lk-sheet__*) и экран стадии (.lk-stage-screen__*) — те же страницы */
.lk-sheet__box { width: 100%; }
.lk-sheet__body, .lk-stage-screen__body { min-width: 0; }
@keyframes lk-fade { from { opacity: 0; } }
@keyframes lk-up { from { transform: translateY(24px); opacity: .6; } }
@keyframes lk-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.lk-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 1100; max-width: min(92vw, 520px); padding: 14px 18px; border-radius: var(--r-m);
  background: var(--night); color: #fff; font-size: 15px; box-shadow: var(--shadow); animation: lk-up .2s ease; font-family: var(--font-ui, 'Onest', sans-serif); }
.lk-toast--err { background: #7A2414; }
html.lk-has-paybar .lk-toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

.lk-empty { padding: 28px 18px; text-align: center; color: var(--ink-3); font-size: 15px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-l); }
.lk-loading { display: flex; justify-content: center; padding: 48px 0; }
.lk-loading::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand-ink); animation: lk-spin .8s linear infinite; }
.lk-skel { height: 120px; border-radius: var(--r-l); background: linear-gradient(90deg, var(--sunk) 25%, #F7F5F0 50%, var(--sunk) 75%); background-size: 200% 100%; animation: lk-sh 1.2s infinite; }
.lk-skel:first-child { height: 220px; background-color: var(--night); }
@keyframes lk-sh { to { background-position: -200% 0; } }

.lk-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }
.lk-hero { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 4px; }
.lk-sticky { position: sticky; bottom: 0; z-index: 5; margin: 0 calc(-1 * var(--pad)); padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
@media print { .lk-screen, .lk-toast, .lk-foot, .lk-btn, .lk-anchors, .lk-paybar { display: none !important; } }

/* мобильная панель «Оплатить» */
.lk-paybar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 22px; background: var(--night); color: #fff; box-shadow: 0 18px 40px -12px rgba(10,17,36,.6);
  transform: translateY(140%); opacity: 0; transition: transform .3s var(--ease), opacity .2s; pointer-events: none; }
.lk-paybar.is-on { transform: none; opacity: 1; pointer-events: auto; }
.lk-paybar__t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lk-paybar__t b { font-size: 18px; letter-spacing: -.02em; }
.lk-paybar__t span { font-size: 12.5px; color: var(--on-night-2); }
.lk-paybar .lk-btn { min-height: 46px; flex: none; }
@media (min-width: 1024px) { .lk-paybar { display: none; } }
html[data-lk-embed="iframe"] .lk-paybar { display: none; }
.lk-cab:has(.lk-paybar) { padding-bottom: 110px; }
@media (min-width: 1024px) { .lk-cab:has(.lk-paybar) { padding-bottom: 64px; } }

/* ================= Люди: заказчик, ребёнок, сертификат ================= */
.lk-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-pill { position: relative; flex: 1 1 0; min-width: 0; }
.lk-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.lk-pill span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill);
  background: #fff; font: 600 15px/1.2 var(--font-ui); color: var(--ink-2); text-align: center; transition: background .15s, border-color .15s, color .15s; }
.lk-pill input:checked + span { border-color: var(--brand-ink); background: var(--brand-soft); color: var(--brand-ink); }
.lk-pill input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.lk-pills--tabs { padding: 4px; gap: 4px; background: var(--sunk); border-radius: 28px; }
.lk-pills--tabs .lk-pill span { border: 0; background: none; min-height: 44px; }
.lk-pills--tabs .lk-pill input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(22,29,51,.14), 0 4px 12px -6px rgba(22,29,51,.2); }
@media (max-width: 420px) { .lk-pills--tabs .lk-pill span { padding: 0 6px; font-size: 14px; } .lk-pills--tabs .lk-ic { display: none; } }
.lk-fio { display: flex; flex-direction: column; gap: 6px; }
.lk-plaque { padding: 10px 14px; border-radius: var(--r-m); background: var(--gold-soft); color: var(--ink); font-size: 14px; line-height: 1.45; animation: lk-in .18s ease-out; }
.lk-plaque b { color: var(--gold-ink); }
.lk-plaque__help { margin-top: 4px; color: var(--ink-3); font-size: 13px; }
.lk-fields--kid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 600px) { .lk-fields--kid { grid-template-columns: minmax(0, 1fr); } }
.lk-kidform .lk-check, .lk-cust .lk-check { padding: 2px 0; }
.lk-kidcard { border-style: solid; }
.lk-kidcard__t { display: flex; align-items: center; gap: 12px; }
.lk-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lk-chipbtn { min-height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px dashed var(--line-strong); background: #fff; color: var(--ink); font: 500 14px/1 var(--font-ui); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.lk-chipbtn:hover, .lk-chipbtn.is-on { border-style: solid; border-color: var(--brand-ink); color: var(--brand-ink); background: var(--brand-soft); }
.lk-steps { display: flex; flex-direction: column; gap: 10px; }
.lk-step { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.lk-step__n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--on-night); font: 700 14px/1 var(--font-ui); }
.lk-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.lk-choice { position: relative; display: block; }
.lk-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lk-choice__b { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-m); background: #fff; transition: border-color .15s, background .15s; }
.lk-choice__b b { display: block; font-size: 15px; }
.lk-choice input:checked + .lk-choice__b { border-color: var(--brand-ink); background: var(--brand-soft); }
.lk-choice input:focus-visible + .lk-choice__b { outline: 3px solid var(--brand); outline-offset: 2px; }
.lk-choice__ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--sunk); color: var(--ink-2); }
.lk-choice input:checked + .lk-choice__b .lk-choice__ic { background: var(--brand-ink); color: #fff; }
.lk-drop { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-m); background: var(--tint); cursor: pointer; }
.lk-drop:hover { border-color: var(--brand-ink); background: var(--brand-soft); }
.lk-drop__ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--brand-ink); box-shadow: inset 0 0 0 1px var(--line); }
.lk-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 12px 4px; }
.lk-done__ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.lk-done__ic .lk-ic { width: 30px; height: 30px; }
.lk-qr { width: 200px; max-width: 100%; aspect-ratio: 1; background: #fff; border-radius: var(--r-m); border: 1px solid var(--line); padding: 8px; }
.lk-qr svg { width: 100%; height: 100%; display: block; }
.lk-copy { display: flex; gap: 8px; align-items: stretch; }
.lk-copy .lk-input { min-height: 48px; font-size: 14px; }
.lk-tours, .lk-tour { min-width: 0; }
.lk-timer { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-weight: 700; }

/* ТЗ-2: блок «В офисе» */
.lk-offices { display: flex; flex-direction: column; gap: 10px; }
.lk-office { padding: 14px 16px; gap: 6px; box-shadow: none; }
.lk-office .lk-body a { color: inherit; text-decoration: underline dotted; }
.lk-badge--tariff { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 1.4; background: var(--brand-soft); color: var(--brand-ink); }
.lk-bind { margin: 10px 0 12px; }
.lk-details { border-top: 1px solid var(--line); padding-top: 8px; }
.lk-details__toggle { width: 100%; justify-content: flex-start; text-align: left; }
.lk-details__toggle .lk-ic { transition: transform .15s ease; }
.lk-details.is-open .lk-details__toggle .lk-ic { transform: rotate(180deg); }
.lk-details__body { padding: 4px 0 8px; }
.lk-details__body .lk-h3 { padding-top: 8px; }

/* ================= Дети: сводка, фильтры, разделы модулей ================= */
.lk-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lk-progress { height: 7px; overflow: hidden; border-radius: var(--r-pill); background: var(--sunk); }
.lk-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--brand); transition: width .2s ease; }
.lk-children__tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.lk-children__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-children__filters button { min-height: 40px; padding: 0 14px; border: 1px solid transparent; border-radius: var(--r-pill); background: none; color: var(--ink-3); font: 600 14px/1 var(--font-ui); cursor: pointer; }
.lk-children__filters button:hover { background: var(--sunk); color: var(--ink); }
.lk-children__filters button[aria-pressed="true"] { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand-ink) 20%, transparent); color: var(--brand-ink); }
.lk-children__search { flex: 1 1 210px; max-width: 290px; }
.lk-children__search .lk-input { min-height: 44px; font-size: 14px; }
.lk-children__list { display: flex; flex-direction: column; gap: 10px; }
.lk-children__more { align-self: flex-start; }
.lk-kid__datawarn { flex: 0 1 auto; white-space: normal; }
.lk-free { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-m); }
.lk-free > span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 14px; }
.lk-modules { gap: 20px; }
.lk-module-group { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.lk-module-group:first-of-type { border-top: 0; padding-top: 0; }
.lk-module-kids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lk-module-kid { min-width: 0; padding: 14px; border-radius: var(--r-m); background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.lk-module-kid__head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lk-module-kid__head > div { min-width: 0; overflow-wrap: anywhere; }
.lk-module-kid__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; }
.lk-module-kid__body .lk-actions { width: 100%; }
.lk-module-kid__balance { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; color: var(--ink-3); }
.lk-module-kid__balance b { color: var(--ink); font-size: 22px; }
.lk-module-kid__docs { width: 100%; }
.lk-module-kid__docs .lk-row { flex-wrap: wrap; }

/* полноэкранный редактор количества и списка */
.lk-editor { padding-bottom: 24px; }
.lk-editor__top { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.lk-editor__count { gap: 12px; }
.lk-editor__tickets { max-width: 240px; }
.lk-editor__tickets .lk-input { min-height: 68px; font-size: 28px; font-weight: 650; }
.lk-editor__children { display: flex; flex-direction: column; gap: 14px; }
.lk-editor-kid { position: relative; }
.lk-editor-kid__del { position: absolute; z-index: 2; top: 14px; right: 56px; border: 0; background: transparent; color: var(--ink-3); }
.lk-editor-kid__del:hover { color: var(--last); background: var(--last-soft); }
.lk-editor-kid .lk-kid__head { padding-right: 100px; }
.lk-editor-preview { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.lk-editor-preview--bottom { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.lk-price-layers { display: flex; flex-direction: column; }
.lk-price-layer { display: grid; grid-template-columns: 110px 50px 120px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.lk-price-layer:last-child { border-bottom: 0; }
.lk-price-layer--head { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.lk-editor__actions { display: flex; justify-content: flex-start; }
.lk-editor__actions .lk-actions { width: 100%; }
@media (max-width: 720px) {
  .lk-module-kids { grid-template-columns: minmax(0, 1fr); }
  .lk-children__search { max-width: none; flex-basis: 100%; }
  .lk-price-layer { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 8px; }
  .lk-price-layer > :last-child { grid-column: 1 / -1; color: var(--ink-3); }
  .lk-editor-kid .lk-kid__head { padding-right: 92px; }
  .lk-editor__actions .lk-btn { flex: 1 1 140px; }
}
.lk-editor__countrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lk-editor__import { margin-bottom: 8px; }

/* ================= Стадии брони ================= */
.lk-stages { display: flex; flex-direction: column; gap: 20px; }
.lk-stage-block__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
/* две колонки карточек «кирпичной кладкой»: разная высота карточек не оставляет пустот */
@media (min-width: 760px) and (max-width: 1023px), (min-width: 1240px) {
  .lk-stage-block__cards:has(> :nth-child(2)) { display: block; columns: 2; column-gap: 12px; }
  .lk-stage-block__cards:has(> :nth-child(2)) > * { break-inside: avoid; margin-bottom: 12px; }
  .lk-stage-block__cards:has(> :nth-child(2)) > :last-child { margin-bottom: 0; }
}
/* телефон: блок стадии без внешней карточки — карточки стадий лежат прямо на фоне, ширина не теряется */
@media (max-width: 720px) {
  .lk-stage-block:not(.lk-stage-block--collapsed) { background: none; border: 0; box-shadow: none; padding: 4px 0 0; }
  .lk-stage-block:not(.lk-stage-block--collapsed) .lk-stage-card { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); border-radius: var(--r-l); }
}
.lk-stage-block--collapsed > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.lk-stage-block--collapsed > summary::-webkit-details-marker { display: none; }
.lk-stage-block--collapsed > summary > span { display: flex; flex-direction: column; gap: 5px; }
.lk-stage-block--collapsed > summary .lk-ic { transition: transform .2s; }
.lk-stage-block--collapsed[open] > summary { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lk-stage-block--collapsed[open] > summary .lk-ic { transform: rotate(180deg); }
.lk-stage-block--collapsed .lk-stage-block__cards { padding-top: 14px; }
.lk-stage-card { min-width: 0; padding: 18px; border-radius: var(--r-m); background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.lk-stage-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lk-stage-card__head > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lk-stage-card__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1; }
.lk-stage-card--blocked, .lk-stage-card--locked_until { background: var(--sunk); }
.lk-stage-card--blocked .lk-stage-card__body, .lk-stage-card--locked_until .lk-stage-card__head { color: var(--ink-3); }
.lk-stage-card__lock { color: var(--ink-3); }
.lk-stage-card__loading .lk-loading { padding: 20px 0; }
.lk-stage-card__error { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--last); font-size: 14px; }
.lk-stage-list { display: flex; flex-direction: column; }
.lk-stage-row { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; text-align: left; }
button.lk-stage-row { cursor: pointer; }
.lk-stage-row:last-child { border-bottom: 0; }
.lk-stage-row__main { min-width: 0; display: flex; flex-direction: column; gap: 3px; overflow-wrap: anywhere; }
.lk-stage-row--accent { color: var(--gold-ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lk-stage-row.lk-stage-row--accent { flex-wrap: nowrap; }
.lk-stage-row--accent > .lk-stage-row__main { flex: 1 1 auto; }
.lk-stage-row--accent::before { content: ''; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
.lk-text-danger { color: var(--last) !important; }
.lk-stage-screen__head { display: block; }

/* регистрация */
.lk-reg-lines { display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
.lk-reg-icons { display: flex; gap: 5px; }
.lk-reg-state { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.lk-reg-state.is-ok { background: var(--ok-soft); color: var(--ok); }
.lk-reg-state.is-wait { background: var(--low-soft); color: var(--low); }
.lk-reg-tabs button { display: inline-flex; align-items: center; gap: 6px; }
.lk-reg-fast { flex-direction: column; align-items: stretch; }
.lk-reg-fast ul { display: flex; flex-direction: column; gap: 8px; }
.lk-reg-fast li { display: flex; align-items: center; gap: 8px; }
.lk-reg-fast li > span { flex: 1; }
.lk-reg-section { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lk-reg-section:last-child { border-bottom: 0; }
.lk-reg-section__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lk-reg-section__head > div { min-width: 0; }
.lk-reg-doc { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.lk-reg-files { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-reg-file { position: relative; width: 100px; min-height: 84px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-s); display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; text-align: center; overflow-wrap: anywhere; }
.lk-reg-file img { width: 84px; height: 64px; object-fit: cover; border-radius: 5px; }
.lk-reg-file .lk-iconbtn { position: absolute; top: 2px; right: 2px; width: 30px; height: 30px; background: rgba(255,255,255,.9); }
.lk-reg-file .lk-iconbtn:hover { color: var(--last); }
.lk-upload-progress { min-height: 18px; }
.lk-reg-consent-child { padding-bottom: 16px; }
.lk-qr-video { width: 100%; max-height: 65vh; border-radius: var(--r-m); background: var(--night); }

/* услуги */
.lk-service-direction { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.lk-service-direction:last-of-type { border-bottom: 0; }
.lk-service-direction h4 { margin: 0; font-size: 14px; color: var(--ink-3); }
.lk-service-row { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; text-align: left; cursor: pointer; }
.lk-service-row > span:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lk-service-offer { padding: 8px 0; }
.lk-service-types { display: flex; flex-direction: column; gap: 8px; }
.lk-service-type { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: inherit; text-align: left; cursor: pointer; transition: border-color .15s; }
.lk-service-type:hover { border-color: var(--brand-ink); }

/* мастер-классы */
.lk-workshop-tabs { margin-bottom: 4px; }
.lk-workshop-grid { display: flex; flex-direction: column; gap: 18px; }
.lk-workshop-cycle { display: flex; flex-direction: column; gap: 10px; }
.lk-workshop-cycle__head { display: flex; flex-direction: column; gap: 3px; }
.lk-workshop-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lk-workshop-cell { min-height: 94px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; cursor: pointer; transition: border-color .15s; }
.lk-workshop-cell:hover { border-color: var(--line-strong); }
.lk-workshop-cell.is-selected { border-color: var(--brand-ink); background: var(--brand-soft); }
.lk-workshop-cell.is-unavailable, .lk-workshop-cell.is-locked { background: var(--sunk); color: var(--ink-3); cursor: default; }
.lk-workshop-sessions { display: flex; flex-direction: column; gap: 12px; }
.lk-workshop-session { display: flex; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lk-workshop-session > img { width: 120px; height: 100px; object-fit: cover; border-radius: var(--r-m); }
.lk-workshop-session__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.lk-workshop-session.is-unavailable { opacity: .6; }

/* компании и комнаты */
.lk-placement-room { padding: 10px 0; border-bottom: 1px solid var(--line); }
.lk-placement-room__kids { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.lk-placement-room__kids > span { display: inline-flex; align-items: center; gap: 4px; }
.lk-company-invite { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lk-company-invite [data-zone=invite] { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.lk-company-group { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lk-company-members { display: flex; flex-direction: column; }
.lk-company-member { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border-radius: var(--r-s); }
.lk-company-member.is-own { background: var(--brand-soft); }
.lk-company-member[draggable=true] { cursor: grab; }
.lk-company-member .lk-actions { justify-content: flex-end; }
.lk-company-history { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; font-size: 14px; }
.lk-placement-rooms { display: flex; flex-direction: column; }

/* экскурсии */
.lk-excursion { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lk-excursion__enrolled { width: 100%; }
.lk-excursion-form { width: 100%; padding: 12px; border-radius: var(--r-m); background: var(--sunk); }

/* сувениры */
.lk-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.lk-shop-product { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.lk-shop-product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lk-shop-product img, .lk-shop-product__placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-s); }
.lk-shop-product__placeholder { display: grid; place-items: center; background: var(--sunk); color: var(--ink-3); }
.lk-shop-detail { display: flex; gap: 18px; }
.lk-shop-detail > img { width: 42%; max-height: 300px; object-fit: cover; border-radius: var(--r-m); }
.lk-shop-detail > div { display: flex; flex-direction: column; gap: 10px; }
.lk-shop-orders { padding-top: 18px; }
@media (max-width: 720px) {
  .lk-workshop-cells { grid-template-columns: minmax(0, 1fr); }
  .lk-workshop-session { flex-direction: column; }
  .lk-workshop-session > img { width: 100%; height: auto; max-height: 220px; }
  .lk-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lk-company-member { align-items: flex-start; flex-direction: column; }
  .lk-company-member .lk-actions { justify-content: flex-start; }
  .lk-reg-section__head { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .lk-stage-card { padding: 14px; }
  .lk-shop-grid { gap: 8px; }
  .lk-shop-detail { flex-direction: column; }
  .lk-shop-detail > img { width: 100%; }
}

/* ================= Схема комнат (выбор места, 07.11.2026) ================= */
.lk-rooms { display: flex; flex-direction: column; gap: 22px; }
.lk-rooms__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lk-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); }
.lk-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.lk-legend i { width: 14px; height: 14px; border-radius: 5px; flex: none; }
.lk-legend .is-m { background: var(--boy-soft); box-shadow: inset 0 0 0 1.5px var(--boy); }
.lk-legend .is-f { background: var(--girl-soft); box-shadow: inset 0 0 0 1.5px var(--girl); }
.lk-legend .is-own { background: var(--gold); }
.lk-legend .is-co { background: #fff; box-shadow: inset 0 0 0 2px var(--brand-ink); }
.lk-legend .is-free { background: repeating-linear-gradient(-45deg, #fff 0 3px, var(--sunk) 3px 6px); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand-ink) 55%, transparent); }
.lk-rooms__group { display: flex; flex-direction: column; gap: 12px; }
.lk-rooms__gh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lk-rooms__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.lk-room { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); min-width: 0; transition: box-shadow .15s; }
.lk-room__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.lk-room__name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.lk-room__sub { font-size: 12.5px; color: var(--ink-3); }
.lk-room__free { font-size: 12.5px; font-weight: 650; padding: 3px 9px; border-radius: var(--r-pill); background: var(--ok-soft); color: var(--ok); white-space: nowrap; }
.lk-room__free.is-none { background: var(--sold-soft); color: var(--sold); }
.lk-room.is-own { box-shadow: inset 0 0 0 2px var(--gold), 0 10px 26px -14px rgba(232,182,90,.9); }
.lk-room.is-co { box-shadow: inset 0 0 0 2px var(--brand-ink), var(--shadow-1); }
.lk-room.is-own.is-co { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 3px var(--brand-soft), var(--shadow-1); }
.lk-room.is-off { opacity: .55; }
.lk-room__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-room__tag { font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: var(--r-pill); }
.lk-room__tag--own { background: var(--gold-soft); color: var(--gold-ink); }
.lk-room__tag--co { background: var(--brand-soft); color: var(--brand-ink); }
.lk-room__tag--cur { background: var(--night); color: #fff; }
.lk-beds { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 6px; }
.lk-bed { position: relative; min-height: 70px; padding: 8px 2px 7px; border-radius: 12px; border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-align: center; font: inherit; color: var(--ink); background: var(--sunk); min-width: 0; }
.lk-bed .lk-ic { width: 20px; height: 20px; }
.lk-bed__age { font-size: 12.5px; font-weight: 650; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lk-bed__name { max-width: 100%; font-size: 10.5px; letter-spacing: -.01em; line-height: 1.15; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-bed--m { background: var(--boy-soft); color: var(--boy); }
.lk-bed--f { background: var(--girl-soft); color: var(--girl); }
.lk-bed--m .lk-bed__age, .lk-bed--f .lk-bed__age { color: var(--ink); }
.lk-bed--co { box-shadow: inset 0 0 0 2px var(--brand-ink); }
.lk-bed--co .lk-bed__name { color: var(--brand-ink); }
.lk-bed--own { background: var(--gold); color: var(--night-0); box-shadow: 0 6px 14px -8px rgba(138,83,0,.8); }
.lk-bed--own .lk-bed__age, .lk-bed--own .lk-bed__name { color: var(--night-0); }
.lk-bed--free { background: #fff; color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line-strong); border: 0; }
.lk-bed--free.is-pick { cursor: pointer; color: var(--brand-ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand-ink) 45%, transparent); background: repeating-linear-gradient(-45deg, #fff 0 8px, var(--tint) 8px 16px); transition: transform .12s, box-shadow .15s, background .15s; }
.lk-bed--free.is-pick:hover { transform: translateY(-2px); background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand-ink); }
.lk-bed--free .lk-bed__age { font-size: 11.5px; font-weight: 600; }
.lk-bed--held { background: var(--sold-soft); color: var(--sold); }
.lk-room__own { font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.lk-room__own b { font-weight: 650; }
.lk-room__reason { font-size: 12.5px; color: var(--ink-3); }
.lk-room__acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lk-rooms__hist { font-size: 14px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }

/* ================= Вход ================= */
.lk-login { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.lk-login__hero { position: relative; isolation: isolate; overflow: clip; border-radius: var(--r-l); background: var(--night); color: var(--on-night); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.lk-login__hero::before, .lk-login__hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.lk-login__hero::before { z-index: -1; opacity: .8; background-image: radial-gradient(1px 1px at 23px 41px, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 87px 163px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 251px 131px, rgba(232,182,90,.9) 50%, transparent 52%), radial-gradient(1px 1px at 201px 19px, rgba(255,255,255,.6) 50%, transparent 52%);
  background-size: 230px 230px, 370px 370px, 530px 530px, 170px 170px; }
.lk-login__hero::after { z-index: -2; background: radial-gradient(70% 60% at 100% 0%, rgba(0,160,227,.3), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(232,182,90,.18), transparent 70%); }
.lk-login__hero .lk-eyebrow { color: var(--on-night-2); }
.lk-login__hero .lk-eyebrow::before { background: var(--gold); }
.lk-login__hero .lk-h1 { color: #fff; }
.lk-login__hero .lk-lead { color: var(--on-night-2); }
.lk-login__feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.lk-login__feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--night-line); }
.lk-login__feat .lk-ic { color: var(--gold); }
.lk-login__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (min-width: 960px) { .lk-login { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; } .lk-login__hero { min-height: 460px; justify-content: flex-end; position: sticky; top: calc(var(--sticky-top) + 20px); } }
@media (max-width: 520px) { .lk-login__feats { grid-template-columns: minmax(0, 1fr); } .lk-login__feat:nth-child(n+3) { display: none; } }

/* ================= Бронирование ================= */
.lk-bkflow__top { display: flex; flex-direction: column; gap: 14px; }
.lk-bkflow__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lk-stepper { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.lk-stepper li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.lk-stepper li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--sunk); font-weight: 700; color: var(--ink-2); font-size: 12px; }
.lk-stepper li.is-on { background: var(--night); color: #fff; box-shadow: none; font-weight: 600; }
.lk-stepper li.is-on span { background: var(--gold); color: var(--night-0); }
.lk-stepper li.is-done span { background: var(--ok-soft); color: var(--ok); }
.lk-campchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.lk-campchips::-webkit-scrollbar { display: none; }
.lk-campchips button { flex: none; min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font: 600 14px/1 var(--font-ui); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; }
.lk-campchips button[aria-pressed="true"] { background: var(--night); color: #fff; box-shadow: none; }
.lk-tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.lk-tour { position: relative; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-l); padding: 0; display: flex; flex-direction: column; cursor: pointer;
  overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .15s; font: inherit; color: inherit; }
.lk-tour:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-strong); }
.lk-tour[disabled] { opacity: .62; cursor: not-allowed; transform: none; box-shadow: none; }
.lk-tour__band { position: relative; isolation: isolate; overflow: clip; padding: 18px 20px 16px; background: var(--night); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.lk-tour__band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7; background-image: radial-gradient(1px 1px at 23px 31px, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 127px 63px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 211px 21px, rgba(232,182,90,.9) 50%, transparent 52%);
  background-size: 160px 90px, 260px 90px, 300px 90px; }
.lk-tour__band::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 100% at 100% 0, rgba(0,160,227,.35), transparent 70%); }
.lk-tour[disabled] .lk-tour__band { background: var(--sold); }
.lk-tour__camp { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--on-night-2); }
.lk-tour__title { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.lk-tour__body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.lk-tour__facts { display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; color: var(--ink-2); }
.lk-tour__facts > span { display: inline-flex; align-items: center; gap: 9px; }
.lk-tour__facts .lk-ic { color: var(--ink-3); }
.lk-tour__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.lk-tour__price { display: flex; flex-direction: column; gap: 1px; }
.lk-tour__price small { font-size: 12px; color: var(--ink-3); }
.lk-tour__price b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.lk-tour__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-ink); color: #fff; flex: none; transition: transform .2s var(--ease); }
.lk-tour:hover .lk-tour__go { transform: translateX(3px); }
.lk-tour[disabled] .lk-tour__go { background: var(--sold); }
.lk-bkgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.lk-bkgrid__main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lk-bkgrid__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 1024px) {
  .lk-bkgrid { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
  .lk-bkgrid__side { position: sticky; top: calc(var(--sticky-top) + 20px); }
  .lk-bkgrid .lk-sticky { position: static; margin: 0; padding: 0; background: none; border: 0; backdrop-filter: none; }
}
.lk-bksum { gap: 14px; }
.lk-bksum .lk-status { padding: 20px 22px; gap: 10px; border-radius: var(--r-m); }
.lk-bksum__rows .lk-row { font-size: 14.5px; padding: 9px 0; }
.lk-bksum__total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 4px; }
.lk-bksum__total b { font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lk-timerbox { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-m); background: var(--gold-soft); color: var(--gold-ink); font-size: 14px; }
.lk-timerbox b { font-size: 17px; font-variant-numeric: tabular-nums; }
/* промокод в форме бронирования (22.11.2026) */
.lk-promo { display: grid; gap: 6px; }
.lk-promo__row { display: flex; gap: 8px; align-items: stretch; }
.lk-promo__row .lk-input { flex: 1; min-width: 0; text-transform: uppercase; }
.lk-promo__row .lk-btn { flex: none; }
.lk-promo__ok { color: var(--ok); font-weight: 600; }
.lk-promo__err { color: var(--last); font-weight: 600; }
.lk-tariffs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.lk-tariff { position: relative; display: block; cursor: pointer; }
.lk-tariff > input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lk-tariff__b { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px; border-radius: var(--r-m); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: box-shadow .15s, background .15s; }
.lk-tariff:hover .lk-tariff__b { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.lk-tariff > input:checked + .lk-tariff__b { box-shadow: inset 0 0 0 2px var(--brand-ink); background: var(--brand-soft); }
.lk-tariff > input:focus-visible + .lk-tariff__b { outline: 3px solid var(--brand); outline-offset: 2px; }
.lk-tariff__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lk-tariff__name { font-weight: 700; font-size: 16px; }
.lk-tariff__dot { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px var(--line-strong); background: #fff; }
.lk-tariff > input:checked + .lk-tariff__b .lk-tariff__dot { box-shadow: inset 0 0 0 6px var(--brand-ink); }
.lk-tariff__price { font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lk-tariff__price small { font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.lk-tariff__terms { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.lk-tariff .lk-link { min-height: 28px; font-size: 13px; }
/* быстрое заполнение из броней */
.lk-quick { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-m); background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--brand-soft) 40%, #fff)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-ink) 14%, transparent); }
.lk-quick__head { display: flex; align-items: center; gap: 10px; }
.lk-quick__head .lk-ic { color: var(--brand-ink); }
.lk-quick__head b { font-size: 15px; }
.lk-quick__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.lk-quickp { flex: none; display: flex; align-items: center; gap: 10px; min-height: 54px; max-width: 280px; padding: 8px 14px 8px 8px; border: 0; border-radius: 16px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); cursor: pointer; text-align: left; transition: box-shadow .15s, transform .15s; }
.lk-quickp:hover { box-shadow: inset 0 0 0 1.5px var(--brand-ink), var(--shadow-1); transform: translateY(-1px); }
.lk-quickp.is-on { box-shadow: inset 0 0 0 2px var(--ok); }
.lk-quickp.is-on .lk-quickp__ic { background: var(--ok-soft); color: var(--ok); }
.lk-quickp__ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); font-size: 13px; font-weight: 700; }
.lk-quickp__ic--m { background: var(--boy-soft); color: var(--boy); }
.lk-quickp__ic--f { background: var(--girl-soft); color: var(--girl); }
.lk-quickp__t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lk-quickp__t b { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-quickp__t span { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* форма бронирования: сворачиваемые карточки заказчика и детей */
.lk-bkc { padding: 0; overflow: hidden; }
.lk-bkc__head { display: flex; align-items: center; gap: 12px; padding: 20px 22px; flex-wrap: wrap; }
.lk-bkc__head[data-act] { cursor: pointer; }
.lk-bkc__n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: #fff; font-size: 13px; font-weight: 700; }
.lk-bkc__title { font-size: 20px; font-weight: 700; flex: 1 1 auto; letter-spacing: -.015em; }
.lk-bkc__aside { margin-left: auto; color: var(--ink-3); font-size: 14px; }
.lk-bkc__body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.lk-bkc__sum { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; cursor: pointer; text-align: left; }
.lk-bkc__sum .lk-kid__t { flex: 1; }
.lk-bkc__save { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lk-bkkid { border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.lk-bkkid__head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.lk-bkkid__head .lk-kid__head { padding: 4px; flex: 1; min-width: 0; }
.lk-bkkid.is-open .lk-kid__chev { transform: rotate(180deg); }
.lk-bkkid__body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.lk-bkkid.has-err { border-color: var(--last); }
.lk-addkid { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-pill); background: transparent; color: var(--ink-2); cursor: pointer; font: 600 15px/1 var(--font-ui); }
.lk-addkid:hover { border-color: var(--brand-ink); color: var(--brand-ink); }
.lk-bkc .lk-pills--tabs { align-self: flex-start; }

/* ================= Добавить списком (children-import.js) ================= */
.lk-imp { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--tint); }
.lk-imp__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lk-imp__links { display: inline-flex; gap: 16px; }
.lk-imp__paste { min-height: 120px; padding: 12px 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-s); background: #fff; font-size: 14px; line-height: 1.5; overflow: auto; max-height: 320px; outline: none; }
.lk-imp__paste:focus { border-color: var(--brand-ink); }
.lk-imp__paste:empty::before { content: attr(data-placeholder); color: var(--ink-3); }
.lk-imp__file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-s); }
.lk-imp__file.is-over { border-color: var(--brand-ink); background: var(--brand-soft); }
.lk-imp__file .lk-small { flex: 1 1 260px; }
.lk-imp__busy { display: inline-flex; align-items: center; gap: 6px; }
.lk-imp__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-imp__chip { padding: 4px 10px; border-radius: var(--r-pill); background: var(--sunk); font-size: 13px; color: var(--ink-2); }
.lk-imp__chip.is-warn { background: var(--low-soft); color: var(--low); }
.lk-imp__mode { display: flex; flex-direction: column; gap: 6px; }
.lk-imp__modes { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-imp__group { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-left: 3px solid var(--line-strong); border-radius: var(--r-s); background: #fff; }
.lk-imp__group h4 { font-size: 15px; font-weight: 650; margin: 0 0 4px; }
.lk-imp__group h4 span { color: var(--ink-3); font-weight: 500; }
.lk-imp__group.is-add { border-left-color: var(--ok); }
.lk-imp__group.is-rep, .lk-imp__group.is-chg { border-left-color: var(--brand-ink); }
.lk-imp__group.is-rem { border-left-color: var(--last); }
.lk-imp__group.is-lock, .lk-imp__group.is-same { border-left-color: var(--line-strong); background: transparent; }
.lk-imp__row { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; cursor: pointer; }
.lk-imp__row input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--night); }
.lk-imp__row.is-off { opacity: .55; }
.lk-imp__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lk-imp__text b { font-weight: 650; font-size: 15px; }
.lk-imp__text small { font-size: 13px; color: var(--ink-3); line-height: 1.4; overflow-wrap: anywhere; }
.lk-imp__warn { display: inline-flex; gap: 4px; color: var(--low) !important; }
.lk-imp__skipped summary { cursor: pointer; color: var(--brand-ink); font-size: 14px; }
.lk-imp__skipped ul { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); }
.lk-imp__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ================= Медсправка (kid.js, medcert-upload.js) ================= */
.lk-med { display: flex; flex-direction: column; gap: 14px; }
.lk-med__drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 28px 16px; border: 2px dashed var(--line-strong); border-radius: var(--r-m); background: var(--tint); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.lk-med__drop:hover, .lk-med__drop.is-over { border-color: var(--brand-ink); background: var(--brand-soft); }
.lk-med__drop .lk-drop__ic { width: 52px; height: 52px; }
.lk-med__files { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.lk-med__file { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-s); background: #fff; font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.lk-med__thumb { height: 96px; border-radius: 6px; background: var(--sunk) center / cover no-repeat; display: grid; place-items: center; color: var(--ink-3); }
.lk-med__file .lk-iconbtn { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; background: #fff; }
.lk-med__file.is-new { border-color: var(--brand-ink); }
.lk-med__check { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: var(--r-m); background: var(--brand-soft); }
.lk-med__bar { height: 6px; border-radius: 999px; background: #fff; overflow: hidden; }
.lk-med__bar span { display: block; height: 100%; width: 30%; background: var(--brand-ink); border-radius: inherit; transition: width .9s linear; }
.lk-med__bar.is-indet span { width: 35%; animation: lk-med-run 1.4s ease-in-out infinite; }
@keyframes lk-med-run { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.lk-med__remarks { display: flex; flex-direction: column; gap: 8px; }
.lk-med__src { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: #fff; font-size: 12px; font-weight: 600; color: var(--ink-2); }

/* ================= Организатор: вкладка «Группа» ================= */
.lk-gt { width: 100%; border-collapse: collapse; font-size: 14px; }
.lk-gt th { text-align: left; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: normal; line-height: 1.3; }
.lk-gt td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lk-gt tbody tr:hover td { background: var(--tint); }
.lk-gt .lk-n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lk-gt tr.is-grey td { color: var(--ink-3); }
.lk-gt tr.lk-gt__more td { background: var(--tint); }
.lk-gt tfoot td { font-weight: 650; border-bottom: 0; }
.lk-gt__name { font-weight: 600; }
.lk-gt td:first-child { min-width: 170px; }
.lk-gt__morebox { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.lk-gt__morebox > div:first-child { flex: 1 1 320px; }
.lk-gt__tog { border: 0; background: none; padding: 0; color: var(--brand-ink); cursor: pointer; font: inherit; font-size: 13px; }
.lk-gt__acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.lk-gt__acts .lk-btn--primary { margin-right: 6px; }
.lk-gt__pay { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 4px 0; font-size: 13px; color: var(--ink-2); }
.lk-gcard { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--line-strong); border-radius: var(--r-m); background: #fff; }
.lk-gcard--full { border-left-color: var(--ok); } .lk-gcard--partial { border-left-color: var(--gold); } .lk-gcard--none { border-left-color: var(--last); }
.lk-gcard--grey { opacity: .7; }
.lk-gcard__top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.lk-gcard__money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 13px; color: var(--ink-3); }
.lk-gcard__money b { display: block; color: var(--ink); font-size: 14px; }
.lk-gcards { display: flex; flex-direction: column; gap: 10px; }
.lk-wrap > .lk-seg:first-child { align-self: flex-start; min-width: min(100%, 460px); }

/* ================= Отмена с расчётом ================= */
.lk-cwiz { display: flex; gap: 6px; margin: 0 0 4px; padding: 0; list-style: none; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.lk-cwiz li { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--sunk); }
.lk-cwiz li span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 700; color: var(--ink-2); }
.lk-cwiz li.is-on { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.lk-cwiz li.is-on span { background: var(--brand-ink); color: #fff; }
.lk-cwiz li.is-done span { background: var(--ok-soft); color: var(--ok); }
.lk-cwiz__how { color: var(--ink-2); }
.lk-cwiz__kids { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lk-cancel-item { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.lk-cancel-item:first-of-type { border-top: 0; }
.lk-badge--rec { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 1.4; font-weight: 600; background: var(--ok-soft); color: var(--ok); vertical-align: 1px; }
.lk-hint { margin-top: 10px; }
.lk-hint-cmp { margin: 8px 0 0; }
.lk-sheet .lk-row > :first-child { flex: 0 1 auto; min-width: 7em; }
.lk-sheet .lk-row > :last-child:not(:first-child) { flex: 0 1 auto; text-align: right; overflow-wrap: break-word; }
.lk-exprow { grid-template-columns: 1fr 9em auto; align-items: end; }
.lk-exprow .lk-iconbtn { margin-bottom: 4px; }
@media (max-width: 520px) { .lk-exprow { grid-template-columns: 1fr 7em auto; } }
.lk-team-kid { flex-wrap: wrap; }
.lk-row.lk-team-kid > .lk-actions { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-start; gap: 4px 8px; }

@media (prefers-reduced-motion: reduce) {
  .lk-app *, .lk-app *::before, .lk-app *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.lk-rooms.is-freeonly .lk-room[data-free="0"]:not(.is-own) { display: none; }
.lk-rooms.is-freeonly .lk-rooms__group:not(:has(.lk-room[data-free]:not([data-free="0"]), .lk-room.is-own)) { display: none; }
.lk-bktimer-m { position: sticky; top: calc(var(--sticky-top) + 8px); z-index: 15; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-m); background: var(--night); color: var(--on-night-2); font-size: 13px; box-shadow: var(--shadow); }
.lk-bktimer-m > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-bktimer-m b { color: var(--gold); font-size: 15px; }
@media (min-width: 1024px) { .lk-bktimer-m { display: none; } }
html[data-lk-embed="iframe"] .lk-bktimer-m { position: static; }
@media (max-width: 600px) { .lk-quick__head > .lk-small { display: none; } }
.lk-bksum__total b { font-size: 21px; line-height: 1.2; text-align: right; }

/* 20.11.2026: полоса «вход сотрудника» — кабинет открыт сотрудником ERP из карточки брони (js/app.js, staffBar) */
.lk-staffbar { position: sticky; top: var(--lk-sticky-top, 0px); z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 16px; background: var(--gold-soft, #FBF1DA); border-bottom: 1px solid #F1DCAE; color: #5E4310; font-size: 14px; line-height: 1.35; }
.lk-staffbar__t { flex: 1 1 280px; min-width: 0; }
