/* ═══════════════════════════════════════════════════════════════════
   Rainmaker3.OS — Design System
   Dark navy + gold accent · Glassmorphism · Premium feel
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --navy:        #0a0f1c;
  --navy-2:      #0f1525;
  --navy-3:      #141c30;
  --navy-4:      #1a2540;
  --navy-5:      #243054;
  --gold:        #ffc857;
  --gold-dim:    #d4a73a;
  --gold-bright: #ffe08a;
  --cyan:        #00d4ff;
  --cyan-dim:    #0099bb;
  --green:       #10b981;
  --green-dim:   #059669;
  --red:         #ef4444;
  --orange:      #f59e0b;
  --purple:      #a78bfa;
  --text-primary:   #e8eaf0;
  --text-secondary: #9ca3b8;
  --text-muted:     #5c6478;
  --border:       #1e2a42;
  --border-light: #2a3654;
  --glass-bg:     rgba(15, 21, 37, 0.7);
  --glass-border: rgba(255, 200, 87, 0.08);
  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --sidebar-width: 240px;
}

/* ── Light Theme ── */
[data-theme="light"] {
  --navy:        #f5f6fa;
  --navy-2:      #ffffff;
  --navy-3:      #f0f1f5;
  --navy-4:      #e4e6ed;
  --navy-5:      #d1d5e0;
  --gold:        #b8860b;
  --gold-dim:    #996f09;
  --gold-bright: #d4a017;
  --cyan:        #0088aa;
  --cyan-dim:    #006688;
  --green:       #059669;
  --green-dim:   #047857;
  --red:         #dc2626;
  --orange:      #d97706;
  --purple:      #7c3aed;
  --text-primary:   #1a1d2e;
  --text-secondary: #4a5068;
  --text-muted:     #8890a4;
  --border:       #dfe2ea;
  --border-light: #c8cdd8;
  --glass-bg:     rgba(255, 255, 255, 0.85);
  --glass-border: rgba(184, 134, 11, 0.1);
}
[data-theme="light"] .sidebar-logo-text {
  background: linear-gradient(135deg, #996f09, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .hero-title {
  color: var(--gold);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--navy);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ═══════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════ */

.sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  background: var(--navy-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform 0.25s ease;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 16px;
}
.sidebar-logo-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar-nav {
  flex: 1;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}
.nav-item:hover {
  background: var(--navy-3);
  color: var(--text-primary);
}
.nav-item.active {
  background: rgba(255, 200, 87, 0.08);
  color: var(--gold);
}
.nav-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}
.nav-item.active svg { opacity: 1; }
.sidebar-footer {
  padding: 16px 16px 14px;
  border-top: 1px solid var(--border);
}

/* ── Theme Toggle Pill ── */
.theme-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--navy-3);
  border: 1px solid var(--border);
  cursor: pointer;
  margin-bottom: 10px;
  user-select: none;
  transition: all var(--transition);
}
.theme-pill:hover { border-color: var(--border-light); }
.theme-pill-track {
  width: 32px; height: 18px;
  border-radius: 9px;
  background: var(--navy-4);
  position: relative;
  transition: background var(--transition);
}
.theme-pill-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  top: 2px; left: 2px;
  transition: transform var(--transition);
}
[data-theme="light"] .theme-pill-thumb { transform: translateX(0); }
[data-theme="dark"] .theme-pill-thumb,
:root:not([data-theme]) .theme-pill-thumb { transform: translateX(14px); }
.theme-icon-sun, .theme-icon-moon { font-size: 13px; }

/* ── Mobile Header ── */
.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--navy-2);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99;
}
.hamburger {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}

/* ═══════════════════════════════════
   MAIN AREA
   ═══════════════════════════════════ */

.main-area {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
}
.page-view {
  display: none;
  padding: 32px 36px;
  max-width: 900px;
  margin: 0 auto;
}
.page-view.active { display: block; }

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */

.hero {
  text-align: center;
  padding: 24px 16px 32px;
  margin-bottom: 28px;
  background: linear-gradient(160deg, rgba(255,200,87,0.04), transparent 40%, rgba(0,212,255,0.03));
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
}
.hero-label-pill {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 200, 87, 0.1);
  color: var(--gold);
  border: 1px solid rgba(255, 200, 87, 0.18);
  margin-bottom: 12px;
}
.hero-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.hero-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ═══════════════════════════════════
   CARDS & GRID
   ═══════════════════════════════════ */

.card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-light);
}
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ── KPI Chips ── */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.kpi-chip {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
}
.kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.kpi-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ── Compare Table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th {
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-align: left;
  background: var(--navy-3);
  border-bottom: 2px solid var(--border);
}
.compare-table td {
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.compare-table tbody tr:hover { background: rgba(255,200,87,0.02); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 200, 87, 0.25);
}
.btn-secondary {
  background: var(--navy-3);
  color: var(--text-primary);
  border-color: var(--border-light);
}
.btn-secondary:hover { background: var(--navy-4); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border-light); color: var(--text-primary); }
.btn-ai {
  background: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(0,212,255,0.15));
  color: var(--purple);
  border-color: rgba(167,139,250,0.25);
}
.btn-ai:hover {
  background: linear-gradient(135deg, rgba(167,139,250,0.25), rgba(0,212,255,0.25));
  transform: translateY(-1px);
}
.cta-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--text-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Badges ── */
.badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.badge-gold  { background: rgba(255,200,87,0.1); color: var(--gold); }
.badge-cyan  { background: rgba(0,212,255,0.1); color: var(--cyan); }
.badge-green { background: rgba(16,185,129,0.1); color: var(--green); }
.badge-red   { background: rgba(239,68,68,0.1); color: var(--red); }
.badge-purple{ background: rgba(167,139,250,0.1); color: var(--purple); }

/* ═══════════════════════════════════
   FORMS
   ═══════════════════════════════════ */

.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 13px;
  transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
}
.form-textarea { resize: vertical; line-height: 1.5; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3b8' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── Checkbox Items ── */
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--navy-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
}
.checkbox-toggle {
  width: 20px; height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
  transition: all var(--transition);
  position: relative;
}
.checkbox-toggle.checked {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-toggle.checked::after {
  content: '✓';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
}

/* ── Progress Bars ── */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--navy-4);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* ── AI Output Block ── */
.ai-output {
  background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(167,139,250,0.04));
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 16px;
  position: relative;
}
.ai-output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ai-output-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
}
.ai-output-label::before { content: '✨'; font-size: 14px; }
.ai-output h4 {
  font-size: 14px; font-weight: 700;
  color: var(--gold);
  margin: 18px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,200,87,0.15);
}
.ai-output h4:first-of-type { margin-top: 0; }
.ai-output p, .ai-output li { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.ai-output p { margin: 8px 0; }
.ai-output ul, .ai-output ol { padding-left: 18px; margin: 8px 0; }
.ai-output li { margin-bottom: 6px; }
.ai-output-content {
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--navy-3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.copy-btn:hover { color: var(--text-primary); border-color: var(--border-light); }
.copy-btn.copied { color: var(--green); border-color: rgba(16,185,129,0.3); }

/* ── Lists / History ── */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.history-item:hover { background: var(--navy-3); border-color: var(--border-light); }
.history-item-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.history-item-meta { font-size: 12px; color: var(--text-muted); }

/* ── Radio buttons ── */
.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--navy-3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.radio-pill:hover { border-color: var(--border-light); color: var(--text-primary); }
.radio-pill.selected {
  background: rgba(255, 200, 87, 0.1);
  color: var(--gold);
  border-color: rgba(255, 200, 87, 0.3);
}
.radio-pill input { display: none; }

/* ── Scorecard table ── */
.scorecard-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.scorecard-table th {
  padding: 10px 12px; font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted); text-align: left;
  border-bottom: 2px solid var(--border); background: var(--navy-2);
}
.scorecard-table td {
  padding: 10px 12px; font-size: 13px;
  border-bottom: 1px solid var(--border); color: var(--text-secondary);
}
.scorecard-table tbody tr:hover { background: var(--navy-3); }
.scorecard-table .week-current {
  background: rgba(255, 200, 87, 0.04);
  border-left: 3px solid var(--gold);
}

/* ── Empty States ── */
.empty-state { text-align: center; padding: 48px 24px; color: var(--text-muted); }
.empty-state p { font-size: 14px; margin-bottom: 16px; }

/* ── Toasts ── */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500;
  color: var(--text-primary); background: var(--navy-4);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 1000; animation: toastIn 0.3s ease;
  display: flex; align-items: center; gap: 8px;
}
.toast.success { border-color: rgba(16,185,129,0.3); }
.toast.success::before { content: '✓'; color: var(--green); font-weight: 700; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 28px 0; }

/* ── Goal items ── */
.goal-item {
  background: var(--navy-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px;
}
.goal-item-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.goal-number { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; }
.remove-btn {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 16px; padding: 2px 6px; border-radius: 4px;
  transition: all var(--transition);
}
.remove-btn:hover { color: var(--red); background: rgba(239,68,68,0.1); }

/* ── Page header ── */
.page-header { margin-bottom: 28px; }
.page-header h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.page-header p { font-size: 14px; color: var(--text-secondary); }

/* ── Tabs ── */
.tab-bar { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.tab-btn {
  padding: 10px 18px; font-size: 13px; font-weight: 600;
  color: var(--text-muted); background: none; border: none;
  border-bottom: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); font-family: var(--font); margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text-secondary); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */

@media (max-width: 860px) {
  .mobile-header { display: flex; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    transform: translateX(-100%);
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .main-area { margin-left: 0; padding-top: 52px; }
  .page-view { padding: 20px 16px; }
  .hero h1 { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn { justify-content: center; }
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .card-grid-3, .card-grid-4, .card-grid-2 { grid-template-columns: 1fr; }
  .radio-group { flex-direction: column; }
}

/* ── Print ── */
@media print {
  .sidebar, .mobile-header, .btn, .form-actions { display: none !important; }
  .main-area { margin-left: 0; padding: 0; }
  .page-view { padding: 16px; }
  .ai-output { border: 1px solid #ccc; background: #f9f9f9; color: #222; }
}

/* ── Login Gate ── */
.login-gate {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  background-image: radial-gradient(ellipse at 30% 20%, rgba(255,200,87,0.03) 0%, transparent 60%),
                    radial-gradient(ellipse at 70% 80%, rgba(0,212,255,0.03) 0%, transparent 60%);
}
.login-gate.hidden { display: none; }
.login-card {
  background: var(--navy-2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
  max-width: 420px; width: calc(100% - 40px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

/* ── Manager View ── */
.team-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.team-table th {
  text-align: left; padding: 10px 12px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.team-table td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.team-table tr:hover td { background: rgba(255,200,87,0.04); }
.team-table .rep-name { font-weight: 600; color: var(--text-primary); cursor: pointer; }
.team-table .rep-name:hover { color: var(--gold); text-decoration: underline; }
.team-table .rep-email { font-size: 11px; color: var(--text-secondary); }
.kpi-cell { font-weight: 600; text-align: center; border-radius: 4px; }
.kpi-green { color: #34d399; }
.kpi-amber { color: #fbbf24; }
.kpi-red { color: #f87171; }
.kpi-na { color: var(--text-secondary); font-style: italic; font-weight: 400; }
.drill-section { margin-bottom: 18px; }
.drill-section h4 {
  font-size: 13px; font-weight: 700; color: var(--gold);
  margin: 0 0 8px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,200,87,0.15);
}
.drill-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.drill-table th {
  text-align: left; padding: 6px 8px; font-size: 10px; font-weight: 600;
  text-transform: uppercase; color: var(--text-secondary); border-bottom: 1px solid var(--border);
}
.drill-table td { padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,0.04); }
