/* BAFF OS v1.6.35.30 — final Staff, Settings and selection contrast. */
:root{
  --baff-final-gold:#f1c75b;
  --baff-final-emerald:#116b50;
  --baff-final-ink:#17352c;
}

/* Keep expanded System/Settings groups and current submenu items readable. */
html body.baff-navigation-contrast-final .sidebar .baff-current-navigation-group,
html body.baff-navigation-contrast-final .sidebar .nav-group-toggle[aria-expanded="true"],
html body.baff-navigation-contrast-final .sidebar button[aria-expanded="true"],
html body.baff-navigation-contrast-final .sidebar .nav-section[aria-expanded="true"]{
  color:#fff!important;
  background:linear-gradient(100deg,rgba(241,199,91,.16),rgba(17,107,80,.58))!important;
  border-color:rgba(241,199,91,.72)!important;
  box-shadow:inset 4px 0 var(--baff-final-gold),0 7px 18px rgba(1,30,23,.18)!important;
  opacity:1!important;
  text-shadow:none!important;
}
html body.baff-navigation-contrast-final .sidebar .baff-current-navigation-group *,
html body.baff-navigation-contrast-final .sidebar [aria-expanded="true"] *{
  color:inherit!important;
  opacity:1!important;
}
html body.baff-navigation-contrast-final .sidebar a.baff-current-navigation-item,
html body.baff-navigation-contrast-final .sidebar a.active,
html body.baff-navigation-contrast-final .sidebar a[aria-current="page"],
html body.baff-navigation-contrast-final .sidebar .nav-group-panel a.active,
html body.baff-navigation-contrast-final .sidebar .nav-group-panel a[aria-current="page"]{
  color:#fff!important;
  background:linear-gradient(100deg,#0e6d50,#168060)!important;
  border-color:rgba(241,199,91,.48)!important;
  box-shadow:inset 4px 0 var(--baff-final-gold),0 7px 16px rgba(1,30,23,.20)!important;
  opacity:1!important;
}

/* Staff hero: all copy remains legible on its emerald gradient. */
html body.baff-staff-contrast-final .baff-staff-hero-contrast-final{
  border-color:rgba(241,199,91,.58)!important;
}
html body.baff-staff-contrast-final .baff-staff-hero-contrast-final h1{
  color:#fff!important;
  opacity:1!important;
  text-shadow:0 2px 14px rgba(0,0,0,.22)!important;
}
html body.baff-staff-contrast-final .baff-staff-hero-contrast-final p{
  color:#eef7f3!important;
  opacity:1!important;
}
html body.baff-staff-contrast-final .baff-staff-hero-contrast-final :is(.baff-eyebrow,[class*="eyebrow"],[class*="kicker"]){
  color:var(--baff-final-gold)!important;
  opacity:1!important;
}

/* Staff row highlight: cream background with dark readable text. */
html body.baff-staff-contrast-final table tbody tr{
  transition:background-color .16s ease,box-shadow .16s ease!important;
}
html body.baff-staff-contrast-final table tbody tr:hover,
html body.baff-staff-contrast-final table tbody tr:focus-within{
  background:#fff3c9!important;
  box-shadow:inset 5px 0 var(--baff-final-gold)!important;
}
html body.baff-staff-contrast-final table tbody tr:hover td,
html body.baff-staff-contrast-final table tbody tr:hover td :not(.badge):not([class*="badge"]),
html body.baff-staff-contrast-final table tbody tr:focus-within td,
html body.baff-staff-contrast-final table tbody tr:focus-within td :not(.badge):not([class*="badge"]){
  color:var(--baff-final-ink)!important;
  opacity:1!important;
}
html body.baff-staff-contrast-final table tbody tr:hover td a,
html body.baff-staff-contrast-final table tbody tr:focus-within td a{
  color:#785000!important;
  font-weight:900!important;
}

@media(max-width:900px){
  html body.baff-navigation-contrast-final .sidebar .baff-current-navigation-group{font-size:14px!important}
}
