/* SP News browser notification experience — Arabic-first and non-intrusive. */
.spnews-notify-lock{overflow:hidden}
.spnews-notify-prompt[hidden],.spnews-notify-modal[hidden],.spnews-notify-step[hidden],.spnews-notify-launcher[hidden]{display:none!important}
.spnews-notify-prompt{position:fixed;z-index:99990;right:22px;bottom:22px;width:min(430px,calc(100vw - 28px));display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;padding:20px;border:1px solid rgba(15,23,42,.12);border-radius:20px;background:#fff;box-shadow:0 22px 65px rgba(15,23,42,.2);font-family:inherit;color:#111827;opacity:0;transform:translateY(18px);transition:opacity .22s ease,transform .22s ease}
.spnews-notify-prompt.is-visible{opacity:1;transform:translateY(0)}
.spnews-notify-bell{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff1f2;font-size:23px}
.spnews-notify-prompt strong{display:block;margin:2px 0 6px;font-size:18px}.spnews-notify-prompt p{margin:0;color:#667085;line-height:1.75;font-size:14px}
.spnews-notify-prompt-actions{grid-column:1/-1;display:flex;gap:10px;margin-top:4px}
.spnews-notify-primary,.spnews-notify-secondary{appearance:none;border:0;border-radius:12px;padding:11px 17px;font:800 14px/1.4 inherit;cursor:pointer;transition:transform .18s ease,opacity .18s ease}
.spnews-notify-primary{background:#e31e36;color:#fff}.spnews-notify-primary:hover{transform:translateY(-1px)}.spnews-notify-primary:disabled{opacity:.6;cursor:wait}
.spnews-notify-secondary{background:#f2f4f7;color:#344054}.spnews-notify-close{position:absolute;top:10px;left:12px;border:0;background:transparent;color:#667085;font-size:26px;line-height:1;cursor:pointer;padding:5px}
.spnews-notify-modal{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:18px}.spnews-notify-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(4px)}
.spnews-notify-panel{position:relative;z-index:1;width:min(620px,100%);max-height:min(760px,calc(100vh - 36px));overflow:auto;background:#fff;border-radius:24px;padding:30px;box-shadow:0 25px 90px rgba(0,0,0,.28);color:#101828}
.spnews-notify-progress{display:flex;gap:8px;margin:0 0 24px}.spnews-notify-progress span{height:5px;flex:1;border-radius:999px;background:#eaecf0}.spnews-notify-progress span.is-active{background:#e31e36}
.spnews-notify-step h2{margin:0 0 8px;font-size:28px;line-height:1.35}.spnews-notify-step>p:not(.spnews-notify-kicker):not(.spnews-notify-error){margin:0 0 22px;color:#667085;line-height:1.8}.spnews-notify-kicker{margin:0 0 8px;color:#e31e36;font-weight:900;font-size:13px}
.spnews-notify-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.spnews-notify-choice,.spnews-notify-mode{position:relative;display:flex;cursor:pointer}.spnews-notify-choice input,.spnews-notify-mode input{position:absolute;opacity:0;pointer-events:none}
.spnews-notify-choice span{width:100%;padding:14px;border:1px solid #d0d5dd;border-radius:13px;background:#fff;font-weight:800;transition:.18s}.spnews-notify-choice input:checked+span{border-color:#e31e36;background:#fff1f2;color:#b31228;box-shadow:0 0 0 2px rgba(227,30,54,.08)}
.spnews-notify-modes{display:grid;gap:10px}.spnews-notify-mode span{width:100%;display:grid;gap:4px;padding:15px 17px;border:1px solid #d0d5dd;border-radius:14px;background:#fff}.spnews-notify-mode strong{font-size:15px}.spnews-notify-mode small{color:#667085;line-height:1.6}.spnews-notify-mode input:checked+span{border-color:#e31e36;background:#fff1f2;box-shadow:0 0 0 2px rgba(227,30,54,.08)}
.spnews-notify-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.spnews-notify-permission-note{display:grid;gap:6px;padding:17px;border-radius:14px;background:#f8fafc;border:1px solid #e4e7ec}.spnews-notify-permission-note span{color:#667085;line-height:1.75}
.spnews-notify-error{margin:15px 0 0;padding:11px 13px;border-radius:10px;background:#fff1f2;color:#b42318;line-height:1.7;font-weight:700}.spnews-notify-success{text-align:center;padding:18px 0}.spnews-notify-success-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:50%;background:#ecfdf3;color:#067647;font-size:32px;font-weight:900}.spnews-notify-success .spnews-notify-primary{margin-top:8px;min-width:120px}
@media(max-width:640px){.spnews-notify-prompt{right:14px;bottom:14px;padding:17px;border-radius:17px}.spnews-notify-prompt-actions{display:grid;grid-template-columns:1fr 1fr}.spnews-notify-panel{padding:24px 18px 20px;border-radius:20px}.spnews-notify-step h2{font-size:24px}.spnews-notify-categories{grid-template-columns:1fr}.spnews-notify-actions{display:grid;grid-template-columns:1fr 1fr}.spnews-notify-actions .spnews-notify-primary:only-child{grid-column:1/-1}.spnews-notify-primary,.spnews-notify-secondary{width:100%}}
@media(prefers-reduced-motion:reduce){.spnews-notify-prompt,.spnews-notify-primary{transition:none!important}}
.spnews-notify-launcher{position:fixed;z-index:99980;left:18px;bottom:18px;display:flex;align-items:center;gap:8px;border:1px solid rgba(15,23,42,.12);border-radius:999px;padding:11px 15px;background:#fff;color:#101828;box-shadow:0 12px 34px rgba(15,23,42,.18);font:800 14px/1.2 inherit;cursor:pointer}
.spnews-notify-launcher span{font-size:18px}.spnews-notify-launcher:hover{transform:translateY(-1px)}
@media(max-width:640px){.spnews-notify-launcher{left:12px;bottom:12px;padding:10px 13px}.spnews-notify-launcher strong{font-size:13px}}
.spnews-notify-manage-card{display:flex;align-items:center;gap:14px;margin:22px 0;padding:16px;border:1px solid #f1cbd3;border-radius:16px;background:#fff7f8}.spnews-notify-manage-card>span{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:#ffe8ed;font-size:25px}.spnews-notify-manage-card strong,.spnews-notify-manage-card small{display:block}.spnews-notify-manage-card small{margin-top:5px;color:#687386;line-height:1.6}.spnews-notify-manage-actions{display:grid;gap:10px}.spnews-notify-danger{width:100%;min-height:50px;border:1px solid #dc2626;border-radius:13px;background:#fff;color:#b91c1c;font:inherit;font-weight:800;cursor:pointer}.spnews-notify-danger:hover{background:#fff1f2}.spnews-notify-warning{display:grid;gap:7px;margin:22px 0;padding:16px;border:1px solid #fecaca;border-radius:15px;background:#fff1f2;color:#991b1b}.spnews-notify-warning span{color:#7f1d1d;line-height:1.7}.spnews-notify-actions .spnews-notify-danger{flex:1;background:#d7193f;color:#fff;border-color:#d7193f}.spnews-notify-actions .spnews-notify-danger:hover{background:#b81432}.spnews-notify-launcher strong{white-space:nowrap}

/* 5.93.1 — compact first-subscription flow on phones. */
@media (max-width:640px){
  .spnews-notify-modal{padding:10px;align-items:center}
  .spnews-notify-panel{width:calc(100vw - 20px);max-height:88dvh;padding:18px 14px 14px;border-radius:18px;overscroll-behavior:contain}
  .spnews-notify-progress{margin-bottom:14px;gap:6px}.spnews-notify-progress span{height:4px}
  .spnews-notify-close{top:7px;left:8px;font-size:23px}
  .spnews-notify-kicker{margin-bottom:5px;font-size:12px}
  .spnews-notify-step h2{font-size:21px;margin-bottom:4px;line-height:1.3}
  .spnews-notify-step>p:not(.spnews-notify-kicker):not(.spnews-notify-error){margin-bottom:13px;font-size:13px;line-height:1.6}
  .spnews-notify-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .spnews-notify-choice span{min-height:54px;display:flex;align-items:center;justify-content:flex-start;padding:10px 11px;border-radius:11px;font-size:13px;line-height:1.35}
  .spnews-notify-modes{gap:7px}.spnews-notify-mode span{padding:11px 13px;border-radius:11px}.spnews-notify-mode strong{font-size:14px}.spnews-notify-mode small{font-size:12px;line-height:1.45}
  .spnews-notify-actions{position:sticky;bottom:-14px;z-index:3;margin-top:13px;padding:10px 0 2px;background:linear-gradient(to top,#fff 76%,rgba(255,255,255,0))}
  .spnews-notify-primary,.spnews-notify-secondary{padding:10px 12px;font-size:13px}
  .spnews-notify-permission-note{padding:12px;border-radius:11px}.spnews-notify-permission-note span{font-size:12px;line-height:1.55}
}
@media (max-width:370px){.spnews-notify-categories{grid-template-columns:1fr}.spnews-notify-panel{max-height:90dvh}}

/* 5.95.3 compact state-aware notification launcher */
.spnews-notify-launcher{width:50px;height:50px;min-width:50px;padding:0;gap:0;justify-content:center;border-radius:50%;overflow:visible;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;color:#111827}
.spnews-notify-launcher strong{display:none!important}
.spnews-notify-launcher-icon{display:flex!important;align-items:center;justify-content:center;width:24px;height:24px;font-size:0}
.spnews-notify-launcher-icon svg{display:block;width:24px;height:24px}
.spnews-notify-launcher-status{position:absolute;display:block!important;right:2px;top:2px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#94a3b8;box-sizing:border-box}
.spnews-notify-launcher.is-active{background:#fff;color:#111827;border-color:rgba(22,163,74,.28)}
.spnews-notify-launcher.is-active .spnews-notify-launcher-status{background:#16a34a}
.spnews-notify-launcher.is-paused{background:#fff;color:#64748b;border-color:rgba(100,116,139,.28)}
.spnews-notify-launcher.is-paused .spnews-notify-launcher-status{width:14px;height:14px;right:0;top:0;background:#64748b}
.spnews-notify-launcher.is-paused .spnews-notify-launcher-status:before,.spnews-notify-launcher.is-paused .spnews-notify-launcher-status:after{content:"";position:absolute;top:3px;width:2px;height:5px;border-radius:1px;background:#fff}
.spnews-notify-launcher.is-paused .spnews-notify-launcher-status:before{left:3px}.spnews-notify-launcher.is-paused .spnews-notify-launcher-status:after{right:3px}
.spnews-notify-launcher.is-warning{background:#fff7ed;color:#b45309;border-color:#fdba74}
.spnews-notify-launcher.is-warning .spnews-notify-launcher-status{width:14px;height:14px;right:0;top:0;background:#f59e0b}
.spnews-notify-launcher.is-warning .spnews-notify-launcher-status:before{content:"!";position:absolute;inset:-2px 0 0;color:#fff;font:900 9px/14px Arial;text-align:center}
.spnews-notify-launcher.is-unsubscribed{background:#fff;color:#334155;border-color:rgba(15,23,42,.14)}
.spnews-notify-launcher.is-unsubscribed .spnews-notify-launcher-status{background:#94a3b8}
.spnews-notify-launcher:focus-visible{outline:3px solid rgba(215,25,63,.28);outline-offset:3px}
@media(max-width:640px){.spnews-notify-launcher{left:14px;bottom:14px;width:48px;height:48px;min-width:48px;padding:0}.spnews-notify-launcher-icon,.spnews-notify-launcher-icon svg{width:23px;height:23px}}
.spnews-notify-day-mode{display:grid;gap:12px}.spnews-notify-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.spnews-notify-days label{display:flex;align-items:center;justify-content:center;min-height:54px;border:1px solid #d7dce3;border-radius:14px;background:#fff;font-weight:700;cursor:pointer}.spnews-notify-days input{position:absolute;opacity:0}.spnews-notify-days label:has(input:checked){border-color:#d7193f;background:#fff1f3;color:#a91630}.spnews-notify-review{display:grid;gap:7px;padding:16px;border:1px solid #e1e5eb;border-radius:16px;background:#f8fafc;margin:12px 0 16px}.spnews-notify-review strong{font-size:16px;color:#111827}.spnews-notify-review span{font-size:13px;line-height:1.6;color:#5d6778}.spn-preference-history{margin:0 0 18px;border:1px solid #dfe4ea;border-radius:14px;padding:12px 14px;background:#fff}.spn-preference-history summary{font-weight:800;cursor:pointer}.spn-preference-event{display:grid;gap:3px;padding:10px 0;border-top:1px solid #edf0f4}.spn-preference-event:first-of-type{margin-top:10px}.spn-preference-event span{color:#64748b;font-size:12px}@media(max-width:600px){.spnews-notify-days{grid-template-columns:repeat(2,minmax(0,1fr))}.spnews-notify-review{padding:13px}}


/* SP News 6.00.99 — neutral selected states with explicit check marks. */
.spnews-notify-choice span,.spnews-notify-mode span,.spnews-notify-days label{position:relative}
.spnews-notify-choice input:checked+span,.spnews-notify-mode input:checked+span{border-color:#98a2b3!important;background:#f8fafc!important;color:#101828!important;box-shadow:0 0 0 2px rgba(71,84,103,.08)!important;padding-inline-end:46px}
.spnews-notify-choice input:checked+span::after,.spnews-notify-mode input:checked+span::after{content:"✓";position:absolute;inset-inline-end:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ecfdf3;color:#067647;font:900 15px/1 Arial}
.spnews-notify-days label:has(input:checked){border-color:#98a2b3!important;background:#f8fafc!important;color:#101828!important;padding-inline-end:42px}
.spnews-notify-days label:has(input:checked)::after{content:"✓";position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#ecfdf3;color:#067647;font:900 14px/1 Arial}
