.tutor-heading { margin-bottom: 24px; }
.tutor-heading h2 { font-size: 28px; margin: 10px 0; }
.tutor-heading p, .tutor-note { color: var(--muted, #667085); line-height: 1.8; }
.tutor-panel { background: #fff; border: 1px solid #e6e8ee; border-radius: 18px; padding: 24px; margin: 18px 0; }
.tutor-panel label, .tutor-toolbar label { display: grid; gap: 10px; margin-bottom: 18px; font-weight: 600; }
.tutor-panel select, .tutor-panel textarea, .tutor-toolbar select { width: 100%; padding: 12px; border: 1px solid #d7dbe5; border-radius: 10px; background: #fff; font: inherit; color: inherit; }
.tutor-panel textarea { resize: vertical; line-height: 1.8; font-weight: 400; }
.tutor-panel h3 { line-height: 1.7; }
.tutor-panel h4 { margin: 24px 0 8px; }
.tutor-message { padding: 14px 18px; border-radius: 10px; background: #f0edff; color: #5743a3; line-height: 1.7; }
.tutor-message.error { background: #fff0ef; color: #b42318; }
.tutor-evidence-note { background: #fff7e8; border-radius: 10px; padding: 16px; margin: 16px 0; color: #865b16; }
.tutor-levels, .tutor-actions, .tutor-pager, .tutor-history-heading { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0; }
.tutor-levels span { flex: 1; min-width: 150px; padding: 14px; background: #f4f5f8; border-radius: 10px; color: #667085; }
.tutor-levels .done { background: #eee8ff; color: #6541c6; }
.tutor-hint { background: #f7f4ff; border-left: 3px solid #8060db; padding: 18px; border-radius: 8px; margin: 18px 0; }
.tutor-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; font-size: 15px; margin: 8px 0; }
.tutor-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 400px; overflow: auto; background: #f5f6f9; border-radius: 8px; padding: 14px; line-height: 1.7; }
.tutor-panel summary { cursor: pointer; line-height: 1.8; padding: 12px 0; }
.tutor-event-meta { display: grid; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #eceef4; }
.tutor-event-meta span, .tutor-correction small { color: #667085; font-size: 12px; }
.tutor-history-heading { justify-content: space-between; }
.tutor-history-item { border-top: 1px solid #eceef4; }
.tutor-history-item .tutor-event { padding: 16px; }
.tutor-corrections { margin: 18px 0; }
.tutor-correction { border-left: 2px solid #d4c6f5; padding-left: 14px; margin: 10px 0; }
.tutor-rubric { display: grid; gap: 14px; }
.tutor-rubric article { padding: 18px; border: 1px solid #e8eaf0; border-radius: 12px; }
.tutor-status { display: inline-block; margin-left: 12px; font-size: 12px; padding: 4px 10px; border-radius: 6px; background: #fff2df; color: #965b12; }
.tutor-status.met { background: #e8f7ef; color: #23784d; }
.tutor-status.missing { background: #f3f4f6; color: #69717f; }
.tutor-rubric blockquote { margin: 12px 0; padding-left: 14px; border-left: 2px solid #a593d3; color: #655388; overflow-wrap: anywhere; }
.tutor-point-list { line-height: 2; padding-left: 22px; }
.tutor-entry-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.tutor-toolbar { background: #f8f9fc; padding: 18px; border-radius: 12px; }
.tutor-problem { background: #fafbfe; border: 1px solid #e6e8ee; border-radius: 12px; padding: 18px; margin: 0 0 24px; }
.tutor-problem h3 { font-size: 17px; margin: 0 0 10px; }
.tutor-problem h4 { font-size: 14px; margin: 14px 0 6px; }
.tutor-problem .tutor-text { font-size: 14px; line-height: 1.8; }
.tutor-samples, .tutor-problem-formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tutor-samples pre { margin: 6px 0 0; }
.tutor-example { border-top: 1px solid #e6e8ee; }
.tutor-example > summary { font-weight: 600; }
.tutor-example .tutor-hint { margin: 12px 0; padding: 6px 16px; }
@media (max-width: 600px) { .tutor-samples, .tutor-problem-formats { grid-template-columns: 1fr; gap: 4px; } .tutor-problem { padding: 14px; } }
@media (max-width: 600px) { .tutor-panel { padding: 16px; } .tutor-heading h2 { font-size: 24px; } .tutor-status { margin: 10px 0; display: block; width: fit-content; } }
