.notification-panel:not([hidden]){display:flex;flex-direction:column;max-height:min(650px,calc(100dvh - 100px))}
.notification-panel .notification-list{min-height:0;overflow:auto;overscroll-behavior:contain}
.notification-panel .notification-panel-header,.notification-panel .notification-panel-footer{flex:none}
.notification-filters{display:flex;gap:8px;align-items:center;padding:10px 16px;border-bottom:1px solid #e5eaf2;background:#fff}
.notification-filters button,.notification-history button:not(.notification-item),.notification-status button{min-height:32px;padding:5px 11px;border:1px solid #dbe2ee;border-radius:7px;background:#fff;color:#435570;font:inherit;font-size:12px;cursor:pointer}
.notification-filters button[aria-pressed=true]{color:#244bd2;border-color:#b9c9fc;background:#edf2ff;font-weight:700}
.notification-filters button[data-notice-action=refresh]{margin-left:auto}
.notification-panel button:disabled,.notification-history button:disabled{cursor:default;opacity:.55}
.notification-status{margin:0;padding:12px 16px;background:#f4f7fc;color:#536781;font-size:12px;line-height:1.65}
.notification-status.is-error{color:#a13b34;background:#fff4f1}
.notification-status button{margin-left:7px}
.notification-panel .notification-item,.notification-history .notification-item{grid-template-columns:28px minmax(0,1fr) 27px;min-height:110px;cursor:pointer}
.notification-source-icon{color:#647b98;background:#edf1f7}
.notification-item .notification-item-copy strong{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.notification-target-name{display:block;margin-top:4px;color:#415670;font-size:12px;overflow-wrap:anywhere;line-height:1.55}
.notification-result{display:inline-block!important;margin-left:6px;padding:2px 6px;border-radius:5px;font-size:11px;font-weight:500;line-height:1.5}
.notification-result-success{color:#276a48;background:#eaf6ee}.notification-result-warn{color:#8a560a;background:#fff1d9}.notification-result-danger{color:#ac3838;background:#fff0ed}
.notification-read-state{font-size:10px;color:#8693a5;white-space:nowrap;text-align:right;padding-top:3px}
.notification-read-state i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#3158dd}
.notification-target-action{display:block;margin-top:6px;color:#3158dd;font-size:11px}
.app-shell .notification-panel{width:min(520px,calc(100vw - 32px))}
.notification-panel .notification-item-compact,.notification-history .notification-item-compact{display:grid;grid-template-columns:minmax(0,1fr) 8px;align-items:start;gap:7px 10px;min-height:84px;padding:13px 16px;border:0;border-bottom:1px solid #edf0f6;border-radius:0;font-family:inherit;cursor:pointer}
.notification-item-compact .notification-result{margin:0;justify-self:start;max-width:100%;box-sizing:border-box;white-space:nowrap}
.notification-result-muted{color:#536781;background:#edf1f7}
.notification-subject{grid-column:1;white-space:normal;overflow-wrap:anywhere;color:#30415f;font-size:13px;font-weight:600;line-height:1.65}
.notification-item-compact.is-read .notification-subject{color:#71809b;font-weight:400}
.notification-meta{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;color:#71809b;font-size:11px;line-height:1.6}
.notification-time{margin-left:auto;white-space:nowrap;font-size:11px;color:#8995aa;text-align:right;font-variant-numeric:tabular-nums}
.notification-item-compact .notification-read-state{grid-column:2;grid-row:1;padding:6px 0 0;line-height:1}
.notification-item-compact:hover{background:#f5f7ff}
@media(max-width:520px){.app-shell .notification-panel{position:fixed;top:76px;right:12px;left:12px;width:auto;max-height:calc(100dvh - 92px)}.notification-panel .notification-item-compact,.notification-history .notification-item-compact{padding:12px}.notification-meta{gap:5px 8px}.notification-item-compact .notification-result{font-size:10px;padding:2px 5px}}
.notification-history{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d6dfed;border-radius:15px;background:#fff;color:#263951;box-shadow:0 24px 80px #12274540}
.notification-history[open]{display:flex;flex-direction:column;overflow:hidden}
.notification-history>.notification-history-heading,.notification-history>.notification-filters,.notification-history>.notification-history-actions,.notification-history>.notification-pagination{flex:none}
.notification-history::backdrop{background:#15283d66}
.notification-history-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid #e5eaf2}
.notification-history h2{font-size:18px;margin:0}.notification-history-heading p{margin:5px 0 0;color:#6b7e97;font-size:12px}
.notification-history-actions{display:flex;gap:12px;align-items:center;padding:10px 16px;border-bottom:1px solid #e5eaf2}
.notification-history-actions span{color:#75839a;font-size:11px;line-height:1.5}
.notification-history-list{flex:1 1 auto;min-height:0;max-height:calc(100dvh - 280px);overflow:auto;overscroll-behavior:contain}
.notification-pagination{display:flex;gap:8px;align-items:center;padding:13px 16px;border-top:1px solid #e5eaf2;font-size:12px}
.notification-pagination>span{margin-right:auto;color:#697c94}
.notification-history button:focus-visible,.notification-panel button:focus-visible{outline:2px solid #335fdd;outline-offset:-3px}
@media(max-width:600px){.notification-history{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.notification-history-actions{align-items:flex-start;flex-wrap:wrap}.notification-history-actions span{width:100%}.notification-history-list{max-height:calc(100dvh - 300px)}.notification-filters button,.notification-history button:not(.notification-item){min-height:40px}}
.notification-detail{width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;border:1px solid #dce3ef;border-radius:14px;color:#30415f;background:#fff;box-shadow:0 24px 80px #12274530}
.notification-detail::backdrop{background:#15283d55}
.notification-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #e7ebf3}
.notification-detail button,.notification-detail a{display:inline-block;font:inherit;font-size:13px;cursor:pointer;border:1px solid #dbe2ee;border-radius:7px;background:#fff;color:#315bea;padding:7px 13px;text-decoration:none}
.notification-detail-body{padding:20px 22px}
.notification-detail-body h2{margin:0 0 20px;font-size:17px;line-height:1.65;overflow-wrap:anywhere}
.notification-detail-body dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px 16px;font-size:13px;line-height:1.6;margin:0 0 22px}
.notification-detail-body dt{color:#8995aa}.notification-detail-body dd{margin:0;overflow-wrap:anywhere}
.notification-detail-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.notification-detail-explanation{padding:12px;background:#f5f7fc;border-radius:7px;font-size:13px;line-height:1.7}
.notification-detail-feedback{margin:12px 0 0;font-size:12px;color:#a13b34}
.notification-detail-feedback:empty{display:none}
.notification-detail button:focus-visible,.notification-detail a:focus-visible{outline:2px solid #315bea;outline-offset:2px}
