:root{color-scheme:light;font-family:system-ui,sans-serif;color:#292722;background:#f5f1e7;--muted:#706b60;--line:#ded8ca}*{box-sizing:border-box}body{margin:0;min-height:100dvh}button,textarea{font:inherit}button{min-height:44px;border:0;border-radius:12px;padding:10px 18px;background:#292722;color:#faf9f5;cursor:pointer}button:hover:not(:disabled){background:#995336}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #a45e3b;outline-offset:3px}.secondary{background:#e9e3d6;color:#292722}.desk-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 24px}.brand{display:flex;align-items:center;gap:10px}.brand strong{font-size:17px}.brand span{display:block;color:var(--muted);font-size:11px;margin-top:2px}.controls{display:flex;align-items:center;gap:12px}.controls>span{color:var(--muted);font-size:12px;margin-right:4px}main{max-width:1680px;margin:auto;padding:8px 24px 0}#stage{position:relative;background:#ddd7c9;height:calc(100dvh - 146px);min-height:300px;width:100%;overflow:hidden;border-radius:18px;border:1px solid #c8c1b2}iframe{width:100%;height:100%;border:0;display:block}iframe[hidden]{display:none}#guard{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;background:transparent;pointer-events:all;z-index:2}#guard p{color:#faf9f5;background:#292722ed;padding:10px 18px;margin:20px;border-radius:20px;line-height:1.6;text-align:center;font-size:12px;max-width:calc(100% - 40px)}#guard[hidden]{display:none}#cursor{position:absolute;z-index:3;pointer-events:none}#cursor.clicked:before{content:"";position:absolute;width:34px;height:34px;left:-17px;top:-17px;border:2px solid #f7c879;border-radius:50%;animation:click .4s ease-out forwards}#error{color:#963d32;min-height:18px;font-size:13px;margin:6px 0}footer{color:var(--muted);font-size:11px;text-align:center;padding:0 16px 12px;line-height:1.7}#conversation{position:fixed;right:40px;bottom:75px;width:352px;max-height:70dvh;display:flex;flex-direction:column;background:#fcfaf5;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 40px #29272220;z-index:5;overflow:hidden}#chat-toggle{background:transparent;color:#292722;border-radius:0;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;flex:none;padding:12px 15px}#chat-toggle>span:first-child{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}#chat-toggle-label{font-size:12px;color:var(--muted)}#chat-body{display:flex;flex-direction:column;min-height:0;max-height:calc(70dvh - 52px)}#chat-body[hidden]{display:none}#jobs{overflow:auto;padding:8px 18px;min-height:130px;max-height:44dvh;scrollbar-width:thin;scrollbar-color:#c0b7a8 transparent}.chat-empty{color:var(--muted);font-size:13px;line-height:1.8;margin:16px 0 28px}.job{margin:12px 0 24px}.job h2{font-size:13px;font-weight:400;background:#eae3d6;padding:10px 12px;border-radius:12px 12px 3px 12px;margin:0 0 13px 24px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.job-status{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.job-status button{font-size:11px;min-height:36px;padding:5px 8px;background:transparent;color:#935038}.job p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.job a{display:block;font-size:12px;line-height:1.7;padding:7px 0;color:#955537;overflow-wrap:anywhere;text-underline-offset:3px}#task-form{border-top:1px solid var(--line);margin:4px 14px 0;padding-top:8px;flex:none}#task-input{resize:none;display:block;width:100%;border:0;border-radius:8px;color:#292722;background:transparent;padding:9px 4px;font-size:13px;line-height:1.7;max-height:120px}#task-input::placeholder{color:var(--muted)}#task-form>div{display:flex;align-items:center;justify-content:space-between;padding:0 0 10px;gap:8px}#task-state{font-size:11px;color:var(--muted)}#send{font-size:12px;min-height:38px;padding:8px 17px;border-radius:11px}#task-error{color:#963d32;font-size:12px;line-height:1.6;margin:0 16px 8px}::selection{background:#e6d1b6;color:#292722}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes click{from{transform:scale(.3);opacity:1}to{transform:scale(1.4);opacity:0}}
@media(max-width:700px){.desk-header{padding:12px;gap:8px}.brand strong{font-size:15px}.brand img{width:28px;height:28px}.controls{gap:6px;flex-wrap:wrap;justify-content:flex-end}.controls>span{flex-basis:100%;text-align:right;margin:0;font-size:11px}.controls button{min-height:38px;padding:8px 12px;font-size:12px}main{padding:4px 10px 0}#stage{border-radius:12px;height:calc(100dvh - 155px);min-height:280px}#conversation{right:18px;bottom:67px;width:min(340px,calc(100vw - 36px));max-height:65dvh}#chat-body{max-height:calc(65dvh - 52px)}#jobs{max-height:36dvh}#guard p{font-size:11px;margin:10px;padding:7px 12px}footer{font-size:10px}}
@media(prefers-reduced-motion:reduce){#cursor.clicked:before{animation:none;opacity:.65}}
.prompt-reaction{display:block;text-align:right;font-size:19px;margin:-8px 4px 10px}.prompt-reaction:empty{display:none}.reaction-options{display:flex;gap:4px;margin-top:8px}.reaction-options[hidden]{display:none}.reaction-options button{font-size:18px;padding:6px;min-width:38px;min-height:38px;background:transparent;color:inherit}.reaction-options button[aria-pressed=true]{background:#eae3d6}.reaction-options button:hover{background:#eee9dd!important}#bot-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
