.agent-workspace{--agent-accent:var(--download-action-background,#d5ff02);--agent-surface:var(--generator-field-background);--agent-muted:#85888f;background:var(--generator-workspace-background);color:#ededee;flex-direction:column;flex:1;min-height:0;font-size:14px;display:flex}.agent-workspace button,.agent-workspace a,.agent-workspace select{cursor:pointer}.agent-workspace button:disabled{cursor:not-allowed;opacity:.4}.agent-workspace :is(button,a,select,textarea,input):focus-visible{background-color:var(--generator-field-hover);outline:none}.agent-header{background:var(--generator-panel-background);border:0;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;height:56px;padding:0 20px;display:flex}.agent-header-identity,.agent-header-actions{align-items:center;gap:12px;min-width:0;display:flex}.agent-header-identity>span:nth-child(2){white-space:nowrap;letter-spacing:.025em;font-size:18px;font-weight:700}.agent-logo-mark{color:var(--agent-accent)}.agent-header-divider{display:none}.agent-project-title{text-overflow:ellipsis;white-space:nowrap;color:#909198;max-width:340px;font-size:14px;overflow:hidden}.agent-header-actions{flex-shrink:0;gap:8px}.agent-history-trigger,.agent-new-button{color:#ddd;background:#ffffff07;border:0;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;font-size:14px;transition:background .2s,color .2s;display:inline-flex}.agent-history-trigger:hover,.agent-history-trigger.active,.agent-new-button:hover{background:#ffffff0c}.agent-body{flex:1;min-height:0;display:flex;position:relative;overflow:hidden}.agent-panel-handle{background:0 0;width:8px;transition:background .2s}.agent-panel-handle:hover,.agent-panel-handle[data-resize-handle-active]{background:#ffffff03}.agent-canvas{background:var(--generator-preview-background);width:100%;height:100%;position:relative;overflow:hidden}.agent-canvas>canvas{width:100%;height:100%}.agent-canvas-toolbar{z-index:2;pointer-events:none;justify-content:flex-end;align-items:center;gap:12px;display:flex;position:absolute;inset:18px 20px auto}.agent-canvas-toolbar>*{pointer-events:auto}.agent-icon-button{color:#90939a;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;transition:color .2s,background .2s;display:inline-flex}.agent-icon-button:hover{color:#eee;background:#ffffff0a}.agent-empty-canvas{isolation:isolate;text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:40px;display:flex;position:absolute;inset:0}.agent-empty-canvas:before{content:"";z-index:-1;aspect-ratio:1;background:radial-gradient(#d5ff0205,#0000 65%);width:75%;position:absolute}.agent-grid-plane{z-index:-1;pointer-events:none;background-image:linear-gradient(#ffffff03 1px,#0000 1px),linear-gradient(90deg,#ffffff03 1px,#0000 1px);background-size:44px 44px;position:absolute;inset:38% -40% -60%;transform:perspective(500px)rotateX(56deg)rotate(-30deg);-webkit-mask-image:radial-gradient(#0008,#0000 65%);mask-image:radial-gradient(#0008,#0000 65%)}.agent-build-symbol{opacity:.85;filter:drop-shadow(0 10px 24px #0003);width:clamp(120px,13vw,168px);margin-bottom:24px}.agent-eyebrow{letter-spacing:1.6px;color:#6b7364;margin-bottom:15px;font-size:11px;font-weight:600}.agent-empty-canvas h2{letter-spacing:-.8px;color:#bec3bd;font-size:clamp(18px,1.5vw,23px);font-weight:450}.agent-empty-canvas p{color:#686d74;text-wrap:balance;max-width:320px;margin-top:11px;font-size:14px;line-height:1.9}.agent-canvas-footer{letter-spacing:.7px;color:#72767c;pointer-events:none;justify-content:space-between;gap:12px;font-size:11px;display:flex;position:absolute;inset:auto 20px 16px}.agent-preview-loading{z-index:3;pointer-events:none;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1012161a;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.agent-build-loading{z-index:30;pointer-events:auto;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#10121633}.agent-preview-loading-card{-webkit-backdrop-filter:blur(20px)saturate(130%);backdrop-filter:blur(20px)saturate(130%);color:#e1e5eb;background:#292d3599;border-radius:16px;align-items:center;gap:10px;max-width:100%;padding:16px 20px;font-size:13px;line-height:1.5;display:flex;box-shadow:0 12px 40px #0003,inset 0 1px #ffffff0a}.agent-preview-loading-card>svg{flex-shrink:0}.agent-preview-error{z-index:3;color:#f0c59c;background:#1c1f24ee;border-radius:8px;align-items:center;gap:9px;padding:12px 16px;font-size:14px;display:flex;position:absolute;inset:60px 24px auto}.agent-preview-error button{margin-left:auto;text-decoration:underline}.agent-running-banner{z-index:2;color:#c8d0b4;white-space:nowrap;background:#191d16f5;border:0;border-radius:10px;align-items:center;gap:10px;padding:13px 18px;font-size:14px;display:flex;position:absolute;bottom:54px;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #0003}.agent-running-banner span:last-child:not(:first-of-type){color:#808876;font-size:12px}.agent-conversation{background:var(--generator-panel-background);border-radius:0;flex-direction:column;height:100%;min-height:0;margin-right:0;display:flex;overflow:hidden}.agent-thread{flex:1;padding:12px 24px 28px}.agent-thread:has(.agent-welcome){align-items:center;display:flex}.agent-welcome{width:100%;max-width:380px;margin:0 auto;padding:28px 0 36px}.agent-welcome h1{letter-spacing:-.6px;text-wrap:balance;margin:18px 0 12px;font-size:24px;font-weight:700}.agent-welcome>p{color:#91969f;max-width:340px;font-size:14px;line-height:1.75}.agent-suggestions{flex-direction:column;gap:3px;margin-top:26px;display:flex}.agent-suggestions button{color:#a5a9af;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;padding:12px 10px;font-size:14px;transition:background .18s,color .18s,transform .18s;display:flex}.agent-suggestions button:hover{color:#e0e4d7;background:#ffffff05;transform:translate(3px)}.agent-suggestions button>svg:first-child{opacity:.8;color:#a1a1aa;flex-shrink:0}.agent-suggestions button>svg:last-child{opacity:.3;margin-left:auto}.agent-composer-area{flex-shrink:0;padding:16px 18px 8px;position:relative}.agent-composer{border-radius:var(--generator-control-radius);background:var(--generator-field-background);box-shadow:none;border:0;flex-direction:column;transition:background .2s,box-shadow .2s;display:flex}.agent-composer:focus-within{background:var(--generator-field-hover);box-shadow:none}.agent-composer textarea{resize:none;color:#dddfe2;background:0 0;border:0;width:100%;min-height:88px;max-height:220px;padding:12px 12px 4px;font-size:14px;line-height:1.8;outline:none!important}.agent-composer textarea::placeholder{color:#6b7078}.agent-composer-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding:4px 6px 6px;display:flex}.agent-send-button{border-radius:var(--generator-control-radius);background:var(--agent-accent);color:#171c04;justify-content:center;align-items:center;gap:8px;height:32px;min-height:32px;padding:0 13px;font-size:14px;font-weight:700;display:flex}.agent-composer-toolbar .agent-icon-button{width:32px;height:32px}.agent-composer-toolbar>div{min-height:32px}.agent-send-button:disabled{color:#71717a;background:#2a2a2d;opacity:1!important}.agent-stop-button{color:#cacdd1;background:#ffffff0c;border-radius:7px;align-items:center;gap:6px;height:32px;padding:0 10px;font-size:13px;display:inline-flex}.agent-composer-note{color:#8a907c;margin-bottom:9px;font-size:12px;line-height:1.7}.agent-edit-context{color:#a3ae80;align-items:center;gap:6px;padding:0;font-size:12px;display:flex}.agent-attached-files{flex-wrap:wrap;gap:10px;margin-bottom:10px;padding:5px 5px 0;display:flex}.agent-attached-files>span{background:var(--generator-panel-background);border-radius:9px;flex-shrink:0;width:64px;height:64px;display:block;position:relative}.agent-attached-files img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.agent-attached-files button{color:#fafafa;cursor:pointer;background:#3f3f46;border:0;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:-5px;right:-5px}.agent-attached-files button:hover:not(:disabled){background:#52525b}.agent-attached-files button:disabled{opacity:.5}.agent-turn{margin:13px 0 30px}.agent-message-meta{color:#757a82;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;display:flex}.agent-user-message{background:var(--generator-field-background);color:#d1d4da;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;padding:13px 15px;font-size:14px;line-height:1.75}.agent-reply-heading{color:#9da2aa;align-items:center;gap:7px;margin:22px 0 12px;font-size:13px;display:flex}.agent-delivery-card{background:var(--generator-field-background);border:0;border-radius:12px;padding:14px 16px}.agent-delivery-card.selected{background:var(--generator-field-hover)}.agent-delivery-title{text-align:left;cursor:pointer;align-items:center;gap:8px;width:100%;display:flex}.agent-delivery-title>span:first-child{color:var(--agent-accent);display:flex}.agent-delivery-title strong{font-size:14px;font-weight:500}.agent-delivery-title>span:last-child{color:#747c6e;margin-left:auto;font-size:12px}.agent-delivery-title:hover strong{color:#fff}.agent-delivery-title:focus-visible{outline:2px solid var(--agent-accent);outline-offset:4px;border-radius:3px}.agent-delivery-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;margin-top:12px;display:flex}.agent-metrics{color:#959ca4;flex-wrap:wrap;gap:5px 8px;font-size:11px;display:flex}.agent-metrics span+span:before{content:"·";color:#656c76;margin-right:8px}.agent-delivery-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.agent-delivery-actions>button{color:#b7bdc4;align-items:center;gap:5px;font-size:12px;display:inline-flex}.agent-usage{color:#656c76;align-items:center;gap:5px;margin-top:11px;padding-left:2px;font-size:11px;display:flex}.agent-progress-card{background:#d5ff0203;border:0;border-radius:9px;padding:15px}.agent-progress-card>div:first-child{color:#c1c9b0;align-items:center;gap:8px;font-size:14px;display:flex}.agent-progress-card strong{font-weight:400}.agent-progress-track{background:#ffffff08;border-radius:3px;height:3px;margin:16px 0 12px;overflow:hidden}.agent-progress-track>div{background:#a8bd66;height:100%;transition:width 1s}.agent-progress-card>p{color:#7a8271;font-size:12px;line-height:1.7}.agent-inline-error{color:#e2ad92;overflow-wrap:anywhere;background:#d67d4c09;border-radius:7px;margin-bottom:10px;padding:10px;font-size:13px;line-height:1.7}.agent-inline-error button,.agent-attempt-error button{margin-top:7px;text-decoration:underline}.agent-attempt-error{color:#c8a994;gap:8px;font-size:13px;line-height:1.8;display:flex}.agent-attempt-error>svg{flex-shrink:0;margin-top:3px}.agent-attempt-error strong{font-weight:500}.agent-attempt-error p{color:#99918a;margin-top:3px}.agent-thread-loading{color:#91969e;align-items:center;gap:8px;padding-top:30px;font-size:14px;display:flex}.agent-reference-count{color:#737a82;align-items:center;gap:5px;padding-top:7px;font-size:11px;display:flex}.agent-history{z-index:20;will-change:transform, opacity;background:var(--generator-panel-background);border:0;border-radius:0;flex-direction:column;flex-shrink:0;width:232px;min-height:0;margin:0;padding:14px 9px;display:flex;position:absolute;inset:0 auto 0 0;box-shadow:18px 0 48px #0003}.agent-history-backdrop{z-index:19;cursor:default;background:#0003;position:absolute;inset:0}.agent-history-heading{justify-content:space-between;align-items:center;padding:0 7px 14px;display:flex}.agent-history-heading h2{color:#9c9fa6;font-size:13px;font-weight:500}.agent-history-item{color:#707981;border:0;border-radius:8px;gap:9px;margin-bottom:4px;padding:12px 10px;display:flex}.agent-history-item>svg{flex-shrink:0;margin-top:2px}.agent-history-item>span{min-width:0}.agent-history-item strong{text-overflow:ellipsis;white-space:nowrap;color:#a7abb2;font-size:13px;font-weight:450;display:block;overflow:hidden}.agent-history-item small{color:#606770;margin-top:5px;font-size:11px;display:block}.agent-history-item:hover{background:#ffffff04}.agent-history-item.active{color:#b9c28b;background:#d5ff0206}.agent-history-item.active strong{color:#ced2c0}.agent-history-footnote,.agent-history-empty{color:#676e78;padding:10px;font-size:12px;line-height:1.8}.agent-build-mode-link{color:#9ba38a;padding:7px 10px;font-size:12px}.agent-mobile-tabs{border:0;gap:8px;padding:8px 16px;display:flex}.agent-mobile-tabs button{color:#747b82;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;display:flex}.agent-mobile-tabs button.active{color:#d3d8c5;background:#ffffff07}.agent-mobile-content{flex:1;min-width:0;min-height:0}@media (max-width:767px){.agent-conversation{border-radius:0;height:100%;margin:0}.agent-thread:has(.agent-welcome){align-items:flex-start}.agent-header{height:54px;padding:0 14px}.agent-header-identity{gap:7px}.agent-header-divider,.agent-project-title,.agent-history-trigger>span,.agent-new-button>span{display:none}.agent-header-actions{gap:4px}.agent-header-identity>span:nth-child(2){font-size:13px}.agent-thread{padding:8px 18px 24px}.agent-welcome{padding-top:24px}.agent-welcome h1{font-size:23px}.agent-composer-area{padding:8px 12px 12px}.agent-history{width:min(280px,85%);box-shadow:20px 0 60px #0006}.agent-history-backdrop{background:#0008}.agent-build-symbol{width:128px}.agent-empty-canvas h2{font-size:22px}.agent-running-banner{white-space:normal;max-width:calc(100% - 32px)}}.agent-empty-canvas.is-building .agent-build-symbol{width:144px;margin-bottom:24px}.agent-empty-canvas.is-building{padding-bottom:96px}.agent-request-context,.agent-project-summary{color:#858d97;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:12px;display:flex}.agent-request-context{margin-top:8px}.agent-project-summary{justify-content:space-between;margin-bottom:9px}.agent-project-credits{white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}.agent-result-summary{color:#b8bec6;margin-bottom:14px;font-size:14px;line-height:1.75}.agent-design-notes{margin-bottom:16px}.agent-design-notes h3{color:#b8bec6;margin-bottom:8px;font-size:13px;font-weight:500}.agent-design-notes ul{padding-left:17px;list-style:outside}.agent-design-notes li{color:#929aa5;overflow-wrap:anywhere;margin-bottom:7px;font-size:13px;line-height:1.75}.agent-design-notes summary{cursor:pointer;color:#b6c48c;margin:9px 0;font-size:12px}.agent-delivery-title strong{overflow-wrap:anywhere}@media (prefers-reduced-motion:reduce){.agent-suggestions button{transition:none;transform:none}}.agent-select-trigger{border-radius:var(--generator-control-radius);min-height:40px}.agent-send-button:hover:not(:disabled){background:var(--download-action-hover)}.agent-activity{margin:0 0 20px}.agent-plan{background:var(--generator-field-background);border-radius:8px;padding:14px 16px}.agent-plan summary{cursor:pointer;justify-content:space-between;align-items:center;font-size:13px;list-style:none;display:flex}.agent-plan summary::-webkit-details-marker{display:none}.agent-plan summary>span{color:#a1a1aa;font-variant-numeric:tabular-nums;font-size:11px}.agent-plan p{color:#a1a1aa;margin:9px 0 12px;font-size:12px}.agent-plan ol{gap:11px;margin:0;padding:0;list-style:none;display:grid}.agent-plan li{color:#a1a1aa;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;display:flex}.agent-plan li[data-status=running]{color:#fafafa}.agent-plan li[data-status=completed] .agent-task-status{color:#d5ff02}.agent-task-status{color:#71717a;flex-shrink:0;justify-content:center;align-items:center;width:17px;height:19px;font-size:10px;display:inline-flex}.agent-inspections{margin-top:22px}.agent-inspections h3{font-size:13px;font-weight:600}.agent-inspections>p{color:#71717a;margin:6px 0 16px;font-size:11px;line-height:1.7}.agent-checkpoint{margin:0 0 18px}.agent-checkpoint-heading{align-items:baseline;gap:9px;margin-bottom:8px;font-size:12px;display:flex}.agent-checkpoint-heading>span{color:#71717a;font-variant-numeric:tabular-nums;font-size:10px}.agent-checkpoint-heading strong{font-weight:500}.agent-inspection-image{cursor:zoom-in;background:#121417;border-radius:8px;width:100%;display:block;overflow:hidden}.agent-inspection-image img{aspect-ratio:16/9;object-fit:contain;width:100%;transition:transform .2s;display:block}.agent-inspection-image:hover img{transform:scale(1.025)}.agent-inspection-caption{color:#71717a;justify-content:space-between;align-items:baseline;gap:8px;margin-top:7px;font-size:10px;display:flex}.agent-inspection-caption button,.agent-running-banner button{color:#d5ff02;cursor:pointer}.agent-inspection-pending{color:#a1a1aa;background:#121417;border-radius:8px;justify-content:center;align-items:center;gap:10px;min-height:150px;font-size:12px;display:flex}.agent-inspection-pending button{color:var(--agent-accent)}.agent-model-toggle{color:#b0b4bb;cursor:pointer;white-space:nowrap;border-radius:7px;align-items:center;gap:5px;height:32px;padding:0 6px;font-size:12px;display:inline-flex}.agent-model-toggle:hover:not(:disabled){color:#e4e4e7;background:#ffffff08}.agent-model-toggle:disabled{opacity:.5;cursor:default}.agent-model-toggle:focus-visible{background-color:var(--generator-field-hover);outline:none}.agent-java-version .agent-select-trigger{color:#96999f;background:0 0;gap:5px;height:32px;min-height:32px;padding:0 6px;font-size:12px}@media (max-width:767px){.agent-send-button>span{display:none}}.agent-core-avatar{isolation:isolate;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;display:inline-flex;position:relative}.agent-core-avatar.is-small{width:30px;height:30px}.agent-core-cube{filter:drop-shadow(0 2px 7px #c8ff3428);width:74%;height:74%;animation:5s ease-in-out infinite agent-core-float;overflow:visible}.agent-core-aura{z-index:-1;background:radial-gradient(#c9ff3426,#9a71ef14 45%,#0000 72%);border-radius:50%;animation:5s ease-in-out infinite agent-core-breathe;position:absolute;inset:4%}.agent-core-orbit{animation:16s linear infinite agent-core-orbit;position:absolute;inset:0}.agent-core-orbit i{background:#daff80;border-radius:1px;width:4px;height:4px;position:absolute;box-shadow:0 0 7px #c9ff3450}.agent-core-orbit i:first-child{top:8%;left:28%}.agent-core-orbit i:nth-child(2){background:#b398f5;top:58%;right:5%}.agent-core-orbit i:nth-child(3){width:2px;height:2px;bottom:5%;left:14%}.agent-core-spark{clip-path:polygon(50% 0,64% 36%,100% 50%,64% 64%,50% 100%,36% 64%,0 50%,36% 36%);background:#f0ffd1;width:5px;height:5px;position:absolute;top:3%;right:18%}.agent-core-avatar[data-state=thinking] .agent-core-orbit{animation-duration:3s}.agent-core-avatar[data-state=building] .agent-core-orbit{animation-duration:5s;animation-direction:reverse}.agent-core-avatar:is([data-state=thinking],[data-state=building]) .agent-core-signal{animation:1.2s ease-in-out infinite agent-core-breathe}.agent-core-avatar:is([data-state=complete],[data-state=error]) *{animation:none}.agent-core-avatar[data-state=error]{filter:saturate(.25);opacity:.65}.agent-core-avatar[data-state=complete] .agent-core-orbit{transform:rotate(24deg)}@keyframes agent-core-float{0%,to{transform:translateY(1px)}50%{transform:translateY(-2px)}}@keyframes agent-core-breathe{0%,to{opacity:.5}50%{opacity:1}}@keyframes agent-core-orbit{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.agent-core-avatar *{animation:none!important}}
