/* V56: app-only tokens for the dashboards (learner dashboard.html + admin.html). The public pages use ds.css (V55); this file
   adds what an app needs and ds.css does not have: the app type scale (DESIGN-RESEARCH section 3: title 28, section 20,
   body 16/24, secondary 14, tables 15, nothing under 13) and the app shell sizes. Same faces as ds.css (self-hosted, no
   Google Fonts request). Load it LAST on the two app pages. */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/SourceSans3-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/SourceSans3-Italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/SourceSans3-rupee.woff2") format("woff2"); unicode-range: U+20B9; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/SourceSerif4-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/JetBrainsMono-latin.woff2") format("woff2"); }

:root {
  --app-font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --app-head: "Source Serif 4", Georgia, serif;
  --app-mono: "JetBrains Mono", ui-monospace, monospace;
  /* type (px): page title, section, card title, body, secondary, table cell, table header, smallest (timestamps, badges) */
  --app-t-title: 28px; --app-t-sec: 20px; --app-t-card: 18px; --app-t-body: 16px; --app-lh: 24px;
  --app-t-2: 14px; --app-t-td: 15px; --app-t-th: 14px; --app-t-min: 13px; --app-t-kpi: 28px;
  /* shell: sidebar -> icon rail (tablet) -> bottom bar (phone) */
  --app-side: 240px; --app-rail: 72px; --app-bar: 56px; --app-main-max: 960px;
  --app-row: 46px; --app-touch: 44px;
  /* colours: the V55 tokens (ds.css) */
  --app-paper: #FAF8F4; --app-paper-2: #F2EEE5; --app-card: #FFFFFF; --app-ink: #1F242A; --app-ink-2: #4D5661;
  --app-hair: #E0DACD; --app-hair-2: #C4BBA9; --app-field: #8A8170;
  --app-accent: #0F4C5C; --app-accent-dk: #0A3644; --app-accent-lt: #E3EEF0;
  --app-good: #1B6B3C; --app-good-lt: #E4F1E8; --app-warn: #7A5300; --app-warn-lt: #F7EDD5; --app-bad: #A4262C; --app-bad-lt: #F9E3E3;
  --app-r: 8px; --app-r-sm: 6px;
}
