/* Book Conmigo — "Sunset" palette */
:root {
  --terracotta: #E0603A;
  --terracotta-dark: #C04B28;
  --plum: #2B1B3D;
  --plum-soft: #4A3A5C;
  --marigold: #F4B23E;
  --cream: #FFF6EC;
  --white: #FFFFFF;
  --line: #EADBCB;
  --muted: #6E5F7A;
  --danger-bg: #FDE8E1;
  --radius: 14px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-lg: 20px;
  /* Roles — every screen uses these. */
  color-scheme: light;
  --bg: var(--cream);
  --surface: var(--white);
  --surface-2: var(--cream);
  --text: var(--plum);
  --text-soft: var(--plum-soft);
  --link: var(--terracotta-dark);
  --accent: var(--terracotta);
  --accent-hover: var(--terracotta-dark);
  --on-accent: var(--white);
  --inverse-bg: var(--plum);
  --inverse-text: var(--white);
  --danger-text: #B3261E;
  --success: #2E9E6B;
  --success-bg: #E7F6EE;
  --shadow: rgba(43, 27, 61, 0.12);
  --focus: rgba(224, 96, 58, 0.18);
  --tint-1: #FDE9D6;   /* warm (terracotta/marigold) wash */
  --tint-2: #F1E6EF;   /* plum wash */
  --app-bg: #FBF7F1;   /* dashboard canvas */
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px 20px 64px; }
main.main-site { max-width: none; padding: 0; }
main.main-app { max-width: none; padding: 0; }
a { color: var(--link); }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.015em; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.stage-banner { background: var(--marigold); color: var(--plum); text-align: center; font-weight: 600; font-size: 0.88rem; padding: 8px 16px; }

/* Header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.top-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; min-height: 68px; display: flex; align-items: center; gap: 28px; }
body.v-app .top-in { max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem var(--font-display); color: var(--text); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.brand span span { color: var(--terracotta); }
.brand-mark { flex: none; }
.top-links { display: flex; gap: 24px; flex: 1; }
.top-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.top-links a:hover { color: var(--link); }
.top-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.top-actions a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.top-actions a.lang { color: var(--muted); font-size: 0.88rem; }
.top-actions a.btn { color: var(--on-accent); }
.top-actions .link { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.inline { display: inline; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
  border: 0; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--accent); color: var(--on-accent) !important; font: 600 1rem var(--font);
  padding: 12px 24px; border-radius: 999px; transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: 9px 18px; font-size: 0.92rem; min-height: 40px; }
.btn-big { padding: 17px 32px; font-size: 1.06rem; }
.btn-ghost { background: transparent; color: var(--text) !important; border: 1.5px solid var(--text); }
.btn-ghost:hover { background: var(--inverse-bg); color: var(--inverse-text) !important; }
.btn-sun { background: var(--marigold); color: var(--plum) !important; }
.btn-sun:hover { background: #F7C25E; }
.link { background: none; border: 0; padding: 0; color: var(--link); font: inherit; cursor: pointer; text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Home */
.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero .hook { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; color: var(--terracotta); margin: 0 0 16px; }
.hero .sub { max-width: 560px; margin: 0 auto 28px; color: var(--text-soft); font-size: 1.1rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--text-soft); }
.for { text-align: center; margin-top: 40px; }
.for p { color: var(--text-soft); max-width: 720px; margin: 0 auto; }

/* Panels & forms */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; max-width: 560px; margin: 40px auto; box-shadow: 0 24px 60px -32px var(--shadow); }
.panel.narrow { max-width: 420px; }
.panel.center { text-align: center; }
.panel h1 { margin-top: 0; font-size: 1.8rem; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form small { font-weight: 400; color: var(--muted); }
input, select {
  font: 1rem var(--font); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text); width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px var(--focus); }
.slug-field { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.slug-field .prefix { padding: 0 4px 0 12px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.slug-field input { border: 0; border-radius: 0; }
.form > label[for] { margin-bottom: -12px; }
.typeahead { position: relative; display: grid; gap: 6px; }
.suggestions {
  position: absolute; top: 50px; left: 0; right: 0; z-index: 10; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 28px var(--shadow);
}
.suggestions li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; }
.suggestions li.active, .suggestions li:hover { background: var(--surface-2); }
.suggestions li.keep { color: var(--muted); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; font-style: italic; }
.code-input { font-size: 1.5rem; letter-spacing: 0.4em; text-align: center; }
.or { text-align: center; color: var(--muted); margin: -4px 0; }
.muted { color: var(--muted); }
.alert { background: var(--danger-bg); border-left: 4px solid var(--terracotta); padding: 12px 14px; border-radius: 8px; margin: 0 0 16px; }

/* Dashboard */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 24px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.steps { padding-left: 20px; }
.steps li { margin: 8px 0; }
.badge { display: inline-block; background: var(--marigold); color: var(--plum); font-size: 0.75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-left: 6px; }

.foot { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 24px; }
.foot-app { border-top: 1px solid var(--line); background: var(--app-bg); }
.foot-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 6px; }
.foot-links a { color: var(--muted); }
.legal { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; line-height: 1.65; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { font-size: 1.1rem; margin: 28px 0 8px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal-updated, .legal-note { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 860px) {
  .top-links { display: none; }
}
@media (max-width: 560px) {
  .top-in { padding: 0 14px; gap: 10px; min-height: 60px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .top-actions { gap: 10px; font-size: 0.9rem; }
  .top-actions a { white-space: nowrap; }
  .top-actions .btn-small { display: none; } /* the page itself has the main sign-up button */
  .panel { padding: 24px; margin: 16px auto; border-radius: var(--radius); }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}

/* ── Dashboard ───────────────────────────────────────────── */
body.v-app { background: var(--app-bg); }
.dash { display: grid; grid-template-columns: 244px minmax(0, 1fr); align-items: start; min-height: calc(100vh - 68px); }
.dash-tabs { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 68px; max-height: calc(100vh - 68px); overflow-y: auto;
  padding: 18px 12px 24px; background: var(--surface); border-right: 1px solid var(--line); min-height: calc(100vh - 68px); }
.dash-tabs a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; min-height: 42px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.dash-tabs a .nav-ico { flex: none; opacity: .75; }
.dash-tabs a:hover { background: var(--surface-2); }
.dash-tabs a.on { background: var(--tint-1); color: var(--text); font-weight: 650; }
.dash-tabs a.on .nav-ico { opacity: 1; color: var(--link); }
.dash-sec { margin: 18px 12px 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dash-gap { display: block; height: 12px; }
.subtabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 24px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; background: var(--surface); }
.subtabs a { padding: 8px 16px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.subtabs a:hover { color: var(--text); }
.subtabs a.on { background: var(--inverse-bg); color: var(--inverse-text); }
.dash-body { padding: 32px 40px 64px; min-width: 0; max-width: 1180px; width: 100%; }
.dash-body > h1, .dash-body .head-row h1, .ov-head h1 { font-size: 1.9rem; letter-spacing: -0.02em; }
.dash-body h1 { margin-top: 0; }
.dash-body h2 { font-size: 1.15rem; margin: 24px 0 8px; }
.dash-body > form, .dash-body > .items, .dash-body > .form { max-width: 820px; }
.dash-body .card { background: var(--surface); border-color: var(--line); border-radius: 18px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.head-row h1 { margin: 0; }
.row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.notice { background: var(--success-bg); border-left: 4px solid var(--success); padding: 10px 14px; border-radius: 8px; margin: 0 0 16px; }
.empty { color: var(--muted); background: var(--surface-2); padding: 18px; border-radius: 10px; text-align: center; }
.items { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.item.off { opacity: 0.6; }
.item .meta { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.item .price { font-weight: 700; white-space: nowrap; }
.warn { color: var(--link); font-weight: 600; }
.muted-badge { background: var(--line); color: var(--text); }
.checklist { list-style: none; padding: 0; margin: 8px 0 16px; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; }
.checklist .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: inline-grid; place-items: center; font-size: 0.8rem; color: var(--white); flex: none; }
.checklist li.done .tick { background: var(--success); border-color: var(--success); }
.checklist li.done { color: var(--muted); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset.pair > small { grid-column: 1 / -1; margin-top: -8px; }
fieldset.trio { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
fieldset.checks { display: grid; gap: 8px; }
fieldset.checks legend { font-weight: 600; margin-bottom: 6px; }
.form label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form label.check input { width: auto; }
textarea { font: 1rem var(--font); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; resize: vertical; background: var(--surface); color: var(--text); }
textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px var(--focus); }
.danger-zone { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.link.danger { color: var(--danger-text); }
.price-amount.is-hidden { visibility: hidden; }
/* Hours */
.hours .day { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours .day-name { font-weight: 700; padding-top: 10px; }
.hours .day-ranges { display: grid; gap: 8px; }
.hours .range { display: flex; align-items: center; gap: 8px; }
.hours .range input { max-width: 150px; }
.hours .range.extra { display: none; }
.closed-tag { color: var(--muted); font-size: 0.85rem; }
.staff-pick label { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.staff-pick select { width: auto; }
.public-services { text-align: left; margin: 20px 0; }

@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; min-height: 0; }
  .dash-tabs { flex-direction: row; overflow-x: auto; position: sticky; top: 60px; z-index: 30; min-height: 0; max-height: none;
    padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--line); gap: 4px; }
  .dash-tabs a { white-space: nowrap; min-height: 40px; padding: 8px 12px; gap: 8px; }
  .dash-sec, .dash-gap { display: none; }
  .dash-body { padding: 20px 16px 48px; }
}
@media (max-width: 760px) {
  fieldset.pair, fieldset.trio { grid-template-columns: 1fr; }
  .hours .day { grid-template-columns: 1fr; gap: 4px; }
  .hours .day-name { padding-top: 0; }
}

/* ── Design tab ──────────────────────────────────────────── */
.design-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.ai-style { padding: 16px; border: 2px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, rgba(224, 96, 58, 0.08), rgba(232, 178, 58, 0.08)); margin-bottom: 8px; }
.ai-style h2 { margin-top: 0; }
.ai-style-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-style-row input { flex: 1 1 240px; }
.ai-style-status { display: block; min-height: 1.2em; margin-top: 6px; }
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.theme-card { display: grid !important; gap: 6px; justify-items: center; padding: 10px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 0.85rem; text-align: center; }
.theme-card input { position: absolute; opacity: 0; pointer-events: none; }
.theme-card:has(input:checked) { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(224, 96, 58, 0.15); }
.swatch { width: 100%; height: 44px; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: flex-end; gap: 6px; padding: 6px; }
.swatch i { display: block; width: 40%; height: 8px; border-radius: 4px; }
.swatch b { display: block; width: 30%; height: 14px; border-radius: 999px; margin-left: auto; }
.colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.colors input[type="color"] { height: 46px; padding: 4px; cursor: pointer; }
.upload { display: grid; gap: 6px; }
.upload-label { font-weight: 600; }
.upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.upload-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.upload-thumb.is-empty { visibility: hidden; width: 0; border: 0; }
.file-btn { cursor: pointer; }
.preview-wrap { position: sticky; top: 16px; display: grid; gap: 10px; }
.preview-head { display: flex; justify-content: space-between; align-items: center; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.seg button { border: 0; background: none; padding: 6px 12px; font: 600 0.82rem var(--font); cursor: pointer; color: var(--text); }
.seg button.on { background: var(--inverse-bg); color: var(--inverse-text); }
.mock-viewport { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; position: relative; box-shadow: 0 10px 30px var(--shadow); }
.mock-viewport.phone { max-height: 720px; overflow-y: auto; }
.mock-viewport.desktop .mock { width: 1000px; transform-origin: top left; }
.mock { position: relative; isolation: isolate; background: var(--b-bg); color: var(--b-text); overflow: hidden; min-height: 560px; cursor: grab; user-select: none; }
.mock.dragging, .mock-cover-wrap.dragging { cursor: grabbing; }
.mock a, .mock .biz-top span { color: var(--b-muted); }
.mock-bg, .mock-overlay { position: absolute; inset: 0; pointer-events: none; }
.mock-bg { z-index: -2; }
.mock-overlay { z-index: -1; }
.mock-content { position: relative; pointer-events: none; }
.mock .biz-main { padding-bottom: 8px; }
.mock .biz-head h1 { font-size: 1.8rem; }
.mock .biz-head.no-cover .biz-id { padding-top: 4px; }
.mock-cover-wrap { pointer-events: auto; cursor: grab; }
.mock .biz-logo[hidden], .mock [hidden] { display: none !important; }
.mock .biz-foot b { color: var(--b-text); }
.mock .biz-foot b span { color: #E0603A; }
.img-controls { display: none; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); margin-top: 4px; }
.upload.has-image .img-controls { display: grid; }
.range-field { display: grid !important; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; font-weight: 600; font-size: 0.9rem; }
.range-field output { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.range-field input[type="range"] { grid-column: 1 / -1; padding: 0; border: 0; accent-color: var(--terracotta); }
.save-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 12px 0; background: linear-gradient(transparent, var(--surface) 30%); }
.design-grid { grid-template-columns: minmax(0, 1fr) 400px !important; }

/* ── Business (customer-facing) pages ───────────────────── */
body.biz { background: var(--b-bg); color: var(--b-text); }
body.biz a { color: var(--b-primary); }
.biz-top { display: flex; justify-content: flex-end; gap: 16px; padding: 12px 20px; font-size: 0.9rem; }
.biz-top a { color: var(--b-muted) !important; text-decoration: none; }
.biz-main { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 16px 48px; flex: 1; }
.biz-head { margin-bottom: 20px; }
.biz-cover-wrap { overflow: hidden; border-radius: 18px; height: 200px; margin-bottom: 10px; }
.biz-cover-wrap + .biz-id .biz-logo { margin-top: -52px; }  /* only the logo overlaps the cover */
.biz-cover-wrap[hidden] + .biz-id .biz-logo { margin-top: 0; }
.biz-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-id { display: flex; align-items: flex-end; gap: 14px; padding: 0 6px; }
.biz-logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 4px solid var(--b-bg); background: var(--b-bg); position: relative; }
.biz-head h1 { font-family: var(--b-heading); font-size: clamp(1.8rem, 6vw, 2.4rem); margin: 0; line-height: 1.1; }
.biz-head h1 a { color: var(--b-text) !important; text-decoration: none; }
.biz-head.compact { margin-bottom: 14px; }
.biz-head.compact .biz-logo { width: 48px; height: 48px; border-width: 0; }
.biz-head.compact h1 { font-size: 1.4rem; }
.biz-muted { color: var(--b-muted); margin: 2px 0 0; font-size: 0.95rem; }
.biz-bio { margin: 14px 6px 0; }
.biz-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 6px 0; }
.cal-add { margin: 14px 0 4px; }
.feed-actions { flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cal-add .biz-links { justify-content: center; margin-top: 6px; }
.biz-links a { padding: 6px 14px; border: 1.5px solid var(--b-line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--b-text) !important; }
.biz-h2 { font-family: var(--b-heading); font-size: 1.2rem; margin: 24px 0 10px; }
.biz-services { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.biz-card { background: var(--b-card); border: 1px solid var(--b-line); border-radius: 16px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.biz-card.center { justify-content: center; text-align: center; }
.biz-desc { margin: 6px 0 0; color: var(--b-muted); font-size: 0.92rem; }
.biz-btn { display: inline-block; background: var(--b-primary); color: var(--b-on-primary) !important; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 0.95rem; white-space: nowrap; }
.biz-btn.big { padding: 14px 26px; font-size: 1.05rem; }
.biz-btn:hover { filter: brightness(0.93); }
.summary { margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--b-line); text-decoration: none; color: var(--b-text) !important; font-weight: 600; background: var(--b-card); }
.chip.on { background: var(--b-primary); border-color: var(--b-primary); color: var(--b-on-primary) !important; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.day-chip { flex: none; scroll-snap-align: start; display: grid; justify-items: center; width: 64px; padding: 8px 0; border-radius: 14px; border: 1.5px solid var(--b-line); background: var(--b-card); text-decoration: none; color: var(--b-text) !important; font-size: 0.78rem; }
.day-chip b { font-size: 1.3rem; }
.day-chip.on { background: var(--b-primary); border-color: var(--b-primary); color: var(--b-on-primary) !important; }
.day-chip.off { opacity: 0.35; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.time-chip { display: grid; justify-items: center; padding: 12px 6px; border-radius: 12px; border: 1.5px solid var(--b-primary); color: var(--b-primary) !important; text-decoration: none; font-weight: 700; background: var(--b-card); }
.time-chip small { font-weight: 500; font-size: 0.72rem; color: var(--b-muted); }
.time-chip:hover { background: var(--b-primary); color: var(--b-on-primary) !important; }
.biz-form input, .biz-form textarea, .biz-form select { background: var(--b-card); color: var(--b-text); border-color: var(--b-line); }
.biz-form input:focus, .biz-form textarea:focus { border-color: var(--b-primary); box-shadow: none; }
.biz-form small, .small { font-size: 0.85rem; }
.biz-form .is-hidden { display: none; }
.cutoff-custom.is-hidden { display: none; }
.cutoff-field { margin-bottom: 4px; }
.confirm { flex-direction: column; text-align: center; padding: 28px 20px; }
.confirm h2 { font-family: var(--b-heading); margin: 6px 0; }
.confirm .facts { text-align: left; margin: 12px auto; }
.confirm .facts dt { color: var(--b-muted); }
.big-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--b-primary); color: var(--b-on-primary); font-size: 1.6rem; font-weight: 800; }
.confirm.inactive .big-icon { background: var(--b-line); color: var(--b-text); }
.row.center { justify-content: center; }
.biz-foot { text-align: center; padding: 24px; font-size: 0.85rem; color: var(--b-muted); }
.biz-legal { display: block; margin-top: 6px; font-size: 0.8rem; }
.biz-foot .biz-legal a { color: var(--b-muted) !important; font-weight: 400; text-decoration: underline; }
.biz-foot a { color: var(--b-text) !important; font-weight: 800; text-decoration: none; }
.biz-foot a span { color: #E0603A; }
.preview-banner { background: var(--marigold); color: var(--plum); text-align: center; padding: 8px; font-weight: 600; font-size: 0.9rem; }
.preview-banner a { color: var(--plum) !important; }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.actions form { margin: 0; }

@media (max-width: 1100px) {
  .design-grid { grid-template-columns: 1fr !important; }
  .preview-wrap { position: static; }
}
@media (max-width: 560px) {
  .colors { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .biz-cover-wrap { height: 150px; }
  .biz-card { flex-wrap: wrap; }
}

/* ── Packages, memberships & payments ── */
.warn-badge { background: var(--terracotta); color: #fff; }
.pay-provider .actions { align-items: center; }
.embed-box { min-height: 420px; margin-top: 16px; }
#pay-area { margin-top: 8px; }
#stripe-element, #square-card, #paypal-buttons, #paypal-card { margin: 12px 0; }
#paypal-card .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.danger-zone { margin-top: 28px; }
.small { font-size: 0.85rem; }
.center { text-align: center; }
/* Anything marked hidden stays hidden, even if a layout class (e.g. .row) sets display. */
[hidden] { display: none !important; }

/* ── Loading feedback ── */
.load-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9999; pointer-events: none;
  background: var(--b-primary, var(--terracotta)); box-shadow: 0 0 8px var(--b-primary, var(--terracotta));
  opacity: 0; transition: opacity 0.3s;
}
.load-bar.on { opacity: 1; animation: load-trickle 12s cubic-bezier(0.1, 0.7, 0.2, 1) forwards; }
.load-bar.done { opacity: 0; width: 100%; }
@keyframes load-trickle { 0% { width: 0; } 15% { width: 45%; } 50% { width: 75%; } 100% { width: 92%; } }

.is-busy { cursor: progress !important; opacity: 0.85; pointer-events: none; }
.is-busy::before {
  content: ''; display: inline-block; width: 0.9em; height: 0.9em; margin-right: 0.5em; vertical-align: -0.12em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.load-note { margin: 8px 0 0; font-size: 0.85rem; color: var(--b-muted, var(--muted, #6b6b6b)); }
.load-note.load-failed { color: var(--terracotta-dark); font-weight: 600; }

/* Placeholder while a payment / Stripe form is loading. */
.skeleton {
  min-height: 160px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(0,0,0,0.05) 25%, rgba(0,0,0,0.1) 37%, rgba(0,0,0,0.05) 63%);
  background-size: 400% 100%; animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

@media (prefers-reduced-motion: reduce) {
  .load-bar.on { animation: none; width: 70%; }
  .is-busy::before, .skeleton { animation: none; }
}

/* ── Photos & policies ── */
.photo-field { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.photo-field legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.photo-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.photo-list:empty { display: none; }
.photo-item { position: relative; width: 120px; display: grid; gap: 4px; }
.photo-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); }
.photo-field[data-kind="policy"] .photo-item img { object-fit: contain; background: #fff; }
.photo-badge { position: absolute; top: 6px; left: 6px; background: var(--plum, #2B1B3D); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.85rem; }
.photo-add { justify-self: start; }

.biz-card.has-photo { justify-content: flex-start; }
.biz-card.has-photo .biz-card-body { flex: 1; min-width: 0; }
.biz-thumb { position: relative; flex: none; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--b-line); }
.biz-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-thumb-count { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 1px 6px; border-radius: 999px; }
dialog.gallery { padding: 0; border: 0; background: transparent; max-width: min(960px, 100vw); width: 100%; }
dialog.gallery::backdrop { background: rgba(0,0,0,.85); }
.gallery-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px; }
.gallery-strip img { flex: 0 0 100%; max-height: 82vh; object-fit: contain; scroll-snap-align: center; border-radius: 12px; }
.gallery-close { position: fixed; top: 12px; right: 16px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 1.6rem; line-height: 1; cursor: pointer; }

.policy-text { display: block; white-space: pre-line; line-height: 1.55; }
.policy-images { display: grid; gap: 12px; margin-top: 12px; }
.policy-images img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--b-line); background: #fff; }
@media (max-width: 560px) {
  .biz-card.has-photo { flex-wrap: nowrap; display: grid; grid-template-columns: 64px 1fr; }
  .biz-card.has-photo .biz-btn { grid-column: 1 / -1; justify-self: start; }
  .biz-thumb { width: 64px; height: 64px; }
}
.photo-add[hidden] { display: none; }


/* ── Chat assistant ───────────────────────────────────────── */
.bcc { position: fixed; right: 16px; bottom: 16px; z-index: 50; font-size: 0.95rem; }
.bcc-bubble { display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px;
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px var(--shadow); }
.bcc-bubble:hover { background: var(--accent-hover); }
.bcc-bubble[hidden], .bcc-panel[hidden], .bcc-lead[hidden], .bcc-form[hidden], .bcc-link[hidden] { display: none; }
.bcc-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 32px)); display: flex; flex-direction: column;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px var(--shadow); overflow: hidden; }
.bcc-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--inverse-bg); color: var(--inverse-text); }
.bcc-head-btns { display: flex; align-items: center; gap: 10px; }
.bcc-head .bcc-link { color: var(--inverse-text); opacity: 0.85; }
.bcc-x { background: none; border: 0; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.bcc-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bcc-msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.bcc-assistant { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); }
.bcc-user { align-self: flex-end; background: var(--accent); color: var(--on-accent); }
.bcc-wait { opacity: 0.7; font-style: italic; }
.bcc-note { background: transparent; border-style: dashed; }
.bcc-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.bcc-form textarea { flex: 1; resize: none; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
.bcc-link { background: none; border: 0; padding: 0; font: inherit; font-size: 0.85rem; color: var(--link); text-decoration: underline; cursor: pointer; }
.bcc-contact-link { margin: 0 12px 10px; align-self: flex-start; }
.bcc-lead { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.bcc-lead label { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; }
.bcc-lead input, .bcc-lead textarea { font: inherit; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
.bcc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.bcc-err { color: var(--danger-text); font-size: 0.85rem; margin: 0; }
@media (max-width: 480px) { .bcc-bubble-text { display: none; } .bcc-bubble { padding: 14px; } }
@media print { .bcc { display: none; } }

/* ── Extras tab ──────────────────────────────────────────── */
.extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 16px 0; }
.extra h2 { font-size: 1.05rem; margin: 0 0 6px; }
.extra p { margin: 0 0 12px; }
.extra-sent { color: var(--success); font-weight: 700; }

/* Time dropdowns (Hours, Time off) */
.hours .range select.time-select { max-width: 150px; }
.dt-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.dt-inputs { display: flex; gap: 8px; flex-wrap: wrap; }
.dt-inputs input[type="date"], .dt-inputs select { flex: 1 1 140px; min-width: 0; }

/* ── Add-ons tab ─────────────────────────────────────────── */
.addon h2 { font-size: 1.1rem; margin: 0 0 4px; }
.addon-price { margin: 0 0 10px; }
.addon-price strong { font-size: 1.6rem; }
.addon-list { margin: 0 0 14px; padding-left: 18px; }
.addon-list li { margin: 3px 0; }
.addon-current { outline: 2px solid var(--terracotta); }
.addon-on { color: var(--success); font-weight: 700; margin: 0; }
.sms-opt-in { align-items: flex-start; }
.sms-opt-in small { font-weight: 400; }

/* ── Run Conmigo CRM ─────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 12px 0 20px; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-soft); }
.crm-notes { list-style: none; padding: 0; }
.crm-notes li { padding: 10px 0; border-bottom: 1px solid var(--line); white-space: pre-wrap; }

/* ── Owner calendar ─────────────────────────────────────────── */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cal-head h1 { margin: 0; }
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cal-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-nav > a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 36px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; }
.cal-nav > a:hover, .cal-nav > a.on { background: var(--inverse-bg); color: var(--inverse-text); border-color: var(--inverse-bg); }
.cal-title { font-size: 1.05rem; margin-left: 4px; }
.seg a { display: inline-block; padding: 7px 14px; font: 600 0.88rem var(--font); color: var(--text); text-decoration: none; }
.seg a.on { background: var(--inverse-bg); color: var(--inverse-text); }
.cal-pick { display: inline-flex; gap: 6px; margin: 0; }
.cal-pick input, .cal-pick select { font: 0.92rem var(--font); padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text); }
.cal-hint { color: var(--muted); font-size: 0.88rem; margin: 4px 0 8px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.lg.booked { background: var(--accent); }
.lg.requested { border: 2px dashed var(--accent); background: var(--surface); }
.lg.done { background: var(--muted); opacity: .55; }
.lg.off, .cal-off { background: repeating-linear-gradient(135deg, var(--surface-2) 0 6px, var(--line) 6px 12px); }
.lg.closed { background: var(--surface-2); border: 1px solid var(--line); }

.cal-scroll { overflow: auto; max-height: 72vh; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.cal-grid { min-width: min-content; }
.cal-row { display: grid; grid-template-columns: 58px repeat(var(--cols), minmax(118px, 1fr)); }
.cal-day .cal-row { grid-template-columns: 58px repeat(var(--cols), minmax(150px, 1fr)); }
.cal-headrow { position: sticky; top: 0; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.cal-corner { position: sticky; left: 0; background: var(--surface); }
.cal-colhead { padding: 10px 6px; text-align: center; font-weight: 700; font-size: 0.9rem; border-left: 1px solid var(--line);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-colhead.today { color: var(--accent); }
.cal-times { position: sticky; left: 0; z-index: 4; height: var(--grid-h); background: var(--surface); }
.cal-times span { position: absolute; right: 6px; transform: translateY(-50%); font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.cal-times span:first-child { transform: none; }
.cal-col { position: relative; height: var(--grid-h); border-left: 1px solid var(--line); cursor: pointer;
  background: var(--surface-2); }
.cal-open { position: absolute; left: 0; right: 0; background: var(--surface); }
.cal-lines { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, transparent calc(var(--hour) / 2), color-mix(in srgb, var(--line) 45%, transparent) calc(var(--hour) / 2), transparent calc(var(--hour) / 2 + 1px));
  background-size: 100% var(--hour); }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--danger-text); z-index: 3; pointer-events: none; }
.cal-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger-text); }
.cal-off { position: absolute; left: 2px; right: 2px; z-index: 1; border: 0; border-radius: 6px; padding: 3px 6px; text-align: left;
  font: 600 0.72rem var(--font); color: var(--text-soft); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.cal-off small { font-weight: 400; }
.cal-ev { position: absolute; z-index: 2; border: 0; border-radius: 8px; padding: 4px 7px; text-align: left; overflow: hidden;
  background: var(--accent); color: var(--on-accent); font: 0.76rem/1.25 var(--font); cursor: pointer;
  display: flex; flex-direction: column; gap: 1px; box-shadow: 0 1px 2px var(--shadow);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.cal-ev strong { font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev span, .cal-ev small, .cal-ev em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev-time { opacity: .9; font-size: 0.7rem; }
.cal-ev em { font-style: normal; font-weight: 700; font-size: 0.68rem; text-transform: uppercase; letter-spacing: .03em; }
.cal-ev.class { background: var(--plum-soft); }
.cal-ev.requested { background: var(--surface); color: var(--text); border: 2px dashed var(--accent); }
.cal-ev.completed, .cal-ev.no_show { background: var(--muted); opacity: .6; }
.cal-ev.no_show strong { text-decoration: line-through; }
.cal-ev.past.booked { opacity: .75; }
.cal-ev.movable { cursor: grab; }
.cal-ev.pressing { transform: scale(.97); transition: transform .4s; }
.cal-ev.dragging { z-index: 10; cursor: grabbing; opacity: .92; box-shadow: 0 8px 22px var(--shadow); outline: 2px solid var(--marigold); }
body.cal-dragging, body.cal-dragging * { cursor: grabbing !important; }

dialog.cal-dlg { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 22px; width: min(480px, calc(100vw - 24px));
  max-height: calc(100vh - 32px); background: var(--surface); color: var(--text); box-shadow: 0 20px 50px var(--shadow); }
dialog.cal-dlg::backdrop { background: rgba(26, 17, 36, .5); }
.cal-dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cal-dlg-head h2 { margin: 0; font-size: 1.15rem; }
.cal-x { border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.cal-dlg form { display: grid; gap: 12px; }
.cal-dlg label { display: grid; gap: 4px; font-weight: 600; font-size: 0.9rem; }
.cal-dlg input:not([type=checkbox]), .cal-dlg select, .cal-dlg textarea { font: 0.95rem var(--font); padding: 9px 11px; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--surface); color: var(--text); width: 100%; }
.cal-dlg label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.cal-dlg .muted { color: var(--muted); font-weight: 400; }
.cal-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.cal-facts p { margin: 4px 0; }
.cal-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: var(--accent); color: var(--on-accent); }
.cal-badge.requested { background: var(--marigold); color: var(--plum); }
.cal-badge.completed, .cal-badge.no_show { background: var(--muted); }
.cal-people { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.cal-people li { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.cal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; }
.cal-actions form { display: inline; }
.link.armed { font-weight: 700; }
.cal-change { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.cal-change summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; }
.cal-choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pay-box { margin-top: 6px; font-size: 0.9rem; }
.pay-box summary { cursor: pointer; font-weight: 700; color: var(--accent, inherit); }
.pay-box form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 8px; }
.pay-box form label { display: grid; gap: 2px; font-size: 0.85rem; }
.pay-box form input { width: 7em; }
.pay-box.paid { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay-box.paid form { display: inline; margin: 0; }
.pay-tag { display: inline-block; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
@media (max-width: 760px) {
  .cal-scroll { max-height: 70vh; }
  .cal-title { width: 100%; margin: 4px 0 0; }
}
.cal-ev.short { flex-direction: row; align-items: center; gap: 5px; padding: 2px 6px; flex-wrap: nowrap; }
.cal-ev.short > :not(.cal-ev-time):not(strong) { display: none; }
.cal-ev.short .cal-ev-time { flex: none; font-weight: 700; }
.cal-week .cal-row { grid-template-columns: 58px repeat(var(--cols), minmax(92px, 1fr)); }
dialog.cal-dlg { overflow: auto; }
.cal-dlg label.check { justify-content: flex-start; }
.cal-dlg label.check input { width: auto; flex: none; margin: 0; }

.small-link { margin-left: 8px; font-size: 0.9rem; }

/* ── Customers (owner) + customer accounts ─────────────────── */
.search-row { margin: 12px 0; }
.search-row input[type="search"] { flex: 1 1 220px; min-width: 0; font: 1rem var(--font); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 16px 0 6px; }
.stat-row .card { padding: 14px 16px; }
.stat-row .card h3 { font-size: 1.6rem; }
.acct { max-width: 760px; margin: 24px auto; }
.acct h2 { margin-top: 28px; }

/* ── Security (2FA) ────────────────────────────────────────── */
.sec-nudge { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sec-steps { padding-left: 1.2em; display: grid; gap: 18px; }
.sec-qr { margin: 12px 0; }
.sec-qr svg { display: block; width: 220px; height: 220px; max-width: 100%; border-radius: 8px; }
.sec-key { display: inline-block; margin-top: 4px; padding: 6px 10px; border-radius: 8px; background: var(--surface-2); font-size: 1rem; letter-spacing: 0.06em; user-select: all; word-break: break-all; }
.sec-codes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 10em)); gap: 8px 24px; margin: 16px 0; }
.sec-codes code { font-size: 1.1rem; letter-spacing: 0.05em; }
.sec-box { margin: 12px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.sec-box summary { cursor: pointer; font-weight: 600; }
@media print {
  header.top, footer.foot, .dash-tabs, .subtabs, .bcc, .row, .btn { display: none !important; }
}

/* ── Reference photos + deposits ─────────────────────────── */
.group-box { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0; display: grid; gap: 10px; }
.group-box legend { font-weight: 700; padding: 0 6px; }
.ref-field { margin-top: 4px; }
.ref-prompt { margin: 0; }
.ref-field .photo-item { width: 96px; }
.ref-field .photo-item img { width: 96px; height: 96px; }
.ref-gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 16px; }
.ref-gallery img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.confirm .ref-gallery { justify-content: center; }
.biz-h3 { font-size: 1rem; margin: 18px 0 6px; }
.deposit-note { margin: 4px 0 0; }
.deposit-note p { margin: 6px 0 0; }
.pay-tag.deposit-paid { border-color: var(--terracotta, #b4532a); }
.pay-tag.deposit-refunded, .pay-tag.deposit-partly_refunded { opacity: 0.8; }
.biz-btn.ghost { background: transparent; color: var(--b-text) !important; border: 1.5px solid var(--b-line); justify-self: start; }
.deposit-note { display: block; }
.ref-field .photo-list, .ref-field .ref-gallery { margin: 4px 0; }
.ref-field .photo-item img, .ref-gallery img { border-color: var(--b-line, var(--line)); }

/* ── Phase 1: calendar colors, Share tab, policies checkbox ───────────── */
.cc0 { --cc: #C2410C; --cc-on: #FFFFFF; }
.cc1 { --cc: #6B2A5E; --cc-on: #FFFFFF; }
.cc2 { --cc: #F2B53A; --cc-on: #2B1B3D; }
.cc3 { --cc: #0F766E; --cc-on: #FFFFFF; }
.cc4 { --cc: #2563EB; --cc-on: #FFFFFF; }
.cc5 { --cc: #15803D; --cc-on: #FFFFFF; }
.cc6 { --cc: #BE185D; --cc-on: #FFFFFF; }
.cc7 { --cc: #7C4A2D; --cc-on: #FFFFFF; }
.cc8 { --cc: #4338CA; --cc-on: #FFFFFF; }
.cc9 { --cc: #475569; --cc-on: #FFFFFF; }
.cal-ev.colored, .cal-ev.colored.class { background: var(--cc); color: var(--cc-on); }
.cal-ev.colored.requested { background: var(--surface); color: var(--text); border: 2px dashed var(--cc); }
.cal-ev.colored.completed, .cal-ev.colored.no_show { background: var(--cc); color: var(--cc-on); opacity: .45; }
.lg[class*="cc"] { background: var(--cc); }
.lg.requested-outline { border: 2px dashed var(--muted); background: var(--surface); }
.cal-legend-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.cal-legend-row .cal-legend { margin-bottom: 0; }
.cal-color-by label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--muted); margin: 0; }
.cal-color-by select { width: auto; padding: 4px 8px; font-size: 0.85rem; }
.cal-color-by { display: inline-flex; align-items: center; gap: 10px; }

.color-pick { border: 0; padding: 0; margin: 0; }
.color-pick legend { font-weight: 600; margin-bottom: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.swatch-opt { position: relative; display: inline-flex !important; cursor: pointer; margin: 0; }
.swatch-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sw { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cc);
  border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line); font: 700 0.75rem var(--font); color: var(--muted); }
.sw-auto { background: var(--surface-2); }
.swatch-opt input:checked + .sw { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
.swatch-opt input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.share-card { margin-bottom: 18px; }
.share-card h3 { font-size: 1rem; margin: 18px 0 2px; }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row input { flex: 1; min-width: 0; }
.qr-row { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.qr-box { background: #fff; border-radius: 12px; padding: 6px; border: 1px solid var(--line); line-height: 0; }
.qr-box svg { width: 200px; height: 200px; }
textarea.code { width: 100%; font: 0.8rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }

.agree-check { align-items: flex-start; }
.agree-check a { margin-left: 4px; }
html.in-frame .biz-main { padding-top: 8px; }
.share-card > h2:first-child { margin-top: 0; }
.qr-row > div:last-child { flex: 1; min-width: 220px; }
.qr-row > div:last-child p:first-child { margin-top: 0; }

/* ── Phase 2: service hours, chairs & rooms ───────────────── */
.svc-hours { margin: 6px 0 10px; }
.res-item { flex-wrap: wrap; gap: 6px 12px; }
.res-edit { display: flex; gap: 8px; align-items: center; flex: 1 1 320px; }
.res-edit input[name="name"] { flex: 1; min-width: 0; }
.res-qty { width: 80px !important; }
.res-item .meta { flex-basis: 100%; order: 3; }
.res-delete { margin: 0; }
.res-add { margin-top: 18px; }

/* ── Phase 3a: intake questions, video calls ───────────────── */
.q-item { display: block; }
.q-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.q-actions { display: flex; gap: 10px; align-items: center; }
.q-actions form { margin: 0; }
.q-item details { margin-top: 8px; }
.q-item summary { cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.q-add { margin-top: 18px; }
.intake { display: grid; gap: 14px; margin: 6px 0 4px; }
.intake fieldset { border: 0; padding: 0; margin: 0; }
.intake legend { font-weight: 600; margin-bottom: 4px; }
dl.answers { margin-top: 6px; }
.video-link { font-weight: 700; }
.cal-answers { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 0.85rem; }
.cal-answers dt { color: var(--muted); }
.cal-answers dd { margin: 0; }

/* ── Phase 3b: add-on services ─────────────────────────────── */
.upsell-pick { display: grid; gap: 8px; margin: 14px 0; }
.upsell-pick .biz-h2 { margin: 0 0 4px; }
.upsell-opt { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.upsell-opt input { width: auto; margin: 3px 0 0; flex: none; }
.upsell-opt small { margin-left: 4px; }

/* ── Phase 3c: recurring appointments ──────────────────────── */
.repeat-box { border: 1px solid var(--biz-line, var(--line)); border-radius: 12px; padding: 12px 14px; margin: 4px 0; }
.repeat-box legend { font-weight: 600; padding: 0 4px; }
.series-plan { margin-top: 10px; }
.series-plan ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.series-plan li.bad { color: inherit; }
.series-plan select { width: auto; margin-left: 6px; padding: 4px 8px; }
.series-list { margin: 6px 0 10px; padding-left: 20px; display: grid; gap: 3px; }
.series-box { margin-top: 18px; }
.dc-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; }
/* Hidden until their switch is on (service hours, question choices, online note, repeat count, code amount). */
.svc-hours.is-hidden, .q-options.is-hidden, .online-help.is-hidden, .repeat-count.is-hidden,
.dc-percent.is-hidden, .dc-amount.is-hidden { display: none; }
.deposit-box.is-hidden, .deposit-flat.is-hidden, .deposit-percent.is-hidden, .fee-flat.is-hidden, .fee-percent.is-hidden,
.pay-mode-help.is-hidden, .tip-custom.is-hidden { display: none; }
.deposit-box { display: grid; gap: 10px; }
.pay-mode-help { display: block; margin-top: 4px; }
/* Booking form: payment summary + tip */
.pay-plan { display: grid; gap: 6px; }
.pay-plan .line { display: flex; justify-content: space-between; gap: 12px; }
.tip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.tip-row label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--biz-line, var(--line)); border-radius: 999px;
  padding: 6px 12px; cursor: pointer; font-weight: 600; margin: 0; }
.tip-row input { width: auto; margin: 0; }
.tip-row label:has(input:checked) { border-color: var(--b-primary, var(--accent)); box-shadow: 0 0 0 1px var(--b-primary, var(--accent)); }
.tip-row legend { width: 100%; padding: 0; margin-bottom: 4px; font-weight: 600; }
.tip-row span small { margin-left: 6px; opacity: .7; }
.tip-row > small { flex-basis: 100%; }
.tip-row label.tip-custom { flex-basis: 100%; display: grid; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.tip-row label.tip-custom input { width: 100%; max-width: 160px; }
.pay-panel .pay-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 8px 0; }
.pay-panel .pay-facts dt { color: var(--muted); }
.pay-panel .pay-facts dd { margin: 0; }
.pay-panel form.inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 8px; }
.pay-panel form.inline input { max-width: 140px; }
.pay-plan p { margin: 0; }
.pay-panel .pay-tag { display: inline-block; }
.tip-row label.tip-custom.is-hidden { display: none; }

/* ═══ 2026 redesign ═══════════════════════════════════════════════════════ */

/* ── Site footer (public pages) ── */
.site-foot { background: #1F1330; color: #E6D9EC; margin-top: 0; }
.site-foot-in { max-width: 1240px; margin: 0 auto; padding: 56px 24px 32px; display: grid; gap: 40px; }
.site-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 0.95rem; }
.site-foot-cols > div { display: flex; flex-direction: column; gap: 10px; }
.site-foot-cols b { color: #FFFFFF; font-family: var(--font-display); }
.site-foot-brand b { font-size: 1.15rem; }
.site-foot a { color: #E6D9EC; text-decoration: none; }
.site-foot a:hover { color: #FFFFFF; text-decoration: underline; }
.site-foot-legal { border-top: 1px solid #3A2A4C; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
.site-foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px) { .site-foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .site-foot-cols { grid-template-columns: 1fr; } }
body:not(.v-site):not(.v-app) .site-foot { margin-top: 40px; }

/* ── Homepage ── */
.hp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hp-eyebrow { color: var(--link); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 0.82rem; margin: 0 0 14px; }
.hp-textlink { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; padding: 12px 4px; }
.hp-textlink.accent { color: var(--link); text-decoration: none; padding: 0; display: inline-block; margin-top: 8px; }
.hp-textlink.accent:hover { text-decoration: underline; }
.hp-hero { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.hp-hero-in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hp-hero-text { flex: 1 1 420px; min-width: 0; }
.hp-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 22px; }
.hp-sub { font-size: 1.2rem; line-height: 1.55; color: var(--text-soft); max-width: 520px; margin: 0 0 30px; }
.hp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hp-note { color: var(--muted); font-size: 0.92rem; margin: 18px 0 0; }

.hp-devices { flex: 1 1 520px; min-width: 0; position: relative; height: 470px; }
.hp-browser { position: absolute; left: 0; top: 10px; right: 64px; background: #FFFFFF; color: #2B1B3D; border: 1px solid #EADBCB; border-radius: 16px;
  overflow: hidden; box-shadow: 0 34px 70px -28px rgba(43, 27, 61, 0.45); font-size: 0.8rem; }
.hp-browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #F6EDE2; }
.hp-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #DCCBB9; }
.hp-browser-bar span { margin-left: 12px; color: #6E5F7A; font-size: 0.72rem; }
.hp-browser-body { display: grid; grid-template-columns: 0.85fr 1fr; min-height: 370px; }
.hp-browser-side { padding: 20px; border-right: 1px solid #EADBCB; display: flex; flex-direction: column; gap: 8px; }
.hp-browser-side > b { font: 700 1rem var(--font-display); }
.hp-browser-side > small { color: #6E5F7A; margin-top: -6px; }
.hp-avatar { width: 42px; height: 42px; border-radius: 50%; background: #2B1B3D; color: #F4B23E; display: grid; place-items: center; font: 800 1.1rem var(--font-display); }
.hp-mini-label { margin: 6px 0 2px; font-weight: 700; font-size: 0.74rem; color: #6E5F7A; text-transform: uppercase; letter-spacing: .05em; }
.hp-svc { border: 1px solid #EADBCB; border-radius: 10px; padding: 8px 10px; display: grid; }
.hp-svc small { color: #6E5F7A; }
.hp-svc.on { border: 2px solid #E0603A; }
.hp-browser-main { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.hp-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; font-size: 0.74rem; color: #9A8BA6; }
.hp-month span { padding: 5px 0; border-radius: 7px; }
.hp-month .dow { font-weight: 700; color: #6E5F7A; }
.hp-month .open { background: #FDE9D6; color: #2B1B3D; font-weight: 600; }
.hp-month .pick { background: #E0603A; color: #FFFFFF; font-weight: 700; }
.hp-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.hp-slots i { font-style: normal; text-align: center; border: 1.5px solid #E0603A; color: #C04B28; border-radius: 9px; padding: 7px 0; font-weight: 700; font-size: 0.75rem; }
.hp-slots i.on { background: #2B1B3D; border-color: #2B1B3D; color: #FFFFFF; }
.hp-phone { position: absolute; right: 0; bottom: 0; width: 214px; height: 420px; background: #2B1B3D; border-radius: 36px; padding: 10px;
  box-shadow: 0 34px 70px -24px rgba(43, 27, 61, 0.6); }
.hp-phone-screen { height: 100%; background: #FFFFFF; color: #2B1B3D; border-radius: 28px; padding: 28px 16px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 0.8rem; }
.hp-phone-screen > b { font: 700 1.1rem var(--font-display); }
.hp-phone-screen > small { color: #6E5F7A; line-height: 1.5; }
.hp-ok { width: 44px; height: 44px; border-radius: 50%; background: #FDE9D6; color: #C04B28; display: grid; place-items: center; }
.hp-paid { display: flex; justify-content: space-between; background: #FFF6EC; border-radius: 10px; padding: 10px; }
.hp-phone-btn { display: block; text-align: center; background: #E0603A; color: #FFFFFF; border-radius: 999px; padding: 9px; font-weight: 700; font-size: 0.78rem; }
.hp-phone-screen .hp-phone-btn:first-of-type { margin-top: auto; }
.hp-phone-btn.ghost { background: transparent; color: #2B1B3D; border: 1px solid #EADBCB; }

.hp-subnav { position: sticky; top: 68px; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.hp-subnav-in { display: flex; align-items: center; gap: 28px; min-height: 54px; overflow-x: auto; white-space: nowrap; font-size: 0.92rem; font-weight: 600; }
.hp-subnav b { font-family: var(--font-display); }
.hp-subnav a { color: var(--muted); text-decoration: none; padding: 16px 0; border-bottom: 2px solid transparent; }
.hp-subnav a:hover { color: var(--text); border-bottom-color: var(--accent); }

.hp-intro { text-align: center; padding: 110px 0 24px; scroll-margin-top: 130px; }
.hp-intro h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 820px; margin: 0 auto 16px; }
.hp-intro p { font-size: 1.15rem; color: var(--text-soft); max-width: 620px; margin: 0 auto; line-height: 1.55; }
.hp-group { padding-top: 72px; scroll-margin-top: 110px; }
.hp-group-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; margin: 0 0 32px; max-width: 640px; }
.hp-row { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; margin-bottom: 104px; }
.hp-row.flip { flex-direction: row-reverse; }
.hp-row-text { flex: 1 1 380px; min-width: 0; }
.hp-row-text h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; margin: 0 0 16px; }
.hp-row-text > p { font-size: 1.1rem; line-height: 1.6; color: var(--text-soft); margin: 0 0 20px; max-width: 480px; }
.hp-ticks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.hp-ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.hp-ticks svg { flex: none; color: var(--link); margin-top: 2px; }
.hp-art { flex: 1 1 460px; min-width: 0; min-height: 400px; border-radius: 28px; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 32px; }
.hp-art.tint-1 { background: var(--tint-1); }
.hp-art.tint-2 { background: var(--tint-2); }
.hp-mini-phone { width: 190px; height: 360px; background: #2B1B3D; border-radius: 30px; padding: 9px; flex: none; }
.hp-mini-phone > div { height: 100%; background: #FFFFFF; color: #2B1B3D; border-radius: 22px; padding: 22px 14px; display: flex; flex-direction: column; gap: 9px; font-size: 0.75rem; }
.hp-mini-phone b { font: 700 0.95rem var(--font-display); }
.hp-mini-phone i { font-style: normal; text-align: center; border: 1.5px solid #E0603A; color: #C04B28; border-radius: 9px; padding: 8px; font-weight: 700; }
.hp-mini-phone i.on { background: #2B1B3D; border-color: #2B1B3D; color: #FFFFFF; }
.hp-mini-phone .hp-phone-btn { margin-top: auto; }
.hp-qr { width: 132px; padding: 16px; background: #FFFFFF; color: #2B1B3D; border-radius: 18px; display: grid; justify-items: center; gap: 8px;
  box-shadow: 0 18px 34px -16px rgba(43, 27, 61, 0.4); font-weight: 700; }
.hp-qr-code { width: 80px; height: 80px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, #2B1B3D 0 7px, transparent 7px 14px), repeating-linear-gradient(0deg, #2B1B3D 0 7px, transparent 7px 14px);
  background-blend-mode: multiply; }
.hp-week { width: 100%; max-width: 460px; background: #FFFFFF; color: #2B1B3D; border-radius: 18px; padding: 20px; box-shadow: 0 24px 48px -24px rgba(43, 27, 61, 0.45); font-size: 0.8rem; }
.hp-week-title { display: block; font: 700 1rem var(--font-display); margin-bottom: 12px; }
.hp-week-grid { display: grid; grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr); gap: 7px; }
.hp-week-grid .t { color: #6E5F7A; padding-top: 8px; }
.hp-week-grid em { font-style: normal; border-radius: 9px; padding: 9px; font-weight: 600; border-left: 3px solid; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-week-grid .c1 { background: #FDE9D6; border-color: #E0603A; }
.hp-week-grid .c2 { background: #F1E6EF; border-color: #6B2A5E; }
.hp-week-grid .c3 { background: #FEF1D3; border-color: #D9921A; }
.hp-week-grid .off { background: repeating-linear-gradient(135deg, #F6EDE2 0 6px, #EADBCB 6px 12px); border-color: transparent; color: #4A3A5C; }
.hp-week-grid .req { background: #FFFFFF; border: 2px dashed #E0603A; }
.hp-checkout { width: 320px; max-width: 100%; background: #FFFFFF; color: #2B1B3D; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 24px 48px -24px rgba(43, 27, 61, 0.45); }
.hp-checkout > b { font: 700 1.05rem var(--font-display); }
.hp-checkout .line { display: flex; justify-content: space-between; }
.hp-checkout small { color: #6E5F7A; text-align: center; }
.hp-tips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.hp-tips i { font-style: normal; text-align: center; border: 1px solid #EADBCB; border-radius: 9px; padding: 8px 0; font-weight: 700; font-size: 0.8rem; }
.hp-tips i.on { background: #2B1B3D; color: #FFFFFF; border-color: #2B1B3D; }
.hp-pay-btn { display: block; text-align: center; background: #1F1330; color: #FFFFFF; border-radius: 999px; padding: 12px; font-weight: 700; }
.hp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.hp-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.hp-card h4 { font-size: 1.2rem; margin: 0 0 8px; }
.hp-card p { margin: 0; color: var(--text-soft); line-height: 1.55; }
.hp-for { text-align: center; padding: 40px 24px 96px; }
.hp-for h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 18px; }
.hp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 820px; margin: 0 auto; }
.hp-chips span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 0.92rem; }

.hp-pricing { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 104px 0; scroll-margin-top: 110px; }
.hp-center { text-align: center; }
.hp-pricing h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; margin: 0 0 12px; }
.hp-pricing .hp-center > p { font-size: 1.12rem; color: var(--text-soft); margin: 0 0 48px; }
.hp-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hp-price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.hp-tag { margin: 0; color: var(--link); font-weight: 700; font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; }
.hp-price h3 { font-size: 1.4rem; margin: -10px 0 0; }
.hp-amount { margin: 0; color: var(--muted); }
.hp-amount b { font: 800 3rem/1 var(--font-display); color: var(--text); letter-spacing: -0.03em; }
.hp-price .hp-ticks { font-size: 0.95rem; color: var(--text-soft); }
.hp-small { font-size: 0.88rem; color: var(--muted); margin: 28px 0 0; }
.hp-faq { max-width: 860px; padding-top: 104px; padding-bottom: 104px; scroll-margin-top: 110px; }
.hp-faq h2 { text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 32px; }
.hp-faq details { border-top: 1px solid var(--line); padding: 22px 4px; }
.hp-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.hp-faq summary { cursor: pointer; font-weight: 600; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.hp-faq details[open] summary::after { content: "–"; }
.hp-faq details p { margin: 12px 0 0; color: var(--text-soft); line-height: 1.6; max-width: 720px; }
.hp-final { background: var(--plum); color: #FFFFFF; text-align: center; padding: 100px 0; }
.hp-final h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.03em; margin: 0 0 14px; }
.hp-final p { font-size: 1.15rem; color: #E6D9EC; margin: 0 0 30px; }
@media (max-width: 960px) {
  .hp-cards, .hp-prices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hp-hero-in { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hp-devices { height: 400px; }
  .hp-browser { right: 40px; }
  .hp-browser-side { display: none; }
  .hp-browser-body { grid-template-columns: 1fr; min-height: 300px; }
  .hp-phone { width: 180px; height: 360px; }
  .hp-subnav { top: 60px; }
  .hp-intro { padding-top: 72px; }
  .hp-row, .hp-row.flip { flex-direction: column; gap: 32px; margin-bottom: 72px; }
  .hp-row-text, .hp-art { flex-basis: auto; width: 100%; }
  .hp-art { min-height: 0; padding: 24px 16px; border-radius: 22px; }
  .hp-qr { display: none; }
  .hp-cards, .hp-prices { grid-template-columns: 1fr; }
  .hp-pricing, .hp-faq, .hp-final { padding-top: 72px; padding-bottom: 72px; }
}

/* ── Owner overview ── */
.ov-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.ov-head h1 { margin: 0; }
.actions.start { justify-content: flex-start; }
.ov-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.ov-stat { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--text); }
.ov-stat:hover { border-color: var(--accent); }
.ov-stat span { color: var(--muted); font-size: 0.9rem; }
.ov-stat b { font: 800 2.2rem/1 var(--font-display); letter-spacing: -0.02em; }
.ov-stat.hot b { color: var(--link); }
.ov-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 24px; }
.ov-cols .card, .ov-setup { padding: 22px 24px; }
.ov-setup { margin-bottom: 24px; }
.ov-setup h2, .ov-cols h2 { margin: 0 0 10px; }
.ov-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.ov-card-head h2 { margin: 0; }
.ov-card-head a { font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.ov-list { list-style: none; padding: 0; margin: 0; }
.ov-list li + li { border-top: 1px solid var(--line); }
.ov-list a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; text-decoration: none; color: var(--text); min-height: 44px; }
.ov-list a:hover .ov-who b { text-decoration: underline; }
.ov-av { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--tint-1); color: var(--text); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; }
.ov-who { flex: 1; min-width: 0; display: grid; }
.ov-who small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-warn { background: var(--marigold); color: var(--plum); }
.ov-url { font-weight: 600; overflow-wrap: anywhere; margin: 0 0 4px; }
@media (max-width: 760px) {
  .ov-stats { grid-template-columns: 1fr 1fr; }
  .ov-stats .ov-stat:last-child { grid-column: 1 / -1; }
  .ov-cols { grid-template-columns: 1fr; }
}

/* ── Calendar + bookings polish ── */
.cal-scroll { border-radius: 16px; }
.cal-ev { border-radius: 9px; }


/* ── Customer booking pages: softer cards, roomier buttons (colors stay the business's own) ── */
.biz-card { border-radius: 18px; padding: 18px; }
.biz-btn { padding: 11px 20px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.time-chip { min-height: 48px; }
.chip, .day-chip { min-height: 44px; }
