/* OMA brand tokens: Ultraviolet palette, type and shape.
   Light by default, dark from the system setting, and a manual override through
   data-theme="light" or data-theme="dark" on <html> (set by the toolbar toggle). */

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/roboto-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/roboto-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/roboto-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;

  /* Colour: Ultraviolet, light */
  --bg-page: #F3F3F6;
  --bg-surface: #FFFFFF;
  --bg-raised: #FFFFFF;          /* canvas background */
  --text-primary: #111116;
  --text-secondary: #5A5A66;
  --text-inverse: #F3F3F6;       /* text on highlight */
  --text-link: #2B1D9E;
  --accent-highlight: #4A33E6;   /* selection, footnotes, current item */
  --border-subtle: #E0E0E8;      /* hairlines, canvas grid */
  --action-primary-bg: #111116;
  --action-primary-text: #F3F3F6;
  --accent-signal: #FF9ACB;      /* sticky notes, status chips; never text */
  --text-on-signal: #111116;     /* always, in both themes */

  --grid-line: color-mix(in srgb, var(--border-subtle) 50%, transparent);
  --shadow-card: 0 8px 20px rgba(13, 10, 38, 0.06);
  --shadow-lifted: 0 22px 36px rgba(13, 10, 38, 0.16);

  /* The mark keeps its own colours in every theme. Never use these for UI. */
  --mark-bubblegum: #FF9ACB;
  --mark-sky: #BFD6D6;
  --mark-dusk: #3D7F86;
  --mark-coral: #FF5A3C;
  --mark-sunny: #FFD23F;
  --mark-lilac: #9B8CFF;
  --mark-seat: rgba(17, 17, 22, 0.9);

  /* Type */
  --font-display: "Roboto", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-ui: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Shape: 2px corners, never more than 4px */
  --radius: 2px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg-page: #09090D;
    --bg-surface: #121218;
    --bg-raised: #1B1B23;
    --text-primary: #F3F3F6;
    --text-secondary: #A0A0AD;
    --text-inverse: #111116;
    --text-link: #C3BAFF;
    --accent-highlight: #A79BFF;
    --border-subtle: #2A2A35;
    --action-primary-bg: #F3F3F6;
    --action-primary-text: #111116;
    --mark-seat: rgba(243, 243, 246, 0.55);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #09090D;
  --bg-surface: #121218;
  --bg-raised: #1B1B23;
  --text-primary: #F3F3F6;
  --text-secondary: #A0A0AD;
  --text-inverse: #111116;
  --text-link: #C3BAFF;
  --accent-highlight: #A79BFF;
  --border-subtle: #2A2A35;
  --action-primary-bg: #F3F3F6;
  --action-primary-text: #111116;
  --mark-seat: rgba(243, 243, 246, 0.55);
}
