.app-install[hidden], .app-install [hidden] {
    display: none !important;
}

.app-install {
    padding: max(.85rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) .85rem max(1.25rem, env(safe-area-inset-left));
    border-bottom: 1px solid #cbd7e5;
    background: #eaf1fa;
    color: #03173d;
    font-family: 'Segoe UI', sans-serif;
}

.app-install-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin-inline: auto;
}

.app-install-copy {
    flex: 1;
    min-width: 0;
}

.app-install h2 {
    margin: 0 0 .25rem;
    font-size: .95rem;
    font-weight: 700;
}

.app-install p {
    margin: 0;
    font-size: .85rem;
    line-height: 1.5;
}

.app-install-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    flex-shrink: 0;
}

.app-install button {
    min-height: 44px;
    padding: .6rem 1rem;
    border: 1px solid #03173d;
    border-radius: .6rem;
    background: #03173d;
    color: #fff;
    font: 600 .85rem 'Segoe UI', sans-serif;
    cursor: pointer;
}

.app-install .app-install-dismiss {
    background: transparent;
    color: #03173d;
    border-color: #8295b0;
}

.app-install button:focus-visible {
    outline: 3px solid #03173d;
    outline-offset: 3px;
}

.app-install button:disabled {
    opacity: .6;
    cursor: wait;
}

@media (max-width: 600px) {
    .app-install-content {
        align-items: stretch;
        flex-direction: column;
        gap: .75rem;
    }
}

@media (display-mode: standalone), (display-mode: fullscreen) {
    .app-install {
        display: none;
    }
}
