:root{--student-pwa-navy:#10243d;--student-pwa-lime:#b6e63e;--student-pwa-bg:#f4f7fb;--student-pwa-text:#10243d;--student-pwa-muted:#687689;--student-pwa-safe-bottom:env(safe-area-inset-bottom,0px)}
html.pwa-standalone body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}
html.pwa-standalone .edu-appbar,html.pwa-standalone .portal-topbar{padding-top:max(12px,env(safe-area-inset-top,0px))}
html.pwa-standalone .edu-bottom-nav,html.pwa-standalone .mobile-nav{padding-bottom:max(8px,var(--student-pwa-safe-bottom))}
.student-pwa-status{position:fixed;z-index:1200;top:max(10px,env(safe-area-inset-top,0px));left:50%;transform:translate(-50%,-140%);display:flex;align-items:center;gap:8px;max-width:calc(100vw - 28px);padding:9px 13px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(16,36,61,.94);color:#fff;box-shadow:0 10px 30px rgba(16,36,61,.2);font:700 12px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;transition:transform .22s ease,opacity .22s ease;opacity:0;pointer-events:none;backdrop-filter:blur(12px)}
.student-pwa-status.show{transform:translate(-50%,0);opacity:1}.student-pwa-status.offline{background:#9b2c2c}.student-pwa-status.update{background:#1d4e89}.student-pwa-status i{width:8px;height:8px;border-radius:50%;background:var(--student-pwa-lime);box-shadow:0 0 0 4px rgba(182,230,62,.15)}.student-pwa-status.offline i{background:#ffd2d2}.student-pwa-status.update i{background:#d8ebff}
.student-pwa-install-fab{position:fixed;z-index:1180;right:16px;bottom:calc(86px + var(--student-pwa-safe-bottom));display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 15px;border:0;border-radius:16px;background:var(--student-pwa-navy);color:#fff;box-shadow:0 16px 36px rgba(16,36,61,.25);font:800 13px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.student-pwa-install-fab span{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:var(--student-pwa-lime);color:var(--student-pwa-navy);font-size:18px}.student-pwa-install-fab[hidden]{display:none}
.student-pwa-update{position:fixed;z-index:1250;left:50%;bottom:calc(18px + var(--student-pwa-safe-bottom));transform:translate(-50%,140%);width:min(92vw,470px);display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:14px 15px;border-radius:18px;background:#fff;color:var(--student-pwa-text);box-shadow:0 18px 60px rgba(16,36,61,.25);border:1px solid rgba(16,36,61,.1);transition:transform .25s ease}.student-pwa-update.show{transform:translate(-50%,0)}.student-pwa-update b{display:block;font-size:14px}.student-pwa-update small{display:block;margin-top:3px;color:var(--student-pwa-muted);font-size:12px}.student-pwa-update button{border:0;border-radius:12px;padding:10px 13px;background:var(--student-pwa-navy);color:#fff;font:800 12px/1 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}
.student-pwa-sheet[hidden]{display:none}.student-pwa-sheet{position:fixed;z-index:1300;inset:0;display:grid;align-items:end}.student-pwa-sheet__backdrop{position:absolute;inset:0;border:0;background:rgba(5,16,28,.58);backdrop-filter:blur(5px)}.student-pwa-sheet__card{position:relative;width:min(100%,560px);margin:0 auto;padding:12px 20px calc(24px + var(--student-pwa-safe-bottom));border-radius:28px 28px 0 0;background:#fff;color:var(--student-pwa-text);box-shadow:0 -24px 70px rgba(5,16,28,.25)}.student-pwa-sheet__handle{display:block;width:48px;height:5px;margin:0 auto 20px;border-radius:99px;background:#d5dde7}.student-pwa-sheet__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.student-pwa-sheet__head small{display:block;color:#6f7b8b;font-size:11px;font-weight:900;letter-spacing:.12em}.student-pwa-sheet__head h2{margin:6px 0 0;font-size:24px}.student-pwa-sheet__close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:12px;background:#edf2f7;color:#10243d;font-size:22px;cursor:pointer}.student-pwa-sheet__copy{margin:16px 0;color:#5e6b7a;line-height:1.6}.student-pwa-steps{display:grid;gap:10px;margin:16px 0 0;padding:0;list-style:none}.student-pwa-steps li{display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:center;padding:12px;border-radius:15px;background:#f4f7fb}.student-pwa-steps i{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--student-pwa-navy);color:#fff;font-style:normal;font-weight:900}.student-pwa-steps b{font-size:14px}.student-pwa-steps span{display:block;margin-top:2px;color:#687689;font-size:12px}.student-pwa-primary{width:100%;margin-top:18px;padding:14px 16px;border:0;border-radius:14px;background:var(--student-pwa-navy);color:#fff;font:800 14px/1 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.student-pwa-primary:disabled{opacity:.55;cursor:default}
body.portal-body .student-pwa-install-fab,body.student-login .student-pwa-install-fab{bottom:calc(18px + var(--student-pwa-safe-bottom))}
@media(min-width:900px){.student-pwa-install-fab{right:26px;bottom:26px}.student-pwa-sheet__card{margin-bottom:22px;border-radius:28px}}
@media(prefers-reduced-motion:reduce){.student-pwa-status,.student-pwa-update{transition:none}}
