/* Weaver Panel's scale: sizes, type steps, spacing, motion — the 20 rules of design/research/2026-10-23-panel-app-look.md
   (13 px text, 28–32 px controls, panels 4–8 px apart). The look (font, colours, surfaces, radii, shadows) is not here:
   it is the theme (design/themes/*.css), one file to swap when the look changes (spec, §2). Components use only the names
   of this file and of the theme's contract. */

:root {
  /* type: 13 px root; the scale has six steps and no other — 12 px is the floor (11 px went, design audit 11.11: П1-11, П2-05) */
  --fs-12: 12px; --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-20: 20px; --fs-24: 24px;
  --fs-hero: 32px;             /* the one big sum of a screen (the shift's cash, Mercury's balance), nothing else */
  --lh-tight: 1.2; --lh: 1.35; --lh-text: 1.45;
  --w-regular: 350; --w-medium: 420; --w-semi: 500; --w-bold: 600;   /* Medeo thinner than its own (the owner, 30.10; another half step 02.11: too heavy at Windows 125 %) */
  /* text under 14 px is never thinner than 420: at 350 its stroke is under a pixel and the letters pale (rule Р-8; design audit
     11.11, П1-22, П2: 3338 such texts in a run; the owner 11.11, quiz 12 Б). The page's text (13 px) takes it; --w-regular is
     for text of 14 px and more — a part that sets such a size and no weight of its own says --w-regular. Medeo draws 420 itself
     (its weight axis is 100–900, no nearest instance) */
  --w-small: 420;

  /* sizes: a control is one of three heights — small, usual (the menu's items too) and the money's (design audit 01.11: 14
     heights from 22 to 44 were drawn); the theme gives them (club.css: 30 / 34 / 44), these are the same so a part read alone
     says the truth. Corners: the theme's three (--r-ctl, --r-panel, --r-tag), a nested one a step under its frame
     (calc(var(--r-ctl) ± 1px)), and the circle or the capsule (999px); 1–4 px only for the marks of a chart or a timeline */
  --h-sm: 30px; --h-md: 34px; --h-money: 44px;
  --row: 32px; --row-dense: 28px;
  --pad: 12px; --pad-lg: 16px;
  --gap: 6px;                  /* between panels */
  --menu-w: 220px; --menu-w-min: 52px; --top-h: 48px; --sheet-w: 440px;

  /* motion */
  --t-fast: .12s;
  --t-state: .2s;              /* a state that changes: a seat taken, a sheet in */
  --ease: cubic-bezier(.2, 0, 0, 1);
}
