.agent-activity{border:1px solid var(--ws-border,#e2e5e8);background:var(--ws-bg,#fff);color:var(--ws-text,#222);border-radius:10px;margin:20px 0;font-size:12px;overflow:hidden}.agent-activity>header{border-bottom:1px solid var(--ws-border,#e5e5e5);justify-content:space-between;align-items:center;gap:10px;padding:14px;font-weight:500;display:flex}.agent-activity>header>span,.agent-activity>header button{align-items:center;gap:7px;display:flex}.agent-activity>header button{border:1px solid var(--ws-border,#ddd);border-radius:5px;padding:5px 7px;font-size:10px}.agent-budget{color:var(--ws-muted,#757575);background:var(--ws-raised,#f9fafb);justify-content:space-between;gap:10px;padding:10px 14px;font-size:10px;display:flex}.agent-event-list{overscroll-behavior:contain;max-height:350px;overflow:auto}.agent-event{border-bottom:1px solid var(--ws-border,#ececec);padding:13px 14px}.agent-event-kind{text-transform:uppercase;letter-spacing:1px;color:var(--ws-muted,#777);align-items:center;gap:6px;margin-bottom:6px;font-size:9px;display:flex}.agent-event p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}.agent-event pre{white-space:pre-wrap;word-break:break-word;max-height:160px;font-size:10px;line-height:1.6;overflow:auto}.agent-event code{overflow-wrap:anywhere;font-size:11px;display:block}.agent-event small{color:var(--ws-muted,#777);overflow-wrap:anywhere;margin-top:7px;font-size:10px;display:block}.agent-summary{white-space:pre-wrap;padding:14px;font-size:12px;line-height:1.6}.agent-error{color:var(--ws-danger,#a34432);align-items:flex-start;gap:8px;padding:14px;font-size:12px;line-height:1.5;display:flex}.agent-error svg{flex-shrink:0}.agent-download{border-top:1px solid var(--ws-border,#eee);text-align:left;align-items:center;gap:7px;width:100%;padding:12px 14px;font-size:11px;display:flex}.agent-controls{color:var(--ws-muted,#6c7179);flex-wrap:wrap;gap:9px 13px;padding:13px 3px 0;font-size:10px;display:flex}.agent-controls label{align-items:center;gap:5px;display:flex}.agent-controls input[type=number]{width:48px;color:var(--ws-text,#222);border:1px solid var(--ws-border,#ddd);background:var(--ws-bg,#fff);font:inherit;border-radius:4px;padding:4px 6px}.agent-controls input[type=checkbox]{accent-color:#798892}.agent-controls small{width:100%;font-size:10px;line-height:1.5}.start-admin-link{color:var(--ws-text,#222);align-items:center;gap:8px;padding:10px 14px;font-size:12px;display:flex}
.workspace-theme .workspace-studio-shell{--studio-nav-width:260px;--start-left-base:var(--studio-nav-width);grid-template-columns:calc(var(--studio-nav-width) + var(--start-left-offset,0px)) minmax(0,1fr);background:var(--ws-bg,#fff);grid-template-rows:minmax(0,1fr);min-height:0}.workspace-theme .workspace-studio-shell>.start-main{grid-area:1/2;min-height:0;overflow:hidden}.workspace-theme .workspace-studio-shell>.start-left{background:var(--ws-bg,#fff);grid-area:1/1;padding:20px 12px 14px}.workspace-studio-shell>.start-mobile-header,.workspace-studio-shell>.start-right,.workspace-studio-shell>.start-resize-settings{display:none}.workspace-theme .workspace-studio-shell .start-sidebar-brand{margin-bottom:24px;padding:0 8px}.workspace-theme .workspace-studio-shell .brand>span{letter-spacing:-.9px;font-size:23px}.workspace-theme .workspace-studio-shell .brand>svg{width:23px;height:23px}.workspace-theme .workspace-studio-shell .start-new-project{background:var(--ws-bg,#fff);border-radius:8px;height:40px;min-height:40px;font-weight:500;box-shadow:0 1px 2px #00000007}.workspace-theme .workspace-studio-shell .start-nav{gap:3px;margin-top:20px}.workspace-theme .workspace-studio-shell .start-nav>:is(button,a){border-radius:7px;padding:10px;font-size:14px;font-weight:400}.workspace-theme .workspace-studio-shell .start-recent{margin-top:30px;padding:0 4px}.workspace-theme .workspace-studio-shell .start-section-label{letter-spacing:0;text-transform:none;margin-bottom:10px;font-size:12px;font-weight:550}.workspace-theme .workspace-studio-shell .recent-chats{gap:2px;margin-bottom:28px}.workspace-theme .workspace-studio-shell .recent-chat-row:has([aria-current=page]){background:var(--ws-hover,#eee)}.workspace-theme .workspace-studio-shell .recent-chat-open{padding:10px 7px;font-size:13px}.workspace-theme .workspace-studio-shell .recent-chat-open>svg:first-child{stroke-width:1.4px;width:13px;height:13px}.workspace-theme .workspace-studio-shell .start-account-area{margin-top:18px;padding-top:14px}.workspace-theme .workspace-studio-shell .start-account-tools{margin-bottom:12px}.workspace-theme .workspace-studio-shell .start-account{margin-bottom:0}.workspace-theme .workspace-studio-shell .start-account strong{font-size:12px;font-weight:500}.workspace-theme .studio-editor{--studio-chat-width:clamp(300px,28vw,400px);grid-template-columns:calc(var(--studio-chat-width) + var(--chat-offset,0px)) minmax(0,1fr);grid-template-rows:56px minmax(0,1fr);height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.workspace-theme .studio-editor>.workspace-header{border-right:1px solid var(--ws-border);background:var(--ws-bg);grid-area:1/1;gap:8px;height:56px;min-height:56px;padding:0 15px}.studio-editor .workspace-header-left{flex:1;gap:9px;min-width:0}.studio-editor .workspace-header-left>svg{flex-shrink:0}.workspace-theme .studio-editor .project-name{flex:1;min-width:0;max-width:none}.workspace-theme .studio-editor .project-name input{letter-spacing:-.2px;border:0;border-radius:0;width:100%;padding:6px 0;font-size:14px;font-weight:500}.studio-editor .chat-heading-actions{gap:1px}.studio-editor .chat-heading-actions .icon-button{border-radius:6px;width:28px;min-width:28px;height:30px;min-height:30px}.workspace-theme .studio-editor>.workspace-main{display:contents}.workspace-theme .studio-editor .workspace-chat{border-right:1px solid var(--ws-border);background:var(--ws-bg);width:auto;min-width:0;box-shadow:none;grid-area:2/1;animation:none;position:relative;inset:auto}.workspace-theme .studio-editor .workspace-chat-scroll{scrollbar-width:thin;scrollbar-color:var(--ws-border) transparent;padding:30px 24px 14px}.workspace-theme .studio-editor .workspace-message{letter-spacing:0;max-width:100%;margin-bottom:26px;font-size:14px;line-height:1.8}.workspace-theme .studio-editor .message-user{width:fit-content;max-width:90%;box-shadow:none;background:0 0;border:0;border-radius:0;margin-left:auto;padding:0}.workspace-theme .studio-editor .message-user>div{background:var(--ws-raised);box-shadow:none;white-space:pre-wrap;overflow-wrap:anywhere;border:0;border-radius:16px;padding:9px 14px}.workspace-theme .studio-editor .message-assistant{gap:0;padding:0}.workspace-theme .studio-editor .message-assistant>.chat-avatar{display:none}.workspace-theme .studio-editor .message-assistant>div{white-space:pre-wrap;overflow-wrap:anywhere;background:0 0;border:0;padding:0}.workspace-theme .studio-editor .workspace-chat-bottom{background:var(--ws-bg);border:0;padding:12px 12px 14px}.workspace-theme .studio-editor .workspace-composer{border:1px solid var(--ws-border-strong);box-shadow:none;border-radius:12px;grid-template-columns:28px minmax(0,1fr) auto 32px;align-items:end;gap:5px;padding:9px;display:grid}.workspace-theme .studio-editor .workspace-composer:focus-within{border-color:var(--ws-border-strong);box-shadow:none;outline:0}.workspace-theme .studio-editor .workspace-composer textarea{resize:none;scrollbar-width:thin;grid-area:1/2;height:32px;min-height:32px;max-height:152px;padding:5px 0;font-size:14px;line-height:22px;overflow-y:auto}.studio-editor #workspace-references{grid-area:2/1/auto/-1;min-width:0}.studio-editor #workspace-references:empty{display:none}.studio-editor .workspace-composer-footer,.studio-editor .workspace-composer-tools{display:contents}.studio-editor .workspace-composer .composer-tools{grid-area:1/1;align-self:end}.workspace-theme .studio-editor .composer-add-button{width:28px;height:32px;box-shadow:none;background:0 0;border:0;padding:0}.studio-editor .composer-mode{background:0 0;border:0;grid-area:1/3;gap:0;padding:0}.studio-editor .composer-mode>.build-level-select{min-width:0}.workspace-theme .studio-editor .composer-mode .build-level-trigger{background:0 0;border:0;gap:5px;min-height:32px;padding:4px 3px;font-size:12px}.studio-editor .composer-mode .build-level-trigger>svg:first-child{width:14px;height:14px}.workspace-theme .studio-editor .workspace-composer-footer>button{width:32px;height:32px;min-height:32px;box-shadow:none;background:var(--ws-accent);color:var(--ws-on-accent);border-radius:7px;grid-area:1/4;transform:none}.workspace-theme .studio-editor .workspace-composer-footer>button:disabled{opacity:.45}.workspace-theme .studio-editor .chat-project-context:not(.sr-only){padding:10px 16px;font-size:12px}.workspace-theme .studio-editor .development-editor{background:var(--ws-bg);flex-direction:column;grid-area:1/2/3;width:auto;min-height:0;display:flex}.workspace-theme .studio-editor .ide-toolbar{background:var(--ws-bg);flex-wrap:nowrap;gap:8px;height:56px;min-height:56px;padding:0 14px}.studio-editor .ide-toolbar-right{justify-content:flex-end;align-items:center;gap:10px;min-width:0;margin-left:auto;display:flex}.studio-editor .ide-views{gap:3px}.workspace-theme .studio-editor .ide-views button{border-radius:8px;min-height:33px;padding:7px 11px;font-size:13px;font-weight:400}.workspace-theme .studio-editor .ide-views button.active{background:var(--ws-hover);font-weight:500}.studio-editor .ide-run-actions.is-empty{display:none}.workspace-theme .studio-editor .ide-run-actions>button:first-child{color:var(--ws-text);background:0 0;padding:7px}.studio-editor-actions{align-items:center;gap:7px;display:flex}.workspace-theme .studio-editor .studio-editor-actions button{border:1px solid var(--ws-border);background:var(--ws-bg);white-space:nowrap;border-radius:7px;min-width:32px;height:33px;min-height:33px;padding:6px 9px;font-size:12px}.workspace-theme .studio-editor .studio-editor-actions .studio-share{background:var(--ws-accent);color:var(--ws-on-accent);border-color:var(--ws-accent);padding:6px 11px;font-size:13px}.workspace-theme .studio-editor .ide-preview-toolbar{background:var(--ws-bg);border-bottom:1px solid var(--ws-border);justify-content:center;align-items:center;height:48px;min-height:48px;padding:8px 14px;display:flex;position:relative}.studio-editor .ide-preview-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.studio-editor .ide-preview-address{border:1px solid var(--ws-border);border-radius:7px;justify-content:space-between;align-items:center;width:min(70%,560px);height:30px;padding:0 7px 0 13px;font-size:13px;display:flex}.studio-editor .ide-preview-address button{width:26px;height:26px;padding:0}.studio-editor .ide-preview-toolbar>.ide-preview-address+div{gap:3px;display:flex;position:absolute;right:12px}.workspace-theme .studio-editor .ide-preview-toolbar button{width:26px;min-width:26px;height:28px;padding:0}.studio-editor .ide-refresh-state{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.workspace-theme .studio-editor .ide-preview-stage{background:var(--ws-bg);flex:1;min-height:0;padding:0}.workspace-theme .studio-editor .ide-preview-stage>iframe{box-shadow:none;background:#fff;border:0;border-radius:0}.studio-editor .ide-legacy-preview,.studio-editor .ide-legacy-preview>div{height:100%;min-height:0}.workspace-theme .studio-editor .project-pending-preview{background:var(--ws-bg);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:22px;height:100%;min-height:180px;padding:24px;display:flex}.studio-editor .project-pending-preview>svg{width:62px;height:62px;color:var(--ws-text);opacity:1}.workspace-theme .studio-editor .project-pending-preview>p{max-width:320px;color:var(--ws-text);margin:0;font-size:15px;font-weight:400;line-height:1.6}.workspace-theme .studio-editor .ide-status{background:var(--ws-bg);border-top:1px solid var(--ws-border);font-size:10px}.workspace-theme .studio-editor .development-editor[data-has-source=false]>.ide-status{display:none}.studio-editor .workspace-api-error{z-index:30;width:calc(var(--studio-chat-width) + var(--chat-offset,0px));position:absolute;top:56px;left:0}.workspace-theme .studio-editor.workspace-expanded{grid-template-columns:minmax(0,1fr)}.workspace-theme .studio-editor.workspace-expanded>.workspace-header{display:none}.workspace-theme .studio-editor.workspace-expanded .development-editor{grid-column:1}.workspace-studio-shell .studio-mobile-view{display:none}.build-level-menu.is-compact-menu{box-shadow:var(--ws-popover-shadow,0 8px 28px #0002);border-radius:10px;padding:5px}.build-level-menu.is-compact-menu .build-level-menu-heading{padding:9px 10px;font-size:12px;font-weight:550}.build-level-menu.is-compact-menu .build-level-option{border-radius:6px;gap:10px;padding:9px 10px}.build-level-menu.is-compact-menu .build-level-option strong{font-size:13px;font-weight:500}.build-level-menu.is-compact-menu .build-level-option small{margin-top:2px;font-size:11px}.build-level-menu.is-compact-menu .build-level-option>svg{width:16px;height:16px}@media (min-width:1650px){.workspace-theme .workspace-studio-shell{--studio-nav-width:280px}}@media (min-width:1001px) and (max-width:1250px){.workspace-theme .workspace-studio-shell{--studio-nav-width:220px}.studio-editor-actions .studio-save-project>span{display:none}.workspace-theme .studio-editor .ide-views button{padding:7px}}@media (max-width:1100px){.studio-editor .ide-run-actions>button>span{display:none}.studio-editor .ide-toolbar-right,.studio-editor .studio-editor-actions{gap:4px}.workspace-theme .studio-editor .studio-editor-actions button{padding:5px 7px}.studio-editor-actions .studio-save-project>span{display:none}}@media (max-width:1000px){.workspace-theme .workspace-studio-shell{grid-template-rows:52px minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.workspace-theme .workspace-studio-shell>.start-main{grid-area:2/1}.workspace-theme .workspace-studio-shell>.start-left{z-index:80;width:280px;max-width:85vw;display:none;position:fixed;top:0;bottom:0;left:0;box-shadow:10px 0 36px #0002}.workspace-theme .workspace-studio-shell>.start-left.is-open{display:flex}.workspace-studio-shell>.start-mobile-header{grid-area:1/1;justify-content:flex-start;align-items:center;gap:12px;padding:8px 14px;display:flex}.workspace-studio-shell>.start-mobile-header>.brand,.workspace-studio-shell>.start-mobile-header>button:first-child{display:flex}.workspace-studio-shell>.start-mobile-header .brand>span{font-size:21px}.workspace-studio-shell>.start-mobile-header>.workspace-theme-toggle{margin-left:auto;display:flex}.workspace-studio-shell .start-sidebar-close{display:block}.workspace-studio-shell>.start-sidebar-backdrop{z-index:70;background:#0005;display:block;position:fixed;inset:0}.workspace-studio-shell>.start-resize-navigation{display:none}}@media (max-width:760px){.workspace-studio-shell .studio-mobile-view{align-items:center;gap:6px;margin-left:auto;font-size:13px;display:flex;visibility:visible!important}.workspace-theme .studio-editor{flex-direction:column;height:100%;min-height:0;display:flex}.workspace-theme .studio-editor>.workspace-header{border-right:0;flex-shrink:0;height:48px;min-height:48px;padding:0 15px}.workspace-theme .studio-editor .workspace-chat{width:100%;min-height:0;box-shadow:none;border:0;flex:1;display:none;position:relative;inset:auto}.workspace-theme .studio-editor.mobile-chat-view .workspace-chat{display:flex}.workspace-theme .studio-editor.mobile-chat-view .development-editor,.workspace-theme .studio-editor:not(.mobile-chat-view)>.workspace-header{display:none}.workspace-theme .studio-editor .development-editor{flex:1;width:100%;min-height:0;display:flex}.workspace-theme .studio-editor .workspace-chat-scroll{padding:24px 20px 12px}.workspace-theme .studio-editor .workspace-chat-bottom{padding:10px 12px max(12px,env(safe-area-inset-bottom))}.workspace-theme .studio-editor .workspace-composer textarea{font-size:16px}.workspace-theme .studio-editor .ide-toolbar{flex-wrap:wrap;gap:6px;height:auto;min-height:49px;padding:7px 9px}.studio-editor .ide-toolbar-right{margin-left:auto}.workspace-theme .studio-editor .ide-views button{padding:6px 8px;font-size:12px}.workspace-theme .studio-editor .ide-preview-toolbar{height:44px;min-height:44px}.studio-editor .ide-preview-address{width:62%;margin-right:50px}.studio-editor .workspace-api-error{flex-shrink:0;width:auto;position:relative;top:auto}.workspace-theme .studio-editor .toast{max-width:calc(100vw - 30px);font-size:12px;bottom:82px}}.studio-editor .skeleton-studio-composer{align-items:center;min-height:52px}.studio-editor .skeleton-studio-composer>.skeleton-block{grid-row:1}.studio-editor .skeleton-studio-composer>.skeleton-block:nth-child(2){grid-column:2}.studio-editor .skeleton-studio-composer>.skeleton-block:nth-child(3){grid-column:3}.studio-editor .skeleton-studio-composer>.skeleton-block:nth-child(4){grid-column:4}.studio-editor .skeleton-development-editor .ide-views button{display:flex}.workspace-studio-shell .skeleton-studio-theme{flex-shrink:0;margin-left:auto}.studio-editor .skeleton-studio-composer>:first-child{grid-area:1/1;justify-self:center}.studio-editor .skeleton-studio-composer>.skeleton-studio-level{grid-area:1/3;align-items:center;gap:5px;height:32px;display:flex}.studio-editor .skeleton-studio-send{background:var(--ws-hover);width:32px;height:32px;color:var(--ws-text);border-radius:7px;grid-area:1/4;place-items:center;display:grid}.workspace-studio-shell .skeleton-studio-theme{place-items:center;width:32px;height:32px;display:grid}.workspace-theme .studio-editor .ide-preview-stage>iframe{width:100%;max-width:100%}.workspace-theme .studio-editor .ide-device-mobile>iframe{width:min(100%,390px)}@media (prefers-reduced-motion:no-preference){.workspace-theme .studio-editor .ide-preview-stage>iframe{transition:width .32s cubic-bezier(.22,1,.36,1)}.workspace-theme .studio-editor .ide-preview-address{transition:width .24s cubic-bezier(.22,1,.36,1)}.workspace-theme .workspace-studio-shell:not(.page-skeleton)>.start-main{animation:.26s cubic-bezier(.22,1,.36,1) studio-desktop-enter}.workspace-theme .workspace-studio-shell:not(.page-skeleton)>.start-left{animation:.24s cubic-bezier(.22,1,.36,1) studio-navigation-enter}.workspace-theme .studio-editor .ide-views button,.workspace-theme .studio-editor .studio-mobile-view{transition:background-color .16s,color .16s}}@keyframes studio-desktop-enter{0%{opacity:.65;transform:translate(6px)}to{opacity:1;transform:none}}@keyframes studio-navigation-enter{0%{opacity:.5;transform:translate(-8px)}to{opacity:1;transform:none}}@keyframes studio-tablet-enter{0%{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes studio-chat-enter{0%{opacity:.55;transform:translate(-8px)}to{opacity:1;transform:none}}@keyframes studio-preview-enter{0%{opacity:.55;transform:translate(8px)}to{opacity:1;transform:none}}@keyframes studio-backdrop-enter{0%{opacity:0}to{opacity:1}}@media (max-width:1000px) and (prefers-reduced-motion:no-preference){.workspace-theme .workspace-studio-shell:not(.page-skeleton)>.start-main{animation-name:studio-tablet-enter}.workspace-theme .workspace-studio-shell:not(.page-skeleton)>.start-left{opacity:0;transition:opacity .22s ease,transform .26s cubic-bezier(.22,1,.36,1),display .26s allow-discrete;animation:none;transform:translate(-20px)}.workspace-theme .workspace-studio-shell>.start-left.is-open{opacity:1;transform:none}@starting-style{.workspace-theme .workspace-studio-shell>.start-left.is-open{opacity:0;transform:translate(-20px)}}.workspace-studio-shell>.start-sidebar-backdrop{animation:.18s ease-out studio-backdrop-enter}}@media (max-width:760px) and (prefers-reduced-motion:no-preference){.workspace-theme .workspace-studio-shell:not(.page-skeleton)>.start-main{animation:none}.workspace-theme .studio-editor.mobile-chat-view .workspace-chat{animation:.24s cubic-bezier(.22,1,.36,1) studio-chat-enter}.workspace-theme .studio-editor:not(.mobile-chat-view) .development-editor{animation:.24s cubic-bezier(.22,1,.36,1) studio-preview-enter}.workspace-theme .page-skeleton .studio-editor .workspace-chat,.workspace-theme .page-skeleton .studio-editor .development-editor{animation:none}}@media (prefers-reduced-motion:reduce){.workspace-theme .studio-editor .ide-preview-stage>iframe{transition:none}}
