/* © Varadin Systems Inc. Licensed to client; not transferred.
   The office edition's one stylesheet: fonts, the demo chrome, the hub (Varadin'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: #f6f8fb; --panel: #ffffff; --inset: #eef2f7; --hover: #f3f6fa;
  --ink: #172031; --ink-2: #46536a; --ink-3: #59677c;
  --line: #d5dce7; --line-soft: #e5eaf1;
  --accent: var(--f-brand, #2458b0); --accent-hover: color-mix(in srgb, var(--accent) 85%, #000); --accent-ink: var(--f-on-brand, #ffffff); --accent-soft: var(--f-tint, #e8efff); --accent-text: var(--f-brand, #2458b0);
  --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: #0e1116; --panel: #151a22; --inset: #1b212b; --hover: #1a2029;
    --ink: #eef1f5; --ink-2: #a8b1bf; --ink-3: #8f98a7;
    --line: #29313d; --line-soft: #20262f;
    --accent: #6f9cff; --accent-hover: #90b2ff; --accent-ink: #0e1116; --accent-soft: #1b2741; --accent-text: #9dbcff;
    --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: #0e1116; --panel: #151a22; --inset: #1b212b; --hover: #1a2029;
  --ink: #eef1f5; --ink-2: #a8b1bf; --ink-3: #8f98a7;
  --line: #29313d; --line-soft: #20262f;
  --accent: #6f9cff; --accent-hover: #90b2ff; --accent-ink: #0e1116; --accent-soft: #1b2741; --accent-text: #9dbcff;
  --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; } }

/* ---------- Varadin demo navigation stays distinct from the fictional firm ---------- */
.demo-chrome { position: sticky; top: 0; z-index: 40; background: #f8fafc; color: #172031; border-bottom: 1px solid #cbd5e2; font: 500 13px/1.4 var(--sans); }
.brand-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; padding: 6px max(16px, env(safe-area-inset-left)); background: #172031; color: #fff; font-size: 13px; line-height: 1.4; }
.brand-bar b { font-weight: 700; }
.brand-bar span { color: #cbd5e2; }
.demo-ribbon { margin: 0; color: #46536a; font-size: 13px; line-height: 1.4; }
.demo-bar { position: relative; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px)); }
.demo-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 13px; border: 1px solid #cbd5e2; border-radius: 8px; color: #172031; text-decoration: none; white-space: nowrap; font-weight: 600; }
.demo-bar a:hover { background: #eef2f7; }
.db-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; background: #2458b0; 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: #2458b0; border-color: #2458b0; color: #fff; }
.demo-bar .db-next:hover { background: #1b458e; }
.db-where { margin-left: auto; min-width: 0; display: flex; justify-content: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.db-count { color: #59677c; }
.db-title { color: #172031; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.demo-story { position: static; font-size: 13px; color: #46536a; }
.demo-story summary { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border-radius: 8px; cursor: pointer; font-weight: 600; color: #2458b0; list-style: none; white-space: nowrap; }
.demo-story summary::-webkit-details-marker { display: none; }
.demo-story summary:hover { background: #eef2f7; }
.db-info { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%; font: 700 11px/1 Georgia, serif; font-style: italic; }
.demo-story p { position: absolute; z-index: 45; top: calc(100% + 6px); left: max(16px, env(safe-area-inset-left, 0px)); width: min(420px, calc(100vw - 32px)); padding: 14px 16px; background: #fff; border: 1px solid #cbd5e2; border-radius: 10px; box-shadow: 0 12px 32px -14px rgb(21 26 35 / .35); font-size: 14px; line-height: 1.5; color: #172031; }
.demo-story p span { display: block; margin-top: 6px; color: #59677c; font-size: 13px; }
@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: 30vw; } .db-story-label { display: none; } .demo-story summary { padding: 0 12px; } }
@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: #f2f4f7; 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: Varadin's own look (the varadinsystems.com tokens): near-black navy, one periwinkle blue, Inter.
   ====================================================================================================== */
.hub { --v-bg: #f6f8fb; --v-surface: #ffffff; --v-elevated: #e8efff; --v-line: #d5dce7; --v-ink: #172031; --v-muted: #46536a; --v-blue: #2458b0;
  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: #1b458e; }
.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: 20px; font-size: 14.5px; }
.pub-nav a { color: var(--f-ink-2); text-decoration: none; white-space: nowrap; }
.pub-head .btn { white-space: nowrap; }
.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: clamp(32px, 5vw, 64px); align-items: center; }
.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: clamp(44px, 5.5vw, 72px) 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: 28px; }
.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; }
.fees.no-fee li { grid-template-columns: minmax(0, 1fr) auto; }
.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); }
.pub-brand:has(.pub-sub) { flex-wrap: wrap; row-gap: 0; }
.pub-sub { flex-basis: 100%; margin-left: 47px; margin-top: -3px; font: 500 12.5px/1.3 var(--sans); color: var(--f-ink-2); }
.listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.listing { display: flex; flex-direction: column; border: 1px solid var(--f-line); border-radius: 8px; background: #fff; overflow: hidden; }
.listing-pic { display: grid; place-items: end start; min-height: 112px; padding: 12px 14px; background: var(--f-tint); color: var(--f-brand); font: 650 13px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.listing-pic[data-kind='Industrial'] { background: #e3e6e4; }
.listing-pic[data-kind='Retail'] { background: #efe6d8; }
.listing-pic[data-kind='Land'] { background: #e1e8dc; }
.listing-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.listing-tag { display: flex; justify-content: space-between; gap: 8px; font: 650 12px/1.3 var(--sans); letter-spacing: .03em; text-transform: uppercase; color: var(--f-accent); }
.listing-tag span { color: var(--f-ink-2); font-weight: 500; text-transform: none; letter-spacing: 0; }
.listing h3 { font-size: 18px; font-weight: 600; }
.listing-addr { font-size: 14px; color: var(--f-ink-2); }
.listing dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 4px 0; }
.listing dt { font-size: 12px; color: var(--f-ink-2); }
.listing dd { margin: 0; font: 600 14px/1.3 var(--sans); text-align: left; }
.listing dl > div { display: block; text-align: left; }
.listing-body > p:not(.listing-tag):not(.listing-addr) { font-size: 14px; color: var(--f-ink-2); }
.listing-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.listing-brokerage { margin-top: 16px; font-size: 13px; color: var(--f-ink-2); }
.eyebrow { margin: 22px 0 0; font: 650 12px/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--f-accent); }
.eyebrow + h1 { margin-top: 6px; }
.key-terms-list { display: grid; gap: 8px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 8px; }
.key-terms-list > div { padding: 8px 0; border-bottom: 1px solid var(--f-line); }
.key-terms-list dt { font-size: 12.5px; color: var(--f-ink-2); }
.key-terms-list dd { margin: 0; font-weight: 600; text-align: left; }
.key-terms-list ul { margin: 4px 0 0; padding-left: 18px; font-weight: 400; }
.key-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.signing-panel { display: grid; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
@media (max-width: 640px) { .key-terms-list, .key-terms { grid-template-columns: 1fr; } }
.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: 1100px) { .pub-phone { display: none; } }
@media (max-width: 960px) {
  .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; }
}
@media (max-width: 880px) {
  .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; }
  .fees.no-fee .btn { grid-row: auto; grid-column: 1; justify-self: start; }
  .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: 24px; }
.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; min-height: 56px; padding: 12px 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-tools .seg { display: flex; width: 100%; }
.inbox-tools .seg button { flex: 1 1 auto; justify-content: center; padding: 0 8px; font-size: 13.5px; }
.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); }
@media (min-width: 1081px) { .kpis:has(> div:nth-child(6)) { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.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); align-items: center; }
@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: #f6f8fb; color: #172031; }
.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 #d5dce7; 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: #2458b0; font-size: 14px; font-weight: 600; }
.embed-intro { padding: 36px 0 28px; max-width: 720px; }
.embed-intro > p:first-child { margin-bottom: 14px; color: #46536a; 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: #46536a; font-size: 17px; }
.embed-form { padding: clamp(20px, 3vw, 32px); border: 1px solid #d5dce7; border-radius: 12px; background: #fff; }
.embed-form h2 { font-size: 25px; letter-spacing: -.02em; }
.embed-form p { max-width: 70ch; margin-top: 8px; color: #46536a; }
.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; } }

/* Listings (the commercial listings index sample) and Property search (the City lookup sample) */
.lx { display: grid; grid-template-columns: minmax(260px, 300px) minmax(0, 1fr); grid-template-areas: 'filters map' 'filters results'; gap: 16px; align-items: start; }
.lx-filters { grid-area: filters; display: grid; gap: 14px; padding: 16px; position: sticky; top: calc(var(--chrome-h) + 84px); max-height: calc(100vh - var(--chrome-h) - 100px); overflow-y: auto; }
.lx-map { grid-area: map; overflow: hidden; }
.lx-results { grid-area: results; }
.lx fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.lx legend, .lx .field > span { display: block; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.lx-size { padding: 12px !important; border: 1px solid var(--accent) !important; border-radius: 10px; background: var(--accent-soft); }
.lx-size legend { float: left; width: 100%; color: var(--ink); font-size: 14px; }
.lx-req { font-weight: 600; font-size: 11.5px; color: var(--accent-text); text-transform: uppercase; letter-spacing: .04em; margin-left: 4px; }
.lx-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; clear: both; }
.lx .field input, .lx .field select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
.lx-hint { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.lx-prompt { margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent-soft); color: var(--ink); font-size: 14px; }
.lx-prompt .lx-link { font-size: 14px; }
.lx-link { border: 0; background: none; padding: 0; color: var(--accent-text); text-decoration: underline; font-size: 13px; min-height: 0; cursor: pointer; }
.lx .seg { display: flex; width: 100%; }
.lx .seg button { flex: 1 1 0; justify-content: center; }
.lx-types { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.lx-types legend { width: 100%; }
.lx-types label, .lx-check { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 14px; }
.lx-save { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.lx-saved ul { display: grid; gap: 6px; font-size: 14px; }
.lx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.lx-crumbs button { border: 0; background: none; padding: 4px 2px; min-height: 32px; color: var(--accent-text); font-weight: 600; text-decoration: underline; }
.lx-crumbs [aria-current] { font-weight: 650; }
.lx-mapbox { padding: 12px; color: var(--ink); --cm-bg: var(--inset); --cm-line: var(--line); --cm-edge: var(--ink-3); --cm-fill: var(--panel); --cm-hover: var(--accent-soft); --cm-pin: var(--accent); --cm-pin-sale: var(--warn); --cm-pin-ring: var(--panel); --cm-pin-focus: var(--ink); --cm-radius: 10px; --cm-q1: color-mix(in srgb, var(--accent) 14%, var(--panel)); --cm-q2: color-mix(in srgb, var(--accent) 6%, var(--panel)); --cm-inner: color-mix(in srgb, var(--ink) 16%, transparent); --cm-has: color-mix(in srgb, var(--accent) 22%, var(--panel)); --cm-pin-ink: var(--accent-ink); --cm-halo: var(--panel); }
.lx-mapbox .cre-map { max-height: 620px; }
.lx-comms { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; }
.lx-comms button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 13.5px; }
.lx-comms button b { font-variant-numeric: tabular-nums; color: var(--accent-text); }
.lx-comms button[aria-pressed='true'] { border-color: var(--accent); background: var(--accent-soft); }
.lx-note { padding: 0 14px 12px; font-size: 12.5px; color: var(--ink-3); }
.lx-list { display: grid; gap: 0; }
.lx-card { display: grid; gap: 6px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.lx-card:last-child { border-bottom: 0; }
.lx-card.lx-on { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.lx-top { display: flex; flex-wrap: wrap; gap: 6px; }
.lx-card h3 { font-size: 17px; font-weight: 650; }
.lx-unit { font-weight: 500; color: var(--ink-2); }
.lx-where { font-size: 13px; color: var(--ink-3); }
.lx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0; }
.lx-facts .lx-k { display: block; font-size: 12px; color: var(--ink-3); }
.lx-facts dd { margin: 0; font-weight: 600; font-size: 14.5px; }
.lx-credit { font-size: 13.5px; color: var(--ink-2); }
.lx-credit a { white-space: nowrap; }
.lx-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
@media (max-width: 960px) {
  .lx { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'filters' 'map' 'results'; }
  .lx-filters { position: static; max-height: none; }
}
@media (max-width: 560px) { .lx-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: 16px; align-items: start; }
.ps-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 16px; align-items: end; }
.ps-form fieldset { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ps-form legend { width: 100%; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 4px; padding: 0; }
.ps-form fieldset label { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 14px; }
.ps-form .field > span { display: block; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; }
.ps-form .field input, .ps-form .field select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
.ps-scroll { overflow-x: auto; }
.ps table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.ps th, .ps td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.ps th { font-size: 12.5px; color: var(--ink-3); font-weight: 650; }
.ps td.num, .ps th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ps tbody tr { cursor: pointer; }
.ps tbody tr:hover { background: var(--hover); }
.ps tbody tr[aria-selected='true'] { background: var(--accent-soft); }
.ps-chip { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--inset); color: var(--ink-2); white-space: nowrap; }
.ps-chip[data-category='industrial'] { background: color-mix(in srgb, var(--accent) 16%, var(--panel)); color: var(--accent-text); }
.ps-chip[data-category='commercial'] { background: var(--warn-soft); color: var(--warn); }
.ps-chip[data-category='direct_control'] { background: var(--bad-soft); color: var(--bad); }
.ps-map svg { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line-soft); background: var(--inset); }
.ps-map path { fill: color-mix(in srgb, var(--accent) 22%, transparent); stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; cursor: pointer; }
.ps-map path[aria-selected='true'] { fill: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 3; }
.ps-card { display: grid; gap: 10px; padding: 16px; }
.ps-card dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; }
.ps-card dt { font-size: 12px; color: var(--ink-3); }
.ps-card dd { margin: 0; font-weight: 600; font-size: 14.5px; }
.ps-card .ps-src { font-size: 12.5px; color: var(--ink-3); }
.ps-pipe { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.ps-pipe label { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.ps-pipe input[type='text'] { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); }
@media (max-width: 960px) { .ps { grid-template-columns: minmax(0, 1fr); } }
