/* Brand/UX manual: five palettes in both modes; brand mark unchanged. */
html[data-ui-mode=light][data-ui-palette=forest]{color-scheme:light;background:#f3f5f2;color:#172b29;--surface:#ffffff;--accent:#167965;--muted:#526860;--on-accent:#ffffff;--line:color-mix(in srgb,#172b29 18%,#ffffff);--soft:color-mix(in srgb,#167965 8%,#ffffff);}
@media(prefers-color-scheme:light){html[data-ui-mode=auto][data-ui-palette=forest]{color-scheme:light;background:#f3f5f2;color:#172b29;--surface:#ffffff;--accent:#167965;--muted:#526860;--on-accent:#ffffff;--line:color-mix(in srgb,#172b29 18%,#ffffff);--soft:color-mix(in srgb,#167965 8%,#ffffff);}}
html[data-ui-mode=light][data-ui-palette=ocean]{color-scheme:light;background:#eff6fc;color:#17314a;--surface:#ffffff;--accent:#1268a5;--muted:#4d667c;--on-accent:#ffffff;--line:color-mix(in srgb,#17314a 18%,#ffffff);--soft:color-mix(in srgb,#1268a5 8%,#ffffff);}
@media(prefers-color-scheme:light){html[data-ui-mode=auto][data-ui-palette=ocean]{color-scheme:light;background:#eff6fc;color:#17314a;--surface:#ffffff;--accent:#1268a5;--muted:#4d667c;--on-accent:#ffffff;--line:color-mix(in srgb,#17314a 18%,#ffffff);--soft:color-mix(in srgb,#1268a5 8%,#ffffff);}}
html[data-ui-mode=light][data-ui-palette=violet]{color-scheme:light;background:#f5f1fa;color:#302243;--surface:#ffffff;--accent:#7050a6;--muted:#716080;--on-accent:#ffffff;--line:color-mix(in srgb,#302243 18%,#ffffff);--soft:color-mix(in srgb,#7050a6 8%,#ffffff);}
@media(prefers-color-scheme:light){html[data-ui-mode=auto][data-ui-palette=violet]{color-scheme:light;background:#f5f1fa;color:#302243;--surface:#ffffff;--accent:#7050a6;--muted:#716080;--on-accent:#ffffff;--line:color-mix(in srgb,#302243 18%,#ffffff);--soft:color-mix(in srgb,#7050a6 8%,#ffffff);}}
html[data-ui-mode=light][data-ui-palette=sunset]{color-scheme:light;background:#fff6e9;color:#3f2c1b;--surface:#ffffff;--accent:#9c5414;--muted:#786348;--on-accent:#ffffff;--line:color-mix(in srgb,#3f2c1b 18%,#ffffff);--soft:color-mix(in srgb,#9c5414 8%,#ffffff);}
@media(prefers-color-scheme:light){html[data-ui-mode=auto][data-ui-palette=sunset]{color-scheme:light;background:#fff6e9;color:#3f2c1b;--surface:#ffffff;--accent:#9c5414;--muted:#786348;--on-accent:#ffffff;--line:color-mix(in srgb,#3f2c1b 18%,#ffffff);--soft:color-mix(in srgb,#9c5414 8%,#ffffff);}}
html[data-ui-mode=light][data-ui-palette=berry]{color-scheme:light;background:#fff2f6;color:#442638;--surface:#ffffff;--accent:#a53763;--muted:#805c71;--on-accent:#ffffff;--line:color-mix(in srgb,#442638 18%,#ffffff);--soft:color-mix(in srgb,#a53763 8%,#ffffff);}
@media(prefers-color-scheme:light){html[data-ui-mode=auto][data-ui-palette=berry]{color-scheme:light;background:#fff2f6;color:#442638;--surface:#ffffff;--accent:#a53763;--muted:#805c71;--on-accent:#ffffff;--line:color-mix(in srgb,#442638 18%,#ffffff);--soft:color-mix(in srgb,#a53763 8%,#ffffff);}}
html[data-ui-mode=dark][data-ui-palette=forest]{color-scheme:dark;background:#111b1a;color:#eff6f2;--surface:#192725;--accent:#8ee3c5;--muted:#b0c5bb;--on-accent:#111b1a;--line:color-mix(in srgb,#eff6f2 18%,#192725);--soft:color-mix(in srgb,#8ee3c5 8%,#192725);}
@media(prefers-color-scheme:dark){html[data-ui-mode=auto][data-ui-palette=forest]{color-scheme:dark;background:#111b1a;color:#eff6f2;--surface:#192725;--accent:#8ee3c5;--muted:#b0c5bb;--on-accent:#111b1a;--line:color-mix(in srgb,#eff6f2 18%,#192725);--soft:color-mix(in srgb,#8ee3c5 8%,#192725);}}
html[data-ui-mode=dark][data-ui-palette=ocean]{color-scheme:dark;background:#101d2c;color:#eef6ff;--surface:#182b40;--accent:#8fcaff;--muted:#acc4db;--on-accent:#111b1a;--line:color-mix(in srgb,#eef6ff 18%,#182b40);--soft:color-mix(in srgb,#8fcaff 8%,#182b40);}
@media(prefers-color-scheme:dark){html[data-ui-mode=auto][data-ui-palette=ocean]{color-scheme:dark;background:#101d2c;color:#eef6ff;--surface:#182b40;--accent:#8fcaff;--muted:#acc4db;--on-accent:#111b1a;--line:color-mix(in srgb,#eef6ff 18%,#182b40);--soft:color-mix(in srgb,#8fcaff 8%,#182b40);}}
html[data-ui-mode=dark][data-ui-palette=violet]{color-scheme:dark;background:#1c1629;color:#f7f1ff;--surface:#2a203b;--accent:#c7aeff;--muted:#c9b9dd;--on-accent:#111b1a;--line:color-mix(in srgb,#f7f1ff 18%,#2a203b);--soft:color-mix(in srgb,#c7aeff 8%,#2a203b);}
@media(prefers-color-scheme:dark){html[data-ui-mode=auto][data-ui-palette=violet]{color-scheme:dark;background:#1c1629;color:#f7f1ff;--surface:#2a203b;--accent:#c7aeff;--muted:#c9b9dd;--on-accent:#111b1a;--line:color-mix(in srgb,#f7f1ff 18%,#2a203b);--soft:color-mix(in srgb,#c7aeff 8%,#2a203b);}}
html[data-ui-mode=dark][data-ui-palette=sunset]{color-scheme:dark;background:#271d14;color:#fff5e7;--surface:#38291c;--accent:#ffc887;--muted:#d8c0a2;--on-accent:#111b1a;--line:color-mix(in srgb,#fff5e7 18%,#38291c);--soft:color-mix(in srgb,#ffc887 8%,#38291c);}
@media(prefers-color-scheme:dark){html[data-ui-mode=auto][data-ui-palette=sunset]{color-scheme:dark;background:#271d14;color:#fff5e7;--surface:#38291c;--accent:#ffc887;--muted:#d8c0a2;--on-accent:#111b1a;--line:color-mix(in srgb,#fff5e7 18%,#38291c);--soft:color-mix(in srgb,#ffc887 8%,#38291c);}}
html[data-ui-mode=dark][data-ui-palette=berry]{color-scheme:dark;background:#281921;color:#fff0f7;--surface:#3a2530;--accent:#ffa9ce;--muted:#dcb8cb;--on-accent:#111b1a;--line:color-mix(in srgb,#fff0f7 18%,#3a2530);--soft:color-mix(in srgb,#ffa9ce 8%,#3a2530);}
@media(prefers-color-scheme:dark){html[data-ui-mode=auto][data-ui-palette=berry]{color-scheme:dark;background:#281921;color:#fff0f7;--surface:#3a2530;--accent:#ffa9ce;--muted:#dcb8cb;--on-accent:#111b1a;--line:color-mix(in srgb,#fff0f7 18%,#3a2530);--soft:color-mix(in srgb,#ffa9ce 8%,#3a2530);}}
button{color:var(--on-accent,#fff)}.secondary,.link-button,.dense-main,.running-row,.metric{color:inherit}html[data-ui-mode=dark] .homework-good{color:#75d5a3}html[data-ui-mode=dark] .homework-warning{color:#f0d46d}html[data-ui-mode=dark] .homework-urgent{color:#ff9999}html[data-ui-mode=light] .homework-good{color:#167846}html[data-ui-mode=light] .homework-warning{color:#896b00}html[data-ui-mode=light] .homework-urgent{color:#bd3434}
