/* v70 Top bar, option B "Charcoal → Bronze" (chosen by YC): starts in the side-menu charcoal and fades into the brand
   bronze on the right, so the side menu and top bar read as one piece. Admin portal and Staff Portal. */
@media screen{
  html body .itsm-topbar,html body .staff-topbar{background:linear-gradient(90deg,#232323 0%,#3A332C 30%,#6E553F 68%,#A8896D 100%)!important;border-bottom:1px solid #1B1A19!important;color:#fff}
  html body .itsm-topbar .topbar-crumb,html body .staff-topbar .topbar-crumb,html body .staff-topbar .topbar-h1{color:#fff!important}
  html body .itsm-topbar .crumb-root{color:#CFC6BB}
  /* Search stays a white box */
  html body .itsm-topbar .topbar-search-box{background:#fff!important;border-color:#fff!important;box-shadow:0 1px 0 rgba(0,0,0,.06)}
  html body .itsm-topbar .topbar-search-box:focus-within{border-color:#A8896D!important;box-shadow:0 0 0 3px rgba(168,137,109,.35)!important}
  /* Refresh / Appearance / Actions: see-through light buttons */
  html body .itsm-topbar .portal-header-control{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.28)!important;color:#fff!important}
  html body .itsm-topbar .portal-header-control:hover{background:rgba(255,255,255,.22)!important;border-color:rgba(255,255,255,.5)!important;color:#fff!important}
  html body .itsm-topbar .portal-header-control svg{stroke:currentColor}
  /* Sign out: charcoal on the bronze end */
  html body .itsm-topbar .topbar-signout,html body .staff-topbar .staff-signout{background:#232323!important;border-color:#232323!important;color:#fff!important}
  html body .itsm-topbar .topbar-signout:hover,html body .staff-topbar .staff-signout:hover{background:#3A3936!important;border-color:#3A3936!important}
  /* Phone menu button */
  html body .itsm-topbar .topbar-menu,html body .staff-topbar .topbar-menu{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.28)!important;color:#fff!important}
  html body .staff-topbar .topbar-menu svg{stroke:#fff}
}

/* v71 Side menu: the page you click turns bronze at once (before, the mouse-over grey covered it until the mouse moved
   away, and the old item faded out slowly, so the highlight looked one step behind). No colour fade on menu items. */
@media screen{
  html body header.itsm-rail nav.rail-nav button[id^="tabBtn-"]:not(.hidden){transition:transform 140ms ease!important}
  html body header.itsm-rail nav.rail-nav button[id^="tabBtn-"]:is(.bg-indigo-600,[aria-current="page"]):not(.hidden),
  html body header.itsm-rail nav.rail-nav button[id^="tabBtn-"]:is(.bg-indigo-600,[aria-current="page"]):not(.hidden):hover,
  html body header.itsm-rail nav.rail-nav button[id^="tabBtn-"]:is(.bg-indigo-600,[aria-current="page"]):not(.hidden):focus{background:var(--rail-stone)!important;color:var(--rail-stone-ink)!important;font-weight:500!important}
  html body header.itsm-rail nav.rail-nav button[id^="tabBtn-"]:is(.bg-indigo-600,[aria-current="page"]):not(.hidden):hover{filter:brightness(1.06)}
  html body .staff-rail nav a{transition:none!important}
}
