/* The workspace switcher follows the same compact beige controls as the sidebar. */
.ws-workspace-menu.ws-switcher-menu { --ws-menu-spacing: 6px; --ws-menu-radius: 8px; top: 52px; left: 8px; right: auto; width: min(248px, calc(100vw - 16px)); max-height: calc(100svh - 68px); overflow-y: auto; color: #15110d; }
.ws-switcher-header { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px; }
.ws-switcher-mark { position: relative; display: grid; place-items: center; flex: none; width: 32px; height: 32px; overflow: hidden; border-radius: 9px; }
.ws-switcher-mark > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-switcher-mark::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(21, 17, 13, .1); pointer-events: none; }
.ws-switcher-mark[data-generated], .ws-workspace-mark[data-generated] { background: #eeece5; }
.ws-switcher-initials { color: #15110d; font-size: 12px; line-height: 1; font-weight: 500; }
.ws-switcher-header-copy { display: grid; gap: 0; min-width: 0; }
.ws-switcher-header-copy > strong { overflow: hidden; color: #15110d; font-size: 14px; line-height: 20px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.ws-switcher-header-copy > span { color: #78756f; font-size: 12px; line-height: 16px; }
.ws-switcher-menu .ws-menu-item { gap: 10px; min-height: 36px; padding: 8px 10px; color: #15110d; font-size: 14px; line-height: 20px; font-weight: 400; }
.ws-switcher-menu .ws-menu-item > .ws-icon { flex: none; width: 16px; height: 16px; }
/* This local action stays white with a fine inner edge. */
.ws-switcher-menu .ws-switcher-settings { justify-content: center; min-height: 36px; margin-bottom: 4px; padding: 8px 10px; border: 0; color: #15110d; background: #fff; box-shadow: inset 0 0 0 .5px rgba(21, 17, 13, .18); text-shadow: none; }
.ws-switcher-menu .ws-switcher-settings:hover, .workspace-screen .ws-switcher-settings:focus-visible { background: #f9f8f5; }
.ws-switcher-menu .ws-switcher-settings:active { background: #eeece5; }
.ws-workspace-switch[aria-expanded="true"] { background: var(--ws-item-highlight); }
.ws-workspace-switch[aria-expanded="true"] .ws-chevron { transform: rotate(180deg); }
.ws-switcher-dialog .ws-dialog-field { margin-top: 20px; }
.ws-switcher-search-field { gap: 0; }
.ws-switcher-search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ws-switcher-search-wrap { position: relative; }
.ws-switcher-search-wrap > .ws-icon { position: absolute; top: 14px; left: 12px; width: 16px; height: 16px; color: #78756f; pointer-events: none; }
.ws-dialog-field .ws-switcher-search-wrap input { padding-left: 38px; }
.ws-switcher-results { display: grid; gap: 4px; margin-top: 12px; }
.ws-switcher-result { display: flex; align-items: center; gap: 10px; min-width: 0; width: 100%; min-height: 48px; padding: 8px; border: 0; border-radius: 12px; color: #15110d; background: transparent; text-align: left; }
.ws-switcher-result:hover, .workspace-screen .ws-switcher-result:focus-visible { outline: 0; background: var(--ws-item-highlight); }
.ws-switcher-result-name { flex: 1; min-width: 0; overflow: hidden; color: #15110d; text-overflow: ellipsis; white-space: nowrap; }
.ws-switcher-current { margin-left: auto; color: #78756f; font-size: 12px; line-height: 16px; }
.ws-switcher-empty { margin: 28px 8px 16px; color: #78756f; font-size: 14px; line-height: 20px; text-align: center; }
.ws-switcher-menu[hidden], .ws-switcher-empty[hidden] { display: none; }
@media (max-width: 380px) {
  .ws-switcher-current { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
