/* Generato dai token reali di frontend/src/app/globals.css (design system Iterum v1.0). Fonte di verità: il software. */
:root {
  --background: #F2EEE7;
  --surface-1: #FCF9F4;
  --surface-2: #E8E1D7;
  --text-primary: #302A24;
  --text-secondary: #48433D;
  --text-muted: #635E58;
  --accent: #80501F;
  --accent-contrast: #FFFFFF;
  --selected-on-surface-1: #E5DDD2;
  --selected-on-surface-2: #DDD1C3;
  --success: #176445;
  --warning: #80501F;
  --error: #913D51;
  --info: #2459A7;
  --shadow-rgb: 48 42 36;
  --shadow-surface-1: 0 1px 2px rgb(var(--shadow-rgb) / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.60);
  --shadow-button: 0 2px 4px rgb(var(--shadow-rgb) / 0.16), 0 1px 1px rgb(var(--shadow-rgb) / 0.08);
  --shadow-popover: 0 0 1px rgb(var(--shadow-rgb) / 0.14), 0 2px 6px rgb(var(--shadow-rgb) / 0.10), 0 12px 32px rgb(var(--shadow-rgb) / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.60);
  color-scheme: light;
}
:root[data-theme="travertino-dark"] {
  --background: #1C1916;
  --surface-1: #29241F;
  --surface-2: #373028;
  --text-primary: #F1E8DB;
  --text-secondary: #CDC5B9;
  --text-muted: #A79F95;
  --accent: #C9A985;
  --accent-contrast: #1C1916;
  --selected-on-surface-1: color-mix(in srgb, #C9A985 22%, #29241F);
  --selected-on-surface-2: color-mix(in srgb, #C9A985 14%, #373028);
  --success: #A0C5AA;
  --warning: #C9A985;
  --error: #D2A3A2;
  --info: #ABC1E5;
  --shadow-rgb: 241 232 219;
  --shadow-surface-1: 0 1px 2px rgb(0 0 0 / 0.30), inset 0 1px 0 rgb(255 255 255 / 0.04);
  --shadow-button: 0 2px 4px rgb(0 0 0 / 0.35), 0 1px 1px rgb(0 0 0 / 0.20);
  --shadow-popover: 0 0 1px rgb(0 0 0 / 0.60), 0 2px 6px rgb(0 0 0 / 0.30), 0 12px 32px rgb(0 0 0 / 0.50), inset 0 1px 0 rgb(255 255 255 / 0.05);
  color-scheme: dark;
}
:root[data-theme="marmo-light"] {
  --background: #EEF1F4;
  --surface-1: #FAFCFE;
  --surface-2: #E3E9EF;
  --text-primary: #27313A;
  --text-secondary: #404952;
  --text-muted: #5C646B;
  --accent: #285875;
  --accent-contrast: #FFFFFF;
  --selected-on-surface-1: color-mix(in srgb, #285875 18%, #FAFCFE);
  --selected-on-surface-2: color-mix(in srgb, #285875 10%, #E3E9EF);
  --success: #176445;
  --warning: #80501F;
  --error: #913D51;
  --info: #2459A7;
  --shadow-rgb: 39 49 58;
  --shadow-surface-1: 0 1px 2px rgb(var(--shadow-rgb) / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.60);
  --shadow-button: 0 2px 4px rgb(var(--shadow-rgb) / 0.16), 0 1px 1px rgb(var(--shadow-rgb) / 0.08);
  --shadow-popover: 0 0 1px rgb(var(--shadow-rgb) / 0.14), 0 2px 6px rgb(var(--shadow-rgb) / 0.10), 0 12px 32px rgb(var(--shadow-rgb) / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.60);
  color-scheme: light;
}
:root[data-theme="marmo-dark"] {
  --background: #151A1F;
  --surface-1: #222A31;
  --surface-2: #303B44;
  --text-primary: #EEF3F7;
  --text-secondary: #C9CFD3;
  --text-muted: #A3A9AE;
  --accent: #A6BFCE;
  --accent-contrast: #1C1916;
  --selected-on-surface-1: color-mix(in srgb, #A6BFCE 22%, #222A31);
  --selected-on-surface-2: color-mix(in srgb, #A6BFCE 14%, #303B44);
  --success: #A0C5AA;
  --warning: #C9A985;
  --error: #D2A3A2;
  --info: #ABC1E5;
  --shadow-rgb: 238 243 247;
  --shadow-surface-1: 0 1px 2px rgb(0 0 0 / 0.30), inset 0 1px 0 rgb(255 255 255 / 0.04);
  --shadow-button: 0 2px 4px rgb(0 0 0 / 0.35), 0 1px 1px rgb(0 0 0 / 0.20);
  --shadow-popover: 0 0 1px rgb(0 0 0 / 0.60), 0 2px 6px rgb(0 0 0 / 0.30), 0 12px 32px rgb(0 0 0 / 0.50), inset 0 1px 0 rgb(255 255 255 / 0.05);
  color-scheme: dark;
}
:root[data-theme="salvia-light"] {
  --background: #EDF1ED;
  --surface-1: #F8FBF8;
  --surface-2: #DFE7DF;
  --text-primary: #26362E;
  --text-secondary: #3F4E46;
  --text-muted: #5A6760;
  --accent: #176445;
  --accent-contrast: #FFFFFF;
  --selected-on-surface-1: color-mix(in srgb, #176445 18%, #F8FBF8);
  --selected-on-surface-2: color-mix(in srgb, #176445 10%, #DFE7DF);
  --success: #176445;
  --warning: #80501F;
  --error: #913D51;
  --info: #2459A7;
  --shadow-rgb: 38 54 46;
  --shadow-surface-1: 0 1px 2px rgb(var(--shadow-rgb) / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.60);
  --shadow-button: 0 2px 4px rgb(var(--shadow-rgb) / 0.16), 0 1px 1px rgb(var(--shadow-rgb) / 0.08);
  --shadow-popover: 0 0 1px rgb(var(--shadow-rgb) / 0.14), 0 2px 6px rgb(var(--shadow-rgb) / 0.10), 0 12px 32px rgb(var(--shadow-rgb) / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.60);
  color-scheme: light;
}
:root[data-theme="salvia-dark"] {
  --background: #151C18;
  --surface-1: #222D26;
  --surface-2: #304035;
  --text-primary: #EDF5EE;
  --text-secondary: #C8D1CA;
  --text-muted: #A2ABA4;
  --accent: #A0C5AA;
  --accent-contrast: #1C1916;
  --selected-on-surface-1: color-mix(in srgb, #A0C5AA 22%, #222D26);
  --selected-on-surface-2: color-mix(in srgb, #A0C5AA 14%, #304035);
  --success: #A0C5AA;
  --warning: #C9A985;
  --error: #D2A3A2;
  --info: #ABC1E5;
  --shadow-rgb: 237 245 238;
  --shadow-surface-1: 0 1px 2px rgb(0 0 0 / 0.30), inset 0 1px 0 rgb(255 255 255 / 0.04);
  --shadow-button: 0 2px 4px rgb(0 0 0 / 0.35), 0 1px 1px rgb(0 0 0 / 0.20);
  --shadow-popover: 0 0 1px rgb(0 0 0 / 0.60), 0 2px 6px rgb(0 0 0 / 0.30), 0 12px 32px rgb(0 0 0 / 0.50), inset 0 1px 0 rgb(255 255 255 / 0.05);
  color-scheme: dark;
}
:root[data-theme="porfido-light"] {
  --background: #F3EDEB;
  --surface-1: #FCF8F6;
  --surface-2: #E9DEDA;
  --text-primary: #36292A;
  --text-secondary: #4E4242;
  --text-muted: #685D5D;
  --accent: #913D51;
  --accent-contrast: #FFFFFF;
  --selected-on-surface-1: color-mix(in srgb, #913D51 18%, #FCF8F6);
  --selected-on-surface-2: color-mix(in srgb, #913D51 10%, #E9DEDA);
  --success: #176445;
  --warning: #80501F;
  --error: #913D51;
  --info: #2459A7;
  --shadow-rgb: 54 41 42;
  --shadow-surface-1: 0 1px 2px rgb(var(--shadow-rgb) / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.60);
  --shadow-button: 0 2px 4px rgb(var(--shadow-rgb) / 0.16), 0 1px 1px rgb(var(--shadow-rgb) / 0.08);
  --shadow-popover: 0 0 1px rgb(var(--shadow-rgb) / 0.14), 0 2px 6px rgb(var(--shadow-rgb) / 0.10), 0 12px 32px rgb(var(--shadow-rgb) / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.60);
  color-scheme: light;
}
:root[data-theme="porfido-dark"] {
  --background: #20191A;
  --surface-1: #302527;
  --surface-2: #413135;
  --text-primary: #F4E8E4;
  --text-secondary: #D1C5C2;
  --text-muted: #ABA09E;
  --accent: #D2A3A2;
  --accent-contrast: #1C1916;
  --selected-on-surface-1: color-mix(in srgb, #D2A3A2 22%, #302527);
  --selected-on-surface-2: color-mix(in srgb, #D2A3A2 14%, #413135);
  --success: #A0C5AA;
  --warning: #C9A985;
  --error: #D2A3A2;
  --info: #ABC1E5;
  --shadow-rgb: 244 232 228;
  --shadow-surface-1: 0 1px 2px rgb(0 0 0 / 0.30), inset 0 1px 0 rgb(255 255 255 / 0.04);
  --shadow-button: 0 2px 4px rgb(0 0 0 / 0.35), 0 1px 1px rgb(0 0 0 / 0.20);
  --shadow-popover: 0 0 1px rgb(0 0 0 / 0.60), 0 2px 6px rgb(0 0 0 / 0.30), 0 12px 32px rgb(0 0 0 / 0.50), inset 0 1px 0 rgb(255 255 255 / 0.05);
  color-scheme: dark;
}
:root[data-theme="lapislazzulo-light"] {
  --background: #ECF0F6;
  --surface-1: #F8FAFE;
  --surface-2: #DFE6F0;
  --text-primary: #25334B;
  --text-secondary: #3E4B60;
  --text-muted: #5A6578;
  --accent: #2459A7;
  --accent-contrast: #FFFFFF;
  --selected-on-surface-1: color-mix(in srgb, #2459A7 18%, #F8FAFE);
  --selected-on-surface-2: color-mix(in srgb, #2459A7 10%, #DFE6F0);
  --success: #176445;
  --warning: #80501F;
  --error: #913D51;
  --info: #2459A7;
  --shadow-rgb: 37 51 75;
  --shadow-surface-1: 0 1px 2px rgb(var(--shadow-rgb) / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.60);
  --shadow-button: 0 2px 4px rgb(var(--shadow-rgb) / 0.16), 0 1px 1px rgb(var(--shadow-rgb) / 0.08);
  --shadow-popover: 0 0 1px rgb(var(--shadow-rgb) / 0.14), 0 2px 6px rgb(var(--shadow-rgb) / 0.10), 0 12px 32px rgb(var(--shadow-rgb) / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.60);
  color-scheme: light;
}
:root[data-theme="lapislazzulo-dark"] {
  --background: #151B28;
  --surface-1: #222C3D;
  --surface-2: #303F56;
  --text-primary: #EDF2FA;
  --text-secondary: #C8CED8;
  --text-muted: #A2A9B4;
  --accent: #ABC1E5;
  --accent-contrast: #1C1916;
  --selected-on-surface-1: color-mix(in srgb, #ABC1E5 22%, #222C3D);
  --selected-on-surface-2: color-mix(in srgb, #ABC1E5 14%, #303F56);
  --success: #A0C5AA;
  --warning: #C9A985;
  --error: #D2A3A2;
  --info: #ABC1E5;
  --shadow-rgb: 237 242 250;
  --shadow-surface-1: 0 1px 2px rgb(0 0 0 / 0.30), inset 0 1px 0 rgb(255 255 255 / 0.04);
  --shadow-button: 0 2px 4px rgb(0 0 0 / 0.35), 0 1px 1px rgb(0 0 0 / 0.20);
  --shadow-popover: 0 0 1px rgb(0 0 0 / 0.60), 0 2px 6px rgb(0 0 0 / 0.30), 0 12px 32px rgb(0 0 0 / 0.50), inset 0 1px 0 rgb(255 255 255 / 0.05);
  color-scheme: dark;
}
