@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  --air: #edf2f6;
  --air-deep: #dce5ec;
  --steel: #9aa8b6;
  --ink: #0f1e2e;
  --ink-muted: #5a6b7c;
  --supply: #0a66d8;
  --supply-hover: #0857bb;
  --supply-ink: #084a9c;
  --supply-tint: rgba(10, 102, 216, .12);
  --extract: #f29100;
  --danger: #c8322b;
  --night: #102a43;
  --line: #d3dce4;
  --hairline: rgba(15, 30, 46, .08);

  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .80);
  --glass-blur: blur(20px) saturate(160%);
  --glass-edge: rgba(255, 255, 255, .65);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .75);
  --glass-shade: 0 12px 32px -14px rgba(15, 30, 46, .28), 0 2px 6px -2px rgba(15, 30, 46, .10);
  --pop-shade: 0 20px 48px -16px rgba(15, 30, 46, .34), 0 2px 8px -2px rgba(15, 30, 46, .12);
  --solid: #fff;

  --r-window: 18px;
  --r-card: 14px;
  --r-control: 10px;
  --r-chip: 5px;

  --focus: 0 0 0 3px rgba(10, 102, 216, .28);

  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

.glass,
.glass-strong {
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-highlight), var(--glass-shade);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.glass { background: var(--glass); }
.glass-strong { background: var(--glass-strong); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass: var(--solid); --glass-strong: var(--solid); --glass-edge: var(--line); }
}

@media (prefers-reduced-transparency: reduce) {
  :root { --glass: var(--solid); --glass-strong: var(--solid); --glass-edge: var(--line); --glass-blur: none; }
}

@media (prefers-contrast: more) {
  :root {
    --glass: var(--solid);
    --glass-strong: var(--solid);
    --glass-blur: none;
    --glass-edge: var(--steel);
    --line: var(--steel);
    --ink-muted: #3f4f60;
  }
  a { text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
