.notification-bell{position:relative;display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid var(--bar-border, #d4dfed);border-radius:12px;background:var(--bar-control, #edf3fc);color:var(--bar-text, #193962)}.notification-bell svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.notification-bell>span{position:absolute;right:-3px;top:-4px;border-radius:20px;min-width:18px;height:18px;padding:0 4px;background:#c14f5d;color:#fff;font:700 10px/18px sans-serif;box-shadow:0 0 0 2px #fff}.notification-bell [hidden],.notification-dialog [hidden]{display:none!important}.notification-dialog{width:min(480px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 90px);margin:74px 18px auto auto;border:1px solid var(--cms-line, #dce4ef);border-radius:20px;padding:0;color:var(--cms-ink, #172944);background:#fff;box-shadow:0 18px 65px #1729442e;overflow:hidden}.notification-dialog[open]{display:flex;flex-direction:column}.notification-dialog::backdrop{background:#1729442b}.notification-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 12px;flex-shrink:0}.notification-dialog header small{font-size:9px;letter-spacing:2px;color:var(--cms-muted, #52657d)}.notification-dialog h2{font-size:21px;margin:5px 0 0;font-weight:700}.notification-dialog button{border:1px solid var(--cms-line, #dce4ef);border-radius:9px;background:var(--cms-wash, #f4f7fb);color:var(--cms-ink, #172944);font-size:12px;padding:9px 12px}.notification-dialog #notificationClose{width:40px;height:40px;border:0;border-radius:50%;font-size:26px;line-height:1;padding:0}.notification-guide{padding:0 22px;margin:0;font-size:11px;color:var(--cms-muted, #52657d);line-height:1.7}.notification-dialog #notificationStatus{margin:8px 22px;font-size:12px;color:var(--cms-muted, #52657d);flex-shrink:0}.notification-list{overflow:auto;overscroll-behavior:contain;min-height:0;padding:0 12px}.notification-list .notification-item{width:100%;display:block;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--cms-line, #dce4ef);border-radius:0;padding:16px 10px;white-space:normal}.notification-item:hover{background:var(--cms-wash, #f4f7fb)}.notification-item strong{font-size:13px;display:block;color:var(--cms-ink, #172944);margin-bottom:7px}.notification-item p{color:var(--cms-muted, #52657d);font-size:12px;margin:0 0 8px;line-height:1.65;overflow-wrap:anywhere}.notification-item time,#notificationDetailTime{font-size:10px;color:var(--cms-muted, #52657d)}.notification-dialog footer{display:flex;justify-content:space-between;gap:10px;padding:14px 22px;border-top:1px solid var(--cms-line, #dce4ef);flex-shrink:0}.notification-dialog #notificationDetail{overflow:auto;overscroll-behavior:contain;padding:4px 22px 24px;min-height:0}.notification-dialog #notificationDetail h3{font-size:19px;line-height:1.5;margin:20px 0 8px;overflow-wrap:anywhere}.notification-dialog #notificationDetailBody{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85;margin:20px 0}.notification-dialog #notificationLink{display:inline-block;color:var(--cms-brand, #1b3c66);font-size:12px;padding:10px 0}.notification-bell:focus-visible,.notification-dialog :is(button,a):focus-visible{outline:3px solid var(--cms-focus, #3169ac);outline-offset:2px}
.push-admin-page{display:flex;flex-direction:column;gap:12px}.push-admin-scroll{overflow:auto;min-height:0;flex:1;display:grid;grid-template-columns:minmax(300px,1.2fr) minmax(280px,1fr);align-items:start;gap:18px;overscroll-behavior:contain}.push-admin-card{min-width:0;background:white;border:1px solid var(--cms-line, #dce4ef);border-radius:18px;padding:24px}.push-admin-card h2{font-size:18px;font-weight:700;color:var(--cms-ink, #172944);margin:0 0 16px}.push-admin-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.push-admin-heading h2{margin:0}.push-admin-card button{border:1px solid var(--cms-line, #dce4ef);border-radius:9px;color:var(--cms-ink, #172944);background:var(--cms-wash, #f4f7fb);padding:10px 13px;font-size:12px}.push-admin-card button:disabled{opacity:.5}.push-admin-note{font-size:12px;color:var(--cms-muted, #52657d);line-height:1.8}.push-audience{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}.push-audience article{border:1px solid var(--cms-line, #dce4ef);border-radius:12px;background:var(--cms-wash, #f4f7fb);padding:14px 12px;min-width:0}.push-audience span{display:block;font-size:11px;color:var(--cms-muted, #52657d)}.push-audience strong{display:block;text-align:right;font-size:24px;color:var(--cms-brand, #1b3c66);margin-top:6px;overflow-wrap:anywhere}.push-admin-card fieldset{border:0;padding:0;margin:16px 0}.push-admin-card label{display:block;font-size:13px;color:var(--cms-ink, #172944);margin:16px 0}.push-admin-card label span{font-size:11px;color:var(--cms-muted, #52657d)}.push-admin-card :is(input,textarea){display:block;box-sizing:border-box;width:100%;min-width:0;margin-top:8px;border:1px solid var(--cms-line, #dce4ef);border-radius:10px;padding:12px;color:var(--cms-ink, #172944);background:#fff;outline-color:var(--cms-focus, #3169ac);font-size:14px;text-align:left}.push-admin-card textarea{resize:vertical;min-height:130px;max-height:280px}.push-admin-actions{display:flex;justify-content:flex-end}.push-admin-card #pushAdminSend{background:var(--cms-brand, #1b3c66);border-color:var(--cms-brand, #1b3c66);color:#fff}.push-admin-card #pushAdminStatus{font-size:12px;color:var(--cms-brand, #1b3c66);line-height:1.7}.push-admin-card #pushAdminStatus.is-error{color:#b64c5b}.push-history{display:grid;gap:12px}.push-history article{border:1px solid var(--cms-line, #dce4ef);border-radius:12px;padding:15px}.push-history h3{font-size:14px;line-height:1.6;margin:0 0 8px;overflow-wrap:anywhere}.push-history p{font-size:12px;color:var(--cms-muted, #52657d);line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.push-history time{font-size:11px;color:var(--cms-muted, #52657d)}.push-history .push-history-counts{font-size:11px;color:var(--cms-brand, #1b3c66);margin:10px 0 0}@media(max-width:900px){.push-admin-scroll{grid-template-columns:1fr}}@media(max-width:600px){.notification-dialog{margin:66px auto 12px;max-height:calc(100dvh - 82px)}.notification-bell{width:38px;height:38px;flex-basis:38px}.push-admin-card{padding:18px}.push-admin-card :is(input,textarea){font-size:16px}.push-admin-heading{flex-wrap:wrap}.push-audience{gap:6px}.push-audience article{padding:12px 8px}.push-audience strong{font-size:22px}}@media(max-width:360px){.site-topbar .site-brand-column{padding-right:4px!important}.site-topbar .site-topbar-actions{gap:6px}.site-topbar .site-brand-name strong{font-size:15px}.site-topbar .site-brand-name small{font-size:8px}.site-topbar .site-brand-mark{width:30px;height:30px}.site-topbar .site-topbar-menu{padding:9px}.site-topbar .site-brand{gap:6px}}
.push-targets{padding:16px;border:1px solid var(--cms-line, #dce4ef);border-radius:12px;margin-bottom:16px;background:var(--cms-wash, #f4f7fb)}.push-targets select{width:100%;min-height:38px;border:1px solid var(--cms-line, #dce4ef);border-radius:8px;padding:7px;background:#fff}.push-targets p,.push-targets legend{font-size:12px;line-height:1.7}.push-target-checks{display:flex;flex-wrap:wrap;gap:8px 14px}.push-target-checks label{display:flex!important;align-items:center;gap:6px}.push-target-checks input{width:16px!important;min-height:16px!important;margin:0!important}.push-targets fieldset{margin:12px 0}.push-targets [hidden]{display:none!important}#pushTargetPreview{margin-top:12px}#pushRecipientGrid{height:300px}
.notification-dialog footer{flex-wrap:wrap;gap:8px}.notification-dialog footer button{min-height:40px;white-space:nowrap}.notification-dialog #notificationReadAll{margin-left:auto;background:var(--cms-brand, #1b3c66);border-color:var(--cms-brand, #1b3c66);color:#fff}.notification-dialog button:disabled{opacity:.5;cursor:default}

/* Keep the composer and history within the available page height. */
.push-admin-page .push-settings-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;min-height:44px;padding:10px 14px;border:1px solid var(--cms-line, #dce4ef);border-radius:12px;background:var(--cms-wash, #f4f7fb);color:var(--cms-brand, #1b3c66);font-size:13px;font-weight:650;line-height:1.4;white-space:nowrap;text-decoration:none;transition:background .15s,border-color .15s}
.push-admin-page .push-settings-link:hover{background:var(--cms-selected, #e5effb);border-color:var(--cms-line-strong, #a9bed6);color:var(--cms-brand, #1b3c66)}
.push-admin-page .push-settings-link:active{background:var(--cms-selected, #e5effb)}
.push-settings-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.push-settings-link .push-settings-arrow{width:15px;height:15px;color:var(--cms-muted, #52657d)}
.push-admin-page .push-settings-link:focus-visible,.push-admin-page .push-history:focus-visible{outline:3px solid var(--cms-focus, #3169ac);outline-offset:2px}
.push-admin-page .push-admin-scroll{min-width:0;grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden}
.push-admin-page .push-admin-card{min-height:0}
.push-admin-page .push-admin-compose{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.push-admin-page .push-admin-history-card{display:flex;flex-direction:column;overflow:hidden}
.push-admin-history-card>h2,.push-admin-history-card>.push-admin-note{flex:none}
.push-admin-page .push-history{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start;grid-auto-rows:max-content;padding:3px}
.push-admin-page .push-history article{min-width:0}
@media(max-width:900px){
 .push-admin-page .push-admin-scroll{grid-template-rows:max-content max-content;align-content:start;overflow:auto}
 .push-admin-page .push-admin-compose{overflow:visible;scrollbar-gutter:auto}
 .push-admin-page .push-admin-history-card{height:clamp(280px,65dvh,560px)}
}
@media(max-width:600px){
 .push-admin-page.app-page .app-heading{flex-wrap:wrap;gap:10px}
 .push-admin-page .push-settings-link{padding:10px 12px;font-size:12px}
 .push-admin-page .push-admin-scroll{gap:12px}
}
@media(prefers-reduced-motion:reduce){.push-admin-page .push-settings-link{transition:none}}

.site-topbar .notification-bell:is(:hover,:active){background:var(--bar-hover, #e1ebfa)}
.site-topbar .notification-bell:focus-visible{outline-color:var(--bar-focus, #3169ac)}
