:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eaf0ef;
  background: #0c1112;
  --panel: #151b1d;
  --line: #2a3336;
  --muted: #9aa8aa;
  --accent: #79d0d8;
}
* { box-sizing: border-box; }
body { margin: 0; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
aside { border-right: 1px solid var(--line); padding: 24px 18px; background: #0f1516; }
.brand { font-weight: 800; font-size: 22px; margin-bottom: 28px; }
nav { display: grid; gap: 4px; }
nav a, nav button.nav-link {
  color: var(--muted); text-decoration: none; padding: 9px 10px; border-radius: 8px;
  font-size: 14px; background: none; border: none; text-align: left; cursor: pointer;
  font-family: inherit; width: 100%;
}
nav a:hover, nav button.nav-link:hover { background: #172022; color: #fff; }
nav button.nav-link.active { background: #172022; color: #fff; }
.view + .view { margin-top: 18px; }
.view .panel + .panel { margin-top: 18px; }
.row-clickable { cursor: pointer; }
.row-clickable:hover { background: #1a2224; }
.status-pill {
  display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px;
  border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .04em;
}
.status-pending { color: #e8c268; }
.status-executed, .status-approved { color: #6fd08a; }
.status-rejected, .status-expired { color: #e07d7d; }
main { padding: 30px; }
header, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 34px; }
h2 { margin-bottom: 0; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 750; margin-bottom: 7px; }
.badge { border: 1px solid var(--line); padding: 8px 11px; border-radius: 999px; color: var(--muted); font-size: 12px; }
.cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 26px 0 14px; }
.cards article, .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.cards article { padding: 18px; }
.cards span { color: var(--muted); font-size: 12px; }
.cards strong { display: block; font-size: 27px; margin-top: 9px; }
.panel { padding: 20px; }
button { background: #1c282b; border: 1px solid var(--line); color: #fff; padding: 9px 13px; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; margin-top: 18px; }
th, td { text-align: left; padding: 12px; border-top: 1px solid var(--line); font-size: 13px; }
th { color: var(--muted); }
.empty { color: var(--muted); text-align: center; padding: 34px; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  aside { display: none; }
  .cards { grid-template-columns: repeat(2,1fr); }
}
