.workspace-panel[data-token-control=off]{min-height:160px}
.result-versions,.workbench-preferences{margin-top:10px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:12px;padding:10px;min-width:0}
.result-versions summary,.workbench-preferences summary{cursor:pointer;font-weight:600}
.result-versions-body,.workbench-preferences[open]{display:flex;flex-direction:column;gap:8px}
.ai-actions-body,.result-versions-body{box-sizing:border-box;width:min(100%,560px);max-width:560px}
.result-versions-body{align-items:flex-start;padding:10px 0}
.result-versions .result-versions-body>button{flex:none;width:auto;max-width:100%;min-height:34px;padding:6px 10px;text-align:left;font-size:13px;line-height:1.4}
.result-versions-body>[role=status]:empty{display:none}
.workbench-preferences label,.workbench-controls label{display:flex;flex-direction:column;gap:5px;min-width:0}
.workbench-preferences input,.workbench-preferences textarea,.workbench-preferences select,.workbench-controls select{box-sizing:border-box;width:100%;max-width:100%;padding:9px;border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:8px;color:inherit;background:transparent;font:inherit}
.workbench-preferences input[type=checkbox]{width:20px;height:20px;accent-color:#7868dd}
.workbench-preferences-group{display:flex;flex-direction:column;gap:10px;min-width:0;margin:4px 0 0;padding:12px;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:10px}
.workbench-preferences-group legend{padding:0 6px;font-weight:600}
.workbench-help{display:flex;flex-wrap:wrap;align-items:center;gap:6px;width:fit-content;max-width:100%;min-height:28px;cursor:help;font-size:12px;font-weight:400;line-height:1.5}
.workbench-help>span:first-child{display:inline-grid;place-items:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;opacity:.8}
.workbench-help-text{display:none;overflow-wrap:anywhere}
.workbench-help:hover .workbench-help-text,.workbench-help:focus .workbench-help-text,.workbench-help:focus-within .workbench-help-text{display:inline}
.workbench-controls select:focus-visible,.result-versions summary:focus-visible,.result-workbench .workbench-help:focus-visible{outline:3px solid #8874ef;outline-offset:3px}
.result-versions button,.workbench-preferences button,.result-workbench button{padding:9px 12px;min-height:40px;border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:9px;color:inherit;background:transparent;font:inherit;cursor:pointer}
.result-workbench{width:min(580px,94vw);max-width:94vw;max-height:90vh;box-sizing:border-box;overflow:auto;border:1px solid #cbd0dc;border-radius:18px;padding:22px;background:var(--panel-bg,#fff);color:var(--text,#202333);box-shadow:0 24px 90px #0005}
.result-workbench::backdrop{background:#12152699}
.workbench-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;margin:16px 0}.workbench-controls label{min-width:0;max-width:100%}.workbench-controls select{min-width:0;text-overflow:ellipsis}.workbench-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.workbench-actions button{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}.result-workbench>p{overflow-wrap:anywhere}
.workbench-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.workbench-columns>div{min-width:0}.workbench-columns h3{font-size:1rem;overflow-wrap:anywhere}.workbench-columns iframe{box-sizing:border-box;width:100%;height:420px;border:1px solid #9299ac;border-radius:10px;background:white}
.workbench-paragraph{padding:12px 0;border-top:1px solid color-mix(in srgb,currentColor 20%,transparent)}
.workbench-paragraph pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:color-mix(in srgb,currentColor 5%,transparent);border-radius:8px;padding:12px;max-height:480px;overflow:auto}
.result-workbench button:focus-visible,.result-versions button:focus-visible,.workbench-preferences :focus-visible{outline:3px solid #8874ef;outline-offset:3px}
[data-theme=dark] .result-workbench,html.dark .result-workbench{background:#191b27;color:#e8e9f1;border-color:#464959}
@media(prefers-color-scheme:dark){html:not([data-theme=light]):not(.light) .result-workbench{background:#191b27;color:#e8e9f1;border-color:#464959}}
@media(max-width:640px){.result-workbench{padding:14px;width:96vw;max-width:96vw}.workbench-columns{grid-template-columns:1fr}.workbench-columns iframe{height:300px}.workbench-controls{grid-template-columns:minmax(0,1fr)}.workbench-actions{flex-direction:column}.workbench-actions>button{width:100%}}
