.workspace-tabbar{display:flex;align-items:center;gap:5px;min-width:0;height:43px;flex-shrink:0;padding:0 12px;background:#f1f5fb;border-bottom:1px solid #dfe7f2}
.workspace-tabs{display:flex;align-self:stretch;align-items:stretch;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#cbd7e7 transparent}
.workspace-tab{display:flex;align-items:center;flex-shrink:0;max-width:250px;min-width:110px;border-right:1px solid #e1e8f2;position:relative;background:transparent}
.workspace-tab.active{background:#fff}.workspace-tab.active:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:#5b8bdb}
.workspace-tab-select{display:flex;align-items:center;gap:8px;min-width:0;flex:1;height:100%;padding:0 12px;background:transparent;color:#8797ad;text-align:left;font-size:11px}
.workspace-tab.active .workspace-tab-select{color:#3d5d8d}.workspace-tab-select>span:first-of-type{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}.workspace-tab-select>svg{width:14px;height:14px;flex-shrink:0}
.workspace-tab:hover{background:#f9fbff}.workspace-tab-close{display:grid;place-items:center;width:23px;height:23px;margin-right:6px;border-radius:5px;background:transparent;color:#94a2b5;flex-shrink:0}.workspace-tab-close svg{width:13px;height:13px}.workspace-tab-close:hover{background:#e8eef8;color:#4e6d9b}
.workspace-tab-select:focus-visible{outline:2px solid #6a98df;outline-offset:-3px}.workspace-tab-close:focus-visible{outline:2px solid #6a98df}
.tab-unsaved{width:5px;height:5px;border-radius:50%;background:#ce9e4b;flex-shrink:0}.tab-unsaved[hidden]{display:none}.workspace-new-tab{flex-shrink:0}.workspace-graph-tab.active{background:#e3ebf8;color:#3c70be}.tabbar-status{margin-left:auto;padding-left:12px;font-size:10px;color:#889bb5;white-space:nowrap}
/* Home stays pinned at the left of the tab strip; the other tabs scroll underneath it. */
.workspace-tabs{scroll-padding-left:112px}
.workspace-tab[data-tab-key="home"]{position:sticky;left:0;z-index:3;width:112px;min-width:112px;max-width:112px;background:#f1f5fb;box-shadow:1px 0 0 #e1e8f2}
.workspace-tab[data-tab-key="home"]:hover{background:#f9fbff}
.workspace-tab[data-tab-key="home"].active{background:#fff}
/* All-tabs list opened by the arrow left of Home. */
.tab-list{position:relative;display:flex;align-items:center;flex-shrink:0}
.tab-list-button[aria-expanded="true"]{background:#e3ebf8;color:#3c70be}
.tab-list-button .lucide-icon{width:16px;height:16px}
.tab-list-scrim{position:fixed;inset:0;z-index:29;padding:0;border:0;background:transparent;cursor:default}
.tab-list-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:30;display:flex;flex-direction:column;width:min(380px,calc(100vw - 16px));max-height:min(72vh,540px);padding:8px;border:1px solid #dce5f3;border-radius:12px;background:#fff;color:#536b8b;box-shadow:0 14px 45px #1d355138}
.tab-list-search{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:0 10px;border:1px solid #dbe4f1;border-radius:8px;background:#f7f9fd}
.tab-list-search:focus-within{border-color:#8fb0ea;background:#fff}
.tab-list-search .lucide-icon{width:15px;height:15px;flex-shrink:0;color:#8797ad}
.tab-list-search input{flex:1;min-width:0;height:34px;padding:0;border:0;outline:0;background:transparent;color:#344155;font-size:12px}
.tab-list-heading{flex-shrink:0;margin:10px 6px 4px;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#92a1b7}
.tab-list-items{list-style:none;margin:0;padding:0;overflow-y:auto;overscroll-behavior:contain}
.tab-list-item{display:flex;align-items:center;border-radius:8px}
.tab-list-item:hover{background:#f2f6fc}
.tab-list-item.active{background:#e8f0ff}
.tab-list-select{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:7px 8px;border-radius:8px;background:transparent;color:inherit;text-align:left}
.tab-list-select:focus-visible,.tab-list-close:focus-visible{outline:2px solid #6a98df;outline-offset:-2px}
.tab-list-select>.lucide-icon{width:16px;height:16px;flex-shrink:0;color:#7c91af}
.tab-list-select>.lucide-icon:last-child{width:12px;color:#6d91c5}
.tab-list-text{display:flex;flex-direction:column;flex:1;min-width:0}
.tab-list-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;color:#3d5d8d}
.tab-list-path{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#92a1b7}
.tab-list-path:empty{display:none}
.tab-list-close{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;margin-right:6px;border-radius:6px;background:transparent;color:#94a2b5}
.tab-list-close:hover{background:#dde7f6;color:#4e6d9b}
.tab-list-close .lucide-icon{width:13px;height:13px}
.tab-list-empty{flex-shrink:0;margin:8px 6px;font-size:11px;color:#92a1b7}
@media(max-width:760px){.tab-list-panel{position:fixed;top:48px;left:8px;right:8px;width:auto}}
.workspace .workspace-content .editor-body{padding-top:8px}.workspace-content .editor-toolbar{border-top:0}.workspace-content>.editor{min-height:calc(100dvh - 95px)}
@media(max-width:760px){.workspace-tabbar{padding:0 6px;height:43px}.workspace-tabbar .mobile-menu{flex-shrink:0}.workspace-tab{min-width:95px;max-width:190px}.workspace-tab-select{padding:0 9px}.tabbar-status{display:none}.workspace .workspace-content .editor-body{padding-top:5px}}

.tab-context-menu{position:fixed;margin:0;width:min(270px,calc(100vw - 16px));padding:7px;border:1px solid #dce5f3;border-radius:11px;background:#fff;color:#536b8b;box-shadow:0 14px 45px #1d355138;overflow:auto}.tab-context-menu::backdrop{background:transparent}.tab-menu-heading{padding:6px 10px 9px;font-size:10px;color:#92a1b7;border-bottom:1px solid #edf1f7;margin-bottom:4px}.tab-context-menu>button{display:block;text-align:left;width:100%;padding:8px 10px;border-radius:5px;background:transparent;color:#536b8b;font-size:11px}.tab-context-menu>button:hover:not(:disabled){background:#eaf1ff;color:#386cb8}.tab-context-menu>button:disabled{opacity:.38;cursor:default}.tab-context-menu>button:focus-visible{outline:2px solid #7ca4df;outline-offset:-2px}.tab-context-menu .tab-menu-divider{border-top:1px solid #e9eef6;border-radius:0;margin-top:4px;padding-top:12px}.tab-menu-message,.tab-menu-hint{font-size:10px;line-height:1.6;padding:4px 10px;margin:4px 0;color:#8d9bb0}.tab-menu-message:empty{display:none}.workspace-tab.bookmarked{border-bottom:2px solid #91aed7}.workspace-tab.bookmarked .workspace-tab-select>svg:last-child{width:11px;height:11px;color:#6d91c5}
