/* The one place typography is decided. Three roles:
   --ui    GT America first (licensed, installed on the device or not at all), then a free
           stand-in that renders today. 85-90 percent of all text.
   --mono  dates, amounts, ids, timestamps. 5-10 percent.
   --cond  sparing: labels on physical-looking objects, chart axes. 2-5 percent.
   The @font-face uses local() only: no file is requested, so nothing 404s. When the
   licensed files are added, add their url() sources here and nowhere else. */
@font-face{font-family:'GT America';src:local('GT America'),local('GT-America-Standard-Regular'),local('GTAmerica-Regular');font-weight:400;font-display:swap}
@font-face{font-family:'GT America';src:local('GT America Bold'),local('GT-America-Standard-Bold'),local('GTAmerica-Bold');font-weight:700;font-display:swap}
:root{
  --ui:'GT America',-apple-system,BlinkMacSystemFont,'Helvetica Neue','Segoe UI',Arial,sans-serif;
  --mono:ui-monospace,'SF Mono',SFMono-Regular,Menlo,Consolas,monospace;
  --cond:'GT America Condensed','Arial Narrow','Helvetica Neue Condensed',sans-serif-condensed,var(--ui);
}

/* Every tap target is at least 44px tall; dark mode follows the device. */
button,.btn,a.btn,select,input[type=submit]{min-height:44px}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){color-scheme:dark}
  :root:not([data-theme="light"]) body{background:#101613;color:#e8efe9}
}
