/* ClassMirror Teacher Studio V2.7 — dictée mathématique renforcée */
.teacher-studio-v1 .teacher-voice-convert-v28 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin: 6px 0 2px;
    padding: 5px 10px;
    color: #5842c4;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    background: #f5f2ff;
    border: 1px solid #dcd4ff;
    border-radius: 9px;
    cursor: pointer;
}
.teacher-studio-v1 .teacher-voice-convert-v28:hover {
    color: #ffffff;
    background: #6548df;
    border-color: #6548df;
}
.teacher-studio-v1 .assessment-tool-button.listening,
.teacher-studio-v1 [data-voice-target].listening {
    color: #ffffff;
    background: #c2394b;
    border-color: #c2394b;
    box-shadow: 0 0 0 4px rgba(194, 57, 75, .13);
}
.teacher-studio-v1 .assessment-voice-status {
    overflow-wrap: anywhere;
}

.teacher-studio-v1 .teacher-voice-convert-v28 {
    white-space: normal;
}


.teacher-studio-v1 .teacher-voice-help-v28 {
    display: inline-block;
    margin: 8px 0 0 8px;
    vertical-align: top;
}

.teacher-studio-v1 .teacher-voice-help-v28 > summary {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(61, 78, 189, 0.22);
    border-radius: 10px;
    background: #ffffff;
    color: #3845a5;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.teacher-studio-v1 .teacher-voice-help-v28 > summary::-webkit-details-marker {
    display: none;
}

.teacher-studio-v1 .teacher-voice-help-content-v28 {
    max-width: 760px;
    margin-top: 8px;
    padding: 14px 16px;
    border: 1px solid rgba(61, 78, 189, 0.16);
    border-radius: 12px;
    background: #f8f9ff;
    color: #3e4358;
    box-shadow: 0 10px 30px rgba(50, 59, 130, 0.08);
}

.teacher-studio-v1 .teacher-voice-help-content-v28 p {
    margin: 0 0 9px;
    line-height: 1.55;
}

.teacher-studio-v1 .teacher-voice-help-content-v28 p:last-child {
    margin-bottom: 0;
}

@media (max-width: 680px) {
    .teacher-studio-v1 .teacher-voice-help-v28 {
        display: block;
        margin-left: 0;
    }
}


.teacher-studio-v1 textarea::selection,
.teacher-studio-v1 input::selection {
    background: rgba(76, 91, 214, 0.28);
}

.teacher-studio-v1 .teacher-voice-help-content-v28 strong {
    color: #2f3a9d;
}


.teacher-voice-language-v28 {
    display: inline-flex;
    align-items: center;
    margin: 8px 8px 0 0;
}
.teacher-voice-language-v28 select {
    min-height: 38px;
    padding: 7px 34px 7px 10px;
    border: 1px solid rgba(79, 70, 229, 0.24);
    border-radius: 10px;
    background: #fff;
    color: #26324b;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
[dir="rtl"] .teacher-voice-help-content-v28,
.teacher-voice-help-content-v28[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
@media (max-width: 640px) {
    .teacher-voice-language-v28,
    .teacher-voice-convert-v28 {
        width: 100%;
        margin-right: 0;
    }
    .teacher-voice-language-v28 select,
    .teacher-voice-convert-v28 {
        width: 100%;
    }
}


/* ClassMirror — Dictée espace professeur V2.9 */
.teacher-classroom-voice-controls-v29 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0 12px;
}
.teacher-classroom-voice-button-v29 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(79, 70, 229, .28);
    border-radius: 10px;
    background: #f5f3ff;
    color: #4338ca;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.teacher-classroom-voice-button-v29:hover {
    background: #4f46e5;
    color: #fff;
}
.teacher-classroom-voice-status-v29 {
    min-height: 22px;
    color: #5b6478;
    font-size: 12px;
    font-weight: 700;
}
.teacher-classroom-voice-status-v29.error { color: #b42335; }
@media (max-width: 640px) {
    .teacher-classroom-voice-controls-v29,
    .teacher-classroom-voice-button-v29 { width: 100%; }
}
