/* Forge portal LIGHT theme. Dark stays the default; this file only re-points the foundation.css
   design tokens under html[data-theme="light"], so every component that uses the token system
   flips together. The palette is the public v3 brand: ink #0B0F1A on white/#F7F8F9 surfaces,
   #2E7CF6 -> #2BD0C5 action gradient, Space Grotesk headings + Manrope body. Values that read as
   glow-on-dark (shadows, glows, translucent white fills) are re-expressed for a light ground. */
html[data-theme="light"] {
  color-scheme: light;
  --canvas:#F4F6FA; --surface-1:#FFFFFF; --surface-2:#F7F8F9; --surface-3:#EFF1F6;
  --border-strong:rgba(11,16,32,.18);
  --brand-purple:#2E7CF6; --brand-blue:#2E7CF6; --brand-cyan:#2BD0C5;
  --gradient-brand:linear-gradient(100deg,#2E7CF6,#2E7CF6,#2BD0C5);
  --gradient-action:linear-gradient(135deg,#2E7CF6 0%,#2BD0C5 100%);
  --gradient-action-hover:linear-gradient(135deg,#3E8CFF 0%,#3BE0D5 100%);
  --gradient-brand-soft:linear-gradient(100deg,rgba(46,124,246,.10),rgba(46,124,246,.10),rgba(43,208,197,.10));
  --gradient-text:linear-gradient(100deg,#2E7CF6,#2E7CF6,#0FA6A6);
  --success:#188A4E; --warning:#9A6B12; --danger:#D03B44; --info:#0E8FAC;
  --success-bg:rgba(24,138,78,.12); --warning-bg:rgba(154,107,18,.12); --danger-bg:rgba(208,59,68,.10); --info-bg:rgba(14,143,172,.10);
  --focus-ring:#2E7CF6;
  --st-new:#0E8FAC; --st-contacted:#2E7CF6; --st-qualified:#6C5BEA; --st-proposal:#A34BD6; --st-booked:#9A6B12; --st-won:#188A4E; --st-lost:#D03B44;
  --shadow-1:0 1px 2px rgba(11,16,32,.06),0 4px 16px rgba(11,16,32,.08); --shadow-2:0 8px 40px rgba(11,16,32,.16);
  --glow-brand:0 0 0 1px rgba(46,124,246,.22),0 8px 30px rgba(46,124,246,.18);
  /* back-compat aliases used across the portal scripts and inline styles */
  --green:#0E8FAC; --green-dim:#2E7CF6; --green-glow:rgba(14,143,172,.14);
  --cyan:#0E8FAC; --cyan-dim:#2E7CF6; --cyan-glow:rgba(14,143,172,.14);
  --black:#F4F6FA; --surface:#FFFFFF; --surface2:#F7F8F9; --surface3:#EFF1F6;
  --border:rgba(11,16,32,.10); --border2:rgba(11,16,32,.06);
  --text:#0B0F1A; --text-muted:#4A5468; --text-dim:#6E7890;
  --text-1:#0B0F1A; --text-2:#4A5468; --text-3:#6E7890;
  --red:#D03B44; --amber:#9A6B12; --blue:#2E7CF6; --purple:#2E7CF6;
  --font:'Manrope','Ubuntu',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
  --font-head:'Space Grotesk','Montserrat',system-ui,sans-serif;
}
/* Translucent white fills read as "raised" on dark but vanish on white; give them ink instead. */
html[data-theme="light"] [style*="rgba(255,255,255,.02)"],
html[data-theme="light"] [style*="rgba(255,255,255,.03)"],
html[data-theme="light"] [style*="rgba(255,255,255,.04)"] { background-color: var(--surface-2) !important; }
html[data-theme="light"] body::before { background: linear-gradient(90deg,#2BD0C5 0%,#2E7CF6 50%,#2BD0C5 100%); }
html[data-theme="light"] img[src*="logo"] { filter: none; }
