/* The React screens (/ui/) wear the shared styles through this file (S2a.X12, mock frame 1). They also carry Tailwind and
   GMS-App's theme (identity-ui/src/globals.css, copied verbatim), so app.css goes into its own cascade layer, ordered above
   Tailwind's base (the shared card, fields and buttons win over its resets) and below its utilities (a screen still on
   utility classes keeps its spacing). One source of the tokens: this imports app.css; it never copies it. */
@layer theme, base, rlss, components, utilities;
@import url("app.css") layer(rlss);
@import url("appbar.css") layer(rlss);   /* S2a.X13: Manage users sits under the one app bar */

/* GMS's theme colours every outline indigo (`outline-ring/50` in its base layer). On these screens the focused control
   shows the workbench's ring instead (S2a.X4's focus rule). */
@layer rlss {
  :where(*):focus-visible{outline:2px solid var(--blue);outline-offset:2px}
}

/* Tailwind also has an `outline` utility (it draws one), generated the moment it sees app.css's `.btn.outline` class name
   in a React screen; utilities outrank the rlss layer, so the shared meaning is restored here, outside every layer. */
.btn.outline{outline-style:none}

/* GMS's theme also names a token --muted (a near-white surface), and its unlayered :root outranks app.css's (the grey
   for quiet text), so quiet text vanished on these screens. The shared meaning is restored, more specifically. */
html:root{--muted:#6b6b85}
.btn.outline:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
