#open-editor{width:100%;justify-content:space-between;margin:0 0 12px;padding:8px 11px;font-size:12px}#gcode-inline{height:130px;min-height:100px;resize:vertical;overflow:hidden;border:1px solid #b1bfd6;border-radius:5px;margin-bottom:12px;background:var(--surface)}#gcode-inline:focus-within{outline:2px solid var(--accent);outline-offset:4px}#gcode-inline .cm-editor{height:100%;outline:none}#gcode-inline .cm-scroller{overflow:auto;font:10px/1.6 var(--mono)}#gcode-inline .cm-gutters{background:var(--surface);color:var(--muted);border:0}#gcode-inline .cm-selectionBackground{background:#355b86}.sidebar-issue{display:block;width:100%;margin:0 0 6px;padding:6px 8px;text-align:left;font:inherit;color:inherit;background:#fff2ed;border:1px solid #e9c0b3}.sidebar-issue:hover{border-color:var(--orange)}#gcode-workspace{width:min(1260px,calc(100% - 48px));height:min(840px,calc(100dvh - 48px));max-width:100%;max-height:100dvh;padding:0;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 100px #101d3e57;overflow:hidden}#gcode-workspace[open]{display:flex;flex-direction:column}#gcode-workspace::backdrop{background:#0a1939bf}body:has(#gcode-workspace[open]){overflow:hidden}.editor-header,.editor-heading,.editor-actions,.editor-toolbar,.editor-tools,.editor-footer,#issue-navigation,#issue-pages,.search-actions{display:flex;align-items:center;gap:10px}.editor-header,.editor-toolbar,.editor-footer{justify-content:space-between;border-bottom:1px solid var(--line)}.editor-header{padding:17px 20px;background:#edf2fa}.editor-heading{gap:18px;min-width:0}.editor-heading h2{font-size:20px;letter-spacing:-.03em}.editor-actions .button{padding:7px 13px;font-size:12px;white-space:nowrap}#close-editor,.editor-tools button,.editor-issues button,.editor-search button{padding:4px 7px;background:transparent;color:var(--text);font:inherit;border:1px solid transparent;white-space:nowrap}#close-editor{padding-left:0;color:var(--muted);font-size:12px}.editor-tools button:hover:enabled,.editor-issues button:hover:enabled,.editor-search button:hover:enabled,#close-editor:hover{color:var(--accent);background:var(--panel)}.editor-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,28%);flex:1;min-height:0}.editor-code{min-width:0;min-height:0;background:var(--surface);display:grid;grid-template-rows:auto minmax(0,1fr) auto}.editor-toolbar,.editor-footer{padding:8px 16px;font-size:12px}#editor-filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}.editor-tools,.search-actions{gap:2px}.editor-footer{border-top:1px solid var(--line);border-bottom:0;color:var(--muted);font:11px/1.6 var(--mono)}#editor-surface{min-height:0;overflow:hidden;background:#10213b}#editor-surface .cm-editor{height:100%;color:var(--text);background:transparent;outline:none}#editor-surface .cm-scroller{overflow:auto;font:14px/1.7 var(--mono)}#editor-surface .cm-content{padding:12px 0;caret-color:var(--accent)}#editor-surface .cm-line{padding:0 12px}#editor-surface .cm-cursor{border-left-color:var(--accent)}#editor-surface .cm-gutters{background:#152b49;color:#a2b6d0;border-right:1px solid var(--line)}#editor-surface .cm-lineNumbers .cm-gutterElement{min-width:3.2em;padding:0 8px}#editor-surface .cm-activeLine,#editor-surface .cm-activeLineGutter{background:#263f61}#editor-surface .cm-activeLineGutter{color:var(--accent)}#editor-surface .cm-selectionBackground{background:#355b86}#editor-surface .cm-searchMatch{background:#604b2e;outline:1px solid #c29151}#editor-surface .cm-searchMatch-selected{background:#785936;outline-color:var(--accent)}.editor-issues{display:flex;flex-direction:column;gap:8px;min-height:0;padding:16px;border-left:1px solid var(--line)}.editor-issues h3{font-size:15px}#editor-check-status{color:var(--muted);font-size:12px;overflow-wrap:anywhere}#issue-navigation{justify-content:flex-end;font-size:12px;gap:4px}#issue-index{margin-right:auto;color:var(--muted);font-family:var(--mono)}#issue-pages{justify-content:space-between;color:var(--muted);font-size:12px}#editor-issue-list{list-style:none;overflow:auto;margin:0;padding:0;min-height:0}#editor-issue-list button{width:100%;border:0;border-left:2px solid transparent;background:transparent;text-align:left;padding:9px 10px;white-space:pre-wrap;overflow-wrap:anywhere}#editor-issue-list button[aria-current],#editor-issue-list button:enabled:hover{background:#e8effb;border-left-color:var(--accent)}#editor-issue-list strong,#editor-issue-list button span{display:block;font-size:12px}#editor-issue-list strong{margin:0 0 4px;font-weight:550;color:var(--orange)}#editor-issue-list strong.error{color:var(--error)}#editor-surface .cm-panels{background:#192f50;color:var(--text);border-bottom:1px solid var(--line)}.editor-search{display:grid;grid-template-columns:minmax(130px,1fr) auto;align-items:center;gap:5px 12px;padding:9px 14px;font:12px/1.5 var(--font)}.editor-search label{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--muted)}.editor-search input{padding:4px 7px;font:12px/1.5 var(--mono)}.editor-search output{color:var(--muted)}.editor-search button[name=close]{justify-self:end}@media(max-width:700px){#gcode-workspace{width:100%;height:100dvh;border:0;border-radius:0}.editor-header{padding:10px 12px;gap:6px}.editor-heading{flex-direction:column;align-items:flex-start;gap:0}.editor-heading h2{font-size:17px}.editor-actions{gap:5px}.editor-actions .button{padding:7px 9px}.editor-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.editor-issues{max-height:32dvh;padding:9px 12px;gap:4px;border-left:0;border-top:1px solid var(--line)}.editor-toolbar,.editor-footer{padding:6px 10px}.editor-search{padding:6px 8px;gap:4px}}
