@font-face {
  font-family: Geist;
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font: Geist, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ink: #0b1728;
  --navy: #071b35;
  --blue: #075be8;
  --blue-hover: #064bc0;
  --cyan: #16c5d8;
  --paper: #fff;
  --mist: #f2f6f8;
  --highlight: #edf6f8;
  --muted: #4b6274;
  --line: #c8d9de;
  --field-line: #829caa;
  --success: #177653;
  --danger: #b42f39;
  --status-online: #187b54;
  --status-offline: #be3541;
  --online-ring: #d7f0e5;
  --linux-icon: #293543;
  --scrim: rgb(7 27 53 / 40%);
  --swatch-border: rgb(7 27 53 / 14%);
  --selection: #c6f1f5;
  --shadow: 0 14px 38px rgb(7 27 53 / 12%);
  --accent-rule: linear-gradient(90deg, var(--blue), var(--cyan));
  --login-background: linear-gradient(155deg, var(--paper) 24%, var(--mist));
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e3e8f0;
  --navy: #e8f1ff;
  --blue: #75a8ff;
  --blue-hover: #98bdff;
  --paper: #13171d;
  --mist: #1c222c;
  --highlight: #252e3b;
  --muted: #aebdce;
  --line: #354354;
  --field-line: #61748b;
  --success: #73d6a7;
  --danger: #f28a96;
  --status-online: var(--success);
  --status-offline: var(--danger);
  --online-ring: #23453b;
  --linux-icon: #aebdce;
  --scrim: rgb(0 0 0 / 62%);
  --swatch-border: rgb(255 255 255 / 18%);
  --selection: #274e78;
  --shadow: 0 14px 38px rgb(0 0 0 / 45%);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font: 15px/1.5 var(--font); }
button, input, select { font: inherit; }
:is(button, a).btn-gradient,
:is(button, a).btn-gradient:hover {
  background: var(--accent-rule) border-box no-repeat;
  border-color: transparent;
  color: #fff;
  text-shadow: 0 1px 2px #071b35, 0 0 2px #071b35;
}
:is(button, a).btn-gradient:hover { box-shadow: 0 0 0 2px var(--line); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--selection); color: var(--navy); }
