/* Service identities shared by their internal panels, excluding customer stores. */
.ms-workspace[data-identity]{--identity-bg:#f3f7ff;--identity-accent:#244ac6;--identity-soft:#e9efff;--identity-border:#d4dff3;background:var(--identity-bg);color:#14213d}
.ms-workspace[data-identity="concierge"]{--identity-bg:#f4faf7;--identity-accent:#23715b;--identity-soft:#e3f2e9;--identity-border:#cddfd5}
.ms-workspace[data-identity="send"]:where(:not([data-module]),[data-theme="M"]){--identity-bg:#fff3ed;--identity-accent:#572b40;--identity-soft:#f7e5e8;--identity-border:#e4cfd4}
.ms-workspace[data-identity="qr"]{--identity-bg:#f5f5ef;--identity-accent:#36592d;--identity-soft:#e8f3d3;--identity-border:#cbd4be}
.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]){--primary:var(--identity-accent);--accent:var(--identity-accent);--accent-strong:var(--identity-accent);--page:var(--identity-bg);--surface:var(--identity-bg);--border:var(--identity-border);--line:var(--identity-border)}
.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]) :where(.sidebar,.card,.panel,.status-card,.onboarding-pane,.kb-pane,.config-pane,.inbox-sidebar,.inbox-detail){border-color:var(--identity-border);background:#fff}
.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]) :where(.eyebrow,.status-label){color:var(--identity-accent)}
.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]) :where(.button:not(.secondary):not(.danger):not(.light),.btn-primary){background:var(--identity-accent);border-color:var(--identity-accent);color:#fff}
.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]) :where(.sidebar a[aria-current="page"],.ms-top-nav a.active,.nav-link.active,.inbox-filter.active){background:var(--identity-soft);color:var(--identity-accent);border-color:var(--identity-border)}
.ms-workspace[data-identity="concierge"] :where(.app-header,.inbox-header,.login-card,.inbox-login-card){background:#fff;color:#14213d;border-color:#cddfd5}
.ms-workspace[data-identity="concierge"] :where(.inbox-layout,.conversation-list,.messages,.login-shell){background:#f4faf7}
.ms-workspace[data-identity] :where(input,select,textarea):focus-visible{outline:3px solid #bd7600;outline-offset:3px}
/* Legacy brand sheets use important for these surfaces. Override only themed workspaces. */
body.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]){background:var(--identity-bg)!important}
.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]) :where(.btn-primary,.button:not(.secondary):not(.danger):not(.light)){background:var(--identity-accent)!important;border-color:var(--identity-accent)!important;color:#fff!important}
.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]) :where(.btn-primary,.button:not(.secondary):not(.danger):not(.light)):hover{filter:brightness(.92)}
.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]) :where(.sidebar nav a[aria-current=page],.sidebar a.active,.panel-sidebar a.active,.panel-sidebar a[aria-current=page]){background:var(--identity-soft);color:var(--identity-accent);box-shadow:inset 3px 0 var(--identity-accent)}
body.ms-workspace[data-identity]:where(:not([data-module]),[data-theme="M"]) .btn.btn-primary{background:var(--identity-accent)!important;border-color:var(--identity-accent)!important;box-shadow:none!important;color:#fff!important}
