:root {
  color-scheme: light;
  --bg: #fbf4f7;
  --text: #2b2226;
  --muted: #756871;
  --line: rgba(43, 34, 38, 0.12);
  --surface: rgba(255, 249, 252, 0.72);
  --surface-strong: rgba(255, 249, 252, 0.62);
  --accent: #b35d78;
  --accent-dark: #84384f;
  --sage: #6f7d72;
  --gold: #c29463;
  --shadow: 0 18px 45px rgba(82, 43, 58, 0.13);
  --radius-soft: 18px;
  --radius-pill: 24px;
  --placeholder: rgba(117, 104, 113, 0.76);
  --hero-overlay:
    radial-gradient(circle at 10% 0%, rgba(255, 225, 239, 0.56), transparent 34%),
    radial-gradient(circle at 92% 32%, rgba(224, 198, 174, 0.22), transparent 36%),
    radial-gradient(circle at 18% 78%, rgba(255, 246, 250, 0.5), transparent 38%),
    linear-gradient(180deg, #fffafd 0%, #faeef4 40%, #f3e1e9 72%, #f7e7ee 100%);
  --hero-lines: none;
  --glass: rgba(255, 249, 252, 0.42);
  --card-bg: rgba(255, 249, 252, 0.38);
  --focus: rgba(179, 93, 120, 0.15);
}

:root[data-theme="dark"],
html.dark-theme,
body.dark-theme {
  color-scheme: dark;
  --bg: #110d10;
  --text: #fff6f9;
  --muted: #cdb9c1;
  --line: rgba(255, 246, 249, 0.055);
  --surface: rgba(38, 27, 34, 0.34);
  --surface-strong: rgba(55, 37, 47, 0.34);
  --accent: #df92ad;
  --accent-dark: #f0b8cb;
  --sage: #a9bda8;
  --gold: #d9ad73;
  --shadow: 0 22px 52px rgba(8, 6, 8, 0.24);
  --placeholder: rgba(205, 185, 193, 0.78);
  --hero-overlay:
    radial-gradient(circle at 14% 0%, rgba(115, 50, 75, 0.32), transparent 36%),
    radial-gradient(circle at 88% 32%, rgba(207, 125, 155, 0.14), transparent 38%),
    radial-gradient(circle at 22% 82%, rgba(78, 35, 58, 0.2), transparent 42%),
    linear-gradient(180deg, #100c0f 0%, #171015 34%, #211620 70%, #120d10 100%);
  --hero-lines: none;
  --glass: rgba(38, 27, 34, 0.34);
  --card-bg: rgba(38, 27, 34, 0.3);
  --focus: rgba(223, 146, 173, 0.06);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background: var(--bg);
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  background:
    var(--hero-overlay),
    var(--hero-lines);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  transition: background 220ms ease, color 220ms ease;
}

html.dark-theme body,
body.dark-theme {
  background:
    var(--hero-overlay),
    var(--hero-lines);
}

button,
input,
select {
  font: inherit;
  max-width: 100%;
}

.is-hidden {
  display: none !important;
}

button,
a,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus,
a:focus,
summary:focus,
input:focus,
select:focus {
  outline: none;
}

.app-shell {
  width: min(100%, 760px);
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  overflow-x: clip;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-height: 0;
  padding: 22px 0 18px;
  align-items: start;
}

.hero-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.theme-toggle {
  min-width: 118px;
  min-height: 40px;
  padding: 4px 12px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(255, 232, 244, 0.16)),
    rgba(255, 249, 252, 0.34);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(82, 43, 58, 0.075), 0 4px 14px rgba(179, 93, 120, 0.04);
  backdrop-filter: blur(18px) saturate(1.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-toggle-track {
  width: 32px;
  height: 32px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 249, 252, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
}

.theme-toggle-thumb {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(145deg, #b96a86, #94475f);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(116, 50, 72, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.theme-toggle svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.3;
}

.theme-toggle[data-theme="dark"] {
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.038), rgba(223, 146, 173, 0.018) 44%, rgba(14, 10, 13, 0.1)),
    rgba(38, 27, 34, 0.34);
  border-color: rgba(223, 146, 173, 0.07);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.055),
    inset 0 0 0 1px rgba(255, 246, 249, 0.018),
    0 14px 28px rgba(8, 6, 8, 0.18);
}

.theme-toggle[data-theme="dark"] .theme-toggle-track {
  background: rgba(38, 27, 34, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.05),
    inset 0 0 0 1px rgba(223, 146, 173, 0.045);
}

.theme-toggle-text {
  background: linear-gradient(145deg, #2b2226, #84384f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.dark-theme .theme-toggle-text,
body.dark-theme .theme-toggle-text,
:root[data-theme="dark"] .theme-toggle-text {
  background: linear-gradient(145deg, #fff8fb, #f0b8cb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-toggle[data-theme="dark"] .theme-toggle-thumb {
  background: linear-gradient(145deg, #b96a86, #8f435c);
  color: #fff6f9;
  box-shadow: 0 7px 14px rgba(8, 6, 8, 0.18);
}

.hero-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  background: linear-gradient(145deg, #5b2438, #84384f, #a6526d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

html.dark-theme .eyebrow,
body.dark-theme .eyebrow,
:root[data-theme="dark"] .eyebrow {
  background: linear-gradient(145deg, #d27b9a, #f0b8cb, #9e4d67);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 10.4vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 700;
  background: linear-gradient(145deg, #2b2226 8%, #4a3039 48%, #84384f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.dark-theme h1,
body.dark-theme h1,
:root[data-theme="dark"] h1 {
  background: linear-gradient(145deg, #fff9fc 8%, #f2d6e0 48%, #d898ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
  background: linear-gradient(145deg, #2b2226, #84384f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.dark-theme h2,
body.dark-theme h2,
:root[data-theme="dark"] h2 {
  background: linear-gradient(145deg, #fff8fb, #f0b8cb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p:last-child,
.section-head p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.tabs {
  position: sticky;
  top: max(8px, env(safe-area-inset-top));
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 5px;
  margin: 0 0 14px;
  border: 1px solid rgba(179, 93, 120, 0.12);
  border-radius: 22px;
  background: var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 14px 34px rgba(82, 43, 58, 0.1);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  overflow: hidden;
}

.tabs,
.bookings-shortcut,
.service-card,
.direction-card,
.care-list article,
.care-list a,
.booking-result,
.empty-state,
.phone-shell,
.contact-input-shell,
.notice-banner,
.success-dialog > div {
  position: relative;
  isolation: isolate;
}

.tabs::before,
.bookings-shortcut::before,
.service-card::before,
.direction-card::before,
.care-list article::before,
.care-list a::before,
.booking-result::before,
.empty-state::before,
.phone-shell::before,
.contact-input-shell::before,
.notice-banner::before,
.success-dialog > div::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.04) 24%, rgba(179, 93, 120, 0.06) 62%, rgba(255, 255, 255, 0.2)),
    linear-gradient(315deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(179, 93, 120, 0.055),
    inset 1px 0 0 rgba(255, 255, 255, 0.11),
    inset -1px 0 0 rgba(179, 93, 120, 0.04);
  opacity: 0.34;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

html.dark-theme .tabs::before,
body.dark-theme .tabs::before,
:root[data-theme="dark"] .tabs::before,
html.dark-theme .bookings-shortcut::before,
body.dark-theme .bookings-shortcut::before,
:root[data-theme="dark"] .bookings-shortcut::before,
html.dark-theme .service-card::before,
body.dark-theme .service-card::before,
:root[data-theme="dark"] .service-card::before,
html.dark-theme .direction-card::before,
body.dark-theme .direction-card::before,
:root[data-theme="dark"] .direction-card::before,
html.dark-theme .care-list article::before,
body.dark-theme .care-list article::before,
:root[data-theme="dark"] .care-list article::before,
html.dark-theme .care-list a::before,
body.dark-theme .care-list a::before,
:root[data-theme="dark"] .care-list a::before,
html.dark-theme .booking-result::before,
body.dark-theme .booking-result::before,
:root[data-theme="dark"] .booking-result::before,
html.dark-theme .empty-state::before,
body.dark-theme .empty-state::before,
:root[data-theme="dark"] .empty-state::before,
html.dark-theme .phone-shell::before,
body.dark-theme .phone-shell::before,
:root[data-theme="dark"] .phone-shell::before,
html.dark-theme .contact-input-shell::before,
body.dark-theme .contact-input-shell::before,
:root[data-theme="dark"] .contact-input-shell::before,
html.dark-theme .notice-banner::before,
body.dark-theme .notice-banner::before,
:root[data-theme="dark"] .notice-banner::before,
html.dark-theme .success-dialog > div::before,
body.dark-theme .success-dialog > div::before,
:root[data-theme="dark"] .success-dialog > div::before {
  background:
    linear-gradient(135deg, rgba(255, 246, 249, 0.22), rgba(255, 246, 249, 0.018) 24%, rgba(223, 146, 173, 0.065) 62%, rgba(255, 246, 249, 0.12)),
    linear-gradient(315deg, rgba(255, 246, 249, 0), rgba(255, 246, 249, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.075),
    inset 0 -1px 0 rgba(223, 146, 173, 0.035),
    inset 1px 0 0 rgba(255, 246, 249, 0.035),
    inset -1px 0 0 rgba(223, 146, 173, 0.03);
  opacity: 0.42;
}

.tab {
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tab svg,
.primary-action svg,
.secondary-action svg,
.bookings-shortcut svg,
.care-list svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.tab.active {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 229, 243, 0.14)),
    rgba(255, 249, 252, 0.28);
  color: var(--text);
  backdrop-filter: blur(18px) saturate(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 0 1px rgba(179, 93, 120, 0.055),
    0 5px 14px rgba(82, 43, 58, 0.055),
    0 2px 8px rgba(179, 93, 120, 0.035);
  transform: translateY(-1px);
}

html.dark-theme .tabs,
body.dark-theme .tabs,
:root[data-theme="dark"] .tabs,
html.dark-theme .bookings-shortcut,
body.dark-theme .bookings-shortcut,
:root[data-theme="dark"] .bookings-shortcut {
  border-color: rgba(223, 146, 173, 0.055);
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.045), rgba(223, 146, 173, 0.025) 44%, rgba(23, 18, 22, 0.08)),
    rgba(48, 34, 42, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.045),
    0 12px 24px rgba(8, 6, 8, 0.14);
}

html.dark-theme .tab.active,
body.dark-theme .tab.active,
:root[data-theme="dark"] .tab.active {
  background:
    linear-gradient(145deg, rgba(74, 54, 64, 0.28), rgba(35, 27, 33, 0.2)),
    rgba(49, 37, 44, 0.26);
  color: #fff8fb;
  font-weight: 500;
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.08),
    0 7px 16px rgba(8, 6, 8, 0.1);
}

.tab span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
}

.panel.active {
  display: block;
  animation: panelIn 180ms ease-out both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-head {
  display: grid;
  gap: 6px;
  margin: 10px 0 16px;
  min-width: 0;
}

.panel[data-panel="booking"] .section-head {
  margin-top: 6px;
}

.panel[data-panel="services"] .section-head,
.panel[data-panel="bookings"] .section-head,
.panel[data-panel="care"] .section-head {
  margin-top: 24px;
}

.panel[data-panel="care"] .section-head {
  margin-bottom: 10px;
}

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

.service-card,
.direction-card,
.care-list article,
.care-list a,
.booking-result,
.empty-state {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 229, 243, 0.12)),
    var(--card-bg);
  border-radius: var(--radius-soft);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055),
    0 12px 28px rgba(82, 43, 58, 0.06);
}

html.dark-theme .service-card,
body.dark-theme .service-card,
:root[data-theme="dark"] .service-card,
html.dark-theme .direction-card,
body.dark-theme .direction-card,
:root[data-theme="dark"] .direction-card,
html.dark-theme .care-list article,
body.dark-theme .care-list article,
:root[data-theme="dark"] .care-list article,
html.dark-theme .care-list a,
body.dark-theme .care-list a,
:root[data-theme="dark"] .care-list a,
html.dark-theme .booking-result,
body.dark-theme .booking-result,
:root[data-theme="dark"] .booking-result,
html.dark-theme .empty-state,
body.dark-theme .empty-state,
:root[data-theme="dark"] .empty-state {
  border-color: rgba(223, 146, 173, 0.035);
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.038), rgba(223, 146, 173, 0.018) 42%, rgba(14, 10, 13, 0.1)),
    rgba(38, 27, 34, 0.3);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.055),
    inset 0 0 0 1px rgba(255, 246, 249, 0.018),
    0 12px 24px rgba(8, 6, 8, 0.11);
}

.service-card {
  min-width: 0;
  min-height: 112px;
  padding: 15px 14px 14px;
  text-align: left;
  display: grid;
  align-content: space-between;
  gap: 11px;
  position: relative;
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 232, 244, 0.14)),
    var(--card-bg);
  transition: border-color 210ms ease, background 210ms ease, box-shadow 210ms ease, transform 210ms ease;
}

html.dark-theme .service-card,
body.dark-theme .service-card,
:root[data-theme="dark"] .service-card {
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.034), rgba(223, 146, 173, 0.016) 46%, rgba(14, 10, 13, 0.1)),
    rgba(38, 27, 34, 0.3);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 10px 14px;
  height: 3px;
  border-radius: 999px;
  background: rgba(179, 93, 120, 0);
  transition: background 210ms ease, box-shadow 210ms ease;
}

.service-card.active {
  border-color: rgba(179, 93, 120, 0.8);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 232, 244, 0.22)),
    rgba(255, 249, 252, 0.44);
  backdrop-filter: blur(18px) saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 15px 32px rgba(179, 93, 120, 0.14),
    0 7px 20px rgba(82, 43, 58, 0.07);
  transform: translateY(-1px);
}

html.dark-theme .service-card.active,
body.dark-theme .service-card.active,
:root[data-theme="dark"] .service-card.active {
  border-color: rgba(223, 146, 173, 0.46);
  background:
    linear-gradient(145deg, rgba(74, 54, 64, 0.22), rgba(35, 27, 33, 0.18)),
    rgba(42, 32, 38, 0.24);
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.07),
    0 10px 20px rgba(8, 6, 8, 0.1),
    0 0 18px rgba(223, 146, 173, 0.12),
    inset 0 0 0 1px rgba(223, 146, 173, 0.18);
}

html.dark-theme .direction-card[open],
body.dark-theme .direction-card[open],
:root[data-theme="dark"] .direction-card[open],
html.dark-theme .direction-card.is-open,
body.dark-theme .direction-card.is-open,
:root[data-theme="dark"] .direction-card.is-open {
  border-color: rgba(223, 146, 173, 0.22);
}

.service-card.active::after {
  background: rgba(179, 93, 120, 0.58);
  box-shadow: 0 0 10px rgba(179, 93, 120, 0.22);
}

html.dark-theme .service-card.active::after,
body.dark-theme .service-card.active::after,
:root[data-theme="dark"] .service-card.active::after {
  background: linear-gradient(90deg, rgba(223, 146, 173, 0.78), rgba(241, 198, 213, 0.92), rgba(223, 146, 173, 0.78));
  box-shadow: 0 0 14px rgba(223, 146, 173, 0.34);
}

.price-item strong {
  font-size: 16px;
  line-height: 1.18;
}

.service-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(145deg, #2b2226, #84384f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.direction-card summary strong,
.care-list strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(145deg, #2b2226, #84384f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.dark-theme .service-card strong,
body.dark-theme .service-card strong,
:root[data-theme="dark"] .service-card strong,
html.dark-theme .direction-card summary strong,
body.dark-theme .direction-card summary strong,
:root[data-theme="dark"] .direction-card summary strong,
html.dark-theme .care-list strong,
body.dark-theme .care-list strong,
:root[data-theme="dark"] .care-list strong {
  background: linear-gradient(145deg, #fff8fb, #f0b8cb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-card span,
.direction-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.42;
}

.service-card strong,
.service-card span,
.direction-card strong,
.direction-card small,
.direction-card p,
.direction-card b,
.care-list span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.booking-form,
.booking-lookup {
  display: grid;
  gap: 10px;
}

.booking-lookup {
  gap: 6px;
}

.booking-lookup.phone-known .lookup-phone-field,
.booking-lookup.phone-known .primary-action {
  display: none;
}

.booking-lookup.phone-known.phone-editing .lookup-phone-field {
  display: grid;
}

.booking-lookup.phone-known.phone-editing .lookup-confirm,
.booking-lookup.phone-editing .lookup-cancel {
  display: inline-flex;
}

.booking-lookup.phone-editing .saved-phone-block {
  display: none;
}

.booking-lookup.name-editing .saved-profile-block {
  display: none;
}

.booking-lookup.name-editing .name-edit-field {
  display: grid;
}

.lookup-cancel.is-hidden,
.lookup-confirm,
.booking-lookup:not(.phone-editing) .lookup-cancel,
.booking-lookup:not(.name-editing) .name-edit-field,
.booking-lookup:not(.name-editing) .lookup-name-actions {
  display: none;
}

.booking-lookup.phone-known.phone-editing .lookup-confirm,
.booking-lookup.phone-known.phone-editing .lookup-cancel {
  display: inline-flex;
}

.saved-phone-block,
.saved-profile-block {
  color: var(--text);
  display: grid;
  gap: 6px;
  font-size: 15px;
  line-height: 1.32;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 229, 243, 0.12)),
    var(--card-bg);
  padding: 13px 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 22px rgba(82, 43, 58, 0.06);
}

.saved-phone-block > span,
.saved-profile-block > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.saved-phone-block strong,
.saved-profile-block strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.saved-phone-block strong span,
.saved-profile-block strong span {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

.saved-phone-reset {
  color: var(--muted);
}

html.dark-theme .saved-phone-block,
body.dark-theme .saved-phone-block,
:root[data-theme="dark"] .saved-phone-block,
html.dark-theme .saved-profile-block,
body.dark-theme .saved-profile-block,
:root[data-theme="dark"] .saved-profile-block {
  border-color: rgba(223, 146, 173, 0.035);
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.034), rgba(223, 146, 173, 0.016) 46%, rgba(14, 10, 13, 0.1)),
    rgba(38, 27, 34, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.055),
    inset 0 0 0 1px rgba(255, 246, 249, 0.018),
    0 12px 24px rgba(8, 6, 8, 0.11);
}

.icon-action {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.inline-edit-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.inline-edit-shell > input,
.inline-edit-shell > .phone-shell {
  min-width: 0;
}

.confirm-action,
.cancel-action {
  width: 40px;
  height: 40px;
  min-width: 40px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 229, 243, 0.12)),
    var(--card-bg);
}

.confirm-action {
  border-color: rgba(111, 125, 114, 0.22);
}

.cancel-action {
  border-color: rgba(179, 93, 120, 0.22);
}

.booking-lookup:not(.phone-editing) .lookup-confirm,
.booking-lookup:not(.phone-editing) .lookup-cancel {
  display: none;
}

.booking-lookup.phone-editing .lookup-confirm,
.booking-lookup.phone-editing .lookup-cancel {
  display: inline-flex;
}

.booking-lookup.phone-editing .primary-action {
  display: none;
}

.icon-action svg {
  width: 14px;
  height: 14px;
}

.notice-banner {
  margin-top: 10px;
  border: 1px solid rgba(179, 93, 120, 0.22);
  border-radius: var(--radius-soft);
  background: rgba(179, 93, 120, 0.08);
  color: var(--accent-dark);
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.42;
}

label {
  display: grid;
  gap: 6px;
}

label > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

input,
select {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  max-width: 100%;
  height: 50px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 229, 243, 0.12)),
    rgba(255, 249, 252, 0.36);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  padding: 0 14px;
  outline: none;
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateZ(0);
}

.date-shell {
  position: relative;
  min-width: 0;
}

.date-shell input[type="date"] {
  position: relative;
  z-index: 1;
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: transparent;
  background-color: transparent;
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.date-shell.has-value input[type="date"],
.date-shell input[type="date"]:focus {
  color: transparent;
  -webkit-text-fill-color: transparent;
  border-color: var(--line);
  box-shadow: none;
  -webkit-box-shadow: none;
}

.date-shell:focus-within input[type="date"] {
  border-color: var(--accent);
}

html.dark-theme .date-shell:focus-within input[type="date"],
body.dark-theme .date-shell:focus-within input[type="date"],
:root[data-theme="dark"] .date-shell:focus-within input[type="date"] {
  border-color: rgba(223, 146, 173, 0.18);
}

html.dark-theme input,
body.dark-theme input,
:root[data-theme="dark"] input,
html.dark-theme select,
body.dark-theme select,
:root[data-theme="dark"] select {
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.034), rgba(223, 146, 173, 0.016) 46%, rgba(14, 10, 13, 0.1)),
    rgba(38, 27, 34, 0.3);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.055),
    inset 0 0 0 1px rgba(255, 246, 249, 0.018),
    0 12px 24px rgba(8, 6, 8, 0.11);
}

html.dark-theme .date-shell input[type="date"],
body.dark-theme .date-shell input[type="date"],
:root[data-theme="dark"] .date-shell input[type="date"] {
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.034), rgba(223, 146, 173, 0.016) 46%, rgba(14, 10, 13, 0.1)),
    rgba(38, 27, 34, 0.3);
}

.date-shell:focus-within::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: var(--radius-soft);
  box-shadow: 0 0 0 3px var(--focus);
  pointer-events: none;
}

.date-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 42px 0 14px;
  color: var(--placeholder);
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
}

.date-shell.has-value .date-placeholder {
  color: var(--text);
}

.date-shell svg {
  position: absolute;
  right: 14px;
  top: 50%;
  z-index: 3;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus);
}

html.dark-theme input:focus,
body.dark-theme input:focus,
:root[data-theme="dark"] input:focus,
html.dark-theme select:focus,
body.dark-theme select:focus,
:root[data-theme="dark"] select:focus {
  border-color: rgba(223, 146, 173, 0.18);
  box-shadow: 0 0 0 2px var(--focus);
}

input::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.phone-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 229, 243, 0.12)),
    rgba(255, 249, 252, 0.36);
  padding: 0 14px;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-shell:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus);
}

html.dark-theme .phone-shell:focus-within,
body.dark-theme .phone-shell:focus-within,
:root[data-theme="dark"] .phone-shell:focus-within {
  border-color: rgba(223, 146, 173, 0.18);
  box-shadow: 0 0 0 2px var(--focus);
}

html.dark-theme .phone-shell,
body.dark-theme .phone-shell,
:root[data-theme="dark"] .phone-shell,
html.dark-theme .contact-input-shell,
body.dark-theme .contact-input-shell,
:root[data-theme="dark"] .contact-input-shell {
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.034), rgba(223, 146, 173, 0.016) 46%, rgba(14, 10, 13, 0.1)),
    rgba(38, 27, 34, 0.3);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.055),
    inset 0 0 0 1px rgba(255, 246, 249, 0.018),
    0 12px 24px rgba(8, 6, 8, 0.11);
}

.phone-shell > span {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.phone-shell input {
  height: 48px;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
}

.phone-shell input:focus {
  box-shadow: none;
}

input[type="date"] {
  text-align: left;
  text-align-last: left;
  line-height: normal;
  padding-right: 42px;
}

input[type="date"]::-webkit-date-and-time-value {
  min-height: 48px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  text-align: left;
  line-height: normal;
}

input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: transparent;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  margin: 0;
  opacity: 0.65;
}

select {
  padding-right: 42px;
}

select.is-empty {
  color: var(--placeholder);
}

.select-shell {
  position: relative;
}

.select-shell svg {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.contact-input-shell {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 229, 243, 0.12)),
    rgba(255, 249, 252, 0.36);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.contact-input-shell:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus);
}

html.dark-theme .contact-input-shell:focus-within,
body.dark-theme .contact-input-shell:focus-within,
:root[data-theme="dark"] .contact-input-shell:focus-within {
  border-color: rgba(223, 146, 173, 0.18);
  box-shadow: 0 0 0 2px var(--focus);
}

.contact-input-shell select,
.contact-input-shell input {
  height: 48px;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.contact-input-shell select {
  -webkit-appearance: none;
  appearance: none;
  padding: 0 25px 0 12px;
  border-right: 1px solid rgba(43, 34, 38, 0.1);
  background: transparent;
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 48px;
  white-space: nowrap;
  text-align: center;
  text-align-last: center;
}

html.dark-theme .phone-shell input,
body.dark-theme .phone-shell input,
:root[data-theme="dark"] .phone-shell input,
html.dark-theme .contact-input-shell select,
body.dark-theme .contact-input-shell select,
:root[data-theme="dark"] .contact-input-shell select,
html.dark-theme .contact-input-shell input,
body.dark-theme .contact-input-shell input,
:root[data-theme="dark"] .contact-input-shell input {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

html.dark-theme .contact-input-shell select,
body.dark-theme .contact-input-shell select,
:root[data-theme="dark"] .contact-input-shell select {
  background: transparent;
  border-right-color: rgba(223, 146, 173, 0.08);
}

.contact-input-shell input {
  padding: 0 12px;
}

.contact-input-shell svg {
  position: absolute;
  left: 111px;
  top: 50%;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

html.dark-theme .phone-shell,
body.dark-theme .phone-shell,
:root[data-theme="dark"] .phone-shell,
html.dark-theme .contact-input-shell,
body.dark-theme .contact-input-shell,
:root[data-theme="dark"] .contact-input-shell {
  border-color: rgba(223, 146, 173, 0.035);
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.034), rgba(223, 146, 173, 0.016) 46%, rgba(14, 10, 13, 0.1)),
    rgba(38, 27, 34, 0.3);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.055),
    inset 0 0 0 1px rgba(255, 246, 249, 0.018),
    0 12px 24px rgba(8, 6, 8, 0.11);
}

.primary-action,
.secondary-action {
  min-height: 50px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 20px;
}

#bookingForm .primary-action {
  font-weight: 700;
}

.booking-lookup .secondary-action {
  margin-top: 0;
}

.booking-lookup .primary-action {
  width: calc(100% - 2px);
  justify-self: center;
  margin-top: 6px;
}

.primary-action {
  border: 0;
  background: linear-gradient(145deg, #b96a86, #94475f);
  color: #fff;
  box-shadow: 0 12px 24px rgba(116, 50, 72, 0.14), 0 6px 18px rgba(82, 43, 58, 0.07);
}

.primary-action:disabled,
.icon-action:disabled {
  cursor: default;
  opacity: 0.46;
  box-shadow: none;
  pointer-events: none;
}

html.dark-theme .primary-action,
body.dark-theme .primary-action,
:root[data-theme="dark"] .primary-action {
  color: #fff6f9;
  background: linear-gradient(145deg, #b96a86, #8f435c);
  box-shadow: 0 12px 24px rgba(8, 6, 8, 0.18);
}

.secondary-action {
  width: 100%;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 229, 243, 0.12)),
    var(--surface-strong);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(82, 43, 58, 0.08);
}

html.dark-theme .secondary-action,
body.dark-theme .secondary-action,
:root[data-theme="dark"] .secondary-action,
html.dark-theme .icon-action,
body.dark-theme .icon-action,
:root[data-theme="dark"] .icon-action {
  border-color: rgba(223, 146, 173, 0.08);
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.05), rgba(223, 146, 173, 0.035) 46%, rgba(23, 14, 20, 0.1)),
    rgba(55, 37, 47, 0.28);
  color: #f3d7e1;
  box-shadow: 0 10px 20px rgba(8, 6, 8, 0.16);
}

html.dark-theme .bookings-shortcut,
body.dark-theme .bookings-shortcut,
:root[data-theme="dark"] .bookings-shortcut {
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.045), rgba(223, 146, 173, 0.025) 44%, rgba(23, 18, 22, 0.08)),
    rgba(48, 34, 42, 0.28);
  border-color: rgba(223, 146, 173, 0.045);
}

.bookings-shortcut {
  width: 100%;
  min-height: 44px;
  margin: 0 0 18px;
  border: 1px solid rgba(179, 93, 120, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 229, 243, 0.1)),
    var(--glass);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 14px 34px rgba(82, 43, 58, 0.1);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.success-dialog {
  width: min(calc(100% - 32px), 420px);
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: transparent;
  color: var(--text);
}

.success-dialog::backdrop {
  background: rgba(20, 16, 13, 0.46);
  backdrop-filter: blur(8px);
}

html.dark-theme .success-dialog::backdrop,
body.dark-theme .success-dialog::backdrop,
:root[data-theme="dark"] .success-dialog::backdrop {
  background: rgba(10, 7, 9, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.success-dialog > div {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 229, 243, 0.12)),
    var(--surface-strong);
  box-shadow: var(--shadow);
  text-align: center;
}

html.dark-theme .success-dialog > div,
body.dark-theme .success-dialog > div,
:root[data-theme="dark"] .success-dialog > div {
  border-color: rgba(223, 146, 173, 0.055);
  background:
    linear-gradient(145deg, rgba(255, 246, 249, 0.038), rgba(223, 146, 173, 0.018) 44%, rgba(14, 10, 13, 0.1)),
    rgba(38, 27, 34, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 249, 0.055),
    inset 0 0 0 1px rgba(255, 246, 249, 0.018),
    0 24px 60px rgba(8, 6, 8, 0.34),
    0 0 28px rgba(223, 146, 173, 0.08);
}

.success-dialog svg {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  color: var(--sage);
}

.success-dialog p {
  color: var(--muted);
  line-height: 1.45;
}

.success-dialog .primary-action {
  width: 100%;
  margin-top: 8px;
}

.price-list,
.care-list,
.booking-results {
  display: grid;
  gap: 10px;
}

.booking-results {
  margin-top: 14px;
}

.panel[data-panel="bookings"] .notice-banner {
  margin-top: 14px;
}

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

.booking-result-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.booking-card-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.booking-edit-action {
  width: 38px;
  height: 38px;
  min-height: 38px;
  margin-top: 0;
  padding: 0;
  border-radius: 999px;
}

.booking-edit-action:first-child {
  margin-top: 0;
}

.direction-card {
  overflow: hidden;
  transition: background 180ms ease, box-shadow 180ms ease;
  contain: layout paint;
}

.direction-card[open],
.direction-card.is-open {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 238, 247, 0.2)),
    var(--surface-strong);
  box-shadow: 0 16px 34px rgba(82, 43, 58, 0.09), 0 6px 18px rgba(179, 93, 120, 0.05);
}

html.dark-theme .direction-card[open],
body.dark-theme .direction-card[open],
:root[data-theme="dark"] .direction-card[open],
html.dark-theme .direction-card.is-open,
body.dark-theme .direction-card.is-open,
:root[data-theme="dark"] .direction-card.is-open {
  background:
    linear-gradient(145deg, rgba(44, 34, 41, 0.32), rgba(36, 28, 34, 0.4)),
    rgba(42, 32, 38, 0.24);
  box-shadow:
    inset 0 0 0 1px rgba(223, 146, 173, 0.1),
    0 10px 18px rgba(8, 6, 8, 0.08),
    0 0 16px rgba(223, 146, 173, 0.09);
}

.direction-card summary {
  min-height: 78px;
  padding: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.direction-card summary::-webkit-details-marker {
  display: none;
}

.direction-card summary span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.direction-card summary svg {
  width: 19px;
  height: 19px;
  color: var(--muted);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.direction-card[open] summary svg,
.direction-card.is-open summary svg {
  transform: rotate(180deg);
}

.direction-body {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-3px);
  transition:
    grid-template-rows 260ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: grid-template-rows, opacity, transform;
}

.direction-body-inner {
  min-height: 0;
  overflow: hidden;
}

.direction-card[open].is-open .direction-body {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.direction-card p {
  padding: 0 15px;
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.48;
}

.direction-card b {
  display: block;
  padding: 0 15px 16px;
  color: var(--accent-dark);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.42;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 15px 12px;
}

.tag-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(111, 125, 114, 0.12);
  color: var(--sage);
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .panel.active {
    animation: none;
  }

  .tab,
  .service-card,
  .care-list a,
  .direction-card summary svg,
  .direction-body {
    transition: none;
  }
}

.care-list article,
.care-list a,
.booking-result,
.empty-state {
  min-width: 0;
  min-height: 62px;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: background 210ms ease, box-shadow 210ms ease, transform 210ms ease;
}

.booking-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.care-list span,
.booking-result-main {
  display: grid;
  gap: 4px;
}

.care-list strong,
.booking-result strong {
  color: var(--text);
  line-height: 1.24;
}

.booking-result strong {
  font-size: 16px;
  line-height: 1.12;
}

.care-list small,
.booking-result-main small,
.empty-state {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.2;
}

.care-list a:active,
.service-card:active,
.primary-action:active,
.secondary-action:active,
.bookings-shortcut:active,
.theme-toggle:active {
  transform: translateY(1px);
}

html.dark-theme .care-list a:active,
body.dark-theme .care-list a:active,
:root[data-theme="dark"] .care-list a:active {
  background: rgba(42, 32, 38, 0.32);
  border-color: rgba(223, 146, 173, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(223, 146, 173, 0.1),
    0 9px 18px rgba(8, 6, 8, 0.08),
    0 0 16px rgba(223, 146, 173, 0.09);
}

.care-list a:hover {
  background: var(--surface-strong);
  box-shadow: 0 14px 30px rgba(82, 43, 58, 0.1);
}

html.dark-theme .care-list a:hover,
body.dark-theme .care-list a:hover,
:root[data-theme="dark"] .care-list a:hover {
  background: rgba(42, 32, 38, 0.32);
  border-color: rgba(223, 146, 173, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(223, 146, 173, 0.08),
    0 9px 18px rgba(8, 6, 8, 0.08),
    0 0 14px rgba(223, 146, 173, 0.08);
}

.care-list svg {
  color: var(--sage);
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  padding: 1px;
}

@media (min-width: 680px) {
  .app-shell {
    padding-inline: 24px;
  }

  .hero {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .tabs {
    position: relative;
    top: auto;
    z-index: 1;
    margin-bottom: 8px;
  }

  .bookings-shortcut {
    min-height: 50px;
    margin-bottom: 14px;
  }

  .hero-toolbar {
    justify-content: flex-end;
    padding-top: 28px;
  }

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

  .tab span {
    font-size: 13px;
  }
}
