/* QUT EER shared style, tokens v1.1 (23 Nov 2026). Owner: group_main (agenticED). Spec: STYLE.md beside this file.
   Copy this file into a product with this version line kept at the top. Do not edit a copy: send change requests in
   REQUESTS_inplace.md. A product overrides ONLY the accent block (see the end of this file and STYLE.md section 3).
   Colour values: agenticED d14 tokens (live, AA checked); light and dark switch on :root[data-theme]. */
:root,
:root[data-theme="light"] {
  --canvas: #f6f8fa;
  --surface: #ffffff;
  --surface-raised: #f6f8fa;
  --surface-sunken: #f6f8fa;
  --hover: #f6f8fa;
  --fg: #1f2328;
  --fg-muted: #59636e;
  --fg-subtle: #59636e;
  --border: #d8dee4;
  --border-strong: #818b98;
  --control-border: #818b98;
  --accent: #0969da;
  --accent-hover: #0550ae;
  --accent-fg: #ffffff;
  --accent-text: #0969da;
  --accent-soft: #ddf4ff;
  --focus: #0969da;
  --selected-bg: #ddf4ff;
  --selected-bar: #0969da;
  --ok-text: #1a7f37;
  --ok-bg: #dafbe1;
  --warn-text: #9a6700;
  --warn-bg: #fff8c5;
  --bad-text: #cf222e;
  --bad-bg: #ffebe9;
  --info-text: #0969da;
  --info-bg: #ddf4ff;
  --dot-bad: #cf222e;
  --dot-warn: #9a6700;
  --dot-ok: #1a7f37;
  --band-5-bg: #0a3069;
  --band-5-fg: #ffffff;
  --band-4-bg: #0550ae;
  --band-4-fg: #ffffff;
  --band-3-bg: #218bff;
  --band-3-fg: #000000;
  --band-2-bg: #b6e3ff;
  --band-2-fg: #0a3069;
  --band-1-bg: #eef2f6;
  --band-1-fg: #59636e;
  --band-1-border: #d8dee4;
  --band-none-border: #818b98;
  --band-none-fg: #59636e;
  --chart-1: #0a3069;
  --chart-2: #0550ae;
  --chart-3: #0969da;
  --chart-grid: #d8dee4;
  --highlight-bg: #fff8c5;
  --highlight-fg: #7d4e00;
  --ok-pill-fg: #1a7f37;
  --warn-pill-fg: #9a6700;
  --bad-pill-fg: #cf222e;
  --info-pill-fg: #0969da;
  --shadow-frame: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 1px 2px rgba(31, 35, 40, 0.08);
  color-scheme: only light;  /* only: stops browser forced dark repainting the light theme (2026-10-13) */
}
:root[data-theme="dark"] {
  --canvas: #0d1117;
  --surface: #1c2128;
  --surface-raised: #262c36;
  --surface-sunken: #0d1117;
  --hover: #262c36;
  --fg: #e6edf3;
  --fg-muted: #9198a1;
  --fg-subtle: #9198a1;
  --border: #30363d;
  --border-strong: #6e7681;
  --control-border: #6e7681;
  --accent: #4493f8;
  --accent-hover: #58a6ff;
  --accent-fg: #0d1117;
  --accent-text: #58a6ff;
  --accent-soft: #12233b;
  --focus: #58a6ff;
  --selected-bg: #12233b;
  --selected-bar: #4493f8;
  --ok-text: #3fb950;
  --ok-bg: #12261e;
  --warn-text: #d29922;
  --warn-bg: #2b2111;
  --bad-text: #ff7b72;
  --bad-bg: #2d1517;
  --info-text: #58a6ff;
  --info-bg: #12233b;
  --dot-bad: #ff7b72;
  --dot-warn: #d29922;
  --dot-ok: #3fb950;
  --band-5-bg: #cae8ff;
  --band-5-fg: #0d1117;
  --band-4-bg: #79c0ff;
  --band-4-fg: #0d1117;
  --band-3-bg: #388bfd;
  --band-3-fg: #0d1117;
  --band-2-bg: #1f4a85;
  --band-2-fg: #cae8ff;
  --band-1-bg: #262c36;
  --band-1-fg: #9198a1;
  --band-1-border: #30363d;
  --band-none-border: #6e7681;
  --band-none-fg: #9198a1;
  --chart-1: #cae8ff;
  --chart-2: #79c0ff;
  --chart-3: #388bfd;
  --chart-grid: #30363d;
  --highlight-bg: #2b2111;
  --highlight-fg: #d29922;
  --ok-pill-fg: #3fb950;
  --warn-pill-fg: #d29922;
  --bad-pill-fg: #ff7b72;
  --info-pill-fg: #58a6ff;
  --shadow-frame: none;
  --shadow-card: none;
  color-scheme: only dark;
}

:root {
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --display: "IBM Plex Sans", system-ui, sans-serif;
  --mono: var(--font);
}
@font-face { font-family: "IBM Plex Sans"; src: url("/fonts/ibm-plex-sans-latin-wght.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }

/* ---- shared sizes (STYLE.md sections 4-6) ---- */
:root {
  --qe-header-h: 64px;
  --qe-logo-h: 30px;          /* QUT logo square: 30 px = 7.94 mm at 96 px/in, above the 7.5 mm minimum (manual 2.5); clear space >= 10% of it (2.4) */
  --qe-wrap: 1248px;          /* content width */
  --qe-gutter: 24px;          /* 16px under 720 px */
  --qe-radius-control: 6px;
  --qe-radius-card: 10px;
  --qe-btn-h: 40px; --qe-btn-h-lg: 48px; --qe-btn-h-sm: 32px;
  --qe-focus-ring: 0 0 0 2px var(--surface), 0 0 0 4px var(--focus);
  /* type scale (px): 12 badges only, 14 small/UI, 16 body (16 for inputs under 720 px), 20 h3, 24 h2, 32 h1, 40-48 landing hero only */
  --qe-fs-xs: 12px; --qe-fs-sm: 14px; --qe-fs-md: 16px; --qe-fs-lg: 20px; --qe-fs-xl: 24px; --qe-fs-2xl: 32px; --qe-fs-hero: clamp(32px, 5vw, 48px);
}

/* ---- product accent: the only block a product changes. agenticED = blue (below, same as above).
   InPlace Copilot proposed accent = teal (contrast measured 23 Nov: #0a7c72 on #ffffff 5.07, on #f6f8fa 4.77;
   #2bb3a3 on #1c2128 6.23, on #0d1117 7.28; #0d1117 text on #2bb3a3 7.28). Example, set on <html data-product="inplace">:
:root[data-product="inplace"][data-theme="light"] { --accent:#0a7c72; --accent-hover:#086b62; --accent-fg:#ffffff; --accent-text:#0a7c72; --accent-soft:#e6f6f4; --focus:#0a7c72; --selected-bg:#e6f6f4; --selected-bar:#0a7c72; }
:root[data-product="inplace"][data-theme="dark"]  { --accent:#2bb3a3; --accent-hover:#3cc8b8; --accent-fg:#0d1117; --accent-text:#2bb3a3; --accent-soft:#10302c; --focus:#2bb3a3; --selected-bg:#10302c; --selected-bar:#2bb3a3; }
*/
