:root {
  /* bookforms palette: one calm blue for brand and actions; green, yellow and red only for status. */
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text: #202124;
  --muted: #5f6368;
  --line: #e8eaed;
  --brand: #1a73e8;
  --brand-ink: #174ea6;
  --brand-soft: #e8f0fe;
  --accent: var(--brand);
  --ok: #137333; --ok-soft: #e6f4ea;
  --warn: #b06000; --warn-soft: #fef7e0;
  --bad: #c5221f; --bad-soft: #fce8e6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .05);
  --shadow-lg: 0 18px 50px -18px rgba(0, 0, 0, .28);
  --font: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.h2 { font-size: 1.4rem; }
.h3 { font-size: 1.1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .75em 1.15em; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .05s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.92); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd0dc; background: #fafbff; }
.btn-danger { color: var(--bad); }
.btn-sm { font-size: .85rem; padding: .55em .85em; }
.btn-lg { font-size: 1.02rem; padding: .95em 1.4em; border-radius: 12px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--bad); }

.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -.02em; text-decoration: none !important; }
.logo-mark { width: 28px; height: 28px; color: var(--brand); }

.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: .25em .65em; border-radius: 999px; letter-spacing: .01em; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-muted { background: #f1f5f9; color: var(--muted); }
.count { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; padding: 0 .35em; margin-left: .35em; border-radius: 999px; background: var(--warn); color: #fff; font-size: .72rem; font-weight: 700; }

.alert { padding: .8rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 500; font-size: .95rem; }
.alert-error { background: var(--bad-soft); color: var(--bad); border: 1px solid #fecaca; }
.alert-ok { display: flex; align-items: center; gap: .55rem; background: #e8f0fe; color: #174ea6; border: 1px solid #c6dafc; }
.alert-ok::before { content: "✓"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1a73e8; color: #fff; font-size: .75rem; font-weight: 800; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; }
.form-grid { grid-template-columns: 1fr 1fr; }
.form-grid .span-2 { grid-column: span 2; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .9rem; }
.form small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  padding: .7em .8em; border: 1px solid #d5d9e3; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
input[type="color"] { padding: .25em; height: 2.75em; cursor: pointer; }
.form-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.input-prefix { display: flex; align-items: stretch; border: 1px solid #d5d9e3; border-radius: 10px; overflow: hidden; background: #fff; }
.input-prefix:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.input-prefix span { display: flex; align-items: center; padding: 0 .1em 0 .8em; color: var(--muted); font-weight: 400; white-space: nowrap; font-size: .95rem; }
.input-prefix input { border: 0; box-shadow: none !important; padding-left: .1em; min-width: 0; }
.pw { position: relative; display: block; }
.pw input { padding-right: 3rem; }
.pw-toggle { position: absolute; top: 50%; right: .4rem; transform: translateY(-50%); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.pw-toggle:hover { color: var(--text); background: var(--bg); }
.pw-toggle svg { width: 20px; height: 20px; }
.pw-toggle .eye-hide, .pw-toggle[aria-pressed="true"] .eye-show { display: none; }
.pw-toggle[aria-pressed="true"] .eye-hide { display: block; }
.input-suffix input { padding-left: .8em; padding-right: .1em; text-align: right; }
.input-suffix span { padding: 0 .8em 0 .1em; }

.switch { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: .65rem !important; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #cbd2df; transition: background .15s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }


/* ---------- marketing (landing) ---------- */
.marketing { background: #fff; }
.btn-pill { border-radius: 999px; }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; }

.mk-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.mk-nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.mk-nav .brand { color: var(--brand); font-size: 1.3rem; }
.mk-nav .brand span { color: var(--brand); }
.mk-nav-right { display: flex; align-items: center; gap: 1.25rem; }
.mk-link { color: var(--text); font-weight: 600; font-size: .95rem; padding: .6rem .9rem; border-radius: 999px; }
.mk-link:hover { background: var(--bg); text-decoration: none; }

.mk-lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 34em; margin: 0 auto 2.5rem; }
.mk-note { color: var(--muted); font-size: .9rem; margin: 1.1rem 0 0; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { margin: 0; padding: 1.75rem; border-radius: 20px; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.quote blockquote { margin: 0; font-size: 1.08rem; font-weight: 600; line-height: 1.5; }
.quote blockquote::before { content: "“"; display: block; font-size: 3.2rem; line-height: .7; color: var(--brand); font-weight: 800; margin-bottom: .4rem; }
.quote figcaption { display: flex; gap: .75rem; align-items: center; }
.quote figcaption img, .quote-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-avatar { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.quote figcaption > span:last-child { display: grid; line-height: 1.3; }
.quote small { color: var(--muted); }

.mk-hero { text-align: center; padding-top: 88px; padding-bottom: 72px; }
.mk-hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 1.25rem; text-wrap: balance; }
.h1-line { display: block; }
.pill { display: flex; align-items: center; max-width: 560px; margin: 0 auto; padding: 8px 8px 8px 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 3px 12px rgba(0, 0, 0, .1); text-align: left; transition: box-shadow .2s; }
.pill:focus-within { box-shadow: 0 6px 20px rgba(0, 0, 0, .14); }
.pill-seg { flex: 1; min-width: 0; display: grid; gap: 1px; padding: .55rem 1.75rem; border-radius: 999px; cursor: text; transition: background .15s; }
.pill-seg:hover { background: var(--bg); }
.pill-label { font-size: .75rem; font-weight: 800; letter-spacing: .01em; }
.pill-seg input { border: 0; padding: 0; font-size: .95rem; background: transparent; box-shadow: none !important; color: var(--text); }
.pill-seg input::placeholder { color: var(--muted); }
.pill-btn { display: inline-flex; align-items: center; gap: .5rem; flex: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem; color: #fff; background: var(--brand); padding: .95rem 1.4rem; border-radius: 999px; transition: background .15s; }
.pill-btn:hover { background: var(--brand-ink); }
.pill-btn svg { width: 18px; height: 18px; }

.mk-section { padding-top: 72px; padding-bottom: 72px; }
.mk-section-tight { padding-top: 16px; }
.mk-head { margin-bottom: 2rem; }
.mk-head-center { text-align: center; }
.mk-band { background: var(--bg); }
.mk-head h2, .split-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .35rem; }
.mk-head p, .mk-sub { color: var(--muted); margin: 0; font-size: 1.02rem; }

.mk-note-caps { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* "Manage your business on the go": phone showing the dashboard, with a calendar event beside it */
.otg-stage { position: relative; display: grid; place-items: center; padding: 12px 0; }
.otg-phone { width: 290px; aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 46px; background: #1b1b1b; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45); }
.otg-screen { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 36px; background: #fff; font-size: .78rem; line-height: 1.35; }
.otg-top { display: flex; justify-content: space-between; align-items: center; padding: 26px 16px 10px; border-bottom: 1px solid var(--line); }
.otg-top .logo-mark { width: 24px; height: 24px; }
.otg-avatar { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: #fff; font-size: .7rem; font-weight: 800; }
.otg-body { flex: 1; display: grid; align-content: start; gap: 8px; padding: 14px 14px 0; }
.otg-h { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.otg-sub { margin-top: -6px; color: var(--muted); }
.otg-sub b { color: var(--text); }
.otg-chips { display: flex; gap: 5px; margin: 2px 0; white-space: nowrap; overflow: hidden; }
.otg-chips span { padding: 4px 9px; border: 1px solid #ddd; border-radius: 99px; font-size: .68rem; font-weight: 600; }
.otg-chips .on { border-color: var(--text); background: var(--bg); box-shadow: inset 0 0 0 1px var(--text); }
.otg-card { display: grid; gap: 1px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 12px; }
.otg-card b { font-size: .9rem; }
.otg-card > span:not(.otg-status):not(.otg-actions) { color: var(--muted); }
.otg-status { font-size: .66rem; font-weight: 700; }
.otg-warn { color: var(--warn); }
.otg-brand { color: var(--brand); }
.otg-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.otg-actions span { padding: 6px; border: 1px solid var(--text); border-radius: 8px; text-align: center; font-weight: 700; font-size: .72rem; }
.otg-actions .otg-primary { border-color: var(--brand); background: var(--brand); color: #fff; }
.otg-tabs { display: flex; justify-content: space-around; padding: 8px 4px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .6rem; font-weight: 600; }
.otg-tabs span { display: grid; justify-items: center; gap: 2px; }
.otg-tabs svg { width: 20px; height: 20px; }
.otg-tabs .on { color: var(--brand); }
.otg-event { position: absolute; left: calc(50% - 250px); bottom: 22%; display: flex; gap: 10px; width: 230px; padding: 12px 14px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .3); font-size: .85rem; line-height: 1.35; animation: otg-float 5s ease-in-out infinite; }
.otg-event-bar { flex: none; width: 4px; border-radius: 4px; background: var(--brand); }
.otg-event > span:last-child { display: grid; }
.otg-event small { color: var(--muted); font-size: .75rem; }
@keyframes otg-float { 50% { transform: translateY(-8px); } }
@media (max-width: 960px) { .otg .split-copy { order: -1; } }
@media (max-width: 720px) {
  .otg-phone { width: 250px; }
  .otg-event { left: 0; bottom: 10%; width: 210px; }
}
@media (prefers-reduced-motion: reduce) { .otg-event { animation: none; } }

/* "Made for anyone" slideshow: photo cards with a thin dark frame */
.mk-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.carousel-nav { display: flex; gap: .5rem; flex: none; }
.round-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ddd; border-radius: 50%; background: #fff; color: var(--text); cursor: pointer; transition: box-shadow .2s; }
.round-btn:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.round-btn svg { width: 16px; height: 16px; }
.personas { --edge: max(16px, calc((100vw - 1120px) / 2 + 16px)); display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 400px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 4px var(--edge) 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.personas::-webkit-scrollbar { display: none; }
.persona { scroll-snap-align: start; padding: 4px; border-radius: 20px; background: var(--text); }
.persona-media { position: relative; container-type: inline-size; aspect-ratio: 1 / 1.08; border-radius: 16px; overflow: hidden; background: var(--bg); }
.persona-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.persona:hover .persona-media > img { transform: scale(1.04); }
.persona-media::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); pointer-events: none; }
.persona-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: .1rem; margin: 0; padding: 0 6cqw 5.5cqw; color: rgba(255, 255, 255, .9); font-size: max(13px, 3.7cqw); line-height: 1.35; }
.persona-cap b { color: #fff; font-size: max(17px, 5.4cqw); font-weight: 800; letter-spacing: -.02em; }
.carousel-dots { display: none; justify-content: center; gap: 2px; margin-top: 10px; }
.carousel-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel-dots button::before { content: ""; display: block; width: 7px; height: 7px; margin: auto; border-radius: 50%; background: #c8c8c8; transition: width .25s, background .25s; }
.carousel-dots button[aria-current]::before { width: 18px; border-radius: 99px; background: var(--text); }
/* Phones: one card at a time that cross-fades, so nothing scrolls sideways */
@media (max-width: 720px) {
  .personas { display: grid; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 4px 16px 0; scroll-snap-type: none; touch-action: pan-y; }
  .persona { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
  .persona.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
  .persona-media { aspect-ratio: 4 / 4.3; }
  .carousel-dots { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .persona-media > img, .persona { transition: none; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; max-height: 520px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.flow { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.flow li { display: flex; gap: 1rem; align-items: flex-start; }
.flow li > span:last-child { display: grid; gap: .1rem; color: var(--muted); }
.flow strong { color: var(--text); font-size: 1.05rem; }
.flow-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.flow-icon svg { width: 22px; height: 22px; }

.modes-min { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.modes-min article { border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; }
.modes-min h3 { font-size: 1.2rem; font-weight: 800; margin: 1.5rem 0 .35rem; }
.modes-min p { color: var(--muted); margin: 0; }
.mini-ui { display: flex; align-items: center; gap: .75rem; padding: 1rem; border-radius: 14px; background: var(--bg); }
.mini-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.mini-text { flex: 1; min-width: 0; display: grid; font-size: .95rem; }
.mini-text small { color: var(--muted); font-size: .82rem; }
.mini-actions { display: flex; gap: .4rem; }
.mini-btn { font-size: .8rem; font-weight: 700; padding: .45rem .75rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.mini-btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }

/* "Approve each one" preview: a cursor taps Approve and the buttons turn into a Confirmed badge, on a loop */
.mini-swap { display: grid; justify-items: end; align-items: center; }
.mini-swap > * { grid-area: 1 / 1; }
.mini-btn-primary { position: relative; display: inline-block; }
.mini-swap .badge { opacity: 0; }
.mini-cursor { position: absolute; z-index: 1; right: 6px; bottom: -12px; width: 20px; height: 20px; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .mini-swap .mini-actions { animation: approve-actions 6s infinite; }
  .mini-swap .badge { animation: approve-badge 6s infinite; }
  .mini-swap .mini-btn-primary { animation: approve-press 6s infinite; }
  .mini-cursor { animation: approve-cursor 6s infinite; }
}
@keyframes approve-cursor {
  0%, 12% { opacity: 0; transform: translate(34px, 30px); }
  18% { opacity: 1; }
  34%, 44% { opacity: 1; transform: translate(0, 0); }
  50%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes approve-press {
  0%, 37% { transform: none; background: var(--brand); }
  40% { transform: scale(.92); background: var(--brand-ink); }
  44%, 100% { transform: none; background: var(--brand); }
}
@keyframes approve-actions {
  0%, 46% { opacity: 1; transform: none; }
  52%, 90% { opacity: 0; transform: scale(.96); }
  96%, 100% { opacity: 1; transform: none; }
}
@keyframes approve-badge {
  0%, 48% { opacity: 0; transform: scale(.8); }
  54% { opacity: 1; transform: scale(1.08); }
  58%, 88% { opacity: 1; transform: none; }
  93%, 100% { opacity: 0; transform: none; }
}

/* "Book your first client in 3 easy steps": phone-in-hand photo + text slideshow */
.steps-split { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); justify-content: center; }
.steps-split .split-copy > .btn { margin-top: 1.75rem; }
.step-show { margin-top: 1.75rem; }
.step-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.step-tabs button { display: grid; align-content: start; gap: .55rem; padding: 0 0 .25rem; border: 0; background: none; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 700; text-align: left; cursor: pointer; }
.step-tabs button[aria-selected="true"] { color: var(--text); }
.step-bar { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.step-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand); }
.step-tabs button.is-done .step-bar i { width: 100%; }
.step-tabs button[aria-selected="true"] .step-bar i { width: 100%; }
.step-show.is-playing .step-tabs button[aria-selected="true"] .step-bar i { animation: step-fill var(--step-ms, 4500ms) linear; }
.step-show.is-paused .step-tabs button[aria-selected="true"] .step-bar i { animation-play-state: paused; }
@keyframes step-fill { from { width: 0; } to { width: 100%; } }
.step-panels { display: grid; margin-top: 1.5rem; }
.step-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease, visibility 0s .4s; }
.step-panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .4s ease; }
.step-panel h3 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; margin: .35rem 0 .5rem; }
.step-panel p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 34ch; }
.step-label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* The photo is 2:3 and never cropped, so the screen overlay can be placed in % of the photo. 1cqw = 1% of its width. */
.hand-shot { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 2 / 3; border-radius: 24px; overflow: hidden; background: #e59aa5; }
.hand-shot > img { display: block; width: 100%; height: 100%; }
.hand-screen { position: absolute; left: 24.8%; top: 32.85%; width: 33.3%; height: 47.95%; display: flex; flex-direction: column; padding: 0 1.6cqw 2.2cqw; border-radius: 4.1cqw; overflow: hidden; background: #fff; color: #222; font-size: 1.32cqw; line-height: 1.3; }
.hs-status { display: flex; justify-content: space-between; align-items: center; height: 3.4cqw; padding: 0 1.2cqw; font-size: 1.15cqw; }
.hs-status span { display: flex; align-items: flex-end; gap: .25cqw; }
.hs-status i { width: .35cqw; background: #222; border-radius: .1cqw; }
.hs-status i:nth-child(1) { height: .5cqw; } .hs-status i:nth-child(2) { height: .75cqw; } .hs-status i:nth-child(3) { height: 1cqw; }
.hs-status em { width: 1.8cqw; height: .9cqw; margin-left: .3cqw; border-radius: .25cqw; background: #222; }
.hs-cover { height: 12cqw; border-radius: 1.6cqw; overflow: hidden; background: var(--accent); }
.hs-cover img { width: 100%; height: 100%; object-fit: cover; }
.hs-avatar { display: grid; place-items: center; width: 5cqw; height: 5cqw; margin: -2.6cqw 0 0 1.4cqw; border: .45cqw solid #fff; border-radius: 50%; background: var(--accent); color: #fff; font-size: 2cqw; font-weight: 800; position: relative; }
.hs-title { margin-top: .6cqw; font-size: 2.05cqw; font-weight: 800; letter-spacing: -.02em; }
.hs-place { display: flex; align-items: center; gap: .4cqw; margin-top: .3cqw; color: #555; font-size: 1.12cqw; }
.hs-place svg { width: 1.3cqw; height: 1.3cqw; color: var(--accent); flex: none; }
.hs-place u { color: var(--accent); font-weight: 700; }
.hs-h { display: flex; align-items: center; gap: .6cqw; margin: 2cqw 0 .9cqw; font-size: 1.4cqw; font-weight: 800; }
.hs-h span { display: grid; place-items: center; width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.05cqw; }
.hs-svc { display: flex; justify-content: space-between; align-items: center; gap: .5cqw; margin-bottom: .7cqw; padding: 1.15cqw 1.2cqw; border: .15cqw solid #ddd; border-radius: 1.2cqw; }
.hs-svc > span { color: #666; font-size: 1.1cqw; }
.hs-svc > span b { color: #222; }
.hs-svc.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); box-shadow: inset 0 0 0 .1cqw var(--accent); }
.hs-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6cqw; }
.hs-times span { padding: .9cqw 0; border: .15cqw solid #ddd; border-radius: 1cqw; text-align: center; font-weight: 700; }
.hs-times .on { border-color: var(--accent); background: var(--accent); color: #fff; }
.hs-btn { margin-top: auto; padding: 1.3cqw; border-radius: 99px; background: var(--accent); color: #fff; text-align: center; font-weight: 800; font-size: 1.4cqw; }
.hs-notch { position: absolute; top: 0; left: 7.7cqw; width: 18cqw; height: 2.7cqw; border-radius: 0 0 1.6cqw 1.6cqw; background: #111; }
.hs-home { position: absolute; bottom: .7cqw; left: 10.6cqw; width: 12cqw; height: .45cqw; border-radius: 1cqw; background: #222; }

/* "Get directions" link next to a business address */
.bp-map { display: inline-flex; align-items: center; gap: .25rem; margin-left: .35rem; color: var(--accent, var(--brand)); font-weight: 700; text-decoration: none; white-space: nowrap; }
.bp-map:hover { text-decoration: underline; }
.bp-map svg { width: 13px !important; height: 13px !important; margin: 0 !important; color: currentColor !important; }
.bp-place .bp-map { display: flex; width: fit-content; margin: .2rem 0 0; }
.tpl-soft .bp-place .bp-map { margin: .2rem auto 0; }
.result .bp-map { margin-left: 0; font-size: .92rem; }
.tpl-bold .bp-map { color: #fff; text-decoration: underline; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; }
.faq-grid h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .4rem; }
.faq-grid p { color: var(--muted); margin: 0; }

.banner { position: relative; border-radius: 24px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .1) 70%); }
.banner-copy { position: relative; z-index: 1; color: #fff; padding: 3rem; max-width: 520px; }
.banner-copy h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.banner-copy p { font-size: 1.1rem; opacity: .92; margin-bottom: 1.75rem; }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: #f2f2f2; }

.mk-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 28px 0; margin-top: 40px; color: var(--muted); font-size: .9rem; }
.mk-footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mk-footer a { color: var(--text); text-decoration: underline; }

/* ---------- auth ---------- */
.auth { background: var(--bg); }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2rem; box-shadow: var(--shadow); }
.auth-card .brand { margin-bottom: 1.5rem; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: .25rem; }
.auth-card > .muted { margin-bottom: 1.5rem; }
.auth-card .form { margin-bottom: .5rem; }
.auth-card.center .brand { justify-content: center; }
.auth-foot { text-align: center; color: var(--muted); font-size: .92rem; margin: 1.25rem 0 0; }

/* ---------- app (owner dashboard) ---------- */
.app { background: #fff; }
.app-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top); }
.app { -webkit-tap-highlight-color: transparent; }
@media (display-mode: standalone) { .app-link { display: none; } }
.app-nav { display: flex; align-items: center; gap: 1.5rem; height: 80px; }
.app-nav .brand, .app-nav .brand span { color: var(--brand); }
.app-nav .brand { font-size: 1.25rem; }
.app-tabs { flex: 1; display: flex; justify-content: center; gap: .25rem; }
.app-tabs a { position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .7rem 1rem; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.app-tabs a:hover { color: var(--text); background: var(--bg); text-decoration: none; }
.app-tabs a[aria-current] { color: var(--text); }
.app-tabs a[aria-current]::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .1rem; height: 2px; border-radius: 2px; background: var(--text); }
.app-tabs svg { display: none; }
.app-tabs .count { margin-left: .1rem; }
.app-right { display: flex; align-items: center; gap: .5rem; }
.app-link { color: var(--text); font-weight: 600; font-size: .92rem; padding: .7rem 1rem; border-radius: 999px; white-space: nowrap; }
.app-link:hover { background: var(--bg); text-decoration: none; }
.app-menu { position: relative; }
.app-menu summary { list-style: none; display: flex; align-items: center; gap: .65rem; padding: 5px 5px 5px 13px; border: 1px solid #ddd; border-radius: 999px; background: #fff; cursor: pointer; transition: box-shadow .2s; }
.app-menu summary::-webkit-details-marker { display: none; }
.app-menu summary:hover, .app-menu[open] summary { box-shadow: 0 2px 4px rgba(0, 0, 0, .18); }
.app-menu summary svg { width: 16px; height: 16px; }
.app-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: #fff; font-size: .82rem; font-weight: 800; }
.app-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 30; width: 260px; padding: .5rem 0; display: grid; background: #fff; border-radius: 12px; box-shadow: 0 2px 16px rgba(0, 0, 0, .14); }
.app-menu-head { display: grid; padding: .6rem 1rem .8rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line); line-height: 1.35; }
.app-menu-head small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-menu-panel a, .app-menu-panel button { display: block; width: 100%; padding: .65rem 1rem; font: inherit; font-size: .92rem; text-align: left; color: var(--text); background: none; border: 0; cursor: pointer; }
.app-menu-panel a:hover, .app-menu-panel button:hover { background: var(--bg); text-decoration: none; }
.app-menu-panel form { margin-top: .4rem; padding-top: .4rem; border-top: 1px solid var(--line); }
.app-main { padding-top: 40px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-content: start; }
.app .alert { margin: 0; }

/* Airbnb-style controls inside the dashboard: grey borders, black focus, black-outline secondary buttons */
.app input, .app select, .app textarea, .app .input-prefix { border-color: #b0b0b0; border-radius: 8px; }
.app input:focus, .app select:focus, .app textarea:focus, .app .input-prefix:focus-within { border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.app .input-prefix input:focus { box-shadow: none; }
.app .btn { border-radius: 8px; }
.app .btn-ghost { border-color: var(--text); }
.app .btn-ghost:hover { background: var(--bg); border-color: var(--text); }
.app .switch input:checked + span { background: var(--text); }

.card { background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 1.5rem; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.card-head h1 { margin: 0; }
.card .h3 { font-size: 1.15rem; font-weight: 800; }
.dash-h1, .page-head h1 { font-size: clamp(1.75rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .35rem; }
.page-head p { margin: 0; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }

/* Bookings home: greeting + stats on the left, booking page card on the right */
.dash-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 1.5rem 2rem; align-items: stretch; }
.dash-greet { display: grid; align-content: start; min-width: 0; }
.dash-date { margin: 0 0 .2rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.dash-sub { margin: 0; color: var(--muted); }
.dash-sub strong { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 1.35rem; }
.stat { display: grid; align-content: start; gap: .1rem; padding: 1rem 1.1rem; border: 0; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -6px rgba(16, 24, 40, .12); transition: transform .15s, box-shadow .15s; }
a.stat:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 14px 32px -8px rgba(16, 24, 40, .18); }
.stat-label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.stat-n { font-size: 2rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.stat-note { font-size: .8rem; color: var(--muted); }

.share-card { display: grid; align-content: start; gap: .55rem; min-width: 0; padding: 1.25rem; border-radius: 16px; background: linear-gradient(160deg, var(--brand-soft), #f3f7fe 70%); border: 0; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -6px rgba(16, 24, 40, .12); }
.share-label { font-size: .8rem; font-weight: 700; color: var(--brand-ink); }
.share-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--text); }
.share-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin-top: .15rem; }
.app .share-actions .btn-ghost { background: #fff; border-color: #c5d6f2; }
.app .share-actions .btn-ghost:hover { border-color: var(--brand-ink); background: #fff; }
.share-actions .btn { display: inline-flex; align-items: center; gap: .35rem; }
.share-social { display: flex; align-items: center; gap: .55rem; margin-top: .4rem; padding-top: .8rem; border-top: 1px solid #d7e5fb; color: var(--text); font-size: .88rem; font-weight: 700; }
.share-social:hover { text-decoration: none; color: var(--brand-ink); }
.share-social > span:nth-child(2) { flex: 1; min-width: 0; }
.share-social > svg { flex: none; width: 16px; height: 16px; }
.share-social .social-icons svg { width: 20px; height: 20px; }

.dash-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.dash-h2 { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.dash-list-head { display: flex; justify-content: space-between; align-items: center; gap: .9rem 1.5rem; flex-wrap: wrap; }

/* Segmented filter: Requests / Upcoming / Past / All */
.seg { display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: #f1f3f4; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.seg::-webkit-scrollbar { display: none; }
.seg a { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 9px; color: var(--muted); font-size: .9rem; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s; }
.seg a:hover { color: var(--text); text-decoration: none; }
.seg a[aria-current] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg-n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: #e3e6e8; color: var(--text); font-size: .75rem; line-height: 20px; text-align: center; }
.seg-n-warn { background: var(--warn); color: #fff; }

/* Booking cards */
.bk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.bk { display: flex; flex-direction: column; background: #fff; border: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -6px rgba(16, 24, 40, .12); transition: transform .15s, box-shadow .15s; }
.bk:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 14px 32px -8px rgba(16, 24, 40, .18); }
.bk-body { display: flex; gap: 1rem; padding: 1.1rem 1.15rem .9rem; }
.bk-date { flex: none; display: grid; justify-items: center; align-content: center; width: 60px; height: 68px; border-radius: 12px; background: #fff; color: var(--text); line-height: 1.05; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 12px -2px rgba(16, 24, 40, .14); }
.bk-date span, .bk-date small { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bk-date b { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; }
.bk-date small { font-weight: 700; opacity: .75; }
.bk-tone-muted .bk-date { color: var(--muted); }
.bk-main { display: grid; align-content: start; gap: .1rem; min-width: 0; }
.bk-status { justify-self: start; margin-bottom: .2rem; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.bk-warn { color: var(--warn); background: var(--warn-soft); }
.bk-ok { color: var(--ok); background: var(--ok-soft); }
.bk-brand { color: var(--brand-ink); background: var(--brand-soft); }
.bk-muted { color: var(--muted); background: #f1f3f4; }
.bk-name { font-size: 1.1rem; line-height: 1.3; overflow-wrap: anywhere; }
.bk-service { color: var(--muted); font-size: .92rem; }
.bk-when { display: flex; align-items: center; gap: .35rem; margin: .3rem 0 0; font-weight: 700; font-size: .95rem; }
.bk-when svg { width: 16px; height: 16px; color: var(--muted); }
.bk-contact { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1.15rem .9rem; }
.bk-contact a { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; padding: .3rem .65rem; border-radius: 8px; background: var(--bg); color: var(--text); font-size: .82rem; font-weight: 600; }
.bk-contact a:hover { background: #eef0f2; text-decoration: none; }
.bk-contact a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-contact svg { flex: none; width: 15px; height: 15px; color: var(--muted); }
.bk-notes { margin: 0 1.15rem .95rem; padding: .6rem .8rem; border-left: 3px solid #dadce0; border-radius: 0 8px 8px 0; background: var(--bg); color: #3c4043; font-size: .9rem; }
.bk-actions { display: flex; gap: .5rem; margin-top: auto; padding: .8rem 1.15rem; border-top: 1px solid var(--line); background: #fcfcfd; }
.bk-actions form { flex: 1; }
.bk-actions .btn { width: 100%; }
@media (max-width: 960px) { .dash-top { grid-template-columns: minmax(0, 1fr); } }

.dash-empty { display: grid; justify-items: center; gap: .75rem; padding: 3rem 1.5rem; border-radius: 12px; background: var(--bg); color: var(--muted); text-align: center; }
.dash-empty svg { width: 32px; height: 32px; color: var(--text); }
.dash-empty p { margin: 0; max-width: 34em; }

.setup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.setup-tile { display: grid; align-content: start; gap: .3rem; padding: 1.25rem; border: 1px solid #ddd; border-radius: 12px; color: var(--text); transition: box-shadow .2s; }
.setup-tile:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .12); text-decoration: none; }
.setup-tile > span:last-child { color: var(--muted); font-size: .9rem; }
.setup-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: .5rem; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.setup-icon svg { width: 20px; height: 20px; }

.empty { color: var(--muted); text-align: center; padding: 2.5rem 1rem; margin: 0; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.service-card.is-off { opacity: .7; }
.hours { display: grid; }
.hours-row { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.hours-row:first-child { border-top: 0; }
.hours-row .switch { font-weight: 600; }
.hours-times { display: flex; align-items: center; gap: .6rem; }
.hours-times input { max-width: 150px; }
.hours-times span { color: var(--muted); font-size: .9rem; }
.hours-closed { display: none; color: var(--muted); font-size: .92rem; }
.hours-row.is-off .hours-times { display: none; }
.hours-row.is-off .hours-closed { display: block; }
.sticky-save { position: sticky; bottom: 16px; display: flex; justify-content: flex-end; }
.sticky-save .btn { box-shadow: var(--shadow-lg); }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.inline-form input { width: auto; flex: 1 1 160px; }
.dayoff-list { list-style: none; margin: 0; padding: 0; }
.dayoff-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.cal-sync { margin-top: 1.25rem; scroll-margin-top: 24px; }
.cal-sync-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0; }
.cal-sync-notes { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; color: #475569; font-size: .92rem; }
.cal-sync-reset { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cal-sync-reset p { margin: 0; font-size: .9rem; }

/* ---------- public booking page ---------- */
.public { background: radial-gradient(900px 420px at 50% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), var(--bg); }
.owner-bar { background: #222; color: #f2f2f2; text-align: center; padding: .55rem 16px; font-size: .88rem; }
.owner-bar a { color: #fff; font-weight: 700; text-decoration: underline; }
.bp { display: grid; grid-template-columns: 320px 1fr; gap: 1.5rem; padding-top: 40px; padding-bottom: 40px; align-items: start; }
.bp-info { position: sticky; top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem; box-shadow: var(--shadow); }
.bp-info h1, .bp-h1 { font-size: 1.6rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; flex: none; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.6rem; margin-bottom: 1rem; }
.bp-about { color: #475569; white-space: pre-line; }
.bp-facts { list-style: none; margin: 1.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .6rem; font-size: .92rem; color: #334155; }
.bp-facts li { display: flex; gap: .55rem; align-items: flex-start; }
.bp-facts svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .1rem; }
.bp-flow { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.75rem; box-shadow: var(--shadow); display: grid; gap: 2rem; min-height: 320px; align-content: start; }
.bp-closed { text-align: center; padding: 3rem 1rem; }
.step h2, .bp-h2 { font-weight: 700; line-height: 1.2; letter-spacing: -.02em; font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, #fff); color: var(--accent); font-size: .82rem; font-weight: 800; }
.svc-list { display: grid; gap: .6rem; }
.svc { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left; font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.svc:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.svc[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.svc-main { display: grid; gap: .15rem; min-width: 0; }
.svc-main small { color: var(--muted); font-size: .88rem; }
.svc-side { display: grid; justify-items: end; gap: .15rem; flex: none; }
.svc-dur { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .85rem; }
.svc-dur svg { width: 15px; height: 15px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.cal-head strong { font-size: 1rem; }
.cal-nav { display: flex; gap: .35rem; }
.cal-nav button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--text); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); padding: .3rem 0; }
.cal-day { aspect-ratio: 1; max-height: 52px; border: 0; border-radius: 10px; font: inherit; font-weight: 600; font-size: .95rem; background: transparent; color: #cbd5e1; cursor: default; }
.cal-day.open { color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, #fff); cursor: pointer; }
.cal-day.open:hover { background: color-mix(in srgb, var(--accent) 18%, #fff); }
.cal-day.today { text-decoration: underline; text-underline-offset: 3px; }
.cal-day[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cal-loading { color: var(--muted); font-size: .9rem; text-align: center; padding: .5rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .5rem; }
.slot { font: inherit; font-weight: 600; font-size: .92rem; padding: .7rem .4rem; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--accent) 35%, var(--line)); background: #fff; color: var(--accent); cursor: pointer; transition: background .15s; }
.slot:hover { background: color-mix(in srgb, var(--accent) 8%, #fff); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.slots .muted { grid-column: 1 / -1; margin: 0; }
.summary { padding: .9rem 1rem; border-radius: 12px; background: color-mix(in srgb, var(--accent) 7%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 20%, #fff); margin-bottom: 1rem; font-size: .95rem; }
.summary strong { display: block; }
.step[data-step="details"] .form { margin-bottom: 1.25rem; }
.fine { text-align: center; color: var(--muted); font-size: .85rem; margin: .75rem 0 0; }
.bp-footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 0 16px 40px; }
.bp-footer a { color: var(--muted); text-decoration: underline; }

.result { padding-top: 48px; padding-bottom: 32px; }
.result-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.25rem 1.75rem; box-shadow: var(--shadow); text-align: center; }
.result-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.25rem; font-size: 2rem; font-weight: 700; }
.result-icon svg { width: 34px; height: 34px; }
.result-ok { background: var(--ok-soft); color: var(--ok); }
.result-warn { background: var(--warn-soft); color: var(--warn); }
.result-bad { background: var(--bad-soft); color: var(--bad); }
.result-muted { background: #f1f5f9; color: var(--muted); }
.result-card h1 { font-size: 1.8rem; }
.details { text-align: left; margin: 1.75rem 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.details div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .8rem 1rem; border-top: 1px solid var(--line); }
.details div:first-child { border-top: 0; }
.details dt { color: var(--muted); font-size: .9rem; }
.details dd { margin: 0; font-weight: 500; }
.result-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.cancel-form { margin-top: 1.5rem; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #222; color: #fff; padding: .6rem 1rem; border-radius: 10px; font-size: .9rem; font-weight: 500; z-index: 50; box-shadow: var(--shadow-lg); }

/* Booking page layout with a hero photo. Classic: photo on top of the info card (profile style). */
.public .bp { grid-template-areas: "cover flow" "info flow"; grid-template-rows: auto 1fr; row-gap: 0; }
.bp-cover { grid-area: cover; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px 18px 0 0; background: var(--bg); }
.bp-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bp-cover.is-empty { background:
  radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .2) 0 11%, transparent 11.5%),
  radial-gradient(circle at 88% 80%, rgba(255, 255, 255, .13) 0 24%, transparent 24.5%),
  linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 58%, #000)); }
.public .bp-info { grid-area: info; position: relative; border-top: 0; border-radius: 0 0 18px 18px; }
.public .bp-flow { grid-area: flow; }
.tpl-classic .bp-info .avatar-lg { margin-top: calc(-1.75rem - 32px); box-shadow: 0 0 0 4px #fff; }

/* Settings: cover photo editor */
.cover-edit { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 1.25rem; align-items: center; margin-top: 1rem; }
.cover-edit .bp-cover { grid-area: auto; aspect-ratio: 16 / 9; border-radius: 12px; }
.cover-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cover-actions small { flex-basis: 100%; }
.cover-upload { cursor: pointer; }
.cover-upload:focus-within { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }

/* ---------- booking page templates (class on <body>, or on a preview wrapper) ---------- */
/* Bold: brand-colour info card, rounded buttons, heavier type */
.tpl-bold { --bg: color-mix(in srgb, var(--accent) 9%, #fff); background: var(--bg); }
.tpl-bold .bp-info { background: var(--accent); border-color: transparent; color: #fff; border-radius: 28px; box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--accent) 80%, transparent); }
.tpl-bold .bp-h1 { font-size: 2rem; font-weight: 900; }
.tpl-bold .bp-about, .tpl-bold .bp-facts { color: rgba(255, 255, 255, .9); }
.tpl-bold .bp-facts { border-top-color: rgba(255, 255, 255, .25); }
.tpl-bold .bp-facts svg { color: #fff; }
.tpl-bold .avatar { background: #fff; color: var(--accent); }
.tpl-bold .bp-flow, .tpl-bold .result-card { border-color: transparent; border-radius: 28px; }
.tpl-bold .bp-h2 { font-weight: 900; }
.tpl-bold .num { background: var(--accent); color: #fff; }
.tpl-bold .svc { border-radius: 18px; }
.tpl-bold .slot, .tpl-bold .btn, .tpl-bold .cal-day { border-radius: 999px; }

/* Soft: warm cream, serif headings, airy cards */
.tpl-soft { --bg: #f8f3ec; --line: #eadfce; --muted: #7d6e5f; background: var(--bg); color: #3b3026; }
.tpl-soft .bp-info, .tpl-soft .bp-flow, .tpl-soft .result-card { background: #fffdf9; border-color: var(--line); border-radius: 28px; box-shadow: none; }
.tpl-soft .bp-info { text-align: center; }
.tpl-soft .avatar-lg { margin-left: auto; margin-right: auto; }
.tpl-soft .bp-facts li { justify-content: center; }
.tpl-soft .bp-h1, .tpl-soft .bp-h2, .tpl-soft .result-card h1 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif; font-weight: 600; letter-spacing: 0; }
.tpl-soft .bp-h1 { font-size: 1.85rem; }
.tpl-soft .bp-about, .tpl-soft .bp-facts { color: var(--muted); }
.tpl-soft .num { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.tpl-soft .svc { background: #fffdf9; border-color: var(--line); border-radius: 16px; }
.tpl-soft .slot { background: #fffdf9; }
.tpl-soft .btn { border-radius: 16px; }

/* Dark: near-black page, lifted cards, colour that glows */
.tpl-dark { --bg: #121212; --text: #f1f1f1; --muted: #a3a3a3; --line: #2e2e2e; background: radial-gradient(900px 420px at 50% -10%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%), var(--bg); color: var(--text); color-scheme: dark; }
.tpl-dark .bp-info, .tpl-dark .bp-flow, .tpl-dark .result-card { background: #1c1c1c; border-color: var(--line); box-shadow: none; }
.tpl-dark .bp-about, .tpl-dark .bp-facts { color: #c8c8c8; }
.tpl-dark .svc, .tpl-dark .slot, .tpl-dark .cal-nav button, .tpl-dark .btn-ghost, .tpl-dark input, .tpl-dark select, .tpl-dark textarea { background: #242424; color: var(--text); border-color: var(--line); }
.tpl-dark .slot { color: color-mix(in srgb, var(--accent) 65%, #fff); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.tpl-dark .slot:hover { background: color-mix(in srgb, var(--accent) 18%, #242424); }
.tpl-dark .svc[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 16%, #242424); border-color: var(--accent); }
.tpl-dark .num { background: color-mix(in srgb, var(--accent) 28%, #1c1c1c); color: color-mix(in srgb, var(--accent) 55%, #fff); }
.tpl-dark .cal-day { color: #4a4a4a; }
.tpl-dark .cal-day.open { background: color-mix(in srgb, var(--accent) 18%, #1c1c1c); color: color-mix(in srgb, var(--accent) 55%, #fff); }
.tpl-dark .cal-day.open:hover { background: color-mix(in srgb, var(--accent) 30%, #1c1c1c); }
.tpl-dark .cal-day[aria-pressed="true"], .tpl-dark .slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tpl-dark .summary { background: color-mix(in srgb, var(--accent) 12%, #1c1c1c); border-color: color-mix(in srgb, var(--accent) 30%, #1c1c1c); }
.tpl-dark .badge-muted, .tpl-dark .result-muted { background: #2a2a2a; }

/* Template layouts */
/* Bold: full-width banner photo, colour card overlapping it (store-front style) */
.tpl-bold .bp { grid-template-areas: "cover cover" "info flow"; grid-template-rows: auto; row-gap: 1.5rem; }
.tpl-bold .bp-cover { aspect-ratio: auto; height: 360px; border-radius: 28px; }
.tpl-bold .bp-info { position: relative; z-index: 1; margin: -210px 0 0 28px; border-radius: 28px; }
/* Soft: one centred column, rounded photo, round logo overlapping it (link-in-bio style) */
.tpl-soft .bp { grid-template-columns: minmax(0, 620px); justify-content: center; grid-template-areas: "cover" "info" "flow"; }
.tpl-soft .bp-cover { aspect-ratio: 2 / 1; border-radius: 28px; }
.tpl-soft .bp-info { background: transparent; border: 0; box-shadow: none; padding: 0 1rem 1.5rem; }
.tpl-soft .bp-info .avatar-lg { width: 84px; height: 84px; margin: -42px auto 1rem; font-size: 2rem; box-shadow: 0 0 0 5px var(--bg); }
.tpl-soft .bp-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; margin-top: .75rem; padding-top: 0; border-top: 0; }
/* Dark: split screen, tall photo on the left that stays in view (magazine style) */
.tpl-dark .bp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "cover info" "cover flow"; grid-template-rows: auto 1fr; gap: 1.5rem; }
.tpl-dark .bp-cover { align-self: start; position: sticky; top: 24px; aspect-ratio: 4 / 5; border-radius: 22px; }
.tpl-dark .bp-info { border-top: 1px solid var(--line); border-radius: 18px; }
@media (max-width: 960px) {
  .public .bp, .tpl-bold .bp, .tpl-soft .bp, .tpl-dark .bp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "cover" "info" "flow"; grid-template-rows: auto; }
  .public .bp-cover { aspect-ratio: 16 / 9; }
  .tpl-bold .bp-cover { height: 240px; }
  .tpl-bold .bp-info { margin: -120px 16px 0; }
  .tpl-dark .bp { row-gap: 1rem; }
  .tpl-dark .bp-cover { position: static; aspect-ratio: 16 / 10; }
  .cover-edit { grid-template-columns: 1fr; }
}

/* Landing page template showcase: a browser window showing a live preview */
.tpl-show { display: grid; justify-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.tpl-window { position: relative; width: 100%; height: 600px; border: 1px solid #ddd; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .35); }
.tpl-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafafa; }
.tpl-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ddd; }
.tpl-bar span { flex: 0 1 340px; margin: 0 auto; padding: .2rem .9rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .8rem; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-slide { position: absolute; inset: 40px 0 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.tpl-slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.tpl-preview::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.tpl-preview { position: relative; height: 100%; overflow: hidden; zoom: .7; }
.tpl-preview .bp { padding-top: 32px; }
.tpl-preview .bp-info { position: relative; }
.tpl-caption { margin: 0; color: var(--muted); text-align: center; }
.tpl-caption b { color: var(--text); }

/* Settings: template picker with small live previews */
.tpl-picker { display: grid; grid-template-columns: repeat(auto-fill, 150px); gap: 14px; margin-top: 1rem; }
.tpl-option { position: relative; display: grid; gap: .6rem; cursor: pointer; }
.tpl-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
/* Each thumbnail is the shop's whole page scaled down: a 1000px-wide desktop page on wide screens. */
.tpl-thumb { display: block; width: 150px; height: 105px; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow .15s, border-color .15s; }
.tpl-thumb .tpl-preview { width: 1000px; height: calc(105px / .15); zoom: .15; }
.tpl-thumb .tpl-preview .bp { padding-top: 32px; }
.tpl-thumb .tpl-preview::after { display: none; }
.tpl-option:hover .tpl-thumb { border-color: var(--text); }
.tpl-option input:checked + .tpl-thumb { border-color: var(--text); box-shadow: 0 0 0 2px var(--text); }
.tpl-option input:focus-visible + .tpl-thumb { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.tpl-option-text { display: grid; gap: .1rem; line-height: 1.35; }
.tpl-option-text small { color: var(--muted); font-size: .85rem; }
.tpl-picker-foot { margin: 1rem 0 0; font-size: .92rem; }
.tpl-picker-foot a { display: inline-flex; align-items: center; gap: .3rem; color: var(--text); font-weight: 600; text-decoration: underline; }
.tpl-picker-foot svg { width: 14px; height: 14px; }
/* Below 960px the booking page stacks into its phone layout, so the thumbnails become little phone screens. */
@media (max-width: 960px) {
  .tpl-picker { grid-template-columns: repeat(auto-fill, 128px); }
  .tpl-thumb { width: 128px; height: 220px; border-radius: 14px; }
  .tpl-thumb .tpl-preview { width: 390px; height: calc(220px / (128 / 390)); zoom: calc(128 / 390); }
  .tpl-thumb .tpl-preview .bp { padding-top: 12px; }
}
@media (max-width: 720px) {
  .tpl-window { height: 520px; }
  .tpl-preview { zoom: .78; }
  .tpl-preview .bp { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .tpl-slide { transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
}
@media (max-width: 960px) {
  .app-link { display: none; }
  .setup { grid-template-columns: 1fr 1fr; }
  .bp { grid-template-columns: 1fr; padding-top: 20px; }
  .bp-info { position: static; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .quotes { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 4 / 3; }
  .steps-split { grid-template-columns: minmax(0, 1fr); }
  .hand-shot { max-width: 400px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .pill { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 8px; gap: 4px; }
  .pill-seg { padding: .7rem 1rem; border-radius: 16px; }
  .pill-btn { justify-content: center; border-radius: 16px; }
  .carousel-nav { display: none; }
  .mk-hero { padding-top: 48px; padding-bottom: 48px; }
  .modes-min, .faq-grid { grid-template-columns: 1fr; }
  .step-tabs button { font-size: .78rem; }
  .h1-line { display: inline; }
  .mk-section { padding-top: 48px; padding-bottom: 48px; }
  .mk-section-tight { padding-top: 8px; }
  .split-media { aspect-ratio: 4 / 3; }
  .mini-ui { flex-wrap: wrap; row-gap: .6rem; }
  .mini-text { flex: 1 1 calc(100% - 56px); }
  .mini-swap, .mini-ui > .badge { margin-left: 52px; justify-items: start; }
  .faq-grid { gap: 28px; }
  .banner { min-height: 380px; }
  .banner::after { background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .1) 80%); }
  .banner-copy { padding: 1.75rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .app-nav .brand span { display: none; }
  .app-nav { height: 64px; gap: .75rem; justify-content: space-between; }
  /* Dashboard tabs become a bottom tab bar, like Airbnb on phones */
  .app-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; justify-content: space-around; gap: 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .app-tabs a { flex: 1; flex-direction: column; gap: 2px; padding: .35rem .25rem; border-radius: 10px; font-size: .72rem; }
  .app-tabs a:hover { background: none; }
  .app-tabs svg { display: block; width: 24px; height: 24px; }
  .app-tabs a[aria-current] { color: var(--brand); }
  .app-tabs a[aria-current]::after { display: none; }
  .app-tabs .count { position: absolute; top: 0; left: calc(50% + 6px); margin: 0; }
  .app-main { padding-top: 24px; padding-bottom: 112px; gap: 1.5rem; }
  .app .sticky-save { bottom: 84px; }
  .app .toast { bottom: 92px; }
  .setup { grid-template-columns: 1fr 1fr; gap: 12px; }
  .setup-tile { padding: 1rem; }
  .bk-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 1.1rem; }
  .stat { padding: .7rem .65rem; border-radius: 12px; }
  .stat-label { font-size: .72rem; line-height: 1.25; }
  .stat-n { font-size: 1.5rem; }
  .stat-note { display: none; }
  .dash-list-head .seg { width: 100%; }
  .seg a { flex: 1; justify-content: center; padding: .5rem .6rem; }
  .card { padding: 1.25rem; }
  .hours-row { grid-template-columns: 1fr; gap: .5rem; }
  .bp-info, .bp-flow { padding: 1.25rem; }
  .details div { grid-template-columns: 1fr; gap: .15rem; }
}

/* ---------- Google reviews ---------- */
.stars { display: inline-block; letter-spacing: .05em; font-size: .95em; line-height: 1; background: linear-gradient(90deg, #f4b400 var(--fill, 100%), #d4d4d4 var(--fill, 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-logo { width: 18px; height: 18px; flex: none; }

.g-card-head { display: flex; gap: 12px; align-items: center; }
.g-card-head .g-logo { width: 28px; height: 28px; }
.g-card-head .h3 { margin: 0; }
.g-card-head p { margin: 0; }
.g-card > form, .g-card > .g-connected, .g-card > .g-results, .g-card > .g-empty, .g-card > .alert { margin-top: 1.25rem; }
.g-search label, .g-link label { font-weight: 700; font-size: .92rem; }
.g-search-row { display: flex; gap: 8px; margin-top: .4rem; }
.g-search-row input { flex: 1; min-width: 0; }
.g-search-row .btn { flex: none; }
.g-link small { display: block; margin-top: .4rem; font-weight: 400; }
.g-results { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.g-results li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: .8rem 1rem; }
.g-results li + li { border-top: 1px solid var(--line); }
.g-results li > span { display: grid; min-width: 0; }
.g-connected { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.g-connected > div:first-child { display: grid; gap: 2px; }
.g-connected strong { font-size: 1.05rem; }
.g-rating { display: flex; align-items: center; gap: 6px; font-size: .9rem; }
.g-connected-actions { display: flex; gap: 8px; }
.g-dev { margin: 1rem 0 0; font-size: .85rem; }

/* Booking page: rating badge + button in the business card */
.bp-google { display: grid; gap: .6rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.bp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: inherit; font-size: .92rem; }
.bp-rating[hidden] { display: none; }
.bp-rating:hover { text-decoration: none; }
.bp-rating span:last-child { text-decoration: underline; text-underline-offset: 2px; opacity: .8; }
.bp-review-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tpl-bold .bp-google { border-top-color: rgba(255, 255, 255, .25); }
.tpl-soft .bp-google { border-top: 0; padding-top: 0; justify-items: center; }

/* Booking page: reviews section under the booking flow */
.bp-reviews { padding-bottom: 40px; }
.bp-reviews[hidden] { display: none; }
.bp-reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 1rem; }
.bp-reviews-head .bp-h2 { margin: 0; }
.bp-reviews-sum { display: flex; align-items: center; gap: 6px; margin: .3rem 0 0; color: var(--muted); }
.bp-reviews-sum b { color: var(--text); font-size: 1.1rem; }
.bp-reviews-actions { display: flex; gap: 8px; }
.bp-reviews-actions .btn { display: inline-flex; align-items: center; gap: 6px; }
.bp-reviews-actions svg { width: 14px; height: 14px; }
.bp-review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.bp-review { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.bp-review header { display: flex; align-items: center; gap: 10px; margin-bottom: .6rem; }
.bp-review header img, .bp-review-initial { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.bp-review-initial { display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 15%, #fff); color: var(--accent); font-weight: 800; }
.bp-review header > span { display: grid; min-width: 0; }
.bp-review header a, .bp-review header > span > span:first-child { color: var(--text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-review-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.bp-review p { margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; font-size: .93rem; }
.bp-reviews-credit { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: .8rem 0 0; color: var(--muted); font-size: .8rem; }
.bp-reviews-credit .g-logo { width: 14px; height: 14px; }
.tpl-soft .bp-reviews { max-width: 652px; }
.tpl-dark .bp-review { background: #1c1c1c; }
.tpl-dark .bp-review-initial { background: color-mix(in srgb, var(--accent) 25%, #1c1c1c); }

/* Booking status page: ask for a review after the appointment */
.review-ask { display: grid; justify-items: center; gap: .3rem; margin: 1.25rem 0 .5rem; padding: 1.25rem; border-radius: 16px; background: color-mix(in srgb, var(--accent) 8%, #fff); }
.review-ask p { margin: 0 0 .5rem; color: var(--muted); }
.review-ask .btn { display: inline-flex; align-items: center; gap: 8px; }
.review-ask .g-logo { padding: 2px; border-radius: 50%; background: #fff; width: 22px; height: 22px; }
.tpl-dark .review-ask { background: color-mix(in srgb, var(--accent) 14%, #1c1c1c); }

/* Landing "on the go": floating review card */
.otg-review { position: absolute; right: calc(50% - 260px); top: 14%; display: flex; gap: 10px; align-items: flex-start; width: 220px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .3); font-size: .85rem; line-height: 1.35; animation: otg-float 5s ease-in-out -2.5s infinite; }
.otg-review > span { display: grid; }
.otg-review small { color: var(--muted); font-size: .75rem; }
.otg-review .g-logo { width: 22px; height: 22px; margin-top: 2px; }
.otg-stars { color: #f4b400; letter-spacing: .08em; font-size: .9rem; }
@media (max-width: 720px) {
  .otg-review { right: 0; top: 6%; width: 190px; }
  .g-search-row { flex-direction: column; }
  .g-results li { flex-direction: column; align-items: stretch; }
  .bp-reviews-actions { width: 100%; }
  .bp-reviews-actions .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .otg-review { animation: none; } }

/* ---------- Settings layout: section menu + one readable column ---------- */
.settings-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: 56px; align-items: start; }
.settings-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.settings-body > .stack { gap: 1.25rem; }
.settings-group { margin: 1.75rem 0 -.25rem; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.settings-group:first-child { margin-top: 0; }
.settings-body .card { padding: 1.75rem; border-color: var(--line); border-radius: 16px; scroll-margin-top: 100px; }
.settings-body .card > .h3 { margin-bottom: .35rem; }
.settings-body .card > .muted { margin: 0 0 1.25rem; max-width: 60ch; }
.settings-nav { position: sticky; top: 104px; display: grid; gap: 1.5rem; }
.settings-nav-group { display: grid; gap: 2px; }
.settings-nav-group > span { margin: 0 0 .35rem .75rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.settings-nav a { padding: .45rem .75rem; border-radius: 10px; color: var(--muted); font-size: .92rem; font-weight: 600; text-decoration: none; }
.settings-nav a:hover { background: #fff; color: var(--text); }
.settings-nav a[aria-current="true"] { background: #fff; color: var(--text); font-weight: 800; box-shadow: inset 3px 0 0 var(--brand); }
@media (max-width: 960px) {
  .settings-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .settings-nav { position: static; display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
  .settings-nav::-webkit-scrollbar { display: none; }
  .settings-nav-group { display: contents; }
  .settings-nav-group > span { display: none; }
  .settings-nav a { flex: none; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .85rem; white-space: nowrap; }
  .settings-nav a[aria-current="true"] { box-shadow: none; border-color: var(--text); }
  .settings-body .card { padding: 1.25rem; }
}

/* ---------- Instagram & Messenger card ---------- */
.social-icons { display: inline-flex; flex: none; }
.social-icons svg { width: 28px; height: 28px; }
.social-icons svg + svg { margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; background: #fff; }
.social-head { display: flex; gap: 12px; align-items: center; }
.social-head .h3 { margin: 0; }
.social-steps { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 14px; }
.social-step:first-child summary { border-radius: 13px 13px 0 0; }
.social-step:last-child:not([open]) summary { border-radius: 0 0 13px 13px; }
.social-step + .social-step { border-top: 1px solid var(--line); }
.social-step summary { display: flex; align-items: center; gap: 14px; padding: 1rem 1.1rem; cursor: pointer; list-style: none; }
.social-step summary::-webkit-details-marker { display: none; }
.social-step summary:hover { background: var(--bg); }
.social-num { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-size: .85rem; font-weight: 800; }
.social-sum { flex: 1; display: grid; min-width: 0; line-height: 1.35; }
.social-sum { font-size: .98rem; }
.social-chev { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.social-step[open] .social-chev { transform: rotate(180deg); }
.social-step[open] summary { padding-bottom: .5rem; }
.social-body { display: grid; gap: 1rem; padding: .25rem 1.1rem 1.4rem 3.75rem; }
.social-path { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0; font-size: .8rem; font-weight: 700; }
.social-path span:not(.sr-only) { padding: .25rem .6rem; border-radius: 6px; background: var(--bg); }
.social-path i { font-style: normal; color: var(--muted); }
.social-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 460px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: 999px; }
.social-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: .92rem; }
.social-link .btn { flex: none; border-radius: 999px; }
.social-tip { margin: -.25rem 0 0; color: var(--muted); font-size: .85rem; }
.social-chat { display: grid; gap: 8px; max-width: 520px; padding: 1rem; border-radius: 16px; background: var(--bg); }
.chat-in { justify-self: end; max-width: 75%; margin: 0; padding: .55rem .9rem; border-radius: 18px 18px 4px 18px; background: #0a7cff; color: #fff; font-size: .9rem; }
.chat-out { justify-self: start; width: 88%; min-height: 0; field-sizing: content; resize: none; padding: .7rem .95rem; border: 1px solid transparent; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); font: inherit; font-size: .9rem; line-height: 1.5; color: var(--text); cursor: text; }
.chat-out:hover { border-color: var(--line); }
.chat-out:focus { outline: none; border-color: var(--text); }
.social-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.social-actions .btn { display: inline-flex; align-items: center; gap: 6px; }
.social-actions svg { width: 14px; height: 14px; }
.social-actions small { margin-left: 4px; }
@media (max-width: 720px) {
  .social-body { padding: .25rem 1rem 1.25rem; }
  .chat-out { width: 100%; }
  .social-actions small { flex-basis: 100%; margin: 0; }
}
.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; }
.settings-body .cal-sync { margin-top: 0; }
@media (max-width: 720px) {
  .social-steps { margin-left: -.5rem; margin-right: -.5rem; }
  .social-step summary { gap: 10px; padding: .9rem .85rem; }
  .social-body { padding: .25rem .85rem 1.1rem; }
  .social-chat { padding: .75rem; }
  .chat-in { max-width: 85%; }
}

/* Settings: on/off rows (Instant booking, Calendar sync): title and tip on the left, switch on the right. */
.mode-switch { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.mode-switch .h3 { margin: 0; }
.mode-toggle { position: relative; flex: none; }
.mode-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mode-toggle span { display: block; width: 52px; height: 30px; border-radius: 999px; background: #cbd2df; transition: background .2s; }
.mode-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.mode-toggle input:checked + span { background: var(--text); }
.mode-toggle input:checked + span::after { transform: translateX(22px); }
.mode-toggle input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
/* Settings: location help links */
.form small a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.form small a svg { width: 12px; height: 12px; }
.pin-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; }
.pin-ok svg { width: 14px; height: 14px; }

/* ---------- Info tips: a small "i" that explains on hover, focus or tap ---------- */
.tip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 6px; font-weight: 400; }
.tip-btn { display: grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 1.5px solid currentColor; border-radius: 50%; background: none; color: var(--muted); font: italic 700 11px/1 Georgia, serif; cursor: help; }
.tip-btn:hover, .tip.is-open .tip-btn { color: var(--text); }
.tip-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.tip-bubble { position: absolute; z-index: 30; top: calc(100% + 10px); left: 50%; width: max-content; max-width: min(280px, calc(100vw - 32px)); padding: .65rem .8rem; border-radius: 10px; background: #1b2232; color: #fff; font-size: .82rem; font-weight: 400; font-style: normal; line-height: 1.45; letter-spacing: 0; text-align: left; text-transform: none; white-space: normal; box-shadow: 0 8px 24px rgba(15, 23, 42, .22); transform: translateX(calc(-50% + var(--tip-shift, 0px))); display: none; pointer-events: none; }
.tip-bubble::before { content: ""; position: absolute; top: -5px; left: calc(50% - var(--tip-shift, 0px) - 5px); width: 10px; height: 10px; background: inherit; transform: rotate(45deg); border-radius: 2px; }
.tip-bubble b { font-weight: 700; }
/* Hidden tips take no space at all, so one near the edge can't widen the page. */
.tip:hover .tip-bubble, .tip-btn:focus-visible + .tip-bubble, .tip.is-open .tip-bubble { display: block; }
.field { display: grid; gap: .35rem; }
.field-head { display: flex; align-items: center; font-weight: 600; font-size: .9rem; }
.field-head .tip { margin-left: 6px; }
.cal-sync-actions { margin: 1rem 0 0; align-items: center; }
.cal-sync-reset { margin-top: .9rem; padding-top: .9rem; justify-content: flex-start; gap: 0; }
/* "Optional" sits on the same line as its label text, not on a row of its own. */
.form label:has(> .opt) { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; }
.form label:has(> .opt) > :not(.opt) { flex: 1 0 100%; }
.field-head label { display: flex; align-items: baseline; gap: .35rem; }
.title-tip { display: flex; align-items: center; margin-bottom: 1rem; }
.title-tip .h3 { margin: 0; }
.mode-switch .title-tip, .social-head .tip, .g-card-head .tip { margin-bottom: 0; }
.social-head .tip, .g-card-head .tip { margin-left: -6px; }
.social-actions .social-link { flex: 0 1 460px; min-width: 0; }
.social-body { grid-template-columns: minmax(0, 1fr); }

/* Settings: Emails card (a list of on/off rows) */
.email-switches { display: grid; margin-top: .5rem; }
.email-switches .mode-switch { padding: .85rem 0; border-top: 1px solid var(--line); }
.email-switches .mode-switch:first-child { border-top: 0; }
.email-switches .h3 { font-size: 1rem; font-weight: 700; }
.email-dev { margin: .75rem 0 0; padding: .7rem .9rem; border-radius: 10px; background: var(--bg); font-size: .88rem; }
.email-dev a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--text); }
.email-dev svg { width: 12px; height: 12px; }

/* Local email outbox (/dev/emails): list on the left, the email on the right */
.outbox { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: 100vh; }
.outbox-list { padding: 24px 16px; border-right: 1px solid var(--line); background: #fff; overflow-y: auto; max-height: 100vh; position: sticky; top: 0; }
.outbox-list h1 { margin: 0 0 1rem; }
.outbox-list h1 span { font-size: .8rem; font-weight: 500; }
.outbox-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.outbox-list a { display: grid; gap: 2px; padding: .65rem .8rem; border-radius: 10px; color: var(--text); text-decoration: none; }
.outbox-list a:hover { background: var(--bg); }
.outbox-list a[aria-current="true"] { background: var(--bg); box-shadow: inset 3px 0 0 var(--brand); }
.outbox-list strong { font-size: .9rem; line-height: 1.35; }
.outbox-list small { color: var(--muted); font-size: .78rem; }
.outbox-view { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 20px; min-width: 0; }
.outbox-meta { margin: 0; display: grid; gap: 4px; font-size: .88rem; }
.outbox-meta div { display: flex; gap: 10px; }
.outbox-meta dt { width: 70px; flex: none; color: var(--muted); }
.outbox-meta dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.outbox-frame { width: 100%; min-height: 720px; border: 1px solid var(--line); border-radius: 12px; background: #f3f4f6; }
.outbox-text pre { white-space: pre-wrap; font-size: .85rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1rem; }
@media (max-width: 860px) {
  .outbox { grid-template-columns: 1fr; }
  .outbox-list { position: static; max-height: 40vh; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- dashboard look: light grey page, white cards (shared by every dashboard page) ---------- */
.app { background: #f6f7f9; }
.app .card { border-color: var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.app .page-head h1 { margin-bottom: .2rem; }
.seg { background: #eceef1; }
.app .bk-actions { background: #fff; }
.app .bk-contact a, .app .bk-notes { background: #f3f4f6; }
.app .dash-empty { background: #fff; border: 1px dashed #d5d9dd; }

.card-title { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1.1rem; }
.card-title .h3 { margin: 0; }
.card-title p { margin: .15rem 0 0; color: var(--muted); font-size: .9rem; }
.card-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-ink); }
.card-icon svg { width: 20px; height: 20px; }

/* Page link field: the typed part on the left, the fixed domain in a grey box on the right */
.app .input-suffix input { text-align: left; padding-left: .8em; }
.app .input-suffix span { padding: 0 .85em; background: #f3f4f6; border-left: 1px solid #dadce0; color: var(--muted); font-size: .9rem; }

/* Services: compact rows that open into an edit form */
.ds-svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ds-svc details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.ds-svc details:hover { border-color: #d5d9dd; }
.ds-svc details[open] { border-color: #c9cdd2; box-shadow: var(--shadow); }
.ds-svc summary { display: flex; align-items: center; gap: 1rem; padding: .95rem 1.15rem; cursor: pointer; list-style: none; }
.ds-svc summary::-webkit-details-marker { display: none; }
.ds-svc-dur { flex: none; display: grid; justify-items: center; align-content: center; gap: 2px; width: 64px; height: 56px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); }
.ds-svc-dur svg { width: 18px; height: 18px; }
.ds-svc-dur small { font-size: .72rem; font-weight: 800; white-space: nowrap; }
.ds-svc.is-off .ds-svc-dur { background: #f1f3f4; color: var(--muted); }
.ds-svc-info { flex: 1; display: grid; min-width: 0; }
.ds-svc-info strong { font-size: 1.05rem; line-height: 1.3; }
.ds-svc-info span { color: var(--muted); font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-svc.is-off .ds-svc-info strong { color: var(--muted); }
.ds-svc-meta { display: flex; align-items: center; gap: .5rem; flex: none; }
.ds-svc-price { font-weight: 800; }
.ds-svc-edit { display: inline-flex; align-items: center; gap: 2px; flex: none; padding: .35rem .5rem .35rem .75rem; border-radius: 8px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.ds-svc-edit svg { width: 16px; height: 16px; transition: transform .2s; }
.ds-svc summary:hover .ds-svc-edit { background: #f3f4f6; color: var(--text); }
.ds-svc details[open] .ds-svc-edit svg { transform: rotate(90deg); }
.ds-svc-form { padding: 1.15rem; border-top: 1px solid var(--line); }
.ds-svc-add { padding: 0; }
.ds-svc-add summary { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; }
.ds-svc-add summary::-webkit-details-marker { display: none; }
.ds-svc-add summary > span:last-child { display: grid; }
.ds-svc-add summary small { color: var(--muted); font-size: .88rem; }
.ds-svc-add[open] summary { border-bottom: 1px solid var(--line); }
.ds-svc-add .form { padding: 1.25rem; }
.ds-svc-add:not([open]):hover { border-color: #c9cdd2; }

/* Availability */
.hours-row { padding: .65rem 0; }
.hours-row .switch { font-weight: 700; }
.hours-row.is-off .switch { color: var(--muted); }
.hours-closed { font-weight: 600; }
.dayoff-list li { justify-content: flex-start; padding: .7rem 0; }
.dayoff-list li > form { margin-left: auto; }
.off-date { flex: none; display: grid; justify-items: center; align-content: center; width: 48px; height: 52px; border-radius: 10px; background: #fce8e6; color: var(--bad); line-height: 1.05; }
.off-date small { font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.off-date b { font-size: 1.25rem; font-weight: 800; }
.off-info { display: grid; min-width: 0; }
.off-info span { color: var(--muted); font-size: .9rem; }

@media (max-width: 720px) {
  .ds-svc summary { gap: .75rem; padding: .85rem .9rem; flex-wrap: wrap; }
  .ds-svc-dur { width: 56px; height: 52px; }
  .ds-svc-info { flex: 1 1 calc(100% - 140px); }
  .ds-svc-meta { order: 3; margin-left: calc(56px + .75rem); }
  .ds-svc-meta:empty { display: none; }
  .ds-svc-edit { padding: .35rem .25rem .35rem .5rem; }
  .ds-svc-form, .ds-svc-add .form { padding: 1rem; }
  .card-title { margin-bottom: .9rem; }
}

/* ---------- staff & courts ---------- */
/* "How do you work?" option cards (sign-up and Settings) */
.type-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.type-opt { position: relative; display: flex; align-items: flex-start; gap: .7rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.type-opt:hover { border-color: #c9cdd2; }
.type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.type-opt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.type-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #f1f3f4; color: var(--muted); }
.type-icon svg { width: 20px; height: 20px; }
.type-opt:has(input:checked) .type-icon { background: var(--brand-soft); color: var(--brand-ink); }
.type-text { display: grid; min-width: 0; line-height: 1.3; }
.type-text strong { font-size: .95rem; }
.type-text small { color: var(--muted); font-size: .8rem; margin-top: .15rem; }
.type-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.type-field legend { padding: 0; margin-bottom: .4rem; font-weight: 600; font-size: .92rem; }
.auth .type-pick { grid-template-columns: 1fr; gap: 8px; }
.auth .type-opt { padding: .7rem .85rem; align-items: center; }
.type-manage { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; color: var(--brand-ink); font-weight: 700; font-size: .92rem; }
.type-manage svg { width: 18px; height: 18px; }

/* Team / Courts list */
.tm-avatar { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; font-size: 1.15rem; }
.tm-avatar svg { width: 22px; height: 22px; }
.ds-svc.is-off .tm-avatar { background: #f1f3f4; color: var(--muted); }
.tm-count { padding: .2rem .55rem; border-radius: 999px; background: #f1f3f4; font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.tm-note { margin: 0; font-size: .88rem; }
.tm-foot { margin: 0; font-size: .9rem; }
.ds-svc-who { display: inline-flex; align-items: center; gap: .3rem; margin-top: .15rem; color: var(--brand-ink) !important; font-size: .82rem !important; font-weight: 700; }
.ds-svc-who svg { flex: none; width: 15px; height: 15px; }

/* "Who can do this?" on a service */
.who { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: .55rem; }
.who legend { padding: 0; margin-bottom: .45rem; font-weight: 600; font-size: .92rem; }
.who-choice { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: #eceef1; justify-self: start; }
.who-opt { position: relative; cursor: pointer; }
.who-opt input { position: absolute; opacity: 0; }
.who-opt span { display: block; padding: .4rem .9rem; border-radius: 8px; font-size: .88rem; font-weight: 700; color: var(--muted); }
.who-opt input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.who-opt input:focus-visible + span { outline: 2px solid var(--brand); }
.who-list { display: none; flex-wrap: wrap; gap: .45rem; }
.who:has(input[value="some"]:checked) .who-list { display: flex; }
.who-chip { position: relative; cursor: pointer; }
.who-chip input { position: absolute; opacity: 0; }
.who-chip span { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 600; background: #fff; }
.who-chip input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.who-chip input:checked + span::before { content: "✓"; font-weight: 800; }
.who-chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.who-chip.is-off span { opacity: .6; }
.field-label { font-weight: 600; font-size: .92rem; }
.field-static { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }

/* Booking card: who / which court */
.bk-res { display: inline-flex; align-items: center; gap: .3rem; margin-top: .1rem; color: var(--brand-ink); font-size: .85rem; font-weight: 700; }
.bk-res svg { width: 15px; height: 15px; }

/* Public booking page: Choose who / Choose a court */
.who-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.who-btn { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .8rem .9rem; font: inherit; color: inherit; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.who-btn:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.who-btn[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.who-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, #fff); color: color-mix(in srgb, var(--accent) 80%, #000); font-weight: 800; }
.who-av-any { background: var(--accent); color: #fff; font-size: 1rem; }
.who-av-space { border-radius: 10px; background: color-mix(in srgb, var(--accent) 14%, #fff) linear-gradient(90deg, transparent calc(50% - 1px), color-mix(in srgb, var(--accent) 45%, #fff) calc(50% - 1px), color-mix(in srgb, var(--accent) 45%, #fff) calc(50% + 1px), transparent calc(50% + 1px)); }
.who-text { display: grid; min-width: 0; line-height: 1.3; }
.who-text strong { overflow-wrap: break-word; }
.who-pick > .who-btn:first-child { grid-column: 1 / -1; }
.who-text small { color: var(--muted); font-size: .8rem; }
.tpl-dark .who-btn { background: #242424; border-color: var(--line); }
.tpl-soft .who-btn { background: #fffdf9; border-radius: 16px; }

@media (max-width: 720px) {
  .type-pick { grid-template-columns: 1fr; gap: 8px; }
  .type-opt { align-items: center; padding: .75rem .9rem; }
  .who-pick { grid-template-columns: 1fr 1fr; }
}

/* Settings → Phone notifications */
.push-status { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.push-ios { list-style: none; margin: .85rem 0 0; padding: .85rem .95rem; display: grid; gap: .6rem; background: #f6f7f9; border-radius: 12px; font-size: .92rem; }
.push-ios[hidden] { display: none; }
.push-ios li { display: flex; align-items: center; gap: .65rem; }
.push-ios-n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--accent, #1a73e8); font-weight: 800; font-size: .8rem; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.push-ios-ic { display: inline-grid; vertical-align: -4px; width: 20px; height: 20px; color: #1a73e8; }
.push-ios-ic svg { width: 20px; height: 20px; }
.push-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: .8rem; }
.push-actions:not(:has(button:not([hidden]))):has(small:empty) { display: none; }

/* ---------- Clients: client book, client page, insights, history ---------- */
.tab-short { display: none; }
.cl-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.cl-head > div { max-width: 40rem; }
.cl-tabs { flex: none; }
.cl-toolbar { display: flex; }
.cl-search, .hx-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; width: 100%; }
.cl-search-box { flex: 1 1 260px; position: relative; display: flex; align-items: center; margin: 0; }
.cl-search-box svg { position: absolute; left: .85rem; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.cl-search-box input { width: 100%; padding-left: 2.5rem; background: #fff; border-radius: 12px; }
.cl-search select, .hx-filters select { width: auto; background-color: #fff; border-radius: 12px; }
.cl-search label, .hx-filters label { margin: 0; }
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cl-row { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -6px rgba(16, 24, 40, .12); transition: transform .15s, box-shadow .15s; }
.cl-row:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 14px 30px -8px rgba(16, 24, 40, .18); }
.cl-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e8f0fe; color: #1a5fc4; font-weight: 800; }
.cl-av-lg { width: 64px; height: 64px; font-size: 1.6rem; }
.cl-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem; }
.cl-main strong { font-size: 1.02rem; overflow-wrap: anywhere; }
.cl-contact { flex-basis: 100%; color: var(--muted); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-tag { padding: .1rem .5rem; border-radius: 999px; background: #f1f3f4; color: var(--muted); font-size: .7rem; font-weight: 800; vertical-align: middle; }
.cl-tag-reg { background: #e8f0fe; color: #1a5fc4; }
.cl-nums { flex: none; display: flex; gap: 1.5rem; text-align: right; }
.cl-nums > span { display: grid; min-width: 4.5rem; }
.cl-nums b { font-size: .98rem; }
.cl-nums small { color: var(--muted); font-size: .76rem; }
.cl-go { flex: none; color: var(--muted); display: grid; }
.cl-go svg { width: 18px; height: 18px; }
.bk-name a { color: inherit; }
.bk-name a:hover { color: #1a5fc4; }

.cl-back { justify-self: start; display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-weight: 700; font-size: .92rem; }
.cl-back svg { width: 18px; height: 18px; }
.cl-hero { display: flex; align-items: center; gap: 1.1rem; }
.cl-hero-main { min-width: 0; display: grid; gap: .35rem; }
.cl-hero h1 { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; overflow-wrap: anywhere; }
.cl-hero p { margin: 0; }
.cl-hero-contact { padding: 0; border: 0; margin-top: .2rem; }
.cl-stats { margin-top: 0; }
.cl-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cl-history { margin: 0; }
.bk-grid-1 { grid-template-columns: 1fr; }
.cl-edit { position: sticky; top: 88px; }
.cl-edit .form { margin-top: 1rem; }

/* Insights */
.ins-period { justify-self: start; }
.ins-stats { margin-top: 0; }
.ins-chg { display: inline-flex; align-items: center; gap: .15rem; font-size: .8rem; color: var(--muted); }
.ins-chg svg { width: 16px; height: 16px; }
.ins-chg.is-up { color: var(--ok); }
.ins-chg.is-down { color: #b3261e; }
.ins-ahead { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .8rem 1rem; border-radius: 14px; background: #e8f0fe; color: #174ea6; font-size: .95rem; }
.ins-ahead svg { flex: none; width: 20px; height: 20px; }
.ins-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ins-card { display: grid; gap: 1.1rem; align-content: start; }
.ins-empty { margin: 0; font-size: .92rem; }
.ins-due { grid-column: 1 / -1; }
.vchart { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; align-items: end; height: 180px; margin-bottom: 1.5rem; padding-top: 1.4rem; border-bottom: 1px solid #e3e6e8; }
.vbar { position: relative; height: 100%; outline: none; }
.vbar-track { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.vbar-track i { display: block; width: min(28px, 70%); border-radius: 4px 4px 0 0; background: #1a73e8; transition: opacity .15s; }
.vbar:not(.is-peak) .vbar-track i { background: #8ab4f8; }
.vbar-val { font-size: .8rem; font-weight: 800; color: var(--text); line-height: 1.4; }
.vbar-label { position: absolute; top: 100%; left: 0; right: 0; padding-top: .35rem; text-align: center; font-size: .72rem; color: var(--muted); white-space: nowrap; }
.vbar::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); padding: .35rem .55rem; border-radius: 8px; background: #202124; color: #fff; font-size: .76rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 2; }
.vbar:first-child::after { left: 0; transform: none; }
.vbar:last-child::after { left: auto; right: 0; transform: none; }
.vbar:hover::after, .vbar:focus::after { opacity: 1; }
.vchart:hover .vbar:not(:hover) .vbar-track i { opacity: .55; }
.hchart { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.hchart li { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.hbar-label { font-size: .9rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-track { height: 10px; border-radius: 0 4px 4px 0; background: #f1f3f4; overflow: hidden; }
.hbar-track i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: #1a73e8; }
.hbar-val { display: grid; justify-items: end; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.hbar-val small { color: var(--muted); font-weight: 500; font-size: .76rem; }
.due-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.due-list li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem .8rem; border-radius: 12px; background: #f6f7f9; }
.due-who { display: flex; align-items: center; gap: .7rem; min-width: 0; color: var(--text); }
.due-who:hover { text-decoration: none; }
.due-who > span:last-child { display: grid; min-width: 0; }
.due-who small { color: var(--muted); font-size: .8rem; }
.due-list .btn svg { width: 16px; height: 16px; }

/* History */
.hx-csv { margin-left: auto; }
.hx-csv svg { width: 16px; height: 16px; }
.hx-sum { margin: 0; color: var(--muted); font-size: .92rem; }
.hx-sum b { color: var(--text); }
.hx-card { padding: 0; overflow: hidden; border: 0; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -6px rgba(16, 24, 40, .12); }
.app .hx-card { border: 0; }
.hx { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hx th { padding: .75rem 1rem; text-align: left; font-size: .75rem; font-weight: 800; color: var(--muted); letter-spacing: .02em; background: #fafbfc; border-bottom: 1px solid var(--line); }
.hx td { padding: .75rem 1rem; border-bottom: 1px solid #f1f3f4; vertical-align: middle; }
.hx tbody tr:last-child td { border-bottom: 0; }
.hx tbody tr:hover td { background: #fafbfc; }
.hx td small { display: block; color: var(--muted); font-size: .8rem; }
.hx-when { white-space: nowrap; }
.hx-who a { color: var(--text); font-weight: 700; }
.hx-who small { max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx .hx-num { text-align: right; white-space: nowrap; }
.hx-st .bk-status { margin: 0; white-space: nowrap; }
.bk-bad { color: #b3261e; background: #fce8e6; }
.hx-pages { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

@media (max-width: 960px) {
  .cl-detail { grid-template-columns: 1fr; }
  .cl-edit { position: static; }
  .ins-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tab-long { display: none; }
  .tab-short { display: inline; }
  .cl-head { align-items: stretch; }
  .cl-tabs { width: 100%; }
  .cl-row { gap: .7rem; padding: .75rem .8rem; }
  .cl-av { width: 38px; height: 38px; }
  .cl-nums { gap: .75rem; }
  .cl-nums > span { min-width: 0; }
  .cl-nums .cl-last, .cl-nums .cl-spent { display: none; }
  .cl-hero { align-items: flex-start; }
  .cl-av-lg { width: 52px; height: 52px; font-size: 1.3rem; }
  .cl-stats, .ins-stats { grid-template-columns: 1fr 1fr; }
  .cl-stats .stat-note { display: block; }
  .ins-stats .ins-chg { font-size: .72rem; }
  .ins-period { width: 100%; }
  .hchart li { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; }
  .hbar-track { grid-column: 1 / -1; grid-row: 2; }
  .hx-csv { margin-left: 0; }
  .hx-filters select { flex: 1; }
  .hx thead { display: none; }
  .hx, .hx tbody, .hx td { display: block; }
  .hx tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .1rem .8rem; padding: .8rem 1rem; border-bottom: 1px solid #f1f3f4; }
  .hx tbody tr:last-child { border-bottom: 0; }
  .hx td { padding: 0; border: 0; }
  .hx-when { grid-column: 1; grid-row: 1 / span 3; min-width: 4.2rem; }
  .hx-who { grid-column: 2; grid-row: 1; min-width: 0; }
  .hx-svc { grid-column: 2; grid-row: 2; color: var(--muted); font-size: .86rem; }
  .hx-res { grid-column: 2; grid-row: 3; color: var(--muted); font-size: .86rem; }
  .hx-st { grid-column: 3; grid-row: 1; justify-self: end; }
  .hx .hx-num { grid-column: 3; grid-row: 2; }
  .hx tbody tr:hover td { background: none; }
}

.who-hint { margin: -.1rem 0 .55rem; color: var(--muted); font-size: .85rem; line-height: 1.45; }

/* ---------- Bookings: List / Day switch and the day timeline ---------- */
.dash-list-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.view-seg a { gap: .35rem; }
.view-seg svg { width: 16px; height: 16px; }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; margin-bottom: 1rem; }
.tl-nav { display: flex; align-items: center; gap: .35rem; }
.tl-today.is-on { border-color: #1a73e8; color: #1a73e8; }
.tl-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--text); }
.tl-arrow:hover { background: #eceef1; text-decoration: none; }
.tl-arrow svg { width: 20px; height: 20px; }
.tl-pick input { width: auto; padding: .4rem .6rem; border-radius: 10px; background: #fff; font-size: .9rem; }
.tl-title { display: grid; justify-items: end; text-align: right; }
.tl-title h3 { margin: 0; font-size: 1.15rem; }
.tl-title span { color: var(--muted); font-size: .88rem; }
.tl-off { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 12px; background: #fef7e0; color: #7a5a00; font-size: .92rem; }
.tl-scroll { overflow-x: auto; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -6px rgba(16, 24, 40, .12); }
.tl { --gutter: 64px; min-width: 100%; }
.tl-multi { min-width: calc(var(--gutter) + var(--cols) * 150px); }
.tl-colheads { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: var(--gutter) repeat(var(--cols), minmax(0, 1fr)); background: #fff; border-bottom: 1px solid var(--line); }
.tl-colhead { display: flex; align-items: center; gap: .45rem; padding: .7rem .75rem; font-weight: 700; font-size: .9rem; border-left: 1px solid #eef0f2; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tl-colhead small { color: var(--muted); font-weight: 600; }
.tl-av { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e8f0fe; color: #1a5fc4; font-style: normal; font-size: .78rem; font-weight: 800; }
.tl-body { position: relative; display: grid; grid-template-columns: var(--gutter) minmax(0, 1fr); margin: 14px 0; }
.tl-gutter { position: relative; }
.tl-gutter span { position: absolute; right: 10px; transform: translateY(-50%); color: var(--muted); font-size: .72rem; white-space: nowrap; }
.tl-cols { position: relative; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.tl-hr { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #eef0f2; pointer-events: none; }
.tl-col { position: relative; background: repeating-linear-gradient(-45deg, #f6f7f9 0 6px, #f1f3f4 6px 12px); border-left: 1px solid #eef0f2; }
.tl-open { position: absolute; left: 0; right: 0; background: #fff; }
.tl-bk { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 1px; overflow: hidden; padding: .3rem .5rem; border: 0; border-left: 3px solid #1a73e8; border-radius: 6px; background: #e8f0fe; color: #174ea6; font: inherit; text-align: left; cursor: pointer; transition: box-shadow .15s, transform .15s; }
.tl-bk:hover, .tl-bk:focus-visible { z-index: 2; box-shadow: 0 4px 14px -4px rgba(16, 24, 40, .3); }
.tl-bk.is-pending { border-left-color: #f9ab00; background: #fef7e0; color: #7a4f01; outline: 1px dashed #f9ab00; outline-offset: -1px; }
.tl-bk.is-past { opacity: .6; }
.tl-bk.is-tight { justify-content: center; padding: 0 .5rem; }
.tl-time { font-size: .72rem; font-weight: 600; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-name { font-size: .86rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-svc { font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-line { font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-flag { align-self: flex-start; margin-top: 2px; padding: 0 .4rem; border-radius: 999px; background: #f9ab00; color: #fff; font-size: .66rem; font-weight: 800; }
.tl-now { position: absolute; left: 0; right: 0; z-index: 2; height: 0; border-top: 2px solid #ea4335; pointer-events: none; }
.tl-now::before { content: ""; position: absolute; left: -6px; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: #ea4335; }
.bk-dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; background: transparent; overflow: visible; }
.bk-dialog::backdrop { background: rgba(32, 33, 36, .45); }
.bk-dialog .bk { box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .45); }
.bk-dialog-x { position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f1f3f4; color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; }

@media (max-width: 720px) {
  .dash-list-tools { width: 100%; }
  .dash-list-tools .seg { width: 100%; }
  .tl-head { flex-direction: column; align-items: stretch; }
  .tl-nav { justify-content: space-between; }
  .tl-pick { margin-left: auto; }
  .tl-title { justify-items: start; text-align: left; order: -1; }
  .tl { --gutter: 48px; }
  .tl-multi { min-width: calc(var(--gutter) + var(--cols) * 128px); }
  .tl-gutter span { right: 6px; font-size: .68rem; }
}

/* ---------- plan, billing, account, legal ---------- */
.plan-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .85rem 1rem; margin-bottom: 1rem; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); border: 1px solid #c6dafc; font-size: .95rem; }
.plan-banner > div { flex: 1 1 260px; }
.plan-banner form { margin: 0; }
.plan-banner.plan-paused { background: var(--bad-soft); color: #8c1d18; border-color: #f6c6c2; }
.plan-banner.plan-verify { background: var(--warn-soft); color: #7a4100; border-color: #f7dfa1; }
.billing { display: grid; gap: 1rem; max-width: 640px; }
.billing-status { display: flex; gap: .9rem; align-items: flex-start; }
.billing-status p { margin: .25rem 0 0; }
.billing-dot { flex: none; width: 12px; height: 12px; margin-top: .45rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.billing-brand .billing-dot { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.billing-warn .billing-dot { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.billing-bad .billing-dot { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.billing-price { display: flex; align-items: baseline; gap: .2rem; margin-bottom: 1rem; }
.billing-price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.billing-price span { color: var(--muted); font-weight: 600; }
.billing-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.billing-list li { display: flex; gap: .55rem; align-items: center; }
.billing-list svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
.billing-plan form { margin: 0; }
.billing .fine { text-align: left; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.row-between p { margin: .25rem 0 0; }
.danger-card { border-color: #f6c6c2 !important; }
.danger-details > summary { list-style: none; display: inline-flex; cursor: pointer; }
.danger-details > summary::-webkit-details-marker { display: none; }
.danger-details[open] > summary { display: none; }
.btn-danger-ghost { border: 1px solid #f6c6c2; color: var(--bad); background: #fff; }
.btn-danger-ghost:hover { background: var(--bad-soft); }
.danger-details .btn-danger { background: var(--bad); color: #fff; border-color: var(--bad); }
.danger-details .btn-danger:hover { background: #a50e0e; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.auth-forgot { margin: .9rem 0 0; text-align: center; font-size: .92rem; }
.fine.center a, .bp-footer a { white-space: nowrap; }
.mk-footer-links { display: flex; gap: 1.25rem; }
.mk-footer-links a { color: inherit; }
.mk-footer-links a:hover { color: var(--brand); }
.legal-page { background: #fff; }
.legal-head { padding: 1.5rem 16px 0; }
.legal { padding: 1.5rem 16px 4rem; }
.legal h1 { font-size: 2rem; margin: .5rem 0 .25rem; letter-spacing: -.01em; }
.legal h2 { font-size: 1.1rem; margin: 1.75rem 0 .35rem; }
.legal p { margin: 0 0 .5rem; }
.legal-intro { font-size: 1.05rem; margin-top: 1rem !important; }
.legal .fine { text-align: left; margin-top: 2.5rem; }
.app .plan-banner { margin: 0; }
