/* DWELLIVRA notification intelligence centre — shared live and isolated demo */
.workspace .sn-bell{position:relative;overflow:visible;isolation:isolate}
.workspace .sn-badge{
 display:grid;place-items:center;position:absolute;right:-7px;top:-8px;
 min-width:20px;height:20px;box-sizing:border-box;
 padding:2px 5px;border-radius:10px;border:2px solid #fff;
 background:#c75249;color:#fff;font-size:9px;font-weight:800;letter-spacing:-.4px;
 box-shadow:0 2px 8px rgba(120,33,33,.2);
 pointer-events:none;
}
.sn-backdrop{z-index:5000;box-sizing:border-box;padding:24px;display:flex;justify-content:center;align-items:center;overflow-y:auto}
.sn-backdrop .sn-center{
 box-sizing:border-box;display:flex;flex-direction:column;
 width:min(100%,690px);max-height:min(90vh,850px);
 padding:0;margin:auto;border:1px solid #e2e9ef;border-radius:21px;
 box-shadow:0 28px 75px rgba(15,36,52,.27);
 background:#fff;color:#193349;overflow:hidden;
}
.sn-header{
 display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex:0 0 auto;
 padding:27px 29px 19px;
 background:radial-gradient(ellipse 340px 110px at 100% 0%,rgba(216,240,234,.65),transparent),#fff;
 border-bottom:1px solid #eff2f5;
}
.sn-header>div{min-width:0}
.sn-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#168274;font-size:10px;font-weight:800;letter-spacing:1.5px}
.sn-header h2{margin:8px 0 5px;font-weight:760;letter-spacing:-.9px;font-size:clamp(23px,3vw,29px);line-height:1.25;color:#162b42}
.sn-header p{color:#7d90a0;font-size:12px;margin:0;line-height:1.65}
.sn-header p strong{font-weight:760;color:#147c71}
.sn-close{
 box-sizing:border-box;flex:0 0 36px;display:grid;place-items:center;width:36px;height:36px;
 border-radius:10px;border:1px solid #e0e9ed;background:#fff;color:#566c7d;cursor:pointer;
}
.sn-close:hover{background:#eef8f5;color:#1c7f70;border-color:#c7e5dc}
.sn-stats{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;
 flex:0 0 auto;margin:20px 29px 17px;
}
.sn-stats>div{display:flex;align-items:center;gap:9px;border:1px solid #e2ebe9;border-radius:12px;padding:12px 14px;min-width:0;background:#f9fcfb}
.sn-stats>div>span{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;background:#e9f3f0;border-radius:9px;color:#438477}
.sn-stats strong{font-size:19px;color:#193c4e;font-weight:760;line-height:1.2}
.sn-stats small{font-size:10px;color:#758c99;line-height:1.3;min-width:0;overflow-wrap:break-word}
.sn-toolbar{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:0 29px 17px;border-bottom:1px solid #e9f0f1}
.sn-tabs{display:inline-flex;align-items:center;gap:3px;border:1px solid #e3eaf0;background:#f4f7f8;padding:4px;border-radius:10px}
.sn-tabs button{padding:9px 14px;font-size:11px;font-weight:700;color:#6c8292;border:0;border-radius:7px;background:transparent;cursor:pointer}
.sn-tabs button.active{background:#fff;color:#147b74;box-shadow:0 1px 7px rgba(21,59,69,.08)}
.sn-tools{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px}
.sn-tool{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid #e2eaf0;border-radius:8px;background:#fff;font-size:11px;font-weight:680;color:#526e80;cursor:pointer}
.sn-tool:hover:not(:disabled){color:#147d75;border-color:#a9d4ca;background:#f6fbf9}
.sn-tool:disabled{cursor:default;opacity:.45}
.sn-list{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b1cdc5 #f3f7f8;padding:7px 24px 12px}
.sn-item{display:flex;align-items:flex-start;gap:14px;min-width:0;margin:9px 0;padding:17px 15px;border:1px solid #e7eef0;border-radius:12px;background:#fff;transition:background .16s ease,border-color .16s ease}
.sn-item.is-unread{background:#f8fcfb;border-color:#cce5dd}
.sn-item.is-read{opacity:.80}
.sn-item.severity-critical.is-unread{border-color:#ecd5d1;background:#fffbfa}
.sn-item.severity-high.is-unread{border-color:#eadfce;background:#fffdfa}
.sn-item-icon{flex:0 0 37px;width:37px;height:37px;display:grid;place-items:center;background:#eaf4f1;border-radius:11px;color:#2b8979}
.sn-item.severity-critical .sn-item-icon{background:#fbe9e6;color:#b34d45}
.sn-item.severity-high .sn-item-icon{background:#f6eee1;color:#98733e}
.sn-item-main{min-width:0;flex:1}
.sn-item-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:7px}
.sn-category{font-size:10px;color:#578278;font-weight:750;text-transform:capitalize}
.sn-priority{font-size:9px;font-weight:780;color:#7e929c;background:#edf3f5;padding:5px 7px;border-radius:7px;white-space:nowrap}
.sn-item.severity-critical .sn-priority{background:#fae6e2;color:#a4433a}
.sn-item.severity-high .sn-priority{background:#f5ecd9;color:#8e682c}
.sn-item-main h3{margin:0 0 5px;font-size:13px;line-height:1.45;color:#1c354c;font-weight:760;overflow-wrap:anywhere}
.sn-item-main p{margin:0;color:#718899;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.sn-item-actions{display:flex;flex-wrap:wrap;align-items:center;gap:15px;margin-top:12px}
.sn-item-actions button{display:inline-flex;align-items:center;gap:5px;padding:0;background:transparent;border:0;color:#177d74;font-size:11px;font-weight:700;cursor:pointer;line-height:1.6}
.sn-item-actions button:nth-child(2){color:#798c99;font-weight:620}
.sn-item-actions button:hover{text-decoration:underline}
.sn-read-label{display:inline-flex;align-items:center;gap:4px;color:#95a5ae;font-size:10px}
.sn-demo-note{display:flex;align-items:start;gap:8px;margin:12px 24px 0;padding:10px 12px;border-radius:9px;background:#f1f6fa;color:#678294;font-size:11px;line-height:1.6}
.sn-demo-note svg{flex:0 0 14px;margin-top:1px}
.sn-error{margin:12px 24px 0;padding:10px 12px;border-radius:9px;background:#fff2f0;color:#a6463e;font-size:11px}
.sn-empty{text-align:center;padding:46px 20px 52px;color:#94aba6}
.sn-empty>svg{color:#51a590}
.sn-empty h3{color:#263f51;font-size:15px;margin:13px 0 6px}
.sn-empty p{color:#80939f;font-size:12px;line-height:1.7;max-width:380px;margin:0 auto}
.sn-footer{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:15px 29px;border-top:1px solid #e8edef;background:#fbfcfd}
.sn-footer span{display:inline-flex;align-items:center;gap:7px;font-size:10px;line-height:1.5;color:#8599a5}
.sn-footer span svg{flex:0 0 14px}
.sn-footer .btn{flex:0 0 auto}
.sn-backdrop button:focus-visible{outline:3px solid #59b7a7;outline-offset:2px}
@media(max-width:650px){
 .sn-backdrop{padding:10px}
 .sn-backdrop .sn-center{max-height:95vh;border-radius:15px}
 .sn-header{padding:18px 18px 14px}
 .sn-stats{margin:14px 17px;gap:7px}
 .sn-stats>div{padding:9px;gap:5px;flex-wrap:wrap}
 .sn-stats strong{font-size:17px}
 .sn-stats>div>span{width:25px;height:25px;flex-basis:25px}
 .sn-toolbar{padding:0 17px 14px}
 .sn-list{padding:7px 12px 10px}
 .sn-item{padding:14px 11px;gap:10px}
 .sn-item-icon{width:31px;height:31px;flex-basis:31px}
 .sn-footer{padding:12px 16px}
 .sn-footer span{max-width:65%}
}
@media(max-width:370px){
 .sn-tabs button{padding:8px 9px}
 .sn-footer span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.sn-item{transition:none}}
