/* Self-hosted typefaces (SIL OFL 1.1): no third-party requests from booking pages. */
@font-face { font-family: "Bodoni Moda"; src: url("/static/fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("/static/fonts/host-grotesk-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("/static/fonts/host-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("/static/fonts/host-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("/static/fonts/host-grotesk-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* Orrery demo styles. Tokens from the Orrery Brass & Night design system. */
/* Layout: full-bleed photo heroes, a 1200px content column, booking sheets as one raised panel. */
:root, [data-theme="night"] {
  --ground: #0b0c0f; --raised: #15171b; --raised-2: #1e2126; --line: #2a2d33; --line-strong: #62666f;
  --text: #ece6da; --text-2: #b2aca1; --text-3: #908a80;
  --accent: #c9a35b; --on-accent: #1a1408; --sun: #e2532d;
  --good: #7fb894; --warn: #e0b25a; --critical: #ee7d6b; --focus: #f0d9a8;
  color-scheme: dark;
}
[data-theme="bone"] {
  --ground: #f1ece2; --raised: #faf7f1; --raised-2: #e7e0d3; --line: #d9d2c4; --line-strong: #8a826f;
  --text: #17161a; --text-2: #4c4740; --text-3: #696258;
  --accent: #7d5a1a; --on-accent: #fbf6ea; --sun: #c8401c;
  --good: #2f6b45; --warn: #8a5a00; --critical: #b3341f; --focus: #5a3d0c;
  color-scheme: light;
}
:root {
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-sans: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(16px, 4vw);
  --on-photo: #ece6da;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ground); }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 16px/1.55 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
.num, .money { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.display { font-family: var(--font-display); font-weight: 400; line-height: 1; margin: 0; }
.kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.demo-bar { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; padding: 8px var(--gutter); background: var(--raised-2); color: var(--text-2); font-size: 13px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border-radius: 6px; border: 1px solid transparent; font: 500 15px/1 var(--font-sans); cursor: pointer; text-decoration: none; transition: background-color .15s ease-out, border-color .15s ease-out; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--raised-2); color: var(--text); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-icon { width: 44px; padding: 0; }
.btn-block { width: 100%; min-height: 48px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); font: 600 12px/1.2 var(--font-sans); white-space: nowrap; }
.chip-good { color: var(--good); border-color: var(--good); }
.chip-warn { color: var(--warn); border-color: var(--warn); }
.chip-brass { color: var(--accent); border-color: var(--accent); }

/* Site header */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-name { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; }
.site-nav a { color: var(--text-2); text-decoration: none; }
.site-nav a:hover { color: var(--text); }

/* Heroes */
.hero { position: relative; overflow: hidden; color: var(--on-photo); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-body { position: relative; display: flex; flex-direction: column; gap: 24px; padding-block: 120px 104px; background: linear-gradient(90deg, rgba(8,9,12,.82) 0%, rgba(8,9,12,.55) 45%, rgba(8,9,12,0) 78%); }
.hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: .95; max-width: 13ch; letter-spacing: -.01em; }
.hero p { margin: 0; max-width: 46ch; font-size: 19px; line-height: 1.6; font-weight: 300; color: #d8d1c4; }
.hero .btn-quiet { color: var(--on-photo); border-color: rgba(236,230,218,.5); }
.hero .btn-quiet:hover { background: rgba(236,230,218,.12); }
.photo-head { position: relative; min-height: 300px; display: flex; align-items: end; color: var(--on-photo); }
.photo-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-head .wrap { position: relative; width: 100%; padding-block: 96px 28px; background: linear-gradient(180deg, rgba(8,9,12,0), rgba(8,9,12,.82)); max-width: none; }
.photo-head h1 { font-size: clamp(40px, 6vw, 76px); }

/* Sections */
.section { padding-block: 88px; }
.section-raised { background: var(--raised); border-block: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: start; }
.split > * { flex: 1 1 380px; min-width: 0; }
.section h2.display { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.02; }
.lede { margin: 0; max-width: 46ch; color: var(--text-2); line-height: 1.6; }
.presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.preset { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 200px); gap: 20px; padding: 28px; background: var(--ground); color: var(--text); text-decoration: none; }
.preset:hover { background: var(--raised); color: var(--text); }
.preset h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.preset p { margin: 8px 0 0; color: var(--text-2); }
.preset img { width: 100%; height: 140px; object-fit: cover; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--text-2); }
.ticks li { display: flex; gap: 12px; }
.ticks .icon { color: var(--accent); }
.orbit { position: relative; width: 100%; max-width: 560px; aspect-ratio: 4 / 3; margin: 0 auto; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-size: 22px; color: #fbf6ea; }
.orbit .planet { position: absolute; transform: translate(-50%, -50%); padding: 6px 12px; border: 1px solid var(--accent); border-radius: 999px; background: var(--ground); font-size: 14px; white-space: nowrap; }
.big-num { margin: 0; font-family: var(--font-display); font-size: clamp(72px, 12vw, 160px); line-height: .9; }
.site-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 32px var(--gutter); border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }

/* Booking page */
.book { display: flex; flex-wrap: wrap; gap: 40px; align-items: start; padding-block: 40px 80px; }
.book-info { flex: 999 1 460px; min-width: 0; display: grid; gap: 28px; }
.book-info > p:first-child { margin: 0; max-width: 60ch; font-size: 18px; line-height: 1.65; font-weight: 300; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding: 1px 0 0 1px; }
.facts div { padding: 16px; margin: -1px 0 0 -1px; border: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.facts dd { margin: 4px 0 0; }
.sheet { flex: 1 1 380px; min-width: 0; display: grid; gap: 20px; padding: 24px; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; }
.sheet h2 { margin: 0; font-size: 20px; font-weight: 500; }
.step { display: grid; gap: 10px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pick { display: grid; gap: 2px; justify-items: start; min-height: 52px; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--ground); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.days .pick { justify-items: center; padding: 6px 0; text-align: center; }
.pick:hover { border-color: var(--accent); }
.pick[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pick[aria-pressed="true"] .pick-note { color: var(--on-accent); }
.pick:disabled { background: transparent; border-style: dashed; border-color: var(--line); color: var(--text-3); cursor: not-allowed; }
.pick:disabled .pick-main { text-decoration: line-through; }
.pick-main { font-weight: 500; font-variant-numeric: tabular-nums; }
.pick-note { font-size: 12px; color: var(--text-2); }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--ground); cursor: pointer; }
.addon:has(input:checked) { border-color: var(--accent); }
.addon span span { display: block; }
.addon-detail { font-size: 13px; color: var(--text-2); }
.check { appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--ground); display: grid; place-content: center; cursor: pointer; }
.check:checked { background: var(--accent); border-color: var(--accent); }
.check:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper output { min-width: 24px; text-align: center; font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; font-variant-numeric: tabular-nums; }
.cal .dow { font-size: 12px; color: var(--text-3); padding-bottom: 6px; }
.cal button { height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.cal button:disabled { color: var(--text-3); text-decoration: line-through; cursor: not-allowed; }
.cal button.in { background: var(--raised-2); border-radius: 0; }
.cal button.end { background: var(--accent); color: var(--on-accent); font-weight: 600; }
label.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
label.field input, .card-box { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--ground); color: var(--text); font: 400 16px var(--font-sans); }
.card-box { display: flex; align-items: center; justify-content: space-between; color: var(--text-3); font-size: 15px; }
.consent { display: flex; gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; cursor: pointer; }

/* Payment plan */
.plan { border: 1px solid var(--line); border-radius: 12px; background: var(--ground); }
.plan ol { list-style: none; margin: 0; padding: 0; }
.plan li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: baseline; }
.plan .when { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.plan .what { display: grid; gap: 2px; min-width: 0; }
.plan .label { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.plan .rule { font-size: 13px; color: var(--text-2); }
.plan .amt { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.plan .hold .amt { color: var(--text-2); }
.plan .due { display: flex; justify-content: space-between; padding: 14px 16px; font-weight: 600; }
.plan .due .amt { font-size: 20px; }
.notice { padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 6px; font-size: 14px; color: var(--text-2); }
.done { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--good); border-radius: 12px; }
.done h2 { color: var(--good); }

/* Classes list */
.sessions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sessions li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sessions .when { display: grid; font-variant-numeric: tabular-nums; }

@media (max-width: 480px) {
  .preset { grid-template-columns: 1fr; }
  .preset img { height: 160px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Orrery 0.1 additions: booking page and staff app */
.site-head .brand-name { font-size: 24px; }
.biz-head { padding-block: 48px 8px; display: grid; gap: 10px; }
.biz-head h1 { font-size: clamp(40px, 6vw, 72px); }
.error { padding: 12px 14px; border: 1px solid var(--critical); border-radius: 6px; color: var(--critical); font-size: 14px; }
select, textarea, input[type="date"], input[type="time"], input[type="number"], input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="color"] { font: 400 16px var(--font-sans); color: var(--text); background: var(--ground); border: 1px solid var(--line-strong); border-radius: 6px; min-height: 44px; padding: 0 12px; }
textarea { padding: 10px 12px; min-height: 88px; }
input[type="color"] { padding: 4px; width: 64px; }
.app { display: flex; flex-wrap: wrap; min-height: 100vh; }
.app-nav { flex: 1 1 200px; display: grid; align-content: start; gap: 4px; padding: 20px 16px; border-right: 1px solid var(--line); }
.app-nav a { padding: 10px 8px; border-radius: 6px; color: var(--text-2); text-decoration: none; }
.app-nav a[aria-current="page"] { background: var(--raised-2); color: var(--text); }
.app-main { flex: 999 1 640px; min-width: 0; padding: 32px max(16px, 3vw) 64px; display: grid; gap: 32px; align-content: start; }
.panel { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--raised); }
.panel h2 { margin: 0; font-size: 16px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; align-items: end; }
.rows { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rows > * { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--raised); }
.rows > *:last-child { border-bottom: 0; }
.inline { display: inline; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
label.field input, label.field select, label.field textarea { width: 100%; box-sizing: border-box; }
label.field input[type="color"] { width: 64px; }
.form-grid > * { min-width: 0; }
pre.code { margin: 0; padding: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--ground); font-size: 13px; }
.chip-critical { color: var(--critical); border-color: var(--critical); }

/* Orrery 0.4: hosted booking page around the widget, and the confirmation page */
.book-page { display: grid; gap: 48px; padding-block: 32px 88px; }
.widget-host { display: block; min-height: 420px; }
.widget-skel { display: grid; gap: 14px; }
.widget-skel span { display: block; height: 18px; border-radius: 8px; background: var(--raised); }
.book-about { display: grid; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.done-page { max-width: 760px; padding-block: 56px 96px; display: grid; gap: 40px; }
.done-hero { display: grid; gap: 14px; justify-items: start; }
.done-hero h1 { font-size: clamp(44px, 7vw, 72px); }
.orbit-mark { width: 112px; height: 112px; margin-bottom: 4px; }
.done-when { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.done-when .display { font-size: clamp(28px, 4vw, 40px); }
.done-when span:last-child { font-size: 20px; font-variant-numeric: tabular-nums; color: var(--text-2); }
.done-hero .how { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--raised); }
.done-hero .actions { margin-top: 6px; }
.done-plan { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); }
.done-plan h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; }
.tl li { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 4px 12px; padding: 0 0 18px; }
.tl li::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: -2px; width: 1.5px; background: color-mix(in oklab, var(--accent) 45%, var(--line)); }
.tl li:last-child { padding-bottom: 0; }
.tl li:last-child::before { display: none; }
.tl .node { width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--raised); position: relative; z-index: 1; }
.tl .now .node { background: var(--accent); }
.tl .cut .node { width: 10px; height: 10px; margin: 6px 3px 0; border-radius: 2px; transform: rotate(45deg); }
.tl .when { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-2); }
.tl .what { display: block; font-weight: 500; }
.tl .amt { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; white-space: nowrap; }
.funnel { display: grid; gap: 12px; }
.funnel ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.funnel li { display: grid; gap: 4px; padding: 14px 16px; background: var(--raised); }
.funnel .n { font-family: var(--font-display); font-size: 30px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.funnel .bar { height: 3px; border-radius: 2px; background: var(--line); }
.funnel .bar i { display: block; height: 100%; border-radius: 2px; background: var(--accent); }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle; margin-right: 8px; }
.button-preview { position: relative; height: 150px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--ground); overflow: hidden; }
.fab-demo { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--fab); color: var(--on-fab); font-size: 16px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.45); }
.fab-demo .mark { width: 22px; height: 22px; }
.fab-demo:has(.mark[hidden]) { padding: 0 24px; }
.fab-demo[data-shape="rounded"] { border-radius: 12px; }
.fab-demo[data-shape="square"] { border-radius: 4px; }
.fab-demo[data-size="large"] { min-height: 62px; padding: 0 28px 0 20px; font-size: 18px; gap: 12px; }
.fab-demo[data-size="large"] .mark { width: 26px; height: 26px; }
.fab-demo[data-side="left"] { right: auto; left: 16px; }
.done-cancel { display: grid; gap: 12px; justify-items: start; padding-top: 8px; border-top: 1px solid var(--line); }
.done-cancel h2 { margin: 0; font-size: 18px; font-weight: 500; }

/* Team members in Setup, and labelled controls in the staff app */
.rows > .member { display: grid; gap: 12px; justify-content: stretch; align-items: start; }
.member-head { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; }
.member-name { min-width: 0; overflow-wrap: anywhere; }
.member-ctl { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; }
.ctl { display: grid; gap: 6px; min-width: 0; max-width: 100%; }
.ctl > label, .ctl-label { font-size: 13px; font-weight: 600; }
.ctl-row { display: flex; gap: 8px; align-items: center; min-width: 0; }
.ctl-row select, .ctl-row input { min-width: 0; max-width: 100%; flex: 1 1 auto; }
.ctl-row input[type="tel"] { width: 200px; }
.app-main select { max-width: 100%; }
.app-main .chip { white-space: normal; overflow-wrap: anywhere; }
.app-main > * { min-width: 0; } /* long code samples scroll inside their panel instead of widening the page */
@media (max-width: 640px) {
  .app-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .app-nav .brand { padding: 0 8px 0 0 !important; margin-right: auto; }
  .app-nav form button { margin-top: 0 !important; }
  .member-ctl, .ctl { width: 100%; }
}

/* Service options, folded under each service in Setup */
.svc-opts { border-bottom: 1px solid var(--line); padding: 4px 0 12px; }
.svc-opts summary { cursor: pointer; padding: 8px 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.svc-opts summary > span:first-child { font-weight: 600; }
.svc-opts .opts { display: grid; gap: 16px; padding-top: 8px; }
.svc-opts fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px 16px; display: grid; gap: 12px; margin: 0; min-width: 0; }
.svc-opts legend { padding: 0 6px; font-weight: 600; font-size: 14px; }
.svc-opts .checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.svc-opts textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.svc-opts code { font-size: 12px; overflow-wrap: anywhere; }
.field.wide { grid-column: 1 / -1; }
.member-ctl .ctl input:not([type=checkbox]), .member-ctl .ctl select, .member-ctl .ctl textarea { box-sizing: border-box; }

/* The business's brand: heading style, logo, cover photo */
[data-heading="sans"] .display { font-family: var(--font-sans); font-weight: 600; letter-spacing: -.025em; }
[data-heading="serif"] .display { font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; font-weight: 500; letter-spacing: -.01em; }
.biz-head { position: relative; }
.biz-head.has-cover { color: #fbf8f2; }
.biz-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-head.has-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.15), rgba(10,10,12,.62)); z-index: 1; }
.biz-head-in { position: relative; z-index: 2; display: grid; gap: 12px; justify-items: start; }
.biz-head.has-cover .biz-head-in { padding-block: 96px 40px; }
.biz-head.has-cover .lede { color: rgba(251,248,242,.88); }
.biz-logo { max-height: 72px; max-width: min(320px, 70vw); object-fit: contain; }
.brand-bar { padding-block: 20px 0; }
.brand-link { display: inline-flex; color: var(--text); text-decoration: none; }
.brand-logo { max-height: 44px; max-width: 240px; object-fit: contain; }
.brand-text { font-family: var(--font-display); font-size: 24px; }
[data-heading="sans"] .brand-text { font-family: var(--font-sans); font-weight: 600; }
.site-foot .credit { color: var(--text-3); }
.biz-head.has-cover { padding-block: 0; margin-bottom: 24px; overflow: hidden; }
.brand-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; }
