/* Mother Site — AI OS shell */

.page-loader.hidden,
.page-loader[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.mother-site::before,
body.mother-site::after {
  opacity: 0.14;
}

body.mother-site::before {
  background: radial-gradient(circle at 20% 10%, rgba(217, 40, 43, 0.06), transparent 58%);
}

body.mother-site::after {
  background: radial-gradient(circle at 85% 0%, rgba(31, 31, 31, 0.03), transparent 55%);
}

.mother-brand__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.mother-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.mother-logo-full {
  max-width: min(168px, 100%);
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.mother-side {
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

/* Mother sidebar — scoped overrides for template .side-nav (desktop + mobile drawer share one DOM) */
body.mother-site .mother-side {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100dvh;
  padding: 0;
  gap: 0;
}

body.mother-site .mother-side .mother-brand {
  flex-shrink: 0;
  padding: 14px 16px 10px;
}

body.mother-site .mother-sidebar-nav.mother-side-nav {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  padding: 4px 12px 16px;
  gap: 0;
  overflow-y: auto;
}

body.mother-site .mother-sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.mother-site .mother-sidebar-group--primary {
  gap: 8px;
  padding-top: 2px;
}

body.mother-site .mother-sidebar-divider {
  height: 1px;
  margin: 18px 0;
  background: rgba(31, 31, 31, 0.08);
  flex-shrink: 0;
}

body.mother-site .mother-sidebar-spacer {
  flex: 1 1 auto;
  min-height: 24px;
}

body.mother-site .mother-sidebar-group--bottom {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 31, 31, 0.08);
}

body.mother-site .mother-side-nav .nav-item.mother-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  color: inherit;
  text-align: left;
  line-height: 1.3;
  padding: 10px 14px;
  border-radius: 14px;
}

body.mother-site .mother-side-nav .nav-item.mother-sidebar-item .ico svg {
  stroke: rgba(31, 31, 31, 0.52);
}

body.mother-site .mother-side-nav .nav-item.mother-sidebar-item:hover,
body.mother-site .mother-side-nav .nav-item.mother-sidebar-item:focus-visible {
  background: rgba(31, 31, 31, 0.05);
}

body.mother-site .mother-side-nav .nav-item.mother-sidebar-item:hover .ico svg,
body.mother-site .mother-side-nav .nav-item.mother-sidebar-item:focus-visible .ico svg {
  stroke: rgba(31, 31, 31, 0.78);
}

body.mother-site .mother-sidebar-item--login {
  gap: 10px;
}

body.mother-site .mother-sidebar-login__avatar {
  width: 32px;
  height: 32px;
  margin-left: auto;
  flex: 0 0 32px;
  border-radius: 50%;
  background: rgba(31, 31, 31, 0.05);
  border: 1px solid rgba(31, 31, 31, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(31, 31, 31, 0.62);
}

body.mother-site .mother-sidebar-login__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.mother-site .mother-sidebar-login__initials {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

body.mother-site .mother-sidebar-login__avatar.is-authenticated {
  background: rgba(220, 80, 86, 0.08);
  border-color: rgba(220, 80, 86, 0.22);
  color: #9f3a42;
}

body.mother-site .mother-sidebar-item--login.is-authenticated .nav-label {
  font-weight: 600;
}

body.mother-site .mother-sidebar-group--owner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 10px 8px;
  flex-shrink: 0;
}

body.mother-site .mother-sidebar-group--owner[hidden] {
  display: none !important;
}

body.mother-site .mother-sidebar-owner__profile-card {
  flex-shrink: 0;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(220, 80, 86, 0.14);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 244, 245, 0.92) 100%);
  box-shadow:
    0 10px 24px rgba(31, 31, 31, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.mother-site .mother-sidebar-owner__profile-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.mother-site .mother-sidebar-owner__profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #eb7b7d 0%, #dc5056 100%);
  box-shadow: 0 6px 16px rgba(220, 80, 86, 0.22);
}

body.mother-site .mother-sidebar-owner__profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.mother-site .mother-sidebar-owner__profile-initials {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}

body.mother-site .mother-sidebar-owner__profile-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.mother-site .mother-sidebar-owner__label,
body.mother-site .mother-sidebar-owner__heading {
  display: block;
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.48);
}

body.mother-site .mother-sidebar-owner__profile-name,
body.mother-site .mother-sidebar-owner__profile-email,
body.mother-site .mother-sidebar-owner__profile-phone {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

body.mother-site .mother-sidebar-owner__profile-name {
  font-weight: 700;
  color: #1f1f1f;
}

body.mother-site .mother-sidebar-owner__profile-name.is-placeholder,
body.mother-site .mother-sidebar-owner__profile-phone.is-placeholder {
  font-weight: 500;
  color: rgba(31, 31, 31, 0.42);
}

body.mother-site .mother-sidebar-owner__profile-email {
  font-weight: 600;
  color: #4a3f62;
}

body.mother-site .mother-sidebar-owner__profile-phone {
  font-weight: 500;
  color: #6b7280;
}

body.mother-site .mother-sidebar-owner__profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 31, 31, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: #4a3f62;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

body.mother-site .mother-sidebar-owner__profile-btn:hover {
  background: #fff;
  border-color: rgba(220, 80, 86, 0.22);
}

body.mother-site .mother-sidebar-owner__profile-editor {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 31, 31, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.mother-site .mother-sidebar-owner__profile-editor[hidden] {
  display: none !important;
}

body.mother-site .mother-sidebar-owner__profile-form {
  display: grid;
  gap: 10px;
  margin: 0;
}

body.mother-site .mother-sidebar-owner__profile-field {
  display: grid;
  gap: 4px;
  margin: 0;
}

body.mother-site .mother-sidebar-owner__profile-field-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.48);
}

body.mother-site .mother-sidebar-owner__profile-input {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(31, 31, 31, 0.12);
  background: #fff;
  color: #1f1f1f;
  font-size: 13px;
  line-height: 1.35;
  box-sizing: border-box;
}

body.mother-site .mother-sidebar-owner__profile-input:focus {
  outline: none;
  border-color: rgba(220, 80, 86, 0.35);
  box-shadow: 0 0 0 3px rgba(220, 80, 86, 0.12);
}

body.mother-site .mother-sidebar-owner__profile-input--file {
  padding: 6px 8px;
  font-size: 12px;
}

body.mother-site .mother-sidebar-owner__profile-field--readonly .mother-sidebar-owner__profile-editor-email {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(244, 240, 255, 0.55);
  border: 1px dashed rgba(31, 31, 31, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: #4a3f62;
  word-break: break-word;
}

body.mother-site .mother-sidebar-owner__profile-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.mother-site .mother-sidebar-owner__profile-save,
body.mother-site .mother-sidebar-owner__profile-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  border: 1px solid transparent;
}

body.mother-site .mother-sidebar-owner__profile-save {
  color: #fff;
  background: linear-gradient(135deg, #eb7b7d 0%, #dc5056 100%);
}

body.mother-site .mother-sidebar-owner__profile-cancel {
  color: #4a3f62;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(31, 31, 31, 0.12);
}

body.mother-site .mother-sidebar-owner__profile-editor-status {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
}

body.mother-site .mother-sidebar-owner__profile-editor-status.is-error {
  color: #b42318;
}

body.mother-site .mother-sidebar-owner__divider {
  flex-shrink: 0;
  height: 1px;
  margin: 0 4px;
  background: linear-gradient(
    90deg,
    rgba(31, 31, 31, 0) 0%,
    rgba(31, 31, 31, 0.12) 50%,
    rgba(31, 31, 31, 0) 100%
  );
}

body.mother-site .mother-sidebar-owner__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  min-height: 0;
}

body.mother-site .mother-sidebar-owner__list {
  display: grid;
  gap: 8px;
  max-height: min(42vh, 320px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}

body.mother-site .mother-sidebar-owner__item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(31, 31, 31, 0.08);
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 31, 31, 0.04);
}

body.mother-site .mother-sidebar-owner__item-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1f1f1f;
}

body.mother-site .mother-sidebar-owner__item-slug {
  margin: 2px 0 0;
  font-size: 12px;
  color: #6b7280;
}

body.mother-site .mother-sidebar-owner__item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.mother-site .mother-sidebar-owner__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

body.mother-site .mother-sidebar-owner__action--primary {
  color: #fff;
  background: linear-gradient(135deg, #eb7b7d 0%, #dc5056 100%);
}

body.mother-site .mother-sidebar-owner__action--ghost {
  color: #4a3f62;
  background: #f4f0ff;
  border-color: #e4dbff;
}

body.mother-site .mother-sidebar-owner__empty {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(31, 31, 31, 0.1);
}

body.mother-site .mother-sidebar-owner__create .nav-label {
  line-height: 1.25;
}

@media (max-width: 768px) {
  body.mother-site .mother-sidebar-owner__list {
    max-height: none;
  }
}

/* Sidebar collapse toggle + collapsed rail (desktop/tablet only) */
body.mother-site .mother-sidebar-collapse-toggle {
  display: none;
}

@media (min-width: 769px) {
  body.mother-site .mother-brand {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  body.mother-site .mother-sidebar-collapse-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(31, 31, 31, 0.06);
    color: rgba(31, 31, 31, 0.72);
    cursor: pointer;
    flex-shrink: 0;
  }

  body.mother-site .mother-sidebar-collapse-toggle:hover,
  body.mother-site .mother-sidebar-collapse-toggle:focus-visible {
    background: rgba(31, 31, 31, 0.1);
    outline: none;
  }

  body.mother-site .mother-sidebar-collapse-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.mother-site .mother-sidebar-collapse-toggle__icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
  }

  body.mother-site .mother-sidebar-collapse-toggle.is-collapsed .mother-sidebar-collapse-toggle__icon svg {
    transform: rotate(180deg);
  }

  body.mother-site.mother-sidebar-collapsed {
    --sidew: 84px;
  }

  body.mother-site.mother-sidebar-collapsed .mother-side {
    width: var(--sidew);
    min-width: var(--sidew);
    overflow: visible;
  }

  body.mother-site.mother-sidebar-collapsed .mother-brand {
    justify-content: center;
    padding: 14px 8px 10px;
  }

  body.mother-site.mother-sidebar-collapsed .mother-brand__link {
    display: none;
  }

  body.mother-site.mother-sidebar-collapsed .mother-sidebar-nav.mother-side-nav {
    padding: 4px 8px 16px;
    overflow-x: visible;
    overflow-y: auto;
  }

  body.mother-site.mother-sidebar-collapsed .mother-sidebar-divider {
    display: none;
  }

  body.mother-site.mother-sidebar-collapsed .mother-sidebar-group--bottom {
    border-top: 0;
    padding-top: 8px;
  }

  body.mother-site.mother-sidebar-collapsed .mother-side-nav .nav-item.mother-sidebar-item {
    position: relative;
    justify-content: center;
    padding: 10px;
    gap: 0;
  }

  body.mother-site.mother-sidebar-collapsed .mother-side-nav .nav-item.mother-sidebar-item .nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  body.mother-site.mother-sidebar-collapsed .mother-sidebar-item--login .ico {
    display: none;
  }

  body.mother-site.mother-sidebar-collapsed .mother-sidebar-login__avatar {
    margin-left: 0;
  }

  body.mother-site.mother-sidebar-collapsed .mother-sidebar-group--owner {
    display: none;
  }
}

body.mother-site .mother-sidebar-flyout-label {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  background: #1e1e1e;
  color: #ffffff;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(31, 31, 31, 0.2);
  left: 0;
  top: 0;
}

body.mother-site .mother-sidebar-flyout-label--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

body.mother-site .mother-sidebar-account-menu {
  position: fixed;
  z-index: 10000;
  width: min(280px, calc(100vw - 16px));
  max-width: calc(100vw - 16px);
  box-sizing: border-box;
  padding: 14px;
  border-radius: 14px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  color: #f5f5f5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  overflow: hidden;
}

body.mother-site .mother-sidebar-account-menu[hidden] {
  display: none !important;
}

body.mother-site .mother-sidebar-account-menu.mother-sidebar-account-menu--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.mother-site .mother-sidebar-account-menu {
    transition: none;
  }
}

body.mother-site .mother-sidebar-account-menu__profile {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

body.mother-site .mother-sidebar-account-menu__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
}

body.mother-site .mother-sidebar-account-menu__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.mother-site .mother-sidebar-account-menu__meta {
  min-width: 0;
  flex: 1 1 auto;
}

body.mother-site .mother-sidebar-account-menu__name,
body.mother-site .mother-sidebar-account-menu__email,
body.mother-site .mother-sidebar-account-menu__phone {
  margin: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.mother-site .mother-sidebar-account-menu__name {
  font-size: 15px;
  font-weight: 600;
}

body.mother-site .mother-sidebar-account-menu__name.is-placeholder,
body.mother-site .mother-sidebar-account-menu__phone.is-placeholder {
  opacity: 0.72;
  font-weight: 500;
}

body.mother-site .mother-sidebar-account-menu__email {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

body.mother-site .mother-sidebar-account-menu__phone {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

body.mother-site .mother-sidebar-account-menu__businesses {
  margin-bottom: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.mother-site .mother-sidebar-account-menu__businesses[hidden] {
  display: none !important;
}

body.mother-site .mother-sidebar-account-menu__section-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

body.mother-site .mother-sidebar-account-menu__business-list {
  display: grid;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
  overflow-x: hidden;
}

body.mother-site .mother-sidebar-account-menu__actions {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.mother-site .mother-sidebar-account-menu__action {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 12px;
  cursor: pointer;
  text-align: center;
}

body.mother-site .mother-sidebar-account-menu__action:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.mother-site .mother-sidebar-account-menu__action--logout {
  border-color: rgba(220, 80, 86, 0.42);
  background: rgba(220, 80, 86, 0.14);
  color: #ffb4b8;
}

body.mother-site .mother-sidebar-account-menu__action--logout:hover {
  background: rgba(220, 80, 86, 0.22);
}

:root {
  --mother-header-h: 40px;
}

body.mother-site {
  background: var(--bg);
  --mother-composer-safe-space: max(calc(var(--composer-h, 84px) + 40px), 160px);
  --mother-surface-radius: 30px;
  --mother-surface-radius-sm: 26px;
  --mother-surface-border: 1px solid rgba(255, 255, 255, 0.82);
  --mother-surface-shadow:
    0 22px 48px rgba(31, 31, 31, 0.08),
    0 2px 0 rgba(255, 255, 255, 0.65) inset;
  --mother-accent-coral: #dc5056;
  --mother-accent-coral-deep: #c74349;
  --mother-accent-coral-soft: #eb7b7d;
  --mother-primary: var(--mother-accent-coral);
  --mother-primary-deep: var(--mother-accent-coral-deep);
  --mother-primary-soft: rgba(220, 80, 86, 0.1);
  --mother-primary-soft-medium: rgba(220, 80, 86, 0.14);
  --mother-primary-ring: rgba(220, 80, 86, 0.35);
  --mother-primary-shadow: rgba(199, 67, 73, 0.22);
  --mother-primary-disabled-opacity: 0.52;
  --mother-cta-gradient: linear-gradient(135deg, #eb7b7d 0%, #dc5056 52%, #c74349 100%);
  --mother-cta-gradient-hover: linear-gradient(135deg, #ef8688 0%, #e05c62 52%, #cf4a50 100%);
  --mother-ai-green: #17b26a;
  --mother-ai-green-deep: #128f58;
  --mother-ai-green-soft: rgba(23, 178, 106, 0.12);
  --mother-ai-green-ring: rgba(23, 178, 106, 0.32);
  --mother-result-gradient: linear-gradient(135deg, #1fcd75 0%, #17b26a 52%, #128f58 100%);
  --mother-result-shadow: rgba(18, 143, 88, 0.22);
  --mother-user-bubble: var(--mother-primary);
  --mother-user-bubble-border: var(--mother-primary-deep);
  --mother-surface-warm: linear-gradient(155deg, rgba(255, 252, 252, 0.98), rgba(252, 248, 248, 0.94));
}

/* Mother onboarding — unified matte red primary controls */
.mother-branch-card__button--primary,
.mother-specialist-card__button--primary,
.mother-structure-summary__button--primary,
.mother-services-summary__button--primary,
.mother-schedule-summary__button--primary,
.mother-readiness-summary__button--primary,
.mother-auth-btn--primary,
.mother-niche-card__button {
  color: #fff;
  background: var(--mother-cta-gradient);
  border: 0;
  box-shadow: 0 8px 18px var(--mother-primary-shadow);
}

.mother-branch-card__button--primary:hover:not(:disabled),
.mother-specialist-card__button--primary:hover:not(:disabled),
.mother-structure-summary__button--primary:hover:not(:disabled),
.mother-services-summary__button--primary:hover:not(:disabled),
.mother-schedule-summary__button--primary:hover:not(:disabled),
.mother-readiness-summary__button--primary:hover:not(:disabled),
.mother-auth-btn--primary:hover:not(:disabled),
.mother-niche-card__button:hover:not(:disabled) {
  background: var(--mother-cta-gradient-hover);
}

.mother-branch-card__button--primary:focus-visible:not(:disabled),
.mother-specialist-card__button--primary:focus-visible:not(:disabled),
.mother-structure-summary__button--primary:focus-visible:not(:disabled),
.mother-services-summary__button--primary:focus-visible:not(:disabled),
.mother-schedule-summary__button--primary:focus-visible:not(:disabled),
.mother-readiness-summary__button--primary:focus-visible:not(:disabled),
.mother-auth-btn--primary:focus-visible:not(:disabled),
.mother-niche-card__button:focus-visible:not(:disabled),
.mother-services-suggestion__select:focus-visible {
  outline: 2px solid var(--mother-primary-ring);
  outline-offset: 2px;
}

.mother-branch-card__button--primary:disabled,
.mother-specialist-card__button--primary:disabled,
.mother-structure-summary__button--primary:disabled,
.mother-services-summary__button--primary:disabled,
.mother-schedule-summary__button--primary:disabled,
.mother-readiness-summary__button--primary:disabled,
.mother-auth-btn--primary:disabled,
.mother-niche-card__button:disabled {
  opacity: var(--mother-primary-disabled-opacity);
  cursor: not-allowed;
  box-shadow: none;
}

.mother-branch-card__input:focus,
.mother-specialist-card__input:focus,
.mother-specialist-card__select:focus,
.mother-specialist-card__branch-select:focus,
.mother-structure-summary__input:focus,
.mother-structure-summary__select:focus,
.mother-services-form__input:focus,
.mother-schedule-form__input:focus,
.mother-auth-input:focus,
.mother-onb-field:focus,
.mother-onb-field:focus-visible {
  outline: none;
  border-color: rgba(216, 72, 82, 0.52);
  box-shadow:
    0 0 0 3px rgba(216, 72, 82, 0.14),
    0 0 0 1px rgba(216, 72, 82, 0.22);
  background: #ffffff;
}

body.mother-site .mother-main {
  background: var(--bg);
  flex: 1;
  min-width: 0;
}

body.mother-site .wrap {
  padding-bottom: calc(var(--mother-composer-safe-space) + env(safe-area-inset-bottom, 0px));
  scroll-padding-bottom: calc(var(--mother-composer-safe-space) + env(safe-area-inset-bottom, 0px));
}

.mother-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
}

@media (max-width: 979px) {
  .mother-header {
    min-height: var(--mother-header-h);
  }
}

.burger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  font-size: 16px;
  transition: opacity 0.15s ease;
}

.burger-icon--close {
  display: none;
  font-size: 22px;
  font-weight: 400;
}

.burger.is-open .burger-icon--menu {
  display: none;
}

.burger.is-open .burger-icon--close {
  display: inline-flex;
}

@media (max-width: 768px) {
  body.mother-site .mother-header {
    z-index: 1300;
  }

  body.mother-site .mother-side {
    z-index: 1200;
    top: 0;
    bottom: 0;
    height: 100%;
    min-height: 100dvh;
    padding-top: var(--mother-header-h);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  body.mother-site .mother-sidebar-nav.mother-side-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
  }

  body.mother-site .side-backdrop {
    z-index: 1100;
    top: var(--mother-header-h);
  }

  body.mother-site .burger {
    position: fixed;
    left: 12px;
    top: 6px;
    transform: none;
    z-index: 1310;
    margin: 0;
    transition: background-color 0.2s ease;
  }

  body.mother-site .burger.is-open {
    background: rgba(0, 0, 0, 0.12);
  }

  body.mother-site .wrap {
    margin-top: var(--mother-header-h);
    background: var(--bg);
  }

  body.mother-site .mother-header {
    background: var(--bg);
    left: 0;
    right: 0;
    width: 100%;
  }
}

.mother-hero {
  padding-top: 16px;
  padding-bottom: 4px;
}

.mother-hero-content {
  align-items: stretch;
}

.mother-hero-cta-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  border-radius: var(--mother-surface-radius);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 246, 247, 0.9) 58%, rgba(255, 255, 255, 0.94) 100%);
  border: 1px solid rgba(220, 80, 86, 0.12);
  box-shadow:
    0 22px 52px rgba(31, 31, 31, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.mother-hero-cta-waves {
  position: absolute;
  inset: clamp(18px, 3vw, 28px) clamp(14px, 2.4vw, 22px) clamp(120px, 24%, 180px);
  pointer-events: none;
  z-index: 1;
}

.mother-hero-cta-wave {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--mother-hero-wave-width, 78%);
  height: var(--mother-hero-wave-height, 52px);
  border-radius: 20px;
  border: 2px solid rgba(220, 80, 86, 0.34);
  background: linear-gradient(180deg, rgba(235, 123, 125, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow:
    0 0 28px rgba(220, 80, 86, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  opacity: 0;
  transform: translateX(-50%) translateY(0) scale(1);
  filter: blur(0.2px);
  animation: mother-hero-cta-wave-rise var(--mother-hero-wave-duration, 2.6s) ease-out infinite;
  animation-delay: var(--mother-hero-wave-delay, 0s);
}

.mother-hero-cta-wave--1 {
  --mother-hero-wave-width: 88%;
  --mother-hero-wave-height: 58px;
  --mother-hero-wave-duration: 2.8s;
  --mother-hero-wave-delay: 0s;
}

.mother-hero-cta-wave--2 {
  --mother-hero-wave-width: 76%;
  --mother-hero-wave-height: 48px;
  --mother-hero-wave-duration: 2.5s;
  --mother-hero-wave-delay: 0.55s;
}

.mother-hero-cta-wave--3 {
  --mother-hero-wave-width: 64%;
  --mother-hero-wave-height: 40px;
  --mother-hero-wave-duration: 2.2s;
  --mother-hero-wave-delay: 1.1s;
}

.mother-hero-cta-wave--4 {
  --mother-hero-wave-width: 52%;
  --mother-hero-wave-height: 34px;
  --mother-hero-wave-duration: 1.9s;
  --mother-hero-wave-delay: 1.65s;
}

@keyframes mother-hero-cta-wave-rise {
  0% {
    transform: translateX(-50%) translateY(8px) scale(0.98);
    opacity: 0.62;
  }

  70% {
    opacity: 0.16;
  }

  100% {
    transform: translateX(-50%) translateY(calc(-1 * var(--mother-hero-wave-travel, 168px))) scale(0.9);
    opacity: 0;
  }
}

.mother-hero-cta-panel__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: clamp(16px, 2.8vw, 24px);
}

body.mother-site .mother-hero-premium-cta {
  text-align: center;
}

body.mother-site .mother-hero-engineer-cta__line {
  display: block;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.12;
}

body.mother-site .mother-hero-engineer-cta__line + .mother-hero-engineer-cta__line {
  margin-top: 0.12em;
}

body.mother-site .mother-hero-premium-cta .mother-hero-engineer-cta__action {
  margin-top: 0.55em;
  font-size: clamp(22px, 4vw, 34px);
  letter-spacing: 0.08em;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mother-hero-cta-wave {
    animation: none;
    opacity: 0.22;
    transform: translateX(-50%) translateY(-48px) scale(0.96);
  }

  .mother-hero-cta-wave--2,
  .mother-hero-cta-wave--3,
  .mother-hero-cta-wave--4 {
    display: none;
  }
}

.mother-hero-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #b83a41;
  background: linear-gradient(135deg, rgba(235, 123, 125, 0.14), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(220, 80, 86, 0.14);
  box-shadow: 0 8px 20px rgba(220, 80, 86, 0.06);
}

.mother-hero-title {
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: min(100%, 22em);
  margin-bottom: 10px;
  text-wrap: balance;
  hyphens: manual;
}

.mother-hero-title__phrase {
  white-space: nowrap;
}

.mother-hero-subhead {
  margin: 0 0 12px;
  max-width: 36ch;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.45;
  color: var(--muted);
}

.mother-hero-cta-wrap {
  margin-top: 4px;
}

body.mother-site .mother-hero-engineer-cta {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: clamp(132px, 22vw, 168px);
  margin: 0;
  padding: clamp(18px, 3vw, 28px) clamp(16px, 2.8vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: clamp(18px, 2.4vw, 24px);
  background: var(--mother-cta-gradient);
  background-color: var(--mother-accent-coral);
  color: #ffffff;
  font: inherit;
  font-size: clamp(15px, 2.5vw, 19px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-align: center;
  text-wrap: balance;
  cursor: pointer;
  box-shadow:
    0 16px 40px rgba(199, 67, 73, 0.28),
    0 0 36px rgba(220, 80, 86, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.mother-site .mother-hero-engineer-cta:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow:
    0 14px 36px rgba(199, 67, 73, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.mother-site .mother-hero-engineer-cta:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

body.mother-site .mother-hero-engineer-cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

body.mother-site .mother-hero-engineer-cta__main {
  display: block;
  text-transform: uppercase;
}

body.mother-site .mother-hero-engineer-cta__action {
  display: block;
  margin-top: 0.35em;
  opacity: 0;
  visibility: hidden;
  text-transform: uppercase;
  font-size: 1.08em;
  letter-spacing: 0.06em;
}

body.mother-site .mother-hero-engineer-cta__action.is-visible {
  opacity: 1;
  visibility: visible;
}

@keyframes mother-hero-engineer-cta-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.15;
  }
}

body.mother-site .mother-hero-engineer-cta__action.is-blinking {
  visibility: visible;
  animation: mother-hero-engineer-cta-blink 0.42s ease-in-out 3;
  animation-fill-mode: forwards;
}

@media (max-width: 767px) {
  body.mother-site .mother-hero-engineer-cta {
    padding: 18px 20px;
    border-radius: 18px;
    font-size: clamp(13px, 3.8vw, 16px);
  }
}

@media (min-width: 1024px) {
  body.mother-site .mother-hero-engineer-cta {
    border-radius: 24px;
    max-width: 36rem;
  }
}

.mother-hero-micro {
  margin: 10px 0 0;
  max-width: 28ch;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.mother-hero-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.mother-hero-quick-reply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(220, 80, 86, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: var(--mother-primary, #dc5056);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220, 80, 86, 0.08);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mother-hero-quick-reply:hover {
  background: rgba(255, 245, 245, 0.98);
  border-color: rgba(220, 80, 86, 0.42);
  transform: translateY(-1px);
}

.mother-hero-quick-reply:active {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .mother-hero-subhead {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    max-width: none;
  }

  .mother-hero-micro {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 12px;
  }
}

.mother-hero-lines {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mother-hero-body {
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.mother-hero-lead,
.mother-hero-copy {
  margin: 0;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.5;
  color: var(--muted);
}

.mother-hero-lead {
  color: var(--text);
  font-weight: 500;
}

.mother-thread.thread--chat-active .msg.mother-msg:first-of-type {
  margin-top: 4px;
}

.mother-hero-lines li {
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.45;
  color: var(--muted);
}

.mother-cta-primary {
  min-width: 240px;
  min-height: 56px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--mother-cta-gradient);
  color: #ffffff;
  box-shadow:
    0 14px 32px rgba(199, 67, 73, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mother-hero .mother-cta-primary.hero-cta.btn-primary {
  background: var(--mother-cta-gradient);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 16px;
}

.mother-cta-primary:hover,
.mother-hero .mother-cta-primary.hero-cta.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--mother-cta-gradient-hover);
  box-shadow:
    0 18px 38px rgba(199, 67, 73, 0.26),
    0 2px 0 rgba(255, 255, 255, 0.24) inset;
}

.mother-cta-primary:active,
.mother-hero .mother-cta-primary.hero-cta.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 10px 22px rgba(199, 67, 73, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.mother-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.mother-hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  border-radius: var(--mother-surface-radius);
  overflow: hidden;
  border: var(--mother-surface-border);
  box-shadow: var(--mother-surface-shadow);
  background: linear-gradient(165deg, #fff8f8 0%, #f4fbf7 46%, #fff5f5 100%);
  isolation: isolate;
}

.mother-hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 42%, transparent 72%),
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.mother-hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.mother-hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  filter: brightness(1.06) contrast(1.06) saturate(1.08);
}

/* Premium benefit promo cards */
.mother-benefits {
  padding: 0 0 16px;
  max-width: 100%;
  overflow: hidden;
}

.mother-benefits__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 12px;
  padding: 0 2px;
}

.mother-benefits__title {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.mother-benefits__subtitle {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.55;
  color: var(--muted);
}

.mother-benefits__hint {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.mother-benefits__rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 31, 31, 0.14) transparent;
  max-width: 100%;
}

.mother-benefits__rail::-webkit-scrollbar {
  height: 5px;
}

.mother-benefits__rail::-webkit-scrollbar-thumb {
  background: rgba(31, 31, 31, 0.12);
  border-radius: 999px;
}

.mother-benefit-card {
  position: relative;
  display: grid;
  grid-template-rows: 88px minmax(0, 1fr);
  flex: 0 0 clamp(260px, 78vw, 340px);
  max-width: clamp(260px, 78vw, 340px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 196px;
  border-radius: var(--mother-surface-radius);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border: var(--mother-surface-border);
  box-shadow: var(--mother-surface-shadow);
}

.mother-benefit-card--booking {
  background: linear-gradient(165deg, #ffffff 0%, #edf9f2 48%, #dff5ea 100%);
}

.mother-benefit-card--return {
  background: linear-gradient(165deg, #ffffff 0%, #fff1f3 48%, #ffe4e9 100%);
}

.mother-benefit-card--slots {
  background: linear-gradient(165deg, #ffffff 0%, #fff4f0 48%, #ffe9e2 100%);
}

.mother-benefit-card--night {
  background: linear-gradient(165deg, #ffffff 0%, #f3effb 48%, #e8e0f8 100%);
}

.mother-benefit-card__visual {
  grid-row: 1;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
}

.mother-benefit-card__content {
  grid-row: 2;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px 24px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.99) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 -10px 28px rgba(31, 31, 31, 0.05);
}

.mother-benefit-card--booking .mother-benefit-card__content {
  background: linear-gradient(180deg, rgba(237, 249, 242, 0.96) 0%, rgba(255, 255, 255, 0.99) 100%);
  border-top-color: rgba(47, 157, 98, 0.14);
}

.mother-benefit-card--return .mother-benefit-card__content {
  background: linear-gradient(180deg, rgba(255, 241, 243, 0.96) 0%, rgba(255, 255, 255, 0.99) 100%);
  border-top-color: rgba(220, 80, 86, 0.14);
}

.mother-benefit-card--slots .mother-benefit-card__content {
  background: linear-gradient(180deg, rgba(255, 244, 240, 0.96) 0%, rgba(255, 255, 255, 0.99) 100%);
  border-top-color: rgba(232, 120, 88, 0.14);
}

.mother-benefit-card--night .mother-benefit-card__content {
  background: linear-gradient(180deg, rgba(243, 239, 251, 0.96) 0%, rgba(255, 255, 255, 0.99) 100%);
  border-top-color: rgba(130, 108, 186, 0.14);
}

.mother-benefit-card--booking .mother-benefit-card__title {
  color: #1f5f40;
}

.mother-benefit-card--return .mother-benefit-card__title {
  color: #8f3a42;
}

.mother-benefit-card--slots .mother-benefit-card__title {
  color: #9a4d32;
}

.mother-benefit-card--night .mother-benefit-card__title {
  color: #4f4278;
}

.mother-benefit-card__title {
  margin: 0 0 6px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #171717;
}

.mother-benefit-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4b5563;
  max-width: none;
}

.mother-benefit-visual {
  position: absolute;
  inset: 0;
}

.mother-benefit-visual__orb {
  position: absolute;
  top: -26px;
  right: -22px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  opacity: 0.95;
}

.mother-benefit-visual__panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mother-benefit-visual__line {
  display: block;
  height: 7px;
  border-radius: 999px;
}

.mother-benefit-visual__line--long {
  width: 100%;
}

.mother-benefit-visual__line--short {
  width: 62%;
}

.mother-benefit-visual__button {
  display: block;
  height: 18px;
  border-radius: 999px;
  margin-top: 2px;
}

/* booking — mint chat / booking panel */
.mother-benefit-visual--booking .mother-benefit-visual__orb {
  background: radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.95) 0%, rgba(52, 211, 153, 0.28) 42%, rgba(52, 211, 153, 0.04) 72%);
}

.mother-benefit-visual--booking .mother-benefit-visual__panel {
  top: 18px;
  left: 22px;
  width: 132px;
  padding: 12px 12px 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.12);
  transform: rotate(-4deg);
}

.mother-benefit-visual--booking .mother-benefit-visual__line {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.34) 0%, rgba(16, 185, 129, 0.12) 100%);
}

.mother-benefit-visual--booking .mother-benefit-visual__button {
  width: 54%;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.72) 0%, rgba(52, 211, 153, 0.48) 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.18);
}

.mother-benefit-visual--booking::after {
  content: "";
  position: absolute;
  top: 28px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.1);
}

/* return — floating contact card + glow chips */
.mother-benefit-visual--return .mother-benefit-visual__orb {
  background: radial-gradient(circle at 36% 36%, rgba(255, 255, 255, 0.92) 0%, rgba(225, 39, 45, 0.24) 44%, rgba(225, 39, 45, 0.03) 72%);
}

.mother-benefit-visual--return .mother-benefit-visual__panel {
  top: 22px;
  right: 20px;
  width: 118px;
  padding: 11px 12px 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(225, 39, 45, 0.14);
  transform: rotate(5deg);
}

.mother-benefit-visual--return .mother-benefit-visual__line {
  background: linear-gradient(90deg, rgba(225, 39, 45, 0.28) 0%, rgba(225, 39, 45, 0.1) 100%);
}

.mother-benefit-visual--return .mother-benefit-visual__button {
  width: 42%;
  background: linear-gradient(90deg, rgba(225, 39, 45, 0.62) 0%, rgba(244, 63, 94, 0.38) 100%);
}

.mother-benefit-visual--return::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0%, rgba(225, 39, 45, 0.18) 100%);
  box-shadow: 0 8px 20px rgba(225, 39, 45, 0.14);
}

.mother-benefit-visual--return::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 28px;
  width: 72px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(225, 39, 45, 0.42) 0 3px, transparent 3.5px) 0 50% / 16px 12px no-repeat,
    radial-gradient(circle, rgba(225, 39, 45, 0.24) 0 3px, transparent 3.5px) 22px 50% / 16px 12px no-repeat,
    radial-gradient(circle, rgba(225, 39, 45, 0.16) 0 3px, transparent 3.5px) 44px 50% / 16px 12px no-repeat;
}

/* slots — calendar window / time bars */
.mother-benefit-visual--slots .mother-benefit-visual__orb {
  background: radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.95) 0%, rgba(220, 80, 86, 0.22) 42%, rgba(220, 80, 86, 0.04) 72%);
}

.mother-benefit-visual--slots .mother-benefit-visual__panel {
  top: 16px;
  left: 50%;
  width: 128px;
  padding: 10px 12px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(199, 67, 73, 0.1);
}

.mother-benefit-visual--slots .mother-benefit-visual__line {
  height: 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(220, 80, 86, 0.14) 0%, rgba(220, 80, 86, 0.06) 100%);
  border: 1px solid rgba(220, 80, 86, 0.1);
}

.mother-benefit-visual--slots .mother-benefit-visual__line--short {
  width: 74%;
}

.mother-benefit-visual--slots .mother-benefit-visual__button {
  width: 100%;
  height: 22px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(220, 80, 86, 0.62) 0%, rgba(199, 67, 73, 0.38) 100%);
  box-shadow: 0 8px 18px rgba(199, 67, 73, 0.16);
}

.mother-benefit-visual--slots::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(220, 80, 86, 0.14) 0 8px, transparent 8px) 8px 10px / 12px 26px repeat-y,
    rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.72);
  opacity: 0.85;
}

/* night — soft dark orb / status dots */
.mother-benefit-visual--night .mother-benefit-visual__orb {
  top: -34px;
  right: -10px;
  width: 128px;
  height: 128px;
  background: radial-gradient(circle at 40% 38%, rgba(167, 139, 250, 0.55) 0%, rgba(91, 33, 182, 0.22) 46%, rgba(49, 46, 129, 0.04) 74%);
  filter: blur(0.4px);
}

.mother-benefit-visual--night .mother-benefit-visual__panel {
  top: 20px;
  left: 24px;
  width: 124px;
  padding: 12px 12px 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 34px rgba(91, 33, 182, 0.16);
}

.mother-benefit-visual--night .mother-benefit-visual__line {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.14) 100%);
}

.mother-benefit-visual--night .mother-benefit-visual__button {
  width: 100%;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(167, 139, 250, 0.95) 0 3px, transparent 3.5px) 0 50% / 18px 10px no-repeat,
    radial-gradient(circle, rgba(129, 140, 248, 0.72) 0 3px, transparent 3.5px) 24px 50% / 18px 10px no-repeat,
    radial-gradient(circle, rgba(196, 181, 253, 0.55) 0 3px, transparent 3.5px) 48px 50% / 18px 10px no-repeat;
  box-shadow: 0 0 24px rgba(129, 140, 248, 0.22);
}

.mother-benefit-visual--night::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(49, 46, 129, 0.08) 0%, transparent 58%);
}

@media (max-width: 1023px) {
  .mother-benefits__header {
    padding-inline: 16px;
  }

  .mother-benefits__title {
    max-width: none;
  }

  .mother-benefits__subtitle {
    max-width: none;
  }

  .mother-benefits__rail {
    gap: 16px;
    padding: 4px 16px 20px;
    scroll-padding-inline: 16px;
  }
}

@media (max-width: 767px) {
  .mother-benefits {
    padding-bottom: 12px;
  }

  .mother-benefits__rail {
    scrollbar-width: none;
  }

  .mother-benefits__rail::-webkit-scrollbar {
    display: none;
  }

  .mother-benefit-card {
    flex: 0 0 78vw;
    max-width: 78vw;
    min-height: 196px;
    grid-template-rows: 88px minmax(0, 1fr);
  }

  .mother-benefit-card__content {
    padding: 14px 18px 18px;
  }
}

@media (min-width: 720px) {
  .mother-benefits__rail {
    margin: 0;
    padding-left: 2px;
    padding-right: 2px;
  }

  .mother-benefits__hint {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mother-benefits__title {
    max-width: none;
  }

  .mother-benefits__subtitle {
    max-width: 68ch;
  }

  .mother-benefits__rail {
    overflow-x: visible;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0 2px 8px;
    overscroll-behavior-x: auto;
  }

  .mother-benefit-card {
    flex: initial;
    max-width: none;
    width: 100%;
    min-width: 0;
    min-height: 210px;
    border-radius: 28px;
    grid-template-rows: 92px minmax(0, 1fr);
    scroll-snap-align: none;
  }

  .mother-benefit-card__content {
    padding: 20px 28px 30px;
  }

  .mother-benefit-card__title {
    font-size: 19px;
  }
}

/* Result pricing banner — differentiation green ribbon */
body.mother-site .mother-result-banner {
  width: 100%;
  max-width: 100%;
  margin: 4px 0 16px;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

body.mother-site .mother-result-banner__inner {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-radius: 18px;
  padding: clamp(18px, 2.8vw, 28px) clamp(18px, 3vw, 32px);
  background: var(--mother-result-gradient);
  background-color: var(--mother-ai-green);
  color: #ffffff;
  box-shadow:
    0 12px 32px var(--mother-result-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

body.mother-site .mother-result-banner__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

body.mother-site .mother-result-banner__network {
  position: absolute;
  top: 50%;
  right: -4%;
  width: min(62%, 520px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.42;
}

body.mother-site .mother-result-banner__glow {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 72%);
  filter: blur(2px);
}

body.mother-site .mother-result-banner__glow--a {
  top: -18%;
  right: 8%;
  width: 42%;
  height: 68%;
}

body.mother-site .mother-result-banner__glow--b {
  bottom: -24%;
  right: 28%;
  width: 34%;
  height: 58%;
  opacity: 0.75;
}

body.mother-site .mother-result-banner__content {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

body.mother-site .mother-result-banner__title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-wrap: balance;
  max-width: 22ch;
}

body.mother-site .mother-result-banner__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.97);
  font-size: clamp(14px, 1.9vw, 16px);
  line-height: 1.5;
  max-width: 68ch;
}

@media (max-width: 767px) {
  body.mother-site .mother-result-banner {
    margin-bottom: 16px;
  }

  body.mother-site .mother-result-banner__inner {
    padding: 22px 24px;
    border-radius: 18px;
  }

  body.mother-site .mother-result-banner__title {
    font-size: clamp(20px, 5.6vw, 26px);
    letter-spacing: 0.025em;
    max-width: none;
  }

  body.mother-site .mother-result-banner__network {
    width: 78%;
    right: -18%;
    opacity: 0.28;
  }
}

@media (min-width: 1024px) {
  body.mother-site .mother-result-banner__inner {
    border-radius: 24px;
    padding: 40px 48px;
  }

  body.mother-site .mother-result-banner__title {
    font-size: clamp(28px, 2.2vw, 34px);
    max-width: 24ch;
  }

  body.mother-site .mother-result-banner__network {
    width: 48%;
    right: 0;
    opacity: 0.46;
  }
}

/* Trust banner — Product Charter red ribbon */
body.mother-site .mother-trust-banner {
  width: 100%;
  max-width: 100%;
  margin: 4px 0 20px;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

body.mother-site .mother-trust-banner__inner {
  width: 100%;
  box-sizing: border-box;
  border-radius: 18px;
  padding: clamp(18px, 2.8vw, 28px) clamp(18px, 3vw, 32px);
  background: var(--mother-cta-gradient);
  background-color: var(--mother-accent-coral);
  color: #ffffff;
  box-shadow:
    0 12px 32px rgba(199, 67, 73, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.mother-site .mother-trust-banner__title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

body.mother-site .mother-trust-banner__lead,
body.mother-site .mother-trust-banner__note {
  margin: 0;
  color: rgba(255, 255, 255, 0.97);
  font-size: clamp(14px, 1.9vw, 16px);
  line-height: 1.5;
  max-width: 68ch;
}

body.mother-site .mother-trust-banner__note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 767px) {
  body.mother-site .mother-trust-banner {
    margin-bottom: 20px;
  }

  body.mother-site .mother-trust-banner__inner {
    padding: 22px 24px;
    border-radius: 18px;
  }

  body.mother-site .mother-trust-banner__title {
    font-size: clamp(20px, 5.6vw, 26px);
    letter-spacing: 0.025em;
  }
}

@media (min-width: 1024px) {
  body.mother-site .mother-trust-banner__inner {
    border-radius: 24px;
    padding: 40px 48px;
  }

  body.mother-site .mother-trust-banner__title {
    white-space: nowrap;
    font-size: clamp(28px, 2.2vw, 34px);
  }
}

.mother-dialog-templates {
  display: none !important;
}

.mother-dialog-cards {
  margin-top: 12px;
  width: 100%;
}

.mother-dialog-cards .mother-dialog-block {
  margin-top: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.mother-dialog-cards .block-title {
  font-size: 18px;
  margin-bottom: 12px;
}

/* Onboarding niche choice — premium pastel cards */
.mother-niche-cards {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 14px;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 31, 31, 0.12) transparent;
}

.mother-niche-cards::-webkit-scrollbar {
  height: 5px;
}

.mother-niche-cards::-webkit-scrollbar-thumb {
  background: rgba(31, 31, 31, 0.1);
  border-radius: 999px;
}

.mother-niche-card {
  position: relative;
  flex: 0 0 clamp(280px, 86vw, 400px);
  max-width: 420px;
  min-height: 200px;
  border-radius: 30px;
  padding: 28px 30px 30px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 22px 48px rgba(31, 31, 31, 0.08),
    0 8px 20px rgba(31, 31, 31, 0.04);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.mother-niche-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 152px;
  height: 100%;
}

.mother-niche-card__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 4.5vw, 24px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1f1f1f;
}

.mother-niche-card__description {
  margin: 0;
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
  max-width: 32ch;
}

.mother-niche-card__button {
  margin-top: 22px;
  align-self: flex-start;
  border: 0;
  border-radius: 16px;
  padding: 13px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.mother-niche-card__button:hover:not(:disabled),
.mother-niche-card__button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}

.mother-niche-card__button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px var(--mother-primary-soft),
    0 12px 28px var(--mother-primary-shadow);
}

.mother-niche-card__button:active:not(:disabled) {
  transform: translateY(0);
}

.mother-niche-card--beauty {
  background: linear-gradient(165deg, #fffdfb 0%, #fff6f8 42%, #ffe9ef 100%);
  border-color: rgba(225, 39, 45, 0.1);
}

.mother-niche-card--beauty::before {
  content: '';
  position: absolute;
  top: -18%;
  right: -12%;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 39, 45, 0.16) 0%, transparent 72%);
  filter: blur(1px);
  z-index: 0;
  pointer-events: none;
}

.mother-niche-card--beauty::after {
  content: '';
  position: absolute;
  bottom: -24%;
  left: -10%;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 222, 0.55) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.mother-niche-card--hair {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #f8fafb;
  border-color: rgba(72, 140, 130, 0.14);
}

.mother-niche-card--subniche {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mother-niche-card__header {
  position: relative;
  flex-shrink: 0;
  height: 84px;
  overflow: hidden;
  isolation: isolate;
}

.mother-niche-card--hair .mother-niche-card__header {
  background: linear-gradient(135deg, #dff5ea 0%, #d4f0e4 48%, #c8eadc 100%);
}

.mother-niche-card--hair .mother-niche-card__header::before {
  content: '';
  position: absolute;
  top: -28%;
  right: 6%;
  width: 44%;
  height: 95%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 72%);
  pointer-events: none;
}

.mother-niche-card--hair .mother-niche-card__header::after {
  content: '';
  position: absolute;
  bottom: -42%;
  left: -6%;
  width: 40%;
  height: 88%;
  border-radius: 48% 52% 44% 56%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 100%);
  pointer-events: none;
}

.mother-niche-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 152px;
  padding: 26px 28px 28px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 -10px 28px rgba(31, 31, 31, 0.05);
}

.mother-niche-card--hair .mother-niche-card__body {
  background: rgba(255, 255, 255, 0.96);
}

.mother-niche-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c6370;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 4px 12px rgba(31, 31, 31, 0.06);
}

.mother-niche-card--coming-soon {
  cursor: default;
}

.mother-niche-card--coming-soon .mother-niche-card__button {
  color: #6b7280;
  background: rgba(31, 31, 31, 0.06);
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: none;
  cursor: not-allowed;
}

.mother-niche-card--coming-soon .mother-niche-card__button:hover:not(:disabled),
.mother-niche-card--coming-soon .mother-niche-card__button:focus-visible:not(:disabled) {
  transform: none;
  background: rgba(31, 31, 31, 0.06);
  box-shadow: none;
}

.mother-directions-multiselect {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
}

.mother-directions-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  gap: 16px;
  margin-top: 0;
  padding: 2px 2px 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.mother-directions-slider .mother-niche-card,
.mother-directions-slider .mother-direction-card {
  flex: 0 0 auto;
  width: clamp(260px, 78vw, 300px);
  max-width: 300px;
  min-height: 196px;
  height: auto;
  align-self: flex-start;
}

.mother-direction-card .mother-niche-card__body,
.mother-direction-card .mother-niche-card__content {
  min-height: 0;
  height: auto;
}

.mother-direction-card .mother-niche-card__title {
  overflow: visible;
  word-break: normal;
  hyphens: auto;
  max-width: none;
}

.mother-direction-card .mother-niche-card__description {
  max-width: none;
}

.mother-direction-card--soon {
  opacity: 0.82;
  filter: saturate(0.72);
}

.mother-direction-card--soon .mother-niche-card__header {
  opacity: 0.88;
}

.mother-direction-card--selected {
  border-color: rgba(220, 80, 86, 0.28);
  box-shadow:
    0 0 0 1px rgba(220, 80, 86, 0.12),
    0 22px 48px rgba(31, 31, 31, 0.08);
}

.mother-direction-card__selected-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mother-primary-deep);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(220, 80, 86, 0.22);
  box-shadow: 0 4px 12px rgba(220, 80, 86, 0.08);
}

.mother-direction-card--selected .mother-niche-card__button.is-selected {
  background: rgba(220, 80, 86, 0.08);
  border-color: rgba(220, 80, 86, 0.24);
  color: var(--mother-primary-deep);
}

.mother-niche-card--nail-services {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #fffafb;
  border-color: rgba(220, 80, 86, 0.12);
}

.mother-niche-card--nail-services .mother-niche-card__header {
  background: linear-gradient(135deg, #ffeef2 0%, #ffe4ea 48%, #ffd9e2 100%);
}

.mother-niche-card--brows-lashes {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #fcfbff;
  border-color: rgba(126, 108, 176, 0.12);
}

.mother-niche-card--brows-lashes .mother-niche-card__header {
  background: linear-gradient(135deg, #f3effa 0%, #ebe4f5 48%, #e2d9ef 100%);
}

.mother-niche-card--cosmetology {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #fffdfb;
  border-color: rgba(176, 140, 72, 0.12);
}

.mother-niche-card--cosmetology .mother-niche-card__header {
  background: linear-gradient(135deg, #faf4e8 0%, #f2e9d8 48%, #ebdfcb 100%);
}

.mother-directions-multiselect__footer {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  margin-top: 0;
  padding: 0 2px;
}

.mother-directions-multiselect__continue {
  position: static;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(220, 80, 86, 0.28);
  background: rgba(220, 80, 86, 0.08);
  color: #1f1f1f;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
}

.mother-directions-multiselect__continue:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .mother-directions-slider .mother-niche-card,
  .mother-directions-slider .mother-direction-card {
    width: clamp(280px, 32vw, 320px);
    max-width: 320px;
    min-height: 196px;
  }

  .mother-directions-multiselect__continue {
    width: auto;
    min-width: 168px;
    align-self: flex-start;
  }
}

.mother-domain-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  gap: 16px;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.mother-domain-slider .mother-niche-card {
  flex: 0 0 auto;
  width: clamp(280px, 85vw, 88vw);
  max-width: 88vw;
  min-height: 196px;
  scroll-snap-align: start;
}

.mother-niche-card--medicine {
  background: linear-gradient(165deg, #fbfffd 0%, #e8f4f0 48%, #d9ebe4 100%);
  border-color: rgba(72, 140, 120, 0.12);
}

.mother-niche-card--autoservice {
  background: linear-gradient(165deg, #fffdfb 0%, #f3efe8 48%, #e9e2d8 100%);
  border-color: rgba(140, 118, 88, 0.12);
}

.mother-niche-card--household {
  background: linear-gradient(165deg, #fffefb 0%, #faf4e8 48%, #f2e9d8 100%);
  border-color: rgba(176, 140, 72, 0.12);
}

.mother-niche-card--education {
  background: linear-gradient(165deg, #fefcff 0%, #f2effa 48%, #e7e1f5 100%);
  border-color: rgba(126, 108, 176, 0.12);
}

.mother-niche-card--it-digital {
  background: linear-gradient(165deg, #fcfcfe 0%, #f0f1f7 48%, #e4e6ef 100%);
  border-color: rgba(108, 116, 140, 0.12);
}

.mother-niche-card--logistics {
  background: linear-gradient(165deg, #fffdfb 0%, #f7f2ea 48%, #ebe4d8 100%);
  border-color: rgba(150, 128, 96, 0.12);
}

.mother-niche-card--business-services {
  background: linear-gradient(165deg, #fffdfd 0%, #f9f2f3 48%, #f0e4e7 100%);
  border-color: rgba(176, 120, 132, 0.12);
}

.mother-niche-card--cleaning {
  background: linear-gradient(165deg, #fbffff 0%, #ecf7f7 48%, #dceeee 100%);
  border-color: rgba(88, 156, 156, 0.12);
}

.mother-niche-card--event {
  background: linear-gradient(165deg, #fffdfb 0%, #fff5ee 48%, #ffe8dc 100%);
  border-color: rgba(212, 132, 96, 0.12);
}

.mother-niche-card--pet {
  background: linear-gradient(165deg, #fbfffc 0%, #eef6f0 48%, #dfece3 100%);
  border-color: rgba(88, 148, 108, 0.12);
}

@media (min-width: 768px) {
  .mother-niche-cards {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 4px;
  }

  .mother-domain-slider {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 10px;
  }

  .mother-domain-slider .mother-niche-card {
    flex: 0 0 auto;
    width: clamp(320px, 34vw, 380px);
    max-width: 380px;
  }

  .mother-niche-card {
    flex: 0 1 380px;
    min-height: 210px;
  }
}

@media (min-width: 1024px) {
  .mother-niche-card {
    border-radius: 32px;
    padding: 30px 32px 32px;
    min-height: 220px;
  }

  .mother-niche-card--subniche {
    padding: 0;
  }

  .mother-niche-card--hair .mother-niche-card__header {
    height: 92px;
  }

  .mother-niche-card--hair .mother-niche-card__body {
    padding: 28px 30px 30px;
  }
}

/* Onboarding branch structure — calm pastel draft cards */
.mother-branch-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  width: 100%;
  max-width: 520px;
}

.mother-branch-card {
  width: 100%;
  max-width: clamp(280px, 88vw, 520px);
  border-radius: 22px;
  padding: 22px 24px 24px;
  background: linear-gradient(155deg, rgba(252, 250, 255, 0.98), rgba(244, 247, 252, 0.94));
  border: 1px solid rgba(31, 31, 31, 0.07);
  box-shadow:
    0 14px 32px rgba(31, 31, 31, 0.06),
    0 4px 12px rgba(31, 31, 31, 0.03);
}

.mother-branch-card--saved {
  border-color: rgba(72, 160, 120, 0.28);
  box-shadow:
    0 10px 24px rgba(72, 160, 120, 0.08),
    0 4px 12px rgba(31, 31, 31, 0.03);
}

.mother-branch-card--completed,
.mother-specialist-card--completed {
  background: linear-gradient(155deg, rgba(248, 250, 252, 0.96), rgba(242, 245, 250, 0.92));
  border-color: rgba(31, 31, 31, 0.08);
}

.mother-branch-card--inactive,
.mother-specialist-card--inactive {
  opacity: 0.72;
  pointer-events: none;
}

.mother-structure-card__summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.mother-structure-card__summary-line {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(31, 31, 31, 0.84);
}

.mother-structure-card__summary-line--muted {
  font-size: 14px;
  color: rgba(31, 31, 31, 0.62);
}

.mother-structure-card__edit-btn {
  align-self: flex-start;
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.45);
  background: rgba(255, 255, 255, 0.7);
  cursor: not-allowed;
}

.mother-branch-card__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text, #1f1f1f);
}

.mother-branch-card__description {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(31, 31, 31, 0.68);
}

.mother-branch-card__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.mother-branch-card__field-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.72);
}

.mother-branch-card__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text, #1f1f1f);
  background: rgba(255, 255, 255, 0.88);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mother-branch-card__input::placeholder {
  color: rgba(31, 31, 31, 0.38);
}

.mother-branch-card__input:focus {
  outline: none;
}

.mother-branch-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.mother-branch-cards__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  width: 100%;
  max-width: clamp(280px, 88vw, 520px);
}

.mother-branch-cards__footer .mother-branch-card__button {
  flex: 1 1 180px;
}

.mother-branch-card__button {
  flex: 1 1 160px;
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mother-branch-card__button--primary {
  color: #fff;
}

.mother-branch-card__button--secondary {
  color: rgba(31, 31, 31, 0.82);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 31, 31, 0.1);
}

.mother-branch-card__button:hover:not(:disabled),
.mother-branch-card__button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}

.mother-branch-card__button:focus-visible {
  outline-offset: 2px;
}

.mother-branch-card__button:active:not(:disabled) {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .mother-branch-card {
    max-width: 88vw;
    padding: 20px 18px 22px;
  }

  .mother-branch-card__actions {
    flex-direction: column;
  }

  .mother-branch-card__button {
    flex-basis: auto;
    width: 100%;
  }
}

/* Onboarding specialist structure — calm pastel draft cards */
.mother-specialist-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
  width: 100%;
  max-width: 520px;
}

.mother-specialist-card {
  width: 100%;
  max-width: clamp(280px, 88vw, 520px);
  border-radius: 22px;
  padding: 22px 24px 24px;
  background: var(--mother-surface-warm);
  border: 1px solid rgba(31, 31, 31, 0.07);
  box-shadow:
    0 14px 32px rgba(31, 31, 31, 0.06),
    0 4px 12px rgba(31, 31, 31, 0.03);
}

.mother-specialist-card--saved {
  border-color: rgba(220, 80, 86, 0.24);
  box-shadow:
    0 10px 24px rgba(199, 67, 73, 0.08),
    0 4px 12px rgba(31, 31, 31, 0.03);
}

.mother-specialist-card--completed {
  border-color: rgba(220, 80, 86, 0.18);
}

.mother-specialist-card__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text, #1f1f1f);
}

.mother-specialist-card__description {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(31, 31, 31, 0.68);
}

.mother-specialist-card__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.mother-specialist-card__field-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.72);
}

.mother-specialist-card__input,
.mother-specialist-card__select,
.mother-specialist-card__branch-select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text, #1f1f1f);
  background: rgba(255, 255, 255, 0.88);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mother-specialist-card__branch-select {
  cursor: pointer;
  appearance: auto;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, rgba(31, 31, 31, 0.55) 50%),
    linear-gradient(135deg, rgba(31, 31, 31, 0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% + 2px),
    calc(100% - 16px) calc(50% + 2px);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.mother-specialist-card__branch-select:invalid {
  color: rgba(31, 31, 31, 0.55);
}

.mother-specialist-card__input::placeholder {
  color: rgba(31, 31, 31, 0.38);
}

.mother-specialist-card__input:focus,
.mother-specialist-card__select:focus,
.mother-specialist-card__branch-select:focus {
  outline: none;
}

.mother-specialist-card__branch-readonly {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.72);
  background: rgba(244, 247, 252, 0.92);
  border: 1px dashed rgba(31, 31, 31, 0.14);
}

.mother-specialist-card__branch-label {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.82);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 31, 31, 0.08);
  font-weight: 600;
}

.mother-specialist-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.mother-specialist-card__button {
  flex: 1 1 160px;
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mother-specialist-card__button--primary {
  color: #fff;
}

.mother-specialist-card__button--secondary {
  color: rgba(31, 31, 31, 0.82);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 31, 31, 0.1);
}

.mother-specialist-card__button:hover:not(:disabled),
.mother-specialist-card__button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}

.mother-specialist-card__button:focus-visible {
  outline-offset: 2px;
}

.mother-specialist-card__button:active:not(:disabled) {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .mother-specialist-card {
    max-width: 88vw;
    padding: 20px 18px 22px;
  }

  .mother-specialist-card__actions {
    flex-direction: column;
  }

  .mother-specialist-card__button {
    flex-basis: auto;
    width: 100%;
  }
}

/* Onboarding compact summary cards — structure & services */
.mother-onboarding-card {
  background: #ffffff;
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 10px 24px rgba(31, 31, 31, 0.05);
}

.mother-onboarding-card__hint {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(31, 31, 31, 0.58);
}

.mother-onboarding-section {
  margin-bottom: 12px;
}

.mother-onboarding-section__title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.5);
}

.mother-onboarding-empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.45);
  font-style: normal;
}

.mother-onboarding-row {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 31, 31, 0.06);
  border-left: 3px solid rgba(47, 157, 98, 0.42);
}

.mother-onboarding-workspace {
  margin: 8px 0 12px;
}

.mother-onboarding-workspace--active {
  padding: 14px 16px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(216, 72, 82, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 1px rgba(216, 72, 82, 0.06);
}

.mother-onboarding-form__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #1f1f1f;
}

.mother-onboarding-form .mother-structure-summary__input,
.mother-onboarding-form .mother-structure-summary__select,
.mother-onboarding-form .mother-services-form__input {
  background: #ffffff;
}

/* ONB-FIELD-FOCUS-1: unified onboarding field language */
.mother-onb-field-label,
.mother-auth-label,
.mother-structure-summary__field-label,
.mother-services-form__field-label,
.mother-schedule-form__field-label {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.78);
}

.mother-onb-field-hint,
.mother-auth-hint,
.mother-address-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(31, 31, 31, 0.52);
}

.mother-onb-field,
.mother-auth-input,
.mother-structure-summary__input,
.mother-structure-summary__select,
.mother-services-form__input,
.mother-schedule-form__input,
.mother-branch-card__input,
.mother-specialist-card__input,
.mother-specialist-card__select,
.mother-specialist-card__branch-select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.35;
  color: #1f1f1f;
  background: #ffffff;
  border: 1px solid rgba(31, 31, 31, 0.16);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mother-onb-field::placeholder,
.mother-auth-input::placeholder,
.mother-structure-summary__input::placeholder,
.mother-services-form__input::placeholder,
.mother-schedule-form__input::placeholder,
.mother-branch-card__input::placeholder,
.mother-specialist-card__input::placeholder {
  color: rgba(31, 31, 31, 0.42);
}

.mother-onb-field--primary:not(:focus):not(:focus-visible) {
  border-color: rgba(216, 72, 82, 0.34);
  box-shadow:
    0 0 0 1px rgba(216, 72, 82, 0.1),
    inset 0 1px 2px rgba(31, 31, 31, 0.03);
}

.mother-structure-summary__select.mother-onb-field,
.mother-specialist-card__select.mother-onb-field,
.mother-specialist-card__branch-select.mother-onb-field,
.mother-structure-summary__select,
.mother-specialist-card__select,
.mother-specialist-card__branch-select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231f1f1f' stroke-opacity='0.55' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: #ffffff;
}

.mother-auth-input.mother-auth-input--code {
  min-height: 52px;
  max-height: none;
  padding: 12px 14px;
  font-size: 22px;
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.mother-onboarding-workspace--active .mother-onboarding-form {
  scroll-margin-bottom: calc(var(--mother-composer-safe-space) + 16px + env(safe-area-inset-bottom, 0px));
}

.mother-onboarding-workspace--active .mother-onb-field:focus,
.mother-onboarding-workspace--active .mother-onb-field:focus-visible,
.mother-auth-card .mother-onb-field:focus,
.mother-auth-card .mother-onb-field:focus-visible {
  scroll-margin-bottom: calc(var(--mother-composer-safe-space) + 24px + env(safe-area-inset-bottom, 0px));
}

.mother-schedule-day-row__time .mother-schedule-form__input {
  min-height: 44px;
}

@media (max-width: 640px) {
  .mother-onb-field,
  .mother-auth-input,
  .mother-structure-summary__input,
  .mother-structure-summary__select,
  .mother-services-form__input,
  .mother-schedule-form__input {
    font-size: 16px;
  }
}

.mother-onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mother-onb-inline-status {
  margin: 10px 0 0;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 10px;
}

.mother-onb-inline-status--success {
  color: #2e7d52;
  background: rgba(47, 157, 98, 0.1);
  border: 1px solid rgba(47, 157, 98, 0.22);
}

.mother-onb-inline-status--info {
  color: rgba(31, 31, 31, 0.74);
  background: rgba(31, 31, 31, 0.04);
  border: 1px solid rgba(31, 31, 31, 0.1);
}

.mother-structure-summary[data-structure-substep] {
  max-width: min(520px, 92vw);
}

.mother-onb-inline-status--warning {
  color: #c62828;
  background: rgba(198, 40, 40, 0.06);
  border: 1px solid rgba(198, 40, 40, 0.18);
}

.mother-services-summary__suggestions-note {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.45);
}

/* Onboarding business structure summary — compact live state card */
.mother-structure-summary {
  width: 100%;
  max-width: clamp(280px, 92vw, 720px);
  margin-top: 4px;
  border-radius: 22px;
  padding: 16px 18px 18px;
  background: #ffffff;
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 10px 24px rgba(31, 31, 31, 0.05);
}

.mother-structure-summary__title {
  margin: 0 0 6px;
  font-size: clamp(17px, 3.8vw, 20px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text, #1f1f1f);
}

.mother-structure-summary__hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(31, 31, 31, 0.58);
}

.mother-structure-summary__section {
  margin-bottom: 12px;
}

.mother-structure-summary__section-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.55);
}

.mother-structure-summary__section-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mother-structure-summary__empty {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.45);
  font-style: normal;
}

.mother-structure-summary__item {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(31, 31, 31, 0.86);
}

.mother-structure-summary__item-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.9);
}

.mother-structure-summary__item-subline {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(31, 31, 31, 0.62);
}

.mother-structure-summary__workspace {
  margin: 8px 0 12px;
}

.mother-structure-summary__workspace[hidden] {
  display: none !important;
}

.mother-structure-summary__workspace-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.88);
}

.mother-structure-summary__workspace-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(31, 31, 31, 0.55);
}

.mother-structure-summary__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mother-structure-summary__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.mother-structure-summary__field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(31, 31, 31, 0.62);
}

.mother-structure-summary__input,
.mother-structure-summary__select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(31, 31, 31, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.9);
  background: rgba(255, 255, 255, 0.96);
}

.mother-structure-summary__input:focus,
.mother-structure-summary__select:focus {
  outline: none;
}

.mother-structure-summary__branch-readonly {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(31, 31, 31, 0.72);
}

.mother-structure-summary__error {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c62828;
}

.mother-address-field {
  position: relative;
}

.mother-address-suggestions {
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(31, 31, 31, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 20px rgba(31, 31, 31, 0.08);
  overflow: hidden;
}

.mother-address-suggestions__list {
  display: flex;
  flex-direction: column;
  max-height: 220px;
  overflow-y: auto;
}

.mother-address-suggestion {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(31, 31, 31, 0.06);
  background: transparent;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}

.mother-address-suggestion:last-child {
  border-bottom: 0;
}

.mother-address-suggestion:hover,
.mother-address-suggestion:focus-visible {
  background: var(--mother-primary-soft);
  outline: none;
}

.mother-address-suggestion__title {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.9);
}

.mother-address-suggestion__meta {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.58);
}

.mother-address-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(31, 31, 31, 0.52);
}

.mother-address-loading {
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(31, 31, 31, 0.62);
}

.mother-structure-summary__workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.mother-structure-summary__cancel {
  flex: 0 1 auto;
}

.mother-structure-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(31, 31, 31, 0.08);
}

.mother-structure-summary__button {
  flex: 0 1 auto;
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  min-height: 40px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mother-structure-summary__button--primary {
  color: #fff;
}

.mother-structure-summary__button--secondary {
  color: rgba(31, 31, 31, 0.82);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 31, 31, 0.1);
}

.mother-structure-summary__button:hover:not(:disabled),
.mother-structure-summary__button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}

.mother-structure-summary__button:focus-visible {
  outline-offset: 2px;
}

.mother-structure-summary__button:active:not(:disabled) {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .mother-structure-summary {
    max-width: 88vw;
    padding: 14px 14px 16px;
  }

  .mother-structure-summary__actions {
    flex-direction: row;
  }

  .mother-structure-summary__button {
    flex: 1 1 calc(50% - 4px);
    width: auto;
  }

  .mother-structure-summary__button--primary {
    flex: 1 1 100%;
  }

  .mother-structure-summary__workspace-actions {
    flex-direction: column;
  }

  .mother-structure-summary__workspace-actions .mother-structure-summary__button {
    width: 100%;
  }
}

.mother-services-summary {
  max-width: min(520px, 92vw);
  margin: 0;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 10px 24px rgba(31, 31, 31, 0.05);
}

.mother-services-summary__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #1f1f1f);
}

.mother-services-summary__hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(31, 31, 31, 0.58);
}

.mother-services-summary__section {
  margin-bottom: 12px;
}

.mother-services-summary__section-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.55);
}

.mother-services-summary__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mother-services-summary__empty {
  margin: 0;
  font-size: 13px;
  color: rgba(31, 31, 31, 0.45);
}

.mother-services-summary__item {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 31, 31, 0.06);
  border-left: 3px solid rgba(47, 157, 98, 0.42);
}

.mother-services-summary__item-line {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1f1f1f);
}

.mother-services-summary__item-subline {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(31, 31, 31, 0.62);
}

.mother-services-summary__specialists {
  margin-top: 4px;
}

.mother-services-summary__specialist-line {
  margin: 2px 0 0 8px;
  font-size: 13px;
  color: rgba(31, 31, 31, 0.62);
}

.mother-services-suggestions__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mother-services-suggestion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(31, 31, 31, 0.04);
  border: 1px solid rgba(31, 31, 31, 0.06);
}

.mother-services-suggestion__name {
  margin: 0;
  flex: 1 1 140px;
  font-size: 14px;
  font-weight: 600;
}

.mother-services-suggestion__meta {
  margin: 0;
  flex: 1 1 100%;
  font-size: 12px;
  color: rgba(31, 31, 31, 0.58);
}

.mother-services-suggestion__select {
  margin-left: auto;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--mother-primary-ring);
  background: var(--mother-primary-soft);
  color: var(--mother-primary);
  cursor: pointer;
}

.mother-services-suggestion__select:hover,
.mother-services-suggestion__select:focus-visible {
  background: var(--mother-primary-soft-medium);
  outline: none;
}

.mother-services-workspace {
  margin: 8px 0 12px;
}

.mother-services-workspace[hidden] {
  display: none !important;
}

.mother-services-workspace__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.mother-services-workspace__hint {
  margin: 0;
  font-size: 13px;
  color: rgba(31, 31, 31, 0.55);
}

.mother-services-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mother-services-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mother-services-form__field-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.62);
}

.mother-services-form__input {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid rgba(31, 31, 31, 0.14);
  background: #fff;
}

.mother-services-form__input:focus {
  outline: none;
}

.mother-services-specialists {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mother-services-specialists__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mother-services-specialists__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}

.mother-services-specialists__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mother-services-specialist__meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #1f1f1f);
}

.mother-services-specialist__branch {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(31, 31, 31, 0.58);
}

.mother-services-specialists__item input {
  margin-top: 2px;
  flex-shrink: 0;
}

.mother-services-error {
  margin: 0;
  font-size: 13px;
  color: #c0392b;
}

.mother-services-workspace__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.mother-services-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.mother-services-summary__button {
  flex: 0 1 auto;
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.mother-services-summary__button--primary {
  color: #fff;
  border: none;
}

.mother-services-summary__button--secondary {
  color: var(--text, #1f1f1f);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 31, 31, 0.1);
}

.mother-services-summary__button:hover:not(:disabled),
.mother-services-summary__button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}

.mother-services-summary__button:focus-visible {
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .mother-services-summary {
    max-width: 88vw;
    padding: 14px 14px 16px;
  }

  .mother-services-summary__actions,
  .mother-services-workspace__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .mother-services-summary__button {
    flex: 1 1 calc(50% - 4px);
    width: auto;
  }

  .mother-services-summary__button--primary {
    flex: 1 1 100%;
  }
}

.mother-schedule-summary {
  max-width: min(520px, 92vw);
  margin: 0;
  padding: 20px 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 10px 28px rgba(31, 31, 31, 0.06);
}

.mother-schedule-summary__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #1f1f1f);
}

.mother-schedule-summary__hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(31, 31, 31, 0.68);
}

.mother-schedule-summary__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.mother-schedule-summary__empty,
.mother-schedule-summary__line {
  margin: 0;
  font-size: 14px;
  color: rgba(31, 31, 31, 0.62);
}

.mother-schedule-summary__line {
  font-weight: 600;
  color: var(--text, #1f1f1f);
}

.mother-schedule-summary__workspace {
  margin: 8px 0 12px;
}

.mother-schedule-summary__workspace.mother-onboarding-workspace--active {
  max-width: 100%;
  box-sizing: border-box;
}

.mother-schedule-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mother-schedule-form__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.mother-schedule-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 140px;
}

.mother-schedule-form__field-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.62);
}

.mother-schedule-form__input {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid rgba(31, 31, 31, 0.14);
  background: #fff;
}

.mother-schedule-days {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mother-schedule-specialist__days {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mother-schedule-specialist__day-line {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1f1f1f);
}

.mother-schedule-day-row {
  display: grid;
  grid-template-columns: auto 36px 1fr;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 31, 31, 0.08);
}

.mother-schedule-day-row--disabled {
  opacity: 0.72;
}

.mother-schedule-day-row__toggle {
  width: 16px;
  height: 16px;
  accent-color: var(--mother-primary);
}

.mother-schedule-day-row__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #1f1f1f);
}

.mother-schedule-day-row__time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}

.mother-schedule-day-row__time .mother-schedule-form__input {
  flex: 1 1 108px;
  min-width: 96px;
}

.mother-schedule-day-row__off {
  font-size: 13px;
  font-weight: 600;
  color: rgba(31, 31, 31, 0.5);
}

.mother-schedule-days__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.mother-schedule-day {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1f1f1f);
  cursor: pointer;
}

.mother-schedule-day input {
  width: 16px;
  height: 16px;
  accent-color: var(--mother-primary);
}

.mother-schedule-time-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.mother-schedule-error {
  margin: 0;
  font-size: 13px;
  color: #c0392b;
}

.mother-schedule-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mother-schedule-summary__button {
  flex: 0 1 auto;
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mother-schedule-summary__button--secondary {
  color: var(--text, #1f1f1f);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 31, 31, 0.1);
}

.mother-schedule-summary__button:hover:not(:disabled),
.mother-schedule-summary__button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}

.mother-schedule-summary__button:focus-visible {
  outline-offset: 2px;
}

.mother-onb-action--compact {
  flex: 0 1 auto;
  min-height: 44px;
  max-height: 48px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 12px;
}

.mother-schedule-summary__button.mother-onb-action--compact.mother-onb-action--primary,
.mother-schedule-summary__button.mother-onb-action--compact.mother-schedule-summary__button--primary {
  box-shadow: 0 2px 8px rgba(216, 72, 82, 0.2);
}

.mother-schedule-summary__button.mother-onb-action--compact.mother-onb-action--secondary,
.mother-schedule-summary__button.mother-onb-action--compact.mother-schedule-summary__button--secondary {
  box-shadow: none;
}

.mother-schedule-summary__actions--footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(31, 31, 31, 0.08);
}

.mother-schedule-summary__actions--footer .mother-schedule-summary__button {
  width: auto;
  max-width: 100%;
}

@media (max-width: 640px) {
  .mother-schedule-summary {
    max-width: 88vw;
    padding: 18px 16px 20px;
  }

  .mother-schedule-summary__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .mother-schedule-summary__button {
    width: auto;
    flex: 1 1 calc(50% - 4px);
  }

  .mother-schedule-summary__actions--footer .mother-schedule-summary__button {
    flex: 0 1 auto;
    width: auto;
    min-width: min(100%, 280px);
  }

  .mother-schedule-time-row {
    flex-direction: column;
  }
}

.mother-schedule-specialist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(31, 31, 31, 0.03);
  border: 1px solid rgba(31, 31, 31, 0.08);
}

.mother-schedule-specialist__meta {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text, #1f1f1f);
}

.mother-schedule-specialist__status {
  margin: 0;
  font-size: 13px;
}

.mother-schedule-specialist__status--missing {
  color: rgba(31, 31, 31, 0.62);
}

.mother-schedule-specialist__status--ready {
  font-weight: 600;
  color: var(--mother-ai-green, #2e7d52);
}

.mother-schedule-specialist__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mother-schedule-summary__section-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.55);
}

.mother-schedule-specialist__configure {
  align-self: flex-start;
  flex: 0 0 auto;
  min-width: 120px;
}

.mother-schedule-form__specialist-meta,
.mother-schedule-form__branch-meta {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(31, 31, 31, 0.68);
}

.mother-schedule-form__specialist-meta {
  font-weight: 600;
  color: var(--text, #1f1f1f);
}

@media (max-width: 640px) {
  .mother-schedule-specialist__configure {
    width: 100%;
  }
}

.mother-readiness-summary {
  max-width: min(520px, 92vw);
  margin: 0;
  padding: 20px 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 10px 28px rgba(31, 31, 31, 0.06);
}

.mother-readiness-summary__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #1f1f1f);
}

.mother-readiness-summary__hint {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(31, 31, 31, 0.68);
}

.mother-readiness-summary__checks {
  margin-bottom: 12px;
}

.mother-readiness-summary__checks-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.55);
}

.mother-readiness-summary__checks-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mother-readiness-summary__check {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.mother-readiness-summary__check--ready {
  color: var(--mother-ai-green, #2e7d52);
  background: rgba(46, 125, 82, 0.08);
  border: 1px solid rgba(46, 125, 82, 0.16);
}

.mother-readiness-summary__check--missing {
  color: rgba(31, 31, 31, 0.55);
  background: rgba(31, 31, 31, 0.04);
  border: 1px solid rgba(31, 31, 31, 0.08);
}

.mother-readiness-summary__not-ready {
  margin: 0 0 12px;
  font-size: 14px;
  color: #c0392b;
}

.mother-readiness-summary__error {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #a93226;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.18);
  border-radius: 10px;
}

.mother-readiness-summary__success {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #1f7a3f;
}

.mother-readiness-summary__success-hint {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(31, 31, 31, 0.72);
}

.mother-readiness-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.mother-readiness-summary__button {
  flex: 1 1 180px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.mother-readiness-summary__button:hover:not(:disabled),
.mother-readiness-summary__button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}

.mother-readiness-summary__button:focus-visible {
  outline-offset: 2px;
}

.mother-readiness-summary__button--loading {
  opacity: 0.82;
  cursor: wait;
}

@media (max-width: 640px) {
  .mother-readiness-summary {
    max-width: 88vw;
    padding: 18px 16px 20px;
  }

  .mother-readiness-summary__actions {
    flex-direction: column;
  }

  .mother-readiness-summary__button {
    width: 100%;
  }
}

.mother-grid--tariffs {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Mother Site — tariff cards (parity with tenant admin billing UI) */
.mother-tariff-page {
  margin-top: 4px;
}

.mother-tariff-page__header {
  margin-bottom: 18px;
}

.mother-tariff-page__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.mother-tariff-page__lead {
  margin: 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted, #5c6370);
}

.mother-tariff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.mother-tariff-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 20px 20px 18px;
  border-radius: 24px;
  border: 1px solid rgba(31, 31, 31, 0.08);
  background: #ffffff;
  box-shadow:
    0 18px 42px rgba(31, 31, 31, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.mother-tariff-card--available {
  border-color: rgba(220, 80, 86, 0.22);
  box-shadow:
    0 0 0 1px rgba(220, 80, 86, 0.06),
    0 20px 44px rgba(31, 31, 31, 0.06),
    0 0 0 3px rgba(220, 80, 86, 0.05);
}

.mother-tariff-card--soon {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  border-color: rgba(31, 31, 31, 0.07);
}

.mother-tariff-card__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.mother-tariff-card__badge--available {
  color: #2f9d62;
  background: rgba(47, 157, 98, 0.12);
}

.mother-tariff-card__badge--soon {
  color: #5c6370;
  background: rgba(31, 31, 31, 0.06);
}

.mother-tariff-card__name {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mother-tariff-card__price {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.mother-tariff-card__price-label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted, #5c6370);
}

.mother-tariff-card__price-note {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted, #5c6370);
}

.mother-tariff-card__text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #5c6370);
}

.mother-tariff-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.mother-tariff-card__list li {
  position: relative;
  padding: 0 0 8px 18px;
  font-size: 13px;
  line-height: 1.45;
  color: #3d434d;
}

.mother-tariff-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(31, 31, 31, 0.22);
}

.mother-tariff-card--available .mother-tariff-card__list li::before {
  background: rgba(220, 80, 86, 0.45);
}

.mother-tariff-card__list li:last-child {
  padding-bottom: 0;
}

.mother-tariff-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 16px;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  border: none;
  cursor: default;
}

.mother-tariff-card__cta--primary {
  cursor: pointer;
  color: #ffffff;
  background: var(--accent, #dc5086);
  border: 1px solid transparent;
}

.mother-tariff-card .mother-tariff-card__cta--primary,
.mother-tariff-card .mother-tariff-card__cta--create {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(199, 67, 73, 0.16);
  transform: none;
  white-space: nowrap;
}

.mother-tariff-card .mother-tariff-card__cta--primary:hover,
.mother-tariff-card .mother-tariff-card__cta--create:hover {
  filter: brightness(0.96);
  transform: none;
  box-shadow: 0 10px 22px rgba(199, 67, 73, 0.2);
}

.mother-tariff-card .mother-tariff-card__cta--primary:active,
.mother-tariff-card .mother-tariff-card__cta--create:active {
  transform: none;
  filter: brightness(0.93);
  box-shadow: 0 6px 16px rgba(199, 67, 73, 0.14);
}

.mother-tariff-card__cta--primary:hover {
  filter: brightness(0.96);
}

.mother-tariff-card__cta--soon {
  color: #5c6370;
  background: rgba(31, 31, 31, 0.05);
  border: 1px solid rgba(31, 31, 31, 0.08);
}

.mother-tariff-card__cta:disabled {
  opacity: 1;
}

@media (max-width: 640px) {
  .mother-tariff-grid {
    grid-template-columns: 1fr;
  }

  .mother-tariff-card {
    min-height: 0;
  }

  .mother-tariff-card .mother-tariff-card__cta--primary,
  .mother-tariff-card .mother-tariff-card__cta--create {
    width: auto;
    max-width: 100%;
    align-self: flex-start;
  }
}

.mother-block {
  margin-top: 8px;
}

.mother-grid {
  display: grid;
  gap: 16px;
}

.mother-grid--values {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mother-grid--capabilities {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mother-card,
.mother-capability {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius, 12px);
  padding: 18px;
  box-shadow: 0 4px 18px rgba(31, 31, 31, 0.04);
}

.mother-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
}

.mother-card__icon svg {
  width: 22px;
  height: 22px;
}

.mother-card__title,
.mother-capability__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.mother-card__text,
.mother-capability__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.mother-composer .composer-input-shell {
  border: 2px solid var(--mother-primary-ring);
  box-shadow: 0 0 0 4px var(--mother-primary-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mother-composer .composer-input-shell:focus-within {
  border-color: var(--mother-primary-ring);
  box-shadow:
    0 0 0 4px var(--mother-primary-soft),
    0 14px 38px var(--mother-primary-shadow);
}

.mother-composer .send-btn.active {
  background: var(--mother-cta-gradient);
  color: #fff;
  box-shadow: 0 6px 14px var(--mother-primary-shadow);
}

.mother-composer .send-btn.active:hover,
.mother-composer .send-btn.active:focus-visible {
  background: var(--mother-cta-gradient-hover);
}

.mother-composer #ta:focus {
  outline: none;
}

.mother-composer.mother-composer--busy .composer-input-shell {
  opacity: 0.72;
}

.mother-composer .mic-btn:disabled,
.mother-composer .mic-btn.is-unsupported {
  opacity: 0.35;
  cursor: not-allowed;
}

.mother-composer .composer-attach-menu__item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.mother-thread {
  background: #F7F8FA;
}

body.mother-site .mother-thread .msg:last-child,
body.mother-site .mother-thread .mother-dialog-cards:last-child {
  scroll-margin-bottom: calc(var(--mother-composer-safe-space) + env(safe-area-inset-bottom, 0px));
}

.mother-msg .bubble {
  display: inline-block;
  max-width: min(100%, 640px);
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.mother-msg.user .bubble {
  background: var(--mother-user-bubble);
  color: #ffffff;
  border: 1px solid var(--mother-user-bubble-border);
}

.mother-msg.assistant .bubble {
  background: #F4F5F7;
  color: #1F1F1F;
  border: 1px solid #E4E6EA;
}

.mother-msg.assistant .bubble--typing {
  min-width: 108px;
}

.mother-typing-label {
  color: #5C6370;
  font-size: 14px;
}

.mother-msg--typing .mother-typing-label::after {
  content: '';
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: mother-typing-dots 1.2s steps(4, end) infinite;
}

@keyframes mother-typing-dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
  100% { content: ''; }
}

/* Phase A — auth in chat cards */
.mother-auth-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e4e6ea);
  border-radius: var(--radius, 12px);
  padding: 16px;
  box-shadow: 0 4px 18px rgba(31, 31, 31, 0.04);
}

.mother-auth-card--warning {
  border-color: rgba(217, 40, 43, 0.28);
  background: rgba(217, 40, 43, 0.04);
}

.mother-auth-label {
  margin-bottom: 6px;
}

.mother-auth-input.is-error,
.mother-auth-card.is-error .mother-auth-input {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2);
}

.mother-auth-hint,
.mother-auth-meta,
.mother-auth-lead {
  margin: 8px 0 0;
  line-height: 1.45;
}

.mother-auth-meta {
  margin-bottom: 10px;
  font-weight: 500;
  color: #374151;
}

.mother-auth-error {
  margin: 8px 0 0;
  font-size: 13px;
  color: #dc2626;
  line-height: 1.4;
}

.mother-auth-error[hidden] {
  display: none !important;
}

.mother-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.mother-auth-actions--stack {
  flex-direction: column;
}

.mother-auth-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mother-auth-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.mother-auth-btn--primary {
  color: #fff;
}

.mother-auth-btn--primary:hover:not(:disabled),
.mother-auth-btn--primary:focus-visible:not(:disabled) {
  filter: none;
}

.mother-auth-btn--secondary {
  background: #fff;
  border-color: var(--border, #e4e6ea);
  color: #1f1f1f;
}

.mother-auth-btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--mother-primary);
  padding-left: 0;
  padding-right: 0;
}

.mother-auth-warning-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #1f1f1f;
}

.mother-auth-warning-text {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.45;
}

.mother-auth-tenant-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mother-auth-tenant-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border, #e4e6ea);
  border-radius: 10px;
  background: #fff;
}

.mother-auth-tenant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.mother-auth-tenant-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1f1f1f;
}

.mother-auth-tenant-slug {
  margin: 2px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.mother-dialog-cards--revealed {
  animation: mother-cards-reveal 0.28s ease-out both;
}

@keyframes mother-cards-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mother-status-success {
  color: #16A34A;
}

.mother-msg .avatar {
  font-size: 11px;
  font-weight: 700;
}

.mother-msg.user .avatar {
  background: var(--mother-primary-soft);
  color: var(--mother-primary);
}

.mother-msg.assistant .avatar {
  background: var(--mother-ai-green-soft);
  color: var(--mother-ai-green);
}

@media (min-width: 768px) {
  .mother-hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: stretch;
  }

  .mother-hero-cta-panel {
    --mother-hero-wave-travel: clamp(140px, 34%, 220px);
  }

  .mother-hero-visual,
  .mother-hero-image-frame {
    height: 100%;
  }

  .mother-hero-image-frame {
    max-height: none;
    min-height: 100%;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .mother-hero {
    padding-top: 32px;
    padding-bottom: 22px;
  }

  .mother-hero-image-frame {
    max-height: 300px;
  }

  .mother-logo-full {
    max-width: 148px;
    max-height: 38px;
  }
}

@media (max-width: 767px) {
  body.mother-site {
    --mother-composer-safe-space: max(calc(var(--composer-h, 84px) + 40px), 180px);
  }

  body.mother-site .mother-main {
    min-height: 0;
    overflow: hidden;
  }

  body.mother-site .wrap {
    flex: 1;
    min-height: 0;
    overscroll-behavior: contain;
    scroll-padding-top: calc(var(--mother-header-h) + 8px);
  }

  body.mother-site .mother-thread {
    padding-bottom: 22px;
  }

  .mother-hero {
    padding-top: 12px;
    padding-bottom: 10px;
    scroll-margin-top: calc(var(--mother-header-h) + 8px);
  }

  .mother-thread.thread--chat-active .mother-hero {
    padding-top: 12px;
  }

  .mother-hero-cta-panel {
    min-height: clamp(220px, 52vw, 280px);
  }

  .mother-hero-cta-waves {
    inset: 16px 12px 108px;
    --mother-hero-wave-travel: 120px;
  }

  .mother-hero-title {
    max-width: none;
    margin-bottom: 10px;
  }

  .mother-hero-image-frame {
    max-height: 190px;
    aspect-ratio: 16 / 10;
    border-radius: var(--mother-surface-radius-sm);
  }

  .mother-hero-image {
    object-position: 56% 40%;
  }

  .mother-cta-primary {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 14px 24px;
    font-size: 16px;
  }

  .mother-logo-full {
    max-width: 132px;
    max-height: 34px;
  }
}

@media (min-width: 980px) {
  .mother-logo-full {
    max-width: 176px;
    max-height: 44px;
  }
}

/* Partners soon page — compact static layout (no template styles.css shell) */
html:has(body.mother-site--partners) {
  overflow-x: clip;
}

body.mother-site--partners {
  display: block;
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg, #f7f8fa);
  color: var(--text, #1f1f1f);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.mother-site--partners::before,
body.mother-site--partners::after {
  display: none !important;
  content: none !important;
}

.mother-partners-page {
  min-height: 100vh;
  padding: 24px 20px 40px;
  max-width: 100%;
  overflow-x: clip;
}

.mother-partners-page__wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-width: 0;
}

.mother-partners-soon {
  min-width: 0;
  max-width: 100%;
}

.mother-partners-soon__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c6370;
  background: rgba(31, 31, 31, 0.05);
  border: 1px solid rgba(31, 31, 31, 0.08);
}

.mother-partners-soon__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.mother-partners-soon__lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted, #5c6370);
}

.mother-partners-soon__card {
  padding: 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(31, 31, 31, 0.07);
  background: #fff;
  box-shadow:
    0 16px 40px rgba(31, 31, 31, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  min-width: 0;
  max-width: 100%;
}

.mother-partners-soon__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.mother-partners-soon__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #3d434d;
  overflow-wrap: anywhere;
}

.mother-partners-soon__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(220, 80, 86, 0.45);
}

.mother-partners-soon__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #1f1f1f;
  background: #fff;
  border: 1px solid rgba(31, 31, 31, 0.12);
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
}

.mother-partners-soon__btn:hover {
  background: #f9fafb;
}

@media (max-width: 640px) {
  .mother-partners-page {
    padding: 20px 16px 32px;
  }

  .mother-partners-soon__card {
    padding: 20px 18px;
  }

  .mother-partners-soon__btn {
    width: 100%;
  }
}

/* Static Mother pages (partners coming soon) — legacy shared soon blocks */
.mother-static-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px 8px;
}

.mother-static-header__brand {
  display: inline-flex;
  max-width: min(168px, 42vw);
}

.mother-static-header__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted, #5c6370);
  text-decoration: none;
}

.mother-static-header__link:hover {
  color: var(--text, #1f1f1f);
}

.mother-static-main {
  padding: 12px 20px 48px;
}

.mother-static-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.mother-coming-soon__status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c6370;
  background: rgba(31, 31, 31, 0.05);
  border: 1px solid rgba(31, 31, 31, 0.08);
}

.mother-coming-soon__header {
  margin-bottom: 18px;
}

.mother-coming-soon__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.mother-coming-soon__lead {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted, #5c6370);
}

.mother-coming-soon__panel {
  padding: 22px 20px 20px;
  border-radius: 24px;
  border: 1px solid rgba(31, 31, 31, 0.07);
  background: linear-gradient(165deg, #ffffff 0%, #f7f8fa 42%, #f3f5f8 100%);
  box-shadow:
    0 16px 40px rgba(31, 31, 31, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.mother-coming-soon__preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.mother-coming-soon__preview-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 88px;
  padding: 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(31, 31, 31, 0.06);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 14px rgba(31, 31, 31, 0.04);
}

.mother-coming-soon__preview-card--leads {
  background: linear-gradient(165deg, #ffffff 0%, #fff1f3 55%, #ffe8ec 100%);
}

.mother-coming-soon__preview-card--clients {
  background: linear-gradient(165deg, #ffffff 0%, #edf9f2 55%, #e4f5ec 100%);
}

.mother-coming-soon__preview-card--rewards {
  background: linear-gradient(165deg, #ffffff 0%, #f3effb 55%, #ebe4f8 100%);
}

.mother-coming-soon__preview-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(31, 31, 31, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.mother-coming-soon__preview-card--leads .mother-coming-soon__preview-icon {
  background: rgba(220, 80, 86, 0.12);
}

.mother-coming-soon__preview-card--clients .mother-coming-soon__preview-icon {
  background: rgba(47, 157, 98, 0.12);
}

.mother-coming-soon__preview-card--rewards .mother-coming-soon__preview-icon {
  background: rgba(99, 102, 241, 0.12);
}

.mother-coming-soon__preview-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #1f1f1f;
}

.mother-coming-soon__features {
  margin-bottom: 18px;
}

.mother-coming-soon__features-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #5c6370;
}

.mother-coming-soon__features-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mother-coming-soon__features-list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #3d434d;
}

.mother-coming-soon__features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(220, 80, 86, 0.45);
}

.mother-coming-soon__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mother-coming-soon__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mother-coming-soon__btn--secondary {
  color: #1f1f1f;
  background: #fff;
  border-color: rgba(31, 31, 31, 0.12);
}

.mother-coming-soon__btn--secondary:hover {
  background: #f9fafb;
}

.mother-coming-soon__btn--ghost {
  color: var(--muted, #5c6370);
  background: transparent;
  border-color: transparent;
}

.mother-coming-soon__btn--ghost:hover {
  color: #1f1f1f;
  background: rgba(31, 31, 31, 0.04);
}

@media (max-width: 720px) {
  .mother-coming-soon__preview {
    grid-template-columns: 1fr;
  }

  .mother-static-header {
    padding: 16px 16px 8px;
  }

  .mother-static-main {
    padding: 8px 16px 40px;
  }

  .mother-coming-soon__actions {
    flex-direction: column;
  }

  .mother-coming-soon__btn {
    width: 100%;
  }
}
