/* Search pop-up: always fits the screen, results scroll inside it */
.search-dlg{margin:6vh auto 0;max-height:calc(100vh - 6vh - 16px);max-height:calc(100dvh - 6vh - 16px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box}
.search-dlg__top{position:sticky;top:-18px;z-index:2;background:#fff;margin:-18px -20px 12px;padding:18px 20px 8px}
.search-dlg__top button{min-height:36px;min-width:52px}
.search-dlg .pagefind-ui__search-input{font-size:16px!important}
@media (max-width:600px){
 .search-dlg{width:calc(100% - 16px);margin-top:8px;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding:14px 14px 18px}
 .search-dlg__top{top:-14px;margin:-14px -14px 10px;padding:14px 14px 8px;font-size:1.2rem}
}
/* University seal: official vector, full shape, never squashed */
.brand img{width:auto;height:62px;aspect-ratio:1152/1314;object-fit:contain;flex:none;image-rendering:auto}
@media (width<=1360px){.brand img{height:56px}}
@media (max-width:600px){.brand img{height:48px}}
.mnav__top img{width:44px;height:44px;padding:4px 6px;box-sizing:border-box}
.footer__brand img{width:76px;height:76px;padding:6px 8px;box-sizing:border-box}
