#code-workspace-dialog{box-sizing:border-box;width:calc(100vw - 40px);height:calc(100dvh - 40px);max-width:1680px;max-height:none;padding:0;border:1px solid #d8e0dc;border-radius:14px;background:#fff;color:#24372e;box-shadow:0 28px 100px #061d2366;font:13px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;overflow:hidden}
#code-workspace-dialog::backdrop{background:#0d211ca6;backdrop-filter:blur(4px)}
#code-workspace-dialog *{box-sizing:border-box}
#code-workspace-dialog .cw-header{position:static;inset:auto;height:auto;flex:none;color:#24372e;z-index:auto}
#code-workspace-dialog .cw-pane{margin:0;padding:0;position:static;max-width:none}
#code-workspace-dialog .cw-explorer{position:static;inset:auto;width:auto;height:auto;margin:0;max-width:none}
#code-workspace-dialog label{margin:0}
#code-workspace-dialog .cw-file-search{margin:0 12px 12px}
#code-workspace-dialog .cw-input{min-height:0;max-height:none}
#code-workspace-dialog [hidden]{display:none!important}
#code-workspace-dialog button,#code-workspace-dialog input{font:inherit}
#code-workspace-dialog button{cursor:pointer;transition:background .12s,color .12s;border-radius:6px}
#code-workspace-dialog button:focus-visible,#code-workspace-dialog input:focus-visible{outline:2px solid #2871da;outline-offset:2px}
#code-workspace-dialog button:disabled{cursor:default;opacity:.38}
#code-workspace-dialog button:disabled:hover{background:inherit}
#code-workspace-dialog kbd{font:10px/1.3 ui-monospace,SFMono-Regular,Consolas,monospace;opacity:.65;margin-left:7px}
.cw-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.cw-header{display:flex;align-items:center;gap:20px;min-height:74px;padding:14px 22px;border-bottom:1px solid #e4e9e6;background:#fff}
.cw-brand{display:flex;gap:12px;align-items:center}
.cw-brand-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid #c9ddd2;border-radius:10px;color:#205640;background:#edf5f0;font:700 16px ui-monospace,Consolas,monospace}
#code-workspace-dialog h2{font-size:17px;line-height:1.3;margin:0;color:#173f2f;font-weight:650}
.cw-header p{font-size:11px;color:#7a8780;margin:3px 0 0}
.cw-draft-count{margin-left:auto;color:#718077;font-size:11px}
#code-workspace-dialog .cw-close{border:0;background:#f0f4f1;color:#4f6257;width:32px;height:32px;display:grid;place-items:center;font-size:22px;line-height:1}
#code-workspace-dialog .cw-close:hover{background:#e3ece6;color:#1c4531}
.cw-toolbar{display:flex;align-items:center;gap:8px;padding:14px 20px 8px;flex-wrap:wrap;background:#fafcfb}
#code-workspace-dialog .cw-toolbar button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fff;border:1px solid #d7e0da;padding:9px 12px;min-height:38px;color:#31483c;font-weight:550;white-space:nowrap;box-shadow:0 1px 2px #14332105}
#code-workspace-dialog .cw-toolbar button>span{font-size:18px;line-height:15px;color:#607d6d}
#code-workspace-dialog .cw-toolbar button:hover:not(:disabled){background:#eef4f0;border-color:#b4c9bc}
#code-workspace-dialog .cw-toolbar .cw-reset{color:#925145;border-color:#e2cec8}
#code-workspace-dialog .cw-toolbar .cw-reset>span{color:#a46c5f}
#code-workspace-dialog .cw-toolbar .cw-apply{margin-left:auto;background:#174c37;color:white;border-color:#174c37;box-shadow:0 2px 3px #174c3720}
#code-workspace-dialog .cw-toolbar .cw-apply:hover:not(:disabled){background:#0d3e2a;border-color:#0d3e2a}
.cw-reset-hint{padding:0 22px 12px;font-size:10.5px;color:#87928b;background:#fafcfb;border-bottom:1px solid #dde5df}
.cw-body{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:0;flex:1}
.cw-explorer{background:#f7f9f8;border-right:1px solid #dee5e0;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.cw-explorer-title{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1.3px;font-weight:650;color:#75847b;padding:16px 17px 11px}
.cw-file-count{background:#e9efeb;letter-spacing:0;border-radius:4px;padding:2px 6px;color:#728279}
.cw-file-search{display:flex;align-items:center;margin:0 12px 12px;border:1px solid #dce5df;border-radius:6px;background:#fff;gap:5px;padding:5px 8px;color:#8b9990}
#code-workspace-dialog .cw-file-search input{border:0;outline:none;min-width:0;width:100%;padding:2px 0;background:transparent;font-size:11px;color:#354c3e}
.cw-tree{overflow:auto;min-height:0;padding:0 6px 24px;flex:1}
#code-workspace-dialog .cw-tree button{display:flex;align-items:center;gap:7px;padding:7px 8px 7px calc(8px + var(--depth)*14px);width:100%;border:0;background:transparent;text-align:left;border-radius:4px;color:#44564c;font-size:12px;min-height:31px;white-space:nowrap}
#code-workspace-dialog .cw-tree button:hover{background:#edf2ee}
#code-workspace-dialog .cw-tree button.is-active{background:#dfece4;color:#1c5439;font-weight:600;box-shadow:inset 2px 0 #347554}
.cw-chevron{font-size:15px;width:10px;flex:none;color:#829488;text-align:center}
.cw-folder-icon{color:#8c9f84;font-size:19px;line-height:12px;flex:none}
.cw-file-icon{font:11px ui-monospace,Consolas,monospace;width:16px;flex:none;color:#7f9b89}
.cw-tree-file>span:nth-child(2){overflow:hidden;text-overflow:ellipsis}
.cw-lock{margin-left:auto;color:#9aaba0}
.cw-dot{display:inline-block;flex:none;width:6px;height:6px;border-radius:50%;background:#c69c45;margin-left:6px}
.cw-tree-file>.cw-dot{margin-left:auto}
.cw-no-results{font-size:12px;color:#89948c;padding:14px}
.cw-pane{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}
.cw-tabs{display:flex;flex:none;min-height:41px;overflow:auto;background:#edf2ef;border-bottom:1px solid #dae3dd;padding:0 8px;scrollbar-width:thin}
.cw-tab{display:flex;align-items:center;border-right:1px solid #dde5df;flex:none;max-width:270px;padding:0 5px 0 0;border-top:2px solid transparent}
.cw-tab.is-active{background:white;border-top-color:#28684a}
#code-workspace-dialog .cw-tab button{border:0;background:transparent;color:#819087;padding:10px 7px;border-radius:0;font-size:12px;display:flex;align-items:center;white-space:nowrap;min-width:0}
#code-workspace-dialog .cw-tab button[role=tab]{padding-left:13px;overflow:hidden;text-overflow:ellipsis}
#code-workspace-dialog .cw-tab.is-active button{color:#264f3a}
#code-workspace-dialog .cw-tab button[data-close-tab]{font-size:17px;line-height:14px;padding:4px;width:23px;justify-content:center;flex:none;border-radius:4px}
#code-workspace-dialog .cw-tab button[data-close-tab]:hover{background:#e8eeea}
.cw-filebar{height:37px;display:flex;align-items:center;gap:7px;padding:0 14px;border-bottom:1px solid #eef1ef;flex:none;min-width:0}
.cw-breadcrumb{font-size:11px;color:#8b978e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:auto}
#code-workspace-dialog .cw-filebar button{border:0;background:transparent;color:#7c8c81;padding:4px 7px;white-space:nowrap;font-size:10.5px}
#code-workspace-dialog .cw-filebar button:hover,#code-workspace-dialog .cw-filebar button[aria-pressed=true]{background:#e9f1ec;color:#2c6347}
.cw-find{display:flex;align-items:center;gap:7px;flex:none;padding:8px 12px;background:#f6faf7;border-bottom:1px solid #e3ebe5}
.cw-find label{display:flex;align-items:center;gap:9px;flex:1;max-width:400px;color:#6d8073;font-size:11px}
#code-workspace-dialog .cw-find input{width:100%;min-width:70px;border:1px solid #cddbd1;border-radius:4px;padding:5px 8px;font-size:12px;outline:none;background:#fff}
#code-workspace-dialog .cw-find button{border:1px solid transparent;background:transparent;font-size:13px;color:#66806d;padding:4px 7px}
#code-workspace-dialog .cw-find button:hover,#code-workspace-dialog .cw-find button[aria-pressed=true]{border-color:#c4d7cb;background:#e5efe8}
.cw-find-count{font-size:10.5px;color:#8a978e;white-space:nowrap}
.cw-readonly{background:#fff9e8;color:#94752e;border-bottom:1px solid #f0e5c6;padding:8px 14px;font-size:11px;flex:none}
.cw-editor{position:relative;flex:1;min-height:80px;min-width:0;overflow:hidden;background:#fff;--cw-gutter:62px}
.cw-gutter{position:absolute;inset:0 auto 0 0;width:var(--cw-gutter);overflow:hidden;background:#fafcfb;border-right:1px solid #f0f3f1;color:#b0bbb3;z-index:3;user-select:none;pointer-events:none}
.cw-gutter>div{padding-top:16px;will-change:transform}
.cw-gutter span{display:block;text-align:right;padding-right:15px;font:12px/22px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
#code-workspace-dialog .cw-highlight,#code-workspace-dialog .cw-input{font:13px/22px ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace!important;letter-spacing:0!important;tab-size:2;padding:16px!important;margin:0!important;border:0!important;border-radius:0!important;white-space:pre;word-break:normal;overflow-wrap:normal;box-shadow:none!important;text-align:left;direction:ltr}
#code-workspace-dialog .cw-highlight{position:absolute;left:var(--cw-gutter);top:0;min-height:100%;height:auto;color:#3b5146;background:none;pointer-events:none;transform-origin:top left;z-index:1;overflow:visible;will-change:transform}
.cw-source-line{display:block;min-height:22px}
#code-workspace-dialog .cw-input{position:absolute;inset:0 0 0 var(--cw-gutter);width:calc(100% - var(--cw-gutter));height:100%;resize:none;background:transparent!important;color:transparent!important;-webkit-text-fill-color:transparent;caret-color:#244f38;outline:none;z-index:2;overflow:auto;scrollbar-width:thin;scrollbar-color:#c5d3c9 #f6f9f7}
#code-workspace-dialog .cw-input::selection{background:#8ebce854;color:transparent}
#code-workspace-dialog .cw-editor.is-wrapped .cw-highlight,#code-workspace-dialog .cw-editor.is-wrapped .cw-input{white-space:pre-wrap;overflow-wrap:break-word}
.cw-token-comment{color:#72877a;font-style:italic}.cw-token-liquid{color:#814692}.cw-token-string{color:#3f743e}.cw-token-tag{color:#24658f}.cw-token-number{color:#986324}.cw-token-keyword{color:#72479f}
.cw-empty{position:absolute;inset:0;display:grid;place-items:center;background:#fafcfb;color:#98a59c;z-index:4;font-size:13px}
.cw-statusbar{display:flex;align-items:center;gap:18px;padding:6px 16px;background:#f7faf8;border-top:1px solid #e7eee9;color:#8b9a90;font-size:10.5px;min-height:28px;flex:none}
.cw-file-state{margin-right:auto}.cw-file-state.is-dirty{color:#a5843a}
.cw-footer{padding:9px 20px 11px;border-top:1px solid #dce6de;background:#fafcfb;flex:none}
.cw-footer p{font-size:10px;color:#96a299;margin:3px 0 0}
.cw-message{font-size:11.5px;color:#36794e;white-space:pre-wrap;max-height:85px;overflow:auto}
.cw-message.is-error{color:#b24435;background:#fff0ec;padding:7px 10px;border-radius:4px;border:1px solid #f3d8d0}
.cw-recovery:not(:empty){color:#9d681c;background:#fff5dc;font-size:11px;padding:7px 10px;margin-top:5px;border-radius:4px}
#code-workspace-dialog .cw-tree button{color:#334c3e}.cw-breadcrumb,.cw-statusbar{color:#65796c}.cw-gutter{color:#889d8e}
@media(max-width:1100px){.cw-body{grid-template-columns:205px minmax(0,1fr)}#code-workspace-dialog .cw-toolbar button{padding:8px 9px;font-size:11px}.cw-toolbar{gap:6px}.cw-toolbar kbd{display:none}.cw-draft-count{font-size:10px}}
@media(max-width:760px){#code-workspace-dialog{width:100vw;height:100dvh;border-radius:0;border:0;margin:0;max-width:none}.cw-header{min-height:61px;padding:10px 13px;gap:8px}.cw-header p{display:none}.cw-draft-count{max-width:150px;text-align:right}.cw-toolbar{padding:9px 10px 6px;gap:5px}#code-workspace-dialog .cw-toolbar button{min-height:32px;font-size:10px;padding:7px}.cw-reset-hint{padding:0 12px 9px;font-size:9px}.cw-body{grid-template-columns:160px minmax(0,1fr)}.cw-explorer-title{padding:12px 10px 8px;font-size:9px}.cw-file-search{margin:0 6px 8px}.cw-file-search input{font-size:10px!important}#code-workspace-dialog .cw-tree button{font-size:10px;padding-left:calc(5px + var(--depth)*10px);gap:4px}.cw-editor{--cw-gutter:42px}.cw-gutter span{padding-right:9px}.cw-filebar{padding:0 7px}.cw-filebar kbd{display:none}.cw-statusbar{gap:9px;padding:5px 8px;font-size:9px}.cw-language{display:none}.cw-footer{padding:6px 11px}.cw-find{gap:3px;padding:6px}.cw-find label>span{display:none}}
