/* Orchard MDM design tokens — shared by the console and the end-user pages. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/static/fonts/atkinson-next.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("/static/fonts/atkinson-mono.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ident: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace;


  /* ground and ink */
  --bg: #f1f4f8;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --surface-3: #e9eef4;
  --ink: #001021;
  --ink-2: #344b63;
  --ink-3: #718398;
  --line: #d5dee8;
  --line-strong: #b5c4d4;
  --grid: #e4eaf1;

  /* action */
  --brand: #001021;
  --brand-hover: #0b2945;
  --brand-ink: #ffffff;
  --brand-wash: #e1eaf3;
  --link: #2676bd;
  --focus: #2676bd;
  --danger: #951d52;
  --danger-hover: #7b1643;

  /* data (validated: single series, light surface) */
  --series: #2676bd;
  --series-wash: rgba(38, 118, 189, 0.1);

  /* status (validated as a set; always shipped with icon + label) */
  --good: #168b78;
  --warn: #b17000;
  --bad: #951d52;
  --unknown: #8795a5;
  --good-wash: #e1f2ee;
  --warn-wash: #f8eedb;
  --bad-wash: #f5e2ea;

  /* chrome */
  --sidebar: #001021;
  --sidebar-2: #0b2945;
  --sidebar-ink: #d3e0ed;
  --sidebar-dim: #91a8bf;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --shadow-pop: 0 12px 32px rgba(0, 16, 33, 0.18), 0 2px 6px rgba(0, 16, 33, 0.08);

}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #170d10;
    --surface: #241318;
    --surface-2: #2d171e;
    --surface-3: #381c25;
    --ink: #ede3e6;
    --ink-2: #c3b1b8;
    --ink-3: #97848c;
    --line: #3a242c;
    --line-strong: #50323e;
    --grid: #332029;
    --brand: #7d1128;
    --brand-hover: #961b36;
    --brand-ink: #ffffff;
    --brand-wash: #421a27;
    --link: #7db3e6;
    --focus: #d97891;
    --danger: #d65a68;
    --danger-hover: #e2707d;
    --series: #4a8fd0;
    --series-wash: rgba(74, 143, 208, 0.12);
    --good: #05a388;
    --warn: #c17f21;
    --bad: #c0434c;
    --unknown: #7b6c73;
    --good-wash: #12352d;
    --warn-wash: #3a2c12;
    --bad-wash: #3c1c22;
    --sidebar: #10090c;
    --sidebar-2: #29151d;
    --sidebar-ink: #cfe0d6;
    --sidebar-dim: #977f89;
    --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #001021;
  --surface: #06192b;
  --surface-2: #0a2035;
  --surface-3: #102b43;
  --ink: #e3edf7;
  --ink-2: #b1c4d8;
  --ink-3: #849bb2;
  --line: #1a344b;
  --line-strong: #294963;
  --grid: #152e43;
  --brand: #4b9bd8;
  --brand-hover: #60afea;
  --brand-ink: #001021;
  --brand-wash: #123754;
  --link: #7dbbfa;
  --focus: #7dbbfa;
  --danger: #d65a68;
  --danger-hover: #e2707d;
  --series: #4a9fd8;
  --series-wash: rgba(74, 159, 216, 0.12);
  --good: #35b99a;
  --warn: #d6a044;
  --bad: #c95765;
  --unknown: #71869a;
  --good-wash: #10372f;
  --warn-wash: #382d19;
  --bad-wash: #3c1c29;
  --sidebar: #000b17;
  --sidebar-2: #081d30;
  --sidebar-ink: #cfe0f1;
  --sidebar-dim: #8099b2;
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  font-optical-sizing: auto;
}

a {
  color: var(--link);
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.ident {
  font-family: var(--font-ident);
  font-size: 0.92em;
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}