.teacher-evaluation-card {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

body.appearance-light .teacher-evaluation-card {
    border-color: var(--line);
    background: var(--panel);
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.08);
}

body.view-teacher .teacher-evaluation-card:not([hidden]) {
    display: grid;
    gap: 14px;
}

.teacher-evaluation-title {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.teacher-evaluation-body {
    display: grid;
    justify-items: center;
}

.teacher-score-dial {
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, var(--panel) 58%, transparent 59%),
        conic-gradient(var(--score-color, var(--blue)) var(--score-angle), rgba(148, 163, 184, 0.22) 0);
    box-shadow: inset 0 0 0 1px var(--line);
}

.teacher-score-dial strong {
    color: var(--text);
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 900;
}

.teacher-score-dial span {
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.teacher-score-dial-value {
    display: grid;
    gap: 2px;
    justify-items: center;
}

.teacher-evaluation-bars {
    display: grid;
    gap: 10px;
    position: absolute;
    z-index: 2;
    inset: 18px 16px auto;
}

.teacher-evaluation-bars[hidden] {
    display: none !important;
}

.teacher-score-row {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 7px 12px;
    align-items: center;
}

.teacher-score-label {
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 800;
}

.teacher-score-track {
    grid-column: 1 / -1;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.22);
}

.teacher-score-fill {
    display: block;
    width: var(--score-width);
    height: 100%;
    border-radius: inherit;
    background: var(--score-color, var(--blue));
}

.teacher-score-value {
    color: var(--score-color, var(--blue));
    font-size: 0.86rem;
    font-weight: 900;
    text-align: right;
}

@container (max-width: 360px) {
    .teacher-score-row {
        gap: 6px 10px;
    }
}

