/* ══════════════════════════════════════════════════
   Multi-Agent Teams — Page Styles
   ══════════════════════════════════════════════════ */

/* ── Hero Layout ────────────────────────────────── */
.mat-hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--bg-primary);
    overflow: hidden;
}

.mat-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    animation: matGridDrift 20s linear infinite;
}

.mat-hero::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -200px;
    width: 900px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(120, 75, 250, 0.08) 0%, rgba(0, 113, 227, 0.04) 40%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: matGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes matGridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

@keyframes matGlowPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.06); }
}

.mat-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mat-hero-text {
    animation: matFadeSlideUp 0.8s ease-out both;
}

.mat-hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(120, 75, 250, 0.08);
    color: #784bfa;
    margin-bottom: 24px;
}

.mat-hero-text .headline-hero {
    margin-bottom: 20px;
}

.mat-hero-text .subhead {
    margin-bottom: 36px;
    max-width: 480px;
}

.mat-hero-trust {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.mat-hero-trust-dots {
    display: flex;
    gap: 4px;
}

.mat-hero-trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #784bfa;
}

@keyframes matFadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Hero Visual: Team Hub ─────────────────────── */
.mat-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: matFadeSlideUp 0.8s 0.3s ease-out both;
    min-height: 480px;
}

/* Team Hub card */
.mat-hub {
    position: relative;
    width: 340px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    z-index: 2;
    animation: matHubFloat 6s ease-in-out infinite;
}

@keyframes matHubFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.mat-hub-header {
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mat-hub-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.mat-hub-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #30d158;
}

.mat-hub-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #30d158;
    animation: matLivePulse 2s ease-in-out infinite;
}

@keyframes matLivePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(48, 209, 88, 0); }
}

/* Team members list */
.mat-hub-members {
    padding: 12px 20px;
}

.mat-hub-member {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mat-hub-member.visible {
    opacity: 1;
    transform: translateX(0);
}

.mat-hub-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
    position: relative;
}

.mat-hub-avatar-status {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.mat-hub-member-info {
    flex: 1;
    min-width: 0;
}

.mat-hub-member-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.mat-hub-member-action {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 1px;
}

.mat-hub-member-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 980px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Hub stats footer */
.mat-hub-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
}

.mat-hub-stat {
    text-align: center;
    padding: 12px 8px;
}

.mat-hub-stat + .mat-hub-stat {
    border-left: 1px solid var(--border);
}

.mat-hub-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.mat-hub-stat-value.purple { color: #784bfa; }
.mat-hub-stat-value.green { color: #30d158; }
.mat-hub-stat-value.accent { color: var(--accent); }

.mat-hub-stat-label {
    font-size: 10px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 2px;
}

/* ── Floating Badges ────────────────────────────── */
.mat-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s, transform 0.5s;
    z-index: 3;
}

.mat-badge.visible {
    opacity: 1;
    transform: translateY(0);
}

.mat-badge-1 {
    top: 8%;
    right: -30px;
    animation: matBadgeFloat1 4s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.mat-badge-2 {
    bottom: 28%;
    left: -40px;
    animation: matBadgeFloat2 4.5s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.mat-badge-3 {
    bottom: 8%;
    right: -20px;
    animation: matBadgeFloat3 3.8s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.mat-badge.visible { animation-play-state: running; }

.mat-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mat-badge-icon svg {
    width: 14px;
    height: 14px;
}

@keyframes matBadgeFloat1 { 0% { transform: translateY(0); } 100% { transform: translateY(-8px); } }
@keyframes matBadgeFloat2 { 0% { transform: translateY(0); } 100% { transform: translateY(-6px); } }
@keyframes matBadgeFloat3 { 0% { transform: translateY(0); } 100% { transform: translateY(-7px); } }

/* ── Section Spacing ───────────────────────────── */
.mat-process,
.mat-benefits,
.mat-related,
.mat-activity,
.mat-workload { padding: 100px 0; }

/* ── Process Steps ──────────────────────────────── */
.mat-process { text-align: center; }
.mat-process .headline-section { margin-bottom: 12px; }
.mat-process .subhead { margin: 0 auto 56px; max-width: 500px; }

.mat-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.mat-step {
    text-align: center;
    padding: 0 16px;
}

.mat-step-num {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(120, 75, 250, 0.08);
    color: #784bfa;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mat-step:hover .mat-step-num {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(120, 75, 250, 0.15);
}

.mat-step .headline-card {
    margin-bottom: 10px;
    font-size: 20px;
}

.mat-step .body-text {
    font-size: 15px;
}

/* ══════════════════════════════════════════════════
   UNIQUE ELEMENT 1 — Live Team Activity Feed
   ══════════════════════════════════════════════════ */
.mat-activity {
    background: var(--bg-section);
}

.mat-activity .headline-section { text-align: center; margin-bottom: 12px; }
.mat-activity .subhead { text-align: center; margin: 0 auto 56px; max-width: 540px; }

.mat-activity-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.mat-activity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
}

.mat-activity-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.mat-activity-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #30d158;
}

.mat-activity-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #30d158;
    animation: matLivePulse 2s ease-in-out infinite;
}

.mat-activity-feed {
    padding: 8px 0;
}

.mat-activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mat-activity-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.mat-activity-item:last-child {
    border-bottom: none;
}

.mat-activity-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.mat-activity-info {
    flex: 1;
    min-width: 0;
}

.mat-activity-text {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
}

.mat-activity-text strong {
    font-weight: 600;
}

.mat-activity-time {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.mat-activity-action-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 980px;
    flex-shrink: 0;
    white-space: nowrap;
}

.mat-activity-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px 28px;
    border-top: 1px solid var(--border);
}

.mat-activity-counter-item {
    text-align: center;
}

.mat-activity-counter-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.mat-activity-counter-num.purple { color: #784bfa; }
.mat-activity-counter-num.green { color: #30d158; }
.mat-activity-counter-num.accent { color: var(--accent); }

.mat-activity-counter-label {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════
   UNIQUE ELEMENT 2 — Team Workload Distribution
   ══════════════════════════════════════════════════ */
.mat-workload {
    text-align: center;
}

.mat-workload .headline-section { margin-bottom: 12px; }
.mat-workload .subhead { margin: 0 auto 56px; max-width: 540px; }

.mat-workload-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.mat-workload-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
}

.mat-workload-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.mat-workload-period {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    padding: 4px 12px;
    border-radius: 980px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

.mat-workload-body {
    padding: 28px;
}

.mat-workload-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mat-workload-row:last-child {
    margin-bottom: 0;
}

.mat-workload-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.mat-workload-agent {
    width: 120px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mat-workload-agent-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}

.mat-workload-agent-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.mat-workload-bars {
    flex: 1;
    display: flex;
    gap: 3px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border);
}

.mat-workload-bar {
    height: 100%;
    border-radius: 6px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.mat-workload-bar-texts {
    background: linear-gradient(90deg, rgba(0, 113, 227, 0.15), rgba(0, 113, 227, 0.25));
}

.mat-workload-bar-calls {
    background: linear-gradient(90deg, rgba(48, 209, 88, 0.15), rgba(48, 209, 88, 0.25));
}

.mat-workload-bar-scheduled {
    background: linear-gradient(90deg, rgba(120, 75, 250, 0.15), rgba(120, 75, 250, 0.25));
}

.mat-workload-total {
    width: 60px;
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s 0.8s ease;
}

.mat-workload-row.visible .mat-workload-total {
    opacity: 1;
}

.mat-workload-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 28px;
    border-top: 1px solid var(--border);
}

.mat-workload-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
}

.mat-workload-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

/* ── Benefits Bento Grid ── */
.mat-benefits { text-align: center; }
.mat-benefits .headline-section { margin-bottom: 12px; }
.mat-benefits .subhead { margin: 0 auto 56px; max-width: 520px; }

.mat-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.mat-bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; }
.mat-bento-grid .bento-card:nth-child(2) { grid-column: 3; grid-row: 1 / 3; }
.mat-bento-grid .bento-card:nth-child(6) { grid-column: 2 / 4; }

.mat-bento-grid .bento-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mat-bento-grid .bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.mat-bento-grid .bento-card-graphic svg {
    transition: transform 0.4s ease;
}

.mat-bento-grid .bento-card:hover .bento-card-graphic svg {
    transform: scale(1.05);
}

@keyframes matIconPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.mat-bento-grid .bento-card-graphic .pulse-ring {
    animation: matIconPulse 3s ease-in-out infinite;
}

/* ── Stats Banner Override ── */
.mat-stats-section {
    background: var(--bg-card);
}

/* ── Related Use Cases ── */
.mat-related { text-align: center; }
.mat-related .headline-section { margin-bottom: 12px; }
.mat-related .subhead { margin: 0 auto 48px; max-width: 480px; }

.mat-related .feature-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mat-related .feature-card .ind-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s, transform 0.3s;
}

.mat-related .feature-card:hover .ind-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.mat-related .ind-icon-graphic {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mat-related .ind-icon-graphic-blue  { background: rgba(0, 113, 227, 0.04); }
.mat-related .ind-icon-graphic-green { background: rgba(29, 185, 84, 0.04); }
.mat-related .ind-icon-graphic-purple { background: rgba(120, 75, 250, 0.04); }

.mat-related .feature-card:hover .ind-icon-graphic {
    transform: translateY(-4px);
}

.mat-related .ind-icon-graphic svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mat-related .feature-card:hover .ind-icon-graphic svg {
    transform: scale(1.08);
}

/* ── Device Morph Dashboard Section ───────────── */
.mat-device-morph {
    position: relative;
    height: 300vh;
    background: var(--bg-primary);
}

.mat-device-morph-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mat-device-frame {
    position: relative;
    width: 80%;
    max-width: 1000px;
    height: 56vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.mat-device-frame .app-demo-titlebar {
    flex-shrink: 0;
}

.mat-device-frame .app-demo-body {
    flex: 1;
    height: auto;
}

.mat-device-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    z-index: 110;
}

.mat-device-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 111;
    opacity: 0;
    transform: translateY(24px);
}

.mat-device-content .headline-section {
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.mat-device-content .subhead {
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 960px) {
    .mat-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .mat-hero-text .subhead {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .mat-hero-text .hero-actions {
        justify-content: center;
    }

    .mat-hero-trust {
        justify-content: center;
    }

    .mat-badge { display: none; }

    .mat-hub { width: 300px; }

    .mat-device-frame {
        width: 90%;
    }

    .mat-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
    .mat-bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; }
    .mat-bento-grid .bento-card:nth-child(2) { grid-column: 1; grid-row: auto; }
    .mat-bento-grid .bento-card:nth-child(6) { grid-column: 1 / 3; }

    .mat-workload-agent { width: 100px; }
    .mat-workload-agent-name { font-size: 12px; }
    .mat-activity-counter { gap: 24px; }
    .mat-workload-legend { gap: 16px; }
}

@media (max-width: 768px) {
    .mat-hero { padding: 140px 0 60px; }
    .mat-hero-visual { min-height: 400px; }

    .mat-process,
    .mat-benefits,
    .mat-related,
    .mat-activity,
    .mat-workload { padding: 80px 0; }

    .mat-hub { width: 280px; }

    .mat-steps {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 400px;
    }

    .mat-device-morph { height: 250vh; }
    .mat-device-frame {
        width: 94%;
        height: 40vh;
    }
    .mat-device-frame .app-demo-sidebar { display: none; }
    .mat-device-frame .app-demo-body { grid-template-columns: 1fr; }
    .mat-device-content { padding: 24px; }
    .mat-device-content .headline-section { font-size: 28px; }
    .mat-device-content .subhead { font-size: 16px; }

    .mat-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(180px, auto);
    }
    .mat-bento-grid .bento-card:nth-child(1),
    .mat-bento-grid .bento-card:nth-child(2),
    .mat-bento-grid .bento-card:nth-child(6) { grid-column: 1; grid-row: auto; }

    .mat-activity-item { padding: 10px 20px; gap: 10px; }
    .mat-activity-text { font-size: 12px; }
    .mat-activity-action-tag { display: none; }
    .mat-activity-counter { flex-wrap: wrap; gap: 16px; padding: 16px 20px; }
    .mat-activity-counter-num { font-size: 22px; }

    .mat-workload-row { gap: 10px; }
    .mat-workload-agent { width: 80px; }
    .mat-workload-agent-avatar { width: 24px; height: 24px; font-size: 10px; }
    .mat-workload-agent-name { font-size: 11px; }
    .mat-workload-bars { height: 28px; }
    .mat-workload-total { font-size: 12px; width: 48px; }
    .mat-workload-legend { flex-wrap: wrap; gap: 12px; padding: 16px 20px; }
}

@media (max-width: 480px) {
    .mat-workload-total { display: none; }
    .mat-hub-member-tag { display: none; }
}
