/* =====================================================================
   tibr-auth-dark.css — the dark look of the guest screens (tibr-auth.css).

   Unconditional rules: WHEN they apply is decided by the <link media> in
   layouts/guest.blade.php (2026-11-04):
     signed out                       -> (prefers-color-scheme: dark), the device
     signed in, Appearance = Dark     -> all
     signed in, Appearance = Light    -> not all
     signed in, Match my device       -> (prefers-color-scheme: dark)
   so the browser follows the device live and nothing flashes. Moved here
   verbatim from the @media block at the end of tibr-auth.css; load it AFTER
   tibr-auth.css so the cascade is unchanged.
   ===================================================================== */

body.ta-body {
  background: #0f0f10; color: #f4f4f5;
  --ta-surface: #18181b; --ta-text: #f4f4f5; --ta-muted: #a1a1aa; --ta-line: #27272a; --ta-line-strong: #3f3f46; --ta-soft: #27272a;
  --ta-ink-btn: #f4f4f5;
}
/* --ta-ink-btn restated: tibr-auth.css's Vyntworks rule (#1d2940) outranks the
   plain body.ta-body above, which left the dark ink on a navy button (1.3:1). */
body.ta-body[data-brand="vyntworks"] { background: #0b1019; --ta-surface: #131b2b; --ta-line: #1f2a3f; --ta-line-strong: #2d3a52; --ta-soft: #1f2a3f; --ta-ink-btn: #fbfbf9; }
body.ta-body .ta-panel { background: #18191a; }
body.ta-body[data-brand="vyntworks"] .ta-panel { background: #111827; }
body.ta-body .ta-input { border-bottom-color: var(--ta-line-strong); box-shadow: none; }
body.ta-body .ta-input:read-only { background: rgb(255 255 255 / 0.04); color: #a1a1aa; }
body.ta-body .ta-btn { color: #18181b; }
body.ta-body .ta-btn:hover { background: #fff; }
body.ta-body .ta-spinner { border-color: rgb(0 0 0 / 0.2); border-top-color: #18181b; }
body.ta-body .ta-btn-secondary { color: #f4f4f5; background: transparent; box-shadow: inset 0 0 0 1px var(--ta-line-strong); }
body.ta-body .ta-btn-secondary:hover { background: rgb(255 255 255 / 0.05); }
body.ta-body .ta-check input:checked::after { border-color: #18181b; }
body.ta-body .ta-link { text-decoration-color: #52525b; }
body.ta-body .ta-kicker, body.ta-body .ta-badge-icon { color: rgb(var(--ts-primary-300)); }
body.ta-body .ta-badge-icon { box-shadow: 0 0 0 5px #141415, 0 0 0 6px var(--ta-line); }
body.ta-body .ta-alert-error { background: rgb(220 38 38 / 0.12); color: #fca5a5; box-shadow: inset 0 0 0 1px rgb(220 38 38 / 0.3); }
body.ta-body .ta-alert-ok { background: rgb(22 163 74 / 0.12); color: #86efac; box-shadow: inset 0 0 0 1px rgb(22 163 74 / 0.3); }
body.ta-body .ta-caps { color: #fbbf24; }
body.ta-body .ta-codes, body.ta-body .ta-copy { background: rgb(255 255 255 / 0.04); }
body.ta-body .ta-qr { border-color: transparent; }
body.ta-body .ta-mobile-brand .ta-logo-light { display: none; }
body.ta-body .ta-mobile-brand .ta-logo-dark { display: block; filter: brightness(0) invert(1); opacity: 0.94; }
