/* Local, non-modal inbox. No task overlay, autoplay, or forced focus on arrival. */
.notice-entry[hidden], .notice-inbox[hidden], .notice-badge[hidden] { display:none !important; }
.notice-entry { display:inline-flex; align-items:center; gap:8px; border:1px solid #d1daea; background:#fff; color:#243653; border-radius:14px; padding:11px 16px; font-size:14px; font-weight:650; cursor:pointer; }
.notice-badge { min-width:20px; padding:2px 5px; border-radius:20px; color:#fff; background:#2455df; font-size:12px; }
.notice-inbox { position:fixed; z-index:70; top:90px; right:24px; width:min(420px, calc(100vw - 32px)); max-height:calc(100dvh - 110px); overflow:auto; border:1px solid #ced8e8; border-radius:20px; background:#fff; box-shadow:0 16px 48px #18305124; padding:22px; color:#19283f; }
.notice-inbox header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.notice-inbox h2 { font-size:20px; margin:0; }
.notice-inbox h3 { font-size:18px; line-height:1.55; overflow-wrap:anywhere; margin:12px 0; }
.notice-inbox button { cursor:pointer; }
.notice-inbox .notice-quiet { border:0; background:transparent; color:#2856b9; padding:8px; font-weight:600; }
.notice-inbox .notice-meta { color:#53627a; font-size:12px; line-height:1.7; }
.notice-inbox .notice-row { width:100%; display:block; text-align:left; padding:16px 4px; border:0; border-bottom:1px solid #e4e9f1; background:#fff; color:#25364f; }
.notice-row strong { display:block; font-size:15px; line-height:1.5; overflow-wrap:anywhere; }
.notice-row[data-unread="true"] strong::before { content:""; display:inline-block; width:7px; height:7px; border-radius:50%; background:#2455df; margin-right:8px; vertical-align:middle; }
.notice-body { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.85; font-size:15px; }
.notice-message { font-size:13px; color:#53627a; line-height:1.65; }
.notice-entry:focus-visible, .notice-inbox button:focus-visible { outline:3px solid #779cff; outline-offset:3px; }
@media(max-width:640px) { .notice-entry { padding:9px; } .notice-inbox { top:82px; right:16px; } }
