#sp-install-root{display:contents;font:14px/1.5 'Segoe UI',system-ui,sans-serif;color:#233c51}#sp-install-root[hidden],#sp-install-root [hidden]{display:none!important}.sp-install-chip{width:auto;max-width:calc(100vw - 32px);position:fixed;right:18px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:900;display:flex;align-items:center;gap:8px;background:#fff;color:#155b7c;border:1px solid #c9dfe9;border-radius:30px;padding:10px 15px;box-shadow:0 4px 18px #173b5114;font:600 12px/1.2 system-ui,sans-serif;min-height:40px;margin:0;cursor:pointer}.sp-install-chip svg,.sp-install-dialog svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.sp-install-promo{position:fixed;right:18px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:901;width:370px;max-width:calc(100vw - 32px);padding:19px;background:#fff;border:1px solid #d5e5ec;border-radius:16px;box-shadow:0 12px 46px #0c294026}.sp-install-intro{display:flex;gap:13px;align-items:center}.sp-install-intro img{width:49px;height:49px;border-radius:12px;flex-shrink:0}.sp-install-intro h2{font:700 16px/1.35 system-ui,sans-serif;margin:0;color:#173d58;letter-spacing:0}.sp-install-intro p{font:12px/1.65 system-ui,sans-serif;color:#617b8c;margin:5px 0 0}.sp-install-actions{display:flex;gap:9px;margin-top:16px}.sp-install-actions button{width:auto;min-width:0;flex:1;font:600 12px/1.2 system-ui,sans-serif;border-radius:8px;padding:11px 12px;min-height:40px;margin:0;cursor:pointer;box-shadow:none;border:1px solid #176696;background:#176696;color:#fff;transition:background .15s}.sp-install-actions button.sp-install-later{flex:0 0 auto;background:#f4f8fa;color:#587384;border-color:#dce7ec}.sp-install-actions button:hover{background:#12577f;transform:none}.sp-install-actions button.sp-install-later:hover{background:#eaf2f6}.sp-install-chip:focus-visible,.sp-install-actions button:focus-visible,.sp-install-dialog button:focus-visible{outline:3px solid #79b9d1;outline-offset:3px}.sp-install-dialog{font:14px/1.65 system-ui,sans-serif;color:#233c51;width:min(460px,calc(100vw - 32px));max-height:85vh;padding:0;border:1px solid #d2e2e9;border-radius:17px;background:#fff;box-shadow:0 20px 80px #142b4b40}.sp-install-dialog::backdrop{background:#102c405e}.sp-install-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;height:auto;background:#f6fafc;border-bottom:1px solid #e0e9ee;padding:18px 22px}.sp-install-dialog h2{font-size:18px;line-height:1.4;margin:0;color:#173d58}.sp-install-dialog header button{min-height:32px;width:32px;display:grid;place-items:center;flex-shrink:0;margin:0;padding:0;background:#fff;border:1px solid #d8e6ed;border-radius:8px;color:#526f80;font-size:18px;cursor:pointer;box-shadow:none}.sp-install-body{padding:21px 24px;overflow:auto}.sp-install-body p{font:13px/1.7 system-ui,sans-serif;color:#587384;margin:0 0 14px}.sp-install-body ol{margin:0;padding-left:23px}.sp-install-body li{padding:5px 0;font-size:14px;line-height:1.7}.sp-install-footnote{margin-top:17px!important;background:#f1f7f9;padding:12px 14px;border-radius:8px;font-size:12px!important}.sp-install-status{color:#176696;font-size:12px;margin:12px 0 0}.sp-install-dialog [hidden]{display:none!important}@media(max-width:600px){.sp-install-promo{right:16px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:calc(100vw - 32px)}.sp-install-chip{right:14px;font-size:11px;padding:10px 13px}.sp-install-dialog header{padding:17px 20px}}@media(prefers-reduced-motion:reduce){.sp-install-actions button{transition:none}}

.sp-push-actions{display:flex;gap:10px;flex-wrap:wrap}.sp-push-actions button{background:#176696;color:#fff;border:0;border-radius:9px;padding:12px 16px;font:600 14px system-ui;cursor:pointer}.sp-push-actions button:disabled{opacity:.5;cursor:wait}.sp-push-actions [hidden]{display:none}.sp-push-actions [data-push-disable]{background:#e9eef2;color:#334e63}#sp-push-open{font-size:13px}
.sp-push-dialog [data-push-items] article{border-top:1px solid #dce6ed;padding:8px 0}.sp-push-dialog [data-push-items] article p{white-space:pre-wrap;overflow-wrap:anywhere}.sp-push-dialog [data-push-items] h4{margin-bottom:6px}
/* Compact install control stays clear of mobile navigation. */
#sp-install-root .sp-install-chip{min-height:36px;padding:7px 10px;gap:6px;font-size:11px;box-shadow:0 2px 8px #173b5110}
@media(max-width:900px){#sp-install-root .sp-install-chip{right:12px;bottom:calc(80px + env(safe-area-inset-bottom,0px));width:44px;height:44px;min-height:44px;padding:0;justify-content:center}#sp-install-root .sp-install-chip span{display:none}#sp-install-root .sp-install-chip svg{width:19px;height:19px}}
@media(display-mode:standalone),(display-mode:minimal-ui),(display-mode:fullscreen){#sp-install-root{display:none!important}}
