/* =============================================================
   Админ-панель сервиса записи — mobile-first, по образцу PRIMER-2.
   Дизайн-токены, карточки, чипы, нижняя навигация, bottom-sheets,
   формы и тосты. На десктопе контент ограничен 600px по центру.
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Токены общие с кабинетом мастера (cabinet.css) — единый стиль проекта. */
  --bg:           #F2F4F8;
  --surface:      #FFFFFF;
  --surface-2:    #F7F8FC;
  --border:       #E6E9F4;
  --accent:       #5B6EF5;
  --accent-h:     #4558E0;
  --accent-soft:  #ECEFFE;
  --green:        #10B981;
  --green-soft:   #D1FAE5;
  --orange:       #F59E0B;
  --orange-soft:  #FEF3C7;
  --red:          #EF4444;
  --red-soft:     #FEE2E2;
  --purple:       #8B5CF6;
  --purple-soft:  #EDE9FE;
  --pink:         #EC4899;
  --pink-soft:    #FCE7F3;
  --text-1:       #1E2235;
  --text-2:       #5A5E78;
  --text-3:       #A0A4B8;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  /* Единый горизонтальный отступ страниц (шапка и контент всех страниц). */
  --page-pad:     8px;
  --shadow-sm:    0 1px 4px rgba(30,34,53,.05);
  --shadow:       0 2px 12px rgba(30,34,53,.08);
  --shadow-lg:    0 8px 40px rgba(30,34,53,.16);
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --tr:           .18s ease;
  --nb-h:         58px;
  --grad:         linear-gradient(150deg, #5B6EF5 0%, #7C3AED 100%);
  /* Совместимость со старыми именами переменных. */
  --success:      var(--green);
  --success-soft: var(--green-soft);
  --danger:       var(--red);
  --danger-soft:  var(--red-soft);
  --shadow-md:    var(--shadow);
  --bottom-bar:   var(--nb-h);
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: var(--bottom-bar);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }

/* ===================== HEADER ===================== */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--page-pad);
  max-width: 600px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.4px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.header-title {
  flex: 1;
  min-width: 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}
.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  transition: background var(--tr);
}
.header-avatar:hover { background: rgba(79,110,247,.15); }

.hnav-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--tr);
}
.hnav-item:hover { border-color: var(--accent); color: var(--accent); }
.hnav-item.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

/* ===================== CONTENT ===================== */
.content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--page-pad) 24px;
}

/* ===================== PAGE HEAD ===================== */
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 12px;
  gap: 12px;
}
.page-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -.3px; }
.page-sub { font-size: .82rem; color: var(--text-3); margin-top: 2px; }
.btn-round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--tr), transform var(--tr);
  display: grid;
  place-items: center;
}
.btn-round:active { background: var(--accent-h); transform: scale(.95); }

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, #4F6EF7 0%, #7B5FFC 100%);
  border-radius: var(--radius);
  padding: 22px 20px;
  color: #fff;
  margin: 16px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}
.hero-sub {
  font-size: .75rem; font-weight: 600;
  opacity: .75; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 4px;
}
.hero h1 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.hero-desc { font-size: .82rem; opacity: .8; margin-top: 6px; }

/* ===================== CARDS / LIST ===================== */
.masters-list { display: flex; flex-direction: column; gap: 12px; }

.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 12px; }
.card-title {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -.2px;
  margin-bottom: 12px;
}

/* item as svc-item / staff card */
.svc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.svc-item:last-child { border-bottom: none; }
.svc-ava {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.svc-info { flex: 1; min-width: 0; }
.svc-name { font-size: .92rem; font-weight: 600; }
.svc-dur { font-size: .75rem; color: var(--text-3); margin-top: 1px; }
.svc-price { font-size: .92rem; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.svc-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

.master-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.mtag {
  position: relative;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: .7rem;
  color: var(--text-2);
}

/* ===================== CATEGORY CHIPS ===================== */
.cats-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none;
}
.cats-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 10px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  min-width: 68px;
  position: relative;
}
.cat-chip .cat-label { font-size: .7rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.cat-chip .chip-del {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--surface);
  background: var(--danger);
  color: #fff;
  font-size: .6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ===================== RESULTS BAR ===================== */
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 10px;
}
.results-count { font-size: .82rem; color: var(--text-2); }
.results-count strong { color: var(--text-1); }

/* ===================== FORMS ===================== */
.form-group { margin-bottom: 12px; }
.form-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 5px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-1);
  font-size: .9rem;
  outline: none;
  font-family: var(--font);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,110,247,.1);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-3); }
.form-textarea { resize: none; min-height: 72px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ДАТЫ И ВРЕМЯ — единый стандарт (как в cabinet.css): поле занимает ширину
   контейнера и не выходит за рамку; внутренняя min-ширина нативных
   контролов сбрасывается. */
input[type="date"],
input[type="month"],
input[type="datetime-local"],
input[type="time"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  max-inline-size: 100%;
  min-inline-size: 0;
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.check-row:last-child { border-bottom: none; }
.check-row label { font-size: .9rem; color: var(--text-1); cursor: pointer; }
.switch {
  width: 42px; height: 24px;
  border-radius: 12px;
  background: var(--border);
  position: relative;
  cursor: pointer;
  transition: background var(--tr);
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.switch::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 3px; left: 3px;
  transition: transform var(--tr);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.switch:checked { background: var(--accent); }
.switch:checked::before { transform: translateX(18px); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr);
  letter-spacing: -.1px;
  border: none;
  font-family: var(--font);
}
.btn-primary {
  border: none;
  background: var(--accent);
  color: #fff;
}
.btn-primary:active { background: var(--accent-h); transform: scale(.98); }
.btn-block { width: 100%; display: flex; }
/* вертикальные отступы: кнопки и следующие за ними формы не «склеиваются» */
.btn-block + .btn-block,
.btn-block + form { margin-top: 12px; }
.login-card form + form { margin-top: 12px; }
/* кнопка целиком внутри карточки не липнет к её контенту */
.card > .btn-block { margin-top: 12px; }
/* кнопка, следующая за карточкой (например «Как зарегистрироваться» после about-block) */
.card + .btn-block { margin-top: 12px; }
/* кнопка после списка карточек (лендинг: masters-list → «Записаться») */
.masters-list + .btn-block { margin-top: 12px; }
.btn-ghost {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger {
  background: var(--danger-soft);
  color: var(--danger);
}
.btn-danger:active { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: .8rem; }
.btn-grow { flex: 1; }

/* link-service строка на карточке исполнителя */
.link-form { display: flex; gap: 8px; margin-top: 12px; }
.link-form .form-select { flex: 1; min-width: 140px; }

/* шапка карточки исполнителя */
.master-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

/* ===================== BADGE ===================== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}
.badge-active { background: var(--success-soft); color: #16A34A; }
.badge-inactive { background: #F3F4F6; color: #6B7280; }

/* ===================== BOTTOM NAV ===================== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 300;
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-3);
  transition: color var(--tr);
  text-decoration: none;
  font-family: var(--font);
}
.nav-item.active { color: var(--accent); }
.nav-logout { display: contents; }
.nav-icon { font-size: 1.25rem; line-height: 1; }

/* ===================== SHEETS ===================== */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}
.sheet-overlay.show { opacity: 1; pointer-events: all; }

.sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  z-index: 500;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32,1,.32,1);
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.sheet.show { transform: translateY(0); }

.sheet-handle {
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin: 12px auto 0;
}
.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 0;
}
.sheet-title { font-size: 1rem; font-weight: 700; }
.sheet-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--text-2);
  cursor: pointer;
}
.sheet-body { padding: 12px 20px 0; }
.sheet-actions {
  padding: 16px 20px 4px;
  display: flex;
  gap: 10px;
}

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-bar) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1A1D2E;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  z-index: 1000;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================== LOGIN ===================== */
.login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 26px 22px;
}
.login-card .logo { margin-bottom: 14px; }
.login-card h1 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.4px; }
.login-card p { font-size: .85rem; color: var(--text-3); margin: 4px 0 18px; }
.login-error {
  background: var(--danger-soft);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  margin-bottom: 14px;
  display: none;
}

/* ===================== EMPTY ===================== */
.empty {
  text-align: center;
  padding: 30px 16px;
  color: var(--text-3);
  font-size: .85rem;
}
.empty-icon { font-size: 2.2rem; margin-bottom: 6px; }

/* ===================== PUBLIC AUTH ===================== */
.form-cta {
  display: block;
  margin-top: 12px;
  font-size: .85rem;
  color: var(--accent);
  text-align: center;
}
.reg-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-2, #F2F4F8);
  border-radius: var(--radius-sm, 12px);
  padding: 4px;
  margin-bottom: 14px;
}
.reg-tab {
  border: none;
  background: transparent;
  padding: 9px 0;
  border-radius: calc(var(--radius-sm, 12px) - 4px);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-3, #8A93A6);
  cursor: pointer;
}
.reg-tab.active {
  background: var(--surface, #fff);
  color: var(--accent, #4F6EF7);
  box-shadow: var(--shadow-sm, none);
}
.reg-form { display: block; }
.reg-form label span { color: var(--text-3, #8A93A6); font-weight: 400; }
.form-hint { font-size: .78rem; color: var(--text-3, #8A93A6); }

/* ===================== HTMX ===================== */
.htmx-request { opacity: .5; pointer-events: none; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.htmx-added .svc-item { animation: fadeIn .2s ease; }

/* ===================== МАСТЕР ЗАПИСИ (этап 8) ===================== */
.step-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.3px;
  margin: 6px 0 12px;
  outline: none;
}
.wz-option {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: .92rem;
  color: var(--text-1);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.wz-option:hover { border-color: rgba(79,110,247,.4); }
.wz-option.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.slot-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 4px; }
.slot-btn {
  background: var(--accent-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: background var(--tr), border-color var(--tr);
}
.slot-btn:hover { background: #E1E8FF; border-color: var(--accent); }
.wz-status {
  font-size: .82rem;
  color: var(--text-2);
  min-height: 20px;
  margin-top: 4px;
}
.wz-status.wz-loading { color: var(--accent); }
.wz-status.wz-loading::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: wz-spin .7s linear infinite;
}
@keyframes wz-spin { to { transform: rotate(360deg); } }
.wz-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 14px;
  margin-bottom: 12px;
}
.wz-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.wz-summary-row:last-child { border-bottom: none; }
.wz-summary-label { color: var(--text-2); flex-shrink: 0; }
.wz-summary-value { font-weight: 600; text-align: right; word-break: break-word; }
.form-input[readonly] { background: #F3F4F6; color: var(--text-2); }

/* ===================== DESKTOP TWEAKS (min-width 600px) ===================== */
@media (min-width: 600px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .content { padding: 0 24px 40px; }
  .header-inner { max-width: 760px; }
  .header-nav { display: flex; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .card:hover {
    border-color: rgba(79,110,247,.4);
    box-shadow: var(--shadow-md);
  }
  .sheet {
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border-radius: 24px 24px 0 0;
  }
  .sheet.show { transform: translateX(-50%) translateY(0); }
}

/* scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ============================================================
   Приведение публичных страниц к общему стилю кабинетов.
   Дизайн-токены и базовые компоненты такие же, как в cabinet.css.
   ============================================================ */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .95rem;
  color: var(--text-1);
  letter-spacing: -.2px;
}
.logo-dot {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--grad);
  box-shadow: var(--shadow-sm);
}

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px var(--page-pad) 32px;
  background: var(--bg);
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 18px 20px;
}
.login-card h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.3px;
  margin: 12px 0 4px;
  color: var(--text-1);
}
.login-card p {
  font-size: .84rem;
  color: var(--text-2);
  margin-bottom: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
}

.form-cta {
  display: block;
  text-align: center;
  font-size: .8rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: 10px;
}
.form-cta:hover { color: var(--accent-h); }

.empty {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-3);
  font-size: .85rem;
  line-height: 1.5;
}
.empty-icon { font-size: 2rem; display: block; margin-bottom: 8px; }

.toast {
  position: fixed;
  bottom: calc(var(--nb-h) + 12px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #1E2235;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 500;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  transition: all .28s cubic-bezier(.34, 1.5, .64, 1);
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Занятые старты сетки в визарде записи (этап 9.2): видны, но недоступны. */
.slot-btn.busy {
  color: var(--text-3);
  text-decoration: line-through;
  background: var(--surface-2);
  cursor: not-allowed;
  opacity: .75;
}

/* Подтверждение выбранного времени в визарде записи (шаг 4). */
.wz-question { margin: 4px 0 14px; }
.wz-question-text {
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text-1);
}
.wz-question-text b { color: var(--accent); font-weight: 700; }

/* Страница «О сервисе»: списки выгод для мастеров и клиентов */
.about-block h2 { margin-bottom: 6px; }
.about-list,
.about-steps {
  margin: 0 0 2px 18px;
  padding: 0;
  list-style-position: outside;
}
.about-list li,
.about-steps li {
  font-size: .85rem;
  color: var(--text-2);
  line-height: 1.45;
  margin-bottom: 6px;
}
.about-list li:last-child,
.about-steps li:last-child { margin-bottom: 0; }
.about-list b { color: var(--text-1); }
.about-block .btn-block + .btn-block { margin-top: 8px; }
.about-foot {
  font-size: .82rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 12px;
}
.about-foot a { color: var(--accent); text-decoration: none; }
.about-foot a:hover { text-decoration: underline; }

/* Подзаголовок страницы «О сервисе». */
.about-lead {
  font-size: .9rem;
  color: var(--text-2);
  margin: -4px 0 12px;
}
