/* ===== PROGRESS BAR ===== */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--black); z-index: 99999; pointer-events: none; opacity: 0;
  transition: width 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 14px rgba(10,10,10,.65), 0 0 6px rgba(10,10,10,.9), 0 0 2px rgba(255,255,255,.25);
}
#progress-bar.running { opacity: 1; }
#progress-bar.finishing {
  width: 100% !important;
  transition: width 0.12s ease, opacity 0.28s ease 0.1s;
  opacity: 0;
}

/* ===== RESET & CSS VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #0a0a0a; --white: #ffffff;
  --gray-50: #f9f9f9; --gray-100: #f2f2f2; --gray-200: #e5e5e5;
  --gray-300: #d4d4d4; --gray-400: #a3a3a3; --gray-500: #737373;
  --gray-600: #525252; --gray-700: #404040;
  --green-50: #dcfce7; --green-700: #15803d;
  --red-50: #fee2e2; --red-700: #b91c1c;
  --blue-50: #dbeafe; --blue-700: #1d4ed8;
  --accent: #10b981; --accent-dark: #059669; --accent-light: #d1fae5; --accent-50: #ecfdf5;
  --purple-500: #8b5cf6; --orange-500: #f97316;
  --radius: 10px; --radius-sm: 6px; --radius-lg: 14px; --radius-full: 9999px;
  --nav-h: 56px;
}
html { font-family: 'Geist', -apple-system, sans-serif; scroll-behavior: smooth; }
body { background: var(--white); color: var(--black); -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }

.button-reset {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.hidden { display: none !important; }
