/* v97: requested toggle finish, five supplied backgrounds, and named bank logos. */

/* Keep the existing toggle system and handlers; only restore its premium surface. */
.institutionalNav .cwls-premium-toggle:is(.institutionalNavGroupHeader,.institutionalNavItem),
.cw6-side nav .cwls-premium-toggle,
:is(.hu57-tabs,.fccWorkspaceTabs,.c26Themes,.c26Toolbar,.homeChartTabs,.homeCalcTabs,.tenderTabs) .cwls-premium-toggle {
  border:1px solid #d4ba81!important;
  background:linear-gradient(150deg,#fffdf7,#f5ead2)!important;
  color:#533916!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 4px 12px rgba(75,49,12,.075)!important;
  font-weight:750!important;
  line-height:1.3!important;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
.institutionalNav .cwls-premium-toggle:is(.institutionalNavGroupHeader,.institutionalNavItem):is(.cwls-is-active,[aria-expanded="true"]),
.cw6-side nav .cwls-premium-toggle.cwls-is-active,
:is(.hu57-tabs,.fccWorkspaceTabs,.c26Themes,.c26Toolbar,.homeChartTabs,.homeCalcTabs,.tenderTabs) .cwls-premium-toggle.cwls-is-active {
  border-color:#ae7a26!important;
  background:linear-gradient(140deg,#f5dfaa,#d8aa52 70%,#bc8532)!important;
  color:#332108!important;
  box-shadow:inset 0 1px 0 rgba(255,248,218,.85),0 6px 16px rgba(106,68,14,.14)!important;
}
.institutionalNav .cwls-premium-toggle :is(.institutionalNavGroupIcon,.institutionalNavItem i,.cwls-v2-icon),
.cw6-side nav .cwls-premium-toggle .cwls-v2-icon {
  display:grid!important;place-items:center!important;align-self:center!important;
  opacity:1!important;filter:none!important;
}
.institutionalNav .cwls-premium-toggle svg,.cw6-side nav .cwls-premium-toggle svg {
  display:block!important;max-width:100%!important;max-height:100%!important;
}
.cwls-premium-toggle:focus-visible {outline:2px solid #825914!important;outline-offset:2px!important}

/* Supplied visual assets are applied only to their matching panels. */
#financial .fccHero {
  background-image:linear-gradient(90deg,rgba(26,20,13,.88),rgba(39,29,14,.65) 56%,rgba(39,29,14,.27)),url('/assets/focused-v97/financial-control-center.png')!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
}
.hu57-hero {
  background-image:linear-gradient(90deg,rgba(24,18,12,.88),rgba(35,25,13,.69) 60%,rgba(35,25,13,.27)),url('/assets/focused-v97/hajj-intelligence.png')!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
}
.hu57-goldCard.hu97-hajjRegistration {
  background-image:linear-gradient(90deg,rgba(78,49,10,.91),rgba(93,59,15,.75) 57%,rgba(77,49,15,.35)),url('/assets/focused-v97/hajj-registration.png')!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
}
.hu57-goldCard.hu97-umrahIntelligence {
  background-image:linear-gradient(90deg,rgba(52,35,14,.91),rgba(69,45,15,.77) 58%,rgba(57,38,18,.35)),url('/assets/focused-v97/umrah-intelligence.png')!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
}
.c26Module[data-topic="capital"] {
  background-image:linear-gradient(115deg,rgba(255,252,245,.92),rgba(255,251,241,.78) 60%,rgba(255,251,241,.57)),url('/assets/focused-v97/cwls-maturity.png')!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;
}
.c26Module[data-topic="capital"] .c26Maturity button{background:rgba(255,253,247,.96)}

/* The bank name remains the label; the asset sits immediately beside it. */
.midiLogo.hasInstitutionAsset{width:70px;height:43px;padding:5px;background:#fffdf8;border-color:#e2c88e}
.midiLogo.hasInstitutionAsset img,.bankActions a.hasInstitutionAsset img,.institutionLogoRecordMark img {
  object-fit:contain;object-position:center;mix-blend-mode:normal;
}
.bankActions a.hasInstitutionAsset{background:#fffdf8;border-color:#e5d4b0;font-weight:750}
.bankActions a.hasInstitutionAsset img{width:44px;height:27px}
.hu67-bankGrid .hu97-bankLogo{display:block;width:32px;height:28px;object-fit:contain;object-position:center}
.hu67-bankGrid>a:has(.hu97-bankLogo){grid-template-columns:46px minmax(0,1fr) auto}
.hu67-bankGrid>a:has(.hu97-bankLogo)>span{width:46px;background:#fffdf8;border:1px solid #e7d6af}

@media(max-width:760px){
  #financial .fccHero,.hu57-hero,.hu57-goldCard.hu97-hajjRegistration,.hu57-goldCard.hu97-umrahIntelligence {
    background-position:60% center!important;
    background-blend-mode:normal!important;
  }
  .hu57-hero{background-image:linear-gradient(90deg,rgba(24,18,12,.91),rgba(35,25,13,.78)),url('/assets/focused-v97/hajj-intelligence.png')!important}
  .hu57-goldCard.hu97-hajjRegistration{background-image:linear-gradient(90deg,rgba(78,49,10,.92),rgba(93,59,15,.78)),url('/assets/focused-v97/hajj-registration.png')!important}
  .hu57-goldCard.hu97-umrahIntelligence{background-image:linear-gradient(90deg,rgba(52,35,14,.92),rgba(69,45,15,.79)),url('/assets/focused-v97/umrah-intelligence.png')!important}
}
@media(prefers-reduced-motion:reduce){.institutionalNav .cwls-premium-toggle,.cw6-side nav .cwls-premium-toggle{transition:none!important;transform:none!important}}
