/* File tabs and the read-only viewer share one rounded pane. */
.dock-enabled .window-files:has(.files-tab.has-file) > .window-head { display:none; }
.dock-enabled .files-tab.has-file { grid-template-rows:32px minmax(0,1fr); }
.dock-enabled .editor-tabbar { display:flex; gap:0; padding:0; border:0; background:var(--panel-2); min-height:32px; cursor:grab; touch-action:none; }
.editor-tabs { display:flex; flex:0 1 auto; min-width:0; max-width:calc(100% - 32px); overflow-x:auto; scrollbar-width:none; align-self:stretch; }
.editor-tabs::-webkit-scrollbar { display:none; }
.editor-tab { display:flex; flex:0 0 auto; align-items:center; min-width:75px; max-width:240px; border-radius:6px 6px 0 0; background:transparent; }
.editor-tab.is-active { background:var(--bg); }
.editor-tab-select { display:flex; flex:1; min-width:0; align-items:center; gap:6px; height:32px; padding:0 6px 0 12px; color:var(--text); background:transparent; border:0; border-radius:0; font-size:var(--ui-font-size); font-weight:400; }
.editor-tab-label { white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.editor-tab-close { display:grid; place-items:center; width:24px; height:24px; padding:4px; margin-right:5px; border:0; border-radius:3px; background:transparent; color:var(--muted); opacity:0; }
.editor-tab.is-active .editor-tab-close,.editor-tab:hover .editor-tab-close,.editor-tab:focus-within .editor-tab-close { opacity:1; }
.editor-tab-close:hover,.editor-more-actions:hover { background:#ffffff12; color:var(--text); }
.editor-tab-close .codex-icon svg { width:14px; height:14px; }
.editor-more-actions { display:grid; place-items:center; width:28px; height:28px; flex:0 0 28px; margin:2px 4px 2px auto; border:0; border-radius:3px; padding:5px; background:transparent; color:var(--text); }
.dock-enabled .editor-tabbar > #editorTabName { display:none; }
.dock-enabled .editor-tabbar > .editor-tabs { font-style:normal; flex:0 1 auto; }
.dock-enabled #fileMeta { display:flex; align-items:center; gap:6px; min-height:27px; padding:4px 12px; font-size:var(--ui-font-size); white-space:nowrap; overflow-x:auto; scrollbar-width:none; }
.dock-enabled #fileMeta::-webkit-scrollbar { display:none; }
.breadcrumb-item { display:inline-flex; align-items:center; gap:5px; flex:0 0 auto; color:var(--muted); }
.breadcrumb-item:hover { color:var(--text); }
.breadcrumb-separator { color:#969696; font-size:18px; line-height:18px; }
.editor-actions-menu { margin:0; position:fixed; inset:auto; width:224px; padding:5px; border:1px solid #454545; border-radius:5px; background:#252526; color:var(--text); box-shadow:0 5px 20px #0006; }
.editor-actions-menu > button,.editor-actions-menu > a { display:block; width:100%; padding:7px 10px; border:0; border-radius:2px; background:transparent; color:inherit; font:12px 'Segoe UI',sans-serif; text-align:left; text-decoration:none; }
.editor-actions-menu > :hover { background:#094771; }
.editor-actions-menu > :disabled { color:#777; background:transparent; }
.editor-actions-menu > [hidden] { display:none; }
.statusbar { gap:9px; font-size:12px; }
.status-item { display:flex; align-items:center; gap:4px; padding:0 3px; height:100%; border:0; border-radius:0; background:transparent; color:var(--text); font:inherit; white-space:nowrap; }
.status-item:hover { background:#ffffff12; }
.status-item .codex-icon svg { width:14px; height:14px; }
.status-file-detail { white-space:nowrap; }
.statusbar [hidden] { display:none; }
#statusProject { max-width:18vw; }
@media(max-width:1000px) { .status-secondary { display:none; } }
@media(max-width:720px) { #statusProject,#statusCursor,#statusEol { display:none; } .statusbar { gap:6px; } .editor-tab-close { opacity:1; } }
