.notification-bell{position:relative}.notification-count{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border:2px solid #fff;border-radius:20px;background:#e5465d;color:#fff;font:700 10px Arial}.notification-dialog{width:640px;max-width:calc(100vw - 28px);max-height:90dvh;padding:0;border:1px solid #e3e8f2;border-radius:20px;background:#fff;color:#25354d;overflow:hidden}.notification-dialog[open]{display:flex;flex-direction:column}.notification-dialog::backdrop{background:#10182088;backdrop-filter:blur(4px)}.notification-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid #e6ebf2;flex:none}.notification-head h2{font-size:21px;margin:0}.notification-head p{font-size:13px;line-height:1.6;margin:6px 0 0;color:#738094}.notification-close{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #e0e5ed;border-radius:9px;color:#64748b;background:transparent;font-size:24px}.notification-body{padding:22px;background:#f8fafc;overflow:auto;min-height:0;flex:1}.notification-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.notification-toolbar button,.notification-footer button,.notification-card button{font:inherit;cursor:pointer}.notification-secondary{border:1px solid #dfe5ef;border-radius:10px;padding:10px 14px;background:#fff;color:#546780;min-height:40px}.notification-primary{border:0;border-radius:10px;padding:12px 18px;background:#2f5bff;color:#fff;font-weight:600;min-height:44px}.notification-toolbar .notification-summary{flex:1;color:#64748b;font-size:13px}.notification-card{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid #e4eaf2;border-radius:14px;margin-bottom:12px;padding:16px}.notification-card.is-unread{background:#edf3ff;border-color:#c7d7ff;box-shadow:inset 3px 0 #2f5bff}.notification-dot{width:8px;height:8px;border-radius:50%;background:#2f5bff;margin-top:6px;flex:none}.notification-card.is-seen .notification-dot{background:#b1bdcd}.notification-content{min-width:0;flex:1}.notification-open{border:0;background:transparent;padding:0;text-align:left;color:inherit;font-weight:700;font-size:15px;overflow-wrap:anywhere}.notification-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px;margin:10px 0}.notification-meta{color:#748297;font-size:11px;line-height:1.6;margin-top:9px}.notification-delete{border:0;background:transparent;color:#bd4b60;padding:2px 6px;font-size:20px}.notification-footer{padding:18px 24px;border-top:1px solid #e6ebf2;display:flex;gap:12px;flex:none;background:#fff}.notification-footer .notification-primary{flex:1}.notification-empty{padding:32px 16px;text-align:center;color:#738094;line-height:1.8}.notification-status{font-size:13px;line-height:1.6;color:#bd4b60;margin:12px 0;overflow-wrap:anywhere}.notification-form-section{background:#fff;border:1px solid #e4eaf2;border-radius:14px;padding:20px;margin-bottom:16px}.notification-form-section h3{font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#7a879b;margin:0 0 16px}.notification-form-section label{display:block;font-size:13px;line-height:1.6;color:#56677e;margin:12px 0}.notification-form-section input,.notification-form-section select,.notification-form-section textarea{box-sizing:border-box;font:inherit;width:100%;padding:12px;border:1px solid #dfe5ef;border-radius:9px;color:#25354d;background:#fff;margin-top:7px}.notification-form-section textarea{resize:vertical;min-height:150px}.notification-form-section small{color:#738094;display:block;font-size:12px;line-height:1.6;margin-top:8px}.notification-form-section .notification-member-search{display:flex;gap:10px;align-items:flex-end}.notification-member-search label{flex:1}.notification-member-search button{margin-bottom:12px}.notification-toast{position:fixed;right:20px;bottom:80px;z-index:100;padding:14px 20px;border:1px solid #b7cdfa;border-radius:12px;background:#edf3ff;color:#244d9f;max-width:calc(100vw - 40px);box-shadow:0 6px 24px #0002;font:600 14px Arial;cursor:pointer}.notification-dialog button:disabled{opacity:.6;cursor:wait}.notification-dialog :is(button,input,select,textarea):focus-visible{outline:3px solid #a3bdff;outline-offset:2px}
body.dark .notification-count{border-color:#202632}body.dark .notification-dialog,body.dark .notification-head,body.dark .notification-footer{background:#1e2430;color:#edf2fa;border-color:#354153}body.dark .notification-body{background:#151d29}body.dark .notification-card,body.dark .notification-form-section{background:#1e2634;border-color:#354153}body.dark .notification-card.is-unread{background:#24364f;border-color:#4b6eab;box-shadow:inset 3px 0 #84a9ff}body.dark .notification-dot{background:#84a9ff}body.dark .notification-card.is-seen .notification-dot{background:#65738a}body.dark .notification-secondary,body.dark .notification-close,body.dark .notification-form-section :is(input,select,textarea){background:#202d40;color:#edf2fa;border-color:#42516a}body.dark .notification-form-section :is(label,h3,small),body.dark :is(.notification-head p,.notification-meta,.notification-toolbar .notification-summary,.notification-empty){color:#adbbce}body.dark .notification-delete,body.dark .notification-status{color:#ff9dad}body.dark .notification-toast{background:#24364f;border-color:#4b6eab;color:#e2edff}
@media(max-width:600px){.notification-dialog{max-height:92dvh;border-radius:18px}.notification-head{padding:20px 18px}.notification-head h2{font-size:19px}.notification-body{padding:16px}.notification-footer{padding:14px 16px;gap:10px}.notification-form-section{padding:16px}.notification-form-section .notification-member-search{flex-wrap:wrap}.notification-member-search label{min-width:100%;margin-bottom:0}.notification-member-search button{margin:0}.notification-toolbar{gap:8px}.notification-secondary{font-size:12px;padding:9px 11px}.notification-card{padding:14px}.notification-toast{right:14px;bottom:76px;max-width:calc(100vw - 28px)}}
@media(prefers-reduced-motion:no-preference){.notification-dialog[open]{animation:notification-enter .18s ease-out}@keyframes notification-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}}

.notification-form-shell{display:contents}

.notification-permission-reminder{display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 20px;background:#edf3ff;border-bottom:1px solid #c7d7ff;color:#31558e;font:13px/1.6 Arial}.notification-permission-reminder[hidden]{display:none}.notification-permission-reminder .notification-primary{min-height:36px;font-size:12px;padding:8px 14px;white-space:nowrap}body.dark .notification-permission-reminder{background:#24364f;color:#d6e6ff;border-color:#415d85}@media(max-width:600px){.notification-permission-reminder{gap:12px;padding:12px 16px;font-size:12px;align-items:center}.notification-permission-reminder span{flex:1}}

/* Match other admin pages: consistent content gutter and header alignment. */
#notifications-page{padding:28px;min-width:0}
#notifications-page .page-heading{align-items:center;gap:24px;margin-bottom:24px}
#notifications-page .page-heading>div{min-width:0}
#notifications-page [data-notification-new]{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;white-space:nowrap}
#notifications-page .notification-toolbar{gap:12px;flex-wrap:wrap}
#notifications-page .notification-status:empty{display:none}
#notifications-page .notification-status:not(:empty){margin:16px 0;padding:12px 14px;border-radius:10px;background:#edf8f2;color:#23734e}
body.dark #notifications-page .notification-status:not(:empty){background:#173d30;color:#9de0bc}
@media(max-width:760px){#notifications-page{padding:20px 16px}#notifications-page .page-heading{align-items:flex-start;flex-direction:column;gap:16px}#notifications-page [data-notification-new]{width:100%}#notifications-page .panel{padding:16px}}
/* Shared account inbox: clear hierarchy and accessible icon actions. */
#notification-inbox .notification-heading-group{display:flex;align-items:center;gap:14px;min-width:0}
.notification-heading-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:13px;background:#edf2ff;color:#365cef}
.notification-heading-icon svg{width:24px;height:24px}
#notification-inbox .notification-close svg{width:18px;height:18px}
#notification-inbox .notification-head{padding:24px}
#notification-inbox .notification-toolbar{gap:10px;margin-bottom:20px}
#notification-inbox .notification-summary{font-size:12px;font-weight:600;line-height:1.6}
#notification-inbox [data-clear]{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#ad4056;background:#fff;border-color:#efd6dc;min-height:40px}
#notification-inbox [data-clear] svg{width:17px;height:17px;flex:none}
#notification-inbox [data-clear]:hover,#notification-inbox [data-clear].is-confirming{background:#fff0f3;border-color:#df9aab}
#notification-inbox .notification-status:empty{display:none}
#notification-inbox .notification-card{position:relative;gap:12px;padding:18px;margin-bottom:12px}
#notification-inbox .notification-card .notification-open{font-size:15px;font-weight:700;line-height:1.5}
#notification-inbox .notification-message{margin:9px 0 14px;line-height:1.65}
#notification-inbox .notification-meta{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin:0;font-size:11px}
.notification-state{padding:3px 7px;border-radius:6px;background:#e0e9ff;color:#3156aa;font-weight:600}
.is-seen .notification-state{background:#edf0f4;color:#607086}
#notification-inbox .notification-delete{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid #e8cbd3;border-radius:10px;background:#fff;color:#b5465c}
#notification-inbox .notification-delete svg{width:18px;height:18px}
#notification-inbox .notification-delete:hover{background:#fff0f3;border-color:#d994a4}
#notification-inbox .notification-dot{margin-top:8px}
#notification-inbox button:focus-visible{outline:3px solid #9cb8ff;outline-offset:3px}
body.dark .notification-heading-icon{background:#273b59;color:#aac7ff}
body.dark #notification-inbox [data-clear],body.dark #notification-inbox .notification-delete{background:#32242e;border-color:#6c3c4b;color:#ffa7b8}
body.dark #notification-inbox [data-clear]:hover,body.dark #notification-inbox [data-clear].is-confirming,body.dark #notification-inbox .notification-delete:hover{background:#4a2c38;border-color:#aa6275}
body.dark .notification-state{background:#354e78;color:#c3d6ff}
body.dark .is-seen .notification-state{background:#303c4e;color:#b5c2d5}
@media(max-width:600px){#notification-inbox .notification-head{padding:20px 16px}#notification-inbox .notification-heading-group{gap:10px}.notification-heading-icon{width:38px;height:38px;border-radius:11px}.notification-heading-icon svg{width:22px;height:22px}#notification-inbox .notification-head p{font-size:12px}#notification-inbox .notification-summary{flex-basis:100%}#notification-inbox .notification-toolbar [data-alerts]{flex:1}#notification-inbox [data-clear]{min-width:110px}#notification-inbox .notification-card{padding:14px;gap:9px}#notification-inbox .notification-delete{width:40px;height:40px}#notification-inbox .notification-meta{gap:7px 9px}.notification-time{flex-basis:100%}}
/* Compact permission popover anchored near the logo; no page-layout shift. */
.notification-floating-prompt{position:fixed;z-index:45;display:grid;grid-template-columns:36px minmax(0,1fr) 28px;align-items:start;gap:10px;width:310px;max-width:calc(100vw - 32px);padding:16px;background:#fff;border:1px solid #dae3f2;border-radius:16px;color:#25354d;box-shadow:0 10px 32px #25354d20;font:13px/1.5 Arial,Helvetica,sans-serif;box-sizing:border-box}
.notification-floating-prompt[hidden]{display:none}
.notification-floating-prompt::before{content:'';position:absolute;top:-6px;left:24px;width:10px;height:10px;transform:rotate(45deg);background:inherit;border-top:1px solid #dae3f2;border-left:1px solid #dae3f2}
.notification-prompt-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#edf2ff;color:#365cef}
.notification-prompt-icon svg{width:21px;height:21px}
.notification-prompt-copy{min-width:0}
.notification-prompt-copy strong{font-size:14px;font-weight:700;display:block;margin-bottom:4px;color:#25354d}
.notification-prompt-description{font-size:12px;line-height:1.6;color:#687a92;margin:0 0 12px}
.notification-floating-prompt .notification-primary{display:inline-flex;align-items:center;justify-content:center;min-height:36px;max-width:100%;padding:8px 12px;font:600 12px/1.5 Arial;border-radius:9px;white-space:normal}
.notification-prompt-dismiss{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:8px;background:transparent;color:#748399;cursor:pointer}
.notification-prompt-dismiss svg{width:16px;height:16px}
.notification-prompt-dismiss:hover{background:#edf2f9;color:#25354d}
.notification-floating-prompt button:focus-visible{outline:3px solid #a3bdff;outline-offset:3px}
.notification-floating-prompt button:disabled{opacity:.65;cursor:wait}
.notification-prompt-status{font-size:11px;line-height:1.6;color:#9e4058;margin:0 0 10px;overflow-wrap:anywhere}
body.dark .notification-floating-prompt{background:#202b3c;border-color:#40516a;color:#edf2fa;box-shadow:0 10px 32px #0004}
body.dark .notification-floating-prompt::before{border-color:#40516a}
body.dark .notification-prompt-copy strong{color:#edf2fa}
body.dark .notification-prompt-description{color:#b3c1d5}
body.dark .notification-prompt-icon{background:#304767;color:#b8d0ff}
body.dark .notification-prompt-dismiss{color:#b3c1d5}
body.dark .notification-prompt-dismiss:hover{background:#30405a;color:#fff}
body.dark .notification-prompt-status{color:#ffb2c1}
@media(prefers-reduced-motion:no-preference){.notification-floating-prompt:not([hidden]){animation:notification-prompt-in .2s ease-out}@keyframes notification-prompt-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}}
/* Preview cards and a separate full-message reader. */
.notification-card .notification-message{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.notification-card-bottom{display:flex;justify-content:flex-end;margin-top:12px}
.notification-card .notification-more{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 10px;border:1px solid #cbd9f5;border-radius:8px;background:#f6f9ff;color:#345cae;font-size:12px;font-weight:600;cursor:pointer}
.notification-card .notification-more:hover{background:#e6eeff}
.notification-detail-dialog .notification-head h2{font-size:19px;line-height:1.5;overflow-wrap:anywhere}
.notification-detail-dialog .notification-body{padding:24px}
.notification-full-message{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85;margin:0;background:#fff;border:1px solid #e4eaf2;border-radius:13px;padding:20px}
.notification-sent-card{align-items:center;gap:24px}
.notification-sent-card>.notification-content{flex:1;min-width:0}
.notification-sent-card .notification-more{margin-top:12px;float:right}
.notification-delivery-summary{display:grid;grid-template-columns:repeat(3,minmax(64px,1fr));gap:8px;flex:none;width:248px}
.notification-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:14px 8px;border:1px solid #e0e7f0;border-radius:11px;font-size:11px;line-height:1.4}
.notification-stat strong{font-size:20px;font-weight:700;line-height:1.2}
.notification-stat-read{background:#edf8f2;color:#277451;border-color:#d7ecdf}
.notification-stat-unread{background:#edf3ff;color:#3156aa;border-color:#d6e1fa}
.notification-stat-deleted{background:#fff1f4;color:#ad4056;border-color:#f1dbe1}
body.dark .notification-card .notification-more{background:#293c5b;color:#c2d7ff;border-color:#4a6391}
body.dark .notification-card .notification-more:hover{background:#344e75}
body.dark .notification-full-message{background:#202b3c;border-color:#3c4b61;color:#edf2fa}
body.dark .notification-stat-read{background:#193d30;color:#a2dfbf;border-color:#315b46}
body.dark .notification-stat-unread{background:#263b5d;color:#bfd3ff;border-color:#405d8a}
body.dark .notification-stat-deleted{background:#432b37;color:#ffb1c1;border-color:#704353}
@media(max-width:760px){.notification-sent-card{flex-direction:column;align-items:stretch;gap:16px}.notification-delivery-summary{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}.notification-stat{padding:12px 8px}.notification-detail-dialog .notification-body{padding:16px}.notification-full-message{padding:16px}.notification-detail-dialog .notification-head h2{font-size:17px}}

/* V107: inline expansion and compact delivery counters. */
.notification-card-heading{display:flex;align-items:center;gap:10px;min-width:0}
.notification-card-heading .notification-open,.notification-card-heading>strong{flex:1;min-width:0;overflow-wrap:anywhere}
.notification-card-actions{display:flex;align-items:center;gap:7px;flex:none}
#notification-inbox .notification-card-heading .notification-dot{margin:0}
#notification-inbox .notification-card-heading .notification-more{height:36px;min-height:36px;margin:0;padding:0 10px;font-size:12px}
#notification-inbox .notification-card.is-expanded .notification-message,.notification-sent-card.is-expanded .notification-message{display:block;-webkit-line-clamp:unset;max-height:none}
#notifications-page .notification-sent-card{padding:16px 18px;gap:24px;align-items:center}
#notifications-page .notification-sent-card .notification-more{float:none;margin:0;flex:none}
#notifications-page .notification-sent-card .notification-message{margin:6px 0;line-height:1.6}
#notifications-page .notification-sent-card .notification-meta{margin-top:6px;font-size:11px}
.notification-delivery-summary{width:230px;gap:6px}
.notification-delivery-summary .notification-stat{min-height:44px;padding:8px 9px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;border-radius:9px}
.notification-delivery-summary .notification-stat strong{font-size:16px;line-height:1.2}
.notification-delivery-summary .notification-stat span{font-size:11px}
.notification-floating-prompt{padding:12px;gap:8px;grid-template-columns:30px minmax(0,1fr) 24px;border-radius:12px}
.notification-prompt-icon{width:30px;height:30px;border-radius:9px}.notification-prompt-icon svg{width:18px;height:18px}
.notification-prompt-copy strong{font-size:13px;margin-bottom:2px}.notification-prompt-description{font-size:11px;line-height:1.4;margin-bottom:8px}
.notification-floating-prompt .notification-primary{min-height:30px;padding:5px 10px;font-size:11px}
.notification-prompt-dismiss{width:24px;height:24px}
@media(max-width:760px){#notifications-page .notification-sent-card{padding:14px;gap:12px}.notification-delivery-summary{width:100%}.notification-delivery-summary .notification-stat{min-height:36px;padding:6px}.notification-card-heading{gap:7px}#notification-inbox .notification-card-heading .notification-open{font-size:13px}#notification-inbox .notification-card-heading .notification-more{padding:0 8px}}

/* V109: compact single-line previews and bottom-right text actions. */
.notification-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.notification-card-foot .notification-meta{flex:1;min-width:0}
.notification-card-foot .notification-more,#notifications-page .notification-card-foot .notification-more{border:0;background:transparent;box-shadow:none;min-height:26px;height:26px;padding:2px 0;margin:0;color:#365cef;font-size:12px;font-weight:600;flex:none}
body.dark .notification-card-foot .notification-more{color:#aac7ff}
#notification-inbox button.notification-message{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit;font-size:14px}
.notification-card:not(.is-expanded) .notification-message{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notification-card:not(.is-expanded) .notification-card-heading .notification-open,.notification-card:not(.is-expanded) .notification-card-heading>strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#notification-inbox .notification-card:not(.is-expanded) .notification-message{white-space:nowrap;margin:6px 0;line-height:1.5}
#notification-inbox .notification-card.is-expanded .notification-message{white-space:pre-wrap;line-height:1.65}
#notifications-page .notification-sent-card{padding:12px 14px;gap:16px;margin-bottom:8px}
#notifications-page .notification-sent-card .notification-message{font-size:13px;margin:4px 0;cursor:pointer}
#notifications-page .notification-sent-card.is-expanded .notification-message{white-space:pre-wrap}
#notifications-page .notification-card-heading>strong{font-size:14px}
#notifications-page .notification-delete{width:30px;height:30px;display:grid;place-items:center;padding:0;border:1px solid #efd6dc;background:#fff;border-radius:8px;flex:none}
#notifications-page .notification-delete svg{width:16px;height:16px}
#notifications-page .notification-delete.is-confirming{background:#ffe3e8;border-color:#b5465c}
body.dark #notifications-page .notification-delete{background:#32242e;border-color:#6c3c4b;color:#ffa7b8}
#notifications-page .notification-delivery-summary .notification-stat{min-height:34px;padding:6px}
#notification-inbox .notification-card.is-seen{background:#fff;border-color:#e4eaf2;box-shadow:none}
body.dark #notification-inbox .notification-card.is-seen{background:#1e2634;border-color:#354153}
@media(max-width:600px){.notification-card-foot{align-items:flex-end;gap:8px}#notifications-page .notification-sent-card{gap:8px}#notification-inbox .notification-card{padding:12px}}

/* V110: same compact spacing for admin/player notification modals. */
.notification-head,#notification-inbox .notification-head{padding:16px 20px;gap:12px}
.notification-heading-icon{width:38px;height:38px;border-radius:11px}
.notification-head h2{font-size:19px}.notification-head p{margin-top:3px;font-size:12px}
.notification-body{padding:16px 20px}
#notification-inbox .notification-toolbar{margin-bottom:12px}
.notification-form-section{padding:14px;margin-bottom:12px}.notification-form-section h3{margin-bottom:10px}
.notification-form-section label{margin:10px 0}
.notification-form-section textarea{min-height:110px}
.notification-footer{padding:12px 20px;gap:10px}
@media(max-width:600px){.notification-head,#notification-inbox .notification-head{padding:14px 16px}.notification-body{padding:14px 16px}.notification-footer{padding:12px 16px}.notification-form-section{padding:12px}}

/* V111: summary-aligned Delete with More directly beneath. */
#notifications-page .notification-sent-controls{display:flex;align-items:flex-start;gap:8px;flex:none}
#notifications-page .notification-sent-actions{display:flex;flex-direction:column;align-items:center;gap:4px;width:34px}
#notifications-page .notification-sent-actions .notification-delete{width:34px;height:34px;border-radius:8px}
#notifications-page .notification-sent-actions .notification-more{padding:0;margin:0;min-height:20px;height:20px;border:0;background:transparent;font-size:11px;line-height:20px;color:#365cef}
body.dark #notifications-page .notification-sent-actions .notification-more{color:#aac7ff}
#notifications-page .notification-sent-card{padding:10px 14px;align-items:center}
#notifications-page .notification-sent-card .notification-card-foot{margin-top:4px}
#notifications-page .notification-sent-controls .notification-delivery-summary{margin:0}
@media(max-width:760px){#notifications-page .notification-sent-controls{width:100%;justify-content:flex-end}#notifications-page .notification-sent-controls .notification-delivery-summary{flex:1;width:auto}#notifications-page .notification-sent-controls .notification-stat{min-height:34px;height:34px}}

/* V112: sent list keeps its compact columns within a horizontal scroll area. */
#notifications-page [data-sent-list]{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;max-width:100%;padding-bottom:4px}
#notifications-page .notification-sent-card{min-width:680px;box-sizing:border-box;flex-direction:row;align-items:center;gap:16px}
#notifications-page .notification-sent-controls{width:auto;flex:none;justify-content:flex-end}
#notifications-page .notification-sent-controls .notification-delivery-summary{width:auto;flex:none;grid-template-columns:repeat(3,74px)}
#notifications-page .notification-sent-controls .notification-stat{height:34px;min-height:34px;padding:6px}
@media(max-width:760px){
 #notifications-page .page-heading{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:12px}
 #notifications-page .page-heading>div{flex:1;min-width:0}
 #notifications-page [data-notification-new]{width:auto;flex:none;min-height:40px;padding:10px 12px;font-size:12px;white-space:nowrap}
 #notifications-page .page-heading h1{font-size:22px;margin-top:0}
 #notifications-page .page-heading p{font-size:12px;line-height:1.5}
 #notifications-page .notification-sent-card{padding:10px 14px;gap:16px}
}

/* V113 compact inbox counters */
#notification-inbox .notification-body{padding-top:10px}
#notification-inbox .notification-toolbar{margin-bottom:10px;gap:8px;flex-wrap:nowrap}
#notification-inbox .notification-summary{display:flex;gap:6px;flex:1;flex-basis:auto}
.notification-count-chip{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:7px;background:#edf1f7;color:#59677a;font-size:11px;white-space:nowrap}
.notification-count-chip.unread{background:#e5edff;color:#315cb8}
.notification-count-chip b{font-size:13px}
body.dark .notification-count-chip{background:#2c3749;color:#c5d1e4}body.dark .notification-count-chip.unread{background:#2b4166;color:#adcaff}
#notification-inbox [data-clear]{min-width:0;min-height:34px;padding:7px 9px;font-size:11px}

#notifications-page .notification-sent-actions{gap:8px}#notifications-page .notification-sent-card{cursor:pointer}

#notifications-page .notification-creator{font-size:inherit;font-weight:600;color:#354865}body.dark #notifications-page .notification-creator{color:#d2e0f6}

/* Native dropdown menus follow the application theme, including on mobile. */
.notification-form-section select{color-scheme:light}
.notification-form-section select option{background:#fff;color:#25354d}
body.dark .notification-form-section select{color-scheme:dark}
body.dark .notification-form-section select option{background:#202d40;color:#edf2fa}

.notification-target-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 14px;border:1px solid #a7d8be;border-radius:10px;background:#edf8f1;color:#286447}.notification-target-selected>div{display:grid;gap:4px;min-width:0}.notification-target-selected strong{overflow-wrap:anywhere}.notification-target-selected small{font-size:11px}.notification-target-selected button{flex:none}[data-target-help].is-error{color:#b43d50}body.dark .notification-target-selected{background:#203b30;border-color:#3c6953;color:#a9dfbf}body.dark [data-target-help].is-error{color:#ff9dad}

.notification-editor-shell{margin-top:8px;border:1px solid #dce3ed;border-radius:10px;overflow:hidden;background:#fff}#notification-format-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:7px;border-bottom:1px solid #e3e8ef;background:#f4f6fa}#notification-format-toolbar button,#notification-format-toolbar select{width:auto;height:30px;margin:0;padding:4px 8px;border:1px solid #dce3ed;border-radius:6px;background:#fff;color:#33445d;font-size:12px}#notification-format-toolbar button:hover{background:#e8edfc}.notification-rich{min-height:120px;max-height:260px;overflow:auto;padding:12px;outline:none;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.notification-rich:empty:before{content:attr(data-placeholder);color:#8794aa;pointer-events:none}.notification-editor-help{display:block;margin-top:8px;color:#738094;font-size:11px}.notification-rich img,.notification-message img{display:block;max-width:100%;max-height:300px;object-fit:contain;border-radius:8px;margin:8px 0}.notification-message p,.notification-rich p{margin:4px 0}.notification-font-small{font-size:12px}.notification-font-normal{font-size:14px}.notification-font-large{font-size:20px}.notification-font-xlarge{font-size:24px}body.dark .notification-editor-shell{background:#202d40;border-color:#42516a}body.dark #notification-format-toolbar{background:#253247;border-color:#42516a}body.dark #notification-format-toolbar button,body.dark #notification-format-toolbar select{background:#1c2738;border-color:#42516a;color:#edf2fa}

#notification-send-dialog .notification-footer{flex-wrap:wrap}#notification-send-dialog .notification-footer .notification-status{flex-basis:100%;margin:0;font-size:12px;line-height:1.5}#notification-send-dialog .notification-footer .notification-status:empty{display:none}
