/* AEC GRID Design Language v1 - Light mode tokens */
:root {
  /* Core palette */
  --bg: #E9EEF1;
  --card: #FFFFFF;
  --panel: #F4F6F7;
  --ink: #111418;
  --text: #14181D;
  --muted: #6B7280;
  --blue: #2E6BFF;

  /* Status colors (use for status pills and dots only) */
  --positive: #6ED67A;
  --positive-bg: rgba(110, 214, 122, 0.2);
  --positive-ink: #166534;

  --negative: #FF6B6B;
  --negative-bg: rgba(255, 107, 107, 0.18);
  --negative-ink: #991B1B;

  --warning: #F5C542;
  --warning-bg: rgba(245, 197, 66, 0.24);
  --warning-ink: #854D0E;

  --blue-bg: rgba(46, 107, 255, 0.12);
  --blue-ink: #1D4ED8;
  --divider: rgba(20, 24, 29, 0.07);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --text-hero: clamp(36px, 3vw, 44px);
  --text-page: 30px;
  --text-section: 19px;
  --text-card: 16px;
  --text-body: 14.5px;
  --text-label: 12.5px;
  --text-pill: 11.5px;

  /* Shape and elevation */
  --radius-card: 20px;
  --radius-card-mobile: 24px;
  --radius-panel: 16px;
  --radius-input: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(17, 20, 24, 0.07);
  --shadow-float: 0 14px 34px rgba(17, 20, 24, 0.12);

  /* Layout and spacing (8px base unit) */
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sidebar-width: 248px;
}

/* Progress and score bar: only place a gradient is allowed */
.progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    90deg,
    #FF5A5A 0%,
    #FF9E4A 25%,
    #F5D90A 50%,
    #8BE04E 75%,
    #4ADE80 100%
  );
  overflow: visible;
}

.progress-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  border: 3px solid var(--card);
  box-shadow: 0 2px 6px rgba(17, 20, 24, 0.28);
  pointer-events: none;
}
