/* Tutor live-session pages + modals (not CSS-isolated; child components share these). */

.tutor-live { padding: 16px 24px 32px; }

.tutor-live-actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }

.tutor-matrix-wrap { overflow: auto; max-height: 70vh; }

.tutor-matrix { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

.tutor-matrix th, .tutor-matrix td {
    border: 1px solid #e5e5e5;
    padding: 6px 8px;
    vertical-align: top;
}

.tutor-matrix th { position: sticky; left: 0; background: #fff; }

.tutor-score { display: block; color: #2e7d32; font-size: 0.8rem; }

.cell-correct { background: #e8f5e9; }
.cell-incorrect { background: #ffebee; }
.cell-pass { background: #fff8e1; }
.cell-blocked { background: #eceff1; }
.cell-tutor { background: #e3f2fd; }
.tutor-current { color: #ef6c00; font-weight: 700; }

.tutor-plan-item {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
}
.tutor-plan-item.is-active { border-color: #ef6c00; background: #fff7f0; }
.tutor-plan-item.is-done { opacity: 0.7; }
.tutor-plan-item__label { font-size: 0.75rem; text-transform: uppercase; margin: 0; }
.tutor-plan-item__title { font-weight: 600; margin: 4px 0 8px; }
.tutor-plan-item__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.tutor-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.tutor-modal { width: min(560px, 96vw); max-height: 90vh; overflow: auto; }
.tutor-modal--wide { width: min(860px, 96vw); }

.tutor-select { padding: 24px; max-width: 640px; }

.tutor-question-view { margin-top: 16px; padding-top: 16px; border-top: 1px solid #eee; }
