:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #62706d;
  --line: #d9e0de;
  --surface: #ffffff;
  --canvas: #f4f7f6;
  --accent: #087f78;
  --accent-dark: #05635e;
  --coral: #d65c45;
  --amber: #a66506;
  --green: #237a4b;
  --danger: #b33b35;
  --sidebar: #182522;
  --sidebar-muted: #aab9b5;
  --radius: 6px;
  --shadow: 0 8px 28px rgba(23, 33, 31, 0.08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

a { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }

.app-shell { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  padding: 22px 14px 18px;
  display: flex;
  flex-direction: column;
  background: var(--sidebar);
  color: #fff;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 8px;
  color: inherit;
  text-decoration: none;
  font-size: 18px;
  font-weight: 750;
}

.brand img { width: 30px; height: 30px; object-fit: contain; }
.sidebar .brand { margin-bottom: 28px; }

.sidebar nav { display: grid; gap: 3px; }

.sidebar nav a,
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--sidebar-muted);
  text-decoration: none;
  font-weight: 620;
}

.sidebar nav a::before,
.mobile-nav a::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.sidebar nav a[data-icon="calls"]::before { border-radius: 50%; }
.sidebar nav a[data-icon="usage"]::before { border-width: 0 0 2px 2px; }
.sidebar nav a[data-icon="plans"]::before { transform: rotate(45deg); }
.sidebar nav a[data-icon="settings"]::before { border-radius: 50%; border-width: 3px; }
.sidebar nav a[data-icon="operator"]::before { border-radius: 50% 50% 2px 2px; }
.sidebar nav a[data-icon="system-calls"]::before { border-radius: 50%; }
.sidebar nav a[data-icon="customers"]::before { border-radius: 50% 50% 2px 2px; }
.sidebar nav a[data-icon="carrier"]::before { border-width: 0 0 2px 2px; }
.sidebar nav a[data-icon="operator-plans"]::before { transform: rotate(45deg); }
.sidebar nav a[data-icon="promos"]::before { transform: rotate(45deg); }

.sidebar nav a:hover,
.sidebar nav a.active { color: #fff; background: #263733; }
.sidebar nav a.active::before { color: #54c7bb; }

.account-menu {
  margin-top: auto;
  padding: 14px 10px 0;
  border-top: 1px solid #34433f;
  overflow: hidden;
}

.account-menu span,
.account-menu small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu > a { color: inherit; text-decoration: none; }
.account-menu > a:hover span { color: #8eddd5; }
.account-menu span { font-weight: 700; }
.account-menu small { margin-top: 2px; color: var(--sidebar-muted); }
.account-menu form { margin-top: 10px; }
.account-menu button { padding: 0; border: 0; background: none; color: #8eddd5; cursor: pointer; }

.main-content {
  min-height: 100vh;
  margin-left: 236px;
  padding: 40px 48px 72px;
  max-width: 1440px;
}

.mobile-nav { display: none; }
.mobile-topbar { display: none; }

.page-head,
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.page-head { margin-bottom: 30px; }
.section-head { margin-bottom: 16px; }

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 30px; line-height: 1.2; font-weight: 760; }
h2 { margin-bottom: 8px; font-size: 19px; line-height: 1.3; }
h3 { margin-bottom: 5px; font-size: 16px; }
p { color: var(--muted); }
.page-head p, .section-head p { margin-bottom: 0; }
.button-group { display: flex; flex-wrap: wrap; gap: 8px; }

.eyebrow {
  margin-bottom: 5px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { border-color: #bbc8c5; background: #fff; color: var(--ink); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent-dark); }
.button.wide { width: 100%; }
.button:disabled { color: #899491; background: #eef2f1; border-color: #dfe5e3; cursor: not-allowed; }

.notice {
  margin-bottom: 24px;
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  background: #e7f5f3;
  color: #155c57;
}
.notice.error { border-color: var(--danger); background: #fbeceb; color: #862d28; }
.notice.neutral { border-color: #87918f; background: #edf1f0; color: #4d5956; }
.notice.success { border-color: var(--green); background: #eaf5ef; color: #1d613d; }

.usage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.usage-main { padding: 28px 30px; }
.metric-label { color: var(--muted); font-weight: 650; }
.usage-number { margin: 6px 0 20px; font-size: 44px; line-height: 1; font-weight: 780; }
.usage-number span { color: var(--muted); font-size: 21px; font-weight: 620; }

.progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 5px;
  background: #e5ecea;
}
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.usage-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 11px; color: var(--muted); font-size: 13px; }

.usage-side {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  background: #f9fbfa;
}
.usage-side div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.usage-side div:last-child { border-bottom: 0; }
.usage-side span { color: var(--muted); font-size: 13px; }
.usage-side strong { text-align: right; }

.section-block { margin-top: 42px; }
.status-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 18px 20px; border: 1px solid var(--line); background: #fff; }
.status-band > div { display: flex; align-items: flex-start; gap: 12px; }
.status-band p { margin: 2px 0 0; }

.status-dot { width: 10px; height: 10px; flex: 0 0 10px; margin-top: 6px; border-radius: 50%; background: #9aa5a2; }
.status-dot.ok { background: var(--green); box-shadow: 0 0 0 3px #d9eee3; }
.status-dot.pending { background: var(--amber); box-shadow: 0 0 0 3px #f6e8ce; }
.status-dot.alert { background: var(--danger); box-shadow: 0 0 0 3px #f7dedd; }

.call-list { border-top: 1px solid var(--line); }
.call-list-head,
.call-row { display: grid; grid-template-columns: 88px minmax(220px, 1fr) 150px 190px 24px; align-items: center; gap: 14px; }
.call-list-head { min-height: 38px; color: var(--muted); font-size: 12px; font-weight: 700; }
.call-row { min-height: 76px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.call-row:hover { background: #edf7f5; box-shadow: -12px 0 #edf7f5, 12px 0 #edf7f5; }

.direction-icon { width: 48px; padding: 5px 0; border-radius: 4px; text-align: center; font-size: 11px; font-weight: 800; }
.direction-icon.in { color: #176845; background: #e1f2e9; }
.direction-icon.out { color: #9a462f; background: #f9e8e1; }
.call-party strong, .call-party small, .call-duration small, .retention small { display: block; }
.call-party small, .call-duration small, .retention small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.retention { color: var(--green); font-weight: 700; }
.retention.expiring { color: var(--amber); }
.retention.expired { color: var(--danger); }
.retention.large { padding: 6px 10px; border: 1px solid currentColor; border-radius: 4px; }
.row-arrow { color: #87928f; font-size: 24px; }
.call-labels, .tag-strip { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.tag-chip, .project-chip { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 7px; border: 1px solid transparent; border-radius: 4px; font-size: 11px; font-weight: 750; line-height: 1.25; }
.project-chip::before { content: ""; width: 7px; height: 7px; margin-right: 5px; border: 1px solid currentColor; border-radius: 1px; }
.tag-chip.teal, .project-chip.teal { color: #08645f; background: #e0f2ef; border-color: #afdcd6; }
.tag-chip.blue, .project-chip.blue { color: #315d87; background: #e7f0f8; border-color: #bdd1e3; }
.tag-chip.gold, .project-chip.gold { color: #815908; background: #fbf2d8; border-color: #e8d49a; }
.tag-chip.coral, .project-chip.coral { color: #934634; background: #f8e8e3; border-color: #e4bcb0; }
.tag-chip.gray, .project-chip.gray { color: #59635f; background: #ecefed; border-color: #cfd5d2; }

.filter-bar { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 24px; padding: 16px; border: 1px solid var(--line); background: #fff; }
.filter-bar label { min-width: 180px; }
.filter-bar .search-field { flex: 1; }
.filter-bar select { min-width: 132px; }

label, fieldset { display: grid; gap: 6px; color: #33413e; font-size: 13px; font-weight: 700; }
.optional { margin-left: 4px; color: var(--muted); font-size: 11px; font-weight: 600; }
fieldset { padding: 0; border: 0; }
legend { margin-bottom: 8px; }
input, select, textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #b7c4c1;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #d8efec; }
input:disabled { color: #65716e; background: #edf1f0; }

.cycle-pill, .status-label { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 750; }
.status-label.ok { border-color: #a8d8bd; color: var(--green); background: #edf7f1; }
.status-label.pending { border-color: #e4c38b; color: var(--amber); background: #fff7e9; }
.status-label.alert { border-color: #e0aaa7; color: var(--danger); background: #fceeed; }

.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.metrics-grid > div { min-width: 0; padding: 22px; border-right: 1px solid var(--line); }
.metrics-grid > div:last-child { border-right: 0; }
.metrics-grid span, .metrics-grid small { display: block; color: var(--muted); }
.metrics-grid strong { display: block; margin: 5px 0; font-size: 28px; }
.metrics-grid .metric-text { font-size: 18px; line-height: 1.35; }

.split-section, .settings-layout, .detail-grid, .operator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 42px; }
.split-section > div + div, .security-settings { padding-left: 38px; border-left: 1px solid var(--line); }

.invoice-lines { margin: 0; }
.invoice-lines div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.invoice-lines dt { color: var(--muted); }
.invoice-lines dd { margin: 0; font-weight: 700; }
.invoice-lines .total { border-bottom: 0; font-size: 17px; }
.text-link, .back-link { font-weight: 700; text-decoration: none; }
.back-link { display: inline-block; margin-bottom: 12px; font-size: 13px; }
.muted-copy { margin: 0; color: var(--muted); font-weight: 500; }

.cycle-history { border-top: 1px solid var(--line); }
.cycle-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px 140px;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.cycle-row small,
.customer-row small,
.promotion-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.cycle-row > strong { text-align: right; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); background: #fff; }
.plan-panel.selected { border-top: 4px solid var(--accent); padding-top: 19px; }
.plan-panel p { min-height: 66px; }
.plan-price { margin: 20px 0; }
.plan-price strong { font-size: 27px; }
.plan-price span { color: var(--muted); }
.plan-panel dl { margin: 0 0 22px; }
.plan-panel dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.plan-panel dt { color: var(--muted); }
.plan-panel dd { margin: 0; font-weight: 700; text-align: right; }

.inline-form { display: flex; align-items: flex-end; gap: 10px; }
.inline-form label { flex: 1; }
.settings-page-head { margin-bottom: 30px; }
.settings-workspace { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: 46px; }
.settings-tabs { position: sticky; top: 24px; display: grid; gap: 4px; padding-right: 18px; border-right: 1px solid var(--line); }
.settings-tabs a { min-width: 0; padding: 13px 14px; border-left: 3px solid transparent; color: var(--muted); text-decoration: none; }
.settings-tabs a:hover { color: var(--ink); background: #edf2f0; }
.settings-tabs a.active { border-left-color: var(--accent); color: var(--ink); background: #e7efed; }
.settings-tabs strong, .settings-tabs small { display: block; }
.settings-tabs small { margin-top: 3px; font-size: 12px; line-height: 1.35; }
.settings-panel { min-width: 0; }
.settings-section + .settings-section { margin-top: 42px; padding-top: 36px; border-top: 1px solid var(--line); }
.settings-form-narrow { max-width: 680px; }
.settings-form { display: grid; gap: 18px; align-content: start; }
.security-settings h2, .settings-form h2 { margin-bottom: 8px; }
.password-form { display: grid; gap: 13px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.privacy-form { display: grid; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.privacy-form p { margin: 3px 0 0; }
#recording-disclosure, #support-recording-access { scroll-margin-top: 24px; }
.toggle-row { grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 9px; font-weight: 650; }
.toggle-row input { width: 18px; min-height: 18px; }
.verification-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 16px; border: 1px solid var(--line); background: #fff; }
.verification-row p { margin: 2px 0 0; }
.setting-row { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.setting-row p { margin: 3px 0 0; }
.setting-row.disabled { opacity: .72; }

.detail-primary audio { display: block; width: 100%; height: 46px; margin: 18px 0; }
.organization-card { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(360px, 1.35fr); gap: 36px; margin-bottom: 40px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.organization-card p { margin-bottom: 0; }
.organization-card form { display: grid; grid-template-columns: minmax(160px, .6fr) minmax(240px, 1fr); gap: 16px 24px; }
.organization-card .button-group { grid-column: 1 / -1; align-items: center; }
.tag-checks { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-check { position: relative; display: inline-block; cursor: pointer; }
.tag-check input { position: absolute; opacity: 0; pointer-events: none; }
.tag-check .tag-chip { min-height: 30px; opacity: .62; }
.tag-check input:checked + .tag-chip { opacity: 1; box-shadow: inset 0 0 0 1px currentColor; }
.tag-check input:focus-visible + .tag-chip { outline: 3px solid #bfe4df; outline-offset: 2px; }
.organization-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.organization-grid > div + div { padding-left: 38px; border-left: 1px solid var(--line); }
.settings-panel .organization-grid { grid-template-columns: 1fr; gap: 36px; }
.settings-panel .organization-grid > div + div { padding: 36px 0 0; border-top: 1px solid var(--line); border-left: 0; }
.organization-list { border-top: 1px solid var(--line); }
.organization-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; min-height: 58px; border-bottom: 1px solid var(--line); }
.organization-row > .tag-chip { justify-self: start; }
.organization-create { display: grid; grid-template-columns: minmax(170px, 1fr) auto auto; align-items: end; gap: 12px; margin-top: 22px; padding: 18px; border: 1px solid var(--line); background: #fff; }
.organization-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 180px)); gap: 14px; margin: 0; }
.organization-summary div { padding: 14px 16px; border: 1px solid var(--line); background: #fff; }
.organization-summary dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.organization-summary dd { margin: 4px 0 0; color: var(--ink); font-size: 24px; font-weight: 750; }
.color-picker { display: flex; gap: 5px; }
.color-picker legend { font-size: 12px; }
.color-picker label { position: relative; display: block; cursor: pointer; }
.color-picker input { position: absolute; opacity: 0; pointer-events: none; }
.color-swatch { display: block; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 0 0 1px #abb7b4; }
.color-swatch.teal { background: #2a9d91; }
.color-swatch.blue { background: #5783ad; }
.color-swatch.gold { background: #c69a37; }
.color-swatch.coral { background: #d8765f; }
.color-swatch.gray { background: #7f8985; }
.color-picker input:checked + .color-swatch { box-shadow: 0 0 0 2px var(--ink); }
.fact-list { margin: 0; }
.fact-list div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--muted); }
.fact-list dd { margin: 0; font-weight: 650; }
.fact-list .hash { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }

.evidence-details { margin-top: 38px; border: 1px solid var(--line); background: #fff; }
.evidence-details > summary { padding: 17px 20px; color: var(--accent-dark); font-weight: 750; cursor: pointer; }
.evidence-details > section { padding: 4px 20px 22px; }
.evidence-details h3 { margin: 24px 0 8px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.evidence-facts { margin: 0; }
.evidence-facts > div { display: grid; grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr); gap: 18px; padding: 9px 0; border-bottom: 1px solid #e9eeec; }
.evidence-facts dt { color: var(--muted); }
.evidence-facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 620; }
.integrity-note { margin-top: 24px; padding: 14px; border-left: 4px solid var(--accent); background: #edf7f5; }
.integrity-note p { margin: 3px 0 0; }

.operator-grid { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); }
.operator-grid > div { padding: 22px; border: 1px solid var(--line); background: #fff; }
.node-row { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.node-row small { display: block; margin-top: 2px; color: var(--muted); }
.node-row > span:last-child { color: var(--muted); font-size: 12px; }
.distribution-row { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); }

.customer-list,
.promotion-list { border-top: 1px solid var(--line); }
.customer-list-head,
.customer-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 130px 150px 120px 130px;
  align-items: center;
  gap: 18px;
}
.customer-list-head { min-height: 38px; color: var(--muted); font-size: 12px; font-weight: 700; }
.customer-row { min-height: 74px; padding: 10px 0; border-top: 1px solid var(--line); }
.customer-row { color: var(--ink); text-decoration: none; }
.customer-row:hover { background: #edf7f5; box-shadow: -12px 0 #edf7f5, 12px 0 #edf7f5; }
.customer-name { min-width: 0; }
.customer-name strong,
.customer-name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promotion-row {
  display: grid;
  grid-template-columns: minmax(120px, .65fr) minmax(160px, .9fr) minmax(180px, 1.2fr) 110px 145px 80px;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.promotion-row > span { min-width: 0; overflow-wrap: anywhere; }
.promo-status-form { margin-top: 5px; }
.promo-status-form button { padding: 0; border: 0; background: none; color: var(--accent-dark); font-size: 12px; font-weight: 700; cursor: pointer; }

.promo-form { max-width: 740px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.promo-form button { align-self: end; }
.promo-form .promo-note { grid-column: 1 / -1; }
.quick-values { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.quick-values > span { margin-right: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.quick-values button { min-height: 34px; padding: 5px 10px; border: 1px solid #b7c4c1; border-radius: 4px; background: #fff; color: var(--ink); font-weight: 700; cursor: pointer; }
.quick-values button:hover { border-color: var(--accent); color: var(--accent-dark); }
.promo-result { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; }
.promo-result strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; }
.promo-result small { grid-column: 2; }

.temporary-password { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 18px; }
.temporary-password strong { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; }
.temporary-password small { grid-column: 2; }

.operator-customer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 42px; }
.operator-customer-grid > div + div { padding-left: 38px; border-left: 1px solid var(--line); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.compact-call, .audit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 62px; padding: 10px 0; border-top: 1px solid var(--line); }
.compact-call { color: var(--ink); text-decoration: none; }
.compact-call:hover { color: var(--accent-dark); }
.compact-call small, .audit-row small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.audit-row time { flex: 0 0 auto; color: var(--muted); font-size: 12px; }

.operator-filters { flex-wrap: wrap; }
.operator-filters .search-field { flex: 1 1 320px; }
.operator-filters label { min-width: 140px; flex: 1 1 140px; }
.operator-call-list, .carrier-list { border-top: 1px solid var(--line); }
.operator-call-head, .operator-call-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(160px, .8fr) minmax(210px, 1fr) 160px; align-items: center; gap: 18px; }
.operator-call-head { min-height: 38px; color: var(--muted); font-size: 12px; font-weight: 700; }
.operator-call-row { min-height: 76px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.operator-call-row:hover { background: #edf7f5; box-shadow: -12px 0 #edf7f5, 12px 0 #edf7f5; }
.operator-call-row small, .carrier-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.carrier-metrics { margin-bottom: 8px; }
.carrier-row { display: grid; grid-template-columns: minmax(240px, 1fr) 190px 130px; align-items: center; gap: 18px; min-height: 68px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.carrier-row > strong { text-align: right; }

.plan-admin-list { display: grid; gap: 18px; }
.plan-admin-form { padding: 22px; border: 1px solid var(--line); background: #fff; }
.plan-admin-head, .plan-admin-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.plan-admin-head { margin-bottom: 20px; }
.plan-admin-head .eyebrow { margin-bottom: 2px; }
.plan-admin-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.plan-admin-fields .wide-field { grid-column: span 4; }
.plan-admin-actions { margin-top: 18px; }
.plan-admin-actions p { max-width: 620px; margin: 0; font-size: 13px; }
.plan-admin-actions label { min-width: 290px; }
.catalog-create { margin: 24px 0; border: 1px solid var(--line); background: #fff; }
.catalog-create summary { padding: 16px 20px; color: var(--accent-dark); font-weight: 750; cursor: pointer; }
.catalog-create .plan-admin-form { border: 0; border-top: 1px solid var(--line); }
.addon-create-form, .line-activation-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; padding: 20px; border: 1px solid var(--line); background: #fff; }
.addon-create-form .wide-field { grid-column: span 3; }
.addon-create-form button, .line-activation-form button { align-self: end; }
.addon-list, .phone-profile-list { border-top: 1px solid var(--line); }
.addon-row, .phone-profile-row { min-height: 72px; padding: 12px 0; display: grid; grid-template-columns: minmax(220px, 1.5fr) minmax(150px, 1fr) minmax(120px, .7fr) auto; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.addon-row small, .phone-profile-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.phone-profile-form { display: flex; align-items: end; gap: 12px; margin-top: 18px; }
.phone-profile-form label { flex: 1; }
.phone-profile-actions { display: grid; justify-items: end; gap: 8px; }
.profile-rename-form { display: flex; align-items: center; gap: 6px; }
.profile-rename-form input { width: 130px; min-height: 34px; padding: 6px 8px; }
.outbound-pin-list { border-top: 1px solid var(--line); }
.outbound-pin-row { display: grid; grid-template-columns: minmax(190px, 1fr) 110px 130px 130px auto; align-items: end; gap: 14px; min-height: 82px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.outbound-pin-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.outbound-pin-row label span { display: block; margin-bottom: 6px; }
.outbound-pin-row input { width: 100%; }
.disclosure-profile-list { border-top: 1px solid var(--line); }
.disclosure-profile { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(180px, .8fr) minmax(230px, 1.2fr) minmax(220px, 1.4fr) auto; align-items: center; gap: 16px; min-height: 94px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.disclosure-profile > div small { display: block; margin-top: 3px; color: var(--muted); }
.disclosure-profile p { margin: 0; font-size: 12px; }
.disclosure-profile .toggle-row { align-self: center; }
.setup-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr); gap: 56px; }
.setup-layout > aside { padding-left: 38px; border-left: 1px solid var(--line); }
.carrier-selector { display: flex; align-items: end; gap: 8px; }
.carrier-selector label { min-width: 190px; }
.guide-status { margin-bottom: 22px; }
.guide-status h2 { margin-top: 14px; }
.setup-steps { margin: 0 0 24px; padding-left: 25px; }
.setup-steps li { margin-bottom: 14px; padding-left: 6px; }
.setup-lines { border-top: 1px solid var(--line); }
.setup-line { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.setup-line small { display: block; color: var(--muted); }
.text-button { border: 0; padding: 3px; color: var(--accent-dark); background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.text-button.danger { color: var(--danger); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.empty-state { padding: 60px 24px; text-align: center; border: 1px solid var(--line); background: #fff; }
.empty-state.compact { padding: 34px 20px; }

.auth-body { min-height: 100vh; background: #edf3f1; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .8fr) minmax(520px, 1.2fr); }
.auth-brand { min-height: 100vh; padding: 42px 48px; display: flex; flex-direction: column; justify-content: space-between; background: var(--sidebar); color: #fff; }
.auth-brand .brand { padding: 0; }
.auth-brand h1 { max-width: 460px; margin-bottom: 16px; font-size: 40px; }
.auth-brand p { max-width: 500px; color: #c2cfcc; font-size: 17px; }
.auth-brand .eyebrow { color: #77d5cb; font-size: 12px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #a8bbb6; font-size: 12px; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 38px; }
.auth-form { width: min(520px, 100%); display: grid; gap: 17px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.auth-form fieldset { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.auth-form legend { grid-column: 1 / -1; }
.plan-choice { position: relative; display: block; cursor: pointer; }
.plan-choice input { position: absolute; opacity: 0; pointer-events: none; }
.plan-choice span { display: block; min-height: 80px; padding: 11px; border: 1px solid var(--line); border-radius: 4px; }
.plan-choice small { display: block; margin-top: 5px; color: var(--muted); font-weight: 500; }
.plan-choice input:checked + span { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: #eff9f7; }
.signup-plan { min-width: 0; }
.signup-plan-details { margin-top: 5px; border: 1px solid var(--line); border-radius: 4px; background: #f9fbfa; }
.signup-plan-details summary { padding: 7px 9px; color: var(--accent-dark); font-size: 11px; font-weight: 750; cursor: pointer; }
.signup-plan-details .plan-terms { margin: 0; padding: 0 9px 8px; }
.signup-plan-details .plan-terms div { display: grid; grid-template-columns: 1fr; gap: 1px; padding: 5px 0; border-top: 1px solid var(--line); }
.signup-plan-details .plan-terms dt { color: var(--muted); font-size: 10px; }
.signup-plan-details .plan-terms dd { margin: 0; font-size: 11px; font-weight: 700; }
.check-row { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 8px; font-weight: 500; }
.check-row input { width: 18px; min-height: 18px; margin-top: 2px; }
.form-alternate, .form-note { margin: 0; text-align: center; font-size: 13px; }

.public-body { background: #fff; }
.public-header { min-height: 72px; padding: 12px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); background: #fff; }
.public-header .brand { padding: 0; color: var(--ink); }
.public-header nav { display: flex; gap: 20px; margin-left: auto; }
.public-header nav a { color: var(--muted); text-decoration: none; font-weight: 680; }
.public-header nav a[aria-current="page"] { color: var(--accent-dark); }
.public-header > div { display: flex; gap: 8px; }
.public-body main { min-height: calc(100vh - 160px); }
.public-hero { min-height: 610px; padding: 72px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: 72px; background: #eef5f3; border-bottom: 1px solid var(--line); }
.public-hero h1 { margin-bottom: 18px; font-size: 58px; }
.public-lede { max-width: 620px; font-size: 20px; line-height: 1.55; }
.evidence-preview { padding: 24px; border: 1px solid #bfcac7; border-top: 5px solid var(--accent); border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.preview-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.preview-head small { display: block; margin-top: 3px; color: var(--muted); }
.evidence-preview dl { margin: 0; }
.evidence-preview dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.evidence-preview dt { color: var(--muted); }
.evidence-preview dd { margin: 0; font-weight: 700; text-align: right; }
.public-band { max-width: 1180px; margin: 0 auto; padding: 72px 24px; }
.public-section-head { max-width: 680px; margin-bottom: 34px; }
.public-section-head h2, .public-feature-band h2, .public-cta h2, .public-page-head h1 { font-size: 34px; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.process-grid article { padding: 28px 30px 0 0; }
.process-grid article + article { padding-left: 30px; border-left: 1px solid var(--line); }
.process-grid article > span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 50%; color: #fff; background: var(--accent); font-weight: 800; }
.public-feature-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 72px; border-top: 1px solid var(--line); }
.public-facts { margin: 0; }
.public-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.public-facts dt { color: var(--muted); }
.public-facts dd { margin: 2px 0 0; font-weight: 700; }
.public-cta { padding: 44px 24px; display: flex; align-items: center; justify-content: center; gap: 32px; color: #fff; background: var(--sidebar); }
.public-cta h2 { margin: 0; }
.public-page-head { max-width: 780px; margin: 0 auto; padding: 68px 24px 38px; text-align: center; }
.public-page-head p:last-child { font-size: 17px; }
.public-plan-grid { max-width: 1180px; margin: 0 auto; padding: 0 24px 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.public-plan { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-top: 4px solid #82918d; border-radius: 6px; background: #fff; }
.public-plan:nth-child(2) { border-top-color: var(--accent); }
.public-plan .plan-terms { margin: 0 0 24px; }
.plan-terms div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.plan-terms dt { color: var(--muted); }
.plan-terms dd { margin: 0; font-weight: 700; text-align: right; }
.public-plan .button { margin-top: auto; }
.public-terms-summary { display: flex; align-items: center; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line); }
.public-terms-summary > div { max-width: 760px; }
.terms-document { max-width: 820px; margin: 0 auto; padding: 0 24px 72px; }
.terms-document h2 { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.public-footer { max-width: 1180px; min-height: 88px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.public-footer span { flex: 1; }

@media (max-width: 1100px) {
  .main-content { padding: 34px 28px 70px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid > div:nth-child(2) { border-right: 0; }
  .metrics-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-panel p { min-height: 0; }
  .call-list-head, .call-row { grid-template-columns: 68px minmax(180px, 1fr) 120px 160px 20px; }
  .auth-shell { grid-template-columns: 380px minmax(0, 1fr); }
  .auth-brand { padding: 34px; }
  .public-hero { grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr); gap: 42px; }
  .disclosure-profile { grid-template-columns: minmax(150px, 1fr) minmax(180px, 1fr) minmax(220px, 1.2fr); }
  .disclosure-profile p { grid-column: 1 / 3; }
}

@media (max-width: 820px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 26px 18px 92px; }
  .mobile-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -8px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .mobile-topbar .brand { min-width: 0; padding: 0; color: var(--ink); font-size: 16px; }
  .mobile-topbar .brand img { width: 26px; height: 26px; }
  .mobile-account-actions { display: flex; align-items: center; gap: 12px; }
  .mobile-account-actions a, .mobile-account-actions button { color: var(--accent-dark); font-size: 13px; font-weight: 700; text-decoration: none; }
  .mobile-account-actions form { margin: 0; }
  .mobile-account-actions button { padding: 0; border: 0; background: none; cursor: pointer; }
  .mobile-nav { position: fixed; inset: auto 0 0; height: 64px; padding: 5px 8px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid #30423e; background: var(--sidebar); z-index: 20; }
  .mobile-nav a { min-width: 0; min-height: 52px; padding: 5px; flex-direction: column; justify-content: center; gap: 3px; font-size: 11px; }
  .mobile-nav a::before { margin: 0; }
  .mobile-nav a.active { color: #fff; }
  .usage-hero { grid-template-columns: 1fr; }
  .usage-side { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; border-top: 1px solid var(--line); border-left: 0; }
  .usage-side div { display: block; border-right: 1px solid var(--line); border-bottom: 0; }
  .usage-side div:last-child { border-right: 0; }
  .usage-side strong { display: block; margin-top: 3px; text-align: left; }
  .call-list-head { display: none; }
  .call-row { grid-template-columns: 54px minmax(0, 1fr) auto 18px; gap: 10px; }
  .call-duration { display: none; }
  .retention { text-align: right; }
  .split-section, .settings-layout, .detail-grid, .operator-grid, .operator-customer-grid { grid-template-columns: 1fr; gap: 30px; }
  .settings-workspace { grid-template-columns: 1fr; gap: 30px; }
  .settings-tabs { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .settings-tabs a { border-bottom: 3px solid transparent; border-left: 0; }
  .settings-tabs a.active { border-bottom-color: var(--accent); border-left-color: transparent; }
  .split-section > div + div, .security-settings { padding: 30px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .operator-customer-grid > div + div { padding: 30px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { min-height: 260px; padding: 24px; }
  .auth-brand h1 { font-size: 32px; }
  .trust-line { display: none; }
  .auth-form-wrap { padding: 22px 14px 42px; }
  .auth-form { padding: 22px; }
  .customer-list-head { display: none; }
  .customer-row { grid-template-columns: minmax(0, 1fr) auto; gap: 9px 16px; padding: 15px 0; }
  .customer-row > span:nth-child(3), .customer-row > span:nth-child(4) { grid-column: 1; }
  .customer-row > .status-label { grid-column: 2; grid-row: 1; }
  .promotion-row { grid-template-columns: minmax(0, 1fr) auto; }
  .promotion-row > span:nth-child(2), .promotion-row > span:nth-child(3), .promotion-row > span:nth-child(4), .promotion-row > span:nth-child(5) { grid-column: 1; }
  .promotion-row > .status-label { grid-column: 2; grid-row: 1; }
  .operator-call-head { display: none; }
  .operator-call-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 14px 0; }
  .operator-call-row > span:nth-child(3) { grid-column: 1; }
  .operator-call-row > span:nth-child(4) { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
  .carrier-row { grid-template-columns: minmax(0, 1fr) auto; }
  .carrier-row > span:nth-child(2) { grid-column: 1; }
  .carrier-row > strong { grid-column: 2; grid-row: 1; }
  .plan-admin-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-admin-fields .wide-field { grid-column: span 2; }
  .addon-create-form, .line-activation-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addon-create-form .wide-field { grid-column: span 2; }
  .addon-row, .phone-profile-row { grid-template-columns: minmax(0, 1fr) auto; }
  .addon-row > span:nth-child(2), .phone-profile-row > span:nth-child(2), .phone-profile-row > span:nth-child(3) { grid-column: 1; }
  .phone-profile-actions { grid-column: 2; grid-row: 1 / span 3; }
  .outbound-pin-row { grid-template-columns: minmax(0, 1fr) auto repeat(2, 120px); }
  .outbound-pin-row .button { grid-column: 4; }
  .organization-card, .organization-grid, .setup-layout { grid-template-columns: 1fr; gap: 30px; }
  .organization-grid > div + div, .setup-layout > aside { padding: 30px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .public-header { flex-wrap: wrap; }
  .public-header nav { order: 3; width: 100%; justify-content: center; margin: 0; padding-top: 8px; border-top: 1px solid var(--line); }
  .public-hero { min-height: auto; padding-top: 54px; padding-bottom: 54px; grid-template-columns: 1fr; }
  .public-hero h1 { font-size: 48px; }
  .evidence-preview { max-width: 680px; }
  .public-plan-grid { grid-template-columns: 1fr; }
  .public-plan { min-height: 0; }
}

@media (max-width: 560px) {
  h1 { font-size: 26px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-head .button { width: 100%; }
  .usage-main { padding: 22px 18px; }
  .usage-number { font-size: 38px; }
  .usage-foot { display: grid; gap: 3px; }
  .usage-side { grid-template-columns: 1fr; }
  .usage-side div { display: flex; border-right: 0; border-bottom: 1px solid var(--line); }
  .usage-side strong { margin-top: 0; text-align: right; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metrics-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .filter-bar, .inline-form { align-items: stretch; flex-direction: column; }
  .filter-bar label { min-width: 0; }
  .operator-filters label, .operator-filters .search-field { flex: none; }
  .call-row { grid-template-columns: 46px minmax(0, 1fr) 18px; }
  .retention { grid-column: 2; text-align: left; }
  .row-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .fact-list div { grid-template-columns: 1fr; gap: 3px; }
  .cycle-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .cycle-row > strong { grid-column: 2; grid-row: 1; }
  .button-group { width: 100%; }
  .button-group .button { flex: 1; }
  .promo-form { grid-template-columns: 1fr; padding: 18px; }
  .quick-values { grid-column: 1; }
  .plan-admin-fields { grid-template-columns: 1fr; }
  .plan-admin-fields .wide-field { grid-column: 1; }
  .addon-create-form, .line-activation-form { grid-template-columns: 1fr; padding: 18px; }
  .addon-create-form .wide-field { grid-column: 1; }
  .phone-profile-form { align-items: stretch; flex-direction: column; }
  .phone-profile-row { grid-template-columns: minmax(0, 1fr); }
  .phone-profile-actions { grid-column: 1; grid-row: auto; justify-items: start; width: 100%; }
  .profile-rename-form { width: 100%; }
  .profile-rename-form label { flex: 1; }
  .profile-rename-form input { width: 100%; }
  .outbound-pin-row { grid-template-columns: 1fr; align-items: stretch; padding: 18px 0; }
  .outbound-pin-row .button { grid-column: 1; width: 100%; }
  .plan-admin-head, .plan-admin-actions { align-items: flex-start; flex-direction: column; }
  .plan-admin-actions .button { width: 100%; }
  .evidence-facts > div { grid-template-columns: 1fr; gap: 3px; }
  .temporary-password { grid-template-columns: 1fr; }
  .temporary-password small { grid-column: 1; }
  .audit-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .auth-form fieldset { grid-template-columns: 1fr; }
  .plan-choice span { min-height: 0; }
  .organization-card { padding: 18px; }
  .organization-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .organization-card form { grid-template-columns: 1fr; }
  .organization-card .button-group { grid-column: 1; align-items: stretch; flex-direction: column; }
  .organization-create { grid-template-columns: 1fr; }
  .organization-row { grid-template-columns: minmax(0, 1fr) auto; padding: 9px 0; }
  .organization-row form { grid-column: 1 / -1; }
  .disclosure-profile { grid-template-columns: 1fr; align-items: stretch; padding: 20px 0; }
  .disclosure-profile p { grid-column: 1; }
  .carrier-selector { width: 100%; align-items: stretch; flex-direction: column; }
  .carrier-selector label { min-width: 0; }
  .public-header { padding: 10px 16px; gap: 12px; }
  .public-header .brand { margin-right: auto; }
  .public-header > div .secondary { display: none; }
  .public-header nav { justify-content: flex-start; overflow-x: auto; }
  .public-header nav a { flex: 0 0 auto; }
  .public-hero { padding: 42px 18px; gap: 32px; }
  .public-hero h1 { font-size: 40px; }
  .public-lede { font-size: 17px; }
  .preview-head { grid-template-columns: auto minmax(0, 1fr); }
  .preview-head .status-label { grid-column: 2; justify-self: start; }
  .evidence-preview { padding: 18px; }
  .process-grid, .public-feature-band { grid-template-columns: 1fr; }
  .process-grid article { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .process-grid article + article { padding-left: 0; border-left: 0; }
  .public-feature-band { gap: 30px; }
  .public-cta, .public-terms-summary, .public-footer { align-items: flex-start; flex-direction: column; }
  .public-cta { gap: 18px; }
  .public-page-head { text-align: left; }
  .public-section-head h2, .public-feature-band h2, .public-cta h2, .public-page-head h1 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
