/* ============================================================================
   REFERO LINEAR + FACTORY DARK SYSTEM (ANTI-SLOP PRECISION INSTRUMENT)
   Sources:
   - deepseek-harness-bai-reasoning-linear-2026-08-30.md (#0f1011, #23252a, #d0d6e0, #8a8f98, 6px radius)
   - t3mp3st-opencode-factory-2026-08-30.md (#101010, Geist + Geist Mono 400/500, #a0ca92, no glow/shadows)
   ============================================================================ */
:root {
  --bg-void: #090a0b;
  --bg-deep: #0c0d0f;
  --surface-1: #0f1011;
  --surface-2: #141518;
  --surface-hover: #1a1c20;
  --border-hud: #23252a;
  --border-subtle: #23252a;
  --border-strong: #32353d;

  --text: #d0d6e0;
  --text-bright: #f3f4f6;
  --text-muted: #8a8f98;
  --text-dim: #62666d;

  /* Monochrome Primary Action + Functional Status Tokens (Low-Saturation, Zero Neon) */
  --action-bg: #ededef;
  --action-fg: #090a0b;
  --action-hover: #ffffff;

  --emerald: #a0ca92;
  --emerald-bg: rgba(160, 202, 146, 0.08);
  --emerald-border: rgba(160, 202, 146, 0.22);

  --cyan: #d0d6e0;
  --cyan-bg: rgba(208, 214, 224, 0.06);
  --blue: #9ec5ff;
  --blue-bg: rgba(158, 197, 255, 0.08);

  --amber: #e0b469;
  --amber-bg: rgba(224, 180, 105, 0.08);
  --amber-border: rgba(224, 180, 105, 0.22);

  --rose: #e56b6f;
  --rose-bg: rgba(229, 107, 111, 0.08);
  --rose-border: rgba(229, 107, 111, 0.22);

  --violet: #b8b3b0;
  --violet-bg: rgba(184, 179, 176, 0.08);

  --radius-lg: 6px;
  --radius-md: 6px;
  --radius-sm: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-void);
  color: var(--text);
  font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before,
.bg-glow {
  display: none !important;
}

code, pre, .mono-cell {
  font-family: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 1;
}

/* ============================================================================
   APP SHELL: FIXED LEFT SIDEBAR (236px) + MAIN WORKSPACE
   ============================================================================ */
.app-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg-void);
}

.app-sidebar {
  background: var(--surface-1);
  border-right: 1px solid var(--border-subtle);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.sidebar-brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--action-bg);
  color: var(--action-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-logo svg {
  width: 14px;
  height: 14px;
}

.brand-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kicker {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--emerald);
  background: transparent;
  padding: 2px 0;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  display: inline-block;
}

.sidebar-brand-title {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-bright);
}

.sidebar-section-label {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 8px;
  margin-bottom: 4px;
}

.view-nav-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.view-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.view-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 400;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease, color 0.12s ease;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  width: 100%;
}

.view-tab-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
  opacity: 0.75;
}

.view-tab-btn:hover {
  color: var(--text-bright);
  background: var(--surface-2);
}

.view-tab-btn.active {
  background: var(--surface-hover);
  color: var(--text-bright);
  font-weight: 500;
  border-color: var(--border-subtle);
}
.view-tab-btn.active svg {
  opacity: 1;
}

/* Sidebar Footer */
.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.ks-pill-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}
.ks-pill-wrap.paused {
  border-color: var(--rose-border);
}
.ks-title {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-bright);
}
.ks-sub {
  font-size: 10.5px;
  color: var(--text-dim);
}
.ks-toggle-btn {
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 3px 8px;
  font-weight: 500;
  font-size: 10.5px;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  transition: all 0.12s ease;
  flex-shrink: 0;
}
.ks-toggle-btn.on {
  background: var(--emerald-bg);
  color: var(--emerald);
  border-color: var(--emerald-border);
}
.ks-toggle-btn.off {
  background: var(--surface-1);
  color: var(--text-muted);
  border-color: var(--border-subtle);
}

.chaching-bar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
}
.chaching-info-title {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-bright);
}
.chaching-info-sub {
  font-size: 10.5px;
  color: var(--text-dim);
  line-height: 1.35;
}
.chaching-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.chaching-btn,
.chaching-test-btn {
  padding: 5px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--surface-1);
  color: var(--text);
  font-family: inherit;
  transition: all 0.12s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chaching-btn:hover,
.chaching-test-btn:hover {
  background: var(--surface-hover);
  color: var(--text-bright);
  border-color: var(--border-strong);
}
.chaching-btn.active-alert {
  background: var(--emerald-bg);
  color: var(--emerald);
  border-color: var(--emerald-border);
}

/* ============================================================================
   MAIN WORKSPACE & TOPBAR
   ============================================================================ */
.app-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--bg-void);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  margin-bottom: 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar h1 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-bright);
}

.top-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.account-tabs {
  display: flex;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.acc-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.acc-tab small {
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
}
.acc-tab.active {
  background: var(--surface-2);
  color: var(--text-bright);
  font-weight: 500;
}

.acc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.acc-a { background: var(--emerald); }
.acc-b { background: var(--text-muted); }
.acc-all { background: var(--text-bright); }

.sync-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sync-meta {
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
}

.btn-sync {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--surface-1);
  color: var(--text-bright);
  font-weight: 500;
  font-size: 12px;
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.btn-sync:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}
.btn-sync:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* ============================================================================
   TOAST NOTIFICATIONS
   ============================================================================ */
#sale-toast-container {
  position: fixed;
  top: 14px;
  right: 14px;
  max-width: 380px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.sale-toast {
  pointer-events: auto;
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-bright);
}

/* ============================================================================
   UNIFIED HAIRLINE KPI STRIPS (NO FLOATING RAINBOW CARDS)
   ============================================================================ */
.view-pane { display: none; }
.view-pane.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kpi-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.kpi-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.winners-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bucket-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bucket-card {
  background: var(--surface-1);
  border: none !important;
  border-radius: 0;
  padding: 14px 16px;
  position: relative;
  transition: background 0.12s ease;
}
.bucket-card[data-filter] { cursor: pointer; }
.bucket-card[data-filter]:hover,
.bucket-card.active-filter {
  background: var(--surface-2);
}

.bucket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}
.bucket-head span {
  color: var(--text-muted) !important;
}

.bucket-val {
  font-size: 20px;
  font-weight: 500;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.bucket-desc {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.35;
}

/* WINNER CELLS INSIDE UNIFIED STRIP */
.winner-card {
  background: var(--surface-1);
  border: none !important;
  border-radius: 0;
  padding: 14px 16px;
}

.winner-tag {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim) !important;
  margin-bottom: 6px;
  display: block;
}

/* ============================================================================
   PANELS, CARDS & DATA TABLES (ZERO EYEBROW SPAM)
   ============================================================================ */
.clean-table-card, .card, .canvas-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.section-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

/* Anti-Slop Eyebrow Restraint: suppress repetitive uppercase eyebrows */
.section-tag {
  display: none !important;
}

.section-title {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  margin: 0;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  padding: 2px;
  border-radius: var(--radius-sm);
}

.filter-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 400;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.12s ease;
}
.filter-pill-btn:hover {
  color: var(--text-bright);
}
.filter-pill-btn.active {
  background: var(--surface-hover);
  color: var(--text-bright);
  font-weight: 500;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: var(--text);
}

.tx-table th {
  text-align: left;
  padding: 8px 10px;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-subtle);
  background: transparent;
  white-space: nowrap;
}

.tx-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  color: var(--text);
}

.tx-table tbody tr:last-child td {
  border-bottom: none;
}

.tx-table tbody tr:hover td {
  background: var(--surface-2);
}

.mono-cell {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11.5px;
}

/* RESTRAINED BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 500;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  white-space: nowrap;
}
.badge-succeeded {
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}
.badge-failed {
  background: var(--rose-bg);
  color: var(--rose);
  border: 1px solid var(--rose-border);
}
.badge-refunded {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid var(--amber-border);
}
.badge-acc-a {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-subtle);
}
.badge-acc-b {
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* ============================================================================
   FUNNEL CANVAS & RISK METERS
   ============================================================================ */
.canvas-wrap {
  width: 100%;
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-top: 10px;
}
#funnel-canvas {
  display: block;
  width: 100%;
  min-width: 780px;
  height: 310px;
}

.risk-meter-wrap { width: 120px; }
.risk-bar-bg {
  width: 100%;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}
.risk-bar-fill { height: 100%; border-radius: 2px; }

.trail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 360px;
}
.trail-chip {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
}
.trail-chip.chip-rage {
  background: var(--rose-bg);
  color: var(--rose);
  border-color: var(--rose-border);
}
.trail-chip.chip-warn {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: var(--amber-border);
}
.trail-chip.chip-ok {
  background: var(--emerald-bg);
  color: var(--emerald);
  border-color: var(--emerald-border);
}

.lead-act-btn {
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  margin: 1px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.12s ease;
}
.lead-act-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  color: var(--text-bright);
}
.lead-act-btn.btn-danger-kill {
  border-color: var(--rose-border);
  background: var(--rose-bg);
  color: var(--rose);
}

/* ============================================================================
   TEMPLATES 90D & WHOP HEALTH GRIDS
   ============================================================================ */
.templates-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 14px;
  align-items: start;
}
.wave-selector-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wave-select-item {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.12s ease;
  text-align: left;
}
.wave-select-item:hover {
  background: var(--surface-2);
}
.wave-select-item.active {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}
.email-preview-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: sticky;
  top: 16px;
}
.email-meta-bar {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 12px;
}
.email-iframe-wrap {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
}
#email-preview-iframe { width: 100%; height: 100%; border: none; }

/* WHOP SCORE & BALANCES */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 14px;
}
.score-card {
  display: flex;
  align-items: center;
  gap: 18px;
}
.score-ring-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}
.score-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-track { fill: none; stroke: var(--border-subtle); stroke-width: 8; }
.score-progress {
  fill: none;
  stroke: var(--emerald);
  stroke-width: 8;
  stroke-linecap: butt;
  transition: stroke-dashoffset 0.6s ease, stroke 0.3s ease;
}
.score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-center span {
  font-size: 24px;
  font-weight: 500;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  color: var(--text-bright);
  line-height: 1;
}
.score-center small { font-size: 10px; color: var(--text-dim); margin-top: 2px; }
.score-info h2 { font-size: 15px; font-weight: 500; color: var(--text-bright); margin: 6px 0 4px; }
.mono-meta { font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); margin-bottom: 10px; }

.status-tag {
  display: inline-block;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 3px;
}
.status-ok     { background: var(--emerald-bg); color: var(--emerald); border: 1px solid var(--emerald-border); }
.status-warn   { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }
.status-danger { background: var(--rose-bg); color: var(--rose); border: 1px solid var(--rose-border); }

.account-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.flag-badge {
  font-size: 11px;
  font-weight: 400;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.card-head h3 { font-size: 13.5px; font-weight: 500; color: var(--text-bright); }
.currency-pill {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.balance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.bal-box {
  background: var(--surface-2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bal-label { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.bal-val { font-size: 17px; font-weight: 500; font-family: 'Geist Mono', 'JetBrains Mono', monospace; color: var(--text-bright); }
.bal-sub { font-size: 10.5px; color: var(--text-dim); }
.accent-green { color: var(--emerald); }
.accent-blue  { color: var(--text-bright); }

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.section-header h2 { font-size: 14px; font-weight: 500; color: var(--text-bright); }
.shield-summary-pill {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.shields-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.shield-card {
  background: var(--surface-1);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.shield-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.shield-title { font-size: 12.5px; font-weight: 500; color: var(--text-bright); }
.shield-desc { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }

.window-selector {
  display: flex;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}
.win-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
}
.win-btn.active {
  background: var(--surface-hover);
  color: var(--text-bright);
  font-weight: 500;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.kpi-box {
  background: var(--surface-1);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi-title { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.kpi-value { font-size: 18px; font-weight: 500; font-family: 'Geist Mono', 'JetBrains Mono', monospace; color: var(--text-bright); }
.kpi-foot  { font-size: 10.5px; color: var(--text-dim); }

.guardrails-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.guard-item {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.guard-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 12px; color: var(--text-bright); }
.guard-head span { font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-weight: 500; }
.guard-track { height: 4px; background: var(--border-subtle); border-radius: 2px; overflow: hidden; }
.guard-fill { height: 100%; border-radius: 2px; transition: width 0.5s ease; }

.charts-grid, .bottom-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.chart-container {
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-top: 14px;
}
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; gap: 4px; }
.bar-stack { width: 100%; max-width: 22px; display: flex; flex-direction: column-reverse; gap: 2px; height: 145px; justify-content: flex-start; }
.bar-seg-ok { background: var(--text-bright); border-radius: 2px; width: 100%; min-height: 2px; }
.bar-seg-fail { background: var(--rose); border-radius: 2px; width: 100%; }
.bar-label, .bar-val-top { font-size: 9.5px; font-family: 'Geist Mono', 'JetBrains Mono', monospace; color: var(--text-dim); }

.declines-list, .webhooks-list { display: flex; flex-direction: column; gap: 6px; }
.decline-row, .wh-item {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
}
.decline-top { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 500; margin-bottom: 5px; color: var(--text-bright); }
.decline-code { font-family: 'Geist Mono', 'JetBrains Mono', monospace; color: var(--rose); }
.wh-url { font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-size: 11px; word-break: break-all; color: var(--text); }
.wh-events { display: flex; flex-wrap: wrap; gap: 4px; }
.wh-ev { font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-size: 10px; padding: 2px 6px; border-radius: 3px; background: var(--surface-1); border: 1px solid var(--border-subtle); color: var(--text-muted); }
.empty-cell { text-align: center; color: var(--text-dim); padding: 20px !important; }

/* ============================================================================
   M08 — OFFER CONFIGURATOR, TRAFFIC SIMULATOR & 4-VECTOR ML LAB
   ============================================================================ */
.m08-hud-panel {
  border: 1px solid var(--border-subtle);
  background: var(--surface-1);
}

.m08-header-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.m08-config-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 16px;
  align-items: start;
}

.m08-form-box,
.m08-output-wrap {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.m08-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.m08-box-kicker {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-bright);
  text-transform: uppercase;
  display: block;
}

.m08-box-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.m08-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.m08-col-full {
  grid-column: span 2;
}

.m08-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m08-field label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.m08-field-hint {
  font-size: 10.5px;
  color: var(--text-dim);
}

.m08-input,
.m08-select,
.m08-textarea {
  width: 100%;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  color: var(--text-bright);
  font-size: 12px;
  font-family: inherit;
  transition: border-color 0.12s ease;
}

.m08-input:focus,
.m08-select:focus,
.m08-textarea:focus {
  outline: none;
  border-color: var(--text-muted);
}

.m08-form-actions {
  margin-top: 12px;
}

.m08-btn-primary {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--action-bg);
  background: var(--action-bg);
  color: var(--action-fg);
  font-weight: 500;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s ease;
}
.m08-btn-primary:hover {
  background: var(--action-hover);
}

/* READY-TO-PASTE META ADS LINKS OUTPUT */
.m08-links-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m08-offer-link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.m08-offer-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.m08-offer-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-bright);
  margin-top: 4px;
}

.m08-offer-route-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-void);
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid var(--border-subtle);
}

.m08-copy-block {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.m08-copy-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.m08-copy-step {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}

.m08-copy-tag {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-dim) !important;
}

.m08-copy-input-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.m08-copy-input {
  flex: 1;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 6px 9px;
  color: var(--text-bright);
  font-size: 11.5px;
  overflow-x: auto;
}

.m08-btn-copy,
.m08-btn-ghost {
  padding: 6px 11px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.12s ease;
}

.m08-btn-copy {
  background: var(--action-bg);
  color: var(--action-fg);
  border: 1px solid var(--action-bg);
}
.m08-btn-copy:hover {
  background: var(--action-hover);
}

.m08-btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-subtle);
}
.m08-btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  color: var(--text-bright);
}

.m08-quick-links-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.m08-quick-link-emerald {
  border-color: var(--emerald-border) !important;
  color: var(--emerald) !important;
  background: var(--emerald-bg) !important;
  text-decoration: none;
}

/* PANEL B: CLOAKER TRAFFIC SIMULATOR */
.m08-sim-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m08-sim-select-label {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.m08-sim-buttons-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.m08-sim-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 11px 12px;
  background: var(--surface-1);
  border: none;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
}
.m08-sim-btn:hover {
  background: var(--surface-2);
}
.m08-sim-btn.active {
  background: var(--surface-hover);
  box-shadow: inset 0 -2px 0 var(--text-bright);
}

.m08-sim-btn-ico {
  display: none;
}

.m08-sim-btn strong {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-bright);
}

.m08-sim-btn small {
  display: block;
  font-size: 10.5px;
  color: var(--text-dim);
  line-height: 1.3;
  margin-top: 2px;
}

.m08-sim-console {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.m08-sim-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-subtle);
}

.m08-sim-dots span.dot-r,
.m08-sim-dots span.dot-y,
.m08-sim-dots span.dot-g {
  display: none !important;
}

.m08-sim-console-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px;
  padding: 14px;
  align-items: center;
}

.m08-sim-score-col {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: left;
}

.m08-sim-score-label {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.m08-sim-score-big {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  margin-top: 4px;
  color: var(--text-bright);
}

.m08-sim-score-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.35;
}

.m08-sim-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.m08-sim-kv {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.m08-sim-kv > span {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.m08-sim-kv > strong {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-bright);
  word-break: break-all;
}

/* PANEL C: 4-VECTOR CREATIVE ML LAB */
.m08-lab-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.m08-lab-card {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m08-lab-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.m08-lab-icon-badge {
  display: none !important;
}

.m08-lab-kicker {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim) !important;
  display: block;
}

.m08-lab-card-head h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-bright);
  line-height: 1.3;
  margin-top: 2px;
}

.m08-lab-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.42;
}

.m08-upload-zone {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m08-file-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.m08-upload-ico { display: none; }

.m08-file-label strong {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-bright);
}

.m08-file-label small {
  display: block;
  font-size: 10.5px;
  color: var(--text-dim);
}

.m08-file-input {
  font-size: 11px;
  color: var(--text-muted);
  width: 100%;
}

.m08-lab-actions {
  display: flex;
  gap: 6px;
}

.m08-btn-accent {
  width: 100%;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  background: var(--surface-2);
  color: var(--text-bright);
  border: 1px solid var(--border-strong);
  transition: background 0.12s ease;
}
.m08-btn-accent:hover {
  background: var(--action-bg);
  color: var(--action-fg);
  border-color: var(--action-bg);
}

.m08-results-box {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.m08-results-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.m08-hash-compare {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-void);
  padding: 8px 10px;
  border-radius: 3px;
  border: 1px solid var(--border-subtle);
}

.m08-hash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.m08-hash-label {
  color: var(--text-dim);
  font-weight: 400;
  white-space: nowrap;
}

.m08-ocr-audit-wrap,
.m08-script-replacements {
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
}

.m08-ocr-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-dim);
}

.m08-mini-table th,
.m08-mini-table td {
  padding: 5px 7px;
  font-size: 11px;
}

.m08-keyframe-pills {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m08-script-audit-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.m08-script-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.m08-script-diff {
  background: var(--bg-void);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 8px 10px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text);
}

.m08-download-bar {
  margin-top: 2px;
}

.m08-btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-bright);
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.12s ease;
}
.m08-btn-download:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

/* ============================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================================================ */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 1200px) {
  .kpi-grid-6, .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .kpi-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .winners-grid-3 { grid-template-columns: 1fr; }
  .bucket-cards-grid, .shields-grid, .balance-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .charts-grid, .bottom-grid, .guardrails-bars, .templates-grid { grid-template-columns: 1fr; }
  .m08-config-grid { grid-template-columns: 1fr; }
  .m08-sim-buttons-grid { grid-template-columns: repeat(3, 1fr); }
  .m08-lab-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
  .app-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 14px;
    gap: 10px;
  }
  .view-tabs,
  .sidebar-section-label {
    display: none;
  }
  .sidebar-footer {
    padding-top: 8px;
    border-top: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .shell {
    padding: 0 14px 88px;
    gap: 12px;
  }
  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--surface-1);
    border-top: 1px solid var(--border-subtle);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-nav-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 2px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 400;
    cursor: pointer;
  }
  .mobile-nav-btn .m-ico {
    display: none;
  }
  .mobile-nav-btn.active {
    color: var(--text-bright);
    background: var(--surface-2);
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  .sidebar-footer {
    grid-template-columns: 1fr;
  }
  .kpi-grid-6, .kpi-grid, .balance-grid, .bucket-cards-grid, .kpi-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-grid-5 > .bucket-card:last-child {
    grid-column: span 2;
  }
  .shields-grid,
  .m08-form-grid,
  .m08-sim-console-body,
  .m08-sim-kv-grid {
    grid-template-columns: 1fr;
  }
  .m08-col-full {
    grid-column: span 1;
  }
  .m08-copy-input-group {
    flex-direction: column;
    align-items: stretch;
  }
  .m08-sim-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tx-table thead { display: none; }
  .tx-table, .tx-table tbody { display: block; width: 100%; }
  .tx-table tbody tr {
    display: block;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    padding: 8px 10px;
  }
  .tx-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-subtle);
    text-align: right;
    font-size: 11.5px;
  }
  .tx-table tbody td:last-child {
    border-bottom: none;
    padding-bottom: 2px;
  }
  .tx-table tbody td::before {
    content: attr(data-label);
    font-family: 'Geist Mono', 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: left;
    flex-shrink: 0;
  }
  .tx-table tbody td.empty-cell {
    display: block;
    text-align: center;
  }
  .tx-table tbody td.empty-cell::before {
    display: none;
  }
}
