/* Public marketing pages for rubicall.com, ported from the "Landing Page.html"
   design. Every color comes from tokens.css; this file only adds layout
   variables. It is linked by pages/_landing_head alone, after the shared
   stylesheets, so its element rules win over the ones in tokens.css. */
:root {
  --shadow: 0 24px 64px rgba(16, 41, 37, .12);
  --shadow-sm: 0 12px 30px rgba(16, 41, 37, .09);
  --max: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --shadow: 0 24px 64px rgba(0, 0, 0, .30);
    --shadow-sm: 0 12px 30px rgba(0, 0, 0, .22);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
/* tokens.css gives the other pages a narrow reading column. The clip keeps
   the hero's off-edge circle from widening the page (body's overflow-x: hidden
   alone still lets a fragment jump or scroll restoration shift it sideways);
   clip, unlike hidden, leaves sticky descendants working. */
main { width: auto; margin: 0; overflow-x: clip; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 10px 14px; background: var(--ink); color: var(--bg); z-index: 50; }
.skip-link:focus { top: 16px; }
.nav-wrap {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  backdrop-filter: blur(14px);
}
.nav-wrap nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
/* :not(.button) so the nav button keeps its own colors (the design's plain
   `.nav-links a` outranked `.button` and printed muted text on teal). */
.nav-links a:not(.button) { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a:not(.button):hover, .nav-links a:not(.button):focus-visible { color: var(--ink); }
.status-line { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 600; }
.status-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px;
  background: var(--brand); color: var(--on-brand); text-decoration: none; font-weight: 700; cursor: pointer;
  appearance: none;
  transition: background .2s ease, transform .2s ease;
}
.button:hover { background: var(--brand-strong); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { background: var(--surface); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.button svg { width: 18px; height: 18px; }

.hero { padding: 72px 0 90px; position: relative; }
.hero:before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--brand-soft); right: -160px; top: -90px; opacity: .55; filter: blur(2px); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); gap: 76px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-strong); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.eyebrow:before { content: ""; flex: 0 0 auto; width: 28px; height: 2px; background: var(--brand); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: "IBM Plex Serif", serif; font-size: clamp(44px, 6vw, 76px); line-height: .99; letter-spacing: -.045em; margin-bottom: 24px; max-width: 760px; }
h1 em { color: var(--brand); font-weight: 600; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 650px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

.phone-stage { position: relative; padding: 26px 26px 34px; }
.phone-stage:before { content: ""; position: absolute; inset: 8% 0 0 12%; background: var(--navy); border-radius: 30px 10px 50px 14px; transform: rotate(2deg); }
.flow-card { position: relative; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 24px; overflow: hidden; container-type: inline-size; }
.flow-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.flow-head strong { font-size: 14px; }
.flow-head span { color: var(--muted); font-size: 12px; }
.conversation { padding: 22px 20px 20px; display: grid; gap: 13px; }
.bubble { max-width: 84%; padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.bubble.patient { background: var(--surface-2); border-bottom-left-radius: 5px; }
.bubble.ai { background: var(--brand); color: var(--on-brand); margin-left: auto; border-bottom-right-radius: 5px; }
.bubble small { display: block; opacity: .75; margin-top: 5px; }
/* At .75 the small print on --brand is 3.7:1; .9 keeps it at 4.5:1. */
.bubble.ai small { opacity: .9; }
.booking { margin: 4px 20px 12px; padding: 16px; background: var(--accent-soft); display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border-radius: 14px; }
.booking-icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--surface); color: var(--accent); border-radius: 10px; }
.booking strong, .booking span { display: block; }
.booking strong { font-size: 13px; }
.booking span { font-size: 12px; color: var(--muted); }
.booking-status { color: var(--brand-strong); font-size: 12px; font-weight: 700; text-align: right; }
/* In a narrow card the status goes under the request instead of crushing it. */
@container (max-width: 460px) {
  .booking { grid-template-columns: auto 1fr; row-gap: 6px; }
  .booking-icon { grid-row: span 2; }
  .booking-status { text-align: left; }
}
.sms-note { display: flex; align-items: center; gap: 7px; width: fit-content; margin: 0 20px 20px auto; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--brand-soft); color: var(--brand-strong); font-size: 12px; font-weight: 700; }
.sms-note svg { flex: 0 0 auto; }

.trust-strip { background: var(--navy); color: var(--bg); }
.trust-inner { min-height: 86px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-item p { margin: 0; font-size: 14px; line-height: 1.45; }
.trust-item { padding: 16px 24px; display: flex; align-items: center; gap: 12px; border-right: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item svg { color: var(--accent); flex: 0 0 auto; }
.trust-item strong { font-size: 14px; }

section { padding: 92px 0; }
/* Anchored sections clear the sticky nav when it wraps to two lines. */
section[id] { scroll-margin-top: 24px; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading h2 { font-family: "IBM Plex Serif", serif; font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 14px; }
.section-heading p { color: var(--muted); font-size: 18px; margin-bottom: 0; }
.problem-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.problem-statement { position: sticky; top: 100px; }
.problem-statement p { color: var(--muted); }
.moments { border-top: 1px solid var(--line); }
.moment { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.moment time { color: var(--brand-strong); font-size: 13px; font-weight: 700; }
.moment h3 { font-size: 20px; margin-bottom: 7px; }
.moment p { margin: 0; color: var(--muted); }

.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 30px 38px 0 0; counter-increment: step; }
.step:not(:last-child):after { content: ""; position: absolute; top: 20px; right: 28px; left: 64px; height: 1px; background: var(--line); }
.step-num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; margin-bottom: 26px; position: relative; z-index: 1; }
.step-num:before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 20px; }
.step p { color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--surface); }
.plan { padding: 30px; min-width: 0; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: var(--navy); color: var(--bg); }
.plan-tag { color: var(--brand-strong); font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.featured .plan-tag { color: var(--accent-on-navy); }
.plan h3 { font-size: 22px; margin-bottom: 8px; }
.price { font-family: "IBM Plex Serif", serif; font-size: 42px; line-height: 1; margin: 18px 0 8px; }
.price span { font-family: "IBM Plex Sans", sans-serif; font-size: 14px; font-weight: 500; color: var(--muted); }
.featured .price span, .featured .plan-copy, .featured .feature-list li { color: color-mix(in srgb, var(--bg) 74%, transparent); }
.plan-copy { color: var(--muted); font-size: 14px; min-height: 44px; }
.feature-list { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.featured .feature-list { border-color: color-mix(in srgb, var(--bg) 20%, transparent); }
.feature-list li { display: flex; gap: 10px; color: var(--muted); margin: 12px 0; font-size: 14px; }
.feature-list svg { color: var(--brand); flex: 0 0 auto; margin-top: 2px; }
.featured .feature-list svg { color: var(--accent); }
/* Not included yet: a clock instead of a check mark. */
.feature-list .soon svg { color: var(--muted); }
.featured .feature-list .soon svg { color: color-mix(in srgb, var(--bg) 74%, transparent); }
.plans-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

.calculator-wrap { display: grid; grid-template-columns: .88fr 1.12fr; background: var(--navy); color: var(--bg); overflow: hidden; }
.calculator-wrap + .calculator-wrap { margin-top: 24px; }
.calc-intro { padding: 58px 52px; display: flex; flex-direction: column; justify-content: space-between; }
.calc-intro h2 { font-family: "IBM Plex Serif", serif; font-size: clamp(35px, 4.5vw, 54px); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 18px; }
.calc-intro p { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.calc-intro .eyebrow { color: var(--accent-on-navy); }
.calc-note { font-size: 13px; margin-bottom: 0; }
.calc-form { padding: 52px; background: var(--surface); color: var(--ink); }
.field { margin-bottom: 24px; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.field label { font-size: 14px; font-weight: 700; }
.field output { color: var(--brand-strong); font-weight: 700; }
input[type="range"] { width: 100%; accent-color: var(--brand); }
select { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); padding: 0 12px; }
.result { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.result.single { grid-template-columns: 1fr; }
.result-label { color: var(--muted); font-size: 13px; }
.result-value { display: block; font-family: "IBM Plex Serif", serif; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin-top: 3px; }
.result-value.net { color: var(--brand-strong); }
.formula { color: var(--muted); font-size: 12px; margin: 18px 0 0; }

.results { padding-top: 28px; }
.results-box { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 58px; background: var(--accent-soft); }
.results-box h2 { font-family: "IBM Plex Serif", serif; font-size: clamp(36px, 4.5vw, 54px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 15px; }
.results-box p { color: var(--muted); }
.scorecard { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 26px; }
.scorecard-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.scorecard-head strong { font-size: 14px; }
.scorecard-head span { color: var(--accent-strong); font-size: 12px; font-weight: 700; }
.metric { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.metric:last-child { border-bottom: 0; }
.metric-num { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-size: 12px; font-weight: 700; }
.metric strong { display: block; font-size: 14px; }
.metric span { color: var(--muted); font-size: 13px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 24px 0 27px; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 700; line-height: 1.5; cursor: pointer; }
.faq-button svg { transition: transform .2s ease; }
.faq-button[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-answer { max-width: 790px; color: var(--muted); padding: 0 44px 24px 0; }
.faq-answer[hidden] { display: none; }
/* The toggles need JavaScript; without it every answer is shown. */
@media (scripting: none) {
  .faq-answer[hidden] { display: block; }
  .faq-button svg { display: none; }
}

.apply-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.apply .section-heading { margin-bottom: 0; }
.apply-card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 36px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.lead-form input:not([type="submit"]) { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); padding: 0 12px; }
.lead-form .field_with_errors { display: contents; }
/* A state indicator, so it takes the strong accent (--accent is 2.95:1 on --bg). */
.lead-form :is(input, select)[aria-invalid="true"] { border-color: var(--accent-strong); }
.form-actions { grid-column: 1 / -1; }
.form-alert, .form-errors { margin: 0 0 22px; padding: 14px 16px; background: var(--accent-soft); border-left: 3px solid var(--accent); font-size: 14px; }
.form-errors p { margin: 0 0 6px; font-weight: 700; }
.form-errors ul { margin: 0; padding-left: 18px; }
/* The honeypot: off screen for people, still in the form for bots. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.thanks { padding: 110px 0 120px; }
.thanks h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; }

.closing { padding: 20px 0 90px; }
.closing-box { background: var(--brand); color: var(--on-brand); padding: 64px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.closing h2 { font-family: "IBM Plex Serif", serif; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.07; letter-spacing: -.035em; margin-bottom: 12px; }
/* 90% rather than the design's 78%, which is 3.9:1 on --brand. */
.closing p { color: color-mix(in srgb, var(--on-brand) 90%, transparent); margin: 0; max-width: 650px; }
.closing .button { background: var(--surface); color: var(--brand-strong); }
footer { border-top: 1px solid var(--line); padding: 26px 0 34px; color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--ink); }

@media (max-width: 900px) {
  .hero { padding-top: 50px; }
  .hero-grid, .problem-grid, .calculator-wrap, .results-box { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .problem-grid { gap: 36px; }
  .problem-statement { position: static; }
  .trust-inner { grid-template-columns: 1fr; padding-block: 10px; }
  .trust-item, .trust-item:first-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); }
  .trust-item:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .step:after { display: none; }
  .step-num { grid-row: span 3; margin-bottom: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan-copy { min-height: 0; }
  .results-box { gap: 36px; }
  .apply-grid { grid-template-columns: 1fr; gap: 36px; }
  .closing-box { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-links a:not(.button) { display: none; }
  .nav-wrap nav { gap: 14px; }
  .status-line { font-size: 12px; }
  .hero { padding: 42px 0 62px; }
  h1 { font-size: clamp(41px, 13vw, 58px); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .phone-stage { padding: 14px 4px 30px; }
  section { padding: 68px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading p { font-size: 16px; }
  .moment { grid-template-columns: 1fr; gap: 4px; }
  .plan { padding: 26px 22px; }
  .calc-intro, .calc-form { padding: 34px 24px; }
  .result { grid-template-columns: 1fr; }
  .results-box, .closing-box { padding: 36px 24px; }
  .apply-card { padding: 26px 20px; }
  .lead-form { grid-template-columns: 1fr; }
  .thanks { padding: 72px 0 84px; }
  .footer-inner { flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* See it work: the practitioner walkthrough (pages/home/_see_it_work). The
   patient pane borrows the widget's look (widget.css styles the real iframe
   app) so it reads as the product; the office pane sketches the inbox and the
   handoff queue of the dashboard. */
.try { background: var(--surface-2); }
.walk-intro { max-width: 760px; margin-bottom: 36px; }
.try h2 { font-family: "IBM Plex Serif", serif; font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -.035em; line-height: 1.08; margin: 0 0 14px; }
.try .lead { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.try-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.closing-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.walkthrough { display: flex; flex-direction: column; gap: 16px; }
.walk-plays { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.walk-plays button[disabled] { opacity: .55; cursor: wait; transform: none; }
.walk-stage { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.demo-widget { display: flex; flex-direction: column; height: 560px; max-height: 80vh; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--brand); color: var(--on-brand); }
.demo-head strong { display: block; font-size: 16px; }
.demo-head span { font-size: 13px; opacity: .9; }
.demo-badge { flex: 0 0 auto; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, currentColor 18%, transparent); opacity: 1; }
.demo-notice { margin: 0; padding: 8px 16px; font-size: 12px; color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--line); }
.demo-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.dmsg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; white-space: pre-line; }
.dmsg-assistant { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.dmsg-patient { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 5px; }
.dmsg-staff { align-self: flex-start; background: var(--brand-soft); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.dmsg-label { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-strong); }
.demo-typing { display: flex; gap: 4px; padding: 0 16px 8px; }
.demo-typing[hidden] { display: none; }
.demo-typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); animation: demo-typing 1.2s infinite ease-in-out; }
.demo-typing span:nth-child(2) { animation-delay: .2s; }
.demo-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes demo-typing { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; }
.chip { padding: 7px 12px; border: 1px solid var(--brand); border-radius: 999px; background: var(--surface); color: var(--brand-strong); font-size: 13px; font-weight: 600; cursor: pointer; }
.chip:hover, .chip:focus-visible { background: var(--brand-soft); }
.demo-composer { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.demo-composer input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); }
.demo-composer button { padding: 0 16px; border: 0; border-radius: 10px; background: var(--brand); color: var(--on-brand); font-weight: 700; cursor: pointer; }
/* The office pane: --navy flips light in dark mode, so its text takes --bg. */
.office { display: flex; flex-direction: column; height: 560px; max-height: 80vh; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.office-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--navy); color: var(--bg); }
.office-head strong { display: block; font-size: 16px; }
.office-head span { font-size: 13px; opacity: .9; }
.office-empty { margin: 0; padding: 24px 16px; color: var(--muted); font-size: 14px; }
.office-empty[hidden] { display: none; }
.office-body { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 12px; }
.office-list { padding: 12px 16px 0; }
.office-list h3 { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.office-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.office-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 14px; line-height: 1.4; animation: office-in .35s ease-out; }
.office-row .muted { color: var(--muted); font-size: 13px; }
.office-row.urgent { border-color: var(--accent); background: var(--accent-soft); }
.office-kind { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.office-row.urgent .office-kind { background: var(--surface); color: var(--accent-strong); }
.office-status { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--brand-soft); color: var(--brand-strong); font-size: 13px; font-weight: 700; }
.office-status[hidden] { display: none; }
@keyframes office-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (scripting: none) { .demo-chips, .demo-composer, .walk-plays { display: none; } }
@media (max-width: 900px) { .walk-stage { grid-template-columns: 1fr; } .demo-widget, .office { height: 520px; } }
@media (prefers-reduced-motion: reduce) { .demo-typing span { animation: none; opacity: .6; } .office-row { animation: none; } }
