/* Giano design system. Calm, warm, trustworthy: ivory paper, deep sage, terracotta accents. */

@font-face { font-family: "Fraunces"; src: url("/assets/fraunces-c0c7953a.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/inter-5e6b0c47.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f8f5ef; --surface: #ffffff; --surface-2: #f3efe7; --ink: #18212b; --ink-soft: #5a6472; --ink-faint: #8c94a0;
  --line: #e7e0d4; --line-strong: #d6cdbd;
  --brand: #2c5a4d; --brand-strong: #1f4339; --brand-soft: #4d8a78; --brand-tint: #e3eee8; --on-brand: #ffffff;
  --accent: #d9734f; --accent-tint: #fbe6dc; --gold: #e9c27a;
  --amber: #9a6510; --amber-tint: #fcf1d8; --indigo: #4453c4; --indigo-tint: #e7e9fc;
  --green: #23744d; --green-tint: #def2e6; --rose: #b4405a; --rose-tint: #fbe3e8; --slate-tint: #eceef1;
  --shadow-sm: 0 1px 2px rgb(24 33 43 / 6%), 0 1px 1px rgb(24 33 43 / 4%);
  --shadow: 0 1px 2px rgb(24 33 43 / 5%), 0 8px 24px -8px rgb(24 33 43 / 12%);
  --shadow-lg: 0 24px 60px -20px rgb(31 67 57 / 35%);
  --radius: 14px; --radius-sm: 9px; --radius-pill: 999px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1418; --surface: #161d23; --surface-2: #1b242b; --ink: #e9eef0; --ink-soft: #a3adb6; --ink-faint: #75808a;
    --line: #253039; --line-strong: #33404b;
    --brand: #7cc3ab; --brand-strong: #a3dccb; --brand-soft: #5ea692; --brand-tint: #1a2f29; --on-brand: #0d1a16;
    --accent: #f0a185; --accent-tint: #3a231b; --gold: #d8b06a;
    --amber: #f2c46d; --amber-tint: #33270f; --indigo: #a9b2ff; --indigo-tint: #1f2440;
    --green: #7fd6a6; --green-tint: #15301f; --rose: #f39cb0; --rose-tint: #3a1b23; --slate-tint: #222b33;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%); --shadow: 0 10px 30px -12px rgb(0 0 0 / 60%); --shadow-lg: 0 30px 60px -20px rgb(0 0 0 / 70%);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15.5px/1.55 var(--font-body); color: var(--ink); background: var(--paper); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 560; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 0.4em; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); }
h2 { font-size: 1.3rem; margin-top: 1.6rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 0.9em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); font-size: 0.88rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; font-weight: 650; color: var(--accent); margin-bottom: 0.6rem; display: inline-block; }

/* Buttons */
.btn, button, input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 0.94rem/1 var(--font-body);
  padding: 11px 18px; border-radius: var(--radius-pill); border: 1px solid transparent; cursor: pointer; text-decoration: none;
  background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-sm); transition: transform .12s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn:hover, button:hover, input[type=submit]:hover { background: var(--brand-strong); color: var(--on-brand); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active, button:active { transform: translateY(0); }
.btn-ghost, button.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover, button.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, black); color: #fff; }
.btn-danger, button.btn-danger { background: transparent; color: var(--rose); border-color: color-mix(in srgb, var(--rose) 40%, transparent); box-shadow: none; }
.btn-danger:hover, button.btn-danger:hover { background: var(--rose-tint); color: var(--rose); }
.btn-sm, button.btn-sm { padding: 7px 12px; font-size: 0.84rem; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
button.link, .link button { background: none; border: 0; box-shadow: none; color: var(--brand); padding: 0; font-weight: 550; }
button.link:hover, .link button:hover { background: none; color: var(--brand-strong); transform: none; box-shadow: none; text-decoration: underline; }
button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.button_to { display: inline-flex; margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Forms */
form.stack, .stack { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
label, legend { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.hint { font-size: 0.82rem; color: var(--ink-faint); font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=datetime-local], select, textarea {
  font: 400 0.98rem/1.4 var(--font-body); width: 100%; padding: 11px 13px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-soft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
textarea { min-height: 7rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 450; font-size: 0.93rem; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 9px 15px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface); font-weight: 500; font-size: 0.92rem; transition: all .15s; }
.choice input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-sm); }
.choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.inline-form > * { flex: 1 1 180px; }
.inline-form > .btn, .inline-form > input[type=submit], .inline-form > button { flex: 0 0 auto; }

/* Surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 16px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-header h2, .card-header h3 { margin: 0; }
.empty { text-align: center; padding: 36px 20px; color: var(--ink-soft); border: 1px dashed var(--line-strong); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.empty svg { width: 34px; height: 34px; color: var(--brand-soft); margin-bottom: 8px; }

/* Flash and banners */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; background: var(--green-tint); color: var(--ink); border: 1px solid color-mix(in srgb, var(--green) 25%, transparent); }
.flash-alert { background: var(--rose-tint); border-color: color-mix(in srgb, var(--rose) 30%, transparent); }
.flash ul { margin: 0; padding-left: 18px; }
.banner { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 10px 28px; font-size: 0.9rem; background: var(--brand-tint); border-bottom: 1px solid var(--line); }
.banner-warn { background: var(--amber-tint); }
.banner a, .banner button.link { font-weight: 650; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 600; background: var(--slate-tint); color: var(--ink-soft); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill-pending { background: var(--amber-tint); color: var(--amber); }
.pill-assigned, .pill-planned { background: var(--indigo-tint); color: var(--indigo); }
.pill-accepted, .pill-done, .pill-active { background: var(--green-tint); color: var(--green); }
.pill-cancelled, .pill-no_show, .pill-expired, .pill-past_due { background: var(--rose-tint); color: var(--rose); }
.pill-trialing { background: var(--accent-tint); color: var(--accent); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
th { text-align: left; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); font-weight: 650; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: color-mix(in srgb, var(--brand-tint) 45%, transparent); }
td a { font-weight: 560; text-decoration: none; }
.who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 0.8rem; color: var(--brand-strong); background: var(--brand-tint); flex: none; }

/* App shell */
.shell { display: grid; min-height: 100vh; grid-template-columns: 1fr; }
.sidebar { background: var(--surface); border-bottom: 1px solid var(--line); }
.sidebar-inner { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 650; font-size: 1.12rem; color: var(--ink); text-decoration: none; }
.brand .mark, .mark { width: 32px; height: 32px; flex: none; padding: 2px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-sm); object-fit: contain; }
.brand-sm { font-size: 0.9rem; gap: 6px; vertical-align: middle; }
.brand-sm .mark { width: 20px; height: 20px; padding: 1px; border-radius: 5px; }
.powered { text-align: center; margin-bottom: 32px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.tenant-name { font-size: 0.82rem; color: var(--ink-soft); margin: 2px 0 10px 42px; }
.nav-toggle { display: flex; justify-content: space-between; align-items: center; }
.nav-toggle .burger { width: 40px; height: 40px; padding: 0; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); box-shadow: none; }
.nav-toggle .burger:hover { background: var(--surface-2); color: var(--ink); transform: none; }
.nav-panel { display: none; flex-direction: column; }
.nav-panel.is-open { display: flex; }
.nav { display: grid; gap: 2px; margin-top: 12px; }
.nav a, .nav button.link { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; color: var(--ink-soft); font-weight: 550; text-decoration: none; font-size: 0.94rem; width: 100%; }
.nav a:hover, .nav button.link:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav a[aria-current=page] { background: var(--brand-tint); color: var(--brand-strong); }
.nav svg { width: 18px; height: 18px; flex: none; }
.nav-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); font-weight: 650; padding: 14px 12px 4px; }
.sidebar-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.me { display: flex; gap: 10px; align-items: center; font-size: 0.88rem; }
.me small { display: block; color: var(--ink-faint); }
.content { padding: 24px 18px 64px; max-width: 1180px; width: 100%; }
.page-head { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.page-head h1 { margin: 0; }
.page-head p { margin: 6px 0 0; }

@media (min-width: 960px) {
  .shell { grid-template-columns: 264px 1fr; }
  .sidebar { border-bottom: 0; border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; overflow-y: auto; }
  .sidebar-inner { padding: 22px 16px; min-height: 100%; }
  .nav-toggle .burger { display: none; }
  .nav-panel { display: flex; flex: 1; }
  .sidebar-foot { margin-top: auto; }
  .content { padding: 36px 44px 80px; }
}

/* Grids and stats */
.grid { display: grid; gap: 18px; }
.grid-2 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 26px; }
.stat { position: relative; overflow: hidden; display: block; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.stat .value { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; line-height: 1; display: block; margin-bottom: 6px; }
.stat .label { color: var(--ink-soft); font-size: 0.88rem; font-weight: 550; }
.stat::after { content: ""; position: absolute; right: -24px; top: -24px; width: 90px; height: 90px; border-radius: 50%; background: var(--brand-tint); opacity: .7; }
.stat.warm::after { background: var(--accent-tint); }
.stat.gold::after { background: color-mix(in srgb, var(--gold) 30%, transparent); }

/* Tabs */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-pill); width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 18px; }
.tabs a { padding: 8px 16px; border-radius: var(--radius-pill); text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.tabs a[aria-current=page] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar input[type=search] { max-width: 300px; }
.toolbar select { max-width: 230px; }

/* Request detail */
.answers { display: grid; gap: 14px; margin: 0; }
.answers div { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface-2); }
.answers dt { font-size: 0.8rem; font-weight: 650; color: var(--ink-soft); margin-bottom: 4px; }
.answers dd { margin: 0; white-space: pre-wrap; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 20px; }
.meta span { display: inline-flex; gap: 6px; align-items: center; }
.meta svg { width: 15px; height: 15px; }
.quota { display: grid; gap: 8px; }
.quota-bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.quota-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-soft), var(--brand)); border-radius: 99px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 14px; }
.timeline li { position: relative; font-size: 0.92rem; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand-soft); }
.timeline time { display: block; color: var(--ink-faint); font-size: 0.8rem; }
.agenda-day { margin-bottom: 22px; }
.agenda-day h2 { font-size: 1.05rem; margin: 0 0 10px; display: flex; gap: 10px; align-items: baseline; }
.slot { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand-soft); border-radius: var(--radius-sm); margin-bottom: 8px; }
.slot time { font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .slot { grid-template-columns: 1fr; } }

/* Public: landing, auth, intake */
.public { min-height: 100vh; display: flex; flex-direction: column; }
.public-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; max-width: 1180px; width: 100%; margin: 0 auto; }
.public-nav nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.public-nav nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 550; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; width: 100%; }
.hero { position: relative; padding: 48px 0 72px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; }
.hero::before { width: 520px; height: 520px; background: var(--brand-tint); left: -160px; top: -120px; }
.hero::after { width: 460px; height: 460px; background: var(--accent-tint); right: -120px; top: 80px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 72px 0 110px; } }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem); font-weight: 520; letter-spacing: -0.03em; line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--brand); font-weight: 480; }
.hero .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; margin: 18px 0 28px; }
.hero .actions { gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 0.88rem; color: var(--ink-soft); }
.trust span { display: inline-flex; gap: 7px; align-items: center; }
.trust svg { width: 16px; height: 16px; color: var(--brand); }
.mock { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; background: var(--surface); }
.mock-row b { display: block; font-size: 0.92rem; }
.mock-row small { color: var(--ink-faint); }
.mock-float { position: absolute; right: -14px; bottom: -22px; background: var(--brand); color: var(--on-brand); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 0.86rem; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.mock-float svg { width: 18px; height: 18px; }
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin: 0 0 10px; }
.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); margin-bottom: 16px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature:nth-child(2) .icon { background: var(--accent-tint); color: var(--accent); }
.feature:nth-child(3) .icon { background: var(--indigo-tint); color: var(--indigo); }
.feature:nth-child(4) .icon { background: color-mix(in srgb, var(--gold) 25%, transparent); color: var(--amber); }
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding: 26px 26px 26px 74px; border-radius: 18px; background: var(--surface-2); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 600; }
.pricing { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 99px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; }
.plan .price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.plan .price small { font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 0.93rem; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 2px; }
.plan form, .plan .btn { margin-top: auto; }
.cta-band { border-radius: 26px; padding: 48px 32px; background: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--brand-soft) 60%, transparent), transparent 55%), linear-gradient(135deg, var(--brand-strong), var(--brand)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); margin-top: 0; }
.cta-band p { color: rgb(255 255 255 / 85%); }
.cta-band .btn { background: #fff; color: #1f4339; }
.footer { margin-top: auto; border-top: 1px solid var(--line); padding: 26px 20px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; color: var(--ink-faint); font-size: 0.86rem; padding: 0; }

.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-art { display: none; position: relative; overflow: hidden; padding: 48px; color: #fff; background: linear-gradient(160deg, #1f4339 0%, #2c5a4d 55%, #3f7f6e 100%); }
@media (min-width: 960px) { .auth-art { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-art .brand { color: #fff; }
.auth-art blockquote { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.25; margin: 0; max-width: 16em; font-weight: 450; }
.auth-art .orb { position: absolute; border-radius: 50%; border: 1px solid rgb(255 255 255 / 18%); }
.auth-art .orb.one { width: 420px; height: 420px; right: -140px; top: -120px; }
.auth-art .orb.two { width: 260px; height: 260px; right: 60px; bottom: -90px; background: rgb(217 115 79 / 22%); border: 0; filter: blur(2px); }
.auth-panel { display: flex; flex-direction: column; padding: 24px 20px; }
.auth-panel .top { display: flex; justify-content: space-between; align-items: center; }
.auth-form { width: 100%; max-width: 420px; margin: auto; padding: 32px 0; }
.auth-form h1 { font-size: 2rem; }
.auth-links { display: grid; gap: 6px; margin-top: 18px; font-size: 0.9rem; }

.intake-hero { position: relative; overflow: hidden; padding: 56px 20px 120px; text-align: center; color: #fff; background: radial-gradient(circle at 80% 0%, rgb(217 115 79 / 40%), transparent 45%), linear-gradient(150deg, #1f4339, #2c5a4d 60%, #3f7f6e); }
.intake-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.intake-hero p { color: rgb(255 255 255 / 82%); max-width: 34em; margin: 0 auto; }
.intake-hero .locale-switch { position: absolute; right: 16px; top: 16px; }
.intake-hero .locale-switch button { color: #fff; border-color: rgb(255 255 255 / 35%); }
.intake-hero .locale-switch button[aria-pressed=true] { background: #fff; color: #1f4339; }
.intake-card { max-width: 640px; margin: -84px auto 48px; padding: 32px; position: relative; box-shadow: var(--shadow-lg); }
@media (max-width: 640px) { .intake-card { margin: -84px 12px 32px; padding: 22px; } }
.intake-card .section-title { font-family: var(--font-display); font-size: 1.15rem; margin: 10px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.thanks { text-align: center; }
.thanks .seal { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green); margin: 0 auto 16px; }
.thanks .seal svg { width: 34px; height: 34px; }

.locale-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.locale-switch form { display: contents; }
.locale-switch button { background: transparent; color: var(--ink-soft); box-shadow: none; padding: 5px 11px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; border-radius: 99px; border: 1px solid transparent; }
.locale-switch button:hover { background: var(--surface-2); color: var(--ink); transform: none; box-shadow: none; }
.locale-switch button[aria-pressed=true] { background: var(--ink); color: var(--paper); }

.narrow { max-width: 560px; }
.list-plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.workspace { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; }
hr.soft { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .mock { transform: none; } }
.nav .button_to { display: block; }
.nav button.link { justify-content: flex-start; }
.sidebar-foot .locale-switch { justify-self: start; }
.auth-logo { width: 240px; height: auto; padding: 18px 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); position: relative; }
.sort-link { color: inherit; text-decoration: none; }
.sort-link:hover { color: var(--ink); text-decoration: underline; }
th[aria-sort] .sort-link { color: var(--ink); }
.pill-quota-full { background: var(--amber-tint); color: var(--amber); }
td.calls { white-space: nowrap; font-variant-numeric: tabular-nums; }
