#chart-editor{position:absolute;inset:0;z-index:20;display:grid;grid-template-rows:48px minmax(0,1fr) 28px;background:#20232c;color:#eef0f7;font:14px Arial,sans-serif;user-select:text;touch-action:auto}#chart-editor[hidden]{display:none}.ed-header{display:flex;align-items:center;gap:8px;padding:7px 12px;background:#14171e;border-bottom:1px solid #555}.ed-header strong{font:19px VCR,monospace;color:#ffdd65;white-space:nowrap}.ed-header>span{color:#a4aab8;font-size:12px;flex:1}.ed-header button,.ed-file{white-space:nowrap}.ed-main{display:grid;grid-template-columns:minmax(0,1fr) 325px;min-height:0}.ed-workspace{display:grid;grid-template-rows:42px 36px minmax(0,1fr) 29px;min-height:0;background:#161920}.ed-transport{display:flex;align-items:center;justify-content:center;gap:8px;padding:4px}.ed-transport label{display:flex;align-items:center;gap:5px}.ed-transport input{width:62px!important}.ed-timeline{display:flex;align-items:center;gap:10px;padding:0 15px}.ed-timeline input{flex:1;min-width:50px}.ed-timeline output{font:12px VCR;white-space:nowrap}.ed-grid-scroll{overflow:auto;text-align:center;background:#12151c}.ed-grid-scroll canvas{display:block;margin:0 auto;max-width:100%;outline:none}.ed-grid-scroll canvas:focus-visible{outline:2px solid #ffe06b;outline-offset:-2px}.ed-grid-help{font-size:10px;color:#a1a8b8;text-align:center;padding:8px;white-space:nowrap}.ed-sidebar{overflow:auto;border-left:2px solid #4d5260;padding:10px;background:#343945}.ed-tabs{display:flex;gap:4px;margin-bottom:12px}.ed-tabs button{flex:1}.ed-tabs button.active{background:#aeb6c8;color:#111;border-color:#d3d9e6}#ed-panel h3{font:20px VCR;color:#f3db75;margin:5px 0 15px}#chart-editor button,.ed-file{font:12px Arial,sans-serif;padding:7px 9px;background:#505a6c;color:#fff;border:1px solid #788397;border-radius:3px;cursor:pointer}#chart-editor button:hover,.ed-file:hover{background:#65748b}#chart-editor button:focus-visible,#chart-editor input:focus-visible,#chart-editor select:focus-visible{outline:2px solid #ffdc5e;outline-offset:2px}.ed-exit{background:#733e52!important}.ed-field{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;margin:5px 0;font-size:13px}.ed-field input:not([type=range]),.ed-field select{width:135px}.ed-field input[type=range]{width:135px}.ed-check{display:flex;align-items:center;gap:7px;min-height:30px;font-size:13px}.ed-check input{width:auto}#chart-editor input:not([type=range]):not([type=checkbox]):not([type=file]),#chart-editor select{padding:6px;background:#191d26;color:#f4f4f4;border:1px solid #687183;border-radius:2px;min-width:0}#chart-editor input[type=checkbox]{accent-color:#f7c756}.ed-action-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:15px 0}.ed-file{display:inline-flex;position:relative;overflow:hidden;align-items:center;justify-content:center;margin:4px 2px}.ed-file input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.ed-preview-options{margin-top:15px;border-top:1px solid #646b7a;padding-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:12px}#ed-panel p,.ed-shortcuts{font-size:12px;line-height:1.5;color:#b9c1d0}.ed-shortcuts{padding-top:12px;border-top:1px solid #626c7c}.ed-footer{background:#10131a;color:#c5cfdf;font-size:12px;padding:7px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:900px){#chart-editor{font-size:11px;grid-template-rows:40px minmax(0,1fr) 23px}.ed-header{gap:3px;padding:4px}.ed-header strong{font-size:13px}.ed-header>span{display:none}.ed-header button,.ed-file{font-size:10px!important;padding:5px!important}.ed-main{grid-template-columns:minmax(0,1fr) 245px}.ed-sidebar{padding:7px}.ed-field{font-size:11px;gap:4px}.ed-field input:not([type=range]),.ed-field select,.ed-field input[type=range]{width:105px}.ed-transport{gap:4px;font-size:11px}.ed-transport button{padding:4px!important}.ed-grid-help{display:none}.ed-workspace{grid-template-rows:35px 30px minmax(0,1fr)}.ed-timeline output{font-size:10px}.ed-header .ed-exit{margin-left:auto}.ed-shortcuts{font-size:10px}.ed-header strong{max-width:65px;white-space:normal}}

#chart-editor.native-editor{background:#5d5d5d;color:#111;font:12px VCR,monospace}.native-editor .ed-header{background:#555;border-bottom:1px solid #222}.native-editor .ed-main{grid-template-columns:minmax(0,1fr) 330px}.native-editor .ed-sidebar{background:#929292;color:#111;padding:0 9px 10px;border:1px solid #111;margin:10px 10px 10px 0;max-height:calc(100% - 20px)}.native-editor .ed-tabs{margin:0 -9px 9px;gap:1px}.native-editor .ed-tabs button{border-radius:4px 4px 0 0;background:#686868;color:white;border:1px solid black;font:11px VCR;padding:5px 3px}.native-editor .ed-tabs button.active{background:#929292;border-bottom-color:#929292}.native-editor #ed-panel h3{font:14px VCR;color:#111;margin:4px 0 9px}.native-editor button,.native-editor .ed-file{border:1px solid #222;border-radius:0;background:#bbb;color:#111;box-shadow:inset 1px 1px #fff,inset -1px -1px #666;font:11px VCR;padding:4px 8px}.native-editor button:disabled{opacity:.4;cursor:default}.native-editor button:hover{background:#d0d0d0}.native-editor input:not([type=range]):not([type=checkbox]):not([type=file]),.native-editor select,.native-editor textarea{background:#fff!important;color:#111!important;border:1px solid #111!important;padding:3px!important;border-radius:0!important;font:12px VCR;min-width:0}.native-editor .ed-field{font:12px VCR;min-height:29px;margin:2px 0;gap:4px}.native-editor .ed-check{font:12px VCR;min-height:26px}.native-editor .ed-field input:not([type=range]),.native-editor .ed-field select{width:132px}.native-editor .ne-song-top{display:grid;grid-template-columns:1fr 118px;gap:9px}.native-editor .ne-song-top .ed-field{display:block}.native-editor .ne-song-top input,.native-editor .ne-song-top select{display:block;width:90px!important}.native-editor .ne-buttons{display:flex;flex-direction:column;gap:5px;padding:4px 0}.native-editor .ne-buttons .ed-file{margin:0}.native-editor .ne-stacked{display:flex;flex-direction:column;gap:4px;margin:7px 0;font:12px VCR}.native-editor .ne-stacked select,.native-editor .ne-stacked textarea{width:100%}.native-editor .ed-preview-options{border-top-color:#444;color:#111}.native-editor .ed-shortcuts,.native-editor #ed-panel p{color:#222;font:11px/1.4 VCR}.native-editor .ed-grid-scroll{background:#555}.native-editor .ed-transport,.native-editor .ed-timeline{background:#777;color:#111}.native-editor .ne-events-list{display:flex;flex-direction:column;gap:3px;max-height:180px;overflow:auto}.native-editor .ne-events-list button{text-align:left}.native-editor .ne-events-list .active{background:#e2db99}.native-editor .ed-footer{background:#444;font:11px VCR}.native-editor .ed-action-row{margin:8px 0;gap:5px}@media(max-width:700px){.native-editor .ed-main{grid-template-columns:minmax(0,1fr) 280px}.native-editor .ed-sidebar{margin:4px 4px 4px 0}.native-editor .ed-header strong{display:none}.native-editor .ed-header button,.native-editor .ed-header .ed-file{font-size:9px!important;padding:3px!important}}
