/* oaudrey.com shared theme: INVERTED palette (2026-11-28).
   Flips the Global Fusion Digest template: dark areas go light, light areas go dark text,
   amber accent becomes a blue accent tuned for contrast. Header stays a beige box.
   One file for every site: apex oaudrey.com (served as /theme.css from site/theme.css),
   corpus.oaudrey.com and mind-mapper.oaudrey.com (their Workers serve the same CSS).
   Source of truth: docs/theme/theme-inverted.css. tests/check-theme.py keeps copies identical
   and checks WCAG AA contrast. Previous palette is saved in docs/theme/theme-light.css. */
:root{
  --bg:#f4f7fb;        /* was #0b1220 (text #f4f7fb and bg swapped) */
  --panel:#e4eaf4;     /* was #131c2e */
  --text:#0b1220;      /* was #f4f7fb */
  --muted:#3f4e66;     /* was #93a1b8 */
  --amber:#1d4ed8;     /* accent: blue (was amber #e8b04b); 6.0:1 on bg */
  --accent:#1d4ed8;
  --red:#b3261e;       /* was #e2483d */
  --line:#b8c4d8;      /* was #22304a */
  --header-bg:#efe4d2; /* beige header box */
  --header-ink:#1a140f;
  --header-line:#1a140f;
  --header-accent:#1a3fb0;
  color-scheme:light;
}
/* Page content rules. Skipped on html.board (the /bots board keeps its own paper design;
   only the header and footer chrome below are shared there). */
html:not(.board) body{background:var(--bg);color:var(--text)}
html:not(.board) a{color:var(--accent)}
html:not(.board) p,html:not(.board) li{color:var(--muted)}
html:not(.board) .lead{color:#243248}
html:not(.board) .note{color:#3f4e66}
html:not(.board) .eyebrow{color:var(--accent)}
html:not(.board) .btn{border-color:var(--line)}
html:not(.board) .btn.primary{background:var(--accent);color:#ffffff;border-color:var(--accent)}
html:not(.board) .btn.ghost{color:var(--text)}
html:not(.board) .card,html:not(.board) details{background:var(--panel);border-color:var(--line)}
html:not(.board) .price{color:var(--text)}
html:not(.board) .flag{color:var(--red)}
html:not(.board) .box{border-color:var(--accent);background:rgba(29,78,216,.07)}
html:not(.board) .badge{border-color:var(--accent);color:var(--accent)}
/* Beige header box, restyled only enough to read on the new palette */
header,.gfd-bar{
  background:var(--header-bg);color:var(--header-ink);
  border:2px solid var(--header-line);border-radius:14px;
  box-shadow:5px 5px 0 var(--header-line);
  width:calc(100% - 28px);max-width:1052px;margin:16px auto 8px;padding:16px 0;
}
.gfd-bar{border-bottom:2px solid var(--header-line)}
header .wrap{padding:0 22px}
header .brand,header .brand a,.gfd-brand,.gfd-brand a{color:var(--header-ink)}
header .brand span,.gfd-brand span{color:var(--header-accent)}
header .nav a,.gfd-nav a{color:var(--header-ink);border-bottom-color:transparent}
header .nav a:hover,header .nav a[aria-current="page"],.gfd-nav a:hover,.gfd-nav a[aria-current="page"]{color:var(--header-accent);border-bottom-color:var(--header-accent)}
html:not(.board) footer{background:transparent;color:var(--muted)}
.gfd-foot{background:var(--bg);color:var(--muted)}
.gfd-foot{border-top:1px solid var(--line)}
.gfd-foot a{color:var(--accent)}
