/* Strateški svet – the dark palette.

   Other values for the colour tokens of app.css, and nothing else: no rule
   of its own, so a part of a page has its colours in one place only.
   Whether this file applies is the `media` of its link, which the server
   writes from the member's choice (web.portal.theme): on a dark device, on
   every screen, or never. Never on paper.

   The light palette turned over: its ink is the ground of a panel here and
   its paper the colour of the text. The accent is the logo's navy raised
   until it reads on that ground, and what was white on a filled button is
   the page's own dark. */

:root {
  color-scheme: dark;

  --paper: #0b1821;
  --surface: #122633;
  --ink: #e8edf2;
  --muted: #a2b2bf;
  --line: #23394a;
  --line-strong: #44606f;

  --accent: #9db9ff;
  --accent-ink: #cddaff;
  --accent-soft: #1d335f;
  --own: #cda2ff;

  --for: #5ccf9a;
  --for-ink: #a6e9c8;
  --for-soft: #143d2f;
  --against: #ff9388;
  --against-ink: #ffc4bd;
  --against-deep: #ffd6d1;
  --against-soft: #4c211e;

  --amber: #e9b650;
  --amber-ink: #f6dc97;
  --amber-soft: #40310e;
  --amber-line: #5f4a17;
  --grey-soft: #1e3545;

  --on-fill: #0b1821;
  /* Darker than the page, as the light well is darker than its page. */
  --well: #04090d;
  --table-head: #172e3c;
  /* A shadow has to be darker than the ground it falls on. */
  --shadow-raised: 0 1px 2px rgb(0 0 0 / 0.5);
  --shadow-floating: 0 8px 24px rgb(0 0 0 / 0.55);
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a2b2bf' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  /* Lightness turned over, hue turned back: navy becomes the accent's light
     blue and the heart stays red. Its white square, black by then, lets the
     ground through. */
  --logo-filter: invert(1) hue-rotate(180deg);
  --logo-blend: screen;
  --icon-filter: invert(1);
}
