.n265-signal-prefs{box-sizing:border-box;margin:auto;padding:0;width:min(94vw,480px);max-width:calc(100vw - 20px);height:min(88dvh,660px);max-height:88dvh;border:1px solid #2f6b50;border-radius:20px;background:#0b151d;color:#e8f2ee;font-size:14px;line-height:1.5;box-shadow:0 24px 90px #000a}
.n265-signal-prefs[open]{display:flex;flex-direction:column}
.n265-signal-prefs::backdrop{background:#000b;backdrop-filter:blur(5px)}
.n265-signal-prefs,.n265-signal-prefs *{font-family:"Inter Tight",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.n265-signal-prefs *{box-sizing:border-box}
.n265-signal-prefs>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:13px 16px;border-bottom:1px solid #233b35;background:#0d1c22}
.n265-signal-prefs>header strong{display:block;font-size:17px;line-height:1.25;color:#edf6f1;font-weight:800}.n265-signal-prefs>header small{display:block;margin-top:3px;color:#9db6a9;font-size:12px}
.n265-signal-prefs>main{flex:1;min-height:0;overflow-y:auto;padding:12px 16px;overscroll-behavior:contain}
.n265-signal-prefs p{font-size:12px;line-height:1.45;color:#aabfb5;margin:0 0 8px}
.n265-signal-prefs .n265-intro{font-size:14px;color:#edf6f1;font-weight:700}
.n265-signal-prefs .n265-blue{color:#80b8ff;font-weight:750}.n265-signal-prefs .n265-orange{color:#f2bd76;font-weight:750}
.n265-signal-close{flex:0 0 36px;width:36px;height:36px;border:1px solid #314c45;border-radius:10px;background:#172a2c;color:#cce0d6;font:inherit;font-size:24px;cursor:pointer}
.n265-profile{padding:8px 0;border-top:1px solid #233b35;border-bottom:1px solid #233b35;margin:8px 0}
.n265-profile p{margin:0}.n265-profile button{min-height:44px;margin-top:8px;padding:8px 0;border:0;background:none;color:#80b8ff;font:inherit;font-size:13px;font-weight:700;text-align:left;cursor:pointer}
.n265-follow{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;margin-top:10px;padding:8px 12px;border:1px solid #36576b;border-radius:12px;background:#112333;color:#9bc8ff;font:inherit;font-size:13px;font-weight:700;text-align:center;cursor:pointer}
.n265-force{padding:7px 0;border-bottom:1px solid #233b35}
.n265-force-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:34px;font-size:14px;font-weight:700;cursor:pointer}
.n265-switch{position:relative;display:inline-flex;flex:0 0 42px;width:42px;height:24px}
.n265-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.n265-switch span{width:42px;height:24px;padding:2px;border:1px solid #45586f;border-radius:99px;background:#14202d;pointer-events:none}
.n265-switch span:after{content:"";display:block;width:18px;height:18px;border-radius:50%;background:#8295aa;transition:transform .16s ease,background .16s ease}
.n265-switch input:checked+span{background:#123d2d;border-color:#37bd78}.n265-switch input:checked+span:after{transform:translateX(18px);background:#67efa4}
.n265-switch input:focus-visible+span{outline:2px solid #80b8ff;outline-offset:3px}
.n265-periods{border:0;padding:2px 0 0;margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:3px 16px}.n265-periods[hidden]{display:none}
.n265-periods legend{float:left;margin:7px 12px 0 0;padding:0;color:#8fa69b;font-size:12px}
.n265-periods label{display:inline-flex;align-items:center;gap:7px;min-height:32px;font-size:13px;cursor:pointer}
.n265-periods input{width:16px;height:16px;margin:0;accent-color:#48e68b}
.n265-windows{border:0;padding:0;margin:6px 0 0}.n265-windows>h3{padding:9px 0;color:#c9dfd3;font-size:13px;font-weight:750;margin:0}.n265-windows>h3 small{margin-left:6px;color:#8fa69b;font-size:11px;font-weight:500}.n265-windows>p{margin-bottom:6px;font-size:11px}
.n265-window{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px 12px;padding:10px 0;border-bottom:1px solid #233b35}
.n265-window .n265-receive{display:flex;align-items:center;gap:7px;min-height:44px;color:#d5e7dc;font-size:13px;font-weight:700;line-height:1.4}
.n265-window input[type=checkbox]{flex:0 0 17px;width:17px;height:17px;margin:0;accent-color:#48e68b}
.n265-engine-ranges{min-width:0;display:flex;gap:10px 24px;flex-wrap:wrap}.n265-engine-ranges p{margin:0 0 5px;font-size:12px;line-height:1.35}.n265-engine-ranges p:last-child{margin:0}.n265-engine-ranges span,.n265-engine-ranges strong{display:block}.n265-engine-ranges span{color:#9db6a9}.n265-engine-ranges strong{color:#e5f1e9;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.n265-legacy-window{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;color:#b2c7bc;font-size:12px}.n265-legacy-window button{min-height:40px;padding:6px 8px;border:1px solid #36576b;border-radius:9px;background:#112333;color:#9bc8ff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.n265-periods:disabled{opacity:.6}
.n265-signal-prefs>footer{flex-shrink:0;padding:10px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid #233b35;background:#0b151d}
.n265-pref-status{font-size:13px;line-height:1.45;color:#f2bd76;margin:0 0 9px;overflow-wrap:anywhere}.n265-pref-status:empty{display:none}
.n265-pref-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:10px}
.n265-pref-actions button{min-height:44px;border-radius:12px;border:1px solid #30483e;background:#142229;color:#dceae2;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.n265-pref-actions button[type=submit]{background:#49e78c;border-color:#49e78c;color:#062615}
.n265-signal-prefs button:disabled,.n265-signal-prefs input:disabled{opacity:.55;cursor:wait}
.n265-signal-prefs button:focus-visible{outline:2px solid #80b8ff;outline-offset:3px}
@media(max-width:360px){.n265-signal-prefs>main,.n265-signal-prefs>footer{padding-left:12px;padding-right:12px}.n265-window{gap:8px}.n265-window .n265-receive{font-size:12px}}
.n265-signal-prefs input:disabled{cursor:default}

.n317-follow-settings,.n317-extra-notices{padding:10px 0;border-bottom:1px solid #233b35}.n317-follow-settings h3,.n317-extra-notices h3{margin:0 0 8px;font-size:13px}.n317-follow-settings>label{display:grid;gap:5px;margin:8px 0;font-size:12px}.n317-follow-settings select{width:100%;min-width:0;min-height:42px;padding:8px;border:1px solid #30483e;border-radius:9px;background:#101e28;color:#e5f1e9;font:inherit}.n317-follow-settings summary{min-height:34px;font-size:12px;color:#9bc8ff;cursor:pointer}.n317-extra-notices>label{display:flex;align-items:center;gap:8px;min-height:40px;font-size:12px}.n317-extra-notices input{width:16px;height:16px;flex-shrink:0;accent-color:#48e68b}

/* V318: mutually exclusive, keyboard-accessible square choices. */
.n318-choices{padding:10px 0;margin:0;border:0;min-width:0}.n318-choices legend{font-size:13px;color:#c8d7cf}.n318-choice{display:flex;align-items:center;gap:9px;min-height:40px;font:13px/1.5 system-ui;color:#e5f1e9}.n318-choice input{appearance:none;display:grid;place-content:center;flex-shrink:0;width:18px;height:18px;margin:0;border:1px solid #648575;border-radius:4px;background:#101e28}.n318-choice input:checked{background:#48e68b;border-color:#48e68b}.n318-choice input:checked:after{content:"✓";color:#072419;font:bold 15px/1 system-ui}.n318-choice input:focus-visible{outline:2px solid #9bc8ff;outline-offset:3px}.n318-description{margin:2px 0 12px 27px!important;color:#a8bdb1;font:13px/1.55 system-ui!important;overflow-wrap:anywhere}.n318-description[hidden]{display:none!important}
