:root{color:#111;font-synthesis:none;text-rendering:geometricprecision;--black:#0b0b0b;--white:#fff;--paper:#f5f5f5;--paper-2:#eee;--muted:#707070;--muted-2:#aaa;--line:#111;--soft-line:#1111111f;--shadow-hard:4px 4px 0 #0b0b0b;--shadow-soft:0 24px 70px #00000029;--radius-sm:6px;--radius:10px;--radius-lg:12px;--page-max-width:1200px;--page-gutter:18px;background:#f5f5f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box;scrollbar-width:none;-ms-overflow-style:none}::-webkit-scrollbar{width:0;height:0;display:none}html,body,#root{min-width:320px;min-height:100vh;margin:0}body{background:radial-gradient(circle at 18% 10%, #00000014, transparent 30rem), linear-gradient(90deg, #00000009 1px, transparent 1px) 0 0 / 42px 42px, linear-gradient(#00000009 1px, transparent 1px) 0 0 / 42px 42px, var(--paper);overflow:hidden}button,input,textarea,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{color:inherit}.playground-shell{width:100%;max-width:calc(var(--page-max-width) + var(--page-gutter) * 2);height:100vh;padding:var(--page-gutter);grid-template-rows:auto 1fr auto;margin:0 auto;display:grid;position:relative}.persistent-view-host{display:contents}.persistent-view-host[hidden]{display:none}.view-loading{width:100%;height:100%;min-height:min(62vh,520px);color:var(--black);align-content:center;place-items:center;gap:12px;display:grid}.view-loading strong{font-size:.88rem;font-weight:950}.topbar{--topbar-icon-radius:7px;z-index:11;grid-template-columns:max-content minmax(0,1fr) max-content;justify-self:center;align-items:center;gap:14px;width:100%;min-height:46px;padding:0;display:grid}.brand,.topbar-center,.topbar-actions,.mode-tabs,.board-scope-tabs{align-items:center;gap:8px;display:inline-flex}.topbar-center{justify-content:center;justify-self:stretch;min-width:0}.brand{min-height:42px;color:var(--black);letter-spacing:-.045em;font-size:1.02rem;font-weight:950;text-decoration:none}.brand-version{border:1px solid var(--line);background:var(--white);min-height:24px;color:var(--muted);cursor:pointer;letter-spacing:0;border-radius:999px;flex:none;padding:2px 7px;font-size:.68rem;font-weight:900;line-height:1;transition:background .16s,color .16s,transform .16s}.brand-version:hover,.brand-version:focus-visible{background:var(--black);color:var(--white);outline:none;transform:translateY(-1px)}.brand-orb{border:2px solid var(--black);border-radius:var(--topbar-icon-radius,7px);background:var(--white);place-items:center;width:36px;height:36px;display:grid}.brand-orb svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4px;width:22px;height:22px}.mode-tabs,.canvas-toolbar,.prompt-console,.modal-card{border:2px solid var(--line);background:#fffffff0}.mode-tabs{border-radius:var(--radius);justify-self:center;padding:4px}.mode-tabs>button,.canvas-entry-button,.soft-chip,.round-tool,.tool-pill,.reference-uploader,.secondary-action,.primary-action,.text-button,.close-button,.scroll-top-button,.option-row,.select-card,.ratio-card,.custom-ratio-button,.custom-ratio,.send-button,.result-card a,.wall-icon{border:2px solid var(--line);background:var(--white);color:var(--black);cursor:pointer;transition:background .16s,color .16s,transform .16s,box-shadow .16s}.topbar-icon-row{border:2px solid var(--line);border-radius:var(--radius);background:#fffffff0;align-items:center;gap:2px;padding:4px;display:inline-flex}.topbar-icon-row:empty{display:none}.canvas-entry-button{border-radius:var(--topbar-icon-radius,7px);place-items:center;width:45px;height:45px;padding:0;display:grid;position:relative}.topbar-icon-row .canvas-entry-button{border-radius:var(--radius-sm);border-color:#0000;justify-content:center;align-items:center;gap:7px;width:auto;height:33px;padding:0 10px;display:inline-flex}.topbar-icon-row .canvas-entry-button svg{width:18px;height:18px}.topbar-icon-row .canvas-entry-button:focus-visible{outline:2px solid var(--white);outline-offset:-4px}.topbar-icon-row .canvas-entry-button+.canvas-entry-button:before{content:"";background:var(--line);width:1px;height:16px;position:absolute;top:50%;left:-1px;transform:translateY(-50%)}.topbar-icon-label{letter-spacing:-.02em;white-space:nowrap;font-size:.84rem;font-weight:900}.canvas-entry-button:hover,.canvas-entry-button:focus-visible{background:var(--black);color:var(--white);outline:none;transform:translate(-2px,-2px)}.canvas-entry-button.is-active,.canvas-entry-button.is-minimized{background:var(--black);color:var(--white)}.canvas-entry-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:22px;height:22px}.canvas-entry-button.is-generating svg{animation:1.4s ease-in-out infinite canvas-entry-pulse}.canvas-entry-badge{color:#fff;background:#dc2626;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:.62rem;font-weight:950;line-height:1;display:inline-grid}.topbar-icon-button:after{content:attr(data-tooltip);z-index:30;border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--black);color:var(--white);white-space:nowrap;pointer-events:none;opacity:0;padding:5px 10px;font-size:.7rem;font-weight:900;line-height:1.2;transition:opacity .15s,transform .15s;position:absolute;top:calc(100% + 9px);left:50%;transform:translate(-50%,-3px)}.topbar-icon-button:hover:after,.topbar-icon-button:focus-visible:after{opacity:1;transform:translate(-50%)}@keyframes canvas-entry-pulse{0%,to{opacity:1}50%{opacity:.48}}.mode-tabs>button{border-radius:var(--radius-sm);border-color:#0000;min-width:70px;min-height:33px;font-size:.84rem;font-weight:900}.mode-more-select.custom-select-field{gap:0;min-width:96px}.mode-more-select .custom-select-trigger{border-radius:var(--radius-sm);border-color:#0000;min-width:96px;min-height:33px;padding:0 10px;font-size:.84rem}.mode-more-select .custom-select-trigger:hover,.mode-more-select .custom-select-trigger:focus-visible,.mode-more-select .custom-select-trigger.is-open,.mode-more-select.is-active .custom-select-trigger{border-color:var(--black);background:var(--black);color:var(--white);outline:none}.mode-more-select .custom-select-menu{min-width:150px;left:auto;right:0}.mode-more-select .custom-select-option{width:100%;min-width:0}.mode-tabs>button.is-active,.soft-chip.is-active,.select-card.is-active,.ratio-card.is-active,.custom-ratio-button.is-active,.custom-ratio.is-active,.option-row.is-active,.reference-uploader.has-file,.wall-icon.is-active{border-color:var(--black);background:var(--black);color:var(--white)}.topbar-actions{justify-self:end}.api-switch-select-field{width:min(220px,28vw);min-width:156px}.api-switch-select-field .custom-select-trigger,.topbar-api-switch-trigger{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:100%;min-width:0;height:36px;min-height:36px;color:var(--black);grid-template-columns:minmax(0,1fr) auto;padding:0 12px;font-size:.82rem;font-weight:850}.api-switch-select-field .custom-select-trigger:hover:not(:disabled),.api-switch-select-field .custom-select-trigger:focus-visible,.api-switch-select-field .custom-select-trigger.is-open,.topbar-api-switch-trigger:hover:not(:disabled),.topbar-api-switch-trigger:focus-visible,.topbar-api-switch-trigger.is-open{border-color:var(--black);background:var(--black);color:var(--white);outline:none}.api-switch-select-field .custom-select-trigger strong,.topbar-api-switch-trigger strong{font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.api-switch-select-field .custom-select-menu{min-width:max(100%,220px);left:auto;right:0}.api-switch-select-field .custom-select-submenu{left:auto;right:calc(100% + 8px)}.status-api-select{width:min(220px,28vw)}.status-api-select .custom-select-trigger strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.status-api-select .custom-select-menu{min-width:220px;left:auto;right:0}.status-pill{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);min-height:36px;color:var(--muted);align-items:center;padding:0 13px;font-size:.82rem;font-weight:850;display:inline-flex}.status-pill.is-ready{color:var(--black)}.round-tool{border-radius:var(--radius);justify-content:center;align-items:center;min-width:36px;height:36px;padding:0 10px;font-size:.78rem;font-weight:950;display:inline-flex}.account-tool{text-overflow:ellipsis;white-space:nowrap;width:auto;max-width:180px;overflow:hidden}.mode-tabs>button:hover,.soft-chip:hover,.round-tool:hover,.tool-pill:hover,.reference-uploader:hover,.toolbar-icon-button:hover,.secondary-action:hover:not(:disabled),.text-button:hover:not(:disabled),.scroll-top-button:hover,.option-row:hover,.result-card a:hover,.wall-icon:hover:not(:disabled){background:var(--black);color:var(--white);box-shadow:var(--shadow-hard);transform:translate(-3px,-3px)}.close-button:hover,.primary-action:hover,.send-button:hover:not(:disabled){background:var(--white);color:var(--black);box-shadow:var(--shadow-hard);transform:translate(-3px,-3px)}button:disabled{cursor:not-allowed;opacity:.46}.scroll-top-button{border-radius:var(--radius);opacity:0;pointer-events:none;place-items:center;width:40px;height:40px;padding:0;display:grid;transform:translateY(8px)}.scroll-top-button.is-visible{opacity:1;pointer-events:auto;transform:none}.scroll-top-button.is-page{z-index:12;position:fixed;bottom:22px;right:22px}.scroll-top-button.is-generate-board{bottom:188px}.scroll-top-button.is-generate-board.is-browse-scope{bottom:22px}.scroll-top-button.is-modal{z-index:15;position:absolute;bottom:18px;right:18px}.scroll-top-button.is-visible:hover{transform:translate(-3px,-3px)}.scroll-top-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4px;width:19px;height:19px}.canvas-stage{min-height:0;padding:10px 0 160px;display:grid;position:relative}.canvas-stage.is-browse-scope{padding-bottom:0}.canvas-toolbar{z-index:5;border-radius:var(--radius);flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-width:0;padding:10px;display:flex;position:absolute;top:16px;left:50%;transform:translate(-50%)}.toolbar-icon-button,.toolbar-scope,.toolbar-filter,.toolbar-search,.toolbar-search input,.toolbar-text-button{min-width:0}.toolbar-scope,.toolbar-filter{flex:0 150px}.toolbar-scope .custom-select-trigger,.toolbar-filter .custom-select-trigger{width:100%;min-height:34px}.wall-model-filter .custom-select-menu{width:max-content;min-width:100%;max-width:min(240px,100vw - 32px);right:auto}.toolbar-icon-button,.toolbar-search input,.toolbar-text-button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);min-height:34px;color:var(--black)}.toolbar-icon-button{cursor:pointer;place-items:center;width:38px;transition:all .16s;display:grid}.toolbar-icon-button svg,.toolbar-search svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2px}.toolbar-icon-button svg{width:17px;height:17px}.toolbar-search{flex:240px;align-items:center;display:grid;position:relative}.toolbar-search svg{width:16px;height:16px;color:var(--muted);pointer-events:none;position:absolute;left:12px}.toolbar-search input{width:100%;padding:0 12px 0 36px;font-size:.82rem;font-weight:820}.toolbar-text-button{white-space:nowrap;cursor:pointer;flex:none;padding:0 12px;font-size:.78rem;font-weight:950}.toolbar-text-button:hover:not(:disabled){background:var(--black);color:var(--white)}.soft-chip{border-radius:var(--radius-sm);border-color:#0000;min-width:60px;min-height:32px;font-size:.78rem;font-weight:900}.image-board{isolation:isolate;place-items:center;min-height:0;padding:60px 12px 18px;display:grid;overflow:hidden auto}.image-board.has-images{width:100%;max-width:100%;margin:10px auto;padding:66px 12px 22px;display:block;overflow:hidden auto}.masonry-board{grid-template-columns:repeat(var(--masonry-columns,4), minmax(0, 1fr));align-items:start;gap:16px;width:100%;display:grid}.masonry-column{align-content:start;gap:16px;min-width:0;display:grid}.board-pagination{justify-items:center;gap:7px;margin:20px auto 0;display:grid}.board-load-more{border:2px solid var(--line);border-radius:var(--radius);background:var(--black);min-width:230px;min-height:44px;color:var(--white);cursor:pointer;justify-content:center;align-items:center;gap:9px;padding:0 22px;font-size:.8rem;font-weight:920;transition:transform .14s,box-shadow .14s;display:inline-flex;box-shadow:3px 3px #d5d5d5}.board-load-more:hover:not(:disabled),.board-load-more:focus-visible:not(:disabled){outline:none;transform:translate(-1px,-1px);box-shadow:5px 5px #d5d5d5}.board-load-more:disabled{opacity:.78;cursor:wait}.board-load-more .loading-ring{border-width:3px;border-color:#ffffff61;border-top-color:var(--white);width:18px;height:18px}.board-pagination small{color:var(--muted);font-size:.7rem;font-weight:820}.board-loader{min-height:42px;color:var(--muted);place-items:center;margin:18px auto 0;font-size:.78rem;font-weight:900;display:grid}.board-loader.is-complete{background:0 0}.empty-canvas{text-align:center;place-items:center;gap:14px;max-width:360px;display:grid}.empty-mark{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--black);width:82px;height:82px;color:var(--white);place-items:center;display:grid;box-shadow:4px 4px #d5d5d5}.empty-mark svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:44px;height:44px}.empty-canvas p{color:var(--black);margin:0;font-size:1rem;font-weight:900;line-height:1.6}.result-card{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);cursor:pointer;width:100%;margin:0;transition:transform .16s,box-shadow .16s;display:block;position:relative;overflow:hidden;box-shadow:0 10px 28px #14141214}.result-delete-button{z-index:3;border:2px solid var(--line);border-radius:var(--radius-sm);width:28px;height:28px;color:var(--black);cursor:pointer;background:#fffffff0;place-items:center;font-size:1rem;font-weight:950;line-height:1;display:grid;position:absolute;top:7px;right:7px}.result-delete-button:hover{background:var(--black);color:var(--white)}.danger-action{color:#8f1d1d;border-color:#8f1d1d}.danger-action:hover:not(:disabled){color:var(--white);background:#8f1d1d}.result-card.is-pending,.result-card.is-failed{border-color:var(--black)}.result-card.is-failed{border-style:dashed}.result-image-wrap{background:#ececec;width:100%;display:grid;position:relative;overflow:hidden}.image-loading-placeholder{z-index:1;pointer-events:none;background:#e6e6e6;place-items:center;display:grid;position:absolute;inset:0}.image-loading-spinner{border-width:4px;width:30px;height:30px}.image-loading-failed{z-index:2;color:var(--muted);text-align:center;background:#ecececf5;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;font-size:.76rem;font-weight:850;display:flex;position:absolute;inset:0}.image-loading-failed small{overflow-wrap:anywhere;max-width:100%;font-size:.68rem;font-weight:700;line-height:1.4}.image-retry-button{border:2px solid var(--black);background:var(--white);color:var(--black);cursor:pointer;border-radius:999px;padding:6px 16px;font-size:.76rem;font-weight:900;transition:background .15s,color .15s}.image-retry-button:hover:not(:disabled),.image-retry-button:focus-visible{background:var(--black);color:var(--white)}.image-retry-button:disabled{cursor:progress;opacity:.6}.result-card img{object-fit:cover;opacity:0;background:#ececec;width:100%;height:100%;transition:opacity .18s;display:block}.result-card img.is-loaded{opacity:1}.pending-preview{background:var(--paper-2);width:100%;min-width:0;height:100%;min-height:100%;color:var(--black);text-align:center;align-content:center;place-items:center;gap:10px;padding:18px;display:grid;overflow:hidden}.pending-preview strong{max-width:100%;color:var(--black);overflow-wrap:anywhere;text-align:center;font-size:.82rem;font-weight:900;line-height:1.35}.pending-preview p{overflow-wrap:anywhere;width:min(100%,320px);max-width:100%;color:var(--muted);text-align:center;white-space:pre-wrap;margin:0;font-size:.78rem;font-weight:780;line-height:1.55}.loading-ring{border:5px solid #d8d8d8;border-top-color:var(--black);border-radius:999px;width:38px;height:38px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.result-caption,.result-api-name{color:var(--muted);text-align:left;text-overflow:ellipsis;white-space:nowrap;padding:9px 10px 10px;font-size:.72rem;font-weight:900;line-height:1.35;overflow:hidden}.result-caption-spread{justify-content:space-between;align-items:center;gap:14px;display:flex}.result-caption span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.result-api-name{min-width:0}.result-caption-spread span:first-child{flex:auto}.result-caption-spread span:last-child{text-align:right;flex:0 auto;max-width:44%}.bottom-workbench{z-index:6;gap:10px;max-width:1100px;margin:0 auto;display:grid;position:fixed;bottom:18px;left:18px;right:18px}@media (pointer:fine){.bottom-workbench{cursor:grab;transition:transform .18s}.bottom-workbench textarea,.bottom-workbench input{cursor:text}.bottom-workbench img{cursor:auto}.bottom-workbench.is-dragging{transition:none}body.is-workbench-dragging,body.is-workbench-dragging *{cursor:grabbing;-webkit-user-select:none;user-select:none}}.prompt-console{border-radius:var(--radius-lg);gap:10px;padding:16px;display:grid}.prompt-input-wrap{display:grid;position:relative}.prompt-console textarea{resize:vertical;border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:100%;min-height:48px;max-height:120px;color:var(--black);outline:none;padding:12px 42px 12px 14px;font-size:.98rem;font-weight:680;line-height:1.55}.prompt-clear-button{border:2px solid var(--line);background:var(--white);width:26px;height:26px;color:var(--black);cursor:pointer;border-radius:999px;place-items:center;font-size:1rem;font-weight:950;line-height:1;transition:background .16s,color .16s,transform .16s;display:grid;position:absolute;top:8px;right:8px}.prompt-clear-button:hover,.prompt-clear-button:focus-visible{background:var(--black);color:var(--white)}.prompt-clear-button:active{transform:scale(.94)}.prompt-clear-button:focus-visible{outline:2px solid var(--black);outline-offset:2px}.prompt-console textarea::placeholder,textarea::placeholder,input::placeholder{color:var(--muted-2)}.prompt-console .negative-prompt-input{min-height:40px;max-height:86px;font-size:.86rem;font-weight:720}.workbench-actions{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.workbench-toggle-button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:40px;height:40px;color:var(--black);cursor:pointer;place-items:center;display:none}.workbench-toggle-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px}.workbench-toggle-button[aria-expanded=true]{background:var(--black);color:var(--white)}.control-field,.file-control{border-radius:var(--radius);min-height:40px}.tool-pill{border-radius:var(--radius-sm);text-align:left;white-space:nowrap;justify-content:flex-start;align-items:center;width:100%;min-height:32px;padding:0 10px;font-size:.84rem;font-weight:950;display:inline-flex}.control-field span{color:var(--muted);font-size:.72rem;font-weight:880}.control-field{flex:1 0 auto;gap:4px;min-width:max-content;display:grid}.size-control{flex-basis:118px}.count-field{flex:0 0 78px;width:78px;min-width:0}.count-field input{width:100%;min-width:0}.file-control{flex-basis:92px}.icon-file-control{flex:0 0 40px;align-self:end;place-items:center;width:40px;min-width:40px;display:inline-grid}.icon-file-control strong{place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;line-height:0;display:grid}.response-format-control{flex-basis:106px}.control-field input,.control-field select,.custom-select-trigger,.disabled-select-like,.toggle-select-like{border-radius:var(--radius-sm);min-height:32px;padding:0 10px;font-size:.84rem}.custom-select-field{gap:4px;min-width:max-content;display:grid;position:relative}.custom-select-trigger,.disabled-select-like,.toggle-select-like{border:2px solid var(--line);background:var(--white);width:100%;min-width:max-content;color:var(--black);cursor:pointer;text-align:left;grid-template-columns:minmax(max-content,1fr) auto;align-items:center;font-weight:900;display:grid}.custom-select-trigger strong{white-space:nowrap;font-size:.84rem;font-weight:900}.disabled-select-like,.toggle-select-like{white-space:nowrap}.custom-select-trigger svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4px;width:15px;height:15px;transition:transform .16s}.custom-select-trigger.is-open svg{transform:rotate(180deg)}.custom-select-menu{z-index:16;border:2px solid var(--line);border-radius:var(--radius);background:var(--white);gap:5px;max-height:220px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden auto}.custom-select-menu.is-portal{z-index:1000;position:fixed;right:auto;overflow:hidden auto;box-shadow:0 18px 50px #11111138}.custom-select-search{z-index:2;background:var(--white);padding:4px;position:sticky;top:-6px}.custom-select-search input{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--paper-2);width:100%;min-height:36px;color:var(--black);outline:none;padding:0 9px;font-size:.78rem;font-weight:820}.custom-select-search input:focus{border-color:var(--black);background:var(--white)}.custom-select-empty{color:var(--muted);text-align:center;padding:10px;font-size:.76rem;font-weight:820}.custom-select-field.is-menu-up .custom-select-menu{top:auto;bottom:calc(100% + 6px)}.custom-select-menu.has-submenu{max-height:none;overflow:visible}.custom-select-option-row{min-width:0;display:grid;position:relative}.custom-select-option-row.has-submenu{grid-template-columns:minmax(0,1fr) auto;gap:4px}.custom-select-option-row>.custom-select-option{width:100%}.custom-select-submenu-trigger{border-radius:var(--radius-sm);background:var(--white);min-width:54px;min-height:34px;color:var(--muted);cursor:pointer;border:2px solid #0000;justify-content:flex-end;align-items:center;gap:3px;padding:0 7px;font-weight:900;display:inline-flex}.custom-select-submenu-trigger:hover,.custom-select-submenu-trigger:focus-visible,.custom-select-submenu-trigger.is-open{border-color:var(--black);background:var(--black);color:var(--white);outline:none}.custom-select-submenu-trigger small{text-overflow:ellipsis;white-space:nowrap;max-width:58px;font-size:.68rem;overflow:hidden}.custom-select-submenu-trigger svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4px;width:13px;height:13px}.custom-select-submenu{z-index:18;border:2px solid var(--line);border-radius:var(--radius);background:var(--white);gap:5px;min-width:148px;padding:6px;display:grid;position:absolute;top:-6px;left:calc(100% + 8px);box-shadow:0 12px 30px #1111111f}.custom-select-submenu-label{color:var(--muted);letter-spacing:.04em;padding:4px 7px 2px;font-size:.68rem;font-weight:900}.custom-select-option{border-radius:var(--radius-sm);background:var(--white);min-height:34px;color:var(--black);cursor:pointer;text-align:left;border:2px solid #0000;padding:0 9px;font-size:.82rem;font-weight:900}.custom-select-option.is-selected{border-color:var(--line);background:var(--paper-2)}.custom-select-option:hover,.custom-select-option:focus-visible,.custom-select-option.is-focused{border-color:var(--black);background:var(--black);color:var(--white);outline:none}.custom-select-option:disabled{background:var(--paper-2);color:#11111152;cursor:not-allowed;border-color:#0000;text-decoration:line-through}.custom-select-field.is-disabled .custom-select-trigger,.control-field.is-disabled input,.file-control.is-disabled strong,.disabled-select-like{color:#777;cursor:not-allowed;background:#e2e2e2;border-color:#1111115c}.toggle-select-like.is-active{background:var(--black);color:var(--white)}.toolbar-filter.custom-select-field{align-self:stretch}.toolbar-filter .custom-select-trigger{border-radius:var(--radius-sm);font-size:.78rem}.file-control input{display:none}.file-control strong{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);min-height:32px;color:var(--black);cursor:pointer;white-space:nowrap;place-items:center;padding:0 10px;font-size:.84rem;font-weight:900;display:inline-grid;position:relative}.icon-file-control strong,.file-control.has-file strong,.mask-control:not(.is-disabled) strong{background:var(--black);color:var(--white)}.icon-file-control strong svg,.send-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:20px;height:20px;display:block}.icon-file-control strong em{border:2px solid var(--white);background:var(--black);min-width:18px;height:18px;color:var(--white);border-radius:999px;place-items:center;padding:0 5px;font-size:.66rem;font-style:normal;font-weight:950;line-height:1;display:grid;position:absolute;top:-6px;right:-6px}.icon-file-control strong em:empty{display:none}.send-button{border-radius:var(--radius);background:var(--black);width:40px;min-width:40px;height:40px;color:var(--white);flex:0 0 40px;align-self:end;place-items:center;padding:0;font-size:1.2rem;font-weight:950;line-height:0;display:inline-grid}.send-button:disabled{cursor:wait;opacity:.72}.send-button .loading-dots-icon{fill:currentColor;stroke:none}.reference-preview{grid-template-columns:minmax(120px,auto) minmax(0,1fr) auto;align-items:center;gap:8px;padding-top:2px;display:grid}.reference-preview-list{flex-wrap:wrap;gap:6px;display:flex}.reference-preview figure{gap:2px;width:48px;margin:0;display:grid;position:relative}.reference-preview img{border:2px solid var(--line);border-radius:var(--radius-sm);object-fit:cover;width:48px;height:42px}.reference-preview figcaption{color:var(--muted);text-align:center;font-size:.62rem;font-weight:900}.mini-remove{background:var(--black);width:18px;height:18px;color:var(--white);border-radius:999px;place-items:center;font-size:.72rem;font-weight:950;line-height:1;display:grid;position:absolute;top:-5px;right:-5px}.mask-preview-card img{border-style:dashed}.reference-preview span{color:var(--muted);white-space:normal;font-size:.78rem;font-weight:820;overflow:visible}.modal-layer{--modal-layer-padding:18px;z-index:20;padding:var(--modal-layer-padding);place-items:center;display:grid;position:fixed;inset:0}.version-info-modal{gap:0;width:100%;max-width:none;height:100%;max-height:none}.version-info-head{z-index:3;position:relative;overflow:visible}.version-info-head>div{flex:auto;min-width:0}.version-info-subtitle{align-items:center;gap:7px;width:100%;min-width:0;display:flex}.version-info-subtitle p{min-width:0}.version-info-rules-menu{flex:none;margin-top:5px;position:relative}.version-info-rules-menu:after{content:"";width:100%;height:10px;position:absolute;top:100%;right:0}.version-info-rules-trigger{border:2px solid var(--line);background:var(--white);width:20px;min-width:20px;height:20px;min-height:20px;color:var(--muted);cursor:help;border-radius:50%;place-items:center;padding:0;font-size:.72rem;font-weight:950;line-height:1;transition:all .16s;display:grid}.version-info-rules-trigger:hover,.version-info-rules-trigger:focus-visible{border-color:var(--black);background:var(--black);color:var(--white);outline:none}.version-info-rules-popover{z-index:5;border:2px solid var(--black);border-radius:var(--radius);background:var(--white);width:min(350px,100vw - 52px);box-shadow:var(--shadow-hard);opacity:0;pointer-events:none;visibility:hidden;gap:9px;padding:13px;transition:opacity .15s,transform .15s,visibility .15s;display:grid;position:absolute;top:calc(100% + 9px);transform:translateY(-4px)}.version-info-rules-menu:hover .version-info-rules-popover,.version-info-rules-menu:focus-within .version-info-rules-popover{opacity:1;pointer-events:auto;visibility:visible;transform:translateY(0)}.version-info-rules-popover>strong,.version-info-main .api-config-card-head strong{color:var(--black);font-size:.92rem;font-weight:950}.version-info-head .version-info-rules-popover p,.version-info-head .version-info-rules-popover li span{color:var(--muted);margin:0;font-size:.72rem;font-weight:800;line-height:1.5}.version-info-rules-popover ul{gap:8px;margin:0;padding-left:18px;display:grid}.version-info-rules-popover li{gap:2px;display:grid}.version-info-rules-popover li b{color:var(--black);font-size:.76rem;font-weight:950}.account-modal.is-account-workspace .account-panel.version-info-panel{grid-template-columns:minmax(0,1fr);grid-template-areas:"content"}.version-info-main{min-width:0;min-height:0}.version-info-main .account-content{padding:18px 20px 24px}.version-info-main .account-view{gap:14px}.version-info-overview-card .api-config-card-head{align-items:center}.version-info-current-inline{text-align:right;flex:none;justify-items:end;gap:3px;display:grid}.version-info-overview-card .version-info-current-inline strong{color:var(--black);font-size:1rem;font-weight:950}.version-info-overview-card .version-info-current-inline span{color:var(--muted);font-size:.72rem;font-weight:800}.version-release-list,.version-release-card{gap:12px;display:grid}.version-release-card header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.version-release-card header>div:first-child{gap:3px;display:grid}.version-release-card header strong{color:var(--black);font-size:1rem;font-weight:950}.version-release-card header span{color:var(--muted);font-size:.72rem;font-weight:800}.version-release-meta{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:6px;display:flex}.version-release-count,.version-release-merged{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:999px;padding:3px 7px;font-size:.68rem;font-weight:900}.version-release-toggle{border:1px solid var(--line);background:var(--white);color:var(--black);cursor:pointer;border-radius:999px;justify-self:start;padding:5px 10px;font-size:.72rem;font-weight:900;transition:background-color .14s,color .14s}.version-release-toggle:hover,.version-release-toggle:focus-visible{background:var(--black);color:var(--white)}.version-release-card header em{background:var(--black);color:var(--white);white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:.68rem;font-style:normal;font-weight:900}.version-release-card ul{color:var(--black);gap:7px;margin:0;padding-left:20px;font-size:.82rem;line-height:1.55;display:grid}.version-info-empty{color:var(--muted);text-align:center;margin:0}.version-archive-entry{justify-content:center;margin-top:4px;display:flex}.version-archive-trigger{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:100%;color:var(--black);cursor:pointer;justify-items:center;gap:3px;padding:11px 14px;transition:background-color .14s,color .14s;display:grid}.version-archive-trigger strong{font-size:.86rem;font-weight:950}.version-archive-trigger span{color:var(--muted);font-size:.72rem;font-weight:800}.version-archive-trigger:hover,.version-archive-trigger:focus-visible{background:var(--black);color:var(--white);outline:none}.version-archive-trigger:hover span,.version-archive-trigger:focus-visible span{color:var(--white)}.version-archive-layer{--modal-layer-padding:18px;z-index:30;padding:var(--modal-layer-padding,18px);background:#0000005c;place-items:center;display:grid;position:fixed;inset:0}.account-modal.is-account-workspace.version-archive-modal{width:min(100%,1100px);height:min(700px, calc(100vh - var(--modal-layer-padding) - var(--modal-layer-padding)));max-width:100%;max-height:calc(100vh - var(--modal-layer-padding) - var(--modal-layer-padding));justify-self:center}.version-archive-close{flex:none;position:static}.version-archive-group{border:2px solid var(--line);border-radius:var(--radius);gap:12px;padding:12px;display:grid}.version-archive-group-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.version-archive-group-head>div{gap:3px;display:grid}.version-archive-group-head strong{color:var(--black);font-size:1rem;font-weight:950}.version-archive-group-head span{color:var(--muted);font-size:.72rem;font-weight:800}@media (width<=460px){.version-archive-layer{--modal-layer-padding:10px}}@media (width<=760px){.version-info-subtitle{align-items:flex-start}.version-archive-group-head{flex-direction:column;align-items:flex-start}.version-info-rules-popover{width:auto;position:fixed;top:78px;left:14px;right:14px}.version-info-main .account-content{padding:12px 12px 20px}.version-info-overview-card .api-config-card-head{align-items:center}.version-release-card header{flex-direction:column;align-items:stretch}.version-release-meta{justify-content:flex-start}.version-release-card header em{justify-self:start}}.agent-detail-layer{z-index:30}.infinite-canvas-session-layer.is-hidden,.ui-design-session-layer.is-hidden{display:none}.modal-frame{z-index:1;width:min(100%,430px);max-height:min(760px,100vh - 36px);display:grid;position:relative}.account-auth-modal-frame{width:min(100%,540px)}.size-modal-frame{width:min(100%,430px)}.detail-modal-frame{width:min(100%,1120px);min-width:0;max-width:calc(100vw - 36px);height:min(760px,100vh - 36px);max-height:calc(100vh - 36px)}.panorama-loading-layer{z-index:119;color:var(--white);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#050505e6;place-items:center;font-size:.84rem;font-weight:900;display:grid;position:fixed;inset:0}.lightbox-layer{z-index:40;place-items:center;padding:32px;display:grid;position:fixed;inset:0}.lightbox-backdrop{cursor:zoom-out;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0b0b0bd1;border:0;position:absolute;inset:0}.lightbox-figure{z-index:1;border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--paper-2);max-width:calc(100vw - 64px);max-height:calc(100vh - 64px);box-shadow:var(--shadow-hard);place-items:center;margin:0;display:grid;position:relative;overflow:hidden}.lightbox-figure img{object-fit:contain;cursor:zoom-out;max-width:calc(100vw - 72px);max-height:calc(100vh - 72px);display:block}.lightbox-figure.is-failed{min-width:min(360px,100vw - 64px);min-height:240px}.lightbox-image-failed{z-index:1;background:#f6f6f6fa}.lightbox-close{z-index:2;position:absolute;top:10px;right:10px}@media (width<=640px){.lightbox-layer{padding:14px}.lightbox-figure{max-width:calc(100vw - 28px);max-height:calc(100vh - 28px)}.lightbox-figure img{max-width:calc(100vw - 36px);max-height:calc(100vh - 36px)}.lightbox-close{top:8px;right:8px}}.modal-backdrop{cursor:default;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f6f6f6ad;border:0;position:absolute;inset:0}.modal-card{z-index:1;border-radius:var(--radius-lg);gap:16px;width:min(100%,430px);max-height:min(760px,100vh - 36px);padding:18px;display:grid;position:relative;overflow:auto}.account-modal-frame{width:min(100%,1200px);height:min(760px, calc(100vh - var(--modal-layer-padding) - var(--modal-layer-padding)));max-height:calc(100vh - var(--modal-layer-padding) - var(--modal-layer-padding))}.modal-frame.workspace-modal-frame{width:min(1480px,100vw - 48px);max-width:calc(100vw - 48px);height:calc(100vh - 48px);max-height:calc(100vh - 48px)}.infinite-canvas-loading{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--paper);width:100%;height:100%;color:var(--black);align-content:center;place-items:center;gap:12px;display:grid}.infinite-canvas-loading strong{font-size:.88rem;font-weight:950}.chat-modal{border:2px solid var(--line);border-radius:var(--radius-lg);background:#f7f7f7;gap:0;width:100%;height:100%;max-height:none;padding:0;overflow:hidden}.chat-workbench{grid-template-rows:minmax(0,1fr);min-width:0;height:100%;min-height:0;display:grid;position:relative}.chat-stage{min-width:0;min-height:0;display:grid}.chat-stage.has-messages{grid-template-rows:minmax(0,1fr) auto}.chat-stage.is-empty{grid-template-rows:auto auto;align-content:center;justify-items:center;gap:12px;padding:clamp(24px,6vh,72px) 24px;overflow-y:auto}.chat-agent-identity,.chat-composer-footer,.chat-composer-tools,.chat-composer-submit,.chat-message-capabilities,.chat-message-actions{align-items:center;display:flex}.chat-agent-identity{gap:10px;min-width:0}.chat-agent-mark{border:2px solid var(--line);background:var(--black);color:var(--white);border-radius:9px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid;overflow:hidden}.chat-agent-mark.is-shared{background:#f5f5f5;border-width:1px}.chat-agent-mark img,.chat-message-avatar img{object-fit:cover;width:100%;height:100%;display:block}.chat-agent-mark svg,.chat-message-avatar svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:20px;height:20px}.chat-agent-identity div{gap:1px;min-width:0;display:grid}.chat-agent-identity strong{color:var(--black);letter-spacing:-.03em;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:950;overflow:hidden}.chat-agent-identity span:not(.chat-agent-mark){color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:780;overflow:hidden}.chat-agent-session-tools{--chat-session-control-height:34px;z-index:10;border:2px solid var(--line);border-radius:var(--radius);isolation:isolate;background:#fffffff0;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;width:100%;min-width:0;max-width:100%;padding:10px;display:flex;position:absolute;top:16px;left:50%;transform:translate(-50%)}.chat-agent-session-tools>*{min-width:0}.chat-session-search{min-width:190px;height:var(--chat-session-control-height);min-height:var(--chat-session-control-height);max-height:var(--chat-session-control-height);flex:240px;align-items:center;display:grid;position:relative}.chat-session-search>svg{z-index:1;fill:none;width:16px;height:16px;stroke:var(--muted);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2px;pointer-events:none;position:absolute;left:11px}.chat-session-search input{width:100%;min-width:0;height:var(--chat-session-control-height);min-height:var(--chat-session-control-height);max-height:var(--chat-session-control-height);border:2px solid var(--line);border-radius:var(--radius-sm);appearance:none;background:var(--white);color:var(--black);outline:none;margin:0;padding:0 52px 0 35px;font-size:.72rem;font-weight:800;line-height:1;display:block}.chat-session-search input:focus{box-shadow:0 0 0 3px #11111114}.chat-session-search>span{color:var(--muted);pointer-events:none;font-size:.61rem;font-weight:850;position:absolute;right:9px}.chat-conversation-search-empty{width:min(100%,860px);min-height:120px;color:var(--muted);justify-self:center;place-items:center;font-size:.76rem;font-weight:800;display:grid}.chat-session-button,.chat-session-context-count{height:var(--chat-session-control-height);min-height:var(--chat-session-control-height);max-height:var(--chat-session-control-height);border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);color:var(--black);justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.7rem;font-weight:880;display:inline-flex}.chat-session-button{cursor:pointer;flex:none;width:auto;min-width:92px;padding:0 10px;transition:all .15s}.chat-session-button span,.chat-session-context-count span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-session-button:hover:not(:disabled),.chat-session-button:focus-visible,.chat-session-button.is-active{background:var(--black);color:var(--white);box-shadow:var(--shadow-hard);outline:none;transform:translate(-3px,-3px)}.chat-session-button:disabled{cursor:not-allowed;opacity:.42}.chat-session-button svg,.chat-session-context-count svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2px;flex:0 0 17px;width:17px;height:17px}.chat-history-button,.chat-session-context-count{flex:none;width:auto;min-width:38px;padding-inline:10px}.chat-history-button{background:var(--white);color:var(--black)}.chat-history-button b,.chat-session-context-count b{background:var(--paper-2);color:currentColor;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:.58rem;display:grid}.chat-history-button:hover:not(:disabled) b{background:var(--white);color:var(--black)}.chat-history-layer{z-index:12;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f7f7f7c2;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.chat-history-dialog{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-rows:auto minmax(0,1fr);width:min(100%,620px);max-height:min(680px,100% - 32px);display:grid;overflow:hidden;box-shadow:6px 6px #0b0b0bdb,0 24px 64px #0b0b0b2e}.chat-history-dialog>header{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:center;gap:16px;min-height:66px;padding:12px 14px 12px 17px;display:flex}.chat-history-dialog>header>div{gap:3px;min-width:0;display:grid}.chat-history-dialog>header strong{color:var(--black);letter-spacing:-.025em;font-size:.96rem;font-weight:950}.chat-history-dialog>header span{color:var(--muted);font-size:.7rem;font-weight:760}.chat-history-dialog>header button{border:1px solid var(--soft-line);background:var(--paper-2);width:34px;height:34px;min-height:34px;color:var(--black);cursor:pointer;border-radius:7px;flex:0 0 34px;place-items:center;padding:0;font-size:1.2rem;font-weight:900;display:grid}.chat-history-list{align-content:start;gap:8px;min-height:0;padding:12px;display:grid;overflow-y:auto}.chat-history-row{min-width:0;position:relative}.chat-history-item{border:1px solid var(--soft-line);background:var(--paper-2);width:100%;min-width:0;min-height:66px;color:var(--black);cursor:pointer;text-align:left;border-radius:12px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 52px 9px 11px;transition:all .14s;display:grid}.chat-history-item:hover:not(:disabled),.chat-history-item.is-active{border-color:var(--line);background:var(--white);transform:translate(-1px,-1px);box-shadow:3px 3px #0b0b0bd1}.chat-history-item:disabled{cursor:not-allowed;opacity:.55}.chat-history-delete-button{z-index:2;width:30px;min-width:30px;height:30px;min-height:30px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;place-items:center;padding:0;transition:all .14s;display:grid;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.chat-history-delete-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:15px;height:15px}.chat-history-delete-button span{white-space:nowrap;font-size:.62rem;font-weight:900}.chat-history-delete-button:hover:not(:disabled),.chat-history-delete-button.is-confirming{color:#8f1d1d;background:#fff7f4;border-color:#8f1d1d;width:auto;min-width:42px;padding:0 7px}.chat-history-delete-button:disabled{cursor:not-allowed;opacity:.45}.chat-history-item-icon{border:1px solid var(--soft-line);background:var(--white);border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.chat-history-item-icon svg,.chat-history-empty svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:18px;height:18px}.chat-history-item-copy,.chat-history-item-meta{min-width:0;display:grid}.chat-history-item-copy{gap:4px}.chat-history-item-copy strong,.chat-history-item-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-history-item-copy strong{font-size:.78rem;font-weight:920}.chat-history-item-copy span,.chat-history-item-meta{color:var(--muted);font-size:.66rem;font-weight:740}.chat-history-item-meta{white-space:nowrap;justify-items:end;gap:4px}.chat-history-item-meta small{font-size:.62rem}.chat-history-empty{color:var(--muted);text-align:center;justify-items:center;gap:8px;padding:54px 20px;display:grid}.chat-history-empty svg{width:28px;height:28px}.chat-history-empty strong{color:var(--black);font-size:.88rem;font-weight:920}.chat-history-empty span{font-size:.72rem;font-weight:720}.chat-thread{--chat-content-width:820px;min-width:0;min-height:0;padding:86px max(24px, calc((100% - var(--chat-content-width)) / 2)) 24px;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start;gap:24px;display:grid;overflow-y:auto}.chat-stage.is-empty .chat-thread{width:min(100%,820px);padding:0;overflow:visible}.chat-thread.has-messages{clip-path:inset(16px 0 0);padding-top:86px}.chat-empty-state{text-align:center;justify-items:center;gap:8px;width:min(100%,720px);margin:0 auto;padding:0 20px;display:grid}.chat-empty-state h2{max-width:100%;color:var(--black);letter-spacing:-.045em;margin:0;font-size:clamp(1.55rem,2.3vw,2rem);font-weight:860;line-height:1.08}.chat-empty-state p{max-width:610px;color:var(--muted);margin:0;font-size:.84rem;font-weight:720;line-height:1.7}.chat-message{grid-template-columns:36px minmax(0,1fr);justify-self:center;gap:12px;width:100%;min-width:0;max-width:860px;display:grid}.chat-message.is-user{grid-template-columns:minmax(0,1fr) 36px}.chat-message-avatar{border:2px solid var(--line);background:var(--white);width:36px;height:36px;color:var(--black);border-radius:50%;place-items:center;font-size:.7rem;font-weight:950;display:grid;overflow:hidden}.chat-message-avatar.is-assistant-source{border-radius:9px}.chat-message-avatar.is-assistant-source.is-shared{background:#f5f5f5;border-width:1px}.chat-message-source-label{border:1px solid var(--soft-line);max-width:min(100%,320px);min-height:22px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:#ffffffb8;border-radius:6px;align-items:center;padding:0 8px;font-size:.64rem;font-weight:860;display:inline-flex;overflow:hidden}.chat-message-source-label.is-shared{color:#176c5a;background:#2faf9214;border-color:#2faf9252}.chat-message.is-user .chat-message-avatar{background:var(--black);color:var(--white);order:2}.chat-message-column{justify-items:start;gap:8px;min-width:0;display:grid}.chat-message.is-user .chat-message-column{justify-items:end}.chat-message-capabilities{gap:6px;min-height:22px}.chat-capability-badge{border:1px solid var(--soft-line);min-height:22px;color:var(--muted);background:#ffffffb8;border-radius:999px;align-items:center;gap:5px;padding:0 8px;font-size:.66rem;font-weight:850;display:inline-flex}.chat-capability-badge svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:13px;height:13px}.chat-message-metadata{min-height:16px;color:var(--muted-2);align-items:center;gap:6px;font-size:.63rem;font-weight:720;line-height:1;display:flex}.chat-message-metadata.is-user{justify-content:flex-end}.chat-message-metadata time,.chat-message-metadata span{white-space:nowrap}.chat-message-body{border:2px solid var(--line);background:var(--white);min-width:0;max-width:100%;color:var(--black);overflow-wrap:anywhere;border-radius:15px;padding:14px 16px;font-size:.91rem;font-weight:690;line-height:1.75}.chat-message.is-assistant .chat-message-body{border-color:#1111111f;width:min(100%,780px);box-shadow:0 10px 30px #0b0b0b0a}.chat-message.is-user .chat-message-body{background:var(--paper-2);justify-self:end;width:auto;max-width:min(100%,780px)}.chat-message-body.is-streaming:after{vertical-align:-.12em;content:"";background:currentColor;width:2px;height:1em;margin-left:4px;animation:.8s step-end infinite chatStreamCaret;display:inline-block}.chat-message.is-error .chat-message-body{color:#8f1d1d;background:#fff7f4;border-style:dashed;border-color:#8f1d1d}.chat-message-editor{border:2px solid var(--line);background:var(--white);border-radius:15px;gap:8px;width:min(650px,100%);padding:10px;display:grid;box-shadow:3px 3px #0b0b0bd1}.chat-message-editor textarea{border:1px solid var(--soft-line);resize:vertical;background:var(--paper-2);width:100%;min-height:92px;max-height:260px;color:var(--black);font:inherit;border-radius:9px;outline:none;padding:10px;font-size:.86rem;font-weight:700;line-height:1.6;overflow-y:auto}.chat-message-editor textarea:focus{border-color:var(--line)}.chat-message-editor>div{justify-content:flex-end;gap:7px;display:flex}.chat-message-editor button{border:1px solid var(--soft-line);background:var(--white);min-height:32px;color:var(--black);cursor:pointer;border-radius:8px;padding:0 10px;font-size:.69rem;font-weight:880}.chat-message-editor button.is-primary{border-color:var(--line);background:var(--black);color:var(--white)}.chat-message-editor button:disabled{cursor:not-allowed;opacity:.4}.chat-message-image-note{border:1px dashed var(--soft-line);background:var(--paper-2);color:var(--muted);border-radius:8px;margin-bottom:9px;padding:7px 9px;font-size:.68rem;font-weight:760;display:block}.chat-message-edited{color:var(--muted-2);margin-top:7px;font-size:.62rem;font-weight:760;display:block}.chat-message-image{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);object-fit:contain;width:min(100%,420px);max-height:360px;margin-bottom:11px;display:block}.chat-message-body p,.chat-message-body h1,.chat-message-body h2,.chat-message-body h3,.chat-message-body h4,.chat-message-body h5,.chat-message-body h6,.chat-message-body ul,.chat-message-body ol,.chat-message-body blockquote,.chat-message-body pre,.chat-message-body table,.chat-message-body hr{margin:0}.chat-message-body>*+*{margin-top:11px}.chat-message-body h1,.chat-message-body h2,.chat-message-body h3,.chat-message-body h4,.chat-message-body h5,.chat-message-body h6{color:var(--black);letter-spacing:-.025em;font-weight:950;line-height:1.35}.chat-message-body h1{font-size:1.12rem}.chat-message-body h2{font-size:1.04rem}.chat-message-body h3,.chat-message-body h4,.chat-message-body h5,.chat-message-body h6{font-size:.96rem}.chat-plain-message{white-space:pre-wrap}.chat-message-body ul,.chat-message-body ol{gap:5px;padding-left:1.35rem;display:grid}.chat-message-body li>p{margin:0}.chat-message-body li>ul,.chat-message-body li>ol{margin-top:5px}.chat-message-body .contains-task-list{padding-left:0;list-style:none}.chat-message-body .task-list-item{list-style:none}.chat-message-body .task-list-item input{accent-color:var(--black);vertical-align:-.08em;margin:0 7px 0 0}.chat-message-body blockquote{border-left:3px solid var(--line);background:var(--paper-2);color:var(--muted);padding:8px 11px}.chat-message-body a,.chat-reasoning-content a{color:#175cd3;overflow-wrap:anywhere;text-underline-offset:3px;font-weight:880;text-decoration-thickness:1px}.chat-message-body .chat-source-citation,.chat-reasoning-content .chat-source-citation{color:#175cd3;vertical-align:.12em;background:#175cd317;border:1px solid #175cd357;border-radius:50%;place-items:center;width:19px;min-width:19px;height:19px;margin:0 2px;font-size:.67rem;font-weight:950;line-height:1;text-decoration:none;transition:all .14s;display:inline-grid}.chat-message-body .chat-source-citation:hover,.chat-reasoning-content .chat-source-citation:hover{color:var(--white);background:#175cd3;border-color:#175cd3}.chat-message-body hr{border:0;border-top:1px solid var(--soft-line)}.chat-markdown-table{border:1px solid var(--soft-line);border-radius:9px;max-width:100%;overflow-x:auto}.chat-markdown-table table{border-collapse:collapse;background:var(--white);width:100%;min-width:420px;font-size:.82rem;line-height:1.55}.chat-markdown-table th,.chat-markdown-table td{border-right:1px solid var(--soft-line);border-bottom:1px solid var(--soft-line);text-align:left;vertical-align:top;padding:8px 10px}.chat-markdown-table th{background:var(--paper-2);font-weight:900}.chat-markdown-table th:last-child,.chat-markdown-table td:last-child{border-right:0}.chat-markdown-table tr:last-child td{border-bottom:0}.chat-message-body :not(pre)>code{border:1px solid var(--soft-line);background:var(--paper-2);border-radius:5px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.84em;font-weight:780}.chat-code-block{border:2px solid var(--line);border-radius:var(--radius);color:#f5f5f5;background:#141414;overflow:hidden}.chat-code-head{color:#bfbfbf;border-bottom:1px solid #ffffff24;justify-content:space-between;align-items:center;gap:10px;min-height:36px;padding:0 8px 0 11px;font-size:.68rem;font-weight:850;display:flex}.chat-code-block pre{white-space:pre;max-width:100%;padding:14px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;font-weight:560;line-height:1.7;overflow-x:auto}.chat-copy-button{border:1px solid var(--soft-line);width:28px;height:28px;min-height:28px;color:var(--muted);cursor:pointer;background:#fffc;border-radius:7px;place-items:center;padding:0;transition:all .14s;display:grid}.chat-copy-button:hover{border-color:var(--line);background:var(--black);color:var(--white)}.chat-copy-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:14px;height:14px}.chat-code-head .chat-copy-button{color:#f5f5f5;background:#ffffff14;border-color:#fff3}.chat-message-actions{opacity:1;flex-wrap:wrap;gap:2px;min-height:28px;transition:opacity .14s}.chat-answer-version-indicator{min-width:40px;height:28px;color:var(--muted);white-space:nowrap;justify-content:center;align-items:center;padding:0 4px;font-size:.66rem;font-weight:880;line-height:1;display:inline-flex}.chat-message-actions.is-user{justify-content:flex-end}.chat-message-action-button{width:28px;height:28px;min-height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;padding:0;transition:all .14s;display:grid}.chat-message-action-button:hover:not(:disabled),.chat-message-action-button.is-active{background:var(--paper-2);color:var(--black)}.chat-message-action-button.is-active{box-shadow:inset 0 0 0 1px var(--soft-line)}.chat-message-action-button:disabled{cursor:not-allowed;opacity:.36}.chat-message-action-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:16px;height:16px}.chat-reasoning-unsupported,.chat-reasoning-status{border:1px solid var(--soft-line);width:min(100%,780px);min-height:44px;color:var(--black);background:#ffffffa3;border-radius:12px;grid-template-columns:18px 1fr;align-items:center;gap:8px;padding:8px 10px;display:grid}.chat-reasoning-unsupported{color:#8f1d1d;background:#8f1d1d0f;border-color:#8f1d1d47}.chat-reasoning-unsupported>svg,.chat-reasoning-status>svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:16px;height:16px}.chat-reasoning-unsupported>div,.chat-reasoning-status>div{gap:2px;display:grid}.chat-reasoning-unsupported strong,.chat-reasoning-status strong{font-size:.72rem;font-weight:920}.chat-reasoning-unsupported span,.chat-reasoning-status span{color:inherit;font-size:.66rem;font-weight:720}.chat-search-status{border:1px solid var(--soft-line);width:min(100%,780px);color:var(--muted);background:#ffffffa3;border-radius:11px;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 11px;display:grid}.chat-search-status>svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:16px;height:16px}.chat-search-status>div{gap:2px;min-width:0;display:grid}.chat-search-status strong{color:var(--black);font-size:.72rem;font-weight:920}.chat-search-status span{text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;font-weight:720;overflow:hidden}.chat-search-status small{white-space:nowrap;font-size:.62rem;font-weight:760}.chat-search-status.is-completed{color:#176c5a;background:#2faf9214;border-color:#2faf9257}.chat-search-status.is-no_results{border-color:var(--soft-line);background:var(--paper-2);color:var(--muted)}.chat-search-status.is-failed{color:#8f1d1d;background:#fff7f4;border-color:#8f1d1d57}.chat-search-status.is-searching>svg{animation:1.1s ease-in-out infinite chatSearchPulse}.chat-search-process{background:0 0;border:0;border-radius:0;width:min(100%,780px);overflow:hidden}.chat-search-process>summary{min-height:32px;color:var(--muted);cursor:pointer;grid-template-columns:18px auto minmax(0,1fr) 16px;align-items:center;gap:8px;padding:3px 0;list-style:none;display:grid}.chat-search-process>summary::-webkit-details-marker{display:none}.chat-search-process>summary svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:15px;height:15px}.chat-search-process>summary>svg:first-child,.chat-search-process>summary strong{color:var(--black)}.chat-search-process.is-searching>summary>svg:first-child{color:#176c5a;animation:1.1s ease-in-out infinite chatSearchPulse}.chat-search-process>summary>svg:last-child{transition:transform .15s}.chat-search-process[open]>summary>svg:last-child{transform:rotate(180deg)}.chat-search-process>summary strong{font-size:.73rem;font-weight:880}.chat-search-process>summary>span{color:var(--muted-2);text-overflow:ellipsis;white-space:nowrap;justify-self:start;font-size:.62rem;font-weight:700;overflow:hidden}.chat-search-process-body{border-left:1px solid #1111112e;gap:10px;margin:2px 0 1px 8px;padding:5px 8px 3px 14px;display:grid}.chat-search-process-dialog{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-rows:auto minmax(0,1fr);width:min(100%,720px);max-height:min(680px,100% - 24px);display:grid;overflow:hidden;box-shadow:2px 2px #0b0b0bdb,0 24px 64px #0b0b0b2e}.chat-search-process-dialog>header{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.chat-search-process-dialog>header>div{gap:3px;min-width:0;display:grid}.chat-search-process-dialog>header strong{font-size:.9rem;font-weight:950}.chat-search-process-dialog>header span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:760;overflow:hidden}.chat-search-process-dialog>header button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:32px;height:32px;color:var(--black);cursor:pointer;flex:none;font-size:1rem;font-weight:900}.chat-search-process-dialog-body{min-height:0;padding:10px 14px 14px;overflow-y:auto}.chat-search-process-dialog-body .chat-search-process-body{margin-left:0;padding-left:12px}.chat-search-duration{color:var(--muted);margin:0;font-size:.64rem;font-weight:760}.chat-search-intro{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.68rem;font-weight:670;line-height:1.65}.chat-search-activity-list{min-width:0;display:grid}.chat-search-activity{grid-template-columns:12px minmax(0,1fr);align-items:start;gap:8px;min-width:0;padding:5px 0;display:grid;position:relative}.chat-search-activity:not(:last-child):after{content:"";background:#11111124;width:1px;position:absolute;top:18px;bottom:-5px;left:5px}.chat-search-activity-mark{background:var(--white);border:1.5px solid #747474;border-radius:50%;width:9px;height:9px;margin-top:4px;display:block}.chat-search-activity.is-running .chat-search-activity-mark{border-color:var(--black);background:var(--black);animation:1.1s ease-in-out infinite chatSearchPulse}.chat-search-activity.is-completed .chat-search-activity-mark{border-color:var(--black);background:var(--black)}.chat-search-activity.is-failed .chat-search-activity-mark{background:#a52b2b;border-color:#a52b2b}.chat-search-activity>div{gap:3px;min-width:0;display:grid}.chat-search-activity strong{color:var(--black);overflow-wrap:anywhere;font-size:.67rem;font-weight:800;line-height:1.5}.chat-search-activity small{color:var(--muted-2);overflow-wrap:anywhere;font-size:.61rem;font-weight:650;line-height:1.5}.chat-search-page-preview-list{flex-wrap:wrap;gap:3px 7px;min-width:0;display:flex}.chat-search-page-preview-list a,.chat-search-page-preview-list em{max-width:min(100%,250px);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.61rem;font-style:normal;font-weight:670;line-height:1.5;-webkit-text-decoration:underline #11111140;text-decoration:underline #11111140;overflow:hidden}.chat-search-page-preview-list a:hover{color:var(--black);text-decoration-color:currentColor}.chat-search-page-preview-list em{color:var(--muted-2);text-decoration:none}.chat-search-open-pages{border:1px solid var(--soft-line);background:var(--white);min-height:28px;color:var(--black);cursor:pointer;border-radius:7px;justify-self:start;align-items:center;gap:5px;padding:4px 8px;font-size:.63rem;font-weight:780;transition:all .14s;display:inline-flex}.chat-search-open-pages:hover{border-color:var(--line);background:var(--paper-2)}.chat-search-open-pages:focus-visible,.chat-search-process>summary:focus-visible{outline-offset:2px;outline:2px solid #11111138}.chat-search-open-pages svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:13px;height:13px;transform:rotate(-90deg)}.chat-search-engine-tags{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.chat-search-engine-tags>span{min-height:20px;color:var(--muted);white-space:nowrap;background:#ffffffe0;border:1px solid #11111126;border-radius:5px;align-items:center;gap:5px;padding:2px 7px;font-style:normal;line-height:1.2;display:inline-flex}.chat-search-engine-tags>span.is-completed,.chat-search-engine-tags>span.is-source{color:#176c5a;background:#2faf9214;border-color:#2faf924d}.chat-search-engine-tags>span.is-no_results{border-color:var(--soft-line);background:var(--paper-2);color:var(--muted)}.chat-search-engine-tags>span.is-failed{color:#8f1d1d;background:#8f1d1d0f;border-color:#8f1d1d4d}.chat-search-engine-tags b,.chat-search-engine-tags small{color:inherit;font-size:.58rem;font-weight:860}.chat-search-engine-tags small{opacity:.82}.chat-search-process.is-failed{border-color:#8f1d1d47}.chat-search-process.is-skipped{background:#f6f6f6b8;border-color:#1111111a}.chat-search-pages-layer{z-index:50;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#edededc2;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.chat-search-pages-dialog{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-rows:auto minmax(0,1fr);width:min(100%,1040px);min-width:0;height:min(720px,100% - 24px);min-height:0;display:grid;position:relative;overflow:hidden;box-shadow:2px 2px #0b0b0bdb,0 24px 64px #0b0b0b2e}.chat-search-pages-dialog>header{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:center;gap:16px;min-height:66px;padding:12px 62px 12px 17px;display:flex}.chat-search-pages-dialog>header>div{gap:3px;min-width:0;display:grid}.chat-search-pages-dialog>header strong{color:var(--black);font-size:.94rem;font-weight:950}.chat-search-pages-dialog>header span{color:var(--muted);font-size:.68rem;font-weight:740}.chat-search-pages-dialog>.modal-close-button{z-index:14;position:absolute;top:12px;right:12px}.chat-search-pages-layout{grid-template-columns:minmax(250px,330px) minmax(0,1fr);min-width:0;min-height:0;display:grid}.chat-search-page-list{border-right:1px solid var(--soft-line);background:#f6f6f6;align-content:start;gap:7px;min-width:0;min-height:0;padding:10px;display:grid;overflow-y:auto}.chat-search-page-list button{min-width:0;color:var(--black);cursor:pointer;text-align:left;border:1px solid #0000;border:1px solid var(--line);background:0 0;border-radius:10px;grid-template-columns:24px minmax(0,1fr);gap:9px;padding:9px;transition:all .14s;display:grid}.chat-search-page-list button:hover,.chat-search-page-list button.is-active{border-color:var(--soft-line);background:var(--white);border:2px solid var(--line);box-shadow:1px 1px #0b0b0bb8}.chat-search-page-list button>b{background:var(--black);width:24px;height:24px;color:var(--white);border-radius:50%;place-items:center;font-size:.62rem;display:grid}.chat-search-page-list button>span{gap:3px;min-width:0;display:grid}.chat-search-page-list strong,.chat-search-page-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-search-page-list strong{font-size:.69rem;font-weight:880}.chat-search-page-list small{color:var(--muted);font-size:.6rem;font-weight:700}.chat-search-page-list em{color:#176c5a;justify-self:start;font-size:.58rem;font-style:normal;font-weight:820}.chat-search-pages-dialog>header .chat-search-engine-tags,.chat-search-page-list .chat-search-engine-tags,.chat-search-page-preview .chat-search-engine-tags{justify-self:start;overflow:visible}.chat-search-pages-dialog>header .chat-search-engine-tags>span,.chat-search-page-list .chat-search-engine-tags>span,.chat-search-page-preview .chat-search-engine-tags>span{color:#176c5a;font-size:inherit;overflow-wrap:normal;overflow:visible}.chat-search-page-preview{align-content:start;gap:14px;min-width:0;min-height:0;padding:18px;display:grid;overflow-y:auto}.chat-search-page-preview>header{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:13px;display:flex}.chat-search-page-preview>header>div{gap:4px;min-width:0;display:grid}.chat-search-page-preview>header strong{color:var(--black);overflow-wrap:anywhere;font-size:1rem;font-weight:950;line-height:1.35}.chat-search-page-preview>header span{color:var(--muted);overflow-wrap:anywhere;font-size:.66rem;font-weight:720}.chat-search-page-preview>header a{border:1px solid var(--line);background:var(--black);min-height:32px;color:var(--white);border-radius:8px;flex:none;padding:0 10px;font-size:.65rem;font-weight:860;line-height:30px;text-decoration:none}.chat-search-page-snippet,.chat-search-page-content{gap:7px;display:grid}.chat-search-page-snippet>strong,.chat-search-page-content>strong{color:var(--black);font-size:.7rem;font-weight:920}.chat-search-page-snippet p,.chat-search-page-content p{color:var(--muted);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:.74rem;font-weight:650;line-height:1.75}.chat-search-page-snippet{background:#2faf920f;border:1px solid #2faf9238;border-radius:10px;padding:11px 12px}.chat-search-page-content p.is-empty,.chat-search-page-empty{color:var(--muted-2);font-style:italic}.chat-search-page-empty{place-items:center;min-height:220px;font-size:.72rem;font-weight:760;display:grid}.chat-reasoning-details{border:1px solid var(--soft-line);background:#ffffffa3;border-radius:12px;width:min(100%,780px);overflow:hidden}.chat-reasoning-details summary{min-height:38px;color:var(--muted);cursor:pointer;grid-template-columns:18px auto 1fr 16px;align-items:center;gap:7px;padding:7px 10px;list-style:none;display:grid}.chat-reasoning-details summary::-webkit-details-marker{display:none}.chat-reasoning-details summary>svg:first-child{color:var(--black)}.chat-reasoning-details summary svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:16px;height:16px}.chat-reasoning-details summary>svg:last-child{transition:transform .15s}.chat-reasoning-details[open] summary>svg:last-child{transform:rotate(180deg)}.chat-reasoning-details summary strong{color:var(--black);font-size:.72rem;font-weight:920}.chat-reasoning-details summary span{justify-self:start;font-size:.66rem;font-weight:760}.chat-reasoning-content{border-top:1px solid var(--soft-line);max-height:none;color:var(--muted);overflow-wrap:anywhere;padding:0 12px 11px 35px;font-size:.78rem;font-weight:650;line-height:1.7;overflow:visible}.chat-reasoning-content>:first-child{margin-top:10px}.chat-reasoning-content p,.chat-reasoning-content ul,.chat-reasoning-content ol,.chat-reasoning-content blockquote{margin:0}.chat-reasoning-content .chat-reasoning-pending{color:var(--muted-2);font-style:italic}.chat-reasoning-content>*+*{margin-top:8px}.chat-reasoning-content ul,.chat-reasoning-content ol{padding-left:1.2rem}.chat-message-sources{border:1px solid var(--soft-line);border-radius:var(--radius);background:#ffffff8f;gap:9px;width:min(100%,780px);padding:11px 12px;display:grid}.chat-message-sources-head{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.chat-message-sources-head strong{color:var(--muted);flex:none;font-size:.67rem;font-weight:900}.chat-message-sources-head span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.64rem;font-weight:720;overflow:hidden}.chat-message-source-list{gap:7px;display:grid}.chat-message-source-list a{border:1px solid var(--soft-line);background:var(--white);min-width:0;color:var(--black);border-radius:11px;grid-template-columns:22px minmax(0,1fr);gap:9px;padding:9px 10px;text-decoration:none;transition:border-color .14s,transform .14s;display:grid}.chat-message-source-list a:hover{border-color:var(--line);transform:translateY(-1px)}.chat-message-source-index{background:var(--black);width:22px;height:22px;color:var(--white);border-radius:50%;place-items:center;font-size:.62rem;font-weight:850;display:grid}.chat-message-source-content{gap:3px;min-width:0;display:grid}.chat-message-source-content strong{overflow-wrap:anywhere;color:var(--black);font-size:.72rem;font-weight:850;line-height:1.42}.chat-message-source-content small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.61rem;font-weight:760;overflow:hidden}.chat-message-source-content>span{color:var(--muted);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.65rem;font-weight:650;line-height:1.48;display:-webkit-box;overflow:hidden}.chat-agent-progress{border:2px solid var(--line);background:var(--white);border-radius:15px;gap:10px;width:min(100%,780px);padding:13px 14px;display:grid}.chat-agent-progress>div{gap:2px;display:grid}.chat-agent-progress strong{color:var(--black);font-size:.78rem;font-weight:920}.chat-agent-progress div span{color:var(--muted);font-size:.68rem;font-weight:760}.chat-agent-progress-track{background:var(--paper-2);border-radius:999px;height:3px;display:block;overflow:hidden}.chat-agent-progress-track span{background:var(--black);border-radius:999px;width:36%;height:100%;animation:1.35s ease-in-out infinite chatAgentProgress;display:block}.chat-composer-panel{--chat-content-width:820px;z-index:4;padding:12px max(24px, calc((100% - var(--chat-content-width)) / 2)) 20px;background:linear-gradient(#f7f7f700,#f7f7f7 24px);justify-items:center;display:grid;position:relative}.chat-stage.is-empty .chat-composer-panel{background:0 0;width:100%;padding:0}.chat-composer-shell{width:100%;max-width:var(--chat-content-width);gap:8px;display:grid}.chat-stage.is-empty .chat-composer-shell{width:min(100%,720px)}.chat-image-attachment{border:2px solid var(--line);background:var(--white);border-radius:13px;grid-template-columns:46px minmax(0,1fr) 30px;align-items:center;gap:9px;padding:7px 9px;display:grid;box-shadow:0 10px 26px #0b0b0b0f}.chat-image-attachment img{background:var(--paper-2);object-fit:cover;border-radius:8px;width:46px;height:46px;display:block}.chat-image-attachment span{min-width:0;color:var(--black);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;font-weight:850;overflow:hidden}.chat-image-attachment button{border:1px solid var(--soft-line);background:var(--paper-2);width:30px;height:30px;min-height:30px;color:var(--black);cursor:pointer;border-radius:50%;place-items:center;padding:0;font-size:1rem;font-weight:950;display:grid}.chat-composer{border:2px solid var(--line);background:var(--white);border-radius:12px;grid-template-rows:minmax(42px,auto) auto;min-height:118px;padding:13px 13px 10px;transition:box-shadow .16s;display:grid;box-shadow:0 14px 36px #0b0b0b17}.chat-composer:focus-within{box-shadow:4px 4px #0b0b0be6,0 16px 40px #0b0b0b1a}.chat-composer textarea{resize:none;width:100%;min-height:42px;max-height:170px;color:var(--black);background:0 0;border:0;outline:none;padding:3px 4px 9px;font-size:.92rem;font-weight:720;line-height:1.55;overflow-y:auto}.chat-composer textarea::placeholder{color:var(--muted-2)}.chat-composer-footer{justify-content:space-between;gap:12px;min-width:0}.chat-composer-tools,.chat-composer-submit{gap:7px}.chat-composer-tools{flex-wrap:wrap}.chat-mode-button{border:1px solid var(--soft-line);background:var(--white);height:38px;min-height:38px;color:var(--black);cursor:pointer;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:.7rem;font-weight:880;transition:border-color .15s,background .15s,color .15s,box-shadow .15s,transform .15s;display:inline-flex}.chat-mode-button:hover:not(.is-active):not(:disabled){border-color:var(--line);background:var(--paper-2);color:var(--black);transform:translateY(-1px)}.chat-mode-button.is-active{border-color:var(--black);background:var(--black);color:var(--white)}.chat-mode-button.is-active:hover:not(:disabled){border-color:var(--black);color:var(--white);background:#242424;transform:translateY(-1px);box-shadow:1px 1px #0b0b0b47}.chat-mode-button:focus-visible{outline-offset:2px;outline:3px solid #11111138}.chat-tool-button,.chat-context-button,.chat-send-button{border:1px solid var(--soft-line);cursor:pointer;border-radius:8px;place-items:center;width:38px;height:38px;min-height:38px;padding:0;transition:all .15s;display:grid}.chat-tool-button,.chat-context-button{background:var(--white);color:var(--black)}.chat-tool-button.is-active,.chat-context-button.is-active,.chat-tool-button:hover:not(:disabled),.chat-context-button:hover{border-color:var(--line);background:var(--black);color:var(--white)}.chat-send-button{border-color:var(--black);background:var(--black);color:var(--white)}.chat-send-button:hover:not(:disabled){background:var(--white);color:var(--black);box-shadow:2px 2px 0 var(--black);transform:translate(-1px,-1px)}.chat-tool-button:disabled,.chat-mode-button:disabled,.chat-send-button:disabled,.chat-image-attachment button:disabled{cursor:not-allowed;opacity:.34}.chat-tool-button svg,.chat-mode-button svg,.chat-context-button svg,.chat-send-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px}.chat-context-wrap{position:relative}.chat-context-popover{border:2px solid var(--line);background:var(--white);border-radius:13px;gap:9px;width:270px;padding:13px;display:grid;position:absolute;bottom:calc(100% + 13px);right:-8px}.chat-context-popover-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.chat-context-popover-head strong{color:var(--black);font-size:.85rem;font-weight:950}.chat-context-popover-head span{color:var(--muted);font-size:.72rem;font-weight:900}.chat-context-popover p{color:var(--muted);margin:-4px 0 1px;font-size:.69rem;font-weight:760}.chat-context-progress{background:var(--paper-2);border-radius:999px;height:6px;display:block;overflow:hidden}.chat-context-progress>span{background:var(--black);border-radius:999px;min-width:0;height:100%;transition:width .22s;display:block}.chat-context-metrics{border-top:1px solid var(--soft-line);gap:4px;padding-top:3px;display:grid}.chat-context-metrics span{color:var(--muted);font-size:.69rem;font-weight:760;line-height:1.45}.chat-context-popover>i{border-right:2px solid var(--line);border-bottom:2px solid var(--line);background:var(--white);width:12px;height:12px;position:absolute;bottom:-7px;right:20px;transform:rotate(45deg)}@keyframes chatStreamCaret{0%,45%{opacity:1}46%,to{opacity:0}}@keyframes chatAgentProgress{0%{transform:translate(-115%)}55%{transform:translate(120%)}to{transform:translate(240%)}}@keyframes chatSearchPulse{0%,to{opacity:.42;transform:scale(.92)}50%{opacity:1;transform:scale(1)}}@media (width<=760px){.modal-frame.workspace-modal-frame{width:calc(100vw - 20px);max-width:calc(100vw - 20px);height:calc(100vh - 20px);max-height:calc(100vh - 20px)}.chat-workbench{grid-template-rows:auto minmax(0,1fr)}.chat-agent-session-tools{--chat-session-control-height:38px;border-radius:var(--radius-lg);grid-row:1;justify-content:space-between;align-items:stretch;gap:8px;width:100%;max-width:100%;height:max-content;margin:10px 0;padding:8px;display:flex;position:static;overflow:visible;transform:none}.chat-agent-session-tools>*{min-width:0;max-height:none}.chat-agent-session-tools .chat-session-button,.chat-agent-session-tools .chat-session-context-count{width:auto;min-width:0;height:var(--chat-session-control-height);min-height:var(--chat-session-control-height);max-height:var(--chat-session-control-height);flex:1 1 0;gap:clamp(3px,1vw,6px);padding:0 clamp(5px,1.5vw,9px);font-size:clamp(.62rem,2.7vw,.72rem)}.chat-agent-session-tools .chat-session-button span,.chat-agent-session-tools .chat-session-context-count span{min-width:0;display:inline}.chat-agent-session-tools .chat-session-button svg,.chat-agent-session-tools .chat-session-context-count svg{flex-basis:clamp(15px,4.3vw,17px);width:clamp(15px,4.3vw,17px);height:clamp(15px,4.3vw,17px)}.chat-agent-session-tools .chat-session-button b,.chat-agent-session-tools .chat-session-context-count b{min-width:clamp(16px,4.6vw,18px);height:clamp(16px,4.6vw,18px);font-size:clamp(.56rem,2.4vw,.62rem)}.chat-agent-session-tools .chat-session-search input{font-size:clamp(.66rem,2.8vw,.74rem)}.chat-session-search{flex:100%;order:4;width:100%;min-width:0}.chat-stage.is-empty{flex-direction:column;align-items:center;gap:10px;padding:12px 12px 8px;display:flex}.chat-stage.is-empty .chat-thread{flex:auto;align-content:normal;min-height:0;overflow-y:auto}.chat-stage.is-empty .chat-empty-state{margin-block:auto}.chat-stage.is-empty .chat-composer-panel{flex:none}.chat-history-layer,.chat-search-pages-layer{padding:10px}.chat-search-pages-dialog{border-radius:14px;height:calc(100% - 12px)}.chat-search-pages-layout{grid-template-rows:minmax(150px,34%) minmax(0,1fr);grid-template-columns:1fr}.chat-search-page-list{border-right:0;border-bottom:1px solid var(--soft-line)}.chat-search-page-preview{padding:13px}.chat-search-page-preview>header{display:grid}.chat-search-page-preview>header a{justify-self:start}.chat-history-dialog{border-radius:14px;max-height:calc(100% - 12px)}.chat-history-item{grid-template-columns:34px minmax(0,1fr)}.chat-history-item-meta{display:none}.chat-modal-frame>.modal-close-button{top:12px}.size-modal{grid-auto-rows:max-content}.chat-thread,.chat-thread.has-messages{clip-path:none;gap:19px;padding:24px 14px 18px}.chat-message{grid-template-columns:30px minmax(0,1fr);gap:8px}.chat-message.is-user{grid-template-columns:minmax(0,1fr) 30px}.chat-message.is-user .chat-message-avatar{order:2}.chat-message-avatar{width:30px;height:30px}.chat-message-avatar svg{width:17px;height:17px}.chat-message.is-user .chat-message-column{justify-items:end}.chat-message.is-user .chat-message-body{justify-self:end;width:auto;max-width:100%}.chat-message-body{padding:12px 13px;font-size:.87rem}.chat-message-editor{width:100%}.chat-reasoning-content{padding-left:12px}.chat-message-actions{opacity:1}.chat-composer-panel{padding:8px 14px 10px}.chat-composer-footer{flex-wrap:wrap}.chat-composer-tools{flex:220px}.chat-search-process>summary{grid-template-columns:18px minmax(0,1fr) auto 16px}.chat-composer-submit{margin-left:auto}.chat-composer{min-height:104px;box-shadow:none;border-radius:16px}.chat-composer:focus-within{box-shadow:none;transform:none}.chat-context-popover{width:min(270px,100vw - 38px);right:-48px}.chat-context-popover>i{right:60px}}.size-modal{align-content:start;width:min(100%,430px);min-height:min(650px,100vh - 36px)}.compact-modal{width:min(100%,410px)}.settings-modal,.history-modal,.account-modal{width:min(100%,540px)}.image-detail-modal{grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:min(100%,1120px);min-width:0;max-width:100%;height:min(760px,100vh - 36px);max-height:calc(100vh - 36px);padding:12px;overflow:hidden}.detail-preview{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);width:100%;min-width:0;height:100%;min-height:0;display:grid;position:sticky;top:0;overflow:hidden}.detail-preview img{object-fit:contain;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;display:block}.detail-preview-image{cursor:zoom-in}.detail-image-failed{z-index:3;background:#f6f6f6fa}.detail-pending-preview{aspect-ratio:auto;min-width:0;height:100%;min-height:0}.detail-pending-preview p{width:min(100%,520px)}.detail-badges{z-index:1;flex-wrap:wrap;gap:7px;display:flex;position:absolute;top:10px;left:10px}.detail-badges span,.detail-badges button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);min-height:29px;color:var(--black);padding:5px 8px;font-size:.76rem;font-weight:950}.detail-badges button{cursor:pointer}.detail-badges button:hover,.detail-badges button:focus-visible{background:var(--black);color:var(--white);outline:none}.detail-panel{align-content:start;gap:14px;min-width:0;min-height:0;padding:4px 6px 4px 4px;display:grid;overflow-y:auto}.modal-head,.drawer-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.modal-head h2{color:var(--black);letter-spacing:-.04em;margin:0;font-size:1.05rem;font-weight:950}.modal-head p{color:var(--muted);margin:5px 0 0;font-size:.78rem;font-weight:760}.close-button{border-radius:var(--radius);place-items:center;width:34px;height:34px;font-size:1.35rem;line-height:1;display:inline-grid}.modal-frame>.modal-close-button{z-index:14;position:absolute;top:12px;right:12px}.chat-modal-frame>.modal-close-button{border-radius:7px;width:34px;height:34px;min-height:34px;padding:0;top:14px}.modal-card>.modal-head,.image-detail-modal .detail-panel>.modal-head{padding-right:46px}.prompt-detail,.summary-box,.detail-meta-grid div,.account-panel>.summary-box{border:2px solid var(--line);border-radius:var(--radius);background:var(--white)}.prompt-detail{gap:8px;padding:12px;display:grid}.prompt-detail-stack{gap:12px}.prompt-detail-stack div{gap:6px;display:grid}.prompt-detail-stack div+div{border-top:2px solid var(--line);padding-top:10px}.prompt-detail span,.detail-meta-grid span,.summary-box span,.section-label{color:var(--muted);font-size:.74rem;font-weight:900}.prompt-detail p{color:var(--black);overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:.92rem;font-weight:740;line-height:1.75}.detail-copy-image-button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);min-height:34px;color:var(--black);cursor:pointer;flex:none;justify-content:center;align-items:center;gap:7px;padding:0 11px;font-size:.72rem;font-weight:900;display:inline-flex}.detail-copy-image-button:hover,.detail-copy-image-button:focus-visible{background:var(--black);color:var(--white);outline:none}.detail-copy-image-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:15px;height:15px}.detail-prompt-heading{flex-wrap:nowrap;justify-content:flex-start;align-items:center;width:100%;min-width:0;max-width:100%;gap:6px!important;display:flex!important}.detail-prompt-heading>.detail-prompt-copy-button{margin-left:auto}.detail-prompt-copy-row{align-items:flex-end;min-width:0;gap:8px!important;display:flex!important}.detail-prompt-copy-row p{flex:auto;min-width:0}.detail-prompt-copy-button{border:1px solid var(--line);background:var(--white);width:26px;height:26px;min-height:26px;color:var(--black);cursor:pointer;border-radius:5px;flex:0 0 26px;place-items:center;padding:0;display:grid}.detail-prompt-copy-button:hover,.detail-prompt-copy-button:focus-visible{background:var(--black);color:var(--white);outline:none}.detail-prompt-copy-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:13px;height:13px}.detail-error-block{background:#fff7f4;border-style:dashed}.detail-error-block span,.detail-error-block p{color:#8f1d1d}.detail-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.detail-meta-grid div{gap:5px;padding:11px;display:grid}.detail-meta-grid strong,.summary-box strong{overflow-wrap:anywhere;min-width:0;color:var(--black);font-size:.92rem;font-weight:950}.detail-reference-meta>strong{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.detail-reference-meta>strong>button{border:1px solid var(--line);background:var(--white);cursor:zoom-in;border-radius:6px;flex:0 0 38px;width:38px;height:38px;padding:2px;display:block}.detail-reference-meta>strong>button:hover:not(:disabled),.detail-reference-meta>strong>button:focus-visible:not(:disabled){border-color:var(--black);outline:none}.detail-reference-meta>strong>button:disabled{cursor:not-allowed}.detail-reference-note{color:var(--muted);flex:100%;font-size:.68rem;font-weight:760;line-height:1.45}.detail-reference-meta>strong>button img,.detail-reference-fallback{object-fit:cover;border-radius:4px;width:100%;height:100%;display:block}.detail-reference-fallback{color:var(--muted);overflow-wrap:anywhere;text-align:center;place-items:center;padding:3px;font-size:.52rem;font-weight:800;line-height:1.2;display:grid;overflow:hidden}.created-line{color:var(--muted);margin:0;padding-top:2px;font-size:.78rem;font-weight:780}.image-detail-modal>.detail-preview{grid-area:1/1}.image-detail-modal>.detail-actions{z-index:4;scrollbar-width:none;flex-wrap:nowrap;grid-area:1/1;align-self:end;align-items:center;gap:6px;min-width:0;margin:0 12px 12px;padding:4px;display:flex;overflow:auto hidden}.image-detail-modal>.detail-actions::-webkit-scrollbar{display:none}.image-detail-modal>.detail-actions a,.image-detail-modal>.detail-actions button{white-space:nowrap;flex:1 0 auto;justify-content:center;gap:6px;min-height:34px;padding:0 10px;font-size:.78rem}.image-detail-modal>.detail-actions a{text-decoration:none}.detail-action-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px;display:none}.detail-action-icon.is-filled{fill:currentColor}.detail-action-spinner{border-width:3px;width:16px;height:16px}.wall-button.is-active{border-style:dashed}.segmented-control{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);grid-template-columns:repeat(3,1fr);gap:5px;padding:5px;display:grid}.size-modal .segmented-control.size-mode-tabs,.size-modal .ratio-size-panel .resolution-row{grid-template-columns:none;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}.segmented-control.two-tabs{grid-template-columns:repeat(2,1fr)}.segmented-control.four-tabs{grid-template-columns:repeat(4,1fr)}.segmented-control.five-tabs{grid-template-columns:repeat(5,1fr)}.segmented-control button{border-radius:var(--radius-sm);min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border:2px solid #0000;font-size:.82rem;font-weight:920;transition:all .16s}.segmented-control button.is-active,.segmented-control button:hover{border-color:var(--black);background:var(--black);color:var(--white)}.size-tab-panel{align-content:start;gap:14px;min-height:348px;display:grid}.auto-card,.size-limit-note{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);text-align:center;justify-items:center;gap:12px;padding:34px 22px;display:grid}.auto-icon{border:2px solid var(--black);border-radius:var(--radius);background:var(--black);width:54px;height:54px;color:var(--white);place-items:center;font-weight:950;display:grid}.auto-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:28px;height:28px}.size-limit-note .auto-icon{color:var(--white)}.auto-card strong{color:var(--black);font-size:1.02rem}.auto-card p{max-width:290px;color:var(--muted);margin:0;font-size:.86rem;font-weight:680;line-height:1.65}.modal-section{gap:10px;display:grid}.resolution-row{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.select-card{border-radius:var(--radius);min-height:40px;font-size:.84rem;font-weight:950}.ratio-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.size-modal .ratio-grid.gemini-ratio-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.ratio-card{border-radius:var(--radius);place-items:center;gap:5px;min-height:60px;display:grid}.ratio-card strong{font-size:.76rem;font-weight:900}.ratio-card small{max-width:100%;color:var(--muted);font-size:.62rem;font-weight:760;line-height:1.35;display:block}.video-size-note{text-align:left;flex:none;grid-template-columns:28px minmax(0,1fr);place-items:center start;gap:5px 10px;padding:8px 10px}.video-size-note .auto-icon{border-radius:var(--radius-sm);grid-row:1/span 2;width:28px;height:28px}.video-size-note .auto-icon svg{width:16px;height:16px}.video-size-note strong{font-size:.76rem;line-height:1.25}.video-size-note span:last-child{max-width:none;font-size:.68rem;line-height:1.32}.size-modal .ratio-card.has-description{align-content:center;min-height:112px;padding:10px 8px}.size-modal .ratio-card.has-description.is-active small{color:#ffffffc7}.video-size-modal .size-tab-panel{min-height:auto}.video-size-modal .ratio-size-panel{gap:12px}.video-size-modal .modal-section{min-height:0}.video-ratio-list{grid-template-columns:1fr}.video-ratio-list .ratio-card.has-description{text-align:left;grid-template-columns:30px 48px minmax(0,1fr);place-items:center start;min-height:56px;padding:8px 10px}.video-ratio-list .ratio-card small{font-size:.7rem;line-height:1.45}@media (height<=720px){.video-size-modal{gap:10px;padding:14px}.video-size-modal .ratio-size-panel{gap:10px}.video-ratio-list{gap:6px}.video-ratio-list .ratio-card.has-description{min-height:50px;padding:7px 9px}.video-size-note{padding:7px 9px}}@media (width<=760px) and (height<=700px){.chat-stage.is-empty .chat-suggested-questions{display:none}}@media (width<=760px) and (height<=620px){.chat-stage.is-empty .chat-empty-state p{display:none}}.custom-ratio-button{border-radius:var(--radius);width:100%;min-height:40px;font-size:.86rem;font-weight:950}.custom-ratio-button-value{opacity:.86;margin-left:6px;font-size:.74rem;font-weight:860}.custom-ratio-layer{z-index:30;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0b0b0b6b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.custom-ratio-backdrop{cursor:default;background:0 0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.custom-ratio-dialog{z-index:1;border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:min(100%,340px);max-height:calc(100vh - 36px);box-shadow:var(--shadow-hard);gap:13px;padding:16px;position:relative}.custom-ratio-dialog-close{z-index:1;position:absolute;top:12px;right:12px}.custom-ratio-dialog .custom-ratio-row{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-ratio-dialog .custom-ratio-row input{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);width:100%;min-width:0;min-height:42px;color:var(--black);padding:0 10px;font-size:.92rem;font-weight:860}.custom-ratio-dialog .custom-ratio-row input:focus{border-color:var(--black);background:var(--white);outline:none}.custom-ratio-dialog .summary-box{margin-top:0;padding:12px 14px}.ratio-icon{width:var(--ratio-icon-width,18px);height:var(--ratio-icon-height,18px);border:1px solid;border-radius:3px;display:block}.ratio-icon.custom{width:18px;height:18px;position:relative}.ratio-icon.custom:before,.ratio-icon.custom:after{content:"";background:currentColor;position:absolute}.ratio-icon.custom:before{width:10px;height:1px;top:7px;left:3px}.ratio-icon.custom:after{width:1px;height:10px;top:3px;left:7px}.confirm-dialog-layer{z-index:1100}.confirm-dialog-alert>.modal-backdrop{-webkit-backdrop-filter:blur(18px)saturate(1.08);background:#f6f6f685}.confirm-dialog{gap:14px}.confirm-dialog>.modal-head{padding-right:0}.confirm-dialog-summary{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);color:var(--black);gap:7px;padding:12px;display:grid}.confirm-dialog-summary span{color:var(--muted);font-size:.74rem;font-weight:920}.confirm-dialog-summary strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:1rem;font-weight:950;overflow:hidden}.confirm-dialog-summary p{color:var(--muted);margin:0;font-size:.82rem;font-weight:820;line-height:1.55}.confirm-dialog-actions{grid-template-columns:1fr 1fr}.primary-action.confirm-dialog-danger{color:var(--white);background:#dc2626;border-color:#7f1d1d}.primary-action.confirm-dialog-danger:hover:not(:disabled),.primary-action.confirm-dialog-danger:focus-visible:not(:disabled){color:var(--white);background:#991b1b}.primary-action.confirm-dialog-danger:disabled{cursor:wait;opacity:.72}.agent-chat-container{background:0 0;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;height:100%;min-height:0;padding:0;display:grid;position:relative;overflow:hidden}.chat-mode-hint{color:#8a5a00;margin:10px 0 0;font-size:11px;line-height:1.6}.chat-mode-hint.is-personal{color:#155e46}.agent-preview-chat{width:100%;min-width:0;height:100%;min-height:0;padding:0}.chat-panel.is-embedded{width:100%;height:100%;max-height:none;box-shadow:none;background:0 0;border:0;border-radius:0;gap:0;padding:0;overflow:hidden}.chat-panel.is-embedded .chat-workbench,.chat-panel.is-embedded .chat-stage,.chat-panel.is-embedded .chat-stage.has-messages,.chat-panel.is-embedded .chat-composer-panel{background:0 0}.chat-panel.is-embedded .chat-agent-session-tools{background:#ffffffeb}.agent-workspace-loading{text-align:center;align-content:center;justify-items:center;gap:8px;min-width:0;min-height:0;padding:24px;display:grid}.agent-workspace-loading strong{color:var(--black);font-size:.82rem;font-weight:920}.agent-workspace-loading span{max-width:320px;color:var(--muted);font-size:.68rem;font-weight:680;line-height:1.6}.agent-workspace-loading button{border:1px solid var(--line);background:var(--black);min-height:34px;color:var(--white);cursor:pointer;border-radius:7px;margin-top:4px;padding:0 12px;font-size:.67rem;font-weight:860}.agent-settings-section{gap:16px;min-width:0;display:grid}.agent-settings-section-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.agent-settings-section-head>div{gap:4px;min-width:0;display:grid}.agent-settings-section-head strong{color:var(--black);letter-spacing:-.025em;font-size:.88rem;font-weight:950}.agent-settings-section-head span{color:var(--muted);font-size:.69rem;font-weight:700;line-height:1.55}.agent-inline-action{border:1px solid var(--line);background:var(--black);min-height:32px;color:var(--white);cursor:pointer;border-radius:7px;flex:none;padding:0 11px;font-size:.67rem;font-weight:880}.agent-inline-action:disabled{cursor:wait;opacity:.48}.agent-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.agent-field-grid label,.agent-prompt-field{gap:7px;min-width:0;display:grid}.agent-field-grid label.is-full{grid-column:1/-1}.agent-field-grid label>span,.agent-prompt-field>span{color:var(--black);font-size:.68rem;font-weight:880}.agent-field-grid input,.agent-field-grid textarea,.agent-prompt-field textarea{width:100%;min-width:0;color:var(--black);background:#f8f8f8;border:1px solid #11111129;border-radius:8px;outline:0;font-size:.74rem;font-weight:650;line-height:1.65;transition:all .14s}.agent-field-grid input{min-height:40px;padding:0 11px}.agent-field-grid textarea,.agent-prompt-field textarea{resize:vertical;padding:10px 11px}.agent-field-grid input:focus,.agent-field-grid textarea:focus,.agent-prompt-field textarea:focus{border-color:var(--line);background:var(--white);box-shadow:0 0 0 3px #1111110d}.agent-prompt-field small{color:var(--muted);justify-self:end;font-size:.62rem;font-weight:720}.agent-security-note{border:1px solid var(--soft-line);background:var(--paper-2);color:var(--muted);border-radius:8px;margin:0;padding:10px 12px;font-size:.66rem;font-weight:720;line-height:1.65}.agent-range-field{background:#f8f8f8;border:1px solid #1111111c;border-radius:9px;grid-template-columns:minmax(0,1fr) 130px 28px;align-items:center;gap:12px;padding:12px;display:grid}.agent-range-field>span{gap:3px;display:grid}.agent-range-field strong{font-size:.7rem;font-weight:900}.agent-range-field small{color:var(--muted);font-size:.62rem;line-height:1.45}.agent-range-field input{accent-color:var(--black)}.agent-range-field b{background:var(--black);width:28px;height:28px;color:var(--white);border-radius:7px;place-items:center;font-size:.68rem;display:grid}.agent-resource-list{gap:8px;display:grid}.agent-resource-card{background:#fafafa;border:1px solid #1111111c;border-radius:9px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-width:0;padding:12px;display:grid}.agent-resource-card>div:first-child{gap:3px;min-width:0;display:grid}.agent-resource-card strong{color:var(--black);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:900;overflow:hidden}.agent-resource-card>div:first-child>span,.agent-resource-card p{color:var(--muted);margin:0;font-size:.63rem;font-weight:690;line-height:1.5}.agent-resource-card.is-tool>div:first-child{gap:5px}.agent-resource-kind{background:#e9e9e9;border-radius:5px;justify-self:start;padding:2px 6px;color:#575757!important;font-size:.58rem!important;font-weight:860!important}.agent-resource-toggle{cursor:pointer;align-items:center;gap:7px;display:flex}.agent-resource-toggle>input{opacity:0;pointer-events:none;position:absolute}.agent-resource-toggle>span{background:#c9c9c9;border-radius:999px;width:30px;height:18px;transition:all .15s;display:block;position:relative}.agent-resource-toggle>span i{background:#fff;border-radius:50%;width:12px;height:12px;transition:all .15s;position:absolute;top:3px;left:3px}.agent-resource-toggle>input:checked+span{background:var(--black)}.agent-resource-toggle>input:checked+span i{transform:translate(12px)}.agent-resource-toggle>div{gap:1px;display:grid}.agent-resource-toggle strong{font-size:.62rem}.agent-resource-toggle small{color:var(--muted);font-size:.57rem}.agent-resource-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.agent-resource-download,.agent-resource-delete{cursor:pointer;border-radius:6px;min-height:29px;padding:0 8px;font-size:.61rem;font-weight:850}.agent-resource-download{color:var(--black);background:#fff;border:1px solid #1111112e}.agent-resource-delete{color:#8f1d1d;background:#fff7f4;border:1px solid #8f1d1d3d}.agent-resource-download:disabled,.agent-resource-delete:disabled{cursor:wait;opacity:.45}.agent-resource-toggle:has(input:disabled){cursor:wait;opacity:.45}.agent-resource-protected{color:#176c5a;white-space:nowrap;font-size:.6rem;font-weight:800}.agent-resource-empty{min-height:130px;color:var(--muted);background:#f8f8f8;border:1px dashed #1113;border-radius:9px;place-items:center;font-size:.68rem;font-weight:760;display:grid}.chat-empty-agent-avatar{background:var(--black);width:58px;height:58px;color:var(--white);border:1px solid #11111124;border-radius:15px;place-items:center;margin-bottom:3px;display:grid;overflow:hidden}.chat-empty-agent-avatar img{object-fit:cover;width:100%;height:100%;display:block}.chat-empty-agent-avatar svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:28px;height:28px}.chat-suggested-questions{flex-wrap:wrap;justify-content:center;gap:7px;max-width:680px;margin-top:8px;display:flex}.chat-suggested-questions button{color:#424242;cursor:pointer;background:#ffffffd1;border:1px solid #11111121;border-radius:8px;min-height:34px;padding:0 11px;font-size:.68rem;font-weight:760;transition:all .14s}.chat-suggested-questions button:hover{border-color:var(--line);background:var(--black);color:var(--white)}.chat-agent-results{gap:8px;width:min(100%,780px);display:grid}.chat-agent-result-card{background:#ffffffad;border:1px solid #1111111c;border-radius:11px;gap:9px;padding:10px;display:grid}.chat-agent-result-card>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.chat-agent-result-card>header strong{font-size:.69rem;font-weight:920}.chat-agent-result-card>header span{color:var(--muted);font-size:.59rem;font-weight:750}.chat-tool-approval-card{background:#f7f5ff;border-color:#5d42a83d}.chat-tool-approval-message{color:var(--muted);margin:0;font-size:.66rem;line-height:1.55}.chat-tool-approval-arguments{gap:6px;margin:0;display:grid}.chat-tool-approval-arguments>div{grid-template-columns:52px minmax(0,1fr);gap:8px;min-width:0;display:grid}.chat-tool-approval-arguments dt{color:var(--muted);font-size:.6rem;font-weight:800}.chat-tool-approval-arguments dd{min-width:0;color:var(--black);overflow-wrap:anywhere;margin:0;font-size:.64rem;font-weight:720}.chat-tool-approval-references{flex-wrap:wrap;align-items:flex-start;gap:8px;display:flex}.chat-tool-approval-references>span{gap:3px;width:72px;min-width:0;display:grid}.chat-tool-approval-references img,.chat-tool-approval-reference-fallback{object-fit:cover;background:#eee;border:1px solid #11111129;border-radius:7px;width:72px;height:72px;display:block;overflow:hidden}.chat-tool-approval-reference-fallback{color:var(--muted);overflow-wrap:anywhere;text-align:center;place-items:center;padding:6px;font-size:.55rem;font-weight:750;line-height:1.35;display:grid}.chat-tool-approval-references small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.55rem;font-weight:700;overflow:hidden}.chat-tool-approval-references>.chat-tool-approval-reference-note{width:auto;color:var(--muted);overflow-wrap:anywhere;flex:100%;font-size:.58rem;font-weight:720;line-height:1.45;display:block}.chat-tool-approval-editor-references,.chat-tool-execution-references{gap:7px;min-width:0;display:grid}.chat-tool-approval-editor-references{padding-top:2px}.chat-tool-execution-references{border-top:1px solid #1111111a;grid-column:1/-1;padding-top:5px}.chat-tool-execution-list .chat-tool-execution-references>strong{white-space:normal;overflow:visible}.chat-tool-approval-actions{flex-wrap:wrap;gap:7px;display:flex}.chat-tool-approval-actions button{background:var(--white);min-height:30px;color:var(--black);cursor:pointer;border:1px solid #11111129;border-radius:7px;padding:0 11px;font-size:.64rem;font-weight:850}.chat-tool-approval-actions button.is-primary{border-color:var(--line);background:var(--black);color:var(--white)}.chat-tool-approval-actions button:disabled{cursor:wait;opacity:.48}.chat-tool-approval-editor{z-index:80;background:#1111116b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.chat-tool-approval-editor-panel{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:min(100%,520px);box-shadow:var(--shadow-hard);gap:13px;padding:16px;display:grid}.chat-tool-approval-editor-head,.chat-tool-approval-editor-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.chat-tool-approval-editor-head strong{font-size:.82rem;font-weight:950}.chat-tool-approval-editor-head button{border:1px solid var(--line);background:var(--white);width:30px;height:30px;color:var(--black);cursor:pointer;border-radius:7px;place-items:center;padding:0;font-size:1.05rem;display:grid}.chat-tool-approval-editor-panel label{gap:6px;min-width:0;display:grid}.chat-tool-approval-editor-panel label>span,.chat-tool-approval-editor-field>span,.chat-tool-approval-quality>span{color:var(--muted);font-size:.65rem;font-weight:850}.chat-tool-approval-editor-field,.chat-tool-approval-quality{gap:6px;min-width:0;display:grid}.chat-tool-approval-size-trigger,.chat-tool-approval-quality .custom-select-trigger{border:1px solid var(--line);background:var(--paper-2);width:100%;min-width:0;min-height:36px;color:var(--black);font:inherit;text-align:left;border-radius:8px;padding:0 10px;font-size:.74rem;font-weight:720}.chat-tool-approval-size-trigger{cursor:pointer;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-tool-approval-quality-menu.custom-select-menu.is-portal{z-index:1000;max-height:180px;position:fixed;box-shadow:0 12px 30px #11111124}.chat-tool-approval-size-trigger:hover,.chat-tool-approval-size-trigger:focus-visible,.chat-tool-approval-quality .custom-select-trigger:hover,.chat-tool-approval-quality .custom-select-trigger:focus-visible{border-color:var(--black);background:var(--white);outline:none}.chat-tool-approval-editor-panel label>span{color:var(--muted);font-size:.65rem;font-weight:850}.chat-tool-approval-editor-panel textarea,.chat-tool-approval-editor-panel input,.chat-tool-approval-editor-panel select{border:1px solid var(--line);background:var(--paper-2);width:100%;min-width:0;color:var(--black);font:inherit;border-radius:8px;font-size:.74rem;font-weight:720}.chat-tool-approval-editor-panel textarea{resize:vertical;min-height:108px;padding:10px;line-height:1.55}.chat-tool-approval-editor-panel input,.chat-tool-approval-editor-panel select{min-height:36px;padding:0 10px}.chat-tool-approval-size-layer{z-index:2;background:#1113;place-items:center;padding:18px;display:grid;position:absolute;inset:0}.chat-tool-approval-size-backdrop{cursor:default;background:0 0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.chat-tool-approval-size-dialog{z-index:1;width:min(100%,430px);max-height:calc(100vh - 36px);position:relative;overflow-y:auto}.chat-tool-approval-size-dialog .modal-head{padding-right:0}.chat-tool-approval-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.chat-tool-approval-editor-actions{justify-content:flex-end}.chat-tool-approval-editor-actions button{border:1px solid var(--line);background:var(--white);min-height:34px;color:var(--black);cursor:pointer;border-radius:8px;padding:0 13px;font-size:.68rem;font-weight:880}.chat-tool-approval-editor-actions button.is-primary{background:var(--black);color:var(--white)}.chat-tool-approval-editor-actions button:disabled{cursor:not-allowed;opacity:.42}.chat-tool-execution-list>div.is-cancelled>span{color:#666;background:#ececec}.chat-tool-execution-list,.chat-knowledge-hit-list{gap:6px;display:grid}.chat-tool-execution-list>div{background:#f5f5f5;border-radius:8px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:7px 8px;display:grid}.chat-tool-execution-list>div>span{color:#176c5a;background:#dfe3df;border-radius:50%;place-items:center;width:22px;height:22px;font-size:.65rem;font-weight:950;display:grid}.chat-tool-execution-list>div.is-running>span{color:#5d42a8;background:#e8e4ff;animation:1.1s ease-in-out infinite chat-tool-running-pulse}.chat-tool-execution-list>div.is-failed>span{color:#8f1d1d;background:#f6dfda}.chat-tool-execution-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:.66rem;font-weight:850;overflow:hidden}.chat-tool-execution-list small{color:var(--muted);white-space:nowrap;font-size:.58rem;font-weight:720}@keyframes chat-tool-running-pulse{0%,to{opacity:.5;transform:scale(.88)}50%{opacity:1;transform:scale(1)}}.chat-knowledge-hit-list{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-knowledge-hit-list>span{background:#f5f5f5;border-radius:8px;grid-template-columns:21px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;padding:7px 8px;display:grid}.chat-knowledge-hit-list b{background:var(--black);width:21px;height:21px;color:var(--white);border-radius:6px;place-items:center;font-size:.57rem;display:grid}.chat-knowledge-hit-list span span{text-overflow:ellipsis;white-space:nowrap;font-size:.63rem;font-weight:820;overflow:hidden}.chat-knowledge-hit-list small{color:var(--muted);white-space:nowrap;font-size:.55rem}.chat-artifact-grid{grid-template-columns:1fr;gap:8px;display:grid}.chat-artifact-grid button{cursor:zoom-in;background:#f7f7f7;border:1px solid #11111121;border-radius:9px;grid-template-columns:minmax(150px,42%) minmax(0,1fr);align-items:stretch;min-width:0;min-height:150px;padding:0;display:grid;overflow:hidden}.chat-artifact-grid img{object-fit:contain;background:#eee;width:100%;height:100%;min-height:150px;max-height:240px;display:block}.chat-artifact-grid button>span{min-width:0;color:var(--black);text-align:left;overflow-wrap:anywhere;white-space:normal;align-items:center;padding:14px 16px;font-size:.67rem;font-weight:760;line-height:1.65;display:flex}@media (width<=820px){.agent-field-grid,.chat-knowledge-hit-list{grid-template-columns:1fr}.agent-range-field{grid-template-columns:minmax(0,1fr) 90px 28px}.agent-resource-card{grid-template-columns:minmax(0,1fr) auto}.agent-resource-card>.agent-resource-delete,.agent-resource-card>.agent-resource-protected,.agent-resource-actions{grid-column:1/-1;justify-self:end}}@media (width<=560px){.agent-range-field{grid-template-columns:1fr 28px}.agent-range-field input{grid-area:2/1/auto/-1}.chat-tool-approval-editor{padding:10px}.chat-tool-approval-editor-panel{max-height:calc(100vh - 20px);padding:13px;overflow-y:auto}.chat-tool-approval-editor-grid{grid-template-columns:1fr}.chat-tool-execution-list>div{grid-template-columns:22px minmax(0,1fr)}.chat-tool-execution-list small{white-space:normal;grid-column:2}.chat-artifact-grid button{grid-template-columns:1fr}.chat-artifact-grid img{height:auto;max-height:min(52vh,420px)}.chat-artifact-grid button>span{padding:10px 12px}}.chat-mode-choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(100%,560px);margin-top:6px;display:grid}.chat-mode-choice-button{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);min-width:0;color:var(--black);text-align:left;cursor:pointer;gap:4px;padding:12px 14px;display:grid}.chat-mode-choice-button strong{letter-spacing:-.01em;font-size:.86rem;font-weight:950}.chat-mode-choice-button span{color:var(--muted);font-size:.72rem;font-weight:720;line-height:1.55}.chat-mode-choice-button:hover:not(:disabled),.chat-mode-choice-button:focus-visible{box-shadow:var(--shadow-hard);outline:none;transform:translate(-2px,-2px)}.chat-mode-choice-button.is-active{background:var(--black);color:var(--white)}.chat-mode-choice-button.is-active span{color:#ffffffc7}.chat-mode-choice-button:disabled{cursor:not-allowed;opacity:.55}.chat-mode-hint.is-limit{color:#8a1f1f}.chat-mode-hint button{color:var(--black);font:inherit;cursor:pointer;background:0 0;border:0;margin-left:6px;font-weight:950;text-decoration:underline}.workspace-dialog-layer{z-index:14;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f7f7f7c7;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.workspace-dialog{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-rows:auto auto minmax(0,1fr) auto auto;width:min(100%,560px);max-height:min(680px,100% - 32px);display:grid;overflow:hidden;box-shadow:6px 6px #0b0b0bdb,0 24px 64px #0b0b0b2e}.workspace-dialog>header,.workspace-dialog>footer{justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.workspace-dialog>header{border-bottom:1px solid var(--soft-line)}.workspace-dialog>header>div{gap:3px;min-width:0;display:grid}.workspace-dialog>header strong{font-size:.96rem;font-weight:950}.workspace-dialog>header span,.workspace-dialog>footer span{color:var(--muted);font-size:.7rem;font-weight:760}.workspace-dialog>header button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:32px;height:32px;color:var(--black);cursor:pointer;flex:none;font-size:1rem;font-weight:900}.workspace-dialog-create{border-bottom:1px solid var(--soft-line);grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 14px;display:grid}.workspace-dialog-create label{grid-column:1/-1;gap:4px;min-width:0;display:grid}.workspace-dialog-create label>span{color:var(--muted);font-size:.68rem;font-weight:900}.workspace-dialog-create input,.workspace-dialog-rename input{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:100%;min-width:0;height:36px;color:var(--black);font:inherit;padding:0 10px;font-size:.76rem;font-weight:800}.workspace-dialog-create button,.workspace-dialog-rename button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--black);height:36px;color:var(--white);font:inherit;cursor:pointer;padding:0 14px;font-size:.74rem;font-weight:900}.workspace-dialog-create button:disabled,.workspace-dialog-rename button:disabled{opacity:.45;cursor:not-allowed}.workspace-dialog-create small{color:var(--muted);grid-column:1/-1;font-size:.64rem;font-weight:760}.workspace-dialog-create small.is-error,.workspace-dialog-error{color:#8a1f1f}.workspace-dialog-list{gap:6px;min-height:0;padding:10px;display:grid;overflow-y:auto}.workspace-dialog-item{border:1px solid var(--soft-line);border-radius:var(--radius-sm);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;display:grid}.workspace-dialog-item.is-active{border-color:var(--black);background:var(--paper-2)}.workspace-dialog-select{min-width:0;color:var(--black);text-align:left;cursor:pointer;background:0 0;border:0;gap:2px;padding:4px;display:grid}.workspace-dialog-select strong,.workspace-dialog-select span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-dialog-select strong{font-size:.78rem;font-weight:900}.workspace-dialog-select span{color:var(--muted);font-size:.64rem;font-weight:760}.workspace-dialog-actions,.workspace-dialog-rename{flex:none;align-items:center;gap:5px;display:flex}.workspace-dialog-rename{grid-column:1/-1}.workspace-dialog-rename input{height:32px}.workspace-dialog-rename button{background:var(--white);height:32px;color:var(--black);padding:0 9px;font-size:.68rem}.workspace-dialog-actions button{border:1px solid var(--line);background:var(--white);height:28px;color:var(--black);font:inherit;cursor:pointer;border-radius:5px;padding:0 8px;font-size:.64rem;font-weight:850}.workspace-dialog-actions button.is-danger{color:#8f1d1d;border-color:#b23b2e}.workspace-dialog-empty{color:var(--muted);text-align:center;margin:0;padding:20px 12px;font-size:.74rem;font-weight:760}.workspace-dialog-error{margin:0;padding:0 14px 8px;font-size:.7rem;font-weight:800}.workspace-dialog>footer{border-top:1px solid var(--soft-line)}.workspace-dialog>footer button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--black);height:32px;color:var(--white);font:inherit;cursor:pointer;padding:0 14px;font-size:.72rem;font-weight:900}.chat-files-upload{border-bottom:1px solid var(--soft-line);flex-wrap:wrap;align-items:center;gap:6px;padding:8px 14px;display:flex}.chat-files-upload button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);height:30px;color:var(--black);font:inherit;cursor:pointer;padding:0 10px;font-size:.68rem;font-weight:900}.chat-files-upload button:disabled{opacity:.45;cursor:not-allowed}.chat-files-upload small{color:var(--muted);flex:100%;font-size:.62rem;font-weight:720}.chat-files-notice{border-bottom:1px solid var(--soft-line);color:#176c5a;margin:0;padding:6px 14px;font-size:.68rem;font-weight:800}.chat-files-notice.is-error{color:#8f1d1d}.chat-file-delete{color:#8f1d1d;font:inherit;cursor:pointer;background:0 0;border:0;flex:none;font-size:.62rem;font-weight:850}.chat-activity-timeline{gap:7px;width:100%;min-width:0;display:grid}.chat-activity-narration{background:var(--white);width:min(100%,780px);min-width:0;max-width:100%;color:var(--black);overflow-wrap:anywhere;border:2px solid #1111111f;border-radius:15px;padding:14px 16px;font-size:.91rem;font-weight:690;line-height:1.75;box-shadow:0 10px 30px #0b0b0b0a}.chat-activity-narration>:first-child{margin-top:0}.chat-activity-narration>*+*{margin-top:11px}.chat-activity-narration>:last-child{margin-bottom:0}.chat-activity-reasoning{border:1px solid var(--soft-line);background:#ffffffa3;border-radius:12px;width:100%;min-width:0;overflow:hidden}.chat-activity-reasoning>summary{min-height:38px;color:var(--muted);cursor:pointer;grid-template-columns:18px auto minmax(0,1fr) 16px;align-items:center;gap:7px;padding:7px 10px;list-style:none;display:grid}.chat-activity-reasoning>summary::-webkit-details-marker{display:none}.chat-activity-reasoning>summary>svg:first-child{color:var(--black)}.chat-activity-reasoning>summary svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:16px;height:16px}.chat-activity-reasoning>summary strong{color:var(--black);font-size:.72rem;font-weight:920}.chat-activity-reasoning>summary span{justify-self:start;font-size:.66rem;font-weight:760}.chat-activity-reasoning>summary svg:last-child{transition:transform .15s}.chat-activity-reasoning[open]>summary svg:last-child{transform:rotate(180deg)}.chat-activity-reasoning.is-running{background:#fff9e8;border-color:#b9aa7a}.chat-activity-reasoning.is-running>summary strong{animation:1.4s ease-in-out infinite chat-activity-thinking-pulse}.chat-activity-reasoning-body{border-top:1px solid var(--soft-line);max-height:none;color:var(--muted);overflow-wrap:anywhere;padding:0 12px 0 35px;font-size:.78rem;font-weight:650;line-height:1.7;overflow:visible}.chat-activity-reasoning-body>:first-child{margin-top:10px}.chat-activity-tool{border:1px solid var(--soft-line);width:100%;min-width:0;color:inherit;font:inherit;text-align:left;background:#fafafa;border-radius:9px;grid-template-columns:22px minmax(0,1fr);gap:8px;padding:7px 9px;display:grid}.chat-activity-tool.is-clickable{cursor:pointer}.chat-activity-tool.is-file-edit{background:#fbfaf7;border-style:dashed}.chat-activity-tool.is-file-edit.is-running{background:#fff9e8;border-color:#b9aa7a}.chat-activity-tool.is-clickable:hover,.chat-activity-tool.is-clickable:focus-visible{border-color:var(--black);background:var(--white);outline:none}.chat-activity-tool-head>svg:last-child{color:var(--muted);margin-left:auto}.chat-activity-tool-mark{color:#176c5a;background:#dfe3df;border-radius:50%;place-items:center;width:22px;height:22px;font-size:.65rem;font-weight:950;display:grid}.chat-activity-tool.is-running .chat-activity-tool-mark{color:#5d42a8;background:#e8e4ff;animation:1.1s ease-in-out infinite chat-tool-running-pulse}.chat-activity-tool.is-failed .chat-activity-tool-mark{color:#8f1d1d;background:#f6dfda}.chat-activity-tool-body{gap:2px;min-width:0;display:grid}.chat-activity-tool-head{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.chat-activity-tool-head svg{flex:none;width:14px;height:14px}.chat-activity-tool-head strong{font-size:.68rem;font-weight:900}.chat-activity-tool-head span,.chat-activity-tool-head small{color:var(--muted);font-size:.6rem;font-weight:760}.chat-activity-tool-body p{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.64rem;font-weight:720}.chat-activity-tool-body code{color:#176c5a;text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;overflow:hidden}.chat-activity-tool-sources{flex-wrap:wrap;gap:5px;display:flex}.chat-activity-tool-sources a{color:#315ea8;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.62rem;font-weight:760;overflow:hidden}@keyframes chat-activity-thinking-pulse{0%,to{opacity:.65}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.chat-activity-reasoning.is-running>summary strong,.chat-activity-tool.is-running .chat-activity-tool-mark{animation:none}}@media (width<=760px){.chat-activity-reasoning-body{padding-left:12px}}.chat-composer-approval{border-radius:var(--radius);background:#fff7e6;border:2px solid #b7791f;gap:8px;padding:8px 10px;display:grid}.chat-composer-approval-head{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.chat-composer-approval-toggle{color:#7a4a00;min-width:0;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:7px;padding:0;display:flex}.chat-composer-approval-toggle>svg:first-child{fill:none;stroke:currentColor;stroke-width:1.8px;flex:none;width:15px;height:15px}.chat-composer-approval-toggle>svg:last-child{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:13px;height:13px;transition:transform .15s}.chat-composer-approval.is-open .chat-composer-approval-toggle>svg:last-child{transform:rotate(180deg)}.chat-composer-approval strong{color:#7a4a00;white-space:nowrap;font-size:.76rem;font-weight:950}.chat-composer-approval-count{color:#a06a10;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:800;overflow:hidden}.chat-composer-approval-actions{flex:none;gap:6px;display:flex}.chat-composer-approval-actions button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);height:30px;color:var(--black);font:inherit;cursor:pointer;padding:0 10px;font-size:.7rem;font-weight:900}.chat-composer-approval-actions button.is-primary{color:#fff;background:#b7791f;border-color:#b7791f}.chat-composer-approval-actions button:disabled{cursor:wait;opacity:.5}.chat-composer-approval-list{border-top:1px solid #b7791f47;gap:4px;max-height:220px;margin:0;padding:6px 0 0;list-style:none;display:grid;overflow:auto}.chat-composer-approval-list>li{align-items:center;gap:7px;min-width:0;padding:3px 2px;display:flex}.chat-composer-approval-list>li>svg{color:#a06a10;fill:none;stroke:currentColor;stroke-width:1.8px;flex:none;width:14px;height:14px}.chat-composer-approval-path{color:#5a3700;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font:700 .7rem ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}.chat-composer-approval-action{color:#7a4a00;background:#b7791f24;border-radius:4px;flex:none;padding:1px 5px;font-size:.6rem;font-weight:850}.chat-composer-approval-lines{flex:none;gap:6px;font:700 .64rem ui-monospace,SFMono-Regular,Menlo,monospace;display:flex}.chat-composer-approval-lines .is-add{color:#17643b}.chat-composer-approval-lines .is-remove{color:#a32929}.chat-composer-approval-file-actions{flex:none;gap:4px;display:flex}.chat-composer-approval-file-actions button{background:var(--white);width:24px;height:24px;font:inherit;cursor:pointer;border:1px solid #b7791f80;border-radius:5px;place-items:center;padding:0;font-size:.78rem;font-weight:950;line-height:1;display:grid}.chat-composer-approval-file-actions button.is-apply{color:#17643b}.chat-composer-approval-file-actions button.is-reject{color:#a32929}.chat-composer-approval-file-actions button:disabled{cursor:wait;opacity:.45}.chat-stream-sentence{animation:.62s cubic-bezier(.16,.84,.32,1) both chatStreamFadeIn}@keyframes chatStreamFadeIn{0%{opacity:0}35%{opacity:.18}70%{opacity:.72}to{opacity:1}}@media (prefers-reduced-motion:reduce){.chat-stream-sentence{animation:none}}.chat-file-changes{gap:8px;min-width:0;display:grid}.chat-message-file-changes{width:100%;min-width:0}.chat-message-file-changes .chat-file-change{background:var(--white);border-color:#11111124}.chat-file-change{border:1px solid var(--soft-line);border-radius:var(--radius-sm);min-width:0;overflow:hidden}.chat-file-change-head{background:var(--paper-2);width:100%;min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;border:0;align-items:center;gap:8px;padding:9px 10px;display:flex}.chat-file-change-head>svg:first-child{width:15px;height:15px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:1.8px;flex:none}.chat-file-change-head>svg:last-child{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:13px;height:13px;transition:transform .15s;transform:rotate(0)}.chat-file-change.is-collapsed .chat-file-change-head>svg:last-child{transform:rotate(-90deg)}.chat-file-change-path{min-width:0;color:var(--black);text-overflow:ellipsis;white-space:nowrap;flex:1;font:700 .74rem ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}.chat-file-change-action{color:var(--muted);flex:none;font-size:.65rem}.chat-file-change-state{white-space:nowrap;border-radius:999px;flex:none;padding:1px 6px;font-size:.6rem;font-weight:850}.chat-file-change-state.is-pending{color:#7a4a00;background:#b7791f29}.chat-file-change-state.is-applied{color:#17643b;background:#17643b24}.chat-file-change-state.is-rejected{color:#a32929;background:#a329291f}.chat-file-change.is-rejected .chat-file-change-path{color:var(--muted);text-decoration:line-through}.chat-file-change.is-rejected .chat-file-diff{opacity:.6}.chat-file-change-counts{flex:none;gap:7px;font:700 .7rem ui-monospace,SFMono-Regular,Menlo,monospace;display:flex}.chat-file-change-counts .is-add{color:#17643b}.chat-file-change-counts .is-remove{color:#a32929}.chat-file-diff{border-top:1px solid var(--soft-line);background:var(--white);tab-size:2;max-height:420px;font:.73rem/1.7 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:auto}.chat-file-change.is-compact .chat-file-diff{max-height:4.964rem;overflow-y:auto}.chat-file-change.is-compact.is-expanded .chat-file-diff{max-height:12.41rem}.chat-file-change.is-compact.is-collapsed .chat-file-change-head{border-radius:var(--radius-sm)}.chat-file-change-expand{border:0;border-top:1px solid var(--soft-line);background:var(--paper-2);width:100%;height:20px;color:var(--muted);cursor:pointer;place-items:center;padding:0;display:grid}.chat-file-change-expand svg{fill:none;stroke:currentColor;stroke-width:2px;width:14px;height:14px}.chat-file-change.is-expanded .chat-file-change-expand svg{transform:rotate(180deg)}.chat-activity-change{width:100%;min-width:0}.chat-file-diff-row{grid-template-columns:3.2em 3.2em 1.8em minmax(max-content,1fr);width:max-content;min-width:100%;display:grid}.chat-file-diff-row.is-add{background:#e8f5ec}.chat-file-diff-row.is-remove{background:#fff0ee}.chat-file-diff-row.is-gap{color:var(--muted);background:var(--paper-2)}.chat-file-diff-number{color:var(--muted);text-align:right;-webkit-user-select:none;user-select:none;border-right:1px solid #0b0b0b0f;padding:0 7px}.chat-file-diff-sign{text-align:center;-webkit-user-select:none;user-select:none}.chat-file-diff-row.is-add .chat-file-diff-sign{color:#17643b}.chat-file-diff-row.is-remove .chat-file-diff-sign{color:#a32929}.chat-file-diff-row code{color:inherit;font:inherit;white-space:pre;padding-right:12px}.chat-file-diff-note{color:var(--muted);margin:0;padding:10px;font-size:.72rem;line-height:1.6}.chat-files-layer{z-index:12;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f7f7f7c2;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.chat-files-dialog{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-rows:auto auto minmax(0,1fr);width:min(100%,620px);max-height:min(680px,100% - 32px);display:grid;overflow:hidden;box-shadow:6px 6px #0b0b0bdb,0 24px 64px #0b0b0b2e}.chat-files-dialog>header{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:12px 14px 12px 17px;display:flex}.chat-files-dialog>header>div{gap:3px;min-width:0;display:grid}.chat-files-dialog>header strong{color:var(--black);font-size:.96rem;font-weight:950}.chat-files-dialog>header span{color:var(--muted);font-size:.7rem;font-weight:760}.chat-files-dialog>header button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:32px;height:32px;color:var(--black);cursor:pointer;flex:none;font-size:1rem;font-weight:900}.chat-files-search{border-bottom:1px solid var(--soft-line);align-items:center;padding:10px 14px;display:grid;position:relative}.chat-files-search svg{fill:none;width:15px;height:15px;stroke:var(--muted);stroke-linecap:round;stroke-width:2.2px;pointer-events:none;position:absolute;left:25px}.chat-files-search input{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:100%;height:34px;color:var(--black);font:inherit;padding:0 10px 0 32px;font-size:.74rem;font-weight:800}.chat-files-body{min-height:0;padding:8px 10px 16px;overflow-y:auto}.chat-files-pending-note{border-radius:var(--radius-sm);color:#8a5a00;background:#fffaf0;border:1px dashed #b7791f8c;margin:0 0 8px;padding:7px 10px;font-size:.64rem;font-weight:740;line-height:1.5;display:block}.chat-file-row.is-pending .chat-file-open small{color:#a06a10}.chat-files-empty{color:var(--muted);text-align:center;margin:0;padding:24px 12px;font-size:.76rem;font-weight:760}.chat-file-tree{gap:1px;margin:0;padding:0;list-style:none;display:grid}.chat-file-folder,.chat-file-open{width:100%;min-width:0;min-height:32px;color:var(--black);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:6px;font-size:.74rem;font-weight:800;display:flex}.chat-file-folder:hover,.chat-file-open:hover,.chat-file-folder:focus-visible,.chat-file-open:focus-visible{background:#0b0b0b0f;outline:none}.chat-file-folder>span:first-child{width:12px;color:var(--muted);flex:none}.chat-file-folder>span:nth-child(2),.chat-file-open>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-file-folder small,.chat-file-open small{color:var(--muted);flex:none;margin-left:auto;font-size:.64rem;font-weight:760}.chat-file-row{align-items:center;gap:4px;min-width:0;padding-right:6px;display:flex}.chat-file-row .chat-file-open{flex:1}.chat-file-preview{border:1px solid var(--line);background:var(--white);color:var(--muted);font:inherit;cursor:pointer;border-radius:5px;flex:none;padding:3px 7px;font-size:.64rem;font-weight:850}.chat-file-preview-layer{z-index:13;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f7f7f7d1;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.chat-file-preview-dialog{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-rows:auto minmax(0,1fr);width:min(100%,860px);max-height:min(760px,100% - 32px);display:grid;overflow:hidden;box-shadow:6px 6px #0b0b0bdb,0 24px 64px #0b0b0b2e}.chat-file-preview-dialog>header{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.chat-file-preview-dialog>header strong{text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:900;overflow:hidden}.chat-file-preview-dialog>header button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);height:30px;color:var(--black);font:inherit;cursor:pointer;flex:none;padding:0 10px;font-size:.7rem;font-weight:900}.chat-preview-actions{flex:none;align-items:center;gap:6px;display:flex}.chat-file-preview-dialog>header .chat-preview-script-toggle{background:var(--paper-2);color:var(--black)}.chat-file-preview-dialog pre{white-space:pre-wrap;word-break:break-word;margin:0;padding:14px;font-size:.72rem;line-height:1.6;overflow:auto}.chat-file-preview-dialog iframe{background:#fff;border:0;width:100%;height:100%;min-height:420px}.chat-preview-body{flex-direction:column;gap:0;min-height:0;padding:0 0 10px;display:flex;overflow:auto}.chat-preview-body iframe{flex:none;height:min(62vh,520px);min-height:380px}.chat-preview-note{border:1px solid var(--soft-line);border-radius:var(--radius-sm);background:var(--paper);color:var(--muted);margin:8px 14px 0;padding:7px 10px;font-size:.68rem;font-weight:700;line-height:1.55}.chat-preview-note.is-warning{color:#7a5a00;background:#fffaf0;border-color:#e7c46a}.chat-preview-image{border:1px solid var(--soft-line);border-radius:var(--radius-sm);object-fit:contain;background:repeating-conic-gradient(#f2f2f2 0% 25%,#fff 0% 50%) 50%/16px 16px;max-width:calc(100% - 28px);max-height:min(62vh,520px);margin:14px auto 0;display:block}.chat-preview-included{color:var(--muted);margin:8px 14px 0;font-size:.68rem;font-weight:700}.chat-preview-included summary{cursor:pointer}.chat-preview-included ul{max-height:140px;margin:6px 0 0;padding-left:18px;font-weight:600;overflow:auto}@media (width<=760px){.chat-mode-choice{grid-template-columns:1fr}.workspace-dialog-layer{padding:10px}.workspace-dialog-item{grid-template-columns:1fr}.chat-files-upload button{flex:1}.chat-composer-submit{flex-wrap:wrap}.chat-composer-approval-head{flex-direction:column;align-items:stretch}.chat-composer-approval-actions{justify-content:flex-end}.chat-activity-narration{padding:12px 13px;font-size:.87rem}.chat-files-layer,.chat-file-preview-layer{padding:10px}}.custom-ratio-row,.custom-size-row,.settings-grid,.auth-form,.account-panel,.account-section-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.auth-form,.account-panel{grid-template-columns:1fr}.captcha-field{grid-template-columns:minmax(0,1fr) 130px;align-items:end;gap:10px;display:grid}.auth-notice-card{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);gap:6px;padding:12px;display:grid}.auth-notice-card.is-danger{background:#fff7f4;border-color:#8f1d1d}.auth-notice-card strong{color:var(--black);font-size:.9rem;font-weight:950}.auth-notice-card.is-danger strong{color:#8f1d1d}.auth-notice-card span,.auth-notice-card a{color:var(--muted);font-size:.78rem;font-weight:820;line-height:1.55}.auth-notice-card a{color:var(--black);text-underline-offset:3px;font-weight:950;text-decoration:underline;text-decoration-thickness:2px}.auth-notice-card.is-danger a{color:#8f1d1d}.captcha-field label{min-width:0}.captcha-image-button{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);cursor:pointer;place-items:center;width:130px;height:48px;display:grid;overflow:hidden}.captcha-image-button img{width:130px;height:48px;display:block}.captcha-image-button span{color:var(--muted);font-size:.78rem;font-weight:900}.account-section-grid{align-items:end}.custom-ratio-row label,.custom-size-row label,.settings-grid label,.auth-form label,.account-section-grid label{gap:7px;display:grid}.custom-ratio-row span,.custom-size-row span,.settings-grid span,.auth-form span,.account-section-grid span{color:var(--muted);font-size:.74rem;font-weight:900}.summary-box small{color:var(--muted);overflow-wrap:anywhere;font-size:.78rem;font-weight:820}.align-end{align-self:end}.size-limit-note strong{color:var(--black);font-size:1rem;font-weight:950}.size-limit-note span{max-width:330px;color:var(--muted);font-size:.86rem;font-weight:680;line-height:1.65}input,select,.settings-grid textarea{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:100%;min-height:42px;color:var(--black);outline:none;font-weight:820;transition:all .16s}input:disabled,select:disabled,input[readonly]{color:#777;cursor:not-allowed;background:#e2e2e2;border-color:#1111115c}.control-field.is-disabled span,.settings-grid label.is-disabled span{color:var(--muted-2)}input,select{padding:0 12px}select option{background:var(--white);color:var(--black)}.settings-grid textarea{resize:vertical;padding:12px;line-height:1.6}.full-field{grid-column:1/-1}.direct-settings-grid{align-items:end}.account-modal.is-account-workspace{background:var(--white);grid-template-rows:auto minmax(0,1fr);gap:0;width:100%;height:100%;max-height:none;padding:0;overflow:hidden}.account-modal.is-account-workspace>.account-modal-head{border-bottom:2px solid var(--line);background:var(--white);min-height:74px;padding:18px 16px 16px 20px}.account-modal.is-account-workspace .account-panel{grid-template-columns:210px minmax(0,1fr);grid-template-areas:"navigation content";gap:0;min-width:0;height:100%;min-height:0}.account-main{grid-area:content;grid-template-rows:minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.account-main.has-action-bar{grid-template-rows:minmax(0,1fr) auto}.account-content{background:var(--paper);min-width:0;min-height:0;padding:18px 20px 24px;overflow-y:auto}.account-content>*{width:100%}.account-view,.agent-account-settings,.agent-settings-stack{align-content:start;gap:14px;min-width:0;display:grid}.agent-settings-tabs-card{z-index:2;position:sticky;top:-18px}.agent-settings-tabs{width:100%}.agent-settings-loading-card{min-height:260px}.segmented-control.account-primary-tabs{border:0;border-right:2px solid var(--line);background:var(--white);border-radius:0;flex-direction:column;grid-area:navigation;gap:5px;width:100%;min-width:0;min-height:0;padding:14px;display:flex;overflow-y:auto}.account-nav-tabs{display:contents}.account-nav-group,.account-nav-submenu{gap:3px;min-width:0;display:grid}.account-primary-tabs .account-nav-primary,.account-primary-tabs .account-nav-secondary{border-radius:var(--radius-sm);width:100%;color:var(--muted);cursor:pointer;background:0 0;border:2px solid #0000;transition:all .16s}.account-primary-tabs .account-nav-primary{text-align:left;justify-items:start;gap:3px;min-height:58px;padding:9px 11px;display:grid}.account-primary-tabs .account-nav-primary span{color:inherit;font-size:.84rem;font-weight:950;line-height:1.2}.account-primary-tabs .account-nav-primary small{color:var(--muted);font-size:.68rem;font-weight:820;line-height:1.35}.account-primary-tabs .account-nav-primary:hover:not(.is-active),.account-primary-tabs .account-nav-secondary:hover:not(.is-active){border-color:var(--line);background:var(--paper-2);color:var(--black)}.account-primary-tabs .account-nav-primary:hover:not(.is-active) small{color:var(--muted)}.account-primary-tabs .account-nav-primary.is-active{border-color:var(--black);background:var(--black);color:var(--white)}.account-primary-tabs .account-nav-primary.is-active small{color:#ffffffb8}.account-nav-submenu{border-radius:var(--radius);gap:4px;width:calc(100% - 10px);margin-left:10px;padding:5px}.account-nav-submenu.account-nav-submenu-mobile{display:none}.account-nav-logout{border-top:2px solid var(--line);margin-top:auto;padding-top:10px}.account-nav-logout .secondary-action{border-radius:var(--radius-sm);width:100%;min-height:36px;font-size:.76rem}.account-primary-tabs .account-nav-secondary{background:var(--white);text-align:left;align-items:center;min-height:36px;padding:7px 10px;font-size:.76rem;font-weight:900;display:flex}.account-primary-tabs .account-nav-secondary.is-active{border-color:var(--black);background:var(--black);color:var(--white)}.api-config-card{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);gap:12px;padding:12px;display:grid}.api-config-card.is-disabled{background:color-mix(in srgb, var(--white) 82%, var(--line));border-style:dashed}.api-config-card.is-disabled .api-config-card-head strong{color:var(--muted)}.api-config-card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.api-config-card-head>div:first-child{gap:4px;display:grid}.api-config-card-head strong,.user-management-empty strong{color:var(--black);font-size:.92rem;font-weight:950}.api-config-card-head span,.user-create-fields label span,.user-create-options span,.user-management-controls label span,.user-management-select>span,.user-card-fields label span{color:var(--muted);font-size:.72rem;font-weight:900}.api-config-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:inline-flex}.api-config-action-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px;display:none}.api-config-actions .secondary-action{min-height:34px;padding:0 9px;font-size:.76rem}.api-config-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.settings-inline-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.settings-inline-actions .secondary-action{width:auto;min-height:36px}.account-action-bar{border-top:2px solid var(--line);background:var(--white);justify-content:flex-end;align-items:center;gap:8px;min-width:0;min-height:62px;padding:11px 20px;display:flex}.account-action-bar.is-empty{display:none}.account-action-bar .primary-action,.account-action-bar .secondary-action{border-radius:var(--radius-sm);width:auto;min-width:92px;min-height:38px;padding:0 14px;font-size:.78rem}.account-action-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:18px;height:18px;display:none}.account-action-bar .account-action-logout{display:none}.account-security-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end}.account-security-action{align-self:end;gap:7px;display:grid}.account-security-action>span{color:#0000;-webkit-user-select:none;user-select:none;font-size:.74rem;font-weight:900}.account-security-action .secondary-action{white-space:nowrap;min-width:100px;min-height:42px;padding:0 14px}.account-placeholder-text{color:var(--muted);margin:0;font-size:.84rem;font-weight:800;line-height:1.7}.works-manager{align-content:start}.works-manager .api-config-actions .secondary-action{white-space:nowrap}.works-list{gap:8px;display:grid}.works-row{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--paper-2);grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;display:grid}.works-row-thumb{border:1px solid var(--line);background:var(--white);cursor:zoom-in;border-radius:6px;place-items:center;width:96px;height:72px;padding:0;transition:all .14s;display:grid;overflow:hidden}.works-row-thumb:disabled{cursor:not-allowed;opacity:.6}.works-row-thumb:not(:disabled):hover{border-color:var(--black)}.works-row-thumb img{object-fit:cover;width:100%;height:100%}.works-row-thumb span{color:var(--muted);font-size:.68rem;font-weight:820}.works-row-text{gap:5px;min-width:0;display:grid}.works-row-text strong{color:var(--black);word-break:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.82rem;font-weight:900;line-height:1.5;display:-webkit-box;overflow:hidden}.works-row-text small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:800;overflow:hidden}.works-row-delete{border-radius:var(--radius-sm);white-space:nowrap;min-width:72px;min-height:36px;padding:0 12px;font-size:.76rem}.works-row-actions{align-items:center;gap:6px;display:flex}.works-row-action{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:36px;height:36px;color:var(--black);cursor:pointer;place-items:center;padding:0;transition:all .14s;display:grid}.works-row-action svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:16px;height:16px}.works-row-action:hover:not(:disabled){background:var(--black);color:var(--white)}.works-row-action:disabled{cursor:not-allowed;opacity:.5}.works-row-wall.is-on-wall{background:var(--black);color:var(--white)}.works-row-wall.is-on-wall svg{fill:currentColor}.works-row-actions .loading-ring{border-width:2px;width:16px;height:16px}.works-row-actions .chat-copy-button{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:36px;height:36px;min-height:36px;color:var(--black)}.works-row-actions .chat-copy-button svg{width:16px;height:16px}.works-row-actions .chat-copy-button:hover:not(:disabled){background:var(--black);color:var(--white)}.works-row-actions .chat-copy-button:disabled{cursor:not-allowed;opacity:.5}.works-row-actions .chat-copy-button:disabled:hover{border-color:var(--line);background:var(--white);color:var(--black)}.works-manager-empty{border:2px dashed var(--line);border-radius:var(--radius);color:var(--muted);text-align:center;justify-items:center;gap:6px;padding:26px 14px;display:grid}.works-manager-empty strong{color:var(--black);font-size:.86rem;font-weight:950}.works-manager-empty span{font-size:.74rem;font-weight:800;line-height:1.6}.works-manager-error{color:#8f1d1d}.works-manager-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.works-manager-search{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);flex:220px;align-items:center;gap:8px;min-width:0;padding:0 10px;display:flex}.works-manager-search:focus-within{border-color:var(--black)}.works-manager-search svg{fill:none;width:16px;height:16px;stroke:var(--muted);stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;flex:none}.works-manager-search input{width:100%;min-width:0;height:36px;color:var(--black);font:inherit;background:0 0;border:0;outline:none;padding:0;font-size:.78rem;font-weight:800}.works-manager-search input::placeholder{color:var(--muted)}.works-pagination{justify-content:space-between;align-items:center;gap:10px;display:flex}.works-pagination>span{color:var(--muted);font-size:.74rem;font-weight:850}.works-pagination>div{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.works-pagination .secondary-action{width:auto;min-width:74px;min-height:34px;padding:0 12px;font-size:.74rem}.works-page-jump{align-items:center;gap:6px;display:inline-flex}.works-page-jump input{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:64px;height:34px;color:var(--black);font:inherit;text-align:center;outline:none;padding:0 8px;font-size:.74rem;font-weight:850}.works-page-jump input:focus{border-color:var(--black)}.works-page-jump input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.works-page-jump input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.works-page-jump input[type=number]{appearance:textfield}.works-page-jump .secondary-action{min-width:52px;padding:0 10px}.user-management-empty{justify-items:start}.user-management-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:inline-flex}.user-management-refresh,.user-management-create-toggle{white-space:nowrap;min-width:62px;min-height:36px;padding:0 14px}.user-create-card{background:#f8fff4}.user-create-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.user-create-fields label,.user-create-options,.user-management-controls label,.user-management-select{min-width:0;display:grid}.user-create-fields label,.user-management-controls label,.user-management-select{gap:6px}.user-create-options{grid-template-columns:1fr;gap:8px}.user-create-actions{justify-content:end}.user-create-actions .primary-action{min-height:38px;padding:0 18px}.user-management-controls{grid-template-columns:minmax(0,1.5fr) minmax(92px,.75fr) minmax(128px,.9fr);align-items:end;overflow:visible}.user-management-controls input{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:100%;min-width:0;min-height:38px;color:var(--black);padding:0 10px;font-size:.78rem;font-weight:850}.user-management-select .custom-select-trigger{border-radius:var(--radius-sm);justify-content:space-between;width:100%;min-height:38px;font-size:.78rem}.user-management-select .custom-select-menu{left:0;right:0}.user-management-empty span{color:var(--muted);font-size:.76rem;font-weight:760}.user-card-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.user-card-identity{align-items:baseline;gap:7px;min-width:0;display:flex}.user-card-identity strong{color:var(--black);text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;font-weight:950;overflow:hidden}.user-card-identity small{color:var(--muted);white-space:nowrap;font-size:.72rem;font-weight:900}.user-card-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:6px 14px;display:grid}.user-card-meta-grid span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:820;line-height:1.4;overflow:hidden}.user-card-stats{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.user-card-stats span{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--paper-2);min-height:28px;color:var(--black);align-items:center;padding:0 8px;font-size:.68rem;font-weight:920;display:inline-flex}.user-card-stats .user-role-badge{border-color:var(--line);background:var(--paper-2);color:var(--black)}.user-card-stats .user-role-badge.is-admin{color:#33477f;background:#f0f3ff;border-color:#9caad0}.user-card-stats .user-status-badge.is-active{color:#356128;background:#f1faed;border-color:#9fbd91}.user-card-stats .user-status-badge.is-disabled{color:#8f1d1d;background:#fff0ec;border-color:#d7a39a}.user-card-fields{align-items:end}.user-card.is-disabled-user{background:#fff7f4;border-style:dashed}.user-card.is-disabled-user .user-card-identity strong{color:#8f1d1d}.user-card-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.user-management-pagination{justify-content:space-between;align-items:center;gap:10px;display:flex}.user-management-pagination>span{color:var(--muted);font-size:.76rem;font-weight:850}.user-management-pagination>div{gap:8px;display:inline-flex}.settings-section-title,.settings-note{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);gap:5px;padding:12px;display:grid}.settings-section-title strong,.settings-note strong{color:var(--black);font-size:.9rem;font-weight:950}.settings-section-title span,.settings-note span,.toggle-row small{color:var(--muted);font-size:.76rem;font-weight:760;line-height:1.55}.settings-control-wrap{min-width:0}.settings-select-field{width:100%}.settings-select-field .custom-select-trigger{justify-content:space-between;width:100%;min-height:42px}.settings-size-button{width:100%}.toggle-row{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);cursor:pointer;grid-template-columns:44px 1fr;align-items:center;column-gap:12px;min-height:70px;padding:14px 16px;display:grid}.toggle-row input[type=checkbox]{appearance:none;border:2px solid var(--line);cursor:pointer;background:#e2e2e2;border-radius:999px;grid-row:1/span 2;place-self:center;width:42px;min-width:42px;height:24px;min-height:24px;margin:0;padding:0;position:relative}.toggle-row input[type=checkbox]:checked{border-color:var(--black);background:var(--black)}.toggle-row input[type=checkbox]:after{background:var(--white);content:"";border-radius:999px;width:14px;height:14px;transition:left .16s;position:absolute;top:50%;left:4px;transform:translateY(-50%)}.toggle-row input[type=checkbox]:checked:after{left:20px}.toggle-row input[type=checkbox]:focus-visible{outline-offset:3px;outline:3px solid #1111113d}.toggle-row span{color:var(--black);align-self:end;font-size:.9rem;font-weight:950}.toggle-row small{grid-column:2;align-self:start}.user-create-toggle-row{border-radius:var(--radius-sm);grid-template-columns:28px minmax(0,1fr);column-gap:8px;min-height:38px;padding:0 8px}.user-create-toggle-row input[type=checkbox]{grid-row:auto;width:32px;min-width:32px;height:20px;min-height:20px}.user-create-toggle-row input[type=checkbox]:after{width:10px;height:10px}.user-create-toggle-row input[type=checkbox]:checked:after{left:16px}.user-create-toggle-row span{align-self:center;font-size:.72rem}.summary-box{gap:8px;margin-top:auto;padding:16px;display:grid}.modal-actions{grid-template-columns:1fr 1fr;align-items:center;gap:8px;display:grid}.secondary-action,.primary-action,.text-button{border-radius:var(--radius);justify-content:center;align-items:center;min-height:42px;padding:0 12px;font-size:.84rem;font-weight:920;display:inline-flex}.primary-action{background:var(--black);color:var(--white)}.option-list,.history-list{gap:9px;display:grid;overflow:hidden auto}.option-row,.history-item{border-radius:var(--radius);text-align:left;gap:5px;width:100%;padding:13px;display:grid}.option-row span,.history-item span{text-overflow:ellipsis;white-space:nowrap;font-weight:920;overflow:hidden}.option-row small,.history-item small{color:var(--muted);font-size:.76rem;font-weight:760}.option-row:hover small,.history-item:hover small,.option-row.is-active small{color:currentColor;opacity:.72}.modal-history-list{max-height:420px}.empty-history{border:2px dashed var(--line);border-radius:var(--radius);min-height:150px;color:var(--muted);place-items:center;font-weight:820;display:grid}@media (width<=640px){.result-image-wrap{max-height:78vh}}input.profile-plain-input{width:100%;min-width:0;min-height:40px;color:var(--black);background:#f8f8f8;border:1px solid #11111129;border-radius:8px;outline:0;padding:0 11px;font-size:.78rem;font-weight:720;transition:all .14s}input.profile-plain-input:focus{border-color:var(--line);background:var(--white);box-shadow:0 0 0 3px #1111110d}input.profile-plain-input:disabled,input.profile-plain-input[readonly]{color:#777;background:#e8e8e8;border-color:#1113}.profile-stack,.api-category-stack,.profile-inline-fields,.card-actions.full-field,.model-picker-field{gap:10px;display:grid}.profile-inline-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.profile-avatar-fields{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;margin-top:12px;display:grid}.profile-avatar-preview{border:2px solid var(--line);background:var(--paper-2);border-radius:16px;width:64px;height:64px;overflow:hidden}.profile-avatar-preview img{object-fit:cover;width:100%;height:100%;display:block}.profile-avatar-fields small{color:var(--muted);font-size:.7rem;font-weight:760}.profile-identity-line{border:2px dashed var(--line);border-radius:var(--radius);background:var(--paper-2);align-items:center;gap:8px;min-height:42px;padding:8px 12px;display:flex;overflow:hidden}.profile-identity-line strong{min-width:0;color:var(--black);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:950;overflow:hidden}.profile-identity-line small{max-width:46%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:none;font-size:.76rem;font-weight:820;overflow:hidden}.card-actions.full-field{grid-column:1/-1;grid-template-columns:1fr}.card-actions.full-field .primary-action,.card-actions.full-field .secondary-action{width:100%}.api-category-card{border:2px dashed var(--line);border-radius:var(--radius);background:#f6f6f6b8;gap:10px;padding:12px;display:grid}.api-category-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.api-category-head>div:first-child{gap:4px;display:grid}.api-category-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.api-category-head-actions .secondary-action{border-width:1px;border-radius:7px;height:34px;min-height:34px;padding:0 9px;font-size:.76rem}.api-category-head strong{color:var(--black);font-size:.88rem;font-weight:950}.api-category-head span,.model-picker-field>span{color:var(--muted);font-size:.74rem;font-weight:900}.image-api-route-select,.image-edit-transport-select{width:150px;min-width:150px}.image-api-route-select .custom-select-trigger,.image-edit-transport-select .custom-select-trigger{border-width:1px;border-radius:7px;min-width:0;height:34px;min-height:34px;padding:0 9px;font-size:.76rem}.image-api-route-select .custom-select-trigger strong,.image-edit-transport-select .custom-select-trigger strong{text-overflow:ellipsis;font-size:.76rem;overflow:hidden}.image-api-route-select .custom-select-menu,.image-edit-transport-select .custom-select-menu{min-width:150px;left:auto;right:0}.agent-reasoning-mode-select{width:190px;min-width:190px}.agent-api-route-select{width:150px;min-width:150px}.agent-reasoning-mode-select .custom-select-trigger,.agent-api-route-select .custom-select-trigger{border-width:1px;border-radius:7px;min-width:0;height:34px;min-height:34px;padding:0 9px;font-size:.76rem}.agent-reasoning-mode-select .custom-select-trigger strong,.agent-api-route-select .custom-select-trigger strong{text-overflow:ellipsis;font-size:.76rem;overflow:hidden}.agent-reasoning-mode-select .custom-select-menu,.agent-api-route-select .custom-select-menu{min-width:190px;left:auto;right:0}.model-picker-row,.single-model-picker-row,.model-fetch-field{min-width:0;display:grid}.model-fetch-field{align-self:end}.api-config-fields-ordered{grid-template-columns:repeat(12,minmax(0,1fr));align-items:end}.api-name-field,.api-base-url-field,.api-model-field{grid-column:span 4}.api-key-field{grid-column:span 6}.model-picker-field{grid-column:span 4}.model-fetch-field{grid-column:span 2}.api-system-prompt-field{grid-column:1/-1}.api-system-prompt-field textarea{min-height:132px}.api-system-prompt-field small{color:var(--muted);justify-self:end;font-size:.7rem;font-weight:820}.api-config-fields-ordered>label,.api-key-field,.model-picker-field,.model-fetch-field{min-width:0}.api-key-field{gap:7px;display:grid}.api-key-field>label{color:var(--muted);font-size:.74rem;font-weight:900}.api-key-input-wrap{min-width:0;position:relative}.api-key-input-wrap input{padding-right:46px}.api-key-input-wrap.is-clearing input{background:#fff7f4;border-color:#8f1d1d}.api-key-clear-button{border-radius:var(--radius-sm);width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.api-key-clear-button:hover,.api-key-clear-button:focus-visible,.api-key-clear-button.is-active{color:#8f1d1d;background:#fff0ec}.api-key-clear-button:focus-visible{outline-offset:1px;outline:2px solid #8f1d1d}.api-key-clear-button svg{fill:currentColor;width:17px;height:17px}.model-fetch-button{width:100%}.prompt-tools-page{grid-template-rows:auto minmax(0,1fr) auto;gap:10px;width:100%;height:100%;min-height:0;display:grid}.prompt-tools-page.is-disabled{grid-template-rows:minmax(0,1fr);place-items:center}.prompt-tools-empty{text-align:center;gap:6px;padding:24px;display:grid}.prompt-tools-empty strong{color:var(--black);font-size:.9rem;font-weight:950}.prompt-tools-empty span{color:var(--muted);font-size:.72rem;font-weight:720}.prompt-toolbar{z-index:4;border:2px solid var(--line);border-radius:var(--radius);background:#fffffff0;flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-width:0;padding:10px;display:flex;position:relative;top:16px}.prompt-toolbar .prompt-record-clear,.prompt-toolbar .toolbar-filter,.prompt-toolbar .toolbar-filter.custom-select-field{flex:0 160px;width:160px;min-width:0}.prompt-toolbar .toolbar-search{flex:240px}.prompt-toolbar .toolbar-text-button{min-height:34px}.prompt-toolbar .loading-ring{width:17px;height:17px}.prompt-tools-stage{min-height:0;padding:10px 5px;display:grid;overflow-y:auto}.prompt-stage-inner{gap:10px;min-height:100%;display:grid}.prompt-stage-inner.is-empty{align-content:safe center;justify-items:center}.prompt-stage-empty{text-align:center;justify-items:center;gap:8px;width:min(100%,720px);padding:24px;display:grid}.prompt-stage-eyebrow{color:var(--muted);letter-spacing:.12em;font-size:.6rem;font-weight:900}.prompt-stage-empty h2{color:var(--black);letter-spacing:-.045em;margin:0;font-size:clamp(1.5rem,3vw,2rem);font-weight:950}.prompt-stage-empty p{max-width:460px;color:var(--muted);margin:0;font-size:.78rem;font-weight:700;line-height:1.7}.prompt-stage-entries{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;margin-top:8px;display:grid}.prompt-stage-entries button{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);min-width:0;color:var(--black);cursor:pointer;text-align:left;gap:5px;padding:14px;transition:background .16s,box-shadow .16s,transform .16s;display:grid}.prompt-stage-entries button:hover,.prompt-stage-entries button:focus-visible{box-shadow:var(--shadow-hard);outline:none;transform:translate(-3px,-3px)}.prompt-stage-entries strong{font-size:.84rem;font-weight:950}.prompt-stage-entries span{color:var(--muted);font-size:.7rem;font-weight:700;line-height:1.55}.prompt-stage-inner.is-records-loading{color:var(--muted);align-content:center;justify-items:center;gap:8px;font-size:.72rem;font-weight:780}.prompt-stage-inner.is-records-loading p{margin:0}.prompt-record-wall{align-content:start;gap:12px;min-height:100%;padding:2px;display:grid}.prompt-record-clear:disabled{opacity:.45;cursor:not-allowed}.prompt-record-preview-placeholder{height:100%;min-height:min(42vh,320px);color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:6px;padding:24px;display:grid}.prompt-record-preview-icon{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:52px;height:52px;color:var(--black);place-items:center;display:grid}.prompt-record-preview-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:24px;height:24px}.prompt-record-preview-placeholder strong{color:var(--black);font-size:.9rem;font-weight:950}.prompt-record-preview-placeholder small{max-width:260px;font-size:.7rem;font-weight:740;line-height:1.5}.prompt-record-detail-modal .prompt-record-detail-result{max-height:min(46vh,420px);padding-right:4px;overflow-y:auto}.prompt-record-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));align-items:stretch;gap:12px;width:100%;display:grid}.prompt-record-card{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:196px;transition:transform .15s,box-shadow .15s,border-color .15s;display:grid;overflow:hidden}.prompt-record-card:hover,.prompt-record-card:focus-within{box-shadow:var(--shadow-hard);transform:translate(-2px,-2px)}.prompt-record-card.is-active{border-color:var(--black)}.prompt-record-open{min-width:0;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);padding:10px;display:grid}.prompt-record-open:focus-visible{outline:none}.prompt-record-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.prompt-record-badge{border:1px solid var(--line);letter-spacing:.02em;border-radius:999px;align-items:center;min-height:20px;padding:0 7px;font-size:.58rem;font-weight:950;display:inline-flex}.prompt-record-badge.is-caption{background:var(--black);color:var(--white)}.prompt-record-badge.is-optimize{background:var(--paper-2);color:var(--black)}.prompt-record-time{color:var(--muted);flex:none;font-size:.6rem;font-weight:760}.prompt-record-card-body{align-content:start;gap:8px;min-width:0;padding-top:8px;display:grid}.prompt-record-card-body.has-thumb{grid-template-columns:64px minmax(0,1fr);align-items:start}.prompt-record-thumb{border:1px solid var(--soft-line);border-radius:var(--radius-sm);background:var(--paper-2);object-fit:cover;width:64px;height:64px;display:block}.prompt-record-copy{gap:4px;min-width:0;display:grid}.prompt-record-input{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;font-weight:760;overflow:hidden}.prompt-record-result{color:var(--black);white-space:pre-line;word-break:break-word;-webkit-line-clamp:5;-webkit-box-orient:vertical;margin:0;font-size:.76rem;font-weight:680;line-height:1.6;display:-webkit-box;overflow:hidden}.prompt-record-card-foot{border-top:1px solid var(--soft-line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:8px 10px 10px;display:flex}.prompt-record-meta{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.58rem;font-weight:740;overflow:hidden}.prompt-record-actions{flex-wrap:wrap;flex:none;gap:4px;display:flex}.prompt-record-actions button{border:1px solid var(--soft-line);background:var(--white);min-height:28px;color:var(--black);cursor:pointer;white-space:nowrap;border-radius:999px;padding:0 8px;font-size:.62rem;font-weight:900;transition:all .15s}.prompt-record-actions button:hover:not(:disabled),.prompt-record-actions button:focus-visible:not(:disabled){border-color:var(--black);background:var(--black);color:var(--white);outline:none}.prompt-record-actions button:disabled{opacity:.45;cursor:not-allowed}.prompt-record-actions button.is-danger{color:#8f1d1d;border-color:#8f1d1d}.prompt-record-actions button.is-danger:hover:not(:disabled),.prompt-record-actions button.is-danger:focus-visible:not(:disabled),.prompt-record-actions button.is-danger.is-confirming{color:var(--white);background:#8f1d1d;border-color:#8f1d1d}.prompt-record-card.is-task{background:var(--paper-2);border-style:dashed}.prompt-record-card.is-task:hover,.prompt-record-card.is-task:focus-within{box-shadow:none;transform:none}.prompt-record-card.is-task.is-failed{background:#fff7f7;border-color:#8f1d1d}.prompt-task-open{grid-template-rows:auto minmax(0,1fr);min-width:0;padding:10px;display:grid}.prompt-task-badge{border:1px solid var(--line);border-radius:999px;align-items:center;min-height:20px;padding:0 7px;font-size:.58rem;font-weight:950;display:inline-flex}.prompt-task-badge.is-running{background:var(--white);color:var(--black)}.prompt-task-badge.is-failed{color:var(--white);background:#8f1d1d;border-color:#8f1d1d}.prompt-task-message{color:var(--black);align-items:center;gap:7px;margin:0;font-size:.76rem;font-weight:760;line-height:1.55;display:flex}.prompt-task-message.is-error{color:#8f1d1d;word-break:break-word}.prompt-task-spinner{flex:none;width:16px;height:16px}.prompt-task-elapsed{color:var(--muted);font-size:.6rem;font-weight:740}.prompt-record-empty{text-align:center;justify-items:center;gap:6px;padding:40px 16px;display:grid}.prompt-record-empty strong{color:var(--black);font-size:.86rem;font-weight:950}.prompt-record-empty span{color:var(--muted);font-size:.7rem;font-weight:720}.prompt-record-empty .secondary-action{min-height:34px;margin-top:4px;padding:0 12px;font-size:.7rem}.prompt-workbench{z-index:3;width:100%;max-width:1100px;margin:0 auto;display:grid;position:relative}.prompt-workbench .prompt-console{border-radius:var(--radius-lg);gap:10px;padding:12px;box-shadow:0 18px 44px #0b0b0b1a}.prompt-workbench-top{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.prompt-mode-field{flex:none;gap:4px;min-width:0;display:grid}.prompt-mode-field>span{color:var(--muted);font-size:.62rem;font-weight:850}.prompt-mode-tabs{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);flex:none;gap:4px;padding:2px;display:inline-flex}.prompt-mode-tabs button{border-radius:var(--radius-sm);min-height:26px;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.74rem;font-weight:920;transition:background .15s,color .15s;display:inline-flex}.prompt-mode-tabs button:hover,.prompt-mode-tabs button:focus-visible{color:var(--black);outline:none}.prompt-mode-tabs button.is-active{background:var(--black);color:var(--white)}.prompt-tab-dot{background:currentColor;border-radius:50%;width:6px;height:6px;animation:1.1s ease-in-out infinite prompt-tools-pulse}@keyframes prompt-tools-pulse{0%,to{opacity:.35}50%{opacity:1}}.prompt-workbench-selects{flex:240px;gap:8px;min-width:0;display:flex}.prompt-workbench-select{flex:1 1 0;min-width:0}.prompt-workbench-select>span{color:var(--muted);font-size:.62rem;font-weight:850}.prompt-workbench-select .custom-select-trigger{width:100%;min-width:0;min-height:34px}.prompt-advanced-toggle{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);min-height:34px;color:var(--black);cursor:pointer;white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.7rem;font-weight:900;transition:background .15s,color .15s;display:inline-flex}.prompt-advanced-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:15px;height:15px}.prompt-advanced-toggle:hover,.prompt-advanced-toggle:focus-visible{background:var(--paper-2);outline:none}.prompt-advanced-toggle.is-active{background:var(--black);color:var(--white)}.prompt-advanced-toggle span{background:var(--paper-2);min-width:17px;height:17px;color:var(--black);border-radius:999px;place-items:center;font-size:.58rem;font-weight:950;display:grid}.prompt-image-input{display:grid}.prompt-image-drop{border:2px dashed var(--line);border-radius:var(--radius);background:var(--paper-2);min-height:76px;color:var(--black);cursor:pointer;text-align:center;justify-items:center;gap:3px;padding:12px;transition:background .15s;display:grid}.prompt-image-drop:hover,.prompt-image-drop:focus-visible{background:var(--white);outline:none}.prompt-image-drop svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:22px;height:22px}.prompt-image-drop span{font-size:.78rem;font-weight:900}.prompt-image-drop small{color:var(--muted);font-size:.62rem;font-weight:720}.prompt-image-chip{border:2px solid var(--line);border-radius:var(--radius);background:var(--white);grid-template-columns:52px minmax(0,1fr) 30px;align-items:center;gap:10px;padding:7px 9px;display:grid}.prompt-image-chip img{border-radius:var(--radius-sm);background:var(--paper-2);object-fit:cover;width:52px;height:52px;display:block}.prompt-image-chip>div{gap:2px;min-width:0;display:grid}.prompt-image-chip strong{color:var(--black);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;font-weight:900;overflow:hidden}.prompt-image-chip span{color:var(--muted);font-size:.64rem;font-weight:720}.prompt-image-change{color:var(--black);cursor:pointer;font-size:inherit;text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:900;text-decoration:underline}.prompt-image-change:disabled{cursor:wait}.prompt-image-remove{border:1px solid var(--soft-line);background:var(--paper-2);width:30px;height:30px;color:var(--black);cursor:pointer;border-radius:50%;place-items:center;padding:0;font-size:1rem;font-weight:950;display:grid}.prompt-workbench-input{display:grid;position:relative}.prompt-workbench-input textarea{resize:vertical;border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:100%;min-height:68px;max-height:26vh;color:var(--black);outline:none;padding:10px 36px 10px 12px;font-size:.9rem;font-weight:680;line-height:1.6}.prompt-input-clear{border:1px solid var(--soft-line);background:var(--white);width:24px;height:24px;color:var(--black);cursor:pointer;border-radius:50%;place-items:center;padding:0;font-size:.95rem;font-weight:950;display:grid;position:absolute;top:8px;right:8px}.prompt-input-clear:hover{background:var(--black);color:var(--white)}.prompt-workbench-advanced{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.prompt-workbench-advanced label{gap:5px;min-width:0;display:grid}.prompt-workbench-advanced label>span{color:var(--muted);font-size:.64rem;font-weight:850}.prompt-workbench-advanced textarea{resize:vertical;border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:100%;min-height:62px;max-height:18vh;color:var(--black);outline:none;padding:9px 10px;font-size:.78rem;font-weight:700;line-height:1.55}@keyframes prompt-advanced-rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.prompt-workbench-actions{align-items:center;gap:8px;display:flex}.prompt-workbench-hint{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:auto;font-size:.66rem;font-weight:760;overflow:hidden}.prompt-workbench-actions .secondary-action{flex:none;min-height:38px;padding:0 14px;font-size:.76rem}.prompt-workbench-actions .primary-action{flex:none;min-width:116px;min-height:38px;padding:0 16px;font-size:.78rem}.prompt-sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=760px){body.is-prompt-tools-view,body.is-prompt-tools-view #root{min-height:100dvh}html:has(body.is-prompt-tools-view){min-height:100dvh}body.is-prompt-tools-view{overflow:hidden}body.is-prompt-tools-view .playground-shell{height:100dvh;min-height:0}}@media (width<=900px){.prompt-stage-entries,.prompt-workbench-advanced{grid-template-columns:minmax(0,1fr)}.prompt-record-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}@media (width<=760px){.prompt-tools-page{padding-top:10px}.prompt-toolbar{top:0}.prompt-tools-page .prompt-toolbar .toolbar-icon-button{order:1}.prompt-tools-page .prompt-toolbar .toolbar-search{flex:calc(100% - 46px);order:2}.prompt-tools-page .prompt-toolbar .toolbar-text-button,.prompt-tools-page .prompt-toolbar .toolbar-filter,.prompt-tools-page .prompt-toolbar .toolbar-filter.custom-select-field{flex:0 0 calc(50% - 4px);order:3;width:calc(50% - 4px);min-width:0}.prompt-workbench-advanced{z-index:6;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:2px solid var(--line);border-radius:var(--radius);background:var(--white);max-height:min(46dvh,360px);padding:10px;animation:.16s prompt-advanced-rise;position:absolute;bottom:calc(100% + 10px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 44px #0b0b0b29}.prompt-tools-page.is-advanced-open .prompt-workbench{z-index:5}}@media (width<=640px){.prompt-tools-page{gap:8px}.prompt-tools-stage{padding:0}.prompt-toolbar{padding:8px}.prompt-record-grid{grid-template-columns:minmax(0,1fr)}.prompt-record-card{min-height:176px}.prompt-record-card-foot{align-items:flex-start}.prompt-record-meta{flex:100%}.prompt-record-actions{width:100%}.prompt-record-actions button{flex:1 1 0;min-width:0;padding:0 6px}.prompt-record-empty{padding:28px 10px}.prompt-workbench-top{grid-template-columns:minmax(0,1fr);align-items:stretch;display:grid}.prompt-mode-field,.prompt-mode-tabs{width:100%}.prompt-mode-tabs button{flex:1 1 0;padding:0 8px}.prompt-workbench-selects,.prompt-advanced-toggle{width:100%}.prompt-workbench-actions{flex-wrap:wrap}.prompt-workbench-hint{white-space:normal;flex:100%}.prompt-workbench-actions .secondary-action{flex:none}.prompt-workbench-actions .primary-action{flex:1 1 0}.prompt-stage-empty{padding:16px 8px}}.feature-panel-head,.ui-design-header,.ui-design-toolbar,.ui-design-title,.ui-design-subtabs,.ui-design-window-actions,.ui-design-zoom-tools,.ui-design-assets-panel>header,.ui-design-replica-preview>header,.ui-design-footer{align-items:center;display:flex}.feature-primary-button,.feature-secondary-button,.feature-ghost-button{border:2px solid var(--line);border-radius:var(--radius-sm);min-height:38px;font:inherit;cursor:pointer;padding:0 14px;font-size:.72rem;font-weight:900;transition:all .15s}.feature-primary-button{background:var(--black);color:var(--white)}.feature-secondary-button{background:var(--white);color:var(--black)}.feature-ghost-button{color:var(--muted);background:#f3f3f3;border-color:#11111126}.feature-primary-button:hover:not(:disabled),.feature-secondary-button:hover:not(:disabled),.feature-ghost-button:hover:not(:disabled){box-shadow:3px 3px 0 var(--black);transform:translate(-2px,-2px)}.feature-panel{border:2px solid var(--line);border-radius:var(--radius-lg);background:#fffffff0;min-width:0;box-shadow:5px 5px #1111111a}.feature-panel-head{justify-content:space-between;gap:12px}.feature-panel-head strong{color:var(--black);font-size:.8rem;font-weight:950}.feature-panel-head span{color:var(--muted);font-size:.64rem;font-weight:720}.feature-eyebrow{color:var(--muted);letter-spacing:.13em;font-size:.61rem;font-weight:950}.feature-empty-result{min-height:270px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:10px;padding:24px;display:grid}.feature-empty-result svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.4px;width:42px;height:42px}.feature-empty-result strong{color:var(--black);font-size:.82rem;font-weight:920}.feature-empty-result p{max-width:420px;margin:0;font-size:.68rem;font-weight:690;line-height:1.65}.ui-design-modal-frame{overflow:hidden}.ui-design-modal{border:2px solid var(--line);border-radius:var(--radius-lg);width:100%;min-width:0;height:100%;min-height:0;box-shadow:var(--shadow-hard);background:#f3f4f5;grid-template-rows:auto auto minmax(0,1fr) auto;display:grid;overflow:hidden}.ui-design-header{border-bottom:2px solid var(--line);background:var(--white);justify-content:space-between;gap:18px;min-width:0;min-height:58px;padding:8px 10px 8px 14px}.ui-design-title{gap:9px;min-width:0}.ui-design-title-icon{border:2px solid var(--line);background:var(--black);width:34px;height:34px;color:var(--white);border-radius:9px;flex:0 0 34px;place-items:center;display:grid}.ui-design-title svg,.ui-design-subtabs svg,.ui-design-toolbar svg,.ui-design-window-actions svg,.ui-design-zoom-tools svg,.ui-design-welcome svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:18px;height:18px}.ui-design-title>div{gap:2px;min-width:0;display:grid}.ui-design-title strong{font-size:.84rem;font-weight:960}.ui-design-title>div>span{max-width:min(31vw,420px);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;font-weight:700;overflow:hidden}.ui-design-subtabs{background:#ededed;border:1px solid #11111129;border-radius:9px;gap:4px;padding:3px}.ui-design-subtabs button,.ui-design-window-actions button,.ui-design-toolbar button,.ui-design-zoom-tools button{min-height:31px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:0 9px;font-size:.65rem;font-weight:870;display:inline-flex}.ui-design-subtabs button.is-active,.ui-design-toolbar button.is-active,.ui-design-toolbar button.is-primary{border-color:var(--line);background:var(--black);color:var(--white)}.ui-design-window-actions{flex:none}.ui-design-window-actions button{border-color:var(--line);background:var(--white);width:34px;height:34px;color:var(--black);padding:0}.ui-design-window-actions button:hover{background:var(--black);color:var(--white)}.ui-design-toolbar{z-index:2;background:#fffffff0;border-bottom:1px solid #11111126;gap:6px;min-width:0;min-height:48px;padding:7px 10px;overflow-x:auto}.ui-design-toolbar>input[type=file]{display:none}.ui-design-toolbar button{background:var(--white);color:var(--black);white-space:nowrap;border-color:#11111124;flex:none}.ui-design-toolbar button:hover:not(:disabled){border-color:var(--line);background:var(--black);color:var(--white)}.ui-design-toolbar-spacer{flex:auto}.ui-design-zoom-tools{background:#f2f2f2;border:1px solid #11111124;border-radius:8px;flex:none;gap:2px;padding:2px}.ui-design-zoom-tools button{width:28px;min-height:27px;padding:0}.ui-design-zoom-tools span{color:var(--black);text-align:center;font-size:.62rem;font-weight:860}.ui-design-welcome{background-image:radial-gradient(#1111111f 1px,#0000 1px);background-size:20px 20px;place-items:center;min-height:0;padding:30px;display:grid;overflow-y:auto}.ui-design-welcome-card{border:2px solid var(--line);border-radius:var(--radius-lg);width:min(100%,520px);box-shadow:7px 7px 0 var(--black);text-align:center;background:#fffffff5;justify-items:center;gap:10px;padding:34px;display:grid}.ui-design-welcome-card>span{background:var(--black);width:56px;height:56px;color:var(--white);border-radius:14px;place-items:center;display:grid}.ui-design-welcome-card>span svg{width:28px;height:28px}.ui-design-welcome-card h2{letter-spacing:-.045em;margin:0;font-size:1.4rem;font-weight:970}.ui-design-welcome-card p:not(.feature-eyebrow){max-width:430px;color:var(--muted);margin:0;font-size:.72rem;font-weight:700;line-height:1.7}.ui-design-welcome-card small{color:var(--muted);font-size:.6rem;font-weight:680}.ui-design-layout{grid-template-columns:minmax(0,1fr) 310px;min-width:0;min-height:0;display:grid}.ui-design-canvas-stage{overscroll-behavior:contain;background-color:#e7e9eb;background-image:radial-gradient(#1111112e 1px,#0000 1px);background-size:18px 18px;place-items:center;min-width:0;min-height:0;padding:26px;display:grid;position:relative;overflow:auto}.ui-design-canvas-surface{background:var(--white);touch-action:none;flex:none;position:relative;overflow:visible;box-shadow:0 10px 32px #11111138}.ui-design-source-image{-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%;display:block}.ui-design-slice-box{z-index:1;color:#fff;cursor:move;touch-action:none;background:#1777dd14;border:2px solid #1777dd;border-radius:1px;outline:none;min-width:2px;min-height:2px;padding:0;display:block;position:absolute}.ui-design-slice-box.is-saved{border-color:#13845f}.ui-design-slice-box.is-selected:before,.ui-design-slice-box.is-selected:after{content:"";background:#ff3155;border:1px solid #fff;width:7px;height:7px;position:absolute}.ui-design-slice-box.is-selected:before{top:-5px;left:-5px}.ui-design-slice-box.is-selected:after{bottom:-5px;right:-5px}.ui-design-slice-box.is-selected>span{color:#fff;background:#ff3155}.ui-design-slice-box.is-draft{z-index:4;pointer-events:none;background:#ff315521;border-style:dashed;border-color:#ff3155}.ui-design-canvas-hint{z-index:10;border:1px solid var(--line);color:var(--white);pointer-events:none;background:#111111e6;border-radius:7px;justify-self:center;padding:7px 10px;font-size:.62rem;font-weight:760;position:sticky;bottom:8px}.ui-design-assets-panel{border-left:2px solid var(--line);background:var(--white);grid-template-rows:auto minmax(110px,1fr) auto;min-width:0;min-height:0;display:grid}.ui-design-assets-panel>header,.ui-design-replica-preview>header{border-bottom:1px solid #11111124;justify-content:space-between;gap:10px;min-height:45px;padding:8px 11px}.ui-design-assets-panel>header>div{gap:2px;display:grid}.ui-design-assets-panel>header strong,.ui-design-replica-preview>header strong{font-size:.75rem;font-weight:940}.ui-design-assets-panel>header span,.ui-design-replica-preview>header span{color:var(--muted);font-size:.58rem;font-weight:700}.ui-design-assets-panel>header button{border:1px solid var(--line);background:var(--white);min-height:29px;color:var(--black);cursor:pointer;border-radius:7px;padding:0 8px;font-size:.61rem;font-weight:850}.ui-design-assets-list>button{min-width:0;color:var(--black);cursor:pointer;text-align:left;background:#f5f5f5;border:1px solid #0000;border-radius:8px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px;display:grid}.ui-design-assets-list>button:hover,.ui-design-assets-list>button.is-active{border-color:var(--line);background:#e4f1fb}.ui-design-asset-thumb{background-color:#ddd;background-repeat:no-repeat;border:1px solid #11111121;border-radius:6px;width:48px;height:42px;display:block}.ui-design-assets-list>button>span:nth-child(2){gap:3px;min-width:0;display:grid}.ui-design-assets-list>button strong,.ui-design-assets-list>button small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui-design-assets-list>button strong{font-size:.66rem;font-weight:900}.ui-design-assets-list>button small{color:var(--muted);font-size:.56rem;font-weight:680}.ui-design-assets-list>button>b{color:#13845f;font-size:.56rem;font-weight:900}.ui-design-properties input,.ui-design-replica-controls textarea{background:var(--white);width:100%;min-width:0;color:var(--black);font:inherit;border:1px solid #11111138;border-radius:7px;outline:none;font-size:.66rem;font-weight:700}.ui-design-properties input{min-height:32px;padding:0 8px}.ui-design-properties input:focus,.ui-design-replica-controls textarea:focus{border-color:var(--line);box-shadow:0 0 0 2px #1111110f}.ui-design-properties .feature-action-row{grid-template-columns:1fr 1fr;display:grid}.ui-design-properties .feature-action-row .feature-ghost-button{grid-column:1/-1}.ui-design-properties .feature-action-row button{min-width:0;padding:0 7px;font-size:.62rem}.ui-design-replica-layout{grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:12px;min-width:0;min-height:0;padding:12px;display:grid}.ui-design-replica-controls{grid-auto-rows:max-content;align-content:start;gap:11px;min-height:0;padding:14px;display:grid;overflow-y:auto}.ui-design-replica-controls>p{color:var(--muted);margin:0;font-size:.66rem;font-weight:700;line-height:1.65}.ui-design-replica-controls textarea{resize:vertical;min-height:160px;padding:10px;line-height:1.6}.ui-design-replica-preview{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden;box-shadow:5px 5px #1111111a}.ui-design-replica-preview iframe{background:var(--white);border:0;width:100%;min-width:0;height:100%;min-height:0}.ui-design-footer{background:var(--white);min-height:30px;color:var(--muted);border-top:1px solid #11111124;justify-content:space-between;gap:12px;padding:5px 11px;font-size:.58rem;font-weight:690}.ui-design-footer span.is-busy:before{content:"";background:#ff3155;border-radius:50%;width:7px;height:7px;margin-right:6px;animation:1s ease-in-out infinite feature-status-pulse;display:inline-block}.ui-design-modal{border:2px solid var(--line);border-radius:var(--radius-lg);width:100%;min-width:0;height:100%;min-height:0;box-shadow:var(--shadow-hard);background:#e7e9eb;grid-template-rows:minmax(0,1fr);display:grid;position:relative;overflow:hidden}.ui-design-topbar{z-index:40;pointer-events:none;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex;position:absolute;top:14px;left:14px;right:14px}.ui-design-topbar-primary,.ui-design-window-actions{pointer-events:auto;align-items:center;min-width:0;display:flex}.ui-design-topbar-primary{flex:auto}.ui-design-subtabs{border:2px solid var(--line);border-radius:var(--radius);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;flex:none;gap:0;height:42px;padding:0;display:flex;overflow:hidden;box-shadow:2px 2px #0b0b0bc7}.ui-design-subtabs button{height:38px;min-height:38px;color:var(--black);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-right:1px solid #0b0b0b29;border-radius:0;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:.76rem;font-weight:920;display:inline-flex}.ui-design-subtabs button:last-child{border-right:0}.ui-design-subtabs button:hover:not(:disabled),.ui-design-subtabs button:focus-visible:not(:disabled),.ui-design-subtabs button.is-active{background:var(--black);color:var(--white);outline:none}.ui-design-subtabs button:disabled{cursor:not-allowed;opacity:.42}.ui-design-subtabs svg,.ui-design-window-actions svg,.ui-design-toolbar svg,.ui-design-zoom-tools svg,.ui-design-assets-panel svg,.ui-design-preview-layer svg,.ui-design-review-dialog svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:20px;height:20px}.ui-design-source-status{border:2px solid var(--line);border-radius:var(--radius) 0 0 var(--radius);min-width:0;max-width:min(360px,34vw);height:42px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:#fffffff0;border-right-width:1px;padding:0 13px;font-size:.7rem;font-weight:830;line-height:38px;overflow:hidden;box-shadow:2px 2px #0b0b0bc7}.ui-design-source-status+.ui-design-subtabs{border-radius:0 var(--radius) var(--radius) 0;margin-left:-2px}.ui-design-window-actions{flex:0 auto;gap:5px;overflow:visible}.ui-design-window-actions>button{border:2px solid var(--line);border-radius:var(--radius);width:42px;height:42px;min-height:42px;color:var(--black);cursor:pointer;background:#fffffff0;flex:0 0 42px;place-items:center;padding:0;display:inline-grid;box-shadow:2px 2px #0b0b0bc7}.ui-design-window-actions>.ui-design-topbar-text-button{width:auto;min-width:0;font:inherit;white-space:nowrap;flex:0 auto;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:.7rem;font-weight:900;display:inline-flex}.ui-design-topbar-text-button svg{flex:none;width:18px;height:18px}.ui-design-window-actions>button:disabled{cursor:not-allowed;opacity:.42}.ui-design-window-actions>button:hover,.ui-design-window-actions>button:focus-visible{background:var(--black);color:var(--white);outline:none;transform:translate(-1px,-1px)}.ui-design-window-actions>button.is-danger:hover,.ui-design-window-actions>button.is-danger:focus-visible{color:#fff;background:#dc2626;border-color:#991b1b}.ui-design-api-select.custom-select-field{filter:drop-shadow(2px 2px #0b0b0bc7);gap:0;width:clamp(132px,15vw,220px);min-width:112px}.ui-design-api-select .custom-select-trigger{border:2px solid var(--line);border-radius:var(--radius);width:100%;min-width:0;height:42px;min-height:42px;color:var(--black);background:#fffffff0;grid-template-columns:minmax(0,1fr) auto;padding:0 11px;font-size:.76rem;font-weight:950}.ui-design-api-select .custom-select-trigger:hover:not(:disabled),.ui-design-api-select .custom-select-trigger:focus-visible:not(:disabled),.ui-design-api-select .custom-select-trigger.is-open{border-color:var(--line);background:var(--black);color:var(--white);outline:none}.ui-design-api-select .custom-select-trigger strong{text-overflow:ellipsis;white-space:nowrap;justify-self:start;min-width:0;overflow:hidden}.ui-design-api-select .ui-design-api-select-trigger{justify-content:space-between;align-items:center;gap:10px;display:flex}.ui-design-api-select .ui-design-api-select-trigger svg{flex:none;justify-self:end}.ui-design-api-select .custom-select-menu{z-index:80;border:2px solid var(--line);border-radius:var(--radius);background:var(--white);width:max-content;min-width:240px;max-width:min(360px,100vw - 56px);padding:6px;left:auto;right:0}.ui-design-api-select .custom-select-option{border-radius:var(--radius-sm);background:var(--white);min-height:34px;color:var(--black);white-space:nowrap;border:2px solid #0000;padding:0 9px;font-size:.78rem;font-weight:900}.ui-design-api-select .custom-select-option.is-selected{border-color:var(--line);background:var(--paper-2)}.ui-design-api-select .custom-select-option:hover,.ui-design-api-select .custom-select-option:focus-visible,.ui-design-api-select .custom-select-option.is-focused{border-color:var(--black);background:var(--black);color:var(--white)}.ui-design-layout,.ui-design-replica-layout{width:100%;min-width:0;height:100%;min-height:0;padding:0;display:block;position:relative}.ui-design-canvas-stage{overscroll-behavior:contain;background-color:#e7e9eb;background-image:radial-gradient(#1111112e 1px,#0000 1px);background-size:18px 18px;place-items:center;min-width:0;min-height:0;padding:82px 374px 96px 28px;display:grid;position:absolute;inset:0;overflow:auto}.ui-design-canvas-stage.is-drawing{cursor:crosshair}.ui-design-canvas-stage.is-panning,.ui-design-canvas-stage.is-panning *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}.ui-design-canvas-surface{background-color:var(--white);touch-action:none;background-image:linear-gradient(45deg,#e8e8e8 25%,#0000 25%),linear-gradient(-45deg,#e8e8e8 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e8e8e8 75%),linear-gradient(-45deg,#0000 75%,#e8e8e8 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;flex:none;position:relative;overflow:visible;box-shadow:0 10px 32px #11111138}.ui-design-source-image{-webkit-user-select:none;user-select:none;pointer-events:none;width:100%;height:100%;transition:opacity .14s;display:block}.ui-design-canvas-surface.is-slices .ui-design-source-image{opacity:0}.ui-design-hole-preview,.ui-design-positioned-slice{z-index:1;pointer-events:none;display:block;position:absolute}.ui-design-hole-preview{background-color:#fff;background-image:linear-gradient(45deg,#d8d8d8 25%,#0000 25%),linear-gradient(-45deg,#d8d8d8 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#d8d8d8 75%),linear-gradient(-45deg,#0000 75%,#d8d8d8 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px dashed #11111159}.ui-design-positioned-slice{object-fit:fill}.ui-design-slice-box{z-index:3;color:#fff;cursor:move;touch-action:none;background:#1777dd0f;border:2px solid #1777dd;outline:none;min-width:2px;min-height:2px;padding:0;display:block;position:absolute}.ui-design-slice-box:hover,.ui-design-slice-box.is-selected{z-index:6;background:#ff31551a;border-color:#ff3155;box-shadow:0 0 0 1px #fff}.ui-design-slice-box.is-hidden{opacity:.44;border-style:dashed}.ui-design-slice-box.is-selected:before,.ui-design-slice-box.is-selected:after{display:none}.ui-design-slice-box>span{color:#fff;background:#1777dd;border-radius:3px 3px 0 0;min-width:18px;height:16px;padding:0 4px;font-size:9px;font-weight:950;line-height:16px;position:absolute;top:-18px;left:-2px}.ui-design-slice-box.is-selected>span{background:#ff3155}.ui-design-slice-box>b{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#111111d1;border-radius:3px;max-width:calc(100% - 6px);padding:2px 4px;font-size:8px;display:none;position:absolute;bottom:3px;left:3px;overflow:hidden}.ui-design-slice-box.is-selected>b{display:block}.ui-design-slice-box.is-draft,.ui-design-selection-box{z-index:9;pointer-events:none;background:#ff315521;border:2px dashed #ff3155;border-radius:1px}.ui-design-selection-box{background:#1777dd1f;border-color:#1777dd;position:absolute}.ui-design-resize-handle{z-index:12;background:#ff3155;border:1px solid #fff;border-radius:2px;width:9px;height:9px;display:block;position:absolute}.ui-design-resize-handle.is-nw{cursor:nwse-resize;top:-6px;left:-6px}.ui-design-resize-handle.is-n{cursor:ns-resize;top:-6px;left:calc(50% - 4px)}.ui-design-resize-handle.is-ne{cursor:nesw-resize;top:-6px;right:-6px}.ui-design-resize-handle.is-e{cursor:ew-resize;top:calc(50% - 4px);right:-6px}.ui-design-resize-handle.is-se{cursor:nwse-resize;bottom:-6px;right:-6px}.ui-design-resize-handle.is-s{cursor:ns-resize;bottom:-6px;left:calc(50% - 4px)}.ui-design-resize-handle.is-sw{cursor:nesw-resize;bottom:-6px;left:-6px}.ui-design-resize-handle.is-w{cursor:ew-resize;top:calc(50% - 4px);left:-6px}.ui-design-canvas-hint{z-index:26;border:1px solid var(--line);color:var(--white);pointer-events:none;background:#111111e6;border-radius:7px;padding:7px 10px;font-size:.64rem;font-weight:780;position:fixed;bottom:87px;left:50%;transform:translate(-50%)}.ui-design-assets-panel,.ui-design-replica-controls{z-index:28;border:2px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-radius:14px;width:332px;min-width:0;min-height:0;display:grid;position:absolute;top:70px;bottom:84px;right:14px;overflow:hidden;box-shadow:4px 4px #0b0b0bc2}.ui-design-assets-panel{grid-template-rows:auto minmax(110px,1fr) auto}.ui-design-assets-panel>header,.ui-design-replica-controls>header,.ui-design-replica-preview>header{background:#fffffff5;border-bottom:1px solid #11111124;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:8px 11px;display:flex}.ui-design-assets-panel>header{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.ui-design-assets-panel.is-panel-dragging{z-index:46}.ui-design-assets-panel.is-panel-dragging>header{cursor:grabbing}.ui-design-assets-panel>header>button{touch-action:auto}.ui-design-assets-panel>header>div,.ui-design-replica-controls>header>div{gap:2px;display:grid}.ui-design-assets-panel>header strong,.ui-design-replica-controls>header strong,.ui-design-replica-preview>header strong{color:var(--black);font-size:.76rem;font-weight:940}.ui-design-assets-panel>header span,.ui-design-replica-controls>header span,.ui-design-replica-preview>header span{color:var(--muted);font-size:.59rem;font-weight:720}.ui-design-assets-panel>header>button{border:1px solid var(--line);background:var(--white);width:30px;height:30px;min-height:30px;color:var(--black);cursor:pointer;border-radius:7px;place-items:center;padding:0;display:grid}.ui-design-assets-panel>header>button:hover{background:var(--black);color:var(--white)}.ui-design-assets-panel>header>button svg{width:16px;height:16px}.ui-design-assets-list{align-content:start;gap:5px;min-height:0;padding:8px;display:grid;overflow-y:auto}.ui-design-assets-list>article{background:#f4f4f4;border:1px solid #0000;border-radius:9px;grid-template-columns:minmax(0,1fr);align-items:center;min-width:0;display:grid}.ui-design-assets-list>article:hover,.ui-design-assets-list>article.is-active{border-color:var(--line);background:#e4f1fb}.ui-design-assets-list>article.is-hidden{opacity:.55}.ui-design-assets-list>article.is-drag-over{border-top:3px solid #1777dd}.ui-design-asset-main{min-width:0;color:var(--black);cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px;display:grid}.ui-design-asset-thumb{object-fit:contain;background-color:#ddd;background-repeat:no-repeat;border:1px solid #11111121;border-radius:6px;width:48px;height:42px;display:block}.ui-design-asset-main>span:nth-child(2){gap:3px;min-width:0;display:grid}.ui-design-asset-main strong,.ui-design-asset-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui-design-asset-main strong{font-size:.66rem;font-weight:900}.ui-design-asset-main small{color:var(--muted);font-size:.56rem;font-weight:680}.ui-design-asset-main>b{color:#13845f;font-size:.56rem;font-weight:900}.ui-design-assets-empty{color:var(--muted);text-align:center;padding:32px 18px;font-size:.65rem;font-weight:700;line-height:1.65}.ui-design-properties{border-top:2px solid var(--line);background:#fafafa;gap:8px;max-height:min(47vh,400px);padding:11px;display:grid;overflow-y:auto}.ui-design-properties.is-multi{text-align:center;align-content:center;min-height:88px}.ui-design-properties.is-multi>strong{font-size:.72rem}.ui-design-properties.is-multi>span{color:var(--muted);font-size:.59rem;line-height:1.5}.ui-design-properties>label,.ui-design-property-field,.ui-design-coordinate-grid label{gap:5px;min-width:0;display:grid}.ui-design-properties label>span,.ui-design-property-field>span{color:var(--muted);font-size:.59rem;font-weight:830}.ui-design-properties input,.ui-design-properties select,.ui-design-replica-controls textarea{background:var(--white);width:100%;min-width:0;color:var(--black);font:inherit;border:1px solid #11111138;border-radius:7px;outline:none;font-size:.66rem;font-weight:700}.ui-design-properties input,.ui-design-properties select{min-height:32px;padding:0 8px}.ui-design-properties input:focus,.ui-design-properties select:focus,.ui-design-replica-controls textarea:focus{border-color:var(--line);box-shadow:0 0 0 2px #1111110f}.ui-design-coordinate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.ui-design-properties>p{color:var(--muted);margin:0;font-size:.58rem;font-weight:680;line-height:1.5}.ui-design-property-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.ui-design-property-actions button{border:1px solid var(--line);background:var(--white);min-width:0;min-height:31px;color:var(--black);font:inherit;cursor:pointer;border-radius:7px;padding:0 6px;font-size:.59rem;font-weight:850}.ui-design-property-actions button:hover:not(:disabled){background:var(--black);color:var(--white)}.ui-design-property-actions button.is-danger:hover:not(:disabled){color:#fff;background:#dc2626;border-color:#991b1b}.ui-design-property-actions button:disabled{cursor:not-allowed;opacity:.45}.ui-design-toolbar{z-index:30;border:2px solid var(--line);white-space:nowrap;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border-radius:15px;align-items:center;gap:5px;min-width:0;max-width:min(760px,100% - 530px);min-height:0;padding:6px;display:flex;position:absolute;bottom:21px;left:50%;overflow:visible;transform:translate(-50%);box-shadow:3px 3px #0b0b0bc7}.ui-design-toolbar-scroll{scrollbar-width:none;flex:auto;align-items:center;gap:5px;min-width:0;max-width:100%;display:flex;overflow:auto hidden}.ui-design-toolbar-scroll::-webkit-scrollbar{display:none}.ui-design-toolbar-button{border:2px solid var(--line);background:var(--white);width:45px;height:45px;min-height:45px;color:var(--black);cursor:pointer;border-radius:9px;flex:0 0 45px;place-items:center;padding:0;transition:background .14s,color .14s,transform .14s,box-shadow .14s;display:inline-grid}.ui-design-toolbar .ui-design-toolbar-button{border:2px solid var(--line);padding:0;display:inline-grid}.ui-design-toolbar-button svg{width:24px;height:24px}.ui-design-toolbar-button:hover:not(:disabled),.ui-design-toolbar-button:focus-visible:not(:disabled),.ui-design-toolbar-button.is-active{background:var(--black);color:var(--white);outline:none}.ui-design-toolbar-button:hover:not(:disabled),.ui-design-toolbar-button:focus-visible:not(:disabled){transform:translate(-1px,-1px);box-shadow:2px 2px #0b0b0b94}.ui-design-toolbar-button.is-danger:hover:not(:disabled),.ui-design-toolbar-button.is-danger:focus-visible:not(:disabled){color:#fff;background:#dc2626;border-color:#991b1b}.ui-design-toolbar-button:disabled{cursor:not-allowed;opacity:.38}.ui-design-toolbar-divider{background:#0b0b0b29;flex:0 0 2px;width:2px;height:27px;margin:0 2px}.ui-design-zoom-tools{z-index:30;border:2px solid var(--line);min-height:43px;color:var(--black);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border-radius:11px;align-items:center;gap:5px;padding:5px 6px;display:flex;position:absolute;bottom:21px;left:16px;box-shadow:3px 3px #0b0b0bc7}.ui-design-zoom-tools button{width:32px;height:32px;min-height:32px;color:var(--black);cursor:pointer;background:0 0;border:2px solid #0000;border-radius:7px;place-items:center;padding:0;display:grid}.ui-design-zoom-tools button:hover,.ui-design-zoom-tools button:focus-visible,.ui-design-zoom-tools button.is-active{border-color:var(--line);background:var(--black);color:var(--white);outline:none}.ui-design-zoom-tools>input[type=range]{width:82px;min-height:0;accent-color:var(--black);background:0 0;border:0;padding:0}.ui-design-zoom-tools>strong{min-width:41px;color:var(--black);font-variant-numeric:tabular-nums;text-align:center;font-size:.76rem;font-weight:920}.ui-design-view-divider{background:#0b0b0b2b;flex:0 0 1px;width:1px;height:24px;margin:0 2px}.ui-design-zoom-tools>.ui-design-view-divider{color:#0000;min-width:0}.ui-design-notice{z-index:25;border:2px solid var(--line);max-width:min(560px,100% - 760px);color:var(--white);text-overflow:ellipsis;white-space:nowrap;background:#111111e6;border-radius:8px;padding:7px 11px;font-size:.65rem;font-weight:780;position:absolute;top:68px;left:50%;overflow:hidden;transform:translate(-50%)}.ui-design-notice.is-busy:before{content:"";background:#ff3155;border-radius:50%;width:7px;height:7px;margin-right:6px;animation:1s ease-in-out infinite feature-status-pulse;display:inline-block}.ui-design-replica-preview{border:2px solid var(--line);border-radius:var(--radius-lg);background:var(--white);grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;position:absolute;inset:70px 362px 14px 14px;overflow:hidden;box-shadow:4px 4px #1111112e}.ui-design-replica-preview-title{flex:auto;gap:2px;min-width:0;display:grid}.ui-design-replica-preview-title strong,.ui-design-replica-preview-title span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui-design-replica-preview-toggle{border:1px solid var(--line);background:var(--white);height:32px;min-height:32px;color:var(--black);cursor:pointer;font:inherit;border-radius:7px;flex:none;justify-content:center;align-items:center;gap:5px;padding:0 9px;font-size:.62rem;font-weight:900;display:inline-flex}.ui-design-replica-preview-toggle:hover:not(:disabled),.ui-design-replica-preview-toggle:focus-visible:not(:disabled){background:var(--black);color:var(--white);outline:none}.ui-design-replica-preview-toggle:disabled{cursor:not-allowed;opacity:.42}.ui-design-replica-preview-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:16px;height:16px}.ui-design-replica-viewport{background-color:#e7e9eb;background-image:radial-gradient(#1111112e 1px,#0000 1px);background-size:18px 18px;place-items:center;min-width:0;min-height:0;padding:28px;display:grid;overflow:hidden}.ui-design-replica-viewport-frame{background:var(--white);border-radius:var(--radius-lg);flex:none;position:relative;overflow:hidden;box-shadow:0 10px 32px #11111138}.ui-design-replica-viewport iframe{background:var(--white);transform-origin:0 0;border:0;max-width:none;max-height:none;display:block;position:absolute;top:0;left:0}.ui-design-replica-controls{grid-template-rows:auto max-content minmax(0,1fr) auto;align-content:start;gap:11px;padding:0 0 13px;bottom:14px;overflow:hidden}.ui-design-replica-controls>p,.ui-design-replica-controls>label,.ui-design-replica-controls>.ui-design-security-note{margin-left:13px;margin-right:13px}.ui-design-replica-controls>p{color:var(--muted);margin-top:0;margin-bottom:0;font-size:.66rem;font-weight:700;line-height:1.65}.ui-design-replica-controls textarea{resize:none;height:100%;min-height:150px;padding:10px;line-height:1.6}.ui-design-replica-controls label small{color:var(--muted);justify-self:end;font-size:.57rem}.ui-design-security-note{background:#f2f2f2;border:1px solid #11111124;border-radius:8px;gap:4px;padding:10px;display:grid}.ui-design-security-note strong{font-size:.62rem;font-weight:900}.ui-design-security-note span{color:var(--muted);font-size:.58rem;font-weight:680;line-height:1.55}.ui-design-dialog-layer,.ui-design-preview-layer{z-index:100;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.ui-design-dialog-backdrop,.ui-design-preview-backdrop{cursor:pointer;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0a0a0a9e;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.ui-design-review-dialog{z-index:1;border:2px solid var(--line);background:var(--white);width:min(760px,100%);max-height:min(760px,100vh - 64px);box-shadow:8px 8px 0 var(--black);border-radius:16px;grid-template-rows:auto auto minmax(0,1fr) auto auto;display:grid;position:relative;overflow:hidden}.ui-design-review-dialog>header,.ui-design-review-dialog>footer,.ui-design-review-summary,.ui-design-review-mode{justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;display:flex}.ui-design-review-dialog>header{border-bottom:2px solid var(--line)}.ui-design-review-dialog>header>div{gap:2px;display:grid}.ui-design-review-dialog>header strong{font-size:.9rem;font-weight:950}.ui-design-review-dialog>header span,.ui-design-review-summary>span,.ui-design-review-mode>span{color:var(--muted);font-size:.64rem;font-weight:740}.ui-design-review-dialog>header>button,.ui-design-review-summary>button,.ui-design-review-mode>button{border:1px solid var(--line);background:var(--white);min-height:31px;color:var(--black);font:inherit;cursor:pointer;border-radius:7px;padding:0 9px;font-size:.64rem;font-weight:850}.ui-design-review-dialog>header>button{place-items:center;width:34px;height:34px;min-height:34px;padding:0;display:grid}.ui-design-review-dialog>header>button:hover,.ui-design-review-summary>button:hover,.ui-design-review-mode>button:hover,.ui-design-review-mode>button.is-active{background:var(--black);color:var(--white)}.ui-design-review-summary{border-bottom:1px solid #11111124}.ui-design-review-list{min-height:0;padding:7px;overflow-y:auto}.ui-design-review-list>label{cursor:pointer;opacity:.55;border:1px solid #0000;border-radius:9px;grid-template-columns:20px 60px minmax(0,1fr);align-items:start;gap:10px;padding:7px;display:grid}.ui-design-review-list>label:hover,.ui-design-review-list>label.is-selected{opacity:1;background:#f3f7fa;border-color:#11111129}.ui-design-review-list input{opacity:0;position:absolute}.ui-design-review-check{border:2px solid var(--line);background:var(--white);width:18px;height:18px;color:var(--white);border-radius:4px;place-items:center;margin-top:2px;font-size:.7rem;font-weight:950;display:grid}.ui-design-review-list label.is-selected .ui-design-review-check{background:var(--black)}.ui-design-review-thumb{background-image:linear-gradient(45deg,#ddd 25%,#0000 25%),linear-gradient(-45deg,#ddd 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#ddd 75%),linear-gradient(-45deg,#0000 75%,#ddd 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #11111124;border-radius:7px;place-items:center;width:60px;height:54px;display:grid;overflow:hidden}.ui-design-review-thumb img{object-fit:contain;width:100%;height:100%}.ui-design-review-info{gap:3px;min-width:0;display:grid}.ui-design-review-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;font-weight:920;overflow:hidden}.ui-design-review-info small,.ui-design-review-info em{color:var(--muted);font-size:.59rem;font-style:normal;font-weight:700;line-height:1.45}.ui-design-review-info em{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.ui-design-review-mode{background:#f6f6f6;border-top:1px solid #11111124;justify-content:flex-end}.ui-design-review-mode>span{margin-right:auto}.ui-design-review-dialog>footer{border-top:2px solid var(--line);justify-content:flex-end}.ui-design-preview-layer figure{z-index:1;border:2px solid var(--line);background-color:var(--white);width:min(980px,100% - 24px);height:min(780px,100% - 24px);box-shadow:8px 8px 0 var(--black);background-image:linear-gradient(45deg,#e6e6e6 25%,#0000 25%),linear-gradient(-45deg,#e6e6e6 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#e6e6e6 75%),linear-gradient(-45deg,#0000 75%,#e6e6e6 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;border-radius:16px;grid-template-rows:minmax(0,1fr) auto;margin:0;display:grid;position:relative;overflow:hidden}.ui-design-preview-layer figure>button{z-index:2;border:2px solid var(--line);background:var(--white);width:38px;height:38px;color:var(--black);cursor:pointer;border-radius:9px;place-items:center;padding:0;display:grid;position:absolute;top:10px;right:10px}.ui-design-preview-layer figure>button:hover{background:var(--black);color:var(--white)}.ui-design-preview-layer figure>img{object-fit:contain;width:100%;height:100%;min-height:0}.ui-design-preview-layer figcaption{border-top:2px solid var(--line);background:var(--white);justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;display:flex}.ui-design-preview-layer figcaption strong{font-size:.76rem;font-weight:930}.ui-design-preview-layer figcaption span{color:var(--muted);font-size:.66rem;font-weight:760}.infinite-control-tooltip-anchor{flex:none;justify-content:center;align-items:center;display:inline-flex}.infinite-control-tooltip{z-index:180;border:2px solid var(--line);background:var(--black);max-width:min(260px,100vw - 20px);color:var(--white);pointer-events:none;text-align:center;white-space:nowrap;border-radius:7px;padding:6px 9px;font-size:.72rem;font-weight:900;line-height:1.25;position:fixed;box-shadow:2px 2px #0b0b0b94}.infinite-control-tooltip.is-top{transform:translate(-50%,-100%)}.infinite-control-tooltip.is-bottom{transform:translate(-50%)}.ui-design-property-select.custom-select-field{gap:0;width:100%;min-width:0}.ui-design-property-select .custom-select-trigger{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:100%;min-width:0;min-height:34px;color:var(--black);grid-template-columns:minmax(0,1fr) auto;padding:0 9px;font-size:.66rem;font-weight:850}.ui-design-property-select .custom-select-trigger strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ui-design-property-select .custom-select-trigger svg{justify-self:end}.ui-design-property-select .custom-select-trigger:hover:not(:disabled),.ui-design-property-select .custom-select-trigger:focus-visible,.ui-design-property-select .custom-select-trigger.is-open{border-color:var(--black);background:var(--black);color:var(--white);outline:none}.ui-design-property-select-menu.custom-select-menu{z-index:190;border:2px solid var(--line);border-radius:var(--radius);background:var(--white);min-width:210px;padding:6px}.ui-design-property-select-menu .custom-select-option{border-radius:var(--radius-sm);background:var(--white);min-height:34px;color:var(--black);border:2px solid #0000;font-size:.72rem;font-weight:850}.ui-design-property-select-menu .custom-select-option:hover,.ui-design-property-select-menu .custom-select-option:focus-visible,.ui-design-property-select-menu .custom-select-option.is-focused{border-color:var(--black);background:var(--black);color:var(--white)}.ui-design-property-select-menu .custom-select-option.is-selected{border-color:var(--line);background:var(--paper-2)}.ui-design-property-actions button.is-active{background:var(--black);color:var(--white)}.ui-design-replica-source-preview{background-color:#e7e9eb;background-image:radial-gradient(#1111112e 1px,#0000 1px);background-size:18px 18px;place-items:center;min-width:0;min-height:0;padding:18px;display:grid;overflow:auto}.ui-design-replica-source-preview img{object-fit:contain;max-width:100%;max-height:100%;display:block;box-shadow:0 10px 32px #11111138}.ui-design-replica-controls{grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch;gap:0;padding:0}.ui-design-replica-controls>header>.infinite-control-tooltip-anchor{margin-left:0}.ui-design-agent-context{min-width:94px;color:var(--muted);text-align:right;gap:3px;margin-left:auto;font-size:.51rem;font-weight:800;display:grid}.ui-design-agent-context>i{background:#e4e4e7;border-radius:99px;width:100%;height:4px;display:block;overflow:hidden}.ui-design-agent-context>i>b{border-radius:inherit;background:#50545b;height:100%;transition:width .18s;display:block}.ui-design-agent-context.is-warn>i>b{background:#d97706}.ui-design-agent-context.is-blocked>i>b{background:#dc2626}.ui-design-agent-context.is-blocked{color:#991b1b}.ui-design-agent-context-warning{color:#991b1b;background:#fef2f2;border-top:1px solid #fecaca;padding:7px 10px;font-size:.57rem;font-weight:760;line-height:1.45}.ui-design-agent-clear{border:1px solid var(--line);background:var(--white);width:31px;height:31px;min-height:31px;color:var(--black);cursor:pointer;border-radius:7px;place-items:center;padding:0;display:grid}.ui-design-agent-clear:hover:not(:disabled),.ui-design-agent-clear:focus-visible:not(:disabled){background:var(--black);color:var(--white);outline:none}.ui-design-agent-clear:disabled{cursor:not-allowed;opacity:.35}.ui-design-agent-clear svg{width:15px;height:15px}.ui-design-agent-messages{background:#fafafac7;flex-direction:column;gap:8px;min-height:0;padding:11px;display:flex;overflow-y:auto}.ui-design-agent-empty{color:var(--muted);text-align:center;justify-items:center;gap:7px;margin:auto 8px;display:grid}.ui-design-agent-empty svg{width:28px;height:28px}.ui-design-agent-empty strong{color:var(--black);font-size:.72rem;font-weight:920}.ui-design-agent-empty p{margin:0;font-size:.61rem;font-weight:680;line-height:1.55}.ui-design-agent-turn{gap:6px;display:grid}.ui-design-agent-message{overflow-wrap:anywhere;white-space:pre-wrap;border:1px solid #11111124;border-radius:9px;max-width:88%;padding:8px 10px;font-size:.66rem;font-weight:700;line-height:1.55}.ui-design-agent-message.is-user{color:var(--black);background:#e4f1fb;border-color:#1777dd3d;align-self:end}.ui-design-agent-message.is-assistant{background:var(--white);color:var(--muted);align-self:start}.ui-design-agent-reasoning{max-width:88%;color:var(--muted);background:#f0f0f0;border:1px dashed #11111138;border-radius:8px;padding:6px 8px;font-size:.6rem}.ui-design-agent-reasoning summary{cursor:pointer;font-weight:850}.ui-design-agent-reasoning p{white-space:pre-wrap;max-height:150px;margin:6px 0 0;line-height:1.55;overflow-y:auto}.ui-design-agent-action{max-width:92%;color:var(--muted);background:#ededed;border-radius:8px;align-items:flex-start;gap:6px;padding:6px 8px;font-size:.59rem;font-weight:760;line-height:1.45;display:flex}.ui-design-agent-action svg{flex:none;width:14px;height:14px;margin-top:1px}.ui-design-agent-action.is-error{color:#991b1b;background:#fee2e2}.ui-design-agent-action.is-live{align-items:center}.ui-design-agent-action .loading-ring{flex:0 0 14px;width:14px;height:14px}.ui-design-agent-action.is-live>button{color:inherit;cursor:pointer;font:inherit;background:0 0;border:1px solid;border-radius:5px;margin-left:auto;padding:2px 7px}.ui-design-agent-edit-stream{color:#d1fae5;background:#111827;border:1px solid #1113;border-radius:8px;gap:5px;max-width:96%;padding:7px 8px;display:grid}.ui-design-agent-edit-stream strong{font-size:.62rem}.ui-design-agent-edit-stream pre{white-space:pre-wrap;max-height:180px;margin:0;font-size:.6rem;line-height:1.45;overflow:auto}.ui-design-agent-composer{border-top:2px solid var(--line);background:var(--white);gap:6px;padding:9px;display:grid}.ui-design-agent-composer textarea{resize:none;border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:100%;min-height:68px;color:var(--black);font:inherit;outline:none;padding:8px 9px;font-size:.66rem;font-weight:700;line-height:1.5}.ui-design-agent-composer textarea:focus{box-shadow:0 0 0 3px #0b0b0b1a}.ui-design-agent-composer textarea:disabled{cursor:not-allowed;background:#eee}.ui-design-agent-composer>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.ui-design-agent-composer small{color:var(--muted);font-size:.56rem;font-weight:740}.ui-design-agent-composer button{border:2px solid var(--line);background:var(--black);min-height:31px;color:var(--white);font:inherit;cursor:pointer;border-radius:7px;align-items:center;gap:5px;padding:0 10px;font-size:.62rem;font-weight:900;display:inline-flex}.ui-design-agent-composer button:hover:not(:disabled),.ui-design-agent-composer button:focus-visible:not(:disabled){outline:none;transform:translate(-1px,-1px);box-shadow:2px 2px #0b0b0b94}.ui-design-agent-composer button:disabled{cursor:not-allowed;opacity:.35}.ui-design-agent-composer button svg{width:15px;height:15px}.ui-design-confirm-dialog{z-index:1;gap:14px;width:min(460px,100vw - 64px);display:grid;position:relative}.ui-design-confirm-summary{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);gap:7px;padding:12px;display:grid}.ui-design-confirm-summary span{color:var(--muted);font-size:.72rem;font-weight:900}.ui-design-confirm-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:950;overflow:hidden}.ui-design-confirm-summary p{color:var(--muted);margin:0;font-size:.72rem;font-weight:760;line-height:1.55}.ui-design-confirm-actions{justify-content:flex-end}.ui-design-danger-action{color:var(--white);background:#dc2626;border-color:#7f1d1d}.ui-design-danger-action:hover:not(:disabled){color:var(--white);background:#991b1b}.ui-design-inpaint-dialog{z-index:1;border:2px solid var(--line);background:var(--white);width:min(900px,100% - 48px);max-height:calc(100% - 48px);box-shadow:8px 8px 0 var(--black);border-radius:12px;display:grid;position:relative;overflow:hidden}.ui-design-inpaint-dialog>header,.ui-design-inpaint-dialog>footer,.ui-design-inpaint-toolbar,.ui-design-inpaint-variants{align-items:center;gap:8px;padding:10px 13px;display:flex}.ui-design-inpaint-dialog>header{border-bottom:2px solid var(--line);justify-content:space-between}.ui-design-inpaint-dialog>header>div{gap:2px;display:grid}.ui-design-inpaint-dialog>header strong{font-size:.9rem;font-weight:950}.ui-design-inpaint-dialog>header span{color:var(--muted);font-size:.66rem;font-weight:760}.ui-design-inpaint-dialog>header>button{border:1px solid var(--line);background:var(--white);cursor:pointer;border-radius:7px;width:32px;height:32px;font-size:1.1rem}.ui-design-inpaint-toolbar{border-bottom:1px solid var(--line);background:var(--paper-2);flex-wrap:wrap}.ui-design-inpaint-toolbar button,.ui-design-inpaint-variants button,.ui-design-inpaint-dialog>footer button{border:1px solid var(--line);background:var(--white);min-height:31px;color:var(--black);cursor:pointer;border-radius:7px;padding:0 10px;font-size:.66rem;font-weight:850}.ui-design-inpaint-toolbar button.is-active,.ui-design-inpaint-variants button.is-active,.ui-design-inpaint-dialog>footer button.is-primary{background:var(--black);color:var(--white)}.ui-design-inpaint-toolbar button:disabled,.ui-design-inpaint-dialog>footer button:disabled{cursor:not-allowed;opacity:.42}.ui-design-inpaint-toolbar label{align-items:center;gap:7px;min-width:190px;font-size:.62rem;font-weight:800;display:flex}.ui-design-inpaint-toolbar label input{min-width:100px}.ui-design-inpaint-toolbar>span{margin-left:auto;font-size:.62rem;font-weight:800}.ui-design-inpaint-toolbar>span.is-ready{color:#166534}.ui-design-inpaint-toolbar>span.is-error{color:#991b1b}.ui-design-inpaint-stage{background-color:#e7e9eb;background-image:linear-gradient(45deg,#d9dcdf 25%,#0000 25%),linear-gradient(-45deg,#d9dcdf 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#d9dcdf 75%),linear-gradient(-45deg,#0000 75%,#d9dcdf 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;place-items:center;min-height:260px;max-height:58vh;padding:14px;display:grid;overflow:auto}.ui-design-inpaint-canvases{width:min(760px,100%);max-height:54vh;line-height:0;position:relative;box-shadow:0 9px 30px #1111113d}.ui-design-inpaint-canvases canvas{width:100%;height:100%;position:absolute;inset:0}.ui-design-inpaint-mask{cursor:crosshair;opacity:.55;touch-action:none}.ui-design-inpaint-stage>img{object-fit:contain;max-width:100%;max-height:54vh;display:block;box-shadow:0 9px 30px #1111113d}.ui-design-inpaint-help{color:var(--muted);margin:0;padding:8px 13px;font-size:.64rem;font-weight:720;line-height:1.5}.ui-design-inpaint-variants{border-top:1px solid var(--line)}.ui-design-inpaint-variants span{color:var(--muted);font-size:.62rem;font-weight:720}.ui-design-inpaint-dialog>footer{border-top:2px solid var(--line);justify-content:flex-end}@media (width<=1180px) and (width>=761px){.ui-design-source-status,.ui-design-notice{display:none}.ui-design-canvas-stage{padding-right:28px}.ui-design-toolbar{max-width:calc(100% - 40px);bottom:80px}.ui-design-zoom-tools{max-width:calc(100% - 32px)}.ui-design-assets-panel{width:300px;top:126px;bottom:145px}.ui-design-replica-controls{width:300px;top:70px;bottom:14px}.ui-design-replica-preview{top:70px;bottom:14px;right:330px}}@media (width<=760px){.ui-design-modal{display:none}}.music-room-modal-frame{width:min(1480px,100vw - 48px);max-width:calc(100vw - 48px);height:calc(100vh - 48px);max-height:calc(100vh - 48px);overflow:hidden}.music-room-session-layer.is-hidden{display:none}.music-room-window-actions{z-index:50;align-items:center;gap:7px;display:flex;position:absolute;top:20px;right:15px}.music-room-modal-frame:has(.music-room-modal.is-lobby)>.music-room-window-actions{top:15px}.music-room-window-button{box-sizing:border-box;background:var(--white);width:42px;min-width:42px;height:42px;min-height:42px;color:var(--black);box-shadow:none;cursor:pointer;border:2px solid #000;border-radius:7px;place-items:center;padding:0;font-size:1.25rem;font-weight:900;line-height:1;display:grid}.music-room-window-button.is-minimize{font-size:1.18rem}.music-room-window-button:hover,.music-room-window-button:focus-visible{border-color:var(--black);background:var(--black);color:var(--white);outline:none}.music-room-launcher{z-index:13;background:var(--black);width:48px;height:48px;color:var(--white);cursor:pointer;border:2px solid #000;border-radius:50%;place-items:center;padding:0;transition:all .16s;display:grid;position:fixed;bottom:22px;left:22px;box-shadow:4px 4px #8d8d8d}.music-room-launcher:after{background:var(--white);content:"";border:2px solid #000;border-radius:50%;width:7px;height:7px;position:absolute;top:5px;right:5px}.music-room-launcher svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.1px;width:22px;height:22px}.music-room-launcher:hover,.music-room-launcher:focus-visible,.music-room-launcher.is-active{background:var(--white);color:var(--black);outline:none;transform:translate(-2px,-2px);box-shadow:6px 6px #8d8d8d}.music-room-launcher.is-room-minimized{animation:1.9s ease-in-out infinite music-room-launcher-breathe}.music-room-launcher.is-room-minimized svg{animation:3.6s linear infinite music-room-spin}@keyframes music-room-launcher-breathe{0%,to{box-shadow:4px 4px #8d8d8d,0 0 #11111129}50%{box-shadow:5px 5px #8d8d8d,0 0 0 7px #1110}}@keyframes music-room-spin{to{transform:rotate(360deg)}}@media (width<=1340px){body:has(.bottom-workbench) .music-room-launcher{bottom:280px;left:14px}body:has(.bottom-workbench .workbench-actions.is-expanded) .music-room-launcher{display:none}}@media (width<=820px){.music-room-modal-frame{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;height:calc(100vh - 20px)!important;max-height:calc(100vh - 20px)!important}}@media (width<=600px){.music-room-launcher{width:46px;height:46px;bottom:88px;left:16px}}@media (prefers-reduced-motion:reduce){.music-room-launcher.is-room-minimized,.music-room-launcher.is-room-minimized svg{animation:none}}@media (width<=760px){.music-room-launcher{display:none}.music-room-modal-frame{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;height:calc(100vh - 20px)!important;max-height:calc(100vh - 20px)!important}.music-room-window-actions{align-items:center;height:42px;min-height:42px;top:15px;right:12px}:is(.music-room-modal-frame:has(.music-room-modal.is-lobby)>.music-room-window-actions,.music-room-modal-frame:has(.music-room-modal.is-room)>.music-room-window-actions){top:17px}}.install-shell{place-items:center;min-height:100vh;display:grid;overflow:auto}.install-card{width:min(760px,100vw - 28px);max-height:calc(100vh - 36px);box-shadow:var(--shadow-hard);padding:24px;overflow:auto}.install-head p,.install-section small,.install-notice span{color:var(--muted);font-size:.84rem;font-weight:760;line-height:1.55}.install-form,.install-section,.install-notice{gap:14px;display:grid}.install-section,.install-notice,.install-message,.install-error,.install-missing{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);padding:14px}.install-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.install-grid label{gap:6px;display:grid}.install-grid span{font-size:.78rem;font-weight:900}.install-grid input{border:2px solid var(--line);border-radius:var(--radius-sm);background:var(--white);width:100%;min-height:42px;padding:8px 11px}.install-message{color:#0d4f26;background:#e9f7ee;border-color:#0d6b2f;font-weight:850}.install-error,.install-missing{color:#7a1717;background:#fff0ef;border-color:#8b1d1d;font-weight:850}.install-actions{grid-template-columns:1fr;justify-content:flex-end}@media (width<=640px){.install-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}@media (width>=1321px){.topbar-icon-button:after{display:none}.topbar-icon-button.is-minimized:after,.topbar-icon-button.is-generating:after{display:block}}@media (width<=1320px){.topbar-icon-row{gap:6px;min-width:0}.topbar-icon-row .canvas-entry-button{flex:none;width:clamp(32px,2.6vw,40px);min-width:32px;height:clamp(32px,2.6vw,40px);padding:0}.topbar-icon-row .canvas-entry-button svg{width:19px;height:19px}.topbar-icon-label{display:none}.topbar-icon-row .canvas-entry-button+.canvas-entry-button:before{left:-3px}.canvas-entry-badge{border:2px solid var(--line);min-width:21px;height:21px;font-size:.64rem;position:absolute;top:-4px;right:-4px}}@media (width<=1200px){.topbar{gap:10px}.brand{flex:none;min-width:0}.brand-name{text-overflow:ellipsis;white-space:nowrap;max-width:132px;overflow:hidden}.mode-tabs{scrollbar-width:thin;flex:0 auto;min-width:0;overflow:auto hidden}.mode-tabs>button{white-space:nowrap;flex:none;min-width:56px;padding:0 8px}.topbar-icon-row{gap:6px}.topbar-icon-row .canvas-entry-button{width:36px;height:36px}.api-switch-select-field{width:min(168px,18vw);min-width:128px}.account-tool{max-width:112px}}@media (width<=980px){.workbench-actions{gap:7px}.control-field{flex:112px}.send-button{flex-basis:56px}.image-detail-modal{grid-template-columns:1fr;width:min(100%,620px);height:min(820px,100vh - 36px)}.detail-modal-frame{width:min(100%,620px);height:min(820px,100vh - 36px)}.detail-preview{height:min(42vh,360px);position:relative}.detail-panel{overflow-y:auto}}@media (width>=761px) and (width<=1000px){body{overflow:hidden auto}.playground-shell{height:auto;min-height:100vh;padding:12px}.agent-chat-container{height:calc(100vh - 112px);min-height:420px}.topbar{grid-template:"brand actions""center center"/minmax(0,1fr) minmax(0,auto);align-items:center;gap:8px;width:100%;padding:0}.brand{grid-area:brand;min-width:0}.topbar-center{grid-area:center;justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.topbar-icon-row{flex:none;gap:6px;display:inline-flex}.topbar-icon-row .canvas-entry-button{width:38px;height:38px}.topbar-actions{grid-area:actions;justify-self:end;align-items:center;gap:6px;min-width:0;max-width:min(58vw,240px);display:inline-flex}.topbar-actions .status-api-select,.topbar-actions .status-pill{flex:auto;width:auto;min-width:0;max-width:158px}.topbar-actions .custom-select-menu{min-width:min(220px,100vw - 24px);max-width:calc(100vw - 24px);left:auto;right:0}.account-tool{flex:none;max-width:92px}.mode-tabs{scrollbar-width:thin;flex-wrap:nowrap;flex:auto;gap:4px;width:auto;min-width:0;display:flex;overflow:auto hidden}.mode-tabs>button{white-space:nowrap;flex:auto;min-width:max-content;padding:0 8px}.brand-name{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.canvas-stage{min-height:76vh;padding-bottom:214px}.canvas-stage.is-browse-scope{padding-bottom:0}.canvas-toolbar{flex-wrap:wrap;align-items:stretch;gap:6px;width:100%;height:max-content;margin:0 0 8px;padding:6px;display:flex;position:static;overflow:visible;transform:none}.canvas-toolbar>*{min-width:0;max-height:none}.toolbar-icon-button{border-radius:var(--radius-sm);flex:0 0 38px;order:1;width:38px;min-width:38px;height:34px;min-height:34px;max-height:34px;padding:0}.toolbar-search{flex:calc(100% - 44px);order:2;width:auto;min-width:0;height:34px;max-height:34px}.toolbar-search svg{width:14px;height:14px;left:10px}.toolbar-search input{border-radius:var(--radius-sm);height:34px;min-height:0;max-height:34px;padding:0 10px 0 32px;font-size:.78rem;line-height:30px}.toolbar-scope,.toolbar-filter,.toolbar-filter.custom-select-field{flex:calc(50% - 3px);order:3;width:auto;min-width:0;height:34px;max-height:34px;overflow:visible}.toolbar-scope .custom-select-trigger,.toolbar-filter .custom-select-trigger{border-radius:var(--radius-sm);width:100%;min-width:0;height:34px;min-height:0;max-height:34px;padding:0 10px;font-size:.78rem;line-height:30px}.toolbar-scope .custom-select-trigger svg,.toolbar-filter .custom-select-trigger svg,.toolbar-icon-button svg{width:14px;height:14px}.toolbar-scope .custom-select-trigger strong,.toolbar-filter .custom-select-trigger strong{text-overflow:ellipsis;overflow:hidden}.bottom-workbench{bottom:10px;left:10px;right:10px}.prompt-console{gap:8px;padding:10px}.workbench-actions,.workbench-actions.is-expanded{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:7px;display:grid}.workbench-toggle-button{order:4;grid-column:1;width:100%;height:40px;display:grid}.workbench-actions .workbench-extra-control{display:none}.workbench-actions.is-expanded .workbench-extra-control{order:2;display:grid}.workbench-actions.is-expanded .size-control.workbench-extra-control{order:1;grid-column:1/-1}.workbench-actions .icon-file-control,.workbench-actions.is-expanded .icon-file-control{order:3;width:100%;min-width:0}.workbench-actions .send-button,.workbench-actions.is-expanded .send-button{order:4;grid-column:2;width:100%;min-width:0}.workbench-actions.is-expanded .workbench-toggle-button{order:4;grid-column:1}.workbench-actions .control-field,.workbench-actions .custom-select-field,.workbench-actions .icon-file-control,.workbench-actions .custom-select-trigger,.workbench-actions .tool-pill,.workbench-actions .control-field input{width:100%;min-width:0}.icon-file-control strong{width:100%;min-width:0;height:40px}.send-button{flex:none;width:100%;min-width:0;height:40px}.reference-preview{grid-template-columns:1fr}body:has(.bottom-workbench) .music-room-launcher{bottom:280px;left:14px}body:has(.bottom-workbench .workbench-actions.is-expanded) .music-room-launcher{display:none}}@media (width<=760px){body{overflow:hidden auto}.account-modal.is-account-workspace>.account-modal-head{min-height:68px;padding:14px 56px 12px 14px}.account-modal.is-account-workspace .account-panel{grid-template:"navigation""content"minmax(0,1fr)/minmax(0,1fr)}.segmented-control.account-primary-tabs{border-right:0;border-bottom:2px solid var(--line);flex-flow:column;gap:4px;padding:7px;display:flex;overflow:visible}.account-nav-tabs{scrollbar-width:none;flex-wrap:nowrap;gap:4px;width:100%;display:flex;overflow:auto hidden}.account-nav-tabs::-webkit-scrollbar{display:none}.account-nav-submenu-mobile::-webkit-scrollbar{display:none}.account-nav-group{display:contents}.account-primary-tabs .account-nav-primary{text-align:center;white-space:nowrap;flex:1 0 auto;justify-items:center;width:auto;min-width:72px;min-height:40px;padding:7px 12px}.account-primary-tabs .account-nav-primary small,.account-nav-submenu-inline{display:none}.account-nav-submenu.account-nav-submenu-mobile{border:2px solid var(--line);border-radius:var(--radius);background:var(--paper-2);scrollbar-width:none;gap:4px;width:100%;margin:0;padding:5px;display:flex;overflow-x:auto}.account-primary-tabs .account-nav-submenu-mobile .account-nav-secondary{text-align:center;white-space:nowrap;flex:1 0 auto;justify-content:center;width:auto;min-width:92px;min-height:36px;padding:0 12px}.account-primary-tabs .account-nav-logout{display:none}.account-action-bar{flex-wrap:nowrap;padding:8px 12px}.account-action-bar.is-empty{display:flex}.account-action-bar .primary-action,.account-action-bar .secondary-action{place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;display:inline-grid}.account-action-bar .account-action-logout{margin-right:auto;display:inline-grid}.account-action-bar .account-action-icon{display:block}.account-action-bar .account-action-label{display:none}.account-content{padding:12px 12px 20px}.works-row{grid-template-columns:72px minmax(0,1fr) auto;gap:8px}.works-row-thumb{width:72px;height:56px}.works-row-delete{min-width:56px;min-height:32px;padding:0 8px}.works-row-actions{gap:4px}.works-row-action,.works-row-actions .chat-copy-button{width:32px;height:32px;min-height:32px}.works-manager-search{flex-basis:100%}.works-pagination{flex-wrap:wrap}.works-pagination-actions{justify-content:space-between;width:100%}.works-pagination .secondary-action{min-width:0}.works-page-jump input{width:54px}.playground-shell{height:auto;min-height:100vh;padding:12px}.agent-chat-container{height:calc(100vh - 112px);min-height:420px}.status-api-select .custom-select-trigger{justify-content:space-between;width:100%;min-width:0;min-height:36px}.topbar-actions .custom-select-field,.topbar-actions .custom-select-trigger{min-width:0}.toolbar-scope .custom-select-trigger,.toolbar-filter .custom-select-trigger{border-radius:var(--radius-sm);height:34px;min-height:0;max-height:34px;padding:0 10px;font-size:.78rem;line-height:30px}.toolbar-icon-button svg,.toolbar-scope .custom-select-trigger svg,.toolbar-filter .custom-select-trigger svg{width:14px;height:14px}.toolbar-scope .custom-select-trigger strong,.toolbar-filter .custom-select-trigger strong{text-overflow:ellipsis;overflow:hidden}.toolbar-search svg{width:14px;height:14px;left:10px}.toolbar-search input{border-radius:var(--radius-sm);height:34px;min-height:0;max-height:34px;padding:0 10px 0 32px;font-size:.78rem;line-height:30px}.empty-canvas h1{font-size:clamp(2.4rem,15vw,4.8rem)}.control-field,.file-control{flex:none;width:100%;min-width:0}.custom-select-field,.tool-pill,.control-field input,.control-field select,.icon-file-control{width:100%;min-width:0}.reference-preview{grid-template-columns:1fr}.ratio-grid{grid-template-columns:repeat(2,1fr)}.settings-grid,.account-section-grid,.custom-ratio-row,.custom-size-row,.api-config-fields,.user-card-actions{grid-template-columns:1fr}.image-detail-modal{flex-direction:column;gap:12px;display:flex;overflow:auto}.image-detail-modal>*,.image-detail-modal .detail-panel>*{flex:none}.image-detail-modal .detail-panel{display:contents}.image-detail-modal .modal-head{order:1}.image-detail-modal .detail-preview{order:2;height:auto;min-height:min(42vh,320px);display:block}.image-detail-modal .detail-preview.is-image-ready{min-height:0}.image-detail-modal .detail-preview img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:min(68vh,560px);margin:0 auto;display:block}.image-detail-modal .detail-pending-preview{min-height:min(42vh,320px)}.image-detail-modal>.detail-actions{order:3}.image-detail-modal .detail-panel>:not(.modal-head){order:4}.image-detail-modal>.detail-preview,.image-detail-modal>.detail-actions{grid-area:auto}.image-detail-modal>.detail-actions{align-self:stretch;gap:4px;margin:0;padding:0;overflow:visible}.image-detail-modal>.detail-actions a,.image-detail-modal>.detail-actions button{flex:1 1 0;gap:0;min-width:0;min-height:38px;padding:0}.image-detail-modal>.detail-actions .detail-action-label{display:none}.image-detail-modal>.detail-actions .detail-action-icon{display:block}.api-config-fields-ordered>*{grid-column:auto}.segmented-control.four-tabs{grid-template-columns:repeat(2,1fr)}.api-config-card-head{display:grid}.api-config-actions{flex-wrap:wrap;justify-content:flex-end;width:100%;display:flex}.api-config-actions .agent-reasoning-mode-select,.api-config-actions .agent-api-route-select,.api-config-actions .image-api-route-select,.api-category-head-actions .image-api-route-select{width:100%;min-width:0}.api-config-param-card .api-config-card-head{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.api-config-param-card .api-config-card-head>div:first-child>span{display:none}.api-config-param-card .api-config-card-head strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.api-config-param-card .api-config-actions{flex-wrap:nowrap;gap:6px;width:100%;display:flex}.api-config-param-card .api-config-actions>.custom-select-field{flex:1 1 0;width:auto;min-width:0}.api-config-param-card .api-config-actions>.custom-select-field .custom-select-trigger{width:100%;min-width:0}.api-config-param-card .api-config-actions .secondary-action{flex:none;width:34px;min-width:34px;height:34px;min-height:34px;padding:0}.api-config-param-card .api-config-action-label{display:none}.api-config-param-card .api-config-action-icon{display:block}.api-category-card .api-category-head{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;display:grid}.api-category-card .api-category-head>div:first-child{grid-area:1/1}.api-category-card .api-category-head-actions{display:contents}.api-category-card .api-category-head-actions>button{white-space:nowrap;grid-area:1/2;align-self:stretch;height:auto;min-height:34px}.api-category-card .api-category-head-actions>.custom-select-field{grid-row:2;width:100%;min-width:0}.api-category-card .api-category-head-actions>.custom-select-field .custom-select-trigger{width:100%;min-width:0}.api-category-card .api-category-head-actions>.custom-select-field:only-of-type{grid-column:1/-1}.api-config-param-card .custom-select-menu,.api-category-card .custom-select-menu{width:max-content;min-width:100%;max-width:min(260px,100vw - 48px);left:0;right:auto}.api-config-param-card .custom-select-option,.api-category-card .custom-select-option{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.api-config-param-card .api-config-actions>.custom-select-field:nth-of-type(2) .custom-select-menu,.api-category-card .api-category-head-actions>.custom-select-field:nth-of-type(2) .custom-select-menu{left:auto;right:0}.settings-inline-actions{flex-wrap:nowrap}.settings-inline-actions .secondary-action{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;min-height:36px;padding:0 6px;font-size:.7rem;overflow:hidden}.user-create-fields,.user-management-controls{grid-template-columns:1fr}.user-management-intro .api-config-card-head{flex-direction:column;align-items:stretch}.user-management-head-actions,.user-create-actions{justify-content:stretch}.user-management-head-actions .secondary-action,.user-create-actions .primary-action{flex:1 1 0}.topbar{grid-template:"brand actions""tabs tabs"/minmax(0,1fr) minmax(0,auto);align-items:center;gap:8px;width:100%;padding:0}.brand{grid-area:brand;min-width:0}.topbar-center,.topbar-icon-row{display:contents}.topbar-actions{grid-area:actions;justify-self:end;align-items:center;gap:6px;min-width:0;max-width:min(58vw,240px);display:inline-flex}.topbar-actions .status-api-select,.topbar-actions .status-pill{flex:auto;grid-area:auto;width:auto;min-width:0;max-width:158px}.topbar-actions .status-pill{text-overflow:ellipsis;white-space:nowrap;justify-content:center;display:inline-flex;overflow:hidden}.topbar-actions .custom-select-menu{min-width:min(220px,100vw - 24px);max-width:calc(100vw - 24px);left:auto;right:0}.account-tool{flex:none;grid-column:auto;justify-self:auto;max-width:92px}.mode-tabs{scrollbar-width:thin;flex-wrap:nowrap;grid-area:tabs;justify-self:stretch;gap:4px;width:100%;min-width:0;display:flex;overflow:auto hidden}.mode-tabs>button,.mode-tabs>.mode-more-select{flex:auto;width:auto;min-width:max-content}.mode-tabs>button{white-space:nowrap;padding:0 8px}.mode-tabs>.mode-more-select{flex-grow:0;min-width:max-content}.mode-more-select .custom-select-trigger{width:100%;min-width:0;padding:0 10px}.mode-more-select .custom-select-menu{min-width:min(180px,100vw - 24px)}.brand-name{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.canvas-stage{grid-template-rows:max-content minmax(0,1fr);min-height:76vh;padding-bottom:214px}.canvas-stage.is-browse-scope{padding-bottom:0}.image-board.has-images{align-self:start}.canvas-toolbar{flex-wrap:wrap;align-items:stretch;gap:6px;width:100%;height:max-content;margin:0 0 8px;padding:6px;display:flex;position:static;overflow:visible;transform:none}.canvas-toolbar>*{min-width:0;max-height:none}.toolbar-icon-button{border-radius:var(--radius-sm);flex:0 0 38px;order:1;width:38px;min-width:38px;height:34px;min-height:34px;max-height:34px;padding:0}.toolbar-search{flex:calc(100% - 44px);order:2;width:auto;min-width:0;height:34px;max-height:34px}.toolbar-scope,.toolbar-filter,.toolbar-filter.custom-select-field{flex:calc(50% - 3px);order:3;width:auto;min-width:0;height:34px;max-height:34px;overflow:visible}.toolbar-text-button{flex:1 0 100%;order:4;width:100%;height:34px;min-height:34px;max-height:34px;padding:0 10px;line-height:30px}.custom-select-trigger,.disabled-select-like,.toggle-select-like{grid-template-columns:minmax(0,1fr) auto;width:100%;min-width:0}.custom-select-trigger strong{text-overflow:ellipsis;overflow:hidden}.custom-select-trigger,.custom-select-option,.custom-select-submenu-trigger{touch-action:manipulation}.custom-select-menu.has-submenu{max-height:min(60vh,320px);overflow:hidden auto}.custom-select-submenu{width:100%;min-width:0;box-shadow:none;grid-column:1/-1;margin-top:4px;position:static}.canvas-toolbar .custom-select-menu,.toolbar-filter .custom-select-menu,.toolbar-scope .custom-select-menu{z-index:28;min-width:max(100%,146px)}.bottom-workbench{bottom:10px;left:10px;right:10px}.prompt-console{gap:8px;padding:10px}.workbench-actions,.workbench-actions.is-expanded{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:7px;display:grid}.workbench-toggle-button{order:4;grid-column:1;width:100%;height:40px;display:grid}.workbench-actions .workbench-extra-control{display:none}.workbench-actions.is-expanded .workbench-extra-control{order:2;display:grid}.workbench-actions.is-expanded .size-control.workbench-extra-control{order:1;grid-column:1/-1}.workbench-actions .icon-file-control,.workbench-actions.is-expanded .icon-file-control{order:3;width:100%;min-width:0}.workbench-actions .send-button,.workbench-actions.is-expanded .send-button{order:4;grid-column:2;width:100%;min-width:0}.workbench-actions.is-expanded .workbench-toggle-button{order:4;grid-column:1}.icon-file-control strong{width:100%;min-width:0;height:40px}.send-button{flex:none;width:100%;min-width:0;height:40px}.full-field{grid-column:auto}}@media (width<=640px){.image-board.has-images{max-width:100%;margin-top:0;padding:8px 8px 18px}.masonry-board,.masonry-column{gap:10px}.image-detail-modal{grid-template-columns:1fr;width:100%;min-width:0;padding:12px;overflow:auto}.image-detail-modal .modal-head{z-index:auto;align-items:center;position:static}.image-detail-modal .detail-preview{width:100%;min-width:0}.size-modal .segmented-control,.api-scope-tabs.segmented-control{grid-template-columns:repeat(3,minmax(0,1fr))}.segmented-control.two-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.size-modal .resolution-row{grid-template-columns:repeat(3,minmax(0,1fr))}.size-modal .ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.size-modal .custom-size-row{grid-template-columns:repeat(2,minmax(0,1fr))}.size-modal .ratio-card{min-height:52px}.profile-inline-fields,.api-config-fields-ordered,.user-card-meta-grid{grid-template-columns:1fr}.api-config-fields-ordered>*{grid-column:auto}.user-card-title-row,.user-management-pagination{flex-direction:column;align-items:stretch}.user-card-stats,.user-management-pagination>div{justify-content:flex-start}.api-config-card-head,.api-category-head{display:flex}}@media (width<=460px){.topbar-actions{max-width:min(58vw,210px)}.topbar-actions .status-api-select,.topbar-actions .status-pill{max-width:126px}.account-tool{max-width:78px}.brand-name{max-width:126px}.status-pill{display:none}.status-api-select .custom-select-trigger{padding:0 9px}.modal-layer{--modal-layer-padding:10px}.segmented-control{grid-template-columns:1fr}.segmented-control.agent-settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.segmented-control.agent-settings-tabs button{min-width:0;padding:0 4px;font-size:.72rem}.mode-tabs{gap:2px}.mode-tabs button{padding:0 5px;font-size:.74rem}.mode-more-select .custom-select-trigger{padding:0 5px}.mode-more-select .custom-select-trigger svg{width:12px;height:12px}}@media (width<=760px){.image-board.has-images{margin-top:0;padding:8px 8px 18px}.image-board:not(.has-images){padding:0 12px}}@media (width<=760px),(pointer:coarse){body :is(input:not([type=button]):not([type=submit]):not([type=reset]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=image]):not([type=hidden]),textarea){font-size:16px}}.has-liquid-tabs{isolation:isolate;position:relative}.liquid-tab-indicator{z-index:0;border-radius:var(--radius-sm);background:var(--black);pointer-events:none;opacity:0;will-change:left, top, width, height;display:block;position:absolute}.has-liquid-tabs>button,.has-liquid-tabs>a,.has-liquid-tabs>[role=tab],.has-liquid-tabs .account-nav-primary,.has-liquid-tabs .account-nav-secondary{z-index:1;position:relative}.has-liquid-tabs .account-nav-secondary.is-active{border-color:var(--black);background:var(--black);color:var(--white)}.has-liquid-tabs>button,.has-liquid-tabs>[role=tab],.has-liquid-tabs .account-nav-primary{transition:color .24s,border-color .24s}.has-liquid-tabs>button.is-active,.has-liquid-tabs>[role=tab].is-active,.has-liquid-tabs .account-nav-primary.is-active{color:var(--white);background:0 0;border-color:#0000}.has-liquid-tabs>button.is-active:hover,.has-liquid-tabs>[role=tab].is-active:hover{color:var(--white);box-shadow:none;background:0 0;transform:none}.has-liquid-tabs>button:not(.is-active):not(:hover):not(:focus-visible):not(.music-room-open-playlist),.has-liquid-tabs>[role=tab]:not(.is-active):not(:hover):not(:focus-visible):not(.music-room-open-playlist){background:0 0}.has-liquid-tabs .liquid-tab-settled svg,.has-liquid-tabs .liquid-tab-settled img{animation:.42s cubic-bezier(.3,1.4,.4,1) liquid-tab-icon-settle}@keyframes liquid-tab-icon-settle{0%{transform:scale(1)}32%{transform:scale(.76)}70%{transform:scale(1.1)}to{transform:scale(1)}}.segmented-control.account-primary-tabs.has-liquid-tabs{position:relative}.segmented-control.account-primary-tabs.has-liquid-tabs .liquid-tab-indicator{border-radius:var(--radius-sm)}.segmented-control.account-primary-tabs.has-liquid-tabs .account-nav-primary.is-active small{color:#ffffffb8}.segmented-control.account-primary-tabs.has-liquid-tabs .account-nav-primary{background:0 0;border-color:#0000}.segmented-control.account-primary-tabs.has-liquid-tabs .account-nav-primary:hover:not(.is-active){background:var(--paper-2);color:var(--black)}.segmented-control.account-primary-tabs.has-liquid-tabs .account-nav-primary:hover:not(.is-active) small{color:var(--muted)}.ui-design-subtabs .liquid-tab-indicator,.music-room-platform-tabs .liquid-tab-indicator{border-radius:7px}.music-room-chat-tabs .liquid-tab-indicator{border-radius:5px}.music-room-management-section-tabs .liquid-tab-indicator{border-radius:6px}.mode-tabs.has-liquid-tabs{gap:8px}.has-liquid-tabs:not(.is-liquid-ready) .liquid-tab-indicator{opacity:0}.motion-modal-ghost{z-index:1199;pointer-events:none;transform-origin:50%;will-change:transform, opacity;position:fixed}.motion-modal-ghost-backdrop{z-index:1198;inset:0}.top-banner{z-index:30;border:2px solid var(--line);border-radius:var(--radius);background:var(--black);width:min(520px,100vw - 36px);color:var(--white);box-shadow:var(--shadow-hard);text-align:center;justify-content:center;align-items:center;gap:10px;padding:12px 16px;font-size:.88rem;font-weight:860;line-height:1.55;animation:.38s cubic-bezier(.16,1.14,.32,1) both top-banner-in;display:flex;position:fixed;top:18px;left:50%;transform:translate(-50%)}.top-banner.is-leaving{animation:.26s cubic-bezier(.5,0,.8,.4) both top-banner-out}@keyframes top-banner-in{0%{opacity:0;transform:translate(-50%,calc(-100% - 18px))}62%{opacity:1;transform:translate(-50%,5px)}to{opacity:1;transform:translate(-50%)}}@keyframes top-banner-out{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,calc(-100% - 18px))}}@media (prefers-reduced-motion:reduce){.liquid-tab-indicator,.top-banner{transition:none}.top-banner,.top-banner.is-leaving,.has-liquid-tabs .liquid-tab-settled svg,.has-liquid-tabs .liquid-tab-settled img{animation:none}}
