/* Onggi app look. Loaded after every other app stylesheet, before onggi-shell.css.
   Muted graphite, no colored accent: the main action is light grey; only status colors keep a muted hue. Dark is the default. The palette lives in the token files (tools/onggi-skin.py);
   this sheet sets the type: Archivo Expanded (the wide cut) for titles, text and numbers. No gradients, glow or shadows; soft rounded corners. */
@font-face{font-family:"Archivo Expanded";font-style:normal;font-weight:100 900;font-display:swap;src:url(/fonts/archivo-expanded-var.woff2) format("woff2")}
:root,:root.dark,.dark{
  --og-display:"Archivo Expanded",sans-serif;
  --og-sans:"Archivo Expanded",-apple-system,"Segoe UI",sans-serif;
  --font:var(--og-sans);--font-sans:var(--og-sans);--sans:var(--og-sans);--wide:var(--og-sans);
  --radius:20px;--control:12px;
  --og-bg:#1B1C1E;--og-raised:#232427;--og-card:#2A2B2F;--og-line:#36383C;
  --og-text:#EDEDEB;--og-text-2:#B8B9B6;--og-muted:#8A8B88;--og-faint:#6E6F6C;
  --og-accent:#E6E6E3;--og-accent-2:#D2D2CE;--og-on-accent:#1B1C1E;--og-pos:#8DB49A;--og-warn:#C9A15A;--og-risk:#C0786C;
}
/* light theme: warm paper greys, graphite ink; the main action turns graphite; darker muted status colors */
:root:not(.dark){
  --og-bg:#F7F7F5;--og-raised:#EFEFEC;--og-card:#E8E8E4;--og-line:#DCDCD7;
  --og-text:#1B1C1E;--og-text-2:#36383C;--og-muted:#6E6F6C;--og-faint:#8A8B88;
  --og-accent:#2A2B2F;--og-accent-2:#1B1C1E;--og-on-accent:#EDEDEB;
  --positive:#4F7A5D;--negative:#A5554A;--capital-warning:#8E6E2E;--og-pos:#4F7A5D;--og-warn:#8E6E2E;--og-risk:#A5554A;
}
body{letter-spacing:-.005em}

/* titles in Archivo Expanded (the selector outranks nacre-ui's #app-main font rule) */
#app-main :is(h1,h2,.text-capital-title):not(code):not(pre):not(pre *):not(code *):not(svg *){font-family:var(--og-display)!important;font-weight:400!important;letter-spacing:0!important}
#app-main h1:not(code):not(pre):not(pre *):not(code *):not(svg *){text-transform:uppercase;font-weight:500!important;letter-spacing:-.01em!important}
#app-main h2:not(code):not(pre):not(pre *):not(code *):not(svg *){font-weight:400!important}
/* numbers in Archivo Expanded, tabular */
#app-main :is(.pl-stats b,.ov-card>b):not(svg *){font-family:var(--og-sans)!important;font-weight:500!important;font-variant-numeric:tabular-nums;letter-spacing:-.01em!important}

/* the jar mark is white; on the light theme it turns black */
:root:not(.dark) img[src="/img/mark.png"]{filter:invert(1)}

/* the main action of each screen is light grey with graphite text (graphite on the light theme) */
.button.primary{background:var(--og-accent)!important;color:var(--og-on-accent)!important}
.button.primary:hover{background:var(--og-accent-2)!important}
.button.primary svg{color:inherit!important}

/* anything that sits on the light-grey accent takes graphite ink */
.nx-avatar{background:var(--og-accent)!important;color:var(--og-on-accent)!important}
