/* Noid operator app: design tokens and base styles.
   Dark theme from the Noid landing page (black ground, grays, green for protection,
   orange for threat). Component structure adapted from the Ika design system used in daiku. */
@font-face {
  font-family: "Manrope";
  src: url("/app/assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0a0a0a;
  --surface-2: #121212;
  --surface-3: #1a1a1a;
  --line: #222;
  --line-strong: #2f2f2f;
  --ink: #fff;
  --ink-2: #d7d7d7;
  --muted: #969696;
  --quiet: #6e6e6e;
  --green: #52c47a;
  --green-soft: rgb(82 196 122 / .14);
  --orange: #ff8e37;
  --orange-soft: rgb(255 142 55 / .14);
  --focus: #52c47a;

  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, Consolas, "Liberation Mono", monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  --drawer-width: 216px;
  --rail-width: 64px;
  --float-gap: 12px;
  --topbar: 58px;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); color: var(--ink); }
body {
  margin: 0;
  min-width: 280px;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--font-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--green); color: var(--bg); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.eyebrow { color: var(--muted); font: 500 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
