/*
 * Support portal "Sites and apps" page (views/support-portal/sites.ejs,
 * src/portals/supportSites/). Built on portal.css: its cards, buttons and the
 * --sp-* tokens. Only the site grid and the app rows inside a card are new.
 */
.sps-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: var(--sp-text);
}

.sps-intro {
    margin: 0 0 20px;
    color: var(--sp-text-secondary);
    font-size: 14px;
}

.sps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.sps-site-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sps-site-head i {
    color: var(--sp-primary);
}

.sps-site-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--sp-text);
}

.sps-apps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sps-app {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid var(--sp-border);
}

.sps-app-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    height: 36px;
    border-radius: var(--sp-radius-sm);
    background: var(--sp-primary-light);
    color: var(--sp-primary);
}

.sps-app-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.sps-app-text strong {
    font-size: 14px;
    color: var(--sp-text);
}

.sps-app-text span {
    font-size: 13px;
    color: var(--sp-text-secondary);
}

@media (max-width: 480px) {
    .sps-grid {
        grid-template-columns: 1fr;
    }
}
