.acssa-team-dashboard {
    width: min(1100px, 100%);
    margin: 24px auto;
    color: #1f2937;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.35;
}

.acssa-team-dashboard,
.acssa-team-dashboard * {
    box-sizing: border-box;
}

.acssa-team-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .08);
}

.acssa-total-card {
    display: flex;
    min-height: 150px;
    margin-bottom: 20px;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.acssa-total-label {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.2 !important;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.acssa-total-value {
    margin: 0;
    color: #1f2937;
    font-size: clamp(42px, 7vw, 64px) !important;
    font-weight: 750;
    line-height: .95 !important;
    letter-spacing: -.025em;
}

.acssa-updated {
    margin-top: 12px;
    color: #64748b;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

.acssa-chart-card {
    position: relative;
    min-height: 300px;
    padding: 24px 28px 20px;
}

.acssa-chart-wrap {
    position: relative;
    width: 100%;
}

.acssa-status {
    padding: 50px 20px;
    text-align: center;
}

.acssa-error {
    color: #b91c1c;
}

.acssa-team-canvas {
    display: none;
    max-width: 100%;
}

@media (max-width: 700px) {
    .acssa-team-dashboard {
        margin: 14px auto;
    }

    .acssa-total-card {
        min-height: 132px;
        padding: 20px 14px;
    }

    .acssa-total-value {
        font-size: clamp(38px, 13vw, 54px) !important;
    }

    .acssa-chart-card {
        padding: 18px 12px 14px;
    }
}


.acssa-total-subtitle[hidden],
.acssa-match-card[hidden] {
    display: none !important;
}

.acssa-total-subtitle {
    margin-top: 10px;
    color: #64748b;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.2 !important;
    letter-spacing: .035em;
}

.acssa-match-card {
    display: grid;
    margin-top: 20px;
    padding: 22px 26px;
    grid-template-columns: auto minmax(0, 1.6fr) minmax(280px, .9fr);
    align-items: center;
    gap: 20px;
}

.acssa-match-info-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #6f35c5;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.acssa-match-copy {
    min-width: 0;
}

.acssa-match-line {
    color: #1f2937;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.acssa-match-primary {
    margin-bottom: 5px;
    font-weight: 600;
}

.acssa-match-secondary {
    font-size: 13px !important;
}

.acssa-match-progress-area {
    min-width: 0;
}

.acssa-match-progress-track {
    position: relative;
    overflow: hidden;
    height: 24px;
    border-radius: 6px;
    background: #e5e7eb;
}

.acssa-match-progress-fill {
    position: relative;
    display: flex;
    width: 0;
    height: 100%;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    border-radius: 6px;
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,.07) 0,
            rgba(255,255,255,.07) 9px,
            rgba(255,255,255,0) 9px,
            rgba(255,255,255,0) 18px
        ),
        #6f35c5;
    transition: width .6s ease;
}

.acssa-match-progress-percent {
    color: #fff;
    font-size: 12px !important;
    font-weight: 700;
    line-height: 1 !important;
}

.acssa-match-progress-caption {
    margin-top: 7px;
    color: #4b5563;
    font-size: 12px !important;
    line-height: 1.3 !important;
    text-align: center;
}

@media (max-width: 820px) {
    .acssa-match-card {
        grid-template-columns: auto 1fr;
    }

    .acssa-match-progress-area {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .acssa-match-card {
        padding: 18px 14px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .acssa-match-info-icon {
        margin: 0 auto;
    }
}
