.profile-tabs{display:flex;gap:.5rem;margin:0 0 1rem}
.profile-tabs button[aria-pressed=true]{background:#196bad;color:#fff;border-color:#196bad}
.profile-preference-grid{display:grid;gap:.85rem}
.profile-preference-grid .profile-fieldset{margin:0}
.profile-preference-grid h3{margin:0 0 .55rem}
.profile-preference-grid form,.profile-preference-grid [data-notification-types]{display:grid;gap:.5rem;margin:.6rem 0}
.profile-preference-grid p{margin:.45rem 0 0}
.profile-preference-grid p:empty{display:none}
.profile-preference-grid input:not([type=checkbox]),.profile-preference-grid select{max-width:30rem}

:root[data-theme=dark]{
  color-scheme:dark;color:#e8f0fa;background:#141e2b;
  --surface:#1b2938;--bg:#141e2b;--text:#e8f0fa;--ink:#e8f0fa;--line:#3c5368;--muted:#b2c3d3;
}
[data-theme=dark] :is(.shell,.workspace,.main,.dialog-content,dialog,.card,.stat,.field-route-panel,.field-activity-panel,.field-fold,.field-stop,.section-tabs,.commercial-navigation,.commercial-navigation-heading,.commercial-tabs,.crm-card,.entity-fields>div,.work-tabs-shell,.login-card){
  background-color:#1b2938!important;color:#e8f0fa;border-color:#3c5368;
}
[data-theme=dark] :is(h1,h2,h3,legend,label,summary,th,td,dt,dd,strong,.field-focus-name){color:#e8f0fa}
[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),textarea,select,option,table th,.profile-fieldset,.field-empty,.section-tabs button:not([aria-current=page]),.dialog-actions){
  background-color:#223446;color:#e8f0fa;border-color:#4e6780;
}
[data-theme=dark] :is(a,button.ghost,button.text-button,.eyebrow){color:#b0d9ff}
[data-theme=dark] button.ghost:hover:not(:disabled){background:#2a4a68;color:#fff}
[data-theme=dark] :is(small,.muted,.local-caption,.field-caption){color:#b2c3d3}
[data-theme=dark] :is(.error,.inline-error){color:#ffd0ca;background-color:#542b32}
