/* ==========================================================================
   site.css — сайт для пациентов (SITE_V1). Отдельно от оболочки персонала (kcenter/clinic.css).
   Главное на странице — прейскурант: строки с точечным заполнением, как в печатном прейскуранте.
   Шрифт — Golos Text (локально, OFL). Крупный кегль (18 px): среди пациентов много пожилых.
   ========================================================================== */
@font-face { font-family: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url('../fonts/golos-text-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url('../fonts/golos-text-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f5f7f6;        /* фон страницы — холодная бумага */
  --surface: #ffffff;
  --ink: #13262b;          /* текст */
  --muted: #55686d;
  --line: #d3dedc;
  --sea: #0b5f6b;          /* основной: кнопки, ссылки — цвет Керченского пролива */
  --sea-deep: #07434c;
  --sea-soft: #e3efee;
  --sun: #f3c433;          /* фокус и метки */
  --danger: #b3261e;
  --radius: 10px;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
.st [hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body.st { margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.55 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility; }
.st a { color: var(--sea); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.st a:hover { color: var(--sea-deep); text-decoration-thickness: 2px; }
.st :focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.st h1, .st h2, .st h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.st h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 650; letter-spacing: -0.025em; }
.st h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 620; }
.st h3 { font-size: 20px; font-weight: 600; }
.st p { margin: 0 0 1em; max-width: 68ch; }
.st-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .st-wrap { padding: 0 16px; } body.st { font-size: 17px; } }
.st-skip { position: absolute; left: -9999px; }
.st-skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; }

/* --- тестовый стенд --- */
.st-demo { background: #7a1c16; color: #fff; text-align: center; font-size: 14px; padding: 6px 16px; }
.st-preview { background: var(--sun); color: var(--ink); text-align: center; font-size: 14px; padding: 6px 16px; }

/* --- шапка --- */
.st-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.st-head-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.st-brand { display: flex; align-items: center; gap: 12px; color: var(--ink) !important; text-decoration: none !important;
  min-width: 0; }
.st-brand img { width: 44px; height: 44px; object-fit: contain; }
.st-brand-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--sea); color: #fff; display: grid;
  place-items: center; font-weight: 700; font-size: 20px; flex: none; }
.st-brand b { display: block; font-size: 18px; font-weight: 650; line-height: 1.2; }
.st-brand small { display: block; font-size: 14px; color: var(--muted); line-height: 1.2; }
.st-nav { display: flex; gap: 22px; margin-left: auto; }
.st-nav a { color: var(--ink); text-decoration: none; font-size: 17px; padding: 6px 0; border-bottom: 2px solid transparent; }
.st-nav a:hover, .st-nav a[aria-current="page"] { border-bottom-color: var(--sea); color: var(--ink); }
.st-head-cta { display: flex; align-items: center; gap: 16px; }
.st-phone { font-weight: 650; font-size: 19px; color: var(--ink) !important; text-decoration: none !important; white-space: nowrap; }
@media (max-width: 960px) {
  .st-head-in { flex-wrap: wrap; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .st-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 18px; }
  .st-head-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .st-brand small { display: none; }
  .st-head-cta .st-btn { display: none; }
  .st-phone { font-size: 17px; }
}

/* --- кнопки --- */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: var(--radius); border: 2px solid var(--sea); background: var(--sea); color: #fff !important;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none !important; cursor: pointer; }
.st-btn:hover { background: var(--sea-deep); border-color: var(--sea-deep); }
.st-btn-ghost { background: transparent; color: var(--sea) !important; }
.st-btn-ghost:hover { background: var(--sea-soft); color: var(--sea-deep) !important; }
.st-btn-lg { min-height: 56px; padding: 0 28px; font-size: 19px; }

/* --- первый экран: текст слева, прейскурант справа --- */
.st-hero { padding: 56px 0 64px; }
.st-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.st-hero h1 { margin-bottom: 20px; }
.st-lead { font-size: 21px; color: var(--ink); max-width: 34ch; }
.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 28px 0 32px; }
.st-tel-lg { font-size: 26px; font-weight: 650; color: var(--ink) !important; text-decoration: none !important; }
.st-tel-lg small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.st-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 32px; margin: 0;
  padding-top: 24px; border-top: 1px solid var(--line); }
.st-facts dt { font-size: 15px; color: var(--muted); }
.st-facts dd { margin: 2px 0 0; }
@media (max-width: 900px) { .st-hero-grid { grid-template-columns: 1fr; gap: 36px; } .st-hero { padding: 32px 0 44px; } }

/* --- прейскурант (главный элемент) --- */
.st-pricecard { background: var(--surface); border-top: 6px solid var(--sea); border-radius: 4px 4px var(--radius) var(--radius);
  padding: 26px 28px 24px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(7, 67, 76, .45); }
.st-pricecard h2 { font-size: 22px; font-weight: 650; margin-bottom: 4px; }
.st-pricecard .st-note { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.st-search { display: flex; gap: 8px; margin: 0 0 14px; }
.st-search input { flex: 1; min-width: 0; }
.st-pl { list-style: none; margin: 0; padding: 0; }
.st-pl li { display: flex; align-items: baseline; align-items: last baseline; gap: 8px; padding: 9px 0; }
.st-pl li + li { border-top: 1px solid transparent; }
.st-pl .st-pl-name { flex: 0 1 auto; min-width: 0; }
.st-pl .st-pl-fill { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted #9fb3b1; transform: translateY(-5px); }
.st-pl .st-pl-price { flex: none; font-weight: 650; white-space: nowrap; }
.st-pl .st-pl-sub { display: block; font-size: 14px; color: var(--muted); }
.st-more { display: inline-block; margin-top: 14px; font-weight: 600; }
@media (max-width: 520px) { .st-pricecard { padding: 22px 18px 20px; } .st-pl .st-pl-fill { flex-basis: 12px; min-width: 12px; } }

/* --- секции --- */
.st-sec { padding: 56px 0; border-top: 1px solid var(--line); }
.st-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.st-sec-head p { margin: 0; color: var(--muted); }

/* направления — типографский список, не карточки */
.st-dirs { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 48px; }
.st-dirs li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); }
.st-dirs a { font-size: 20px; font-weight: 600; text-decoration: none; }
.st-dirs a:hover { text-decoration: underline; }
.st-dirs span { display: block; font-size: 15px; color: var(--muted); }

/* врачи */
.st-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 32px; }
.st-doc { display: grid; grid-template-columns: 72px 1fr; gap: 4px 16px; align-items: start; }
.st-doc-ph { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--sea-soft); grid-row: span 3;
  display: grid; place-items: center; font-weight: 650; font-size: 22px; color: var(--sea); }
.st-doc b { font-size: 18px; font-weight: 620; line-height: 1.3; }
.st-doc .st-doc-spec { color: var(--sea); font-size: 16px; }
.st-doc .st-doc-title { color: var(--muted); font-size: 15px; }
.st-docs-full { grid-template-columns: 1fr; gap: 0; }
.st-docs-full .st-doc { grid-template-columns: 120px 1fr auto; gap: 6px 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.st-docs-full .st-doc-ph { width: 120px; height: 120px; font-size: 32px; grid-row: span 4; }
.st-docs-full .st-doc-bio { grid-column: 2; color: var(--ink); font-size: 17px; max-width: 70ch; }
.st-docs-full .st-doc .st-btn { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
@media (max-width: 720px) {
  .st-docs-full .st-doc { grid-template-columns: 80px 1fr; }
  .st-docs-full .st-doc-ph { width: 80px; height: 80px; font-size: 24px; grid-row: span 2; }
  .st-docs-full .st-doc-bio, .st-docs-full .st-doc .st-btn { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
}

/* как записаться — это последовательность, поэтому номера */
.st-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px 40px; }
.st-steps li { counter-increment: st; padding-top: 14px; border-top: 3px solid var(--sea); }
.st-steps li::before { content: counter(st); display: block; font-size: 40px; font-weight: 700; line-height: 1;
  color: var(--sea); margin-bottom: 10px; }
.st-steps h3 { margin-bottom: 6px; }
.st-steps p { color: var(--muted); margin: 0; }

/* --- прейскурант целиком --- */
.st-page { padding: 44px 0 64px; }
.st-page h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 12px; }
.st-page-lead { color: var(--muted); margin-bottom: 28px; }
.st-pricebar { position: sticky; top: 77px; z-index: 10; background: var(--paper); padding: 12px 0; margin-bottom: 8px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.st-pricebar input { flex: 1 1 320px; }
@media (max-width: 960px) { .st-pricebar { position: static; } }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.st-chips a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 15px; color: var(--ink); text-decoration: none; }
.st-chips a:hover, .st-chips a.is-on { border-color: var(--sea); color: var(--sea); }
.st-psec { margin-bottom: 40px; scroll-margin-top: 150px; }
.st-psec h2 { font-size: 24px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.st-psec .st-pl li { border-bottom: 1px solid var(--line); padding: 12px 0; }
.st-empty { padding: 28px; background: var(--surface); border-radius: var(--radius); }

/* --- формы --- */
.st-input, .st select, .st textarea, .st input[type="text"], .st input[type="search"], .st input[type="tel"] {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #b7c6c4; border-radius: 8px; background: var(--surface);
  color: var(--ink); font: inherit; font-size: 18px; }
.st textarea { min-height: 96px; resize: vertical; }
.st input:focus, .st select:focus, .st textarea:focus { border-color: var(--sea); outline: none; box-shadow: 0 0 0 3px var(--sun); }
.st-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.st-field { display: flex; flex-direction: column; gap: 6px; }
.st-field label { font-weight: 600; font-size: 16px; }
.st-field .st-hint { font-size: 14px; color: var(--muted); }
.st-full { grid-column: 1 / -1; }
.st-err { color: var(--danger); font-size: 15px; margin: 0; }
.st-field.has-err input, .st-field.has-err select { border-color: var(--danger); }
.st-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.st-check input { width: 24px; height: 24px; min-height: 0; margin: 2px 0 0; accent-color: var(--sea); flex: none; }
.st-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-alert { padding: 14px 18px; border-left: 4px solid var(--danger); background: #fbecea; margin-bottom: 20px; }
@media (max-width: 640px) { .st-form-grid { grid-template-columns: 1fr; } }
.st-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.st-aside { background: var(--surface); border-radius: var(--radius); padding: 24px 26px; border-top: 6px solid var(--sea); }
.st-aside h2 { font-size: 22px; margin-bottom: 10px; }
@media (max-width: 900px) { .st-two { grid-template-columns: 1fr; gap: 32px; } }
.st-done { max-width: 640px; }
.st-done-num { font-size: 22px; font-weight: 650; }

/* --- сведения об организации, тексты --- */
.st-dl { display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 10px 28px; margin: 0 0 28px; }
.st-dl dt { color: var(--muted); }
.st-dl dd { margin: 0; }
@media (max-width: 640px) { .st-dl { grid-template-columns: 1fr; gap: 2px; } .st-dl dd { margin-bottom: 10px; } }
.st-text { max-width: 72ch; }
.st-text h2 { font-size: 24px; margin: 36px 0 12px; }

/* --- подвал --- */
.st-foot { background: var(--sea-deep); color: #d9e7e6; padding: 44px 0 36px; font-size: 16px; margin-top: 24px; }
.st-foot a { color: #fff; }
.st-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px 40px; }
.st-foot b { color: #fff; font-weight: 600; }
.st-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.st-warn { max-width: none; margin: 32px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 15px;
  font-weight: 600; color: #fff; letter-spacing: .01em; }
@media (max-width: 800px) { .st-foot-grid { grid-template-columns: 1fr; } }
.st-doc h2 { font-size: 20px; font-weight: 620; letter-spacing: 0; }
.st-docs-full .st-doc h2 { font-size: 22px; }
/* BANNER_V1: плашка тестового сайта закрывается ✕ (до закрытия браузера) */
.st-demo { position: relative; padding-left: 44px; padding-right: 44px; }
.st-demo-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0;
  border-radius: 6px; background: transparent; color: #fff; font-size: 16px; line-height: 1; cursor: pointer; opacity: .8; }
.st-demo-close:hover { opacity: 1; background: rgba(255, 255, 255, .18); }
body.st-demo-hidden .st-demo { display: none; }

/* ICONS_V1 — иконки Lucide (ISC) из спрайта static/icons/kc.svg */
.kc-ic { display: inline-block; width: 1.15em; height: 1.15em; flex: none; vertical-align: -.22em;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

/* ==========================================================================
   UI_SITE_V2 — умный поиск (модалка), карточки услуги и врача, подсветка найденного, выбранное в записи
   ========================================================================== */
.st mark { background: color-mix(in srgb, var(--sun) 55%, transparent); color: inherit; border-radius: 3px;
  padding: 0 1px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.st-tag { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 999px; background: var(--sea-soft);
  color: var(--sea-deep); font-size: 13px; font-style: normal; font-weight: 500; line-height: 22px; vertical-align: 2px; white-space: nowrap; }
.st-tag mark { background: transparent; color: inherit; font-weight: 700; padding: 0; }

/* кнопка поиска в шапке */
.st-search-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font: inherit; font-size: 16px; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s; }
.st-search-btn:hover { border-color: var(--sea); color: var(--sea); background: var(--surface); }
.st-search-btn .kc-ic { width: 19px; height: 19px; }
@media (max-width: 1280px) { .st-search-btn span { display: none; } .st-search-btn { padding: 0 12px; } }
.st-nav a { white-space: nowrap; }

/* кликабельные строки прейскуранта */
.st-pl li[data-svc] { cursor: pointer; border-radius: 6px; transition: background .12s; }
.st-pl li[data-svc]:hover, .st-pl li[data-svc]:focus-visible { background: var(--sea-soft); }
.st-pricecard .st-pl li[data-svc] { margin: 0 -10px; padding-left: 10px; padding-right: 10px; }
.st-psec .st-pl li[data-svc] { padding-left: 10px; padding-right: 10px; margin: 0 -10px; }
.st-pl a.st-pl-nm { color: inherit; text-decoration: none; }
.st-pl li[data-svc]:hover a.st-pl-nm { color: var(--sea-deep); text-decoration: underline; text-decoration-thickness: 1px; }
.st-pl li[data-svc]:hover .st-pl-price { color: var(--sea-deep); }
.st-pcount { margin: -4px 0 18px; color: var(--muted); font-size: 16px; }
.st-pcount b { color: var(--ink); }
.st-search input[readonly] { cursor: text; }

/* кликабельные карточки врачей */
a.st-doc-link { color: inherit !important; text-decoration: none !important; padding: 10px; margin: -10px; border-radius: 12px;
  transition: background .15s; }
a.st-doc-link:hover { background: var(--surface); box-shadow: 0 10px 30px -22px rgba(7, 67, 76, .5); }
a.st-doc-link:hover b { color: var(--sea-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.st-doc-click { cursor: pointer; transition: background .15s; }
.st-doc-click:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.st-docs-full .st-doc-click { padding-left: 16px; padding-right: 16px; margin: 0 -16px; border-radius: 12px; }

/* модалка */
.st-dlg { width: min(640px, calc(100vw - 32px)); max-height: min(86vh, 860px); padding: 0; border: 0; border-radius: 16px;
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(7, 40, 46, .55); overflow: hidden; }
.st-dlg::backdrop { background: rgba(10, 32, 37, .55); backdrop-filter: blur(3px); }
.st-dlg[open] { animation: st-dlg-in .18s ease-out; display: flex; flex-direction: column; }
@keyframes st-dlg-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.st-dlg-box { overflow: auto; overscroll-behavior: contain; padding: 0 28px 26px; }
.st-dlg-search { width: min(720px, calc(100vw - 32px)); margin-top: 8vh; max-height: min(78vh, 760px); }
.st-dlg-search .st-dlg-box { padding: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden; height: 100%; }
body.st-dlg-open { overflow: hidden; }
.st-dlg-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 -28px 6px; padding: 14px 18px 10px 28px; background: var(--surface); }
.st-dlg-kicker { margin-right: auto; color: var(--muted); font-size: 15px; }
.st-dlg-back, .st-dlg-x { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }
.st-dlg-x { width: 40px; justify-content: center; padding: 0; margin-left: auto; }
.st-dlg-back:hover, .st-dlg-x:hover { background: var(--sea-soft); color: var(--sea-deep); }
.st-dlg-x .kc-ic { width: 20px; height: 20px; }
.st-dlg-title { font-size: clamp(22px, 3vw, 28px) !important; font-weight: 650 !important; letter-spacing: -.015em; margin: 0 0 12px !important; }
.st-dlg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 18px; }
.st-dlg-price b { font-size: 34px; font-weight: 700; color: var(--sea-deep); letter-spacing: -.02em; }
.st-dlg-price span { color: var(--muted); font-size: 15px; }
.st-dlg-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff7dc; border: 1px solid #f1df9c; margin-bottom: 18px;
  font-size: 16px; }
.st-dlg-note .kc-ic { color: #8a6a00; width: 22px; height: 22px; margin-top: 2px; }
.st-dlg-h { font-size: 15px !important; font-weight: 600 !important; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  margin: 18px 0 8px !important; }
.st-dlg-docs, .st-dlg-svcs { list-style: none; margin: 0; padding: 0; }
.st-mini-doc { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; margin: 0 -12px; width: calc(100% + 24px);
  border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.st-mini-doc:hover { background: var(--sea-soft); }
.st-mini-doc span { flex: 1; min-width: 0; }
.st-mini-doc b, .st-sq-main b { display: block; font-weight: 600; font-size: 17px; line-height: 1.3; }
.st-mini-doc small, .st-sq-main small { display: block; color: var(--muted); font-size: 14px; line-height: 1.35; }
.st-mini-doc > .kc-ic, .st-sq-item > .kc-ic { color: var(--muted); }
.st-mini-ph { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--sea-soft); color: var(--sea);
  display: grid; place-items: center; font-weight: 650; font-size: 15px; }
.st-dlg-svcs li button { display: flex; align-items: baseline; gap: 8px; width: calc(100% + 20px); margin: 0 -10px; padding: 9px 10px; border: 0;
  border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.st-dlg-svcs li button:hover { background: var(--sea-soft); }
.st-dlg-svcs .st-pl-fill { flex: 1 1 20px; border-bottom: 2px dotted #9fb3b1; transform: translateY(-5px); }
.st-dlg-svcs b { white-space: nowrap; }
.st-dlg-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.st-dlg-acts .st-btn-lg { flex: 1 1 260px; }
.st-dlg-fine { font-size: 14px; color: var(--muted); margin: 14px 0 0 !important; }
.st-dlg-doc { display: flex; gap: 20px; align-items: center; margin-bottom: 16px; }
.st-dlg-ph { flex: none; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; background: var(--sea-soft); color: var(--sea);
  display: grid; place-items: center; font-weight: 650; font-size: 32px; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--line); }
.st-dlg-doc .st-dlg-title { margin-bottom: 4px !important; }
.st-dlg-spec { color: var(--sea); font-weight: 600; }
.st-dlg-sub { color: var(--muted); font-size: 16px; }
.st-dlg-bio { font-size: 17px; line-height: 1.6; padding: 14px 0 4px; border-top: 1px solid var(--line); }

/* поиск */
.st-sq { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 22px; border-bottom: 1px solid var(--line); }
.st-sq > .kc-ic { width: 22px; height: 22px; color: var(--sea); }
.st .st-sq-in { flex: 1; min-width: 0; min-height: 52px; border: 0 !important; box-shadow: none !important; padding: 0; font-size: 20px; background: transparent; }
.st-sq-in::-webkit-search-cancel-button { display: none; }
.st-sq-res { flex: 1; min-height: 120px; overflow: auto; overscroll-behavior: contain; padding: 6px 12px 12px; }
.st-sq-sec { padding: 6px 0 4px; }
.st-sq-sec + .st-sq-sec { border-top: 1px solid var(--line); margin-top: 4px; }
.st-sq-h { padding: 8px 10px 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.st-sq-h span { margin-left: 6px; padding: 0 7px; border-radius: 999px; background: var(--sea-soft); color: var(--sea-deep); letter-spacing: 0; }
.st-sq-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 10px; background: transparent;
  color: var(--ink) !important; font: inherit; text-align: left; text-decoration: none !important; cursor: pointer; scroll-margin: 8px; }
.st-sq-item.is-active { background: var(--sea-soft); }
.st-sq-item.is-active .st-sq-main b { color: var(--sea-deep); }
.st-sq-main { flex: 1; min-width: 0; }
.st-sq-main small .st-tag { margin-left: 6px; vertical-align: 0; line-height: 20px; font-size: 12px; }
.st-sq-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--sea); }
.st-sq-price { flex: none; font-weight: 650; white-space: nowrap; }
.st-sq-all { display: flex; align-items: center; gap: 6px; padding: 10px; font-weight: 600; text-decoration: none !important; }
.st-sq-all:hover { text-decoration: underline !important; }
.st-sq-fix { margin: 6px 10px 2px; padding: 8px 12px; border-radius: 8px; background: var(--paper); font-size: 15px; color: var(--muted); }
.st-sq-none { padding: 24px 12px; }
.st-sq-none b { font-size: 18px; }
.st-sq-none p { color: var(--muted); margin: 6px 0 0; font-size: 16px; }
.st-sq-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 10px 10px; }
.st-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink) !important; font: inherit; font-size: 15px; text-decoration: none !important; cursor: pointer; }
.st-chip:hover { border-color: var(--sea); color: var(--sea) !important; }
.st-chip small { color: var(--muted); font-size: 13px; }
.st-sq-foot { display: flex; gap: 18px; padding: 10px 22px; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 13px; }
.st-sq-foot kbd { display: inline-block; min-width: 22px; margin-right: 4px; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 5px; background: var(--surface); font: 600 12px/18px 'Golos Text', system-ui, sans-serif; text-align: center; color: var(--ink); }
@media (max-width: 640px) {
  .st-dlg, .st-dlg-search { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .st-dlg-box { padding: 0 18px 22px; }
  .st-dlg-bar { margin: 0 -18px 6px; padding: 10px 10px 8px 18px; }
  .st-sq { padding-left: 16px; }
  .st-sq-foot { display: none; }
  .st-dlg-doc { gap: 14px; }
  .st-dlg-ph { width: 80px; height: 80px; font-size: 26px; }
  .st-dlg-acts .st-btn { flex: 1 1 100%; }
}

/* запись: что уже выбрано на сайте */
.st-picked-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 18px; }
.st-picked { display: flex; align-items: center; gap: 14px; padding: 12px 10px 12px 14px; border: 2px solid var(--sea); border-radius: 12px; background: var(--sea-soft); }
.st-picked-ico, .st-picked-ph { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface);
  color: var(--sea); object-fit: cover; font-weight: 650; }
.st-picked-txt { flex: 1; min-width: 0; line-height: 1.35; }
.st-picked-txt small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.st-picked-txt b { display: block; font-weight: 600; }
.st-picked-p { font-weight: 700; color: var(--sea-deep); }
.st-picked-s { color: var(--muted); font-size: 15px; }
.st-picked-x { flex: none; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.st-picked-x:hover { background: var(--surface); color: var(--danger); }
