/* PWA banners + setup page */
.hub-pwa-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    z-index: 60;
    max-width: 28rem;
    margin: 0 auto;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    padding: .875rem 1rem;
    font-size: .875rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

@media (min-width: 769px) {
    .hub-pwa-banner {
        bottom: 1.5rem;
        left: auto;
        right: 1.5rem;
        margin: 0;
    }
}

.hub-pwa-banner p {
    margin: 0;
    color: var(--text);
    flex: 1 1 12rem;
}

.hub-pwa-banner-actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

.hub-pwa-banner .btn-sm {
    padding: .4375rem .75rem;
    font-size: .8125rem;
}

.hub-pwa-banner-install {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.12);
}

.hub-pwa-banner-update {
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.12);
}

.hub-pwa-banner-push {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.1);
}

.hub-pwa-dismiss {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    padding: .25rem;
}

/* Setup page */
.pwa-setup-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .pwa-setup-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.pwa-setup-card h2 {
    margin: 0 0 .5rem;
    font-size: 1rem;
    font-weight: 600;
}

.pwa-setup-status {
    font-size: .8125rem;
    padding: .625rem .75rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    margin-bottom: .75rem;
}

.pwa-setup-status.ok { border-color: rgba(34, 197, 94, 0.35); color: #86efac; }
.pwa-setup-status.warn { border-color: rgba(245, 158, 11, 0.35); color: #fcd34d; }
.pwa-setup-status.muted { color: var(--text-muted); }

.pwa-setup-steps {
    margin: .5rem 0 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
    font-size: .8125rem;
}

.pwa-setup-steps li { margin-bottom: .375rem; }

.mobile-tap-target {
    min-height: 44px;
    min-width: 44px;
}

.pwa-setup-platform-badge {
    display: inline-block;
    padding: .25rem .625rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent-hover);
}
