@import url("https://fonts.googleapis.com/css2?family=Azeret+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #0c1315;
  --bg-2: #111b1e;
  --panel: rgba(246, 239, 222, 0.055);
  --panel-strong: rgba(246, 239, 222, 0.085);
  --panel-paper: rgba(240, 230, 205, 0.92);
  --ink: #eef0e7;
  --ink-dark: #121817;
  --muted: #a7b1a9;
  --muted-2: #728079;
  --line: rgba(238, 231, 207, 0.14);
  --line-strong: rgba(238, 231, 207, 0.26);
  --reagent: #8ed6bb;
  --reagent-2: #5eb99d;
  --cobalt: #8fb8cf;
  --amber: #d3a05f;
  --blood: #d66860;
  --violet-gray: #9e9ab5;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-sans: "Space Grotesk", "Aptos", "Segoe UI", sans-serif;
  --font-mono: "Azeret Mono", "SFMono-Regular", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 16% 10%, rgba(142, 214, 187, 0.16), transparent 26%),
    radial-gradient(circle at 72% 4%, rgba(211, 160, 95, 0.12), transparent 22%),
    linear-gradient(135deg, #080f11 0%, #101a1d 42%, #0b1113 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(238, 231, 207, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 231, 207, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

.surface-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
  background:
    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 7px
    );
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(246, 239, 222, 0.075), rgba(246, 239, 222, 0.025)),
    rgba(7, 13, 14, 0.86);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.brand-mark {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(142, 214, 187, 0.46);
  border-radius: 18px;
  color: #07110e;
  background:
    linear-gradient(135deg, rgba(142, 214, 187, 0.96), rgba(211, 160, 95, 0.82)),
    var(--reagent);
  box-shadow: 0 18px 46px rgba(94, 185, 157, 0.24);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-top: 1px solid rgba(7, 17, 14, 0.44);
  border-bottom: 1px solid rgba(7, 17, 14, 0.32);
  transform: rotate(-32deg);
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand h1,
.hero h2,
.panel-title {
  margin: 0;
  line-height: 1;
}

.brand h1 {
  max-width: 180px;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.eyebrow,
.sidebar-label,
.panel-subtitle,
.muted,
.caption {
  color: var(--muted);
}

.eyebrow,
.sidebar-label,
.label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.eyebrow {
  margin-bottom: 7px;
}

.system-card {
  position: relative;
  padding: 15px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(142, 214, 187, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(142, 214, 187, 0.16), rgba(143, 184, 207, 0.06)),
    rgba(255, 255, 255, 0.025);
}

.system-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(142, 214, 187, 0.24);
  border-radius: 999px;
}

.system-card-label {
  margin: 0 0 10px;
  color: var(--reagent);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.system-card strong,
.system-card span {
  display: block;
}

.system-card strong {
  margin-bottom: 5px;
  font-size: 0.96rem;
}

.system-card span {
  max-width: 210px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.sidebar-block {
  margin-top: 24px;
}

.sidebar-label {
  margin-bottom: 11px;
}

.auth-form {
  display: grid;
  gap: 9px;
}

.auth-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.hidden {
  display: none;
}

.nav-btn,
.secondary-btn,
.primary-btn,
.inline-btn,
select,
input,
textarea {
  font: inherit;
}

.nav-btn,
.secondary-btn,
.inline-btn,
.primary-btn {
  border: 1px solid var(--line);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.nav-btn,
.sidebar .secondary-btn {
  width: 100%;
}

.nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
  padding: 11px 12px;
  border-radius: 16px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.nav-btn span {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.67rem;
}

.nav-btn:hover,
.secondary-btn:hover,
.inline-btn:hover,
.primary-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(142, 214, 187, 0.42);
}

.nav-btn.active {
  color: #07110e;
  border-color: rgba(142, 214, 187, 0.7);
  background: linear-gradient(135deg, var(--reagent), #d7bd85);
  box-shadow: 0 16px 38px rgba(94, 185, 157, 0.18);
}

.nav-btn.active span {
  color: rgba(7, 17, 14, 0.58);
}

.secondary-btn,
.inline-btn {
  margin-bottom: 8px;
  padding: 11px 13px;
  border-radius: 15px;
  color: var(--ink);
  background: rgba(246, 239, 222, 0.045);
}

.inline-btn {
  display: inline-flex;
  width: auto;
  margin: 0;
  font-size: 0.82rem;
}

.primary-btn {
  padding: 13px 17px;
  border: 0;
  border-radius: 16px;
  color: #09110f;
  background: linear-gradient(135deg, var(--reagent), #e3bd72);
  box-shadow: 0 18px 46px rgba(142, 214, 187, 0.18);
  font-weight: 700;
}

.main-pane {
  min-width: 0;
  padding: 26px;
}

.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(100deg, rgba(246, 239, 222, 0.075), rgba(142, 214, 187, 0.06)),
    rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: 128px;
  top: -48px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(211, 160, 95, 0.18);
  border-radius: 999px;
  box-shadow: inset 0 0 0 24px rgba(211, 160, 95, 0.035);
}

.hero h2 {
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  letter-spacing: -0.075em;
}

.hero-telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-telemetry span {
  padding: 7px 10px;
  border: 1px solid rgba(238, 231, 207, 0.16);
  border-radius: 999px;
  color: #dce5da;
  background: rgba(7, 13, 14, 0.28);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.summary-card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(246, 239, 222, 0.06), rgba(246, 239, 222, 0.025)),
    rgba(7, 13, 14, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.summary-card {
  position: relative;
  min-height: 122px;
  padding: 18px;
  overflow: hidden;
}

.summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--reagent);
}

.summary-queued::before,
.summary-review::before {
  background: var(--amber);
}

.summary-exception::before {
  background: var(--blood);
}

.summary-succeeded::before,
.summary-ready::before {
  background: var(--reagent);
}

.summary-card .value {
  margin: 10px 0 3px;
  font-family: var(--font-mono);
  font-size: 2.45rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.summary-card .caption {
  margin: 0;
  font-size: 0.82rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(390px, 0.95fr);
  gap: 16px;
  margin-top: 16px;
}

.panel {
  min-width: 0;
  padding: 18px;
}

.panel-large {
  min-height: 70vh;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.panel-title {
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.panel-subtitle {
  margin: 7px 0 0;
  max-width: 540px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.filter-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

select,
input,
textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid rgba(238, 231, 207, 0.14);
  border-radius: 14px;
  outline: none;
  background: rgba(7, 13, 14, 0.48);
  padding: 11px 13px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

select:focus,
input:focus,
textarea:focus {
  border-color: rgba(142, 214, 187, 0.66);
  background: rgba(7, 13, 14, 0.68);
  box-shadow: 0 0 0 3px rgba(142, 214, 187, 0.1);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.table-shell {
  overflow: auto;
  border: 1px solid rgba(238, 231, 207, 0.08);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.14);
}

.ops-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.compact-table {
  margin-top: 8px;
  min-width: 760px;
}

.subsection-title {
  margin: 22px 0 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.table-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.payer-alias-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) 96px minmax(180px, 1.25fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(238, 231, 207, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(142, 214, 187, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(3, 8, 9, 0.38);
}

th,
td {
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(238, 231, 207, 0.07);
  vertical-align: middle;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--muted);
  background: rgba(9, 17, 18, 0.92);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.record-row {
  position: relative;
  cursor: pointer;
  transition:
    background 140ms ease,
    box-shadow 140ms ease;
}

.record-row td:first-child {
  border-left: 4px solid transparent;
}

.record-row.status-row-ready td:first-child,
.record-row.status-row-succeeded td:first-child {
  border-left-color: var(--reagent);
}

.record-row.status-row-queued td:first-child,
.record-row.status-row-running td:first-child {
  border-left-color: var(--amber);
}

.record-row.status-row-exception td:first-child,
.record-row.status-row-discarded td:first-child {
  border-left-color: var(--blood);
}

.record-row:hover {
  background: rgba(246, 239, 222, 0.045);
}

.record-row.is-active {
  background: rgba(142, 214, 187, 0.11);
  box-shadow: inset 0 0 0 1px rgba(142, 214, 187, 0.18);
}

td strong {
  display: block;
  font-weight: 700;
}

td small {
  display: block;
  margin-top: 4px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.record-check {
  width: 18px;
  height: 18px;
  accent-color: var(--reagent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.status-queued {
  color: #f3c778;
  background: rgba(211, 160, 95, 0.12);
  border: 1px solid rgba(211, 160, 95, 0.2);
}

.status-ready,
.status-succeeded,
.status-completed,
.status-healthy,
.status-active,
.status-idle {
  color: #a6f0cf;
  background: rgba(142, 214, 187, 0.12);
  border: 1px solid rgba(142, 214, 187, 0.2);
}

.status-running,
.status-busy {
  color: #a8d3e8;
  background: rgba(143, 184, 207, 0.12);
  border: 1px solid rgba(143, 184, 207, 0.2);
}

.status-exception,
.status-discarded,
.status-completed_with_exceptions,
.status-stopped,
.status-failed,
.status-offline,
.status-inactive {
  color: #f0a29c;
  background: rgba(214, 104, 96, 0.12);
  border: 1px solid rgba(214, 104, 96, 0.22);
}

.status-stale,
.status-never_seen {
  color: #f3c778;
  background: rgba(211, 160, 95, 0.12);
  border: 1px solid rgba(211, 160, 95, 0.2);
}

.operator-state-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.operator-success {
  color: #a6f0cf;
  background: rgba(142, 214, 187, 0.13);
  border: 1px solid rgba(142, 214, 187, 0.24);
}

.operator-info {
  color: #a8d3e8;
  background: rgba(143, 184, 207, 0.12);
  border: 1px solid rgba(143, 184, 207, 0.24);
}

.operator-warning {
  color: #f3c778;
  background: rgba(211, 160, 95, 0.12);
  border: 1px solid rgba(211, 160, 95, 0.24);
}

.operator-danger {
  color: #f0a29c;
  background: rgba(214, 104, 96, 0.13);
  border: 1px solid rgba(214, 104, 96, 0.24);
}

.operator-muted {
  color: var(--muted);
  background: rgba(238, 231, 207, 0.06);
  border: 1px solid rgba(238, 231, 207, 0.14);
}

.record-actions,
.detail-actions,
.tiny-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.detail-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(238, 231, 207, 0.18);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.record-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid rgba(142, 214, 187, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(142, 214, 187, 0.12), transparent),
    rgba(255, 255, 255, 0.025);
}

.record-banner h3 {
  margin: 0;
  font-size: 1.38rem;
  letter-spacing: -0.05em;
}

.record-banner p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.record-banner-state {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.operator-guidance {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  padding: 15px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.024);
}

.operator-guidance h3 {
  margin: 4px 0 6px;
  color: #f6f1e4;
  font-size: 1.05rem;
}

.operator-guidance p {
  margin: 0;
  color: var(--muted);
}

.operator-guidance strong {
  align-self: center;
  color: #f6f1e4;
  line-height: 1.45;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail-grid .full {
  grid-column: 1 / -1;
}

.detail-section {
  padding: 15px;
  border: 1px solid rgba(238, 231, 207, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.024);
}

.detail-section h3 {
  margin: 0 0 13px;
  color: #f6f1e4;
  font-size: 0.96rem;
  letter-spacing: -0.025em;
}

.issue-list,
.audit-list,
.attachment-list,
.attempt-events,
.batch-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.payer-review-list {
  display: grid;
  gap: 10px;
}

.payer-review-card {
  padding: 12px;
  border: 1px solid rgba(211, 160, 95, 0.2);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(211, 160, 95, 0.1), rgba(255, 255, 255, 0.018)),
    rgba(3, 8, 9, 0.36);
}

.payer-review-card h4 {
  margin: 0;
  font-size: 1rem;
}

.payer-review-card p {
  margin: 7px 0 0;
  color: var(--muted);
}

.payer-review-card dl {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 6px 10px;
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.payer-review-card dt {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.payer-review-card dd {
  margin: 0;
  color: #f3e7c8;
}

.payer-review-note {
  font-size: 0.78rem;
}

.payer-alias-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.payer-alias-actions input {
  min-width: 0;
}

.attempt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.attempt-card {
  position: relative;
  padding: 13px;
  border: 1px solid rgba(143, 184, 207, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(143, 184, 207, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(3, 8, 9, 0.42);
}

.attempt-card p {
  margin: 8px 0;
}

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

.attempt-card-header p {
  margin: 0;
}

.accession-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.accession-chip {
  padding: 7px 10px;
  border: 1px solid rgba(142, 214, 187, 0.18);
  border-radius: 999px;
  color: #dff6ec;
  background: rgba(142, 214, 187, 0.08);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.attempt-warning {
  display: grid;
  gap: 4px;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid rgba(211, 160, 95, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(211, 160, 95, 0.14), rgba(214, 104, 96, 0.08));
  color: #f7e8c8;
}

.attempt-warning span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.artifact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid rgba(214, 104, 96, 0.18);
  border-radius: 16px;
  background: rgba(214, 104, 96, 0.065);
}

.artifact-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(238, 231, 207, 0.08);
  border-radius: 13px;
  background: rgba(3, 8, 9, 0.42);
}

.artifact-item strong,
.artifact-item span {
  display: block;
}

.artifact-item span {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.verification-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.verification-block {
  padding: 11px;
  border: 1px solid rgba(238, 231, 207, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
}

.verification-block h4 {
  margin: 0 0 8px;
  color: #f5f0df;
  font-size: 0.82rem;
}

.verification-details {
  color: var(--muted);
}

.verification-details summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: #def4ea;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.verification-url,
.verification-reason {
  overflow-wrap: anywhere;
  font-size: 0.78rem;
}

.verification-checks {
  display: grid;
  gap: 6px;
  margin-top: 9px;
}

.verification-check {
  display: grid;
  grid-template-columns: 58px 80px 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 11px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.verification-pass {
  color: #dbfff0;
  background: rgba(142, 214, 187, 0.075);
  border: 1px solid rgba(142, 214, 187, 0.14);
}

.verification-fail {
  color: #ffd6d2;
  background: rgba(214, 104, 96, 0.08);
  border: 1px solid rgba(214, 104, 96, 0.16);
}

.mono {
  font-family: var(--font-mono);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

pre {
  margin: 0;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid rgba(238, 231, 207, 0.08);
  border-radius: 18px;
  color: #d9e2d7;
  background: rgba(3, 8, 9, 0.62);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .main-pane {
    padding: 14px;
  }

  .hero,
  .panel-header,
  .record-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h2 {
    font-size: 2.15rem;
  }

  .filter-row,
  .detail-grid,
  .payer-alias-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .verification-check {
    grid-template-columns: 1fr;
  }
}
