/* Inbox global integration — NEO 3.8.1 / 2.0.0 */
.notification-wrapper{padding-bottom:0!important;display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;max-height:min(620px,calc(100vh - 96px))!important;overflow:hidden!important}
.notification-wrapper .notifications__header{flex:0 0 auto}
/* Disable NEO native "Очистить" action: Inbox owns read/archive workflow. */
.notification-wrapper #main_notifications_all_del{display:none!important;visibility:hidden!important;pointer-events:none!important}

.notification-wrapper .notifications__main{flex:0 1 auto!important;height:auto!important;min-height:0!important;max-height:min(500px,calc(100vh - 180px))!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin!important;scrollbar-color:var(--transparent-10-w) transparent!important;padding-bottom:4px!important}
.notification-wrapper .notifications__main::-webkit-scrollbar{width:5px!important}
.notification-wrapper .notifications__main .notify_body{flex:0 0 auto!important;flex-shrink:0!important;min-height:fit-content!important;height:auto!important;box-sizing:border-box!important;}
.notification-wrapper .notifications__main .notify_content{min-width:0!important;}
.notification-wrapper .notifications__main .notify_text{min-width:0!important;}
.notification-wrapper .notifications__main::-webkit-scrollbar-track{background:transparent!important}
.notification-wrapper .notifications__main::-webkit-scrollbar-thumb{background:var(--transparent-10-w)!important;border-radius:10px!important}
.ei-notify-footer{flex:0 0 auto;min-height:48px;margin:7px 10px 10px;padding:0 12px;border-top:1px solid var(--transparent-5-w);display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text-custom);text-decoration:none;font-size:var(--font-size-m,13px);font-weight:600;transition:color .15s,background .15s;border-radius:var(--br-8)}
.ei-notify-footer:hover{color:var(--text-default);background:var(--transparent-2-w)}
.ei-notify-footer svg{width:13px;height:13px;fill:currentColor;flex:0 0 auto}
.ei-notify-read{width:100%;min-height:34px;margin-top:7px;padding:0 10px;border:1px solid var(--transparent-5-w);border-radius:var(--br-8);background:var(--transparent-2-w);color:var(--text-custom);display:flex;align-items:center;justify-content:center;gap:7px;font-size:var(--font-size-s,11px);font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s,opacity .14s,transform .14s}
.ei-notify-read:hover{border-color:var(--span-middle);background:var(--span-low);color:var(--text-default)}
.ei-notify-read svg{width:12px!important;height:12px!important;margin:0!important;fill:currentColor!important}
.notify_body.ei-notify-removing{opacity:0!important;transform:translateX(8px)!important;pointer-events:none!important}
.ei-no-notify{padding:32px 14px!important;color:var(--text-custom)!important;text-align:center!important;font-size:var(--font-size-s,11px)!important}
@media(max-width:520px){.notification-wrapper{width:min(345px,calc(100vw - 20px))!important;right:5px!important;height:auto!important;min-height:0!important;max-height:calc(100vh - 104px)!important}.ei-notify-footer{min-height:50px}.ei-notify-read{min-height:38px}.notification-wrapper .notifications__main::-webkit-scrollbar{width:4px!important}}
