.bottom-panel{position:relative;background:#09101d;border-top:1px solid var(--line);display:flex;flex-direction:column;min-height:0;z-index:26}
    .bottom-panel.collapsed{height:0;min-height:0;border-top:0;background:transparent;overflow:visible}
    body.code-dock-fullscreen .workspace{grid-template-columns:1fr !important}
    body.code-dock-fullscreen .sidebar,
    body.code-dock-fullscreen .rightbar,
    body.code-dock-fullscreen .canvasbar,
    body.code-dock-fullscreen .center-tabbar,
    body.code-dock-fullscreen .center-tab-panel,
    body.code-dock-fullscreen .canvaswrap{display:none !important}
    body.code-dock-fullscreen #editorShell{min-height:0}
    body.code-dock-fullscreen .bottom-panel{flex:1;height:100% !important;border-top:0}
    body.code-dock-fullscreen .bottom-panel.collapsed{height:100% !important}
    body.code-dock-fullscreen .bottom-panel-toggle{bottom:auto;top:8px;left:auto;right:12px;transform:none;padding-bottom:0}
    body.code-dock-fullscreen .bottom-panel-toggle .panel-tab{width:34px;height:34px;border-radius:10px}
    body.code-dock-fullscreen .statusbar{height:36px;min-height:36px}
    body.code-dock-fullscreen .code-dock{flex:1;height:auto !important;border-top:0}
    body.code-dock-fullscreen .code-dock-resizer{display:none}
    .bottom-panel-toggle{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);z-index:35;display:flex;justify-content:center;pointer-events:none;padding-bottom:6px}
    .bottom-panel-toggle .panel-tab{pointer-events:auto;width:88px;height:20px}
    .bottom-panel-toggle .panel-tab span{font-size:18px}
    .bottom-panel.collapsed .bottom-panel-toggle{padding-bottom:0;bottom:0;transform:translate(-50%, 50%)}
    .statusbar{height:30px;min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;background:#09101d;color:var(--muted);font-size:12px}
    .statusbar.resize-grip{cursor:ns-resize;-webkit-user-select:none;user-select:none}
    .bottom-panel.collapsed .statusbar{display:none}
    .code-dock{display:flex;flex-direction:column;min-height:0;height:280px;border-top:1px solid var(--line);background:#020617}
    .bottom-panel.collapsed .code-dock{display:none}
    .code-dock-resizer{height:10px;min-height:10px;cursor:ns-resize;background:linear-gradient(180deg,rgba(125,211,252,.14),rgba(2,6,23,0));border-bottom:1px solid rgba(51,65,85,.9)}
    .code-dock-resizer:hover{background:linear-gradient(180deg,rgba(96,165,250,.26),rgba(2,6,23,0))}
    .code-dock-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #1e293b;background:#0b1220;flex-wrap:nowrap}
    .code-toolbar-group{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;min-width:0;flex:0 0 auto}
    .code-tab-list{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
    .code-tab-btn{height:34px;border-radius:9px;border:1px solid #334155;background:#13203a;color:#cbd5e1;padding:0 12px;cursor:pointer;font-size:12px;font-weight:700}
    .code-tab-btn.is-active{background:#1d4ed8;border-color:#93c5fd;color:#f8fafc}
    .code-tab-btn.is-dirty::after{content:" *";color:#fbbf24}
    .code-tab-btn.has-error{border-color:#f87171;color:#fecaca}
    .code-tab-btn.has-error::after{content:" !";color:#f87171}
    .code-dock-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;flex:1;justify-content:flex-end;min-width:0;overflow-x:auto;overflow-y:hidden}
    .code-utility-tabs{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
    .code-utility-tab{height:32px;border-radius:999px;border:1px solid #334155;background:#0f172a;color:#cbd5e1;padding:0 12px;cursor:pointer;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
    .code-utility-tab.is-active{background:#1e293b;border-color:#60a5fa;color:#eff6ff}
    .code-live-toggle.is-active{background:#065f46;border-color:#10b981;color:#ecfdf5}
    .code-utility-panels{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:1 1 auto;min-width:max-content}
    .code-utility-panel{display:none;align-items:center;gap:8px;flex-wrap:nowrap;justify-content:flex-end;min-width:max-content}
    .code-utility-panel.is-active{display:flex}
    .code-search-tools,.code-problem-tools{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
    .code-search-input{width:180px;max-width:100%;height:32px;padding:0 10px}
    .code-search-count,.code-problem-summary{font-size:11px;color:#94a3b8}
    .code-problems-panel{display:flex;flex-direction:column;gap:6px;max-height:132px;overflow:auto;padding:8px 12px;border-bottom:1px solid #1e293b;background:#09111f}
    .code-problems-panel.is-hidden{display:none}
    .code-problem-item{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;width:100%;border:1px solid #243041;border-radius:8px;background:#111827;color:#e5e7eb;padding:8px 10px;cursor:pointer;text-align:left}
    .code-problem-item:hover{background:#172033}
    .code-problem-item strong{color:#fecaca;font-size:11px;letter-spacing:.04em}
    .code-problem-item span{display:block;font-size:12px;line-height:1.4}
    .code-problem-line{white-space:nowrap;font-size:11px;color:#93c5fd}
    .code-dock-panels{flex:1;min-height:0;position:relative}
    .code-editor-panel{display:none;height:100%}
    .code-editor-panel.is-active{display:block}
    .code-editor{width:100%;height:100%;border:0;outline:0;resize:none;background:#020617;color:#e2e8f0;font-family:Consolas,"Courier New",monospace;font-size:var(--code-font-size,13px);line-height:1.5;padding:14px}
    .code-editor-panel .CodeMirror{height:100%;font-family:Consolas,"Courier New",monospace;font-size:var(--code-font-size,13px);line-height:1.5;background:#151821;color:#f8f8f2}
    .code-editor-panel .CodeMirror-gutters{background:#0b1220;border-right:1px solid #1e293b}
    .code-editor-panel .CodeMirror-linenumber{color:#64748b}
    .code-editor-panel .CodeMirror-foldgutter{width:16px}
    .code-editor-panel .code-lint-gutter{width:18px}
    .code-editor-panel .code-lint-marker{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:999px;background:#7f1d1d;color:#fecaca;font-size:10px;font-weight:800;cursor:help;box-shadow:0 0 0 1px rgba(248,113,113,.35) inset}
    .code-editor-panel .CodeMirror-linebackground.code-lint-line{background:linear-gradient(90deg,rgba(127,29,29,.28),rgba(127,29,29,0));}
    .code-editor-panel .CodeMirror-line.code-lint-text{color:#ffe4e6}
    .code-editor-panel .CodeMirror-cursor{border-left-color:#f8fafc}
    .code-editor-panel .cm-tag{color:#7dd3fc}
    .code-editor-panel .cm-attribute{color:#f9a8d4}
    .code-editor-panel .cm-string{color:#86efac}
    .code-editor-panel .cm-keyword{color:#c4b5fd}
    .code-editor-panel .cm-number{color:#fdba74}
    .code-editor-panel .cm-def,.code-editor-panel .cm-property{color:#93c5fd}
    .code-editor-panel .cm-comment{color:#64748b}
    .CodeMirror-hints{background:#111827;border:1px solid #334155;color:#e5e7eb}
    .CodeMirror-hint{color:#cbd5e1}
    li.CodeMirror-hint-active{background:#1d4ed8;color:#f8fafc}

@media (max-width:1100px){
      .code-dock-toolbar{align-items:center}
    }
