/* SPDX-License-Identifier: EUPL-1.2 */
/* Tokens d'Agora Finances: mateixos colors que el panell d'admin (theme-colors.css), fosc per defecte.
   Els noms (--bg, --panel…) són els que fa servir comptes.css. Radis 4/6/8, vores fines, sense ombres. */
@font-face{font-family:'AgoraText';src:url('/fonts/Figtree-VariableFont_wght.ttf') format('truetype');font-weight:300 900;font-display:swap}
@font-face{font-family:'AgoraBrand';src:url('/fonts/Sora-VariableFont_wght.ttf') format('truetype');font-weight:300 900;font-display:swap}
:root{
  --font-text:'AgoraText',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --font-brand:'AgoraBrand','AgoraText',system-ui,sans-serif;
  --bg:#0D1220;--panel:#161D30;--panel2:#1E2640;--border:#2E3858;
  --text:#F4F7FF;--muted:#959AA6;
  --accent:#7CA0FF;--onAccent:#0D1220;--accent2:#7CA0FF;
  --danger:#F87171;--warn:#FBBF24;--ok:#4ADE80;
  --side:#0D1220;--sideText:#959AA6;--sideActive:#1E2640;
  --shadow:none;--radius:8px;--radius-sm:6px;
  color-scheme:dark;
}
:root[data-theme="light"]{
  --bg:#F4F7FF;--panel:#FFFFFF;--panel2:#E5EDFF;--border:#C9D2E6;
  --text:#00071A;--muted:#616571;
  --accent:#3A62D6;--onAccent:#FFFFFF;--accent2:#3A62D6;
  --danger:#B91C1C;--warn:#B45309;--ok:#15803D;
  --side:#FFFFFF;--sideText:#616571;--sideActive:#E5EDFF;
  color-scheme:light;
}
