/* ابرهوش brand (brand kit: abarhoosh-tokens.css). Added by the server to ابرهوش's own pages only: not to schools built
   with the school builder, not to the Hazrat Narjes institute site, not to company shops.
   It maps the brand tokens onto the names each part already uses: app.css and the workspace (--bg, --accent, ...),
   the hub (same names), and the public site (--sf, --ac, ...). "html:root" outranks the pages' own ":root" wherever it sits. */
html:root{
  --ah-primary:#1565C0; --ah-primary-hover:#0D47A1; --ah-accent:#64B5F6; --ah-ink:#37474F; --ah-ink-strong:#1C262B; --ah-ink-muted:#546E7A;
  --ah-surface:#F5F5F5; --ah-surface-card:#FFFFFF; --ah-border:#CFD8DC; --ah-icon:url(/brand/android-chrome-192x192.png);
  --bg:#F5F5F5; --surface:#FFFFFF; --surface2:#ECEFF1; --ink:#1C262B; --muted:#546E7A; --line:#CFD8DC;
  --accent:#1565C0; --accent-ink:#FFFFFF; --accent-soft:#E3EEFA;
  --sf:#FFFFFF; --mu:#546E7A; --ln:#CFD8DC; --ac:#1565C0; --as:#E3EEFA; --ft:#0D2C4F; --fi:#BBDEFB;
}
@media (prefers-color-scheme:dark){html:root:not([data-theme="light"]){
  --ah-primary:#42A5F5; --ah-primary-hover:#64B5F6; --ah-accent:#1565C0; --ah-ink:#ECEFF1; --ah-ink-strong:#FFFFFF; --ah-ink-muted:#B0BEC5;
  --ah-surface:#12181B; --ah-surface-card:#1C252A; --ah-border:#263238;
  --bg:#12181B; --surface:#1C252A; --surface2:#243036; --ink:#ECEFF1; --muted:#B0BEC5; --line:#2E3C43;
  --accent:#42A5F5; --accent-ink:#0A1A29; --accent-soft:#163650;
  --sf:#1C252A; --mu:#B0BEC5; --ln:#2E3C43; --ac:#42A5F5; --as:#163650; --ft:#0B1114; --fi:#B0BEC5;
}}
html:root[data-theme="dark"]{
  --ah-primary:#42A5F5; --ah-primary-hover:#64B5F6; --ah-accent:#1565C0; --ah-ink:#ECEFF1; --ah-ink-strong:#FFFFFF; --ah-ink-muted:#B0BEC5;
  --ah-surface:#12181B; --ah-surface-card:#1C252A; --ah-border:#263238;
  --bg:#12181B; --surface:#1C252A; --surface2:#243036; --ink:#ECEFF1; --muted:#B0BEC5; --line:#2E3C43;
  --accent:#42A5F5; --accent-ink:#0A1A29; --accent-soft:#163650;
}
/* the site's "basic" course colour follows the brand blue */
html .c-basic{--c:#1565C0;--cs:#E3EEFA}
@media (prefers-color-scheme:dark){html .c-basic{--c:#42A5F5;--cs:#163650}}
/* primary buttons darken on hover, as in the kit */
.btn.pri:hover,.btn.p:hover{filter:brightness(.92)}
/* the mark before the name: page headers, the site's menu and footer (not before a company's name in its workspace) */
.logo b:not(#cname)::before,nav.t a.lg::before,footer .w>div:first-child>b::before{content:"";display:inline-block;width:1.3em;height:1.3em;margin-inline-end:.35em;vertical-align:-.3em;background:var(--ah-icon) center/contain no-repeat}
/* the logo above every sign-in form: the shared form (#lgf) and its password recovery (#fpf), the learner and the owner sign-in (#lf), the recorded-class sign-in (#sf).
   Only on a form that is a card: the hub's dialogs also use the id "sf".
   A small copy of the kit's vertical logo; its tagline is black, so on a dark page it sits on a white plate. */
form.card#lgf::before,form.card#fpf::before,form.card#lf::before,form.card#sf::before{content:"";display:block;height:112px;background:url(/brand/logo-login.webp) center/contain no-repeat}
@media (prefers-color-scheme:dark){html:root:not([data-theme="light"]) form.card#lgf::before,html:root:not([data-theme="light"]) form.card#fpf::before,html:root:not([data-theme="light"]) form.card#lf::before,html:root:not([data-theme="light"]) form.card#sf::before{background-color:#fff;border-radius:14px;background-size:auto 86%}}
html:root[data-theme="dark"] form.card#lgf::before,html:root[data-theme="dark"] form.card#fpf::before,html:root[data-theme="dark"] form.card#lf::before,html:root[data-theme="dark"] form.card#sf::before{background-color:#fff;border-radius:14px;background-size:auto 86%}
