/*
 * The help centre's theme, built on First Mile Manager's brand colours (brand.css, a copy of
 * brand/tokens.css): Route teal is the one accent, everything else is ink and paper. Light by
 * default; dark with prefers-color-scheme, or force a theme with data-theme="light" /
 * data-theme="dark" on <html>. Fonts are self-hosted from /fonts (SIL Open Font Licence).
 */
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/78ef428a254addd3/fonts/AtkinsonHyperlegibleNext-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/af371c0b66b16926/fonts/AtkinsonHyperlegibleNext-Italic-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("/assets/c00a7c889d7feda8/fonts/AtkinsonHyperlegibleMono-Variable.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
:root {
  --hc-page: var(--fmm-paper);
  --hc-panel: #F1F5F5;
  --hc-raised: var(--fmm-paper);
  --hc-line: #D5DEDF;
  --hc-line-strong: #7A878A;
  --hc-ink: var(--fmm-ink);
  --hc-ink-muted: #4C5A5E;
  /* The accent fill (buttons, the start of the path, the corners). Labels on it are ink. */
  --hc-accent: var(--fmm-route-teal);
  --hc-on-accent: var(--fmm-ink);
  --hc-accent-soft: #E3F3F1;
  --hc-on-accent-soft: var(--fmm-ink);
  --hc-link: var(--fmm-route-teal-text);
  --hc-focus: var(--fmm-ink);
  --hc-success: #15803D;
  --hc-success-soft: #E6F2EA;
  --hc-warning: #B04A05;
  --hc-warning-soft: #F6EBE4;
  --hc-danger: #B8232A;
  --hc-danger-soft: #F7E7E8;
  --hc-info: #1F5BB5;
  --hc-info-soft: #E6EDF7;
  --hc-shadow-sm: 0 1px 2px #0f1a1e14;
  --hc-shadow-lg: 0 8px 24px -4px #0f1a1e29;
  --hc-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #0f1a1e, 0 0 0 6px #0d9488;
  --hc-space-1: 4px;
  --hc-space-2: 8px;
  --hc-space-3: 12px;
  --hc-space-4: 16px;
  --hc-space-6: 24px;
  --hc-space-8: 32px;
  --hc-space-12: 48px;
  --hc-space-16: 64px;
  --hc-radius-xs: 3px;
  --hc-radius-sm: 6px;
  --hc-radius-md: 10px;
  --hc-font-display: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hc-font-text: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hc-font-code: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hc-page: var(--fmm-night);
    --hc-panel: #131D21;
    --hc-raised: #19252A;
    --hc-line: #26353B;
    --hc-line-strong: #65767C;
    --hc-ink: #EEF3F3;
    --hc-ink-muted: #A2B0B4;
    --hc-accent-soft: #0E2B29;
    --hc-on-accent-soft: #EEF3F3;
    /* Route teal is AA for all text on Night; this lighter teal keeps links AA on the panels too. */
    --hc-link: #2CB5A8;
    --hc-focus: var(--fmm-route-teal);
    --hc-success: #5BD28A;
    --hc-success-soft: #1C332A;
    --hc-warning: #FF9A52;
    --hc-warning-soft: #392920;
    --hc-danger: #FF8080;
    --hc-danger-soft: #392428;
    --hc-info: #7FAEFF;
    --hc-info-soft: #222C3F;
    --hc-shadow-sm: 0 1px 2px #00000099;
    --hc-shadow-lg: 0 12px 28px -4px #000000cc;
    --hc-focus-ring: 0 0 0 2px #0b1215, 0 0 0 4px #0d9488;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --hc-page: var(--fmm-night);
  --hc-panel: #131D21;
  --hc-raised: #19252A;
  --hc-line: #26353B;
  --hc-line-strong: #65767C;
  --hc-ink: #EEF3F3;
  --hc-ink-muted: #A2B0B4;
  --hc-accent-soft: #0E2B29;
  --hc-on-accent-soft: #EEF3F3;
  /* Route teal is AA for all text on Night; this lighter teal keeps links AA on the panels too. */
  --hc-link: #2CB5A8;
  --hc-focus: var(--fmm-route-teal);
  --hc-success: #5BD28A;
  --hc-success-soft: #1C332A;
  --hc-warning: #FF9A52;
  --hc-warning-soft: #392920;
  --hc-danger: #FF8080;
  --hc-danger-soft: #392428;
  --hc-info: #7FAEFF;
  --hc-info-soft: #222C3F;
  --hc-shadow-sm: 0 1px 2px #00000099;
  --hc-shadow-lg: 0 12px 28px -4px #000000cc;
  --hc-focus-ring: 0 0 0 2px #0b1215, 0 0 0 4px #0d9488;
  color-scheme: dark;
}
