.pwa-install-button {
    min-height: 42px;
    padding: 0.65rem 1.1rem;
    border: 1px solid #b9d2e8;
    border-radius: 8px;
    background: #fff;
    color: #0f4b86;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.pwa-install-button:hover,
.pwa-install-button:focus-visible {
    border-color: #0f6fae;
    outline: 2px solid #cfe5f6;
    outline-offset: 2px;
}

.pwa-runtime-toast {
    position: fixed;
    z-index: 12000;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: min(420px, calc(100vw - 32px));
    padding: 0.75rem 0.9rem;
    border: 1px solid #b9d2e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(15 75 134 / 16%);
    color: #153d60;
    font-size: 0.88rem;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
}

.pwa-runtime-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pwa-runtime-toast button,
.pwa-install-dialog button {
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border: 1px solid #0f6fae;
    border-radius: 7px;
    background: #0f6fae;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.pwa-install-dialog {
    width: min(460px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid #c8dceb;
    border-radius: 8px;
    color: #153d60;
}

.pwa-install-dialog::backdrop {
    background: rgb(15 42 66 / 42%);
}

.pwa-install-dialog form {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem;
}

.pwa-install-dialog p {
    margin: 0 0 0.6rem;
    font-size: 0.94rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .pwa-runtime-toast {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
    }
}
