/* ArborGen branding for every page of the site (Scott, 15 Oct: "add the arborgen branding ... to the entire app, including
   all pages"). Source: ArborGen Brand Guidelines v1 (05/20/26; seed-inventory/static/ArborGenLogoFiles), contact MacKenzie
   Henderson. Loaded LAST in every page's <head> (after the page's own styles, so the same selectors here win), by the server's
   own pages (SitePage.cs), and by Production entry's pages through the proxy (ProxyHtml.cs).

   Palette, as the guide's accessible-combination chart allows it for text:
     ArborGen Green  #6B8C3B  primary anchor: the logo, accent bars, LARGE text only (3.9:1 on white)
     Deep Forest     #52692F  green text, links and button fills with white text (AA)
     Earth Brown     #544842  headings (AAA on white and sand); used sparingly
     Muted Green #A2B682, Bright Green #A5C66B  tints and the dark theme's greens
     Sand #F2EEDD, Charcoal #4D5359, white  the neutrals (70% of the page)
     Soft Blue #4971B8  accent: focus rings
   Type: Roboto Slab for headings and key figures; the guide's body face (Myriad Variable Concept) is a paid Adobe font, so the
   body stays Source Sans 3, Adobe's open humanist sans of the same family of design. The dark theme is derived from the same
   palette (the guide has none). */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500;600;700;800&display=swap");

:root{
  --ag-green:#6B8C3B; --ag-forest:#52692F; --ag-forest-deep:#435727; --ag-brown:#544842; --ag-muted-green:#A2B682;
  --ag-bright-green:#A5C66B; --ag-sand:#F2EEDD; --ag-charcoal:#4D5359; --ag-blue:#4971B8;
  --ag-display:"Roboto Slab",Georgia,"Times New Roman",serif;
  --ag-body:"Source Sans 3","Segoe UI",system-ui,sans-serif;
  --display:var(--ag-display); --body:var(--ag-body);   /* the walkthrough page's names */

  color-scheme:light;
  --bg:#F2EEDD; --surface:#ffffff; --surface-2:#F5F2E7; --surface-3:#E9E3CF;
  --ink:#2F3337; --ink-2:#4D5359; --muted:#676B6F; --line:#E2DBC7; --line-2:#CDC4AA;
  --accent:#52692F; --accent-ink:#52692F; --accent-soft:#E8EDE0; --accent-bar:#6B8C3B;
  --good:#52692F; --good-soft:#E3ECD3; --green:#52692F; --green-soft:#E3ECD3;
  --focus:#4971B8;
  --ag-heading:#544842; --ag-title-accent:#6B8C3B; --ag-logo-light:inline-block; --ag-logo-dark:none;
  /* the top bar (nav.js) */
  --nlk-surface:#ffffff; --nlk-surface-2:#F2EEDD; --nlk-ink:#2F3337; --nlk-ink-2:#4D5359; --nlk-muted:#676B6F;
  --nlk-line:#E2DBC7; --nlk-line-2:#CDC4AA; --nlk-accent:#6B8C3B; --nlk-accent-ink:#52692F; --nlk-accent-soft:#E8EDE0;
  --nlk-bg:#F2EEDD; --nlk-focus:#4971B8;
  /* the step bar at the foot (nav.js, 6 Nov): its green button, and the red of a required cell still to fill */
  --nlk-go:#52692F; --nlk-go-ink:#ffffff; --nlk-need:#C62828;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --bg:#1A1917; --surface:#23221F; --surface-2:#2B2925; --surface-3:#34312C;
    --ink:#EDE9DC; --ink-2:#C9C4B5; --muted:#9E998C; --line:#3A3732; --line-2:#4B4740;
    --accent:#A5C66B; --accent-ink:#B9D48C; --accent-soft:#2D3822; --accent-bar:#8FB05A;
    --good:#A5C66B; --good-soft:#2D3822; --green:#A5C66B; --green-soft:#2D3822;
    --focus:#7E9FD6;
    --ag-heading:#EDE9DC; --ag-title-accent:#A5C66B; --ag-logo-light:none; --ag-logo-dark:inline-block;
    --nlk-surface:#23221F; --nlk-surface-2:#2B2925; --nlk-ink:#EDE9DC; --nlk-ink-2:#C9C4B5; --nlk-muted:#9E998C;
    --nlk-line:#3A3732; --nlk-line-2:#4B4740; --nlk-accent:#A5C66B; --nlk-accent-ink:#B9D48C; --nlk-accent-soft:#2D3822;
    --nlk-bg:#1A1917; --nlk-focus:#7E9FD6;
    --nlk-go:#A5C66B; --nlk-go-ink:#1A1917; --nlk-need:#FF7B7B;
  }
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#1A1917; --surface:#23221F; --surface-2:#2B2925; --surface-3:#34312C;
  --ink:#EDE9DC; --ink-2:#C9C4B5; --muted:#9E998C; --line:#3A3732; --line-2:#4B4740;
  --accent:#A5C66B; --accent-ink:#B9D48C; --accent-soft:#2D3822; --accent-bar:#8FB05A;
  --good:#A5C66B; --good-soft:#2D3822; --green:#A5C66B; --green-soft:#2D3822;
  --focus:#7E9FD6;
  --ag-heading:#EDE9DC; --ag-title-accent:#A5C66B; --ag-logo-light:none; --ag-logo-dark:inline-block;
  --nlk-surface:#23221F; --nlk-surface-2:#2B2925; --nlk-ink:#EDE9DC; --nlk-ink-2:#C9C4B5; --nlk-muted:#9E998C;
  --nlk-line:#3A3732; --nlk-line-2:#4B4740; --nlk-accent:#A5C66B; --nlk-accent-ink:#B9D48C; --nlk-accent-soft:#2D3822;
  --nlk-bg:#1A1917; --nlk-focus:#7E9FD6;
  --nlk-go:#A5C66B; --nlk-go-ink:#1A1917; --nlk-need:#FF7B7B;
}

/* Headings: Roboto Slab, H1 extra-bold and H2 semibold in Earth Brown; H3 and smaller in the sans, semibold (the guide's
   hierarchy). Generous line spacing for paragraphs. */
h1,h2,.display{font-family:var(--ag-display)}
h1{font-weight:800}
h2{font-weight:600;color:var(--ag-heading)}
h3,h4{font-family:var(--ag-body);font-weight:700}

/* Key figures (tiles, KPI values, the S/4 app names) in the slab; small controls stay in the sans. These class names are the
   site's own and Production entry's, so a page that loads this file without being edited for it gets the same type. */
.tile-v,.kpi .v,.kv .v.big,.num,.appbox .app,.appbox b,.app b,.cm-top .n{font-family:var(--ag-display)}
.yearpick select,.pick select,.seg button,.stp b,details.set summary,.field-l{font-family:var(--ag-body)}
/* Links and accent buttons draw from --accent / --accent-ink above: Deep Forest Green with white text in light (a darker
   shade on hover); in dark the bright green with dark text on every page (some pages kept white text there). */
.btn.primary:hover{background:var(--ag-forest-deep);border-color:var(--ag-forest-deep)}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .btn.primary{color:#1A1917}
  :root:not([data-theme="light"]) .btn.primary:hover{background:var(--accent-ink);border-color:var(--accent-ink)}
}
:root[data-theme="dark"] .btn.primary{color:#1A1917}
:root[data-theme="dark"] .btn.primary:hover{background:var(--accent-ink);border-color:var(--accent-ink)}
