:root {
  --paper: #0b0a08;
  --ink: #f8fafc;
  --muted: #d3d9e4;
  --line: #3a2f14;
  --panel: #13100a;
  --panel-2: #100d08;
  --brand-yellow-1: #f0b90b;
  --brand-yellow-2: #fcd535;
  --brand-yellow-3: #c99400;
  --accent: var(--brand-yellow-1);
  --accent-soft: rgba(240, 185, 11, 0.2);
  --success: var(--brand-yellow-1);
  --warn: #f7b500;
  --danger: #ff6b6b;
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1200px at 15% -10%, rgba(240, 185, 11, 0.2), transparent 55%),
    radial-gradient(900px at 90% 10%, rgba(201, 148, 0, 0.16), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  min-height: 100%;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

::placeholder {
  color: rgba(248, 250, 252, 0.55);
}

.console {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #141b27;
  padding: 20px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  color: var(--ink);
}

.brand img {
  height: 56px;
  max-width: min(220px, 70%);
  width: auto;
  display: block;
}

.brand > div {
  display: none;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.nav {
  display: grid;
  gap: 6px;
}

.primary-nav {
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 4px;
  min-height: 0;
}

.primary-nav a {
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
}

.primary-nav a.active {
  background: rgba(240, 185, 11, 0.24);
  border-color: rgba(240, 185, 11, 0.6);
  color: #fff7db;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 4px 0 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-all {
  margin-top: 4px;
}

.nav-all > summary {
  list-style: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  outline: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-all > summary::-webkit-details-marker {
  display: none;
}

.nav-all > summary::marker {
  content: "";
}

.nav-all[open] > summary {
  background: rgba(255, 255, 255, 0.08);
}

.nav-all-content {
  display: none;
  gap: 4px;
  margin-top: 8px;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 6px;
}

.nav-all[open] .nav-all-content,
.nav.nav-all-open .nav-all-content {
  display: grid;
}

.nav-secondary {
  display: none;
  gap: 6px;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 6px;
}

.nav.nav-searching .nav-secondary,
.nav.nav-show-active .nav-secondary {
  display: grid;
}

.nav-section {
  margin-top: 8px;
  padding: 6px 10px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f1f5ff;
  font-weight: 700;
}

.nav-search {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.nav-search input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fbff;
  font-size: 13px;
  font-weight: 600;
}

.nav-section-toggle {
  background: transparent;
  border: none;
  padding: 8px 10px 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: #f8fbff;
  font-weight: 800;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-section-toggle::after {
  content: "▾";
  font-size: 12px;
  transition: transform 0.2s ease;
}

.nav-section-toggle.open::after {
  transform: rotate(-180deg);
}

.nav-group {
  display: none;
  gap: 4px;
  margin-bottom: 6px;
}

.nav-group.open {
  display: grid;
}

.nav a {
  padding: 8px 10px;
  border-radius: 10px;
  color: #f4f7ff;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 600;
}

.nav a[data-depth="deep"] {
  font-size: 12px;
  font-weight: 600;
  color: #e5ecf8;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.06);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.nav-count {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.08em;
}

.nav-empty {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #f1f5ff;
  font-size: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.nav a.active {
  background: rgba(240, 185, 11, 0.2);
  border-color: rgba(240, 185, 11, 0.5);
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.main {
  padding: 40px 48px 70px;
}

.main[data-layout="v2"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.main-guide {
  position: sticky;
  top: 24px;
  align-self: start;
}

.page-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  margin: 0 0 6px;
  color: #f8fafc;
}

.page-sub {
  color: var(--muted);
  margin-bottom: 18px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(30, 39, 52, 0.95), rgba(23, 30, 41, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted);
  display: inline-block;
}

.status-dot.good { background: var(--success); }
.status-dot.warn { background: var(--warn); }
.status-dot.bad { background: var(--danger); }

.card {
  background: linear-gradient(180deg, rgba(30, 38, 52, 0.96), rgba(24, 32, 45, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.page-status {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  border-left: 3px solid rgba(255, 255, 255, 0.22);
}

.page-status.good {
  border-left-color: var(--success);
}

.page-status.warn {
  border-left-color: var(--warn);
}

.page-status.bad {
  border-left-color: var(--danger);
}

.page-status-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.page-status-message {
  font-size: 14px;
  color: #f8fbff;
  font-weight: 600;
}

.page-status-detail {
  font-size: 12px;
  color: rgba(248, 250, 252, 0.7);
}

.card h3 {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.badge.success { color: var(--success); }
.badge.warn { color: var(--warn); }
.badge.danger { color: var(--danger); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.summary-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(140deg, rgba(240, 185, 11, 0.22), rgba(201, 148, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 20px;
}

.summary-hero .stat {
  font-size: 32px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 18px;
}

.split-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.stat {
  font-size: 30px;
  font-weight: 700;
  margin-top: 8px;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.table th, .table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}

.table th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table thead tr {
  background: rgba(255, 255, 255, 0.03);
}

.table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.06);
}

.notice {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
}

.notice strong { display: block; margin-bottom: 4px; }

.panel-green {
  border: 1px solid rgba(15, 118, 110, 0.35);
  background: rgba(15, 118, 110, 0.08);
}

.panel-orange {
  border: 1px solid rgba(180, 83, 9, 0.35);
  background: rgba(180, 83, 9, 0.08);
}

.kv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  font-size: 14px;
}

.kv span { color: var(--muted); font-size: 12px; display: block; }

.badge-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
}

.badge-pill.good { color: var(--success); border-color: rgba(25, 211, 127, 0.4); background: rgba(25, 211, 127, 0.12); }
.badge-pill.warn { color: var(--warn); border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.12); }
.badge-pill.bad { color: var(--danger); border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.12); }
.badge-pill.neutral { color: var(--muted); }

.statement-list { display: grid; gap: 8px; color: var(--muted); }

.all-pages {
  display: grid;
  gap: 16px;
}

.all-pages ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.all-pages a {
  color: #e8edf4;
  font-weight: 600;
  display: inline-flex;
  gap: 6px;
}

.all-pages a span {
  color: var(--muted);
  font-weight: 500;
}

.controls { display: grid; gap: 8px; }

.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary, .button.primary {
  background: linear-gradient(120deg, #f0b90b, #fcd535);
  color: #1a1200;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(240, 185, 11, 0.32);
}

.btn-ghost {
  background: transparent;
}

.button:hover, .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.input, input, textarea, select {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(240, 185, 11, 0.55);
  box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.12);
}

.label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: var(--muted);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: #e2e8f0;
  font-weight: 600;
}

.chip.active {
  border-color: rgba(46, 229, 157, 0.5);
  background: rgba(46, 229, 157, 0.18);
  color: #eafff7;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
}

.tab.active {
  border-color: rgba(46, 229, 157, 0.5);
  background: rgba(46, 229, 157, 0.18);
  color: #eafff7;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.button.small {
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 999px;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
}

.button.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.callout {
  border: 1px solid var(--line);
  border-left: 4px solid #f0b90b;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px;
}

.callout.warn {
  border-left-color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
}

.callout h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.callout p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.who-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.who-item strong {
  color: var(--ink);
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
}

.status-badge.ready {
  background: rgba(240, 185, 11, 0.18);
  color: #fde68a;
  border-color: rgba(240, 185, 11, 0.4);
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.4);
}

.status-badge.failed {
  background: rgba(239, 68, 68, 0.18);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.4);
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(120deg, #f0b90b, #fcd535);
  width: 0%;
}

.queue {
  display: grid;
  gap: 12px;
}

.queue-item {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
}

.queue-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.queue-item-meta {
  font-size: 12px;
  color: var(--muted);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.summary-strip .card {
  padding: 14px 16px;
}

.kpi {
  font-size: 20px;
  font-weight: 700;
  margin-top: 6px;
}

.kpi-label {
  font-size: 12px;
  color: var(--muted);
}

.code-block {
  background: rgba(255, 255, 255, 0.04);
  color: #f0f4f8;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: "Ubuntu Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  white-space: pre-wrap;
}

.meta { color: var(--muted); font-size: 12px; }

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.helper {
  font-size: 12px;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(20, 26, 38, 0.95);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: #15803d;
}

.toast.error {
  background: #b91c1c;
}

@media (max-width: 1100px) {
  .console { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--line); }
  .brand img { height: 48px; max-width: min(220px, 48vw); }
  .main { padding: 28px 24px 40px; }
  .main[data-layout="v2"] { grid-template-columns: 1fr; }
  .main-guide { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split-2, .summary-strip { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand img { height: 42px; max-width: min(190px, 58vw); }
  .brand-sub { margin-bottom: 14px; }
}

.guide-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.2);
  font-weight: 600;
  cursor: pointer;
  z-index: 2000;
}

.guide-panel {
  position: fixed;
  right: 24px;
  bottom: 82px;
  width: min(360px, 90vw);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  padding: 18px;
  z-index: 2000;
  display: none;
}

.guide-panel.active {
  display: block;
}

.guide-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  margin: 0 0 8px;
}

.guide-steps {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.guide-steps li {
  margin-left: 16px;
}

.guide-footer {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.guide-footer button {
  flex: 1;
}

.guide-card {
  background: linear-gradient(160deg, rgba(30, 38, 52, 0.98), rgba(22, 30, 42, 0.96) 90%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.guide-card .badge {
  font-size: 12px;
  color: var(--muted);
}

.guide-card .btn {
  width: 100%;
}

@keyframes guide-docs-shine {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.guide-docs-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent) 0%, #34d399 35%, #6ee7b7 50%, #34d399 65%, var(--accent) 100%);
  background-size: 250% auto;
  animation: guide-docs-shine 8s linear infinite;
  border: none;
  transition: opacity 0.2s;
}

.guide-docs-btn:hover {
  opacity: 0.88;
  animation-duration: 14s;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(30, 38, 52, 0.98), rgba(22, 30, 42, 0.96));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 18px;
}

.hero .label {
  margin-bottom: 4px;
}

.hero-stat {
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.exceptions {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.08);
}

.exceptions-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
}

.command-palette {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.command-palette.active {
  display: flex;
}

.command-panel {
  width: min(600px, 90vw);
  background: var(--panel);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.4);
  padding: 16px;
}

.command-panel input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
  background: var(--panel-2);
  color: var(--ink);
}

.command-results {
  margin-top: 12px;
  max-height: 320px;
  overflow: auto;
  display: grid;
  gap: 6px;
}

.command-results button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.command-results button:hover {
  border-color: rgba(46, 229, 157, 0.4);
  background: rgba(46, 229, 157, 0.08);
}
