/*
  public/brand/brand.css
  NEW LOGO (2026-11-04). IndustryTests colours, taken from the logo.
  Loaded after the Vite CSS on every site except EditingTests (layouts/app and
  layouts/auth), so it works without a front-end rebuild.
    Charcoal  #232a36  (white on it 14.5:1)
    Red       #8b1020  (white on it 9.4:1)
    Red, deep #6e0c19  (hover)
*/
:root {
  --it-charcoal: #232a36;
  --it-charcoal-hover: #3a4354;
  --it-red: #8b1020;
  --it-red-deep: #6e0c19;
  --it-red-tint: #fbeef0;
  /* The shared styles use the EditingTests orange and slate variables. */
  --et-orange: var(--it-red);
  --et-orange-action: var(--it-red);
  --et-orange-deep: var(--it-red-deep);
  --et-orange-hover: var(--it-red-deep);
  --et-slate: var(--it-charcoal);
}
.text-slate-900, .text-et-slate { color: var(--it-charcoal); }
.bg-slate-900, .bg-et-slate { background-color: var(--it-charcoal); }
.border-slate-900 { border-color: var(--it-charcoal); }
.hover\:bg-slate-700:hover { background-color: var(--it-charcoal-hover); }
.text-red-800, .text-red-900, .text-et-orange, .hover\:text-et-orange:hover { color: var(--it-red); }
.bg-et-orange { background-color: var(--it-red); }
.hover\:bg-et-orange-hover:hover { background-color: var(--it-red-deep); }
.border-red-700, .border-et-orange { border-color: var(--it-red); }
.bg-red-50 { background-color: var(--it-red-tint); }
main a:not([class]) { color: var(--it-red); }
.nav-link { color: #3f4757; }
.nav-link:hover, .nav-link.active, .nav-link[aria-current] { color: var(--it-red); }
.nav-login { color: var(--it-charcoal); }
.nav-login:hover { background: var(--it-charcoal); border-color: var(--it-charcoal); color: #fff; }

/* Pieces styled inline in the shared layouts (orange), so these need !important. */
:focus-visible { outline-color: var(--it-red) !important; }
.bg-slate-900 :focus-visible, .bg-slate-950 :focus-visible, #et-consent-bar :focus-visible { outline-color: #ff8a98 !important; }
.skip-to-main, .fb-header, .fb-btn { background: var(--it-red) !important; }
.fb-input:focus, .fb-select:focus, .fb-textarea:focus { border-color: var(--it-red) !important; }
.fb-consent input { accent-color: var(--it-red) !important; }
#et-consent-bar { background: var(--it-charcoal) !important; border-top-color: var(--it-red) !important; }
#et-consent-bar strong, #et-consent-bar a { color: #ff8a98 !important; }
#et-consent-bar button[onclick="etConsent(1)"] { background: var(--it-red) !important; }
