/* Final mobile overrides, loaded after desktop styles. */
#accounts[hidden]{display:none!important}
@media(max-width:800px){
 html,body{width:100%;max-width:100%;overflow-x:clip}
 body>header{height:auto;min-height:70px;flex-wrap:wrap;padding:12px;gap:8px}
 body>header strong{position:static!important;width:auto!important;height:auto!important;white-space:normal!important;flex:1 1 100%;font-size:20px!important;padding:0!important}
 body>header>span{display:none}
 main#workspace{margin:12px!important;min-width:0;max-width:calc(100% - 24px)}
 aside#mobilenav{position:static!important;inset:auto!important;margin:0 0 14px!important;width:100%!important;box-sizing:border-box;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain}
 aside#mobilenav h2{display:block!important}
 #workspace>section{min-width:0;max-width:100%;box-sizing:border-box}
 .mail-overview,.mail-groups{width:100%;min-width:0}
 .mailgrid,.admin-layout,.cards,.addressfields{grid-template-columns:minmax(0,1fr)!important}
 .addressfields>span{display:none}
 #mail .row,#searchform,.calendar-toolbar{display:flex;flex-wrap:wrap;gap:8px}
 #searchform input,#searchform select{width:100%;max-width:100%;flex-basis:100%}
 #mail input,#compose input,#compose textarea,#compose select{max-width:100%;font-size:16px}
 button,select,input:not([type=checkbox]){min-height:44px}
 #reader{padding:12px;overflow-wrap:anywhere;min-width:0}
 #reader img{max-width:100%;height:auto}
 #reader iframe{width:100%;max-width:100%}
 #reader pre{white-space:pre-wrap;overflow-wrap:anywhere}
 .tablewrap{max-width:100%;overflow-x:auto}
 #accounts button{width:100%!important;white-space:normal;overflow-wrap:anywhere}
 #calendar-grid{grid-template-columns:1fr!important}
 .calendar-toolbar h1{flex-basis:100%;margin:0}
}

#booking-alert{position:fixed;z-index:9999;top:16px;right:16px;max-width:min(420px,calc(100vw - 32px));padding:22px;background:#fff;border:3px solid #098b90;border-radius:14px;box-shadow:0 12px 50px #0004;color:#17364f}#booking-alert[hidden]{display:none!important}

.push-note:not(:empty){margin:12px;padding:14px;background:#e8f5ff;color:#17364f;border:1px solid #bad5e8;border-radius:8px;overflow-wrap:anywhere}.push-note:empty{display:none}

#mail-unread-total{border-radius:20px;min-height:44px;background:#e5eef6;color:#36536e}#mail-unread-total.has-unread{background:#c82333;color:#fff;font-weight:700}#mail-unread-total[hidden]{display:none!important}
