/* Notification center layout only. Existing account preferences and handlers stay in place. */
.ncu{position:relative;color:var(--text);font-size:15px}.ncu .notification-zone-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0 0 22px}.ncu .notification-zone-nav button{min-height:56px;border:0!important;border-radius:0!important;background:transparent!important;font-size:15px;color:var(--muted)}.ncu .notification-zone-nav button.active{color:var(--text);box-shadow:inset 0 -3px var(--accent,#258ad0)}.ncu-help{display:block;margin:0 0 8px auto;min-height:40px;padding:8px 16px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text)}.ncu h2{font-size:20px;margin:0 0 6px}.ncu h3{font-size:17px;margin:0}.ncu-muted{font-size:13px;color:var(--muted);line-height:1.7}.ncu-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:start}.ncu-channel-list{display:grid;gap:12px}.ncu-channel-list>h2,.ncu-channel-list>p{margin:0}.ncu-channel{border:1px solid var(--line);border-radius:12px;background:var(--panel-soft,var(--panel));padding:16px}.ncu-channel.selected{border-color:var(--accent,#258ad0);box-shadow:inset 3px 0 var(--accent,#258ad0)}.ncu-channel-head,.ncu-channel-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.ncu-channel>p{margin:10px 0 12px}.ncu-channel-bottom{border-top:1px solid var(--line);padding-top:8px}.ncu-status{font-size:13px;color:var(--muted)}.ncu-start{font-size:16px;font-weight:650;color:var(--accent,#258ad0);border:0;background:transparent;white-space:nowrap;min-height:44px;padding:6px 2px}.ncu .ncu-switch{display:block;flex:none;position:relative;width:44px;height:26px;min-height:26px;min-width:44px;max-width:44px;padding:0!important;border:0!important;border-radius:20px!important;background:#64798b!important;box-shadow:none!important;font-size:0!important}.ncu .ncu-switch[aria-pressed=true]{background:var(--accent,#258ad0)!important}.ncu .ncu-switch:after{content:'';position:absolute;top:4px;left:4px;width:18px;height:18px;border-radius:50%;background:white}.ncu .ncu-switch[aria-pressed=true]:after{left:22px}.ncu .ncu-switch:disabled{opacity:.45}.ncu-detail{border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0}.ncu-detail>h2{margin-bottom:16px}.ncu-detail .notification-setup-card{border:0;padding:0;background:transparent}.ncu-detail .notification-channel-card{background:transparent;border:0;padding:0}.ncu-detail .notification-device-maintenance{flex-wrap:wrap}.ncu-fold{margin-top:16px;border-top:1px solid var(--line);padding-top:8px}.ncu-fold>summary{min-height:44px;padding:10px 0;cursor:pointer;font-size:15px;font-weight:600}.ncu-fold button{min-height:42px;margin:4px}.ncu-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ncu-device{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--line)}.ncu-device>div{flex:1;min-width:150px}.ncu-device small{display:block;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.ncu-danger{color:var(--negative,#ff6e8e)}.ncu-notice{padding:12px;border:1px solid var(--line);border-radius:8px;margin:12px 0;font-size:14px}.ncu-error{color:var(--negative,#ff6e8e);font-size:14px}.ncu-back{display:none}.ncu .notification-setup-card h3{margin:12px 0}.ncu-fact{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}.ncu-fact strong{font-weight:500}.ncu .notification-topic-group h4{font-size:18px}.ncu .notification-topic strong{font-size:15px}.ncu .notification-topic small{font-size:13px;line-height:1.6}.ncu .notification-topic{min-height:64px}.ncu-pending-topic{display:flex;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--line);border-radius:8px;margin:10px 0}.ncu-pending-topic small{color:var(--muted)}.ncu-compose textarea{font-size:15px}.ncu-dialog{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;background:var(--panel,#182d3e);color:var(--text,#edf4fa);border:1px solid var(--line,#334e63);border-radius:14px}.ncu-dialog::backdrop{background:#07111fba}.ncu-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line)}.ncu-dialog h2{font-size:20px;margin:0}.ncu-dialog-content{padding:22px;font-size:15px}.ncu-dialog-content p{line-height:1.7;color:var(--muted)}.ncu-dialog button{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);cursor:pointer}.ncu-dialog .ncu-help-row{display:block;width:100%;text-align:left;margin-top:10px}.ncu button:focus-visible,.ncu summary:focus-visible,.ncu-dialog button:focus-visible{outline:3px solid var(--accent,#258ad0);outline-offset:3px}
@media(max-width:900px){.ncu-layout{display:block}.ncu-layout>.ncu-detail{display:none}.ncu-layout.ncu-detail-open>.ncu-channel-list{display:none}.ncu-layout.ncu-detail-open>.ncu-detail{display:block}.ncu-detail{border:0;padding:0}.ncu-back{display:block;margin-bottom:16px;min-height:44px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:8px 12px}.ncu .notification-zone-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.ncu .notification-zone-nav button{font-size:15px;min-height:48px}.ncu-device{align-items:flex-start}.ncu .mobile-favorite-alert-toolbar{flex-wrap:wrap}.ncu .mobile-site-message-head{align-items:flex-start}.ncu-dialog-content{padding:18px}.ncu-channel{padding:16px}}

/* Override existing desktop compact-button rules inside this module only. */
html body .ncu .ncu-start{font-size:16px!important;font-weight:650!important;min-height:44px!important}
html body .ncu .notification-zone-nav button{font-size:15px!important}
html body .ncu h2{font-size:20px!important}html body .ncu h3{font-size:17px!important}
html body .ncu .ncu-muted,html body .ncu .ncu-status{font-size:13px!important}
html body .ncu .ncu-detail button:not(.ncu-switch){font-size:14px!important}
html body .ncu .notification-topic strong{font-size:15px!important}

.ncu-channel-identity,.ncu-detail-identity{display:flex;align-items:center;gap:12px;min-width:0}
.ncu-channel-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid var(--line);border-radius:9px;background:var(--panel-soft,var(--panel));color:var(--text)}
.ncu-channel-icon svg{display:block;width:22px;height:22px}
.ncu-detail-identity{margin-bottom:18px}.ncu-detail-identity h2{margin:0!important}
html body .ncu .notification-zone-nav button.active{box-shadow:inset 0 -3px #258ad0!important;color:var(--text)!important;font-weight:700!important}
html body .ncu .ncu-switch{display:block!important;visibility:visible!important}

/* Match the approved four-tab row; do not inherit the old sticky 2x2 menu. */
html body .ncu .notification-zone-nav{position:static!important;top:auto!important;z-index:auto!important;display:grid!important;grid-template-columns:repeat(4,minmax(84px,1fr))!important;gap:0!important;padding:0!important;overflow-x:auto;background:var(--panel)!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;margin:0 0 20px!important}
html body .ncu .notification-zone-nav button{min-height:52px!important;padding:10px 2px!important;white-space:nowrap!important;min-width:0!important}
html body .ncu .notification-zone-nav button>span:not(.notification-zone-icon){display:inline-flex!important;align-items:center;justify-content:center;gap:3px;font-size:13px!important;font-weight:600!important;line-height:1.4!important;white-space:nowrap!important}
html body .ncu .notification-zone-nav button em{position:static!important;display:inline-grid!important;min-width:16px;height:16px;margin:0;padding:0 3px;font-size:11px!important;line-height:16px;font-style:normal}

/* Notification header: Help replaces the member-back entry without changing its handler. */
.ncu-notification-header #drawerBack{display:none!important}
.ncu-header-help{min-height:40px;padding:8px 14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);font:inherit;cursor:pointer}
.ncu-header-help[hidden]{display:none!important}
html body .ncu .notification-zone-nav button{position:relative!important}
html body .ncu .notification-zone-nav button+button:before{content:'';position:absolute;left:0;top:17px;bottom:17px;width:1px;background:var(--line);pointer-events:none}
