/* © 49th Studios Systems Inc. Licensed to client; not transferred.
   The office edition's one stylesheet: fonts, the demo chrome, the hub (49th Studios's own colours), the firm's public
   pages (the sample firm's colours, set by core.js as --f-*), and the office app (light and dark). */

@font-face { font-family: 'Hanken Grotesk'; src: url('fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('fonts/instrument-sans-latin-standard-normal.woff2') format('woff2'); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('fonts/newsreader-latin-opsz-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('fonts/bricolage-grotesque-latin-opsz-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bg: #f1f2ee; --panel: #ffffff; --inset: #e4e7e2; --hover: #f3f6fa;
  --ink: #14191c; --ink-2: #535e63; --ink-3: #535e63;
  --line: #c9cfcb; --line-soft: #c9cfcb;
  --accent: var(--f-brand, #1c4a57); --accent-hover: color-mix(in srgb, var(--accent) 85%, #000); --accent-ink: var(--f-on-brand, #ffffff); --accent-soft: var(--f-tint, #e4e7e2); --accent-text: var(--f-brand, #1c4a57);
  --good: #1b7a52; --good-soft: #e3f3eb; --warn: #8f520b; --warn-soft: #fbf0de; --bad: #a8322b; --bad-soft: #fbe9e7;
  --shadow: 0 1px 2px rgb(21 26 35 / .06), 0 8px 24px -12px rgb(21 26 35 / .18);
  --chrome-h: 0px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root.app[data-theme='auto'] {
    --bg: #0f1315; --panel: #171c1f; --inset: #1f2629; --hover: #1a2029;
    --ink: #e8eae5; --ink-2: #9aa4a8; --ink-3: #9aa4a8;
    --line: #2e363a; --line-soft: #2e363a;
    --accent: #3f8c9e; --accent-hover: #5aa3b4; --accent-ink: #0f1315; --accent-soft: #1f2629; --accent-text: #3f8c9e;
    --good: #5cc596; --good-soft: #13261d; --warn: #f0a957; --warn-soft: #2a1f10; --bad: #f08a80; --bad-soft: #2c1513;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root.app[data-theme='dark'] {
  --bg: #0f1315; --panel: #171c1f; --inset: #1f2629; --hover: #1a2029;
  --ink: #e8eae5; --ink-2: #9aa4a8; --ink-3: #9aa4a8;
  --line: #2e363a; --line-soft: #2e363a;
  --accent: #3f8c9e; --accent-hover: #5aa3b4; --accent-ink: #0f1315; --accent-soft: #1f2629; --accent-text: #3f8c9e;
  --good: #5cc596; --good-soft: #13261d; --warn: #f0a957; --warn-soft: #2a1f10; --bad: #f08a80; --bad-soft: #2c1513;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--chrome-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Headings and regions that take focus after a re-render, so the next Tab starts there; no ring on them. */
[tabindex='-1']:focus { outline: none; }
.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; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 60; padding: 10px 14px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.skip:focus { top: calc(var(--chrome-h) + 8px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- 49th Studios demo navigation stays distinct from the fictional firm ---------- */
.demo-chrome { position: sticky; top: 0; z-index: 40; background: #f1f2ee; color: #14191c; border-bottom: 1px solid #c9cfcb; font: 500 13px/1.4 var(--sans); }
.demo-ribbon { margin: 0; color: #535e63; font-size: 13px; line-height: 1.4; }
.demo-bar { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 7px max(16px, env(safe-area-inset-left)) 7px max(16px, env(safe-area-inset-right)); }
.demo-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 13px; border: 1px solid #c9cfcb; border-radius: 8px; color: #14191c; text-decoration: none; white-space: nowrap; font-weight: 600; }
.demo-bar a:hover { background: #e4e7e2; }
.db-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; background: #1c4a57; color: #fff; font-size: 16px; font-weight: 700; }
.demo-bar svg { width: 15px; height: 15px; }
.demo-bar .db-prev { padding: 0 10px; }
.demo-bar .db-next { background: #1c4a57; border-color: #1c4a57; color: #fff; }
.demo-bar .db-next:hover { background: #153a45; }
.db-where { margin-left: auto; min-width: 0; display: flex; justify-content: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.db-count { color: #535e63; }
.db-title { color: #14191c; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.demo-story { border-top: 1px solid #c9cfcb; padding: 0 16px; font-size: 13px; color: #535e63; }
.demo-story summary { width: fit-content; min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; color: #1c4a57; }
.demo-story p { padding: 0 0 12px; }
.demo-story span { color: #535e63; }
@media (max-width: 760px) { .demo-bar { flex-wrap: wrap; } .demo-ribbon { order: 5; flex-basis: 100%; padding: 0 0 2px; } .db-where { flex: 1; } }
@media (max-width: 560px) { .db-back span:not(.db-mark) { display: none; } .db-where { justify-content: flex-start; } .db-title { max-width: 25vw; } }
@media print { .demo-chrome, .skip { display: none !important; } }

/* ---------- Buttons, fields, pills (app and public pages) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.3; text-decoration: none; text-align: center; }
.btn:hover { background: var(--hover); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.quiet:hover { background: var(--inset); color: var(--ink); }
.btn.small { min-height: 44px; padding: 8px 12px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .field > label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field small { font-size: 12.5px; color: var(--ink-3); font-weight: 400; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
.field textarea, textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--inset); color: var(--ink-2); }
.pill.new { background: var(--accent-soft); color: var(--accent-text); }
.pill.good { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.fresh::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; max-width: calc(100vw - 32px); padding: 11px 16px; border-radius: 10px; background: #151a23; color: #e8eae5; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }

/* ======================================================================================================
   HUB: 49th Studios's own look (the 49thstudios.com tokens): near-black navy, one periwinkle blue, Inter.
   ====================================================================================================== */
.hub { --v-bg: #f1f2ee; --v-surface: #ffffff; --v-elevated: #e4e7e2; --v-line: #c9cfcb; --v-ink: #14191c; --v-muted: #535e63; --v-blue: #1c4a57;
  background: var(--v-bg); color: var(--v-ink); font: 16px/1.6 var(--sans); color-scheme: light; }
.hub a { color: inherit; text-decoration: none; }
.hub :focus-visible { outline: 2px solid var(--v-blue); outline-offset: 4px; }
.hub-shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.hub-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; border-bottom: 1px solid var(--v-line); }
.wordmark { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 650; letter-spacing: -.6px; }
.wordmark .logo { width: 32px; height: 32px; display: grid; place-items: center; background: var(--v-blue); color: var(--v-bg); font-size: 23px; font-weight: 750; letter-spacing: -2px; padding-right: 3px; }
.wordmark small { display: block; font-size: 12px; font-weight: 450; letter-spacing: 0; color: var(--v-muted); margin-top: 2px; }
.hub-head nav { display: flex; gap: 20px; font-size: 14px; color: var(--v-muted); }
.hub-head nav a { display: inline-flex; align-items: center; min-height: 44px; }
.hub-head nav a:hover { color: var(--v-ink); }

.hub-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 36px; align-items: start; padding: 36px 0 40px; }
.hub-hero h1 { font-size: clamp(38px, 4.8vw, 60px); font-weight: 650; letter-spacing: -.035em; line-height: 1.08; max-width: 14ch; }
.hub-lede { margin-top: 22px; max-width: 44ch; font-size: 17px; line-height: 1.65; color: var(--v-muted); }
.hub-pick { margin-top: 36px; }
.hub-pick > p { font-size: 13px; color: var(--v-muted); margin-bottom: 10px; }
.firm-switch { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--v-line); width: fit-content; max-width: 100%; }
.firm-switch button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 150px; min-height: 56px; padding: 11px 16px; border: 0; border-left: 1px solid var(--v-line); background: transparent; color: var(--v-muted); text-align: left; font-size: 14px; font-weight: 600; }
.firm-switch button:first-child { border-left: 0; }
.firm-switch button span { font-size: 12px; font-weight: 400; }
.firm-switch button:hover { background: var(--v-surface); color: var(--v-ink); }
.firm-switch button[aria-pressed='true'] { background: var(--v-elevated); color: var(--v-ink); box-shadow: inset 0 -2px 0 var(--v-blue); }
.hub-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.vbtn { display: inline-flex; align-items: center; gap: 22px; padding: 15px 20px; font-size: 14px; font-weight: 600; border: 1px solid var(--v-line); }
.vbtn svg { width: 16px; height: 16px; }
.vbtn.primary { background: var(--v-blue); border-color: var(--v-blue); color: #fff; }
.vbtn.primary:hover { background: #153a45; }
.vbtn:not(.primary):hover { background: var(--v-surface); }

/* The hero's one memorable thing: a single inquiry's day, as a timeline you can click into. */
.story { border: 1px solid var(--v-line); background: var(--v-surface); }
.story-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--v-line); }
.story-head .mono-mark { width: 34px; height: 34px; font-size: 13px; border-radius: 3px; }
.story-head strong { display: block; font-size: 15px; font-weight: 600; }
.story-head > div span { display: block; font-size: 12.5px; color: var(--v-muted); }
.story ol { position: relative; padding: 8px 0; }
.story li a { position: relative; display: grid; grid-template-columns: 76px 22px minmax(0, 1fr) auto; align-items: start; gap: 0 10px; padding: 13px 20px; }
.story li a:hover { background: var(--v-elevated); }
.story time { font-size: 13px; color: var(--v-muted); padding-top: 1px; white-space: nowrap; }
.story .node { position: relative; width: 22px; height: 22px; }
.story .node::before { content: ''; position: absolute; left: 6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--v-blue); background: var(--v-surface); }
.story li:not(:last-child) .node::after { content: ''; position: absolute; left: 10px; top: 17px; width: 2px; height: calc(100% + 26px); background: var(--v-line); }
.story li:last-child .node::before { background: var(--v-blue); }
.story .what { font-size: 14.5px; line-height: 1.45; }
.story .where { font-size: 12px; color: var(--v-blue); white-space: nowrap; padding-top: 2px; }
.story-foot { padding: 13px 20px; border-top: 1px solid var(--v-line); font-size: 13px; color: var(--v-muted); }

.hub-section { padding: 40px 0; border-top: 1px solid var(--v-line); }
.hub-section-top { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.hub-section h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.025em; line-height: 1.16; }
.hub-section-top p { max-width: 380px; color: var(--v-muted); font-size: 15px; line-height: 1.7; }
.tour-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--v-line); }
.tour-list li { border-bottom: 1px solid var(--v-line); }
.tour-list li:nth-child(odd) { border-right: 1px solid var(--v-line); }
.tour-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; align-content: start; padding: 22px 24px 22px 0; height: 100%; }
.tour-list li:nth-child(even) a { padding-left: 24px; }
.tour-list a:hover { background: var(--v-surface); }
.tour-list .n { font-size: 13px; color: var(--v-muted); }
.tour-list h3 { font-size: 19px; font-weight: 600; letter-spacing: -.4px; }
.tour-list .part { font-size: 12px; color: var(--v-blue); }
.tour-list p { grid-column: 2 / -1; color: var(--v-muted); font-size: 14.5px; line-height: 1.6; max-width: 46ch; }
.left-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--v-line); }
.left-out > div { padding: 24px 24px 24px 0; }
.left-out > div + div { padding-left: 24px; border-left: 1px solid var(--v-line); }
.left-out h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.left-out li { padding: 6px 0; color: var(--v-muted); font-size: 14.5px; }
.left-out .kept li::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--v-blue); margin: 0 10px 2px 0; }
.left-out .cut li { text-decoration: line-through; text-decoration-color: #5a6575; }
.hub-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 26px 0 34px; border-top: 1px solid var(--v-line); color: var(--v-muted); font-size: 13px; }
.hub-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hub-foot a:hover, .hub-foot button:hover { color: var(--v-ink); }
.hub-foot button { min-height: 44px; border: 0; background: none; color: inherit; padding: 8px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
  .hub-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
  .hub-hero h1 { max-width: 14ch; }
}
@media (max-width: 720px) {
  .hub-shell { width: calc(100% - 32px); }
  .hub-head nav { display: none; }
  .firm-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .firm-switch button { min-width: 0; padding: 10px 12px; border-bottom: 1px solid var(--v-line); }
  .firm-switch button:nth-child(odd) { border-left: 0; }
  .firm-switch button:nth-last-child(-n+2) { border-bottom: 0; }
  .hub-section { padding: 36px 0; }
  .hub-section-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tour-list, .left-out { grid-template-columns: minmax(0, 1fr); }
  .tour-list li:nth-child(odd) { border-right: 0; }
  .tour-list li:nth-child(even) a, .tour-list a { padding: 18px 0; }
  .left-out > div, .left-out > div + div { padding: 20px 0; border-left: 0; }
  .left-out > div + div { border-top: 1px solid var(--v-line); }
  .story li a { grid-template-columns: 64px 22px minmax(0, 1fr); padding: 12px 14px; }
  .story .where { grid-column: 3; }
  .story-head, .story-foot { padding-inline: 14px; }
}

/* The firm's monogram (hub, app header, public pages) */
.mono-mark { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px; background: var(--mark, #23395b); color: var(--mark-ink, #fff); font: 700 14px/1 var(--sans); letter-spacing: -.02em; }

/* ======================================================================================================
   PUBLIC: the sample firm's own website, booking page and client proposal (light, the firm's colours).
   ====================================================================================================== */
.pub { --accent: var(--f-brand); --accent-hover: color-mix(in srgb, var(--f-brand) 85%, #000); --accent-ink: var(--f-on-brand); --accent-soft: var(--f-tint); --accent-text: var(--f-brand);
  --bg: #ffffff; --panel: #ffffff; --inset: var(--f-paper); --hover: var(--f-paper); --ink: var(--f-ink); --ink-2: var(--f-ink-2); --ink-3: var(--f-ink-2); --line: var(--f-line); --line-soft: var(--f-line);
  background: #fff; color: var(--f-ink); font-size: 16px; }
.pub-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.pub-head { position: sticky; top: var(--chrome-h); z-index: 20; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--f-line); }
.pub-head .pub-shell { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.pub-brand { display: flex; align-items: center; gap: 11px; color: var(--f-ink); text-decoration: none; margin-right: auto; }
.pub-brand .mono-mark { --mark: var(--f-brand); --mark-ink: var(--f-on-brand); border-radius: 6px; }
.pub-brand strong { font: 650 18px/1.2 var(--sans); letter-spacing: -.015em; }
.pub-nav { display: flex; gap: 22px; font-size: 14.5px; }
.pub-nav a { color: var(--f-ink-2); text-decoration: none; }
.pub-nav a:hover { color: var(--f-ink); }
.pub-menu { display: none; }
.pub-phone { color: var(--f-ink); font-weight: 600; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.pub h1, .pub h2, .pub h3 { font-family: var(--sans); letter-spacing: -.025em; }

.site-hero { padding: 40px 0 44px; background: var(--f-paper); border-bottom: 1px solid var(--f-line); }
.site-hero .pub-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.site-hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; font-weight: 600; max-width: 17ch; }
.site-hero .sub { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--f-ink-2); max-width: 50ch; }
.site-hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.site-hero .btn { min-height: 48px; padding: 0 20px; font-size: 15px; }
.proof { border-left: 3px solid var(--f-accent); padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.proof li { display: flex; gap: 10px; align-items: center; }
.proof svg { color: var(--f-accent); width: 18px; height: 18px; flex: none; }
.proof .open-next { margin-top: 8px; font-size: 14px; color: var(--f-ink-2); }
.proof .open-next b { color: var(--f-ink); }
.site-section { padding: 40px 0; }
.site-section[id] { scroll-margin-top: 72px; }
.site-section + .site-section { border-top: 1px solid var(--f-line); }
.site-section-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.site-section h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; }
.site-section-top p { color: var(--f-ink-2); max-width: 44ch; }
.fees { border-top: 1px solid var(--f-line); }
.fees li { display: grid; grid-template-columns: minmax(0, 1fr) 200px 150px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--f-line); }
.fees h3 { font-size: 20px; font-weight: 600; }
.fees p { color: var(--f-ink-2); margin-top: 4px; font-size: 15px; }
.fees .fee { text-align: right; }
.fees .fee b { display: block; font: 650 22px/1.2 var(--sans); }
.fees .fee span { font-size: 13px; color: var(--f-ink-2); }
.fees .btn { justify-self: end; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--f-brand); color: var(--f-brand); font-weight: 700; margin-bottom: 14px; }
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--f-ink-2); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.quotes blockquote { margin: 0; }
.quotes p { font-size: 17px; line-height: 1.6; }
.quotes footer { margin-top: 12px; font-size: 14px; color: var(--f-ink-2); }
.quotes .sample-note { grid-column: 1 / -1; font-size: 13px; color: var(--f-ink-2); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.about > p { font-size: 18px; line-height: 1.65; }
.team li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--f-line); }
.team li:first-child { border-top: 1px solid var(--f-line); }
.team .mono-mark { --mark: var(--f-tint); --mark-ink: var(--f-brand); border-radius: 50%; width: 40px; height: 40px; }
.team b { display: block; }
.team span { color: var(--f-ink-2); font-size: 14px; }
.faq details { border-bottom: 1px solid var(--f-line); }
.faq details:first-child { border-top: 1px solid var(--f-line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 22px; line-height: 1; color: var(--f-ink-2); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 18px; color: var(--f-ink-2); max-width: 70ch; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.contact-facts { display: flex; flex-direction: column; gap: 18px; }
.contact-facts dt { font-size: 13px; font-weight: 600; color: var(--f-ink-2); }
.contact-facts dd { margin: 2px 0 0; font-size: 16px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .wide { grid-column: 1 / -1; }
.form .legal { font-size: 13px; color: var(--f-ink-2); }
.form-done { padding: 28px; border: 1px solid var(--f-line); border-radius: 12px; background: var(--f-paper); }
.form-done h3 { font-size: 22px; margin-bottom: 8px; }
.form-done p { color: var(--f-ink-2); }
.form-done .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pub-foot { padding: 32px 0 40px; background: var(--f-paper); border-top: 1px solid var(--f-line); font-size: 14px; color: var(--f-ink-2); }
.pub-foot .pub-shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.pub-foot .legal-line { flex-basis: 100%; font-size: 13px; }
.mobile-cta { display: none; }
@media (max-width: 880px) {
  .pub-nav { display: none; }
  .pub-menu { display: block; position: relative; margin-left: auto; }
  .pub-menu summary { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--f-line); border-radius: 8px; color: var(--f-ink); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
  .pub-menu summary::-webkit-details-marker { display: none; }
  .pub-menu[open] summary { background: var(--f-paper); }
  .pub-menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 24; width: min(280px, calc(100vw - 32px)); display: grid; padding: 6px; background: #fff; border: 1px solid var(--f-line); border-radius: 10px; box-shadow: var(--shadow); }
  .pub-menu nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 6px; color: var(--f-ink); text-decoration: none; font-size: 14px; }
  .pub-menu nav a:hover { background: var(--f-paper); }
  .pub-head .pub-shell > .btn { display: none; }
  .site-hero { padding: 36px 0; }
  .site-hero .pub-shell, .about, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fees li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .fees .fee { text-align: left; grid-row: 2; }
  .fees .btn { grid-row: 2; }
  .steps, .quotes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .site-section { padding: 36px 0; }
  .site-section-top { flex-direction: column; align-items: flex-start; }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--f-line); }
  .mobile-cta .btn { flex: 1; min-width: 0; padding: 8px 6px; white-space: normal; }
  .pub-site { padding-bottom: 90px; }
}
@media (max-width: 560px) {
  .pub-shell { width: calc(100% - 32px); }
  .pub-phone { display: none; }
  .form { grid-template-columns: minmax(0, 1fr); }
}

/* The website assistant opens from the FAQ button or mobile bar; its panel sits at bottom right. */
.asst-launch { display: inline-flex; align-items: center; flex: none; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--f-line); border-radius: 8px; background: #fff; color: var(--f-ink); font-weight: 600; }
.asst-launch:hover { border-color: var(--f-brand); }
.asst-launch svg { width: 20px; height: 20px; }
.asst { position: fixed; right: 20px; bottom: 20px; z-index: 31; display: flex; flex-direction: column; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - var(--chrome-h) - 40px)); background: #fff; border: 1px solid var(--f-line); border-radius: 14px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .45); overflow: hidden; }
.asst-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--f-line); }
.asst-head strong { display: block; font-size: 15px; }
.asst-head > div span { display: block; font-size: 12.5px; color: var(--f-ink-2); }
.asst-head .btn { margin-left: auto; padding: 0 8px; }
.asst-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.msg.bot { background: var(--f-paper); border: 1px solid var(--f-line); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--f-brand); color: var(--f-on-brand); border-bottom-right-radius: 4px; }
.msg a { color: inherit; font-weight: 600; }
.asst-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.asst-chips button { min-height: 44px; border: 1px solid var(--f-line); background: #fff; border-radius: 999px; padding: 8px 12px; font-size: 14px; color: var(--f-ink-2); }
.asst-chips button:hover { border-color: var(--f-brand); color: var(--f-ink); }
.asst form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--f-line); }
.asst form .input { min-height: 44px; }
.asst-note { padding: 0 16px 10px; font-size: 13px; color: var(--f-ink-2); }
@media (max-width: 880px) { .asst-launch { display: none; } .asst { right: 12px; bottom: 12px; } }

/* Booking */
.book { padding: 40px 0 80px; background: var(--f-paper); min-height: calc(100vh - var(--chrome-h) - 69px); }
.book-card { max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--f-line); border-radius: 14px; }
.book-top { padding: 24px 28px 18px; border-bottom: 1px solid var(--f-line); }
.book-top h1 { font-size: 28px; font-weight: 600; }
.book-top p { margin-top: 6px; color: var(--f-ink-2); }
.progress { display: flex; gap: 6px; margin-top: 18px; }
.progress li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--f-ink-2); }
.progress li::before { content: ''; height: 4px; border-radius: 2px; background: var(--f-line); }
.progress li[data-on]::before { background: var(--f-brand); }
.progress li[aria-current] { color: var(--f-ink); font-weight: 600; }
.book-body { padding: 26px 28px 28px; }
.book-body h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; width: 100%; padding: 15px 18px; border: 1px solid var(--f-line); border-radius: 10px; background: #fff; text-align: left; }
.choice:hover { border-color: var(--f-ink-2); }
.choice[aria-pressed='true'], .choice:has(input:checked) { border-color: var(--f-brand); box-shadow: inset 0 0 0 1px var(--f-brand); background: var(--f-tint); }
.choice b { font-size: 16px; }
.choice span { grid-column: 1; color: var(--f-ink-2); font-size: 14px; }
.choice .fee { grid-column: 2; grid-row: 1 / span 2; font-weight: 600; font-size: 14px; color: var(--f-ink); text-align: right; white-space: nowrap; }
.q { margin-bottom: 22px; border: 0; padding: 0; }
.q legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--f-line); border-radius: 999px; font-size: 14.5px; background: #fff; }
.opt input:checked + span { border-color: var(--f-brand); background: var(--f-brand); color: var(--f-on-brand); }
.opt input:focus-visible + span { outline: 2px solid var(--f-brand); outline-offset: 2px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.days button { min-height: 60px; padding: 10px 6px; border: 1px solid var(--f-line); border-radius: 10px; background: #fff; text-align: center; font-size: 13px; color: var(--f-ink-2); }
.days button b { display: block; font-size: 16px; color: var(--f-ink); }
.days button[aria-pressed='true'] { border-color: var(--f-brand); box-shadow: inset 0 0 0 1px var(--f-brand); background: var(--f-tint); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.times button { min-height: 44px; border: 1px solid var(--f-line); border-radius: 8px; background: #fff; font-weight: 600; }
.times button:hover { border-color: var(--f-ink-2); }
.times button[aria-pressed='true'] { background: var(--f-brand); color: var(--f-on-brand); border-color: var(--f-brand); }
.tz { margin-top: 12px; font-size: 13px; color: var(--f-ink-2); }
.book-nav { display: flex; justify-content: space-between; gap: 10px; padding: 18px 28px; border-top: 1px solid var(--f-line); }
.summary { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 16px; padding: 16px 18px; border: 1px solid var(--f-line); border-radius: 10px; background: var(--f-paper); margin-bottom: 20px; font-size: 14.5px; }
.summary dt { color: var(--f-ink-2); }
.summary dd { margin: 0; font-weight: 600; }
.done-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--f-tint); color: var(--f-brand); margin-bottom: 14px; }
.done-mark svg { width: 24px; height: 24px; }
.bring { margin-top: 18px; }
.bring h3 { font-size: 15px; margin-bottom: 8px; font-family: var(--sans); letter-spacing: 0; }
.bring li { padding: 4px 0 4px 18px; position: relative; color: var(--f-ink-2); }
.bring li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--f-accent); }
.after { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--f-line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--f-ink-2); }
@media (max-width: 560px) {
  .book { padding: 0 0 40px; background: #fff; }
  .book-card { border: 0; border-radius: 0; }
  .book-top, .book-body, .book-nav { padding-inline: 16px; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .summary { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .summary dd { margin-bottom: 8px; }
}

/* The client's proposal (and its print) */
.letter-wrap { padding: 32px 16px 80px; background: var(--f-paper); min-height: calc(100vh - var(--chrome-h)); }
.letter-tools { max-width: 820px; margin: 0 auto 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; font-size: 14px; color: var(--f-ink-2); }
.letter { max-width: 820px; margin-inline: auto; background: #fff; border: 1px solid var(--f-line); border-radius: 4px; padding: 56px 64px; }
.letter-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 2px solid var(--f-brand); }
.letter-head .pub-brand strong { font-size: 20px; }
.letter-head address { font-style: normal; text-align: right; font-size: 13px; color: var(--f-ink-2); line-height: 1.6; }
.letter-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--f-line); font-size: 14px; }
.letter-meta dt { color: var(--f-ink-2); font-size: 12.5px; }
.letter-meta dd { margin: 2px 0 0; font-weight: 600; }
.letter h1 { font-size: 30px; font-weight: 600; margin: 30px 0 10px; }
.letter .intro { color: var(--f-ink-2); max-width: 64ch; }
.letter h2 { font-size: 17px; font-weight: 600; margin: 30px 0 10px; font-family: var(--sans); letter-spacing: 0; }
.letter .scope li { padding: 5px 0 5px 22px; position: relative; }
.letter .scope li svg { position: absolute; left: 0; top: 8px; width: 15px; height: 15px; color: var(--f-accent); }
.fee-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.fee-table th { text-align: left; font-size: 12.5px; color: var(--f-ink-2); font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--f-line); }
.fee-table td { padding: 11px 0; border-bottom: 1px solid var(--f-line); vertical-align: top; }
.fee-table .r { text-align: right; padding-left: 16px; white-space: nowrap; }
.fee-table tfoot td { border-bottom: 0; padding: 6px 0; }
.fee-table tfoot tr.total td { border-top: 2px solid var(--f-ink); padding-top: 12px; font-weight: 700; font-size: 17px; }
.terms { font-size: 13.5px; color: var(--f-ink-2); }
.terms li { padding: 3px 0; }
.sign-box { margin-top: 34px; padding: 22px; border: 1px solid var(--f-line); border-radius: 10px; background: var(--f-paper); }
.sign-box h2 { margin-top: 0; }
.sign-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; margin-top: 12px; }
.signed { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; }
.signed .sig { grid-column: 2; font: italic 400 30px/1.1 'Newsreader', Georgia, serif; color: var(--f-brand); }
.signed .done-mark { grid-row: span 2; margin: 0; }
@media (max-width: 680px) {
  .letter { padding: 28px 20px; }
  .letter-head { flex-direction: column; }
  .letter-head address { text-align: left; }
  .letter-meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sign-grid { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .letter-wrap { padding: 0; background: #fff; }
  .letter-tools, .sign-box form { display: none !important; }
  .letter { border: 0; padding: 0; max-width: none; }
}

/* ======================================================================================================
   APP: the office (Inbox, Proposals, Calendar, Assistant, Owner).
   ====================================================================================================== */
.app-top { position: sticky; top: var(--chrome-h); z-index: 20; background: var(--panel); border-bottom: 1px solid var(--line); }
.app-top-in { max-width: 1280px; margin-inline: auto; display: flex; align-items: center; gap: 20px; min-height: 68px; padding: 0 24px; }
.app-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.app-brand .mono-mark { width: 32px; height: 32px; font-size: 12.5px; border-radius: 7px; }
.app-brand-copy strong { display: block; font-size: 15px; line-height: 1.15; }
.app-brand-copy span { display: block; font-size: 12px; color: var(--ink-3); }
.app-nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-right: auto; }
.app-nav::-webkit-scrollbar { display: none; }
.app-nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.app-nav a:hover { background: var(--inset); color: var(--ink); }
.app-nav a[aria-current] { background: var(--inset); color: var(--ink); font-weight: 650; }
.count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; }
.app-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink-2); }
.icon-btn:hover { color: var(--ink); background: var(--inset); }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 12.5px; }
.app main { max-width: 1280px; margin-inline: auto; padding: 28px 24px 40px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.page-head h1 { font-size: clamp(27px, 3vw, 34px); font-weight: 650; letter-spacing: -.025em; }
.page-head p { color: var(--ink-2); margin-top: 4px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.panel-head h2 { font-size: 18px; font-weight: 650; }
.panel-head .meta { font-size: 13px; color: var(--ink-3); }
.panel-body { padding: 16px 18px; }
.muted { color: var(--ink-3); }
.empty { padding: 40px 20px; text-align: center; color: var(--ink-3); }
.seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 10px; background: var(--inset); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 7px; background: transparent; padding: 0 12px; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.seg button[aria-pressed='true'] { background: var(--panel); color: var(--ink); font-weight: 650; box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.seg button b { font-size: 12px; color: var(--ink-3); font-weight: 600; }
@media (max-width: 760px) {
  .app-top-in { flex-wrap: wrap; gap: 0 12px; padding: 8px 16px 0; min-height: 0; }
  .app-brand { margin-right: auto; padding: 4px 0; }
  .app-nav { order: 3; flex-basis: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin: 6px -16px 0; padding: 4px 12px 8px; overflow: visible; }
  .app-nav a { grid-column: span 2; justify-content: center; min-height: 44px; padding: 6px; text-align: center; white-space: normal; line-height: 1.25; }
  .app-nav a:nth-child(n+4) { grid-column: span 3; }
  .app main { padding: 20px 16px 48px; }
  .page-head h1 { font-size: 23px; }
}

/* Inbox: list and detail */
.inbox { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.inbox-list { overflow: hidden; }
.inbox-tools { padding: 12px; border-bottom: 1px solid var(--line-soft); }
.inbox-list ul { max-height: calc(100vh - var(--chrome-h) - 250px); min-height: 360px; overflow-y: auto; }
.item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 2px 12px; width: 100%; min-height: 84px; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; text-align: left; color: var(--ink); }
.item:hover { background: var(--hover); }
.item[aria-current='true'] { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.item .avatar { width: 36px; height: 36px; grid-row: span 3; background: var(--inset); color: var(--ink-2); }
.item.unread .avatar { background: var(--accent-soft); color: var(--accent-text); }
.item b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item.unread b { font-weight: 750; }
.item time { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.item .svc { grid-column: 2 / -1; font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .row { grid-column: 2 / -1; display: flex; gap: 6px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.item .src { font-size: 12px; color: var(--ink-3); }
.detail-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line-soft); }
.detail-head .avatar { width: 46px; height: 46px; font-size: 15px; }
.detail-head h2 { font-size: 21px; font-weight: 650; }
.detail-head .contact { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.detail-head .contact a { color: var(--ink-2); text-decoration: none; display: inline-flex; gap: 5px; align-items: center; }
.detail-head .contact a:hover { color: var(--ink); }
.detail-head .contact svg { width: 15px; height: 15px; }
.detail-head .pill { margin-left: auto; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr); }
.detail-main { padding: 20px 22px; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.detail-side { padding: 20px 22px; display: flex; flex-direction: column; gap: 18px; font-size: 15px; }
.detail-side dt { font-size: 12.5px; color: var(--ink-3); }
.detail-side dd { margin: 2px 0 0; font-weight: 600; }
.said { padding: 14px 16px; border-radius: 10px; background: var(--inset); font-size: 15px; }
.said .who { font-size: 12.5px; color: var(--ink-3); margin-bottom: 4px; }
.answers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.answers div { background: var(--panel); padding: 10px 12px; }
.answers dt { font-size: 12.5px; color: var(--ink-3); }
.answers dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.next-step { border: 1px solid var(--accent); border-radius: 12px; overflow: hidden; }
.next-step > p { padding: 12px 16px; background: var(--accent-soft); color: var(--accent-text); font-size: 14px; font-weight: 650; display: flex; align-items: center; gap: 7px; }
.next-step > p svg { width: 16px; height: 16px; }
.next-step .body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.next-step .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-picks button { min-height: 44px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.slot-picks button:hover { border-color: var(--accent); }
.slot-picks button[aria-pressed='true'] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.timeline li { position: relative; padding: 0 0 14px 22px; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.timeline li:first-child::before { background: var(--accent); }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 7.5px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline time { display: block; font-size: 12px; color: var(--ink-3); }
.back-to-list { display: none; }
.h3 { font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 8px; }
@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-main { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .detail-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
@media (max-width: 820px) {
  .inbox { grid-template-columns: minmax(0, 1fr); }
  .inbox-list ul { max-height: none; min-height: 0; }
  .inbox[data-view='detail'] .inbox-list, .inbox[data-view='list'] .inbox-detail { display: none; }
  .back-to-list { display: inline-flex; margin-bottom: 12px; }
  .answers { grid-template-columns: minmax(0, 1fr); }
}

/* Proposals */
.prop-layout { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
.prop-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; width: 100%; min-height: 66px; padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; text-align: left; color: var(--ink); }
.prop-row:hover { background: var(--hover); }
.prop-row[aria-current='true'] { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.prop-row b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prop-row .amt { font-weight: 650; }
.prop-row .sub { font-size: 12.5px; color: var(--ink-3); }
.prop-totals { display: flex; gap: 0; border-bottom: 1px solid var(--line-soft); }
.prop-totals div { flex: 1; padding: 12px 16px; }
.prop-totals div + div { border-left: 1px solid var(--line-soft); }
.prop-totals dt { font-size: 12px; color: var(--ink-3); }
.prop-totals dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; }
.editor-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.editor-head h2 { font-size: 19px; font-weight: 650; }
.editor-head .meta { color: var(--ink-3); font-size: 13.5px; }
.editor-head .page-actions { margin-left: auto; }
.editor-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 22px; }
.status-line { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.status-line li { flex: 1 1 0; min-width: 110px; padding: 10px 12px; font-size: 13px; color: var(--ink-3); border-left: 1px solid var(--line-soft); }
.status-line li:first-child { border-left: 0; }
.status-line li b { display: block; color: var(--ink-2); font-size: 13.5px; }
.status-line li[data-on] { background: var(--good-soft); color: var(--good); }
.status-line li[data-on] b { color: var(--good); }
.lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.lines th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 0 8px 8px 0; border-bottom: 1px solid var(--line); }
.lines td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.lines .r { text-align: right; white-space: nowrap; }
.lines input { width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.lines input[type='number'] { text-align: right; }
.lines .qty { width: 76px; }
.lines .price { width: 120px; }
.lines .del { width: 36px; }
.lines tfoot td { border-bottom: 0; padding-top: 10px; }
.lines tfoot .total td { font-weight: 750; font-size: 16px; border-top: 1px solid var(--line); }
.add-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.add-row select { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); max-width: 100%; }
.scope-list li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: 14px; }
.scope-list svg { width: 16px; height: 16px; color: var(--good); margin-top: 3px; flex: none; }
.read-only .lines input { border-color: transparent; background: transparent; padding-inline: 0; }
@media (max-width: 900px) {
  .prop-layout { grid-template-columns: minmax(0, 1fr); }
}
/* On a phone each fee line is two rows: the item, then quantity, price and remove. */
@media (max-width: 600px) {
  .lines, .lines tbody, .lines tfoot { display: block; width: 100%; }
  .lines thead { display: none; }
  .lines tfoot tr { display: flex; justify-content: space-between; gap: 12px; }
  .lines tfoot td { padding: 6px 0; }
  .lines tfoot .total td { padding-top: 10px; }
  .lines tfoot .total { border-top: 1px solid var(--line); }
  .lines tfoot .total td { border-top: 0; }
  .lines tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px 8px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  .lines tbody td { padding: 0; border: 0; width: auto; }
  .lines tbody td:first-child { grid-column: 1 / -1; }
  .lines tbody td.hide-sm { display: none; }
  .lines tbody td.qty .sr-only, .lines tbody td.price .sr-only { position: static; width: auto; height: auto; margin: 0 0 3px; overflow: visible; clip: auto; white-space: normal; display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); text-align: left; }
  .lines tbody td.del { align-self: end; }
  .read-only .lines tbody tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Calendar */
.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.week { --hour: 52px; --start: 8; display: grid; grid-template-columns: 54px repeat(5, minmax(0, 1fr)); overflow: hidden; }
.week-head { display: contents; }
.week-head div { padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); text-align: center; }
.week-head div b { display: block; font-size: 15px; color: var(--ink); }
.week-head div.today b { color: var(--accent-text); }
.hours { position: relative; border-right: 1px solid var(--line-soft); }
.hours span { position: absolute; right: 8px; font-size: 11.5px; color: var(--ink-3); transform: translateY(-50%); }
.daycol { position: relative; border-right: 1px solid var(--line-soft); background-image: linear-gradient(var(--line-soft) 1px, transparent 1px); background-size: 100% var(--hour); }
.daycol:last-child { border-right: 0; }
.daycol .open-band { position: absolute; left: 0; right: 0; background: color-mix(in srgb, var(--accent) 6%, transparent); border-top: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); border-bottom: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); }
.ev { position: absolute; left: 3px; right: 3px; padding: 4px 7px; border-radius: 6px; font-size: 13px; line-height: 1.3; overflow: hidden; border-left: 3px solid; background: var(--inset); color: var(--ink); border-color: var(--ink-3); }
.ev b { display: block; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev span { color: var(--ink-2); }
.ev.consult { background: var(--accent-soft); border-color: var(--accent); }
.ev.focus { background: repeating-linear-gradient(135deg, var(--inset) 0 6px, transparent 6px 12px); border-color: var(--line); color: var(--ink-2); }
.ev.fresh { box-shadow: 0 0 0 2px var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-2); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; border-left: 3px solid; }
.legend .consult { background: var(--accent-soft); border-color: var(--accent); }
.legend .meeting { background: var(--inset); border-color: var(--ink-3); }
.legend .focus { background: repeating-linear-gradient(135deg, var(--inset) 0 3px, transparent 3px 6px); border-color: var(--line); }
.legend .open { background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px dashed var(--accent); }
.rules { display: flex; flex-direction: column; gap: 16px; }
.rules .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.daypick { display: flex; gap: 4px; }
.daypick label { position: relative; flex: 1; }
.daypick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.daypick span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.daypick input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.daypick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.next-open li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.next-open li:last-child { border-bottom: 0; }
.next-open b { font-weight: 650; }
.sync { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.sync .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex: none; }
.cal-mobile { display: none; }
.agenda-day { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.agenda-day h2 { font-size: 14px; font-weight: 650; margin-bottom: 6px; }
.agenda-day li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 6px 0 6px 10px; font-size: 14px; border-left: 3px solid var(--ink-3); margin-bottom: 4px; }
.agenda-day li.consult { border-color: var(--accent); }
.agenda-day li.focus { border-color: var(--line); color: var(--ink-2); }
.agenda-day li.fresh { background: var(--accent-soft); }
.agenda-day time { color: var(--ink-3); font-size: 13px; }
@media (max-width: 1080px) { .cal-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .week, .week + .legend { display: none; } .cal-mobile { display: block; } }

/* Assistant */
.asst-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.queue { display: flex; flex-direction: column; }
.task { padding: 18px 20px; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; }
.task:last-child { border-bottom: 0; }
.task .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--inset); color: var(--ink-2); grid-row: span 4; }
.task .ico svg { width: 19px; height: 19px; }
.task .top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.task .top b { font-size: 15.5px; }
.task .top time { font-size: 12.5px; color: var(--ink-3); margin-left: auto; }
.task .why { color: var(--ink-2); font-size: 14px; }
.task textarea { margin-top: 8px; min-height: 84px; field-sizing: content; }
.task .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.task .actions .muted { font-size: 13px; margin-left: auto; }
.task.done { opacity: .62; }
.task.done textarea { display: none; }
.perm { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.perm:last-child { border-bottom: 0; }
.perm b { font-size: 14.5px; }
.perm p { grid-column: 1; font-size: 13px; color: var(--ink-3); }
.perm select { grid-row: 1 / span 2; grid-column: 2; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 14px; }
.log li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; padding: 9px 18px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.log li:last-child { border-bottom: 0; }
.log time { color: var(--ink-3); font-size: 12.5px; }
@media (max-width: 1080px) { .asst-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .task { grid-template-columns: minmax(0, 1fr); padding: 16px; } .task .ico { display: none; } .perm { grid-template-columns: minmax(0, 1fr); } .perm select { grid-row: auto; grid-column: 1; justify-self: start; } }

/* Owner */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kpis div { padding: 18px 20px; border-left: 1px solid var(--line-soft); }
.kpis div:first-child { border-left: 0; }
.kpis dt { font-size: 14px; color: var(--ink-2); }
.kpis dd { margin: 4px 0 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.kpis small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); font-weight: 500; letter-spacing: 0; margin-top: 4px; }
.kpis .up { color: var(--good); }
.kpis .down { color: var(--bad); }
.owner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.funnel li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 64px; gap: 12px; align-items: center; padding: 9px 0; font-size: 14px; }
.funnel .bar { height: 20px; border-radius: 0 4px 4px 0; background: var(--inset); overflow: hidden; }
.funnel .bar i { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.funnel .n { text-align: right; font-weight: 700; }
.funnel .drop { grid-column: 2 / -1; font-size: 12.5px; color: var(--ink-3); margin-top: -4px; }
.funnel .drop.worst { color: var(--warn); font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 12.5px; color: var(--ink-3); font-weight: 600; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.table td, .table tbody th { padding: 11px 18px; border-bottom: 1px solid var(--line-soft); }
.table tbody th { font-size: 14px; color: var(--ink); text-align: left; font-weight: 600; }
.table tr:last-child th { border-bottom: 0; }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; white-space: nowrap; }
.table .barcell { width: 30%; }
.table .mini { height: 6px; border-radius: 3px; background: var(--inset); overflow: hidden; }
.table .mini i { display: block; height: 100%; background: var(--accent); }
.spark { display: block; width: 100%; height: auto; overflow: visible; }
.spark:focus-visible { outline-offset: 4px; border-radius: 4px; }
.spark .area { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.spark .line { fill: none; stroke: var(--accent); stroke-width: 2; }
.spark .axis { fill: var(--ink-3); font-size: 11px; font-family: var(--sans); }
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-size: 14px; margin-top: 16px; }
.callout svg { flex: none; margin-top: 2px; }
.callout b { color: inherit; }
@media (max-width: 1080px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kpis div:nth-child(4) { border-left: 0; } .kpis div:nth-child(n+4) { border-top: 1px solid var(--line-soft); } .owner-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis div { border-left: 0; border-top: 1px solid var(--line-soft); } .kpis div:nth-child(even) { border-left: 1px solid var(--line-soft); } .kpis div:nth-child(-n+2) { border-top: 0; } .kpis dd { font-size: 23px; } .funnel li { grid-template-columns: 104px minmax(0, 1fr) 48px; } .table th, .table td { padding-inline: 12px; } .table .barcell { display: none; } }

/* End of tour */
.done-page { min-height: calc(100vh - var(--chrome-h)); }
.done-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
@media (max-width: 980px) { .done-hero { grid-template-columns: minmax(0, 1fr); } }

/* Sample studio page showing the embed on an existing website. */
.embed-sample { background: #f1f2ee; color: #14191c; }
.embed-shell { width: min(1040px, calc(100% - 40px)); margin: auto; padding: 24px 0 44px; }
.embed-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-bottom: 1px solid #c9cfcb; padding-bottom: 16px; }
.embed-head strong { font-size: 19px; font-weight: 650; }
.embed-head a { display: inline-flex; align-items: center; min-height: 44px; color: #1c4a57; font-size: 14px; font-weight: 600; }
.embed-intro { padding: 36px 0 28px; max-width: 720px; }
.embed-intro > p:first-child { margin-bottom: 14px; color: #535e63; font-size: 14px; font-weight: 600; }
.embed-intro h1 { max-width: 17ch; font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -.035em; }
.embed-intro > p:last-child { max-width: 55ch; margin-top: 18px; color: #535e63; font-size: 17px; }
.embed-form { padding: clamp(20px, 3vw, 32px); border: 1px solid #c9cfcb; border-radius: 12px; background: #fff; }
.embed-form h2 { font-size: 25px; letter-spacing: -.02em; }
.embed-form p { max-width: 70ch; margin-top: 8px; color: #535e63; }
.embed-form iframe { display: block; width: 100%; min-height: 980px; margin-top: 20px; border: 0; }
@media (max-width: 560px) { .embed-shell { width: calc(100% - 32px); } .embed-intro { padding: 28px 0 24px; } }

/* The 49th Studios skin for the demo chrome (VENDOR=49th only). Appended to office.css and to the roofing demo's
   injected stylesheet by deploy/vendor-apply.mjs; double-brace placeholders are filled from shared/vendor.ts. Square corners (2px on tags
   and the focus ring), no shadows, no gradients. Sample brands keep their own colours; only the demo's own chrome,
   hub and end screens change. */
@font-face{font-family:"Geist";src:url("/fonts/Geist-Variable.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("/fonts/GeistMono-Variable.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Public Sans";src:url("/fonts/PublicSans-Variable.woff2") format("woff2");font-weight:100 900;font-display:swap}

:root{
  --w49-paper:#f1f2ee;--w49-raised:#fafaf7;--w49-sunk:#e4e7e2;
  --w49-ink:#14191c;--w49-muted:#535e63;--w49-line:#c9cfcb;
  --w49-brass:#8a5f14;--w49-brass-fill:#c99a3a;--w49-on-brass:#14191c;
  --w49-lake:#1c4a57;--w49-on-lake:#f1f2ee;--w49-lake-hover:#153a45;
  --w49-display:"Geist","Helvetica Neue",Arial,sans-serif;
  --w49-body:"Public Sans","Helvetica Neue",Arial,sans-serif;
  --w49-mono:"Geist Mono",ui-monospace,Menlo,Consolas,monospace;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --w49-paper:#0f1315;--w49-raised:#171c1f;--w49-sunk:#1f2629;
    --w49-ink:#e8eae5;--w49-muted:#9aa4a8;--w49-line:#2e363a;
    --w49-brass:#d8ae5b;--w49-brass-fill:#c99a3a;--w49-on-brass:#14191c;
    --w49-lake:#3f8c9e;--w49-on-lake:#0f1315;--w49-lake-hover:#5aa3b4;
  }
}
:root[data-theme="dark"]{
  --w49-paper:#0f1315;--w49-raised:#171c1f;--w49-sunk:#1f2629;
  --w49-ink:#e8eae5;--w49-muted:#9aa4a8;--w49-line:#2e363a;
  --w49-brass:#d8ae5b;--w49-brass-fill:#c99a3a;--w49-on-brass:#14191c;
  --w49-lake:#3f8c9e;--w49-on-lake:#0f1315;--w49-lake-hover:#5aa3b4;
}

/* ---- wordmark: "49th", a short 1px line, "STUDIOS" as a mono label ---- */
.w49{display:inline-flex;align-items:center;gap:8px;color:var(--w49-ink);line-height:1}
.w49 b{font:700 26px/1 var(--w49-display);letter-spacing:-.03em}
.w49 i{display:block;width:32px;height:1px;background:currentColor}
.w49 em{font:500 12px/1 var(--w49-mono);font-style:normal;letter-spacing:.16em;text-transform:uppercase}
.w49-sub{margin-left:12px;padding-left:12px;border-left:1px solid var(--w49-line);font:500 11px/1 var(--w49-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--w49-muted)}
.w49-mail,.w49-mail *{font-family:var(--w49-body)!important;letter-spacing:0!important;text-transform:none!important}
.w49-legal{font:500 11px/1.4 var(--w49-mono);letter-spacing:.08em;text-transform:uppercase}

/* ---- the one graphic device: a 1px hairline, a brass dot at its left end, "49°N" ---- */
.w49-parallel{display:flex;align-items:center;gap:14px;width:100%;margin:40px 0 0}
.w49-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--w49-brass-fill)}
.w49-lbl{flex:none;font:500 12px/1 var(--w49-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--w49-brass)}
.w49-rule{flex:1;height:1px;background:var(--w49-ink)}

/* ---- office hub and end screen ---- */
.hub{--v-bg:var(--w49-paper);--v-surface:var(--w49-raised);--v-elevated:var(--w49-sunk);--v-line:var(--w49-line);--v-ink:var(--w49-ink);--v-muted:var(--w49-muted);--v-blue:var(--w49-lake);
  background:var(--w49-paper);color:var(--w49-ink);font-family:var(--w49-body)}
.hub :focus-visible{outline:2px solid var(--w49-brass);outline-offset:2px;border-radius:2px}
.hub h1,.hub h2,.hub h3,.hub .wordmark{font-family:var(--w49-display)}
.hub h1{font-weight:700;letter-spacing:-.04em}
.hub h2,.hub h3{font-weight:700;letter-spacing:-.02em}
.hub .wordmark{font-weight:400;letter-spacing:0}
.hub :is(.tour-list .n,.tour-list .part,.story time,.story .where,.hub-pick>p,.firm-switch button span,.hub-foot){font-family:var(--w49-mono);letter-spacing:.08em;text-transform:uppercase}
.hub *{border-radius:0!important;box-shadow:none!important}
.hub .vbtn.primary{background:var(--w49-ink);border-color:var(--w49-ink);color:var(--w49-paper)}
.hub .vbtn.primary:hover{background:var(--w49-lake);border-color:var(--w49-lake);color:var(--w49-on-lake)}
.hub .firm-switch button[aria-pressed='true']{box-shadow:none!important;border-bottom:2px solid var(--w49-brass-fill)}
.hub .story .node::before{border-radius:50%!important;border-color:var(--w49-brass-fill)}
.hub .story li:last-child .node::before{background:var(--w49-brass-fill)}
.hub .left-out .kept li::before{background:var(--w49-brass-fill)}

/* ---- office demo bar (every office page) ---- */
.demo-chrome{background:var(--w49-paper);color:var(--w49-ink);border-bottom-color:var(--w49-line);font-family:var(--w49-body)}
.demo-bar a{border-radius:0;border-color:var(--w49-line);background:var(--w49-raised);color:var(--w49-ink)}
.demo-bar a:hover{background:var(--w49-sunk)}
.demo-bar .db-next{background:var(--w49-ink);border-color:var(--w49-ink);color:var(--w49-paper)}
.demo-bar .db-next:hover{background:var(--w49-lake);border-color:var(--w49-lake);color:var(--w49-on-lake)}
.db-mark{border-radius:0;background:var(--w49-brass-fill);color:var(--w49-on-brass);font:700 12px/1 var(--w49-mono);letter-spacing:0}
.demo-story summary{color:var(--w49-lake)}
:is(.demo-bar,.demo-chrome) :focus-visible{outline:2px solid var(--w49-brass);outline-offset:2px;border-radius:2px}

/* ---- roofing demo: the demo bar, the hub and the end screen ---- */
html[data-demo-brand]{--w49-radius:0}
html[data-demo-brand] :is(h1,h2,h3,h4){font-family:var(--w49-display)!important;font-weight:700}
html[data-demo-brand] :is(.label,.eyebrow,.shot-meta,.hub-tabs b,.hub-foot,.demo-owner-kicker){font-family:var(--w49-mono)!important;letter-spacing:.08em;text-transform:uppercase}
html[data-demo-brand] [data-demo-chrome]{background:var(--w49-paper);border-bottom-color:var(--w49-line)}
html[data-demo-brand] [data-demo-bar] :is(a,button){border-radius:0;background:var(--w49-raised);border-color:var(--w49-line);color:var(--w49-ink)}
html[data-demo-brand] [data-demo-bar] [data-demo-next]{background:var(--w49-ink);border-color:var(--w49-ink);color:var(--w49-paper)}
html[data-demo-brand] [data-demo-bar] [data-demo-next]:hover{background:var(--w49-lake);border-color:var(--w49-lake);color:var(--w49-on-lake)}
html[data-demo-brand] :is(a,button,input,select,textarea,[tabindex]):focus-visible,html[data-demo-brand] [data-demo-story] summary:focus-visible{outline:2px solid var(--w49-brass);outline-offset:2px;border-radius:2px}
html[data-demo-brand]{--active:var(--w49-lake);--active-tab:var(--w49-lake);--link:var(--w49-lake)}
html[data-demo-brand] :is(main.hub,main.done,.top) :is(.hub-hero,.hub-tabs,.hub-foot,.shot,.frame,.card,.btn,.seg,.seg a,.hub-tabs a,.icon-btn,.theme-btn,.brand-opt,.done-cta a,.hub-tabs b){border-radius:0!important;box-shadow:none!important}
html[data-demo-brand] main.hub .collage .frame{box-shadow:none!important}
html[data-demo-brand] main.hub .hub-tabs b{background:var(--w49-sunk);color:var(--w49-muted)}
html[data-demo-brand] main.hub .hub-tabs a[aria-current='true'] b{background:transparent;color:inherit}
html[data-demo-brand] main :is(.btn-primary,.hub-tabs a[aria-current='true']){background:var(--w49-ink);border-color:var(--w49-ink);color:var(--w49-paper)}
html[data-demo-brand] main :is(.btn-primary,.hub-tabs a[aria-current='true']):hover{background:var(--w49-lake);border-color:var(--w49-lake);color:var(--w49-on-lake)}
html[data-demo-brand] main.hub .seg a[aria-current='true'],html[data-demo-brand] main.hub .seg a.on,html[data-demo-brand] .top .seg a[aria-current='true']{background:var(--w49-lake);color:var(--w49-on-lake)}
html[data-demo-brand] main.done .w49-parallel{margin:32px 0 12px}
html[data-demo-brand] main.done .w49-done-legal{margin:0 0 14px;color:var(--w49-muted)}
html[data-demo-brand] main.hub .w49-parallel{margin:40px 0 0}
html[data-demo-brand] .shot-go{color:var(--w49-lake)}
@media (prefers-color-scheme:dark){
  html[data-demo-brand]:not([data-theme="light"]) [data-demo-chrome]{background:var(--w49-paper)}
}
