/* Style tokens. Every page loads this file before its own stylesheet. docs/style.md explains the rules. */
@font-face { font-family: 'Press Start 2P'; src: url(fonts/PressStart2P-latin.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'VT323'; src: url(fonts/VT323-latin.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; src: url(fonts/IBMPlexMono-Regular-latin.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 600; src: url(fonts/IBMPlexMono-SemiBold-latin.woff2) format('woff2'); font-display: block; }
/* Archive study type. Latin subsets from @fontsource, all SIL OFL. */
@font-face { font-family: 'Literata'; font-weight: 400; font-style: normal; src: url(fonts/Literata-Regular.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Literata'; font-weight: 400; font-style: italic; src: url(fonts/Literata-Italic.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Literata'; font-weight: 600; font-style: normal; src: url(fonts/Literata-SemiBold.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Source Serif 4'; font-weight: 400; font-style: normal; src: url(fonts/SourceSerif4-Regular.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Source Serif 4'; font-weight: 400; font-style: italic; src: url(fonts/SourceSerif4-Italic.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Source Serif 4'; font-weight: 600; font-style: normal; src: url(fonts/SourceSerif4-SemiBold.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-style: normal; src: url(fonts/AtkinsonHyperlegible-Regular.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 400; font-style: italic; src: url(fonts/AtkinsonHyperlegible-Italic.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Atkinson Hyperlegible'; font-weight: 700; font-style: normal; src: url(fonts/AtkinsonHyperlegible-Bold.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; src: url(fonts/Inter-Regular.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; src: url(fonts/Inter-Medium.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; src: url(fonts/Inter-SemiBold.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; src: url(fonts/Inter-Bold.woff2) format('woff2'); font-display: block; }
:root {
  /* Tile backing: the background opacity of every dashboard tile. Settings sets it on <html>. */
  --tile-alpha: .7;
  /* Title font: tile and panel headings, name plates. Press Start 2P. */
  --px: 'Press Start 2P', monospace;
  /* Reading font: body text, lists, values. VT323. */
  --vt: 'VT323', ui-monospace, Menlo, monospace;
  /* Label font: small text such as cities, dates, due times, counts, and button captions. Press Start 2P here. */
  --label: var(--px);
  /* Title sizes. Press Start 2P has 8 font pixels per em; at 2x only these sizes land on device pixels. */
  --px-s: 8px; --px-m: 12px; --px-l: 16px;
  /* Label sizes. They equal the title sizes here and change with the label font. */
  --lb-s: var(--px-s); --lb-m: var(--px-m); --lb-l: var(--px-l);
  /* Reading scale. Each reading size multiplies by it. */
  --read-scale: 1;
  --fs-xs: calc(15px * var(--read-scale));
  --fs-s: calc(16px * var(--read-scale));
  --fs-m: calc(18px * var(--read-scale));
  --fs-l: calc(20px * var(--read-scale));
  --fs-xl: calc(22px * var(--read-scale));
  --fs-2xl: calc(26px * var(--read-scale));
  --fs-3xl: calc(30px * var(--read-scale));
  --fs-d1: calc(40px * var(--read-scale));
  --fs-d2: calc(52px * var(--read-scale));
  /* Line height for single-line text. */
  --lh-tight: 1;
  /* Line height for titles. Titles keep their pixel line box in every theme. */
  --lh-title: 1;
  /* Archive study type. The archive reader switches these. docs/style.md has the rules. */
  --face-literata: 'Literata', Georgia, serif;
  --face-sourceserif: 'Source Serif 4', Georgia, serif;
  --face-atkinson: 'Atkinson Hyperlegible', system-ui, sans-serif;
  --face-inter: 'Inter', system-ui, sans-serif;
  --fs-study18: 18px; --fs-study20: 20px; --fs-study22: 22px;
  --fs-studytitle: 20px; --fs-studyui: 16px; --fs-studylabel: 14px;
  --lh-study: 1.6; --lh-studytight: 1.25; --measure-study: 66ch;
  --study-charcoal-bg: #1e1f21; --study-charcoal-ink: #e4e1da; --study-charcoal-dim: #a29f98; --study-charcoal-rule: rgba(228,225,218,.22); --study-charcoal-mark: #e0b25c; --study-charcoal-sel: rgba(228,225,218,.09); --study-charcoal-focus: #8fb8e8;
  --study-paper-bg: #f6f1e6; --study-paper-ink: #25221d; --study-paper-dim: #655f55; --study-paper-rule: rgba(37,34,29,.28); --study-paper-mark: #8a4b0f; --study-paper-sel: rgba(37,34,29,.08); --study-paper-focus: #1d5fa8;
  /* Colors. Only this file holds color literals. */
  /* Role colors. A skin redefines these. */
  --bg: #120d24; --surface: #1f1940; --text: #f4e4c1; --text-dim: #b7b0d8; --accent: #ffd23f; --border: #8d7fe0; --alert: #e0433a;
  /* Older palette names. Each one that matches a role aliases it. */
  --night: var(--bg); --panel: var(--surface); --dim: var(--text-dim); --edge: var(--border); --sun: var(--accent); --cherry: var(--alert);
  --panel2: #2d2560; --edge2: #0a0716; --amber: #ff9a1f; --leaf: #5bc84f; --sky: #7fd8f0; --slate: #6e6894; --grape: #a35be0; --cal-pink: #ff7fbf;
  --store-ink: #161412; --store-paper: #d8ccae; --store-oxblood: #5e1a1a; --store-mustard: #b8892a; --store-bg: #0d0b0a;
  --ember: #f08a2c;
  --cream: #fff8e7;
  --ink: #1a1028;
  /* One-off colors: shadows, gradients, reflections, overlays, and art. The name gives the base color and the alpha percent. */
  --deco-black: #000000;
  --deco-dino-bg: #0d2a00;
  --deco-dino-green: #1f6b35;
  --deco-dino-amber: #ffcc00;
  --deco-dino-orange: #ff7a18;
  --deco-black-a70: rgba(0,0,0,.7);
  --deco-white-a25: rgba(255,255,255,.25);
  --deco-store-bg-a88: rgba(13,11,10,.88);
  --deco-0b0705: #0b0705;
  --deco-241210: #241210;
  --deco-store-paper-a20: rgba(216,204,174,.2);
  --deco-white: #ffffff;
  --deco-1d1b2b: #1d1b2b;
  --deco-f2e8cc: #f2e8cc;
  --deco-e3a24a: #e3a24a;
  --deco-181234-a68: rgba(24,18,52,.68);
  --deco-edge-a95: rgba(141,127,224,.95);
  --deco-edge2-a50: rgba(10,7,22,.5);
  --deco-6f6a8c: #6f6a8c;
  --deco-edge-a35: rgba(141,127,224,.35);
  --deco-tile: rgba(24,18,52,var(--tile-alpha));
  --deco-panel-a97: rgba(31,25,64,.97);
  --deco-panel-a90: rgba(31,25,64,.9);
  --deco-edge2-a60: rgba(10,7,22,.6);
  --deco-sun-a08: rgba(255,210,63,.08);
  --deco-4a4566: #4a4566;
  --deco-ff8c32: #ff8c32;
  --deco-white-a05: rgba(255,255,255,.05);
  --deco-2a2346: #2a2346;
  --deco-edge2-a40: rgba(10,7,22,.4);
  --deco-a02828-a80: rgba(160,40,40,.8);
  --deco-2a2622: #2a2622;
  --deco-3a342e: #3a342e;
  --deco-b8b2d6: #b8b2d6;
  --deco-8f2330: #8f2330;
  --deco-2f7d3b: #2f7d3b;
  --deco-3a6fe0: #3a6fe0;
  --deco-23408f: #23408f;
  --deco-4b2a85: #4b2a85;
  --deco-9a6440: #9a6440;
  --deco-6b7394: #6b7394;
  /* Selected-row fill and its text. */
  --deco-sel: var(--edge); --deco-sel-ink: var(--edge2);
  --deco-edge2-a85: rgba(10,7,22,.85);
  --deco-edge2-a90: rgba(10,7,22,.9);
  --deco-white-a14: rgba(255,255,255,.14);
  --deco-080612-a10: rgba(8,6,18,.1);
  --deco-080612-a78: rgba(8,6,18,.78);
  --deco-080612-a32: rgba(8,6,18,.32);
  --deco-white-a10: rgba(255,255,255,.1);
  --deco-080612-a42: rgba(8,6,18,.42);
  --deco-white-a24: rgba(255,255,255,.24);
  --deco-080612-a50: rgba(8,6,18,.5);
  --deco-white-a60: rgba(255,255,255,.6);
  --deco-000000cc: #000000cc;
  --deco-black-a80: rgba(0,0,0,.8);
  --deco-d8d8d8: #d8d8d8;
  --deco-black-a55: rgba(0,0,0,.55);
  --deco-edge2-a45: rgba(10,7,22,.45);
  --deco-black-a75: rgba(0,0,0,.75);
  --deco-black-a00: rgba(0,0,0,0);
  --deco-leaf-a08: rgba(91,200,79,.08);
  --deco-sky-a08: rgba(127,216,240,.08);
  --deco-9fb4ff: #9fb4ff;
  --deco-white-a04: rgba(255,255,255,.04);
  --deco-ember-a07: rgba(240,138,44,.07);
  --deco-panel2-a40: rgba(45,37,96,.4);
  --deco-3a3270: #3a3270;
  --deco-1b1636: #1b1636;
  --deco-0f0b20: #0f0b20;
  --deco-panel2-a50: rgba(45,37,96,.5);
  --deco-16122c: #16122c;
  --deco-grape-a22: rgba(163,91,224,.22);
  --deco-edge2-a92: rgba(10,7,22,.92);
  --deco-sun-a20: rgba(255,210,63,.2);
  --deco-edge2-a88: rgba(10,7,22,.88);
  --deco-white-a07: rgba(255,255,255,.07);
  --deco-white-a20: rgba(255,255,255,.2);
  --deco-white-a18: rgba(255,255,255,.18);
  --deco-white-a30: rgba(255,255,255,.3);
  --deco-white-a40: rgba(255,255,255,.4);
  --deco-4a4290: #4a4290;
  --deco-7cc4ff: #7cc4ff;
  --deco-1b1640: #1b1640;
  --deco-edge2-a80: rgba(10,7,22,.8);
  --deco-sky-a18: rgba(127,216,240,.18);
  --deco-edge2-a35: rgba(10,7,22,.35);
  --deco-5a0f1e: #5a0f1e;
  --deco-4a3a08: #4a3a08;
  --deco-fff6cc: #fff6cc;
  --deco-5b4a8f: #5b4a8f;
  --deco-34407a: #34407a;
  --deco-2a2352: #2a2352;
}
/* CLEAN text theme. Settings sets data-text="clean" on <html>. Titles and --lh-title stay as in PIXEL. */
:root[data-text="clean"] {
  --vt: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --label: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --lb-s: 11px; --lb-m: 13px; --lb-l: 16px;
  --read-scale: 0.8;
  --lh-tight: 1.2;
}
/* Moss skin. Settings sets data-skin="moss" on <html>. It redefines the roles, the palette names with no role alias, and the chrome deco tokens. Fonts and sizes read like CLEAN. Store and art colors stay. */
:root[data-skin="moss"] {
  --px: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --vt: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --label: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --px-s: 11px; --px-m: 13px; --px-l: 16px;
  --lb-s: 11px; --lb-m: 13px; --lb-l: 16px;
  --read-scale: 0.8;
  --lh-tight: 1.2;
  --bg: #161b16; --surface: #1c221c; --text: #dce3d3; --text-dim: #849081; --accent: #93c06e; --border: #2e392d; --alert: #e0894a;
  --panel2: #263026; --edge2: #0d110d; --amber: #e0a94a; --leaf: #7fae5c; --sky: #7fb3a8; --slate: #6b7868; --grape: #8b7fa8; --cal-pink: #c98a9a;
  --ember: #d97a3c;
  --cream: #dce3d3;
  --ink: #161b16;
  --deco-tile: rgba(28,34,28,var(--tile-alpha));
  --deco-181234-a68: rgba(28,34,28,.68);
  --deco-edge-a95: rgba(46,57,45,.95);
  --deco-edge-a35: rgba(46,57,45,.35);
  --deco-edge2-a35: rgba(13,17,13,.35);
  --deco-edge2-a40: rgba(13,17,13,.4);
  --deco-edge2-a45: rgba(13,17,13,.45);
  --deco-edge2-a50: rgba(13,17,13,.5);
  --deco-edge2-a60: rgba(13,17,13,.6);
  --deco-edge2-a80: rgba(13,17,13,.8);
  --deco-edge2-a85: rgba(13,17,13,.85);
  --deco-edge2-a88: rgba(13,17,13,.88);
  --deco-edge2-a90: rgba(13,17,13,.9);
  --deco-edge2-a92: rgba(13,17,13,.92);
  --deco-panel-a90: rgba(28,34,28,.9);
  --deco-panel-a97: rgba(28,34,28,.97);
  --deco-panel2-a40: rgba(38,48,38,.4);
  --deco-panel2-a50: rgba(38,48,38,.5);
  --deco-080612-a10: rgba(10,13,10,.1);
  --deco-080612-a32: rgba(10,13,10,.32);
  --deco-080612-a42: rgba(10,13,10,.42);
  --deco-080612-a50: rgba(10,13,10,.5);
  --deco-080612-a78: rgba(10,13,10,.78);
  --deco-sun-a08: rgba(147,192,110,.08);
  --deco-sun-a20: rgba(147,192,110,.2);
  --deco-leaf-a08: rgba(127,174,92,.08);
  --deco-sky-a08: rgba(127,179,168,.08);
  --deco-sky-a18: rgba(127,179,168,.18);
  --deco-grape-a22: rgba(139,127,168,.22);
  --deco-ember-a07: rgba(217,122,60,.07);
  --deco-6f6a8c: #6b7868;
  --deco-4a4566: #3d4a3c;
  --deco-2a2346: #232c23;
  --deco-2a2352: #263026;
  --deco-b8b2d6: #a9b5a2;
  --deco-3a3270: #2e392d;
  --deco-1b1636: #1a201a;
  --deco-1b1640: #1a201a;
  --deco-0f0b20: #121712;
  --deco-16122c: #171d17;
  --deco-6b7394: #6b7868;
  --deco-sel: var(--accent); --deco-sel-ink: var(--bg);
  --deco-4a4290: #3d4a3c;
  --deco-5b4a8f: #3d4a3c;
  --deco-34407a: #3f5a46;
}
