/* The Activest design book's tokens (FRwCBAqUCf4Yu8JW8Z3nBT, tokens.json), light theme, generated 2026-10-14. */
:root {
  --brand-ink: #000000;
  --brand-paper: #FFFFFF;
  --brand-limestone: #E8E7E3;
  --brand-sand: #A58F63;
  --brand-mulberry: #7A1F6B;
  --surface: #FFFFFF;
  --surface-2: #F3F3F0;
  --surface-3: #E8E7E3;
  --text: #000000;
  --text-2: #4A4945;
  --text-3: #686661;
  --line: #D9D7D1;
  --line-strong: #7A7770;
  --accent: #7A1F6B;
  --accent-soft: #F2E9F1;
  --accent-fill: #000000;
  --on-accent-fill: #FFFFFF;
  --action: #7A1F6B;
  --on-action: #FFFFFF;
  --action-hover: #5E1752;
  --link: #7A1F6B;
  --focus: #7A1F6B;
  --positive: #1F4F5A;
  --positive-soft: #E2EDEF;
  --negative: #B0402E;
  --negative-soft: #F7E7E3;
  --warning: #7A5B12;
  --warning-soft: #F4EEDC;
  --data-1: #000000;
  --data-2: #6E6C66;
  --data-3: #A58F63;
  --data-act: #7A1F6B;
  --data-muted: #D2D1CC;
  /* chart categories, one colour per expense group on every chart (19 Oct; validated for colour-blind readers) */
  --cat-1: #1F6FB2; --cat-2: #C98A14; --cat-3: #9C4DB0; --cat-4: #3F8F3F; --cat-5: #D4568B; --cat-6: #1AA1C7;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-round: 9999px;
  --stroke-hairline: 1px;
  --stroke-strong: 2px;
  --stroke-double: 3px;
  --layout-measure: 68ch;
  --layout-content-max: 720px;
  --layout-email-max: 600px;
  --layout-page-max: 1200px;
  --layout-margin: clamp(24px, 8vw, 96px);
  --shadow-overlay: 0 12px 32px rgba(0, 0, 0, 0.14);
  --font-sans: "IBM Plex Sans Hebrew", "Segoe UI", Arial, sans-serif;
  --font-display: "IBM Plex Sans Hebrew", "Segoe UI", Arial, sans-serif;
}

/* The house (24 Nov 2026): the look of every page inside. What the book above does not have, and the values it changes. A warm ground with
   white sheets on it; a frame of lighter cream; one sheet in full teal, for the page's one thing; a light amber one for what is to finish; gold
   for a rule and a total; a serif for a title and a figure, the sans for every word, the mono only for a code to copy. A colour says
   what a thing is, and always beside a word or a shape: teal for income, for a net at or above zero and for what is reconciled;
   red for a cost and for what is below zero; amber for what is to finish; yellow for what is held; mulberry for what the owner does and for where they are; on the
   map, green for rented. Words at 4.5 to 1 on what is behind them, a mark or a ring at 3 to 1. */
/* stand-ins until the web fonts arrive, at their widths in a title's sizes, so no line breaks in another place */
@font-face { font-family: "Newsreader Stand-in"; src: local("Georgia"); size-adjust: 96%; }
@font-face { font-family: "Frank Ruhl Stand-in"; src: local("Times New Roman"); size-adjust: 107%; }
@font-face { font-family: "Heebo Stand-in"; src: local("Arial"); size-adjust: 98%; }
@font-face { font-family: "Heebo Stand-in"; src: local("Arial"); size-adjust: 103%; unicode-range: U+590-5FF; }
@font-face { font-family: "Plex Hebrew Stand-in"; src: local("Arial"); size-adjust: 104%; unicode-range: U+590-5FF; }      /* the sans: its Latin is Arial's width already */
@font-face { font-family: "Plex Mono Stand-in"; src: local("Menlo"), local("Courier New"); unicode-range: U+20-24F, U+2010-2044, U+20A0-20CF, U+2212; }
:root {
  /* the frame: the head and the menu. All of it is here, and no other rule knows its colours: a darker frame is these lines again */
  --frame: #FBF8F1;                             /* the head's and the menu's ground */
  --frame-2: #F0E4CB;                           /* under where the person is */
  --frame-text: #4A4536;                        /* its words */
  --frame-mark: #7A1F6B;                        /* where the person is: the word and the bar; and the ring of what is focused */
  --frame-rule: 2px solid #E3BE62;              /* under the head */
  --frame-line: 1px solid #E4DAC6;              /* beside the menu, and between its parts */
  --frame-box: #FFFFFF; --frame-box-line: #CDBF9F; --frame-box-hover: #F6EEDC;      /* the language, the way in and the way out: boxes */
  --frame-logo: normal;                         /* the ink logo, as the page names it; on a dark frame url("logo-on-black.c080226c3f13.svg") */

  /* the ground, the sheets on it, and their lines */
  --text: #1A1A18;                              /* the ink; black stays the brand's */
  --ground: #F4EEE2;
  --sheet: var(--surface);
  --surface-2: #FBF7EE;                         /* a shade inside a sheet: every second row, a row pointed at */
  --surface-3: #F1E9D8;
  --line: #E4DAC6;
  --line-strong: #8B8069;                       /* a box's line too: 3 to 1 on a sheet and on the ground */
  --gold: #E3BE62;
  --on-gold: #35102F;
  --sand: #EFE4CC;                              /* a table's head */
  --on-sand: #4A3A14;
  --teal: #1F4F5A;                              /* the sheet in full colour: the month, a record that ties, the margin beside sign-in */
  --on-teal: #FFFFFF;
  --on-teal-2: #C9DEE2;                         /* its small words */
  --on-teal-in: #BFE6C6; --on-teal-out: #FFC9BC;      /* income and a cost, pale enough to be read on it */
  --on-teal-line: rgba(255, 255, 255, .22);
  --brick: #8E3022;                             /* the same sheet, where the month is below zero */
  --radius: 6px;
  --radius-box: 4px;                            /* a button, a box to fill */
  --sheet-pad: 24px;                            /* inside a sheet */
  --sheet-gap: 28px;                            /* between two sheets */
  --shadow-sheet: 0 1px 2px rgba(53, 16, 47, .05);

  /* what a colour means, by name; -soft is its ground */
  --income: var(--positive);
  --cost: var(--negative);
  --held: var(--warning);
  --ok: #1E5722; --ok-soft: #CFE7D1;
  --warn: #5C3F00; --warn-soft: #FBE3A8; --warn-edge: #E0A526;
  --bad: #8A2414; --bad-soft: #F9D3C9;
  --held-fill: #F2C14E; --on-held: #4A3000; --held-line: #8A5A06;
  --act-soft: #F5E6F1; --act-edge: #A9739D;      /* what the owner does: a box to drop files on, a button pointed at, what is chosen */
  --in-soft: #CFE0E4; --in: #163B43; --out-soft: #F2CFC6; --out: #7A2417;      /* a head over income, a head over costs: the P&L's own two */
  --rented: var(--cat-4);                       /* the map's green: a mark only, never a word (4 to 1 on white) */
  --vacant: var(--negative);
  /* To finish: what only the owner can give. A light amber sheet, the amber itself on its edge; no figure wears it */
  --finish: #FCF1DA; --finish-line: #EBD3A2; --finish-edge: #DE9A3C; --finish-title: #6B4300; --on-finish: #2B2614;
  --finish-rule: #E6CB95; --finish-hair: #EEDDB8; --finish-under: #C9A96A;      /* over its lines, between two, under a link */
  --teal-soft: #DCEBEE; --teal-line: #B9D3D8;   /* the month in a line or a panel: a digest, an answer, what is being read */
  /* the charts: the groups' own colours are above (--cat-1 to --cat-6, --data-2, --data-3) */
  --data-1: #35102F;
  --data-income: #4E8E9A;
  --data-muted: #A38C55;
  --bar: #2E7D8C; --bar-track: #EFE6D3;
  /* a button that is not the page's one act */
  --btn-line: #9C7293; --btn-text: #5E1752; --btn-hover: var(--act-soft);

  --font-display: Newsreader, "Newsreader Stand-in", Georgia, "Frank Ruhl Libre", serif;
  --font-mono: "IBM Plex Mono", "Plex Mono Stand-in", var(--font-sans), monospace;      /* a code to copy, and nothing else */
  --font-label: var(--font-sans);
  /* the Hebrew faces, named here and nowhere else (base.html asks for them): the sans for every word on a Hebrew page, its Latin and its
     figures too, and the serif for a title and a figure */
  --sans-he: Heebo, "Heebo Stand-in", "Segoe UI", Arial, sans-serif;
  --display-he: "Frank Ruhl Libre", "Frank Ruhl Stand-in", David, serif;
  --rule: 1px solid var(--line);                /* between two rows */
  --rule-gold: 2px solid var(--gold);           /* on top of a chapter, under a table's head */
  --rule-ink: 1px solid var(--text);            /* on top of a total */
  --rule-double: 3px double var(--text);        /* under one */
  --gutter: clamp(20px, 4.5vw, 64px);
  --gap-section: 48px;
  --tight: -0.012em;                            /* the display face only; a title's is a third more */
  --type-lead: 500 clamp(52px, 5.6vw, 80px)/1 var(--font-display);   /* the one figure of a page */
  --type-h1: 500 clamp(32px, 26px + 1.2vw, 44px)/1.1 var(--font-display);
  --type-figure: 500 38px/44px var(--font-display);                  /* a figure in a row of figures */
  --type-h2: 500 26px/32px var(--font-display);
  --type-h3: 500 22px/28px var(--font-display);
  --type-label: 500 13px/20px var(--font-label);
  --type-head: 600 13px/18px var(--font-label);
}
:root:lang(he), .report-card:lang(he) {         /* Hebrew, a page or a report drawn in it on an English page: its labels a point larger; no tracking */
  --font-sans: var(--sans-he);
  --font-label: var(--font-sans);
  --tight: 0em;
  --type-label: 500 14px/20px var(--font-label);
  --type-head: 600 13px/18px var(--font-label);
}
:root:lang(he) { --font-display: var(--display-he); }
@media (max-width: 700px) { :root { --sheet-pad: 18px; --sheet-gap: 20px; } }
@media (forced-colors: active) and (prefers-color-scheme: dark) { :root { --frame-logo: url("logo-on-black.c080226c3f13.svg"); } }      /* where the system paints the head black */
/* the landing page is not in the house: it keeps the book's own values of what is changed above */
.landing { --surface-2: #F3F3F0; --surface-3: #E8E7E3; --line: #D9D7D1; --line-strong: #7A7770; --radius-box: 0; --btn-line: var(--line-strong); --btn-text: var(--text); --btn-hover: var(--surface); }
