/* notification bell (top corner) and its board */
.nb-bell{position:fixed;top:10px;right:12px;z-index:900;width:52px;height:52px;border-radius:50%;border:2px solid #192622;background:#fff;color:#192622;
  display:grid;place-items:center;font-size:22px;box-shadow:0 6px 18px rgba(23,43,32,.25);cursor:pointer}
.nb-bell:focus-visible{outline:3px solid #b59a60;outline-offset:3px}
.nb-bell .nb-count{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#192622;color:#fff;font:700 12px/22px system-ui,sans-serif;text-align:center}
.nb-bell.nb-urgent{border-color:#ac463d;animation:nb-pulse 1.6s ease-in-out infinite}.nb-bell.nb-urgent .nb-count{background:#ac463d}
@keyframes nb-pulse{0%,100%{box-shadow:0 0 0 0 rgba(172,70,61,.45)}50%{box-shadow:0 0 0 10px rgba(172,70,61,0)}}
@media (prefers-reduced-motion:reduce){.nb-bell.nb-urgent{animation:none}}
.nb-panel{position:fixed;top:70px;right:12px;z-index:901;width:min(420px,calc(100vw - 24px));max-height:min(70vh,640px);overflow:auto;background:#fff;border-radius:16px;
  box-shadow:0 18px 48px rgba(23,43,32,.3);border:1px solid rgba(25,38,34,.15);padding:12px}
.nb-panel header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.nb-panel h2{margin:0;font-size:18px}.nb-actions{display:flex;gap:6px}
.nb-panel ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.nb-item{width:100%;display:flex;gap:10px;align-items:flex-start;text-align:left;padding:12px;border-radius:12px;border:1px solid rgba(25,38,34,.15);background:#f7f8f5;cursor:pointer;min-height:56px}
.nb-item.unread{background:#eef5f1;border-color:rgba(50,104,81,.45)}.nb-item.unread b::after{content:" •";color:#326851}
.nb-item.urgent{background:#fbeceb;border:2px solid #ac463d}.nb-item.urgent .nb-ic{background:#ac463d;color:#fff}.nb-item.urgent b{color:#8f2f27}
.nb-ic{flex:0 0 34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#192622;color:#fff;font-weight:700}
.nb-txt{display:grid;gap:2px;min-width:0}.nb-txt b{font-size:15px}.nb-txt small{color:#56635c;font-size:13px;overflow-wrap:anywhere}.nb-when{color:#78837c!important}
.nb-empty{color:#56635c;margin:8px 4px}
@media (max-width:640px){.nb-bell{top:auto;bottom:16px;right:16px;width:58px;height:58px}.nb-panel{top:auto;bottom:86px;right:12px;left:12px;width:auto;max-height:70vh}}
