/* Notification center: compact sender-first list, dedicated message reader. */
.hikari-inbox{width:min(420px,calc(100vw - 24px));top:78px;right:20px;max-height:calc(100dvh - 94px);border-radius:18px;border:1px solid #e2e5ed;box-shadow:0 20px 60px #22263826;overflow:hidden}
.hi-head{padding:18px 20px;gap:12px;background:#fff;border-bottom:1px solid #edf0f4}.hi-heading{min-width:0}.hi-head h3{font-size:18px;margin:0;line-height:1.4}.hi-summary{font-size:12px;color:#687083;margin:5px 0 0}.hi-icon-button,.hi-head .hi-icon-button{border:0;background:#f3f4f8;color:#34394b;width:34px;height:34px;padding:0;display:grid;place-items:center;flex-shrink:0;border-radius:10px;font-size:24px;font-weight:500;line-height:1}.hi-icon-button:hover{background:#e7e9ef}.hi-list{padding:8px;overflow:auto;overscroll-behavior:contain}.hi-row.notice-click{display:flex;align-items:center;gap:12px;width:100%;padding:13px 12px;border:1px solid transparent;border-bottom-color:#edf0f5;border-radius:12px;background:#fff;color:#222638;font-weight:400;text-align:left;white-space:normal;margin:0 0 4px;transition:background .15s,border-color .15s}.hi-row.notice-click:hover{background:#f5f6fa;border-color:#e5e7ef}.hi-row.notice-click.hi-new{background:#fff2f4;border-color:#f8e1e5}.hi-row.notice-click.hi-new:hover{background:#fce8ec}.hi-avatar{position:relative;overflow:hidden;width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;font-size:17px;font-weight:800;background:#fbe4e6;color:#a63243;border-radius:50%}.hi-avatar.hi-teacher{background:#e7effb;color:#285f9d}.hi-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hi-body{display:grid;gap:5px;min-width:0;flex:1}.hi-sender{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px}.hi-sender strong{font-size:14px;overflow-wrap:anywhere}.hi-sender small{font-size:11px;color:#687083}.hi-title{font-size:14px;line-height:1.5;font-weight:600;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hi-body .hi-date{font-size:11px;color:#687083}.hi-end{display:flex;align-items:center;gap:8px;flex-shrink:0}.hi-end .hi-dot{margin:0;width:8px;height:8px;flex:0 0 8px}.hi-chevron{font-size:24px;line-height:1;color:#83899a}.hi-empty{padding:30px 15px;font-size:14px}.hi-row:focus-visible,.hi-icon-button:focus-visible{outline:2px solid var(--red);outline-offset:2px}
dialog.notice-detail{padding:0;border:1px solid #e1e5ed;border-radius:20px;width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 32px);background:#fff;color:#222638;box-shadow:0 20px 65px #22263830;overflow:auto}dialog.notice-detail::backdrop{background:#22263865;backdrop-filter:blur(2px)}.nd-head{position:sticky;top:0;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #edf0f5;z-index:1}.nd-head strong{font-size:15px}.nd-content{padding:24px;display:grid;gap:18px}.nd-sender{display:flex;align-items:center;gap:12px}.nd-sender .hi-avatar{width:52px;height:52px;flex-basis:52px;font-size:20px}.nd-identity{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.nd-identity small,.nd-reply small{font-size:12px;color:#687083}.nd-article{padding:20px;background:#f7f8fb;border:1px solid #edf0f5;border-radius:14px}.nd-article h2{font-size:20px;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}.nd-article p,.nd-reply p{font-size:15px;line-height:1.75;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.nd-locked{font-size:12px;color:#687083;background:#f5f6f8;padding:12px;border-radius:10px}.nd-history:empty,.nd-status:empty{display:none}.nd-history{display:grid;gap:10px}.nd-history h3{font-size:14px;margin:0}.nd-reply{background:#fff0f2;border-radius:12px;padding:12px 16px;display:grid;gap:6px}.nd-form{display:grid;gap:10px;border-top:1px solid #edf0f5;padding-top:18px}.nd-form label{font-weight:700;font-size:14px}.nd-form textarea{border:1px solid #dce0e8;border-radius:12px;padding:12px;width:100%;resize:vertical;min-height:100px;line-height:1.6}.nd-send{justify-self:end}.nd-send:disabled{opacity:.45;cursor:not-allowed}.nd-status{font-size:12px;color:#687083;margin:0;overflow-wrap:anywhere}@media(max-width:600px){.hikari-inbox{top:74px;right:12px}.nd-content{padding:16px}.nd-head{padding:12px 16px}.nd-article{padding:15px}}

/* The bell contains unread messages only; history is a separate student page. */
.hi-footer{flex-shrink:0;border-top:1px solid #edf0f5;padding:10px 14px;background:#fff}.hi-footer .hi-history-link{display:block;width:100%;border:0;border-radius:10px;background:#f7f8fb;color:#a63243;font-size:13px;font-weight:700;padding:12px;white-space:normal}.hi-footer .hi-history-link:hover{background:#fff0f2}.hi-history-list{display:grid;gap:8px;max-width:800px}.hi-history-list .hi-row.notice-click{border:1px solid #e2e5ed;margin:0}.hi-history-more{margin-top:12px}.hi-history-more[hidden]{display:none}
