/* V8.244: notification appearance follows display mode, independently of sidebar palette. */
html body.mc-v852:not(.dark):not([data-ui-mode="dark"]) #notificationPanel,
html body.mc-v852[data-ui-mode="light"] #notificationPanel{
 --notification-surface:#fff;--notification-soft:#f4f7fb;--notification-border:#e4eaf2;--notification-ink:#17253a;--notification-muted:#61718a;
 background:var(--notification-surface)!important;color:var(--notification-ink)!important;border:1px solid var(--notification-border)!important;
 box-shadow:0 18px 48px rgba(25,45,75,.16),0 3px 10px rgba(25,45,75,.05)!important;color-scheme:light;
}
html body.mc-v852:is(.dark,[data-ui-mode="dark"]):not([data-ui-mode="light"]) #notificationPanel{
 --notification-surface:#141b25;--notification-soft:#1b2533;--notification-border:#2c394b;--notification-ink:#edf3fc;--notification-muted:#a5b4c9;
 background:var(--notification-surface)!important;color:var(--notification-ink)!important;border:1px solid var(--notification-border)!important;
 box-shadow:0 18px 48px rgba(0,0,0,.35)!important;color-scheme:dark;
}
html body.mc-v852 #notificationPanel{width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 100px)!important;overflow-y:auto!important;padding:0!important;border-radius:18px!important;right:clamp(12px,13vw,240px);top:78px;scrollbar-width:thin;}
html body.mc-v852 #notificationPanel .notif-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px!important;background:var(--notification-surface)!important;border-bottom:1px solid var(--notification-border)!important;}
html body.mc-v852 #notificationPanel .notif-head h4{margin:0!important;font-size:15px!important;font-weight:750!important;letter-spacing:-.2px;color:var(--notification-ink)!important;}
html body.mc-v852 #notificationPanel .notif-head button{background:var(--notification-soft)!important;color:var(--notification-ink)!important;border:1px solid var(--notification-border)!important;border-radius:8px!important;padding:7px 10px!important;font-size:11px!important;font-weight:650!important;cursor:pointer;white-space:nowrap;}
html body.mc-v852 #notificationPanel .notification-item{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:13px;padding:17px 20px!important;background:var(--notification-surface)!important;color:var(--notification-ink)!important;border:0!important;border-bottom:1px solid var(--notification-border)!important;border-radius:0!important;transition:background .15s;}
html body.mc-v852 #notificationPanel .notification-item:last-child{border-bottom:0!important;}
html body.mc-v852 #notificationPanel .notification-item:hover{background:var(--notification-soft)!important;}
html body.mc-v852 #notificationPanel .notification-item b{display:block;color:var(--notification-ink)!important;font-size:13px!important;font-weight:650!important;line-height:1.45!important;margin:0 0 4px!important;}
html body.mc-v852 #notificationPanel .notification-item span{display:block;color:var(--notification-muted)!important;font-size:12px!important;line-height:1.6!important;margin:0!important;overflow-wrap:anywhere;}
html body.mc-v852 #notificationPanel .notif-icon{width:42px!important;height:42px!important;border-radius:12px!important;display:grid;place-items:center;background:#edf2fb!important;color:#466ba3!important;flex:none;}
html body.mc-v852 #notificationPanel .notif-icon.green{background:#e5f6ee!important;color:#178357!important;}
html body.mc-v852 #notificationPanel .notif-icon.orange{background:#fff2e3!important;color:#b96512!important;}
html body.mc-v852 #notificationPanel .notif-icon svg{width:21px!important;height:21px!important;color:inherit!important;opacity:1!important;}
html body.mc-v852 #notificationPanel button:hover{filter:brightness(.97);}
html body.mc-v852 #notificationPanel button:focus-visible{outline:2px solid #5285d0!important;outline-offset:3px;}
@media(max-width:600px){html body.mc-v852 #notificationPanel{right:12px!important;top:72px!important;}html body.mc-v852 #notificationPanel .notif-head,html body.mc-v852 #notificationPanel .notification-item{padding:15px 16px!important;}}
@media(prefers-reduced-motion:reduce){html body.mc-v852 #notificationPanel .notification-item{transition:none;}}
