/* Findz Med — white-label booking page.
   Tokens are Findz Beauty's salon theme (beauty/apps/web/src/lib/themes.ts → salonTheme):
   without a clinic brand colour the page is monochrome, near-black actions on white, so it
   reads as the clinic's page. A clinic colour, when we get one, replaces --accent only.
   Findz itself appears once: «Онлайн-запись работает на FINDZ». */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f4f2;
  --canvas: #f6f5f3;
  --text: #17171a;
  --muted: #67676e;
  --border: #e6e5e2;
  --border-strong: #d6d5d1;
  --accent: #1b1a19;
  --on-accent: #ffffff;
  --accent-soft: rgba(27, 26, 25, 0.06);
  --success: #1f8a4c;
  --warn: #946010;
  --warn-soft: #f7f0e3;
  --danger: #c93b3b;
  --brand: #58e9e9; /* Findz mark only */
  --font: "Onest", Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --gutter: 16px;
  --bar-h: 76px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.num { font-variant-numeric: normal; }
.i { flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 3px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.link:hover { text-decoration-color: currentColor; }
.link--plain { text-decoration: none; }
.link--plain:hover { text-decoration: underline; }

/* ── page shell: one column on phones, clinic | booking on desktop ─────────────── */
.shell { max-width: 560px; margin: 0 auto; }
.panel { padding: 0 var(--gutter) calc(var(--bar-h) + 24px); }
.shell--single .panel { padding-top: 32px; }

@media (min-width: 1024px) {
  body.is-partner { background: var(--canvas); }
  .shell {
    max-width: 1120px;
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 48px;
    padding: 48px 32px 64px;
    align-items: start;
  }
  .shell--single { grid-template-columns: minmax(0, 620px); justify-content: center; }
  .panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 40px 0;
    min-width: 0;
  }
  .shell--single .panel { padding: 40px 40px 8px; }
}

/* ── clinic header / column ───────────────────────────────────────────────────── */
.clinic { padding: 14px var(--gutter) 10px; border-bottom: 1px solid var(--border); }
.clinic__top { display: flex; gap: 12px; align-items: flex-start; }
.mono {
  flex: none; width: 44px; height: 44px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; font-size: 17px; letter-spacing: 0.02em;
}
.clinic__id { flex: 1; min-width: 0; }
.clinic__name { font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.clinic__tag { margin-top: 2px; font-size: 14px; color: var(--muted); }
.lang {
  flex: none; min-width: 44px; min-height: 36px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; color: var(--text);
}
.lang:hover { background: var(--surface-2); }
.clinic__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin-top: 8px; font-size: 14px; }
.quick { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; text-decoration: none; color: var(--text); }
.quick .i { color: var(--muted); }
.quick:hover { text-decoration: underline; text-underline-offset: 3px; }
.status { color: var(--muted); }
.status--open { color: var(--success); font-weight: 500; }

.quick--about { display: none; border: 0; background: none; padding: 0; cursor: pointer; color: var(--muted); font-size: 14px; gap: 2px; }
.js .quick--about { display: inline-flex; }
.quick--about .i { transition: transform 200ms var(--ease); }
.quick--about[aria-expanded="true"] .i { transform: rotate(180deg); }
.about.is-folded { display: none; }
.about__body { display: grid; gap: 14px; padding: 12px 0 8px; font-size: 14px; }
.about__desc { color: var(--muted); line-height: 1.5; }
.fact { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.fact .i { margin-top: 2px; color: var(--muted); }
.fact__sub { color: var(--muted); font-size: 13px; }
.fact__list { display: grid; gap: 4px; }
.about__links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (min-width: 1024px) {
  .clinic { position: sticky; top: 48px; padding: 0; border: 0; }
  .mono { width: 64px; height: 64px; font-size: 22px; border-radius: var(--r-lg); }
  .clinic__top { flex-wrap: wrap; }
  .clinic__id { flex-basis: 100%; order: 3; margin-top: 16px; }
  .lang { margin-left: auto; }
  .clinic__name { font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
  .clinic__tag { font-size: 15px; margin-top: 6px; }
  .clinic__quick { margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
  .js .quick--about { display: none; }
  .about.is-folded { display: block; }
  .about__body { padding-top: 20px; }
}

/* ── wizard ───────────────────────────────────────────────────────────────────── */
.progress { display: none; gap: 6px; padding-top: 16px; }
.progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background 200ms var(--ease); }
.progress i.on { background: var(--accent); }
.js .progress { display: flex; }
@media (min-width: 1024px) { .progress { padding-top: 0; } }

.step { padding-top: 20px; }
html { scroll-padding-bottom: calc(var(--bar-h) + 16px); }
.js .step { display: none; }
.js .step.is-active { display: block; animation: step-in 220ms var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step + .step { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 32px; }
.js .step + .step { border: 0; margin: 0; padding-top: 20px; }

.step__head { display: flex; align-items: center; gap: 4px; margin-bottom: 16px; }
.step__title { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; outline: none; }
.back {
  display: none; width: 40px; height: 40px; margin-left: -10px; border: 0; background: none;
  border-radius: var(--r-sm); cursor: pointer; align-items: center; justify-content: center;
}
.back:hover { background: var(--surface-2); }
.js .back { display: inline-flex; }
@media (min-width: 1024px) { .step__title { font-size: 28px; } }

.hint { font-size: 14px; color: var(--muted); margin: -6px 0 16px; }
.hint--center { text-align: center; margin: 20px 0 0; }

/* search + category chips */
.search {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px;
  background: var(--surface-2); border-radius: var(--r-md); color: var(--muted);
}
.search:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--text); }
.search input::placeholder { color: var(--muted); }

.cats {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 2px;
  position: sticky; top: 0; z-index: 5; background: var(--bg); padding-top: 8px; padding-bottom: 8px;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text); white-space: nowrap;
  transition: background 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.cat:hover { background: var(--surface-2); }
.cat.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (min-width: 1024px) { .cats { flex-wrap: wrap; overflow: visible; margin: 12px 0 0; padding-left: 0; padding-right: 0; } }

/* groups and option rows (Findz Beauty: hairline rows, price on the right, soft fill when chosen) */
.grp { scroll-margin-top: 64px; }
.grp__title { font-size: 15px; font-weight: 600; margin: 28px 0 4px; display: flex; gap: 8px; align-items: baseline; }
.grp__note { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.rows { display: flex; flex-direction: column; }
.row { position: relative; border-radius: var(--r-md); margin: 0 -10px; padding: 0 10px; transition: background 150ms var(--ease); }
/* straight hairline between rows, inset to the text (a border-top would bend on the rounded corners) */
.row:not([hidden]) ~ .row:not([hidden])::before {
  content: ""; position: absolute; top: 0; left: 10px; right: 10px; height: 1px; background: var(--border);
}
.row:has(.opt__input:checked) { background: var(--accent-soft); }
.row:has(.opt__input:checked)::before, .row:has(.opt__input:checked) + .row::before,
.row:hover::before, .row:hover + .row::before { opacity: 0; }
.opt {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 14px 0; cursor: pointer; position: relative;
}
.row:hover { background: var(--accent-soft); }
.opt__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__mark {
  width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); background: var(--surface);
  display: grid; place-items: center; transition: border-color 150ms var(--ease), background 150ms var(--ease);
}
.opt__mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-accent); transform: scale(0); transition: transform 150ms var(--ease); }
.opt__input:checked ~ .opt__mark { border-color: var(--accent); background: var(--accent); }
.opt__input:checked ~ .opt__mark::after { transform: scale(1); }
.opt__input:focus-visible ~ .opt__mark { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.opt__name { font-size: 16px; line-height: 1.35; font-weight: 500; }
.opt__sub { font-size: 14px; line-height: 1.4; color: var(--muted); }
.opt__prep {
  display: inline-flex; align-items: flex-start; gap: 6px; align-self: flex-start;
  font-size: 13px; line-height: 1.4; color: var(--warn); margin-top: 2px;
}
.opt__prep .i { margin-top: 2px; }
.opt__price { font-size: 15px; font-weight: 500; white-space: nowrap; text-align: right; padding-top: 1px; }
.opt__price small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--muted); }
.opt__price--plain { font-variant-numeric: normal; }

.more { font-size: 14px; }
.more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 32px;
  color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px;
}
.more summary::-webkit-details-marker { display: none; }
.more summary .i { transition: transform 200ms var(--ease); }
.more[open] summary .i { transform: rotate(180deg); }
.more { margin: -6px 0 0 34px; padding-bottom: 12px; }
.more__list { margin-top: 4px; color: var(--muted); line-height: 1.55; max-width: 60ch; }

.note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 0; color: var(--muted); font-size: 15px; }
.note .i { margin-top: 2px; }
.empty { display: grid; gap: 8px; justify-items: start; padding: 24px 0 8px; }
.empty p:first-child { font-weight: 500; }
.rows--consult { margin-top: 4px; }
.opt--quiet .opt__name { font-weight: 400; }
.hint--doctor { margin-top: -8px; color: var(--text); }
.opt:has(.opt__input:disabled) { opacity: 0.45; cursor: not-allowed; }
.opt:has(.opt__input:disabled):hover { background: none; }

/* step 2: day strip + parts */
.days { border: 0; padding: 0; margin: 0; min-width: 0; }
.days__strip {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
}
.days__strip::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .days__strip { margin: 0 -40px; padding: 2px 40px 6px; } }
.day { position: relative; flex: none; scroll-snap-align: start; cursor: pointer; }
.day input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.day__in {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 60px; height: 68px; border: 1px solid var(--border); border-radius: var(--r-md);
  transition: background 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.day__in small { font-size: 12px; color: var(--muted); line-height: 1; letter-spacing: 0.01em; }
.day__in b { font-size: 22px; line-height: 1; font-weight: 600; }
.day:hover .day__in { border-color: var(--border-strong); }
.day input:checked + .day__in { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.day input:checked + .day__in small { color: color-mix(in srgb, var(--on-accent) 75%, transparent); }
.day input:focus-visible + .day__in { outline: 2px solid var(--accent); outline-offset: 2px; }
.days__sel { min-height: 24px; margin: 10px 0 4px; font-weight: 600; }
.days__sel:first-letter { text-transform: uppercase; }
.parts { border: 0; padding: 0; margin: 8px 0 0; min-width: 0; }
.parts .opt__price { color: var(--muted); font-weight: 400; }

/* step 3: summary + fields */
.sum { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin-bottom: 8px; position: relative; }
.sum__when { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.sum__when::first-letter { text-transform: uppercase; }
.sum__rows { margin: 14px 0 0; display: grid; gap: 10px; font-size: 15px; }
.sum__rows div { display: flex; justify-content: space-between; gap: 16px; }
.sum__rows dt { color: var(--muted); flex: none; }
.sum__rows dd { margin: 0; text-align: right; }
.sum__visit { border: 0; padding: 0; margin: 12px 0 0; min-width: 0; border-top: 1px solid var(--border); }
.sum__visit .rows { margin: 0 -6px; }
.sum__total { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 16px; }
.sum__total b { font-weight: 600; white-space: nowrap; }
.sum__edit { margin-top: 10px; font-size: 14px; min-height: 32px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-top: 12px; background: var(--surface-2); border-radius: var(--r-md); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 8px 6px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.3; }
.seg b { display: block; font-weight: 600; }
.seg input:checked + span { background: var(--surface); box-shadow: 0 1px 2px rgba(23, 23, 26, 0.12); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

.fields { display: grid; gap: 16px; margin-top: 12px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 15px; font-weight: 500; }
.field__err { font-size: 13px; color: var(--danger); }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.input::placeholder { color: #9a9aa0; }
.input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
select.input {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2367676e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
textarea.input { resize: vertical; min-height: 76px; }
.phone { display: flex; }
.phone__cc {
  display: flex; align-items: center; padding: 0 14px; font-weight: 500; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--border-strong); border-right: 0;
  border-radius: var(--r-md) 0 0 var(--r-md);
}
.phone .input { border-radius: 0 var(--r-md) var(--r-md) 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; cursor: pointer;
  border: 1.5px solid var(--border-strong); border-radius: 6px; background: var(--surface) center / 14px no-repeat;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.check input:checked {
  background-color: var(--accent); border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: var(--danger); }
.check small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.rf__error { padding: 12px 14px; border-radius: var(--r-md); background: #fbeaea; color: var(--danger); font-size: 14px; margin: 12px 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* child age: «До года / 1 год и старше» + one tap on a number (chips like the day strip) */
.age { border: 0; padding: 0; margin: 0; min-width: 0; }
.units { display: none; grid-template-columns: 1fr 1fr; gap: 8px; }
.js .units { display: grid; }
.units__btn {
  min-height: 48px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--r-md);
  background: var(--surface); font: 500 15px/1.2 var(--font); cursor: pointer;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.units__btn:hover { background: var(--surface-2); }
.units__btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.age__group { margin-top: 10px; }
.js .age__group { display: none; }
.js .age[data-unit="m"] [data-age-group="m"], .js .age[data-unit="y"] [data-age-group="y"] { display: block; }
.age__cap { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.js .age__cap { display: none; }
.age__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.agechip { position: relative; cursor: pointer; }
.agechip--wide { grid-column: span 2; }
.agechip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.agechip span {
  display: flex; align-items: center; justify-content: center; height: 44px; padding: 0 6px;
  border: 1px solid var(--border); border-radius: var(--r-md); font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}
.agechip--wide span { font-size: 14px; }
.agechip:hover span { border-color: var(--border-strong); }
.agechip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.agechip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.age__sel { min-height: 22px; margin-top: 8px; font-weight: 600; }
.age__sel:empty { display: none; }
.quick--static { color: var(--text); }
.quick--static .i { color: var(--muted); }

/* bottom bar: what is chosen + one action */
.bar {
  position: sticky; bottom: 0; z-index: 10;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  min-height: var(--bar-h);
  margin: 24px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--border);
}
@media (min-width: 1024px) { .bar { margin: 32px -40px 0; padding: 16px 40px; border-radius: 0 0 var(--r-lg) var(--r-lg); } }
.bar__info { display: flex; flex-direction: column; min-width: 0; }
.bar__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.bar__title.is-empty { font-size: 14px; font-weight: 400; color: var(--muted); }
.bar__sub { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-md); border: 1px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 150ms var(--ease), opacity 150ms var(--ease), transform 100ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); flex: none; }
.btn--primary:hover { background: #33312f; }
.btn--primary[aria-disabled="true"] { background: var(--surface-2); color: #a3a3a8; cursor: not-allowed; }
.btn--primary[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn--ghost { border-color: var(--border-strong); background: var(--surface); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--block { width: 100%; white-space: normal; padding: 12px 16px; line-height: 1.3; }
.btn .i { flex: none; }

/* done */
.done { padding: 32px 0 8px; outline: none; }
.done__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.done__title { margin-top: 20px; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.done__num { margin-top: 4px; color: var(--muted); }
.done__repeat { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md); background: var(--warn-soft); color: var(--warn); font-size: 14px; }
.next { margin: 10px 0 24px; display: grid; gap: 16px; font-size: 15px; line-height: 1.45; }
.done__back { display: inline-block; margin-top: 16px; font-size: 14px; }

.pricedate { margin-top: 20px; font-size: 13px; color: var(--muted); }
.paused { margin-top: 24px; padding: 16px; border-radius: var(--r-md); background: var(--surface-2); }

/* powered by Findz */
.powered { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding: 20px 0; font-size: 12px; color: var(--muted); }
.powered a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--muted); }
.powered .mark { width: 14px; height: 13px; }
.wordmark { font-family: Montserrat, "Arial Black", system-ui, sans-serif; font-weight: 900; letter-spacing: -0.02em; font-size: 12px; }
.powered .test { color: var(--warn); }
.powered--aside { display: none; }
@media (min-width: 1024px) {
  .powered--aside { display: flex; justify-content: flex-start; padding: 24px 0 0; margin-top: 20px; border-top: 1px solid var(--border); }
  .is-partner .powered--main { display: none; }
  .shell--single .powered--main { display: flex; }
}

/* Findz Med own pages */
.sitebar { border-bottom: 1px solid var(--border); }
.sitebar__in { max-width: 720px; margin: 0 auto; height: 56px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.sitebar__brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--text); }
.sitebar__brand .mark { width: 22px; height: 20px; }
.sitebar__brand .wordmark { font-size: 18px; }
.sitebar__product { font-size: 18px; font-weight: 500; color: var(--muted); }
.page { max-width: 720px; margin: 0 auto; padding: 32px var(--gutter) 48px; }
.page--wide { max-width: 1200px; }
.page__title { font-size: 28px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.page__lead { margin-top: 10px; color: var(--muted); max-width: 60ch; }
.rows--links { margin-top: 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.linkrow { display: flex; align-items: center; gap: 12px; padding: 16px 0; text-decoration: none; color: var(--text); }
.linkrow + .linkrow { border-top: 1px solid var(--border); }
.linkrow__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.linkrow .i { color: var(--muted); }
.linkrow:hover .opt__name { text-decoration: underline; text-underline-offset: 3px; }
.prose { line-height: 1.6; }
.prose h2 { font-size: 17px; font-weight: 600; margin: 24px 0 6px; }
.prose p { margin: 0 0 10px; color: #3a3a40; max-width: 65ch; }
.table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--border); border-radius: var(--r-md); }
.ops { width: 100%; border-collapse: collapse; font-size: 13px; }
.ops th, .ops td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.ops th { background: var(--surface-2); font-weight: 500; color: var(--muted); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── service page /{partner}/{service} (SEO, 27.11.2026) ──────────────────────── */
.svc { padding-top: 16px; }
@media (min-width: 1024px) { .svc { padding-top: 28px; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: 2px; color: var(--text); font-weight: 500; min-height: 32px; }
.svc__title { margin-top: 12px; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 1024px) { .svc__title { font-size: 32px; } }
.svc__price { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.svc__price b { font-size: 22px; font-weight: 600; white-space: nowrap; }
.svc__repeat { font-size: 15px; color: var(--muted); }
.svc__facts { display: grid; gap: 12px; margin-top: 20px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-lg); font-size: 15px; }
.fact--prep > div { color: var(--warn); }
.fact--prep .i { color: var(--warn); }
.svc__h2 { margin: 28px 0 8px; font-size: 17px; font-weight: 600; }
.svc__list { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: #3a3a40; columns: 1; }
@media (min-width: 640px) { .svc__list { display: block; columns: 2; column-gap: 32px; } .svc__list li { margin-bottom: 4px; break-inside: avoid; } }
.svc__hint { margin: 20px 0 0; }
.svc__where { display: grid; gap: 14px; font-size: 15px; }
.rows--tight { margin-top: 4px; }
.linkrow__price { flex: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.svc__all { margin-top: 16px; font-size: 15px; }
.svc .bar .btn { min-width: 150px; }

/* crawlable list of all service pages under the booking form */
.idx { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 4px; font-size: 14px; }
.idx summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  font-weight: 500; color: var(--text);
}
.idx summary::-webkit-details-marker { display: none; }
.idx summary .i { transition: transform 200ms var(--ease); }
.idx[open] summary .i { transform: rotate(180deg); }
.idx__title { margin: 16px 0 4px; font-size: 14px; font-weight: 600; }
.idx__list { list-style: none; margin: 0; padding: 0; }
.idx__link { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; text-decoration: none; color: var(--muted); }
.idx__link:hover span:first-child { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.idx__price { flex: none; white-space: nowrap; }
.idx__note { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 4px; color: var(--muted); }
