/* Veripharm MLOps — design tokens */
:root {
  /* Light */
  --bg: oklch(0.985 0.002 250);
  --bg-elev: oklch(1 0 0);
  --bg-sunk: oklch(0.965 0.003 250);
  --line: oklch(0.91 0.005 250);
  --line-strong: oklch(0.84 0.008 250);
  --fg: oklch(0.22 0.01 250);
  --fg-muted: oklch(0.50 0.012 250);
  --fg-subtle: oklch(0.65 0.012 250);

  --accent: oklch(0.58 0.14 254);
  --accent-soft: oklch(0.94 0.04 254);
  --accent-fg: oklch(0.36 0.14 254);

  --ok: oklch(0.62 0.14 155);
  --ok-soft: oklch(0.94 0.05 155);
  --warn: oklch(0.74 0.14 75);
  --warn-soft: oklch(0.95 0.06 75);
  --danger: oklch(0.60 0.18 25);
  --danger-soft: oklch(0.95 0.05 25);
  --beta: oklch(0.60 0.16 305);
  --beta-soft: oklch(0.95 0.05 305);

  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 14px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

[data-theme="dark"] {
  --bg: oklch(0.18 0.012 250);
  --bg-elev: oklch(0.22 0.012 250);
  --bg-sunk: oklch(0.155 0.012 250);
  --line: oklch(0.30 0.012 250);
  --line-strong: oklch(0.38 0.014 250);
  --fg: oklch(0.96 0.005 250);
  --fg-muted: oklch(0.72 0.012 250);
  --fg-subtle: oklch(0.55 0.012 250);

  --accent: oklch(0.72 0.14 254);
  --accent-soft: oklch(0.32 0.06 254);
  --accent-fg: oklch(0.85 0.10 254);

  --ok-soft: oklch(0.30 0.06 155);
  --warn-soft: oklch(0.32 0.07 75);
  --danger-soft: oklch(0.30 0.07 25);
  --beta-soft: oklch(0.32 0.07 305);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 13px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}

.mono { font-family: var(--font-mono); font-feature-settings: "zero", "cv01"; }

/* App shell */
.app {
  display: grid;
  grid-template-columns: 224px 1fr;
  min-height: 100vh;
  --sidebar-w: 224px;
}

/* Sidebar */
.sidebar {
  background: var(--bg-sunk);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 14px 10px;
  gap: 2px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--fg);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
}
.brand-name { font-weight: 600; font-size: 13px; letter-spacing: -0.01em; }
.brand-env {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-subtle);
  margin-top: 2px;
}

.nav-group { margin-top: 14px; }
.nav-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-subtle);
  padding: 0 8px;
  margin-bottom: 4px;
  font-weight: 600;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: var(--r-md);
  color: var(--fg-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  user-select: none;
  border: 1px solid transparent;
}
.nav-item:hover { background: var(--bg-elev); color: var(--fg); }
.nav-item.active {
  background: var(--bg-elev);
  color: var(--fg);
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.nav-item .icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.85; }
.nav-item .badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 999px;
  color: var(--fg-muted);
}
.nav-item.active .badge { background: var(--accent-soft); color: var(--accent-fg); border-color: transparent; }
.nav-item.nav-primary { color: var(--fg); font-weight: 600; }
.nav-item.nav-primary .icon { color: var(--accent); opacity: 1; }
.nav-item.nav-primary .badge { background: var(--accent); color: white; border-color: transparent; }
.nav-item.nav-primary.active .badge { background: var(--accent); color: white; }

/* CVAT job cards */
.cvat-hero {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  margin-bottom: 16px;
}
.cvat-jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.cvat-job {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 6px;
  cursor: pointer;
  transition: border-color 0.1s, transform 0.1s;
}
.cvat-job:hover { border-color: var(--accent); transform: translateY(-1px); }
.cvat-job-head { display: flex; justify-content: space-between; align-items: center; }
.cvat-job-id { font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.cvat-job-progress {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted);
}
.cvat-job-progress .bar { flex: 1; height: 4px; background: var(--bg-sunk); border-radius: 2px; overflow: hidden; }
.cvat-job-progress .bar > span { display: block; height: 100%; background: var(--accent); }

.sidebar-footer {
  margin-top: auto;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-fg);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
}
.user-meta { font-size: 12px; line-height: 1.2; }
.user-meta .role { color: var(--fg-subtle); font-size: 10px; }

/* Main */
.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
}
.crumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--fg-muted);
}
.crumb .sep { color: var(--fg-subtle); }
.crumb b { color: var(--fg); font-weight: 600; }
.topbar-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.search {
  position: relative;
  width: 280px;
}
.search input {
  width: 100%;
  padding: 5px 10px 5px 28px;
  font: inherit;
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  color: var(--fg);
}
.search input:focus { outline: 1px solid var(--accent); border-color: var(--accent); }
.search .icon { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; color: var(--fg-subtle); }
.search kbd {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 10px;
  background: var(--bg-sunk); border: 1px solid var(--line); border-radius: 3px;
  padding: 1px 4px; color: var(--fg-subtle);
}

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  color: var(--fg);
  font: inherit; font-size: 12px; font-weight: 500;
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s;
}
.btn:hover { background: var(--bg-sunk); border-color: var(--line-strong); }
.btn-primary {
  background: var(--fg); color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover { background: var(--fg); opacity: 0.9; }
.btn-accent {
  background: var(--accent); color: white; border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent); filter: brightness(0.95); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--fg-muted); }
.btn-ghost:hover { background: var(--bg-elev); color: var(--fg); }
.btn-sm { padding: 3px 8px; font-size: 11px; }
.btn .icon { width: 12px; height: 12px; }

/* Page content */
.page { padding: 20px 24px 40px; max-width: 1440px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
.page-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 2px; }
.page-sub { font-size: 12px; color: var(--fg-muted); margin: 0; }

/* KPI grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.kpi {
  background: var(--bg-elev);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.kpi-value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.kpi-value .unit { font-size: 14px; color: var(--fg-muted); margin-left: 2px; }
.kpi-delta {
  font-size: 11px;
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-mono);
}
.kpi-delta.up { color: var(--ok); }
.kpi-delta.down { color: var(--danger); }
.kpi-delta.flat { color: var(--fg-muted); }
.kpi-spark { height: 28px; margin-top: 2px; }

/* Cards */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.card-title { font-size: 13px; font-weight: 600; margin: 0; }
.card-sub { font-size: 11px; color: var(--fg-muted); margin-left: 4px; }
.card-actions { margin-left: auto; display: flex; gap: 6px; }

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th {
  text-align: left;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-sunk);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  white-space: nowrap;
}
.table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  white-space: nowrap;
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--bg-sunk); }
.table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0;
  border: 1px solid transparent;
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.badge-stable { background: var(--ok-soft); color: var(--ok); }
.badge-pre   { background: var(--beta-soft); color: var(--beta); }
.badge-dev   { background: var(--warn-soft); color: var(--warn); }
.badge-ok    { background: var(--ok-soft); color: var(--ok); }
.badge-warn  { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-muted { background: var(--bg-sunk); color: var(--fg-muted); border-color: var(--line); }
.badge-accent { background: var(--accent-soft); color: var(--accent-fg); }

/* Pipeline status pill */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.status-pill.live .dot { background: var(--ok); box-shadow: 0 0 0 3px oklch(0.62 0.14 155 / 0.2); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.62 0.14 155 / 0.4); }
  100% { box-shadow: 0 0 0 6px oklch(0.62 0.14 155 / 0); }
}

/* Progress */
.progress { height: 6px; background: var(--bg-sunk); border-radius: 3px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 3px; transition: width 0.3s; }
.progress.ok > span { background: var(--ok); }
.progress.warn > span { background: var(--warn); }

/* Layout helpers */
.row { display: flex; gap: 12px; align-items: center; }
.col { display: flex; flex-direction: column; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.muted { color: var(--fg-muted); }
.subtle { color: var(--fg-subtle); }
.tnum { font-variant-numeric: tabular-nums; }

/* Log console */
.console {
  background: oklch(0.16 0.01 250);
  color: oklch(0.88 0.01 250);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.55;
  padding: 14px 16px;
  border-radius: var(--r-md);
  height: 320px;
  overflow-y: auto;
  border: 1px solid var(--line);
}
.console .ts { color: oklch(0.55 0.012 250); }
.console .lv-info { color: oklch(0.78 0.05 200); }
.console .lv-ok { color: oklch(0.74 0.14 155); }
.console .lv-warn { color: oklch(0.80 0.14 75); }
.console .epoch { color: oklch(0.85 0.12 75); }

/* Pipeline diagram */
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: stretch;
}
.pipe-stage {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-right: none;
  padding: 14px 16px;
  position: relative;
  min-height: 88px;
}
.pipe-stage:first-child { border-top-left-radius: var(--r-lg); border-bottom-left-radius: var(--r-lg); }
.pipe-stage:last-child { border-right: 1px solid var(--line); border-top-right-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }
.pipe-stage::after {
  content: "";
  position: absolute;
  right: -7px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--bg-elev);
  z-index: 2;
}
.pipe-stage:last-child::after { display: none; }
.pipe-stage .stage-name { font-size: 11px; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.pipe-stage .stage-value { font-family: var(--font-mono); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.pipe-stage .stage-meta { font-size: 11px; color: var(--fg-muted); margin-top: 4px; font-family: var(--font-mono); }
.pipe-stage.active { background: var(--accent-soft); border-color: var(--accent); }
.pipe-stage.active::after { background: var(--accent-soft); border-color: var(--accent); }
.pipe-stage.active .stage-name { color: var(--accent-fg); }

/* Meter (donut substitute) */
.meter {
  display: flex; flex-direction: column; gap: 4px;
}
.meter-bar {
  height: 4px; border-radius: 2px; background: var(--bg-sunk); overflow: hidden;
}
.meter-bar > span { display: block; height: 100%; background: var(--fg); }

/* Class chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
}
.chip .swatch { width: 8px; height: 8px; border-radius: 2px; }

/* Toggle */
.toggle-row { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); padding: 2px; background: var(--bg-elev); }
.toggle-row button {
  border: none; background: transparent;
  padding: 4px 10px; font-size: 11px; font-weight: 500;
  border-radius: 4px; color: var(--fg-muted);
  cursor: pointer; font-family: inherit;
}
.toggle-row button.on { background: var(--bg-sunk); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }

/* Sparkline */
.sparkline { width: 100%; height: 100%; }

/* Image placeholder */
.img-placeholder {
  background: repeating-linear-gradient(
    -45deg,
    var(--bg-sunk) 0px, var(--bg-sunk) 6px,
    var(--bg-elev) 6px, var(--bg-elev) 12px
  );
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-subtle);
  border-radius: var(--r-md);
}

/* Drawer / panel inside page */
.split { display: grid; grid-template-columns: 320px 1fr; gap: 16px; }

/* Sticky training trigger bar */
.train-bar {
  position: fixed;
  bottom: 0;
  left: var(--sidebar-w, 220px);
  right: 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  z-index: 50;
}
.train-bar-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 24px; }
.train-bar-chips { display: flex; flex-wrap: wrap; gap: 4px; max-width: 50%; overflow: hidden; }

.chip-accent { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-fg); }

tr.row-selected td { background: var(--accent-soft) !important; }
tr.row-selected td:first-child { box-shadow: inset 3px 0 0 var(--accent); }

input[type="checkbox"] {
  width: 14px; height: 14px;
  accent-color: var(--accent);
  cursor: pointer;
}
input[type="checkbox"]:disabled { cursor: not-allowed; opacity: 0.6; }

/* Detail drawer */
.drawer-bg {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 90;
  display: flex;
  justify-content: flex-end;
  backdrop-filter: blur(2px);
}
.drawer {
  width: 480px;
  background: var(--bg-elev);
  border-left: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  animation: drawerIn 0.18s ease-out;
}
@keyframes drawerIn {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.drawer-head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Detail panel */
.detail-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
}
.detail-panel h4 { font-size: 12px; margin: 0 0 8px; font-weight: 600; }
.detail-panel .kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; font-size: 12px; }
.detail-panel .kv > .k { color: var(--fg-muted); }
.detail-panel .kv > .v { font-family: var(--font-mono); }

/* Dot legend */
.dot-legend { display: flex; gap: 12px; font-size: 11px; color: var(--fg-muted); }
.dot-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* Filter bar */
.filterbar {
  display: flex; gap: 8px; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.filterbar select, .filterbar input {
  padding: 4px 8px;
  font: inherit; font-size: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  color: var(--fg);
}

/* Tab nav */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); }
.tabs button {
  border: none; background: none;
  padding: 8px 12px;
  font: inherit; font-size: 12px; font-weight: 500;
  color: var(--fg-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs button.on { color: var(--fg); border-bottom-color: var(--accent); }
.tabs button:hover:not(.on) { color: var(--fg); }

/* Cockpit grid (variant B) */
.cockpit {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 12px;
}

/* Pipeline view (variant C) */
.flow-graph {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 0;
  align-items: stretch;
}
.flow-node {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
}
.flow-edge {
  display: grid;
  align-items: center;
  justify-items: center;
  position: relative;
}
.flow-edge::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px; background: var(--line-strong);
  transform: translateY(-0.5px);
}
.flow-edge .arrow {
  width: 24px; height: 24px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; color: var(--fg-muted);
  z-index: 2;
}

/* Distribution slider mock */
.dist-bar {
  display: flex;
  height: 32px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.dist-bar > div {
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: white;
  font-weight: 500;
}

/* Scroll */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }

/* Tweaks panel reset */
.tweaks-toggle-row { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); padding: 2px; background: var(--bg-elev); }
