/* Jamia Mahmoodia v91 — homepage refinement, public mobile authority and PWA install UI. */
:root{--jm91-green:#063d33;--jm91-deep:#042f29;--jm91-gold:#e7b84f;--jm91-ivory:#fbf8ef;--jm91-line:rgba(12,67,56,.12);--jm91-shadow:0 22px 60px rgba(4,43,36,.12)}
body#jm-site-root.jm-ui-v91{overflow-x:clip}
body#jm-site-root.jm-ui-v91 img{max-width:100%;height:auto}
body#jm-site-root.jm-ui-v91 .jm91-install-trigger[hidden],body#jm-site-root.jm-ui-v91 .jm91-drawer-install[hidden]{display:none!important}
body#jm-site-root.jm-ui-v91 .jm91-install-trigger{min-height:42px;padding:0 13px;border:1px solid rgba(6,61,51,.12);border-radius:13px;background:#f6f3e9;color:#0b4a3e;display:inline-flex;align-items:center;gap:8px;font:800 9px/1 Manrope,sans-serif;letter-spacing:.02em;cursor:pointer;white-space:nowrap;transition:.2s ease}
body#jm-site-root.jm-ui-v91 .jm91-install-trigger:hover{transform:translateY(-1px);background:#fff8e7;border-color:rgba(183,132,34,.34);color:#805c17}
body#jm-site-root.jm-ui-v91 .jm91-install-trigger i{font-size:13px;color:#b88428}

/* Homepage hero: clearer hierarchy with the gallery command living inside slider controls. */
body#jm-site-root.jm-ui-v91 .jm71-hero{background:var(--jm91-deep)!important}
body#jm-site-root.jm-ui-v91 .jm71-hero:after{content:"";position:absolute;z-index:2;inset:0;pointer-events:none;background:radial-gradient(circle at 20% 30%,rgba(239,199,96,.08),transparent 30%),linear-gradient(180deg,transparent 65%,rgba(1,20,17,.18))}
body#jm-site-root.jm-ui-v91 .jm71-brand-chip{box-shadow:0 16px 45px rgba(0,0,0,.13)!important}
body#jm-site-root.jm-ui-v91 .jm71-hero-copy h1{text-shadow:0 5px 28px rgba(0,0,0,.13)}
body#jm-site-root.jm-ui-v91 .jm71-slider-console{overflow:visible!important}
body#jm-site-root.jm-ui-v91 .jm71-slider-arrows{display:flex!important;align-items:center!important;gap:7px!important}
body#jm-site-root.jm-ui-v91 .jm91-slider-gallery{height:44px;padding:0 13px;border:1px solid rgba(255,255,255,.15);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;display:inline-flex;align-items:center;gap:8px;text-decoration:none;font:800 9px/1 Manrope,sans-serif;letter-spacing:.04em;white-space:nowrap;transition:.2s ease}
body#jm-site-root.jm-ui-v91 .jm91-slider-gallery i{color:#f0ca6d;font-size:13px}
body#jm-site-root.jm-ui-v91 .jm91-slider-gallery:hover{background:#fff;color:#083e34;border-color:#fff}
body#jm-site-root.jm-ui-v91 .jm91-slider-gallery:hover i{color:#a67620}
body#jm-site-root.jm-ui-v91 .jm70-command{position:relative;z-index:4;background:#fff}
body#jm-site-root.jm-ui-v91 .jm70-command-grid{border-radius:0 0 22px 22px!important;overflow:hidden!important;box-shadow:0 24px 70px rgba(4,48,40,.09)!important}
body#jm-site-root.jm-ui-v91 .jm70-command-grid>a{transition:transform .2s ease,background .2s ease!important}
body#jm-site-root.jm-ui-v91 .jm70-command-grid>a:hover{transform:translateY(-2px);z-index:2}

/* PWA install modal/banner. */
.jm91-install-modal{position:fixed;inset:0;z-index:12000;padding:22px;display:grid;place-items:center;background:rgba(1,25,21,.72);backdrop-filter:blur(12px);opacity:0;visibility:hidden;transition:.2s ease}
.jm91-install-modal.is-open{opacity:1;visibility:visible}
.jm91-install-dialog{position:relative;width:min(430px,100%);padding:30px;border:1px solid rgba(255,255,255,.14);border-radius:26px;background:#fffdf8;box-shadow:0 28px 90px rgba(0,0,0,.28);text-align:center;color:#173f36}
.jm91-install-close{position:absolute;right:12px;top:12px;width:38px;height:38px;border:0;border-radius:11px;background:#f1eee4;color:#385c53;cursor:pointer}
.jm91-install-mark{width:76px;height:76px;margin:0 auto 16px;border-radius:20px;overflow:hidden;display:block;box-shadow:0 12px 34px rgba(6,61,51,.17)}
.jm91-install-mark img{width:100%;height:100%;object-fit:cover}
.jm91-install-dialog>small{display:block;color:#b2832b;font:850 8px/1 Manrope,sans-serif;letter-spacing:.18em}
.jm91-install-dialog h2{margin:8px 0 10px;font:700 34px/.98 Newsreader,"Source Serif 4",serif;color:#113f35}
.jm91-install-dialog p{margin:0;color:#677b74;font:500 13px/1.7 Manrope,sans-serif}
.jm91-install-steps{margin:20px 0;display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center}
.jm91-install-steps>span{min-height:72px;padding:11px;border:1px solid var(--jm91-line);border-radius:15px;background:#f8f6ef;display:grid;place-items:center;gap:6px}.jm91-install-steps>span i{font-size:18px;color:#a97924}.jm91-install-steps>span b{font:800 10px/1.2 Manrope,sans-serif}.jm91-install-steps>i{color:#b5bdb9;font-size:11px}
.jm91-install-done{width:100%;min-height:48px;border:0;border-radius:14px;background:var(--jm91-green);color:#fff;font:800 11px/1 Manrope,sans-serif;cursor:pointer}
.jm91-install-banner{position:fixed;z-index:11000;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));display:flex;align-items:stretch;gap:6px;transform:translateY(calc(100% + 30px));opacity:0;transition:.3s ease;filter:drop-shadow(0 18px 42px rgba(0,0,0,.22))}
.jm91-install-banner.is-visible{transform:translateY(0);opacity:1}
.jm91-install-banner-main{flex:1;min-width:0;min-height:72px;padding:8px 12px 8px 8px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:linear-gradient(135deg,#073f35,#052f29);color:#fff;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;cursor:pointer}
.jm91-install-banner-icon{width:48px;height:48px;border-radius:13px;overflow:hidden}.jm91-install-banner-icon img{width:100%;height:100%;object-fit:cover}
.jm91-install-banner-main>span:nth-child(2){min-width:0}.jm91-install-banner-main small,.jm91-install-banner-main b,.jm91-install-banner-main em{display:block}.jm91-install-banner-main small{color:#ebc86d;font:850 6.5px/1 Manrope,sans-serif;letter-spacing:.13em}.jm91-install-banner-main b{margin-top:4px;font:750 14px/1.05 Manrope,sans-serif}.jm91-install-banner-main em{margin-top:4px;color:rgba(255,255,255,.63);font:500 8px/1.2 Manrope,sans-serif;font-style:normal}.jm91-install-banner-main>i{color:#efca6e;font-size:16px}
.jm91-install-banner-close{width:42px;border:0;border-radius:15px;background:#fff;color:#36584f;cursor:pointer}

/* Public mobile authority. Designed to override older v75-v90 collisions safely. */
@media(max-width:900px){
 html{scroll-padding-top:72px}
 body#jm-site-root.jm-ui-v91:not(.jm-portal-workspace-page){font-size:15px}
 body#jm-site-root.jm-ui-v91:not(.jm-portal-workspace-page) :is(main,section,article,aside,nav,header,footer,form,fieldset,figure,div){min-width:0}
 body#jm-site-root.jm-ui-v91:not(.jm-portal-workspace-page) :is(input,select,textarea,button){max-width:100%}
 body#jm-site-root.jm-ui-v91 .jm70-header{position:sticky!important;top:0!important;z-index:9990!important;border-bottom:1px solid rgba(6,61,51,.08)!important;background:rgba(255,253,248,.94)!important;backdrop-filter:blur(14px)!important;box-shadow:0 7px 24px rgba(5,53,44,.055)!important}
 body#jm-site-root.jm-ui-v91 .jm70-header-inner{width:calc(100% - 20px)!important;height:68px!important;gap:5px!important}
 body#jm-site-root.jm-ui-v91 .jm70-brand{max-width:none!important;flex:1 1 0!important;gap:9px!important}
 body#jm-site-root.jm-ui-v91 .jm70-brand-seal{width:43px!important;height:43px!important;flex-basis:43px!important;border-radius:13px!important}
 body#jm-site-root.jm-ui-v91 .jm70-brand-copy strong{font-size:12px!important;letter-spacing:.01em!important}
 body#jm-site-root.jm-ui-v91 .jm70-brand-copy>span{font-size:6.4px!important;letter-spacing:.08em!important}
 body#jm-site-root.jm-ui-v91 .jm70-actions{gap:4px!important}
 body#jm-site-root.jm-ui-v91 .jm91-install-trigger{width:39px!important;min-width:39px!important;height:39px!important;min-height:39px!important;padding:0!important;justify-content:center!important;border-radius:11px!important;background:#fff7e6!important}
 body#jm-site-root.jm-ui-v91 .jm91-install-trigger span{display:none!important}
 body#jm-site-root.jm-ui-v91 .jm70-lang,body#jm-site-root.jm-ui-v91 .jm70-menu-toggle{width:39px!important;min-width:39px!important;height:39px!important;min-height:39px!important;border-radius:11px!important}
 body#jm-site-root.jm-ui-v91 .jm70-drawer{width:min(92vw,390px)!important;max-width:390px!important;padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
 body#jm-site-root.jm-ui-v91 .jm70-drawer-head{position:sticky!important;top:0!important;z-index:2!important;background:inherit!important}
 body#jm-site-root.jm-ui-v91 .jm70-drawer-search{margin-top:12px!important}
 body#jm-site-root.jm-ui-v91 .jm70-mobile-nav{overflow:visible!important}
 body#jm-site-root.jm-ui-v91 .jm70-mobile-nav a,body#jm-site-root.jm-ui-v91 .jm70-mobile-group summary{min-height:62px!important}
 body#jm-site-root.jm-ui-v91 .jm70-drawer-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
 body#jm-site-root.jm-ui-v91 .jm91-drawer-install{min-height:58px;padding:10px 12px;border:1px solid rgba(229,185,82,.25);border-radius:15px;background:#fff8e7;color:#244b42;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer}
 body#jm-site-root.jm-ui-v91 .jm91-drawer-install>i{width:36px;height:36px;border-radius:10px;background:#0a5c4b;color:#fff;display:grid;place-items:center}
 body#jm-site-root.jm-ui-v91 .jm91-drawer-install span{display:grid;gap:3px}.jm91-drawer-install b{font:800 11px/1 Manrope,sans-serif}.jm91-drawer-install small{font:500 8px/1.2 Manrope,sans-serif;color:#71827c}

 body#jm-site-root.jm-ui-v91 .jm71-hero{height:auto!important;min-height:0!important}
 body#jm-site-root.jm-ui-v91 .jm71-slide{background:var(--jm91-deep)!important}
 body#jm-site-root.jm-ui-v91 .jm71-hero-media{height:clamp(230px,61vw,300px)!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
 body#jm-site-root.jm-ui-v91 .jm71-hero-media:after{content:""!important;display:block!important;position:absolute!important;inset:0!important;background:linear-gradient(0deg,#052f29 0%,rgba(5,47,41,.3) 34%,transparent 62%)!important}
 body#jm-site-root.jm-ui-v91 .jm71-hero-inner{padding:19px 14px 23px!important;background:linear-gradient(180deg,#052f29,#06372f)!important}
 body#jm-site-root.jm-ui-v91 .jm71-eyebrow{margin:0 0 10px!important;font-size:8px!important;line-height:1.25!important;letter-spacing:.12em!important;color:#eac66a!important}
 body#jm-site-root.jm-ui-v91 .jm71-hero-copy h1{font-size:clamp(36px,10.4vw,47px)!important;line-height:.96!important;letter-spacing:-.035em!important;text-wrap:balance!important;overflow-wrap:normal!important}
 body#jm-site-root.jm-ui-v91 .jm71-hero-copy h1 span{display:inline!important}
 body#jm-site-root.jm-ui-v91 .jm71-hero-lead{margin-top:13px!important;font-size:13px!important;line-height:1.62!important;color:#d9e5e1!important}
 body#jm-site-root.jm-ui-v91 .jm71-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:17px!important}
 body#jm-site-root.jm-ui-v91 .jm71-hero-actions .jm70-btn{min-height:46px!important;padding:0 10px!important;font-size:8.5px!important;border-radius:12px!important;text-align:center!important}
 body#jm-site-root.jm-ui-v91 .jm71-slider-console{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;padding:8px 10px 10px!important;background:#032a24!important;border-top:1px solid rgba(255,255,255,.07)!important}
 body#jm-site-root.jm-ui-v91 .jm71-slide-status{display:none!important}
 body#jm-site-root.jm-ui-v91 .jm71-slide-tabs{display:flex!important;overflow-x:auto!important;gap:6px!important;padding:0 0 3px!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important}
 body#jm-site-root.jm-ui-v91 .jm71-slide-tabs::-webkit-scrollbar{display:none!important}
 body#jm-site-root.jm-ui-v91 .jm71-slide-tabs button{flex:0 0 78px!important;min-width:78px!important;height:44px!important;padding:0 7px!important;border-radius:11px!important;scroll-snap-align:start!important}
 body#jm-site-root.jm-ui-v91 .jm71-slide-tabs .jm79-tab-icon{font-size:12px!important}
 body#jm-site-root.jm-ui-v91 .jm71-slide-tabs .jm79-tab-copy b{display:none!important}
 body#jm-site-root.jm-ui-v91 .jm71-slide-tabs .jm79-tab-copy span{font-size:7.5px!important;white-space:nowrap!important}
 body#jm-site-root.jm-ui-v91 .jm71-slider-arrows{gap:5px!important}
 body#jm-site-root.jm-ui-v91 .jm71-slider-arrows button{width:40px!important;height:40px!important;border-radius:10px!important}
 body#jm-site-root.jm-ui-v91 .jm71-slider-arrows .jm-slide-pause{display:none!important}
 body#jm-site-root.jm-ui-v91 .jm91-slider-gallery{width:40px!important;height:40px!important;padding:0!important;justify-content:center!important;border-radius:10px!important;background:rgba(234,195,97,.13)!important}
 body#jm-site-root.jm-ui-v91 .jm91-slider-gallery span{display:none!important}

 body#jm-site-root.jm-ui-v91 .jm70-command{padding:0 10px 12px!important;background:#f8f5ed!important}
 body#jm-site-root.jm-ui-v91 .jm70-command-grid{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;border:0!important;border-radius:16px!important;box-shadow:none!important;background:transparent!important}
 body#jm-site-root.jm-ui-v91 .jm70-command-grid>a{min-height:96px!important;padding:13px!important;border:1px solid var(--jm91-line)!important;border-radius:14px!important;background:#fff!important;display:grid!important;grid-template-columns:34px 1fr!important;align-items:start!important;gap:9px!important}
 body#jm-site-root.jm-ui-v91 .jm70-command-grid>a>span{width:34px!important;height:34px!important;border-radius:10px!important}.jm70-command-grid>a>div{min-width:0!important}.jm70-command-grid>a>i{display:none!important}
 body#jm-site-root.jm-ui-v91 .jm70-command-grid small{font-size:6.5px!important}.jm70-command-grid b{font-size:13px!important;line-height:1.1!important}.jm70-command-grid em{font-size:8px!important;line-height:1.35!important}

 body#jm-site-root.jm-ui-v91 .jm76-home.jm72-home :is(.jm71-pathfinder,.jm70-story,.jm72-mission,.jm70-identities,.jm70-academics,.jm70-scholarly,.jm70-campus,.jm70-legacy,.jm70-desk){padding-top:50px!important;padding-bottom:50px!important}
 body#jm-site-root.jm-ui-v91 .jm76-home.jm72-home :is(.jm70-section-head h2,.jm70-campus-head h2,.jm71-pathfinder h2,.jm70-story-copy h2,.jm72-mission-copy h2){font-size:clamp(30px,8.6vw,38px)!important;line-height:1.02!important}
 body#jm-site-root.jm-ui-v91 .jm71-pathfinder-grid,body#jm-site-root.jm-ui-v91 .jm70-story-grid,body#jm-site-root.jm-ui-v91 .jm72-mission-grid{gap:20px!important}
 body#jm-site-root.jm-ui-v91 .jm71-path-grid{grid-template-columns:1fr!important;gap:9px!important}
 body#jm-site-root.jm-ui-v91 .jm71-path-grid>a{min-height:0!important;padding:17px!important;border-radius:16px!important}
 body#jm-site-root.jm-ui-v91 .jm70-program-grid{gap:10px!important}
 body#jm-site-root.jm-ui-v91 .jm70-program-card{padding:18px!important;border-radius:18px!important}
 body#jm-site-root.jm-ui-v91 .jm70-campus-head{display:grid!important;gap:13px!important}
 body#jm-site-root.jm-ui-v91 .jm77-gallery-link{justify-self:start!important;min-height:43px!important;padding:0 13px!important;border-radius:12px!important}
 body#jm-site-root.jm-ui-v91 .jm77-home-gallery{gap:7px!important}.jm77-home-gallery>a{border-radius:15px!important;overflow:hidden!important;aspect-ratio:16/11!important}
 body#jm-site-root.jm-ui-v91 .jm70-statline{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.jm70-statline>*{min-height:88px!important;padding:13px!important;border-radius:14px!important}
 body#jm-site-root.jm-ui-v91 .jm70-desk-grid{gap:10px!important}

 /* All public pages: content-safe responsive fallback for tables/forms/cards. */
 body#jm-site-root.jm-ui-v91:not(.jm-portal-workspace-page) :is(.jm-core-wrap,.jm70-shell,.jm-container,.jm76-gallery-shell){max-width:100%!important}
 body#jm-site-root.jm-ui-v91:not(.jm-portal-workspace-page) :is(table,.jm-table){display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body#jm-site-root.jm-ui-v91:not(.jm-portal-workspace-page) :is(.jm-standard-content,.jm-core-card,.jm-info-card,article,aside,figure){overflow-wrap:break-word}
 body#jm-site-root.jm-ui-v91:not(.jm-portal-workspace-page) :is(input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="number"],input[type="date"],input[type="password"],select,textarea){font-size:16px!important}
 body#jm-site-root.jm-ui-v91:not(.jm-portal-workspace-page) iframe{max-width:100%!important}
 body#jm-site-root.jm-ui-v91 .jm70-footer{overflow:hidden}
}
@media(max-width:560px){
 body#jm-site-root.jm-ui-v91 .jm70-brand-copy>span{display:none!important}
 body#jm-site-root.jm-ui-v91 .jm71-hero-actions{grid-template-columns:1fr!important}
 body#jm-site-root.jm-ui-v91 .jm70-command-grid{grid-template-columns:1fr 1fr!important}
 body#jm-site-root.jm-ui-v91 .jm70-statline{grid-template-columns:1fr 1fr!important}
 .jm91-install-dialog{padding:26px 18px 20px;border-radius:22px}.jm91-install-dialog h2{font-size:30px}
}
@media(max-width:365px){
 body#jm-site-root.jm-ui-v91 .jm70-header-inner{width:calc(100% - 14px)!important}
 body#jm-site-root.jm-ui-v91 .jm70-brand-seal{width:39px!important;height:39px!important;flex-basis:39px!important}
 body#jm-site-root.jm-ui-v91 .jm70-brand-copy strong{font-size:10.5px!important}
 body#jm-site-root.jm-ui-v91 .jm91-install-trigger,body#jm-site-root.jm-ui-v91 .jm70-lang,body#jm-site-root.jm-ui-v91 .jm70-menu-toggle{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}
 body#jm-site-root.jm-ui-v91 .jm70-command-grid{grid-template-columns:1fr!important}
 body#jm-site-root.jm-ui-v91 .jm70-statline{grid-template-columns:1fr!important}
 body#jm-site-root.jm-ui-v91 .jm71-slide-tabs button{flex-basis:72px!important;min-width:72px!important}
}

/* v91.1 — iPhone/iPad install authority. iOS has no beforeinstallprompt, so controls stay visible and explain Add to Home Screen. */
html.jm91-ios-device body#jm-site-root.jm-ui-v91 .jm91-install-trigger{border-color:rgba(183,132,34,.28);background:#fff8e7;color:#6e521d}
html.jm91-ios-device body#jm-site-root.jm-ui-v91 .jm91-install-trigger i{color:#a97924}
.jm91-install-steps.is-ios-steps{grid-template-columns:1fr auto 1fr auto 1fr}
.jm91-install-steps.is-ios-steps>span{min-width:0}
.jm91-ios-tip{margin:-5px 0 18px;padding:11px 12px;border:1px solid rgba(6,61,51,.09);border-radius:14px;background:#f4f7f4;display:flex;align-items:center;gap:10px;text-align:left}
.jm91-ios-tip>i{width:34px;height:34px;border-radius:10px;background:#fff;color:#1677d2;display:grid;place-items:center;font-size:18px;box-shadow:0 5px 16px rgba(6,61,51,.08)}
.jm91-ios-tip span{display:grid;gap:3px}.jm91-ios-tip b{font:800 10px/1.15 Manrope,sans-serif;color:#173f36}.jm91-ios-tip small{font:500 8px/1.35 Manrope,sans-serif;color:#6d7d77}
@media(max-width:560px){.jm91-install-steps.is-ios-steps{grid-template-columns:1fr;gap:7px}.jm91-install-steps.is-ios-steps>i{transform:rotate(90deg);justify-self:center}.jm91-install-steps.is-ios-steps>span{min-height:52px;grid-template-columns:28px 1fr;text-align:left;justify-items:start}.jm91-install-steps.is-ios-steps>span i{justify-self:center}.jm91-install-steps.is-ios-steps>span b{font-size:9px}}
@media(prefers-reduced-motion:reduce){.jm91-install-banner,.jm91-install-modal,body#jm-site-root.jm-ui-v91 .jm70-command-grid>a{transition:none!important}}
