/* Type. Apple's system font first (SF Pro on iPhone, iPad and Mac), then the
   app's own Manrope file as the fallback. Remove the 85% page zoom: these sizes
   are the real sizes. The body element carries the device type class
   (map to whatever the app uses today: surface-parent / -kitchen / -helper). */
:root {
  --font: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --tracking-tight: -0.025em;
  --tracking-title: -0.015em;
  --tracking-label: 0.05em;   /* uppercase eyebrow labels */

  /* Parent devices (iPhone, parents' iPad, Mac). Compact, as the owner asked on 2026-11-27 ("the text size is too
     big and there's too much space"): body 15px, like iOS Mail and Calendar lists. */
  --fs-caption: 0.6875rem;     /* menu labels on iPhone tab bar: 10px is allowed only there */
  --fs-footnote: 0.75rem;
  --fs-sub: 0.8125rem;
  --fs-body: 0.9375rem;
  --fs-headline: 1rem;
  --fs-title-3: 1.125rem;
  --fs-title-2: 1.25rem;
  --fs-title-1: 1.5rem;
  --fs-large: 1.75rem;
  --fs-menu-label: 0.75rem;   /* the labels under the menu row's icons on an iPad or Mac: 12px (10px could not be read on a Mac) */
}
/* Kitchen display: read from 2 to 3 metres. Body 22px. */
.surface-kitchen {
  --fs-caption: 0.9375rem; --fs-footnote: 1rem; --fs-sub: 1.125rem; --fs-body: 1.375rem;
  --fs-headline: 1.5rem; --fs-title-3: 1.75rem; --fs-title-2: 2rem; --fs-title-1: 2.5rem;
  --fs-large: 3.25rem; --fs-menu-label: 0.8125rem;
}
/* Helpers' iPad: English as a second language, so a little larger. Body 18px. */
.surface-helper {
  --fs-caption: 0.75rem; --fs-footnote: 0.8125rem; --fs-sub: 0.9375rem; --fs-body: 1.0625rem;
  --fs-headline: 1.125rem; --fs-title-3: 1.3125rem; --fs-title-2: 1.4375rem; --fs-title-1: 1.75rem;
  --fs-large: 2.125rem; --fs-menu-label: 0.6875rem;
}
/* Parents' devices use the compact scale above at every width:
   The owner chose about 75% density on 2026-11-22. The kitchen keeps 22px. */

/* Earlier names, pointed at the scale above. */
:root, .surface-kitchen, .surface-helper {
  --font-sans: var(--font); --font-serif: var(--font-display); --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-small: var(--fs-footnote); --fs-lead: var(--fs-headline); --fs-h4: var(--fs-title-3); --fs-h3: var(--fs-title-2);
  --fs-h2: var(--fs-title-1); --fs-h1: var(--fs-large); --fs-display: var(--fs-large);
  --lh-tight: 1.05; --lh-heading: 1.15; --lh-body: 1.4;
  --ls-wordmark: 0; --ls-label: var(--tracking-label); --ls-display: var(--tracking-tight);
  --fw-light: 300; --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600;
}
