/* The Kamlo look on the site and the app pages (home, pricing, sign-in, account), only with KAMLO_BRAND=1 (src/lib/brand.ts).
   Round two, 24 Nov 2026: colours from the kamlo-brand skill. Paper page, ink words, deep purple buttons and links, pale
   purple chips, Lo yellow once a screen, Arial only, no gradients. The old Study Desk CSS stays byte for byte; these are
   token changes on top. html:root wins over :root whatever order the stylesheets load in. */
html:root{
  --c-mist:#FFFCF2; --c-paper:#FFFFFF; --c-ink:#221C35; --c-slate:#5E5873; --c-night:#221C35;
  --line-light:#E6E1F2; --dim-light:#5E5873;
  --night-2:#2D2645; --night-line:#463C69; --on-night:#FFFCF2; --on-night-2:#D9D2F5; --on-night-3:#B9B0D8; --dim-night:#B9B0D8;
  --accent:#5A4A9E; --accent-2:#5A4A9E; --accent-ink:#FFFFFF; --accent-soft:#EEEBFB;
  --c-math:#3F3478; --c-science:#1F5A3D; --c-econ:#7A3A1E; --c-english:#7A2C45;
  --b-math:#D9D2F5; --b-science:#CFE8DA; --b-econ:#F8D8C6; --b-english:#F2D3DC;
  --glow:none;
  --kamlo-yellow:#F5D547; --kamlo-butter:#FBF1C4; --kamlo-red:#C2372F;
  --font-heading:Arial,Helvetica,"Helvetica Neue",system-ui,sans-serif;
  --font-display:Arial,Helvetica,"Helvetica Neue",system-ui,sans-serif;
  --font-body:Arial,Helvetica,"Helvetica Neue",system-ui,sans-serif;
  --btn-bg:#5A4A9E; --btn-ink:#FFFFFF; --btn-hover:#4C3E88; --ring:#5A4A9E;
}
html:root body{background:#FFFCF2}
html .ground-night{ --btn-bg:#F5D547; --btn-ink:#221C35; --btn-hover:#F5D547; --ring:#FFFCF2 }
html .ground-mist,html .ground-paper,html .ground-bright{ --btn-bg:#5A4A9E; --btn-ink:#FFFFFF; --btn-hover:#4C3E88; --ring:#5A4A9E }
html .ground-mist{ background:#FFFCF2 }
html .ground-bright{ background:#FFFCF2 }
html .ground-paper{ background:#FFFFFF }
/* buttons: flat deep purple, no gradient, no glow */
html :is(:root,.ground-mist,.ground-paper,.ground-bright) .button{background:#5A4A9E;box-shadow:none;color:#FFFFFF}
html :is(:root,.ground-mist,.ground-paper,.ground-bright) .button:hover{background:#4C3E88}
html .ground-night .button{background:#F5D547;color:#221C35;box-shadow:none}
html .ground-night .button:hover{background:#F5D547;filter:brightness(.95)}
html .button__go{background:rgba(255,255,255,.2)}
html .ground-night .button__go{background:rgba(34,28,53,.12)}
html .site-header .button{background:#5A4A9E;box-shadow:none}
html .site-header .button:hover{background:#4C3E88}
html .site-header{background:#FFFCF2}
html ::selection{background:#D9D2F5;color:#221C35}
html .h2 .dim{color:#5A4A9E}
html .ground-night .h2 .dim{color:#D9D2F5}
html .logo__lockup{height:30px}
html .site-footer .logo__lockup{height:26px;opacity:1}
/* the course spectrum: four short bookmarks in course colours, no tilt */
html .spectrum i{transform:none;border-radius:0}

/* Round two on the app's own pages (hashed CSS modules): tokens only, names and colours, nothing moved. */
html:root:root:root [class*="_page"]{--bg:#FFFCF2;--card:#FFFFFF;--ink:#221C35;--ink2:#4A4262;--ink3:#5E5873;--line:#E6E1F2;--soft:#EEEBFB;--pill:#D9D2F5;
  --blue:#5A4A9E;--ring:#221C35;--grid:transparent;--shadow:none;--late:#C2372F;
  --c-math:#3F3478;--c-science:#1F5A3D;--c-econ:#7A3A1E;--c-english:#7A2C45;
  --sys:Arial,Helvetica,sans-serif;--serif:Arial,Helvetica,sans-serif;--font-body:Arial,Helvetica,sans-serif;--font-heading:Arial,Helvetica,sans-serif;
  color-scheme:light;background:#FFFCF2}
html:root:root:root body:has([class*="_page"]){background:#FFFCF2}
html:root:root:root [class*="_clean"] [class*="_primary"]{background:#5A4A9E;color:#fff}
html:root:root:root [class*="_clean"] [class*="_pTick"][data-on="true"]{background:#221C35}
