.feat-tabs,.feat-actions{display:flex;gap:8px;flex-wrap:wrap}.feat-tabs{margin:20px 0}.feat-tabs button,.feat-actions button{border:1px solid var(--line,#383940);border-radius:12px;padding:10px 16px;background:transparent;color:var(--ink);cursor:pointer;font:inherit}.feat-tabs .selected{background:var(--ink);color:var(--bg);border-color:var(--ink)}.feat-panel{max-width:760px}.feat-help{color:var(--muted);font-size:13px;line-height:1.6}.feat-card{padding:20px;margin:14px 0;background:var(--card,var(--surface));border:1px solid var(--line,#383940);border-radius:16px}.feat-card-heading{display:flex;justify-content:space-between;gap:12px}.feat-card a{color:var(--ink);text-decoration:none}.feat-card-heading a{font-weight:650}.feat-direction,.feat-card time{color:var(--muted);font-size:12px}.feat-state{margin:12px 0 4px}.feat-contact{display:block;margin-top:16px;overflow-wrap:anywhere}.feat-card .account-status:empty{display:none}.feat-card .feat-actions{margin-top:12px}.feat-dialog{max-width:440px}.feat-actions .primary{background:var(--ink);color:var(--bg)}.feat-preferences{display:grid;gap:16px;margin-top:20px}.feat-setting{display:grid;gap:8px;font-size:14px}.feat-setting label{display:flex;align-items:center;gap:10px}.feat-setting input{width:18px;height:18px;accent-color:#a99cbd}.feat-setting p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}

#notificationsPanel[data-notification-tab="feats"]>.notification-list,#notificationsPanel[data-notification-tab="feats"]>.notification-status,#notificationsPanel[data-notification-tab="feats"]>.notification-more,#notificationsPanel[data-notification-tab="feats"] .notifications-read{display:none!important}
/* Settings switches are explicitly scoped to defeat generic profile input rules. */
#profilePanel .profile-settings .feat-preferences{display:grid;gap:0;width:100%;margin-top:20px;border-top:1px solid var(--line)}
#profilePanel .profile-settings .feat-setting{display:block;padding:17px 0;border-bottom:1px solid var(--line)}
#profilePanel .profile-settings .feat-setting label{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;width:100%;margin:0;cursor:pointer;color:var(--ink)}
#profilePanel .feat-setting-title{font-size:13px;font-weight:500;line-height:1.5;min-width:0}
#profilePanel .profile-settings .feat-setting p{margin:6px 64px 0 0;font-size:11px;line-height:1.6;color:var(--muted)}
#profilePanel .profile-settings .account-field .feat-setting input[type=checkbox]{appearance:none;-webkit-appearance:none;display:block;position:relative;flex:0 0 38px;width:38px!important;min-width:38px;max-width:38px;height:22px!important;min-height:22px;max-height:22px;padding:0!important;margin:0;border:1px solid var(--line);border-radius:999px;background:var(--raised);cursor:pointer;box-shadow:none;outline:none;transition:background .18s,border-color .18s}
#profilePanel .profile-settings .account-field .feat-setting input[type=checkbox]:before{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--muted);transition:transform .18s,background .18s}
#profilePanel .profile-settings .account-field .feat-setting input[type=checkbox]:checked{background:var(--orange);border-color:var(--orange)}
#profilePanel .profile-settings .account-field .feat-setting input[type=checkbox]:checked:before{transform:translateX(16px);background:#fff}
#profilePanel .profile-settings .account-field .feat-setting input[type=checkbox]:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
#profilePanel .profile-settings .account-field .feat-setting input[type=checkbox]:disabled{opacity:.5;cursor:wait}
#profilePanel .feat-preferences>.account-status{font-size:11px;color:var(--muted);margin:10px 0 0}
#profilePanel .feat-preferences>.account-status:empty{display:none}
#communityPanel>.section-back,#profilePanel>.section-back{display:block;width:fit-content;max-width:100%;margin:0 0 18px auto;margin-left:0;text-align:left;align-self:flex-start;float:none}
#communityPanel>.section-back[hidden],#profilePanel>.section-back[hidden]{display:none}
@media(prefers-reduced-motion:reduce){#profilePanel .feat-setting input,#profilePanel .feat-setting input:before{transition:none!important}}
