/* Independent bell drill-down overlay: white, graphite and restrained brand-red. */
.hd-notif-list .hd-notif-entry {
    display:flex;align-items:center;gap:8px;padding:9px;width:100%;border:0;
    background:transparent;color:inherit;text-align:right;font:inherit;cursor:pointer;
}
.hd-notif-list .hd-notif-entry:hover { background:#fffbfc; }
.hd-notif-list .hd-notif-entry:focus-visible { outline:2px solid #a3263a;outline-offset:-2px;border-radius:8px; }

.hd-bell-overlay {
    position:fixed;inset:0;z-index:6000;display:flex;align-items:center;justify-content:center;
    padding:18px;background:rgba(24,29,38,.58);direction:rtl;color:#252b34;
}
.hd-bell-dialog {
    width:min(980px,100%);max-height:min(820px,90dvh);display:flex;flex-direction:column;
    overflow:hidden;border-radius:17px;background:#fff;border:1px solid #e6e7ea;
    box-shadow:0 28px 86px #0c0e1740;text-align:right;min-width:0;
}
.hd-bell-modal-header {
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:19px 22px;border-bottom:1px solid #eceef0;flex:0 0 auto;
}
.hd-bell-modal-header small { display:block;color:#838995;font-size:11px;line-height:1.5; }
.hd-bell-modal-header h2 {font-size:17px;font-weight:850;line-height:1.55;margin:3px 0 0;color:#292e36;}
.hd-bell-modal-close {display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;line-height:1;
    font-size:26px;border-radius:10px;background:#f7f7f8;color:#6b737d;cursor:pointer;border:1px solid #e4e5e9;}
.hd-bell-modal-close:hover{color:#a3263a;background:#fff5f6;}
.hd-bell-modal-close:focus-visible,.hd-bell-modal-footer button:focus-visible,.hd-bell-modal-search input:focus-visible{
    outline:2px solid #ab364c;outline-offset:2px;
}
.hd-bell-modal-state {padding:35px 18px;display:flex;flex-wrap:wrap;gap:12px;
    align-items:center;justify-content:center;text-align:center;color:#6a7280;font-size:13px;line-height:1.9;}
.hd-bell-modal-state p{margin:0;}
.hd-bell-modal-state button{border:1px solid #dcb5be;background:#fff5f6;border-radius:8px;
    padding:6px 13px;color:#9f3047;cursor:pointer;font:inherit;}
.hd-bell-modal-summary {display:flex;flex-wrap:wrap;gap:10px;padding:13px 22px;flex:0 0 auto;}
.hd-bell-modal-summary>div{border:1px solid #eeedf0;border-radius:11px;background:#fafafa;
    padding:10px 15px;display:flex;flex-direction:column;gap:4px;min-width:150px;}
.hd-bell-modal-summary span {font-size:11px;color:#7e8591;}
.hd-bell-modal-summary strong {font-size:15px;line-height:1.65;color:#2c343d;font-variant-numeric:tabular-nums;}
.hd-bell-modal-summary small{font-size:11px;}
.hd-bell-scope-warning {font-size:12px;line-height:1.9;color:#925526;background:#fffaf0;
    border-inline-start:3px solid #d6ab5c;margin:0 22px 12px;padding:8px 11px;border-radius:6px;}
.hd-bell-modal-search{display:flex;align-items:center;gap:9px;padding:0 22px 12px;flex:0 0 auto;}
.hd-bell-modal-search input{width:100%;min-width:0;max-width:390px;padding:9px 12px;
    border:1px solid #dedfe4;border-radius:9px;background:white;color:#292e36;
    font:inherit;font-size:12px;}
.hd-bell-modal-search span {font-size:11px;color:#858b95;white-space:nowrap;}
.hd-bell-table-area{margin:0 22px;flex:1 1 auto;min-height:0;overflow:auto;border:1px solid #e6e8eb;border-radius:10px;}
.hd-bell-table {width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;}
.hd-bell-table th {position:sticky;top:0;background:#f7f7f9;color:#4f5560;font-size:11px;
    font-weight:800;z-index:1;padding:11px 10px;text-align:right;white-space:normal;}
.hd-bell-table td{padding:11px 10px;border-top:1px solid #eff0f2;color:#424a55;
    font-size:12px;line-height:1.8;overflow-wrap:anywhere;vertical-align:middle;}
.hd-bell-table tbody tr:nth-child(even){background:#fcfcfd;}
.hd-bell-table .hd-bell-money{font-weight:750;color:#963044;font-variant-numeric:tabular-nums;}
.hd-bell-no-search{text-align:center;color:#858b95;font-size:12px;padding:15px;}
.hd-bell-mobile-cards{display:none;}
.hd-bell-modal-footer{display:flex;justify-content:center;align-items:center;gap:15px;
    padding:12px 22px;border-top:1px solid #eceef0;flex:0 0 auto;font-size:12px;color:#717987;}
.hd-bell-modal-footer button {border:1px solid #e3e4e7;background:#fff;border-radius:8px;
    padding:6px 12px;color:#454e58;cursor:pointer;font:inherit;font-size:12px;}
.hd-bell-modal-footer button:disabled{opacity:.4;cursor:not-allowed;}
@media(max-width:720px){
    .hd-bell-overlay{align-items:flex-end;padding:0;}
    .hd-bell-dialog{max-height:93dvh;width:100%;border-radius:17px 17px 0 0;
        border-bottom:0;padding-bottom:env(safe-area-inset-bottom,0px);}
    .hd-bell-modal-header{padding:13px 15px;}
    .hd-bell-modal-header h2{font-size:15px;}
    .hd-bell-modal-summary{padding:11px 15px;gap:7px;}
    .hd-bell-modal-summary>div{min-width:0;flex:1;padding:8px 10px;}
    .hd-bell-modal-summary strong{font-size:13px;}
    .hd-bell-scope-warning{margin:0 15px 10px;}
    .hd-bell-modal-search{padding:0 15px 10px;}
    .hd-bell-table-area{margin:0 15px;overflow-x:hidden;}
    .hd-bell-table{display:none;}
    .hd-bell-mobile-cards{display:grid;gap:8px;padding:8px;}
    .hd-bell-mobile-item{display:grid;gap:6px;padding:12px;border-radius:9px;
        border:1px solid #e8e9ec;background:#fff;min-width:0;}
    .hd-bell-mobile-item strong{font-size:13px;color:#343a43;overflow-wrap:anywhere;}
    .hd-bell-mobile-item small{color:#7d838d;font-size:11px;}
    .hd-bell-mobile-item>div{display:flex;gap:10px;justify-content:space-between;
        align-items:baseline;border-top:1px solid #f2f3f4;padding-top:6px;font-size:11px;}
    .hd-bell-mobile-item>div span{color:#818893;}
    .hd-bell-mobile-item>div b{font-size:12px;color:#3b424e;text-align:left;
        font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
}
@media(prefers-reduced-motion:reduce){.hd-bell-dialog{scroll-behavior:auto;}}
