/* Layout idea: dark navy machine rail on the left, light working surface on the right, category tiles as the machine's home. */
:root{
  --bg:#f4f4f5; --panel:#ffffff; --ink:#17181b; --muted:#5f6368; --line:#dcdde0; --tile:#ececee;
  --accent:#17181b; --accent-ink:#ffffff; --accent-soft:#e4e4e7; --accent-deep:#17181b; --accent-mark:#ffffff;
  --warn:#9a5a06; --warn-bg:#fdf0da; --ok:#276b47; --ok-bg:#e0f1e8; --crit:#a8322b;
  --sb:#17181b; --sb-ink:#d0d4d9; --sb-mute:#8d929a; --sb-line:#26282c; --sb-hover:#303338; --sb-active:#464950; --mark:#ffe58a;
  --font:'Didact Gothic','IBM Plex Sans',system-ui,'Segoe UI',Roboto,Arial,sans-serif;
  --font-logo:'Didact Gothic','IBM Plex Sans',system-ui,'Segoe UI',Arial,sans-serif;
  --font-head:'Didact Gothic','IBM Plex Sans',system-ui,'Segoe UI',Arial,sans-serif;
  --btn:#1e3a8a; --btn-hover:#172e6e; --cancel:#c62828; --cancel-hover:#a91f1f;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0f1012; --panel:#18191c; --ink:#ececee; --muted:#9a9ea6; --line:#2b2d31; --tile:#212225;
    --accent:#ececee; --accent-ink:#17181b; --accent-soft:#2b2d31; --accent-deep:#ececee; --accent-mark:#ffffff;
    --warn:#f0b35c; --warn-bg:#35280f; --ok:#6cc596; --ok-bg:#15301f; --crit:#f08a82;
    --sb:#17181b; --sb-hover:#303338; --sb-active:#464950; --sb-line:#26282c; --mark:#6b5a12; color-scheme:dark;
    --btn:#3b63d6; --btn-hover:#2f55c4; --cancel:#d64545; --cancel-hover:#e05555;
  }
}
:root[data-theme="dark"]{
  --bg:#0f1012; --panel:#18191c; --ink:#ececee; --muted:#9a9ea6; --line:#2b2d31; --tile:#212225;
  --accent:#ececee; --accent-ink:#17181b; --accent-soft:#2b2d31; --accent-deep:#ececee; --accent-mark:#ffffff;
  --warn:#f0b35c; --warn-bg:#35280f; --ok:#6cc596; --ok-bg:#15301f; --crit:#f08a82;
  --sb:#17181b; --sb-hover:#303338; --sb-active:#464950; --sb-line:#26282c; --mark:#6b5a12; color-scheme:dark;
  --btn:#3b63d6; --btn-hover:#2f55c4; --cancel:#d64545; --cancel-hover:#e05555;
}
