/* ── Input focus ring — the single app-wide treatment (v2.1 parity) ──
   One focus treatment for every form field: a 2px inset brand-blue ring on the
   field/container (v2.1's exact technique: box-shadow inset 0 0 0 2px primary).
   Cross-cutting shared file per §4 rule 2 (tokens.css/app.css untouched), same
   sanction as Accessibility.css; linked from both hosts.

   Do NOT add bespoke :focus rules per component — the ONLY named exception is
   the header search pill (.fc-nav-search, Nav.css), which keeps its own black
   focus border by design. Any further one-off needs explicit sign-off.

   Rule 1 — every MudBlazor outlined field, app-wide. The doubled trailing class
   bumps specificity to (0,5,0) so the ring outranks per-module resting-border
   rules (e.g. .fc-pmenu-drawer's box-shadow:none) while the error-state rules
   (longer compound selectors, e.g. Profile.css .rounded-textfield--error…)
   still win — an invalid field stays red, ring suppressed.
   Rule 2 — marker class for any styled container that wraps a real input
   (.fc-pay-input, .fc-native-select, …): add fc-focus-field to the wrapper.
   A bare, self-bordered input needs nothing extra. Resting border colour/width
   stay per module (SignIn grey, profile-edit black); the focused look is shared:
   ring + black border (see "No halo" below). */
/* Micro-transition for the ring — IMPORTED VERBATIM from v3.0.2 FocusRing.css:20-32 (Kelly,
   2026-09-30, Profile row #12, app-wide as v3.0.2 has it). v3.0.2's note:
   Kelly, 2026-07-30: ease at 200ms.
   Before this, the ring appeared in a single frame: it is painted as a `box-shadow`, and
   MudBlazor's own transition on this element lists only `border-width, border-color`
   (0s and 0.2s respectively), so `box-shadow` was never animated anywhere in the app. That
   instant snap is the "too sharp when selected" feel. 200ms matches MudBlazor's existing
   border-color duration, so the ring and the border now settle together instead of the ring
   landing ~80ms early. Declared on the RESTING selectors (not :focus-within) so it eases both
   in on focus and out on blur. border-width is included because it is otherwise 0s, which made
   the profile-edit fields' width change snap too. */
.mud-input.mud-input-outlined .mud-input-outlined-border,
.fc-focus-field {
  transition: box-shadow 200ms ease, border-width 200ms ease, border-color 200ms ease;
}

/* No halo (Kelly, 2026-09-30: "There shouldn't be any haloing"). The ring sat INSIDE each module's
   resting border, so a light border (Sign In family, Set Location and Information Center search:
   #E0E0E0) showed as a pale rim around the blue. On focus the border now turns black, giving every
   field the Profile focus look Kelly picked the same day: black 1px border + 2px blue inset ring.
   Error states still win (Accessibility.css / ProfileMenu.css error rules are more specific). */
.mud-input.mud-input-outlined:focus-within .mud-input-outlined-border.mud-input-outlined-border {
  border-color: var(--color-text-primary) !important;
  border-width: 1px !important;
  box-shadow: inset 0 0 0 2px var(--color-brand-primary) !important;
}
.fc-focus-field:focus-within {
  border-color: var(--color-text-primary);
  box-shadow: inset 0 0 0 2px var(--color-brand-primary);
}
