dialog:has(.code-workspace-dialog){width:min(1320px,96vw);max-width:1320px}.code-workspace-dialog{--code-border:#d8dfe2;--code-soft:#f3f6f7;--code-ink:#253745;color:var(--code-ink);font-size:13px;min-width:0}.code-workspace-dialog *{box-sizing:border-box}.code-workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px}.code-workspace-toolbar h2{font-size:22px;letter-spacing:-.5px;margin:4px 0 6px}.code-workspace-eyebrow{font-size:11px;color:#647783;text-transform:uppercase;letter-spacing:1px}.code-workspace-toolbar small,.code-workspace-file-heading small{display:block;color:#687b87;font-size:11px}.code-workspace-boundary{display:flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid var(--code-border);border-radius:10px;background:var(--code-soft);color:#4a5c6a;font-size:12px}.code-workspace-boundary>.ui-icon{flex-shrink:0}.code-workspace-feedback p:empty{display:none}.code-workspace-feedback p{margin:10px 0}.code-workspace-layout{display:grid;grid-template-columns:240px minmax(0,1fr);border:1px solid var(--code-border);border-radius:12px;overflow:hidden;margin-top:16px;min-height:470px;background:#fff}.code-workspace-sidebar{background:#f7f9fa;border-right:1px solid var(--code-border);padding:16px 12px;min-width:0;max-height:650px;overflow:auto}.code-workspace-sidebar>label{font-size:11px;font-weight:600;color:#647783}.code-workspace-sidebar select{width:100%;font-size:12px;padding:10px 8px;margin-bottom:18px}.code-workspace-file-list-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#647783;padding:0 4px 10px;gap:8px}.code-workspace-file-list-title span{font-size:9px}.code-workspace-file-row{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:4px;border-radius:7px;margin-bottom:3px;padding:3px 5px}.code-workspace-file-row.selected{background:#e5ebee}.code-workspace-file-row input{width:13px;height:13px;margin:0;accent-color:var(--accent,#4a5c6a)}.code-workspace-file-row button{min-width:0;display:flex;align-items:center;gap:7px;padding:8px 2px;background:none;border:0;text-align:left;color:#4a5c6a;font:inherit;font-size:11px}.code-workspace-file-row button>.ui-icon{flex-shrink:0;width:14px;height:14px}.code-workspace-file-row button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.code-workspace-file-row i{font-size:8px;font-style:normal;color:var(--accent,#4a5c6a)}.code-workspace-main{min-width:0}.code-workspace-tabs{display:flex;gap:8px;border-bottom:1px solid var(--code-border);padding:9px 14px;overflow-x:auto}.code-workspace-tabs button{display:flex;align-items:center;gap:6px;white-space:nowrap;padding:10px 12px;border:0;border-radius:7px;background:none;font:inherit;font-size:12px;color:#687b87}.code-workspace-tabs button[aria-selected=true]{background:#edf1f3;color:#253745;font-weight:600}.code-workspace-tabs .ui-icon{width:15px;height:15px}.code-workspace-panel{padding:20px;min-width:0;max-height:650px;overflow:auto}.code-workspace-file-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;min-width:0}.code-workspace-file-heading strong{font:500 12px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.code-workspace-hash{font:10px ui-monospace,Consolas,monospace;color:#80909a}.code-workspace-editor{display:block;width:100%;min-height:360px;resize:vertical;tab-size:2;border:1px solid var(--code-border);border-radius:8px;background:#fafcfd;padding:15px;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;color:#253745;white-space:pre;overflow:auto}.code-workspace-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.code-workspace-editor-actions>span{font-size:10px;color:#687b87;max-width:270px}.code-workspace-dialog pre{white-space:pre;overflow:auto;background:#f6f8f9;border:1px solid var(--code-border);border-radius:8px;padding:15px;max-height:390px;font:11px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;color:#253745}.code-workspace-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px;color:#687b87;text-align:center}.code-workspace-empty>.ui-icon{width:30px;height:30px;margin-bottom:12px;color:#9ba8ab}.code-workspace-empty h3{font-size:16px;color:#4a5c6a;margin:0 0 8px}.code-workspace-empty p{max-width:290px;margin:0;font-size:12px;line-height:1.7}.code-workspace-create{max-width:460px;margin:30px auto;padding:15px}.code-workspace-create-icon{display:flex;width:48px;height:48px;align-items:center;justify-content:center;background:#edf1f3;border-radius:14px;color:#4a5c6a}.code-workspace-create h3{font-size:21px;letter-spacing:-.4px;margin:20px 0 12px}.code-workspace-create>p{font-size:12px;line-height:1.8;color:#687b87}.code-workspace-create form{margin-top:22px}.code-workspace-create form>button{margin-top:12px}.code-workspace-ai-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;align-items:end;gap:16px}.code-workspace-ai-row select{width:100%}.code-workspace-selected{display:flex;flex-direction:column;padding-bottom:12px;gap:4px}.code-workspace-selected strong{font-size:12px}.code-workspace-selected span{font-size:10px;color:#687b87}.code-workspace-ai form>button{margin-top:12px}.code-workspace-run-list{margin-top:28px}.code-workspace-run-list article,.code-workspace-test-result{border-top:1px solid var(--code-border);padding:16px 0}.code-workspace-test-result small{display:block;color:#687b87;margin-top:6px}.code-workspace-proposal{padding:16px;background:#f4f7f7;border:1px solid var(--code-border);border-radius:10px;margin-top:20px}.code-workspace-dialog summary{cursor:pointer;font-size:12px;color:#4a5c6a;padding:10px 0}.code-workspace-dialog button:disabled{opacity:.45;cursor:not-allowed}.code-workspace-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.code-workspace-dialog .row{gap:12px;flex-wrap:wrap}.code-workspace-dialog h3{font-size:15px;margin-top:0}.code-workspace-dialog .primary,.code-workspace-dialog .secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12px}.code-workspace-dialog .primary .ui-icon,.code-workspace-dialog .secondary .ui-icon{width:15px;height:15px}.code-workspace-dialog .notice{font-size:12px;line-height:1.7}.code-workspace-tests>.stack{margin:18px 0}.code-workspace-diff>.row h3{margin-bottom:0}.code-workspace-dialog .field-note{line-height:1.75}.code-workspace-ai textarea{width:100%;resize:vertical}.code-workspace-dialog textarea:focus-visible,.code-workspace-dialog button:focus-visible,.code-workspace-dialog select:focus-visible{outline:2px solid var(--accent,#4a5c6a);outline-offset:2px}@media(max-width:760px){dialog:has(.code-workspace-dialog){width:calc(100vw - 20px);max-width:calc(100vw - 20px);padding:16px}.code-workspace-layout{grid-template-columns:1fr;min-height:0}.code-workspace-sidebar{border-right:0;border-bottom:1px solid var(--code-border);max-height:195px;padding:12px}.code-workspace-sidebar select{margin-bottom:8px}.code-workspace-file-list-title{padding-bottom:5px}.code-workspace-file-list{max-height:120px;overflow:auto}.code-workspace-panel{padding:14px;max-height:none}.code-workspace-tabs{gap:2px;padding:7px}.code-workspace-tabs button{padding:9px 8px;font-size:11px}.code-workspace-tabs .ui-icon{width:13px;height:13px}.code-workspace-toolbar h2{font-size:18px}.code-workspace-toolbar .secondary{padding:8px;font-size:11px}.code-workspace-boundary{padding:10px;font-size:11px}.code-workspace-editor{min-height:300px;font-size:11px}.code-workspace-editor-actions{align-items:stretch;flex-direction:column}.code-workspace-editor-actions>span{max-width:none}.code-workspace-hash{display:none}.code-workspace-create{margin:12px auto;padding:8px}.code-workspace-create h3{font-size:18px}.code-workspace-ai-row{grid-template-columns:minmax(0,1fr) 90px}.code-workspace-dialog pre{font-size:10px;max-height:320px}.code-workspace-diff>.row{align-items:flex-start;flex-direction:column}.code-workspace-dialog .error{overflow-wrap:anywhere}}@media(prefers-reduced-motion:reduce){.code-workspace-dialog *{animation:none!important;transition:none!important}}
.code-workspace-dialog .icon-refresh-cw{mask-image:url("/icons/refresh-cw.svg")}
.code-workspace-ai-planning{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:12px 0}.code-workspace-ai-planning select,.code-workspace-ai-planning input{width:100%;min-width:0}@media(max-width:520px){.code-workspace-ai-planning{grid-template-columns:1fr;gap:0}}
