#file-editor-dialog.file-code-dialog{box-sizing:border-box;width:min(1150px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border-radius:14px}#file-editor-dialog .panel-header{padding:0 0 16px;align-items:flex-start;gap:12px}#file-editor-title{overflow-wrap:anywhere}#file-editor-status{overflow-wrap:anywhere;margin-top:8px}.file-code-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:12px 0}.file-code-tools label{display:grid;gap:6px;min-width:0;flex:1 1 160px}.file-code-tools select{width:100%}#file-monaco{height:min(55dvh,600px);min-height:260px;border:1px solid var(--border);border-radius:8px;overflow:hidden}#file-editor-dialog #file-editor{box-sizing:border-box;width:100%;margin:0;height:50dvh;min-height:240px;border:1px solid var(--border);border-radius:8px;padding:14px;background:#0b1321;color:var(--text);font:14px/1.6 ui-monospace,monospace;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}#file-editor-dialog button{min-height:44px}.file-editor-search{margin:14px 0;padding:12px;border:1px solid var(--border);border-radius:8px}.file-editor-search summary{cursor:pointer}.file-editor-search>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.file-editor-search label{display:grid;gap:6px;min-width:0}.file-editor-search input{width:100%;min-width:0;box-sizing:border-box;background:#0b1321;color:var(--text);border:1px solid var(--border);border-radius:7px;padding:11px;font:inherit}#file-editor-feedback{padding:12px 0;overflow-wrap:anywhere}#file-editor-dialog .runtime-detail-actions{padding:8px 0;display:flex;flex-wrap:wrap;gap:10px}#file-editor-server{padding:14px 0}#file-editor-server pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;padding:12px;border:1px solid var(--border);background:#0b1321;border-radius:8px}@media(max-width:600px){#file-editor-dialog.file-code-dialog{padding:14px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}#file-editor-dialog #file-editor{font-size:16px;height:42dvh}.file-code-tools{gap:8px}.file-code-tools label{flex-basis:calc(50% - 8px)}.file-code-tools button,#file-editor-dialog .runtime-detail-actions button{flex:1 1 125px}.file-editor-search>div{grid-template-columns:1fr}.file-editor-search input{font-size:16px}}
#file-editor-dialog .panel-header{position:sticky;top:-20px;z-index:10;background:var(--panel,#151e30);padding-top:12px}#file-editor-dialog .panel-header>div:first-child{min-width:0;flex:1}.file-editor-head-actions{display:flex;gap:8px;flex-shrink:0}.file-editor-head-actions button{white-space:nowrap}@media(max-width:600px){#file-editor-dialog .panel-header{top:-14px}.file-editor-head-actions{display:grid;gap:6px}.file-editor-head-actions button{padding:9px 12px}}
