/* Jamia Mahmoodia Theme v99 — app action hard-fix + public edge safety. */
body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page){--jm99-gutter:clamp(22px,3.2vw,56px)}
body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page) :is(.jm70-shell,.jm-container,.jm-core-wrap,.jm76-gallery-shell){
  width:min(1640px,calc(100% - (var(--jm99-gutter) * 2)))!important;max-width:1640px!important;margin-left:auto!important;margin-right:auto!important
}
body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page) :is(.jm96-footer-gateway-inner,.jm70-final-inner){margin-left:auto!important;margin-right:auto!important}
body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page) :is(.jm96-footer-gateway-inner,.jm70-final-inner,.jm68-faculty-card,.jm70-facility-showcase,.jm70-facility-journey){max-width:calc(100% - 0px)!important;min-width:0!important}

/* The install action uses inline SVG in v99, so Font Awesome overrides can no longer blank it. */
body#jm-site-root.jm-ui-v99 .jm94-launcher-action{position:relative!important;overflow:hidden!important;background:linear-gradient(145deg,#f4ca61,#dda636)!important;color:#163d33!important}
body#jm-site-root.jm-ui-v99 .jm94-launcher-action svg{display:block!important;width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:2.2!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important;visibility:visible!important}
body#jm-site-root.jm-ui-v99 .jm94-launcher-action i{display:none!important}
/* Portal pages stay focused on work; app installation remains available from the public website. */
body#jm-site-root.jm-portal-workspace-page .jm94-install-launcher{display:none!important}

@media(max-width:900px){
 body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page){--jm99-gutter:16px}
 body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page) :is(.jm70-shell,.jm-container,.jm-core-wrap,.jm76-gallery-shell){width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important}
 body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page) :is(.jm96-footer-gateway-inner,.jm70-final-inner){width:calc(100% - 32px)!important;margin-inline:auto!important}
 body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page) section{scroll-margin-top:82px}
}
@media(max-width:480px){
 body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page){--jm99-gutter:14px}
 body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page) :is(.jm70-shell,.jm-container,.jm-core-wrap,.jm76-gallery-shell){width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important}
 body#jm-site-root.jm-ui-v99:not(.jm-portal-workspace-page) :is(.jm96-footer-gateway-inner,.jm70-final-inner){width:calc(100% - 28px)!important}
}
