html, body { height: 100%; }
body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
::-webkit-scrollbar-track { background: transparent; }

.nav-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7c7568;
  font-weight: 600;
  padding: 0 .6rem;
  margin-bottom: .35rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .6rem;
  border-radius: .5rem;
  color: #cbd5e1;
  font-weight: 500;
  transition: background-color .15s, color .15s;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: #c1531e; color: #fff; }
.nav-item i { width: 16px; height: 16px; flex-shrink: 0; }

.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: 11px; font-weight: 600; padding: .15rem .55rem; border-radius: 999px;
  white-space: nowrap;
}

table.gs-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.gs-table thead th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: #94a3b8; font-weight: 600; padding: .55rem .9rem; background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
table.gs-table tbody td { padding: .65rem .9rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
table.gs-table tbody tr:hover { background: #f8fafc; }
table.gs-table tbody tr:last-child td { border-bottom: none; }

.kpi-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: .75rem; padding: 1rem 1.1rem;
}
.kpi-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; font-weight: 600; }
.kpi-value { font-size: 1.6rem; font-weight: 700; color: #1a1611; line-height: 1.2; margin-top: .3rem; font-variant-numeric: tabular-nums; }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(26,22,17,.45); z-index: 40;
  display: flex; align-items: flex-start; justify-content: center; padding: 4vh 1rem;
  overflow-y: auto;
}
.modal-box { background: #fff; border-radius: .85rem; box-shadow: 0 20px 45px -15px rgba(0,0,0,.35); width: 100%; }

.fade-in { animation: gsFadeIn .12s ease-out; }
@keyframes gsFadeIn { from { opacity: 0; transform: translateY(2px);} to { opacity: 1; transform: translateY(0);} }

.spinner {
  width: 1rem; height: 1rem; border-radius: 999px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; animation: gsSpin .6s linear infinite;
}
@keyframes gsSpin { to { transform: rotate(360deg); } }
