@font-face {
  font-family: "Inter";
  src: url("/assets/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/inter-tight-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --canvas: #f7f8fa;
  --surface: #ffffff;
  --surface-subtle: #fafaf8;
  --surface-raised: #ffffff;
  --ink: #191a17;
  --ink-soft: #373a34;
  --muted: #6d7169;
  --muted-2: #8c9088;
  --line: #e2e3de;
  --line-strong: #d2d5cd;
  --dark: #1b1d1a;
  --dark-2: #292c27;
  --green: #276749;
  --green-2: #1f5b40;
  --green-soft: #e3f1e8;
  --lime: #dcf3b8;
  --blue: #1265d8;
  --blue-soft: #e8f0fb;
  --amber: #9a5d18;
  --amber-soft: #f8ecd8;
  --red: #a43c32;
  --red-soft: #f8e7e4;
  --violet: #6756a7;
  --violet-soft: #efecf8;
  --sidebar-width: 216px;
  --topbar-height: 74px;
  --sandbox-height: 32px;
  --sandbox-offset: calc(var(--sandbox-height) + env(safe-area-inset-top, 0px));
  --radius-xs: 6px;
  --radius-sm: 9px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px rgb(22 24 20 / 4%), 0 2px 8px rgb(22 24 20 / 3%);
  --shadow-md: 0 16px 48px rgb(22 24 20 / 12%), 0 2px 8px rgb(22 24 20 / 6%);
  --shadow-lg: 0 24px 80px rgb(22 24 20 / 18%), 0 4px 18px rgb(22 24 20 / 8%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--canvas);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
select,
input[type="checkbox"],
input[type="radio"] {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

:focus-visible {
  outline: 2px solid #3174d2;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: white;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sandbox-bar {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: var(--sandbox-offset);
  padding: env(safe-area-inset-top, 0px) 16px 0;
  border-bottom: 1px solid #c9dfaa;
  background: #eaf8d3;
  color: #26331d;
  font-size: 11px;
  letter-spacing: .01em;
}

.sandbox-bar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.sandbox-bar span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4c7c26;
  box-shadow: 0 0 0 3px rgb(76 124 38 / 12%);
}

.sandbox-bar p {
  margin: 0 0 0 13px;
  color: #4d5b43;
}

.sandbox-bar button {
  margin-left: auto;
  padding: 3px 0;
  background: transparent;
  color: #345817;
  font-size: 11px;
  font-weight: 720;
  cursor: pointer;
}

.console-shell {
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  padding-top: var(--sandbox-offset);
}

.sidebar {
  position: fixed;
  z-index: 50;
  top: var(--sandbox-offset);
  bottom: 0;
  left: 0;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  padding: 18px 12px 12px;
  border-right: 1px solid var(--line);
  background: #f9f9f6;
}

.brand-row {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.brand > svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 3.4;
}

.brand > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 26px;
}

.primary-nav > p {
  margin: 20px 10px 7px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 740;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.primary-nav > p:first-child {
  margin-top: 0;
}

.primary-nav a,
.docs-link {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 11px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #555951;
  font-size: 13px;
  font-weight: 590;
  transition: background-color 120ms ease, color 120ms ease;
}

.primary-nav a:hover,
.docs-link:hover {
  background: #efefeb;
  color: var(--ink);
}

.primary-nav a.active {
  background: #e9eae5;
  color: #20221e;
  font-weight: 690;
}

.primary-nav a > svg,
.docs-link > svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.primary-nav a > b {
  min-width: 20px;
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: #e3e4de;
  color: #5a5f55;
  font-size: 12px;
  font-weight: 730;
  text-align: center;
}

.primary-nav .nav-dot {
  min-width: 6px;
  width: 6px;
  height: 6px;
  padding: 0;
  background: var(--amber);
}

.sidebar-spacer {
  flex: 1;
  min-height: 30px;
}

.docs-link {
  margin-bottom: 7px;
}

.docs-link .tiny {
  width: 13px;
  height: 13px;
  margin-left: auto;
}

.workspace-switcher {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 9px;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
}

.workspace-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--dark);
  color: white;
  font-family: "Inter Tight", sans-serif;
  font-size: 12px;
  font-weight: 780;
}

.workspace-switcher div {
  min-width: 0;
}

.workspace-switcher strong,
.workspace-switcher small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-switcher strong {
  font-size: 11px;
  font-weight: 700;
}

.workspace-switcher small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

.workspace {
  min-width: 0;
  max-width: 100%;
  min-height: calc(100vh - var(--sandbox-offset));
  margin-left: var(--sidebar-width);
  overflow-x: clip;
}

.topbar {
  position: sticky;
  z-index: 30;
  top: var(--sandbox-offset);
  display: flex;
  min-height: var(--topbar-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 28px;
  border-bottom: 1px solid var(--line);
  background: rgb(247 248 250 / 94%);
  backdrop-filter: blur(16px);
}

.topbar-leading,
.topbar-actions {
  display: flex;
  align-items: center;
}

.topbar-leading {
  gap: 10px;
  min-width: 150px;
}

.topbar-leading p,
.topbar-leading h1 {
  margin: 0;
}

.topbar-leading p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.topbar-leading h1 {
  margin-top: 2px;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 19px;
  font-weight: 730;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.topbar-actions {
  justify-content: flex-end;
  gap: 8px;
}

.icon-button,
.avatar-button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--line);
  background: var(--surface);
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.notification-button {
  position: relative;
}

.notification-button i {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--canvas);
  border-radius: 50%;
  background: var(--red);
}

.avatar-button {
  background: #e1e4dc;
  color: #384035;
  font-size: 12px;
  font-weight: 760;
}

.search-trigger {
  display: flex;
  width: min(310px, 28vw);
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 0 8px 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--muted);
  text-align: left;
  box-shadow: 0 1px 1px rgb(22 24 20 / 2%);
  cursor: pointer;
}

.search-trigger:hover {
  border-color: var(--line-strong);
}

.search-trigger svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-trigger span {
  flex: 1;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

kbd {
  display: inline-flex;
  min-height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 1px solid #d9dbd4;
  border-bottom-color: #c7cac1;
  border-radius: 5px;
  background: #f6f6f3;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 620;
  box-shadow: 0 1px 0 #e0e2dc;
}

.button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.button:hover {
  border-color: #bfc3ba;
  background: #fafaf8;
}

.button:active {
  transform: translateY(1px);
}

.button:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.primary-button {
  border-color: var(--dark);
  background: var(--dark);
  color: white;
}

.primary-button:hover {
  border-color: #31342e;
  background: #31342e;
}

.danger-button {
  border-color: #e3c4c0;
  background: #fff9f8;
  color: var(--red);
}

.success-button {
  border-color: var(--green-2);
  background: var(--green-2);
  color: white;
}

.button.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.app-view {
  width: 100%;
  max-width: 1680px;
  min-width: 0;
  min-height: calc(100vh - var(--sandbox-offset) - var(--topbar-height));
  margin: 0 auto;
  overflow-x: clip;
  padding: 28px 30px 60px;
}

.app-view > * {
  min-width: 0;
  max-width: 100%;
}

.view-loading {
  display: grid;
  min-height: 55vh;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.view-loading span {
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.view-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.view-head > div:first-child {
  max-width: 660px;
}

.view-head h2,
.view-head p {
  margin: 0;
}

.view-head h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(24px, 2.4vw, 29px);
  font-weight: 670;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.view-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.view-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.metric-card {
  min-width: 0;
  padding: 17px 18px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.metric-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.metric-card header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.metric-card header b {
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 730;
}

.metric-card strong {
  display: block;
  margin-top: 13px;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 27px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.04em;
}

.metric-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.metric-card footer em {
  color: var(--green);
  font-style: normal;
  font-weight: 690;
}

.insight-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #dce8cb;
  border-radius: var(--radius);
  background: #f1f9e6;
  color: #354229;
}

.insight-strip > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--lime);
}

.insight-strip svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.insight-strip p {
  margin: 0;
  font-size: 11px;
}

.insight-strip p strong {
  display: block;
  margin-bottom: 2px;
  color: #25301c;
  font-size: 12px;
}

.insight-strip button {
  background: transparent;
  color: #365e1f;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.content-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .65fr);
  align-items: start;
  gap: 16px;
}

.stack {
  display: grid;
  min-width: 0;
  gap: 16px;
}

.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.panel-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-header > div:first-child {
  min-width: 0;
}

.panel-header h3,
.panel-header p {
  margin: 0;
}

.panel-header h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.015em;
}

.panel-header p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.panel-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.panel-body {
  padding: 16px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.toolbar-group,
.segment-control {
  display: flex;
  align-items: center;
  gap: 7px;
}

.table-search {
  position: relative;
  display: flex;
  width: min(270px, 28vw);
  align-items: center;
}

.table-search svg {
  position: absolute;
  left: 10px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-width: 1.8;
  pointer-events: none;
}

.table-search input,
.field input,
.field select,
.field textarea,
.webhook-input,
.inline-input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  font-size: 12px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.table-search input {
  padding: 0 10px 0 33px;
}

.table-search input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.webhook-input:focus,
.inline-input:focus {
  border-color: #6d96cf;
  outline: none;
  box-shadow: 0 0 0 3px rgb(49 116 210 / 10%);
}

.segment-control {
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-subtle);
}

.segment-control button {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.segment-control button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgb(22 24 20 / 10%);
}

.table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  contain: inline-size layout;
  overscroll-behavior-inline: contain;
}

.data-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table th {
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #fafaf8;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .065em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  min-height: 50px;
  padding: 10px 12px;
  border-bottom: 1px solid #ecece8;
  vertical-align: middle;
  white-space: nowrap;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr {
  transition: background-color 100ms ease;
}

.data-table tbody tr:hover {
  background: #fbfbf9;
}

.data-table tbody tr.clickable {
  cursor: pointer;
}

.data-table .checkbox-cell {
  width: 36px;
  padding-right: 0;
}

.data-table input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--dark);
}

.account-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #e7e9e2;
  color: #485044;
  font-size: 11px;
  font-weight: 750;
}

.account-cell strong,
.account-cell small {
  display: block;
}

.account-cell strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 680;
}

.account-cell small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.money-cell {
  font-variant-numeric: tabular-nums;
  font-weight: 670;
}

.muted-cell {
  color: var(--muted);
}

.status-pill,
.network-pill,
.risk-pill,
.mode-pill {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  gap: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: #eceee8;
  color: #555c50;
  font-size: 11px;
  font-weight: 680;
  text-transform: capitalize;
}

.status-pill::before,
.network-pill::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-pill.ready,
.status-pill.running,
.status-pill.paid,
.status-pill.completed,
.status-pill.active,
.status-pill.resolved {
  background: var(--green-soft);
  color: var(--green);
}

.status-pill.promised,
.status-pill.in-call,
.status-pill.sandbox,
.status-pill.partial-payment,
.status-pill.payment-pending,
.status-pill.payment-succeeded,
.status-pill.payment-settled {
  background: var(--blue-soft);
  color: var(--blue);
}

.status-pill.escalated,
.status-pill.disputed,
.status-pill.wrong-party,
.status-pill.blocked,
.status-pill.failed {
  background: var(--red-soft);
  color: var(--red);
}

.status-pill.paused,
.status-pill.review,
.status-pill.gated,
.status-pill.needs-config,
.status-pill.no-answer,
.status-pill.draft {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-pill::before {
  display: none;
}

.risk-pill.high,
.risk-pill.urgent {
  background: var(--red-soft);
  color: var(--red);
}

.risk-pill.medium {
  background: var(--amber-soft);
  color: var(--amber);
}

.network-pill {
  background: #f0f1ed;
}

.network-pill.globe { color: #6e4897; background: #f0eafa; }
.network-pill.smart { color: #28714d; background: #e4f3ea; }
.network-pill.dito { color: #aa3b31; background: #fae9e7; }

.row-action {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.row-action:hover {
  background: #edeee9;
  color: var(--ink);
}

.row-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.table-empty {
  padding: 48px 20px !important;
  color: var(--muted);
  text-align: center;
}

.table-footer {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.mini-list {
  display: grid;
}

.mini-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid #ecece8;
}

.mini-list-item:last-child {
  border-bottom: 0;
}

.mini-list-item strong,
.mini-list-item small {
  display: block;
}

.mini-list-item strong {
  font-size: 12px;
  font-weight: 680;
}

.mini-list-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mini-list-item > span {
  align-self: start;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.queue-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.queue-summary > div {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.queue-summary > div:last-child {
  border-right: 0;
}

.queue-summary small,
.queue-summary strong {
  display: block;
}

.queue-summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 670;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.queue-summary strong {
  margin-top: 5px;
  font-family: "Inter Tight", sans-serif;
  font-size: 18px;
  font-weight: 660;
}

.carrier-bars {
  display: grid;
  gap: 14px;
}

.carrier-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
}

.carrier-row span,
.carrier-row strong {
  font-size: 12px;
}

.carrier-row span {
  color: var(--muted);
  font-weight: 630;
}

.carrier-row strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.bar-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eae5;
}

.bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.call-layout {
  display: grid;
  grid-template-columns: minmax(260px, .56fr) minmax(420px, 1.2fr) minmax(280px, .62fr);
  align-items: stretch;
  gap: 12px;
}

.call-layout > .panel {
  min-height: 650px;
}

.call-account-card {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.call-account-card .account-avatar {
  width: 42px;
  height: 42px;
  font-size: 11px;
}

.call-account-card h3 {
  margin: 14px 0 3px;
  font-family: "Inter Tight", sans-serif;
  font-size: 21px;
  letter-spacing: -.035em;
}

.call-account-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.account-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 18px -20px -20px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.account-facts div {
  min-width: 0;
  padding: 12px 15px;
  background: var(--surface);
}

.account-facts small,
.account-facts strong {
  display: block;
}

.account-facts small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.account-facts strong {
  margin-top: 4px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
}

.eligibility-card {
  padding: 16px;
}

.eligibility-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eligibility-card header strong {
  font-size: 11px;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.check-list li span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.check-list li.fail span {
  background: var(--red-soft);
  color: var(--red);
}

.check-list svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.call-stage {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #20231f;
  color: #f8faf5;
}

.call-stage .panel-header {
  border-bottom-color: #373b34;
}

.call-stage .panel-header p {
  color: #a7aea1;
}

.live-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c9d0c3;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .06em;
}

.live-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8bd154;
  box-shadow: 0 0 0 4px rgb(139 209 84 / 10%);
}

.transcript-window {
  flex: 1;
  min-height: 440px;
  max-height: 550px;
  overflow-y: auto;
  padding: 20px;
  scroll-behavior: smooth;
}

.transcript-empty {
  display: grid;
  min-height: 400px;
  place-items: center;
  align-content: center;
  color: #8e978a;
  text-align: center;
}

.transcript-empty .wave-idle {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 3px;
}

.transcript-empty .wave-idle i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 99px;
  background: #5a6256;
}

.transcript-empty .wave-idle i:nth-child(2n) { height: 17px; }
.transcript-empty .wave-idle i:nth-child(3n) { height: 25px; }

.transcript-empty strong {
  margin-top: 16px;
  color: #d7dcd3;
  font-size: 12px;
}

.transcript-empty p {
  max-width: 270px;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.transcript-line {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 17px;
  animation: line-in 250ms ease both;
}

@keyframes line-in {
  from { opacity: 0; transform: translateY(5px); }
}

.transcript-line > span {
  color: #929a8d;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.transcript-line p {
  margin: 0;
  color: #eef1ea;
  font-size: 11px;
  line-height: 1.6;
}

.transcript-line.customer p {
  color: #c9d0c3;
}

.transcript-line.tool {
  margin: 12px 0 17px 72px;
  padding: 9px 11px;
  border: 1px solid #3f4b39;
  border-radius: 8px;
  background: #293025;
  grid-template-columns: 15px minmax(0, 1fr);
  color: #aeda8a;
}

.transcript-line.tool svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.transcript-line.tool p {
  color: #cddfc1;
  font-size: 11px;
}

.call-controls {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px;
  border-top: 1px solid #373b34;
  background: #1c1f1b;
}

.call-control {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #40453d;
  border-radius: 50%;
  background: #282c26;
  color: #dce1d8;
  cursor: pointer;
}

.call-control:hover {
  background: #343a31;
}

.call-control.primary {
  width: auto;
  min-width: 124px;
  padding: 0 18px;
  border-radius: 999px;
  border-color: #83b95d;
  background: #7cb353;
  color: #14210d;
  font-size: 12px;
  font-weight: 750;
}

.call-control.danger {
  border-color: #814b46;
  background: #613832;
  color: #ffd9d5;
}

.call-control svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.policy-event-list {
  display: grid;
}

.policy-event {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.policy-event:last-child { border-bottom: 0; }

.policy-event > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: #eef0ea;
  color: var(--muted);
}

.policy-event.pass > span { background: var(--green-soft); color: var(--green); }
.policy-event.block > span { background: var(--red-soft); color: var(--red); }

.policy-event svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.policy-event strong,
.policy-event small { display: block; }
.policy-event strong { font-size: 12px; }
.policy-event small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.policy-event time { color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; }

.campaign-grid,
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.campaign-card,
.integration-card,
.policy-card,
.review-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.campaign-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 17px;
}

.campaign-card > header,
.integration-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.campaign-card h3,
.campaign-card p {
  margin: 0;
}

.campaign-card h3 {
  font-family: "Inter Tight", sans-serif;
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -.025em;
}

.campaign-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.campaign-progress {
  margin-top: 22px;
}

.campaign-progress > div:first-child {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.campaign-progress strong {
  font-family: "Inter Tight", sans-serif;
  font-size: 28px;
  font-weight: 630;
  letter-spacing: -.04em;
}

.campaign-progress span {
  color: var(--muted);
  font-size: 11px;
}

.campaign-progress .bar-track {
  margin-top: 9px;
}

.campaign-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 17px;
}

.campaign-stats small,
.campaign-stats strong { display: block; }
.campaign-stats small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.campaign-stats strong { margin-top: 4px; font-size: 11px; }

.campaign-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto -17px -17px;
  padding: 12px 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.campaign-card footer button {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.campaign-card footer button svg {
  width: 13px;
  height: 13px;
  flex: none;
  fill: none;
  stroke: currentColor;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
  align-items: start;
  gap: 16px;
}

.review-card {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  overflow: hidden;
}

.review-card + .review-card { margin-top: 8px; }
.review-card > i { background: var(--amber); }
.review-card.urgent > i { background: var(--red); }
.review-card-content { padding: 14px 15px; }

.review-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.review-card h3,
.review-card p { margin: 0; }
.review-card h3 { font-size: 11px; font-weight: 700; }
.review-card p { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.review-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.review-card footer span { color: var(--muted); font-size: 11px; }

.score-ring {
  --score: 98;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green) calc(var(--score) * 1%), #e6e8e2 0);
  position: relative;
}

.score-ring::after {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--surface);
  content: "";
}

.score-ring strong {
  position: relative;
  z-index: 1;
  font-family: "Inter Tight", sans-serif;
  font-size: 23px;
}

.qa-summary {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 25px;
  text-align: center;
}

.qa-summary h3,
.qa-summary p { margin: 0; }
.qa-summary h3 { font-size: 12px; }
.qa-summary p { max-width: 250px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 16px;
  margin-bottom: 16px;
}

.policy-overview {
  padding: 22px;
  background: var(--dark);
  color: #f3f5f0;
}

.policy-overview header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.policy-overview h2,
.policy-overview p { margin: 0; }
.policy-overview h2 { font-family: "Inter Tight", sans-serif; font-size: 24px; font-weight: 650; letter-spacing: -.035em; }
.policy-overview p { margin-top: 6px; color: #aeb5a9; font-size: 12px; }

.policy-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 24px;
  border: 1px solid #3a3f37;
  border-radius: 10px;
  overflow: hidden;
  background: #3a3f37;
}

.policy-facts div { padding: 13px; background: #242722; }
.policy-facts small, .policy-facts strong { display: block; }
.policy-facts small { color: #8f9789; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.policy-facts strong { margin-top: 5px; font-size: 12px; }

.policy-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.policy-rule {
  position: relative;
  padding: 17px 17px 17px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.policy-rule > span {
  position: absolute;
  top: 16px;
  left: 15px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green);
}

.policy-rule svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.policy-rule h3, .policy-rule p { margin: 0; }
.policy-rule h3 { font-size: 11px; }
.policy-rule p { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.policy-rule footer { margin-top: 10px; color: var(--red); font-size: 11px; font-weight: 730; text-transform: uppercase; letter-spacing: .06em; }

.integration-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.integration-card {
  display: flex;
  min-height: 226px;
  flex-direction: column;
  padding: 17px;
}

.integration-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #eff0ec;
  color: #4a5047;
}

.integration-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.integration-card h3, .integration-card p { margin: 0; }
.integration-card h3 { margin-top: 14px; font-family: "Inter Tight", sans-serif; font-size: 16px; letter-spacing: -.025em; }
.integration-card > p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.integration-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.integration-meta span { padding: 3px 6px; border-radius: 5px; background: #eceee8; color: #52584f; font-family: ui-monospace, monospace; font-size: 12px; }

.integration-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: auto -17px -17px;
  padding: 11px 17px;
  border-top: 1px solid var(--line);
}

.integration-card footer a,
.integration-card footer button { background: transparent; color: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.integration-card footer a { color: var(--muted); }

.readiness-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid #ead6b8;
  border-radius: var(--radius);
  background: #fdf7ee;
}

.readiness-panel > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--amber-soft); color: var(--amber); }
.readiness-panel svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.readiness-panel h3, .readiness-panel p { margin: 0; }
.readiness-panel h3 { font-size: 11px; }
.readiness-panel p { margin-top: 3px; color: var(--muted); font-size: 11px; }

.audit-stream {
  position: relative;
  display: grid;
}

.audit-row {
  display: grid;
  grid-template-columns: 130px 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.audit-row:last-child { border-bottom: 0; }
.audit-row time { padding-top: 3px; color: #555b52; font-family: ui-monospace, monospace; font-size: 12px; }
.audit-row > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; background: #eff0ec; color: var(--muted); }
.audit-row > span svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.audit-row strong, .audit-row small { display: block; }
.audit-row strong { font-size: 12px; font-family: ui-monospace, monospace; font-weight: 650; }
.audit-row small { margin-top: 4px; color: #555b52; font-size: 12px; line-height: 1.45; }
.audit-row code { padding: 3px 6px; border-radius: 5px; background: #eceee8; color: #4c524a; font-family: ui-monospace, monospace; font-size: 12px; }

.empty-state {
  display: grid;
  min-height: 250px;
  place-items: center;
  align-content: center;
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.empty-state > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #eff0ec; color: #5a6056; }
.empty-state svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.empty-state h3, .empty-state p { margin: 0; }
.empty-state h3 { margin-top: 13px; color: var(--ink); font-size: 12px; }
.empty-state p { max-width: 330px; margin-top: 5px; font-size: 11px; line-height: 1.55; }
.empty-state .button { margin-top: 14px; }

dialog {
  margin: auto;
  padding: 0;
  border: 0;
  color: var(--ink);
}

dialog::backdrop {
  background: rgb(24 27 22 / 45%);
  backdrop-filter: blur(2px);
}

.command-dialog {
  width: min(620px, calc(100vw - 28px));
  max-height: min(600px, calc(100vh - 60px));
  overflow: hidden;
  border: 1px solid #d8dad3;
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8vh);
}

.command-dialog[open] { animation: dialog-in 130ms ease both; }

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(-10vh) scale(.985); }
}

@media (max-height: 720px) {
  .command-dialog {
    max-height: calc(100dvh - 24px);
    transform: none;
  }

  .command-results { max-height: calc(100dvh - 120px); }
}

.command-search {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
}

.command-search svg { width: 19px; height: 19px; fill: none; stroke: var(--muted); stroke-linecap: round; stroke-width: 1.8; }
.command-search input { width: 100%; border: 0; outline: 0; font-size: 14px; }
.command-search input::placeholder { color: #a2a69d; }
.command-results { max-height: 470px; overflow-y: auto; padding: 8px; }

.command-group > p { margin: 10px 9px 5px; color: var(--muted-2); font-size: 11px; font-weight: 720; text-transform: uppercase; letter-spacing: .09em; }
.command-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 9px; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
.command-item:hover, .command-item.active { background: #f0f1ed; }
.command-item > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #e6e8e2; color: #4d5449; font-size: 11px; font-weight: 750; }
.command-item strong, .command-item small { display: block; }
.command-item strong { font-size: 11px; }
.command-item small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.command-item > svg { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.command-dialog > footer { display: flex; min-height: 38px; align-items: center; gap: 15px; padding: 0 14px; border-top: 1px solid var(--line); background: #fafaf8; color: var(--muted); font-size: 11px; }
.command-dialog > footer span { display: flex; align-items: center; gap: 4px; }

.sheet-dialog {
  width: min(620px, 100vw);
  max-width: none;
  height: calc(100vh - var(--sandbox-offset));
  height: calc(100dvh - var(--sandbox-offset));
  max-height: none;
  margin: var(--sandbox-offset) 0 0 auto;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.sheet-dialog[open] { animation: sheet-in 180ms ease both; }
@keyframes sheet-in { from { transform: translateX(30px); opacity: 0; } }
.sheet-shell { display: flex; height: 100%; flex-direction: column; }
.sheet-shell > header, .workflow-shell > header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.sheet-shell > header p, .sheet-shell > header h2, .workflow-shell > header p, .workflow-shell > header h2 { margin: 0; }
.sheet-shell > header p, .workflow-shell > header p { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.sheet-shell > header h2, .workflow-shell > header h2 { margin-top: 3px; font-family: "Inter Tight", sans-serif; font-size: 19px; font-weight: 680; letter-spacing: -.025em; }
.sheet-content { flex: 1; overflow-y: auto; }

.sheet-hero {
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}

.sheet-identity { display: flex; align-items: center; gap: 12px; }
.sheet-identity .account-avatar { width: 44px; height: 44px; font-size: 11px; }
.sheet-identity h3, .sheet-identity p { margin: 0; }
.sheet-identity h3 { font-family: "Inter Tight", sans-serif; font-size: 21px; letter-spacing: -.03em; }
.sheet-identity p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }

.sheet-tabs { position: sticky; z-index: 2; top: 0; display: flex; gap: 22px; padding: 0 22px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 96%); }
.sheet-tabs button { min-height: 44px; padding: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12px; font-weight: 650; cursor: pointer; }
.sheet-tabs button.active { border-bottom-color: var(--ink); color: var(--ink); }
.sheet-section { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.sheet-section > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sheet-section h4, .sheet-section p { margin: 0; }
.sheet-section h4 { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.sheet-section > p { color: var(--muted); font-size: 11px; line-height: 1.6; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--line); }
.detail-grid div { padding: 12px; background: var(--surface); }
.detail-grid small, .detail-grid strong { display: block; }
.detail-grid small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.detail-grid strong { margin-top: 4px; font-size: 12px; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { position: absolute; top: 8px; bottom: 8px; left: 8px; width: 1px; background: var(--line); content: ""; }
.timeline-item { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 0 0 17px; }
.timeline-item > span { z-index: 1; width: 17px; height: 17px; border: 4px solid var(--surface); border-radius: 50%; background: #9aa094; box-shadow: 0 0 0 1px var(--line); }
.timeline-item.good > span { background: var(--green); }
.timeline-item.alert > span { background: var(--red); }
.timeline-item strong, .timeline-item small { display: block; }
.timeline-item strong { font-size: 11px; }
.timeline-item small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.workflow-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.workflow-dialog[open] { animation: workflow-in 150ms ease both; }
@keyframes workflow-in { from { opacity: 0; transform: translateY(8px) scale(.99); } }
.workflow-shell { display: flex; max-height: inherit; flex-direction: column; }
.workflow-steps { display: grid; grid-template-columns: repeat(5, 1fr); min-height: 54px; border-bottom: 1px solid var(--line); background: #fafaf8; }
.workflow-step { position: relative; display: flex; align-items: center; gap: 7px; padding: 0 13px; color: var(--muted); font-size: 11px; font-weight: 650; }
.workflow-step::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: transparent; content: ""; }
.workflow-step span { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 11px; }
.workflow-step.active { color: var(--ink); }
.workflow-step.active::after { background: var(--ink); }
.workflow-step.complete span { border-color: var(--green); background: var(--green); color: white; }
.workflow-shell form { flex: 1; overflow-y: auto; }
.workflow-body { min-height: 390px; padding: 24px; }
.workflow-body h3, .workflow-body > p { margin: 0; }
.workflow-body h3 { font-family: "Inter Tight", sans-serif; font-size: 21px; letter-spacing: -.03em; }
.workflow-body > p { max-width: 560px; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.workflow-footer { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); background: #fafaf8; }
.workflow-footer p { margin: 0; color: var(--muted); font-size: 11px; }
.workflow-footer > div { display: flex; gap: 8px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.field-grid.one { grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink-soft); font-size: 11px; font-weight: 680; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea { padding: 0 10px; }
.field textarea { min-height: 84px; padding-block: 9px; resize: vertical; }
.field small { color: var(--muted); font-size: 11px; line-height: 1.4; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 20px; }
.choice-card { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; min-height: 80px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.choice-card:hover { border-color: var(--line-strong); }
.choice-card.selected { border-color: #678b50; box-shadow: 0 0 0 2px rgb(103 139 80 / 10%); }
.choice-card input { margin: 2px 0 0; accent-color: var(--green); }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { font-size: 12px; }
.choice-card small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.review-list { display: grid; margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.review-list-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.review-list-row:last-child { border-bottom: 0; }
.review-list-row span { color: var(--muted); font-size: 11px; }
.review-list-row strong { font-size: 11px; }

.compact-dialog { width: min(680px, calc(100vw - 28px)); }
.import-content { min-height: 430px; overflow-y: auto; padding: 22px; }
.drop-zone { display: grid; min-height: 190px; place-items: center; align-content: center; padding: 22px; border: 1px dashed #c9ccc3; border-radius: 12px; background: #fafaf8; color: var(--muted); text-align: center; }
.drop-zone.dragging { border-color: var(--green); background: #f2f8ef; }
.drop-zone > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #e9ebe5; color: #555c50; }
.drop-zone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.drop-zone h3, .drop-zone p { margin: 0; }
.drop-zone h3 { margin-top: 13px; color: var(--ink); font-size: 12px; }
.drop-zone p { max-width: 360px; margin-top: 5px; font-size: 11px; line-height: 1.5; }
.drop-zone .button { margin-top: 13px; }
.import-helper { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; color: var(--muted); font-size: 11px; }
.import-helper button { padding: 0; background: transparent; color: var(--green); font-size: 11px; font-weight: 700; cursor: pointer; }

.import-results { display: grid; gap: 13px; }
.import-result-summary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.import-result-summary div { padding: 12px; border-right: 1px solid var(--line); }
.import-result-summary div:last-child { border-right: 0; }
.import-result-summary small, .import-result-summary strong { display: block; }
.import-result-summary small { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.import-result-summary strong { margin-top: 4px; font-size: 15px; }
.error-list { display: grid; gap: 6px; max-height: 190px; overflow-y: auto; }
.error-row { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 10px; padding: 9px 11px; border-radius: 8px; background: var(--red-soft); color: var(--red); font-size: 11px; }

.toast-region,
.dialog-toast-region {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: min(360px, calc(100vw - 36px));
  gap: 8px;
}

.dialog-toast-region {
  z-index: 2;
}

.toast {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #3c4138;
  border-radius: 11px;
  background: #252823;
  color: #f2f5ef;
  box-shadow: var(--shadow-md);
  animation: toast-in 160ms ease both;
}

@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.toast > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; background: #3d5132; color: #c8efa8; }
.toast.error > span { background: #593630; color: #ffc4bd; }
.toast svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.toast strong, .toast small { display: block; }
.toast strong { font-size: 12px; }
.toast small { margin-top: 3px; color: #aeb5aa; font-size: 11px; line-height: 1.4; }
.toast button { padding: 0; background: transparent; color: #aeb5aa; cursor: pointer; }

.sidebar-scrim,
.mobile-only {
  display: none;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.noscript {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--canvas);
  text-align: center;
}

.noscript a {
  text-decoration: underline;
}

/* Collections operating system surfaces */

.control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr);
  gap: 12px;
  margin-bottom: 12px;
}

.guided-proof {
  margin-bottom: 12px;
  overflow: hidden;
  background: linear-gradient(110deg, #fff 0%, #fff 55%, #f4f8ff 100%);
}

.guided-proof-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.guided-proof-steps button {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 86px;
  padding: 13px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.guided-proof-steps button:last-child {
  border-right: 0;
}

.guided-proof-steps button:hover {
  background: var(--surface-subtle);
}

.guided-proof-steps button > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 760;
}

.guided-proof-steps button div {
  min-width: 0;
}

.guided-proof-steps strong,
.guided-proof-steps small {
  display: block;
}

.guided-proof-steps strong {
  font-size: 11px;
}

.guided-proof-steps small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.guided-proof-steps b {
  color: var(--blue);
  font-size: 10px;
}

.outcome-panel,
.attention-panel {
  min-height: 248px;
}

.outcome-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(94px, 1fr) 28px) minmax(108px, 1.12fr);
  align-items: center;
  gap: 0;
  padding: 28px 20px 24px;
}

.outcome-path > div {
  min-width: 0;
  padding: 15px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #f8fbff;
}

.outcome-path > div.cash {
  border-color: #bcdcca;
  background: #f1faf5;
}

.outcome-path small,
.outcome-path strong,
.outcome-path span {
  display: block;
}

.outcome-path small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.outcome-path strong {
  margin-top: 6px;
  font-family: "Inter Tight", sans-serif;
  font-size: 25px;
  letter-spacing: -.04em;
}

.outcome-path span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.outcome-path > i {
  height: 1px;
  background: #9db5d5;
}

.outcome-path > i::after {
  display: block;
  width: 5px;
  height: 5px;
  margin: -2px 0 0 auto;
  border-top: 1px solid #7e9bc2;
  border-right: 1px solid #7e9bc2;
  content: "";
  transform: rotate(45deg);
}

.panel-note {
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.attention-list {
  display: grid;
}

.attention-list > button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.attention-list > button:last-child { border-bottom: 0; }
.attention-list > button:hover { background: var(--surface-subtle); }

.attention-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.attention-icon.urgent { background: var(--red-soft); color: var(--red); }
.attention-icon.warning { background: var(--amber-soft); color: var(--amber); }
.attention-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.attention-list strong, .attention-list small { display: block; }
.attention-list strong { font-size: 12px; }
.attention-list small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.attention-list b { color: var(--blue); font-size: 11px; }

.campaign-table-panel,
.ranked-panel {
  margin-bottom: 12px;
}

.data-table td > small,
.data-table td > strong + small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.ranked-work {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ranked-work > button {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-width: 0;
  min-height: 112px;
  padding: 14px;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ranked-work > button:last-child { border-right: 0; }
.ranked-work > button:hover { background: var(--surface-subtle); }
.ranked-work > button > span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; background: #eaf1fb; color: var(--blue); font-size: 11px; font-weight: 750; }
.ranked-work strong, .ranked-work small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranked-work strong { font-size: 12px; }
.ranked-work small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.ranked-work b { grid-column: 2; margin-top: 8px; font-size: 11px; }
.ranked-work em { grid-column: 2; color: var(--muted); font-size: 11px; font-style: normal; line-height: 1.35; }

.inbox-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: 670px;
  overflow: hidden;
}

.thread-list {
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #fbfbfa;
}

.thread-list > header {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.thread-list .table-search { width: 100%; }
.thread-list .segment-control { justify-self: start; }

.thread-row {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  border-bottom: 1px solid #e9eae6;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.thread-row:hover { background: #f5f6f3; }
.thread-row.active { background: #edf4fe; box-shadow: inset 3px 0 0 var(--blue); }
.thread-row strong, .thread-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-row strong { font-size: 12px; }
.thread-row small { margin-top: 3px; color: #555b52; font-size: 12px; }
.thread-row time { color: #555b52; font-size: 12px; }
.thread-row.active small,
.thread-row.active time { color: #4b5764; }
.thread-row > i { position: absolute; top: 11px; right: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

.conversation-pane {
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto 1fr auto;
  background: var(--surface);
}

.conversation-head {
  display: flex;
  min-height: 69px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.conversation-head > div { display: flex; align-items: center; gap: 10px; }
.conversation-head h3, .conversation-head p { margin: 0; }
.conversation-head h3 { font-size: 13px; }
.conversation-head p { margin-top: 2px; color: var(--muted); font-size: 11px; }

.conversation-context {
  display: grid;
  grid-template-columns: .6fr 1fr 1.3fr;
  border-bottom: 1px solid var(--line);
  background: var(--surface-subtle);
}

.conversation-context > span { min-width: 0; padding: 10px 14px; border-right: 1px solid var(--line); }
.conversation-context > span:last-child { border-right: 0; }
.conversation-context small, .conversation-context strong { display: block; }
.conversation-context small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.conversation-context strong { margin-top: 4px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.conversation-timeline {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  max-height: 535px;
  overflow-y: auto;
  padding: 20px max(20px, 8vw);
  background: #f8f9fb;
}

.timeline-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  max-width: 760px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(20 25 30 / 3%);
}

.timeline-card > span { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 7px; background: var(--blue-soft); color: var(--blue); }
.timeline-card.payment > span { background: var(--green-soft); color: var(--green); }
.timeline-card.review > span { background: var(--amber-soft); color: var(--amber); }
.timeline-card > span svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.timeline-card header, .timeline-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.timeline-card strong { font-size: 12px; }
.timeline-card time, .timeline-card p, .timeline-card footer { color: var(--muted); font-size: 11px; }
.timeline-card p { margin: 6px 0; line-height: 1.55; }
.timeline-card footer button, .timeline-card footer a { background: transparent; color: var(--blue); font-size: 11px; font-weight: 700; cursor: pointer; }

.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
}

.composer strong, .composer span { display: block; }
.composer strong { font-size: 11px; }
.composer span { margin-top: 3px; color: var(--muted); font-size: 11px; }

.agent-hero {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(180px, .55fr) minmax(180px, .55fr);
  align-items: stretch;
  margin-bottom: 12px;
}

.agent-hero > div {
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.agent-hero > div:last-child { border-right: 0; }
.agent-hero h2, .agent-hero p { margin: 0; }
.agent-hero h2 { font-family: "Inter Tight", sans-serif; font-size: 23px; letter-spacing: -.035em; }
.agent-hero p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.agent-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #0a73ef, #6da9f4); color: white; font-family: "Inter Tight", sans-serif; font-size: 20px; font-weight: 750; }
.agent-version, .agent-eval { flex-direction: column; align-items: flex-start !important; justify-content: center; gap: 4px !important; }
.agent-version small, .agent-eval small { color: var(--muted); font-size: 11px; font-weight: 740; letter-spacing: .07em; }
.agent-version > strong, .agent-eval > strong { font-family: "Inter Tight", sans-serif; font-size: 19px; }
.agent-eval span { color: var(--muted); font-size: 11px; }

.workspace-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  margin: 0 0 12px;
  padding: 0 2px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.workspace-tabs button {
  position: relative;
  flex: none;
  min-height: 38px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
  cursor: pointer;
}

.workspace-tabs button.active { color: var(--ink); }
.workspace-tabs button.active::after { position: absolute; inset: auto 0 -1px; height: 2px; background: var(--blue); content: ""; }

.agent-workspace { min-height: 390px; margin-bottom: 12px; overflow: hidden; }
.agent-form-grid { display: grid; grid-template-columns: .85fr 1.4fr; min-height: 390px; }
.agent-form-grid > section { min-width: 0; padding: 24px; border-right: 1px solid var(--line); }
.agent-form-grid > section:last-child { border-right: 0; }
.agent-form-grid h4 { margin: 0 0 14px; font-size: 12px; }
.agent-form-grid h4 .draft-label { margin-left: 7px; padding: 3px 6px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: 11px; font-weight: 700; vertical-align: middle; }
.agent-form-grid > section > p { color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.agent-form-grid dl { margin: 0; }
.agent-form-grid dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.agent-form-grid dt { color: var(--muted); font-size: 11px; }
.agent-form-grid dd { margin: 0; font-size: 11px; font-weight: 620; }

.structured-flow { display: grid; gap: 8px; margin-top: 20px; }
.structured-flow span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-subtle); font-size: 11px; font-weight: 620; }

.voice-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 12px; }
.voice-card { display: grid; grid-template-columns: 30px minmax(0, 1fr) 18px; align-items: center; gap: 9px; min-width: 0; min-height: 92px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: white; text-align: left; cursor: pointer; }
.voice-card:hover { border-color: #a7bad3; }
.voice-card.selected { border-color: #6094d8; box-shadow: 0 0 0 2px rgb(18 101 216 / 8%); }
.voice-orb { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9ecff, #2776db 65%, #084a9e); }
.voice-card strong, .voice-card small { display: block; }
.voice-card strong { font-size: 11px; }
.voice-card small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.voice-card > svg { width: 14px; height: 14px; fill: none; stroke: var(--blue); stroke-width: 1.8; }
.voice-card i { display: flex; height: 28px; align-items: center; gap: 2px; margin-top: 7px; overflow: hidden; }
.voice-card i b { width: 2px; flex: none; border-radius: 2px; background: #aabbd0; }
.agent-table { overflow-x: auto; }
.agent-table .data-table td { height: 61px; }
.policy-callout { margin: 18px; padding: 12px 14px; border-left: 3px solid var(--blue); background: #f3f7fd; color: #3c5472; font-size: 11px; }

.assignment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 22px; }
.assignment-grid > button { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: white; text-align: left; cursor: pointer; }
.assignment-grid > button > span:first-child { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--blue); }
.assignment-grid svg { width: 15px; height: 15px; fill: none; stroke: currentColor; }
.assignment-grid strong, .assignment-grid small { display: block; }
.assignment-grid strong { font-size: 12px; }
.assignment-grid small { margin-top: 3px; color: var(--muted); font-size: 11px; }

.version-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; }
.version-compare > section { padding: 17px; border: 1px solid var(--line); border-radius: 10px; }
.version-compare header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.version-compare small { color: var(--muted); font-size: 11px; letter-spacing: .07em; }
.version-compare h4 { margin: 3px 0 0; font-size: 16px; }
.version-compare ul { margin: 15px 0 0; padding-left: 17px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.version-compare > aside { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #ead5ad; border-radius: 10px; background: #fffaf0; }
.version-compare aside p { flex: 1; margin: 0; color: var(--muted); font-size: 11px; }
.version-compare aside strong { font-size: 12px; }

.experiment-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 18px; }
.experiment-card > div { display: flex; align-items: center; gap: 12px; }
.experiment-card > div:first-child > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: var(--violet-soft); color: var(--violet); }
.experiment-card svg { width: 16px; height: 16px; fill: none; stroke: currentColor; }
.experiment-card small, .experiment-card h3, .experiment-card p { margin: 0; }
.experiment-card small { color: var(--violet); font-size: 11px; font-weight: 750; letter-spacing: .07em; }
.experiment-card h3 { margin-top: 2px; font-size: 11px; }
.experiment-card p { margin-top: 3px; color: var(--muted); font-size: 11px; }
.experiment-card > div:last-child { flex-direction: column; align-items: flex-end; gap: 3px; }
.experiment-card > div:last-child strong { font-size: 11px; }
.experiment-card > div:last-child span { color: var(--muted); font-size: 11px; }

.campaign-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 12px;
}

.campaign-toolbar > span { color: var(--muted); font-size: 11px; }
.campaign-card > header > span { color: var(--muted); font-size: 11px; }

.campaign-state-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -12px 0 14px;
  color: var(--muted);
  font-size: 11px;
}

.campaign-state-line > span:nth-child(2) { flex: 1; }
.campaign-state-line > button { background: transparent; color: var(--red); font-size: 11px; font-weight: 680; cursor: pointer; }
.campaign-funnel { margin-bottom: 12px; overflow: hidden; }
.campaign-funnel .panel-header > span { color: var(--muted); font-size: 11px; }
.campaign-outcome { grid-template-columns: repeat(5, minmax(90px, 1fr) 24px) minmax(110px, 1.1fr); }
.funnel-branches { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: #fbfbfa; }
.funnel-branches span { padding: 10px 14px; border-right: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.funnel-branches span:last-child { border-right: 0; }
.funnel-branches strong { color: var(--ink); }

.performance-alert {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 13px 15px;
  border: 1px solid #ead3a5;
  border-radius: 10px;
  background: #fffaf0;
}

.performance-alert > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; background: var(--amber-soft); color: var(--amber); }
.performance-alert svg { width: 15px; height: 15px; fill: none; stroke: currentColor; }
.performance-alert small, .performance-alert h3, .performance-alert p { margin: 0; }
.performance-alert small { color: var(--amber); font-size: 11px; font-weight: 750; letter-spacing: .07em; }
.performance-alert h3 { margin-top: 2px; font-size: 11px; }
.performance-alert p { margin-top: 3px; color: var(--muted); font-size: 11px; }

.campaign-config {
  display: grid;
  grid-template-columns: 1.1fr 1fr .8fr .8fr 1.2fr;
  margin-bottom: 14px;
  overflow: hidden;
}

.campaign-config > div { min-width: 0; padding: 14px; border-right: 1px solid var(--line); }
.campaign-config > div:last-child { border-right: 0; }
.campaign-config small, .campaign-config strong, .campaign-config span { display: block; }
.campaign-config small { color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.campaign-config strong { margin-top: 5px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.campaign-config span { margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.campaign-config button { width: 100%; padding: 0; background: transparent; text-align: left; cursor: pointer; }
.campaign-workspace { overflow: hidden; }
.workspace-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.workspace-toolbar > div { display: flex; gap: 8px; }
.compact-audit article { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto minmax(130px, .4fr); align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.compact-audit article:last-child { border-bottom: 0; }
.compact-audit .audit-type { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--blue); }
.compact-audit svg { width: 13px; height: 13px; fill: none; stroke: currentColor; }
.compact-audit strong, .compact-audit p { margin: 0; }
.compact-audit strong { font-size: 11px; }
.compact-audit p, .compact-audit time, .compact-audit code { color: var(--muted); font-size: 11px; }

.quality-loop { margin-top: 16px; overflow: hidden; }
.quality-loop .panel-header > div:last-child { display: flex; gap: 6px; }
.quality-stages { display: grid; min-width: 0; grid-template-columns: repeat(4, minmax(100px, 1fr) 20px) minmax(100px, 1fr); align-items: center; padding: 20px; }
.quality-loop { min-width: 0; max-width: 100%; contain: inline-size; }
.quality-stages > div { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-subtle); }
.quality-stages span, .quality-stages strong, .quality-stages small { display: block; }
.quality-stages span { color: var(--blue); font-size: 11px; font-weight: 750; }
.quality-stages strong { margin-top: 4px; font-size: 12px; }
.quality-stages small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.quality-stages > i { height: 1px; background: var(--line-strong); }
.quality-loop > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.journey-track {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  align-items: center;
  margin: 22px 0;
}

.journey-track > div { padding: 14px; border: 1px solid #d8e3f1; border-radius: 10px; background: #f6f9fd; }
.journey-track span, .journey-track strong, .journey-track small { display: block; }
.journey-track span { color: var(--blue); font-size: 11px; font-weight: 750; }
.journey-track strong { margin-top: 5px; font-size: 12px; }
.journey-track small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.journey-track > i { height: 1px; background: #a6bbd8; }

.readiness-panel.compact { margin: 18px; }

@media (max-width: 1320px) {
  .content-grid { grid-template-columns: 1fr; }
  .content-grid > .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign-funnel { overflow-x: auto; }
  .campaign-outcome { min-width: 880px; grid-template-columns: repeat(5, minmax(104px, 1fr) 20px) minmax(124px, 1.08fr); }
  .campaign-outcome > * { min-width: 0; }
  .campaign-funnel .funnel-branches { min-width: 880px; }
}

@media (max-width: 1180px) {
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guided-proof-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guided-proof-steps button:nth-child(2) { border-right: 0; }
  .guided-proof-steps button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .call-layout { grid-template-columns: minmax(240px, .55fr) minmax(440px, 1fr); }
  .call-layout > .panel:last-child { grid-column: 1 / -1; min-height: 0; }
  .policy-event-list { grid-template-columns: repeat(2, 1fr); }
  .policy-event { border-right: 1px solid var(--line); }
  .campaign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-grid { grid-template-columns: 1fr; }
  .ranked-work { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ranked-work > button:nth-child(3) { border-right: 0; }
  .ranked-work > button { border-bottom: 1px solid var(--line); }
  .campaign-config { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .campaign-config > div { border-bottom: 1px solid var(--line); }
  .campaign-config > div:nth-child(3) { border-right: 0; }
}

@media (max-width: 980px) {
  :root { --sidebar-width: 224px; }
  .topbar { padding-inline: 20px; }
  .app-view { padding-inline: 20px; }
  .search-trigger { width: 38px; padding: 0; justify-content: center; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .review-layout { grid-template-columns: 1fr; }
  .policy-hero { grid-template-columns: 1fr; }
  .policy-rules { grid-template-columns: 1fr 1fr; }
  .inbox-shell { grid-template-columns: 280px minmax(0, 1fr); }
  .conversation-timeline { padding-inline: 20px; }
  .agent-hero { grid-template-columns: 1fr 1fr; }
  .agent-hero > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .agent-form-grid { grid-template-columns: 1fr; }
  .agent-form-grid > section { border-right: 0; border-bottom: 1px solid var(--line); }
  .voice-cards { grid-template-columns: 1fr 1fr; }
  .quality-stages { min-width: 760px; }
  .quality-loop { overflow-x: auto; }
  .outcome-path { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 16px; }
  .outcome-path > i { display: none; }
  .outcome-path > div { min-width: 0; padding: 12px; }
  .outcome-path span { white-space: normal; }
}

@media (max-width: 760px) {
  :root { --topbar-height: 66px; }
  .sandbox-bar { min-height: var(--sandbox-offset); }
  .sandbox-bar p { overflow: hidden; max-width: 44vw; text-overflow: ellipsis; white-space: nowrap; }
  .sidebar { width: min(285px, calc(100vw - 42px)); transform: translateX(-105%); transition: transform 180ms ease; box-shadow: var(--shadow-lg); }
  .console-shell.nav-open .sidebar { transform: translateX(0); }
  .sidebar-scrim { position: fixed; z-index: 45; inset: var(--sandbox-offset) 0 0; display: block; background: rgb(24 27 22 / 35%); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
  .console-shell.nav-open .sidebar-scrim { opacity: 1; pointer-events: auto; }
  .workspace { margin-left: 0; }
  .workspace,
  .app-view,
  .app-view > *,
  .content-grid,
  .stack,
  .call-layout,
  .panel,
  .quality-loop { min-width: 0; max-width: 100%; }
  .mobile-only { display: grid; }
  .topbar { top: var(--sandbox-offset); padding-inline: 14px; }
  .topbar-leading { min-width: 0; }
  .topbar-actions { gap: 5px; }
  .notification-button, .avatar-button { display: none; }
  .topbar .primary-button { width: 36px; padding: 0; }
  .topbar .primary-button span { display: none; }
  .app-view { padding: 20px 14px 50px; }
  .view-head { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .view-head-actions { width: 100%; justify-content: flex-start; }
  .metrics-grid { gap: 8px; }
  .guided-proof-steps { grid-template-columns: 1fr; }
  .guided-proof-steps button,
  .guided-proof-steps button:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .guided-proof-steps button:last-child { border-bottom: 0; }
  .metric-card { padding: 14px; }
  .metric-card strong { font-size: 23px; }
  .content-grid > .stack { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar .segment-control { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .toolbar .segment-control::-webkit-scrollbar { display: none; }
  .toolbar-group { overflow-x: auto; }
  .table-search { width: 100%; }
  .call-layout { grid-template-columns: 1fr; }
  .call-layout > .panel { min-height: 0; }
  .transcript-window { min-height: 420px; max-height: 520px; }
  .call-layout > .panel:last-child { grid-column: auto; }
  .campaign-grid, .integration-grid { grid-template-columns: 1fr; }
  .campaign-outcome { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 16px; }
  .campaign-funnel .funnel-branches, .panel-note, .funnel-branches { min-width: 0; }
  .outcome-panel, .campaign-funnel { overflow: visible; }
  .ranked-work { grid-template-columns: 1fr; }
  .ranked-work > button { border-right: 0; }
  .inbox-shell { grid-template-columns: 1fr; }
  .thread-list { max-height: 255px; overflow-y: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .conversation-head { align-items: flex-start; flex-direction: column; }
  .conversation-context { grid-template-columns: 1fr; }
  .conversation-context > span { border-right: 0; border-bottom: 1px solid var(--line); }
  .conversation-context > span:last-child { border-bottom: 0; }
  .conversation-timeline { max-height: none; min-height: 440px; }
  .composer { align-items: flex-start; flex-direction: column; }
  .agent-hero { grid-template-columns: 1fr; }
  .agent-hero > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .agent-hero > div:first-child { grid-column: auto; }
  .agent-hero > div:last-child { border-bottom: 0; }
  .voice-cards, .assignment-grid, .version-compare { grid-template-columns: 1fr; }
  .version-compare > aside { grid-column: auto; align-items: flex-start; flex-direction: column; }
  .experiment-card { align-items: flex-start; flex-direction: column; }
  .experiment-card > div:last-child { align-items: flex-start; }
  .campaign-toolbar, .campaign-state-line { align-items: flex-start; flex-direction: column; }
  .campaign-state-line > span:nth-child(2) { flex: none; }
  .performance-alert { grid-template-columns: 32px minmax(0, 1fr); }
  .performance-alert .button { grid-column: 2; justify-self: start; }
  .campaign-config { grid-template-columns: 1fr 1fr; }
  .campaign-config > div:nth-child(3) { border-right: 1px solid var(--line); }
  .campaign-config > div:nth-child(even) { border-right: 0; }
  .workspace-toolbar { align-items: stretch; flex-direction: column; }
  .workspace-toolbar > div { overflow-x: auto; }
  .funnel-branches { grid-template-columns: 1fr 1fr; }
  .journey-track { grid-template-columns: 1fr; gap: 8px; }
  .journey-track > i { width: 1px; height: 16px; margin: 0 auto; }
  .policy-facts { grid-template-columns: 1fr 1fr; }
  .policy-rules { grid-template-columns: 1fr; }
  .policy-event-list { grid-template-columns: 1fr; }
  .policy-event { border-right: 0; }
  .readiness-panel { grid-template-columns: auto minmax(0, 1fr); }
  .readiness-panel .button { grid-column: 1 / -1; }
  .audit-row { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .audit-row time { display: none; }
  .sheet-dialog { width: 100vw; }
  .workflow-steps { grid-template-columns: repeat(5, 1fr); }
  .workflow-step { justify-content: center; padding: 0; font-size: 0; }
  .workflow-step span { font-size: 11px; }
  .workflow-body { padding: 20px; }
  .field-grid, .choice-grid { grid-template-columns: 1fr; }
  .dialog-toast-region { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
}

@media (max-width: 520px) {
  .sandbox-bar { padding-inline: 10px; }
  .sandbox-bar p { display: none; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-card header b { display: none; }
  .metric-card strong { font-size: 20px; }
  .insight-strip { grid-template-columns: auto minmax(0, 1fr); }
  .insight-strip button { grid-column: 2; justify-self: start; padding: 0; }
  .panel-header { align-items: flex-start; }
  .queue-summary { grid-template-columns: 1fr; }
  .queue-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .queue-summary > div:last-child { border-bottom: 0; }
  .call-account-card { padding: 16px; }
  .account-facts { margin: 16px -16px -16px; }
  .transcript-window { padding: 15px; }
  .transcript-line { grid-template-columns: 50px minmax(0, 1fr); }
  .transcript-line.tool { margin-left: 60px; }
  .call-control.primary { min-width: 105px; padding-inline: 13px; }
  .policy-facts { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .sheet-tabs { gap: 16px; overflow-x: auto; }
  .workflow-footer { align-items: stretch; flex-direction: column; }
  .workflow-footer > div { justify-content: flex-end; }
  .funnel-branches { min-width: 0; }
  .campaign-config { grid-template-columns: 1fr; }
  .campaign-config > div { border-right: 0; }
  .quality-loop .panel-header { align-items: flex-start; flex-direction: column; }
  .quality-loop > footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* 2026-07-28 — Headstar first-miss product system */

.headstar-product {
  --canvas: #f3f2ee;
  --surface: #fff;
  --surface-subtle: #f8f7f3;
  --ink: #171915;
  --ink-soft: #333630;
  --muted: #6e736a;
  --muted-2: #93988e;
  --line: #e1e2db;
  --line-strong: #cfd2c8;
  --dark: #151713;
  --green: #176b46;
  --green-soft: #e3f2e9;
  --blue: #255fca;
  --blue-soft: #e9f0ff;
  --amber: #936016;
  --amber-soft: #f7ebd7;
  --red: #9d3c35;
  --red-soft: #f8e7e4;
  --coral: #b85140;
  --coral-soft: #f8e7e1;
  --sidebar-width: 244px;
  background: var(--canvas);
}

.headstar-product .sandbox-bar {
  border-color: #d9dbd1;
  background: #f7f6f1;
  color: #34372f;
}

.headstar-product .sandbox-bar span i {
  background: #6e7468;
  box-shadow: none;
}

.headstar-product .sandbox-bar p {
  color: #757a70;
}

.headstar-product .sandbox-bar button {
  color: #353a32;
}

.headstar-product .sidebar {
  padding: 17px 13px 12px;
  border-right: 0;
  background: #151713;
  color: #f6f6f2;
}

.headstar-product .brand-row {
  padding-inline: 9px;
}

.headstar-product .brand {
  color: #fff;
}

.headstar-product .brand img {
  filter: brightness(0) invert(1);
}

.lane-identity {
  display: grid;
  gap: 3px;
  margin: 18px 5px 4px;
  padding: 13px 14px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 11px;
  background: rgb(255 255 255 / 4%);
}

.lane-identity span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b9c3b6;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.lane-identity span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2b458;
}

.lane-identity strong {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 690;
}

.lane-identity small {
  color: #8f958b;
  font-size: 11px;
}

.headstar-product .primary-nav {
  margin-top: 13px;
}

.headstar-product .primary-nav > p {
  margin: 21px 11px 7px;
  color: #6e7469;
  font-size: 10px;
}

.headstar-product .primary-nav a,
.headstar-product .docs-link {
  min-height: 40px;
  border-radius: 8px;
  color: #9fa59b;
  font-size: 12px;
  font-weight: 560;
}

.headstar-product .primary-nav a:hover,
.headstar-product .docs-link:hover {
  background: rgb(255 255 255 / 6%);
  color: #fff;
}

.headstar-product .primary-nav a.active {
  background: #f1f2ec;
  color: #171915;
  font-weight: 680;
}

.headstar-product .primary-nav a > b {
  background: rgb(255 255 255 / 9%);
  color: #c7cbc4;
}

.headstar-product .primary-nav a.active > b {
  background: #dfe2d9;
  color: #343730;
}

.headstar-product .primary-nav .nav-dot {
  background: #e3ad47;
}

.sidebar-truth {
  display: grid;
  gap: 8px;
  margin: 0 9px 13px;
  padding: 13px 0;
  border-top: 1px solid rgb(255 255 255 / 8%);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
}

.sidebar-truth span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #838a80;
  font-size: 10px;
}

.sidebar-truth i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #61a77f;
}

.sidebar-truth i.pending {
  background: #d9a84d;
}

.headstar-product .workspace-switcher {
  border-color: rgb(255 255 255 / 9%);
}

.headstar-product .workspace-avatar {
  background: #f1f2ec;
  color: #151713;
}

.headstar-product .workspace-switcher small {
  color: #777d74;
}

.headstar-product .workspace-switcher .icon-button {
  color: #92988e;
}

.headstar-product .topbar {
  padding: 10px 28px;
  border-color: #dedfd8;
  background: rgb(243 242 238 / 92%);
}

.headstar-product .topbar-leading p {
  font-size: 10px;
  letter-spacing: .11em;
}

.headstar-product .topbar-leading h1 {
  font-size: 18px;
}

.topbar-agent-state {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgb(255 255 255 / 65%);
}

.topbar-agent-state > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e2ad4c;
}

.topbar-agent-state strong,
.topbar-agent-state small {
  display: block;
  line-height: 1.1;
}

.topbar-agent-state strong {
  font-size: 11px;
}

.topbar-agent-state small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.headstar-product .app-view {
  max-width: 1460px;
  padding: 28px 32px 72px;
}

.headstar-product .view-head {
  margin-bottom: 22px;
}

.headstar-product .view-head h2 {
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 640;
}

.headstar-product .view-head p {
  max-width: 620px;
  font-size: 13px;
}

.headstar-product .panel {
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: none;
}

.section-kicker {
  display: block;
  color: #7b8177;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.operation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
  gap: 12px;
}

.recovery-command {
  overflow: hidden;
  border-radius: 14px;
  background: #171915;
  color: #fff;
}

.recovery-command > header {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 21px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.recovery-command > header span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aeb4aa;
  font-size: 9px;
  font-weight: 740;
  letter-spacing: .12em;
}

.recovery-command > header span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e3ad47;
}

.recovery-command > header button {
  background: transparent;
  color: #aeb4aa;
  font-size: 10px;
  cursor: pointer;
}

.recovery-command > header button b {
  color: #fff;
}

.recovery-command-value {
  padding: 27px 22px 21px;
}

.recovery-command-value small {
  color: #8f968b;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .12em;
}

.recovery-command-value > strong {
  display: block;
  margin-top: 8px;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 560;
  line-height: .94;
  letter-spacing: -.055em;
}

.recovery-command-value p {
  max-width: 520px;
  margin: 10px 0 0;
  color: #9fa69b;
  font-size: 11px;
}

.recovery-command-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  padding: 0 22px 23px;
}

.recovery-command-flow > i {
  display: none;
}

.recovery-command-flow button {
  min-width: 0;
  padding: 13px 12px;
  border-right: 1px solid rgb(255 255 255 / 10%);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.recovery-command-flow button:first-child {
  padding-left: 0;
}

.recovery-command-flow button:last-child {
  border-right: 0;
}

.recovery-command-flow small,
.recovery-command-flow strong,
.recovery-command-flow span {
  display: block;
}

.recovery-command-flow small {
  color: #7f877c;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.recovery-command-flow strong {
  margin-top: 4px;
  font-size: 21px;
  font-weight: 610;
}

.recovery-command-flow span {
  margin-top: 2px;
  overflow: hidden;
  color: #9da49a;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recovery-command > footer {
  display: flex;
  gap: 18px;
  padding: 12px 21px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 3%);
  color: #a7ada3;
  font-size: 9px;
}

.recovery-command > footer span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.recovery-command > footer i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #608cca;
}

.human-queue {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1d8d2;
  border-radius: 14px;
  background: #fbf7f4;
}

.human-queue > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 13px;
}

.human-queue > header span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .12em;
}

.human-queue h3,
.human-queue p {
  margin: 0;
}

.human-queue h3 {
  margin-top: 3px;
  font-size: 18px;
}

.human-queue > header button {
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
}

.human-queue > div {
  flex: 1;
  border-top: 1px solid #e8dfda;
}

.human-queue > div > button {
  display: grid;
  width: 100%;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #e8dfda;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.human-queue-symbol,
.event-symbol {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--coral-soft);
  color: var(--coral);
}

.human-queue-symbol svg,
.event-symbol svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.human-queue strong,
.human-queue small {
  display: block;
}

.human-queue strong {
  font-size: 11px;
}

.human-queue small,
.human-queue time {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.human-queue > footer {
  padding: 11px 16px;
  color: #887b74;
  font-size: 9px;
  line-height: 1.45;
}

.queue-clear {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  color: var(--muted);
}

.queue-clear > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--green);
}

.queue-clear strong,
.queue-clear small {
  display: block;
}

.queue-clear p {
  margin: 0;
}

.operating-truth,
.release-truth {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.operating-truth > div,
.release-truth > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-right: 1px solid var(--line);
}

.operating-truth > div:last-child,
.release-truth > div:last-child {
  border-right: 0;
}

.truth-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: #f0f0eb;
  color: #5d6359;
}

.truth-icon.good {
  background: var(--green-soft);
  color: var(--green);
}

.truth-icon.warning {
  background: var(--amber-soft);
  color: var(--amber);
}

.truth-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.operating-truth p,
.release-truth p {
  min-width: 0;
  margin: 0;
}

.operating-truth small,
.operating-truth strong,
.operating-truth b,
.release-truth small,
.release-truth strong,
.release-truth b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operating-truth small,
.release-truth small {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .1em;
}

.operating-truth strong,
.release-truth strong {
  margin-top: 2px;
  font-size: 11px;
}

.operating-truth b,
.release-truth b {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 480;
}

.command-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  margin-top: 12px;
}

.lane-now-list > button,
.consequence-stream > div > button,
.evidence-stream > button {
  display: grid;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.lane-now-list > button {
  grid-template-columns: 30px minmax(0, 1fr) auto minmax(110px, auto) 16px;
  padding: 10px 15px;
}

.lane-now-list > button:last-child,
.consequence-stream > div > button:last-child,
.evidence-stream > button:last-child {
  border-bottom: 0;
}

.lane-now-list p,
.consequence-stream p,
.evidence-stream p {
  min-width: 0;
  margin: 0;
}

.lane-now-list strong,
.lane-now-list small,
.consequence-stream strong,
.consequence-stream small,
.evidence-stream strong,
.evidence-stream small {
  display: block;
}

.lane-now-list strong,
.consequence-stream strong,
.evidence-stream strong {
  font-size: 11px;
}

.lane-now-list small,
.consequence-stream small,
.evidence-stream small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lane-now-list > button > b {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.lane-now-list em,
.lane-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}

.lane-now-list em i,
.lane-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8b9087;
}

.lane-now-list em.good,
.lane-state.good {
  color: var(--green);
}

.lane-now-list em.good i,
.lane-state.good i {
  background: var(--green);
}

.lane-now-list em.human,
.lane-state.human {
  color: var(--coral);
}

.lane-now-list em.human i,
.lane-state.human i {
  background: var(--coral);
}

.lane-now-list em.waiting,
.lane-state.waiting {
  color: var(--amber);
}

.lane-now-list em.waiting i,
.lane-state.waiting i {
  background: var(--amber);
}

.lane-state.live {
  color: var(--blue);
}

.lane-state.live i {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgb(37 95 202 / 12%);
}

.lane-state.stopped {
  color: #747970;
}

.lane-now-list > button > svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--muted);
}

.consequence-stream > div > button,
.evidence-stream > button {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  padding: 10px 14px;
}

.consequence-stream time,
.evidence-stream time {
  color: var(--muted);
  font-size: 9px;
}

.event-symbol.money {
  background: var(--green-soft);
  color: var(--green);
}

.event-symbol.human {
  background: var(--coral-soft);
  color: var(--coral);
}

.readout-preview {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(520px, 1.45fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 12px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #eceee7;
}

.readout-preview h3,
.readout-preview p {
  margin: 0;
}

.readout-preview h3 {
  margin-top: 5px;
  font-size: 19px;
}

.readout-preview p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.readout-equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.12fr;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #d5d8ce;
  border-radius: 10px;
  background: #f8f8f4;
}

.readout-equation > span {
  padding: 12px;
}

.readout-equation > i {
  align-self: center;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
}

.readout-equation small,
.readout-equation strong,
.readout-equation b {
  display: block;
}

.readout-equation small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 760;
}

.readout-equation strong {
  margin-top: 5px;
  font-size: 18px;
}

.readout-equation b {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
}

.readout-equation .result {
  background: #dde5d7;
}

.lane-summary,
.exception-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.lane-summary > div,
.exception-overview > div {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.lane-summary > div:last-child,
.exception-overview > div:last-child {
  border-right: 0;
}

.lane-summary small,
.lane-summary strong,
.lane-summary span,
.exception-overview small,
.exception-overview strong,
.exception-overview span {
  display: block;
}

.lane-summary small,
.exception-overview small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .1em;
}

.lane-summary strong,
.exception-overview strong {
  margin-top: 6px;
  font-size: 22px;
  line-height: 1;
}

.lane-summary span,
.exception-overview span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.lane-table-panel {
  overflow: hidden;
}

.lane-table-wrap {
  border-top: 1px solid var(--line);
}

.lane-table td {
  min-height: 60px;
  padding-block: 11px;
}

.lane-table td > strong,
.lane-table td > small,
.payment-truth strong,
.payment-truth small {
  display: block;
}

.lane-table td > strong,
.payment-truth strong {
  font-size: 10px;
}

.lane-table td > small,
.payment-truth small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.payment-truth {
  display: block;
  color: var(--ink);
}

.payment-truth.good strong {
  color: var(--green);
}

.payment-truth.waiting strong {
  color: var(--amber);
}

.payment-truth.human strong {
  color: var(--coral);
}

.lane-mobile-list {
  display: none;
}

.exception-overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.exception-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 12px;
}

.exception-list > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  padding: 4px 2px;
}

.exception-list h3,
.exception-list p {
  margin: 0;
}

.exception-list h3 {
  margin-top: 4px;
  font-size: 19px;
}

.exception-list p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.exception-card {
  margin-bottom: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.exception-card > header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 15px 16px 10px;
}

.exception-card > header small {
  color: var(--coral);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .1em;
}

.exception-card h3,
.exception-card p {
  margin: 0;
}

.exception-card h3 {
  margin-top: 3px;
  font-size: 14px;
}

.exception-card header p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.exception-symbol {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--coral-soft);
  color: var(--coral);
}

.exception-symbol svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
}

.exception-card > p {
  padding: 0 16px 13px 61px;
  color: #50554d;
  font-size: 10px;
  line-height: 1.5;
}

.exception-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.exception-card dl > div {
  min-width: 0;
  padding: 11px 13px;
  border-right: 1px solid var(--line);
}

.exception-card dl > div:last-child {
  border-right: 0;
}

.exception-card dt {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.exception-card dd {
  margin: 4px 0 0;
  font-size: 9px;
}

.exception-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 13px;
  background: #fbfbf8;
}

.exception-card > footer > span {
  color: var(--muted);
  font-size: 9px;
}

.exception-card > footer > div {
  display: flex;
  gap: 6px;
}

.exception-principles {
  position: sticky;
  top: calc(var(--sandbox-offset) + var(--topbar-height) + 18px);
  padding: 20px;
  background: #171915;
  color: #fff;
}

.exception-principles h3,
.exception-principles p {
  margin: 0;
}

.exception-principles h3 {
  margin-top: 7px;
  font-size: 21px;
  line-height: 1.1;
}

.exception-principles p {
  margin-top: 9px;
  color: #9da49a;
  font-size: 10px;
  line-height: 1.6;
}

.exception-principles > div {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 9px;
}

.exception-principles > div span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  background: rgb(255 255 255 / 4%);
  color: #c6cbc3;
  font-size: 9px;
}

.exception-principles svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #7da692;
}

.exception-principles .button {
  margin-top: 16px;
  border-color: rgb(255 255 255 / 16%);
  background: #fff;
  color: #171915;
}

.maturity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border-radius: 14px;
  background: #171915;
  color: #fff;
}

.maturity-hero h3,
.maturity-hero p {
  margin: 0;
}

.maturity-hero h3 {
  margin-top: 7px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 580;
  letter-spacing: -.035em;
}

.maturity-hero p {
  max-width: 690px;
  margin-top: 10px;
  color: #a7ada3;
  font-size: 11px;
  line-height: 1.6;
}

.maturity-clock {
  display: grid;
  place-items: center;
}

.maturity-clock > span {
  position: relative;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: conic-gradient(#d9e7ce var(--progress), #32362f 0);
}

.maturity-clock > span::after {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #171915;
  content: "";
}

.maturity-clock strong {
  position: absolute;
  z-index: 1;
  font-size: 21px;
}

.maturity-clock small {
  margin-top: 8px;
  color: #8f968c;
  font-size: 8px;
  text-transform: uppercase;
}

.causal-readout {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.12fr;
  align-items: stretch;
  gap: 8px;
  margin-top: 12px;
}

.causal-readout > article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.causal-readout article header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.causal-readout article header > span:first-child {
  color: var(--muted);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .1em;
}

.causal-readout article > strong {
  display: block;
  margin-top: 27px;
  font-family: "Inter Tight", sans-serif;
  font-size: 34px;
  font-weight: 580;
}

.causal-readout article > p {
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.causal-readout article footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
}

.causal-readout .causal-result {
  border-color: #ced8c7;
  background: #e9eee5;
}

.causal-operator {
  align-self: center;
  color: var(--muted);
  font-size: 19px;
}

.readout-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.evidence-coverage > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.evidence-coverage > div span {
  position: relative;
  padding: 15px;
  background: var(--surface);
}

.evidence-coverage > div i {
  position: absolute;
  inset: auto 15px 9px;
  height: 2px;
  background: linear-gradient(90deg, var(--green) var(--value), #e6e7e1 0);
}

.evidence-coverage b,
.evidence-coverage strong {
  display: block;
}

.evidence-coverage b {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.evidence-coverage strong {
  margin-top: 5px;
  font-size: 15px;
}

.evidence-coverage > footer {
  padding: 11px 14px;
  color: var(--muted);
  font-size: 9px;
}

.guardrail-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.guardrail-table > div span {
  padding: 15px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.guardrail-table > div span:nth-child(even) {
  border-right: 0;
}

.guardrail-table b,
.guardrail-table strong,
.guardrail-table small {
  display: block;
}

.guardrail-table b {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.guardrail-table strong {
  margin-top: 5px;
  font-size: 18px;
}

.guardrail-table small {
  color: var(--muted);
  font-size: 8px;
}

.evidence-stream {
  margin-top: 12px;
  overflow: hidden;
}

.evidence-stream > button {
  grid-template-columns: 30px minmax(0, 1fr) auto minmax(140px, auto);
}

.evidence-stream code {
  color: var(--muted);
  font-size: 8px;
}

.decision-bar {
  position: sticky;
  z-index: 10;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 12px 13px 12px 16px;
  border: 1px solid #d8d9d2;
  border-radius: 12px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 14px 40px rgb(30 32 27 / 10%);
  backdrop-filter: blur(12px);
}

.decision-bar > div {
  flex: 1;
}

.decision-bar strong,
.decision-bar span {
  display: block;
}

.decision-bar strong {
  font-size: 11px;
}

.decision-bar span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.release-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  padding: 27px;
  border-radius: 14px;
  background: #171915;
  color: #fff;
}

.release-hero > div:first-child > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d7b36d;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .12em;
}

.release-hero > div:first-child > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #dfa948;
}

.release-hero h3,
.release-hero p {
  margin: 0;
}

.release-hero h3 {
  max-width: 760px;
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 580;
  line-height: 1.06;
  letter-spacing: -.04em;
}

.release-hero p {
  max-width: 730px;
  margin-top: 10px;
  color: #9da49a;
  font-size: 10px;
  line-height: 1.6;
}

.release-mode {
  padding-left: 23px;
  border-left: 1px solid rgb(255 255 255 / 12%);
}

.release-mode small,
.release-mode strong,
.release-mode span {
  display: block;
}

.release-mode small {
  color: #81887d;
  font-size: 8px;
  font-weight: 760;
}

.release-mode strong {
  margin-top: 7px;
  font-size: 30px;
}

.release-mode span {
  margin-top: 3px;
  color: #9da49a;
  font-size: 9px;
}

.release-mode .button {
  margin-top: 18px;
  border-color: rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 7%);
  color: #f4b0a7;
}

.release-gates {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.release-gates > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.release-gates h3,
.release-gates p {
  margin: 0;
}

.release-gates h3 {
  margin-top: 4px;
  font-size: 18px;
}

.release-gates p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.release-gates > header > span {
  color: var(--coral);
  font-size: 9px;
  font-weight: 700;
}

.release-gates article {
  border-bottom: 1px solid var(--line);
}

.release-gates article:last-child {
  border-bottom: 0;
}

.release-gates article > button {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.release-gates article > button > span:first-child {
  color: var(--muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.release-gates article p,
.release-gates article strong,
.release-gates article small {
  display: block;
  margin: 0;
}

.release-gates article strong {
  font-size: 11px;
}

.release-gates article small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.release-gates article > button > svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--muted);
  transition: transform 160ms ease;
}

.release-gate-detail {
  display: none;
  padding: 0 16px 14px 60px;
}

.release-gates article.expanded .release-gate-detail {
  display: block;
}

.release-gates article.expanded > button > svg {
  transform: rotate(180deg);
}

.release-gate-detail dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.release-gate-detail dl > div {
  padding: 11px;
  border-right: 1px solid var(--line);
}

.release-gate-detail dl > div:last-child {
  border-right: 0;
}

.release-gate-detail dt {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.release-gate-detail dd {
  margin: 5px 0 0;
  font-size: 9px;
  line-height: 1.45;
}

.connection-contracts {
  margin-top: 12px;
  overflow: hidden;
}

.connection-contracts > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.connection-contracts > div > button {
  display: grid;
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr) auto 15px;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.connection-contracts > div > button:nth-child(even) {
  border-right: 0;
}

.connection-contracts p {
  min-width: 0;
  margin: 0;
}

.connection-contracts strong,
.connection-contracts small {
  display: block;
}

.connection-contracts strong {
  font-size: 10px;
}

.connection-contracts small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-contracts > div > button > svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--muted);
}

.call-state-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.call-state-strip > span {
  position: relative;
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
}

.call-state-strip > span:last-child {
  border-right: 0;
}

.call-state-strip i {
  display: grid;
  width: 19px;
  height: 19px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #eeeee9;
  color: #8b9087;
  font-size: 8px;
  font-style: normal;
}

.call-state-strip i svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
}

.call-state-strip > span.complete {
  color: var(--ink);
}

.call-state-strip > span.complete i {
  background: var(--green-soft);
  color: var(--green);
}

.governed-call-layout {
  grid-template-columns: minmax(250px, .67fr) minmax(430px, 1.2fr) minmax(280px, .75fr);
  gap: 12px;
}

.governed-call-layout > .panel {
  min-height: 570px;
}

.governed-call-layout .panel-header {
  min-height: 74px;
}

.governed-call-layout .panel-header h3 {
  margin-top: 4px;
  font-size: 15px;
}

.account-authority .inline-input {
  width: 120px;
  min-height: 30px;
  font-size: 9px;
}

.account-authority .call-account-card {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fbfbf8;
}

.authority-rail .policy-event-list {
  grid-template-columns: 1fr;
}

.authority-rail .policy-event {
  border-right: 0;
}

.authority-outcome {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 14px;
  padding: 14px;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green);
}

.authority-outcome > span svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
}

.authority-outcome small,
.authority-outcome strong,
.authority-outcome p {
  display: block;
  margin: 0;
}

.authority-outcome small {
  font-size: 8px;
  font-weight: 760;
}

.authority-outcome strong {
  margin-top: 3px;
  font-size: 12px;
}

.authority-outcome p {
  margin-top: 3px;
  color: #416d55;
  font-size: 9px;
}

.recent-voice-evidence {
  margin-top: 12px;
  overflow: hidden;
}

.account-record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
}

.record-state {
  display: grid;
  justify-items: end;
}

.record-state > strong {
  margin-top: 8px;
  font-size: 22px;
}

.record-state > small {
  color: var(--muted);
  font-size: 8px;
}

.record-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafaf7;
}

.record-facts > span {
  min-width: 0;
  padding: 11px 14px;
  border-right: 1px solid var(--line);
}

.record-facts > span:last-child {
  border-right: 0;
}

.record-facts small,
.record-facts strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-facts small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.record-facts strong {
  margin-top: 4px;
  font-size: 9px;
}

.record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
}

.evidence-chain > header > div h4,
.evidence-chain > header > div p,
.conversation-evidence > header > div h4,
.conversation-evidence > header > div p,
.source-facts > header > div h4,
.source-facts > header > div p {
  margin: 0;
}

.evidence-chain > header > div p,
.conversation-evidence > header > div p,
.source-facts > header > div p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  text-transform: none;
  letter-spacing: 0;
}

.evidence-chain > div {
  position: relative;
}

.evidence-chain > div::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 15px;
  width: 1px;
  background: var(--line);
  content: "";
}

.evidence-chain article {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 10px;
  padding: 9px 0;
}

.evidence-chain article > span {
  z-index: 1;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--muted);
}

.evidence-chain article.good > span {
  border-color: #cce3d5;
  background: var(--green-soft);
  color: var(--green);
}

.evidence-chain article.alert > span {
  border-color: #ead3cd;
  background: var(--coral-soft);
  color: var(--coral);
}

.evidence-chain article svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
}

.evidence-chain article strong,
.evidence-chain article p,
.evidence-chain article small {
  display: block;
  margin: 0;
}

.evidence-chain article strong {
  font-size: 10px;
}

.evidence-chain article p {
  margin-top: 2px;
  color: #4b5048;
  font-size: 9px;
}

.evidence-chain article small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.evidence-chain article > button {
  background: transparent;
  color: var(--muted);
}

.conversation-evidence > article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.conversation-evidence h3,
.conversation-evidence p,
.conversation-evidence small {
  margin: 0;
}

.conversation-evidence h3 {
  font-size: 11px;
}

.conversation-evidence p,
.conversation-evidence small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.source-facts dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.source-facts dl > div {
  padding: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.source-facts dl > div:nth-child(even) {
  border-right: 0;
}

.source-facts dl > div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.source-facts dt {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.source-facts dd {
  margin: 5px 0 0;
}

.source-facts dd strong,
.source-facts dd span {
  display: block;
}

.source-facts dd strong {
  font-size: 11px;
}

.source-facts dd span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.next-safe-action {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border-radius: 9px;
  background: #f6f7f2;
}

.next-safe-action > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
}

.next-safe-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
}

.next-safe-action strong,
.next-safe-action p {
  margin: 0;
}

.next-safe-action strong {
  font-size: 10px;
}

.next-safe-action p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.retention-boundary {
  background: #f8f8f4;
}

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

@media (max-width: 1240px) {
  .operation-hero {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .readout-preview {
    grid-template-columns: 1fr;
  }

  .readout-preview > .button {
    justify-self: start;
  }

  .governed-call-layout {
    grid-template-columns: minmax(250px, .65fr) minmax(430px, 1fr);
  }

  .governed-call-layout > .panel:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .authority-rail .policy-event-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1020px) {
  .headstar-product {
    --sidebar-width: 218px;
  }

  .operation-hero,
  .command-grid,
  .exception-workspace,
  .governed-call-layout {
    grid-template-columns: 1fr;
  }

  .governed-call-layout > .panel:last-child {
    grid-column: auto;
  }

  .governed-call-layout > .panel {
    min-height: 0;
  }

  .human-queue {
    min-height: 240px;
  }

  .exception-principles {
    position: static;
  }

  .operating-truth,
  .release-truth {
    grid-template-columns: 1fr 1fr;
  }

  .operating-truth > div:nth-child(2),
  .release-truth > div:nth-child(2) {
    border-right: 0;
  }

  .operating-truth > div:nth-child(-n+2),
  .release-truth > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .causal-readout {
    grid-template-columns: 1fr 1fr;
  }

  .causal-readout .causal-operator {
    display: none;
  }

  .causal-readout .causal-result {
    grid-column: 1 / -1;
  }

  .call-state-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .call-state-strip > span:nth-child(3) {
    border-right: 0;
  }

  .call-state-strip > span:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .headstar-product {
    --topbar-height: 58px;
  }

  .headstar-product .sidebar {
    width: min(300px, calc(100vw - 38px));
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .headstar-product .topbar {
    padding-inline: 12px;
  }

  .headstar-product .topbar-leading h1 {
    font-size: 14px;
  }

  .headstar-product .topbar-leading p,
  .topbar-agent-state,
  .headstar-product .search-trigger,
  .headstar-product .notification-button,
  .headstar-product .avatar-button {
    display: none;
  }

  .headstar-product .app-view {
    padding: 17px 12px calc(92px + env(safe-area-inset-bottom));
  }

  .headstar-product .view-head {
    gap: 14px;
    margin-bottom: 16px;
  }

  .headstar-product .view-head h2 {
    font-size: 25px;
  }

  .headstar-product .view-head p {
    max-width: 330px;
    font-size: 11px;
  }

  .headstar-product .view-head-actions {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .operation-hero,
  .command-grid,
  .readout-detail-grid,
  .exception-workspace,
  .release-hero,
  .governed-call-layout {
    grid-template-columns: 1fr;
  }

  .operation-hero,
  .recovery-command,
  .human-queue {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .recovery-command-value {
    padding: 24px 17px 19px;
  }

  .recovery-command-value > strong {
    font-size: 48px;
  }

  .recovery-command-value p {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .recovery-command-flow {
    grid-template-columns: 1fr 1fr;
    padding: 0 17px 18px;
  }

  .recovery-command-flow button {
    border-bottom: 1px solid rgb(255 255 255 / 10%);
  }

  .recovery-command-flow button:nth-child(even) {
    border-right: 0;
  }

  .recovery-command-flow button:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .recovery-command-flow button:first-child {
    padding-left: 12px;
  }

  .recovery-command > footer {
    overflow-x: auto;
    white-space: nowrap;
  }

  .operating-truth,
  .release-truth {
    grid-template-columns: 1fr;
  }

  .operating-truth > div,
  .release-truth > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .operating-truth > div:last-child,
  .release-truth > div:last-child {
    border-bottom: 0;
  }

  .lane-now-list > button {
    grid-template-columns: 30px minmax(0, 1fr) auto 14px;
  }

  .lane-now-list em {
    grid-column: 2 / 4;
    justify-self: start;
  }

  .lane-now-list > button > svg {
    grid-column: 4;
    grid-row: 1;
  }

  .readout-preview {
    padding: 18px;
  }

  .readout-equation {
    grid-template-columns: 1fr;
  }

  .readout-equation > i {
    display: none;
  }

  .lane-summary,
  .exception-overview {
    grid-template-columns: 1fr 1fr;
  }

  .lane-summary > div,
  .exception-overview > div {
    border-bottom: 1px solid var(--line);
  }

  .lane-summary > div:nth-child(even),
  .exception-overview > div:nth-child(even) {
    border-right: 0;
  }

  .lane-summary > div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .exception-overview > div:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .lane-table-wrap {
    display: none;
  }

  .lane-mobile-list {
    display: block;
    border-top: 1px solid var(--line);
  }

  .lane-mobile-list > button {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    background: transparent;
    text-align: left;
  }

  .lane-mobile-list > button header {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
  }

  .lane-mobile-list p {
    min-width: 0;
    margin: 0;
  }

  .lane-mobile-list p strong,
  .lane-mobile-list p small {
    display: block;
  }

  .lane-mobile-list p strong {
    font-size: 11px;
  }

  .lane-mobile-list p small {
    margin-top: 2px;
    overflow: hidden;
    color: var(--muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lane-mobile-list header > b {
    font-size: 10px;
  }

  .lane-mobile-list > button > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0 8px 39px;
  }

  .lane-mobile-list footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-left: 39px;
    color: var(--muted);
    font-size: 9px;
  }

  .lane-mobile-list footer svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
  }

  .headstar-product .toolbar {
    padding: 10px;
  }

  .lane-table-panel .toolbar-group {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: visible;
  }

  .lane-table-panel .toolbar-group .table-search {
    width: auto;
    min-width: 0;
  }

  .exception-card > header {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .exception-card > header .lane-state {
    grid-column: 2;
  }

  .exception-card > p {
    padding-left: 58px;
  }

  .exception-card dl {
    grid-template-columns: 1fr 1fr;
  }

  .exception-card dl > div:nth-child(even) {
    border-right: 0;
  }

  .exception-card dl > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .exception-card > footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .maturity-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .maturity-clock {
    justify-self: start;
  }

  .causal-readout {
    grid-template-columns: 1fr;
  }

  .causal-readout .causal-result {
    grid-column: auto;
  }

  .evidence-stream > button {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .evidence-stream code {
    display: none;
  }

  .decision-bar {
    align-items: stretch;
    flex-wrap: wrap;
    bottom: 72px;
  }

  .decision-bar > div {
    width: 100%;
    flex-basis: 100%;
  }

  .release-mode {
    padding: 20px 0 0;
    border-top: 1px solid rgb(255 255 255 / 12%);
    border-left: 0;
  }

  .release-gates > header {
    flex-direction: column;
  }

  .release-gates article > button {
    grid-template-columns: 25px minmax(0, 1fr) auto 14px;
    padding-inline: 12px;
  }

  .release-gate-detail {
    padding: 0 12px 12px 37px;
  }

  .release-gate-detail dl {
    grid-template-columns: 1fr;
  }

  .release-gate-detail dl > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .release-gate-detail dl > div:last-child {
    border-bottom: 0;
  }

  .connection-contracts > div {
    grid-template-columns: 1fr;
  }

  .connection-contracts > div > button {
    border-right: 0;
  }

  .call-state-strip {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .call-state-strip::-webkit-scrollbar {
    display: none;
  }

  .call-state-strip > span {
    min-width: 132px;
    border-bottom: 0 !important;
  }

  .governed-call-layout > .panel {
    min-height: 0;
  }

  .governed-call-layout > .call-stage {
    order: -1;
  }

  .headstar-product .transcript-window {
    min-height: 330px;
    max-height: 460px;
  }

  .authority-rail .policy-event-list {
    grid-template-columns: 1fr;
  }

  .account-record-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .record-state {
    justify-items: start;
  }

  .record-facts {
    grid-template-columns: 1fr 1fr;
  }

  .record-facts > span:nth-child(even) {
    border-right: 0;
  }

  .record-facts > span:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .conversation-evidence > article {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .conversation-evidence > article .button {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .source-facts dl {
    grid-template-columns: 1fr;
  }

  .source-facts dl > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .source-facts dl > div:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .source-facts dl > div:last-child {
    border-bottom: 0;
  }

  .mobile-product-nav {
    position: fixed;
    z-index: 42;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 58px;
    overflow: hidden;
    border: 1px solid #d8dad2;
    border-radius: 14px;
    background: rgb(251 251 248 / 96%);
    box-shadow: 0 14px 36px rgb(25 28 23 / 16%);
    backdrop-filter: blur(18px);
  }

  .mobile-product-nav a,
  .mobile-product-nav button {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    background: transparent;
    color: #858a81;
    font-size: 8px;
  }

  .mobile-product-nav a.active {
    color: #151713;
    font-weight: 700;
  }

  .mobile-product-nav svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }

  .mobile-product-nav b {
    position: absolute;
    top: 5px;
    right: calc(50% - 15px);
    display: grid;
    min-width: 14px;
    height: 14px;
    place-items: center;
    border-radius: 50%;
    background: var(--coral);
    color: #fff;
    font-size: 7px;
  }

  .sheet-dialog {
    height: calc(100dvh - var(--sandbox-offset));
    margin-top: var(--sandbox-offset);
  }
}

@media (max-width: 460px) {
  .lane-summary,
  .exception-overview,
  .evidence-coverage > div,
  .guardrail-table > div {
    grid-template-columns: 1fr;
  }

  .lane-summary > div,
  .exception-overview > div,
  .guardrail-table > div span {
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }

  .lane-summary > div:last-child,
  .exception-overview > div:last-child,
  .guardrail-table > div span:last-child {
    border-bottom: 0 !important;
  }

  .headstar-product .sandbox-bar p {
    display: none;
  }

  .headstar-product .topbar .primary-button {
    width: auto;
    padding-inline: 11px;
  }

  .headstar-product .topbar .primary-button span {
    display: inline;
    font-size: 9px;
  }
}
