:root {
  --ink: #21191b;
  --muted: #7d7175;
  --paper: #fbf6f2;
  --line: rgba(72, 47, 52, 0.13);
  --rose: #c8556e;
  --rose-dark: #8f3448;
  --mint: #e5f1ea;
  --gold: #d9b766;
  --blue: #e7eef8;
  --cream: #fffaf6;
  --charcoal: #2a2022;
  --shadow: 0 22px 60px rgba(65, 37, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff 0%, #fbf6f2 56%, #fff 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
  padding-bottom: 72px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(72, 47, 52, 0.1);
  background: rgba(251, 246, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--charcoal), var(--rose));
  color: #fff;
  font-size: 0.78rem;
  box-shadow: 0 10px 24px rgba(143, 52, 72, 0.22);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 800;
}

.pro-link,
.login-link {
  color: var(--muted);
}

.pro-link {
  color: var(--ink);
}

.login-link {
  color: var(--rose-dark);
}

.register-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  padding: 0 16px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.menu-button span + span {
  margin-top: 6px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0 10px;
}

.language-switcher select {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.ghost-button,
.primary-button,
.course-grid button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 750;
}

.is-compact {
  min-height: 38px;
  padding-inline: 14px;
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.primary-button {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  box-shadow: 0 14px 30px rgba(200, 85, 110, 0.28);
}

.hero {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 250, 0.9)),
    linear-gradient(90deg, rgba(200, 85, 110, 0.16), rgba(229, 241, 234, 0.7) 52%, rgba(231, 238, 248, 0.8));
}

.hero::after {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(54px, 7vw, 96px) clamp(16px, 4vw, 48px) 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.hero-copy {
  max-width: 680px;
  color: #6c5e62;
  font-size: 1.05rem;
  line-height: 1.55;
}

.booking-search {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) auto;
  gap: 8px;
  width: min(980px, 100%);
  margin-top: 26px;
  border: 1px solid rgba(72, 47, 52, 0.12);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 22px 60px rgba(65, 37, 42, 0.14);
  text-align: left;
}

.booking-search label {
  display: grid;
  gap: 5px;
  min-height: 70px;
  border-radius: 9px;
  background: #fbf6f2;
  padding: 10px 14px;
}

.booking-search label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.booking-search input {
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font-size: 1.08rem;
  font-weight: 850;
}

.booking-search button {
  min-width: 168px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(200, 85, 110, 0.24);
}

.beauty-visual-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 22px;
}

.beauty-visual-card {
  display: grid;
  gap: 4px;
  min-height: 86px;
  align-content: end;
  border: 1px solid rgba(72, 47, 52, 0.1);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  box-shadow: 0 14px 34px rgba(65, 37, 42, 0.08);
}

.beauty-visual-card b {
  color: var(--ink);
}

.beauty-visual-card small {
  color: var(--muted);
  font-weight: 800;
}

.beauty-visual-card.is-lash {
  background: linear-gradient(135deg, #fff, #ffe6ef);
}

.beauty-visual-card.is-nails {
  background: linear-gradient(135deg, #fff, #fff1d6);
}

.beauty-visual-card.is-skin {
  background: linear-gradient(135deg, #fff, #e8f5ee);
}

.beauty-visual-card.is-hair {
  background: linear-gradient(135deg, #fff, #e8f0ff);
}

.hero-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.hero-suggestions a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 9px 13px;
  font-weight: 850;
}

.platform-categories,
.popular-treatments,
.today-appointments,
.how-it-works,
.benefits-section,
.landing-highlight,
.app-reminder-section,
.beauty-advice-section,
.career-section {
  padding: 42px clamp(16px, 4vw, 48px);
}

.platform-categories,
.today-appointments,
.benefits-section,
.app-reminder-section,
.career-section {
  background: #fff;
}

.landing-highlight {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1040px, calc(100% - 32px));
  margin: 10px auto 28px;
  border: 1px solid rgba(72, 47, 52, 0.1);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #fff7fa);
  box-shadow: 0 12px 28px rgba(65, 37, 42, 0.06);
}

.section-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  position: relative;
}

.section-icon::before,
.section-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.section-icon::before {
  width: 18px;
  height: 18px;
  background: currentColor;
}

.section-icon::after {
  width: 28px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  transform: translateY(10px);
}

.icon-rose {
  background: #ffe6ef;
  color: var(--rose-dark);
}

.icon-mint {
  background: var(--mint);
  color: #2f7157;
}

.icon-gold {
  background: #fff1d6;
  color: #9c761d;
}

.landing-highlight span {
  border-radius: 999px;
  background: #fff0f5;
  color: var(--rose-dark);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.landing-highlight p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.landing-highlight a,
.app-reminder-section a,
.beauty-advice-section a,
.career-section a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  padding: 0 16px;
  font-weight: 850;
}

.app-reminder-section,
.beauty-advice-section,
.career-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto 20px;
  border: 1px solid rgba(72, 47, 52, 0.1);
  border-radius: 12px;
  padding: 28px;
}

.beauty-advice-section {
  grid-template-columns: 1fr;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 247, 250, 0.86)),
    #fbf6f2;
}

.app-reminder-section p,
.beauty-advice-section p,
.career-section p {
  color: var(--muted);
  line-height: 1.55;
}

.mini-app-illustration {
  display: grid;
  gap: 8px;
  min-width: 240px;
  border: 10px solid var(--charcoal);
  border-radius: 28px;
  background:
    linear-gradient(180deg, #fff, #fff7fa);
  padding: 20px 16px;
  box-shadow: 0 18px 44px rgba(65, 37, 42, 0.14);
}

.mini-app-illustration span {
  color: var(--muted);
  font-weight: 750;
}

.mini-app-illustration small {
  border-radius: 999px;
  background: var(--mint);
  color: #275342;
  padding: 7px 9px;
  font-weight: 850;
}

.platform-categories .section-heading,
.popular-treatments .section-heading,
.today-appointments .section-heading,
.how-it-works .section-heading,
.benefits-section .section-heading {
  width: min(1040px, 100%);
  margin-inline: auto;
}

.platform-categories .section-heading > a,
.today-appointments .section-heading > a {
  color: var(--rose-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.category-grid,
.treatment-grid,
.appointment-strip,
.steps-grid,
.benefit-grid {
  display: grid;
  width: min(1040px, 100%);
  margin-inline: auto;
  gap: 14px;
}

.category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.category-grid a {
  display: grid;
  gap: 8px;
  min-height: 138px;
  align-content: end;
  border: 1px solid rgba(72, 47, 52, 0.1);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fbf6f2);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(65, 37, 42, 0.06);
}

.category-grid strong,
.treatment-grid h3,
.appointment-strip strong,
.steps-grid h3,
.benefit-grid strong {
  color: var(--ink);
}

.category-grid span,
.treatment-grid p,
.appointment-strip span,
.steps-grid p,
.benefit-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.treatment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.treatment-grid article,
.steps-grid article,
.benefit-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid rgba(72, 47, 52, 0.1);
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(65, 37, 42, 0.06);
}

.benefit-grid article {
  border: 0;
}

.benefit-card-rose {
  background: linear-gradient(145deg, #fff, #ffeaf1) !important;
}

.benefit-card-mint {
  background: linear-gradient(145deg, #fff, #eaf6ef) !important;
}

.benefit-card-blue {
  background: linear-gradient(145deg, #fff, #eaf1ff) !important;
}

.treatment-grid article > span {
  width: fit-content;
  border-radius: 999px;
  background: #fff0f5;
  color: var(--rose-dark);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.treatment-grid a {
  color: var(--rose-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.studio-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  width: min(1040px, 100%);
  margin-inline: auto;
}

.studio-card-grid article {
  overflow: hidden;
  border: 1px solid rgba(72, 47, 52, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(65, 37, 42, 0.08);
}

.studio-photo {
  min-height: 132px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(33, 25, 27, 0.16)),
    var(--paper);
}

.studio-photo-one {
  background-color: #f5d5df;
}

.studio-photo-two {
  background-color: #e5f1ea;
}

.studio-photo-three {
  background-color: #e7eef8;
}

.studio-photo-four {
  background-color: #fff0d4;
}

.studio-photo-five {
  background-color: #e9ddff;
}

.studio-info {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.studio-info h3 {
  margin: 0;
}

.studio-info p,
.studio-info span,
.studio-info small {
  color: var(--muted);
}

.slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-row b {
  border-radius: 999px;
  background: #fbf6f2;
  color: var(--rose-dark);
  padding: 7px 9px;
  font-size: 0.82rem;
}

.studio-info > strong {
  color: var(--ink);
}

.studio-info > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  font-weight: 850;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--rose-dark);
  color: #fff;
  font-weight: 900;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--mint);
  color: #275342;
  font-weight: 900;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr auto;
  gap: 10px;
  width: min(900px, 100%);
  margin-top: 18px;
  margin-bottom: 0;
  padding: 8px;
  border: 1px solid rgba(72, 47, 52, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(65, 37, 42, 0.12);
  text-align: left;
}

.search-panel label {
  padding: 0;
  border-right: 0;
}

.search-panel input {
  min-height: 46px;
  border-radius: 12px;
  background: #f7eee9;
  padding: 0 12px;
  font-size: 1rem;
}

.search-panel .primary-button {
  min-height: 44px;
  border-radius: 999px;
  padding-inline: 18px;
}

.web-install-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(880px, 100%);
  margin-top: 24px;
  border: 1px solid rgba(72, 47, 52, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 16px 42px rgba(65, 37, 42, 0.12);
  text-align: left;
}

.web-install-panel strong,
.web-install-panel span {
  display: block;
}

.web-install-panel span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.store-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.store-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  padding: 0 18px;
  font-weight: 850;
}

.store-actions a + a {
  background: var(--rose-dark);
}

.web-hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.web-hero-links span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 9px 14px;
  font-weight: 850;
}

.home-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 14px;
  color: var(--rose-dark);
  font-size: 0.94rem;
  font-weight: 820;
}

.home-shortcuts a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.beauty-reminders {
  display: grid;
  gap: 12px;
  width: min(900px, 100%);
  margin-top: 20px;
  margin-bottom: 0;
  border: 1px solid rgba(72, 47, 52, 0.1);
  border-radius: 8px;
  background: #f9fbff;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(48, 63, 94, 0.07);
  text-align: left;
}

.reminder-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.reminder-heading h2 {
  margin-bottom: 0;
  font-size: 1.15rem;
}

.reminder-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reminder-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.reminder-item > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--mint);
  color: #275342;
  font-size: 0.78rem;
  font-weight: 900;
}

.reminder-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.95rem;
}

.reminder-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.reminder-item button {
  grid-column: 1 / -1;
  min-height: 36px;
  border: 1px solid rgba(217, 87, 127, 0.2);
  border-radius: 999px;
  background: #fff0f5;
  color: var(--rose-dark);
  cursor: pointer;
  font-weight: 850;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f7eee9;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

input:focus {
  border-color: var(--rose);
  background: #fff;
}

.quick-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 22px clamp(16px, 4vw, 48px);
  border-top: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.app-preview-only {
  display: none !important;
}

.popular-searches,
.campaign-cards,
.build-section,
.help-section {
  padding: 30px clamp(16px, 4vw, 48px);
  background: #fff;
}

.popular-searches > div {
  display: grid;
  gap: 14px;
  width: min(1040px, 100%);
  margin-inline: auto;
}

.popular-searches strong {
  font-size: 1rem;
}

.popular-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  padding: 9px 13px;
  font-weight: 800;
}

.campaign-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: #f6f8fc;
}

.campaign-cards article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 210px;
  border: 1px solid rgba(22, 32, 51, 0.08);
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.06);
}

.campaign-cards span {
  width: fit-content;
  border-radius: 999px;
  background: #fff0f5;
  color: var(--rose-dark);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.campaign-cards p {
  color: var(--muted);
  line-height: 1.5;
}

.campaign-cards a,
.build-section a,
.help-actions a {
  color: var(--rose-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.app-download-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.phone-preview {
  display: grid;
  gap: 10px;
  max-width: 300px;
  min-height: 330px;
  margin-inline: auto;
  border: 10px solid var(--charcoal);
  border-radius: 34px;
  background:
    linear-gradient(180deg, #fff, #fff8fb 45%, #eef7f2);
  padding: 22px 16px;
  box-shadow: 0 20px 46px rgba(22, 32, 51, 0.16);
}

.phone-preview strong {
  color: var(--rose-dark);
  font-size: 1.2rem;
}

.phone-preview span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  padding: 12px;
  font-weight: 800;
}

.phone-preview span:nth-child(2) {
  border-color: rgba(200, 85, 110, 0.18);
  background: #fff0f5;
}

.phone-preview span:nth-child(3) {
  border-color: rgba(89, 132, 104, 0.18);
  background: #f0fbf5;
}

.phone-preview span:nth-child(4) {
  border-color: rgba(217, 183, 102, 0.22);
  background: #fff8e8;
}

.build-section,
.help-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.build-section p,
.help-section p {
  color: var(--muted);
  line-height: 1.55;
}

.help-section {
  background: #fbf6f2;
}

.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.partner {
  display: none !important;
}

.partner:target {
  display: grid !important;
}

.provider-page .partner {
  display: grid !important;
}

.provider-page .app-shell {
  padding-bottom: 0;
}

.feature-rail,
.companion-section,
.numbers-section,
.trust-section,
.app-promo {
  padding: 42px clamp(16px, 4vw, 48px);
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: #f6f8fc;
}

.feature-rail article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(22, 32, 51, 0.08);
  border-radius: 10px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.06);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff0f5;
  color: var(--rose-dark);
  font-weight: 900;
}

.feature-rail strong {
  display: block;
  margin-bottom: 6px;
}

.feature-rail p {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.feature-rail a {
  grid-column: 2;
  color: var(--rose-dark);
  font-weight: 850;
}

.companion-section {
  background: #fff;
  padding-top: 56px;
  padding-bottom: 56px;
}

.companion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.companion-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 20px;
}

.companion-grid article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--mint);
  color: #275342;
  font-weight: 900;
}

.companion-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.numbers-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(1040px, calc(100% - 32px));
  margin: 8px auto 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #fff7fa);
  padding: 0;
  box-shadow: 0 10px 28px rgba(65, 37, 42, 0.06);
  overflow: hidden;
}

.numbers-heading {
  grid-column: 1 / -1;
  display: block;
  min-height: 0;
  padding: 24px 24px 10px;
  text-align: left;
}

.numbers-heading h2 {
  margin-bottom: 0;
}

.numbers-section div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 82px;
  align-content: center;
  align-items: center;
  background: transparent;
  padding: 18px 24px;
  text-align: left;
}

.numbers-section div + div {
  border-left: 1px solid var(--line);
}

.numbers-section .numbers-heading + div {
  border-left: 0;
}

.numbers-section strong {
  color: var(--rose-dark);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
  white-space: nowrap;
}

.numbers-section span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.3;
}

.seo-directory {
  display: grid;
  gap: 24px;
  padding: 56px clamp(16px, 4vw, 48px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.seo-heading {
  display: grid;
  gap: 10px;
  width: min(1040px, 100%);
  margin-inline: auto;
}

.seo-heading h2 {
  max-width: 880px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.seo-heading p:not(.eyebrow) {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.6;
}

.seo-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1040px, 100%);
  margin-inline: auto;
}

.seo-category-grid article {
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid rgba(22, 32, 51, 0.08);
  border-radius: 10px;
  background: #fbf8f6;
  padding: 18px;
}

.seo-category-grid h3 {
  font-size: 1.05rem;
}

.seo-tags,
.seo-link-cloud,
.seo-city-grid,
.seo-page-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-tags a,
.seo-link-cloud a,
.seo-city-grid a,
.seo-page-grid a {
  border: 1px solid rgba(22, 32, 51, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #4f5d73;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 800;
}

.seo-tags a:hover,
.seo-link-cloud a:hover,
.seo-city-grid a:hover,
.seo-page-grid a:hover {
  border-color: rgba(150, 54, 89, 0.22);
  color: var(--rose-dark);
}

.seo-panels {
  display: grid;
  gap: 12px;
  width: min(1040px, 100%);
  margin-inline: auto;
}

.seo-panels details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.seo-panels summary {
  cursor: pointer;
  padding: 17px 18px;
  color: var(--ink);
  font-weight: 900;
}

.seo-panels details[open] summary {
  border-bottom: 1px solid var(--line);
}

.seo-link-cloud,
.seo-city-grid,
.seo-page-grid {
  padding: 18px;
}

.seo-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.seo-faq-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(22, 32, 51, 0.08);
  border-radius: 10px;
  background: #fbf8f6;
  padding: 16px;
}

.seo-faq-grid h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.seo-faq-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.seo-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-page-grid a {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 8px;
  text-align: center;
}

.seo-footer {
  display: grid;
  gap: 34px;
  padding: 52px clamp(16px, 4vw, 48px);
  border-top: 1px solid rgba(72, 47, 52, 0.12);
  background: #fff;
  color: var(--ink);
}

.seo-footer-head,
.seo-footer-grid,
.seo-footer-cities,
.seo-footer-section-title {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.seo-footer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(72, 47, 52, 0.12);
  padding-bottom: 34px;
}

.seo-footer-brand-line {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.seo-footer-brand-line > strong {
  color: var(--rose-dark);
  font-size: 1.45rem;
  font-weight: 900;
}

.seo-footer h2 {
  max-width: 760px;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.seo-footer-section-title {
  margin-top: 8px;
  margin-bottom: -12px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.seo-footer p {
  max-width: 760px;
  margin: 0;
  color: #567195;
  line-height: 1.55;
}

.seo-footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1.8fr 1.25fr;
  gap: clamp(28px, 4vw, 56px);
}

.seo-footer-grid article {
  align-content: start;
  min-width: 0;
  padding: 0;
}

.seo-footer-grid h3 {
  margin-bottom: 12px;
  color: #52749b;
  font-size: 1.05rem;
}

.seo-footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.seo-footer-grid article:nth-child(3) {
  columns: 2 150px;
  column-gap: 28px;
}

.seo-footer-grid article:nth-child(3) h3 {
  break-after: avoid;
  column-span: all;
}

.seo-footer-grid a,
.seo-footer-cities a,
.seo-legal a {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 620;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.seo-footer-grid a:hover,
.seo-footer-cities a:hover,
.seo-legal a:hover {
  color: var(--rose-dark);
}

.seo-footer-grid strong {
  color: #52749b;
  font-size: 0.98rem;
}

.seo-footer-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.seo-footer-apps a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(72, 47, 52, 0.14);
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 900;
}

.seo-trust-badges,
.seo-treatment-directory,
.seo-legal {
  width: min(1120px, 100%);
  margin-inline: auto;
  border-top: 1px solid rgba(72, 47, 52, 0.12);
  padding-top: 24px;
}

.seo-treatment-directory {
  display: grid;
  gap: 12px;
}

.seo-treatment-directory h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.seo-treatment-links {
  columns: 6 150px;
  column-gap: 24px;
}

.seo-treatment-links a {
  display: block;
  break-inside: avoid;
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 620;
}

.seo-treatment-links a:hover {
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seo-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-trust-badges span {
  border: 1px solid rgba(72, 47, 52, 0.12);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-weight: 750;
}

.seo-legal {
  display: grid;
  gap: 10px;
}

.seo-legal p {
  margin: 0;
  color: var(--muted);
}

.seo-legal div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.app-rating-placeholder {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
}

.service-page-shell {
  min-height: 100vh;
  background: #fff;
}

.service-template {
  display: grid;
  gap: 28px;
  padding: 0 clamp(16px, 4vw, 48px) 56px;
}

.service-hero,
.service-section {
  width: min(1040px, 100%);
  margin-inline: auto;
}

.service-hero {
  display: grid;
  gap: 14px;
  padding: clamp(48px, 7vw, 84px) 0 20px;
  text-align: center;
}

.service-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.55;
}

.service-section {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 24px;
}

.service-section p {
  color: var(--muted);
  line-height: 1.55;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  padding: 0;
}

.service-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.service-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-link-list a,
.service-footer a {
  border-radius: 999px;
  background: #fbf6f2;
  color: var(--rose-dark);
  padding: 8px 10px;
  font-weight: 850;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.seo-footer-cities {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.seo-footer-cities strong {
  color: #fff;
}

.seo-footer-cities div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-footer-cities a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 11px;
}

.trust-section,
.app-promo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 245, 238, 0.68)),
    #fff;
}

.trust-section p,
.app-promo p {
  color: var(--muted);
  line-height: 1.55;
}

.trust-section a {
  color: var(--rose-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.trust-actions a,
.partner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
}

.trust-actions a + a {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--rose-dark);
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(65, 37, 42, 0.05);
}

.trust-list span {
  color: var(--muted);
  line-height: 1.45;
}

.trust-list article:nth-child(1) {
  border-color: rgba(200, 85, 110, 0.18);
  background: #fff7fa;
}

.trust-list article:nth-child(2) {
  border-color: rgba(217, 183, 102, 0.22);
  background: #fffaf0;
}

.trust-list article:nth-child(3) {
  border-color: rgba(89, 132, 104, 0.18);
  background: #f2fbf6;
}

.app-promo {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(231, 238, 248, 0.9), rgba(255, 247, 250, 0.76)),
    #f9fbff;
}

.app-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.app-badges span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(48, 63, 94, 0.08);
}

.chip {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid rgba(72, 47, 52, 0.12);
  border-radius: 999px;
  background: #fff;
  padding: 0 16px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 750;
}

.chip.is-active {
  border-color: var(--rose-dark);
  background: var(--rose-dark);
  color: #fff;
}

.results-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  padding: 34px clamp(16px, 4vw, 48px);
}

.filters {
  position: sticky;
  top: 96px;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  padding: 20px;
}

.filter-group + .filter-group {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: var(--ink);
}

.toggle-row input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--rose);
}

input[type="range"] {
  padding: 0;
  accent-color: var(--rose);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #f4ece6;
}

.segmented button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.segmented .is-selected {
  background: #fff;
  box-shadow: 0 4px 14px rgba(50, 36, 29, 0.08);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.provider-list {
  display: grid;
  gap: 14px;
}

.clinic-booking {
  padding: 48px clamp(16px, 4vw, 48px);
  background: #fff;
}

.clinic-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.clinic-builder,
.clinic-flow {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf6;
}

.clinic-builder {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.clinic-builder input[readonly] {
  color: var(--muted);
}

.clinic-note {
  display: grid;
  gap: 6px;
  border-radius: 8px;
  background: var(--mint);
  padding: 14px;
  color: #275342;
}

.clinic-note span {
  font-size: 0.9rem;
  line-height: 1.45;
}

.clinic-flow {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.clinic-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  background: #fff;
  padding: 18px;
}

.clinic-step > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

.service-choice,
.date-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.date-choice {
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  overflow-x: auto;
  padding-bottom: 2px;
}

.service-choice button,
.date-choice button {
  display: grid;
  gap: 5px;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
  text-align: left;
}

.service-choice button span,
.date-choice button span {
  color: var(--muted);
  font-size: 0.84rem;
}

.service-choice .is-selected,
.date-choice .is-selected {
  border-color: var(--rose);
  background: #fff4f6;
  box-shadow: inset 0 0 0 1px var(--rose);
}

.doctor-list {
  display: grid;
  gap: 12px;
}

.doctor-card,
.empty-doctor-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.empty-doctor-card {
  grid-template-columns: 1fr;
  color: var(--muted);
}

.doctor-card h4 {
  margin: 8px 0 4px;
  font-size: 1.05rem;
}

.doctor-card p {
  margin-bottom: 8px;
  color: var(--muted);
}

.doctor-times {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  align-content: start;
}

.doctor-times button {
  min-height: 38px;
  border: 1px solid #f0d4dc;
  border-radius: 8px;
  background: #fff4f6;
  color: var(--rose-dark);
  cursor: pointer;
  font-weight: 850;
}

.provider-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  border: 1px solid rgba(72, 47, 52, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: 20px;
  box-shadow: 0 14px 38px rgba(65, 37, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.provider-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(216, 183, 102, 0.22), rgba(200, 85, 110, 0.12));
  border-bottom-left-radius: 100%;
  pointer-events: none;
}

.provider-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--mint);
  padding: 0 10px;
  color: #275342;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-tags button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 0 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-tags button.is-selected {
  border-color: var(--rose);
  background: #fff2f5;
  color: var(--rose-dark);
  box-shadow: inset 0 0 0 1px var(--rose);
}

.auto-planner {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8f0ec, #fff);
  padding: 12px;
  color: var(--muted);
}

.auto-planner strong {
  color: var(--ink);
}

.planner-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.planner-times button {
  min-height: 36px;
  border: 1px solid #f0d4dc;
  border-radius: 999px;
  background: #fff2f5;
  color: var(--rose-dark);
  cursor: pointer;
  padding: 0 12px;
  font-weight: 850;
}

.planner-times em {
  font-style: normal;
  color: var(--rose-dark);
  font-weight: 800;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  align-content: start;
}

.time-grid button {
  min-height: 38px;
  border: 1px solid #f0d4dc;
  border-radius: 999px;
  background: #fff2f5;
  color: var(--rose-dark);
  cursor: pointer;
  font-weight: 800;
}

.instant-band,
.partner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 48px clamp(16px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(200, 85, 110, 0.3), transparent 35%),
    var(--charcoal);
  color: #fff;
}

.instant-band p,
.partner span {
  color: rgba(255, 255, 255, 0.76);
}

.instant-grid,
.partner-panel,
.course-grid {
  display: grid;
  gap: 12px;
}

.instant-grid {
  grid-template-columns: repeat(2, 1fr);
}

.instant-grid div,
.partner-panel div,
.course-grid article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.partner-panel div:nth-child(1) {
  background: rgba(255, 232, 241, 0.14);
}

.partner-panel div:nth-child(2) {
  background: rgba(229, 241, 234, 0.14);
}

.partner-panel div:nth-child(3) {
  background: rgba(255, 242, 205, 0.14);
}

.partner-panel div:nth-child(4) {
  background: rgba(231, 238, 248, 0.14);
}

.instant-grid strong,
.instant-grid span,
.partner-panel strong,
.partner-panel span {
  display: block;
}

.academy {
  padding: 48px clamp(16px, 4vw, 48px);
}

.calendar-dashboard {
  display: none;
  padding: 28px clamp(16px, 4vw, 48px) 48px;
  background: #f5f5f7;
}

.calendar-dashboard:target {
  display: block;
}

.ipad-calendar-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.ipad-calendar-toolbar h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
}

.calendar-nav-controls,
.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.calendar-actions {
  justify-content: flex-end;
}

.round-control {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(60, 60, 67, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #d64a65;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.calendar-view-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: rgba(118, 118, 128, 0.14);
}

.calendar-view-switch button {
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #3a3a3c;
  cursor: pointer;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

.calendar-view-switch .is-active {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

.pro-calendar-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 14px;
  border: 1px solid rgba(60, 60, 67, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 238, 244, 0.92)),
    #fff;
  padding: 16px;
}

.pro-calendar-intro h3 {
  margin: 4px 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.pro-calendar-intro span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.pro-account-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pro-account-strip article {
  display: grid;
  gap: 6px;
  min-height: 92px;
  border: 1px solid rgba(151, 72, 91, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  padding: 12px;
}

.pro-account-strip strong {
  color: var(--rose-dark);
}

.calendar-shell {
  display: grid;
  grid-template-columns: 250px minmax(500px, 1fr) 330px;
  gap: 1px;
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(60, 60, 67, 0.14);
  border-radius: 14px;
  background: rgba(60, 60, 67, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1401px) {
  body:has(#calendar:target) .calendar-dashboard {
    min-height: calc(100vh - 72px);
  }

  body:has(#calendar:target) .calendar-shell {
    grid-template-columns: 270px minmax(660px, 1fr) 360px;
  }

  body:has(#calendar:target) .calendar-rows {
    max-height: min(760px, calc(100vh - 210px));
    overflow: auto;
  }
}

.calendar-sidebar,
.day-calendar,
.manual-booking,
.client-card {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.calendar-sidebar,
.manual-booking,
.client-card {
  padding: 16px;
}

.salon-status {
  display: grid;
  gap: 8px;
  color: var(--muted);
  margin-top: 16px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #42a66a;
  box-shadow: 0 0 0 6px rgba(66, 166, 106, 0.16);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
}

.stats-grid div {
  border-radius: 10px;
  background: #f5f5f7;
  padding: 12px;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  font-size: 1.55rem;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-pill {
  min-height: 36px;
  border: 1px solid rgba(60, 60, 67, 0.12);
  border-radius: 999px;
  background: #f5f5f7;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 800;
}

.staff-pill.is-active {
  background: #1d1d1f;
  color: #fff;
}

.mini-month {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
}

.mini-month-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #1d1d1f;
}

.mini-month-head span {
  color: #d64a65;
  letter-spacing: 0.24em;
}

.mini-weekdays,
.mini-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.mini-weekdays {
  margin-bottom: 6px;
  color: #86868b;
  font-size: 0.7rem;
  font-weight: 700;
}

.mini-days span,
.mini-days strong {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 999px;
  font-size: 0.82rem;
}

.mini-days strong {
  background: #d64a65;
  color: #fff;
}

.calendar-source-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: #3a3a3c;
  font-weight: 750;
}

.calendar-source-list label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reception-board {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  background: linear-gradient(180deg, #fff, #fbf7f9);
}

.reception-board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.reception-board-head h3 {
  margin: 3px 0 0;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
}

.reception-board-head > span {
  max-width: 260px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  text-align: right;
}

.team-calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
}

.team-calendar-card {
  overflow: hidden;
  border: 1px solid rgba(60, 60, 67, 0.12);
  border-radius: 12px;
  background: #fff;
}

.team-card-head {
  display: grid;
  gap: 2px;
  padding: 12px;
  color: #fff;
}

.team-card-head strong {
  font-size: 1.04rem;
}

.team-card-head span {
  opacity: 0.9;
  font-size: 0.82rem;
  font-weight: 750;
}

.team-card-events {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.team-card-events button,
.team-card-events p {
  display: grid;
  gap: 2px;
  min-height: 64px;
  border: 1px solid rgba(60, 60, 67, 0.1);
  border-radius: 9px;
  background: #fbfbfd;
  padding: 8px;
  color: #1d1d1f;
  text-align: left;
}

.team-card-events button {
  cursor: pointer;
}

.team-card-events time {
  color: var(--rose-dark);
  font-size: 1rem;
  font-weight: 900;
}

.team-card-events span {
  font-weight: 850;
}

.team-card-events small,
.team-card-events p {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 720;
}

.solo-availability {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border: 1px solid rgba(60, 60, 67, 0.12);
  border-radius: 8px;
  background: #fbfbfd;
  padding: 12px;
}

.solo-availability h3 {
  margin-bottom: 0;
}

.solo-availability small {
  color: var(--muted);
  line-height: 1.35;
}

.work-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.blocked-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.blocked-days button {
  min-height: 32px;
  border: 1px solid rgba(60, 60, 67, 0.14);
  border-radius: 7px;
  background: #fff;
  color: #3a3a3c;
  cursor: pointer;
  font-weight: 850;
}

.blocked-days .is-blocked {
  background: #f2d9df;
  color: var(--rose-dark);
}

.source-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.source-yemra {
  background: #d64a65;
}

.source-instagram {
  background: #3b82f6;
}

.source-phone {
  background: #d6a431;
}

.calendar-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.94);
}

.view-month .calendar-head {
  color: #86868b;
  font-size: 0.75rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.day-chip {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #86868b;
  font-size: 0.76rem;
  font-weight: 800;
}

.day-chip strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #1d1d1f;
  font-size: 1rem;
}

.day-chip.is-today strong {
  background: #d64a65;
  color: #fff;
}

.calendar-rows {
  display: grid;
  background: #fff;
}

.calendar-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  width: 100%;
  min-height: 74px;
  border: 0;
  padding: 0 14px 0 0;
  border-bottom: 1px solid rgba(60, 60, 67, 0.1);
  background: transparent;
  color: inherit;
  text-align: left;
}

.calendar-row:last-child {
  border-bottom: 0;
}

.calendar-row time {
  display: flex;
  justify-content: flex-end;
  padding-top: 9px;
  color: #86868b;
  font-size: 0.78rem;
  font-weight: 750;
}

.calendar-row span,
.calendar-row small {
  color: inherit;
}

.calendar-row span {
  display: block;
  margin-top: 2px;
}

.calendar-row.is-booked {
  background: #fff;
  cursor: pointer;
}

.appointment-block {
  align-self: center;
  min-height: 54px;
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.appointment-stack {
  align-self: center;
  display: grid;
  gap: 7px;
  padding: 8px 0;
}

.appointment-block strong,
.appointment-block span,
.appointment-block small {
  display: block;
}

.appointment-block em {
  font-style: normal;
  opacity: 0.88;
}

.appointment-block strong {
  font-size: 0.98rem;
}

.appointment-block span,
.appointment-block small {
  opacity: 0.92;
  font-size: 0.82rem;
}

.calendar-row.is-selected {
  background: #fffaf0;
}

.calendar-row.is-open {
  grid-template-columns: 76px minmax(0, 1fr);
  background: #fff;
}

.calendar-row.is-open button {
  align-self: center;
  min-height: 42px;
  border: 1px dashed rgba(60, 60, 67, 0.22);
  border-radius: 10px;
  background: #f9f9fb;
  color: #6e6e73;
  cursor: pointer;
  font-weight: 750;
}

.calendar-row.is-unavailable {
  background: repeating-linear-gradient(135deg, #f6f6f8, #f6f6f8 8px, #ededf1 8px, #ededf1 16px);
  color: #68686d;
}

.calendar-row.is-unavailable div {
  align-self: center;
  display: grid;
  gap: 2px;
}

.calendar-row.is-unavailable span {
  font-size: 0.84rem;
}

.tone-rose {
  background: #d64a65;
}

.tone-blue {
  background: #3b82f6;
}

.tone-mint {
  background: #34a853;
}

.tone-gold {
  background: #d6a431;
}

.team-calendar-card.tone-rose,
.team-calendar-card.tone-blue,
.team-calendar-card.tone-mint,
.team-calendar-card.tone-gold {
  background: #fff;
}

.team-calendar-card.tone-rose .team-card-head {
  background: #d64a65;
}

.team-calendar-card.tone-blue .team-card-head {
  background: #3b82f6;
}

.team-calendar-card.tone-mint .team-card-head {
  background: #34a853;
}

.team-calendar-card.tone-gold .team-card-head {
  background: #d6a431;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
  min-height: 100%;
  background: rgba(60, 60, 67, 0.1);
  gap: 1px;
}

.week-column {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 560px;
  padding: 10px;
  background: #fff;
}

.week-column.is-today {
  background: #fffaf0;
}

.week-column-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 28px;
  color: #86868b;
  font-size: 0.78rem;
  font-weight: 850;
}

.week-column-head strong {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(118, 118, 128, 0.14);
  color: #3a3a3c;
}

.week-event,
.month-event {
  border: 0;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.week-event {
  display: grid;
  gap: 3px;
  min-height: 74px;
  padding: 9px;
}

.week-event time,
.week-event span,
.month-event time {
  opacity: 0.92;
  font-size: 0.76rem;
}

.week-empty-slot {
  min-height: 42px;
  border: 1px dashed rgba(60, 60, 67, 0.22);
  border-radius: 9px;
  background: #f9f9fb;
  color: #86868b;
  cursor: pointer;
  font-weight: 800;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(104px, 1fr));
  background: rgba(60, 60, 67, 0.1);
  gap: 1px;
}

.month-cell {
  min-height: 118px;
  padding: 8px;
  background: #fff;
}

.month-cell.is-today {
  background: #fffaf0;
}

.month-cell-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.month-cell-head strong {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #1d1d1f;
}

.month-cell.is-today .month-cell-head strong {
  background: #d64a65;
  color: #fff;
}

.month-cell-head span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(118, 118, 128, 0.14);
  color: #3a3a3c;
  font-size: 0.75rem;
  font-weight: 850;
}

.month-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  width: 100%;
  min-height: 25px;
  margin-top: 4px;
  padding: 4px 6px;
  font-size: 0.76rem;
}

.month-event span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manual-booking {
  display: grid;
  gap: 12px;
}

.client-panel {
  display: grid;
  gap: 1px;
  background: rgba(60, 60, 67, 0.14);
}

.client-card {
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
}

.client-card dl {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.client-card dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.1);
}

.client-card dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.client-card dd {
  margin: 0;
  font-weight: 800;
}

.client-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.reschedule-box {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid rgba(200, 85, 110, 0.18);
  border-radius: 8px;
  background: #fff6f8;
  padding: 12px;
}

.reschedule-box p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reschedule-box > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.reschedule-box > div button {
  min-height: 34px;
  border: 1px solid rgba(200, 85, 110, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--rose-dark);
  cursor: pointer;
  font-weight: 850;
}

.reschedule-box > div button.is-selected {
  background: var(--rose-dark);
  color: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.course-grid {
  grid-template-columns: repeat(3, 1fr);
}

.course-grid article {
  border-color: var(--line);
  background: #fff;
}

.course-grid article span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--rose-dark);
  font-weight: 850;
}

.course-grid p {
  color: var(--muted);
}

.course-grid button {
  width: 100%;
  background: var(--blue);
  color: #1f405f;
}

.partner-panel {
  grid-template-columns: repeat(3, 1fr);
}

.solo-provider-note {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  grid-column: 1 / -1;
  margin-top: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.solo-provider-note h3,
.solo-provider-note p,
.solo-provider-note li {
  color: #fff;
}

.solo-provider-note p {
  margin-bottom: 0;
  line-height: 1.5;
}

.solo-provider-note ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.provider-profile-setup {
  display: grid;
  gap: 16px;
  grid-column: 1 / -1;
  margin-top: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
}

.provider-setup-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.provider-setup-head h3,
.provider-setup-head span {
  color: #fff;
}

.provider-setup-head span {
  display: block;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.provider-setup-head > strong {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff;
  color: var(--rose-dark);
  padding: 9px 13px;
  font-size: 0.86rem;
}

.profile-setup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.profile-step {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 14px;
}

.profile-step > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--rose-dark);
  font-weight: 900;
}

.profile-step h4 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.profile-step label span,
.profile-step .toggle-row span {
  color: rgba(255, 255, 255, 0.76);
}

.profile-step input,
.profile-step select {
  width: 100%;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
  font-weight: 750;
}

.profile-step input[type="file"] {
  padding: 10px;
}

.review-status,
.public-preview {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
}

.review-status p,
.public-preview p,
.public-preview small {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.opening-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.opening-days button {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-weight: 900;
}

.opening-days .is-open {
  background: #fff;
  color: var(--rose-dark);
}

.provider-service-setup {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  margin-top: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.provider-service-setup h3,
.provider-service-setup strong {
  color: #fff;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.setup-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.setup-service-row select {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f8f1ec;
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
  font-weight: 800;
}

.setup-calendar-preview {
  display: grid;
  gap: 12px;
}

.setup-calendar-preview > div:first-child span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
}

.setup-preview-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.setup-preview-block {
  display: grid;
  gap: 5px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
}

.setup-preview-block time,
.setup-preview-block span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.app-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 34px clamp(16px, 4vw, 48px) 92px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
}

.footer-brand p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-columns div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-columns a {
  color: var(--muted);
  font-weight: 750;
}

.customer-area {
  display: none;
  padding: 48px clamp(16px, 4vw, 48px);
  background: linear-gradient(180deg, #fff, #fbf6f2);
}

.customer-area:target,
.customer-area.is-active-screen {
  display: block;
}

@keyframes slideInCustomerScreen {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.appointment-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(118, 118, 128, 0.14);
  margin-bottom: 16px;
}

.appointment-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0 14px;
  font-weight: 800;
}

.appointment-tabs .is-selected {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

.customer-list,
.message-list,
.account-card {
  display: grid;
  gap: 12px;
}

.customer-appointment-card,
.message-list article,
.account-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 246, 0.92);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(65, 37, 42, 0.06);
}

.customer-appointment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.customer-appointment-card p,
.customer-appointment-card span,
.message-list span {
  color: var(--muted);
}

.customer-appointment-card button {
  min-height: 40px;
  border: 1px solid #f0d4dc;
  border-radius: 999px;
  background: #fff2f5;
  color: var(--rose-dark);
  cursor: pointer;
  font-weight: 850;
  padding: 0 14px;
}

.message-list article {
  display: grid;
  gap: 5px;
}

.account-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-card .clinic-note {
  grid-column: 1 / -1;
}

.provider-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.provider-dashboard-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf6;
  padding: 16px;
}

.provider-dashboard-grid span {
  color: var(--muted);
}

.footer-language {
  min-width: 180px;
  justify-content: space-between;
}

.mobile-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11;
  display: none !important;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(72, 47, 52, 0.1);
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 -12px 30px rgba(65, 37, 42, 0.08);
}

.mobile-nav a {
  display: grid;
  place-items: center;
  min-height: 58px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  position: relative;
  transition: color 180ms ease, font-weight 180ms ease;
}

.mobile-nav a span {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 58px;
}

.mobile-nav a span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: transparent;
  transform: translateX(-50%) scaleX(0.7);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.mobile-nav a.is-active {
  color: var(--rose-dark);
  font-weight: 900;
}

.mobile-nav a.is-active span::before {
  background: currentColor;
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.mobile-nav .calendar-tab {
  color: var(--rose-dark);
  font-weight: 900;
}

.mobile-nav.is-provider-nav {
  grid-template-columns: repeat(4, 1fr);
}

dialog {
  width: min(520px, calc(100vw - 24px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(34, 27, 24, 0.42);
  backdrop-filter: blur(4px);
}

.booking-card {
  position: relative;
  display: grid;
  gap: 12px;
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 1.3rem;
}

@media (max-width: 920px) {
  body:has(#calendar:target) .topbar,
  body:has(#calendar:target) .hero,
  body:has(#calendar:target) .quick-strip,
  body:has(#calendar:target) .results-layout,
  body:has(#calendar:target) .clinic-booking,
  body:has(#calendar:target) .instant-band,
  body:has(#calendar:target) .academy,
  body:has(#calendar:target) .partner,
  body:has(#calendar:target) .customer-area,
  body:has(#calendar:target) .app-footer {
    display: none;
  }

  body:has(#calendar:target) .app-shell {
    padding-bottom: 58px;
  }

  body:has(#calendar:target) .calendar-dashboard {
    min-height: calc(100svh - 58px);
  }

  body.customer-screen-open {
    background: #fff;
  }

  body.customer-screen-open .topbar,
  body.customer-screen-open .hero,
  body.customer-screen-open .quick-strip,
  body.customer-screen-open .results-layout,
  body.customer-screen-open .clinic-booking,
  body.customer-screen-open .instant-band,
  body.customer-screen-open .calendar-dashboard,
  body.customer-screen-open .academy,
  body.customer-screen-open .partner,
  body.customer-screen-open .app-footer {
    display: none;
  }

  body.customer-screen-open .app-shell {
    padding-bottom: 58px;
  }

  body.customer-screen-open .customer-area {
    display: none;
  }

  body.customer-screen-open .customer-area.is-active-screen {
    display: block;
    min-height: calc(100svh - 58px);
    animation: slideInCustomerScreen 220ms ease-out;
  }

  #mobile-nav a.is-active {
    color: var(--rose-dark);
    font-weight: 900;
  }

  .desktop-nav,
  .topbar .ghost-button {
    display: none;
  }

  .top-actions .pro-link,
  .top-actions .login-link,
  .top-actions .register-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .topbar {
    gap: 10px;
  }

  .language-switcher {
    min-height: 38px;
    padding-inline: 8px;
  }

  .language-switcher select {
    max-width: 74px;
  }

  .mobile-nav {
    display: grid;
  }

  .hero {
    min-height: 0;
  }

  .hero::after {
    content: none;
  }

  .booking-search button {
    min-height: 54px;
    width: 100%;
  }

  .hero-content {
    justify-content: start;
    padding-top: 34px;
  }

  .search-panel,
  .booking-search,
  .landing-highlight,
  .app-reminder-section,
  .career-section,
  .reminder-list,
  .results-layout,
  .clinic-shell,
  .instant-band,
  .treatment-grid,
  .studio-card-grid,
  .steps-grid,
  .benefit-grid,
  .feature-rail,
  .campaign-cards,
  .companion-grid,
  .seo-category-grid,
  .seo-faq-grid,
  .seo-page-grid,
  .seo-footer-grid,
  .seo-footer-head,
  .trust-section,
  .app-promo,
  .app-download-panel,
  .build-section,
  .help-section,
  .partner,
  .course-grid,
  .partner-panel,
  .solo-provider-note,
  .profile-setup-grid,
  .footer-columns,
  .app-footer {
    grid-template-columns: 1fr;
  }

  .landing-highlight,
  .app-reminder-section,
  .beauty-advice-section,
  .career-section {
    width: calc(100% - 32px);
  }

  .seo-footer-grid article {
    grid-template-columns: 1fr;
  }

  .seo-footer-grid article:nth-child(3) {
    columns: auto;
  }

  .seo-treatment-links {
    columns: 2 150px;
  }

  .landing-highlight {
    justify-items: start;
  }

  .mini-app-illustration {
    width: 100%;
    min-width: 0;
  }

  .seo-footer-apps {
    justify-content: flex-start;
  }

  .category-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .category-grid a {
    flex: 0 0 190px;
    scroll-snap-align: start;
  }

  .provider-setup-head {
    align-items: start;
    flex-direction: column;
  }

  .numbers-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .numbers-section div {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 92px;
    padding: 14px 10px;
    text-align: center;
  }

  .numbers-section div + div {
    border-left: 1px solid var(--line);
  }

  .numbers-section strong {
    font-size: 1.22rem;
  }

  .numbers-section span {
    font-size: 0.78rem;
  }

  .calendar-dashboard {
    padding: 18px 12px 86px;
  }

  .ipad-calendar-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ipad-calendar-toolbar h2 {
    order: -1;
    font-size: 1.45rem;
  }

  .calendar-actions,
  .calendar-nav-controls {
    justify-content: space-between;
  }

  .calendar-view-switch {
    flex: 1 1 auto;
  }

  .calendar-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    border-radius: 14px;
  }

  .calendar-sidebar {
    display: none;
  }

  .day-calendar {
    overflow: hidden;
  }

  .calendar-rows {
    max-height: none;
    overflow: auto;
  }

  .client-panel {
    grid-template-columns: 1fr;
  }

  body:has(#calendar:target) .calendar-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  body:has(#calendar:target) .calendar-sidebar,
  body:has(#calendar:target) .client-panel {
    display: none;
  }

  body:has(#calendar:target) .day-calendar {
    border-radius: 12px;
  }

  .client-card,
  .manual-booking {
    border-radius: 0;
  }

  .client-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .week-grid,
  .month-grid {
    overflow-x: auto;
  }

  .week-grid {
    grid-template-columns: repeat(7, minmax(150px, 1fr));
  }

  .month-grid {
    grid-template-columns: repeat(7, minmax(118px, 1fr));
  }

  .week-column {
    min-height: 440px;
  }

  .filters {
    position: static;
  }

  .provider-card {
    grid-template-columns: 1fr;
  }

  .service-choice,
  .date-choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-card {
    grid-template-columns: 1fr;
  }

  .setup-grid,
  .setup-preview-list {
    grid-template-columns: 1fr;
  }

  .setup-service-row {
    grid-template-columns: 1fr;
  }

  .customer-area {
    padding: 28px 12px 78px;
  }

  .customer-appointment-card,
  .account-card,
  .provider-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) and (max-width: 920px) {
  body:has(#calendar:target) .calendar-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  body:has(#calendar:target) .day-calendar {
    min-width: 0;
  }

}

@media (orientation: landscape) and (min-width: 900px) and (max-width: 1400px) {
  body:has(#calendar:target) {
    overflow: hidden;
  }

  body:has(#calendar:target) .topbar,
  body:has(#calendar:target) .mobile-nav,
  body:has(#calendar:target) .hero,
  body:has(#calendar:target) .quick-strip,
  body:has(#calendar:target) .results-layout,
  body:has(#calendar:target) .instant-band,
  body:has(#calendar:target) .academy,
  body:has(#calendar:target) .partner {
    display: none;
  }

  body:has(#calendar:target) .app-shell {
    padding-bottom: 0;
  }

  body:has(#calendar:target) .calendar-dashboard {
    min-height: 100svh;
    padding: 12px;
  }

  body:has(#calendar:target) .ipad-calendar-toolbar {
    align-items: center;
    margin-bottom: 10px;
  }

  body:has(#calendar:target) .calendar-dashboard h2 {
    margin-bottom: 0;
    font-size: 1.55rem;
  }

  body:has(#calendar:target) .calendar-shell {
    grid-template-columns: 230px minmax(0, 1fr) 315px;
    height: calc(100svh - 66px);
    gap: 1px;
  }

  body:has(#calendar:target) .calendar-sidebar,
  body:has(#calendar:target) .day-calendar,
  body:has(#calendar:target) .client-panel {
    min-height: 0;
  }

  body:has(#calendar:target) .day-calendar,
  body:has(#calendar:target) .client-panel {
    height: 100%;
    overflow: hidden;
  }

  body:has(#calendar:target) .calendar-rows {
    height: calc(100% - 57px);
    overflow: auto;
  }

  body:has(#calendar:target) .view-month .calendar-rows {
    height: calc(100% - 45px);
  }

  body:has(#calendar:target) .calendar-row {
    min-height: 72px;
  }

  body:has(#calendar:target) .week-column {
    min-height: calc(100svh - 118px);
  }

  body:has(#calendar:target) .month-cell {
    min-height: calc((100svh - 118px) / 5);
  }

  body:has(#calendar:target) .calendar-row strong,
  body:has(#calendar:target) .client-card h3 {
    font-size: 1.15rem;
  }

  body:has(#calendar:target) .client-panel {
    grid-template-rows: auto minmax(0, 1fr);
    overflow: auto;
  }

  body:has(#calendar:target) .manual-booking {
    gap: 8px;
  }

  body:has(#calendar:target) .salon-status p {
    margin-bottom: 0;
  }
}

@media (max-width: 540px) {
  body:has(#calendar:target) .calendar-dashboard {
    min-height: calc(100svh - 58px);
  }

  .topbar {
    min-height: 62px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .search-panel {
    padding: 8px;
  }

  .hero-content {
    padding-bottom: 12px;
  }

  .beauty-reminders {
    padding: 12px;
  }

  .reminder-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .reminder-heading {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

  .reminder-item {
    flex: 0 0 min(292px, 86vw);
    min-height: 0;
    scroll-snap-align: start;
  }

  .topbar {
    padding-inline: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .app-footer {
    justify-content: center;
    padding-bottom: 78px;
  }

  .appointment-tabs {
    width: 100%;
  }

  .customer-appointment-card button {
    width: 100%;
  }

  .calendar-dashboard {
    padding: 12px 8px 78px;
    background: #f5f5f7;
  }

  .ipad-calendar-toolbar {
    position: sticky;
    top: 0;
    z-index: 4;
    margin: -12px -8px 10px;
    padding: 10px 8px;
    background: rgba(245, 245, 247, 0.94);
    backdrop-filter: blur(18px);
  }

  .ipad-calendar-toolbar h2 {
    font-size: 1.24rem;
    line-height: 1.1;
  }

  .calendar-nav-controls {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
  }

  .calendar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .calendar-view-switch button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.82rem;
  }

  .primary-button.is-compact {
    min-width: 44px;
    padding-inline: 10px;
    white-space: nowrap;
  }

  .calendar-shell {
    border-radius: 12px;
  }

  .calendar-head {
    gap: 4px;
    padding: 8px 6px;
  }

  .day-chip {
    font-size: 0.68rem;
  }

  .day-chip strong {
    width: 30px;
    height: 30px;
  }

  .results-layout {
    padding-top: 22px;
  }

  .clinic-booking {
    padding: 28px 12px;
  }

  .clinic-step {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .service-choice,
  .date-choice {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .filters {
    display: none;
  }

  .time-grid,
  .instant-grid,
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .calendar-row {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 68px;
    padding-right: 8px;
    gap: 8px;
  }

  .calendar-row time {
    font-size: 0.72rem;
    padding-top: 8px;
  }

  .appointment-block {
    min-height: 50px;
    padding: 8px 10px;
  }

  .appointment-block strong {
    font-size: 0.9rem;
  }

  .appointment-block span,
  .appointment-block small {
    font-size: 0.75rem;
  }

  .calendar-row.is-open button {
    min-height: 38px;
    font-size: 0.82rem;
  }

  .client-card,
  .manual-booking {
    padding: 12px;
  }

  .client-card h3 {
    font-size: 1.15rem;
  }

  .client-card dl {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0;
  }

  .client-actions {
    grid-template-columns: 1fr;
  }

  .week-grid {
    grid-template-columns: repeat(7, minmax(132px, 1fr));
  }

  .week-column {
    min-height: 390px;
    padding: 8px;
  }

  .week-event {
    min-height: 66px;
    padding: 8px;
  }

  .month-grid {
    grid-template-columns: repeat(7, minmax(86px, 1fr));
  }

  .month-cell {
    min-height: 92px;
    padding: 6px;
  }

  .month-cell-head strong {
    width: 24px;
    height: 24px;
    font-size: 0.82rem;
  }

  .month-event {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 22px;
    padding: 3px 5px;
  }

  .month-event time {
    display: none;
  }
}

@media (max-width: 1180px) {
  .pro-calendar-intro,
  .pro-account-strip {
    grid-template-columns: 1fr;
  }

  .team-calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .team-calendar-grid {
    grid-template-columns: 1fr;
  }

  .reception-board-head {
    display: grid;
  }

  .reception-board-head > span {
    max-width: none;
    text-align: left;
  }
}
