/* Scoped update notice: no changes to the existing portal/tablet layout. */
#portalUpdateNotice{box-sizing:border-box;position:relative;z-index:20;display:flex;align-items:center;gap:14px;margin:12px auto;padding:14px 18px;width:calc(100% - 32px);max-width:1240px;background:#edf4ff;color:#193756;border:1px solid #bcd0f1;border-radius:16px;font-family:inherit;box-shadow:0 3px 12px #1834560b}
#portalUpdateNotice[hidden]{display:none!important}
#portalUpdateNotice .pwa-update-copy{min-width:0;flex:1}
#portalUpdateNotice strong{display:block;font-size:18px;line-height:1.35}
#portalUpdateNotice p{margin:4px 0 0;font-size:15px;line-height:1.4;color:#4f647f;overflow-wrap:anywhere}
#portalUpdateNotice button{box-sizing:border-box;flex:0 0 auto;min-height:48px;padding:10px 18px;border:0;border-radius:12px;background:#245dce;color:white;font-family:inherit;font-size:17px;font-weight:700;line-height:1.3;cursor:pointer;white-space:normal}
#portalUpdateNotice button:disabled{opacity:.65;cursor:wait}
#portalUpdateNotice button:focus-visible{outline:3px solid #193756;outline-offset:3px}
@media(max-width:540px){#portalUpdateNotice{align-items:stretch;flex-direction:column;width:calc(100% - 20px);padding:14px;margin:10px auto;gap:10px}#portalUpdateNotice button{width:100%}}
#portalUpdateConfirm{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:20px;background:#14294488}
#portalUpdateConfirm section{box-sizing:border-box;width:min(500px,100%);max-height:90vh;overflow:auto;border-radius:20px;background:white;color:#193756;padding:24px;box-shadow:0 12px 50px #14294444}
#portalUpdateConfirm h2{font-size:24px;line-height:1.3;margin:0 0 12px}
#portalUpdateConfirm p{font-size:17px;line-height:1.5;margin:0 0 20px}
#portalUpdateConfirm button{box-sizing:border-box;display:block;width:100%;min-height:48px;margin-top:10px;padding:12px;border:1px solid #bcd0f1;border-radius:12px;background:#edf4ff;color:#193756;font:inherit;font-size:17px;font-weight:700;white-space:normal;cursor:pointer}
#portalUpdateConfirm button.pwa-discard{color:#a32929;background:#fff6f6;border-color:#e9bdbd}
#portalUpdateConfirm button:focus-visible{outline:3px solid #245dce;outline-offset:3px}
@media print{#portalUpdateNotice,#portalUpdateConfirm{display:none!important}}
