:root{--np-ink:#18232d;--np-muted:#728091;--np-line:#e2e8ec;--np-soft:#f5f7f8;--np-dark:#101a20;--np-accent:#118f7d;--np-lime:#b7f51b}
#adminNotificationPreferencesModal{padding:18px;background:#0b1218b8;backdrop-filter:blur(7px)}
#adminNotificationPreferencesModal .admin-notification-card,#notificationPreferencesDialog{width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;border:0;border-radius:22px;background:#fff;color:var(--np-ink);box-shadow:0 30px 90px #07101766}
#notificationPreferencesDialog{padding:0}
#notificationPreferencesDialog::backdrop{background:#0b1218b8;backdrop-filter:blur(7px)}
.admin-notification-card>.admin-notification-head,.notification-preferences-dialog form>header{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:27px 30px 20px;border-bottom:1px solid var(--np-line);background:linear-gradient(145deg,#fff 55%,#f2f7f5)}
.admin-notification-head .eyebrow,.notification-preferences-dialog .popup-kicker{display:block;margin:0 0 7px;color:var(--np-accent);font-size:10px;font-weight:900;letter-spacing:.17em}
.admin-notification-head h2,.notification-preferences-dialog form>header h2{margin:0 48px 7px 0;color:var(--np-ink);font-size:28px;line-height:1.12;letter-spacing:-.035em}
.admin-notification-head p,.notification-preferences-dialog form>header p{margin:0;color:var(--np-muted);font-size:12px;line-height:1.5}
.admin-notification-close,.notification-preferences-dialog form>header .popup-close{position:absolute;right:22px;top:22px;display:grid;width:38px;height:38px;padding:0;place-items:center;border:1px solid #dbe3e7;border-radius:11px;background:#fff;color:#586875;font-size:20px;line-height:1;box-shadow:0 4px 12px #1018200b}
.admin-delivery-window,.notification-preferences-dialog .delivery-window{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;margin:20px 30px 16px;padding:17px 18px;border:0;border-radius:16px;background:var(--np-dark);color:#fff}
.admin-delivery-window>header,.notification-preferences-dialog .delivery-window>header{display:flex;align-items:center;gap:16px;min-width:0}
.admin-delivery-window>header>div:first-child,.notification-preferences-dialog .delivery-window>header>div:first-child{display:grid;min-width:106px}
.admin-delivery-window strong,.notification-preferences-dialog .delivery-window strong{font-size:13px}
.admin-delivery-window small,.notification-preferences-dialog .delivery-window small{margin-top:3px;color:#91a0a8;font-size:9px}
.notification-day-choice{display:flex;padding:3px;border:1px solid #35434a;border-radius:10px;background:#202c32}
.notification-day-choice label{cursor:pointer}
.notification-day-choice input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.notification-day-choice span{display:block;padding:8px 11px;border-radius:7px;color:#a9b5ba;font-size:10px;font-weight:850;white-space:nowrap;transition:.15s}
.notification-day-choice input:checked+span{background:#fff;color:#162129;box-shadow:0 3px 9px #0004}
.admin-delivery-window>.notification-time-choice,.notification-preferences-dialog .delivery-window>.notification-time-choice{display:flex;align-items:center;gap:8px}
.notification-time-choice label{display:grid;gap:4px;color:#91a0a8;font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.notification-time-choice input{width:105px;min-height:39px;padding:8px 9px;border:1px solid #3b4950;border-radius:9px;background:#202c32;color:#fff;font-size:13px;color-scheme:dark}
.notification-time-choice>span{align-self:flex-end;padding-bottom:11px;color:#74858d;font-size:10px}
.notification-free-days{grid-column:1/-1;position:relative;display:flex!important;align-items:center;gap:11px;padding:12px 13px;border:1px solid #35434a;border-radius:11px;background:#202c32;cursor:pointer;text-transform:none!important;letter-spacing:0!important}
.notification-free-days>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.notification-free-days>i{position:relative;display:block;flex:0 0 40px;width:40px;height:23px;border-radius:20px;background:#4b585e;transition:.18s}
.notification-free-days>i:after{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0005;transition:.18s}
.notification-free-days>input:checked+i{background:var(--np-accent)}
.notification-free-days>input:checked+i:after{left:20px}
.notification-free-days>span{display:grid;gap:3px}
.notification-free-days b{color:#fff;font-size:11px;line-height:1.3}
.notification-free-days small{margin:0!important;color:#91a0a8!important;font-size:9px!important;line-height:1.4}
.push-device-summary{margin:0 30px 16px;padding:12px 14px;border:1px solid #d8e7e3;border-radius:13px;background:#f1f8f6;color:var(--np-ink)}
.push-device-summary>strong{display:block;font-size:11px;letter-spacing:.04em}
.push-device-summary>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.push-device-summary span{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #cfe1dc;border-radius:9px;background:#fff;color:#40515b;font-size:10px;font-weight:750}
.push-device-summary span i{width:7px;height:7px;border-radius:50%;background:#20a277;box-shadow:0 0 0 3px #20a2771c}
.push-device-summary span.has-error{border-color:#efc9c3;color:#a43b30}
.push-device-summary span.has-error i{background:#d4493c;box-shadow:0 0 0 3px #d4493c1c}
.push-device-summary p{margin:6px 0 0;color:#687985;font-size:10px;line-height:1.45}
.push-device-summary.is-empty{border-color:#ecd39e;background:#fff8e9}
.push-device-summary.is-empty p{color:#785d2c}
.admin-notification-categories,.notification-preferences-dialog .preference-categories{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:0 30px}
.admin-notification-group,.notification-preferences-dialog .preference-group{overflow:hidden;border:1px solid var(--np-line);border-radius:15px;background:#fff;box-shadow:0 6px 20px #15232e08}
.admin-notification-group>header,.notification-preferences-dialog .preference-group>header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:var(--np-soft);border:0}
.admin-notification-group>header strong,.notification-preferences-dialog .preference-group>header strong{color:var(--np-ink);font-size:12px}
.admin-notification-group>header small,.notification-preferences-dialog .preference-group>header small{color:#8a97a1;font-size:8px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.admin-notification-row,.notification-preferences-dialog .preference-row{position:relative;display:flex;align-items:center;gap:12px;min-height:57px;padding:11px 14px;border-top:1px solid #edf1f3;cursor:pointer}
.admin-notification-row>span,.notification-preferences-dialog .preference-row>span{display:grid;flex:1;min-width:0}
.admin-notification-row b,.notification-preferences-dialog .preference-row b{color:var(--np-ink);font-size:12px;line-height:1.25}
.admin-notification-row small,.notification-preferences-dialog .preference-row small{margin-top:3px;color:#8a96a0;font-size:9px}
.admin-notification-row input,.notification-preferences-dialog .preference-row input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.admin-notification-row>i,.notification-preferences-dialog .preference-row>i{position:relative;display:block;flex:0 0 40px;width:40px;height:23px;border-radius:20px;background:#d7dfe2;transition:.18s}
.admin-notification-row>i:after,.notification-preferences-dialog .preference-row>i:after{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #10182033;transition:.18s}
.admin-notification-row input:checked+i,.notification-preferences-dialog .preference-row input:checked+i{background:var(--np-accent)}
.admin-notification-row input:checked+i:after,.notification-preferences-dialog .preference-row input:checked+i:after{left:20px;background:#fff}
.admin-notification-error,.notification-preferences-dialog .popup-error{min-height:18px;margin:10px 30px 0;padding:0;color:#b42318;font-size:11px;font-weight:700}
.notification-preference-footer{display:flex!important;align-items:center;justify-content:space-between!important;gap:12px;margin-top:7px;padding:16px 30px 22px!important;border-top:1px solid var(--np-line)!important;background:#fff}
.notification-preference-footer>div{display:flex;gap:8px}
.notification-preference-footer-left{display:flex;gap:8px}
.notification-preference-footer button{min-height:42px;border-radius:10px;padding:10px 15px}
.notification-test-button{border:1px solid #b9ddd7!important;background:#ecf8f5!important;color:#087563!important}
.notification-test-button:hover{background:#dff3ee!important}
.notification-test-button:disabled{opacity:.55;cursor:wait}
@media(max-width:700px){#adminNotificationPreferencesModal{padding:8px}.admin-notification-card>.admin-notification-head,.notification-preferences-dialog form>header{padding:23px 20px 17px}.admin-notification-head h2,.notification-preferences-dialog form>header h2{font-size:23px}.admin-notification-close,.notification-preferences-dialog form>header .popup-close{right:16px;top:16px}.admin-delivery-window,.notification-preferences-dialog .delivery-window{grid-template-columns:1fr;margin:16px 20px 13px}.admin-delivery-window>header,.notification-preferences-dialog .delivery-window>header{justify-content:space-between}.notification-time-choice{justify-content:flex-end}.push-device-summary{margin:0 20px 13px}.admin-notification-categories,.notification-preferences-dialog .preference-categories{grid-template-columns:1fr;padding:0 20px}.admin-notification-error,.notification-preferences-dialog .popup-error{margin-left:20px;margin-right:20px}.notification-preference-footer{align-items:stretch;flex-direction:column;padding:14px 20px 20px!important}.notification-preference-footer>div{display:grid;grid-template-columns:1fr 1fr}.notification-test-button{width:100%}}
@media(max-width:430px){.admin-delivery-window>header,.notification-preferences-dialog .delivery-window>header{align-items:stretch;flex-direction:column}.admin-delivery-window>header>div:first-child,.notification-preferences-dialog .delivery-window>header>div:first-child{display:none}.notification-day-choice{display:grid;grid-template-columns:1fr 1fr}.notification-day-choice span{text-align:center}.admin-delivery-window>.notification-time-choice,.notification-preferences-dialog .delivery-window>.notification-time-choice{display:grid;grid-template-columns:1fr auto 1fr}.notification-time-choice label{min-width:0}.notification-time-choice input{width:100%;min-width:0}.notification-preference-footer>div{grid-template-columns:1fr}.notification-preference-footer>div button{width:100%}}
