/* Light-blue theme tokens, shared by every page.
   Light / dark / follow-the-device is chosen in Account > Appearance (or the sun/moon button in the top bar).
   assets/theme.js puts data-theme="light" or "dark" on <html>; with neither, the device setting is used. */
:root {
  color-scheme: light;
  --bg: #eef6fd;
  --surface: #ffffff;
  --ink: #12304a;
  --muted: #5f7b94;
  --line: #cfe3f3;
  --accent: #2b8ae0;
  --accent-2: #66b8f5;
  --accent-deep: #1666b0;
  --accent-ink: #ffffff;
  --accent-soft: #e1f1fd;
  --red: #ff5050;
  --red-soft: #ffd6d6;
  --yellow: #ffff00;
  --yellow-soft: #fff7a8;
  --warn-ink: #a15c00;
  --warn-bg: #ffe9c7;
  --warn-line: #f0c070;
  --login-bg: linear-gradient(160deg, #dff0ff 0%, #eef7ff 45%, #cfe8fb 100%);
  --blob-opacity: .55;
  --radius: 12px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1b29;
  --surface: #152638;
  --ink: #e3eefa;
  --muted: #93adc6;
  --line: #26425c;
  --accent: #5ab2f5;
  --accent-2: #8ccbff;
  --accent-deep: #8ccbff;
  --accent-ink: #07192a;
  --accent-soft: #1b3550;
  --red-soft: #6b2b2b;
  --yellow-soft: #6b6420;
  --warn-ink: #f0b45c;
  --warn-bg: #4a3512;
  --warn-line: #7a5a20;
  --login-bg: linear-gradient(160deg, #0b1724, #10253a 55%, #0d2238);
  --blob-opacity: .28;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    color-scheme: dark;
    --bg: #0e1b29;
    --surface: #152638;
    --ink: #e3eefa;
    --muted: #93adc6;
    --line: #26425c;
    --accent: #5ab2f5;
    --accent-2: #8ccbff;
    --accent-deep: #8ccbff;
    --accent-ink: #07192a;
    --accent-soft: #1b3550;
    --red-soft: #6b2b2b;
    --yellow-soft: #6b6420;
    --warn-ink: #f0b45c;
    --warn-bg: #4a3512;
    --warn-line: #7a5a20;
    --login-bg: linear-gradient(160deg, #0b1724, #10253a 55%, #0d2238);
    --blob-opacity: .28;
  }
}
/* the HTML "hidden" attribute must always win (a class with display:flex used to override it) */
[hidden] { display: none !important; }
