:root{font-family:system-ui,sans-serif;color-scheme:dark;color:#e5e7eb;background:#17191c}*{box-sizing:border-box}body{margin:0}.panel{max-width:560px;margin:10vh auto;padding:2rem}.panel form,.panel label{display:grid;gap:.6rem;margin:1rem 0}.panel label:has(input[type=checkbox]){display:flex}.panel input,.panel textarea,select,#prompt{font:inherit;padding:.65rem;color:inherit;border:1px solid #535760;border-radius:.35rem;background:#24262b}.button,.panel button{display:inline-block;font:inherit;background:#f2c784;color:#1c1710;border:0;border-radius:.4em;padding:.7em 1.15em;text-decoration:none;cursor:pointer}.header{gap:1rem}.header h1{margin-right:auto}.workbench{display:grid;grid-template-columns:minmax(150px,250px) minmax(0,1fr);max-width:1240px;height:calc(100dvh - 5rem);margin:auto}.workbench aside,.thread{padding:1rem}.workbench aside{overflow:auto;border-right:1px solid #444}.thread{display:flex;flex-direction:column;min-height:0}.toolbar{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.thread article{flex:1;overflow:auto;padding:1rem 0}.thread article .message{display:block;margin:0 0 1rem;overflow-wrap:anywhere}.thread article img{max-width:180px;max-height:150px}.message pre{overflow:auto}.message .role{font-size:.8em;font-weight:700}.message p{margin:.4rem 0}.thread textarea{width:100%;margin:.4rem 0;resize:vertical}.workbench nav button{display:block;width:100%;text-align:left;margin:.35rem 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread #status{color:#f4cf9b}.toolbar #picture{max-width:70%}.toolbar #send{margin-left:auto}@media(max-width:650px){.workbench{display:flex;flex-direction:column}.workbench aside{max-height:110px;border:0}.workbench nav{display:flex;overflow:auto}.workbench nav button{width:auto}.thread{flex:1}.header{flex-wrap:wrap}}
[hidden]{display:none!important}
