@layer portal-sticky-header {
#admin>.top{position:sticky!important;}
#admin>.top #officeHeaderSearch{position:absolute!important;right:var(--search-right,14px)!important;bottom:8px!important;width:var(--search-width,min(36%,480px))!important;z-index:130;box-sizing:border-box;}
#admin>.top #officeHeaderSearch input{display:block!important;width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:4px 10px!important;margin:0!important;border:1px solid #bdcfe4!important;border-radius:8px!important;background:white!important;color:#15374d!important;font:16px/22px system-ui!important;box-sizing:border-box!important;}
#admin>.top #officeHeaderSearchResults{position:absolute;top:calc(100% + 6px);right:0;width:min(480px,calc(100vw - 28px));max-height:min(420px,60dvh);overflow:auto;background:white;color:#15374d;border:1px solid #bdcfe4;border-radius:10px;box-shadow:0 8px 24px #0003;padding:6px;box-sizing:border-box;}
#admin>.top #officeHeaderSearchResults[hidden]{display:none!important;}
#admin>.top #officeHeaderSearchResults button{display:flex!important;flex-direction:column!important;align-items:flex-start!important;width:100%!important;height:auto!important;min-height:44px!important;margin:0!important;padding:8px!important;border:0!important;border-radius:6px!important;background:white!important;color:#15374d!important;text-align:left!important;font:14px/1.3 system-ui!important;white-space:normal!important;}
#admin>.top #officeHeaderSearchResults button:hover,#admin>.top #officeHeaderSearchResults button:focus{background:#eaf2ff!important;}
#officeHeaderSearchResults small{font-size:12px;overflow-wrap:anywhere;}#officeHeaderSearchResults p{margin:8px;font-size:14px;}
@media(max-width:900px){#admin>.top #officeHeaderSearch{left:8px!important;right:auto!important;bottom:8px!important;top:auto!important;width:30%!important;}#admin>.top #officeHeaderSearch input{font-size:16px!important;padding:4px 6px!important;}}
}

@layer portal-sticky-header {@media(max-width:900px){#admin:not(:has(>#officeHome.active))>.top #officeHeaderSearch{display:none!important;}#admin>.top #officeHeaderSearchResults{left:0;right:auto;}}}

