/* STOLIK — новая система стилей (редизайн, решение владельца 2026-10-13).
   Каталог «без карточек, крупные фото»: никаких рамок, разделение оттенком и воздухом,
   один шрифт Inter, оранжевый только на том, что нажимается. Светлая и тёмная тема.
   Подключается только на страницах из web.DS_PATHS — вместо 30 старых файлов стилей. */

/* ---------- Токены ---------- */
:root, :root[data-theme="light"] {
  --ds-bg: #f7f4ef; --ds-raise: #ffffff; --ds-fill: #ece7e0; --ds-fill-2: #e2dbd1;
  --ds-ink: #1a1a1a; --ds-muted: #736c64; --ds-faint: #a39b91; --ds-line: rgb(26 26 26 / .08);
  --ds-accent: #e8691f; --ds-accent-press: #cf5814; --ds-on-accent: #ffffff; --ds-accent-soft: rgb(232 105 31 / .12);
  --ds-shadow: 0 12px 32px -14px rgb(40 26 14 / .28); --ds-shadow-sm: 0 4px 14px -8px rgb(40 26 14 / .3);
  --ds-photo: #e4ddd3;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --ds-bg: #121010; --ds-raise: #1d1a18; --ds-fill: #1f1c1a; --ds-fill-2: #2a2623;
  --ds-ink: #f3eee8; --ds-muted: #9c948b; --ds-faint: #6f6861; --ds-line: rgb(255 255 255 / .08);
  --ds-accent: #f07a35; --ds-accent-press: #ff8c4a; --ds-on-accent: #ffffff; --ds-accent-soft: rgb(240 122 53 / .16);
  --ds-shadow: 0 16px 40px -16px rgb(0 0 0 / .8); --ds-shadow-sm: 0 6px 18px -10px rgb(0 0 0 / .8);
  --ds-photo: #24201d;
  color-scheme: dark;
}
:root {
  --ds-font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ds-r-photo: 18px; --ds-r: 14px; --ds-r-pill: 999px;
  --ds-gutter: 16px; --ds-max: 1200px;
  /* Совместимость со стилями Толика: он читает старые переменные. */
  --bg: var(--ds-bg); --text: var(--ds-ink); --muted: var(--ds-muted); --accent: var(--ds-accent);
  --surface: var(--ds-raise); --surface-2: var(--ds-fill); --border: var(--ds-line);
  --text-muted: var(--ds-muted); --text-dim: var(--ds-faint); --accent-soft: var(--ds-accent-soft); --accent-ink: var(--ds-accent);
}

/* ---------- Основа ---------- */
body.ds { margin: 0; min-height: 100dvh; background: var(--ds-bg); color: var(--ds-ink); font: 400 15px/1.45 var(--ds-font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent; }
.ds *, .ds *::before, .ds *::after { box-sizing: border-box; }
.ds [hidden] { display: none !important; }
.ds img { max-width: 100%; display: block; }
.ds a { color: inherit; text-decoration: none; }
.ds h1, .ds h2, .ds h3, .ds p { margin: 0; }
.ds button, .ds input, .ds select, .ds textarea { font: inherit; color: inherit; }
.ds svg { flex: none; }
.ds :focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 2px; border-radius: 6px; }
.ds .container { width: 100%; max-width: var(--ds-max); margin: 0 auto; padding: 0 var(--ds-gutter); }
.ds .main { display: block; min-height: 60vh; padding-bottom: 32px; }
.ds .sr-only, .ds .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ds .muted { color: var(--ds-muted); }
html.cf-lock, html.cf-lock body { overflow: hidden; }

/* Кнопки — общий набор */
.ds .btn, .ds .cf-btn, .ds .mnav__btn, .ds .auth-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: var(--ds-r-pill); background: var(--ds-fill); color: var(--ds-ink); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .15s, transform .1s; }
.ds .btn:active, .ds .cf-btn:active, .ds .mnav__btn:active { transform: scale(.98); }
.ds :is(.btn--primary, .cf-btn--primary, .mnav__btn--primary, .auth-submit) { background: var(--ds-accent); color: var(--ds-on-accent); }
.ds :is(.btn--primary, .cf-btn--primary, .mnav__btn--primary, .auth-submit):hover { background: var(--ds-accent-press); }
.ds .btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.ds .btn--ghost, .ds .cf-btn--ghost { background: var(--ds-fill); }

/* Поля */
.ds input:not([type=checkbox]):not([type=radio]), .ds select, .ds textarea {
  border: 0; border-radius: var(--ds-r); background: var(--ds-fill); color: var(--ds-ink); min-height: 44px; padding: 0 14px; outline: none; }
.ds input::placeholder, .ds textarea::placeholder { color: var(--ds-faint); }
.ds input[type=checkbox], .ds input[type=radio] { accent-color: var(--ds-accent); width: 18px; height: 18px; }

/* ---------- Шапка ---------- */
.ds .header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--ds-bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
.ds .header__inner { display: flex; align-items: center; gap: 16px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.ds .logo { display: inline-flex; align-items: center; flex: none; }
.ds .logo :is(svg, img) { height: 26px; width: auto; }
.ds .stolik-wordmark { font: 800 24px/1 var(--ds-font); letter-spacing: -.04em; color: var(--ds-ink); }
.ds .stolik-wordmark > span:first-child { color: var(--ds-accent); }
.ds .stolik-wordmark__dot { display: inline-block; width: 6px; height: 6px; margin-left: 1px; border-radius: 50%; background: var(--ds-accent); }
.ds .hx { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.ds .hx-search { position: relative; flex: 1; max-width: 520px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  border-radius: var(--ds-r); background: var(--ds-fill); margin-right: auto; margin-left: 24px; }
.ds .hx-search__icon { width: 18px; height: 18px; fill: none; stroke: var(--ds-muted); stroke-width: 2; stroke-linecap: round; }
.ds .hx-search__field { flex: 1; min-width: 0; position: static; }
.ds .hx-search input { width: 100%; min-height: 0; height: 40px; padding: 0; background: transparent; border-radius: 0; font-size: 15px; }
.ds .hx-search input::-webkit-search-cancel-button { display: none; }
.ds .suggest { display: none; position: absolute; z-index: 70; color: var(--ds-ink); top: calc(100% + 8px); left: 0; right: 0; max-height: 60vh; overflow: auto;
  padding: 6px; border-radius: var(--ds-r); background: var(--ds-raise); box-shadow: var(--ds-shadow); }
.ds .suggest.is-open { display: block; }
.ds .suggest__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.ds .suggest__item:is(:hover, .is-active, .is-hl, [aria-selected="true"]) { background: var(--ds-fill); }
.ds .suggest__item.is-hl { box-shadow: inset 3px 0 0 var(--ds-accent); }
/* Кнопки языка в окне Толика: обводка только при работе с клавиатуры */
.ds .language-switch button:focus:not(:focus-visible) { outline: none; }
.ds .suggest__meta { color: var(--ds-muted); font-size: 13px; }

/* Круглые кнопки шапки: тема, колокольчик, аватар, бургер */
.ds :is(.appearance-switch, .notification-bell, .hx-avatar, .hx-burger) {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ds-ink); cursor: pointer; list-style: none; }
.ds :is(.appearance-switch, .notification-bell, .hx-burger):hover { background: var(--ds-fill); }
.ds :is(.notification-bell, .hx-burger) svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ds .hx-avatar { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 700; }
.ds .hx-avatar::-webkit-details-marker, .ds .hx-pop > summary::-webkit-details-marker { display: none; }
.ds .hx-pop > summary { list-style: none; cursor: pointer; }
.ds .hx-dot, .ds .notification-bell__count { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--ds-accent); color: #fff; font: 700 10px/16px var(--ds-font); font-style: normal; text-align: center; }
.ds .notification-bell__count.is-empty { display: none; }  /* «0» не показываем — значок только при новых уведомлениях */
/* Переключатель темы — одна иконка: солнце в тёмной теме, луна в светлой */
.ds .appearance-switch__track { display: grid; place-items: center; }
.ds .appearance-switch__thumb { display: none; }
.ds .appearance-switch svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; grid-area: 1 / 1; }
.ds .appearance-switch__moon { display: block; }
.ds .appearance-switch__sun { display: none; }
:root[data-theme="dark"] .ds .appearance-switch__moon { display: none; }
:root[data-theme="dark"] .ds .appearance-switch__sun { display: block; }
/* Язык и валюта */
.ds .hx-pill { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 6px; border-radius: var(--ds-r-pill); font-weight: 600; font-size: 13px; }
.ds .hx-pill:hover { background: var(--ds-fill); }
.ds .hx-pill img { width: 22px; height: 22px; border-radius: 50%; }
.ds .hx-caret { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
/* «Войти» — простая оранжевая таблетка */
.ds .hx-login { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 0; border-radius: var(--ds-r-pill);
  background: var(--ds-accent); color: var(--ds-on-accent); font-weight: 600; cursor: pointer; }
.ds .hx-login__circle { display: none; }
.ds .hx-login__text { position: static; display: inline; margin: 0; color: inherit; font: inherit; }
/* Выпадающие меню шапки */
.ds .hx-pop { position: relative; }
.ds .hx-menu, .ds .notification-panel { position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; min-width: 240px; padding: 8px;
  border-radius: var(--ds-r); background: var(--ds-raise); box-shadow: var(--ds-shadow); }
.ds .hx-menu a, .ds .hx-menu button:not(.hx-langs__item) { display: flex; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none;
  text-align: left; cursor: pointer; font-size: 15px; }
.ds .hx-menu a:hover, .ds .hx-menu button:hover { background: var(--ds-fill); }
.ds .hx-menu__name { padding: 8px 12px; color: var(--ds-muted); font-size: 13px; }
.ds .hx-langs { width: 300px; }
.ds .hx-langs__title { padding: 6px 8px; color: var(--ds-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ds .hx-langs__list { display: grid; gap: 2px; }
.ds .hx-langs__list--currency { grid-template-columns: 1fr 1fr; }
.ds .hx-langs__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; }
.ds .hx-langs__item img { width: 22px; height: 22px; border-radius: 50%; }
.ds .hx-langs__item[aria-checked="true"] { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .hx-langs__item small { display: block; color: var(--ds-muted); font-size: 12px; }
.ds .notification-panel { width: min(360px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; }
.ds .notification-panel { padding: 8px 8px 4px; }
.ds .notification-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 6px 8px 12px;
  border-bottom: 1px solid var(--ds-line); }
.ds .notification-panel__head > div { display: grid; gap: 2px; min-width: 0; }
.ds .notification-panel__head span { font-size: 17px; font-weight: 700; }
.ds .notification-panel__head small { color: var(--ds-muted); font-size: 13px; }
.ds .notification-panel__head button { flex: none; padding: 2px 0; border: 0; background: none; color: var(--ds-accent); font: 600 14px/1.3 var(--ds-font); cursor: pointer; }
.ds .notification-panel__head button:hover { color: var(--ds-accent-press); }
.ds .notification-panel__list > * { display: block; padding: 12px 8px; }
.ds .notification-panel__list .notification-item { display: grid; grid-template-columns: 8px 1fr; gap: 10px; color: var(--ds-ink);
  border-bottom: 1px solid var(--ds-line); border-radius: 0; text-decoration: none; }
.ds .notification-panel__list .notification-item:last-child { border-bottom: 0; }
.ds .notification-panel__list .notification-item:hover { background: var(--ds-fill); }
.ds .notification-item > i { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; }
.ds .notification-item.is-unread > i { background: var(--ds-accent); }
.ds .notification-item > span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.ds .notification-item strong { font-size: 15px; font-weight: 700; }
.ds .notification-item span span { font-size: 14px; line-height: 1.4; }
.ds .notification-item time { margin-top: 2px; color: var(--ds-muted); font-size: 12px; }
.ds .notification-panel__empty, .ds .notification-panel__loading { margin: 0; color: var(--ds-muted); font-size: 14px; }
.ds .hx-burger { display: none; }

/* Мобильное меню (бургер) */
.ds .mnav { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--ds-bg); color: var(--ds-ink); }
.ds .mnav::backdrop { background: rgb(0 0 0 / .4); }
.ds .mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--ds-gutter); }
.ds .mnav__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ds-fill); cursor: pointer; }
.ds .mnav__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ds .mnav__body { display: grid; gap: 22px; padding: 8px var(--ds-gutter) 40px; }
.ds .mnav__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ds .mnav__user { display: flex; align-items: center; gap: 12px; }
.ds .mnav__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 700; }
.ds .mnav__user small { display: block; color: var(--ds-muted); }
.ds .mnav__links { display: grid; }
.ds .mnav__links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--ds-line); font-size: 17px; font-weight: 500; }
.ds .mnav__links a::after { content: "›"; color: var(--ds-faint); font-size: 22px; line-height: 1; }
.ds .mnav__label { margin-bottom: 8px; color: var(--ds-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ds .mnav__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .mnav__chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: var(--ds-r-pill); background: var(--ds-fill); cursor: pointer; }
.ds .mnav__chip img { width: 18px; height: 18px; border-radius: 50%; }
.ds .mnav__chip[aria-pressed="true"] { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .mnav__theme { display: flex; align-items: center; justify-content: space-between; }
.ds .mnav__theme .mnav__label { margin: 0; text-transform: none; letter-spacing: 0; font-size: 17px; font-weight: 500; color: var(--ds-ink); }
.ds .mnav__switch { position: relative; width: 52px; height: 32px; border: 0; border-radius: 16px; background: var(--ds-fill-2); cursor: pointer; }
.ds .mnav__switch span { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: var(--ds-shadow-sm); transition: transform .2s; }
.ds .mnav__switch[aria-checked="true"] { background: var(--ds-accent); }
.ds .mnav__switch[aria-checked="true"] span { transform: translateX(20px); }

/* ---------- Каталог ---------- */
.ds .cf { padding-top: 8px; }
.ds .cf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 14px; }
.ds .cf-title { font: 700 28px/1.15 var(--ds-font); letter-spacing: -.025em; }
.ds .cf-city__toggle { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--ds-r-pill);
  background: var(--ds-fill); font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; white-space: nowrap; }
.ds .cf-city__toggle::-webkit-details-marker, .ds .cf-pop > summary::-webkit-details-marker { display: none; }
.ds .cf-city__toggle svg { width: 16px; height: 16px; fill: none; stroke: var(--ds-accent); stroke-width: 2; }

/* Строка «Сегодня | время | гости» */
.ds .ds-prefs { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; align-items: center; margin: 0 0 16px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .ds-prefs__item { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; height: 46px; padding: 0 12px; }
.ds .ds-prefs__item + .ds-prefs__item::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--ds-line); }
.ds .ds-prefs__item svg { width: 18px; height: 18px; fill: none; stroke: var(--ds-muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ds .ds-prefs select { flex: 1; min-width: 0; min-height: 0; height: 44px; padding: 0; background: transparent; border-radius: 0; font-size: 14px; font-weight: 500;
  appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis; }

/* Вкладки кухонь */
.ds .ds-tabs { display: flex; gap: 20px; margin: 0 calc(-1 * var(--ds-gutter)) 6px; padding: 0 var(--ds-gutter); overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--ds-line); }
.ds .ds-tabs::-webkit-scrollbar { display: none; }
.ds .ds-tabs a { flex: none; padding: 10px 0 12px; color: var(--ds-muted); font-size: 15px; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ds .ds-tabs a:hover { color: var(--ds-ink); }
.ds .ds-tabs a[aria-current] { color: var(--ds-ink); font-weight: 600; border-bottom-color: var(--ds-accent); }

/* Фильтры */
.ds .cf-bar { display: flex; align-items: center; gap: 8px; margin: 14px calc(-1 * var(--ds-gutter)) 18px; padding: 0 var(--ds-gutter); overflow-x: auto; scrollbar-width: none; }
.ds .cf-bar::-webkit-scrollbar { display: none; }
.ds .cf-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: var(--ds-r-pill);
  background: var(--ds-fill); color: var(--ds-ink); font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; white-space: nowrap; }
.ds .cf-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ds .cf-chip--icon { width: 36px; padding: 0; justify-content: center; }
.ds .cf-chip.is-active { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .cf-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ds-accent); color: #fff; font-size: 11px; font-weight: 700; }
.ds .cf-caret { width: 14px !important; height: 14px !important; }
.ds .cf-reset { flex: none; color: var(--ds-accent); font-size: 14px; font-weight: 600; white-space: nowrap; }
.ds .cf-view { display: inline-flex; flex: none; margin-left: auto; padding: 3px; border-radius: var(--ds-r-pill); background: var(--ds-fill); }
.ds .cf-view__item { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--ds-r-pill); color: var(--ds-muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.ds .cf-view__item svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ds .cf-view__item.is-active { background: var(--ds-raise); color: var(--ds-ink); box-shadow: var(--ds-shadow-sm); }
.ds .cf-pop { position: relative; flex: none; }
.ds .cf-panel { position: absolute; z-index: 75; top: calc(100% + 8px); left: 0; width: 300px; max-height: 70vh; overflow: auto; padding: 14px; margin: 0;
  border: 0; border-radius: var(--ds-r); background: var(--ds-raise); color: var(--ds-ink); box-shadow: var(--ds-shadow); }
.ds .cf-head .cf-panel { left: auto; right: 0; }
.ds .cf-panel__title { margin-bottom: 8px; font-weight: 700; }
.ds .cf-check { display: flex; align-items: center; gap: 10px; padding: 9px 4px; cursor: pointer; }
.ds .cf-check span { flex: 1; }
.ds .cf-check small { color: var(--ds-faint); font-size: 13px; }
.ds .cf-check:has(input:disabled) { opacity: .45; cursor: default; }
.ds .cf-option { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-radius: 10px; }
.ds .cf-radio { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ds-fill-2); }
.ds .cf-option[aria-current] .cf-radio { box-shadow: inset 0 0 0 5px var(--ds-accent); }
.ds .cf-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 12px; }
.ds .cf-find { display: flex; align-items: center; gap: 8px; height: 42px; margin-bottom: 8px; padding: 0 12px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .cf-find svg { width: 16px; height: 16px; fill: none; stroke: var(--ds-muted); stroke-width: 2; }
.ds .cf-find input { flex: 1; min-height: 0; height: 40px; padding: 0; background: transparent; }
.ds .cf-city__list { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow: auto; }
.ds .cf-city__list a { display: flex; justify-content: space-between; padding: 10px 6px; border-radius: 10px; }
.ds .cf-city__list a:hover { background: var(--ds-fill); }
.ds .cf-city__list a[aria-current] { color: var(--ds-accent); font-weight: 600; }
.ds .cf-city__list span { color: var(--ds-faint); }
.ds .cf-cuisine__head { display: flex; align-items: center; justify-content: space-between; }
.ds .cf-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ds-fill); cursor: pointer; font-size: 20px; }
.ds .cf-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ds .cf-more { margin-top: 4px; padding: 8px 0; border: 0; background: none; color: var(--ds-accent); font-weight: 600; cursor: pointer; }
/* Окно «Все фильтры» */
.ds .cf-modal { width: min(560px, 100vw); max-width: 100vw; max-height: min(88dvh, 820px); margin: auto; padding: 0; border: 0; border-radius: 22px;
  background: var(--ds-raise); color: var(--ds-ink); box-shadow: var(--ds-shadow); }
.ds .cf-modal::backdrop { background: rgb(0 0 0 / .45); }
.ds .cf-modal__form { display: flex; flex-direction: column; max-height: inherit; }
.ds .cf-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.ds .cf-modal__heading { display: flex; align-items: center; gap: 10px; }
.ds .cf-modal__heading h2 { font-size: 20px; font-weight: 700; }
.ds .cf-modal__icon { display: none; }
.ds .cf-modal__body { flex: 1; overflow: auto; padding: 0 20px 10px; }
.ds .cf-modal__foot { margin: 0; padding: 12px 20px 18px; border-top: 1px solid var(--ds-line); }
.ds .cf-group { padding: 14px 0; border-bottom: 1px solid var(--ds-line); }
.ds .cf-group:last-child { border-bottom: 0; }
.ds .cf-group h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.ds .cf-group > p { color: var(--ds-muted); font-size: 14px; margin-bottom: 10px; }
.ds .cf-group--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .cf-group--chips h3 { width: 100%; }
.ds .cf-group--chips .cf-check { flex: none; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--ds-r-pill); background: var(--ds-fill); }
.ds .cf-group--chips .cf-check input { position: absolute; opacity: 0; pointer-events: none; }
.ds .cf-group--chips .cf-check:has(input:checked) { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .cf-segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ds .cf-segments .cf-check { justify-content: center; height: 40px; padding: 0; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .cf-segments .cf-check input { position: absolute; opacity: 0; pointer-events: none; }
.ds .cf-segments .cf-check span { flex: none; }
.ds .cf-segments .cf-check:has(input:checked) { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .sight-filter-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .sight-filter-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ds .cf-metro-note { font-size: 13px !important; }

/* Список мест: крупные фото без карточек */
.ds .catalog-main { margin-top: 4px; }
.ds .grid--places { display: grid; grid-template-columns: 1fr; gap: 26px 20px; }
.ds .ds-place { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ds .ds-place__photo { position: relative; aspect-ratio: 16 / 10; margin-bottom: 8px; border-radius: var(--ds-r-photo); overflow: hidden; background: var(--ds-photo); }
.ds .ds-place__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.ds .ds-place:hover .ds-place__photo img { transform: scale(1.03); }
.ds .ds-place__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ds .ds-place__name { min-width: 0; font: 650 18px/1.25 var(--ds-font); letter-spacing: -.015em; }
.ds .ds-place__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--ds-r-photo); }
.ds .ds-place__rating { display: inline-flex; align-items: center; gap: 4px; flex: none; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.ds .ds-place__rating svg { width: 15px; height: 15px; fill: var(--ds-accent); }
.ds .ds-place__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; color: var(--ds-muted); font-size: 14px; line-height: 1.4; }
.ds .ds-place__meta > span:not(:last-child)::after { content: "·"; margin-left: 4px; color: var(--ds-faint); }
.ds .ds-place__metro { display: inline-flex; align-items: center; gap: 5px; }
.ds .ds-place__metro i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.ds .ds-place__fav { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(18 16 16 / .35); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ds .ds-place__fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.ds .ds-place__fav[aria-pressed="true"] svg { fill: var(--ds-accent); stroke: var(--ds-accent); }
/* Без фото — компактная строка */
.ds .ds-place--row { padding: 14px 52px 14px 0; border-top: 1px solid var(--ds-line); border-bottom: 1px solid var(--ds-line); gap: 2px; }
.ds .ds-place--row + .ds-place--row { border-top: 0; margin-top: -26px; }
.ds .ds-place--row .ds-place__name a::after { border-radius: 0; }
.ds .ds-place--row .ds-place__fav { top: 50%; right: 0; transform: translateY(-50%); background: var(--ds-fill); color: var(--ds-ink); }
.ds .ds-place__time { position: relative; z-index: 2; align-self: flex-start; margin-top: 4px; color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .ds-place__time::after { content: " →"; }

/* Подбор банкета: та же подача, что у мест — фото, под ним сведения, без рамки */
.ds .banquet-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--ds-ink); }
.ds .banquet-card__photo { position: relative; aspect-ratio: 4 / 3; margin-bottom: 6px; border-radius: var(--ds-r-photo); overflow: hidden; background: var(--ds-photo); }
.ds .banquet-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.ds .banquet-card__photo .atmosphere-cover { position: absolute; inset: 0; display: grid; place-items: center; }
.ds .banquet-card__photo .atmosphere-cover :is(img, svg) { width: 100%; height: 100%; object-fit: cover; }
.ds .banquet-card__photo .atmosphere-cover svg { width: 64px; height: 64px; opacity: .25; }
.ds .illustration-label { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgb(0 0 0 / .45); color: #fff; font-size: 11px; }
.ds .banquet-card__availability { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: var(--ds-r-pill);
  background: rgb(18 16 16 / .5); color: #fff; font-size: 12px; font-weight: 500; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ds .banquet-card__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ds .banquet-card__heading h2 { font: 650 18px/1.25 var(--ds-font); letter-spacing: -.015em; }
.ds .banquet-card__heading span { flex: none; font-weight: 600; }
.ds .banquet-card__heading b { color: var(--ds-accent); }
.ds .banquet-card__body { display: grid; gap: 2px; }
.ds .banquet-card__body > p, .ds .banquet-card__body .venue-terms { color: var(--ds-muted); font-size: 14px; line-height: 1.4; }
.ds .banquet-card__body .venue-terms b, .ds .banquet-card__body .venue-terms strong { color: var(--ds-ink); font-weight: 600; }
.ds .banquet-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 14px; }
.ds .banquet-card__bottom > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: var(--ds-muted); }
.ds .banquet-card__bottom svg { width: 18px; height: 18px; }
.ds .banquet-card__button { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--ds-r-pill); background: var(--ds-accent); color: #fff; font-weight: 600; }

/* Подгрузка и страницы */
.ds .cf-pager { display: grid; justify-items: center; gap: 14px; margin: 30px 0 10px; }
.ds .cf-load-more { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; height: 48px; padding: 0 22px; border-radius: var(--ds-r-pill);
  background: var(--ds-fill); font-weight: 600; }
.ds .cf-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.ds .cf-page { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: var(--ds-r-pill); color: var(--ds-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.ds .cf-page:hover { background: var(--ds-fill); color: var(--ds-ink); }
.ds .cf-page.is-current { background: var(--ds-ink); color: var(--ds-bg); }
.ds .cf-page svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ds .notice { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--ds-r); background: var(--ds-accent-soft); font-size: 14px; }
.ds .empty { padding: 32px 0; text-align: center; }
.ds .empty h3 { margin-bottom: 8px; font-size: 20px; }
.ds .empty p { color: var(--ds-muted); margin-bottom: 14px; }
.ds .empty .form__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.ds .catalog-alternatives h2 { margin-bottom: 6px; font-size: 20px; }
.ds .catalog-alternatives > p { margin-bottom: 18px; }
.ds #searchHistory { margin-bottom: 18px; }
.ds #searchHistory h3 { margin-bottom: 8px; font-size: 15px; color: var(--ds-muted); font-weight: 600; }
.ds [data-history-items] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ds [data-history-items] > * { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 0; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 14px; cursor: pointer; }
.ds .banquet-steps { display: flex; align-items: center; gap: 6px; }
.ds .banquet-steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--ds-fill-2); }
.ds .banquet-steps span.active { background: var(--ds-accent); }
.ds .banquet-steps small { color: var(--ds-muted); margin-left: 6px; }

/* Карта */
.ds .cf-map { position: relative; margin-bottom: 20px; }
.ds .cf-map__canvas { height: min(70dvh, 640px); border-radius: var(--ds-r-photo); overflow: hidden; background: var(--ds-photo); }
.ds .cf-sight-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.ds .cf-sight-controls label { display: inline-flex; align-items: center; gap: 8px; }
.ds .cf-sight-controls a { color: var(--ds-accent); font-weight: 600; }
.ds .cf-map__locate { position: absolute; z-index: 500; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ds-raise); color: var(--ds-ink); box-shadow: var(--ds-shadow-sm); cursor: pointer; }
.ds .cf-map__locate svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ds .cf-map__status { display: block; margin-top: 8px; color: var(--ds-muted); font-size: 13px; }

/* Ряд «вкладки кухонь + кнопка фильтров» */
.ds .ds-tabsbar { display: flex; align-items: center; gap: 8px; margin: 0 calc(-1 * var(--ds-gutter)) 6px; padding-right: var(--ds-gutter); border-bottom: 1px solid var(--ds-line); }
.ds .ds-tabsbar .ds-tabs { flex: 1; min-width: 0; margin: 0; border-bottom: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.ds .ds-filter-btn { position: relative; display: none; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ds-fill); color: var(--ds-ink); cursor: pointer; }
.ds .ds-filter-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ds .ds-filter-btn__count { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ds-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.ds .cf-group--chips a.cf-check.is-on { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .ds-mobile-only { display: none; }

/* ---------- Нижнее меню (телефон) ---------- */
.ds .mobile-dock { display: none; }

/* ---------- Подвал ---------- */
.ds .site-footer { margin-top: 40px; padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ds-line); color: var(--ds-muted); font-size: 14px; }
.ds .site-footer__inner { width: 100%; max-width: var(--ds-max); margin: 0 auto; padding: 0 var(--ds-gutter); }
.ds .site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.ds .site-footer__col { display: grid; align-content: start; gap: 8px; }
.ds .site-footer h2, .ds .site-footer h3, .ds .site-footer__sub { color: var(--ds-ink); font-size: 14px; font-weight: 700; }
.ds .site-footer a:hover { color: var(--ds-ink); }
.ds .site-footer__link-button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; }
.ds .site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ds-line); font-size: 13px; }
.ds .site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ds .site-footer__logo .stolik-wordmark { font-size: 22px; }
.ds .site-footer__lead { max-width: 34ch; margin-top: 8px; }
.ds .sf-social, .ds .sf-tile { display: inline-flex; align-items: center; gap: 8px; }
.ds .sf-tile svg, .ds .sf-social svg { width: 20px; height: 20px; }

/* ---------- Окна поверх страницы ---------- */
.ds .auth-dialog { width: min(440px, calc(100vw - 24px)); padding: 22px; border: 0; border-radius: 22px; background: var(--ds-raise); color: var(--ds-ink); box-shadow: var(--ds-shadow); }
.ds .auth-dialog::backdrop { background: rgb(0 0 0 / .45); }
.ds .auth-dialog__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ds-fill); cursor: pointer; }
.ds .auth-dialog__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ds .auth-dialog h2 { margin-bottom: 14px; font-size: 22px; font-weight: 700; }
.ds .auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 44px 16px 0; padding: 4px; border-radius: var(--ds-r-pill); background: var(--ds-fill); }
.ds .auth-tabs > * { height: 38px; border: 0; border-radius: var(--ds-r-pill); background: none; font-weight: 600; cursor: pointer; }
.ds .auth-tabs > [aria-selected="true"], .ds .auth-tabs > .is-active { background: var(--ds-raise); box-shadow: var(--ds-shadow-sm); }
.ds .auth-form { display: grid; gap: 12px; }
.ds .auth-field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.ds .auth-field input, .ds .auth-phone { width: 100%; }
.ds .auth-phone { display: flex; gap: 8px; }
.ds .auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.ds .auth-link { color: var(--ds-accent); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; }
.ds .auth-agree { color: var(--ds-muted); font-size: 13px; }
.ds .auth-submit { width: 100%; height: 48px; }
/* «Добавьте на главный экран» — спокойный блок в конце каталога (только телефон) */
.ds .install-promo { position: relative; max-width: var(--ds-max); margin: 32px auto 0; padding: 20px var(--ds-gutter); border: 0; border-radius: 0;
  background: var(--ds-fill); color: var(--ds-ink); }
.ds .install-promo h2 { margin: 4px 0 6px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ds .install-promo__eyebrow { color: var(--ds-accent); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.ds .install-promo__description { color: var(--ds-muted); font-size: 14px; margin-bottom: 14px; }
.ds .install-promo__visual { display: none; }
.ds .install-promo__action { display: grid; gap: 8px; }
.ds .install-promo__action p { color: var(--ds-faint); font-size: 13px; text-align: center; }
.ds .install-promo__add { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border: 0; border-radius: var(--ds-r-pill);
  background: var(--ds-accent); color: var(--ds-on-accent); font-weight: 600; cursor: pointer; }
.ds .install-promo__close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--ds-fill-2); cursor: pointer; font-size: 18px; }
@media (min-width: 761px) { .ds .install-promo { display: none !important; } }
.ds .cookie-banner { position: fixed; z-index: 95; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto; padding: 16px;
  border-radius: 18px; background: var(--ds-raise); box-shadow: var(--ds-shadow); font-size: 14px; }
.ds .cookie-banner__actions { display: flex; gap: 8px; margin-top: 12px; }

/* Кнопка Толика на компьютере — круглая «таблетка» в правом нижнем углу (стили потерялись при удалении старых CSS) */
@media (min-width: 761px) {
  .ds .booking-assistant { position: fixed; z-index: 80; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); pointer-events: none; }
  .ds .booking-assistant > * { pointer-events: auto; }
}
.ds .booking-assistant__launcher { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 6px;
  border-radius: var(--ds-r-pill); background: var(--ds-raise) !important; color: var(--ds-ink) !important; border: 0 !important; box-shadow: var(--ds-shadow) !important;
  font: 600 15px/1 var(--ds-font); cursor: pointer; transition: transform .2s ease, opacity .25s ease; }
.ds .booking-assistant__launcher:hover { transform: translateY(-2px); }
.ds .booking-assistant__launcher[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.ds .booking-assistant__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ds-accent); color: var(--ds-on-accent); }
.ds .booking-assistant__avatar svg { width: 22px; height: 22px; }
.ds .booking-assistant__spark { display: none; }
html.install-promo-in-view .ds .booking-assistant__launcher { opacity: 0; transform: translateY(24px); pointer-events: none; }

/* Дата, время, гости — своё меню в духе iOS вместо списков браузера (решение владельца 2026-10-16) */
.ds .choice { position: relative; min-width: 0; }
.ds .choice__button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px; padding: 0 14px;
  border: 0; border-radius: var(--ds-r); background: var(--ds-fill); color: var(--ds-ink); font: 400 15px/1.3 var(--ds-font); text-align: left; cursor: pointer; }
.ds .choice__button::after { content: ""; flex: none; width: 7px; height: 7px; margin-top: -4px; border: solid var(--ds-muted); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.ds .choice__button:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
.ds .choice:not(.ds-prefs .choice) .choice__menu { left: 0; right: 0; min-width: 0; }
.ds .choice:not(.ds-prefs .choice) .choice__menu button { white-space: normal; }
.ds .ds-prefs .choice { position: relative; flex: 1; min-width: 0; }
.ds .ds-prefs .choice__button::after { content: none; }
.ds .ds-prefs .choice__button { display: block; min-height: 0; border-radius: 0; width: 100%; height: 44px; padding: 0; border: 0; background: none; color: var(--ds-ink);
  font: 500 14px/44px var(--ds-font); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.ds .ds-prefs .choice__button:focus-visible { outline: none; color: var(--ds-accent); }
.ds .choice__menu { position: absolute; z-index: 90; top: calc(100% + 6px); left: -40px; min-width: 240px; max-height: min(360px, 60vh); padding: 6px 0;
  border-radius: var(--ds-r); background: var(--ds-raise); box-shadow: var(--ds-shadow); overflow-y: auto; overscroll-behavior: contain; }
.ds .ds-prefs__item:last-child .choice__menu { left: auto; right: -12px; }
.ds .choice__menu[hidden] { display: none; }
.ds .choice__menu button { position: relative; display: block; width: 100%; min-height: 44px; padding: 11px 44px 11px 16px; border: 0; background: none;
  color: var(--ds-ink); font: 400 16px/1.35 var(--ds-font); text-align: left; white-space: nowrap; cursor: pointer; }
@media (max-width: 760px) {
  /* На телефоне меню — на всю ширину под строкой выбора, не вылезает за край экрана */
  .ds .ds-prefs { position: relative; }
  .ds .ds-prefs .ds-prefs__item, .ds .ds-prefs .choice { position: static; }
  .ds .ds-prefs .choice__menu, .ds .ds-prefs__item:last-child .choice__menu { left: 0; right: 0; min-width: 0; }
}
@media (max-width: 360px) { .ds .ds-prefs__item svg { display: none; } .ds .ds-prefs__item { padding: 0 10px; } }
.ds .choice__menu button + button::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--ds-line); }
.ds .choice__menu button:hover, .ds .choice__menu button:focus-visible { background: var(--ds-fill); outline: none; }
.ds .choice__menu button[aria-selected="true"] { color: var(--ds-accent); font-weight: 600; }
.ds .choice__menu button[aria-selected="true"]::after { content: ""; position: absolute; right: 18px; top: 50%; width: 6px; height: 12px; margin-top: -8px;
  border: solid var(--ds-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ds .choice__menu button:disabled { color: var(--ds-faint); cursor: default; }

/* Подсказка «Авторизуйтесь» у сердечка (создаётся скриптом в конце страницы) */
.ds .fav-hint { position: absolute; z-index: 1200; width: 250px; padding: 16px 16px 14px; border-radius: var(--ds-r); background: var(--ds-raise); color: var(--ds-ink); box-shadow: var(--ds-shadow); }
.ds .fav-hint[hidden] { display: none; }
.ds .fav-hint::before { content: ""; position: absolute; top: -6px; left: var(--arrow, 24px); width: 12px; height: 12px; border-radius: 2px; background: var(--ds-raise); transform: rotate(45deg); }
.ds .fav-hint__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.ds .fav-hint__text { margin: 0 0 12px; color: var(--ds-muted); font-size: 14px; }
.ds .fav-hint__login { height: 40px; padding: 0 16px; border: 0; border-radius: var(--ds-r-pill); background: var(--ds-accent); color: var(--ds-on-accent); font: 600 14px/1 var(--ds-font); cursor: pointer; }

/* Подвал: «Столик в Telegram» */
.ds .site-footer__telegram { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin: 0 0 28px; padding: 14px 20px 14px 14px;
  border-radius: var(--ds-r); background: var(--ds-raise); box-shadow: var(--ds-shadow-sm); color: var(--ds-ink); text-decoration: none; }
.ds .site-footer__telegram:hover { background: var(--ds-fill); }
.ds .site-footer__telegram svg { flex: none; width: 36px; height: 36px; fill: var(--ds-accent); }
.ds .site-footer__telegram strong, .ds .site-footer__telegram small { display: block; }
.ds .site-footer__telegram strong { font-size: 15px; }
.ds .site-footer__telegram small { margin-top: 2px; color: var(--ds-muted); font-size: 13px; }

/* Карта: кружки с числом заведений, булавки мест и достопримечательностей */
.ds .map-marker { background: none; border: 0; }
.ds .map-city-count { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 3px solid #fff; border-radius: 50%;
  background: var(--ds-accent); color: #fff; font: 800 13px/1 var(--ds-font); box-shadow: 0 2px 10px rgb(0 0 0 / .3); }
.ds .map-marker--cluster .map-city-count { border-width: 2px; font-size: 12px; }
.ds .map-marker--sights .map-city-count { border-width: 2px; background: #2f3a45; font-size: 11px; }
.ds .map-marker--venue svg, .ds .map-marker--attraction svg { filter: drop-shadow(0 2px 4px rgb(0 0 0 / .3)); }
.ds .map-city-zoom { display: block; margin: 6px 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ds .map-venue-list { min-width: 180px; }
.ds .map-venue-list ul { max-height: 220px; margin: 6px 0 0; padding-left: 18px; overflow-y: auto; }
.ds .map-route-link { display: block; width: max-content; margin-top: 12px; padding: 8px 14px; border-radius: var(--ds-r-pill); background: var(--ds-accent); color: #fff !important; font-weight: 600; text-decoration: none; }
.ds .map-sight-photo { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }

/* Строка фильтров на компьютере: не прокручивается, иначе выпадающие панели обрезаются */
@media (min-width: 761px) { .ds .cf-bar { overflow: visible; flex-wrap: wrap; } }

/* ---------- Телефон ---------- */
@media (max-width: 760px) {
  .ds .header__inner { flex-wrap: wrap; row-gap: 6px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .ds .hx { flex: 1; gap: 4px; }
  .ds .hx-search { order: 10; flex: 0 0 100%; max-width: none; margin: 0; }
  .ds .hx { display: contents; }
  .ds .logo { margin-right: auto; }
  .ds :is(.appearance-switch, .hx-lang, [data-lang-pop], .hx-login) { display: none; }
  .ds .hx-burger { display: inline-grid; }
  .ds .cf-title { font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ds .cf-head { margin: 10px 0 12px; }
  .ds .cf-city__toggle { height: 32px; padding: 0 10px; font-size: 13px; }
  .ds .ds-prefs { margin-bottom: 8px; }
  /* Один ряд: вкладки + «Фильтры»; отдельный ряд фильтров на телефоне скрыт (всё есть в окне фильтров) */
  .ds .ds-filter-btn { display: inline-grid; }
  .ds .cf-bar { display: none; }
  .ds .ds-mobile-only { display: flex; }
  .ds .catalog-main { margin-top: 16px; }
  .ds .ds-place__photo { aspect-ratio: 4 / 3; }
  .ds .hx-menu, .ds .notification-panel { position: fixed; top: 64px; left: 12px; right: 12px; min-width: 0; width: auto; }
  /* Панели фильтров — шторка снизу (на телефоне скрипт поднимает их поверх страницы) */
  .ds .cf-panel:popover-open, .ds .cf-pop--unclipped .cf-panel {
    position: fixed; inset: auto 0 0 0; top: auto; width: 100%; max-width: 100%; max-height: 80dvh; margin: 0; padding: 18px var(--ds-gutter) calc(18px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0; }
  .ds .cf-panel::backdrop { background: rgb(0 0 0 / .4); }
  .ds .cf-modal { width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  /* Нижнее меню — «тёмный остров» (выбор владельца 2026-10-13): тёмная плавающая капсула в любой теме */
  .ds .mobile-dock { position: fixed; z-index: 85; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 6px 4px; border-radius: 26px; background: rgb(22 20 19 / .92); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
    box-shadow: 0 14px 34px -12px rgb(0 0 0 / .6); }
  :root[data-theme="dark"] .ds .mobile-dock { background: rgb(38 34 31 / .94); box-shadow: 0 14px 34px -12px rgb(0 0 0 / .9), inset 0 1px 0 rgb(255 255 255 / .05); }
  .ds .mobile-dock :is(a, button) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 0; border: 0;
    border-radius: 20px; background: none; color: #8d867f; font-size: 11px; font-weight: 500; cursor: pointer; }
  .ds .mobile-dock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .ds .mobile-dock :is(a[aria-current], button[aria-expanded="true"]) { color: #fff; font-weight: 600; }
  .ds .mobile-dock :is(a[aria-current], button[aria-expanded="true"]) svg { stroke: var(--ds-accent); }
  .ds .mobile-dock :is(a, button):active { transform: scale(.94); }
  body.ds { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .ds .booking-assistant__launcher { display: none !important; }
  .ds .site-footer { margin-top: 28px; }
}

/* ---------- Планшет и компьютер ---------- */
@media (min-width: 761px) {
  .ds .grid--places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds .ds-place--row + .ds-place--row { margin-top: 0; border-top: 1px solid var(--ds-line); }
  .ds .ds-prefs { max-width: 560px; }
  .ds .cf-title { font-size: 32px; }
}
@media (min-width: 1100px) {
  .ds .grid--places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .ds * { transition: none !important; animation: none !important; } }

/* ===================== Страница заведения (шаг 2) ===================== */
.ds .vp { display: flex; flex-direction: column; padding-top: 8px; }
.ds .vp > * { order: 20; }
.ds .vp-crumbs { order: 0; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; color: var(--ds-muted); font-size: 13px; }
.ds .vp-crumbs a:hover { color: var(--ds-ink); }
.ds .vp-photo { order: 1; position: relative; aspect-ratio: 16 / 9; border-radius: var(--ds-r-photo); overflow: hidden; background: var(--ds-photo); }
.ds .venue-photo-sources { order: 2; margin-top: 8px; color: var(--ds-faint); font-size: 12px; }
.ds .venue-photo-sources summary { cursor: pointer; }
.ds .vp-note { order: 3; margin-top: 8px; color: var(--ds-muted); font-size: 13px; }
.ds .vp-head { order: 4; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 18px; }
.ds .vp-rating { order: 5; }
.ds .vp-facts { order: 6; }
.ds .vp-grid { order: 7; }
.ds .refresh-booking-cta { display: none; }
.ds .vp-map { order: 8; }
.ds .vp-near { order: 9; }

/* Фото */
.ds .scene-slider { position: relative; width: 100%; height: 100%; overflow: hidden; isolation: isolate; touch-action: pan-y; }
.ds .scene-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.ds .scene-slide.is-active { opacity: 1; }
.ds .venue-lightbox-open { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0;
  border-radius: var(--ds-r-pill); background: rgb(18 16 16 / .55); color: #fff; font: 600 13px/1 var(--ds-font); cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ds .vp-photo .illustration-label { z-index: 3; }

/* Заголовок, рейтинг, сведения */
.ds .vp-title { font: 700 26px/1.15 var(--ds-font); letter-spacing: -.025em; overflow-wrap: anywhere; }
.ds .vp-title:has(.vp-logo) { display: flex; align-items: center; gap: 10px; }
.ds .vp-hours__note { margin: 8px 0 0; color: var(--ds-muted); font-size: 12px; }
.ds .vp-times__closed { margin: 0 0 8px; color: var(--ds-accent); font-size: 14px; }
.ds .vp-logo { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--ds-fill); }
.ds .vp-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.ds .vp-icon-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--ds-fill); color: var(--ds-ink); cursor: pointer; list-style: none; }
.ds .vp-icon-btn::-webkit-details-marker { display: none; }
.ds .vp-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ds .vp-icon-btn[aria-pressed="true"] svg { fill: var(--ds-accent); stroke: var(--ds-accent); }
.ds .vp-actions > .vp-btn--primary { display: none; }
.ds .vp-pop { position: relative; }
.ds .vp-pop > summary { list-style: none; cursor: pointer; }
.ds .vp-pop > summary::-webkit-details-marker { display: none; }
.ds .vp-panel { position: absolute; z-index: 40; top: calc(100% + 8px); right: 0; min-width: 260px; padding: 12px; border-radius: var(--ds-r); background: var(--ds-raise); box-shadow: var(--ds-shadow); }
.ds .vp-share__panel { display: grid; gap: 6px; width: 280px; }
.ds .vp-share__url { width: 100%; font-size: 13px; min-height: 40px; }
.ds .vp-share__item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; }
.ds .vp-share__item:hover { background: var(--ds-fill); }
.ds .vp-share__logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; }
.ds .vp-share__logo svg { width: 16px; height: 16px; fill: currentColor; }
.ds .vp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; color: var(--ds-muted); font-size: 14px; }
.ds .vp-rating a { color: var(--ds-ink); text-decoration: underline; text-decoration-color: var(--ds-faint); text-underline-offset: 3px; }
.ds .vp-rating__badge { display: inline-flex; align-items: center; gap: 4px; padding: 0; background: none; color: var(--ds-ink); font-weight: 700; font-size: 15px; }
.ds .vp-rating__badge::before { content: "\2605"; color: var(--ds-accent); }
.ds .vp-rating__badge.is-unknown::before { content: none; }
.ds .vp-partner { padding: 2px 8px; border-radius: var(--ds-r-pill); background: var(--ds-accent-soft); color: var(--ds-accent); font-size: 12px; font-weight: 600; }
.ds .vp-facts { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 15px; }
.ds .vp-facts > li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.ds .vp-facts svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--ds-muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ds .vp-facts a { color: var(--ds-ink); }
.ds .vp-hours > summary { display: inline-flex; align-items: center; gap: 10px; }
.ds .vp-caret { width: 14px !important; height: 14px !important; margin: 0 !important; }
.ds .vp-hours__panel { left: 0; right: auto; }
.ds .vp-hours__panel p { display: flex; justify-content: space-between; gap: 16px; padding: 4px 2px; font-size: 14px; }
.ds .vp-hours__panel p.is-today { color: var(--ds-accent); font-weight: 600; }
.ds .vp-level i { font-style: normal; color: var(--ds-ink); }
.ds .vp-level i.is-off { color: var(--ds-faint); }

/* Две колонки на компьютере, бронь первой на телефоне */
.ds .vp-grid { display: flex; flex-direction: column; gap: 22px; margin-top: 22px; }
.ds .vp-booking { order: -1; }
.ds .vp-main { display: grid; gap: 0; min-width: 0; }

/* Блоки «о заведении» — строки с разделителями, без рамок */
.ds .refresh-details, .ds .vp-block, .ds .vp-reviews, .ds .stolik-reviews, .ds .vp-notice, .ds .banquet-cta { padding: 16px 0; border-top: 1px solid var(--ds-line); }
.ds .refresh-details > summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; }
.ds .refresh-details > summary::-webkit-details-marker { display: none; }
.ds .refresh-details > summary::after { content: "+"; color: var(--ds-accent); font-size: 22px; font-weight: 400; line-height: 1; }
.ds .refresh-details[open] > summary::after { content: "\2212"; }
.ds .refresh-details[open] > summary { margin-bottom: 10px; }
.ds .vp-block h2, .ds .vp-reviews h2, .ds .stolik-reviews h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 16px; font-weight: 700; }
.ds .vp-block h2 svg { width: 18px; height: 18px; fill: none; stroke: var(--ds-muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ds .vp-block p, .ds .vp-text, .ds .venue-terms { color: var(--ds-muted); font-size: 15px; }
.ds .vp-text { line-height: 1.55; }
.ds .preserve-lines { white-space: pre-line; }
.ds .vp-block a:not(.btn):not(.vp-btn) { color: var(--ds-ink); }
.ds .venue-menu__items { display: grid; gap: 8px; margin: 6px 0 10px; }
.ds .venue-menu__item small, .ds .venue-menu__item p { display: block; color: var(--ds-muted); font-size: 13px; }
.ds .venue-menu__section { margin: 10px 0 0; font-size: 15px; font-weight: 700; }
.ds .venue-menu__line, .ds .menu-editor__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ds .venue-menu__price, .ds .menu-editor__line span { flex: none; font-weight: 600; white-space: nowrap; }
.ds .menu-editor__section { margin: 16px 0 4px; font-size: 15px; font-weight: 700; color: var(--ds-muted); }
.ds .biz-card > h2 + .menu-editor__section { margin-top: 0; }
.ds .menu-editor__section + .biz-row { border-top: 0; padding-top: 6px; }
.ds .menu-editor .biz-row > div:first-child { flex: 1 1 200px; }
.ds .menu-editor__hidden { opacity: .55; }
.ds .venue-addons { margin-top: 12px; }
.ds .venue-addons h3 { font-size: 15px; margin-bottom: 6px; }
.ds .venue-addons ul { list-style: none; margin: 0 0 6px; padding: 0; }
.ds .venue-addons li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--ds-line); font-size: 14px; }
.ds .vp-notice { color: var(--ds-muted); font-size: 14px; }
.ds .banquet-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ds .small { font-size: 13px; }
.ds .venue-offers__list { display: grid; gap: 10px; margin-top: 8px; }
.ds .venue-offer { display: grid; gap: 6px; padding: 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .venue-offer__kind { color: var(--ds-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.ds .venue-offer h3 { font-size: 16px; }
.ds .venue-offer p { color: var(--ds-muted); font-size: 14px; }
.ds .venue-offer__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ds .gift-promo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Отзывы */
.ds .vp-reviews__head, .ds .stolik-reviews__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ds .vp-reviews__score { display: inline-flex; align-items: center; gap: 8px; color: var(--ds-muted); font-size: 14px; }
.ds .vp-carousel { position: relative; }
.ds :is(.vp-reviews__track, .vp-near__track) { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--ds-gutter)); padding: 0 var(--ds-gutter); }
.ds :is(.vp-reviews__track, .vp-near__track)::-webkit-scrollbar { display: none; }
.ds .vp-review { flex: 0 0 min(82%, 320px); scroll-snap-align: start; display: grid; align-content: start; gap: 8px; padding: 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .vp-review header { display: flex; align-items: center; gap: 10px; }
.ds .vp-review header small { display: block; color: var(--ds-muted); font-size: 12px; }
.ds .vp-review__text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: var(--ds-ink); }
.ds .vp-review__source { color: var(--ds-accent); font-size: 13px; font-weight: 600; }
.ds .vp-reviews.is-all .vp-reviews__track { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
.ds .vp-reviews.is-all .vp-review { flex: none; }
.ds .vp-reviews.is-all .vp-review__text { -webkit-line-clamp: unset; }
.ds .vp-reviews__all { margin-top: 10px; }
.ds .vp-reviews__note { margin-top: 8px; color: var(--ds-faint); font-size: 12px; }
.ds .vp-arrow { display: none; }
.ds .stolik-reviews__sort { display: flex; gap: 6px; margin-bottom: 8px; overflow-x: auto; }
.ds .chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 13px; white-space: nowrap; }
.ds .chip.is-active { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .stolik-review { padding: 12px 0; border-top: 1px solid var(--ds-line); }
.ds .stolik-review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--ds-muted); }
.ds .stolik-review__meta b { color: var(--ds-ink); }
.ds .stolik-review__stars span { color: var(--ds-faint); }
.ds .stolik-review__stars .is-on { color: var(--ds-accent); }
.ds .stolik-review__badge { padding: 2px 8px; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 12px; }
.ds .stolik-review p { margin-top: 6px; font-size: 14px; }
.ds .stolik-review__reply { color: var(--ds-muted); }

/* Кнопки страницы */
.ds .vp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--ds-r-pill);
  background: var(--ds-fill); color: var(--ds-ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.ds .vp-btn--primary { background: var(--ds-accent); color: var(--ds-on-accent); }
.ds .vp-btn--primary:hover { background: var(--ds-accent-press); }
.ds .vp-btn--block { width: 100%; }
.ds .vp-btn--lg { min-height: 52px; font-size: 16px; }

/* Бронь: спокойная плашка с полями */
.ds .bookpanel { padding: 18px; border-radius: 20px; background: var(--ds-raise); box-shadow: var(--ds-shadow-sm); }
:root[data-theme="dark"] .ds .bookpanel { background: var(--ds-fill); box-shadow: none; }
.ds .bookpanel h2 { margin-bottom: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ds .bookpanel__hint { margin-bottom: 14px; color: var(--ds-muted); font-size: 14px; }
.ds .vp-form { display: grid; gap: 10px; }
.ds .vp-field { position: relative; }
.ds .vp-lead-note { margin: 0; color: var(--ds-muted); font-size: 13px; line-height: 1.4; }
.ds .vp-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; opacity: 0; pointer-events: none; }
.ds .vp-control { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: var(--ds-r); background: var(--ds-fill); font-weight: 500; }
:root[data-theme="dark"] .ds .vp-control { background: var(--ds-fill-2); }
.ds .vp-control svg { width: 20px; height: 20px; fill: none; stroke: var(--ds-muted); stroke-width: 1.7; stroke-linecap: round; }
.ds .vp-control span:not(.is-set) { color: var(--ds-muted); }
.ds .vp-picker .vp-panel { left: 0; right: 0; min-width: 0; }
.ds .vp-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ds .vp-cal__head button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ds-fill); font-size: 20px; cursor: pointer; }
.ds .vp-cal__head button:disabled { opacity: .35; cursor: default; }
.ds .vp-cal__week, .ds .vp-cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.ds .vp-cal__week span { padding: 4px 0; color: var(--ds-faint); font-size: 12px; }
.ds .vp-cal__week .is-weekend { color: var(--ds-accent); }
.ds .vp-cal__days button { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; }
.ds .vp-cal__days button:hover:not(:disabled) { background: var(--ds-fill); }
.ds .vp-cal__days button:disabled { color: var(--ds-faint); cursor: default; }
.ds .vp-cal__days button.is-today { box-shadow: inset 0 0 0 1.5px var(--ds-accent); }
.ds .vp-cal__days button.is-selected { background: var(--ds-accent); color: #fff; }
.ds .vp-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-height: 280px; overflow: auto; }
.ds .vp-time { display: flex; align-items: center; justify-content: center; height: 40px; border: 0; border-radius: 10px; background: var(--ds-fill); font-weight: 500; cursor: pointer; font-variant-numeric: tabular-nums; }
.ds .vp-time .vp-radio { display: none; }
.ds .vp-time[aria-selected="true"] { background: var(--ds-accent); color: #fff; }
.ds .vp-guests { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 50px; padding: 0 6px 0 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
:root[data-theme="dark"] .ds .vp-guests { background: var(--ds-fill-2); }
.ds .vp-guests label { font-weight: 500; }
.ds .vp-stepper { display: flex; align-items: center; gap: 4px; }
.ds .vp-stepper button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ds-raise); font-size: 20px; cursor: pointer; }
.ds .vp-stepper input { width: 44px !important; min-height: 0 !important; height: 38px; padding: 0 !important; background: transparent !important; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.ds .vp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ds .field { display: grid; gap: 6px; }
.ds .field label { font-size: 14px; font-weight: 500; }
.ds .field input:where(:not([type=checkbox], [type=radio])), .ds .field select, .ds .field textarea { width: 100%; }
.ds .field textarea { padding: 12px 14px; min-height: 70px; resize: vertical; }
.ds .field__hint { color: var(--ds-faint); font-size: 12px; }
.ds .field__error { color: #d93b2b; font-size: 13px; }
.ds .is-bad .vp-control, .ds .field--bad input { box-shadow: inset 0 0 0 1.5px #d93b2b; }
.ds .booking-extra > summary { padding: 6px 0; color: var(--ds-accent); font-weight: 600; font-size: 14px; cursor: pointer; }
.ds .booking-extra[open] { display: grid; gap: 10px; }
.ds .child-menu { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ds .bookpanel__legal { margin-top: 4px; color: var(--ds-faint); font-size: 12px; text-align: center; }
.ds .special-tables { display: grid; gap: 4px; font-size: 13px; color: var(--ds-muted); }

/* Карта и места рядом */
.ds .vp-map { position: relative; margin-top: 28px; }
.ds .vp-map__canvas { height: 260px; border-radius: var(--ds-r-photo); overflow: hidden; background: var(--ds-photo); }
.ds .vp-map__loading { padding: 20px; color: var(--ds-muted); }
.ds .vp-map__card { display: grid; gap: 4px; margin-top: 10px; }
.ds .vp-map__card span { color: var(--ds-muted); font-size: 14px; }
.ds .vp-map__card .vp-btn { justify-self: start; margin-top: 6px; }
.ds .vp-near { margin-top: 30px; }
.ds .vp-near__head h2 { font-size: 20px; font-weight: 700; }
.ds .vp-near__head p { color: var(--ds-muted); font-size: 14px; margin-bottom: 12px; }
.ds .vn { position: relative; flex: 0 0 min(64%, 240px); scroll-snap-align: start; display: grid; gap: 8px; }
.ds .vn > img, .ds .vn > .atmosphere-cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--ds-photo); }
.ds .vn .illustration-label { top: 8px; bottom: auto; }
.ds .vn__body { display: grid; gap: 2px; }
.ds .vn__body small, .ds .vn__body > span { color: var(--ds-muted); font-size: 13px; }
.ds .vn__body h3 { font-size: 15px; font-weight: 650; }
.ds .vn__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ds .vn__fav { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgb(18 16 16 / .35); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ds .vn__fav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.ds .vn__fav[aria-pressed="true"] svg { fill: var(--ds-accent); stroke: var(--ds-accent); }
.ds .vp-dots { display: none; }

@media (max-width: 760px) {
  .ds .vp-crumbs { display: none; }
  .ds .vp-photo { aspect-ratio: 4 / 3; margin: 0 calc(-1 * var(--ds-gutter)); border-radius: 0; }
  .ds .vp-title { font-size: 24px; }
  .ds .vp-panel { position: fixed; inset: auto 0 0 0; top: auto; width: 100%; max-height: 75dvh; overflow: auto; padding: 18px var(--ds-gutter) calc(18px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0; z-index: 95; }
  .ds .vp-share__panel { width: 100%; }
}
@media (min-width: 761px) {
  .ds .vp-photo { aspect-ratio: 21 / 9; max-height: 480px; }
  .ds .vp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 40px; }
  .ds .vp-booking { order: 0; position: sticky; top: 84px; }
  .ds .vp-actions > .vp-btn--primary { display: inline-flex; }
  .ds .vp-title { font-size: 34px; }
  .ds .vp-arrow { display: grid; place-items: center; position: absolute; top: 40%; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ds-raise); box-shadow: var(--ds-shadow-sm); cursor: pointer; z-index: 2; }
  .ds .vp-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .ds .vp-arrow--prev { left: -12px; }
  .ds .vp-arrow--next { right: -12px; }
}

/* ===================== Шаг 3: заявка, «Мои брони», профиль, вход и регистрация ===================== */
/* Общие блоки */
.ds .panel { padding: 18px; border-radius: 20px; background: var(--ds-raise); box-shadow: var(--ds-shadow-sm); }
:root[data-theme="dark"] .ds .panel { background: var(--ds-fill); box-shadow: none; }
.ds .panel + .panel { margin-top: 14px; }
.ds .page-head { margin: 18px 0 14px; }
.ds .page-head h1, .ds .guest-screen h1, .ds .auth-shell h1, .ds .booking-result h1 { font: 700 26px/1.15 var(--ds-font); letter-spacing: -.025em; }
.ds .lead { margin-top: 6px; color: var(--ds-muted); font-size: 15px; }
.ds .eyebrow { color: var(--ds-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ds .center { text-align: center; }
.ds .form { display: grid; gap: 14px; }
.ds .form__row { display: grid; gap: 12px; }
.ds .form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ds .btn--block { width: 100%; }
.ds .btn--danger { background: rgb(217 59 43 / .1); color: #d93b2b; }
.ds .btn--quiet { background: none; color: var(--ds-muted); }
.ds .flash { padding: 12px 14px; border-radius: var(--ds-r); background: var(--ds-accent-soft); font-size: 14px; }
.ds .flash--error { background: rgb(217 59 43 / .1); color: #b3291b; }
:root[data-theme="dark"] .ds .flash--error { color: #ff8a7a; }
.ds .check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.ds .badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--ds-r-pill); background: var(--ds-fill); color: var(--ds-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ds .badge--new { background: var(--ds-accent-soft); color: var(--ds-accent); }
.ds .badge--confirmed { background: rgb(34 160 90 / .12); color: #1d8a4e; }
:root[data-theme="dark"] .ds .badge--confirmed { color: #5fd18f; }
.ds .badge--rejected { background: rgb(217 59 43 / .1); color: #c43a2b; }
:root[data-theme="dark"] .ds .badge--rejected { color: #ff8a7a; }
.ds .place-facts { display: grid; }
.ds .place-fact { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ds-line); font-size: 14px; }
.ds .place-fact:last-child { border-bottom: 0; }
.ds .place-fact__key { color: var(--ds-muted); }
.ds .refresh-details { padding: 14px 0; }
.ds dialog:not(.mnav):not(.cf-modal):not(.auth-dialog):not(.venue-lightbox) { border: 0; border-radius: 20px; background: var(--ds-raise); color: var(--ds-ink); box-shadow: var(--ds-shadow); }
.ds table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ds th, .ds td { padding: 10px 8px; border-bottom: 1px solid var(--ds-line); text-align: left; }
.ds th { color: var(--ds-muted); font-weight: 600; }

/* Кабинет: меню разделов. На телефоне — лента чипов сверху */
.ds .layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 12px; }
.ds .side { display: flex; gap: 8px; margin: 0 calc(-1 * var(--ds-gutter)); padding: 0 var(--ds-gutter) 4px; overflow-x: auto; scrollbar-width: none; }
.ds .side::-webkit-scrollbar { display: none; }
.ds .side__title, .ds .guest-identity { display: none; }
.ds .side__link { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 14px; font-weight: 500; white-space: nowrap; }
.ds .side__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ds .side__link.is-active { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .dot-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ds-accent); color: #fff; font-size: 11px; font-weight: 700; }
.ds .guest-screen { min-width: 0; }
.ds .guest-section-title { margin: 22px 0 12px; font-size: 18px; font-weight: 700; }
.ds .dash-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 4px; color: var(--ds-muted); font-size: 14px; }
.ds .dash-bar__count { color: var(--ds-ink); font-weight: 700; }
.ds .refresh-menu { display: grid; gap: 0; }
.ds .refresh-menu a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--ds-line); font-weight: 500; }
.ds .refresh-profile { display: grid; gap: 14px; }

/* «Мои брони»: ближайшая бронь — фото и сведения без рамки */
.ds .blist { display: grid; gap: 22px; }
.ds .bcard { display: grid; gap: 10px; }
.ds .guest-booking__photo { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--ds-r-photo); overflow: hidden; background: var(--ds-photo); }
.ds .guest-booking__photo img { width: 100%; height: 100%; object-fit: cover; }
.ds .guest-booking__caption { display: none; }
.ds .guest-booking__details { display: grid; gap: 4px; }
.ds .guest-booking__when { color: var(--ds-accent); font-size: 13px; font-weight: 600; text-transform: capitalize; }
.ds .guest-booking__datetime { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ds .bcard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ds .bcard__title { font-size: 16px; font-weight: 650; }
.ds .bcard__facts { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ds-muted); font-size: 14px; }
.ds .bcard__facts b { color: var(--ds-ink); }
.ds .booking-fact-label { display: none; }
.ds .bcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ds .guest-other-bookings { margin-top: 6px; }
.ds .guest-other-bookings > summary { padding: 10px 0; color: var(--ds-accent); font-weight: 600; cursor: pointer; }
.ds .guest-other-bookings[open] { display: grid; gap: 22px; }
.ds .guest-history { display: grid; }
.ds .guest-history__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ds-line); }
.ds .guest-history__image { grid-row: span 2; position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--ds-photo); }
.ds .guest-history__image img { width: 100%; height: 100%; object-fit: cover; }
.ds .guest-history__image .illustration-label { display: none; }
.ds .guest-history__row > div:not(.guest-history__date) { display: grid; gap: 2px; min-width: 0; }
.ds .guest-history__row > div p { color: var(--ds-muted); font-size: 13px; }
.ds .guest-history__row .badge { justify-self: start; }
.ds .guest-history__date { color: var(--ds-muted); font-size: 12px; text-align: right; }
.ds .guest-history__row > .btn { grid-column: 2 / -1; min-height: 36px; font-size: 14px; }
.ds .guest-history__row > .btn--quiet { display: none; }
.ds .guest-history__try { grid-column: 1 / -1; }
.ds .empty__icon { font-size: 32px; margin-bottom: 8px; }
.ds .catalog-launcher { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: var(--ds-r-pill); background: var(--ds-accent); color: #fff; font-weight: 600; }
.ds .catalog-launcher svg { width: 20px; height: 20px; }

/* Страница заявки */
.ds .booking-result { display: grid; gap: 18px; padding-top: 18px; max-width: 640px; }
.ds .booking-result__intro { display: grid; justify-items: center; gap: 8px; text-align: center; }
.ds .booking-result__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ds-accent-soft); color: var(--ds-accent); }
.ds .booking-result__icon svg { width: 26px; height: 26px; }
.ds .booking-result__intro h1 span { color: var(--ds-accent); }
.ds .booking-result__intro p { color: var(--ds-muted); font-size: 15px; max-width: 34ch; }
.ds .booking-result__card { display: grid; gap: 14px; }
.ds .booking-result__venue { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: center; }
.ds .booking-result__venue img { width: 88px; height: 88px; border-radius: 14px; object-fit: cover; }
.ds .booking-result__venue h2 { font-size: 18px; font-weight: 700; }
.ds .booking-result__venue p { color: var(--ds-muted); font-size: 14px; }
.ds .booking-progress { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ds .booking-progress li { position: relative; padding: 0 0 14px 28px; color: var(--ds-faint); font-size: 14px; }
.ds .booking-progress li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ds-fill-2); }
.ds .booking-progress li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 18px; bottom: 0; width: 2px; background: var(--ds-fill-2); }
.ds .booking-progress li.is-done { color: var(--ds-ink); }
.ds .booking-progress li.is-done::before { background: var(--ds-accent); }
.ds .booking-progress li.is-current { color: var(--ds-ink); }
.ds .booking-progress li.is-current::before { background: var(--ds-bg); box-shadow: inset 0 0 0 3px var(--ds-accent); }
.ds .booking-progress li.is-ended::before { background: var(--ds-muted); }
.ds .visit-check h2, .ds .booking-result section > h2 { margin-bottom: 6px; font-size: 18px; font-weight: 700; }
.ds .visit-check p { color: var(--ds-muted); font-size: 14px; margin-bottom: 12px; }
.ds .visit-check__actions, .ds .meeting-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .visit-check__done { color: #1d8a4e; font-weight: 600; }
.ds .booking-result__back { justify-self: stretch; }
.ds .booking-result__details > summary { padding: 12px 0; color: var(--ds-accent); font-weight: 600; cursor: pointer; }
.ds .special-table-note { color: var(--ds-muted); font-size: 14px; }
.ds .cancel-form { display: grid; gap: 8px; width: 100%; }
.ds .preorder, .ds .guest-review { display: grid; gap: 10px; }
.ds .preorder__lines, .ds .preorder__menu { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
/* Блюдо или дополнение: название, цена и описание слева, количество справа. */
.ds .preorder__menu li { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ds-line); }
.ds .preorder__menu label { display: grid; gap: 2px; min-width: 0; }
.ds .preorder__menu label b { font-weight: 600; }
.ds .preorder__menu label span { color: var(--ds-ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.ds .preorder__menu label small { color: var(--ds-muted); font-size: 13px; }
.ds .preorder__menu input { width: 72px; text-align: center; }
.ds .preorder__menu li.is-late { opacity: .6; }
.ds .preorder__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ds-line); }
.ds .preorder__total { margin: 0; }
.ds .preorder__form { display: grid; gap: 12px; }
.ds .preorder__form .btn { justify-self: start; }
/* Совет Толика по погоде на странице заявки. */
.ds .tolik-tip { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--ds-accent-soft); color: var(--ds-ink); font-size: 14px; line-height: 1.45; }
.ds .tolik-tip b { color: var(--ds-accent); }
.ds .tolik-tip small { display: block; margin-top: 2px; color: var(--ds-muted); font-size: 12px; }
.ds .guest-review__stars { display: flex; gap: 4px; font-size: 26px; }
.ds .guest-review__stars label { cursor: pointer; color: var(--ds-faint); }
.ds .guest-review__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Вход, регистрация, коды */
.ds .auth-shell { max-width: 440px; margin: 0 auto; padding: 24px 0; display: grid; gap: 16px; }
.ds .auth-shell .panel { padding: 20px; }
.ds .registration-phone { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; }
.ds .recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; font-family: ui-monospace, monospace; }
.ds .two-factor__secret { padding: 10px; border-radius: 10px; background: var(--ds-fill); font-family: ui-monospace, monospace; word-break: break-all; }


/* Места на замену после отказа (подбирает сервис) */
.ds .booking-replacements { display: grid; gap: 4px; }
.ds .booking-replacements h2 { font-size: 18px; font-weight: 700; }
.ds .booking-replacements > p { color: var(--ds-muted); font-size: 14px; margin-bottom: 8px; }
.ds .booking-replacements ul { list-style: none; margin: 0; padding: 0; display: grid; }
.ds .booking-replacements a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ds-line); }
.ds .booking-replacements a:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.ds .booking-replacements img { grid-row: span 2; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.ds .booking-replacements span { display: grid; gap: 2px; min-width: 0; align-self: end; }
.ds .booking-replacements b, .ds .booking-replacements small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds .booking-replacements b { font-weight: 650; }
.ds .booking-replacements small { color: var(--ds-muted); font-size: 13px; }
.ds .booking-replacements em { align-self: start; font-style: normal; font-weight: 600; font-size: 14px; color: var(--ds-accent); }

/* Тёмная тема: поля внутри плашек — на ступень светлее плашки, иначе сливаются */
:root[data-theme="dark"] .ds :is(.panel, .bookpanel) :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { background: var(--ds-fill-2); }
.ds .panel a:not(.btn):not(.vp-btn):not(.catalog-launcher), .ds .auth-shell a:not(.btn) { color: var(--ds-accent); font-weight: 500; }
@media (min-width: 761px) {
  .ds .layout { grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 32px; }
  /* Без «прилипания»: на коротких страницах оно сдвигало меню, и оно прыгало между разделами */
  .ds .side { display: grid; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .ds .side__title { display: block; padding: 14px 12px 6px; color: var(--ds-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
  .ds .side__link { height: auto; padding: 10px 12px; border-radius: 10px; background: none; white-space: normal; }
  .ds .side__link:hover { background: var(--ds-fill); }
  .ds .booking-result { margin: 0 auto; }
}


/* Контакты сервиса (блок над страницей контактов) */
.ds .public-contacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.ds .public-contacts .social-links { display: contents; }
.ds .public-contacts span[aria-disabled] { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--ds-r-pill); background: var(--ds-fill); color: var(--ds-faint); font-size: 14px; }
.ds .public-contacts a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 14px; font-weight: 500; }
/* Предложение «Столик на главном экране» (install.js) */
.ds .install-offer { width: min(400px, calc(100vw - 24px)); padding: 22px 20px 18px; gap: 10px; }
.ds .install-offer[open] { display: grid; }
.ds .install-offer::backdrop { background: rgb(0 0 0 / .45); }
.ds .install-offer h2 { padding-right: 36px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ds .install-offer p { color: var(--ds-muted); font-size: 15px; }
.ds .install-offer__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--ds-fill); color: var(--ds-ink); font-size: 20px; line-height: 1; cursor: pointer; }


/* Карта заведений (/karta): карта на весь экран, фильтры поверх */
.ds:has(.map-page) .main { min-height: 0; padding-bottom: 0; }
.ds:has(.map-page) .site-footer { display: none; }
.ds .map-page { position: relative; height: calc(100dvh - 64px); min-height: 360px; }
.ds .map-container { position: absolute; inset: 0; z-index: 1; background: var(--ds-photo); }
.ds .map-controls { position: absolute; z-index: 5; top: 12px; left: var(--ds-gutter); right: var(--ds-gutter); pointer-events: none; }
.ds .map-controls__inner { pointer-events: auto; }
.ds .map-filters { display: inline-block; max-width: 100%; }
.ds .filters-toggle { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--ds-r-pill); background: var(--ds-raise); box-shadow: var(--ds-shadow-sm);
  font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; }
.ds .filters-toggle::-webkit-details-marker { display: none; }
.ds .map-filters[open] .map-filter-options, .ds .map-filters[open] .map-search { margin-top: 8px; padding: 14px; border-radius: var(--ds-r); background: var(--ds-raise); box-shadow: var(--ds-shadow); }
.ds .map-filter-options { display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); font-size: 14px; }
.ds .map-filter { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ds .map-filter-options a { color: var(--ds-accent); font-weight: 600; }
.ds .map-search input { width: min(360px, calc(100vw - 60px)); }
.ds .map-route-tip { position: absolute; z-index: 4; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: calc(100% - 100px); padding: 6px 12px; border-radius: var(--ds-r-pill);
  background: rgb(18 16 16 / .6); color: #fff; font-size: 12px; text-align: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ds .map-locate { position: absolute; z-index: 5; right: var(--ds-gutter); bottom: 16px; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--ds-raise); color: var(--ds-ink); box-shadow: var(--ds-shadow-sm); cursor: pointer; }
.ds .map-notice { position: absolute; z-index: 5; left: var(--ds-gutter); top: 64px; max-width: calc(100% - 32px); color: var(--ds-muted); font-size: 12px; }
.ds .map-notice:empty { display: none; }
.ds .map-page .leaflet-top.leaflet-left { top: 60px; }
@media (max-width: 760px) {
  .ds .map-page { height: calc(100dvh - 118px); }
  .ds:has(.map-page) { padding-bottom: 0; }
  .ds .map-route-tip, .ds .map-locate { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* ===================== Страницы гостя: банкет, «Как это работает», «О проекте», контакты, политики, афиша, блог ===================== */
.ds .main > .container[style*="padding-top"] { padding-top: 18px !important; }
.ds .section { margin-top: 30px; }
.ds .section__head { display: grid; gap: 6px; margin-bottom: 16px; }
.ds .section__head h1, .ds .banquet-picker h1, .ds .banquet-request h1, .ds .afisha h1, .ds .blog-page h1, .ds .legal h1 { font: 700 26px/1.15 var(--ds-font); letter-spacing: -.025em; }
.ds .section__head h2, .ds .section h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.ds .panel h3, .ds .step h3 { margin-bottom: 4px; font-size: 16px; font-weight: 700; }
.ds .panel p, .ds .step p { color: var(--ds-muted); font-size: 15px; }
.ds .grid { display: grid; gap: 12px; }
.ds .steps { display: grid; gap: 0; margin-top: 8px; }
.ds .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; border-top: 1px solid var(--ds-line); }
.ds .step__num { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 700; }
.ds .stat { padding: 16px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .stat__value { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.ds .stat__label { color: var(--ds-muted); font-size: 13px; }
.ds .stat--accent .stat__value { color: var(--ds-accent); }
.ds .table-wrap { overflow-x: auto; }
.ds .reveal { opacity: 1 !important; transform: none !important; }

/* Политики и юридический текст — удобное чтение */
.ds .legal { max-width: 720px; padding-top: 18px; }
.ds .legal__section { padding: 16px 0; border-top: 1px solid var(--ds-line); }
/* Политика и cookie — колонка текста без карточек («без рамок»), 2026-10-16 */
.ds .legal .panel.legal__section, :root[data-theme="dark"] .ds .legal .panel.legal__section { margin: 0; padding: 22px 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--ds-line); }
.ds .legal .section__head { margin-bottom: 8px; }
.ds .legal .lead { color: var(--ds-muted); font-size: 16px; line-height: 1.55; }
.ds .legal p + p, .ds .legal p + ul, .ds .legal ul + p { margin-top: 10px; }
.ds .legal li + li { margin-top: 4px; }
.ds .legal .table-wrap { margin: 12px 0; overflow-x: auto; }
.ds .legal table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
.ds .legal table.data :is(th, td) { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ds-line); text-align: left; vertical-align: top; }
.ds .legal table.data th { color: var(--ds-muted); font-weight: 600; }
.ds .legal__section h2 { margin-bottom: 8px; font-size: 17px; font-weight: 700; }
.ds .legal p, .ds .legal li { color: var(--ds-ink); font-size: 15px; line-height: 1.6; }
.ds .legal ul, .ds .legal ol { padding-left: 20px; }

/* Банкет */
.ds .banquet-picker, .ds .banquet-request { display: grid; gap: 14px; max-width: 560px; padding-top: 14px; }
.ds .banquet-picker__note { color: var(--ds-muted); font-size: 13px; }
.ds .banquet-form { display: grid; gap: 14px; }
.ds .banquet-form__row { display: grid; gap: 12px; }
.ds .banquet-form__check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.ds .banquet-venues { display: grid; gap: 8px; }
.ds .banquet-add { display: grid; gap: 8px; }
.ds .banquet-add__row { display: flex; gap: 8px; }

/* Афиша */
.ds .afisha { padding-top: 14px; display: grid; gap: 14px; }
.ds .afisha__filter { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ds .afisha__filter a { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 14px; }
.ds .afisha__filter a.active, .ds .afisha__filter a[aria-current] { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .venue-offer__place { color: var(--ds-muted); font-size: 13px; }

/* Блог */
.ds .blog-page { padding-top: 14px; display: grid; gap: 14px; }
.ds .blog-search { display: flex; gap: 8px; }
.ds .blog-search input { flex: 1; }
.ds .blog-categories { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ds .blog-categories a { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 14px; }
.ds .blog-categories a.is-active, .ds .blog-categories a.active, .ds .blog-categories a[aria-current] { background: var(--ds-accent-soft); color: var(--ds-accent); font-weight: 600; }
.ds .blog-grid { display: grid; gap: 24px; }
.ds .blog-card { position: relative; display: grid; gap: 6px; align-content: start; }
.ds .blog-card__image { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--ds-r-photo); overflow: hidden; object-fit: cover; background: var(--ds-photo); }
/* Статья без фото — плашка с рубрикой того же размера, сетка не «дырявая» (решение владельца 2026-10-16) */
.ds .blog-card__plate { display: flex; align-items: flex-end; aspect-ratio: 16 / 10; padding: 20px; border-radius: var(--ds-r-photo); background: var(--ds-accent-soft); }
.ds .blog-card__plate span { color: var(--ds-accent); font: 700 24px/1.15 var(--ds-font); letter-spacing: -.02em; }
.ds .blog-card__meta { margin-top: 6px; }
.ds .blog-card p { color: var(--ds-muted); font-size: 15px; line-height: 1.5; }
.ds .blog-card__link { color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ds .blog-card h2, .ds .blog-card h3 { font-size: 18px; font-weight: 650; }
.ds .blog-card__meta { color: var(--ds-muted); font-size: 13px; }
.ds .blog-card__link::after { content: ""; position: absolute; inset: 0; }
.ds .blog-post { max-width: 720px; padding-top: 14px; display: grid; gap: 14px; }
.ds .blog-post h1 { font: 700 28px/1.15 var(--ds-font); letter-spacing: -.025em; }
.ds .blog-post__intro { color: var(--ds-muted); font-size: 17px; line-height: 1.5; }
.ds .blog-post__image { border-radius: var(--ds-r-photo); overflow: hidden; }
.ds .blog-post p, .ds .blog-post li { font-size: 16px; line-height: 1.65; }
.ds .blog-post h2 { margin-top: 10px; font-size: 21px; font-weight: 700; }
.ds .blog-post__source { color: var(--ds-faint); font-size: 13px; }
.ds .blog-back { color: var(--ds-accent); font-weight: 600; }

@media (min-width: 761px) {
  .ds .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ds .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ds .banquet-form__row { grid-template-columns: 1fr 1fr; }
}

/* ===================== Кабинет заведения и сотрудника (шаг 4а) ===================== */
/* Нижняя панель заведения — тот же «тёмный остров», 4 пункта */
.ds .refresh-business-dock { display: none; }
@media (max-width: 760px) {
  .ds .refresh-business-dock { position: fixed; z-index: 85; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 6px 4px; border-radius: 26px; background: rgb(22 20 19 / .92); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
    box-shadow: 0 14px 34px -12px rgb(0 0 0 / .6); }
  :root[data-theme="dark"] .ds .refresh-business-dock { background: rgb(38 34 31 / .94); box-shadow: 0 14px 34px -12px rgb(0 0 0 / .9), inset 0 1px 0 rgb(255 255 255 / .05); }
  .ds .refresh-business-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 20px; color: #8d867f; font-size: 11px; font-weight: 500; }
  .ds .refresh-business-dock svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .ds .refresh-business-dock a[aria-current] { color: #fff; font-weight: 600; }
  .ds .refresh-business-dock a[aria-current] svg { stroke: var(--ds-accent); }
  .ds .refresh-business-dock a:active { transform: scale(.94); }
  /* Разделы кабинета — в нижней панели и в «Ещё», ленту чипов не дублируем */
  .ds:is(.business-page, .admin-page) .layout > .side { display: none; }
}

/* Строка «Новые заявки: N» — остальная полоса уведомлений нужна скриптам, но скрыта */
.ds .business-alerts--compact > :is(.business-alerts__controls, p.muted, a.btn, .notification-feed) { display: none; }
.ds .business-alerts--compact #bookingNotice:empty { display: none; }
.ds .business-alerts--compact #bookingNotice { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--ds-r);
  background: var(--ds-accent-soft); color: var(--ds-ink); font-size: 14px; font-weight: 500; }
.ds .business-alerts--compact #bookingNotice::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ds-accent); }
.ds .business-alerts--compact #bookingNotice[data-link] { cursor: pointer; }
.ds .main > .container:has(> .business-alerts--compact) { padding-top: 12px; }
@media (min-width: 761px) {
  .ds .main > .container:has(> .business-alerts--compact) { height: 0; padding: 0; }
  .ds .business-alerts--compact #bookingNotice { position: fixed; z-index: 60; right: 24px; bottom: 24px; max-width: 360px; margin: 0; box-shadow: var(--ds-shadow); background: var(--ds-raise); }
}

/* Заголовки разделов */
.ds :is(.business-overview, .layout) h1, .ds .page-head h1, .ds .staff-workspace h1 { font: 700 28px/1.15 var(--ds-font); letter-spacing: -.025em; }
.ds .page-head { display: grid; gap: 8px; margin-bottom: 14px; }
.ds .page-head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ds .page-head h1 { flex: 1 0 100%; }
.ds .page-head p { order: 2; flex: 1 0 100%; color: var(--ds-muted); font-size: 14px; }

/* Обзор: сначала цифры дня, потом заявки, расписание, столики; служебные кнопки — внизу */
.ds .business-overview > div { display: flex; flex-direction: column; min-width: 0; }
.ds .business-overview > div > * { order: 5; }
.ds .business-overview > div > :is(h1, p.muted) { order: 0; }
.ds .business-overview > div > p.muted { margin-top: 2px; color: var(--ds-muted); }
.ds .business-overview .reference-stats { order: 1; }
.ds .business-overview .business-alerts { order: 2; }
.ds .business-overview .business-pending { order: 3; }
.ds .business-overview .dash-bar { order: 9; margin-top: 22px; }
.ds .reference-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 18px; }
.ds .reference-stats .stat { position: relative; display: grid; gap: 2px; padding: 14px 12px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .reference-stats .stat__icon, .ds .reference-stats .stat > span:last-child { display: none; }
.ds .reference-stats .stat__value { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.ds .reference-stats .stat__label { color: var(--ds-muted); font-size: 12px; line-height: 1.3; }
.ds .reference-stats .stat:last-child .stat__value { color: var(--ds-accent); }

/* Секции обзора — без плашек: заголовок, ссылка справа, строки через линию */
.ds .business-overview .panel, :root[data-theme="dark"] .ds .business-overview .panel { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.ds .business-overview > div > .panel, .ds .business-service-grid > .panel { margin-top: 26px; }
.ds .business-overview .panel h2 { margin-bottom: 8px; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.ds .panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 4px; }
.ds .panel__head h2 { display: flex; align-items: center; gap: 8px; }
.ds .panel__head > a { flex: none; color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .panel__head .btn--quiet { min-height: 0; padding: 0; color: var(--ds-accent); font-weight: 600; }
.ds .panel__head .badge { height: 22px; padding: 0 8px; background: var(--ds-accent); color: #fff; }
.ds .business-pending .bcard { padding: 14px 0; border-bottom: 1px solid var(--ds-line); }
.ds .business-pending .blist { gap: 0; }
.ds .refresh-upcoming { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--ds-line); }
.ds .business-overview .panel a.refresh-upcoming { color: var(--ds-ink); font-weight: 400; }
.ds .refresh-upcoming strong { font-weight: 650; }
.ds .refresh-upcoming span { color: var(--ds-muted); font-size: 14px; }
.ds .refresh-upcoming span:last-child { color: var(--ds-accent); font-weight: 500; }
.ds .business-service-grid { display: grid; }
.ds .business-week-title { margin: 18px 0 4px; font-size: 15px; font-weight: 700; }
.ds .business-day { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ds-line); font-size: 14px; }
.ds .business-day b { font-weight: 600; }
.ds .business-room__plan { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 8px 0; }
.ds .business-overview .panel a.business-room__table { display: grid; gap: 2px; padding: 12px; border-radius: var(--ds-r); background: var(--ds-fill); color: var(--ds-ink); }
.ds .business-room__table small { color: var(--ds-muted); font-size: 12px; }
.ds .biz-room-empty { grid-column: 1 / -1; display: grid; justify-items: start; gap: 10px; padding: 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .business-overview .panel .biz-room-empty a.btn--primary { color: var(--ds-on-accent); }
.ds .business-venue-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ds .business-overview .panel .business-venue-links a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--ds-r-pill); background: var(--ds-fill); color: var(--ds-ink); font-size: 13px; }
/* Таблицы кабинета (расписание, ближайшие брони) на телефоне — строки без рамки */
@media (max-width: 760px) {
  .ds:is(.business-page, .admin-page) table.data thead { display: none; }
  .ds:is(.business-page, .admin-page) table.data tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--ds-line); }
  .ds:is(.business-page, .admin-page) table.data td { padding: 0; border: 0; color: var(--ds-muted); }
  .ds:is(.business-page, .admin-page) table.data td:first-child { color: var(--ds-ink); }
  .ds:is(.business-page, .admin-page) table.data td:nth-child(2) { color: var(--ds-ink); font-weight: 600; }
  .ds:is(.business-page, .admin-page) table.data td:last-child { margin-left: auto; }
  .ds:is(.business-page, .admin-page) table.data td[colspan] { margin-left: 0; }
}
@media (min-width: 1100px) {
  .ds .business-service-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 32px; align-items: start; }
}
@media (min-width: 761px) {
  .ds .reference-stats { gap: 12px; }
  .ds .reference-stats .stat { padding: 18px; }
  .ds .reference-stats .stat__label { font-size: 13px; }
}

/* Брони: вкладки статусов — лента чипов */
.ds .tabs { display: flex; gap: 8px; margin: 0 calc(-1 * var(--ds-gutter)) 6px; padding: 0 var(--ds-gutter) 4px; overflow-x: auto; scrollbar-width: none; }
.ds .tabs::-webkit-scrollbar { display: none; }
.ds .tab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 14px; font-weight: 500; white-space: nowrap; }
.ds .tab.is-active { background: var(--ds-ink); color: var(--ds-bg); font-weight: 600; }
.ds .tab__count { color: var(--ds-muted); font-size: 13px; }
.ds .tab.is-active .tab__count { color: inherit; opacity: .7; }
@media (min-width: 761px) { .ds .tabs { margin: 0 0 6px; padding: 0; flex-wrap: wrap; } }

/* Карточка брони заведения: строка через линию, сведения — список, действия — внизу */
.ds:is(.business-page, .admin-page) .blist { gap: 0; }
.ds:is(.business-page, .admin-page) .bcard { gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--ds-line); }
.ds:is(.business-page, .admin-page) .bcard__head { align-items: flex-start; }
.ds:is(.business-page, .admin-page) a.bcard__title { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.ds:is(.business-page, .admin-page) .bcard__facts { gap: 4px 12px; margin: 0 !important; color: var(--ds-ink); font-size: 15px; }
.ds:is(.business-page, .admin-page) .bcard__fact { display: inline-flex; align-items: center; gap: 4px; }
.ds:is(.business-page, .admin-page) .bcard__fact a { color: var(--ds-accent); font-weight: 600; }
.ds .badge--pending { background: rgb(214 140 20 / .13); color: #a8650a; }
:root[data-theme="dark"] .ds .badge--pending { color: #f2b45a; }
.ds .phone-unverified { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: #a8650a; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ds .phone-unverified svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .ds .phone-unverified { color: #f2b45a; }
.ds .badge--cancelled { background: var(--ds-fill); color: var(--ds-muted); }
.ds:is(.business-page, .admin-page) .bcard .notice { margin: 0; padding: 10px 12px; font-size: 14px; }
.ds:is(.business-page, .admin-page) .bcard .notice p { margin-top: 4px; color: inherit; font-size: 14px; }
.ds:is(.business-page, .admin-page) .bcard .small[style] { margin-top: 0 !important; }
.ds .preorder-lines { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--ds-fill); font-size: 14px; }
.ds .preorder-lines span { color: var(--ds-muted); }
.ds .decided-by, .ds .visit-answer { color: var(--ds-muted); font-size: 13px; }
.ds .visit-answer--yes { color: #1d8a4e; }
.ds .visit-answer--no { color: #c43a2b; }
:root[data-theme="dark"] .ds .visit-answer--yes { color: #5fd18f; }
:root[data-theme="dark"] .ds .visit-answer--no { color: #ff8a7a; }
.ds:is(.business-page, .admin-page) .bcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 4px; }
.ds:is(.business-page, .admin-page) .bcard__actions > .small { flex: 1 0 100%; color: var(--ds-muted); font-size: 13px; }
.ds:is(.business-page, .admin-page) .bcard__actions > .small:not(.muted) { order: -2; color: var(--ds-ink); font-weight: 500; }
.ds:is(.business-page, .admin-page) .bcard__actions > .small.muted { order: -1; margin-top: -6px; }
.ds:is(.business-page, .admin-page) .bcard__actions > .guest-mark { flex: 1 0 100%; }
.ds:is(.business-page, .admin-page) .bcard__actions > form { flex: 1 1 100%; }
.ds:is(.business-page, .admin-page) .bcard__actions > form:last-child { flex: 1 1 auto; }
.ds .decision-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ds .decision-form > :is(label, textarea) { grid-column: 1 / -1; }
.ds .decision-form label { color: var(--ds-muted); font-size: 13px; }
.ds .decision-form textarea { min-height: 64px; }
.ds .decision-form .btn { min-height: 46px; font-size: 15px; }
.ds .btn--ok { background: var(--ds-accent); color: var(--ds-on-accent); }
.ds .business-pending .bcard__actions { display: block; padding: 0; }
.ds .business-pending .bcard__title { font-size: 16px; font-weight: 650; }
.ds .business-pending .bcard__facts { margin-top: 2px; color: var(--ds-muted); font-size: 14px; }
/* Отметка о госте */
.ds .guest-mark { display: grid; gap: 6px; min-width: 0; }
.ds .guest-mark__history { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ds .guest-mark__form > summary { padding: 8px 0; color: var(--ds-accent); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.ds .guest-mark__form > summary::-webkit-details-marker { display: none; }
.ds .guest-mark__fields { display: grid; gap: 12px; padding: 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .guest-mark__fields label { display: grid; gap: 6px; font-size: 14px; }
.ds .guest-mark__outcome { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 0; border: 0; }
.ds .guest-mark__outcome legend { width: 100%; margin-bottom: 6px; padding: 0; }
.ds .guest-mark__outcome label { display: inline-flex; align-items: center; gap: 6px; }
.ds .guest-mark__outcome input { width: auto; margin: 0; }
:root[data-theme="dark"] .ds .guest-mark__fields :is(select, textarea) { background: var(--ds-fill-2); }
.ds .comment-translation { margin-top: 0 !important; }
.ds .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 20px 0; }
.ds .pagination a, .ds .pagination span { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 14px; }
.ds .pagination .is-active, .ds .pagination [aria-current] { background: var(--ds-ink); color: var(--ds-bg); }

/* Кабинет сотрудника: бронь на день — строка без рамки, формы — серое поле */
.ds .staff-workspace { padding-top: 14px; max-width: 760px; }
.ds .staff-eyebrow { color: var(--ds-accent); font-size: 13px; font-weight: 600; }
.ds .staff-workspace > h1 + p { margin-top: 2px; color: var(--ds-muted); }
.ds .staff-day { display: flex; align-items: flex-end; gap: 10px; margin: 16px 0; }
.ds .staff-day label { display: grid; flex: 1; gap: 6px; color: var(--ds-muted); font-size: 13px; }
.ds .staff-day .btn { min-height: 48px; }
.ds .staff-form { display: grid; gap: 12px; margin-top: 12px; }
.ds .staff-form label { display: grid; gap: 6px; min-width: 0; color: var(--ds-muted); font-size: 13px; }
.ds .staff-form :is(input, select, textarea) { width: 100%; min-width: 0; color: var(--ds-ink); }
.ds .staff-form textarea { min-height: 72px; }
.ds .staff-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .staff-actions .btn { flex: 1 1 auto; }
.ds .panel.staff-panel, :root[data-theme="dark"] .ds .panel.staff-panel { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--ds-line); border-radius: 0; background: none; box-shadow: none; }
.ds .staff-panel h2 { margin-bottom: 4px; font-size: 18px; font-weight: 700; }
.ds .staff-panel > p { color: var(--ds-ink); font-size: 15px; }
.ds .staff-panel a:not(.btn) { color: var(--ds-accent); font-weight: 600; }
.ds .staff-booking-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ds .staff-panel > summary, .ds .staff-panel details > summary { padding: 4px 0; color: var(--ds-accent); font-weight: 600; cursor: pointer; list-style: none; }
.ds .staff-panel summary::-webkit-details-marker { display: none; }
.ds details.staff-panel:first-of-type { border-top: 1px solid var(--ds-line); }
.ds details.staff-panel[open] > .staff-form, .ds .staff-panel details[open] > .staff-form { padding: 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
:root[data-theme="dark"] .ds .staff-panel :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { background: var(--ds-fill-2); }
.ds .staff-workspace > nav.staff-actions { margin: 16px 0; }
.ds .staff-workspace > nav.staff-actions a { color: var(--ds-accent); font-weight: 600; }
.ds .staff-select > a, .ds .staff-invite a:not(.btn) { color: var(--ds-accent); font-weight: 600; }
.ds .staff-invite .staff-panel { border: 0; }
@media (min-width: 761px) {
  .ds .staff-form { grid-template-columns: 1fr 1fr; }
  .ds .staff-form > :is(button, .staff-actions), .ds .staff-form > label:has(textarea) { grid-column: 1 / -1; }
}

/* Сведения брони — без значков, через отступ */
.ds:is(.business-page, .admin-page) .bcard__facts { gap: 2px 14px; }
/* Заметки и скидка гостя */
.ds .development-page { display: grid; gap: 8px; min-width: 0; }
.ds .development-page > a:first-child { color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .development-page > p { color: var(--ds-muted); font-size: 14px; }
.ds .development-page .panel { margin-top: 10px; }
.ds .development-page .panel h2 { margin-bottom: 10px; font-size: 18px; font-weight: 700; }
.ds .development-page form { display: grid; gap: 12px; }
.ds .development-page label { display: grid; gap: 6px; color: var(--ds-muted); font-size: 13px; }
.ds .development-page label.check { display: flex; align-items: flex-start; color: var(--ds-ink); }
.ds .development-page :is(input:where(:not([type=checkbox], [type=radio])), select, textarea) { width: 100%; min-width: 0; color: var(--ds-ink); }
.ds .development-page form > .btn { justify-self: start; }
.ds .venue-note { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--ds-line); font-size: 14px; }
.ds .venue-note p { color: var(--ds-ink); }
.ds .venue-note small { color: var(--ds-muted); font-size: 12px; }
.ds .development-page pre { overflow-x: auto; font-size: 12px; white-space: pre-wrap; }

/* ===================== Кабинет заведения: раздел «Заведение» (шаг 4б) ===================== */
.ds .biz-back { display: inline-flex; margin-bottom: 6px; color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .page-head > .btn { justify-self: start; }
.ds .notice--warn { background: rgb(214 140 20 / .13); }
.ds .layout .panel h2 { margin-bottom: 8px; font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.ds .layout .panel { margin-bottom: 14px; }
.ds .layout .panel + .panel { margin-top: 0; }

/* «Мои заведения»: крупное фото, название, адрес, ссылки разделов лентой */
.ds .biz-venue-grid { display: grid; gap: 26px; }
.ds .biz-venue-card { display: grid; gap: 10px; }
.ds .biz-venue-card .pcard__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--ds-r-photo); overflow: hidden; background: var(--ds-photo); }
.ds .biz-venue-card .pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.ds .biz-photo-placeholder { display: grid; place-content: center; justify-items: center; gap: 8px; height: 100%; color: var(--ds-muted); font-size: 14px; }
.ds .biz-photo-placeholder svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.ds .pcard__flag { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: var(--ds-r-pill); background: rgb(18 16 16 / .7); color: #fff; font-size: 12px; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ds .pcard__flag--bad { background: #c43a2b; }
.ds .biz-venue-card .pcard__body { display: grid; gap: 2px; }
.ds .biz-venue-card .pcard__title { font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.ds .biz-venue-card :is(.pcard__meta, .pcard__addr) { color: var(--ds-muted); font-size: 14px; }
.ds .biz-venue-card .pcard__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.ds .biz-venue-card .pcard__foot > :first-child { flex: 1 0 100%; }
.ds .biz-venue-card .pcard__foot > .badge:first-child { flex: none; margin-right: 100%; }

/* Анкета заведения: поля в плашке, на компьютере — по два в ряд */
.ds .layout .panel .form { gap: 16px; }
.ds .venue-edit-section, .ds .biz-photos { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--ds-line); }
.ds .venue-edit-section h2, .ds .biz-photos h2 { font-size: 18px; font-weight: 700; }
.ds .venue-edit-section > p { font-size: 14px; }
.ds .biz-upload { display: grid; gap: 8px; padding: 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
:root[data-theme="dark"] .ds .biz-upload { background: var(--ds-fill-2); }
.ds .biz-upload h3 { font-size: 15px; font-weight: 700; }
.ds .field input.biz-upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; padding: 0; min-height: 0; }
.ds .biz-upload__button { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--ds-r-pill); background: var(--ds-accent-soft); color: var(--ds-accent); font-size: 14px; font-weight: 600; cursor: pointer; }
.ds .biz-upload__input:focus-visible + .biz-upload__button, .ds .biz-upload__button:has(+ .biz-upload__input:focus-visible) { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
.ds .biz-upload__previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.ds .biz-upload__previews:empty { display: none; }
.ds .biz-upload__previews figure { display: grid; gap: 4px; margin: 0; font-size: 12px; color: var(--ds-muted); }
.ds .biz-upload__previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.ds .biz-upload__previews .btn { min-height: 28px; padding: 0; font-size: 12px; color: #c43a2b; }
.ds .biz-current-cover { display: grid; gap: 8px; }
.ds .biz-current-cover img { width: 100%; max-width: 320px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.ds .layout .panel details { font-size: 14px; }
.ds .layout .panel details > summary { padding: 6px 0; color: var(--ds-accent); font-weight: 600; cursor: pointer; }
.ds .layout .panel details ol { display: grid; gap: 6px; padding-left: 20px; color: var(--ds-muted); }
.ds .layout .panel code { padding: 1px 5px; border-radius: 6px; background: var(--ds-fill); font-size: 12px; }
.ds .layout .panel .field input[readonly], .ds .layout .panel .field textarea[readonly] { color: var(--ds-muted); font-size: 13px; }

/* Столики */
.ds .special-table-fields:not([open]) { gap: 0; }
.ds .special-table-fields { display: grid; gap: 12px; padding: 12px 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
:root[data-theme="dark"] .ds .special-table-fields { background: var(--ds-fill-2); }
.ds .special-table-fields__row, .ds .addons-admin__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ds .biz-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .special-badge { display: inline-flex; align-items: center; height: 22px; margin-left: 6px; padding: 0 8px; border-radius: var(--ds-r-pill); background: var(--ds-accent-soft); color: var(--ds-accent);
  font-size: 11px; font-weight: 700; vertical-align: middle; }
.ds .biz-table-grid { display: grid; }
.ds .biz-table-grid > .panel, :root[data-theme="dark"] .ds .biz-table-grid > .panel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--ds-line);
  border-radius: 0; background: none; box-shadow: none; }
.ds .biz-table-grid > .panel > :is(h2, p) { flex: 1 0 100%; margin: 0; }
.ds .biz-table-grid > .panel h2 { font-size: 16px; }
.ds .biz-table-grid > .panel p { font-size: 14px; }
.ds .biz-table-grid > .panel .btn { min-height: 36px; padding: 0 14px; font-size: 14px; }

/* Меню: блюда строками, предпросмотр и предзаказ — плашки */
.ds .menu-preview__notice { font-size: 13px; }
.ds .menu-preview__items { display: grid; margin-top: 8px; }
.ds .menu-preview__item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ds-line); font-size: 14px; }
.ds .menu-preview__item span { color: var(--ds-muted); }
.ds .preorder-switch { display: grid; gap: 12px; }
.ds .preorder-switch .btn { justify-self: start; }
.ds .layout .grid--places { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.ds .layout .grid--places > .panel, :root[data-theme="dark"] .ds .layout .grid--places > .panel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 14px 0;
  border-bottom: 1px solid var(--ds-line); border-radius: 0; background: none; box-shadow: none; }
.ds .layout .grid--places > .panel > :is(h2, p) { flex: 1 0 100%; margin: 0; }
.ds .layout .grid--places > .panel h2 { font-size: 16px; }
.ds .layout .grid--places > .panel .btn { min-height: 36px; padding: 0 14px; font-size: 14px; }

/* Сеты, события, дополнения к брони */
.ds .addons-admin .panel { margin-top: 6px; }
.ds .offer-event-fields { display: grid; gap: 12px; margin: 0; padding: 12px 14px; border: 0; border-radius: var(--ds-r); background: var(--ds-fill); }
:root[data-theme="dark"] .ds .offer-event-fields { background: var(--ds-fill-2); }
.ds .offer-event-fields legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; color: var(--ds-muted); font-size: 13px; font-weight: 600; }
.ds .addons-admin__form > .btn { justify-self: start; }
.ds .addon-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ds-line); }
.ds .addon-row.is-hidden { opacity: .55; }
.ds .addon-row__main { display: grid; gap: 2px; min-width: 0; }
.ds .addon-row__main b { font-weight: 650; }
.ds .addon-row__main span { font-size: 14px; }
.ds .addon-row__main small { color: var(--ds-muted); font-size: 13px; }
.ds .addon-row form { flex: none; }

@media (min-width: 761px) {
  .ds .page-head { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .ds .page-head > .btn { justify-self: end; }
  .ds .layout .panel .form__row { grid-template-columns: 1fr 1fr; }
  .ds .biz-venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .ds .layout .grid--places { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

/* ===================== Кабинет заведения: раздел «Ещё» (шаг 4в) ===================== */
.ds .chip { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 0; border-radius: var(--ds-r-pill); background: var(--ds-fill); color: var(--ds-ink); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.ds .chip.is-active, .ds .chip[aria-pressed="true"] { background: var(--ds-ink); color: var(--ds-bg); font-weight: 600; }

/* Аналитика: период чипами, главные цифры плитками, загрузка недели списком */
.ds .layout > main { min-width: 0; }
.ds .report-filters { display: grid; gap: 8px; margin: 14px 0; }
.ds .report-place { display: flex; gap: 8px; }
.ds .report-place select { flex: 1; min-width: 0; }
.ds .report-periods { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .report-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.ds .report-card { display: grid; align-content: start; gap: 2px; padding: 14px 12px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .report-card b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.ds .report-card span { font-size: 13px; font-weight: 600; }
.ds .report-card small { color: var(--ds-muted); font-size: 12px; line-height: 1.35; }
.ds .report-card--warn b { color: #c43a2b; }
.ds .report-filters { display: grid; gap: 12px; margin: 0 0 16px; }
.ds .report-periods { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .report-periods .chip { text-decoration: none; }
.ds .panel .report-periods .chip:not(.is-active) { color: var(--ds-ink); font-weight: 500; }
.ds .report-custom > summary { cursor: pointer; color: var(--ds-accent); font-weight: 600; }
.ds .report-custom__form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-top: 10px; }
.ds .report-custom__form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.ds .report-pair { display: grid; gap: 0 16px; }
@media (min-width: 900px) { .ds .report-pair { grid-template-columns: 1fr 1fr; } }
.ds .report-bars { display: grid; gap: 8px; margin: 4px 0 8px; padding: 0; list-style: none; }
.ds .report-bars li { display: grid; grid-template-columns: minmax(84px, 30%) 1fr auto; align-items: center; gap: 10px; font-size: 14px; }
.ds .report-bars__label { overflow: hidden; color: var(--ds-muted); text-overflow: ellipsis; white-space: nowrap; }
.ds .report-bars__track { height: 10px; border-radius: 999px; background: var(--ds-fill); overflow: hidden; }
.ds .report-bars__fill { display: block; height: 100%; border-radius: inherit; background: var(--ds-accent); }
.ds .report-bars b { min-width: 2ch; text-align: right; }
.ds .report-sub { margin: 14px 0 6px; font-size: 15px; font-weight: 700; }
.ds .report-up { color: #2f8a4b; font-weight: 600; }
.ds .report-down { color: #c43a2b; font-weight: 600; }
:root[data-theme="dark"] .ds .report-card--warn b { color: #ff8a7a; }
.ds .report-week { display: grid; margin: 8px 0 0; padding: 0; list-style: none; }
.ds .report-week li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 0; border-bottom: 1px solid var(--ds-line); font-size: 14px; }
.ds .report-week li > b { flex: 1 0 100%; font-weight: 650; }
.ds .report-week li > b::first-letter { text-transform: uppercase; }
.ds .report-week .chip { height: 28px; cursor: default; font-size: 12px; }
:root[data-theme="dark"] .ds :is(.panel, .business-alerts) :is(.chip, .btn--ghost) { background: var(--ds-fill-2); }
.ds .layout .panel .reference-stats { margin: 8px 0; }
.ds .layout .panel .reference-stats .stat { background: var(--ds-fill); }
:root[data-theme="dark"] .ds .layout .panel .reference-stats .stat { background: var(--ds-fill-2); }
.ds .layout .panel .reference-stats .stat > span { display: block; color: var(--ds-muted); font-size: 12px; }
.ds .layout > main > p > .btn { margin: 4px 0; }
.ds .layout .panel .table-wrap + .table-wrap { margin-top: 12px; }

/* «Каналы уведомлений»: полная полоса — кнопки звука и push, статус, лента */
.ds .business-alerts:not(.business-alerts--compact) { display: grid; gap: 10px; margin: 6px 0 16px; padding: 16px; border-radius: 20px; background: var(--ds-raise); box-shadow: var(--ds-shadow-sm); }
:root[data-theme="dark"] .ds .business-alerts:not(.business-alerts--compact) { background: var(--ds-fill); box-shadow: none; }
.ds .business-alerts__controls { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .business-alerts #bookingNotice:empty { display: none; }
.ds .business-alerts:not(.business-alerts--compact) #bookingNotice { font-size: 14px; font-weight: 500; }
.ds .business-alerts:not(.business-alerts--compact) > p.muted { font-size: 13px; }
.ds .business-alerts details > summary { color: var(--ds-accent); font-size: 14px; font-weight: 600; cursor: pointer; }
.ds .notification-settings > div { display: grid; gap: 8px; padding-top: 8px; }
.ds .notification-feed > div { display: grid; gap: 6px; padding-top: 8px; font-size: 14px; }
.ds .development-page .business-alerts #bookingPush { display: none; }
.ds .channels-alerts-title { margin: 14px 0 8px; font-size: 20px; font-weight: 700; }

/* «Настройки заведений»: заведение — строка со стрелкой */
.ds .biz-settings-list { display: grid; margin-top: 10px; }
.ds .biz-settings-list > a.biz-settings-link, :root[data-theme="dark"] .ds .biz-settings-list > a.biz-settings-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0;
  padding: 14px 0; border-bottom: 1px solid var(--ds-line); border-radius: 0; background: none; box-shadow: none; color: var(--ds-ink); }
.ds .biz-settings-link strong { font-weight: 650; }
.ds .biz-settings-link p { color: var(--ds-muted); font-size: 14px; }
.ds .biz-settings-link > span { color: var(--ds-accent); font-size: 18px; }

/* Команда заведения */
.ds .staff-workspace > h2 { margin: 26px 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.ds .staff-permissions { display: grid; gap: 10px; margin: 18px 0 6px; }
.ds .staff-permissions p { font-size: 14px; color: var(--ds-muted); }
.ds .staff-permissions b { display: block; color: var(--ds-ink); }
.ds .staff-invite-copy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ds .staff-invite-copy input { flex: 1 1 220px; min-width: 0; }

/* Заявка на карточку из каталога: поиск */
.ds .searchbox__row { display: flex; gap: 8px; }
.ds .searchbox__row input { flex: 1; min-width: 0; }
@media (min-width: 761px) {
  .ds .report-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

/* Банкетные заявки и переписка по банкету (кабинеты заведения и гостя) */
.ds .banquet-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ds-line); color: var(--ds-ink); }
.ds .banquet-row__main { display: grid; gap: 2px; min-width: 0; }
.ds .banquet-row__main b { font-weight: 650; }
.ds .banquet-status { display: inline-flex; align-items: center; flex: none; height: 26px; padding: 0 10px; border-radius: var(--ds-r-pill); background: var(--ds-fill); color: var(--ds-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ds :is(.banquet-status--new, .banquet-status--offered) { background: var(--ds-accent-soft); color: var(--ds-accent); }
.ds :is(.banquet-status--accepted, .banquet-status--confirmed) { background: rgb(34 160 90 / .12); color: #1d8a4e; }
:root[data-theme="dark"] .ds :is(.banquet-status--accepted, .banquet-status--confirmed) { color: #5fd18f; }
.ds :is(.banquet-status--rejected, .banquet-status--cancelled) { background: var(--ds-fill); color: var(--ds-muted); }
.ds .banquet-thread { display: grid; gap: 4px; }
.ds .banquet-thread > p:first-child a { color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .banquet-summary { display: grid; gap: 6px; }
.ds .banquet-summary__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ds .banquet-summary__head h1 { margin: 0; font-size: 20px; line-height: 1.25; }
.ds .banquet-summary__when { color: var(--ds-ink); font-size: 15px; }
.ds .banquet-summary__wishes { padding: 10px 12px; border-radius: 12px; background: var(--ds-fill); color: var(--ds-ink); font-size: 14px; }
:root[data-theme="dark"] .ds .banquet-summary__wishes { background: var(--ds-fill-2); }
.ds .banquet-offer { display: grid; gap: 4px; padding: 12px; border-radius: 12px; background: var(--ds-accent-soft); font-size: 14px; }
.ds .banquet-offer p { color: var(--ds-ink); }
.ds .banquet-chat { display: grid; gap: 10px; }
.ds .banquet-msg { display: grid; gap: 2px; max-width: 86%; padding: 10px 12px; border-radius: 16px 16px 16px 4px; background: var(--ds-fill); }
:root[data-theme="dark"] .ds .banquet-msg { background: var(--ds-fill-2); }
.ds .banquet-msg.is-mine { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--ds-accent-soft); }
.ds .banquet-msg small { color: var(--ds-muted); font-size: 11px; }
.ds .banquet-msg p { color: var(--ds-ink); font-size: 14px; }
.ds .banquet-chat .decision-form .btn { min-height: 40px; }
.ds .banquet-actions { display: grid; gap: 12px; }
.ds .banquet-actions > .btn { justify-self: start; }
.ds .btn--success { background: var(--ds-accent); color: var(--ds-on-accent); }
/* Подарочные сертификаты */
.ds .gift-row { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--ds-line); }
.ds .gift-row__main { display: grid; gap: 2px; font-size: 14px; }
.ds .gift-row__main b { font-size: 15px; font-weight: 650; }
.ds .gift-row__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===================== Достопримечательности ===================== */
.ds .sights-screen { padding-top: 16px; }
.ds .sights-eyebrow { color: var(--ds-accent); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ds .sights-intro { display: grid; gap: 6px; margin-bottom: 16px; }
.ds .sights-intro h1, .ds .sight-detail h1 { font: 700 28px/1.15 var(--ds-font); letter-spacing: -.025em; }
.ds .sights-intro > p:last-child { color: var(--ds-muted); font-size: 15px; }
.ds .sights-intro .btn { justify-self: start; min-height: 40px; background: var(--ds-accent-soft); color: var(--ds-accent); font-size: 14px; }
.ds .sights-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ds .sights-filters label { display: grid; gap: 6px; min-width: 0; color: var(--ds-muted); font-size: 13px; }
.ds .sights-filters label:first-child, .ds .sights-filters .btn { grid-column: 1 / -1; }
.ds .sights-filters :is(input, select) { width: 100%; min-width: 0; color: var(--ds-ink); }
.ds .sights-screen > p.muted { margin: 6px 0 14px; font-size: 13px; }
.ds .sights-grid { display: grid; gap: 28px; }
.ds .sight-card { display: grid; gap: 10px; }
.ds .sight-card > a { display: block; aspect-ratio: 4 / 3; border-radius: var(--ds-r-photo); overflow: hidden; background: var(--ds-photo); }
.ds .sight-card img { width: 100%; height: 100%; object-fit: cover; }
.ds .sight-card__body { display: grid; gap: 4px; }
.ds .sight-card__body h2 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.ds .sight-card__body p:not(.sights-eyebrow) { color: var(--ds-muted); font-size: 14px; }
.ds .sight-card__body .sight-credit { color: var(--ds-faint); font-size: 12px; }
.ds .sight-more { color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .sights-pages { display: flex; justify-content: center; gap: 8px; margin: 26px 0; }
.ds .sights-grid > .empty { display: grid; justify-items: center; gap: 6px; }
.ds .sights-grid > .empty a { color: var(--ds-accent); font-weight: 600; }
/* Страница места */
.ds .sight-detail { display: grid; gap: 8px; }
.ds .sight-detail > a:first-child { color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .sight-detail > h1 + p { color: var(--ds-muted); }
.ds .sight-hero { display: grid; gap: 6px; margin: 8px 0 0; }
.ds .sight-hero img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ds-r-photo); background: var(--ds-photo); }
.ds .sight-hero figcaption a { color: var(--ds-faint); font-size: 12px; }
.ds .sight-detail__layout { display: grid; gap: 22px; margin-top: 10px; }
.ds .sight-detail__layout h2, .ds .sight-sources h2 { margin: 14px 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.ds .sight-detail__layout h2:first-child { margin-top: 0; }
.ds .sight-detail__layout p, .ds .sight-description { font-size: 15px; line-height: 1.6; }
.ds .sight-detail__layout section a:not(.btn) { color: var(--ds-accent); font-weight: 600; }
.ds .sight-detail__layout section .btn { margin-top: 8px; }
.ds .sight-trip { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 20px; background: var(--ds-raise); box-shadow: var(--ds-shadow-sm); }
:root[data-theme="dark"] .ds .sight-trip { background: var(--ds-fill); box-shadow: none; }
.ds .sight-trip h2 { margin: 0; }
.ds .sight-trip .btn { width: 100%; }
:root[data-theme="dark"] .ds .sight-trip .btn--ghost { background: var(--ds-fill-2); }
.ds .sight-trip p { color: var(--ds-muted); font-size: 14px; }
.ds .sight-sources { margin-top: 18px; padding-top: 6px; border-top: 1px solid var(--ds-line); }
.ds .sight-sources p { color: var(--ds-muted); font-size: 13px; line-height: 1.55; }
.ds .sight-sources a { color: var(--ds-accent); }
@media (min-width: 761px) {
  .ds .sights-filters { grid-template-columns: 2fr 1fr 1fr auto; align-items: end; }
  .ds .sights-filters label:first-child, .ds .sights-filters .btn { grid-column: auto; }
  .ds .sights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .ds .sight-hero img { aspect-ratio: 21 / 9; max-height: 480px; }
  .ds .sight-detail__layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 40px; }
}
@media (min-width: 1100px) { .ds .sights-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===================== Админка, часть 1: обзор, модерация, заявки, заведения, брони ===================== */
.ds:is(.business-page, .admin-page) .empty__icon { display: none; }
.ds .edhead { display: grid; gap: 4px; margin-bottom: 4px; }
.ds .edhead__note, .ds .edhead__mark, .ds .edhead__dot { display: none; }
.ds .edhead__title { font: 700 28px/1.15 var(--ds-font); letter-spacing: -.025em; }
.ds .edhead__lead { margin-top: 4px; color: var(--ds-muted); font-size: 15px; }
.ds .admin-overview { display: flex; flex-direction: column; min-width: 0; }
.ds .admin-overview > * { order: 5; }
.ds .admin-overview > .edhead { order: 0; }
.ds .admin-overview > .reference-stats { order: 1; }
.ds .admin-overview > p:has(> .btn) { order: 8; margin-top: 18px; }
.ds .admin-overview .stat > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.ds .admin-overview .stat { color: var(--ds-ink); }
.ds .admin-overview .stat:first-child .stat__value { color: var(--ds-accent); }
.ds .admin-overview .stat:last-child .stat__value { color: var(--ds-ink); }
.ds .admin-moderation { display: grid; gap: 22px; }
.ds .admin-moderation .panel__head h2 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.ds .reference-claims__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0; color: var(--ds-muted); font-size: 13px; }
.ds .reference-claims__actions > span { flex: 1 0 100%; }
.ds .claim-venue { display: inline-flex; align-items: center; gap: 8px; color: var(--ds-ink); }
.ds .claim-venue img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.ds .claim-venue span { display: grid; font-weight: 600; }
.ds .claim-venue small { color: var(--ds-muted); font-size: 12px; font-weight: 400; }
.ds table.data tr.is-selected { background: var(--ds-accent-soft); }
.ds .admin-moderation__detail { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 20px; background: var(--ds-raise); box-shadow: var(--ds-shadow-sm); }
:root[data-theme="dark"] .ds .admin-moderation__detail { background: var(--ds-fill); box-shadow: none; }
.ds .admin-moderation__detail h2 { font-size: 19px; font-weight: 700; }
.ds .admin-moderation__detail a:not(.btn) { color: var(--ds-accent); font-weight: 600; }
.ds .admin-moderation__detail .btn { justify-self: start; }
.ds .claim-cover { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; overflow: hidden; }
.ds .claim-cover img { width: 100%; height: 100%; object-fit: cover; }
.ds .claim-cover .illustration-label { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; border-radius: var(--ds-r-pill); background: rgb(18 16 16 / .6); color: #fff; font-size: 11px; }
.ds .claim-detail-heading { margin-top: 8px; font-size: 15px; font-weight: 700; }
.ds .admin-moderation__detail dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; margin: 0; font-size: 14px; }
.ds .admin-moderation__detail dt { color: var(--ds-muted); }
.ds .admin-moderation__detail dd { margin: 0; overflow-wrap: anywhere; }
.ds .taste-kicker { color: var(--ds-accent); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ds .admin-extra { margin-top: 18px; }
.ds .admin-extra > summary { padding: 10px 0; color: var(--ds-accent); font-weight: 600; cursor: pointer; }
.ds .admin-extra[open] { display: grid; gap: 12px; }
.ds .admin-extra p { font-size: 14px; }
.ds .admin-extra .grid--3 { display: grid; gap: 12px; }
.ds .admin-extra .blist { gap: 8px; font-size: 14px; }
.ds .admin-extra .panel a { color: var(--ds-accent); }
.ds .btn--outline { background: var(--ds-fill); }
@media (min-width: 1100px) {
  .ds .admin-moderation { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
  .ds .admin-extra .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===================== Админка, часть 2: качество каталога, контакты, служебные страницы ===================== */
.ds .development-page > a:first-child { color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .development-page > h1 { font: 700 28px/1.15 var(--ds-font); letter-spacing: -.025em; }
.ds .catalog-quality-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; margin: 8px 0; }
.ds .venue__facts { display: grid; margin: 6px 0 0; }
.ds .venue__facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ds-line); font-size: 14px; }
.ds .venue__facts > div:last-child { border-bottom: 0; }
.ds .venue__facts dt { color: var(--ds-muted); }
.ds .venue__facts dd { margin: 0; font-weight: 500; text-align: right; }
.ds .development-page .panel h2 a { color: var(--ds-ink); }
.ds .pager { display: flex; justify-content: center; gap: 8px; margin: 20px 0; }
.ds .pager a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--ds-r-pill); background: var(--ds-fill); font-size: 14px; font-weight: 600; }
.ds .contact-settings { max-width: 760px; padding-top: 14px; }
.ds .contact-settings__back { color: var(--ds-accent); font-size: 14px; font-weight: 600; }
.ds .contact-settings__head { display: grid; gap: 6px; margin: 8px 0 18px; }
.ds .contact-settings__head h1 { font: 700 28px/1.15 var(--ds-font); letter-spacing: -.025em; }
.ds .contact-settings__head p, .ds .contact-settings__hint { color: var(--ds-muted); font-size: 14px; }
.ds .contact-settings__section { display: grid; gap: 12px; margin-bottom: 22px; }
.ds .contact-settings__section h2 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.ds .contact-settings__grid { display: grid; gap: 12px; }
.ds .contact-settings__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 761px) { .ds .contact-settings__grid { grid-template-columns: 1fr 1fr; } }

/* Подарочный сертификат: заказ, карточка, печать, блок на странице заведения (перенесено из старых стилей) */
.ds .gift-steps{margin:0 0 18px;padding-left:20px;display:grid;gap:6px;color:var(--text-muted);font-size:14px;}
.ds .gift-amounts{border:0;padding:0;margin:0 0 16px;display:flex;flex-wrap:wrap;gap:8px;}
.ds .gift-amounts legend{font-size:14px;margin-bottom:8px;}
.ds .gift-amounts label{margin:0;cursor:pointer;}
.ds .gift-amounts input{position:absolute;opacity:0;width:1px;height:1px;}
.ds .gift-amounts span{display:inline-block;min-width:84px;text-align:center;padding:12px 16px;border:1px solid var(--border);border-radius:14px;font-weight:700;background:var(--surface);}
.ds .gift-amounts input:checked+span{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-ink);}
.ds .gift-amounts input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px;}
.ds .gift-promo{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;}
.ds .gift-promo h2{margin:0 0 4px;}
.ds .gift-promo p{margin:0;}
.ds .gift-card-page{max-width:520px;padding-top:28px;padding-bottom:40px;}
.ds .gift-card{position:relative;overflow:hidden;display:grid;gap:6px;padding:28px 24px;border-radius:26px;color:#fbf6ee;
  background:radial-gradient(120% 90% at 100% 0%,rgba(240,122,62,.55),transparent 55%),linear-gradient(150deg,#2a211b,#14110e 70%);
  box-shadow:0 24px 60px rgba(20,14,8,.35);}
.ds .gift-card::after{content:"";position:absolute;inset:10px;border:1px solid rgba(251,246,238,.18);border-radius:18px;pointer-events:none;}
.ds .gift-card.is-spent{filter:grayscale(.8);opacity:.8;}
.ds .gift-card__brand{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#f3b48f;font-weight:700;}
.ds .gift-card__to{margin:10px 0 0;font-size:15px;color:rgba(251,246,238,.8);}
.ds .gift-card__amount{margin:0;font-size:56px;line-height:1;font-weight:800;letter-spacing:-1px;}
.ds .gift-card__amount small{font-size:20px;font-weight:600;}
.ds .gift-card__place{margin:8px 0 0;font-size:24px;line-height:1.2;color:#fbf6ee;}
.ds .gift-card__city{margin:0;color:rgba(251,246,238,.7);}
.ds .gift-card__message{margin:10px 0 0;font-style:italic;font-size:16px;overflow-wrap:anywhere;}
.ds .gift-card__code{display:flex;gap:10px;align-items:baseline;margin-top:14px;}
.ds .gift-card__code span{font-size:12px;color:rgba(251,246,238,.6);text-transform:uppercase;letter-spacing:.1em;}
.ds .gift-card__code b{font-size:24px;letter-spacing:.18em;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;}
.ds .gift-card__terms{margin:6px 0 0;font-size:13px;color:rgba(251,246,238,.75);}
.ds .gift-card-page__actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 8px;}
.ds .gift-card-page__note{margin:0;}
@media(max-width:380px){.ds .gift-card__amount{font-size:46px}.ds .gift-card{padding:24px 18px}}
@media print{
  body.ds *{visibility:hidden;}
  body.ds .gift-card,body.ds .gift-card *{visibility:visible;}
  body.ds .gift-card{position:absolute;left:0;top:0;width:100%;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
}
/* Общие правила заголовков h1 с высокой специфичностью красили название тёмным на тёмной карточке. */
:root[data-theme] body.ds .gift-card h1.gift-card__place{color:#fbf6ee!important;-webkit-text-fill-color:#fbf6ee;}

/* Новогодняя страница: своё оформление в new-year.css; фото-подложку держим едва заметной, иначе заголовок ложится на лица */
body.ds:has(.new-year-page)::before { opacity: .12; }
:root[data-theme="dark"] body.ds:has(.new-year-page)::before { opacity: .18; }

/* Знак белорусского рубля: официальный SVG Нацбанка как маска, красится в цвет текста (раньше жил в site-header.css) */
.byn-sign { display: inline-block; width: .66em; height: .82em; vertical-align: -.02em; background: currentColor;
  -webkit-mask: url("/static/img/byn-sign.svg") center / contain no-repeat; mask: url("/static/img/byn-sign.svg") center / contain no-repeat; }
.ds .vp-level .byn-sign { display: block; width: .62em; height: .8em; vertical-align: 0; }

/* Страница ошибки: крупный код вместо эмодзи */
.ds .error-code { margin-bottom: 6px; color: var(--ds-faint); font: 800 72px/1 var(--ds-font); letter-spacing: -.04em; }

/* ===================== Фото профиля (2026-10-15) ===================== */
.ds .hx-avatar { overflow: hidden; }
.ds .hx-avatar__img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ds .u-avatar { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; margin-right: 8px; border-radius: 50%; overflow: hidden;
  background: var(--ds-accent-soft); color: var(--ds-accent); font-size: 12px; font-weight: 700; vertical-align: middle; }
.ds .u-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ds .stolik-review__meta .u-avatar { margin-right: 0; }
.ds .bcard__guest { align-items: center; }
.ds .staff-booking-head h2 { display: flex; align-items: center; }
.ds .bcard__title .u-avatar { width: 26px; height: 26px; }
.ds .stolik-review__logo { width: 24px; height: 24px; margin-right: 6px; border-radius: 50%; object-fit: cover; vertical-align: middle; }
/* Блок в профиле */
.ds .avatar-editor { display: flex; align-items: center; gap: 16px; margin: 4px 0 18px; scroll-margin-top: 150px; }
.ds .avatar-editor__current { display: grid; place-items: center; flex: none; width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  background: var(--ds-accent-soft); color: var(--ds-accent); font: 700 34px/1 var(--ds-font); }
.ds .avatar-editor__current img { width: 100%; height: 100%; object-fit: cover; }
.ds .avatar-choice fieldset { margin: 0; padding: 0; border: 0; }
.ds .avatar-choice legend { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.ds .avatar-choice__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 360px; }
.ds .avatar-choice__item { position: relative; display: block; cursor: pointer; }
.ds .avatar-choice__item input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ds .avatar-choice__item img { display: block; width: 100%; height: auto; aspect-ratio: 1; border: 3px solid transparent; border-radius: 50%; transition: border-color .15s, transform .15s; }
.ds .avatar-choice__item:hover img { transform: scale(1.03); }
.ds .avatar-choice__item input:checked + img { border-color: var(--ds-accent); }
.ds .avatar-choice__item input:focus-visible + img { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
.ds .avatar-choice__actions, .ds .avatar-choice__remove { margin-top: 12px; }
.ds .avatar-editor__body { display: grid; gap: 4px; min-width: 0; }
.ds .avatar-editor__body h2 { font-size: 17px; font-weight: 700; }
.ds .avatar-editor__body p { color: var(--ds-muted); font-size: 13px; }
.ds .avatar-editor__status { color: var(--ds-accent) !important; font-weight: 500; }
.ds .avatar-editor__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ds .avatar-editor__actions form { display: flex; gap: 8px; }
.ds .avatar-editor__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ds .avatar-editor__input:focus-visible + label { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
/* Со скриптом обрезки фото отправляется из окна обрезки — кнопка «Загрузить» не нужна */
html.avatar-crop-ready .ds .avatar-editor__submit { display: none; }
/* Окно обрезки */
.ds .avatar-crop { width: min(380px, calc(100vw - 24px)); padding: 20px; }
.ds .avatar-crop::backdrop { background: rgb(0 0 0 / .55); }
.ds .avatar-crop h2 { margin-bottom: 12px; font-size: 18px; font-weight: 700; }
.ds .avatar-crop__stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: #111; touch-action: none; cursor: grab; }
.ds .avatar-crop__stage img { position: absolute; top: 0; left: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
/* Всё вне круга затемнено градиентом: огромная box-shadow не везде рисуется */
.ds .avatar-crop__ring { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle closest-side, transparent calc(100% - 2px), rgb(255 255 255 / .9) calc(100% - 2px), rgb(255 255 255 / .9) 100%, rgb(0 0 0 / .55) 100%); }
.ds .avatar-crop__zoom { display: grid; gap: 6px; margin: 14px 0 6px; color: var(--ds-muted); font-size: 13px; }
.ds .avatar-crop__zoom input { width: 100%; accent-color: var(--ds-accent); }
.ds .avatar-crop__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
/* Очередь в модерации */
.ds .avatar-queue { display: grid; margin-bottom: 22px; }
.ds .avatar-queue__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--ds-line); }
.ds .avatar-queue__item > img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--ds-fill); }
.ds .avatar-queue__body { display: grid; gap: 4px; min-width: 0; flex: 1; }
.ds .avatar-queue__form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ds .avatar-queue__form input { flex: 1 1 100%; min-height: 40px; }
/* Переписка по брони (2026-10-15) */
.ds .booking-chat h2 { margin: 0 0 4px; font-size: 20px; }
.ds .booking-chat__list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.ds .booking-chat__msg { max-width: 88%; padding: 10px 14px; border-radius: var(--ds-r); background: var(--ds-fill); overflow-wrap: anywhere; }
.ds .booking-chat__msg.is-mine { justify-self: end; background: var(--ds-accent-soft); }
.ds .booking-chat__msg.is-held { outline: 1px dashed var(--ds-faint); }
.ds .booking-chat__msg p { margin: 2px 0 0; white-space: pre-line; }
.ds .booking-chat__meta { display: block; color: var(--ds-muted); font-size: 13px; }
.ds .booking-chat__tr { color: var(--ds-muted); font-size: 14px; }
.ds .booking-chat__mod { display: flex; gap: 8px; margin-top: 8px; }
.ds .booking-chat__empty { margin: 14px 0; color: var(--ds-muted); }
.ds .booking-chat__form { display: grid; gap: 10px; }
.ds .booking-chat__form textarea { min-height: 72px; padding: 12px 14px; resize: vertical; }
.ds .booking-chat__report { margin-top: 14px; }
.ds .booking-chat__report summary { color: var(--ds-muted); font-size: 14px; cursor: pointer; }
.ds .booking-chat__report form { display: grid; gap: 8px; margin-top: 8px; }
.ds .admin-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 16px 0; padding: 12px 14px; border-radius: var(--ds-r); background: rgb(214 140 20 / .13); color: #8a5208; }
.ds .admin-preview p { margin: 0; flex: 1 1 220px; font-size: 14px; }
:root[data-theme="dark"] .ds .admin-preview { color: #f2b45a; }
.ds .venue-claim { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 24px 16px 0; padding: 14px 16px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .venue-claim p { margin: 0; flex: 1 1 240px; font-size: 14px; }
.ds .claim-search { margin-bottom: 20px; }
.ds .claim-search h2 { margin: 0 0 6px; font-size: 18px; }
.ds .claim-search p { margin: 0 0 12px; font-size: 14px; }
.ds .claim-search__new { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--ds-accent); font-weight: 600; }
.ds .direct-booking { margin-bottom: 16px; }
.ds .direct-booking:not(:target) { display: none; }
.ds .direct-booking__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ds .direct-booking__head h2 { margin: 0; font-size: 1.1rem; }
.ds .bookings-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ds .bookings-place { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.ds .bookings-place label { font-size: 14px; font-weight: 600; }
.ds .sub-status__label { margin: 0 0 4px; color: var(--ds-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ds .sub-status--grace, .ds .sub-status--blocked, .ds .sub-status--suspended { box-shadow: inset 4px 0 0 #c43a2b, var(--ds-shadow-sm); }
.ds .sub-status--trial, .ds .sub-status--active { box-shadow: inset 4px 0 0 #2f8a4b, var(--ds-shadow-sm); }
.ds .sub-amount b { font-size: 26px; letter-spacing: -.02em; }
.ds .invoice-details { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 4px 12px; margin: 10px 0; font-size: 14px; }
.ds .invoice-details dt { color: var(--ds-muted); }
.ds .invoice-details dd { margin: 0; overflow-wrap: anywhere; }
.ds .sub-row__history form { display: grid; gap: 10px; justify-items: start; margin-top: 10px; }
.ds .sub-row__history form label { display: grid; gap: 6px; width: 100%; font-size: 14px; font-weight: 600; }
.ds .calendar__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.ds .calendar__today { margin: 0 0 12px; text-align: center; }
.ds .calendar__week { display: grid; gap: 10px; }
@media (min-width: 1100px) { .ds .calendar__week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; } .ds .calendar__day { padding: 12px; } }
.ds .calendar__day h2 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.ds .panel + .panel.calendar__day { margin-top: 0; }
.ds .calendar__day--today { box-shadow: inset 0 0 0 2px var(--ds-accent), var(--ds-shadow-sm); }
.ds .calendar__day--past { opacity: .6; }
.ds .calendar__item { display: grid; gap: 2px; margin-top: 6px; padding: 8px 10px; border-radius: var(--ds-r); background: var(--ds-fill); color: var(--ds-ink); text-decoration: none; }
.ds .panel a.calendar__item:not(.btn):not(.vp-btn):not(.catalog-launcher) { color: var(--ds-ink); font-weight: 400; }
.ds .calendar__item b { font-size: 15px; }
.ds .calendar__item span { font-size: 13px; }
.ds .calendar__item em { color: var(--ds-accent); font-size: 12px; font-style: normal; font-weight: 600; }
.ds .calendar__item--new { box-shadow: inset 3px 0 0 var(--ds-accent); }
.ds .sub-prices { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.ds .sub-prices li { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .bookings-place select { flex: 1 1 200px; min-width: 0; }
.ds .direct-booking-hint { margin-bottom: 16px; }
.ds .direct-booking-hint p { margin: 0 0 10px; }
.ds .profile-panel { margin-top: 16px; }
/* Карточки кабинета заведения: сотрудники, каналы, данные организации. */
.ds .biz-card { margin: 0 0 16px; }
.ds .panel + .panel.biz-card { margin-top: 0; }
.ds .biz-card--narrow { max-width: 620px; }
.ds .biz-card > h2, .ds .biz-card > summary { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.ds .biz-card > * + :is(p, form, dl, .btn, .biz-row) { margin-top: 10px; }
.ds .biz-card--fold > summary { margin: 0; cursor: pointer; color: var(--ds-accent); font-size: 16px; font-weight: 600; }
.ds .biz-card--fold[open] > summary { margin-bottom: 8px; }
.ds .biz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; }
.ds .biz-grid label, .ds .biz-inline label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.ds .biz-grid__wide { grid-column: 1 / -1; }
.ds .biz-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 0; border-top: 1px solid var(--ds-line); }
.ds .biz-card > h2 + .biz-row, .ds .biz-card > summary + .biz-row { border-top: 0; padding-top: 0; }
.ds .biz-row p { margin: 2px 0 0; }
.ds .biz-inline { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.ds .staff-roles { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .staff-roles dt { font-weight: 700; font-size: 14px; }
.ds .staff-roles dd { margin: 2px 0 0; color: var(--ds-muted); font-size: 14px; }
.ds .biz-card .avatar-editor { margin: 0; }
.ds .biz-card .business-alerts { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.ds .profile-panel > h2 { margin: 0 0 14px; font-size: 18px; }
.ds .profile-panel .form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ds .profile-panel__link { color: var(--ds-accent); font-weight: 600; }
.ds .direct-booking > p { margin: 10px 0; }
.ds .channel-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0 14px; }
.ds .channel-split > div { padding: 10px 12px; border-radius: var(--ds-r); background: var(--ds-fill); display: grid; gap: 2px; }
.ds .channel-split b { font-size: 20px; }
.ds .channel-split span { font-size: 12px; color: var(--ds-muted); }
.ds .tariff { margin: 0 0 36px; padding: 22px 18px; border-radius: var(--ds-r); background: var(--ds-raise); }
.ds .tariff h2 { margin: 4px 0 6px; }
.ds .tariff h3 { margin: 18px 0 8px; font-size: 17px; }
.ds .tariff__steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ds .tariff__steps li { display: grid; gap: 4px; padding: 12px 10px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .tariff__steps li:first-child { background: var(--ds-accent-soft); }
.ds .tariff__steps b { font-size: 20px; }
.ds .tariff__steps li:first-child b { color: var(--ds-accent); }
.ds .tariff__steps span { font-size: 13px; color: var(--ds-muted); line-height: 1.3; }
.ds .tariff__list { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.ds .tariff__note { margin: 0 0 16px; font-size: 13px; color: var(--ds-muted); }
.ds .sub-banner { display: grid; gap: 4px; margin: 12px 0 16px; padding: 12px 14px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .sub-banner span { font-size: 14px; color: var(--ds-muted); }
.ds .sub-banner a { justify-self: start; font-weight: 600; color: var(--ds-accent); }
.ds .sub-banner--grace { background: rgb(214 140 20 / .13); }
.ds .sub-banner--blocked { background: rgb(217 59 43 / .1); }
.ds .sub-banner--blocked b { color: #c43a2b; }
:root[data-theme="dark"] .ds .sub-banner--blocked b { color: #ff8a7a; }
.ds .sub-row { display: grid; gap: 8px; margin-bottom: 12px; }
.ds .sub-row__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ds .sub-row__head > div { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.ds .sub-row p { margin: 0; }
.ds .sub-row__history ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.ds .legal__lang { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--ds-r); background: var(--ds-fill); font-size: 14px; color: var(--ds-muted); }
.ds .legal__doc { overflow-wrap: anywhere; line-height: 1.55; }
.ds .legal__doc h1 { margin-bottom: 4px; }
.ds .legal__doc h2 { margin: 26px 0 10px; padding-top: 18px; border-top: 1px solid var(--ds-line); font-size: 17px; line-height: 1.35; }
.ds .legal__doc h3 { margin: 22px 0 8px; font-size: 16px; line-height: 1.35; }
.ds .legal__doc p { margin: 0 0 10px; }
.ds .legal__doc ul { margin: 0 0 10px; padding: 0; list-style: none; }
.ds .legal__date { color: var(--ds-muted); }
.ds .legal__annex-ref { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid var(--ds-line); text-align: right; font-size: 14px; color: var(--ds-muted); }
.ds .legal__row { padding-left: 12px; border-left: 2px solid var(--ds-line); }
.ds .legal__cookie { display: grid; gap: 4px; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--ds-r); background: var(--ds-fill); }
.ds .legal__cookie dt { display: inline; font-weight: 600; }
.ds .legal__cookie dd { display: inline; margin: 0 0 0 4px; }

/* Вход через Telegram */
.ds .tg-login { margin: 0 0 4px; }
.ds .tg-login__btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; background: #229ED9; border-color: #229ED9; color: #fff; }
.ds .tg-login__btn:hover { background: #1c8bc0; border-color: #1c8bc0; color: #fff; }
.ds .tg-login__btn svg { flex: none; width: 22px; height: 22px; fill: currentColor; }
.ds .tg-login__hint { margin: 8px 0 0; }
.ds .tg-login__or { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.ds .tg-login__or::before, .ds .tg-login__or::after { content: ""; flex: 1; height: 1px; background: var(--ds-line, rgb(0 0 0 / .12)); }
.ds .tg-steps { margin: 0 0 20px; padding-left: 20px; line-height: 1.6; }

/* Импорт пачки каталога в админке (admin/catalog_import.html). Сначала телефон:
   правки «было → станет» идут столбиком, длинные часы и адреса переносятся. */
.ds .catalog-import__place { padding: 14px 0; border-top: 1px solid var(--ds-line); }
.ds .catalog-import__place:first-of-type { border-top: 0; }
.ds .catalog-import__place h3 { margin: 0 0 6px; font-size: 16px; overflow-wrap: anywhere; }
.ds .catalog-import__changes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 12px; margin: 6px 0; }
.ds .catalog-import__changes dt { color: var(--ds-muted); font-size: 13px; }
.ds .catalog-import__changes dd { margin: 0 0 6px; overflow-wrap: anywhere; }
.ds .catalog-import__changes s { color: var(--ds-muted); }
.ds .catalog-import__report ul { margin: 0; padding-left: 18px; }
.ds .catalog-import__report .flash { overflow-wrap: anywhere; }
.ds .catalog-import__apply { margin-top: 14px; }
/* Выбор файла на всём сайте: пунктирное поле и своя кнопка вместо серой системной
   (скрытые поля с кнопкой-подписью biz-upload__input — свой вид). */
.ds input[type=file]:not(.biz-upload__input) {
  display: block; width: 100%; max-width: 100%; min-height: 56px; box-sizing: border-box;
  padding: 10px 12px; border: 1.5px dashed var(--ds-faint); border-radius: 14px;
  background: transparent; color: var(--ds-muted); font: inherit; font-size: 14px; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis;
}
.ds input[type=file]:not(.biz-upload__input):hover { border-color: var(--ds-accent); }
.ds input[type=file]:not(.biz-upload__input):focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 2px; }
.ds input[type=file]:not(.biz-upload__input)::file-selector-button {
  margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 999px;
  background: var(--ds-accent-soft); color: var(--ds-accent); font: inherit; font-weight: 600; cursor: pointer;
}
.ds input[type=file]:not(.biz-upload__input):hover::file-selector-button { background: var(--ds-accent); color: var(--ds-on-accent); }
.ds .catalog-import__history { margin: 0; padding-left: 18px; }
.ds .catalog-import__history li { margin: 4px 0; overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .ds .catalog-import__changes { grid-template-columns: 140px minmax(0, 1fr); }
  .ds .catalog-import__changes dd { margin: 0; }
}

/* Глазик в поле пароля (password-toggle.js). */
.ds .pw-field { position: relative; display: block; width: 100%; }
.ds .pw-field > input { width: 100%; padding-right: 48px; }
.ds .pw-toggle { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 38px; height: 38px;
  padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ds-muted); cursor: pointer; transform: translateY(-50%); }
.ds .pw-toggle:hover { color: var(--ds-ink); }
.ds .pw-toggle:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 1px; }
.ds .pw-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
