.teacher-notifications-entry{width:100%;min-width:0}
.tn-toggle{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:42px;padding:9px 12px;border:0;border-radius:8px;background:transparent;color:var(--text-2,#657088);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.tn-toggle:hover,.tn-toggle[aria-expanded="true"]{background:#eeedf9;color:#6860c8}
.tn-bell{display:inline-flex;flex:0 0 22px;align-items:center;justify-content:center}
.tn-bell svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.tn-badge{margin-left:auto;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#7165ce;color:#fff;font-size:11px;line-height:20px;text-align:center}
.teacher-notifications-entry [hidden],.tn-host [hidden]{display:none!important}
.tn-host{font-family:inherit;color:#30394b;font-size:14px;line-height:1.5}
.tn-host *, .tn-host *::before,.tn-host *::after{box-sizing:border-box}
.tn-toasts{position:fixed;z-index:220;right:24px;top:76px;display:grid;gap:12px;width:min(368px,calc(100vw - 32px));pointer-events:none}
.tn-toast{position:relative;display:flex;align-items:flex-start;gap:12px;padding:18px 40px 18px 18px;border:1px solid #e5e4ef;border-radius:14px;background:#fff;box-shadow:0 10px 36px #2731481c;pointer-events:auto;animation:tn-appear .18s ease-out}
.tn-toast-mark{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;color:#368a6d;background:#edf7f1;font-size:18px;font-weight:600}
.tn-toast-warning .tn-toast-mark{color:#a97835;background:#fff6e8}
.tn-toast-copy{min-width:0;flex:1;padding-top:2px}
.tn-toast-copy strong{font-size:14px;font-weight:600;color:#30394b}
.tn-toast-copy p{overflow:hidden;margin:6px 0 12px;font-size:12px;line-height:1.6;color:#81899b;text-overflow:ellipsis;white-space:nowrap}
.tn-toast-actions{display:flex;gap:10px}
.tn-view{display:inline-flex;align-items:center;min-height:30px;padding:5px 11px;border:0;border-radius:7px;background:#f0edfc;color:#6a5ec5;font:inherit;font-size:12px;font-weight:500;cursor:pointer}
.tn-view:hover{background:#e7e1fa}
.tn-close{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:#9aa2b0;font:inherit;font-size:21px;line-height:1;cursor:pointer}
.tn-close:hover{background:#f3f4f8;color:#576176}
.tn-toast>.tn-close{position:absolute;top:9px;right:9px}
.tn-inbox{position:fixed;z-index:221;right:24px;top:76px;display:flex;flex-direction:column;width:min(390px,calc(100vw - 32px));max-height:min(620px,calc(100dvh - 100px));overflow:hidden;border:1px solid #e5e4ef;border-radius:16px;background:#fff;box-shadow:0 16px 60px #27314824;animation:tn-appear .16s ease-out}
.tn-inbox-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 20px 10px}
.tn-inbox-header h2{margin:0;font-size:18px;font-weight:600;line-height:1.5;color:#30394b}
.tn-inbox-summary{margin:0;padding:0 20px 16px;border-bottom:1px solid #eceef4;color:#939aaa;font-size:12px}
.tn-message-list{overflow:auto;padding:6px;overscroll-behavior:contain}
.tn-message{position:relative;display:block;width:100%;padding:16px 16px 14px 22px;border:0;border-radius:10px;background:transparent;text-align:left;font:inherit;color:inherit;cursor:pointer}
.tn-message+.tn-message{border-top:1px solid #f1f2f6}
.tn-message:hover{background:#f8f7fd}
.tn-message-status{display:block;font-size:13px;font-weight:500;color:#5d667b}
.tn-unread .tn-message-status{color:#343c51;font-weight:600}
.tn-unread::before{content:'';position:absolute;top:23px;left:9px;width:5px;height:5px;border-radius:50%;background:#8574da}
.tn-message-title{display:block;overflow:hidden;margin:5px 0 10px;color:#8790a2;font-size:12px;line-height:1.6;text-overflow:ellipsis;white-space:nowrap}
.tn-message-meta{color:#a0a7b4;font-size:11px}
.tn-message-action{float:right;color:#7a6bc7;font-size:11px}
.tn-empty{padding:42px 24px 50px;text-align:center;color:#959dae;font-size:13px;line-height:1.8}
.tn-error{margin:0;padding:12px 20px;color:#a8753d;background:#fff9ee;font-size:12px}
.tn-host :is(button,a):focus-visible,.tn-toggle:focus-visible{outline:3px solid #d0c6f4;outline-offset:2px}
.teacher-nav-collapsed .tn-toggle{justify-content:center;padding-inline:0}
.teacher-nav-collapsed .tn-badge{position:absolute;top:2px;right:0;min-width:16px;height:16px;padding:0 3px;font-size:9px;line-height:16px}
@keyframes tn-appear{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:768px){.tn-toasts,.tn-inbox{right:16px;top:calc(68px + env(safe-area-inset-top));width:min(368px,calc(100vw - 32px))}.tn-toggle{justify-content:center;padding-inline:0}.tn-toggle .teacher-nav-label{display:none}.tn-badge{position:absolute;top:1px;right:0;min-width:16px;height:16px;font-size:9px;line-height:16px}.tn-inbox{max-height:calc(100dvh - 100px)}}
@media(prefers-reduced-motion:reduce){.tn-toast,.tn-inbox{animation:none}}
