/* MiaGestione – token del design system (copia di MiaGestione-Design-System/tokens.css). Non modificare qui: aggiorna il design system e ricopia. */
/* MiaGestione — generated from tokens.json */
:root, [data-theme="light"] {
  --surface: #ffffff;
  --surface-alt: #f5f6f8;
  --line: #e3e6eb;
  --line-strong: #8a909c;
  --ink: #18181b;
  --ink-muted: #5b6170;
  --brand: #2466c7;
  --brand-strong: #1c52a3;
  --brand-soft: #e8f0fb;
  --on-brand: #ffffff;
  --band: #1c52a3;
  --band-deep: #0f2547;
  --on-band: #ffffff;
  --on-band-muted: #dbe7fb;
  --band-accent: #a9c8ff;
  --app-scadenze: var(--brand);
  --app-documenti: #0f766e;
  --app-spese: #6d28d9;
  --success: #15803d;
  --success-soft: #dcfce7;
  --warning: #b45309;
  --warning-soft: #fef3c7;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --focus-ring: var(--brand);
  --shadow-card: 0 1px 2px rgba(24,24,27,0.06), 0 1px 3px rgba(24,24,27,0.08);
}
[data-theme="dark"] {
  --surface: #0f1115;
  --surface-alt: #171a20;
  --line: #2a2f38;
  --line-strong: #6b7280;
  --ink: #f4f4f5;
  --ink-muted: #a1a7b3;
  --brand: #6b9bf2;
  --brand-strong: #8ab2f5;
  --brand-soft: #16243a;
  --on-brand: #0f1115;
  --band: #15305a;
  --band-deep: #0a1830;
  --on-band: #ffffff;
  --on-band-muted: #c3d0e6;
  --band-accent: #a9c8ff;
  --app-scadenze: var(--brand);
  --app-documenti: #0f766e;
  --app-spese: #6d28d9;
  --success: #4ade80;
  --success-soft: #0f2a1a;
  --warning: #fbbf24;
  --warning-soft: #2e2110;
  --danger: #f87171;
  --danger-soft: #2f1416;
  --focus-ring: var(--brand);
  --shadow-card: none;
}
/* Tema scuro automatico: segue l'impostazione del dispositivo, salvo data-theme="light" esplicito. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #0f1115;
    --surface-alt: #171a20;
    --line: #2a2f38;
    --line-strong: #6b7280;
    --ink: #f4f4f5;
    --ink-muted: #a1a7b3;
    --brand: #6b9bf2;
    --brand-strong: #8ab2f5;
    --brand-soft: #16243a;
    --on-brand: #0f1115;
    --band: #15305a;
    --band-deep: #0a1830;
    --on-band: #ffffff;
    --on-band-muted: #c3d0e6;
    --band-accent: #a9c8ff;
    --app-scadenze: var(--brand);
    --app-documenti: #0f766e;
    --app-spese: #6d28d9;
    --success: #4ade80;
    --success-soft: #0f2a1a;
    --warning: #fbbf24;
    --warning-soft: #2e2110;
    --danger: #f87171;
    --danger-soft: #2f1416;
    --focus-ring: var(--brand);
    --shadow-card: none;
  }
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-icon: 22%;
  --radius-pill: 999px;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.display { font-family: var(--font-sans); font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -0.02em; }
.title { font-family: var(--font-sans); font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -0.015em; }
.heading { font-family: var(--font-sans); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.body-sm { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; }
.amount { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
