/* ═══════════ THE BUTTON SCALE (founder 2026-12-03, looking at live v1.9.200: "The buttons are too big") ═══════════
   The primary pill was 52px tall, 200px wide at the least, with a wide blue cast; every room had its own copy
   of it. Now one restrained pill everywhere: 40px on a desktop pointer, 44px under a finger, 15px Manrope 600,
   the cast turned down. Tokens: --btn-h, --btn-h-touch, --btn-px, --btn-cast (css/tokens.css). This sheet is
   the one place that sets them, so it outranks each room's older copy on purpose (:not(#_) + !important).
   Recorded against DESIGN-CONSTITUTION.md §9 (52px pill): her newer ruling wins. */

/* ── 1 · THE BUTTON SCALE ────────────────────────────────────────────────── */
body .ui-btn--primary:not(#_):not(#li-btn){
  min-width:0 !important; min-height:var(--btn-h) !important; padding:0 var(--btn-px) !important;
  font:600 var(--fs-15)/1 var(--f-body) !important; letter-spacing:.005em !important;
  border-radius:var(--r-pill) !important; border:1px solid rgba(127,211,255,.34) !important; color:#fff !important;
  background:linear-gradient(115deg,#155FAF,#1F7EDB 55%,#124f95) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.26), var(--btn-cast) !important; filter:none !important;
  transition:transform var(--dur-1) var(--ease-inst), border-color var(--dur-1), box-shadow var(--dur-2) !important; }
body .ui-btn--primary:not(#_):not(#li-btn):hover{ transform:translateY(-1px); border-color:rgba(200,236,255,.55) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34), 0 10px 26px -14px rgba(31,126,219,.8) !important; }
body .ui-btn--primary:not(#_):not(#li-btn):active{ transform:translateY(0) scale(.985); }
body .ui-btn--primary:not(#_):not(#li-btn):disabled, body .ui-btn--primary:not(#_):not(#li-btn)[disabled]{ opacity:.4; transform:none; box-shadow:none !important; }
/* the secondary pill stands at the same height as the primary beside it */
body .ui-btn--pill:not(#_){ padding:0 18px; font-size:var(--fs-14); }   /* keeps its 44px target (calsign-check) */
/* under a finger, or narrower than a desktop: the 44px touch floor, the same slim type */
@media (pointer:coarse), (max-width:1023px){
  body .ui-btn--primary:not(#_):not(#li-btn){ min-height:var(--btn-h-touch) !important; }
}
/* the sign-in button keeps its own look (founder 2026-12-03: the first screen stays as it was) */
@media (prefers-reduced-motion:reduce){ body .ui-btn--primary:not(#_):not(#li-btn), body .ui-btn--primary:not(#_):not(#li-btn):hover{ transform:none; transition:none !important; } }
/* the first run (the welcome card and the gate) keeps the 44px floor at every width (scripts/verify/onboarding-check.js) */
#welcome .ui-btn--primary:not(#_):not(#li-btn), #gate .ui-btn--primary:not(#_):not(#li-btn){ min-height:var(--btn-h-touch) !important; }
