.teacher-help { color: #172b20; }
.teacher-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: .85rem; border-bottom: 1px solid #d6e4d9; }
.teacher-header h1 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.8rem); letter-spacing: -.035em; }
.teacher-header .dashboard-profile-link { position: static; }
.teacher-conversation { max-width: 46rem; margin-inline: auto; min-height: clamp(24rem, 72dvh, 50rem); display: flex; flex-direction: column; }
.teacher-thread { flex: 1; display: grid; align-content: start; padding: 1.25rem .25rem; }
.teacher-thread:has(.teacher-empty:not([hidden])) { align-content: center; }
.teacher-empty { text-align: center; padding: 1.5rem .25rem; }
.teacher-empty img { width: 3rem; height: 3rem; object-fit: contain; }
.teacher-empty h2 { margin: .65rem 0 .4rem; letter-spacing: -.04em; font-size: clamp(1.55rem, 4vw, 2.45rem); }
.teacher-empty p { color: #496050; margin: 0; }
#teacher-history { display: grid; gap: 1.5rem; padding: 0; margin: 0; list-style: none; }
#teacher-history li { display: grid; gap: .75rem; overflow-wrap: anywhere; }
#teacher-history p { margin: .35rem 0 0; white-space: pre-wrap; line-height: 1.5; }
#teacher-history time { color: #496050; font-size: .8rem; }
.teacher-student-message, .teacher-reply { max-width: 88%; padding: .75rem 1rem; border-radius: 1rem; }
.teacher-student-message { justify-self: end; background: #e0f1e4; border-bottom-right-radius: .25rem; }
.teacher-reply { justify-self: start; background: white; border: 1px solid #d6e4d9; border-bottom-left-radius: .25rem; }
.teacher-composer { padding-bottom: 1rem; }
#teacher-allowance, #teacher-guidance, #teacher-feedback { margin: .5rem .25rem; font-size: .85rem; }
#teacher-allowance, #teacher-feedback { color: #145a33; font-weight: 700; }
#teacher-guidance { color: #496050; }
#teacher-form { display: flex; align-items: end; gap: .5rem; padding: .55rem; border-radius: 1.4rem; border: 1px solid #becfc2; background: white; box-shadow: 0 6px 24px #1a492b0e; }
#teacher-form:focus-within { outline: 2px solid #277740; outline-offset: 2px; }
#teacher-question { flex: 1; min-width: 0; resize: vertical; border: 0; background: transparent; outline: none; padding: .55rem .45rem; font: inherit; color: inherit; }
#teacher-form button { flex: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; color: white; background: #176c3c; font: bold 1.4rem/1 system-ui, sans-serif; cursor: pointer; }
#teacher-form button:disabled { opacity: .55; cursor: default; }
.teacher-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
