/* Shared responsive navigation; no change to financial or client permissions. */
@media screen {
 #nav button { min-height:44px; overflow-wrap:anywhere; }
 #nav [aria-current="page"] { border-color:#ff8491; box-shadow:inset 0 -3px #d52d40; }
 #ff-module-menu[hidden] { display:none!important; }
 #ff-module-menu { min-width:0; width:100%; grid-column:1/-1; }
 #main, #view, #nav, .ffCategory { min-width:0; }
 #main img, #view img { max-width:100%; height:auto; }
 @media(max-width:600px) {
  #nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  #nav button { min-width:0; white-space:normal; }
  #ff-module-menu .ffCategory { min-width:0; }
  #main, #view { overflow-wrap:anywhere; }
  #main input:not([type=checkbox]):not([type=radio]), #view input:not([type=checkbox]):not([type=radio]), #main select, #view select { max-width:100%; min-width:0; }
 }
}
