/*
 * Кабинет владельца для шаблона «Салон» (демо). Всё под .adm; тёплая светлая бумага и латунь.
 * Самодостаточный файл: ничего не берёт из остального сайта (ADR 0009).
 */
.adm[data-tpl="salon"] {
  --bg: #f5f0e8;
  --surface: #ffffff;
  --ink: #241b12;
  --dim: #675a4a;
  --line: rgba(36, 27, 18, 0.16);
  --acc: #8a5a14;
  --acc-soft: rgba(138, 90, 20, 0.1);
  --acc2: #c9964a;
  --on-acc: #ffffff;
  --hot: #b3362e;
  --hot-soft: rgba(179, 54, 46, 0.1);
  --ok: #1f6b3d;
  --ok-soft: rgba(31, 107, 61, 0.12);
  --r: 12px;
  --shadow: 0 1px 2px rgba(36, 27, 18, 0.06), 0 6px 18px -10px rgba(36, 27, 18, 0.22);
  --edge: max(16px, calc((100vw - 1080px) / 2));
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 0;
  overflow-x: clip;
}
.adm[data-tpl="salon"] *,
.adm[data-tpl="salon"] *::before,
.adm[data-tpl="salon"] *::after {
  box-sizing: border-box;
}
.adm[data-tpl="salon"] :is(p, h2, ul, pre) {
  margin: 0;
}
.adm[data-tpl="salon"] a {
  color: inherit;
  text-decoration: none;
}
.adm[data-tpl="salon"] :is(button, input) {
  font: inherit;
  color: inherit;
}
.adm[data-tpl="salon"] button {
  cursor: pointer;
}
.adm[data-tpl="salon"] :focus-visible {
  outline: 3px solid var(--acc2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ——— шапка (липкая) ——— */
.adm-head {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px var(--edge);
  background: rgba(241, 248, 246, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.adm-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}
.adm-badge {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acc);
  background: var(--acc-soft);
  padding: 3px 9px;
  border-radius: 99px;
}
.adm-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adm-lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
}
.adm-lang a {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 32px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dim);
  border-radius: 99px;
}
.adm-lang a:hover {
  color: var(--ink);
}
.adm-lang a[aria-current="true"] {
  background: var(--acc);
  color: var(--on-acc);
}
.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  background: var(--acc);
  color: var(--on-acc);
  border: 1px solid var(--acc);
  border-radius: 99px;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.adm-btn:hover {
  background: #0b4a52;
}
.adm-btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.adm-btn.ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

/* ——— вкладки ——— */
.adm-tabs {
  display: flex;
  gap: 4px;
  padding: 10px var(--edge) 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
}
.adm-tabs::-webkit-scrollbar {
  display: none;
}
.adm-tabs button {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dim);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.adm-tabs button:hover {
  color: var(--ink);
}
.adm-tabs button[aria-current="page"] {
  color: var(--acc);
  border-bottom-color: var(--acc);
}
.adm-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 3px var(--hot-soft);
}

/* ——— основной блок ——— */
.adm-main {
  max-width: calc(1080px + 2 * 16px);
  margin-inline: auto;
  padding: 24px 16px 32px;
}
@media (min-width: 1112px) {
  .adm-main {
    padding-inline: 0;
    max-width: 1080px;
  }
}
.adm-main > section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.adm-h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 10px !important;
}
.adm-period {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}
.adm-hint {
  font-size: 14px;
  color: var(--dim);
  max-width: 62ch;
}
.adm-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--dim);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--r);
}

/* ——— карточки цифр ——— */
.adm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.adm-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.adm-stat b {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.adm-stat span {
  font-size: 14px;
  color: var(--dim);
}
.adm-stat em {
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--hot);
}
.adm-stat em[data-up] {
  color: var(--ok);
}
.adm-insight {
  padding: 14px 18px;
  font-size: 15px;
  background: var(--acc-soft);
  border-left: 4px solid var(--acc);
  border-radius: 4px var(--r) var(--r) 4px;
}

/* ——— столбики по дням ——— */
.adm-bars {
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: 180px;
  padding: 22px 16px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.adm-bar {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 6px;
}
.adm-bar b {
  align-self: end;
  position: relative;
  width: min(100%, 44px);
  background: var(--acc);
  border-radius: 6px 6px 2px 2px;
  min-height: 4px;
}
.adm-bar b::after {
  content: attr(data-n);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--dim);
}
.adm-bar span {
  font-size: 12px;
  color: var(--dim);
}

/* ——— заявки ——— */
.adm-leads {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.adm-lead {
  --pill: var(--acc);
  --pill-bg: var(--acc-soft);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pill);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.adm-lead[data-status="confirmed"] {
  --pill: var(--ok);
  --pill-bg: var(--ok-soft);
}
.adm-lead[data-status="done"] {
  --pill: #6b7473;
  --pill-bg: rgba(107, 116, 115, 0.14);
}
.adm-lead[data-status="cancelled"] {
  --pill: var(--hot);
  --pill-bg: var(--hot-soft);
}
.adm-lead[data-status="cancelled"] .adm-lead-main b {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.adm-lead-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.adm-lead-main b {
  font-size: 16px;
  font-weight: 700;
}
.adm-lead-main span {
  font-size: 14px;
  color: var(--dim);
}
.adm-lead-main a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--acc);
  font-variant-numeric: tabular-nums;
}
.adm-lead-main a:hover {
  text-decoration: underline;
}
.adm-lead-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 14px;
}
.adm-status {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  color: var(--pill);
  background: var(--pill-bg);
  border-radius: 99px;
  white-space: nowrap;
}

/* текстовые кнопки-действия */
.adm-link {
  min-height: 36px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--acc);
  background: none;
  border: 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.adm-link:hover {
  text-decoration-color: currentColor;
}

/* ——— сводка в Telegram ——— */
.adm-digest {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.adm-digest .adm-h2 {
  margin-top: 0 !important;
}
.adm-digest > p {
  font-size: 14px;
  color: var(--dim);
}
.adm-digest pre {
  align-self: flex-start;
  max-width: 100%;
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #e3f0ea;
  border-radius: 14px 14px 14px 4px;
}

/* ——— меню и цены ——— */
.adm-cat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.adm-items {
  list-style: none;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.adm-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 4px 16px;
  padding: 8px 18px;
  min-height: 56px;
}
.adm-item + .adm-item {
  border-top: 1px solid var(--line);
}
.adm-item-name {
  font-weight: 600;
}
.adm-item-name small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--dim);
}
.adm-item[data-hidden] {
  background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(29, 42, 43, 0.035) 8px 16px);
}
.adm-item[data-hidden] .adm-item-name,
.adm-item[data-hidden] .adm-price {
  opacity: 0.5;
}
.adm-item[data-out] .adm-item-name {
  color: var(--dim);
}
.adm-price,
.adm-price-input {
  min-width: 96px;
  min-height: 40px;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.adm-price {
  padding: 0 4px;
  background: none;
  border: 0;
  text-decoration: underline dotted var(--dim);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.adm-price:hover {
  color: var(--acc);
  text-decoration-color: var(--acc);
}
.adm-price small {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ok);
  text-decoration: none;
  display: inline-block;
}
.adm-price-input {
  width: 120px;
  padding: 0 10px;
  background: #fff;
  border: 2px solid var(--acc);
  border-radius: 10px;
}

/* переключатель «в наличии» */
.adm-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ok);
  background: none;
  border: 0;
  white-space: nowrap;
}
.adm-toggle i {
  position: relative;
  flex: none;
  width: 40px;
  height: 24px;
  background: #aab2b0;
  border-radius: 99px;
  transition: background 0.2s;
}
.adm-toggle i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.adm-toggle[aria-checked="true"] i {
  background: var(--ok);
}
.adm-toggle[aria-checked="true"] i::after {
  transform: translateX(16px);
}
.adm-toggle[aria-checked="false"] {
  color: var(--hot);
}

/* ——— часы и акция ——— */
.adm-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.adm-row label,
.adm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.adm-row label {
  flex: 0 1 180px;
}
.adm-field {
  max-width: 560px;
}
.adm-row input,
.adm-field input {
  min-height: 46px;
  padding: 0 14px;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.adm-row input:hover,
.adm-field input:hover {
  border-color: var(--dim);
}
.adm-row input:focus,
.adm-field input:focus {
  border-color: var(--acc);
}
.adm-check {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.adm-check input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--acc);
}

/* ——— подвал ——— */
.adm-foot {
  max-width: 1080px;
  margin-inline: auto;
  padding: 20px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--dim);
}
@media (min-width: 1112px) {
  .adm-foot {
    padding-inline: 0;
  }
}
.adm-foot > p {
  flex: 1 1 320px;
  max-width: 62ch;
}
.adm-foot .adm-link {
  padding: 0;
}
.adm-foot > div {
  display: flex;
  gap: 14px;
}

/* ——— планшет и телефон ——— */
@media (max-width: 760px) {
  .adm-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .adm-stat b {
    font-size: 30px;
  }
  .adm-main {
    padding-top: 18px;
  }
  .adm-bars {
    gap: 6px;
    padding-inline: 10px;
  }
  /* строка меню: название сверху, управление — под ним */
  .adm-item {
    grid-template-columns: auto 1fr auto;
    padding: 10px 14px;
    gap: 2px 12px;
  }
  .adm-item-name {
    grid-column: 1 / -1;
  }
  .adm-price,
  .adm-price-input {
    min-width: 0;
    text-align: left;
  }
  .adm-price-input {
    width: 112px;
  }
  .adm-toggle {
    justify-self: end;
  }
  .adm-item .adm-link {
    grid-column: 3;
    justify-self: end;
  }
}
@media (max-width: 560px) {
  .adm-lead {
    flex-direction: column;
    padding: 14px;
  }
  .adm-lead-side {
    justify-content: flex-start;
    width: 100%;
  }
  /* строка меню: название и «скрыть» сверху, цена и переключатель снизу */
  .adm-item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-auto-flow: row;
  }
  .adm-item-name {
    grid-column: 1;
    grid-row: 1;
  }
  .adm-item .adm-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 32px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dim);
  }
  .adm-item > :is(.adm-price, .adm-price-input) {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }
  .adm-toggle {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}
@media (max-width: 420px) {
  .adm-stats {
    grid-template-columns: 1fr;
  }
  .adm-stat {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 12px;
  }
  .adm-stat em {
    flex-basis: 100%;
    margin-top: 0;
  }
  .adm-head .adm-btn {
    flex: 1 1 100%;
  }
  .adm-bar b::after {
    font-size: 11px;
  }
}

/* вкладки на телефоне: сетка 2×2, без бокового скролла */
@media (max-width: 480px) {
  .adm-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4px;
    padding-inline: 8px;
    overflow: visible;
  }
  .adm-tabs button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .adm-tabs button {
    justify-content: center;
    padding-inline: 8px;
    min-height: 46px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }
}

/* ——— без анимации, если пользователь просил ——— */
@media (prefers-reduced-motion: reduce) {
  .adm *,
  .adm *::before,
  .adm *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ——— клиника: то, чего нет в кабинете ресторана ——— */
.adm-head-r { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 1 auto !important; }
.adm-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color 0.15s; }
.adm-open:hover { border-color: var(--acc); }
.adm-skel { min-height: 640px; border-radius: var(--r); background: linear-gradient(90deg, rgba(36, 27, 18, 0.05), rgba(36, 27, 18, 0.09), rgba(36, 27, 18, 0.05)); }
.adm-sample { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); border: 1px dashed var(--line); border-radius: 99px; padding: 3px 9px; }
.adm-digest-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.adm-day { display: grid; gap: 8px; }
.adm-day h3 { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; text-transform: capitalize; }
.adm-day h3 small { font-size: 13px; font-weight: 500; color: var(--dim); text-transform: none; }
.adm-time { display: grid; align-content: start; justify-items: center; min-width: 54px; padding-top: 1px; }
.adm-time b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.adm-time small { font-size: 12px; color: var(--dim); min-height: 1.2em; text-transform: uppercase; }
.adm-lead { align-items: flex-start; }
.adm-lead[data-status="arrived"] { --pill: #1f6b3d; --pill-bg: rgba(31, 107, 61, 0.14); }
.adm-lead[data-status="noshow"] { --pill: #8a5a00; --pill-bg: rgba(138, 90, 0, 0.14); }
.adm-lead[data-status="arrived"], .adm-lead[data-status="noshow"] { opacity: 0.92; }
.adm-lead-main { flex: 1 1 auto; }
.adm-lead-main b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm-lead-main i { font-style: normal; font-size: 13px; }
.adm-site { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--acc); background: var(--acc-soft); border-radius: 99px; padding: 2px 8px; }
.adm-plan { font-size: 13px !important; color: var(--ink) !important; background: var(--acc-soft); border-radius: 8px; padding: 3px 8px; width: fit-content; max-width: 100%; }
.adm-item { display: grid !important; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px 16px; }
.adm-range { display: inline-flex; align-items: center; gap: 4px; color: var(--dim); }
.adm-docs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.adm-doc { display: flex; gap: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.adm-doc img { flex: none; width: 76px; height: 95px; object-fit: cover; object-position: 50% 15%; border-radius: 12px; background: var(--acc-soft); }
.adm-doc-main { display: grid; gap: 2px; align-content: start; min-width: 0; }
.adm-doc-main b { font-size: 17px; }
.adm-doc-main > span { color: var(--dim); font-size: 14px; }
.adm-days-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-top: 10px !important; }
.adm-days { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.adm-days button { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: 14px; transition: border-color 0.15s, background 0.15s; }
.adm-days button:hover:not(:disabled) { border-color: var(--acc); }
.adm-days button[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.adm-days button:disabled { opacity: 0.4; cursor: not-allowed; background: transparent; border-style: dashed; }
.adm-warn { margin-top: 8px !important; font-size: 13px; font-weight: 600; color: var(--hot); }
@media (max-width: 640px) {
  .adm-item { grid-template-columns: minmax(0, 1fr); }
  .adm-lead { flex-wrap: wrap; }
  .adm-lead-side { width: 100%; }
}

/* ——— переключатель бизнеса: «Барбершоп / Салон красоты» ——— */
.adm[data-tpl="salon"][data-style="b"] {
  --acc: #6e1f3a;
  --acc-soft: rgba(110, 31, 58, 0.1);
  --acc2: #8c2c4d;
  --bg: #f8f2ea;
}
.adm[data-tpl="salon"][data-style="a"] {
  --acc: #7a5410;
  --acc2: #c9a35a;
}
.adm-biz {
  padding: 14px var(--edge) 0;
}
.adm-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: min(100%, 420px);
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.adm-switch button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: var(--dim);
  cursor: pointer;
}
.adm-switch button[aria-pressed="true"] {
  background: var(--acc);
  color: var(--on-acc);
}
.adm[data-tpl="salon"] .adm-h2-sub {
  margin-top: 28px !important;
}
.adm[data-tpl="salon"] .adm-items[data-kind="packages"] .adm-item-name small {
  max-width: 46ch;
}
.adm-lang a {
  min-width: 40px;
  min-height: 40px;
  font-size: 14px;
}
.adm-link,
.adm-item .adm-link,
.adm-foot .adm-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
}
a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.adm-plan,
.adm-hint,
.adm-digest > p,
.adm-digest pre,
.adm-lead-main span,
.adm-lead-main i {
  font-size: 15px !important;
}
.adm-foot {
  font-size: 15px;
}

/* ——— кнопка «Получить в Telegram» под превью сводки ——— */
.adm .adm-btn.adm-tg { color: var(--on-acc); gap: 8px; min-height: 48px; text-decoration: none; justify-self: start; align-self: start; width: fit-content; max-width: 100%; white-space: normal; text-align: center; }
.adm .adm-btn.adm-tg:hover { color: var(--on-acc); text-decoration: none; }
