/* 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;
  --hero-deep: #1f4339; --hero: #2c5a4d; --hero-light: #3f7f6e;
  --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; }
[hidden] { display: none !important; }
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; }
.empty p { margin: 0; }
.empty .empty-hint { margin-top: 6px; font-size: 0.9rem; color: var(--ink-faint); max-width: 46ch; margin-inline: auto; }
.empty .empty-action { margin-top: 14px; }

/* Getting started checklist */
.onboarding { margin-bottom: 24px; }
.onboarding .card-header { align-items: flex-start; }
.onboarding h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.1rem; }
.onboarding h2 svg { color: var(--brand-soft); }
.onboarding .card-header p { margin: 4px 0 0; }
.onboarding progress { display: block; width: 100%; height: 6px; margin: 14px 0 6px; border: 0; border-radius: var(--radius-pill); background: var(--slate-tint); appearance: none; overflow: hidden; }
.onboarding progress::-webkit-progress-bar { background: var(--slate-tint); }
.onboarding progress::-webkit-progress-value { background: var(--brand); border-radius: var(--radius-pill); }
.onboarding progress::-moz-progress-bar { background: var(--brand); border-radius: var(--radius-pill); }
.onboarding-steps { list-style: none; margin: 0; padding: 0; }
.onboarding-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.onboarding-steps li:first-child { border-top: 0; }
.onboarding-steps li > div { display: flex; flex-direction: column; gap: 2px; }
.onboarding-steps a { font-weight: 600; }
.onboarding-steps .tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.onboarding-steps .done { color: var(--ink-soft); }
.onboarding-steps .done .tick { background: var(--green); border-color: var(--green); color: var(--surface); }
.onboarding-steps .done > div { text-decoration: line-through; text-decoration-color: var(--line-strong); }
/* Getting-started progress as a ring around the avatar: brand for done, a light track for the rest. */
.avatar-progress { display: inline-grid; place-items: center; flex: none; padding: 4px; border-radius: 50%; background: conic-gradient(var(--brand) var(--progress), var(--line-strong) 0); cursor: help; }
/* Shown in the top layer, so the scrolling sidebar and table wrappers don't clip it; placed by the tooltip controller. */
.ring-tip { position: fixed; inset: auto; margin: 0; width: max-content; max-width: 240px; padding: 8px 12px; border: 0; border-radius: var(--radius-sm); background: var(--ink); color: var(--surface); box-shadow: var(--shadow); font-size: 0.8rem; line-height: 1.4; pointer-events: none; }
.ring-tip strong { display: block; font-size: 0.86rem; }
.avatar-progress > .avatar { box-shadow: 0 0 0 2px var(--surface); }
.onboarding-steps .recommended { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--slate-tint); color: var(--ink-soft); font-size: 0.74rem; font-weight: 600; vertical-align: 1px; }
/* Profile page: the form, with the getting-started steps beside it on wide screens and below it on phones. */
.profile-layout { display: grid; gap: 24px; align-items: start; }
.profile-layout .completion { margin-bottom: 0; }
.profile-main input[readonly] { background: var(--slate-tint); color: var(--ink-soft); cursor: default; }
.completion-percent { font-size: 1.6rem; line-height: 1; color: var(--brand); }
@media (min-width: 1100px) {
  .profile-layout { grid-template-columns: minmax(0, 560px) minmax(280px, 380px); }
  .profile-layout .completion { position: sticky; top: 24px; }
}

/* Welcome tour (driver.js, see driver.css): the popover in Giano's colors, light and dark */
.driver-popover.tour-popover { font-family: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; max-width: 340px; }
.tour-popover .driver-popover-title { font-family: "Fraunces", serif; font-size: 1.15rem; font-weight: 600; }
.tour-popover .driver-popover-description { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; margin-top: 6px; }
.tour-popover .driver-popover-progress-text { color: var(--ink-faint); font-size: 0.8rem; }
.tour-popover .driver-popover-footer button { all: unset; display: inline-block; cursor: pointer; padding: 6px 12px; border-radius: var(--radius-pill); font-size: 0.84rem; font-weight: 600; border: 1px solid var(--line-strong); color: var(--ink); }
.tour-popover .driver-popover-footer .driver-popover-next-btn { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.tour-popover .driver-popover-footer button:focus-visible { outline: 2px solid var(--brand-soft); outline-offset: 2px; }
.tour-popover .driver-popover-footer button:hover { background: var(--surface-2); }
.tour-popover .driver-popover-footer .driver-popover-next-btn:hover { background: var(--brand-strong); }
.tour-popover .driver-popover-close-btn { color: var(--ink-faint); }
.tour-popover .driver-popover-close-btn:hover, .tour-popover .driver-popover-close-btn:focus { color: var(--ink); }
.tour-popover .driver-popover-arrow-side-left { border-left-color: var(--surface); }
.tour-popover .driver-popover-arrow-side-right { border-right-color: var(--surface); }
.tour-popover .driver-popover-arrow-side-top { border-top-color: var(--surface); }
.tour-popover .driver-popover-arrow-side-bottom { border-bottom-color: var(--surface); }

/* 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); }
.pill-disabled { background: var(--slate-tint); color: var(--ink-soft); margin-left: 6px; }

/* 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: 1480px; 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, .spotlight 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; }
.plan .billed { margin: 8px 0 0; }
.pricing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0 24px; margin-bottom: 36px; }
.pricing-head .section-head { margin-bottom: 0; }
.pricing-head .interval-toggle { margin-top: 20px; }
.save-tag { padding: 2px 8px; border-radius: 99px; background: var(--accent-tint); color: var(--accent); font-size: 0.74rem; font-weight: 700; }
/* Monthly and yearly rates side by side (monthly_rate); the interval toggle shows one. Landing page and billing configurator. */
#pricing .for-year, .configurator .for-year { display: none; }
#pricing:has(input[name=pricing_interval][value=year]:checked) .for-year,
.configurator:has(input[name=interval][value=year]:checked) .for-year { display: revert; }
#pricing:has(input[name=pricing_interval][value=year]:checked) .for-month,
.configurator:has(input[name=interval][value=year]:checked) .for-month { display: none; }
.compare-title { margin: 56px 0 16px; font-size: 1.35rem; }
.compare { table-layout: fixed; min-width: 600px; }
.compare th:first-child { width: 31%; position: sticky; left: 0; z-index: 1; background: var(--surface); }
.compare thead th:first-child { background: var(--surface-2); }
.compare td { white-space: nowrap; }
@media (max-width: 640px) { .compare th, .compare td { padding: 11px 10px; } .compare th:first-child { width: 150px; white-space: normal; box-shadow: 1px 0 0 var(--line); } }
.compare th[scope=col] { font-size: 0.86rem; color: var(--ink); text-transform: none; letter-spacing: 0; text-align: center; }
.compare tbody th { text-transform: none; letter-spacing: 0; font-size: 0.94rem; color: var(--ink); font-weight: 560; background: none; border-bottom: 1px solid var(--line); }
.compare td { text-align: center; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.compare td b { color: var(--ink); font-size: 1.05rem; }
.compare tr:last-child th { border-bottom: 0; }
.compare .row-icon { width: 18px; height: 18px; color: var(--brand); vertical-align: -3px; margin-right: 10px; }
.compare .yes { width: 18px; height: 18px; color: var(--brand); vertical-align: middle; }
.compare-notes { margin-top: 16px; text-align: center; }
.compare-notes p { margin: 0 0 6px; }
.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; }

/* White text sits on the hero, so its shades come from the --hero tokens, which do not flip in dark mode; an organization's accent colour redefines them inline on <body>. */
.intake-hero { position: relative; overflow: hidden; padding: 56px 20px 120px; text-align: center; color: #fff; background: radial-gradient(circle at 80% 0%, rgb(255 255 255 / 14%), transparent 45%), linear-gradient(150deg, var(--hero-deep), var(--hero) 60%, var(--hero-light)); }
.intake-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.intake-hero .eyebrow { color: rgb(255 255 255 / 78%); }
.intake-logo { max-width: 160px; max-height: 72px; width: auto; height: auto; object-fit: contain; background: #fff; padding: 6px 10px; border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 18px; }
/* Public form inputs with a leading icon; the phone one also has the prefix menu (phone_prefix_controller). */
.input-with-icon { position: relative; }
.input-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); display: flex; color: var(--ink-faint); pointer-events: none; }
.input-icon svg { width: 18px; height: 18px; }
.input-with-icon input { padding-left: 40px; }
.phone-input { position: relative; display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
.phone-input:focus-within { border-color: var(--brand-soft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.phone-input input[type=tel], .phone-input select { border: 0; box-shadow: none; background: transparent; }
.phone-input input[type=tel] { flex: 1; min-width: 0; padding-left: 10px; }
.phone-prefix { position: relative; display: flex; align-items: center; flex: none; margin-left: 40px; border-right: 1px solid var(--line); }
.phone-prefix-display { display: none; padding: 0 26px 0 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.phone-prefix::after { content: ""; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid var(--ink-faint); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.phone-prefix select { width: auto; max-width: 150px; padding-right: 26px; appearance: none; cursor: pointer; }
.phone-input.enhanced .phone-prefix-display { display: block; }
.phone-input.enhanced .phone-prefix select { position: absolute; inset: 0; width: 100%; max-width: none; opacity: 0; }
.phone-input.enhanced .phone-prefix:focus-within .phone-prefix-display { color: var(--brand-strong); }

/* Confirmation step of the public form: inline without JavaScript, a popup with it (confirm_dialog_controller). */
.confirmations { display: grid; gap: 14px; }
.confirmations-admin { margin-top: 32px; }
.confirmations-admin .confirmation-text { white-space: pre-line; }
.confirmation-switch { margin-bottom: 16px; }
.confirmation-switch .actions { justify-content: flex-end; }
.sortable-row[draggable="true"] { cursor: grab; }
.sortable-row.dragging { opacity: .45; background: var(--brand-tint); }
.drag-handle { width: 1%; color: var(--ink-faint); font-size: 1.1rem; user-select: none; }
.confirm-group { background: var(--brand-tint); border-radius: var(--radius-sm); padding: 4px 18px; }
.confirm-group h3 { font-size: 1.05rem; margin: 14px 0 4px; }
.confirm-item { padding: 10px 0; font-size: 0.95rem; }
.confirm-item + .confirm-item { border-top: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); }
.confirm-item p { margin: 0 0 8px; }
.confirm-item .check { justify-content: flex-end; font-weight: 600; color: var(--brand-strong); }
.confirm-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; border: 0; border-radius: var(--radius); padding: 28px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.confirm-dialog::backdrop { background: rgb(15 20 24 / 55%); }
.confirm-dialog .section-title { border-top: 0; padding-top: 0; margin-top: 0; }
@media (max-width: 640px) { .confirm-dialog { padding: 20px 16px; } }
.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 { border-color: rgb(255 255 255 / 30%); background: rgb(255 255 255 / 12%); }
.intake-hero .locale-switch button[aria-pressed=true] { box-shadow: 0 0 0 2px #fff; }
.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; } }
.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; }

/* 6px gap: the current flag's 2px ring sits in it, leaving 4px clear between flags. */
.locale-switch { display: inline-flex; gap: 6px; padding: 4px; 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 { display: flex; padding: 0; background: transparent; box-shadow: none; border: 0; border-radius: 4px; opacity: .5; transition: opacity .15s, box-shadow .15s; }
.locale-switch button:hover { background: transparent; opacity: .85; transform: none; box-shadow: none; }
.locale-switch button[aria-pressed=true] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.locale-switch .flag { display: block; width: 24px; height: 16px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 12%); }

.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; }
.phone { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.icon-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-picker .choice span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; }
.icon-picker svg { width: 20px; height: 20px; }
.q-icon { vertical-align: -2px; margin-right: 6px; color: var(--brand); }
.detail-line .listed { display: inline-flex; align-items: center; gap: 2px; }
.detail-line .q-icon { margin-right: 3px; }
.avatar-lg { width: 52px; height: 52px; font-size: 1.05rem; }
.gender-sign { font-weight: 700; color: var(--brand); }

/* Option colours: a base hue per tone, tinted for chips and darkened or lightened for text. */
.tone-gray { --tone: #6b7280; } .tone-red { --tone: #dc2626; } .tone-orange { --tone: #ea580c; } .tone-amber { --tone: #d97706; }
.tone-green { --tone: #16a34a; } .tone-teal { --tone: #0d9488; } .tone-blue { --tone: #2563eb; } .tone-indigo { --tone: #4f46e5; }
.tone-purple { --tone: #9333ea; } .tone-pink { --tone: #db2777; }
.tone { display: inline-block; padding: 1px 8px; border-radius: 999px; font-weight: 600; font-size: 0.86em;
        background: color-mix(in srgb, var(--tone) 14%, transparent); color: color-mix(in srgb, var(--tone) 78%, black); }
@media (prefers-color-scheme: dark) { .tone { background: color-mix(in srgb, var(--tone) 24%, transparent); color: color-mix(in srgb, var(--tone) 55%, white); } }
.gender-sign.tone { padding: 0 6px; }
.color-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.color-option { min-width: 140px; font-weight: 550; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatch > span { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--tone); border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line-strong); }
.swatch.none > span { width: auto; height: 26px; padding: 0 9px; border-radius: 999px; background: var(--surface); font-size: 0.78rem; line-height: 22px; color: var(--ink-soft); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--ink); }
.swatch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.color-row[hidden] { display: none; }
.avatar-photo { object-fit: cover; padding: 0; background: var(--surface-2); }
.bio { display: inline-block; max-width: 46ch; font-size: 0.88rem; white-space: pre-line; }
.team-group { margin-bottom: 26px; }
.team-group h2 { font-size: 1.1rem; margin: 0 0 10px; }

/* Collapsible sidebar (desktop): an icon strip that keeps every name for tooltips and screen readers. */
.collapse-toggle { display: none; width: 34px; height: 34px; padding: 0; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); box-shadow: none; }
.collapse-toggle:hover { background: var(--surface-2); color: var(--ink); transform: none; box-shadow: none; }
.collapse-toggle svg { transition: transform .2s ease; }
@media (min-width: 960px) {
  .collapse-toggle { display: grid; place-items: center; }
  .shell { transition: grid-template-columns .2s ease; }
  .shell.collapsed { grid-template-columns: 76px 1fr; }
  .shell.collapsed .sidebar-inner { padding: 22px 10px; }
  .shell.collapsed .nav-toggle { flex-direction: column; gap: 12px; }
  .shell.collapsed .collapse-toggle svg { transform: scaleX(-1); }
  /* Collapsed: a round button floating on the border between the icon strip and the content, mid-height. */
  .shell.collapsed .collapse-toggle {
    position: fixed; left: 76px; top: var(--toggle-top, 28px); transform: translate(-50%, -50%); z-index: 20;
    background: var(--surface); border-color: var(--line-strong); box-shadow: var(--shadow); /* same rounded square as expanded */
  }
  .shell.collapsed .collapse-toggle:hover { background: var(--surface-2); transform: translate(-50%, -50%); }
  .shell.collapsed .brand-text, .shell.collapsed .nav-label,
  .shell.collapsed .me > div, .shell.collapsed .sidebar-foot .locale-switch { display: none; }
  .shell.collapsed .nav a > span, .shell.collapsed .nav button.link > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .shell.collapsed .nav a, .shell.collapsed .nav button.link { justify-content: center; padding: 10px; }
  .shell.collapsed .me { justify-content: center; }
}

/* Team drag and drop */
.member-row[draggable="true"] { cursor: grab; }
.member-row.dragging { opacity: .45; }
.member-row.removed { opacity: .55; }
/* Disabled members stay in their group and in the statistics, greyed. */
.member-row.disabled, .stats-table tr.disabled { color: var(--ink-soft); background: var(--slate-tint); }
.member-row.disabled .avatar, .stats-table tr.disabled .avatar { filter: grayscale(1); opacity: .7; }
.grip { color: var(--ink-faint); cursor: grab; font-size: 1.1rem; line-height: 1; }
[data-drop-role] { transition: background .15s ease, outline-color .15s ease; outline: 2px dashed transparent; outline-offset: -4px; }
[data-drop-role].drop-over { background: var(--brand-tint); outline-color: var(--brand-soft); }
.drop-hint td { text-align: center; color: var(--ink-faint); font-style: italic; padding: 22px; }

/* Organization logo: beside the name when expanded, alone under the Giano Care mark when collapsed. */
.tenant-name { display: flex; align-items: center; gap: 8px; }
.tenant-logo { max-width: 44px; max-height: 28px; width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #fff; padding: 2px; box-shadow: var(--shadow-sm); }
.settings-logo .tenant-logo, .field .tenant-logo { max-width: 120px; max-height: 64px; }
@media (min-width: 960px) {
  /* Collapsed: the copy right under the Giano Care mark shows; the one beside the name hides. */
  .shell.collapsed .tenant-name { display: none; }
  .shell.collapsed .collapsed-only { display: block; max-width: 44px; max-height: 44px; }
}
.collapsed-only { display: none; }

/* Workspace switcher: the organization name opens the user's other workspaces right under it. */
.workspace-switch { display: block; margin-left: 30px; }
.workspace-switch summary { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 10px; cursor: pointer; list-style: none; color: var(--ink-soft); }
.workspace-switch summary::-webkit-details-marker { display: none; }
.workspace-switch summary:hover, .workspace-switch[open] summary { background: var(--surface-2); color: var(--ink); }
.workspace-switch summary:focus-visible { outline: 2px solid var(--brand-soft); outline-offset: 2px; }
.workspace-switch .tenant-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switch summary svg { flex: none; color: var(--ink-faint); }
.workspace-list { list-style: none; margin: 4px 0 0; padding: 4px; display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-sm); }
.workspace-list button.link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border-radius: 8px; color: var(--ink); text-align: left; text-decoration: none; font-size: 0.88rem; font-weight: 550; }
.workspace-list button.link:hover { background: var(--surface-2); text-decoration: none; }
.workspace-list .avatar { width: 28px; height: 28px; font-size: 0.72rem; }
.workspace-list small { display: block; color: var(--ink-faint); font-weight: 500; font-size: 0.78rem; }
.workspace-mini.collapsed-only { color: var(--ink-soft); }
@media (min-width: 960px) {
  .shell.collapsed .workspace-mini.collapsed-only { display: grid; place-items: center; }
}

/* Picture drop area: drop a file, or use the centered button (the real, keyboard-reachable file input). */
.field-label { font-weight: 600; font-size: 0.88rem; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; text-align: center;
            border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface-2); transition: background .15s, border-color .15s; }
.dropzone.dragover { border-color: var(--brand); background: var(--brand-tint); }
.dropzone p { margin: 0; }
.dropzone-preview { min-height: 48px; display: grid; place-items: center; color: var(--ink-faint); }
.dropzone-preview .tenant-logo { max-width: 160px; max-height: 80px; }
.dropzone-hint { font-weight: 600; }
.dropzone-or { color: var(--ink-faint); font-size: 0.85rem; }
.dropzone-file { color: var(--ink-soft); font-size: 0.85rem; min-height: 1.2em; }
.dropzone input[type=file]:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }

/* Preferred days in lists: two-letter badges in small circles. */
.day-chip { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 2px; padding: 0; border-radius: 50%;
            border: 1px solid var(--line-strong); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-soft); }
.day-chip.tone { border-color: color-mix(in srgb, var(--tone) 45%, transparent); }
.dropzone-preview .avatar { width: 64px; height: 64px; font-size: 1.2rem; }
.dropzone-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.stats-table td:not(:first-child), .stats-table th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }

/* Statistics */
.nav-parent { display: flex; align-items: center; gap: 11px; padding: 9px 12px; color: var(--ink-soft); font-weight: 550; font-size: 0.94rem; }
.nav-parent svg { width: 18px; height: 18px; }
.nav-group > a { padding-left: 40px; font-size: 0.9rem; }
.nav-group > a svg { width: 16px; height: 16px; }
@media (min-width: 960px) {
  .shell.collapsed .nav-parent { display: none; }
  .shell.collapsed .nav-group > a { padding-left: 10px; }
}
.stats-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: 16px; }
.stats-grid .card + .card { margin-top: 0; }
.stats-grid h2 { font-size: 1.05rem; margin: 0 0 12px; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 44px; gap: 10px; align-items: center; font-size: 0.9rem; }
.bar-track { height: 10px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar { display: block; height: 100%; border-radius: 99px; background: var(--brand-soft); padding: 0; }
.bar.tone { background: var(--tone); }
/* Bars grow from the left on load, one row shortly after another. */
.bar { transform-origin: left; animation: bar-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i, 0) * 40ms) both; }
@keyframes bar-grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .bar { animation: none; } }
.bar-count { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.page-head .view-switch { margin: 0; }
.view-switch a { display: inline-flex; align-items: center; gap: 6px; }
.view-switch svg { width: 16px; height: 16px; }
.chart { margin: 0; }
.chart figcaption { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.pie-wrap { display: grid; gap: 16px; justify-items: center; }
.pie { width: 150px; height: 150px; flex: none; overflow: visible; }
.pie path { fill: var(--tone); stroke: var(--surface); stroke-width: 0.3; stroke-linejoin: round; animation: pie-in 0.6s ease-out calc(var(--i, 0) * 60ms) both; }
@keyframes pie-in { from { opacity: 0; } }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.88rem; width: 100%; }
.legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 42px; gap: 8px; align-items: center; }
.legend-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swatch { width: 12px; height: 12px; border-radius: 3px; background: var(--tone); }
.legend-count, .legend-share { text-align: right; font-variant-numeric: tabular-nums; }
.legend-share { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .pie path { animation: none; } }
.stats-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.export-links { display: flex; gap: 6px; align-items: center; color: var(--ink-soft); }
.export-links > svg { width: 18px; height: 18px; }
.row-link { cursor: pointer; }
.row-link:hover td { background: var(--surface-2); }
.stats-table.member-activity td, .stats-table.member-activity th { text-align: left; vertical-align: top; }
.stats-table.member-activity td:nth-child(3), .stats-table.member-activity th:nth-child(3) { text-align: right; }
.call-dates { list-style: none; margin: 0; padding: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.page-head h1 .who { gap: 14px; }
.member-activity td:nth-child(-n+4), .member-activity td:nth-child(6) { white-space: nowrap; }
.member-activity td:nth-child(n+7) { min-width: 220px; }
.stats-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 18px; }
.stats-filters .tabs { margin-bottom: 0; }
.filter-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; text-decoration: none; background: var(--surface); }
.filter-toggle:hover { color: var(--ink); }
.filter-toggle[aria-pressed=true] { border-color: var(--brand); color: var(--brand); background: var(--brand-softer, var(--surface-2)); }
.filter-box { width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 4px; display: inline-grid; place-items: center; }
.filter-box svg { width: 12px; height: 12px; }

/* Inbox: badges, toasts, notifications */
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent, #c2410c); color: #fff;
  font-size: 0.72rem; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) {
  .shell.collapsed .nav a { position: relative; }
  .shell.collapsed .nav-badge { position: absolute; top: 2px; right: 4px; min-width: 16px; height: 16px; font-size: 0.62rem; padding: 0 4px; }
}
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); }
.toast { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); color: var(--ink); text-decoration: none; animation: toast-in 0.25s ease-out; }
.toast span { color: var(--ink-soft); font-size: 0.9rem; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }
.alert-list { list-style: none; margin: 0; padding: 0; }
.alert-item + .alert-item { border-top: 1px solid var(--line); }
.alert-item a { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; color: var(--ink); text-decoration: none; }
.alert-item a:hover { background: var(--surface-2); }
.alert-dot { width: 8px; height: 8px; border-radius: 50%; }
.alert-item.is-unread .alert-dot { background: var(--accent, #c2410c); }
.alert-item.is-unread .alert-text { font-weight: 650; }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

/* Messages */
.head-actions { display: flex; gap: 10px; align-items: center; }
.head-actions .btn svg, .page-head .btn svg { width: 16px; height: 16px; }
.conversation-list { list-style: none; margin: 0; padding: 0; }
.conversation-list li + li { border-top: 1px solid var(--line); }
.conversation-list li { display: flex; align-items: center; }
.conversation-list li > a { flex: 1; min-width: 0; }
.conversation-list .conversation-archive { margin-right: 12px; padding: 6px 8px; }
.conversation-list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 10px; gap: 12px; align-items: center; padding: 14px 18px; color: var(--ink); text-decoration: none; }
.conversation-list a:hover { background: var(--surface-2); }
.conversation-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-soft); }
.conversation-icon svg { width: 18px; height: 18px; }
.conversation-main { display: grid; min-width: 0; }
.conversation-main span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-list .is-unread strong { font-weight: 750; }
.conversation-list .is-unread .alert-dot { background: var(--accent); }
.member-picks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.member-pick { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.member-pick:has(input:checked) { border-color: var(--brand); background: var(--surface-2); }
.member-pick span { display: grid; }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
.thread { display: grid; grid-template-rows: 1fr auto; height: min(70vh, 720px); padding: 0; overflow: hidden; }
.messages { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.message { display: flex; gap: 10px; align-items: flex-end; max-width: min(640px, 88%); }
.message-bubble { background: var(--surface-2); border-radius: 14px 14px 14px 4px; padding: 8px 12px; }
.message-bubble header { display: flex; gap: 8px; align-items: baseline; font-size: 0.82rem; }
.message-body p { margin: 4px 0 0; overflow-wrap: anywhere; }
.message.mine { align-self: flex-end; flex-direction: row-reverse; }
.message.mine .message-bubble { background: color-mix(in srgb, var(--brand) 18%, var(--surface)); color: var(--ink); border-radius: 14px 14px 4px 14px; }
.composer { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.composer textarea { resize: vertical; min-height: 44px; margin: 0; }
.composer .field-error { grid-column: 1 / -1; margin: 0; }
.composer .btn svg { width: 18px; height: 18px; }
.recipients-head, .recipient-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.recipient-group { margin-top: 12px; }
.recipient-group-head { margin-bottom: 8px; font-weight: 650; color: var(--ink-soft); font-size: 0.9rem; }
.recipients .btn[aria-pressed=true] { border-color: var(--brand); color: var(--brand); }

/* Billing configurator */
.configurator { display: grid; gap: 22px; }
.interval-toggle { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.interval-toggle label { cursor: pointer; }
.interval-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.interval-toggle span { display: inline-flex; gap: 6px; align-items: center; padding: 8px 18px; border-radius: var(--radius-pill); font-weight: 600; color: var(--ink-soft); }
.interval-toggle input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.interval-toggle input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.save { color: var(--brand); font-weight: 700; }
.seat-picker-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.seat-picker .seat-number { width: 96px; flex: none; text-align: right; font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; margin: 0; }
.seat-picker input[type=range] { width: 100%; accent-color: var(--brand); height: 28px; margin: 0; position: relative; z-index: 1; }
/* No square focus box around the slider; keyboard focus darkens the plan lanes' borders instead. */
.seat-picker input[type=range]:focus, .seat-picker input[type=range]:focus-visible { outline: none; box-shadow: none; }
.seat-track:has(input[type=range]:focus-visible) .seat-lane { border-color: color-mix(in srgb, var(--tone) 85%, transparent); }
.seat-picker .field-label { display: inline-flex; align-items: center; gap: 8px; }
.label-icon { width: 18px; height: 18px; color: var(--brand); }
/* Positions follow the range thumb's centre: half a thumb in from each end. */
.seat-track { --thumb: 16px; position: relative; padding: 50px 0 24px; }
/* A plan's free seats: a darker stretch at the start of its lane, captioned along the bottom. */
.seat-bonus { --tone: var(--brand); position: absolute; top: 1px; bottom: 1px; left: calc(var(--thumb) / 2 + var(--from) * (100% - var(--thumb)) + 1px); width: calc((var(--to) - var(--from)) * (100% - var(--thumb)) - 1px);
  background: color-mix(in srgb, var(--tone) 13%, transparent); border-radius: 9px 0 0 9px; border-right: 1px dashed color-mix(in srgb, var(--tone) 45%, transparent); container-type: inline-size; }
.seat-bonus-caption { position: absolute; bottom: 3px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 3px;
  font-size: 0.7rem; font-weight: 700; color: var(--tone); white-space: nowrap; }
/* Too narrow to hold it (phones): the caption starts at the band and runs on into the lane. */
@container (max-width: 72px) { .seat-bonus-caption { right: auto; left: 5px; } }
.seat-bonus-caption svg { width: 12px; height: 12px; stroke-width: 2.2; }
.seat-lanes { position: absolute; inset: 26px 0 0; pointer-events: none; }
.seat-lane { --tone: var(--brand); position: absolute; top: 0; bottom: 0; left: calc(var(--thumb) / 2 + var(--from) * (100% - var(--thumb))); width: calc((var(--to) - var(--from)) * (100% - var(--thumb)) - 3px);
  background: color-mix(in srgb, var(--tone) 9%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 38%, transparent); border-radius: 10px; container-type: inline-size; overflow: hidden; }
.seat-lane:first-child { left: 0; width: calc(var(--thumb) / 2 + var(--to) * (100% - var(--thumb)) - 3px); }
.seat-lane:last-child { width: auto; right: 0; }
.seat-lane-starter, .seat-pin-starter { --tone: var(--indigo); }
.seat-lane-organization, .seat-pin-organization, .seat-bonus-organization { --tone: var(--accent); }
.seat-lane > span { position: absolute; top: 3px; left: 7px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; color: var(--tone); white-space: nowrap; }
.seat-lane-initial { display: none; }
/* The plan's drawing peeks out of the lane's bottom-right corner, cropped to its top-left part. */
.seat-lane { isolation: isolate; }
.seat-lane .plan-art { width: 84px; height: 84px; right: -18px; bottom: -24px; opacity: 0.32; }
@container (max-width: 64px) { .seat-lane-name { display: none; } .seat-lane-initial { display: inline; left: 50% !important; transform: translateX(-50%); } }
/* The pin and its dashed marker run down the whole lane, in the colour of the lane they fall in. */
.seat-pin { --tone: var(--brand); position: absolute; top: 0; bottom: 0; left: calc(var(--thumb) / 2 + var(--at) * (100% - var(--thumb))); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; color: var(--tone); line-height: 0; pointer-events: none; }
.seat-pin::after { content: ""; flex: 1; margin-top: -2px; border-left: 1.5px dashed var(--tone); }
.seat-track + .hint { margin-top: 8px; }
.seat-pin svg { width: 22px; height: 22px; flex: none; fill: color-mix(in srgb, var(--tone) 18%, transparent); }
/* Balloon beside the pin head, "end"-aligned: its bottom level with the pin's bottom, so it grows upwards,
   and its tail on the side facing the pin, pointing at the middle of the pin head (22px tall). */
.seat-pin-tip { position: absolute; top: 22px; left: calc(100% + 9px); transform: translateY(-100%); padding: 3px 9px; border-radius: 8px; white-space: nowrap; line-height: 1.3;
  font-size: 0.72rem; font-weight: 650; color: var(--tone); background: color-mix(in srgb, var(--tone) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--tone) 40%, transparent);
  transition: background .15s, color .15s, border-color .15s; }
.seat-pin-tip::before { content: ""; position: absolute; bottom: 6px; left: -5px; width: 8px; height: 8px; transform: rotate(45deg);
  background: inherit; border: inherit; border-width: 0 0 1px 1px; }
.seat-pin-flip .seat-pin-tip { left: auto; right: calc(100% + 9px); }
.seat-pin-flip .seat-pin-tip::before { left: auto; right: -5px; border-width: 1px 1px 0 0; }
/* Fewer seats than active members: the balloon turns into a solid warning. */
.seat-pin-tip.is-warning { --tone: var(--rose); color: var(--surface); background: var(--rose); border-color: var(--rose); }
.pricing-plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan-option { --tone: var(--brand); display: grid; gap: 4px; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; }
.plan-option-starter { --tone: var(--indigo); }
.plan-option-organization { --tone: var(--accent); }
/* The plan's drawing (PlansHelper#plan_art), faint in its corner behind the text; clearer once chosen. */
.plan-art { position: absolute; right: -10px; bottom: -14px; width: 118px; height: 118px; z-index: -1; color: var(--tone); opacity: 0.24; pointer-events: none; transition: opacity .2s, transform .3s; }
.plan-art .fill { fill: currentColor; fill-opacity: 0.35; }
.plan-option:hover .plan-art { opacity: 0.3; }
.plan-option:has(input:checked) .plan-art { opacity: 0.36; transform: scale(1.04) translateY(-2px); }
.plan-option input { position: absolute; top: 16px; right: 16px; accent-color: var(--tone); }
.plan-option:has(input:checked) { border-color: var(--tone); background: color-mix(in srgb, var(--tone) 8%, var(--surface)); }
.plan-option:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.plan-option.is-disabled { opacity: 0.5; cursor: not-allowed; }
.plan-option-name { font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; }
.plan-option-price { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.quote { border-top: 1px solid var(--line); padding-top: 16px; }
.quote dl { margin: 0 0 10px; display: grid; gap: 6px; }
.quote dl div { display: flex; justify-content: space-between; color: var(--ink-soft); }
.quote dd { margin: 0; font-variant-numeric: tabular-nums; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; font-weight: 650; margin: 0; }
.quote-total output { font-size: 2rem; font-weight: 750; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.quote-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.quote-upfront { font-size: 0.8rem; font-weight: 500; color: var(--ink-faint); }
@media (min-width: 720px) { .quote-upfront { white-space: nowrap; } }
.quote-upfront[hidden] { display: none; }
.hint.is-warning { color: var(--rose); font-weight: 600; }

/* Landing: messaging spotlight */
.spotlight-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .spotlight-grid { grid-template-columns: 1.05fr 1fr; } }
.spotlight-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.spotlight-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.spotlight-points .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.spotlight-points .icon svg { width: 20px; height: 20px; }
.spotlight-points p { margin: 2px 0 0; }
.chat-mock { display: grid; gap: 12px; transform: perspective(1400px) rotateY(6deg) rotateX(3deg); }
.chat-mock-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chat-mock-head svg { width: 18px; height: 18px; color: var(--brand); }
.chat-mock-head small { margin-left: auto; color: var(--ink-soft); }
.chat-line { display: flex; gap: 10px; align-items: flex-end; max-width: 88%; }
.chat-line p { margin: 0; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); font-size: 0.92rem; }
.chat-line.mine { align-self: flex-end; flex-direction: row-reverse; }
.chat-line.mine p { background: color-mix(in srgb, var(--brand) 18%, var(--surface)); border-radius: 14px 14px 4px 14px; }
.chat-float { left: auto; right: -14px; bottom: -18px; }
@media (prefers-reduced-motion: reduce) { .chat-mock { transform: none; } }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .chat-float { right: 8px; } }

/* Legal pages */
.wrap.narrow { max-width: 780px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal li { line-height: 1.65; color: var(--ink-soft); }
.legal li + li { margin-top: 6px; }
.legal-operator { display: grid; gap: 2px; margin: 18px 0; }
.legal-nav { display: flex; gap: 18px; margin-bottom: 8px; }
.legal-nav a[aria-current=page] { font-weight: 700; text-decoration: none; color: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 0.92rem; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.footer-links { display: flex; gap: 16px; }
.footer .wrap { flex-wrap: wrap; gap: 12px; }
.data-log-title { margin-top: 22px; }
.data-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9rem; }
.push-setting { display: grid; gap: 6px; justify-items: start; margin: 4px 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.push-setting .field-label svg { width: 16px; height: 16px; vertical-align: -3px; }
.push-setting .hint { margin: 0; }
