/* Lightweight public-page styles for the install status and help dialog. */
.pwa-install-status {
    position: fixed;
    bottom: max(18px, env(safe-area-inset-bottom));
    right: 18px;
    z-index: 11900;
    width: min(360px, calc(100vw - 36px));
    box-sizing: border-box;
    margin: 0;
    padding: 13px 16px;
    border: 1px solid rgba(61, 92, 149, .22);
    border-radius: 10px;
    background: rgba(61, 92, 149, .08);
    color: #273a60;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 14px 36px rgba(18, 25, 38, .22);
    animation: pwa-install-toast-in .22s ease-out both;
}
@keyframes pwa-install-toast-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .pwa-install-status { animation: none; } }
.pwa-install-help {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(16, 20, 30, .72);
    backdrop-filter: blur(5px);
}
.pwa-install-help__card {
    width: min(440px, 100%);
    box-sizing: border-box;
    border: 1px solid #d4bd83;
    border-radius: 18px;
    padding: 24px;
    background: #fffdf8;
    color: #252019;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}
.pwa-install-help__icon { font-size: 2rem; line-height: 1; }
.pwa-install-help__copy h2 { margin: 12px 0 8px; color: #5f461f; font-size: 1.25rem; line-height: 1.2; }
.pwa-install-help__copy p { margin: 0; color: #40382d; font-size: .95rem; font-weight: 650; line-height: 1.58; }
.pwa-install-help__close {
    width: 100%;
    min-height: 46px;
    margin-top: 20px;
    border: 1px solid #8c6b32;
    border-radius: 11px;
    background: #a78343;
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}
.pwa-install-help__close:hover { background: #8c6b32; }
.pwa-install-help__close:focus-visible { outline: 3px solid #315b9e; outline-offset: 3px; }
html[data-public-theme="dark"] .pwa-install-status {
    border-color: rgba(218, 181, 113, .38);
    background: rgba(218, 181, 113, .12);
    color: #f0dfbc;
}
html[data-public-theme="dark"] .pwa-install-help__card { border-color: #806238; background: #17130e; color: #f5ead7; }
html[data-public-theme="dark"] .pwa-install-help__copy h2 { color: #e1bd78; }
html[data-public-theme="dark"] .pwa-install-help__copy p { color: #e4d8c6; }
@media (max-width: 520px) {
    .pwa-install-status { bottom: max(82px, calc(env(safe-area-inset-bottom) + 70px)); right: 10px; width: calc(100vw - 20px); }
    .pwa-install-help { align-items: end; padding: 12px; }
    .pwa-install-help__card { border-radius: 16px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .pwa-install-help, .pwa-install-help__card { animation: none !important; transition: none !important; }
}

