/* Onorari colour constants (light + dark).
   Taken from the Flutter palette (theme/palette_config.dart, app_colors_light.dart, app_colors_dark.dart);
   the HSL formulas there are pre-computed to hex here, so this file is the only source of the app's colours.

   Mapping:  bg = main background · surface = cards · line = borders (light: softened border, dark: borderMuted)
             line-strong = border · ink = main text · muted = secondary text · accent = primary accent
             accent-soft = cardEditingHighlight · good/warn/bad = success/warning/error · gig (Auftritte) = info */

:root{
  --bg:#F7EBEC; --surface:#F3E2E3; --line:#D7C7D3; --line-strong:#AC9FBB;
  --ink:#1D1E2C; --muted:#59656F;
  --accent:#8055B1; --accent-ink:#FFFFFF; --accent-soft:#E5DBF0;
  --good:#4A6D5A; --good-soft:#E1EAE5;
  --warn:#6B6543; --warn-soft:#EDEBDE;
  --bad:#7E5953; --bad-soft:#F1E6E4;
  --gig:#526380; --gig-soft:#E4E9F1;
  --scrim:rgba(29,30,44,.42);
}

/* dark: follows the system unless the user picked light, or forced via data-theme="dark" */
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0A0B14; --surface:#121320; --line:#282B48; --line-strong:#404363;
  --ink:#E0E0E0; --muted:#9A95A8;
  --accent:#8055B1; --accent-ink:#FFFFFF; --accent-soft:#3E2956;
  --good:#85A894; --good-soft:#1D2B23;
  --warn:#A6A17C; --warn-soft:#2B291D;
  --bad:#BB928B; --bad-soft:#30201D;
  --gig:#8DA0BF; --gig-soft:#1F2633;
  --scrim:rgba(0,0,0,.72); color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0A0B14; --surface:#121320; --line:#282B48; --line-strong:#404363;
  --ink:#E0E0E0; --muted:#9A95A8;
  --accent:#8055B1; --accent-ink:#FFFFFF; --accent-soft:#3E2956;
  --good:#85A894; --good-soft:#1D2B23;
  --warn:#A6A17C; --warn-soft:#2B291D;
  --bad:#BB928B; --bad-soft:#30201D;
  --gig:#8DA0BF; --gig-soft:#1F2633;
  --scrim:rgba(0,0,0,.72); color-scheme:dark}
