.pwa-install-page{margin:0;background:#f3f6fb;color:#17365e;font:16px/1.6 system-ui}.pwa-install-page header{padding:24px max(20px,calc((100vw - 920px)/2));background:#123b78;color:white;display:flex;align-items:center;gap:18px}.pwa-install-page header img{border-radius:16px}.pwa-install-page header a{color:inherit;text-decoration:none;font-size:13px}.pwa-install-page main{max-width:920px;margin:auto;padding:35px 22px}.pwa-install-page h1{font-size:clamp(29px,5vw,42px);line-height:1.2;margin:5px 0 16px}.pwa-install-page h2{font-size:20px;margin:0 0 12px}.pwa-install-card{background:white;border:1px solid #d5dfed;border-radius:16px;padding:26px;margin:20px 0}.pwa-install-intro{max-width:650px}.pwa-install-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pwa-install-grid .pwa-install-card{margin:0}.pwa-install-page a{color:#174f9c}.pwa-install-page li{margin:10px 0}.pwa-install-page button,.pwa-open-portal{display:inline-block;min-height:44px;padding:12px 20px;border:0;border-radius:10px;background:#ffd345;color:#12305b;font:700 15px system-ui;cursor:pointer;text-decoration:none}.pwa-install-page :focus-visible{outline:3px solid #2464c2;outline-offset:4px}.pwa-install-note{font-size:13px;color:#536980}.pwa-install-page footer{margin-top:30px;font-size:12px;color:#536980}.pwa-offline-status,.pwa-update{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));right:16px;left:16px;max-width:440px;margin-left:auto;z-index:3000;padding:16px 20px;border-radius:12px;box-shadow:0 8px 30px #07172c44;background:#fff0b5;color:#493b18;font:14px/1.5 system-ui}.pwa-update strong,.pwa-update p{display:block;margin:0 0 9px;color:inherit}.pwa-update button{min-height:44px;padding:10px 16px;border:0;border-radius:8px;margin-right:9px;background:#173d50;color:white;font:700 14px system-ui;cursor:pointer}.pwa-offline-status[hidden]{display:none!important}@media(max-width:600px){.pwa-install-grid{grid-template-columns:1fr}.pwa-install-card{padding:20px}}@media(display-mode:standalone){body>header{padding-top:max(18px,env(safe-area-inset-top));padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}body{padding-bottom:env(safe-area-inset-bottom)}}@media print{.pwa-offline-status,.pwa-update{display:none!important}}
body>header:has(>.pwa-header-install){position:relative;padding-top:50px}body>header>.pwa-header-install{position:absolute;top:8px;right:5%;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 11px;border:1px solid #ffdc70;border-radius:8px;background:#ffd345;color:#12305b;font:700 12px/1.4 system-ui;text-decoration:none;white-space:nowrap}body>header>.pwa-header-install:hover{background:#ffe58a}body>header>.pwa-header-install:focus-visible{outline:3px solid white;outline-offset:3px}@media screen{body>header:has(.portal-identity):has(>.pwa-header-install){position:sticky}}@media(max-width:780px){body>header>.pwa-header-install{right:16px}}@media print{.pwa-header-install{display:none!important}}

header .brand .portal-brand-logo{display:block;width:190px;max-width:100%;height:auto}header .brand:has(.portal-brand-logo){flex-shrink:0}@media screen and (max-width:780px){body>header,body>header:has(.portal-identity):has(>.pwa-header-install){position:relative!important;top:auto!important}html{scroll-padding-top:16px!important}header .brand:has(.portal-brand-logo){width:auto}header .brand .portal-brand-logo{width:155px}}

@media(min-width:781px){body>header{flex-wrap:wrap}body>header nav{flex-wrap:wrap;justify-content:flex-end;min-width:0}body>header .portal-identity{max-width:100%}}
