:root {
  --bg-base:        #09090d;
  --bg-surface:     #0f0f16;
  --bg-elevated:    #16161f;
  --bg-hover:       #1e1e2a;

  --border:         #242434;
  --border-bright:  #35354a;

  --text-primary:   #ddddf0;
  --text-secondary: #8080a0;
  --text-muted:     #50506a;

  --accent:         #00e0a0;
  --accent-dim:     rgba(0, 224, 160, 0.12);
  --accent-glow:    0 0 24px rgba(0, 224, 160, 0.3);

  --safe:           #22d47a;
  --safe-dim:       rgba(34, 212, 122, 0.15);
  --warn:           #f0a020;
  --warn-dim:       rgba(240, 160, 32, 0.15);
  --danger:         #ff3355;
  --danger-dim:     rgba(255, 51, 85, 0.15);

  --font-display:   -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono:      'Courier New', Courier, monospace;

  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      16px;

  --transition:     0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mono { font-family: var(--font-mono); }

.progress-bar {
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
  position: relative;
}