.hub-apps-page {
    padding: 24px 0 36px;
}

.hub-apps-header {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.hub-apps-header h1 {
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 6px;
}

.hub-apps-header p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.hub-apps-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hub-app-card {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    color: #334155;
    display: grid;
    gap: 14px;
    grid-template-columns: 50px 1fr 18px;
    min-height: 138px;
    padding: 18px;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hub-app-card:focus,
.hub-app-card:hover {
    border-color: var(--hub-card-color);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    color: #1f2937;
    outline: none;
    text-decoration: none;
    transform: translateY(-2px);
}

.hub-app-icon {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--hub-card-color);
    display: flex;
    font-size: 22px;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.hub-app-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hub-app-content strong {
    color: #111827;
    font-size: 17px;
    line-height: 1.3;
    margin: 5px 0 6px;
}

.hub-app-content span:not(.hub-app-badge) {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.hub-app-badge {
    align-self: flex-start;
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    padding: 5px 8px;
    text-transform: uppercase;
}

.hub-app-arrow {
    color: #94a3b8;
    font-size: 20px;
    justify-self: end;
}

.hub-app-card:hover .hub-app-arrow,
.hub-app-card:focus .hub-app-arrow {
    color: var(--hub-card-color);
}

.hub-admin-icon {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: var(--hub-card-color);
    display: inline-flex;
    height: 32px;
    justify-content: center;
    margin-right: 8px;
    vertical-align: middle;
    width: 32px;
}

@media (max-width: 767px) {
    .hub-apps-page {
        padding-top: 14px;
    }

    .hub-apps-header {
        display: block;
    }

    .hub-apps-header h1 {
        font-size: 23px;
    }

    .hub-app-card {
        grid-template-columns: 46px 1fr 16px;
        min-height: 124px;
        padding: 16px;
    }

    .hub-app-icon {
        font-size: 20px;
        height: 46px;
        width: 46px;
    }
}
