@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Jost:wght@400;500;600&display=swap");
/* The salons' skin, on each salon's booking page and in the SPA Booking app (hub + salon pages):
   porcelain cards with hairline borders, one satin button per screen, serif titles and prices.
   Nail Pub is rose; Queen Beauty Spa is cappuccino and gold; LeBella Nail & Spa is gold on light
   blue; Victoria Nail Spa is deep teal on sea mist. Loaded last; home.js switches it off in the signed-in Staff view, which keeps its own
   bright look. */
:root:root, :root:root[data-theme] {
  --bg: #fff8fb; --surface: rgba(255, 255, 255, .92); --surface-2: #fceef4;
  --ink: #3a1c38; --ink-2: #7a6480; --line: #f0dbe6;
  --accent: #c2306f; --accent-ink: #ffffff; --accent-soft: #fde8f1; --gold: #f2a23a;
  --hair: #d3ab72; /* champagne hairline: the short rule under titles */
  --ok: #24795a; --ok-soft: #dff5ea;
  --radius: 22px;
  --shadow: 0 1px 1px rgba(110, 40, 80, .04), 0 16px 32px -18px rgba(150, 50, 105, .3);
  --serif: "Playfair Display", "Didot", Georgia, serif;
  --sans: "Jost", "Avenir Next", system-ui, -apple-system, sans-serif;
  --candy: linear-gradient(135deg, #db4a8b 0%, #c2357c 52%, #a3358a 100%);
  --candy-glow: rgba(190, 50, 120, .5);
  --sky: linear-gradient(180deg, #fff9fb 0%, #fdeff5 55%, #f7edf8 100%);
}
@media (prefers-color-scheme: dark) {
  :root:root, :root:root[data-theme] {
    --bg: #1a0f20; --surface: rgba(52, 30, 62, .88); --surface-2: #3a2145;
    --ink: #fdf0f8; --ink-2: #d3bbd9; --line: #553462;
    --accent: #ff94c6; --accent-ink: #3a0a22; --accent-soft: #50203c; --gold: #ffc56e;
    --hair: #c9a063;
    --ok: #86dcb0; --ok-soft: #1f3a2f;
    --shadow: 0 14px 30px -16px rgba(0, 0, 0, .6);
    --candy: linear-gradient(135deg, #ff9cc8 0%, #f08cd0 52%, #cf9cf5 100%);
    --candy-glow: rgba(255, 140, 200, .3);
    --sky: linear-gradient(180deg, #24122b 0%, #1d1026 50%, #191330 100%);
  }
}

html { background: var(--bg); }
body { background: var(--sky) fixed; min-height: 100dvh; }
body::before, body::after {
  content: ""; position: fixed; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .32;
}
body::before { width: 260px; height: 260px; top: -90px; right: -90px; background: #ffc4de; }
body::after { width: 300px; height: 300px; bottom: 40px; left: -140px; background: #dccdfb; }
@media (prefers-color-scheme: dark) { body::before, body::after { opacity: .14; } }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- type: serif titles and prices, a lighter sans for everything else ---------- */
h1, h2, h3, .hub-title, .section-title, .home-name, .salon-text strong, .home-act.is-primary .home-act-text strong { font-family: var(--serif); letter-spacing: 0; }
.view-head h1 { font-size: 2.125rem; font-weight: 600; line-height: 1.1; }
.view-head p { margin-top: 8px; font-size: 1.05rem; }
.view-head:not(.row)::after, .home-name::after {
  content: ""; display: block; width: 44px; height: 1px; margin-top: 16px; background: var(--hair);
}
.home-name::after { margin: 14px auto 0; }
.hub-title, .home-name { font-weight: 600; }
.hub-title, .home-name, .welcome h1 {
  background: var(--candy); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- cards: porcelain, hairline border, one soft shadow ---------- */
.salon, .home-act, .card, .muse-bubble, .vp-visit, .vp-entry-card, .who, .result {
  border-color: var(--line); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.salon, .card { border-radius: var(--radius); }
.home-act { border-radius: 20px; }
.home-act-icon, .mark, .vp-entry-icon { border-radius: 50%; }
.muse-bubble { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.muse-bubble::before { background: #fff; }
.muse-bubble p { font-weight: 400; }
@media (prefers-color-scheme: dark) { .muse-bubble::before { background: #3a2246; } }

/* ---------- the one satin button per screen ---------- */
.btn, .primary-btn, .home-act.is-primary, .salon-actions .book, .date-strip button.is-active, .resume .btn {
  background: var(--candy); color: var(--accent-ink); border-color: transparent;
}
.btn, .primary-btn {
  font-weight: 500; letter-spacing: .02em;
  box-shadow: 0 12px 22px -12px var(--candy-glow), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.primary-btn { min-height: 52px; font-size: 1.05rem; }
.primary-btn.small { min-height: 0; }
.primary-btn.danger { background: #c9433f; color: #fff; box-shadow: none; }
.primary-btn:disabled { box-shadow: none; }
.home-act.is-primary { box-shadow: 0 18px 30px -16px var(--candy-glow), inset 0 1px 0 rgba(255, 255, 255, .28); }
.mark, .mark[data-theme] { background: var(--candy); color: #fff; font-style: normal; font-family: var(--serif); }
.resume { background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- salon page (home.js) ---------- */
.home-name { margin-top: 20px; font-size: 2.25rem; }
.home-status { margin-top: 14px; font-weight: 400; letter-spacing: .01em; }
.home-acts { gap: 12px; margin-top: 22px; }
.home-act { min-height: 74px; padding: 12px 16px 12px 16px; }
.home-act-text strong { font-weight: 500; }
.home-act.is-primary .home-act-text strong { font-weight: 600; font-size: 1.3rem; }
.home-act-icon { background: var(--accent-soft); }
.home-act.is-quiet { border-color: transparent; }
.home-visits h2 { font: 600 1.2rem var(--serif); margin-bottom: 10px; }
.home-visit { border-left-width: 2px; border-radius: 16px; background: var(--surface); }
.home-contact { gap: 10px; margin-top: 22px; }
.home-contact span[aria-hidden] { display: none; }
.home-contact a {
  padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); text-decoration: none; letter-spacing: .01em;
}
.home-contact a:active { border-color: var(--accent); color: var(--accent); }

/* ---------- Book page ---------- */
.step { gap: 12px; margin: 12px 0 14px; font-size: 1.35rem; font-weight: 600; }
.step span {
  width: 28px; height: 28px; background: none; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent);
  font: 600 .95rem/1 var(--serif); font-variant-numeric: lining-nums;
}
/* Categories: hairline chips, the one in use filled with ink */
.seg { width: auto; gap: 8px; padding: 2px; margin: 0 -2px 14px; background: none; border-radius: 0; }
.seg button {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: var(--surface);
  font-size: .95rem; color: var(--ink-2);
}
#catSeg button.is-active, #catSeg button.is-active[class*="cat-"], .seg button.is-active {
  background: var(--ink); border-color: var(--ink); color: var(--bg); box-shadow: none;
}
.service-list { gap: 10px; }
.service-sub {
  margin: 18px 2px 4px; font: italic 500 1.05rem var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink-2);
}
.service-sub::after { background: var(--hair); opacity: .55; }
.service, .service[class*="cat-"] {
  border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 10px 22px -18px rgba(120, 50, 95, .35);
}
.service .name { font-weight: 500; font-size: 1.05rem; }
.service .desc { font-size: .9rem; line-height: 1.4; }
.service .price { font: 600 1.2rem var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.service .price small { font: 400 .8rem var(--sans); }
.service .tag { color: var(--hair); }
.service.is-selected, .service[class*="cat-"].is-selected {
  background: var(--accent-soft); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent);
}
/* Days, times and chips */
.slot, .date-strip button, .chip-btn, .chips button { border-color: var(--line); background: var(--surface); }
.slot { border-radius: 14px; }
.date-strip { gap: 10px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.date-strip::-webkit-scrollbar { height: 4px; }
.date-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.date-strip button { width: 60px; padding: 10px 0; border-radius: 18px; }
.date-strip button small { font-size: .68rem; letter-spacing: .1em; }
.date-strip button strong { font-size: 1.3rem; font-weight: 600; font-variant-numeric: lining-nums; }
.date-strip button.is-active { box-shadow: 0 12px 20px -12px var(--candy-glow); }
.chip-btn, .chips button { border-radius: 999px; }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.slot.is-picked, .slot:hover { background: var(--accent-soft); border-color: var(--accent); }
/* Fields */
.field span, .field-label { font-size: .92rem; letter-spacing: .01em; }
.field input, .field select, .field textarea, .lookup input, .pin-gate input { border-radius: 14px; background: var(--surface); }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]), .field select, .lookup input { min-height: 50px; }
.summary { padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.summary .total { font-weight: 500; }
.summary .total span:last-child, .summary .total strong { font: 600 1.15rem var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.sms-opt { font-size: .86rem; line-height: 1.5; }
/* "Join the waitlist": a quiet row that opens */
.waitlist-offer { padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.waitlist-offer summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 16px;
  list-style: none; font-weight: 500; color: var(--ink);
}
.waitlist-offer summary::-webkit-details-marker { display: none; }
.waitlist-offer summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px;
  border: solid var(--ink-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .18s;
}
.waitlist-offer[open] summary::after { transform: rotate(-135deg); }
.waitlist-offer form { margin: 0; padding: 4px 16px 16px; }
.book-more { border-style: solid; border-width: 1px; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: var(--surface); box-shadow: var(--shadow); }
.book-more-text strong { font-weight: 500; }
.book-more-plus { box-shadow: 0 10px 16px -10px var(--candy-glow); }

/* ---------- salon list (the app's first page) ---------- */
.hub-title { font-size: 2rem; }
.section-title { font-size: 1.4rem; font-weight: 600; }
.salon-main { padding: 18px 18px 14px; }
.salon-text strong { font-size: 1.3rem; font-weight: 600; }
.salon-actions { border-top: 0; padding: 4px 12px 12px; gap: 8px; }
.salon-actions a, .salon-actions button {
  border-radius: 999px; min-height: 46px; background: none; border: 1px solid var(--line); letter-spacing: .01em;
}
.salon-actions > * + * { border-left: 1px solid var(--line); }
.salon-actions .book { border-color: transparent; font-weight: 500; box-shadow: 0 12px 20px -12px var(--candy-glow), inset 0 1px 0 rgba(255, 255, 255, .28); }
.search { box-shadow: none; }
.signed-change { border-width: 1px; background: none; font-weight: 500; }
.hub-foot a { text-underline-offset: 3px; }

/* ---------- menu bar ---------- */
@media (max-width: 767px) {
  html body .rail { border-color: var(--line); box-shadow: 0 18px 34px -16px rgba(120, 50, 95, .4), 0 1px 2px rgba(0, 0, 0, .05); }
  html body .rail .tab, html body .rail .tab[data-view] { --t: var(--accent); --t-soft: var(--accent-soft); }
}
/* iPad, iPhone Duo open and desktop: a quiet list in the side rail, in place of the glossy pills */
@media (min-width: 768px) {
  html body .rail { border-right-color: var(--line); background: color-mix(in srgb, var(--surface) 55%, transparent); }
  html body .rail .tab, html body .rail .tab.is-active {
    width: 100%; margin-bottom: 4px; padding: 10px 4px; border-radius: 16px; opacity: 1;
    background: none; box-shadow: none; text-shadow: none; color: var(--ink-2); font-weight: 500; letter-spacing: .01em;
    transition: background-color .18s, color .18s;
  }
  html body .rail .tab:hover { background: var(--surface-2); color: var(--ink); }
  html body .rail .tab.is-active { background: var(--accent-soft); color: var(--accent); }
  html body .rail .tab svg, html body .rail .tab.is-active svg {
    width: 24px; height: 24px; padding: 0; border-radius: 0; background: none; box-shadow: none; filter: none;
    opacity: 1; transform: none; color: inherit; stroke: currentColor; stroke-width: 1.8; fill: none;
  }
  html body .rail .tab.is-active svg { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
  .brand-mark { background: var(--candy); border-radius: 50%; font-family: var(--serif); }
  .view { padding-left: 40px; padding-right: 40px; }
}
@media (min-width: 1100px) {
  html body .rail .tab, html body .rail .tab.is-active { padding: 12px 16px; gap: 14px; border-radius: 14px; }
  .brand-text strong { font-size: 1.25rem; }
}

/* ---------- welcome and sign-in sheet ---------- */
.welcome { background: var(--sky); }
.who { border-radius: 26px; background: var(--bg); }
.choice { border-radius: 18px; background: var(--surface); }
.choice strong { font-weight: 500; }
.field input { border-radius: 14px; }
.sheet-title { font-weight: 600; }

/* ---------- Queen Beauty Spa: cappuccino (milk foam, cocoa and gold), in light and dark mode alike ---------- */
:root:root[data-theme="queen"] {
  color-scheme: light;
  --bg: #f7f1e7; --surface: rgba(255, 253, 248, .95); --surface-2: #f0e5d4;
  --ink: #3a2a1c; --ink-2: #6f5a45; --line: #e6d8c2;
  --accent: #8a5f1c; --accent-ink: #2a1c0c; --accent-soft: #f4e7cb; --gold: #c9973a;
  --hair: #c9973a;
  --ok: #2f7a52; --ok-soft: #e3f0e8; --warn: #a5552f; --warn-soft: #f7e6dc;
  --shadow: 0 1px 1px rgba(90, 60, 30, .04), 0 16px 32px -18px rgba(120, 85, 45, .34);
  --serif: "Cormorant Garamond", "Didot", Georgia, serif;
  --candy: linear-gradient(135deg, #f3dc9c 0%, #dcb256 50%, #bd8f30 100%);
  --candy-glow: rgba(190, 140, 50, .55);
  --sky: radial-gradient(120% 70% at 15% 0%, #fffbf4 0%, #f7f1e7 55%, #eee2cf 100%);
}
[data-theme="queen"] body::before { background: #ecd6ab; opacity: .36; }
[data-theme="queen"] body::after { background: #cfae8a; opacity: .18; }
[data-theme="queen"] h1, [data-theme="queen"] h2, [data-theme="queen"] h3 { font-weight: 600; letter-spacing: .01em; }
[data-theme="queen"] .view-head h1 { font-size: 2.5rem; }
[data-theme="queen"] .step { font-size: 1.55rem; }
[data-theme="queen"] .step span { font-size: 1.1rem; }
[data-theme="queen"] .home-name { font-size: 2.2rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(135deg, #b98a2c, #7a5512); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="queen"] .home-act.is-primary .home-act-text strong { font-size: 1.42rem; letter-spacing: 0; white-space: nowrap; }
[data-theme="queen"] .home-act.is-primary .home-act-icon { background: rgba(42, 28, 12, .12); }
[data-theme="queen"] .service .price, [data-theme="queen"] .date-strip button strong { font-size: 1.4rem; }
[data-theme="queen"] .service-sub { font-size: 1.2rem; }
[data-theme="queen"] .muse-bubble::before { background: #fffdf8; }
[data-theme="queen"] .brand-text strong { font-size: 1.35rem; }
@media (max-width: 767px) {
  [data-theme="queen"] body .rail { box-shadow: 0 18px 34px -16px rgba(120, 85, 45, .45), 0 1px 2px rgba(0, 0, 0, .05); }
}
/* Queen's badge on the salon list and the sign-in sheet */
.mark[data-theme="queen"] {
  background: #f4e8d6; color: #8a5f1c; box-shadow: inset 0 0 0 1px #c9973a;
  font: 600 1.7rem "Cormorant Garamond", Georgia, serif;
}
.salon:has(.mark[data-theme="queen"]) .book, .resume:has(.mark[data-theme="queen"]) .btn {
  background: linear-gradient(135deg, #f3dc9c 0%, #d9ae4f 50%, #b0842a 100%); color: #1a1306;
  box-shadow: 0 12px 20px -12px rgba(190, 140, 50, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}

/* ---------- LeBella Nail & Spa: gold on light blue, in light and dark mode alike ---------- */
:root:root[data-theme="lebella"] {
  color-scheme: light;
  --bg: #eaf5fd; --surface: rgba(255, 255, 255, .92); --surface-2: #dfeefa;
  --ink: #12293f; --ink-2: #4c637d; --line: #cbe1f2;
  --accent: #80590f; --accent-ink: #1a1306; --accent-soft: #f8efd4; --gold: #c9973a;
  --hair: #c9973a;
  --ok: #1f7355; --ok-soft: #dcf4e9; --warn: #a5552f; --warn-soft: #f7e6dc;
  --shadow: 0 1px 1px rgba(40, 90, 140, .04), 0 16px 32px -18px rgba(60, 120, 180, .38);
  --serif: "Playfair Display", "Didot", Georgia, serif;
  --candy: linear-gradient(135deg, #f3dc9c 0%, #dcb256 50%, #bd8f30 100%);
  --candy-glow: rgba(190, 140, 50, .55);
  --sky: linear-gradient(180deg, #f1f9ff 0%, #dcedfb 55%, #e9f5fe 100%);
}
[data-theme="lebella"] body::before { background: #aed7f6; opacity: .4; }
[data-theme="lebella"] body::after { background: #f3dfa6; opacity: .3; }
[data-theme="lebella"] .home-name { background: linear-gradient(135deg, #a67a1f, #7a5512); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="lebella"] .home-act.is-primary .home-act-icon { background: rgba(26, 19, 6, .12); }
[data-theme="lebella"] .muse-bubble::before { background: #fff; }
@media (max-width: 767px) {
  [data-theme="lebella"] body .rail { box-shadow: 0 18px 34px -16px rgba(60, 120, 180, .5), 0 1px 2px rgba(0, 0, 0, .05); }
}
.mark[data-theme="lebella"] { background: #d8ebfa; color: #80590f; box-shadow: inset 0 0 0 1px #c9973a; }
/* LeBella's Book button on the salon list: solid light blue, like her badge */
.salon:has(.mark[data-theme="lebella"]) .book, .resume:has(.mark[data-theme="lebella"]) .btn {
  background: linear-gradient(135deg, #d3e9fb 0%, #a9d3f4 50%, #88c1ee 100%); color: #12293f;
  box-shadow: 0 12px 20px -12px rgba(60, 120, 180, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* ---------- Victoria Nail Spa: sea mist and deep teal with pearl aqua, in light and dark mode alike ---------- */
:root:root[data-theme="victoria"] {
  color-scheme: light;
  --bg: #eef8f8; --surface: rgba(255, 255, 255, .94); --surface-2: #dff0f1;
  --ink: #0f2e33; --ink-2: #4c6468; --line: #cfe5e7;
  --accent: #0b6b79; --accent-ink: #ffffff; --accent-soft: #d9f0f2; --gold: #c9a063;
  --hair: #7fd3dc;
  --ok: #1f7355; --ok-soft: #dcf4e9; --warn: #a5552f; --warn-soft: #f7e6dc;
  --shadow: 0 1px 1px rgba(20, 90, 100, .04), 0 16px 32px -18px rgba(18, 137, 155, .38);
  --serif: "Cormorant Garamond", "Didot", Georgia, serif;
  --candy: linear-gradient(135deg, #1f97a7 0%, #0e7887 52%, #0a5f6c 100%);
  --candy-glow: rgba(18, 137, 155, .5);
  --sky: linear-gradient(180deg, #f6fcfc 0%, #e3f3f4 55%, #eef8f8 100%);
}
[data-theme="victoria"] body::before { background: #aee3e8; opacity: .4; }
[data-theme="victoria"] body::after { background: #c4ecdc; opacity: .26; }
[data-theme="victoria"] h1, [data-theme="victoria"] h2, [data-theme="victoria"] h3 { font-weight: 600; letter-spacing: .01em; }
[data-theme="victoria"] .view-head h1 { font-size: 2.5rem; }
[data-theme="victoria"] .step { font-size: 1.55rem; }
[data-theme="victoria"] .step span { font-size: 1.1rem; }
[data-theme="victoria"] .home-name { font-size: 2.2rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(135deg, #12899b, #0b4f5a); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="victoria"] .home-act.is-primary .home-act-text strong { font-size: 1.42rem; letter-spacing: 0; white-space: nowrap; }
[data-theme="victoria"] .home-act.is-primary .home-act-icon { background: rgba(255, 255, 255, .2); }
[data-theme="victoria"] .service .price, [data-theme="victoria"] .date-strip button strong { font-size: 1.4rem; }
[data-theme="victoria"] .service-sub { font-size: 1.2rem; }
[data-theme="victoria"] .muse-bubble::before { background: #fff; }
[data-theme="victoria"] .brand-text strong { font-size: 1.35rem; }
@media (max-width: 767px) {
  [data-theme="victoria"] body .rail { box-shadow: 0 18px 34px -16px rgba(18, 110, 125, .5), 0 1px 2px rgba(0, 0, 0, .05); }
}
/* Victoria's badge on the salon list and the sign-in sheet */
.mark[data-theme="victoria"] {
  background: #dff0f1; color: #0b6b79; box-shadow: inset 0 0 0 1px #7fd3dc;
  font: 600 1.7rem "Cormorant Garamond", Georgia, serif;
}
.salon:has(.mark[data-theme="victoria"]) .book, .resume:has(.mark[data-theme="victoria"]) .btn {
  background: linear-gradient(135deg, #1f97a7 0%, #0e7887 52%, #0a5f6c 100%); color: #fff;
  box-shadow: 0 12px 20px -12px rgba(18, 137, 155, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}

/* Sheets sit on a solid colour, so the page behind never shows through the text */
.vp-sheet, .pts-sheet, .vp-head { background: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  html body .rail .tab, .waitlist-offer summary::after { transition: none; }
}
