/* Remote Fader Provisioning — matches remotefader.com */
:root {
  --remote-blue: #2196FF;
  --remote-blue-dim: #1976D2;
  --remote-blue-glow: rgba(33, 150, 255, 0.25);
  --deep-blue: #0B1D33;
  --slate: #1A1F26;
  --steel: #8A8F98;
  --light: #E6E9EE;
  --bg: var(--slate);
  --bg-elevated: #212830;
  --bg-card: #252b34;
  --text: var(--light);
  --text-muted: var(--steel);
  --accent: var(--remote-blue);
  --accent-dim: var(--remote-blue-dim);
  --accent-glow: var(--remote-blue-glow);
  --border: #2a3139;
  --muted-ring: #2e3640;
  --warn: #ffb74d;
  --danger: #ef5350;
  --ok: #64b5f6;
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "Raleway", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", monospace;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dim); text-decoration: underline; }
code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--light);
  background: rgba(33, 150, 255, 0.1);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 18% -8%, rgba(33, 150, 255, 0.14), transparent 55%),
    radial-gradient(700px 420px at 92% 0%, rgba(11, 29, 51, 0.55), transparent 50%),
    linear-gradient(180deg, #151a21 0%, var(--slate) 40%, #161b22 100%);
}
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(33, 150, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 150, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 30% 0%, black 15%, transparent 70%);
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--border);
  background: rgba(26, 31, 38, 0.92);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  padding: 0.25rem 0.35rem;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand-icon { width: 38px; height: 38px; object-fit: contain; flex: none; }
.brand-wordmark { display: block; height: 22px; width: auto; }
.brand-sub {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav { display: flex; flex-direction: column; gap: 0.2rem; }
.nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 160ms ease, color 160ms ease;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.03); text-decoration: none; }
.nav a.on {
  color: var(--text);
  background: rgba(33, 150, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(33, 150, 255, 0.28);
}
.nav-ico { width: 1.1em; color: var(--accent); opacity: 0.9; font-size: 0.95rem; }

.sidebar-foot { margin-top: auto; display: grid; gap: 0.65rem; }

.main-col { min-width: 0; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1.75rem 2rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(26, 31, 38, 0.55);
  backdrop-filter: blur(8px);
}
.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--remote-blue);
}
.topbar h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.topbar-actions { display: flex; gap: 0.55rem; flex-wrap: wrap; }

.content {
  padding: 1.35rem 2rem 3rem;
  display: grid;
  gap: 1.1rem;
  max-width: 1200px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.7rem 1.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 140ms ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--remote-blue);
  color: #fff;
  box-shadow: 0 8px 28px var(--remote-blue-glow);
}
.btn-primary:hover { background: var(--remote-blue-dim); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: rgba(33, 150, 255, 0.45); color: var(--text); }
.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: rgba(239, 83, 80, 0.4);
}
.btn-block { width: 100%; }

.input, .select, textarea.input {
  width: 100%;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
}
.input:focus, .select:focus, textarea.input:focus {
  border-color: rgba(33, 150, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(33, 150, 255, 0.12);
}
.select { appearance: none; }

.toolbar {
  display: grid;
  grid-template-columns: 1fr 180px auto;
  gap: 0.65rem;
}

.hero-strip {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(33, 150, 255, 0.14), rgba(11, 29, 51, 0.35) 45%, rgba(26, 31, 38, 0.7)),
    var(--bg-card);
  box-shadow: var(--shadow);
  animation: rise-in 480ms ease both;
}
.hero-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-serial {
  margin: 0.45rem 0 0.35rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--remote-blue);
  text-shadow: 0 0 40px var(--remote-blue-glow);
}
.hero-meta { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

.hero-pulse {
  display: grid;
  gap: 0.5rem;
  width: min(200px, 28vw);
}
.hero-pulse span {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(33, 150, 255, 0.7), transparent);
  animation: pulse-scan 2.6s ease-in-out infinite;
}
.hero-pulse span:nth-child(2) { animation-delay: 0.25s; opacity: 0.7; }
.hero-pulse span:nth-child(3) { animation-delay: 0.5s; opacity: 0.4; }

@keyframes pulse-scan {
  0%, 100% { transform: translateX(-16%); opacity: 0.25; }
  50% { transform: translateX(16%); opacity: 1; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}
.stat {
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  animation: rise-in 520ms ease both;
}
.stat:nth-child(2) { animation-delay: 40ms; }
.stat:nth-child(3) { animation-delay: 80ms; }
.stat:nth-child(4) { animation-delay: 120ms; }
.stat:nth-child(5) { animation-delay: 160ms; }
.stat:nth-child(6) { animation-delay: 200ms; }
.stat-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stat-value {
  margin: 0.55rem 0 0;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat-value.warn { color: var(--warn); }

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 1.15rem 1.2rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  animation: rise-in 560ms ease both;
}
.panel-head { margin-bottom: 0.9rem; }
.panel-head.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}
.panel-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.muted { color: var(--text-muted); }
.tiny { font-size: 0.75rem; }
.panel-head p { margin: 0.25rem 0 0; font-size: 0.9rem; }

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.85rem;
}

.chart {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 0.5rem;
  align-items: end;
  min-height: 170px;
  padding-top: 0.4rem;
}
.bar {
  display: grid;
  align-items: end;
  gap: 3px;
  height: 150px;
}
.bar-tests, .bar-prov {
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  min-height: 2px;
  transition: height 400ms ease;
}
.bar-tests { background: rgba(255, 255, 255, 0.12); }
.bar-prov {
  background: linear-gradient(180deg, #64b5f6, var(--remote-blue));
  box-shadow: 0 0 14px var(--remote-blue-glow);
}
.bar-label {
  text-align: center;
  font-size: 0.62rem;
  color: var(--text-muted);
}

.rev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.rev-list li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.65rem;
  align-items: center;
}
.rev-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.rev-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--remote-blue-dim), var(--remote-blue));
  border-radius: inherit;
}

.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
table.data th {
  text-align: left;
  padding: 0.65rem 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  border-bottom: 1px solid var(--border);
}
table.data td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}
table.data tbody tr { transition: background 140ms ease; }
table.data tbody tr:hover { background: rgba(33, 150, 255, 0.05); }
table.data a.serial {
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.9em;
}
table.data a.serial:hover { color: var(--accent); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge.provisioned { color: #90caf9; background: rgba(33, 150, 255, 0.12); border-color: rgba(33, 150, 255, 0.28); }
.badge.pending { color: var(--warn); background: rgba(255, 183, 77, 0.1); border-color: rgba(255, 183, 77, 0.28); }
.badge.tested_fail { color: #ef9a9a; background: rgba(239, 83, 80, 0.1); border-color: rgba(239, 83, 80, 0.28); }
.badge.revoked { color: var(--text-muted); background: rgba(255, 255, 255, 0.04); border-color: var(--border); }
.badge.pass { color: #90caf9; background: rgba(33, 150, 255, 0.12); border-color: rgba(33, 150, 255, 0.28); }
.badge.fail { color: var(--danger); background: rgba(239, 83, 80, 0.1); border-color: rgba(239, 83, 80, 0.25); }

.stack { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.35rem; }
.field > span { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; }
.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.85rem;
}
.kv { display: grid; gap: 0.15rem; }
.kv-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.kv-row dt { color: var(--text-muted); font-size: 0.88rem; }
.kv-row dd { margin: 0; font-weight: 500; }

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.test-chip {
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}
.test-chip .label {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.test-chip .val {
  margin-top: 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.test-chip .val.pass { color: var(--ok); }
.test-chip .val.fail { color: var(--danger); }

.empty {
  padding: 1.75rem;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .split, .detail-hero { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.85rem;
  }
  .nav { flex-direction: row; flex-wrap: wrap; }
  .sidebar-foot { display: none; }
  .topbar, .content { padding-left: 1rem; padding-right: 1rem; }
  .toolbar { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-pulse { display: none; }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- auth -------------------------------------------------------------- */
.auth-wrap {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.auth-card { width: 100%; max-width: 400px; }
.auth-brand { margin-bottom: 1.4rem; }
.auth-error {
  margin: 0 0 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  color: #ffcdd2;
  background: rgba(239, 83, 80, 0.12);
  border: 1px solid rgba(239, 83, 80, 0.3);
  font-size: 0.9rem;
}
.auth-notice {
  margin: 0 0 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  color: #bbdefb;
  background: rgba(33, 150, 255, 0.12);
  border: 1px solid rgba(33, 150, 255, 0.3);
  font-size: 0.9rem;
}
.code-input { font-family: var(--font-mono); font-size: 1.3rem; letter-spacing: 0.3em; text-align: center; }
.qr { display: grid; place-items: center; padding: 12px; background: #fff; border-radius: var(--radius); }
.qr svg { width: 200px; height: 200px; }
.who { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

/* --- gate --------------------------------------------------------------- */
.gate-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.gate-state.open { border-color: rgba(33, 150, 255, 0.5); box-shadow: 0 0 0 1px var(--accent-glow) inset; }
.gate-word { margin: 0.1rem 0 0.2rem; font-size: 2rem; font-weight: 700; letter-spacing: 0.04em; }
.gate-state.open .gate-word { color: var(--accent); }
.gate-state.closed .gate-word { color: var(--text-muted); }
.gate-side { display: grid; gap: 0.5rem; justify-items: end; }
.badge.approved, .badge.used { color: #90caf9; background: rgba(33, 150, 255, 0.12); border-color: rgba(33, 150, 255, 0.28); }
.badge.rejected { color: var(--text-muted); background: rgba(255, 255, 255, 0.04); border-color: var(--border); }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* --- firmware drop zone -------------------------------------------------- */
.dropzone {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  padding: 1.6rem 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px dashed var(--muted-ring);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  transition: border-color 140ms ease, background 140ms ease;
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: rgba(33, 150, 255, 0.07); color: var(--text); }
.dropzone.has-file { border-style: solid; border-color: rgba(33, 150, 255, 0.5); color: var(--text); }
.dropzone-icon { font-size: 1.6rem; color: var(--accent); }
.warn-text { color: var(--warn); }
.badge-btn { cursor: pointer; font: inherit; font-size: 0.75rem; }
.badge-btn:hover { border-color: var(--danger); color: #ffcdd2; background: rgba(239, 83, 80, 0.12); }
.hero-serial.editable { cursor: pointer; text-decoration: underline dotted rgba(33, 150, 255, 0.5); text-underline-offset: 6px; }
.hero-serial.editable:hover { color: var(--accent); }

/* --- back office ---------------------------------------------------------- */
h2.sub, h3.sub { margin: 1.2rem 0 0.6rem; font-size: 1rem; color: var(--text-muted); font-weight: 600; }
section.panel + section.panel, section.split + section.panel, section.panel + section.split { margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.8rem 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.bo-dialog {
  width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto;
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem;
  background: var(--bg-card); color: var(--text); box-shadow: var(--shadow);
}
.bo-dialog::backdrop { background: rgba(6, 10, 16, 0.7); }
.kind-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.kind-opt {
  display: grid; gap: 2px; padding: 0.6rem 0.8rem; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,0.02);
}
.kind-opt input { display: none; }
.kind-opt.on { border-color: var(--accent); background: rgba(33, 150, 255, 0.1); }
.picker { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.7rem 0.8rem; display: grid; gap: 0.6rem; }
.picker-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.picker-head .input { max-width: 200px; padding-top: 0.35rem; padding-bottom: 0.35rem; }
.picker-list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow: auto; }
.unit-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 0.3rem 0.6rem; cursor: pointer;
  border: 1px solid var(--border); border-radius: 999px; font-family: var(--font-mono); font-size: 0.85rem;
}
.unit-chip input { display: none; }
.unit-chip.on { border-color: var(--accent); background: rgba(33, 150, 255, 0.14); }
.acc-line { display: grid; grid-template-columns: minmax(180px, 2fr) 90px 1fr auto; gap: 8px; align-items: center; margin-bottom: 6px; }
@media (max-width: 640px) { .acc-line { grid-template-columns: 1fr 80px; } }
.total-row td { border-top: 1px solid var(--muted-ring); font-weight: 600; }
.badge.st-in_stock { color: #90caf9; background: rgba(33, 150, 255, 0.12); border-color: rgba(33, 150, 255, 0.28); }
.badge.st-demo { color: #ce93d8; background: rgba(186, 104, 200, 0.12); border-color: rgba(186, 104, 200, 0.3); }
.badge.st-loan { color: #80cbc4; background: rgba(77, 182, 172, 0.12); border-color: rgba(77, 182, 172, 0.3); }
.badge.st-consignment { color: #ffe082; background: rgba(255, 213, 79, 0.1); border-color: rgba(255, 213, 79, 0.3); }
.badge.st-sold { color: #a5d6a7; background: rgba(102, 187, 106, 0.12); border-color: rgba(102, 187, 106, 0.3); }
.badge.st-rma { color: var(--warn); background: rgba(255, 183, 77, 0.1); border-color: rgba(255, 183, 77, 0.28); }
.badge.st-scrapped, .badge.st-lost, .badge.st-unknown, .badge.st-not_received { color: var(--text-muted); background: rgba(255,255,255,0.04); border-color: var(--border); }

/* --- shipping -------------------------------------------------------------- */
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.badge.sh-draft, .badge.sh-cancelled { color: var(--text-muted); background: rgba(255,255,255,0.04); border-color: var(--border); }
.badge.sh-quoted, .badge.sh-label_pending { color: var(--warn); background: rgba(255, 183, 77, 0.1); border-color: rgba(255, 183, 77, 0.28); }
.badge.sh-label_ready, .badge.sh-in_transit { color: #90caf9; background: rgba(33, 150, 255, 0.12); border-color: rgba(33, 150, 255, 0.28); }
.badge.sh-delivered { color: #a5d6a7; background: rgba(102, 187, 106, 0.12); border-color: rgba(102, 187, 106, 0.3); }
.badge.sh-exception { color: var(--danger); background: rgba(239, 83, 80, 0.1); border-color: rgba(239, 83, 80, 0.25); }

.rows-editor td { padding: 4px 6px; }
.rows-editor .input { min-width: 90px; }
.nowrap { white-space: nowrap; }
.rows-field .rows-body { display: grid; gap: 6px; }
.rows-field[hidden] { display: none; }
