#install-bar{padding:18px 24px;text-align:center;background:#171717;color:#e6e6e6;font:14px Jost,system-ui,sans-serif;padding-bottom:max(18px,env(safe-area-inset-bottom))}
#install-bar[hidden],#install-native[hidden]{display:none}
#install-open{background:transparent;border:1px solid #777;color:#fff;border-radius:7px;padding:11px 18px;cursor:pointer;font:inherit}
#install-help{max-width:480px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;padding:28px;border:1px solid #d6d6d6;border-radius:14px;color:#222;background:#f4f4f4;font:15px/1.6 Jost,system-ui,sans-serif}
#install-help::backdrop{background:#0009}
#install-help h2{font-size:27px;margin:8px 0 16px;letter-spacing:-.5px}
#install-help h3{font-size:18px;margin:18px 0 4px}
#install-help p{margin:8px 0}#install-help ol{padding-left:22px}
.install-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}

/* Installation is an ordinary top banner, never a layer over mobile navigation. */
#install-bar{position:relative;inset:auto;z-index:auto;padding:10px 16px}
#install-open{min-height:44px;font-size:13px}
@media(max-width:720px){
 body:has(.unified-layout:not(.coach-layout) .nav){padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 .unified-layout:not(.coach-layout)>.sidebar{z-index:30}
 #install-bar{padding-top:max(10px,env(safe-area-inset-top))}
}
