/* FGS responsive guard: prevents desktop-sized content on phones and narrow Safari viewports. */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { margin:0; }
@media (max-width:1100px) {
 html, body, #app, .app { max-width:100%; min-width:0; overflow-x:clip; }
 .main { margin-left:0!important; min-width:0!important; width:100%!important; max-width:100%!important; }
 .sidebar { display:none!important; }
 .content { width:100%!important; max-width:100%!important; min-width:0!important; padding:16px 13px 95px!important; }
 .content > * { min-width:0; max-width:100%; }
 .top { width:100%!important; max-width:100%!important; min-height:0!important; display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; gap:4px 10px!important; padding:11px 13px!important; box-sizing:border-box!important; align-items:center!important; }
 .top .topbrand { grid-column:1!important; grid-row:1!important; min-width:0!important; width:auto!important; max-width:100%!important; }
 .top .topbrand img { display:block!important; width:118px!important; height:auto!important; max-height:53px!important; max-width:100%!important; object-fit:contain!important; object-position:left!important; }
 .top .topbrand .sub { display:none!important; }
 .top .fgs-ja-app-credit { grid-column:1!important; grid-row:2!important; display:flex!important; align-items:center!important; justify-self:start!important; width:auto!important; max-width:100%!important; min-width:0!important; margin:0!important; padding:0!important; gap:4px!important; white-space:nowrap!important; }
 .top .fgs-ja-app-credit span { font-size:7px!important; letter-spacing:.10em!important; line-height:1!important; font-weight:650!important; }
 .top .fgs-ja-app-badge { width:45px!important; height:19px!important; max-width:45px!important; object-fit:contain!important; }
 .top .user { grid-column:2!important; grid-row:1/span 2!important; justify-self:end!important; align-self:center!important; max-width:165px!important; min-width:0!important; font-size:11px!important; line-height:1.3!important; text-align:right!important; }
 .top .user .btn { font-size:11px!important; padding:6px 9px!important; min-height:32px!important; }
 .content h1 { font-size:clamp(24px,6vw,34px)!important; line-height:1.14!important; overflow-wrap:anywhere; }
 .content h2 { font-size:clamp(18px,4.8vw,24px)!important; line-height:1.2!important; overflow-wrap:anywhere; }
 .eyebrow { font-size:10px!important; letter-spacing:.11em!important; overflow-wrap:anywhere; }
 .stats.executive-stats, .fgs-nav-stats { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; }
 .stats .stat { min-width:0!important; padding:13px!important; }
 .stats .stat strong { font-size:26px!important; }
 .grid2,.grid3,.ops-layout,.detail-columns { grid-template-columns:minmax(0,1fr)!important; }
 .mobileNav { display:flex!important; width:100%!important; max-width:100%!important; overflow-x:auto!important; position:fixed!important; bottom:0!important; left:0!important; right:0!important; z-index:50!important; justify-content:space-around!important; }
 .mobileNav button { flex:1 1 auto!important; min-width:0!important; font-size:11px!important; padding:11px 3px!important; }
 .admin-tabs { max-width:100%!important; overflow-x:auto!important; }
 .form input[type=date] { min-width:0!important; max-width:100%!important; }
}
@media(max-width:390px){.top .topbrand img{width:108px!important}.top .user{max-width:135px!important}.mobileNav button{font-size:10px!important}}
