/* Shared semantic colors, controls, spacing and motion. */
:root {
  --font-caption: calc(12px * var(--text-scale, 1));
  --font-small: calc(14px * var(--text-scale, 1));
  --font-body: calc(16px * var(--text-scale, 1));
  --radius-small: 6px;
  --control-height: 44px;
  --control-radius: 8px;
  --control-font: calc(14px * var(--text-scale, 1));
  --focus: #527f9d;
  --space-section: 24px;
  --ink: #203f58;
  --text: #273c4e;
  --muted: #526675;
  --line: #dce4e9;
  --bg: #f4f7f9;
  --blue: #316681;
  --wash: #eaf1f5;
  --green: #427462;
  --amber: #89652e;
  --white: #fff;
  --radius-panel: 10px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --motion-fast: 140ms;
  --motion-enter: 180ms;
  --shadow-panel: 0 12px 36px rgb(32 63 88 / 10%);
}
/* Text on touch phones: body text 16 instead of 14 px, times the iPhone's text size (Dynamic Type,
   --dynamic-type from phone.js). Every fixed font size is multiplied by --text-scale; elsewhere it stays 1. */
@media (max-width: 760px) and (pointer: coarse) {
  :root {
    --text-scale: calc(16 / 14 * var(--dynamic-type, 1));
  }
}
