/* Header bell with compact enterprise flyout; no global body scrolling. */
.hd-notif-root{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;direction:rtl}
.hd-notif-trigger{position:relative;display:grid;place-items:center;width:35px;height:35px;min-width:35px;padding:0;border:1px solid #e7e8eb;border-radius:10px;cursor:pointer;background:#fff;color:#515760;transition:border-color .14s ease,background .14s ease}
.hd-notif-trigger:hover,.hd-notif-trigger.is-open{background:#fff5f6;border-color:#d7afb8;color:#a3263a}
.hd-notif-trigger:focus-visible,.hd-notif-panel button:focus-visible,.hd-notif-panel a:focus-visible{outline:2px solid #a3263a;outline-offset:2px}
.hd-notif-trigger svg{width:19px;height:19px}
.hd-notif-badge{position:absolute;top:-7px;right:-7px;border-radius:10px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;background:#a3263a;color:white;border:2px solid white;font-size:10px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums}
.hd-notif-pending{position:absolute;top:0;right:0;width:7px;height:7px;background:#b76773;border-radius:50%}
.hd-notif-panel{position:absolute;top:calc(100% + 11px);inset-inline-end:0;width:min(420px,calc(100vw - 24px));z-index:3000;border:1px solid #e5e6ea;background:#fff;border-radius:14px;box-shadow:0 17px 50px #1d202b26;min-width:0;text-align:right;direction:rtl;color:#272c34;overflow:hidden}
.hd-notif-head{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:13px 13px 11px}
.hd-notif-head strong{display:block;font-size:15px;font-weight:850;line-height:1.45}
.hd-notif-head small{font-size:11px;color:#818791;line-height:1.7;display:block;margin-top:2px}
.hd-notif-head-actions{display:flex;gap:5px;align-items:center}
.hd-notif-head-actions button{width:30px;height:30px;border:1px solid #e8e8ec;border-radius:8px;background:#fff;color:#707781;cursor:pointer;display:grid;place-items:center;font:inherit}
.hd-notif-head-actions button:hover{color:#9f3047;background:#fff7f8;border-color:#e8cad1}
.hd-notif-head-actions button:disabled{opacity:.4;cursor:wait}
.hd-notif-head-actions svg{width:15px;height:15px}
.hd-notif-head-actions .hd-notif-close{font-size:23px;line-height:1}
.hd-notif-filters{display:flex;gap:6px;align-items:center;padding:0 13px 10px;border-bottom:1px solid #eceef0}
.hd-notif-filters button{font:inherit;background:#fff;border:1px solid #e6e8eb;color:#68707b;border-radius:7px;padding:5px 9px;font-size:11px;min-height:29px;cursor:pointer;display:flex;gap:7px;align-items:center}
.hd-notif-filters button.active{background:#fff4f6;color:#9d2d42;border-color:#ddbcc4}
.hd-notif-filters button b{font-size:11px;line-height:1;font-variant-numeric:tabular-nums}
.hd-notif-body{max-height:min(410px,55dvh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:6px}
.hd-notif-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.hd-notif-list li{min-width:0;border:1px solid #ececef;border-radius:9px}
.hd-notif-list li.is-important{border-inline-start:3px solid #b54759}
.hd-notif-list li.is-review{border-inline-start:3px solid #c8a269}
.hd-notif-list li:hover{border-color:#e2c0c7;background:#fffbfc}
.hd-notif-list a{display:flex;align-items:center;gap:8px;padding:9px;color:inherit!important;text-decoration:none!important}
.hd-notif-indicator{height:7px;width:7px;background:#b54759;border-radius:50%;flex:0 0 7px}
.hd-notif-list li.is-review .hd-notif-indicator{background:#c8a269}
.hd-notif-copy{min-width:0;flex:1;display:grid;gap:2px;overflow-wrap:anywhere}
.hd-notif-copy small{font-size:10px;color:#969ca4;line-height:1.6}
.hd-notif-copy strong{font-size:12px;color:#333943;line-height:1.6;font-weight:780}
.hd-notif-copy>span{font-size:12px;color:#8d3347;font-weight:800;line-height:1.55}
.hd-notif-copy em{font-size:10px;color:#7e858f;font-style:normal;line-height:1.7}
.hd-notif-arrow{height:15px;width:15px;color:#a6abb3;flex:0 0 15px}
.hd-notif-state{display:flex;gap:8px;align-items:center;margin:0;padding:16px 9px;font-size:12px;color:#7c838e;line-height:1.8}
.hd-notif-error{margin:5px 3px;padding:8px 10px;border-radius:8px;background:#fff5f6;color:#974053;font-size:11px;line-height:1.8}
.hd-notif-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 12px;border-top:1px solid #eff0f2;background:#fcfcfd}
.hd-notif-footer span{font-size:10px;color:#9298a0;line-height:1.6}
.hd-notif-footer a{font-size:11px;font-weight:750;white-space:nowrap;text-decoration:none!important;color:#a3263a!important}
@media(max-width:750px){
 .hd-notif-panel{position:fixed;top:calc(env(safe-area-inset-top,0px) + 60px);inset-inline:10px;width:auto;max-height:calc(100dvh - 110px);border-radius:12px}
 .hd-notif-body{max-height:calc(100dvh - 255px)}
 .hd-notif-head{padding:10px}
 .hd-notif-filters{padding:0 10px 9px}
 .hd-notif-badge{right:-5px;top:-5px}
}
@media(max-width:380px){
 .hd-notif-head small{font-size:10px}
 .hd-notif-footer span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.hd-notif-trigger{transition:none}}
