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

:root {
  --bg: #090b0f;
  --surface: #10141b;
  --surface-2: #151b24;
  --card: #141a23;
  --card-hover: #192231;
  --border: #293241;
  --border-strong: #364152;
  --text: #eef2f7;
  --text-2: #a6b0c0;
  --text-3: #6f7a8c;
  --accent: #58a6ff;
  --accent-soft: rgba(88, 166, 255, 0.14);
  --success: #42d392;
  --danger: #ff6b6b;
  --warning: #f6c85f;
  --radius: 8px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  padding-bottom: 28px;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 18% -8%, rgba(88, 166, 255, 0.10), transparent 30rem),
    linear-gradient(180deg, #0c1016 0%, var(--bg) 32rem);
}

/* ── Top bar ── */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 13, 18, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px max(16px, env(safe-area-inset-left)) 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-bar-title {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.logo {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(88, 166, 255, 0.16), rgba(88, 166, 255, 0.04));
  font-size: 13px;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.product-name { white-space: nowrap; }

.product-context {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  border-left: 1px solid var(--border);
  padding-left: 8px;
  white-space: nowrap;
}

.top-bar-nav {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(41, 50, 65, 0.75);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  flex: 0 0 auto;
}

.nav-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: var(--radius-xs);
  line-height: 1;
}

.nav-link.active {
  color: var(--text);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(88, 166, 255, 0.20);
}

.nav-link:focus-visible,
.genui-button:focus-visible,
.genui-option-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Filter bar ── */

.filter-bar {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.chip {
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
}

.chip-active {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #6da3f7;
}

/* ── Card ── */

.card-counter {
  text-align: center;
  padding: 8px 0 4px;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 8px 16px;
  cursor: pointer;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.card-time {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-3);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
}

.card-section { margin-bottom: 14px; }

.card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  margin-bottom: 4px;
}

.card-text {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-line;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.meta-item { display: flex; gap: 8px; font-size: 12px; }

.meta-label {
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  min-width: 48px;
}

.meta-value {
  color: var(--text-2);
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 11px;
  word-break: break-all;
}

.card-secondary {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ── Badges ── */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-project     { background: rgba(99, 102, 241, 0.12); color: #818cf8; }
.badge-new         { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.badge-needs_context { background: rgba(234, 179, 8, 0.12); color: #facc15; }
.badge-approved    { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.badge-rejected    { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.badge-deferred    { background: rgba(100, 116, 139, 0.12); color: #94a3b8; }
.badge-executing   { background: rgba(168, 85, 247, 0.12); color: #c084fc; }
.badge-executed    { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.badge-failed      { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.badge-risk-high   { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.badge-risk-medium { background: rgba(234, 179, 8, 0.12); color: #facc15; }
.badge-risk-low    { background: rgba(34, 197, 94, 0.12); color: #4ade80; }

/* ── Buttons ── */

.btn-ghost {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
}

.btn-ghost:active { background: var(--card-hover); }

/* ── Card nav ── */

.card-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 8px 0;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-arrow:disabled { opacity: 0.3; cursor: default; }
.nav-arrow:not(:disabled):active { background: var(--card); }

/* ── Action bar ── */

.actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  z-index: 10;
}

@media (min-width: 480px) {
  .actions { grid-template-columns: repeat(4, 1fr); }
}

.action-btn {
  padding: 12px 4px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.action-btn:disabled { opacity: 0.25; cursor: default; }
.action-btn:not(:disabled):active { filter: brightness(1.3); }

.btn-approve { background: rgba(34, 197, 94, 0.1); color: #4ade80; border-color: rgba(34, 197, 94, 0.2); }
.btn-reject  { background: rgba(239, 68, 68, 0.1); color: #f87171; border-color: rgba(239, 68, 68, 0.2); }
.btn-context { background: rgba(234, 179, 8, 0.1); color: #facc15; border-color: rgba(234, 179, 8, 0.2); }
.btn-defer   { background: rgba(100, 116, 139, 0.1); color: #94a3b8; border-color: rgba(100, 116, 139, 0.2); }
.btn-run     { background: rgba(168, 85, 247, 0.1); color: #c084fc; border-color: rgba(168, 85, 247, 0.2); grid-column: 1 / -1; }

/* ── Detail view ── */

.detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.back-btn {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 20px;
  padding: 4px 8px;
  cursor: pointer;
}

.detail-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.score-item {
  font-size: 11px;
  color: var(--text-2);
  background: var(--bg);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.score-item strong { color: var(--text); font-weight: 600; }

/* ── Timeline ── */

.timeline { padding: 0 16px; margin: 16px 0; }

.timeline-heading {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-3);
  margin-bottom: 12px;
}

.timeline-event {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  position: relative;
}

.timeline-event:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 24px;
  bottom: -8px;
  width: 1px;
  background: var(--border);
}

.timeline-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
  margin-top: 4px;
}

.dot-green  { background: #4ade80; }
.dot-red    { background: #f87171; }
.dot-blue   { background: #60a5fa; }
.dot-amber  { background: #facc15; }
.dot-purple { background: #c084fc; }
.dot-slate  { background: #94a3b8; }

.timeline-body { flex: 1; min-width: 0; }

.timeline-label { font-size: 13px; font-weight: 500; color: var(--text); }

.timeline-sub {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ── Prompt block ── */

.prompt-block {
  background: #0d1018;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 0 16px 16px;
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 300px;
  overflow-y: auto;
}

/* ── Context items ── */

.context-list { padding: 0 16px; margin-bottom: 16px; }

.context-item {
  background: rgba(234, 179, 8, 0.06);
  border: 1px solid rgba(234, 179, 8, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.context-item-title {
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

/* ── Modal ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 20px 16px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; }

.modal textarea {
  width: 100%;
  min-height: 100px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

.modal textarea:focus { outline: none; border-color: #3b82f6; }

.modal-actions { display: flex; gap: 8px; margin-top: 16px; }

.modal-actions button {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  min-height: 44px;
}

.modal-cancel { background: transparent; color: var(--text-2); }
.modal-submit { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border-color: rgba(59, 130, 246, 0.3); }
.modal-confirm-run { background: rgba(168, 85, 247, 0.15); color: #c084fc; border-color: rgba(168, 85, 247, 0.3); }

.confirm-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-2);
}

.confirm-details strong { color: var(--text); font-weight: 600; }

/* ── History ── */

.history-list {
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
}

.history-item:active { background: var(--card-hover); }

.history-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.history-date {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-3);
}

.history-title { font-size: 14px; font-weight: 500; }

/* ── States ── */

.center-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 32px;
  text-align: center;
  color: var(--text-3);
  font-size: 15px;
}

.error-msg { color: #f87171; }

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--text-2);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ── Desktop ── */

@media (min-width: 600px) {
  body { display: block; }
  #app {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 0 28px 48px;
  }
  .actions { max-width: 480px; left: 50%; transform: translateX(-50%); }
  .modal-overlay { align-items: center; }
  .modal { border-radius: var(--radius); }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }

  .top-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .top-bar-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-link {
    text-align: center;
    padding: 9px 6px;
  }

  .product-context { display: none; }
}

/* App-level GenUI polish. These selectors intentionally outrank genui.css
   while keeping the framework files unchanged. */

body .genui-surface {
  padding: 24px 0 24px;
}

body .genui-surface-title {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
  padding: 0 0 8px;
}

body .genui-surface-desc {
  max-width: 760px;
  color: var(--text-2);
  font-size: 14px;
  padding: 0 0 22px;
}

body .genui-option-cards,
body .genui-comparison-table,
body .genui-progress-timeline,
body .genui-intent-preview {
  margin-left: 0;
  margin-right: 0;
}

body .genui-option-cards {
  padding: 0;
}

body .genui-option-cards-title,
body .genui-comparison-title {
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

body .genui-option-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

body .genui-option-card {
  position: relative;
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--card);
  border-color: rgba(54, 65, 82, 0.84);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

body .genui-option-card:hover {
  background: var(--card-hover);
  border-color: rgba(88, 166, 255, 0.45);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

body .genui-option-card-header {
  justify-content: space-between;
  margin-bottom: 16px;
}

body .genui-option-card-label {
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 10px;
}

body .genui-option-card-description {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 4;
}

body .genui-option-card-rationale {
  border-top: 1px solid rgba(41, 50, 65, 0.72);
  color: var(--text-3);
  font-size: 12px;
  font-style: normal;
  margin-top: 14px;
  padding-top: 10px;
  text-transform: capitalize;
}

body .genui-risk-badge,
body .genui-confidence-indicator {
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  line-height: 1;
}

body .genui-confidence-label {
  text-transform: capitalize;
}

body .genui-progress-timeline {
  background: rgba(16, 20, 27, 0.72);
  border: 1px solid rgba(41, 50, 65, 0.72);
  border-radius: var(--radius);
  margin: 0 0 22px;
  padding: 14px 16px;
}

body .genui-progress-stage {
  min-width: 118px;
}

body .genui-progress-label {
  color: var(--text);
  font-size: 12px;
}

body .genui-progress-description {
  color: var(--text-3);
  font-size: 11px;
}

body .genui-approval-panel {
  max-width: 760px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    var(--surface);
  border-color: var(--border-strong);
  border-radius: var(--radius);
  padding: 24px;
  max-height: none;
  box-shadow: var(--shadow);
}

body .genui-approval-panel-header {
  gap: 12px;
  margin-bottom: 18px;
}

body .genui-approval-panel-title {
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.15;
}

body .genui-approval-panel-summary {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

body .genui-approval-panel-action {
  background: #0b0f15;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 18px;
  padding: 16px;
}

body .genui-approval-panel-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}

body .genui-button {
  border-radius: var(--radius);
  font-weight: 750;
}

body .genui-button-primary {
  background: rgba(66, 211, 146, 0.14);
  border-color: rgba(66, 211, 146, 0.34);
  color: var(--success);
}

body .genui-button-secondary {
  background: rgba(166, 176, 192, 0.10);
  border-color: rgba(166, 176, 192, 0.24);
  color: #c8d1df;
}

body .genui-button-ghost {
  background: rgba(255, 107, 107, 0.11);
  border-color: rgba(255, 107, 107, 0.30);
  color: var(--danger);
}

body .genui-comparison-table {
  background: rgba(16, 20, 27, 0.72);
  border: 1px solid rgba(41, 50, 65, 0.72);
  border-radius: var(--radius);
  overflow: hidden;
}

body .genui-comparison-title {
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(41, 50, 65, 0.72);
  margin: 0;
  padding: 14px 16px;
}

body .genui-comparison-table-grid th {
  background: rgba(255, 255, 255, 0.018);
  padding: 10px 16px;
}

body .genui-comparison-table-grid td {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
  padding: 12px 16px;
  vertical-align: top;
}

body .genui-comparison-field {
  color: var(--text);
  width: 52%;
}

body .genui-comparison-before {
  color: var(--text-3);
  text-decoration: none;
}

body .genui-comparison-after {
  color: var(--success);
  font-weight: 700;
}

body [data-genui-component-id="stats-summary"] .genui-comparison-table-grid,
body [data-genui-component-id="stats-summary"] .genui-comparison-table-grid tbody,
body [data-genui-component-id="stats-summary"] .genui-comparison-table-grid tr {
  display: block;
}

body [data-genui-component-id="stats-summary"] .genui-comparison-table-grid thead {
  display: none;
}

body [data-genui-component-id="stats-summary"] .genui-comparison-table-grid tbody {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(41, 50, 65, 0.72);
}

body [data-genui-component-id="stats-summary"] .genui-comparison-table-grid tr {
  background: var(--card);
  padding: 16px;
}

body [data-genui-component-id="stats-summary"] .genui-comparison-table-grid td {
  border: 0;
  display: block;
  padding: 0;
}

body [data-genui-component-id="stats-summary"] .genui-comparison-field {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
  width: auto;
}

body [data-genui-component-id="stats-summary"] .genui-comparison-before {
  display: none;
}

body [data-genui-component-id="stats-summary"] .genui-comparison-after {
  color: var(--text);
  font-size: 26px;
  line-height: 1;
}

body .genui-intent-preview {
  background: rgba(88, 166, 255, 0.08);
  border-color: rgba(88, 166, 255, 0.22);
  border-radius: var(--radius);
  padding: 24px;
}

@media (max-width: 760px) {
  body .genui-surface {
    padding: 18px 16px 24px;
  }

  body .genui-surface-title {
    font-size: 25px;
  }

  body .genui-option-card-list {
    grid-template-columns: 1fr;
  }

  body .genui-option-card {
    min-height: 0;
  }

  body .genui-approval-panel {
    padding: 18px;
  }

  body .genui-approval-panel-actions {
    grid-template-columns: 1fr;
  }

  body .genui-comparison-table {
    overflow: visible;
  }

  body .genui-comparison-table-grid,
  body .genui-comparison-table-grid thead,
  body .genui-comparison-table-grid tbody,
  body .genui-comparison-table-grid tr,
  body .genui-comparison-table-grid th,
  body .genui-comparison-table-grid td {
    display: block;
  }

  body .genui-comparison-table-grid thead {
    display: none;
  }

  body .genui-comparison-table-grid tr {
    border-bottom: 1px solid rgba(41, 50, 65, 0.72);
    padding: 12px 14px;
  }

  body .genui-comparison-table-grid td {
    border: 0;
    padding: 2px 0;
  }

  body .genui-comparison-field {
    width: auto;
  }

  body [data-genui-component-id="stats-summary"] .genui-comparison-table-grid tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body [data-genui-component-id="stats-summary"] .genui-comparison-table-grid tr:first-child {
    grid-column: 1 / -1;
  }
}
