/* Scoped to the unified notification editor; other CHB panels keep their styles. */
.chbn-backdrop .chb-modal{width:min(760px,calc(100vw - 24px));max-width:760px;background:#0b1823;border:1px solid #203947;border-radius:20px}
.chbn-backdrop .chb-modal-body{padding:0 28px 24px;overflow-y:auto}
.chbn{color:#e9f4fc;font-family:inherit;font-size:14px;line-height:1.5}
.chbn [hidden]{display:none!important}
.chbn-subtitle{margin:0 0 20px;color:#e9f4fc;font-size:14px}.chbn-subtitle span{color:#89a5b6}
.chbn-tabs{display:flex;gap:24px;border-bottom:1px solid #254050;margin-bottom:20px;overflow-x:auto}
.chbn-tabs [role=tab]{appearance:none;background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0 13px;color:#97afbf;white-space:nowrap;font:inherit;cursor:pointer;width:auto;flex:none;box-shadow:none}
.chbn-tabs [aria-selected=true]{color:#effaff;border-bottom-color:#20d9f3}
.chbn-hint{color:#90aabc;font-size:13px;margin:14px 0 18px;line-height:1.5}
.chbn-group{font-size:11px;font-weight:700;color:#5cd6ea;text-transform:uppercase;letter-spacing:.1em;margin:22px 0 8px}
.chbn-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #1b303d}
.chbn-row:last-child{border-bottom:0}.chbn-row-name{font-size:14px;color:#e4f0f8}.chbn-row-name small{display:block;color:#89a5b6;font-size:12px;margin-top:2px}
.chbn-channels{display:flex;gap:8px;flex-shrink:0}.chbn-channel{position:relative;display:block;cursor:pointer;margin:0!important;font-weight:400!important}
.chbn-channel input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.chbn-channel span{display:flex;align-items:center;justify-content:center;gap:7px;min-width:82px;min-height:36px;padding:5px 10px;box-sizing:border-box;border:1px solid #2b4354;border-radius:8px;background:#101f2c;color:#95adbf;font-size:12px;font-weight:600;transition:background .12s}
.chbn-channel span:before{content:'−';display:inline-block;width:13px;text-align:center;color:#7992a4}
.chbn-channel input:checked+span{background:#103348;border-color:#238ba9;color:#e3fbff}.chbn-channel input:checked+span:before{content:'✓';color:#30d8e9}
.chbn-channel input:focus-visible+span,.chbn button:focus-visible,.chbn select:focus-visible{outline:2px solid #39d5f1;outline-offset:3px}
.chbn-channel input:disabled+span{opacity:.55;cursor:wait}.chbn-field{display:block;margin:22px 0 8px;font-size:13px;color:#abc1d0}
.chbn .select-input{width:100%;min-height:44px;border:1px solid #2b4354;background:#0a1622;color:#e7f3fa;border-radius:9px;padding:10px 12px;font:inherit}
.chbn-destination{background:#102331;border:1px solid #23424f;border-left:3px solid #20d1dc;border-radius:10px;padding:16px 18px;margin:20px 0}
.chbn-destination span{display:block;color:#8db2c5;font-size:12px}.chbn-destination strong{display:block;margin-top:5px;font-size:14px;color:#e6f8ff;overflow-wrap:anywhere}.chbn-destination small{display:block;margin-top:6px;color:#8ca6b8;font-size:12px}
.chbn-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0 0;margin-top:24px;border-top:1px solid #254050}
.chbn-footer [data-message]{font-size:12px;color:#a9c4d6;overflow-wrap:anywhere}.chbn-footer-buttons{display:flex;gap:8px;flex-shrink:0}
.chbn .chbn-button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:40px;border:1px solid #2b4558;background:#132636;color:#e7f5ff;padding:9px 16px;border-radius:9px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;box-shadow:none}
.chbn .chbn-primary{border-color:#1682ff;background:#0873ed;color:white}.chbn .chbn-button:disabled{opacity:.6;cursor:wait}
#notificationEmailPreferences [data-notification-email-choice]{background:#122332;color:#a9becd;border:1px solid #294253;box-shadow:none}
#notificationEmailPreferences [data-notification-email-choice][aria-pressed=true]{background:#0f3446;border-color:#23bad1;color:#e5fbff}
#notificationEmailPreferences [data-notification-email-choice][aria-pressed=true]:before{content:'✓ ';color:#31d6e5}
@media(max-width:560px){.chbn-backdrop .chb-modal-body{padding:0 16px 20px}.chbn-tabs{gap:18px}.chbn-row{gap:10px;align-items:flex-start;flex-wrap:wrap}.chbn-row-name{flex:1 1 150px}.chbn-channel span{min-width:70px}.chbn-footer{align-items:stretch;flex-direction:column}.chbn-footer-buttons{justify-content:flex-end}}

.chb-door-confirm{box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;margin:auto;padding:28px;color:#e2edf5;background:#0c1b28;border:1px solid #2b4858;border-radius:18px;box-shadow:0 24px 90px #0009;font-family:inherit}
.chb-door-confirm::backdrop{background:#020910b8;backdrop-filter:blur(4px)}
.chb-door-confirm form{display:block;margin:0}.chb-confirm-eyebrow{color:#4dd6ed;letter-spacing:.12em;font-size:10px;font-weight:700}
.chb-door-confirm h2{font-size:23px;line-height:1.3;margin:12px 0}.chb-door-confirm p{font-size:14px;line-height:1.6;color:#acc2d1;margin:12px 0}
.chb-door-confirm .chb-confirm-note{font-size:12px;padding:12px 14px;background:#132c3a;border-radius:10px;color:#c3d6e1}
.chb-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.chb-confirm-actions button{border:1px solid #315161;border-radius:9px;color:#e2edf5;background:#173040;padding:10px 15px;font:inherit;font-size:13px;cursor:pointer;min-height:42px;width:auto}
.chb-confirm-actions [data-door-accept]{background:#087fd0;border-color:#159eec;color:white}

.chb-door-confirm :focus-visible{outline:2px solid #56daf0;outline-offset:3px}
