/* Braintech Risorse V85 — fix ONLY mobile navigation tap/active colours.
   Overrides all blue states inherited from the earlier resource stylesheets. */
@media (max-width: 790px) {
  body:is(.resources-landing,.resource-subpage,.xray-page) {
    --v85-nav-bg: #151619;
    --v85-nav-text: #ded7ca;
    --v85-nav-active: #ff945b;
    --v85-nav-outline: rgba(242,239,231,.18);
  }
  body:is(.resources-landing,.resource-subpage,.xray-page) :is(.menu-btn,.mobile-panel,.mobile-panel a,.mobile-panel button){
    -webkit-tap-highlight-color:transparent !important;
    accent-color:#ff6a1f;
  }
  body:is(.resources-landing,.resource-subpage,.xray-page) .menu-btn,
  body:is(.resources-landing,.resource-subpage,.xray-page) .menu-btn:visited {
    color:var(--v85-nav-text) !important;
    background:#1a1b1d !important;
    border:1px solid var(--v85-nav-outline) !important;
    box-shadow:none !important;
  }
  body:is(.resources-landing,.resource-subpage,.xray-page) .menu-btn:is(:hover,:active,:focus,:focus-visible),
  body:is(.resources-landing,.resource-subpage,.xray-page) .menu-btn[aria-expanded="true"] {
    color:var(--v85-nav-active) !important;
    background:#1b1a19 !important;
    border-color:rgba(255,106,31,.48) !important;
    box-shadow:none !important;
  }
  body:is(.resources-landing,.resource-subpage,.xray-page) .mobile-panel,
  body:is(.resources-landing,.resource-subpage,.xray-page) .mobile-panel.open {
    color:var(--v85-nav-text) !important;
    background:var(--v85-nav-bg) !important;
    border:1px solid var(--v85-nav-outline) !important;
    box-shadow:0 18px 44px rgba(0,0,0,.42) !important;
  }
  body:is(.resources-landing,.resource-subpage,.xray-page) .mobile-panel :is(a,button),
  body:is(.resources-landing,.resource-subpage,.xray-page) .mobile-panel :is(a,button):visited {
    color:var(--v85-nav-text) !important;
    background:transparent !important;
    border-bottom-color:rgba(242,239,231,.12) !important;
    box-shadow:none !important;
    text-shadow:none !important;
    -webkit-text-fill-color:currentColor;
  }
  body:is(.resources-landing,.resource-subpage,.xray-page) .mobile-panel :is(a,button):is(.active,[aria-current="page"],[aria-expanded="true"],:hover,:active,:focus,:focus-visible) {
    color:var(--v85-nav-active) !important;
    background:rgba(255,106,31,.07) !important;
    border-bottom-color:rgba(255,106,31,.26) !important;
    box-shadow:none !important;
    -webkit-text-fill-color:currentColor;
  }
  body:is(.resources-landing,.resource-subpage,.xray-page) .mobile-expand {
    border-left:1px solid rgba(242,239,231,.18) !important;
  }
  body:is(.resources-landing,.resource-subpage,.xray-page) .mobile-subnav {
    border-left:1px solid rgba(255,106,31,.55) !important;
  }
  body:is(.resources-landing,.resource-subpage,.xray-page) .mobile-panel :is(a,button):focus-visible,
  body:is(.resources-landing,.resource-subpage,.xray-page) .menu-btn:focus-visible {
    outline:2px solid #ff6a1f !important;
    outline-offset:2px !important;
  }
}
