body:not(.portal-page) .notification-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #ffffff20;border-radius:12px;background:#ffffff09;color:#d2e2f9;cursor:pointer}
body:not(.portal-page) .notification-toggle[hidden]{display:none}
.notification-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body:not(.portal-page) .notification-toggle:hover{background:#ffffff14;border-color:#7596c4}
.notification-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.notification-count{position:absolute;right:-5px;top:-5px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;border-radius:12px;background:var(--accent);color:white;font-size:10px;font-weight:700;line-height:1;border:2px solid var(--surface)}
.notification-count[hidden]{display:none}
.notifications-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.notifications-toolbar>span{color:var(--text-secondary);font-size:13px;line-height:1.6}
.notifications-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}
body:not(.portal-page) .notifications-modal .btn{min-height:44px}
.notifications-explainer{font-size:12px;line-height:1.8;color:var(--text-muted);margin:0 0 18px}
.notifications-status{font-size:12px;line-height:1.7;color:var(--danger);overflow-wrap:anywhere}
.notifications-status:empty{display:none}
.notifications-list{display:grid;gap:12px}
.notification-item{min-width:0;border:1px solid var(--line);border-radius:12px;padding:18px;background:var(--surface-muted)}
.notification-item.is-unread{border-color:var(--accent);background:var(--surface)}
.notification-item-heading{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.notification-kind{font-size:11px;line-height:1.7;color:var(--text-secondary);font-weight:600}
.notification-unread{font-size:10px;line-height:1.6;padding:2px 7px;border-radius:6px;background:var(--accent-soft);color:var(--accent-text);white-space:nowrap}
.notification-item h3{font-size:15px;line-height:1.6;overflow-wrap:anywhere;color:var(--text)}
.notification-document{font-size:13px;line-height:1.7;margin-top:5px;color:var(--text-secondary);overflow-wrap:anywhere}
.notification-contract{font-size:11px;line-height:1.7;color:var(--text-muted);margin-top:6px;overflow-wrap:anywhere}
.notification-item time{display:block;font-size:11px;color:var(--text-muted);line-height:1.8;margin-top:10px}
.notification-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}
.notification-read-label{font-size:11px;line-height:1.7;color:var(--text-muted);padding:8px}
.notifications-more{margin-top:16px}
.notifications-updated{width:100%;white-space:normal;margin-bottom:14px}
.notifications-empty{padding:25px 18px;border:1px dashed var(--line);border-radius:12px;background:var(--surface-muted)}
.notifications-empty strong{font-size:15px;line-height:1.6;color:var(--text)}
.notifications-empty p{font-size:13px;line-height:1.8;color:var(--text-secondary);margin-top:8px}
@media(max-width:600px){
  body:not(.portal-page) .top-actions{gap:8px}
  .notification-item{padding:16px}
  .notification-actions{align-items:stretch}
  .notification-actions .btn{flex:1 1 145px;white-space:normal}
  .notifications-toolbar{align-items:flex-start}
  .notifications-toolbar>div{width:100%}
  .notifications-toolbar .btn{flex:1 1 110px;white-space:normal}
  .notifications-more{width:100%}
}
@media(max-width:420px){
  body:not(.portal-page) .brand>span{display:none}
  body:not(.portal-page) .top-actions{gap:7px}
}
