/*
 * GridWise brand tokens: the one source for every surface — gridwise.no, the
 * portal, GridWise EnlinjeStudio and GridWise ForlegningsLab. Taken from the
 * portal's approved "soft surfaces" system (globals.css, October 2026).
 *
 * Colour carries four meanings: blue = brand and anything clickable, green =
 * finished, amber = waiting on someone, red = open/overdue. Cyan is the logo's
 * spark (#00d8fc) and nothing else: the slanted strip on headings and the
 * current item. Depth is a soft lift, never an outline.
 *
 * Fonts are self-hosted: copy packages/brand/fonts next to this file's
 * consumer and keep the url() paths (relative to the CSS file).
 */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("fonts/sora-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); }

:root {
  --gwb-ink: #041b4d;
  --gwb-ink-2: #33475c;
  --gwb-muted: #5d6b7e;
  --gwb-faint: #92a3b4;
  --gwb-canvas: #f4f6f9;
  --gwb-paper: #ffffff;
  --gwb-sunk: #eef2f7;
  --gwb-line: #e1e8ef;
  --gwb-line-strong: #ccd7e3;
  --gwb-edge: rgba(4, 27, 77, .07);

  --gwb-accent: #0b3f91;
  --gwb-accent-hover: #082f6e;
  --gwb-accent-soft: #e8eef9;
  --gwb-accent-line: #c5d3ee;
  --gwb-navy: #041b4d;
  --gwb-cyan: #00d8fc;

  --gwb-ok: #1c7a4e;
  --gwb-ok-soft: #e7f4ed;
  --gwb-amber: #d58b20;
  --gwb-amber-soft: #fbf1e1;
  --gwb-red: #c64949;
  --gwb-red-soft: #fbeaea;

  --gwb-lift: 0 0 0 1px rgba(4, 27, 77, .05), 0 1px 2px rgba(4, 27, 77, .04), 0 4px 14px -2px rgba(4, 27, 77, .05);
  --gwb-lift-control: 0 0 0 1px rgba(4, 27, 77, .09), 0 1px 2px rgba(4, 27, 77, .05);
  --gwb-lift-float: 0 0 0 1px rgba(4, 27, 77, .06), 0 12px 32px -8px rgba(4, 27, 77, .22);
  --gwb-radius-surface: 14px;
  --gwb-radius-control: 8px;

  --gwb-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gwb-font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
}
