.teacher-unread-summary{margin:8px 16px 2px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#334155;text-align:left;font:inherit;font-weight:650;cursor:pointer}
.teacher-unread-summary.has-unread{background:#fff4df;border-color:#e6b35b;color:#7b4700}
.teacher-unread-summary:hover,.teacher-unread-room:hover{border-color:#b77918;background:#fff8eb}
.teacher-unread-dialog{width:min(620px,100%);max-height:80vh;overflow:auto}
.teacher-unread-dialog h2{margin:0 0 10px}.teacher-unread-description{color:#536174;font-size:13px;line-height:1.65}
.teacher-unread-meta{color:#64748b;font-size:12px;line-height:1.5}.teacher-unread-list{display:grid;gap:12px;margin:16px 0}
.teacher-unread-card{border:1px solid #dce3eb;border-radius:12px;overflow:hidden}.teacher-unread-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;background:#f5f7fa}
.teacher-unread-heading strong{font-size:16px}.teacher-unread-heading span{color:#64748b;font-size:12px}.teacher-unread-heading b{margin-left:auto;color:#9a5805;background:#fff0d2;padding:3px 9px;border-radius:20px;font-size:12px}
.teacher-unread-room{display:flex;flex-direction:column;gap:6px;width:100%;padding:12px 14px;border:0;border-top:1px solid #e5eaf0;text-align:left;background:white;color:#172b45;font:inherit;cursor:pointer}
.teacher-unread-preview{font-size:13px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.teacher-unread-open{font-size:12px;font-weight:650;color:#2563a6}.teacher-unread-actions{display:flex;gap:8px;justify-content:flex-end;position:sticky;bottom:0;background:white;padding-top:12px}
.teacher-unread-state{padding:24px 12px;border-radius:10px;background:#f5f7fa;text-align:center}.teacher-unread-room:focus-visible,.teacher-unread-summary:focus-visible{outline:3px solid #477caf;outline-offset:2px}
@media(max-width:600px){.teacher-unread-dialog{max-height:75dvh}.teacher-unread-heading{gap:6px}.teacher-unread-summary{margin-left:12px;margin-right:12px}}
