.prompt-workbench{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:26px;margin:28px 0}.wb-title{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:22px}.wb-title h2{font-size:25px;margin:0}.wb-title p{font-size:14px;line-height:1.8;color:var(--muted)}.wb-title .wb-eyebrow{font-size:12px;letter-spacing:.14em;color:var(--accent);font-weight:700;margin:0 0 8px}.wb-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr);gap:28px}.wb-editor,.wb-library{min-width:0}.prompt-workbench label{display:grid;gap:8px;font-size:14px;margin:12px 0}.prompt-workbench input:not([type=checkbox]):not([type=file]),.prompt-workbench textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);padding:11px;font:16px/1.6 system-ui;box-sizing:border-box}.prompt-workbench button,.wb-upload{min-height:44px;padding:9px 13px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--text);font-size:14px;cursor:pointer}.prompt-workbench button:disabled{opacity:.55;cursor:default}.prompt-workbench button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.wb-actions,.wb-examples{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.wb-actions button:first-child{background:var(--accent);color:#fff}.wb-upload input{max-width:180px}.wb-library{border-left:1px solid var(--line);padding-left:24px}.wb-library h3,.wb-editor h3{font-size:17px}.wb-card{padding:14px;border:1px solid var(--line);border-radius:10px;margin:12px 0;overflow-wrap:anywhere}.wb-card>button:first-child{font-weight:700;max-width:80%;text-align:left}.wb-card p{white-space:pre-wrap;font-size:13px;line-height:1.7;color:var(--muted)}.wb-hint,#wb-status{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.prompt-workbench .wb-check{display:flex;gap:10px;align-items:center}.wb-check input{width:18px;height:18px}.prompt-workbench #wb-variables{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}#wb-output{background:var(--bg)}.card .d,.meta{font-size:14px;line-height:1.7}.chip{min-height:42px}#q{font-size:16px}@media(max-width:760px){.wb-layout{grid-template-columns:1fr}.wb-library{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.prompt-workbench{padding:18px}.wb-title{flex-wrap:wrap}.prompt-workbench #wb-variables{grid-template-columns:1fr}.wb-actions>*{flex:1 1 40%}}

.wb-history{box-sizing:border-box;width:min(960px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;padding:22px;border:1px solid #bfd0c2;border-radius:16px;background:white;color:#263d31;font:16px/1.6 system-ui}.wb-history::backdrop{background:#123a2c75}.wb-history header{display:flex;align-items:center;justify-content:space-between;gap:12px}.wb-history h2{font-size:24px}.wb-history p{font-size:14px}.wb-history select{font:16px system-ui;min-height:44px;max-width:100%;width:100%}.wb-history button{min-height:44px;font:14px system-ui;padding:10px}.wb-version-compare{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wb-version-compare section{min-width:0}.wb-version-compare pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f0f5ed;padding:14px;max-height:45dvh;overflow:auto;font:15px/1.7 system-ui}.wb-card small{display:block;color:#526b58;margin:12px 0}.wb-card>button:last-child{margin-right:0}@media(max-width:600px){.wb-version-compare{grid-template-columns:1fr}.wb-history{padding:16px}}
