/* ============================================================
   invariants.css — non-negotiable rules
   No component file may override these.
   ============================================================ */

/* Body floor: 16px (well above 14px CLAUDE.md hard rule) */
html { font-size: 16px; }

/* Touch targets: 44px floor */
button,
a.btn,
[role="button"] {
  min-height: var(--touch-min);
  min-width:  var(--touch-min);
}

/* Body never below 14px — only watermark gets 11px */
body { font-size: var(--fs-body); }

/* Watermark is the ONLY exception */
.watermark { font-size: var(--fs-watermark); }

/* Focus ring — keyboard a11y */
:focus-visible {
  outline: 2px solid var(--primitive-rust-500);
  outline-offset: 3px;
}

/* Reduced-motion safety */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
