/* «Точка здоровья» — мини-приложение Telegram.
   Один фирменный вид в светлой и тёмной теме Telegram (цвета темы не используются):
   тёмно-шалфейная шапка сверху, светлый «лист» с карточками, белая нижняя панель.
   Минимализм: белые карточки, тонкие линии, скругления 16–20px, один акцент — шалфей #84B08C.
   Читаемость для всех возрастов: текст от 17px, нажимаемые элементы от 48px. */

:root {
  --forest: #2f4a3a;      /* шапка, основные кнопки */
  --forest-2: #3a5847;    /* карточки на шапке */
  --sage: #84b08c;        /* фирменный акцент */
  --sage-ink: #4b7655;    /* акцентный текст на белом (контрастнее) */
  --sage-tint: #eaf2eb;   /* мягкая подложка */
  --bg: #f7f8f6;          /* лист контента */
  --card: #ffffff;
  --ink: #1f2a24;
  --muted: #64716a;
  --line: #e3e8e2;
  --danger: #b0473d;
  --danger-tint: #f8e9e6;
  --radius: 18px;
  --radius-sm: 12px;
  --tabbar-h: 68px;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { background: var(--forest); }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--sage-ink); }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

#app { min-height: 100vh; background: var(--bg); }

/* ---------------------------------------------------------------- шапка и лист */
.top {
  background: var(--forest);
  color: #fff;
  padding: calc(env(safe-area-inset-top) + 18px) 20px 44px;
}
.top-row { display: flex; align-items: center; gap: 12px; }
.top .mark { width: 40px; height: auto; opacity: .95; }
.hello { font: 600 30px/1.15 var(--serif); letter-spacing: .2px; margin: 0; }
.top-sub { color: rgba(255, 255, 255, .72); font-size: 15px; margin-top: 2px; }
.top-title { font: 600 30px/1.15 var(--serif); margin: 0; }
.top-step { color: rgba(255, 255, 255, .72); font-size: 15px; margin-top: 4px; }
.progress { display: flex; gap: 6px; margin-top: 16px; }
.progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.progress i.on { background: var(--sage); }

.sheet {
  position: relative;
  margin-top: -24px;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  padding: 24px 16px calc(var(--tabbar-h) + 40px + env(safe-area-inset-bottom));
  min-height: calc(100vh - 120px);
}

/* ---------------------------------------------------------------- шапка главной */
.top-home { padding: calc(env(safe-area-inset-top) + 8px) 16px 36px; }
.home-head { display: flex; align-items: center; gap: 12px; height: 56px; }
.head-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: #d5e6d8; color: var(--forest);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; letter-spacing: .02em;
}
.head-name { flex: 1; min-width: 0; font-size: 20px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head-mark { flex: none; width: 32px; height: auto; opacity: .95; }

/* ---------------------------------------------------------------- новости-истории */
.stories {
  display: flex; gap: 14px; overflow-x: auto; margin: 16px -16px 0; padding: 5px 21px 5px;
  scroll-padding: 0 21px; scroll-snap-type: x proximity; scrollbar-width: none;
}
.stories::-webkit-scrollbar { display: none; }
.story {
  position: relative; flex: 0 0 132px; height: 150px; padding: 0; border: 0; border-radius: 18px; overflow: hidden;
  background: var(--forest-2) center/cover no-repeat; text-align: left; color: #fff; scroll-snap-align: start;
  outline: 2px solid var(--sage); outline-offset: 3px;
}
.story-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 10px 10px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 20, 14, .72) 100%);
  font-size: 14px; line-height: 1.3; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------------------------------------------------------------- секции */
.section { margin-bottom: 30px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 4px 12px; }
.section-head h2, h2.title { font: 600 26px/1.2 var(--serif); margin: 0; color: var(--ink); }
.link-btn { border: 0; background: none; color: var(--sage-ink); font-weight: 600; font-size: 16px; min-height: 44px; padding: 0 4px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.card + .card { margin-top: 12px; }

.hscroll { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }

.empty { text-align: center; padding: 26px 20px; }
.empty .mark { width: 64px; margin: 0 auto 12px; opacity: .9; }
.empty p { margin: 0 0 16px; color: var(--muted); }

/* ---------------------------------------------------------------- карточка записи */
.rcard { flex: 0 0 min(84vw, 320px); display: flex; flex-direction: column; gap: 6px; }
.rcard.wide { flex: none; width: 100%; }
.rcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rdate { font-weight: 700; font-size: 17px; }
.rbranch { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin-top: 6px; }
.rbranch img { width: 26px; height: auto; }
.rservice { font-weight: 600; font-size: 18px; line-height: 1.35; margin-top: 4px; }
.rstaff { color: var(--muted); font-size: 16px; }
.rprice { font-weight: 600; color: var(--sage-ink); }
.ractions { display: flex; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.ractions .btn { flex: 1; }

.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.pill-upcoming { background: var(--sage-tint); color: var(--sage-ink); }
.pill-confirmed { background: var(--sage); color: #17301f; }
.pill-cancelled { background: var(--danger-tint); color: var(--danger); }
.pill-done { background: #eef0ee; color: var(--muted); }

/* ---------------------------------------------------------------- абонементы */
.abon { display: flex; align-items: center; gap: 14px; }
.abon .grow { flex: 1; min-width: 0; }
.abon-title { font-weight: 600; font-size: 17px; line-height: 1.35; }
.abon-meta { color: var(--muted); font-size: 15px; margin-top: 2px; }
.abon-count { text-align: right; flex: none; }
.abon-count b { display: block; font: 600 40px/1 var(--serif); color: var(--sage-ink); }
.abon-count span { font-size: 14px; color: var(--muted); }
.bar { height: 4px; border-radius: 4px; background: var(--sage-tint); margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--sage); }

/* ---------------------------------------------------------------- наши места */
.place { padding: 0; overflow: hidden; }
.place-cover {
  aspect-ratio: 16 / 9; background: var(--sage-tint) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.place-cover img { width: 96px; opacity: .85; }
.place-body { padding: 16px 18px 18px; }
.place-body h3 { font: 600 24px/1.2 var(--serif); margin: 0 0 8px; }
.place-row { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 16px; padding: 4px 0; }
.place-row svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.place-row a { color: var(--ink); text-decoration: none; }
.place-actions { display: flex; gap: 10px; margin-top: 14px; }
.place-actions .btn { flex: 1; white-space: nowrap; }
.place-actions .btn-primary { flex: 1.45; }

/* города: переключатель и карточка «скоро» */
.pills { display: flex; gap: 8px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill-tab {
  flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 600; font-size: 16px;
}
.pill-tab.on { background: var(--sage); border-color: var(--sage); color: #17301f; }
.pills.compact .pill-tab { min-height: 40px; padding: 0 16px; font-size: 15px; }
.soon { position: relative; text-align: center; padding: 0; overflow: hidden; background: transparent; border: 1px solid #cfdcd1; }
.soon-body { padding: 26px 20px 24px; }
.soon.with-img .soon-body { padding-top: 18px; }
.soon-img { aspect-ratio: 16 / 9; background: var(--sage-tint) center/cover no-repeat; }
.soon img { width: 56px; margin: 0 auto 10px; opacity: .9; }
.soon .pill { position: absolute; top: 14px; right: 14px; height: 26px; font-size: 13px; }
.soon h3 { font: 600 24px/1.2 var(--serif); margin: 0 0 6px; }
.soon p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- кнопки и поля */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 18px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none;
  transition: transform .08s ease, opacity .2s ease, background .2s ease;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-sage { background: var(--sage); color: #17301f; }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-danger { background: #fff; border-color: #ecc9c4; color: var(--danger); }
.btn-sm { min-height: 48px; padding: 10px 14px; font-size: 16px; }
.btn + .btn-block, .btn-block + .btn-block { margin-top: 10px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 15px; color: var(--muted); margin: 0 0 6px 2px; }
.input {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; color: var(--ink); outline: none; font-size: 17px;
}
.input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-tint); }
textarea.input { min-height: 88px; resize: vertical; }

/* ---------------------------------------------------------------- списки (строки) */
.list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 14px 16px;
  border: 0; border-top: 1px solid var(--line); background: #fff; text-align: left; color: var(--ink);
}
.row:first-child { border-top: 0; }
.row:active { background: var(--sage-tint); }
.row .grow { flex: 1; min-width: 0; }
.row-title { font-weight: 600; font-size: 17px; line-height: 1.35; }
.row-sub { color: var(--muted); font-size: 15px; margin-top: 2px; }
.row-end { color: var(--sage-ink); font-weight: 600; white-space: nowrap; font-size: 16px; }
.chev { width: 18px; height: 18px; flex: none; stroke: var(--muted); }
.cat { margin: 22px 6px 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.avatar {
  flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sage-tint); color: var(--sage-ink);
  display: flex; align-items: center; justify-content: center; font-weight: 700; object-fit: cover;
}

/* ---------------------------------------------------------------- календарь и время */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font: 600 24px/1 var(--serif); text-transform: capitalize; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[disabled] { opacity: .3; pointer-events: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-wd { text-align: center; font-size: 13px; color: var(--muted); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; min-height: 44px; border-radius: 50%; border: 0; background: transparent;
  font-size: 17px; color: #b9c0bb; display: flex; align-items: center; justify-content: center;
}
.cal-day.free { color: var(--ink); font-weight: 600; background: var(--sage-tint); }
.cal-day.today { box-shadow: inset 0 0 0 1px var(--sage); }
.cal-day.on { background: var(--forest); color: #fff; }
.cal-day:disabled { cursor: default; }

.slots-label { margin: 18px 4px 10px; font-size: 15px; color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.chip {
  min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: 18px;
}
.chip.on { background: var(--forest); border-color: var(--forest); color: #fff; }

/* ---------------------------------------------------------------- сводка и успех */
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.kv:first-child { border-top: 0; padding-top: 0; }
.kv span:first-child { color: var(--muted); flex: none; }
.kv span:last-child { text-align: right; font-weight: 600; }
.kv small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.success-mark {
  width: 76px; height: 76px; border-radius: 50%; margin: 6px auto 14px;
  background: var(--sage); display: flex; align-items: center; justify-content: center;
}
.success-mark svg { width: 36px; height: 36px; stroke: #fff; stroke-width: 1.5; fill: none; }

/* ---------------------------------------------------------------- профиль */
.top-profile { padding: calc(env(safe-area-inset-top) + 14px) 16px 40px; }
.prof-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.prof-head .avatar-big {
  width: 88px; height: 88px; border-radius: 50%; background: #d5e6d8; color: var(--forest);
  display: flex; align-items: center; justify-content: center; font: 600 34px/1 var(--serif);
}
.prof-id { min-width: 0; max-width: 100%; margin-top: 10px; }
.prof-id .fio { font: 600 24px/1.2 var(--serif); }
.prof-id .phone { color: rgba(255, 255, 255, .78); font-size: 16px; margin-top: 2px; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.tile {
  min-height: 104px; padding: 12px 14px; border: 0; border-radius: 16px; background: #fff; color: var(--ink);
  text-align: left; display: flex; flex-direction: column; justify-content: flex-start; gap: 1px; min-width: 0;
}
.tile-skel { background: rgba(255, 255, 255, .12); animation: pulse 1.2s ease-in-out infinite; }
.tile-label { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--muted); }
.tile-badge { font-size: 12px; font-weight: 700; color: var(--sage-ink); background: var(--sage-tint); border-radius: 999px; padding: 1px 7px; }
.tile-sub { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-big { font: 600 28px/1.15 var(--serif); color: var(--ink); margin-top: 6px; }
.tile-big small { font: 500 15px var(--sans); color: var(--muted); }
.tile-cap { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-bar { height: 3px; border-radius: 3px; background: var(--sage-tint); margin-top: 8px; overflow: hidden; }
.tile-bar i { display: block; height: 100%; background: var(--sage); }
.tile-empty { font-size: 16px; color: var(--muted); margin-top: 8px; }
.tile-link { font-size: 15px; font-weight: 600; color: var(--sage-ink); margin-top: auto; padding-top: 6px; }

.info { padding: 4px 18px; }
.info-row { padding: 12px 0; border-top: 1px solid var(--line); }
.info-row:first-child { border-top: 0; }
.info-label { font-size: 14px; color: var(--muted); }
.info-value { font-size: 17px; font-weight: 500; margin-top: 2px; }
.info-split { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.info-split .link-btn { min-height: 36px; font-size: 15px; }
.form-actions {
  position: sticky; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); margin: 16px -16px 0;
  padding: 12px 16px; background: var(--bg); border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------- новость */
.news-img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: var(--radius); background: var(--sage-tint); }
.news-title { font: 600 30px/1.2 var(--serif); margin: 18px 4px 10px; }
.news-text { white-space: pre-wrap; margin: 0 4px 20px; font-size: 17px; line-height: 1.6; }

/* ---------------------------------------------------------------- нижняя панель */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
}
.tab {
  height: 100%; border: 0; background: none; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 13px; font-weight: 500;
}
.tab svg, .chev, .place-row svg, .icon-btn svg {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.tab svg { width: 26px; height: 26px; }
.tab.on { color: var(--sage-ink); font-weight: 600; }
.tab-plus {
  border: 0; background: none; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: 8px; gap: 4px; color: var(--muted); font-size: 13px; font-weight: 500;
}
.plus-circle {
  width: 60px; height: 60px; border-radius: 50%; background: var(--sage); margin-top: -30px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 5px #fff, 0 6px 16px rgba(47, 74, 58, .18);
}
.plus-circle svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }
.tab-plus.on .plus-label { color: var(--sage-ink); font-weight: 600; }
.tab-plus:active .plus-circle { transform: scale(.96); }

/* ---------------------------------------------------------------- диалог подтверждения */
.overlay {
  position: fixed; inset: 0; z-index: 40; padding: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 30, 24, .38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: fade .18s ease;
}
.dialog {
  width: 100%; max-width: 320px; background: #fff; border-radius: 20px; padding: 24px 20px 20px;
  box-shadow: 0 18px 48px rgba(20, 30, 24, .22); animation: pop .2s ease;
}
.dialog h3 { font: 600 22px/1.2 var(--serif); margin: 0 0 12px; text-align: center; }
.dlg-body { text-align: center; margin-bottom: 18px; }
.dlg-main { font-weight: 600; font-size: 17px; line-height: 1.35; }
.dlg-line { color: var(--muted); font-size: 16px; margin-top: 4px; }
.dlg-note { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.dialog .btn-block + .btn-block { margin-top: 10px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------- прочее */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 50;
  bottom: calc(var(--tabbar-h) + 22px + env(safe-area-inset-bottom));
  max-width: calc(100% - 32px); padding: 14px 18px; border-radius: 14px;
  background: var(--forest); color: #fff; font-size: 16px; text-align: center;
}
.skeleton { height: 120px; border-radius: var(--radius); background: #eef1ed; margin-bottom: 12px; animation: pulse 1.2s ease-in-out infinite; }
.skeleton-line { height: 30px; width: 60%; border-radius: 8px; background: rgba(255, 255, 255, .12); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.spinner { width: 28px; height: 28px; margin: 28px auto; border-radius: 50%; border: 2px solid var(--sage-tint); border-top-color: var(--sage); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fade { animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.mt { margin-top: 16px; }
.center { text-align: center; }

/* ---------------------------------------------------------------- закреплённая новость */
.story { overflow: visible; }
.story-cap { border-radius: 0 0 18px 18px; }
.story-pin {
  position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 2px var(--forest); display: flex; align-items: center; justify-content: center;
}
.story-pin svg { width: 13px; height: 13px; fill: #fff; stroke: none; }

/* ---------------------------------------------------------------- шторка снизу */
.overlay.bottom { align-items: flex-end; padding: 0; }
.bsheet {
  width: 100%; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); animation: up .24s ease; transition: transform .2s ease;
}
.bsheet .grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 14px; }
.bsheet h3 { font: 600 26px/1.2 var(--serif); margin: 0 0 14px; text-align: center; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.gift { display: flex; gap: 12px; align-items: flex-start; background: var(--sage-tint); border-radius: 16px; padding: 14px 16px; margin-bottom: 6px; }
.gift svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--sage-ink); stroke-width: 1.5; stroke-linejoin: round; }
.gift b { font-size: 17px; }
.gift p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.price-row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); }
.price-row:first-child { border-top: 0; }
.price-row .grow { flex: 1; min-width: 0; }
.price-col { text-align: right; flex: none; max-width: 52%; }
.price-col s { display: block; color: #9aa59e; font-size: 14px; }
.price-col b { display: block; font: 700 20px/1.2 var(--sans); color: var(--sage-ink); white-space: nowrap; }
.price-col small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; margin-top: 2px; }
.pill.ph { height: 22px; padding: 0 8px; font-size: 12px; vertical-align: 2px; }
.footnote { color: var(--muted); font-size: 14px; margin: 14px 2px 16px; }
.center-btn { display: block; margin: 8px auto 0; }

/* ---------------------------------------------------------------- виды сеансов */
.intro { text-align: center; margin-bottom: 16px; }
.intro img { width: 64px; margin: 0 auto 8px; }
.intro p { margin: 6px 0 0; }
.proc { padding: 0; overflow: hidden; margin-bottom: 14px; }
.card + .proc { margin-top: 0; }
.proc-img { aspect-ratio: 16 / 10; background: var(--sage-tint) center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.proc-img img { width: 96px; opacity: .85; }
.proc-body { padding: 16px 18px 18px; }
.proc-body h3 { font: 600 26px/1.2 var(--serif); margin: 0 0 6px; }
.proc-body > p { margin: 0 0 12px; }
.proc-dur { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin: -2px 0 10px; }
.proc-dur svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.proc-block { margin: 0 0 12px; }
.proc-block ul { margin: 4px 0 0; padding-left: 20px; }
.proc-block li { margin: 3px 0; }
.sage-note { background: var(--sage-tint); color: var(--forest); border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; font-size: 16px; }
.faq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 14px; }
.faq summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--sage-ink); }
.faq[open] summary::after { content: "–"; }
.faq-item { padding: 0 0 12px; }
.faq-item b { display: block; font-size: 16px; }
.faq-item p { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.contra { background: transparent; margin-top: 4px; }
.contra p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.intro-img { width: 200px !important; max-width: 70%; margin: 0 auto 6px !important; border-radius: 12px; }
.group-sub { color: var(--muted); font-size: 15px; margin: -2px 6px 10px; }
.badge-sm { height: 22px; padding: 0 8px; font-size: 12px; vertical-align: 2px; }
.prices .sage-note { margin: 10px 0 0; font-size: 15px; }
.price-col small + small { margin-top: 0; }

.stories { padding-top: 11px; margin-top: 10px; }

/* ---------------------------------------------------------------- аватар */
.av { position: relative; overflow: hidden; }
.av-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; opacity: 0; transition: opacity .25s ease; }
.av-img.on { opacity: 1; }

/* ---------------------------------------------------------------- соцсети */
.socials { text-align: center; padding: 8px 0 4px; }
.soc-title { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.soc-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; justify-content: center; max-width: 330px; margin: 0 auto; }
.soc { border: 0; background: none; padding: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; color: var(--muted); font-size: 13px; font-family: inherit; white-space: nowrap; }
.soc-ic { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--sage); display: flex; align-items: center; justify-content: center; }
.soc-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--sage-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.soc:active .soc-ic { background: var(--sage-tint); }
.soc-note { margin: 14px 8px 0; font-size: 12px; line-height: 1.4; color: var(--muted); }

/* ---------------------------------------------------------------- общие абонементы */
.pill-shared { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px;
  background: var(--sage-tint); color: var(--sage-ink); font: 600 13px/1 var(--sans); vertical-align: 2px; white-space: nowrap; }
.pill-shared svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.pill-shared.mini { height: 20px; padding: 0 7px; font-size: 11px; vertical-align: 1px; }
.pill-shared.mini svg { width: 12px; height: 12px; }
.ab-members { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; color: var(--ink); font-size: 15px; }
.ab-members > svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--sage-ink); stroke-width: 1.5; stroke-linecap: round; margin-top: 1px; }
.ab-member { white-space: nowrap; }
.ab-x { border: 0; background: var(--line); color: var(--muted); width: 22px; height: 22px; border-radius: 50%; margin-left: 4px;
  font-size: 15px; line-height: 20px; padding: 0; vertical-align: 1px; }
.ab-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ab-actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.link-btn.small { font-size: 14px; color: var(--muted); font-weight: 500; }
