/* Keep Terminal's canvases and use the AI workspace's quieter control colors. */
.has-shell .shell {
  --line:#e9e2e9;--line-soft:#eee8ee;--line-hover:#cec1cd;--input-line:#d8ccd8;
  --hover:#eee7ef;--active:#f0e4ec;--focus-ring:#560c30;
}
html[data-theme=dark] .has-shell .shell {
  --line:#36303b;--line-soft:#302733;--line-hover:#675a6b;--input-line:#524659;
  --hover:#302635;--active:#402c3d;--focus-ring:#e6a9c6;
}
/* Full wordmark remains in the login and loading surfaces. */
.brand.brand16[data-brand-style=cloud] {
  --b16-name-color:#352832;--b16-service-color:#560c30;
  grid-template-columns:var(--b16-icon) max-content!important;
  grid-template-rows:var(--b16-icon)!important;
  column-gap:var(--b16-gap);row-gap:0;
}
:root[data-theme=dark] .brand.brand16[data-brand-style=cloud],
.loading17-mini[data-preview-theme=dark] .brand.brand16[data-brand-style=cloud],
[data-brand-preview-theme=dark] .brand.brand16[data-brand-style=cloud] {
  --b16-name-color:#f5edf1;--b16-service-color:#edc1d6;
}
.loading17-mini[data-preview-theme=light] .brand.brand16[data-brand-style=cloud],
[data-brand-preview-theme=light] .brand.brand16[data-brand-style=cloud] {
  --b16-name-color:#352832;--b16-service-color:#560c30;
}
.brand16[data-brand-style=cloud] .b16-words {
  flex-direction:row;align-items:baseline;justify-content:flex-start;
  height:auto;width:auto;gap:var(--b16-gap);white-space:nowrap;
}
.brand16[data-brand-style=cloud] .b16-name {
  font-size:var(--b16-size);letter-spacing:var(--b16-tracking);color:var(--b16-name-color);
}
.brand16[data-brand-style=cloud] .b16-service {
  font:250 var(--b16-service-size)/1 'Mesmerize EX EL',sans-serif;
  width:auto;padding:0;letter-spacing:.01em;color:var(--b16-service-color);
}
.brand16[data-brand-style=cloud] .b16-name:has(.b16-vector),
.brand16[data-brand-style=cloud] .b16-service:has(.b16-vector) { display:block;line-height:0; }
.shell .sidebar {--sidebar-edge-inset:14px}
.sidebar .sidebar-header {
  display:flex;align-items:center;justify-content:space-between;gap:4px;
  min-height:51px;padding:0 0 10px;container-type:inline-size;
}
.brand.sidebar-product-brand {
  display:flex;flex:0 1 auto;align-items:center;gap:9px;min-width:0;
  max-width:min(100%,var(--brand-width,216px));margin:0;padding:0 0 0 3px;
}
.sidebar-product-mark {
  display:flex;align-items:center;justify-content:center;flex:none;
  width:var(--sidebar-mark-size,32px);height:var(--sidebar-mark-size,32px);
}
.sidebar-product-mark .brand-themed-pair,.sidebar-product-mark .brand-image {width:100%;height:100%;object-fit:contain;}
.sidebar-product-mark .brand-mark {width:100%;height:100%;border-radius:0}
.brand.sidebar-product-brand .sidebar-product-name {
  display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:var(--text);font:250 clamp(min(10px,var(--sidebar-name-size,19px)),9.35cqi,var(--sidebar-name-size,19px))/1.15 'Mesmerize EX EL',sans-serif;
  letter-spacing:.01em;
}
.sidebar-product-brand > .design-page-logo-image {min-width:0;object-fit:contain;}
.sidebar .sidebar-scroll {
  margin-inline-end:calc(-1 * var(--sidebar-edge-inset));
  padding:10px max(4px,calc(var(--sidebar-edge-inset) - 4px)) 10px 0;
  scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--text) 14%,transparent) transparent;
  scrollbar-gutter:auto;scroll-behavior:auto;
}
.sidebar .sidebar-scroll:is(:hover,:focus-within) {scrollbar-color:color-mix(in srgb,var(--text) 27%,transparent) transparent;}
@supports selector(::-webkit-scrollbar) {
  .sidebar .sidebar-scroll,.sidebar .sidebar-scroll:is(:hover,:focus-within) {scrollbar-width:auto;scrollbar-color:auto}
  .sidebar .sidebar-scroll::-webkit-scrollbar {width:4px;height:4px;background:transparent}
  .sidebar .sidebar-scroll::-webkit-scrollbar-track {background:transparent}
  .sidebar .sidebar-scroll::-webkit-scrollbar-thumb {border-radius:999px;background:color-mix(in srgb,var(--text) 14%,transparent)}
  .sidebar .sidebar-scroll:is(:hover,:focus-within)::-webkit-scrollbar-thumb {background:color-mix(in srgb,var(--text) 27%,transparent)}
  .sidebar .sidebar-scroll::-webkit-scrollbar-thumb:hover {background:color-mix(in srgb,var(--text) 40%,transparent)}
}
@media(forced-colors:active) {
  .sidebar .sidebar-scroll,.sidebar .sidebar-scroll:is(:hover,:focus-within) {scrollbar-width:auto;scrollbar-color:auto}
  .sidebar .sidebar-scroll::-webkit-scrollbar {width:revert;height:revert}
  .sidebar .sidebar-scroll::-webkit-scrollbar-thumb {background:CanvasText}
}
.sidebar .sidebar-scroll:focus-visible {outline:1px solid var(--focus-ring);outline-offset:-4px}
.sidebar .sidebar-scroll .nav {gap:3px;}
.sidebar .sidebar-scroll .workspace-vms {overflow:visible;}
.sidebar-resizer {left:var(--sidebar-width,232px)}
.sidebar .nav-item {min-height:38px;padding:8px 10px;gap:10px;font-weight:500;}
.sidebar .nav-item .nav-icon,.sidebar .sidebar-vm-open .nav-icon {width:18px;height:18px;flex:none;}
.sidebar .nav-text {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.sidebar .nav-label,.sidebar .workspace-vms .nav-label {padding:10px 10px 5px;letter-spacing:.02em;}
.nav-group-divider {border:0;border-top:1px solid var(--line-soft);margin:10px 6px 1px;}
.sidebar .workspace-vms {min-height:0}
.sidebar .sidebar-vm-row .sidebar-vm-open {padding:8px 10px;gap:10px;justify-content:flex-start;min-width:0}
.sidebar .sidebar-vm-open .sidebar-vm-name {min-width:0;flex:1;display:block;overflow:hidden;text-align:start}
.sidebar-vm-name-text {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-vm-name.is-sliding .sidebar-vm-name-text {width:max-content;overflow:visible;text-overflow:clip}
.sidebar .sidebar-vm-row>.icon-button:last-child {margin-right:2px}
.shell[data-sidebar=collapsed] .sidebar {--sidebar-edge-inset:8px}
.shell[data-sidebar=collapsed] .sidebar-header {flex-direction:column;justify-content:center;gap:6px;}
.shell[data-sidebar=collapsed] .sidebar-header .sidebar-header-toggle {order:-1;}
.shell[data-sidebar=collapsed] .sidebar-header .brand.sidebar-product-brand {padding:0}
.shell[data-sidebar=collapsed] .sidebar-header .sidebar-product-name {display:none!important}
.shell[data-sidebar=collapsed] .sidebar-scroll .nav-label {display:none}
.shell[data-sidebar=collapsed] .sidebar .nav-item {justify-content:center;padding:8px;}
.sidebar .profile {min-height:51px;padding:7px 8px;gap:9px;border:1px solid transparent;background:transparent;}
.sidebar .profile:hover,.sidebar .profile[aria-expanded=true] {background:var(--hover);border-color:transparent}
.shell[data-sidebar=collapsed] .sidebar .profile {min-height:44px}
.account-popover .account-menu-content {display:grid;gap:2px}
.account-popover .account-menu-link,.account-popover .account-menu-logout {justify-content:flex-start;gap:10px;min-height:38px}
.account-popover .account-menu-logout {border-radius:8px;margin-top:3px;}
.account-popover .preferences-inline {border-block:1px solid var(--line-soft);margin-block:4px;}
.account-menu-identity-details summary {cursor:pointer;padding:7px 10px;color:var(--muted);font-size:12px}
.account-menu-identity-details .account-menu-diagnostics {border:0;margin:0}
.has-shell .shell:not(.workspace-active) .main {padding-top:24px;}
.shell .sidebar-menu-toggle {
  width:34px;min-width:34px;height:34px;min-height:34px;
  flex:none;padding:0;display:inline-grid;place-items:center;
  border:0;background:transparent;color:var(--muted);
}
.shell .sidebar-menu-toggle:hover {background:var(--hover);color:var(--text)}
.shell .sidebar-menu-toggle[hidden] {display:none!important}
.shell .sidebar-menu-toggle .nav-icon {width:18px;height:18px}
.shell .shell-sidebar-toggle {position:static;margin:0;align-self:flex-start}
.shell-title-line {display:contents}
.shell-title-line:has(>.shell-sidebar-toggle:not([hidden])) {display:flex;align-items:center;gap:8px;min-width:0}
.shell-title-line>h1,.shell-title-line>[data-design-id=title] {min-width:0;overflow-wrap:anywhere}
.sidebar-backdrop {display:none}
.btn>.nav-icon {width:17px;height:17px;flex:none}
.btn:has(> .nav-icon) {display:inline-flex;align-items:center;gap:7px}
.btn.icon-button {justify-content:center;min-width:32px;}
.btn:focus-visible,.nav-item:focus-visible,.profile:focus-visible,summary:focus-visible {outline:2px solid var(--focus-ring,var(--accent));outline-offset:2px;}
.sidebar .nav-item[aria-current=page] {box-shadow:none;background:var(--active);border-color:transparent;}
.stat-label {display:flex;align-items:center;gap:8px;}
.stat-label .nav-icon {width:17px;height:17px;color:var(--accent);}
.login-card::before,.login-card>.btn.primary::after {display:none}
.login-card>.btn.primary {display:flex;justify-content:center;gap:9px;}
.login-card .login-brand {margin-bottom:22px}
#app[data-route=status] .auth-status-brand {display:flex;justify-content:center;margin:0 0 16px;}
#app[data-route=status] .auth-status-brand .login-brand {margin:0;}
.auth-card .auth-identity .btn {width:auto;flex:none;}
#app[data-route=status] .auth-card .auth-status-heading {margin:10px 0;}
.brand17-actions {justify-content:flex-end;margin-top:12px}
.brand17-actions>.btn {flex:none}
[hidden].field,.sidebar-backdrop[hidden] {display:none!important}
@media(max-width:760px) {
  .shell[data-sidebar=expanded] .sidebar {width:min(max(240px,var(--sidebar-width)),85vw);background:var(--canvas);}
  .shell .sidebar .nav-item {min-height:44px;padding:9px 10px}
  .shell .sidebar .profile {min-height:50px}
  .sidebar-backdrop:not([hidden]) {display:block;position:fixed;inset:0;z-index:39;background:var(--backdrop);}
  .has-shell .shell:not(.workspace-active) .main {padding-top:16px;}
  .shell .sidebar-menu-toggle {min-width:44px;min-height:44px}
  .shell .shell-title-line:has(>.shell-sidebar-toggle:not([hidden])) {gap:5px}
  .shell .shell-title-line>.shell-sidebar-toggle {margin-inline-start:-5px}
}
@media(max-width:360px) {
  .login-card .brand[data-brand-style=cloud],#app[data-route=status] .brand[data-brand-style=cloud] {zoom:.86}
}
.brand17-samples {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,244px),1fr));gap:10px;margin-top:14px}
.brand17-sample {display:grid;align-content:center;justify-items:center;gap:9px;min-width:0;min-height:106px;padding:10px 6px;border:1px solid #e4dce2;border-radius:12px;background:#faf8fa;color:#695b66;}
.brand17-sample[data-brand-preview-theme=dark] {background:#1e1720;color:#dccdd7;border-color:#40333d;}
.brand17-sample>span {font-size:11px}
#app[data-route=overview] .stat-label>span {min-width:0;overflow-wrap:anywhere;}
@media(max-width:500px) {
  #app[data-route=overview] .stats {grid-template-columns:repeat(2,minmax(0,1fr));}
  #app[data-route=overview] .stats>.stat:last-child {grid-column:1/-1;}
}
@media(max-width:360px) {
  #app[data-route=overview] .stats {grid-template-columns:minmax(0,1fr);}
}
.branding-theme-previews .branding-live-preview .brand.brand16 {max-width:none!important;}

/* sidebar-links-1: native anchors retain the established navigation geometry. */
.sidebar a.nav-item,.account-popover a.account-menu-link,.settings20 .s20-nav a.btn {text-decoration:none;font-family:inherit;cursor:pointer;}
.account-popover a.account-menu-link {display:flex;align-items:center;}
