.studio-agent-launch{position:fixed;right:22px;bottom:22px;z-index:2147483000;min-height:48px;padding:0 20px;border:1px solid #c88759;border-radius:999px;background:#18253d;color:#ffe0c4;font:700 14px system-ui;box-shadow:0 8px 24px #0005;cursor:pointer}
.studio-agent-panel{position:fixed;right:20px;bottom:82px;z-index:2147483001;box-sizing:border-box;width:min(450px,calc(100vw - 24px));height:min(780px,calc(100dvh - 110px));display:flex;flex-direction:column;border:1px solid #42536c;border-radius:16px;background:#101b2f;color:#edf3ff;font:13px/1.65 system-ui;box-shadow:0 18px 60px #0009;overflow:hidden}
.studio-agent-panel[hidden],.studio-agent-panel [hidden]{display:none!important}.studio-agent-panel *{box-sizing:border-box}.studio-agent-panel header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px;border-bottom:1px solid #344059}.studio-agent-panel h2{margin:0;font-size:16px;color:#fff}.studio-agent-panel header p{margin:3px 0 0;color:#a9bad2;font-size:11px}
.studio-agent-panel button,.studio-agent-file{min-height:40px;padding:7px 12px;border:1px solid #52627d;border-radius:8px;background:#1e2c45;color:#edf3ff;font:inherit;cursor:pointer}.studio-agent-panel button:disabled{opacity:.5;cursor:default}.studio-agent-panel :focus-visible,.studio-agent-launch:focus-visible{outline:2px solid #9fc3ff;outline-offset:3px}
.studio-agent-capabilities{padding:8px 14px;border-bottom:1px solid #344059;font-size:11px;color:#b4c3da}.studio-agent-capabilities summary{min-height:28px;cursor:pointer}.studio-agent-capabilities p{margin:5px 0}.studio-agent-messages{flex:1;min-height:80px;overflow:auto;padding:14px;overscroll-behavior:contain}.studio-agent-message{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 12px;border-radius:10px;margin-bottom:10px;background:#192840}.studio-agent-message.user{background:#342c2b;border:1px solid #705140}.studio-agent-messages>p{color:#a9bad2}
.studio-agent-plan{max-height:200px;overflow:auto;padding:10px 14px;border-top:1px solid #344059;background:#132238}.studio-agent-plan ol{margin:0 0 8px;padding-left:22px}.studio-agent-plan li[aria-current]{color:#ffceaa}.studio-agent-status{margin:0;padding:6px 14px;min-height:26px;color:#a9d5c4;font-size:11px}.studio-agent-panel form{padding:0 14px 14px}.studio-agent-panel form>label{display:block;margin-bottom:5px;font-size:11px;color:#b4c3da}.studio-agent-panel textarea{width:100%;min-height:80px;max-height:160px;resize:vertical;padding:10px;border:1px solid #52627d;border-radius:9px;background:#081324;color:#edf3ff;font:inherit}.studio-agent-form-actions{display:flex;gap:8px;align-items:center;margin-top:7px}.studio-agent-file{position:relative;display:flex;align-items:center;font-size:11px}.studio-agent-file input{position:absolute;width:1px;height:1px;opacity:0}.studio-agent-form-actions button[type=submit]{margin-left:auto;background:#b7784d;color:#fff;border-color:#e0a16d}.studio-agent-auto{display:flex;gap:6px;align-items:center;padding:3px 14px;font-size:10px;color:#b4c3da}.studio-agent-attachment{padding:6px 14px;font-size:11px}.studio-agent-attachment button{min-height:32px;padding:2px 8px;margin-left:7px;font-size:10px}
@media(max-width:600px){.studio-agent-panel{right:8px;bottom:70px;width:calc(100vw - 16px);height:calc(100dvh - 86px)}.studio-agent-launch{right:12px;bottom:12px;min-height:46px}.studio-agent-panel button,.studio-agent-file{min-height:44px}.studio-agent-capabilities p{max-height:100px;overflow:auto}}

.studio-agent-file:focus-within{outline:2px solid #9fc3ff;outline-offset:3px}.studio-agent-panel [data-agent-login]{display:block;min-height:40px;margin:0 14px 6px;padding:8px 10px;border:1px solid #6d809c;border-radius:8px;color:#c7ddff;text-decoration:underline;font-size:12px}
