.reference-images{margin:0}.reference-images-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.reference-images .reference-images-heading h3,.reference-images .reference-images-heading label{margin:0;font-size:13px;font-weight:600}.reference-description-frame{border:1px solid var(--line);background:var(--surface);border-radius:8px;overflow:hidden}.reference-description-frame:focus-within{border-color:var(--focus)}.description-input .reference-description-frame>textarea,.studio-workbench .studio-settings-panel .reference-description-frame>textarea{box-shadow:none;background:0 0;border:0;border-radius:0}.reference-upload-button{border:1px solid var(--line);background:var(--surface);min-height:32px;color:var(--ink);border-radius:7px;flex:none;justify-content:center;align-items:center;gap:5px;padding:5px 9px;font-size:12px;display:inline-flex}.reference-upload-button:hover:not(:disabled){background:var(--hover);border-color:var(--border-strong)}.reference-images-list{flex-wrap:wrap;gap:16px;margin:0;padding:16px 16px 0;list-style:none;display:flex}.reference-images-list li{flex:none;width:84px}.reference-image-preview{border:1px solid var(--line);background:var(--soft);border-radius:18px;height:84px;position:relative}.reference-preview-button{border-radius:inherit;cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0;display:block;position:relative;overflow:hidden}.reference-preview-button:disabled{cursor:default}.reference-preview-button img{object-fit:cover;width:100%;height:100%;display:block}.reference-preview-overlay{color:#fff;opacity:0;pointer-events:none;background:#00000052;place-items:center;transition:opacity .15s;display:grid;position:absolute;inset:0}.reference-image-number{z-index:1;color:#fff;pointer-events:none;background:#000000b3;border-radius:50%;place-items:center;width:20px;height:20px;font-size:11px;font-weight:600;line-height:1;display:grid;position:absolute;bottom:6px;left:6px}.reference-remove-button{z-index:2;color:#fff;opacity:0;pointer-events:none;background:#ef4444;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;transition:opacity .15s,background-color .15s;display:grid;position:absolute;top:-14px;right:-14px;box-shadow:0 1px 3px #00000024}.reference-image-preview:hover .reference-preview-overlay,.reference-image-preview:focus-within .reference-preview-overlay,.reference-image-preview:hover .reference-remove-button,.reference-image-preview:focus-within .reference-remove-button{opacity:1}.reference-image-preview:hover .reference-remove-button,.reference-image-preview:focus-within .reference-remove-button{pointer-events:auto}.reference-remove-button:hover:not(:disabled){background:#dc2626}.reference-clear-button{border:1px dashed var(--border-strong);background:var(--surface);width:84px;height:84px;color:var(--muted);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:0;font-size:11px;line-height:1.4;display:flex}.reference-clear-button:hover:not(:disabled){color:var(--error);border-color:var(--error);background:var(--error-bg)}.reference-image-unavailable{height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:11px;display:flex}.reference-images-hint,.reference-images-status{color:var(--muted);margin:0;font-size:10px;line-height:1.65}.reference-description-meta{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 8px;margin-top:6px;display:flex}.reference-description-meta .description-counter{flex:none;margin:0 0 0 auto}.reference-images-status{margin-top:6px}.reference-upload-button:disabled,.reference-clear-button:disabled{cursor:default;opacity:.55}.reference-remove-button:disabled{cursor:default}@media (hover:none),(pointer:coarse){.reference-remove-button{opacity:1;pointer-events:auto}}@media (prefers-reduced-motion:reduce){.reference-preview-overlay,.reference-remove-button{transition:none}}:root{--workspace-rail-width:84px}.app-shell.with-product-rail{margin-left:var(--workspace-rail-width);width:calc(100% - var(--workspace-rail-width));height:100dvh;min-height:0;margin-top:0}.yuan-product-rail{height:100dvh;width:var(--workspace-rail-width);z-index:40;background:var(--sidebar);border-right:1px solid var(--line);overscroll-behavior:contain;scrollbar-width:thin;border-bottom:0;flex-direction:column;align-items:center;gap:12px;padding:0 8px 20px;line-height:1.5;display:flex;position:fixed;inset:0 auto 0 0;overflow:hidden auto}.yuan-product-rail .yuan-rail-brand{width:100%;color:var(--text);flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:4px;height:72px;min-height:72px;padding:0;text-decoration:none;display:flex}.yuan-product-menu{z-index:100;min-width:180px}.yuan-brand-mark{color:var(--ink);background:0 0;border:1px solid #0000;border-radius:10px;flex:none;place-items:center;width:36px;height:36px;font-size:20px;font-weight:700;display:grid}.yuan-brand-mark>img{object-fit:contain;width:100%;height:100%;padding:2px;display:block}.yuan-rail-label{display:none}.yuan-product-rail .yuan-rail-brand .yuan-rail-label{white-space:nowrap;font-size:9px;font-weight:600;line-height:1.2;display:block}.yuan-product-rail .yuan-product-links{flex-direction:column;flex:none;gap:6px;width:100%;display:flex}.yuan-product-rail .yuan-product-links :is(a,button){white-space:nowrap;width:100%;min-width:0;min-height:60px;color:var(--text);background:0 0;border:1px solid #0000;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;margin:0;padding:8px 0;font-size:11px;line-height:1.35;text-decoration:none;transition:background-color .15s,color .15s;display:flex}.yuan-product-rail .yuan-product-links :is(a,button):hover{background:var(--hover);color:var(--text)}.yuan-product-rail .yuan-product-links [aria-current=page]{background:var(--selected);color:var(--ink);border-color:#0000;font-weight:600}.yuan-product-rail .yuan-product-links [aria-current=page]:hover{background:var(--hover);color:var(--ink)}.yuan-product-rail [aria-disabled=true]{opacity:.45;cursor:not-allowed}.yuan-rail-footer{border-top:1px solid var(--line);border-left:0;flex-shrink:0;gap:2px;width:100%;margin:auto 0 0;padding:12px 0 0;display:grid}.yuan-product-rail .yuan-rail-action{width:100%;min-width:0;min-height:48px;color:var(--text);white-space:nowrap;background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:8px 0;font-size:11px;line-height:1.35;text-decoration:none;transition:background-color .15s,color .15s;display:flex}.yuan-product-rail .yuan-rail-action:hover{background:var(--hover);color:var(--ink)}.yuan-rail-avatar{background:var(--selected);width:22px;height:22px;color:var(--text);border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:600;display:grid}.yuan-rail-avatar img{object-fit:cover;border-radius:inherit;width:100%;height:100%}.yuan-product-rail .yuan-rail-action[aria-current=page]{background:var(--selected);color:var(--ink)}.yuan-product-rail svg{fill:currentColor;flex:none;width:22px;height:22px;display:block}.yuan-product-rail .yuan-rail-brand>span:last-child svg{width:12px;height:12px}@media (width<=1100px){:root{--workspace-rail-width:72px}.yuan-product-rail{padding:0 6px 16px}.yuan-product-rail .yuan-rail-brand{justify-content:center;gap:4px;height:64px;min-height:64px;padding:0}.yuan-brand-mark{width:32px;height:32px;font-size:18px}.yuan-product-rail .yuan-product-links :is(a,button),.yuan-product-rail .yuan-rail-action{flex-direction:column;justify-content:center;gap:5px;padding:8px 0;font-size:10px;line-height:1.35}.yuan-product-rail .yuan-product-links :is(a,button){min-height:58px}}@media (width<=680px){:root{--workspace-rail-width:56px}.yuan-product-rail{gap:8px;padding-inline:4px}.yuan-product-rail .yuan-rail-brand{gap:2px;height:52px;min-height:52px;padding:0}.yuan-brand-mark{border-radius:9px;width:28px;height:28px;font-size:16px}.yuan-product-rail .yuan-rail-brand .yuan-rail-label{font-size:8px}.yuan-product-rail .yuan-product-links :is(a,button){gap:4px;min-height:54px;font-size:9px}.yuan-product-rail .yuan-rail-action{min-height:44px;font-size:9px}}@media (prefers-reduced-motion:reduce){.yuan-product-rail .yuan-product-links :is(a,button),.yuan-product-rail .yuan-rail-action{transition:none}}.theme-toggle-button{--theme-toggle-bg:var(--sidebar);background:var(--theme-toggle-bg)}.theme-toggle-button:hover:not(:disabled),.theme-toggle-button:focus-visible{--theme-toggle-bg:var(--hover)}.theme-toggle-button .theme-orb{pointer-events:none;background:linear-gradient(40deg,#ff0080,#ff8c00 70%);border-radius:50%;flex:none;width:24px;height:24px;display:block;position:relative;overflow:hidden}.theme-toggle-button .theme-orb:before{content:"";opacity:0;background:linear-gradient(40deg,#8983f7,#a3dafb 70%);transition:opacity .3s;position:absolute;inset:0}.theme-toggle-button .theme-crescent{background:var(--theme-toggle-bg);transform-origin:100% 0;border-radius:50%;width:75%;height:75%;transition:transform .6s cubic-bezier(.645,.045,.355,1);position:absolute;top:0;right:0;transform:scale(0)}.theme-toggle-button[aria-pressed=true] .theme-orb:before{opacity:1}.theme-toggle-button[aria-pressed=true] .theme-crescent{transform:scale(1)}.yuan-product-rail .yuan-rail-footer .theme-toggle-button{background:var(--theme-toggle-bg);border:0;border-radius:50%;justify-self:center;width:44px;min-width:0;height:44px;min-height:44px;padding:0}@media (prefers-reduced-motion:reduce){.theme-toggle-button .theme-orb:before,.theme-toggle-button .theme-crescent{transition:none}}.panel-heading-with-status{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.draft-save-status{color:var(--muted);white-space:nowrap;align-items:center;gap:4px;font-size:10px;font-weight:400;display:inline-flex}.draft-save-status.error-text{color:var(--error)}.draft-save-status svg{flex:none}.animated-action{--action-size:40px;width:var(--action-size);height:var(--action-size);min-width:var(--action-size);min-height:var(--action-size);cursor:pointer;flex:none;justify-content:center;align-items:center;padding:0;transition:background-color .3s,border-color .3s,color .3s,transform .3s;display:inline-flex;position:relative;overflow:clip}.animated-action.download-button{border:1px solid var(--line);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-soft);border-radius:9px;text-decoration:none}.download-button .download-icon,.delete-button .bin-icon{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex}.download-button .download-arrow{width:calc(var(--action-size) * .26);height:calc(var(--action-size) * .35);fill:currentColor;display:block}.download-button .download-tray{width:calc(var(--action-size) * .36);height:calc(var(--action-size) * .1);border:2px solid;border-top:0;display:block}.animated-action.download-button:hover:not(:disabled),.animated-action.download-button:focus-visible{background:var(--selected);border-color:var(--border-strong);color:var(--ink);text-decoration:none}.download-button:hover:not(:disabled) .download-arrow,.download-button:focus-visible .download-arrow{animation:.6s cubic-bezier(.25,.46,.45,.94) both download-slide-in-top}.animated-action.delete-button{border:1px solid var(--line);background:var(--surface);color:var(--error);box-shadow:var(--shadow-soft);border-radius:11px}.delete-button .bin-bottom{width:calc(var(--action-size) * .28);height:auto;display:block}.delete-button .bin-top{width:calc(var(--action-size) * .31);transform-origin:100%;height:auto;transition:transform .3s;display:block}.delete-button:hover:not(:disabled) .bin-top,.delete-button:focus-visible .bin-top{transform:rotate(18deg)}.animated-action.delete-button:hover:not(:disabled),.animated-action.delete-button:focus-visible{background:var(--error-bg)}.animated-action.delete-button:active:not(:disabled){transform:scale(.96)}.inline-actions .animated-action{--action-size:34px}@keyframes download-slide-in-top{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (width<=767px){.preview-side-toolbar .animated-action{--action-size:34px}}@media (prefers-reduced-motion:reduce){.animated-action,.delete-button .bin-top{transition:none}.download-button:hover:not(:disabled) .download-arrow,.download-button:focus-visible .download-arrow{animation:none}.delete-button:hover:not(:disabled) .bin-top,.delete-button:focus-visible .bin-top{transform:none}}.favorite-button{overflow:clip}.favorite-button .favorite-heart{--heart-color:#ff5b89;pointer-events:none;flex-shrink:0;width:20px;height:20px;display:block;position:relative}.favorite-heart .svg-container{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.favorite-button .favorite-heart .svg-outline,.favorite-button .favorite-heart .svg-filled{width:100%;height:100%;fill:var(--heart-color);position:absolute;inset:0}.favorite-heart .svg-filled,.favorite-heart .svg-celebrate{display:none}.favorite-button .favorite-heart .svg-celebrate{width:200%;height:200%;stroke:var(--heart-color);fill:var(--heart-color);stroke-width:2px;position:absolute;inset:-50%}.favorite-button[aria-pressed=true] .svg-filled{display:block}.favorite-button[aria-pressed=true][data-celebrating=true] .svg-filled{animation:1s favorite-heart-filled}.favorite-button[aria-pressed=true][data-celebrating=true] .svg-celebrate{animation:.5s forwards favorite-heart-celebrate;display:block}@keyframes favorite-heart-filled{0%{transform:scale(0)}25%{transform:scale(1.2)}50%{filter:brightness(1.5);transform:scale(1)}to{filter:brightness();transform:scale(1)}}@keyframes favorite-heart-celebrate{0%{opacity:0;transform:scale(0)}50%{opacity:1;filter:brightness(1.5)}to{opacity:0;transform:scale(1.4)}}@media (prefers-reduced-motion:reduce){.favorite-button[aria-pressed=true][data-celebrating=true] .svg-filled{animation:none}.favorite-button[aria-pressed=true][data-celebrating=true] .svg-celebrate{display:none}}.library-page.image-library-page{min-width:0;padding:40px clamp(24px,3vw,64px) 64px;container:image-library/inline-size}.image-library-page[hidden]{display:none}.image-library-page .image-library-heading{flex-direction:row;align-items:flex-start;gap:24px;margin-bottom:32px}.image-library-title{min-width:0}.image-library-heading h1{line-height:1.3}.image-library-heading .page-actions{flex-shrink:0;align-items:center;gap:10px;width:auto}.image-library-heading .page-actions .primary-button{margin-left:0}.image-library-heading .page-actions>button{border-radius:12px;min-height:40px;font-size:13px}.image-library-heading .secondary-button{background:var(--sidebar);box-shadow:none;border-color:#0000}.image-library-heading .secondary-button:hover{background:var(--hover)}.image-library-heading .image-library-refresh{background:var(--sidebar);width:40px;height:40px;color:var(--text)}.image-library-heading .image-library-refresh:hover{background:var(--hover)}.image-storage-status{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:10px;font-size:12px;display:flex}.image-storage-status progress{appearance:none;background:var(--soft);width:160px;height:5px;accent-color:var(--text);border:0;border-radius:99px;overflow:hidden}.image-storage-status progress::-webkit-progress-bar{background:var(--soft)}.image-storage-status progress::-webkit-progress-value{background:var(--text);border-radius:99px}.image-storage-status progress::-moz-progress-bar{background:var(--text);border-radius:99px}.image-library-heading .image-storage-note{color:var(--muted);margin-top:8px;font-size:12px}.image-library-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;padding-bottom:22px;display:flex}.image-library-views{scrollbar-width:thin;align-items:center;gap:6px;min-width:0;max-width:100%;padding:2px 0;display:flex;overflow-x:auto}.image-library-views button{min-height:40px;color:var(--muted);white-space:nowrap;border-radius:12px;flex-shrink:0;padding:9px 14px;font-size:14px;line-height:1.5}.image-library-views button:hover,.image-library-views button:focus-visible{background:var(--sidebar);color:var(--text)}.image-library-views button[aria-pressed=true]{background:var(--selected);color:var(--text);font-weight:600}.image-library-tools{border-left:1px solid var(--line);flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;min-width:0;padding-left:24px;display:flex}.image-library-select{flex:0 0 148px;min-width:0}.image-library-select .select-trigger{background:var(--surface);border-radius:10px;height:40px;min-height:40px;padding:0 14px;font-size:13px}.image-library-tools .image-library-search{background:var(--sidebar);border-radius:10px;flex:0 0 360px;width:360px;height:40px}.image-library-search input{font-size:13px}.image-library-page .works-grid{margin-top:0}.image-library-page .works-retention{margin:0 0 24px}@container image-library (width<=1240px){.image-library-toolbar.has-source-filter{flex-direction:column;align-items:stretch;gap:16px}.image-library-tools.has-source-filter{border-left:0;padding-left:0}.image-library-tools.has-source-filter .image-library-search{flex:1;width:auto}}@container image-library (width<=1080px){.image-library-toolbar{flex-direction:column;align-items:stretch;gap:16px}.image-library-tools{border-left:0;padding-left:0}.image-library-tools .image-library-search{flex:1;width:auto}}@container image-library (width<=600px){.image-library-page .image-library-heading{flex-direction:column;align-items:stretch;gap:20px;margin-bottom:24px}.image-library-heading .page-actions{flex-wrap:wrap}.image-library-views{gap:4px}.image-library-views button{padding-inline:12px;font-size:13px}.image-library-tools{flex-wrap:wrap;justify-content:flex-start}.image-library-tools .image-library-search{flex:1 0 100%;order:-1;width:100%}.image-library-select{flex:0 148px;max-width:calc(50% - 6px)}}.asset-library-notice{color:var(--muted);margin-bottom:20px;font-size:12px}.asset-library-notice.error-text{color:var(--error)}.asset-library-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:28px 22px;display:grid}.asset-library-item{min-width:0}.asset-library-preview{background:var(--sidebar);border:1px solid var(--line);border-radius:8px;justify-content:center;align-items:center;height:240px;display:flex;overflow:hidden}.asset-library-preview img{object-fit:contain;width:100%;height:100%}.asset-library-item h2{text-overflow:ellipsis;white-space:nowrap;margin:12px 0 5px;font-size:13px;font-weight:550;overflow:hidden}.asset-library-item>p{color:var(--muted);font-size:11px}.asset-library-actions{flex-wrap:wrap;align-items:center;gap:14px;margin-top:12px;display:flex}.asset-library-actions .text-button{font-size:11px}@media (width<=600px){.asset-library-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:24px 16px}.asset-library-preview{height:210px}.image-library-page .page-actions{flex-wrap:wrap}}.account-center{width:min(1080px,100%);color:var(--text);margin:0 auto;padding:34px 40px 64px}.account-center[hidden]{display:none}.account-center .visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.ac-page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.ac-eyebrow{color:var(--muted);font-size:12px}.ac-page-heading h1{margin:6px 0 0;font-size:25px;font-weight:600;line-height:1.4}.ac-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:5px;margin-bottom:30px;padding-bottom:13px;display:flex}.ac-tabs button{color:var(--muted);border-radius:8px;padding:10px 17px;font-size:13px}.ac-tabs button[aria-selected=true]{color:var(--ink);background:var(--selected);font-weight:550}.ac-tabs button:hover{background:var(--hover);color:var(--ink)}.ac-content h2{margin:0 0 23px;font-size:17px;font-weight:550}.ac-content h3{font-size:14px;font-weight:550}.ac-content{min-width:0}.ac-content p{overflow-wrap:anywhere}.ac-avatar{width:40px;height:40px;color:var(--ink);background:var(--selected);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.ac-avatar-large{width:76px;height:76px}.ac-avatar img{object-fit:cover;width:100%;height:100%}.ac-identity{align-items:center;gap:20px;padding:7px 0 31px;display:flex}.ac-identity h2{overflow-wrap:anywhere;margin:0 0 5px;font-size:21px}.ac-identity p{color:var(--muted);margin:0 0 11px;font-size:13px}.ac-identity-edit{margin-left:auto}.ac-badge{color:var(--ink);background:var(--selected);white-space:nowrap;border-radius:6px;align-items:center;gap:4px;margin-right:7px;padding:4px 9px;font-size:11px;display:inline-flex}.ac-badge-quiet{background:var(--soft);color:var(--muted)}.ac-overview-grid{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1.15fr 1fr;gap:36px;margin-bottom:18px;padding:26px 0 29px;display:grid}.ac-block{min-width:0}.ac-block-heading{color:var(--ink);align-items:center;gap:9px;margin-bottom:18px;display:flex}.ac-block-heading h2{color:var(--text);margin:0;font-size:14px}.ac-storage-meter{padding:4px 0 0}.ac-capacity{align-items:baseline;gap:8px;margin-bottom:15px;display:flex}.ac-capacity strong{letter-spacing:-.5px;font-size:26px;font-weight:550}.ac-capacity span{color:var(--muted);font-size:13px}.ac-storage-meter progress{background:var(--soft);appearance:none;border:0;border-radius:10px;width:100%;height:7px;display:block;overflow:hidden}.ac-storage-meter progress::-webkit-progress-bar{background:var(--soft)}.ac-storage-meter progress::-webkit-progress-value{background:var(--primary-fill);border-radius:10px}.ac-storage-meter progress::-moz-progress-bar{background:var(--primary-fill);border-radius:10px}.ac-storage-meter.is-full progress::-webkit-progress-value{background:var(--error)}.ac-storage-meter.is-full progress::-moz-progress-bar{background:var(--error)}.ac-meter-caption{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px;margin:11px 0 15px;font-size:12px;display:flex}.ac-storage-meter.is-full .ac-meter-caption{color:var(--error)}.ac-description-list{margin:0 0 8px;font-size:13px}.ac-description-list>div{justify-content:space-between;align-items:center;gap:20px;padding:10px 0;display:flex}.ac-description-list dt{color:var(--muted)}.ac-description-list dd{color:var(--ink);margin:0}.ac-button{border:1px solid var(--line);background:var(--surface);color:var(--text);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:9px 14px;font-size:12px;display:inline-flex}.ac-button:hover{background:var(--hover);border-color:var(--border-strong)}.ac-text-link{color:var(--ink);align-items:center;gap:7px;padding:6px 0;font-size:12px;display:inline-flex}.ac-icon-button{color:var(--muted);border-radius:6px;justify-content:center;align-items:center;padding:5px;display:inline-flex}.ac-icon-button:hover{color:var(--ink);background:var(--hover)}.ac-detail-row{align-items:center;gap:18px;padding:13px 0;font-size:12px;display:flex}.ac-detail-row>span:first-child{min-width:82px;color:var(--muted)}.ac-detail-row code{overflow-wrap:anywhere;min-width:0;font-family:inherit;font-size:12px}.ac-form{max-width:560px}.ac-field{flex-direction:column;gap:9px;margin-bottom:22px;font-size:13px;display:flex}.ac-field>span:first-child{font-weight:500}.ac-field input,.ac-field textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--text);border-radius:8px;min-width:0;padding:11px 13px;font-size:13px;line-height:1.6}.ac-field textarea{resize:vertical;min-height:110px}.ac-field input:focus-visible,.ac-field textarea:focus-visible{border-color:var(--border-strong)}.ac-field small,.ac-field-hint{color:var(--muted);font-size:11px;line-height:1.7}.ac-avatar-editor{align-items:center;gap:19px;margin-bottom:27px;display:flex}.ac-avatar-editor p{margin:7px 0 0}.ac-inline-value{overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:20px;min-height:42px;font-size:13px;display:flex}.ac-inline-value>span{min-width:0}.ac-plain-value{color:var(--muted);padding:6px 0;font-size:13px}.ac-form-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:23px;display:flex}.ac-form-actions .primary{border-radius:8px;padding:10px 18px;font-size:12px}.ac-setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;padding:23px 0;display:flex}.ac-setting-row>div{gap:7px;min-width:0;display:grid}.ac-setting-row strong{font-size:13px;font-weight:500}.ac-setting-row span{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.ac-signout{padding-top:35px}.ac-inline-error{color:var(--error);background:var(--error-bg);overflow-wrap:anywhere;border-radius:8px;align-items:flex-start;gap:9px;margin-bottom:18px;padding:12px 14px;font-size:12px;line-height:1.7;display:flex}.ac-inline-error svg{flex-shrink:0;margin-top:1px}.ac-inline-error .text-button{white-space:nowrap;margin-left:auto}.ac-notice{background:var(--selected);color:var(--ink);border-radius:8px;align-items:center;gap:8px;margin-bottom:20px;padding:11px 14px;font-size:12px;display:flex}.ac-muted,.ac-empty{color:var(--muted);padding:15px 0;font-size:12px}.ac-storage-detail{max-width:620px;padding-bottom:24px}.ac-storage-detail .ac-form-actions{justify-content:flex-start;margin:17px 0 0}.ac-storage-detail>p{margin:12px 0 0}.ac-storage-detail .ac-description-list{margin-top:17px}.ac-data-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;padding:25px 0;display:flex}.ac-data-row h3{margin:0 0 6px}.ac-data-row p{color:var(--muted);margin:0;font-size:12px}.ac-export-action{color:var(--ink);flex-shrink:0;align-items:center;gap:10px;font-size:12px;display:inline-flex}.ac-section-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px;display:flex}.ac-section-heading h2{margin:0}.ac-feedback-form{max-width:640px}.ac-choice-group{flex-wrap:wrap;gap:8px;display:flex}.ac-choice-group button{border:1px solid var(--line);color:var(--muted);background:var(--surface);border-radius:7px;padding:8px 12px;font-size:12px}.ac-choice-group button[aria-pressed=true]{border-color:var(--border-strong);color:var(--ink);background:var(--selected)}.ac-feedback-heading{color:var(--ink);align-items:center;gap:8px;margin-top:35px;margin-bottom:12px;display:flex}.ac-feedback-heading h3{color:var(--text);margin:0}.ac-feedback-list details{border-top:1px solid var(--line)}.ac-feedback-list summary{cursor:pointer;justify-content:space-between;gap:15px;padding:17px 0;list-style:none;display:flex}.ac-feedback-list summary::-webkit-details-marker{display:none}.ac-feedback-list summary>span:first-child{gap:6px;min-width:0;display:grid}.ac-feedback-list strong{overflow-wrap:anywhere;font-size:13px;font-weight:500}.ac-feedback-list small{color:var(--muted);font-size:11px}.ac-feedback-list .ac-badge{align-self:flex-start;margin-top:3px}.ac-feedback-detail{padding:0 0 19px;font-size:12px;line-height:1.8}.ac-feedback-detail p{white-space:pre-wrap;margin:0 0 12px}.ac-support-reply{border-left:2px solid var(--border-strong);margin-top:17px;padding:2px 0 2px 13px}.ac-support-reply p{color:var(--muted);margin:5px 0 0}.ac-pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:14px;margin-top:20px;font-size:12px;display:flex}.ac-data-notes{border-top:1px solid var(--line);color:var(--muted);margin-top:28px;padding-top:23px;font-size:12px}.ac-data-notes summary{cursor:pointer}.ac-data-notes p{margin-top:12px;line-height:1.9}.ac-modal-form{max-width:none}.ac-modal-form .ac-field{margin-bottom:17px}.ac-code-input{gap:9px;display:flex}.ac-code-input input{flex:1}@media (width<=800px){.account-center{padding:26px 24px 48px}.ac-overview-grid{gap:24px}.ac-tabs button{padding:9px 12px}}@media (width<=540px){.account-center{padding:22px 16px 42px}.ac-page-heading{align-items:flex-start;gap:12px}.ac-page-heading h1{font-size:22px}.ac-page-heading>.ac-button{margin-top:6px;padding:8px 9px}.ac-tabs{gap:4px;margin-bottom:23px}.ac-tabs button{padding:9px 10px;font-size:12px}.ac-identity{flex-wrap:wrap;gap:14px}.ac-identity>div{flex:1;min-width:0}.ac-identity-edit{margin-left:90px}.ac-overview-grid{grid-template-columns:1fr;gap:28px}.ac-data-row{flex-wrap:wrap;gap:15px}.ac-data-row>div:first-child{flex:1;min-width:160px}.ac-detail-row{gap:10px}.ac-detail-row>span:first-child{min-width:63px}.ac-avatar-large{width:68px;height:68px}.ac-code-input .ac-button{padding:8px 10px}.ac-setting-row{gap:14px}}.studio-workbench .studio-editor.editor-panel{background:0 0;border:0;height:auto;min-height:0;display:block;overflow:visible}.studio-workbench .studio-editor .editor-top{border:0;padding:0 0 12px}.studio-workbench .studio-editor .panel-title{gap:8px;margin-bottom:16px}.studio-workbench .studio-editor .panel-title h2{letter-spacing:-.02em;font-size:18px;font-weight:650}.studio-workbench .studio-editor .selected-count-button{background:0 0;min-height:28px;padding:4px 0 4px 6px;font-size:12px}.studio-workbench .studio-editor .search-input{background:var(--surface);border-radius:7px;height:38px}.studio-workbench .studio-editor .search-input input{font-size:13px}.studio-workbench .studio-editor .segmented{background:0 0;border-radius:0;gap:16px;margin:10px 0 0;padding:0;display:flex}.studio-workbench .studio-editor .segmented button{min-height:30px;box-shadow:none;background:0 0;border-radius:0;padding:4px 0;font-size:13px;position:relative}.studio-workbench .studio-editor .segmented button[aria-pressed=true]{color:var(--accent)}.studio-workbench .studio-editor .segmented button[aria-pressed=true]:after{content:"";background:currentColor;border-radius:2px;height:2px;position:absolute;inset:auto 0 0}.studio-workbench .studio-editor .editor-scroll{overscroll-behavior:auto;scrollbar-gutter:auto;height:auto;max-height:none;padding:0;overflow:visible}.studio-workbench .studio-editor .studio-editor-group{border-top:1px solid var(--line)}.studio-workbench .studio-editor .studio-editor-group.is-flat{border:0}.studio-workbench .studio-editor .studio-group-trigger{text-align:left;align-items:center;gap:8px;width:100%;min-height:43px;padding:9px 0;font-size:14px;font-weight:600;display:flex}.studio-workbench .studio-editor .studio-group-trigger>svg{color:var(--muted);margin-left:auto;transition:transform .16s}.studio-workbench .studio-editor .studio-group-count{color:var(--muted);margin-left:auto;font-size:11px;font-weight:400}.studio-workbench .studio-editor .studio-group-count+svg{margin-left:0}.studio-workbench .studio-editor .studio-group-content[hidden]{display:none}.studio-workbench .studio-editor .field-control{border:0;padding-block:2px}.studio-workbench .studio-editor .field-heading{min-height:38px}.studio-workbench .studio-editor .field-toggle{min-height:38px;font-size:13px;font-weight:400}.studio-workbench .studio-editor .field-toggle>span:first-child{font-weight:400}.studio-workbench .studio-editor .field-value{max-width:164px;font-size:13px}.studio-workbench .studio-editor .studio-field-control:not([data-field=hair\.color]) .field-value{border:1px solid var(--line);background:var(--surface);border-radius:7px;width:100%;min-width:0;max-width:none;min-height:30px;margin-left:0;padding:5px 9px;display:block}.studio-workbench .studio-editor .field-body{padding:4px 0 10px}.studio-workbench .studio-editor .field-heading>.icon-button{opacity:1;width:24px;min-width:24px;height:28px}.field-control .field-heading.field-heading-controls{grid-template-rows:auto;grid-template-columns:minmax(0,1fr) 34px minmax(0,1.25fr) 13px 24px;align-items:center;gap:5px;display:grid}.field-control .field-heading-controls>.field-toggle{grid-template-columns:subgrid;grid-area:1/1/auto/5;align-items:center;gap:5px;min-width:0;min-height:38px;padding-block:2px;display:grid}.field-control .field-heading-controls .field-title{overflow-wrap:anywhere;flex-wrap:wrap;grid-column:1;align-items:center;gap:4px;min-width:0;display:flex}.field-control .field-heading-controls .field-value{text-overflow:ellipsis;grid-column:3;min-width:0;max-width:100%;margin-left:0;overflow:hidden}.field-control .field-heading-controls .field-toggle>svg{grid-column:4}.field-control .field-heading-controls .field-reset{z-index:1;width:34px;min-height:30px;color:var(--muted);background:var(--surface);border-radius:4px;grid-area:1/2;justify-self:center;padding:4px 0;font-size:12px;font-weight:400;position:relative}.field-control .field-heading-controls .field-reset:hover{color:var(--text);background:var(--soft)}.field-control .field-heading-controls>.icon-button{grid-area:1/5}.studio-workbench .studio-editor .text-options{gap:6px}.studio-workbench .studio-editor .text-options .option{min-height:28px;color:var(--text);background:var(--surface);border-color:var(--line);border-radius:6px;padding:4px 8px;font-size:12px;font-weight:400}.studio-workbench .studio-editor .text-options .option.is-selected{color:var(--accent);border-color:var(--accent);background:var(--selected)}.studio-workbench .studio-editor .studio-field-control[data-field=hair\.color] .color-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 4px;padding-top:3px}.studio-workbench .studio-editor .swatch{width:34px;height:34px}.studio-workbench .studio-editor .color-option.is-selected .swatch{outline:1px solid var(--accent);outline-offset:3px}.studio-workbench .studio-editor .color-option.is-selected{color:var(--accent)}.studio-workbench .studio-editor .color-picker-trigger{background:0 0;border:0;min-height:30px;margin-top:10px;padding:5px 0;font-size:12px}.studio-workbench .studio-editor .field-links{margin-top:6px}.studio-workbench .studio-editor .field-links .text-button{font-size:12px}.studio-workbench .studio-editor .studio-group-tools{flex-wrap:wrap;justify-content:flex-end;gap:14px;margin:0 0 8px;display:flex}.studio-workbench .studio-editor .studio-category-tools{color:var(--muted);align-items:center;gap:3px;font-size:11px;display:flex}.studio-workbench .studio-editor .studio-category-tools .icon-button{width:26px;height:26px}@media (prefers-reduced-motion:reduce){.studio-workbench .studio-editor .studio-group-trigger>svg{transition:none}}:root{--tl-color:#111;--tl-ink:#202227;--tl-muted:#dfe1e6;--tl-font:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif}.tl-loader,.tl-loader *{box-sizing:border-box}.tl-loader{width:100%;color:var(--tl-color);font-family:var(--tl-font);display:block}.tl-visual{width:100%;min-height:1.4em;display:block}.tl-copy{color:currentColor;width:100%;font:inherit;line-height:inherit;letter-spacing:inherit;white-space:pre-wrap;display:block}.tl-word{white-space:nowrap;display:inline-block}.tl-space{white-space:pre-wrap}.tl-char{transform-origin:50% 65%;display:inline-block}.tl-decode{text-transform:uppercase;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.tl-decode .tl-char{text-align:center;width:.62em}.tl-decode .tl-char[data-resolved=false]{color:color-mix(in srgb, currentColor 60%, transparent)}.tl-decode-char{text-align:center;width:.62em;display:inline-grid}.tl-decode-char>b,.tl-decode-char>i{font:inherit;font-style:normal;font-weight:inherit;grid-area:1/1}.tl-decode-char>i{color:color-mix(in srgb,currentColor 55%,transparent)}.tl-typewriter{position:relative}.tl-cursor{vertical-align:-.12em;background:currentColor;border-radius:1px;width:.08em;height:1em;margin-left:.08em;display:inline-block}.tl-skeleton-wrap{min-height:2.9em;position:relative}.tl-skeleton{gap:.46em;width:100%;padding-top:.28em;display:grid}.tl-skeleton i{background:color-mix(in srgb, currentColor 9%, transparent);border-radius:.14em;width:78%;height:.42em;position:relative;overflow:hidden}.tl-skeleton i:nth-child(2){width:56%}.tl-skeleton i:after{content:"";background:linear-gradient(90deg, transparent, color-mix(in srgb, currentColor 16%, transparent), transparent);width:42%;animation:1.4s cubic-bezier(.4,0,.2,1) infinite tl-shimmer;position:absolute;inset:0;transform:translate(-100%)}.tl-skeleton-result{display:block}@keyframes tl-shimmer{0%{transform:translate(-140%)}to{transform:translate(240%)}}.tl-skeleton-stream{position:relative}.tl-skeleton-token{display:inline;position:relative}.tl-cascade span,.tl-focus span{display:inline-block}.tl-wipe{position:relative}.tl-wipe-ghost{color:color-mix(in srgb, currentColor 12%, transparent)}.tl-wipe-fill{color:currentColor;position:absolute;inset:0}.tl-wipe>i{width:1px;box-shadow:0 0 8px color-mix(in srgb, currentColor 50%, transparent);background:currentColor;position:absolute;top:-.1em;bottom:-.1em}.tl-wipe-stream>span{display:inline}.tl-flip{perspective:500px}.tl-redact-word{display:inline-block;position:relative}.tl-redact-word>i{transform-origin:100%;background:currentColor;border-radius:.08em;position:absolute;inset:.12em -.03em .08em}.tl-line{gap:.14em;display:grid}.tl-line>span{width:max-content;max-width:100%;display:block}.tl-line-stream>span{white-space:pre-wrap;display:inline}.tl-terminal{min-height:1.45em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.tl-terminal>b{margin-right:.45em;font-weight:500}.tl-terminal>span{white-space:pre-wrap}.tl-terminal-cursor{vertical-align:-.08em;background:currentColor;width:.58em;height:.9em;margin-left:.12em;display:inline-block}.tl-wave .tl-char{min-width:.16em}.tl-dissolve-char{min-width:.16em;display:inline-grid;position:relative}.tl-dissolve-char>b{font:inherit;font-weight:inherit;grid-area:1/1;display:inline-block}.tl-dissolve-char>i{z-index:1;filter:blur(.2px);pointer-events:none;background:currentColor;border-radius:50%;width:.09em;height:.09em;position:absolute;top:50%;left:58%;box-shadow:.18em -.08em 0 -.02em,.3em .09em 0 -.035em}.tl-dissolve-char>i:nth-of-type(2n){opacity:.7;width:.06em;height:.06em}.tl-dissolve-char>i:nth-of-type(3n){width:.12em;height:.12em}.tl-slice-char,.tl-fragment-char{min-width:.14em;display:inline-grid}.tl-slice-char>i,.tl-fragment-char>i{font:inherit;grid-area:1/1;font-style:normal}.tl-slice-part-1{clip-path:inset(0 0 66%)}.tl-slice-part-2{clip-path:inset(33% 0)}.tl-slice-part-3{clip-path:inset(66% 0 0)}.tl-tracking .tl-char{transform-origin:0;min-width:.14em}.tl-coalesce-char{min-width:.14em;display:inline-block;position:relative}.tl-coalesce-char>b{font:inherit;font-weight:inherit;display:inline-block}.tl-coalesce-char>i{pointer-events:none;background:currentColor;border-radius:50%;width:.13em;height:.13em;position:absolute;top:52%;left:50%}.tl-fragment-1{clip-path:polygon(0 0,58% 0,42% 52%,0 66%)}.tl-fragment-2{clip-path:polygon(58% 0,100% 0,100% 58%,42% 52%)}.tl-fragment-3{clip-path:polygon(0 66%,42% 52%,58% 100%,0 100%)}.tl-fragment-4{clip-path:polygon(42% 52%,100% 58%,100% 100%,58% 100%)}.tl-loader[data-paused=true] *,.tl-loader[data-paused=true] :before,.tl-loader[data-paused=true] :after{animation-play-state:paused!important}.il-loader,.il-loader *{box-sizing:border-box}.il-loader{--il-color:currentColor;--il-size:1.15em;--il-duration:1.2s;width:var(--il-size);height:var(--il-size);color:var(--il-color);vertical-align:-.16em;flex:none;place-items:center;line-height:1;display:inline-grid}.il-count-up{text-align:center;min-width:3ch;height:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:max(10px, calc(var(--il-size) * .43));font-variant-numeric:tabular-nums;letter-spacing:-.08em;place-items:center;font-weight:650;line-height:1;display:grid;transform:translateY(.03em)}.il-glyph,.il-matrix{place-items:center;width:100%;height:100%;display:grid}.il-glyph{grid-template-columns:repeat(3,1fr);gap:8%;padding:8%}.il-glyph i{aspect-ratio:1;border:max(1px, calc(var(--il-size) * .055)) solid currentColor;width:76%;animation:il-glyph var(--il-duration) cubic-bezier(.45,0,.2,1) infinite;animation-delay:var(--il-delay)}@keyframes il-glyph{0%,to{opacity:.28;background:0 0;border-radius:50%;transform:scale(.38)rotate(0)}35%{opacity:1;background:currentColor;border-radius:20%;transform:scale(1)rotate(45deg)}68%{opacity:.62;background:0 0;border-radius:50% 8%;transform:scale(.72)rotate(90deg)}}.il-matrix{grid-template-columns:repeat(5,1fr);padding:3%}.il-matrix i{width:calc(72% - var(--il-distance) * 7%);aspect-ratio:1;animation:il-matrix var(--il-duration) ease-in-out infinite;animation-delay:var(--il-delay);background:currentColor;border-radius:50%}@keyframes il-matrix{0%,to{opacity:.22;transform:scale(.48)}48%{opacity:1;transform:scale(1)}}.il-orbit,.il-spark{width:100%;height:100%;display:block;position:relative}.il-ripple{place-items:center;width:100%;height:100%;display:grid}.il-orbit{animation:il-turn var(--il-duration) linear infinite}.il-orbit i{aspect-ratio:1;background:currentColor;border-radius:50%;width:18%;position:absolute}.il-orbit i:first-child{top:0;left:41%}.il-orbit i:nth-child(2){opacity:.58;bottom:18%;right:3%}.il-orbit i:nth-child(3){opacity:.28;bottom:18%;left:3%}.il-orbit b{border:max(1px, calc(var(--il-size) * .06)) solid currentColor;border-radius:50%;position:absolute;inset:30%}@keyframes il-turn{to{transform:rotate(360deg)}}.il-ripple i,.il-ripple b{aspect-ratio:1;transform-origin:50%;background:currentColor;border-radius:50%;grid-area:1/1;width:18%}.il-ripple i{animation:il-ripple var(--il-duration) ease-out infinite}.il-ripple i:nth-child(2){animation-delay:calc(var(--il-duration) / -3)}.il-ripple i:nth-child(3){animation-delay:calc(var(--il-duration) / -1.5)}@keyframes il-ripple{0%{opacity:.8;transform:scale(.4)}to{opacity:0;transform:scale(5.2)}}.il-signal{justify-content:space-between;align-items:center;width:100%;height:76%;display:flex}.il-signal i{width:12%;height:30%;animation:il-signal var(--il-duration) ease-in-out infinite;animation-delay:var(--il-delay);background:currentColor;border-radius:99px}@keyframes il-signal{0%,to{opacity:.28;height:25%}50%{opacity:1;height:100%}}.il-spark i{aspect-ratio:1;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:il-spark var(--il-duration) cubic-bezier(.45,0,.2,1) infinite;background:currentColor;display:block;position:absolute}.il-spark i:first-child{inset:18%}.il-spark i:nth-child(2){width:24%;animation-delay:calc(var(--il-duration) * -.34);top:2%;right:1%}.il-spark i:nth-child(3){width:17%;animation-delay:calc(var(--il-duration) * -.67);bottom:8%;left:4%}@keyframes il-spark{0%,to{opacity:.2;transform:scale(.38)rotate(-12deg)}42%{opacity:1;transform:scale(1)rotate(0)}68%{opacity:.58;transform:scale(.72)rotate(9deg)}}.il-rotor,.il-chomp,.il-snake,.il-gravity,.il-aperture,.il-vortex,.il-halo{width:100%;height:100%;display:block;position:relative}.il-rotor{animation:il-rotor calc(var(--il-duration) * 1.4) cubic-bezier(.55,.06,.38,.94) infinite}.il-rotor svg{width:100%;height:100%;display:block;overflow:visible}.il-rotor-spokes{fill:none;stroke:currentColor;stroke-width:12px;stroke-linecap:round;stroke-linejoin:round;opacity:.24}.il-rotor-ring{fill:color-mix(in srgb,currentColor 7%,transparent);stroke:currentColor;stroke-width:5.5px}.il-rotor-ring-right{opacity:.76}.il-rotor-ring-left{opacity:.52}.il-rotor-hub-glow{fill:currentColor;opacity:.2}.il-rotor-hub{fill:currentColor}@keyframes il-rotor{0%{transform:rotate(0)}35%{transform:rotate(145deg)}70%,to{transform:rotate(360deg)}}.il-pixel-drift{grid-template-columns:repeat(4,1fr);gap:7%;width:100%;height:100%;padding:5%;display:grid;transform:rotate(45deg)scale(.78)}.il-pixel-drift i{aspect-ratio:1;animation:il-pixel-drift var(--il-duration) cubic-bezier(.4,0,.2,1) infinite;animation-delay:var(--il-delay);background:currentColor}@keyframes il-pixel-drift{0%,to{opacity:.16;border-radius:50%;transform:translate(-28%,-28%)scale(.45)}42%{opacity:1;border-radius:10%;transform:translate(0)scale(1)}72%{opacity:.48;border-radius:35%;transform:translate(24%,24%)scale(.68)}}.il-chomp{overflow:hidden}.il-chomp b{width:46%;height:46%;position:absolute;top:27%;left:2%}.il-chomp b:before,.il-chomp b:after{content:"";width:100%;height:50%;animation:il-chomp calc(var(--il-duration) * .56) ease-in-out infinite;background:currentColor;position:absolute;left:0}.il-chomp b:before{transform-origin:50% 100%;border-radius:999px 999px 0 0;top:0}.il-chomp b:after{transform-origin:50% 0;border-radius:0 0 999px 999px;animation-name:il-chomp-lower;bottom:0}.il-chomp i{aspect-ratio:1;width:10%;animation:il-chomp-dot calc(var(--il-duration) * 1.15) linear infinite;animation-delay:var(--il-delay);background:currentColor;border-radius:50%;position:absolute;top:44%;right:-10%}@keyframes il-chomp{0%,to{transform:rotate(-28deg)}48%{transform:rotate(0)}}@keyframes il-chomp-lower{0%,to{transform:rotate(28deg)}48%{transform:rotate(0)}}@keyframes il-chomp-dot{0%{opacity:0;transform:translate(0)}14%{opacity:1}78%{opacity:1}to{transform:translateX(calc(var(--il-size) * -.62));opacity:0}}.il-snake{--il-snake-duration:calc(var(--il-duration) * 1.8)}.il-snake i{z-index:1;aspect-ratio:1;width:15%;opacity:calc(1 - var(--il-i) * .075);animation:il-snake var(--il-snake-duration) linear infinite;animation-delay:calc(var(--il-snake-duration) * (var(--il-i) * .042 - 1));background:currentColor;border-radius:50%;position:absolute;top:7%;left:7%}.il-snake i:first-child{box-shadow:0 0 0 max(1px,calc(var(--il-size) * .025)) color-mix(in srgb,currentColor 18%,transparent);border-radius:42%}.il-snake b{aspect-ratio:1;width:10%;animation:il-snake-food var(--il-snake-duration) ease-in-out infinite;background:currentColor;border-radius:50%;position:absolute;top:45%;right:5%}@keyframes il-snake{0%,to{transform:scale(var(--il-scale));top:7%;left:7%}20%{transform:scale(var(--il-scale));top:7%;left:78%}25%{transform:scale(var(--il-scale));top:15%;left:86%}45%{transform:scale(var(--il-scale));top:78%;left:86%}50%{transform:scale(var(--il-scale));top:86%;left:78%}70%{transform:scale(var(--il-scale));top:86%;left:7%}75%{transform:scale(var(--il-scale));top:78%;left:0}95%{transform:scale(var(--il-scale));top:15%;left:0}}@keyframes il-snake-food{0%,20%,to{opacity:.2;transform:scale(.65)}28%{opacity:.9;transform:scale(1)}34%,44%{opacity:0;transform:scale(.2)}52%{opacity:.2;transform:scale(.65)}}.il-fold{width:100%;height:100%;perspective:calc(var(--il-size) * 3);grid-template-columns:repeat(2,1fr);gap:5%;padding:8%;display:grid;transform:rotate(45deg)scale(.82)}.il-fold i{transform-origin:0;animation:il-fold var(--il-duration) cubic-bezier(.65,0,.35,1) infinite;animation-delay:var(--il-delay);background:currentColor}.il-fold i:nth-child(2),.il-fold i:nth-child(3){opacity:.62;transform-origin:100%}@keyframes il-fold{0%,to{opacity:.18;transform:rotateY(78deg)scale(.72)}45%{opacity:1;transform:rotateY(0)scale(1)}72%{opacity:.48;transform:rotateX(-42deg)scale(.86)}}.il-gravity{animation:il-gravity-warp calc(var(--il-duration) * 1.8) ease-in-out infinite}.il-gravity:before,.il-gravity:after{content:"";border:max(1px,calc(var(--il-size) * .045)) solid currentColor;opacity:.2;border-radius:50%;position:absolute}.il-gravity:before{inset:12%;transform:rotate(-18deg)scaleY(.56)}.il-gravity:after{opacity:.34;inset:26%;transform:rotate(22deg)scaleY(.7)}.il-gravity i{aspect-ratio:1;transform-origin:50%;width:10%;animation:il-gravity var(--il-duration) cubic-bezier(.5,0,.25,1) infinite;animation-delay:var(--il-delay);background:currentColor;border-radius:50%;position:absolute;top:45%;left:45%}.il-gravity b{z-index:1;box-shadow:0 0 0 max(1px,calc(var(--il-size) * .05)) color-mix(in srgb,currentColor 18%,transparent);animation:il-gravity-core var(--il-duration) ease-in-out infinite;background:currentColor;border-radius:50%;position:absolute;inset:39%}@keyframes il-gravity{0%{transform:rotate(var(--il-angle)) translateY(calc(var(--il-size) * -.42)) scale(.52);opacity:.22}58%{opacity:1}86%,to{transform:rotate(calc(var(--il-angle) + 150deg)) translateY(0) scale(.12);opacity:0}}@keyframes il-gravity-warp{0%,to{transform:rotate(-5deg)scale(.94)}50%{transform:rotate(7deg)scale(1)}}@keyframes il-gravity-core{0%,to{transform:scale(.78)}58%{transform:scale(1.14)}}.il-domino{justify-content:space-between;align-items:flex-end;width:100%;height:78%;padding:0 4%;display:flex}.il-domino i{transform-origin:50% 100%;width:16%;height:76%;animation:il-domino calc(var(--il-duration) * 1.15) cubic-bezier(.5,0,.25,1) infinite;animation-delay:var(--il-delay);background:currentColor;border-radius:18%}@keyframes il-domino{0%,22%,to{opacity:.32;transform:rotate(0)translate(0)}58%,76%{opacity:1;transform:rotate(32deg)translate(10%)}}.il-aperture{animation:il-aperture-turn calc(var(--il-duration) * 2) linear infinite}.il-aperture i{clip-path:polygon(0 0,100% 18%,70% 100%,0 76%);transform-origin:50% 98%;width:14%;height:46%;transform:rotate(var(--il-angle)) scaleY(.68);animation:il-aperture var(--il-duration) ease-in-out infinite;animation-delay:var(--il-delay);background:currentColor;position:absolute;top:5%;left:43%}.il-aperture b{background:color-mix(in srgb,currentColor 12%,transparent);box-shadow:0 0 0 max(1px,calc(var(--il-size) * .045)) currentColor;border-radius:50%;position:absolute;inset:39%}@keyframes il-aperture{0%,to{opacity:.28;transform:rotate(var(--il-angle)) scaleY(.54)}48%{opacity:1;transform:rotate(calc(var(--il-angle) + 18deg)) scaleY(1)}}@keyframes il-aperture-turn{to{transform:rotate(360deg)}}.il-dot-pulse{justify-content:space-between;align-items:center;width:100%;height:100%;padding:0 3%;display:flex}.il-dot-pulse i{aspect-ratio:1;width:18%;animation:il-dot-pulse var(--il-duration) cubic-bezier(.45,0,.2,1) infinite;animation-delay:calc(var(--il-duration) * (var(--il-i) * -.15));background:currentColor;border-radius:50%}@keyframes il-dot-pulse{0%,to{opacity:.24;transform:translateY(0)scale(.62)}38%{opacity:1;transform:translateY(-32%)scale(1)}68%{opacity:.52;transform:translateY(10%)scale(.78)}}.il-vortex{animation:il-vortex-turn calc(var(--il-duration) * 3.2) linear infinite}.il-vortex i{left:var(--il-x);top:var(--il-y);aspect-ratio:1;width:6%;transform:translate(-50%,-50%) scale(var(--il-scale));animation:il-vortex-dot var(--il-duration) ease-in-out infinite;animation-delay:var(--il-delay);background:currentColor;border-radius:50%;position:absolute}.il-vortex b{animation:il-vortex-core var(--il-duration) ease-in-out infinite;background:currentColor;border-radius:50%;position:absolute;inset:45%}@keyframes il-vortex-turn{to{transform:rotate(360deg)}}@keyframes il-vortex-dot{0%,to{opacity:.2;transform:translate(-50%,-50%)scale(.48)}48%{opacity:1;transform:translate(-50%,-50%) scale(var(--il-scale))}}@keyframes il-vortex-core{0%,to{opacity:.35;transform:scale(.7)}50%{opacity:1;transform:scale(1)}}.il-halo{animation:il-halo-drift calc(var(--il-duration) * 2.4) ease-in-out infinite}.il-halo i{aspect-ratio:1;transform-origin:50% 300%;width:16%;animation:il-halo var(--il-duration) ease-in-out infinite;animation-delay:calc(var(--il-duration) * (var(--il-i) * -.105));background:currentColor;border-radius:50%;position:absolute;top:2%;left:42%}@keyframes il-halo{0%,to{opacity:.22;transform:rotate(var(--il-angle)) scale(.58)}42%{opacity:1;transform:rotate(var(--il-angle)) scale(1)}70%{opacity:.48;transform:rotate(var(--il-angle)) scale(.76)}}@keyframes il-halo-drift{0%,to{transform:rotate(-7deg)scale(.94)}50%{transform:rotate(7deg)scale(1)}}.il-loader[data-paused=true] *,.il-loader[data-paused=true] :before,.il-loader[data-paused=true] :after{animation-play-state:paused!important}.iml-loader,.iml-loader *{box-sizing:border-box}.iml-loader{--iml-color:currentColor;--iml-size:10rem;--iml-radius:10%;--iml-duration:2.35s;width:var(--iml-size);height:var(--iml-size);color:var(--iml-color);flex:none;place-items:center;line-height:1;display:inline-grid}.iml-visual{border-radius:var(--iml-radius);background:color-mix(in srgb,currentColor 3%,transparent);isolation:isolate;width:100%;height:100%;display:block;position:relative;overflow:hidden}.iml-visual>span{display:block;position:absolute;inset:0}.iml-visual i,.iml-visual b,.iml-visual em{font:inherit;margin:0;display:block;position:absolute}.iml-skeleton{border:1px solid color-mix(in srgb,currentColor 12%,transparent);background:color-mix(in srgb,currentColor 4%,transparent);overflow:hidden;inset:7%!important}.iml-skeleton i{background:color-mix(in srgb,currentColor 3%,transparent);inset:0}.iml-skeleton b{background:linear-gradient(90deg,transparent,color-mix(in srgb,currentColor 13%,transparent),transparent);filter:blur(2px);width:48%;animation:iml-skeleton var(--iml-duration) cubic-bezier(.45,0,.55,1) infinite;inset:0 auto 0 -55%}@keyframes iml-skeleton{0%,12%{opacity:0;transform:translate(0)}24%{opacity:1}72%{opacity:1}86%,to{opacity:0;transform:translate(330%)}}.iml-bands i{background:color-mix(in srgb,currentColor 72%,transparent);width:84%;height:25%;animation:iml-band var(--iml-duration) cubic-bezier(.65,0,.35,1) infinite;left:8%}.iml-bands i:first-child{transform-origin:0;top:8%}.iml-bands i:nth-child(2){transform-origin:100%;animation-delay:calc(var(--iml-duration) * -.08);top:37.5%}.iml-bands i:nth-child(3){transform-origin:0;animation-delay:calc(var(--iml-duration) * -.16);bottom:8%}.iml-bands b{opacity:.12;border:1px solid;inset:8%}@keyframes iml-band{0%,14%,to{opacity:.12;transform:scaleX(.72)}42%,76%{opacity:.82;transform:scaleX(1)}}.iml-tiles{grid-template-columns:repeat(4,1fr);gap:3%;padding:7%;display:grid!important}.iml-tiles i{background:color-mix(in srgb,currentColor 68%,transparent);width:100%;height:100%;animation:iml-tile var(--iml-duration) cubic-bezier(.65,0,.35,1) infinite;animation-delay:var(--iml-delay);border-radius:9%;position:relative}@keyframes iml-tile{0%,14%,to{opacity:.1;transform:scale(.76)}44%,76%{opacity:.72;transform:scale(1)}}.iml-scan{border:1px solid color-mix(in srgb,currentColor 25%,transparent);overflow:hidden;inset:7%!important}.iml-scan i{background:linear-gradient(135deg,color-mix(in srgb,currentColor 8%,transparent),color-mix(in srgb,currentColor 48%,transparent));clip-path:inset(100% 0 0);animation:iml-scan-fill var(--iml-duration) cubic-bezier(.65,0,.35,1) infinite;inset:0}.iml-scan b{background:color-mix(in srgb,currentColor 72%,transparent);height:1px;box-shadow:0 0 6px color-mix(in srgb,currentColor 32%,transparent);animation:iml-scan-line var(--iml-duration) cubic-bezier(.65,0,.35,1) infinite;top:0;left:0;right:0}.iml-scan em{border:1px solid color-mix(in srgb,currentColor 24%,transparent);opacity:.32;animation:iml-scan-frame var(--iml-duration) ease-in-out infinite;inset:11%}@keyframes iml-scan-fill{0%,14%,to{clip-path:inset(100% 0 0);opacity:.08}54%,78%{clip-path:inset(0);opacity:.72}}@keyframes iml-scan-line{0%,14%{opacity:0;top:0}22%{opacity:.72}54%{opacity:.72;top:calc(100% - 1px)}72%,to{opacity:0;top:calc(100% - 1px)}}@keyframes iml-scan-frame{0%,to{opacity:.1;transform:scale(.94)}54%,78%{opacity:.32;transform:scale(1)}}.iml-pixel-grid{grid-template-columns:repeat(4,1fr);gap:2%;padding:7%;display:grid!important}.iml-pixel-grid i{background:color-mix(in srgb,currentColor 66%,transparent);width:100%;height:100%;animation:iml-pixel var(--iml-duration) cubic-bezier(.65,0,.35,1) infinite;animation-delay:var(--iml-delay);position:relative}@keyframes iml-pixel{0%,14%,to{opacity:.06;transform:translate(calc((var(--iml-x) - 1.5) * 7%),calc((var(--iml-y) - 1.5) * 7%)) scale(.72);border-radius:12%}44%,76%{opacity:calc(.34 + (var(--iml-x) + var(--iml-y)) * .045);border-radius:2%;transform:translate(0)scale(1)}}.iml-resolution{background:color-mix(in srgb,currentColor 3%,transparent);grid-template-columns:repeat(6,1fr);gap:2%;padding:8%;display:grid!important}.iml-resolution i{background:color-mix(in srgb,currentColor var(--iml-tone),transparent);opacity:.1;width:100%;height:100%;animation:iml-resolution var(--iml-duration) cubic-bezier(.4,0,.2,1) infinite;animation-delay:var(--iml-delay);border-radius:16%;position:relative;transform:scale(.9)}@keyframes iml-resolution{0%,18%,to{opacity:.1;filter:blur(.35px);transform:scale(.9)}46%,70%{opacity:.82;filter:blur();transform:scale(1)}84%{opacity:.26;filter:blur();transform:scale(.96)}}.iml-coalesce{inset:7%!important}.iml-coalesce i{left:var(--iml-start-x);top:var(--iml-start-y);width:var(--iml-particle-size);aspect-ratio:1;animation:iml-coalesce-flow calc(var(--iml-duration) * .88) linear infinite;animation-delay:var(--iml-delay);background:currentColor;border-radius:50%}.iml-coalesce b{aspect-ratio:1;width:3.2%;box-shadow:0 0 calc(var(--iml-size) * .035) color-mix(in srgb,currentColor 22%,transparent);animation:iml-coalesce-core calc(var(--iml-duration) * .88) ease-in-out infinite;background:currentColor;border-radius:50%;top:48.4%;left:48.4%}@keyframes iml-coalesce-flow{0%{left:var(--iml-start-x);top:var(--iml-start-y);opacity:0;transform:translate(-50%,-50%)scale(.35)}14%{opacity:.26;transform:translate(-50%,-50%)scale(.62)}56%{left:var(--iml-mid-x);top:var(--iml-mid-y);opacity:var(--iml-particle-opacity);transform:translate(-50%,-50%)scale(.86)}86%{left:var(--iml-end-x);top:var(--iml-end-y);opacity:var(--iml-particle-opacity);transform:translate(-50%,-50%)scale(1)}to{opacity:0;top:50%;left:50%;transform:translate(-50%,-50%)scale(.12)}}@keyframes iml-coalesce-core{0%,to{opacity:.46;transform:scale(.76)}82%{opacity:.9;transform:scale(1.08)}}.iml-diffusion{inset:7%!important}.iml-diffusion i{left:var(--iml-x);top:var(--iml-y);width:var(--iml-dot-size);aspect-ratio:1;animation:iml-diffusion var(--iml-duration) ease-in-out infinite;animation-delay:var(--iml-delay);background:currentColor;border-radius:8%}@keyframes iml-diffusion{0%,to{opacity:.06;filter:blur(2px);transform:translate(-50%,-50%)scale(.35)}38%{opacity:.7;filter:blur();transform:translate(-50%,-50%)scale(1)}68%{opacity:.2;filter:blur(.5px);transform:translate(-50%,-50%)scale(.64)}}.iml-raster{grid-template-rows:repeat(8,1fr);gap:4%;padding:8%;display:grid!important}.iml-raster i{transform-origin:0;width:100%;height:100%;animation:iml-raster var(--iml-duration) cubic-bezier(.65,0,.35,1) infinite;animation-delay:var(--iml-delay);background:currentColor;border-radius:2px;position:relative}.iml-raster i:nth-child(2n){transform-origin:100%}@keyframes iml-raster{0%,12%,to{opacity:.06;transform:scaleX(.12)}46%,72%{opacity:.64;transform:scaleX(1)}}.iml-bloom{overflow:hidden;inset:7%!important}.iml-bloom i,.iml-bloom b,.iml-bloom em{border-radius:50%}.iml-bloom i{border:1px solid color-mix(in srgb,currentColor 32%,transparent);animation:iml-bloom-ring var(--iml-duration) cubic-bezier(.22,1,.36,1) infinite;inset:8%}.iml-bloom b{background:color-mix(in srgb,currentColor 18%,transparent);box-shadow:0 0 calc(var(--iml-size) * .12) color-mix(in srgb,currentColor 22%,transparent);animation:iml-bloom-fill var(--iml-duration) ease-in-out infinite;inset:25%}.iml-bloom em{animation:iml-bloom-core var(--iml-duration) ease-in-out infinite;background:currentColor;inset:42%}@keyframes iml-bloom-ring{0%,12%,to{opacity:.08;transform:scale(.28)}58%,78%{opacity:.5;transform:scale(1)}}@keyframes iml-bloom-fill{0%,to{opacity:.05;filter:blur(5px);transform:scale(.45)}54%,76%{opacity:.55;filter:blur();transform:scale(1.28)}}@keyframes iml-bloom-core{0%,to{opacity:.16;transform:scale(.6)}48%,72%{opacity:.86;transform:scale(1)}}.iml-focus i{animation:iml-focus var(--iml-duration) cubic-bezier(.22,1,.36,1) infinite;border:1px solid}.iml-focus i:first-child{inset:8%}.iml-focus i:nth-child(2){animation-delay:calc(var(--iml-duration) * -.07);inset:21%}.iml-focus i:nth-child(3){animation-delay:calc(var(--iml-duration) * -.14);inset:34%}.iml-focus b{animation:iml-focus-core var(--iml-duration) ease-in-out infinite;background:currentColor;inset:42%}@keyframes iml-focus{0%,14%,to{opacity:.08;filter:blur(1px);transform:scale(1.08)}46%,76%{opacity:.58;filter:blur();transform:scale(1)}}@keyframes iml-focus-core{0%,14%,to{opacity:.08;transform:scale(.72)}48%,76%{opacity:.62;transform:scale(1)}}.iml-shutter{border:1px solid color-mix(in srgb,currentColor 18%,transparent);overflow:hidden;inset:7%!important}.iml-shutter i{background:linear-gradient(90deg,color-mix(in srgb,currentColor 50%,transparent),color-mix(in srgb,currentColor 68%,transparent));will-change:transform,opacity;width:50%;animation:iml-shutter-panel var(--iml-duration) linear infinite;top:0;bottom:0}.iml-shutter i:first-child{transform-origin:0;left:0}.iml-shutter i:nth-child(2){transform-origin:100%;background:linear-gradient(270deg,color-mix(in srgb,currentColor 50%,transparent),color-mix(in srgb,currentColor 68%,transparent));right:0}.iml-shutter b{background:color-mix(in srgb,currentColor 42%,transparent);width:1px;animation:iml-shutter-seam var(--iml-duration) ease-in-out infinite;top:0;bottom:0;left:calc(50% - .5px)}.iml-shutter em{border:1px solid color-mix(in srgb,currentColor 42%,transparent);will-change:transform,opacity;animation:iml-shutter-mark var(--iml-duration) cubic-bezier(.22,1,.36,1) infinite;inset:13%}@keyframes iml-shutter-panel{0%,10%,to{opacity:.08;animation-timing-function:cubic-bezier(.22,1,.36,1);transform:scaleX(.2)}42%{opacity:.68;transform:scaleX(1)}68%{opacity:.68;animation-timing-function:cubic-bezier(.65,0,.35,1);transform:scaleX(1)}92%{opacity:.08;transform:scaleX(.2)}}@keyframes iml-shutter-seam{0%,18%,to{opacity:.08;transform:scaleY(.72)}44%,72%{opacity:.48;transform:scaleY(1)}90%{opacity:.12;transform:scaleY(.8)}}@keyframes iml-shutter-mark{0%,12%,to{opacity:.04;transform:scale(.9)}44%{opacity:.42;transform:scale(1)}68%{opacity:.42;transform:scale(1)}92%{opacity:.04;transform:scale(.9)}}.iml-loader[data-paused=true] *,.iml-loader[data-paused=true] :before,.iml-loader[data-paused=true] :after{animation-play-state:paused!important}@media (prefers-reduced-motion:reduce){.tl-loader *,.tl-loader :before,.tl-loader :after,.il-loader *,.il-loader :before,.il-loader :after,.iml-loader *,.iml-loader :before,.iml-loader :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:root{--surface:#fafefc;--page:#f8fefb;--sidebar:#f8fefb;--summary:#fafefc;--soft:#f0fcf6;--hover:#edfcf5;--hover-strong:#dbf6e9;--selected:#e6faef;--line:#dbf7e9;--border-strong:#a4dfc5;--text:#1f2d27;--muted:#6c8a7c;--placeholder:#91a99d;--ink:#235a47;--ink-hover:#174737;--on-ink:#fff;--accent:var(--ink);--accent-soft:var(--selected);--focus:#009a6c;--focus-soft:#00d49220;--selection:#cdf4e2;--scrollbar:#c2efda;--category-active:#e6faef;--category-text:#235a47;--primary-fill:#00d492;--primary-hover:#00bd83;--primary-border:#00d492;--primary-text:#073c2d;--error:#b54e43;--error-bg:#fff3f0;--wb-pressed:#174737;--wb-disabled:#edf5f0;--wb-disabled-text:#8aa194;--wb-success:#235a47;--wb-success-bg:#e6faef;--wb-warning:#94692c;--wb-warning-bg:#fcf5e8;--shadow:0 16px 52px #49746514, 0 3px 12px #49746506;--shadow-soft:0 2px 8px #49746509}:root[data-theme=dark]{--surface:#202d29;--page:#18231f;--sidebar:#1c2823;--summary:#202d29;--soft:#283a31;--hover:#274237;--hover-strong:#335e48;--selected:#294e3e;--line:#355144;--border-strong:#5ca381;--text:#e8f0ec;--muted:#aac0b6;--placeholder:#91a79b;--ink:#9fe5c7;--ink-hover:#bff2dd;--on-ink:#14231c;--focus:#9fe5c7;--focus-soft:#9fe5c71a;--selection:#3c5d4d;--scrollbar:#567d68;--category-active:#294e3e;--category-text:#b7e7d5;--primary-fill:#70dcb0;--primary-hover:#8be9c4;--primary-border:#70dcb0;--primary-text:#103f2d;--error:#f2b4a9;--error-bg:#422d29;--wb-pressed:#c6ebdc;--wb-disabled:#2d3e33;--wb-disabled-text:#89a18f;--wb-success:#9fe5c7;--wb-success-bg:#294e3e;--wb-warning:#ebcb91;--wb-warning-bg:#40392a;--shadow:0 12px 48px #0e1d1545, 0 2px 8px #0e1d1518;--shadow-soft:0 3px 14px #0e1d1522}.output-model{color:var(--muted);gap:6px;margin:0 0 12px;font-size:11px;display:grid}.generation-preferences{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.preferences-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.preferences-heading h3{margin:0;font-size:14px;font-weight:600}.preferences-heading .text-button{font-size:12px}.generation-preferences>p{color:var(--muted);margin:8px 0 4px;font-size:12px}.generation-preferences>.error-text{color:var(--error)}.generation-preferences .settings-row{padding-block:14px}.generation-preferences .settings-row>strong{flex-shrink:0;font-size:13px;font-weight:500}.generation-preferences .select-trigger{width:62%;min-width:0;max-width:260px}.generation-preferences .select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.canvas-toolbar .canvas-tools{gap:14px}.output-model .select-trigger{width:100%;min-width:0;color:var(--text);font-size:12px}.output-model .select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.canvas-content:has(.canvas-results){align-items:flex-start}.canvas-results{width:100%;min-width:0;max-width:740px;padding-top:4px}.generation-view{min-width:0}.generation-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.generation-heading time{color:var(--muted);white-space:nowrap;font-size:11px}.generation-state{flex-wrap:wrap;align-items:center;gap:7px;font-size:12px;display:flex}.generation-state .quiet-tag{font-size:10px}.state-failed,.state-unknown{color:var(--error)}.generated-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.generated-grid.count-1{grid-template-columns:minmax(0,1fr)}.generated-item{min-width:0}.generated-image-button{background:0 0;border-radius:18px;justify-content:center;align-items:center;width:100%;padding:0;display:flex;position:relative;overflow:hidden}.generated-image-button img{object-fit:contain;width:100%;height:auto;max-height:58vh;display:block}.generated-image-button img.generation-image-pending{opacity:0}.generated-image-button img.generation-image-ready{animation:.6s ease-out both generation-reveal}@keyframes generation-reveal{0%{opacity:0}to{opacity:1}}.generated-image-button:active{transform:none}.image-zoom{background:var(--surface);width:32px;height:32px;color:var(--text);opacity:0;box-shadow:var(--shadow-soft);border-radius:50%;place-items:center;transition:opacity .15s;display:grid;position:absolute;bottom:12px;right:12px}.generated-image-button:hover .image-zoom,.generated-image-button:focus-visible .image-zoom{opacity:1}.image-meta{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:10px;margin-top:7px;font-size:11px;display:flex}.image-meta a{min-height:32px;color:var(--text);align-items:center;gap:5px;display:inline-flex}.image-meta a:hover{text-decoration:underline}.generation-meta{color:var(--muted);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:7px 16px;margin:16px 0 12px;font-size:11px;display:flex}.generation-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.retry-controls{grid-template-columns:minmax(0,1fr) minmax(88px,110px);gap:12px;margin-top:20px;display:grid}.retry-prompt summary{cursor:pointer;width:fit-content;padding-block:8px;font-size:12px}.retry-prompt .generation-prompt{min-height:160px;margin-top:8px}.retry-generation>p{font-size:12px;line-height:1.8}.output-field-wide{grid-column:1/-1}.output-parameter-error{color:var(--muted);margin:0 0 12px;font-size:11px;line-height:1.7}.resolution-label{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.resolution-label small{font-variant-numeric:tabular-nums;color:var(--muted);font-size:11px}.generation-secondary-actions{flex-shrink:0;gap:2px;margin-left:auto;display:flex}.works-retention{color:var(--muted);margin:-10px 0 24px;font-size:12px;line-height:1.8}.work-delete-summary{background:var(--soft);color:var(--muted);overflow-wrap:anywhere;border-radius:14px;gap:8px;padding:16px;font-size:12px;display:grid}.works-page .plain-tabs{flex-wrap:wrap;gap:20px}.works-page .plain-tabs button{align-items:center;gap:7px;display:inline-flex}.generation-secondary-actions .icon-button{width:34px;height:36px}@media (width<=767px){.generation-actions{flex-wrap:wrap}.generation-secondary-actions .icon-button{width:40px;height:42px}}.generation-actions .secondary-button{min-height:36px;padding:7px 14px;font-size:12px}.generation-actions .text-button{font-size:12px}.generation-message{background:var(--soft);border-radius:12px;margin:14px 0;padding:13px 16px;font-size:12px;line-height:1.8}.generation-message.error-text{background:var(--error-bg)}.generation-loading{width:min(100%, calc(46vh * var(--waiting-ratio)));text-align:center;margin-inline:auto}.generation-wait{isolation:isolate;border:1px solid var(--line);background:var(--soft);width:100%;color:var(--muted);text-align:center;border-radius:18px;place-items:center;margin-inline:auto;display:grid;position:relative;overflow:hidden}.generation-wait .generation-diffusion{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.generation-wait-copy{z-index:2;gap:9px;padding:14px;display:grid;position:relative}.generation-elapsed{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.generation-wait-copy strong{color:var(--text);font-size:15px;font-weight:550}.generation-submitting{color:var(--muted);align-items:center;gap:12px;padding:30px;font-size:13px;display:flex}.generation-spinner{border:1.5px solid var(--line);border-top-color:var(--text);border-radius:50%;flex-shrink:0;width:15px;height:15px;animation:1s linear infinite generation-turn;display:inline-block}@keyframes generation-turn{to{transform:rotate(360deg)}}.generation-recent{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:9px;margin-top:28px;padding-top:22px;display:flex}.generation-recent>span{width:100%;color:var(--muted);margin-bottom:2px;font-size:11px}.generation-recent>button:not(.text-button){background:var(--soft);border:2px solid #0000;border-radius:9px;width:46px;height:52px;padding:2px;overflow:hidden}.generation-recent>button[aria-pressed=true]{background:var(--selected)}.generation-recent img{object-fit:cover;border-radius:5px;width:100%;height:100%}.generation-recent .text-button{padding:10px;font-size:11px}.works-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));align-items:start;gap:26px;margin-top:24px;display:grid}.works-grid .generation-view{border:1px solid var(--line);border-radius:22px;padding:20px}.compact .generated-image-button img{max-height:360px}.compact .generated-grid{gap:10px}.compact .image-meta{font-size:10px}.compact .generated-image-button{border-radius:12px}.image-preview-modal{width:min(94vw,1000px)}.image-preview{object-fit:contain;background:var(--soft);border-radius:12px;width:100%;height:auto;max-height:68vh;display:block}.generation-prompt{resize:vertical;border-radius:14px;width:100%;min-height:260px;max-height:55vh;padding:16px;line-height:1.8}.image-unavailable{background:var(--soft);min-height:240px;color:var(--muted);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.service-connected{color:var(--muted);font-size:13px}.modal.service-modal{width:min(640px,100vw - 32px)}.save-kind.service-source button{text-align:center;justify-content:center;align-items:center}.service-settings fieldset{border:0;min-width:0;margin:0;padding:0}.service-settings input,.service-settings textarea{border-radius:12px;width:100%;min-width:0;padding:11px 13px;font-size:13px}.service-settings textarea{resize:vertical;min-height:84px;max-height:200px;line-height:1.7}.service-settings .select-trigger{width:100%}.service-help{color:var(--muted);font-size:12px;line-height:1.7}p.service-help{margin-top:7px}.service-key-input{align-items:center;gap:12px;display:flex}.service-key-input input{flex:1}.service-key-input button{flex-shrink:0}.service-advanced{background:var(--sidebar);border-radius:14px;margin-top:22px;padding:15px}.service-advanced summary{cursor:pointer;font-size:13px}.service-test-row{flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px;display:flex}.service-result{margin-top:16px;font-size:12px;line-height:1.8}.service-result .form-label{margin-top:16px}.service-model-options{flex-wrap:wrap;gap:8px;max-height:180px;margin-top:10px;display:flex;overflow-y:auto}.service-model-options button{border:1px solid var(--line);overflow-wrap:anywhere;text-align:left;border-radius:16px;padding:5px 10px}.service-model-options button[aria-pressed=true]{background:var(--text);color:var(--surface)}.storage-banner.storage-review-banner{background:var(--sidebar);color:var(--muted)}.storage-banner.storage-review-banner button{color:var(--text)}@media (width<=767px){.service-settings input,.service-settings textarea{font-size:16px}.generation-heading{margin-bottom:12px}.generated-grid{gap:10px}.generated-image-button img{max-height:55vh}.generation-actions{gap:9px}.generation-actions .secondary-button{min-height:42px}.image-meta a{min-height:40px}.generation-prompt{font-size:16px}.image-zoom{opacity:1;width:28px;height:28px}.works-grid .generation-view{padding:16px}}@media (prefers-reduced-motion:reduce){.generation-spinner,.generated-image-button img.generation-image-ready{animation:none}}.generation-asset-actions{text-align:left;padding:6px 0 12px}.generation-asset-actions>div{flex-wrap:wrap;gap:5px 14px;display:flex}.generation-asset-actions .text-button{font-size:11px;line-height:1.6}.generation-asset-actions p{color:var(--muted);margin:7px 0 0;font-size:11px}.generation-asset-actions .error-text{color:var(--error)}.snapshot-modal{width:min(680px,100vw - 32px)}.draft-details{gap:20px;padding-top:20px;font-size:13px;display:grid}.draft-details h3{margin:0 0 9px;font-size:13px}.draft-details dl{margin:0}.draft-details dl>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:12px;padding:7px 0;display:grid}.draft-details dt{color:var(--muted)}.draft-details dd{overflow-wrap:anywhere;margin:0}.draft-details small{color:var(--muted);margin-top:4px;display:block}.draft-details p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.snapshot-prompt>summary{cursor:pointer;padding:8px 0}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:var(--page)}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{color:var(--text);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.55}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;background:0 0;border:0}button,a{touch-action:manipulation}button{transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s,transform .15s}button:disabled{opacity:.42;cursor:not-allowed}button:active:not(:disabled){transform:scale(.98)}a{color:inherit;text-decoration:none}:focus,:focus-visible{outline:none}button svg,a svg{flex-shrink:0}input,textarea{min-width:0;color:var(--text);border:1px solid var(--line);background:var(--surface);outline:none}input::placeholder,textarea::placeholder{color:var(--placeholder)}textarea{resize:vertical}input:not([type=range]):focus,textarea:focus,.select-trigger:focus-visible{outline-offset:0;box-shadow:none;border-color:var(--muted);outline:none}h1,h2,h3,p{margin:0}::selection{background:var(--selection)}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:var(--scrollbar);border-radius:99px}::-webkit-scrollbar-track{background:0 0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{background:var(--ink);color:var(--on-ink);z-index:90;border-radius:10px;padding:10px 16px;position:fixed;top:-100px;left:16px}.skip-link:focus{top:8px}.app-shell{background:var(--surface);flex-direction:column;height:100dvh;min-height:460px;display:flex;overflow:hidden}.icon-button{width:30px;height:30px;color:var(--muted);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover{background:var(--hover);color:var(--text)}.tooltip{z-index:80;color:var(--on-ink);background:var(--ink);box-shadow:var(--shadow);border-radius:6px;padding:6px 9px;font-size:11px}.tooltip svg{fill:var(--ink)}.workspace{flex:1;grid-template-columns:336px minmax(0,1fr) 296px;min-height:0;display:grid}.editor-panel{background:var(--sidebar);border-right:1px solid var(--line);flex-direction:column;min-height:0;display:flex}.editor-top{border-bottom:1px solid var(--line);flex-shrink:0;padding:25px 22px 18px}.panel-title{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.panel-title h2,.summary-heading h2{font-size:16px;font-weight:650}.quiet-tag{background:var(--soft);color:var(--muted);white-space:nowrap;border-radius:5px;padding:3px 7px;font-size:11px}.search-input{background:var(--surface);border:1px solid var(--line);height:42px;color:var(--muted);border-radius:22px;align-items:center;gap:9px;padding:0 13px;display:flex}.search-input:focus-within{border-color:var(--muted);box-shadow:none}.search-input input{background:0 0;border:none;outline:none;width:100%;padding:0;font-size:13px}.search-input input:focus-visible{outline:none}.search-input button{place-items:center;padding:4px;display:grid}.search-hint{opacity:.7;place-items:center;display:grid}.segmented{background:var(--soft);border-radius:20px;grid-template-columns:1fr 1fr;margin:15px 0 17px;padding:3px;display:grid}.segmented button{color:var(--muted);border-radius:17px;padding:5px 8px;font-size:12px}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 4px #0000000d}.category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px 3px;display:grid}.category-grid button{color:var(--muted);border-radius:10px;flex-direction:column;align-items:center;gap:5px;padding:8px 0 6px;font-size:12px;display:flex;position:relative}.category-grid button:hover{background:var(--hover);color:var(--text)}.category-grid button.active{background:var(--category-active);color:var(--category-text);font-weight:600}.category-dot{background:currentColor;border-radius:50%;width:4px;height:4px;position:absolute;top:7px;right:9px}.editor-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:21px 22px 24px;overflow:auto}.category-heading{justify-content:space-between;align-items:center;padding-bottom:18px;display:flex}.category-heading h3{font-size:14px;font-weight:650}.category-heading p{color:var(--muted);margin-top:3px;font-size:11px}.inline-actions{align-items:center;gap:2px;display:flex}.field-control{border-bottom:1px solid var(--line);padding:12px 0;scroll-margin-top:20px}.field-control:last-of-type{border-bottom:none}.field-heading{align-items:center;gap:4px;min-height:27px;display:flex}.field-heading .icon-button{border-radius:6px;width:24px;height:24px}.field-toggle{text-align:left;align-items:center;gap:7px;width:100%;min-width:0;padding:2px 0;font-size:13px;display:flex}.field-toggle>span:first-child{flex-shrink:0;font-weight:600}.field-value{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:120px;margin-left:auto;font-size:12px;overflow:hidden}.field-value.has-value{color:var(--text)}.field-multiple{color:var(--muted);font-size:11px}.field-toggle>svg{color:var(--muted);transition:transform .15s}.rotate{transform:rotate(180deg)}.field-body{padding:11px 0 9px;animation:.16s reveal}.text-options{flex-wrap:wrap;gap:6px;display:flex}.text-options .option{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:18px;padding:6px 11px;font-size:12px;line-height:1.6}.text-options .option:hover{border-color:var(--border-strong)}.text-options .option.is-selected{background:var(--ink);color:var(--on-ink);font-weight:600}.color-options{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px 3px;display:grid}.color-option{min-width:0;color:var(--muted);flex-direction:column;align-items:center;gap:4px;padding:0;font-size:11px;display:flex}.color-option>span:last-child{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.swatch{border:1px solid #00000014;border-radius:50%;place-items:center;width:26px;height:26px;display:grid;position:relative}.color-option.is-selected .swatch:after{display:none}.color-option.is-selected{color:var(--text)}.color-picker-trigger{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:12px;align-items:center;gap:8px;width:100%;margin-top:15px;padding:9px 11px;font-size:12px;display:flex}.color-picker-trigger:hover{border-color:var(--border-strong)}.spectrum-dot{background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:50%;flex-shrink:0;width:18px;height:18px}.color-picker-modal{width:min(430px,100vw - 32px)}.color-plane{cursor:crosshair;touch-action:none;background-image:linear-gradient(#0000,#000),linear-gradient(90deg,#fff,#0000);border:1px solid #00000020;border-radius:14px;height:200px;position:relative}.color-plane-handle{pointer-events:none;border:2px solid #fff;border-radius:50%;width:16px;height:16px;position:absolute;transform:translate(-50%,-50%);box-shadow:0 1px 4px #00000060}.color-sliders{gap:15px;margin-top:24px;display:grid}.color-sliders label{grid-template-columns:43px minmax(0,1fr) 36px;align-items:center;gap:10px;font-size:12px;display:grid}.color-sliders output{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;font-size:11px}.color-sliders input[type=range]{appearance:none;cursor:pointer;border:1px solid #00000020;border-radius:20px;width:100%;height:12px;margin:0;padding:0}.color-sliders input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:2px solid #333;border-radius:50%;width:18px;height:18px;box-shadow:0 1px 4px #00000030}.color-sliders input[type=range]::-moz-range-thumb{background:#fff;border:2px solid #333;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 4px #00000030}.color-sliders .hue-range{background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.color-code-row{align-items:center;gap:12px;margin-top:25px;display:flex}.color-preview{border:1px solid var(--border-strong);border-radius:12px;flex-shrink:0;width:40px;height:40px}.color-code-row label{color:var(--muted);font-size:12px}.color-code-row input{border-radius:12px;flex:1;width:100%;min-width:0;padding:10px 12px;font-family:ui-monospace,monospace;font-size:13px}.color-input-error{color:var(--error);margin-top:10px;font-size:12px}.outfit-preset-list{gap:6px;display:grid}.outfit-preset-list button{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.outfit-preset-list button:hover{border-color:var(--border-strong);background:var(--hover)}.outfit-preset-list strong{font-size:12px;font-weight:550;display:block}.outfit-preset-list small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.field-links{justify-content:space-between;align-items:center;margin-top:11px;display:flex}.text-button{color:var(--muted);white-space:nowrap;justify-content:center;align-items:center;gap:5px;padding:2px 0;font-size:11px;display:inline-flex}.text-button:hover{color:var(--text)}.custom-field{background:var(--surface);border:1px solid var(--line);border-radius:9px;align-items:center;margin-top:9px;padding:4px 5px 4px 9px;display:flex}.custom-field:focus-within{border-color:var(--muted)}.custom-field input{background:0 0;border:none;outline:none;width:100%;font-size:11px}.custom-field button{place-items:center;padding:4px;display:grid}.inactive-note{color:var(--muted);margin-bottom:8px;font-size:11px;line-height:1.6}.is-inactive .field-value{color:var(--muted)}.fixed-field{color:var(--text)}.canvas-panel{background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex}.canvas-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;height:68px;padding:0 28px;display:flex}.canvas-toolbar>div{align-items:center;gap:12px;display:flex}.canvas-style-label{white-space:nowrap;font-size:14px;font-weight:650}.canvas-style-control .select-trigger{width:174px;min-height:40px;box-shadow:var(--shadow-soft);border-radius:22px;padding-inline:14px;font-size:14px;font-weight:550}.canvas-style-control{min-width:0}.canvas-title{font-size:13px;font-weight:600}.canvas-subtitle{color:var(--muted);font-size:11px}.canvas-ratio{color:var(--muted);border:1px solid var(--line);border-radius:7px;align-items:center;gap:5px;padding:4px 7px;font-size:11px;display:flex}.canvas-content{flex:1;justify-content:center;align-items:center;min-height:0;padding:16px 32px 50px;display:flex;overflow:auto}.canvas-welcome{text-align:center;width:100%;max-width:480px;margin:auto}.welcome-mark{width:132px;height:130px;margin:0 auto 27px;position:relative}.welcome-paper{border-radius:15px;width:80px;height:100px;position:absolute;top:15px;left:27px}.paper-back{background:var(--soft);border:1px solid var(--line);transform:rotate(-13deg)translate(-11px,-2px)}.paper-front{background:var(--surface);border:1px solid var(--border-strong);box-shadow:var(--shadow-soft);color:var(--text);place-items:center;display:grid;transform:rotate(7deg)}.paper-corner{background:var(--surface);border:1px solid var(--line);width:31px;height:31px;color:var(--text);border-radius:50%;place-items:center;display:grid;position:absolute;top:-9px;right:-8px}.canvas-welcome h1{letter-spacing:-.5px;font-size:clamp(24px,1.8vw,29px);font-weight:600;line-height:1.45}.canvas-welcome>p{color:var(--muted);margin:13px 0 22px;font-size:13px;line-height:1.9}.start-button{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);border-radius:50px;align-items:center;gap:15px;padding:10px 17px;font-size:13px;display:inline-flex}.start-button:hover{background:var(--hover);border-color:var(--border-strong)}.starter-section{text-align:left;margin-top:48px}.starter-heading{color:var(--muted);justify-content:space-between;align-items:center;margin:0 2px 13px;font-size:11px;display:flex}.starter-heading .text-button{font-size:11px}.starter-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.starter-card{text-align:left;background:var(--summary);border:1px solid #0000;border-radius:18px;align-items:center;gap:11px;min-width:0;padding:13px;display:flex;position:relative}.starter-card:hover{border-color:var(--border-strong);background:var(--hover);box-shadow:0 3px 10px #00000003}.starter-art{background:var(--soft);width:39px;height:44px;color:var(--text);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.starter-card strong{font-size:13px;font-weight:600;display:block}.starter-card small{color:var(--muted);white-space:nowrap;margin-top:3px;font-size:12px;display:block}.starter-arrow{color:var(--muted);opacity:0;margin-left:auto}.starter-card:hover .starter-arrow{opacity:1}.desktop-summary{border-left:1px solid var(--line);min-height:0}.summary-panel{background:var(--summary);flex-direction:column;height:100%;min-height:0;display:flex}.summary-heading{flex-shrink:0;justify-content:space-between;align-items:center;padding:24px 22px 19px;display:flex}.summary-heading h2{align-items:center;gap:7px;display:flex}.count-badge{min-width:20px;height:20px;color:var(--on-ink);background:var(--ink);font-variant-numeric:tabular-nums;border-radius:6px;place-items:center;padding:0 5px;font-size:11px;font-weight:500;display:grid}.summary-scroll{scrollbar-gutter:stable;flex:1;min-height:0;padding:0 22px 15px;overflow:auto}.summary-body{flex-direction:column;flex:1;min-height:0;display:flex}.selection-empty{text-align:center;border:1px dashed var(--border-strong);border-radius:14px;margin:0 0 24px;padding:30px 10px}.selection-empty-icon{background:var(--soft);width:31px;height:31px;color:var(--muted);border-radius:50%;place-items:center;margin:0 auto 9px;display:grid}.selection-empty p{margin-bottom:6px;font-size:12px}.selection-empty>span{color:var(--muted);font-size:11px;line-height:1.8}.selected-group{margin-bottom:22px}.selected-group h3{color:var(--muted);margin-bottom:8px;font-size:12px;font-weight:500}.selected-item{background:var(--surface);border:1px solid var(--line);border-radius:12px;align-items:center;gap:4px;margin-bottom:5px;padding:6px 8px 6px 10px;display:flex}.selected-item:hover{border-color:var(--border-strong)}.selected-item-value{text-align:left;flex-direction:column;flex:1;min-width:0;padding:0;display:flex}.selected-item-value>span{color:var(--muted);font-size:11px}.selected-item-value strong{overflow-wrap:anywhere;font-size:12px;font-weight:500}.selected-item-value small{margin-left:5px;font-size:11px}.selected-item.inactive strong{color:var(--muted)}.selected-item-actions{align-items:center;display:flex}.selected-item-actions .icon-button{width:22px;height:25px}.save-inline{color:var(--muted);align-items:center;gap:6px;width:100%;margin:-5px 0 19px;padding:9px 0;font-size:11px;display:flex}.save-inline>svg:last-child{margin-left:auto}.save-inline:hover{color:var(--text)}.description-input{position:relative}.description-input label{justify-content:space-between;margin-bottom:10px;font-size:13px;font-weight:550;display:flex}.description-input label span{color:var(--muted);font-size:11px;font-weight:400}.description-input textarea{background:var(--surface);border-radius:18px;width:100%;min-height:114px;padding:11px 12px;font-size:13px;line-height:1.85;display:block}.description-counter{color:var(--muted);text-align:right;pointer-events:none;margin:6px 2px 0;font-size:11px;line-height:1.4;display:block}.exclude-details{margin-top:13px}.exclude-details summary{color:var(--muted);cursor:pointer;align-items:center;gap:4px;font-size:11px;list-style:none;display:flex}.exclude-details summary::-webkit-details-marker{display:none}.exclude-details textarea{border-radius:10px;width:100%;margin-top:8px;padding:10px;font-size:11px}.issue-list{gap:8px;margin-top:18px;display:grid}.issue{text-align:left;background:var(--soft);color:var(--muted);border-radius:9px;align-items:flex-start;gap:7px;padding:9px;font-size:11px;line-height:1.7;display:flex}.issue svg{margin-top:2px}.issue.error{background:var(--error-bg);color:var(--error)}.summary-bottom{border-top:1px solid var(--line);flex-shrink:0;padding:15px 22px 0}.summary-submit{border-top:1px solid var(--line);background:var(--summary);flex-shrink:0;padding:12px 22px 18px}.prompt-link{color:var(--muted);align-items:center;gap:8px;width:100%;padding:4px 0 16px;font-size:11px;display:flex}.prompt-link>svg:last-child{margin-left:auto}.prompt-link:hover{color:var(--text)}.output-controls{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:15px;display:grid}.output-field{color:var(--muted);flex-direction:column;gap:6px;font-size:11px;display:flex}.select-trigger{width:100%;min-height:38px;color:var(--text);border:1px solid var(--line);background:var(--surface);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;font-size:12px;display:flex}.select-trigger:hover{border-color:var(--border-strong)}.select-trigger>span:last-child{display:flex}.select-content{z-index:80;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);min-width:var(--radix-select-trigger-width);max-height:var(--radix-select-content-available-height);border-radius:10px;padding:4px;overflow:auto}.select-item{cursor:pointer;border-radius:6px;outline:none;justify-content:space-between;align-items:center;gap:16px;padding:7px 10px;font-size:12px;display:flex}.select-item[data-highlighted]{background:var(--soft)}.generate-button{background:var(--ink);color:var(--on-ink);white-space:nowrap;border-radius:30px;justify-content:center;align-items:center;gap:16px;width:100%;padding:12px 17px;font-size:13px;font-weight:550;display:flex;position:relative}.generate-button svg{position:absolute;right:17px}.generate-button:hover{background:var(--ink-hover)}.compact-actions,.mobile-switch{display:none}.primary-button,.secondary-button,.danger-button{white-space:nowrap;border-radius:30px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:10px 18px;font-size:12px;display:inline-flex}.primary-button{background:var(--ink);color:var(--on-ink)}.primary-button:hover{background:var(--ink-hover)}.secondary-button{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft)}.secondary-button:hover{background:var(--hover);border-color:var(--border-strong)}.danger-button{background:var(--error);color:var(--on-ink)}.undo-bubble{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);z-index:8;border-radius:30px;align-items:center;gap:6px;padding:8px 13px;font-size:11px;display:flex;position:fixed;bottom:20px;left:356px}.toast{z-index:90;box-shadow:var(--shadow);border:1px solid var(--line);background:var(--surface);border-radius:12px;align-items:center;gap:9px;max-width:min(520px,100vw - 32px);padding:12px 16px;font-size:12px;animation:.18s toast-in;display:flex;position:fixed;bottom:30px;left:50%;transform:translate(-50%)}.toast>svg{flex-shrink:0}.toast button{margin-left:8px;padding:2px;display:flex}.modal-overlay{z-index:40;background:#14141648;animation:.15s reveal;position:fixed;inset:0}.modal{z-index:50;border:1px solid var(--line);background:var(--surface);width:min(490px,100vw - 32px);max-height:calc(100dvh - 48px);box-shadow:var(--shadow);border-radius:24px;outline:none;padding:27px;animation:.18s modal-in;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.modal-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;display:flex}.modal-header h2{letter-spacing:-.4px;font-size:20px;font-weight:600;line-height:1.5}.modal-header p{color:var(--muted);margin-top:7px;font-size:13px;line-height:1.8}.modal-header .icon-button{margin:-5px -7px 0 0}.modal-footer{justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;display:flex}.modal-footer .primary-button,.modal-footer .secondary-button{font-size:12px}.prompt-modal{width:min(680px,100vw - 32px)}.prompt-meta{color:var(--muted);flex-wrap:wrap;gap:14px;margin-bottom:11px;font-size:11px;display:flex}.prompt-meta span:last-child{margin-left:auto}.prompt-views{margin-bottom:14px}.prompt-readable{border:1px solid var(--line);background:var(--sidebar);border-radius:13px;max-height:50dvh;padding:20px;overflow:auto}.prompt-readable section+section{margin-top:18px}.prompt-readable h3{color:var(--muted);margin:0 0 6px;font-size:11px;font-weight:500}.prompt-readable p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.9}.prompt-inactive{color:var(--muted);margin-top:12px;font-size:12px}.prompt-inactive summary{cursor:pointer;width:fit-content;padding-block:8px}.prompt-inactive dl{border-top:1px solid var(--line);margin:8px 0 0}.prompt-inactive dl>div{border-bottom:1px solid var(--line);overflow-wrap:anywhere;grid-template-columns:minmax(72px,.8fr) minmax(0,2fr);gap:14px;padding-block:12px;display:grid}.prompt-inactive dd{color:var(--text);margin:0}.prompt-inactive small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.prompt-text{resize:none;white-space:pre-wrap;background:var(--sidebar);border:1px solid var(--line);-webkit-user-select:text;user-select:text;overflow-wrap:anywhere;border-radius:13px;width:100%;max-height:50dvh;padding:21px;font-size:13px;line-height:2.1;overflow:auto}.form-field{margin-top:19px}.form-field>label,.form-label{margin-bottom:9px;font-size:12px;font-weight:550;display:block}.form-field>input{border-radius:11px;width:100%;padding:11px 13px;font-size:13px}.save-kind{grid-template-columns:1fr 1fr;gap:9px;display:grid}.save-kind button{border:1px solid var(--line);border-radius:13px;flex-direction:column;align-items:flex-start;gap:6px;padding:14px;display:flex}.save-kind button.active{background:var(--sidebar)}.save-kind strong{font-size:12px;font-weight:550}.save-kind span{color:var(--muted);font-size:11px}.inline-note{color:var(--muted);margin-top:16px;font-size:12px;line-height:1.8}.template-preview{background:var(--sidebar);border-radius:13px;padding:5px 16px}.template-preview>div{border-bottom:1px solid var(--line);align-items:center;gap:9px;padding:11px 0;font-size:12px;display:flex}.template-preview>div:last-child{border-bottom:none}.template-preview span{color:var(--muted)}.template-preview strong{margin-left:auto;font-weight:500}.template-preview small{color:var(--muted);font-size:11px}.template-mode{background:var(--soft);border-radius:10px;gap:3px;margin-top:18px;padding:4px;display:flex}.template-mode button{color:var(--muted);border-radius:7px;flex:1;padding:8px 5px;font-size:11px}.template-mode button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 4px #00000008}.settings-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:18px 0;display:flex}.settings-row strong{font-size:13px;font-weight:550}.settings-row p{color:var(--muted);margin-top:5px;font-size:11px}.settings-note{color:var(--muted);gap:9px;margin-top:22px;display:flex}.settings-note svg{flex-shrink:0;margin-top:3px}.settings-note p{font-size:11px;line-height:1.9}.service-ready{text-align:center;background:var(--sidebar);border-radius:15px;padding:27px 23px}.service-ready>span{background:var(--surface);border:1px solid var(--line);border-radius:15px;place-items:center;width:50px;height:50px;margin:0 auto 14px;display:grid}.service-ready h3{font-size:15px;font-weight:550}.service-ready p{color:var(--muted);margin-top:10px;font-size:12px;line-height:1.9}.summary-modal{flex-direction:column;width:min(410px,100vw - 24px);max-height:calc(100dvh - 32px);padding:23px 0 0;display:flex}.summary-modal>.modal-header{flex-shrink:0;margin-bottom:4px;padding:0 24px}.summary-modal .summary-panel{min-height:0;max-height:calc(100dvh - 150px)}.summary-modal .summary-heading{padding-top:15px}.summary-modal .summary-body{overscroll-behavior-y:contain;overflow-y:auto}.summary-modal .summary-scroll{flex:none;overflow:visible}.summary-modal .summary-bottom{margin-top:auto}@media (height<=800px){.summary-body{overscroll-behavior-y:contain;overflow-y:auto}.summary-scroll{flex:none;overflow:visible}.summary-bottom{margin-top:auto}}.storage-banner{background:var(--error-bg);color:var(--error);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:10px;padding:9px 25px;font-size:11px;display:flex}.storage-banner svg{flex-shrink:0}.storage-banner>span{overflow-wrap:anywhere;flex:220px}.data-review-modal{width:min(520px,100vw - 32px)}.import-file-name{color:var(--muted);overflow-wrap:anywhere;margin:-8px 0 18px;font-size:12px}.import-facts{color:var(--muted);flex-wrap:wrap;gap:8px 16px;margin-bottom:20px;font-size:12px;display:flex}.data-issues{background:var(--sidebar);border:1px solid var(--line);border-radius:14px;margin-bottom:20px;padding:15px 16px}.data-issues h3{margin-bottom:9px;font-size:13px;font-weight:600}.data-issues ul{max-height:180px;color:var(--muted);overflow-wrap:anywhere;padding-left:18px;font-size:12px;line-height:1.8;overflow:auto}.data-issues li+li{margin-top:8px}.data-issues .text-button{margin-top:10px}.import-prompt{min-height:110px;max-height:200px;margin-top:8px}.recovery-note{color:var(--muted);margin-bottom:16px;font-size:13px;line-height:1.8}.storage-banner button{white-space:nowrap;font-size:11px;text-decoration:underline}.error-text{color:var(--error)!important}.library-page{background:var(--surface);flex:1;padding:45px clamp(28px,6vw,100px) 70px;overflow:auto}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:38px;display:flex}.page-heading h1{letter-spacing:-.6px;font-size:28px;font-weight:600}.page-heading p{color:var(--muted);margin-top:9px;font-size:12px}.page-actions{gap:9px;display:flex}.section-heading{justify-content:space-between;align-items:center;margin-bottom:17px;display:flex}.section-heading h2{font-size:14px;font-weight:550}.section-heading>span{color:var(--muted);font-size:11px}.template-library-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.template-library-card{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:17px;min-width:0;padding:0 0 16px;position:relative;overflow:hidden}.template-library-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-soft)}.template-library-art{background:var(--sidebar);height:110px;color:var(--muted);place-items:center;margin-bottom:14px;display:grid}.template-library-card>div:not(.template-library-art){padding:0 16px}.template-library-card strong{font-size:13px;font-weight:550}.template-library-card p{color:var(--muted);margin-top:4px;font-size:11px}.template-library-card>svg{color:var(--muted);position:absolute;bottom:27px;right:16px}.library-filter{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;margin-top:43px;padding-bottom:15px;display:flex}.plain-tabs{gap:20px;display:flex}.plain-tabs button{color:var(--muted);border-bottom:2px solid #0000;padding:7px 0;font-size:12px}.plain-tabs button.active{color:var(--text);border-color:var(--text)}.library-filter .search-input{background:var(--sidebar);width:200px;height:35px}.library-empty{text-align:center;color:var(--muted);padding:58px 20px}.library-empty>svg{margin-bottom:15px}.library-empty h2{color:var(--text);margin-bottom:9px;font-size:17px;font-weight:550}.library-empty p{margin-bottom:22px;font-size:12px;line-height:1.9}.small-empty{text-align:center;color:var(--muted);padding:26px 0}.small-empty h3{color:var(--text);margin:12px 0 9px;font-size:13px;font-weight:500}.small-empty p{margin-bottom:15px;font-size:11px;line-height:1.8}.plans-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;padding-top:22px;display:grid}.plan-card{border:1px solid var(--line);border-radius:20px;padding:18px}.plan-card-header,.plan-card-footer{justify-content:space-between;align-items:center;display:flex}.plan-version{color:var(--muted);font-size:11px}.plan-main{text-align:left;width:100%;min-height:111px;padding:17px 0}.plan-main h2{overflow-wrap:anywhere;margin-bottom:8px;font-size:17px;font-weight:550}.plan-main p{color:var(--muted);font-size:12px;line-height:1.8}.plan-card-footer{border-top:1px solid var(--line);padding-top:10px}.plan-card-footer>span{color:var(--muted);font-size:11px}.plan-template-trigger{align-items:center;gap:7px;min-height:36px;margin-bottom:8px;font-size:12px;display:inline-flex}.plan-template-modal{width:min(680px,100vw - 32px)}.template-scope{border:0;min-width:0;margin:0 0 16px;padding:0}.template-scope legend{margin-bottom:10px;font-size:12px;font-weight:500}.template-scope-options{flex-wrap:wrap;gap:8px;display:flex}.template-scope-options button{border:1px solid var(--line);border-radius:10px;justify-content:center;align-items:center;gap:5px;min-height:38px;padding:8px 12px;font-size:12px;display:inline-flex}.template-scope-options button[aria-checked=true]{background:var(--sidebar)}.plan-template-comparison{margin-top:20px}.plan-template-comparison .draft-differences{max-height:40dvh;overflow:auto}.plan-template .prompt-inactive p{overflow-wrap:anywhere;line-height:1.8}.works-empty{padding-top:80px}.empty-gallery{justify-content:center;align-items:center;height:115px;margin-bottom:27px;display:flex}.empty-gallery span{background:var(--sidebar);border:1px solid var(--line);border-radius:12px;width:72px;height:87px;transform:rotate(-12deg)translate(15px)}.empty-gallery span:nth-child(2){background:var(--surface);z-index:1;place-items:center;width:85px;height:105px;display:grid;transform:none}.empty-gallery span:nth-child(3){transform:rotate(12deg)translate(-15px)}@keyframes reveal{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}@keyframes toast-in{0%{opacity:0;translate:0 6px}to{opacity:1;translate:0}}@media (width>=1700px){.workspace{grid-template-columns:360px minmax(0,1fr) 320px}.canvas-welcome{max-width:520px}.canvas-welcome h1{font-size:30px}.starter-card{padding:16px}.editor-top,.editor-scroll,.summary-heading,.summary-scroll,.summary-bottom,.summary-submit{padding-inline:26px}}@media (width<=1390px) and (width>=1280px){.workspace{grid-template-columns:310px minmax(0,1fr) 280px}.editor-top,.editor-scroll{padding-left:18px;padding-right:18px}.canvas-content{padding-inline:23px}.canvas-subtitle,.starter-arrow{display:none}.starter-card{gap:8px;padding:11px}.starter-art{width:31px}.starter-card small{font-size:11px}.summary-heading,.summary-scroll,.summary-bottom,.summary-submit{padding-inline:18px}.undo-bubble{left:326px}}@media (width<=1279px){.workspace{grid-template-columns:330px minmax(0,1fr);position:relative}.desktop-summary{display:none}.compact-actions{z-index:8;justify-content:flex-end;align-items:center;gap:10px;display:flex;position:absolute;bottom:19px;right:24px}.compact-actions .secondary-button{background:var(--surface)}.compact-actions .primary-button{padding-inline:22px}.undo-bubble{display:none}.canvas-content{padding-bottom:100px}.template-library-grid{gap:11px}.plans-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1000px){.workspace{grid-template-columns:300px minmax(0,1fr)}.editor-top,.editor-scroll{padding-inline:17px}.canvas-toolbar{padding-inline:22px}.canvas-subtitle{display:none}.canvas-content{padding-inline:24px}.starter-grid{grid-template-columns:1fr;gap:8px}.starter-card{padding:10px 13px}.starter-art{width:34px;height:32px}.starter-card small{display:none}.starter-arrow{opacity:1}.starter-section{margin-top:28px}.welcome-mark{height:114px;margin-bottom:15px}.canvas-welcome h1{font-size:23px}.template-library-grid{grid-template-columns:1fr 1fr}.library-page{padding:32px 28px 60px}}@media (width<=767px){.app-shell{min-height:440px}.mobile-switch{border-bottom:1px solid var(--line);justify-content:center;align-items:center;gap:20px;height:43px;min-height:43px;display:flex}.mobile-switch button{color:var(--muted);border-bottom:2px solid #0000;padding:10px 4px 9px;font-size:12px}.mobile-switch button.active{color:var(--text);border-color:var(--text)}.workspace{padding-bottom:calc(76px + env(safe-area-inset-bottom));display:block}.editor-panel,.canvas-panel{height:100%}.mobile-canvas .editor-panel,.mobile-settings .canvas-panel{display:none}.editor-panel{border-right:0}.editor-top{padding:15px 22px 12px}.panel-title{display:none}.segmented{margin:12px 0}.category-grid{gap:5px}.category-grid button{padding:7px 0;font-size:11px}.category-grid button svg{width:20px;height:20px}.editor-scroll{padding:19px 24px 30px}.field-toggle{min-height:34px;font-size:13px}.field-value{max-width:160px;font-size:11px}.field-control{padding-block:9px}.text-options .option{padding:7px 11px;font-size:12px}.color-options{gap:12px 5px}.swatch{width:29px;height:29px}.color-option{font-size:11px}.field-links .text-button{padding-block:5px;font-size:11px}.custom-field{min-height:39px}.custom-field input{font-size:13px}.canvas-toolbar{height:51px;padding-inline:22px}.canvas-title{font-size:11px}.canvas-content{padding:10px 28px 30px}.canvas-welcome{max-width:440px}.canvas-welcome h1{font-size:24px}.canvas-welcome>p{font-size:12px}.starter-grid{grid-template-columns:1fr 1fr}.starter-card{flex-direction:column;align-items:flex-start;gap:10px;padding:13px;display:flex}.starter-art{width:34px;height:34px}.starter-card small{margin-top:4px;font-size:11px;display:block}.starter-arrow{display:none}.starter-section{margin-top:30px}.compact-actions{border-top:1px solid var(--line);background:var(--surface);padding:14px 20px calc(14px + env(safe-area-inset-bottom));justify-content:space-between;gap:12px;position:absolute;bottom:0;left:0;right:0}.compact-actions .secondary-button{background:var(--soft);border-color:#0000;padding:10px 13px;font-size:12px}.compact-actions .primary-button{flex:1;min-width:120px;max-width:205px;min-height:42px}.compact-actions .icon-button{margin-left:auto}.toast{bottom:calc(90px + env(safe-area-inset-bottom));width:max-content;font-size:12px}.modal{border-radius:21px;padding:22px}.modal-header h2{font-size:18px}.modal-footer{gap:8px}.modal-footer .secondary-button,.modal-footer .primary-button{padding-inline:14px}.summary-modal{border-radius:23px 23px 0 0;width:100%;max-height:calc(100dvh - 40px);padding:22px 0 0;animation:.15s reveal;top:auto;bottom:0;left:0;transform:none}.summary-modal .summary-panel{max-height:calc(100dvh - 145px)}.summary-modal .summary-scroll{max-height:none}.summary-modal .summary-submit{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.summary-modal .description-input textarea{font-size:13px}.summary-modal .selected-item-value strong{font-size:12px}.summary-modal .selected-item-value>span{font-size:11px}.summary-modal .selected-item{padding-block:8px}.summary-modal .output-controls{grid-template-columns:1fr 1fr}.summary-modal .select-trigger{min-height:40px;font-size:12px}.summary-modal .selected-item-actions .icon-button{width:30px;height:30px}.library-page{padding:26px 20px 45px}.page-heading{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:30px}.page-heading h1{font-size:25px}.page-actions{width:100%}.page-actions .primary-button{margin-left:auto}.section-heading>span{display:none}.template-library-grid{gap:11px}.template-library-art{height:89px}.template-library-card>div:not(.template-library-art){padding-inline:13px}.template-library-card>svg{display:none}.template-library-card p{font-size:11px}.library-filter{flex-direction:column;align-items:stretch;gap:14px;margin-top:30px}.library-filter .search-input{width:100%}.plain-tabs{gap:23px}.plans-grid{grid-template-columns:1fr}.library-empty{padding:45px 8px}.library-empty h2{font-size:16px}.works-empty{padding-top:54px}.storage-banner{flex-wrap:wrap;gap:6px;padding-inline:15px;font-size:11px}.storage-banner span{flex:1;min-width:210px}}@media (width<=374px){.canvas-content{padding-inline:20px}.canvas-welcome h1{font-size:21px}.starter-card small{display:none}.modal-footer{flex-wrap:wrap}.save-kind button{padding:11px}.save-kind span{font-size:11px}.compact-actions{padding-inline:14px}}@media (height<=740px) and (width>=768px){.welcome-mark{height:100px;margin-bottom:15px;transform:scale(.85)}.canvas-content{align-items:flex-start;padding-top:8px}.canvas-welcome>p{margin:9px 0 17px}.starter-section{margin-top:28px}.canvas-toolbar{height:52px}}.search-input .search-filter{width:28px;height:28px;color:var(--muted);border-radius:7px}.search-input .search-filter:hover{background:var(--hover-strong)}.search-input .search-filter.active{background:var(--ink);color:var(--on-ink)}.history-modal{width:min(640px,100vw - 32px)}.history-content{gap:20px;display:grid}.version-list{border:1px solid var(--line);border-radius:13px;gap:5px;max-height:188px;padding:4px;display:grid;overflow-y:auto}.version-list button{text-align:left;min-height:43px;color:var(--muted);border-radius:9px;grid-template-columns:minmax(100px,1fr) auto 40px 15px;align-items:center;gap:12px;padding:11px 12px;font-size:12px;display:grid}.version-list button:hover{background:var(--hover)}.version-list button.active{background:var(--selected);color:var(--text)}.version-label{color:var(--text);align-items:center;gap:8px;font-weight:550;display:flex}.version-label small{color:var(--muted);font-size:10px;font-weight:400}.history-comparison h3{justify-content:space-between;gap:12px;margin:0 0 12px;font-size:13px;font-weight:550;display:flex}.history-comparison h3>span{color:var(--muted);font-size:12px;font-weight:400}.draft-differences{border-block:1px solid var(--line);max-height:240px;overflow-y:auto}.draft-difference,.difference-head{grid-template-columns:.8fr 1fr 1fr;gap:12px;padding:10px 4px;font-size:12px;line-height:1.6;display:grid}.difference-head{background:var(--surface);color:var(--muted);font-size:11px;position:sticky;top:0}.draft-difference{border-top:1px solid var(--line)}.draft-difference>*{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0}.draft-difference strong{font-weight:500}.before-value{color:var(--muted)}.after-value{color:var(--text)}.history-content .modal-footer{margin-top:0}@media (width<=480px){.version-list button{grid-template-columns:minmax(85px,1fr) auto 15px;gap:8px}.version-list button>span:nth-child(3){display:none}.draft-difference,.difference-head{gap:8px;font-size:11px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}button:active:not(:disabled){transform:none}}@media (width<=767px){input,textarea,.search-input input,.custom-field input,.color-code-row input,.description-input textarea,.summary-modal .description-input textarea,.form-field>input{font-size:16px}.search-input input{line-height:1.4}}:where(html[data-workbench=true]) .app-shell{background:var(--page);min-height:0}:where(html[data-workbench=true]) .workspace{grid-template-columns:340px minmax(0,1fr) 312px}:where(html[data-workbench=true]) .editor-panel,:where(html[data-workbench=true]) .summary-panel{background:var(--surface)}:where(html[data-workbench=true]) .editor-top{padding:16px 20px 12px}:where(html[data-workbench=true]) .panel-title{margin-bottom:12px}:where(html[data-workbench=true]) h2,:where(html[data-workbench=true]) .category-heading h3{font-size:16px}:where(html[data-workbench=true]) .search-input{border-color:var(--border-strong);border-radius:10px;height:40px}:where(html[data-workbench=true]) .search-input input{font-size:14px}:where(html[data-workbench=true]) .search-input button{min-width:32px;min-height:32px}:where(html[data-workbench=true]) .segmented{background:var(--hover);border-radius:10px;margin:12px 0}:where(html[data-workbench=true]) .segmented button{border-radius:8px;min-height:32px;font-size:13px}:where(html[data-workbench=true]) .segmented button[aria-pressed=true]{color:var(--text);box-shadow:inset 0 -2px var(--text)}:where(html[data-workbench=true]) .category-grid{gap:4px}:where(html[data-workbench=true]) .category-grid button{border-radius:10px;gap:4px;padding:7px 0;font-size:12px;position:relative}:where(html[data-workbench=true]) .category-grid button svg{width:18px;height:18px}:where(html[data-workbench=true]) .category-grid button.active{color:var(--text);background:var(--selected)}:where(html[data-workbench=true]) .category-grid button.active:after{content:"";background:var(--text);border-radius:2px;width:14px;height:2px;position:absolute;bottom:2px}:where(html[data-workbench=true]) .editor-scroll{scrollbar-gutter:stable;padding:16px 20px 28px;scroll-padding-block:12px}:where(html[data-workbench=true]) .category-heading{margin-bottom:0;padding-bottom:8px}:where(html[data-workbench=true]) .field-control{padding-block:12px}:where(html[data-workbench=true]) .field-heading{gap:4px}:where(html[data-workbench=true]) .field-toggle{gap:6px;min-height:36px;font-size:14px}:where(html[data-workbench=true]) .field-value{max-width:118px;font-size:12px}:where(html[data-workbench=true]) .field-body{animation:none;position:relative}:where(html[data-workbench=true]) .text-options{gap:7px 6px}:where(html[data-workbench=true]) .text-options .option{text-align:center;overflow-wrap:anywhere;border-color:var(--border-strong);background:var(--surface);max-width:100%;min-height:32px;color:var(--text);justify-content:center;align-items:center;gap:0;padding:5px 16px;font-size:13px;font-weight:500;display:inline-flex;position:relative}:where(html[data-workbench=true]) .text-options .option.is-selected{background:var(--selected);color:var(--text);font-weight:500}:where(html[data-workbench=true]) .color-options{gap:10px 4px;padding:6px 2px}:where(html[data-workbench=true]) .color-option{color:var(--muted);border-radius:10px;min-height:58px;font-size:12px}:where(html[data-workbench=true]) .color-option.is-selected{color:var(--text);background:0 0}:where(html[data-workbench=true]) .swatch{border:1px solid var(--border-strong);width:28px;height:28px;position:relative}:where(html[data-workbench=true]) .color-option.is-selected .swatch:after{display:none}:where(html[data-workbench=true]) .swatch-check{background:var(--text);width:15px;height:15px;color:var(--surface);border:1px solid var(--surface);z-index:1;border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-5px;right:-6px}:where(html[data-workbench=true]) .field-links .text-button,:where(html[data-workbench=true]) .inactive-note{font-size:12px}:where(html[data-workbench=true]) .text-button{min-height:28px;font-size:12px}:where(html[data-workbench=true]) .text-button,:where(html[data-workbench=true]) .image-meta a{text-underline-offset:3px;text-decoration:underline}:where(html[data-workbench=true]) .color-picker-trigger{border-color:var(--border-strong);border-radius:10px;min-height:38px;font-size:13px}:where(html[data-workbench=true]) .custom-field{border-color:var(--border-strong);min-height:40px}:where(html[data-workbench=true]) .custom-field input{font-size:14px}:where(html[data-workbench=true]) .custom-field button{min-width:32px;min-height:32px}:where(html[data-workbench=true]) .is-inactive{opacity:1}:where(html[data-workbench=true]) .icon-button,:where(html[data-workbench=true]) .selected-item-actions .icon-button,:where(html[data-workbench=true]) .field-heading .icon-button{width:36px;height:36px;color:var(--muted);border-radius:10px;flex-shrink:0}:where(html[data-workbench=true]) .canvas-panel{background:var(--page)}:where(html[data-workbench=true]) .canvas-toolbar{gap:12px;height:64px;padding-inline:24px}:where(html[data-workbench=true]) .canvas-style-control .select-trigger{width:158px;min-height:36px;box-shadow:none;border-radius:10px;font-size:14px;font-weight:400}:where(html[data-workbench=true]) .canvas-ratio{border:0;padding:0;font-size:12px}:where(html[data-workbench=true]) .canvas-content{align-items:flex-start;padding:0 24px 24px}:where(html[data-workbench=true]) .canvas-sheet{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;justify-content:center;width:100%;min-width:0;max-width:960px;min-height:min(640px,100%);margin:0 auto;padding:clamp(20px,3vw,40px);display:flex}:where(html[data-workbench=true]) .canvas-welcome{text-align:left;max-width:760px;margin:auto}:where(html[data-workbench=true]) .canvas-welcome h1{letter-spacing:-.5px;font-size:24px;font-weight:600}:where(html[data-workbench=true]) .canvas-welcome>p{margin:10px 0 0;font-size:14px;line-height:1.7}:where(html[data-workbench=true]) .starter-section{margin-top:32px}:where(html[data-workbench=true]) .starter-heading,:where(html[data-workbench=true]) .starter-heading .text-button{font-size:12px}:where(html[data-workbench=true]) .starter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}:where(html[data-workbench=true]) .starter-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;align-items:stretch;gap:0;padding:0;display:flex;overflow:hidden}:where(html[data-workbench=true]) .starter-art{aspect-ratio:3/4;background:var(--soft);width:100%;height:auto;color:var(--muted);border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:relative}:where(html[data-workbench=true]) .starter-example{color:var(--placeholder);font-size:12px}:where(html[data-workbench=true]) .starter-card>span:nth-child(2){padding:14px 12px}:where(html[data-workbench=true]) .starter-card strong{font-size:14px;font-weight:600}:where(html[data-workbench=true]) .starter-card small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.6;display:block}:where(html[data-workbench=true]) .starter-arrow{opacity:1;color:var(--muted);display:block;position:absolute;top:12px;right:12px}:where(html[data-workbench=true]) .starter-card:hover{transform:none}:where(html[data-workbench=true]) .canvas-welcome .template-hint{color:var(--placeholder);margin-top:20px;font-size:12px}:where(html[data-workbench=true]) .canvas-results{max-width:none;padding:0}:where(html[data-workbench=true]) .canvas-sheet:has(.canvas-results){justify-content:flex-start;padding:24px}:where(html[data-workbench=true]) .generated-image-button{background:0 0;border-radius:12px}:where(html[data-workbench=true]) .generated-image-button img{object-fit:contain;max-height:62dvh}:where(html[data-workbench=true]) .image-zoom{opacity:1;box-shadow:none;border:1px solid var(--line)}:where(html[data-workbench=true]) .generation-meta,:where(html[data-workbench=true]) .image-meta,:where(html[data-workbench=true]) .generation-heading time{font-size:12px}:where(html[data-workbench=true]) .generation-state{font-size:14px}:where(html[data-workbench=true]) .state-succeeded{color:var(--wb-success)}:where(html[data-workbench=true]) .canvas-draft-notice{color:var(--wb-warning);background:var(--wb-warning-bg);border-radius:10px;align-items:flex-start;gap:8px;margin:0 0 18px;padding:10px 12px;font-size:13px;line-height:1.7;display:flex}:where(html[data-workbench=true]) .canvas-draft-notice svg{flex-shrink:0;margin-top:3px}:where(html[data-workbench=true]) .summary-heading{padding:20px 20px 14px}:where(html[data-workbench=true]) .count-badge{background:var(--selected);color:var(--text)}:where(html[data-workbench=true]) .summary-body{scrollbar-gutter:stable;scroll-padding:12px;overflow-y:auto}:where(html[data-workbench=true]) .summary-scroll{scrollbar-gutter:auto;flex:none;padding:0 20px 20px;overflow:visible}:where(html[data-workbench=true]) .selection-empty{text-align:left;border:0;border-radius:0;margin-bottom:24px;padding:0}:where(html[data-workbench=true]) .selection-empty p{margin-bottom:6px;font-size:14px}:where(html[data-workbench=true]) .selection-empty>span{font-size:12px}:where(html[data-workbench=true]) .selected-group{margin-bottom:8px}:where(html[data-workbench=true]) .selected-group>summary{cursor:pointer;border-bottom:1px solid var(--line);align-items:center;gap:6px;padding:10px 0;font-size:12px;list-style:none;display:flex}:where(html[data-workbench=true]) .selected-group>summary::-webkit-details-marker{display:none}:where(html[data-workbench=true]) .selected-group-count{color:var(--muted);margin-left:auto;font-size:10px}:where(html[data-workbench=true]) .selected-group[open]>summary>svg{transform:rotate(90deg)}:where(html[data-workbench=true]) .selected-item{border:0;border-bottom:1px solid var(--line);border-radius:0;gap:8px;margin:0;padding:8px 0}:where(html[data-workbench=true]) .selected-item-value{border-radius:6px;padding:4px}:where(html[data-workbench=true]) .selected-item-value>span{font-size:12px}:where(html[data-workbench=true]) .selected-item-value strong{font-size:14px}:where(html[data-workbench=true]) .save-inline{margin-bottom:16px;font-size:12px}:where(html[data-workbench=true]) .description-input label{margin-bottom:8px;font-size:14px}:where(html[data-workbench=true]) .description-input label span{font-size:12px}:where(html[data-workbench=true]) .description-input textarea{resize:vertical;border-radius:10px;height:120px;min-height:120px;max-height:340px;font-size:14px;line-height:1.65}:where(html[data-workbench=true]) .description-counter{font-size:12px}:where(html[data-workbench=true]) .exclude-details summary{min-height:32px;font-size:12px}:where(html[data-workbench=true]) .exclude-details textarea{font-size:14px}:where(html[data-workbench=true]) .summary-bottom{margin-top:auto;padding:18px 20px 8px}:where(html[data-workbench=true]) .output-model{font-size:12px}:where(html[data-workbench=true]) .output-model .select-trigger{font-size:14px}:where(html[data-workbench=true]) .advanced-settings{margin-bottom:18px}:where(html[data-workbench=true]) .advanced-settings>summary{cursor:pointer;min-height:32px;color:var(--muted);border-radius:6px;justify-content:space-between;align-items:center;font-size:14px;list-style:none;display:flex}:where(html[data-workbench=true]) .advanced-settings>summary::-webkit-details-marker{display:none}:where(html[data-workbench=true]) .advanced-settings[open]>summary svg{transform:rotate(90deg)}:where(html[data-workbench=true]) .advanced-settings .prompt-link{text-underline-offset:3px;padding:12px 0;font-size:13px;text-decoration:underline}:where(html[data-workbench=true]) .output-field,:where(html[data-workbench=true]) .resolution-label small{font-size:12px}:where(html[data-workbench=true]) .select-trigger{border-color:var(--border-strong);border-radius:10px;min-height:40px;font-size:14px}:where(html[data-workbench=true]) .select-content{box-shadow:var(--shadow);border-color:var(--border-strong)}:where(html[data-workbench=true]) .select-item{border:1px solid #0000;min-height:36px;font-size:14px}:where(html[data-workbench=true]) .select-item[data-state=checked]{background:var(--selected);color:var(--text)}:where(html[data-workbench=true]) .select-item[data-highlighted]{background:var(--hover);color:var(--text)}:where(html[data-workbench=true]) .select-item[data-state=checked][data-highlighted]{background:var(--selected)}:where(html[data-workbench=true]) .summary-submit{background:var(--surface);padding:14px 20px 18px}:where(html[data-workbench=true]) .output-summary{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:6px;margin:0 0 10px;font-size:12px;display:flex}:where(html[data-workbench=true]) .output-parameter-error,:where(html[data-workbench=true]) .field-error{color:var(--error);font-size:12px;line-height:1.65}:where(html[data-workbench=true]) .field-error{gap:6px;margin:8px 0;display:flex}:where(html[data-workbench=true]) .field-error svg{flex-shrink:0;margin-top:2px}:where(html[data-workbench=true]) .issue{font-size:12px}:where(html[data-workbench=true]) input:not([type=range]),:where(html[data-workbench=true]) textarea{border-color:var(--border-strong)}:where(html[data-workbench=true]) :is(button,a,summary):focus-visible{box-shadow:none;outline:none}:where(html[data-workbench=true]) :is(input:not([type=range]),textarea,.select-trigger):focus{outline-offset:0;border-color:var(--muted);box-shadow:none;outline:none}:where(html[data-workbench=true]) :is(input:not([type=range]),textarea,.select-trigger)[aria-invalid=true]{border-color:var(--error)}:where(html[data-workbench=true]) .custom-field:focus-within,:where(html[data-workbench=true]) .search-input:focus-within{outline-offset:0;border-color:var(--muted);box-shadow:none;outline:none}:where(html[data-workbench=true]) .custom-field input:focus-visible,:where(html[data-workbench=true]) .search-input input:focus-visible{box-shadow:none;outline:none}:where(html[data-workbench=true]) .primary-button,:where(html[data-workbench=true]) .generate-button{background:var(--ink);color:var(--on-ink);box-shadow:none;border-radius:12px;min-height:44px;font-size:14px}:where(html[data-workbench=true]) .generate-button{gap:8px}:where(html[data-workbench=true]) .generate-button .generation-spinner,:where(html[data-workbench=true]) .primary-button .generation-spinner{border-color:currentColor #0000 currentColor currentColor;flex-shrink:0;width:16px;height:16px}:where(html[data-workbench=true]) .generate-button>svg{right:14px}:where(html[data-workbench=true]) .secondary-button{background:var(--surface);color:var(--text);border-color:var(--border-strong);box-shadow:none;border-radius:10px}:where(html[data-workbench=true]) button{transition:background-color .14s,color .14s,border-color .14s,box-shadow .14s}:where(html[data-workbench=true]) :is(button,input,textarea,a,summary){scroll-margin:8px}:where(html[data-workbench=true]) button:active:not(:disabled){transform:none}:where(html[data-workbench=true]) button:disabled,:where(html[data-workbench=true]) input:disabled,:where(html[data-workbench=true]) textarea:disabled{opacity:1;color:var(--wb-disabled-text);background:var(--wb-disabled);cursor:not-allowed;box-shadow:none;border-color:#0000}:where(html[data-workbench=true]) button[aria-busy=true]:disabled{background:var(--ink);color:var(--on-ink)}:where(html[data-workbench=true]) .custom-field button:disabled,:where(html[data-workbench=true]) .summary-heading .text-button:disabled{color:var(--wb-disabled-text);background:0 0;text-decoration:none}:where(html[data-workbench=true]) .summary-modal{background:var(--surface)}:where(html[data-workbench=true]) .summary-modal .summary-body{overflow-y:auto}:where(html[data-workbench=true]) .summary-modal .summary-scroll{flex:none;max-height:none;overflow:visible}:where(html[data-workbench=true]) .summary-modal .summary-bottom{padding:18px 20px 8px}:where(html[data-workbench=true]) .summary-modal .select-trigger{font-size:14px}:where(html[data-workbench=true]) .modal{border-radius:16px}:where(html[data-workbench=true]) .modal-overlay{-webkit-backdrop-filter:none;backdrop-filter:none}@media (hover:hover) and (pointer:fine){:where(html[data-workbench=true]) :is(.secondary-button,.icon-button,.category-grid button,.mobile-switch button,.selected-item-value,.text-options .option):hover:not(:disabled){background:var(--hover);color:var(--text)}:where(html[data-workbench=true]) .text-options .option:hover,:where(html[data-workbench=true]) .starter-card:hover,:where(html[data-workbench=true]) .outfit-preset-list button:hover{border-color:var(--muted);transform:none}:where(html[data-workbench=true]) .text-options .option.is-selected:hover{background:var(--selected);border-color:var(--border-strong)}:where(html[data-workbench=true]) .category-grid button.active:hover{background:var(--selected)}:where(html[data-workbench=true]) .primary-button:hover:not(:disabled),:where(html[data-workbench=true]) .generate-button:hover:not(:disabled){background:var(--ink-hover);color:var(--on-ink)}:where(html[data-workbench=true]) input:not([type=range]):hover:not(:disabled),:where(html[data-workbench=true]) textarea:hover:not(:disabled),:where(html[data-workbench=true]) .select-trigger:hover,:where(html[data-workbench=true]) .search-input:hover{border-color:var(--muted)}:where(html[data-workbench=true]) :is(input:not([type=range]),textarea,.select-trigger)[aria-invalid=true]:hover{border-color:var(--error)}}:where(html[data-workbench=true]) :is(.secondary-button,.icon-button,.category-grid button,.text-options .option):active:not(:disabled){background:var(--hover-strong)}:where(html[data-workbench=true]) .text-options .option.is-selected:active{border-color:var(--border-strong)}:where(html[data-workbench=true]) .primary-button:active:not(:disabled),:where(html[data-workbench=true]) .generate-button:active:not(:disabled){background:var(--wb-pressed)}@media (width<=1439px){:where(html[data-workbench=true]) .workspace{grid-template-columns:330px minmax(0,1fr) 300px}:where(html[data-workbench=true]) .canvas-toolbar,:where(html[data-workbench=true]) .canvas-content{padding-inline:18px}:where(html[data-workbench=true]) .canvas-sheet{padding:24px}:where(html[data-workbench=true]) .starter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:where(html[data-workbench=true]) .starter-art{aspect-ratio:4/3}}@media (width<=1279px){:where(html[data-workbench=true]) .workspace{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:330px minmax(0,1fr);padding-bottom:0}:where(html[data-workbench=true]) .compact-actions{padding:12px 20px max(12px, env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);grid-column:1/-1;justify-content:flex-end;align-items:center;gap:12px;display:flex;position:static}:where(html[data-workbench=true]) .compact-actions .primary-button{min-width:180px}:where(html[data-workbench=true]) .compact-actions .secondary-button{min-height:40px;box-shadow:none;font-size:14px}:where(html[data-workbench=true]) .canvas-panel{padding-bottom:0}}@media (width<=767px){:where(html[data-workbench=true]) .workspace{grid-template-columns:minmax(0,1fr);display:grid}:where(html[data-workbench=true]) .mobile-switch{background:var(--surface);border-bottom:1px solid var(--line);gap:8px;margin:0;padding:8px 14px}:where(html[data-workbench=true]) .mobile-switch button{border-radius:10px;min-height:36px;font-size:14px}:where(html[data-workbench=true]) .mobile-switch button.active{color:var(--text);background:var(--selected);box-shadow:inset 0 -2px var(--text);border-color:#0000}:where(html[data-workbench=true]) .editor-top{padding:12px 20px 10px}:where(html[data-workbench=true]) .editor-scroll{padding:12px 20px 24px}:where(html[data-workbench=true]) .canvas-toolbar{height:60px;padding:12px 16px}:where(html[data-workbench=true]) .canvas-toolbar .canvas-tools{gap:12px}:where(html[data-workbench=true]) .canvas-style-control .select-trigger{width:138px}:where(html[data-workbench=true]) .canvas-content{padding:0 12px 16px}:where(html[data-workbench=true]) .canvas-sheet{border-radius:12px;min-height:100%;padding:24px 18px}:where(html[data-workbench=true]) .canvas-welcome h1{font-size:22px}:where(html[data-workbench=true]) .canvas-welcome>p{font-size:14px}:where(html[data-workbench=true]) .starter-section{margin-top:24px}:where(html[data-workbench=true]) .starter-grid{gap:10px}:where(html[data-workbench=true]) .starter-card>span:nth-child(2){padding:12px 10px}:where(html[data-workbench=true]) .canvas-sheet:has(.canvas-results){padding:16px}:where(html[data-workbench=true]) .canvas-welcome .template-hint{font-size:12px}:where(html[data-workbench=true]) .compact-actions{padding:12px 16px max(12px, env(safe-area-inset-bottom));justify-content:space-between}:where(html[data-workbench=true]) .compact-actions .primary-button{flex:1;min-width:130px;max-width:200px}:where(html[data-workbench=true]) .compact-actions .secondary-button{background:var(--surface);border-color:var(--border-strong);padding:8px 12px}:where(html[data-workbench=true]) .summary-modal{border-radius:16px 16px 0 0;max-height:calc(100dvh - 16px)}:where(html[data-workbench=true]) .summary-modal .summary-panel{max-height:calc(100dvh - 130px)}:where(html[data-workbench=true]) .summary-modal .selected-item-value strong{font-size:14px}:where(html[data-workbench=true]) .summary-modal .selected-item-actions .icon-button{width:36px;height:36px}:where(html[data-workbench=true]) input,:where(html[data-workbench=true]) textarea,:where(html[data-workbench=true]) .search-input input,:where(html[data-workbench=true]) .custom-field input,:where(html[data-workbench=true]) .description-input textarea,:where(html[data-workbench=true]) .summary-modal .description-input textarea{font-size:16px}}@media (prefers-reduced-motion:reduce){:where(html[data-workbench=true]) .generation-spinner{animation:none}}.output-dimensions{justify-content:center}.output-dimensions small{color:var(--muted);font-size:12px}.format-hint{color:var(--muted);margin:10px 0 0;font-size:12px;line-height:1.6}.works-kind-filter{min-width:140px;margin-left:auto}.general-panel{border-left:1px solid var(--line);min-width:0}.general-description{padding:0 20px 12px}.general-description textarea{resize:vertical;min-height:180px}.general-panel .summary-bottom{margin-top:auto}.canvas-mode-label{color:var(--muted);font-size:13px}.general-welcome>svg{color:var(--muted);margin-bottom:20px}html[data-workbench=true] .general-workspace{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 340px}html[data-workbench=true] .general-workspace .compact-actions{display:none}html[data-workbench=true] .general-panel .summary-body{flex-direction:column;display:flex}html[data-workbench=true] .general-panel .summary-submit{flex:none}@media (width<=767px){html[data-workbench=true] .general-workspace{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}html[data-workbench=true] .general-workspace.mobile-canvas>.general-panel{display:none}html[data-workbench=true] .general-workspace.mobile-settings>.general-panel,html[data-workbench=true] .general-workspace.mobile-canvas .compact-actions{display:flex}html[data-workbench=true] .general-workspace.mobile-settings{grid-template-rows:minmax(0,1fr)}html[data-workbench=true] .general-workspace .general-panel{border-left:0}html[data-workbench=true] .general-description textarea{min-height:140px}}@media (width<=767px){.works-kind-filter{min-width:120px;margin-left:0}.works-page .library-filter{flex-wrap:wrap}}.model-description{color:var(--muted);margin:-4px 0 14px;font-size:12px;line-height:1.6}.select-item[data-disabled]{color:var(--muted);opacity:.55;cursor:not-allowed}.character-workbench .workspace{grid-template-rows:minmax(0,1fr);grid-template-columns:320px minmax(0,1fr) 296px;min-width:0}.character-workbench .workspace>*{min-width:0;min-height:0}.character-workbench .desktop-summary{background:var(--surface);display:block}.character-workbench .editor-top{padding:18px 16px 8px}.character-workbench .panel-title{margin-bottom:14px;display:flex}.character-workbench h2{font-size:15px;font-weight:600}.character-workbench .selected-count-button{background:var(--soft);color:var(--muted);border-radius:6px;min-height:32px;padding:5px 8px;font-size:12px}.character-workbench .selected-count-button:hover{color:var(--text);background:var(--selected)}.character-workbench .search-input{border-color:var(--line);border-radius:8px;height:38px}.character-workbench .search-input:focus-within{border-color:var(--focus)}.character-workbench .search-input input{font-size:13px}.character-workbench .segmented{border-radius:7px;margin:12px 0 4px}.character-workbench .segmented button{border-radius:5px}.character-workbench .category-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin-top:12px}.character-workbench .category-grid button{border-radius:6px;min-width:0;padding:6px 0;font-size:11px}.character-workbench .category-grid button svg{width:17px;height:17px}.character-workbench .editor-scroll{padding:12px 16px 24px}.character-workbench .category-heading{padding-bottom:0}.character-workbench .category-heading h3{font-size:13px;font-weight:600}.character-workbench .quick-group-heading{border-top:1px solid var(--line);justify-content:space-between;align-items:center;margin-top:14px;padding-top:10px;display:flex}.character-workbench .quick-group-heading h4{color:var(--muted);margin:0;font-size:12px;font-weight:600}.character-workbench .quick-group-heading .icon-button{width:30px;height:30px}.character-workbench .field-control{border:0;padding-block:3px}.character-workbench .field-heading{gap:3px;min-height:44px}.character-workbench .field-toggle{min-width:0;min-height:44px;font-size:13px;font-weight:500}.character-workbench .field-toggle>span:first-child{flex-shrink:0;font-weight:500}.character-workbench .field-multiple{flex-shrink:0}.character-workbench .field-value{max-width:124px;font-weight:400}.character-workbench .field-body{padding:0 0 12px}.character-workbench .field-location{color:var(--muted);text-align:left;padding:8px 0 0;font-size:11px;display:block}.character-workbench .field-location:hover{color:var(--text);text-decoration:underline}.character-workbench .text-options{gap:6px}.character-workbench .text-options .option{border-color:var(--line);background:var(--soft);border-radius:6px;min-height:32px;font-size:12px;font-weight:400}.character-workbench .text-options .option:hover{border-color:var(--border-strong)}.character-workbench .text-options .option.is-selected{border-color:var(--text);background:var(--selected);font-weight:500}.character-workbench .fixed-field{background:var(--selected);color:var(--text)}.character-workbench .field-heading>.icon-button{opacity:1;width:30px;height:32px}.character-workbench .mobile-switch,.character-workbench .compact-actions{display:none}html[data-character-workbench=true] .generation-panel{background:var(--surface);flex-direction:column;min-width:0;height:100%;min-height:0;display:flex}html[data-character-workbench=true] .generation-panel-heading{flex:none;padding:20px 18px 16px}html[data-character-workbench=true] .generation-panel-heading h2{font-size:15px;font-weight:600}html[data-character-workbench=true] .generation-settings-scroll{overscroll-behavior:contain;flex:1;min-width:0;min-height:0;padding:0 18px 24px;scroll-padding-block:12px;overflow:hidden auto}html[data-character-workbench=true] .generation-panel .description-input label{font-size:13px;font-weight:500}html[data-character-workbench=true] .generation-panel textarea{border-color:var(--line);border-radius:8px;min-height:88px;font-size:13px;line-height:1.7}html[data-character-workbench=true] .generation-panel textarea:focus{border-color:var(--focus)}html[data-character-workbench=true] .generation-panel .exclude-details{margin:12px 0 18px}html[data-character-workbench=true] .generation-panel .exclude-details summary{gap:6px;min-height:32px;font-size:12px}html[data-character-workbench=true] .exclude-details summary>svg:last-child{margin-left:auto}html[data-character-workbench=true] .exclude-details[open] summary>svg:last-child{transform:rotate(90deg)}html[data-character-workbench=true] .filled-indicator{color:var(--text);background:var(--selected);border-radius:3px;padding:2px 4px;font-size:10px}html[data-character-workbench=true] .generation-style{margin-bottom:16px}html[data-character-workbench=true] .custom-style-toggle{min-height:24px;margin-top:6px;font-size:11px}html[data-character-workbench=true] .custom-style-input input{border:1px solid var(--line);border-radius:7px;width:100%;min-width:0;margin-top:6px;padding:9px 10px;font-size:12px}html[data-character-workbench=true] .generation-panel .select-trigger{border-color:var(--line);border-radius:7px;min-width:0;height:auto;min-height:38px;padding:8px 10px;font-size:12px}html[data-character-workbench=true] .generation-panel .select-trigger:hover,html[data-character-workbench=true] .generation-panel .select-trigger:focus{border-color:var(--focus)}html[data-character-workbench=true] .generation-panel .select-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}html[data-character-workbench=true] .generation-panel .output-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;margin-bottom:18px}html[data-character-workbench=true] .generation-panel .output-field{min-width:0;font-size:12px}html[data-character-workbench=true] .generation-panel .output-model{margin-bottom:16px;font-size:12px}html[data-character-workbench=true] .generation-panel .advanced-settings{border-top:1px solid var(--line);margin:0;padding-top:4px}html[data-character-workbench=true] .generation-panel .advanced-settings>summary{padding:12px 0;font-size:12px}html[data-character-workbench=true] .generation-panel .advanced-settings .output-controls{margin:6px 0 14px}html[data-character-workbench=true] .generation-panel .prompt-link{padding:8px 0;font-size:12px}html[data-character-workbench=true] .generation-panel .summary-submit{background:var(--surface);border-top:1px solid var(--line);flex:none;padding:14px 18px 18px}html[data-character-workbench=true] .generation-panel .output-summary{flex-wrap:wrap;font-size:11px;line-height:1.7}html[data-character-workbench=true] .preview-draft-status{color:var(--muted);margin:6px 0 12px;font-size:12px;line-height:1.6}html[data-character-workbench=true] .generation-panel .generate-button{border-radius:8px;min-height:44px}html[data-character-workbench=true] .summary-modal{flex-direction:column;width:min(380px,100vw - 24px);height:min(780px,100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;display:flex;overflow:hidden}html[data-character-workbench=true] .summary-modal>.modal-header{flex:none;padding:18px}html[data-character-workbench=true] .summary-modal .generation-panel{flex:1;height:auto;overflow:hidden}html[data-character-workbench=true] .summary-modal .generation-panel-heading{display:none}html[data-character-workbench=true] .selected-summary-modal{border:1px solid var(--line);background:var(--surface);flex-direction:column;width:min(440px,100vw - 24px);max-height:calc(100dvh - 40px);padding:20px;display:flex;overflow:hidden}html[data-character-workbench=true] .selected-summary-modal>.modal-header{flex:none}html[data-character-workbench=true] .selection-summary{flex-direction:column;min-height:0;display:flex}html[data-character-workbench=true] .selection-summary-heading{color:var(--muted);flex:none;justify-content:space-between;align-items:center;padding:16px 0 12px;font-size:12px;display:flex}html[data-character-workbench=true] .selection-summary-scroll{overscroll-behavior:contain;min-height:0;padding:0 4px 12px;overflow-y:auto}html[data-character-workbench=true] .selection-summary-footer{border-top:1px solid var(--line);flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;display:flex}html[data-character-workbench=true] .selected-group{margin:0 0 12px}html[data-character-workbench=true] .selected-group summary{padding:8px 0}html[data-character-workbench=true] .selected-item{background:0 0;border:0;border-radius:4px;padding:8px 0}html[data-character-workbench=true] .selected-item:hover{background:var(--hover)}html[data-character-workbench=true] .selected-item-value{gap:3px}html[data-character-workbench=true] .selected-item-value strong{white-space:normal;font-size:13px;font-weight:400}html[data-character-workbench=true] .selected-item-actions .icon-button{width:32px;height:32px}html[data-character-workbench=true] .selection-empty{border:0;margin:0;padding:28px 0}html[data-character-workbench=true] .select-content{max-width:min(360px,100vw - 24px)}html[data-character-workbench=true] .select-item{white-space:normal;overflow-wrap:anywhere}@media (width<=1439px){.character-workbench .workspace{grid-template-columns:296px minmax(0,1fr) 280px}}@media (width<=1179px){.character-workbench .workspace{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:296px minmax(0,1fr)}.character-workbench .desktop-summary{display:none}.character-workbench .compact-actions{border-top:1px solid var(--line);background:var(--surface);z-index:auto;grid-column:1/-1;gap:10px;padding:10px 16px;display:flex;position:static}.character-workbench .compact-actions .primary-button{border-radius:8px;min-width:140px;height:42px;margin-left:auto}.character-workbench .compact-actions .secondary-button{border-radius:8px;height:42px}}@media (width<=899px){.character-workbench .workspace{grid-template-columns:minmax(0,1fr)}.character-workbench .mobile-switch{border-bottom:1px solid var(--line);background:var(--surface);flex:none;justify-content:center;padding:5px 12px;display:flex}.character-workbench .mobile-switch button{border-radius:6px;flex:1;max-width:240px;min-height:36px;font-size:12px}.character-workbench .mobile-switch button.active{background:var(--selected);color:var(--text);font-weight:600}.character-workbench .mobile-canvas .editor-panel,.character-workbench .mobile-settings .canvas-panel{display:none}.character-workbench .mobile-settings .editor-panel{border-right:0;grid-area:1/1;display:flex}.character-workbench .canvas-panel{grid-area:1/1}.character-workbench .editor-top{padding:14px 20px 8px}.character-workbench .editor-scroll{padding-inline:20px}.character-workbench .field-value{max-width:none}.character-workbench .compact-actions{grid-row:2}}@media (width<=680px){.character-workbench .compact-actions{padding:10px 12px max(10px, env(safe-area-inset-bottom))}.character-workbench .compact-actions .secondary-button{min-width:112px;padding-inline:12px}html[data-character-workbench=true] .summary-modal{border-radius:14px 14px 0 0;width:100%;max-width:none;height:min(760px,100dvh - 24px);max-height:calc(100dvh - 24px);top:auto;bottom:0;left:0;transform:none}html[data-character-workbench=true] .generation-panel .summary-submit{padding-bottom:max(18px, env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.character-workbench *,html[data-character-workbench=true] .modal{scroll-behavior:auto;transition-duration:.01ms;animation-duration:.01ms}}.workbench-canvas.canvas-panel{background:var(--page);flex-direction:column;grid-area:auto;min-height:0;overflow:hidden}.workbench-canvas .canvas-toolbar{background:0 0;border:0;flex:none;height:48px;min-height:48px;padding:6px 20px}.workbench-canvas .canvas-content{flex:1;align-items:stretch;min-width:0;min-height:0;padding:0 20px 16px;display:flex;overflow:hidden}:is(.workbench-canvas .canvas-sheet,.workbench-canvas .canvas-sheet:has(.canvas-results)){width:100%;min-width:0;max-width:none;height:100%;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;flex:1;padding:0;display:flex}.workbench-canvas .canvas-results{flex-direction:column;flex:1;gap:10px;max-width:none;min-height:0;padding:0;display:flex}.workbench-canvas .canvas-welcome{align-self:center;width:100%;max-width:460px;margin:auto;padding:24px 8px}.workbench-canvas .canvas-welcome>svg{color:var(--muted);margin:0 0 18px}.workbench-canvas .canvas-welcome h1{letter-spacing:-.5px;margin-bottom:12px;font-size:22px;font-weight:550}.workbench-canvas .canvas-welcome>p{color:var(--muted);font-size:13px;line-height:1.9}.workbench-canvas .starter-presets{color:var(--muted);margin-top:24px;font-size:12px}.workbench-canvas .starter-presets summary{cursor:pointer;padding:8px}.workbench-canvas .starter-links{flex-wrap:wrap;justify-content:center;gap:8px 16px;margin-top:10px;display:flex}.workbench-canvas .canvas-generation{min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;gap:10px;padding:0 52px;display:flex;position:relative}.workbench-canvas .canvas-generation .generation-heading{flex:none;gap:8px;min-height:24px;margin:0}.workbench-canvas .canvas-generation .generation-state{color:var(--muted);background:0 0;padding:0}.workbench-canvas .canvas-generation .state-failed,.workbench-canvas .canvas-generation .state-unknown{color:var(--error)}.workbench-canvas .canvas-generation .state-succeeded>svg{display:none}.workbench-canvas .canvas-generation .generated-grid{flex:1;width:100%;min-height:0;margin:0;display:block}.workbench-canvas .canvas-generation .generated-item{overscroll-behavior:contain;background:0 0;border-radius:0;width:100%;height:100%;min-height:0;overflow:hidden}.workbench-canvas .canvas-generation .generated-image-button{background:0 0;border-radius:0;width:100%;height:100%;min-height:0}.workbench-canvas .canvas-generation .generated-image-button.is-pannable{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.workbench-canvas .canvas-generation .generated-image-button[data-dragging=true]{cursor:grabbing}.workbench-canvas .canvas-generation .generated-image-button img{object-fit:contain;transform-origin:50%;pointer-events:none;border-radius:0;width:100%;max-width:none;height:100%;max-height:none}.workbench-canvas .canvas-generation .generation-image-ready{animation-duration:.16s}.workbench-canvas .canvas-generation .image-zoom{display:none}.workbench-canvas .canvas-generation .generation-message{flex:none;max-height:96px;margin:0;font-size:12px;overflow:auto}.workbench-canvas .preview-result-meta{color:var(--muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex-wrap:wrap;flex:none;justify-content:center;align-items:center;gap:4px 12px;font-size:11px;display:flex}.workbench-canvas .preview-toolbar{box-shadow:none;background:0 0;border:0;flex:none;justify-content:center;align-self:center;align-items:center;gap:2px;padding:0;display:flex}.workbench-canvas .preview-toolbar .icon-button{border-radius:5px;width:28px;height:28px}.workbench-canvas .preview-toolbar .icon-button svg{width:15px;height:15px}.workbench-canvas .preview-fit{border-radius:5px;min-width:38px;padding:6px 4px;font-size:11px}.workbench-canvas .preview-fit:hover{background:var(--hover)}.workbench-canvas .preview-side-toolbar{border:1px solid var(--line);background:var(--surface);width:48px;max-height:100%;box-shadow:var(--shadow-soft);z-index:2;border-radius:10px;padding:5px 3px;display:flex;position:absolute;top:50%;right:0;transform:translateY(-50%)}.workbench-canvas .preview-side-tool-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;align-items:center;gap:4px;width:100%;min-height:0;display:flex;overflow:hidden auto}.workbench-canvas .preview-side-toolbar .icon-button{border-radius:6px;flex:none;width:34px;height:34px}.workbench-canvas .preview-side-toolbar .generation-actions,.workbench-canvas .preview-side-toolbar .generation-secondary-actions,.workbench-canvas .compact-asset-actions>div{flex-direction:column;flex:none;align-items:center;gap:4px;width:100%;margin:0;padding:0;display:flex}.workbench-canvas .preview-side-toolbar .generation-secondary-actions{border-top:1px solid var(--line);margin-top:4px;padding-top:7px}.workbench-canvas .compact-asset-actions{border:0;width:100%;margin:0;padding:0}.workbench-canvas .side-tool-divider{background:var(--line);flex:none;width:24px;height:1px;margin-block:4px}.workbench-canvas .preview-image-picker{flex:none;justify-content:center;gap:8px;display:flex}.workbench-canvas .preview-image-picker button{border:1px solid var(--line);border-radius:5px;width:38px;height:38px;padding:2px;overflow:hidden}.workbench-canvas .preview-image-picker button[aria-pressed=true]{border-color:var(--text)}.workbench-canvas .preview-image-picker img{object-fit:cover;width:100%;height:100%}.workbench-canvas .generation-recent{border-top:1px solid var(--line);flex-wrap:nowrap;flex:none;align-items:center;gap:6px;min-height:48px;margin:0;padding:8px 0 0;display:flex;overflow-x:auto}.workbench-canvas .generation-recent>span{width:auto;color:var(--muted);margin:0 4px 0 0;font-size:11px}.workbench-canvas .generation-recent>*{flex-shrink:0}.workbench-canvas .generation-recent>button:not(.text-button){border-radius:5px;width:38px;height:38px}.workbench-canvas .generation-recent .text-button{margin-left:auto;font-size:11px}.workbench-canvas .canvas-task-notice{color:var(--muted);flex:none;align-items:center;gap:8px;padding:6px 0;font-size:12px;display:flex}.workbench-canvas .canvas-task-notice>span:not(.generation-spinner){overflow-wrap:anywhere;flex:1;max-height:60px;overflow-y:auto}@media (width<=1439px){.workbench-canvas .canvas-content{padding-inline:16px}}@media (width<=680px){.workbench-canvas .canvas-toolbar{height:40px;min-height:40px;padding:4px 14px}.workbench-canvas .canvas-content{padding:0 12px 12px}.workbench-canvas .canvas-welcome h1{font-size:20px}.workbench-canvas .generation-recent>span{display:none}.workbench-canvas .preview-result-meta{gap:4px 8px}}@media (prefers-reduced-motion:reduce){.workbench-canvas *{scroll-behavior:auto;transition-duration:.01ms;animation-duration:.01ms}}.account-page{background:var(--page);place-items:center;min-height:100dvh;padding:40px 24px;display:grid}.account-card{width:min(100%,400px)}.account-brand{align-items:center;gap:10px;margin-bottom:42px;font-weight:650;display:flex}.account-brand span span{color:var(--muted);margin-left:8px;font-weight:400}.account-brand>img{object-fit:contain;background:0 0;border-radius:6px;flex:none}.account-card h1{letter-spacing:-.04em;margin:0 0 12px;font-size:28px}.account-card p{color:var(--muted);margin:0 0 24px;line-height:1.7}.account-card form{gap:18px;margin-top:30px;display:grid}.account-card label{gap:8px;font-size:13px;display:grid}.account-card input{background:var(--surface);border-radius:12px;width:100%;height:46px;padding:10px 14px}.account-card .primary{border-radius:24px;justify-content:center;align-items:center;width:100%;min-height:46px;margin-top:8px;display:flex}.account-text-button{text-align:center;text-underline-offset:4px;margin:20px auto 0;text-decoration:underline;display:block}.account-card .account-footnote{text-align:center;margin-top:20px;font-size:12px}.account-talk-link{text-align:center;color:var(--muted);margin-top:34px;font-size:13px;display:block}.account-error{color:var(--error,#b42318);margin-top:20px;font-size:13px}.account-notice{background:var(--surface);border-bottom:1px solid var(--line);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:10px;padding:10px 20px;display:flex}.account-notice>span{overflow-wrap:anywhere;flex:220px}.account-notice button{text-decoration:underline}.account-avatar{border:1px solid var(--line);background:var(--surface);border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;padding:0;display:grid}.account-profile p{color:var(--muted)}@media (width<=767px){.account-page{padding:32px 24px}.account-brand{margin-bottom:30px}}.studio-workbench{--studio-settings-width:376px;color:var(--text);background:var(--page)}.studio-workbench .workspace,.studio-workbench.character-workbench .workspace,.studio-workbench .workspace.general-workspace{grid-template-columns:var(--studio-settings-width) minmax(0, 1fr);grid-template-rows:minmax(0,1fr);min-width:0;padding:0;display:grid;overflow:hidden}.studio-workbench .studio-settings-column{border-right:1px solid var(--line);background:var(--surface);grid-area:1/1;min-width:0;height:100%;min-height:0;overflow:hidden}.studio-workbench .studio-settings-panel{background:var(--surface);border:0;flex-direction:column;min-width:0;height:100%;min-height:0;display:flex}.studio-workbench .studio-settings-panel .generation-settings-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;padding:24px 22px 20px;scroll-padding-block:24px;overflow:auto}.studio-workbench .studio-settings-panel .generation-settings-fields{padding-top:0}.studio-workbench .studio-editor+.generation-settings-fields{border-top:1px solid var(--line);margin-top:8px}.studio-workbench .studio-settings-panel h3{font-size:14px;font-weight:600;line-height:1.5}.studio-workbench .generation-description-block{padding-top:18px}.studio-workbench .generation-description-block>h3,.studio-workbench .generation-parameters-block>h3{margin:0 0 12px}.studio-workbench .studio-settings-panel textarea{border:1px solid var(--line);background:var(--surface);resize:vertical;border-radius:8px;min-height:88px;padding:11px 12px;font-size:13px;line-height:1.65}.studio-workbench .studio-settings-panel textarea:focus,.studio-workbench .studio-settings-panel input:focus{border-color:var(--focus)}.studio-workbench .description-counter{margin-top:5px;font-size:10px}.studio-workbench .studio-settings-panel .exclude-details{margin:8px 0 16px}.studio-workbench .studio-settings-panel .exclude-details summary{min-height:30px;color:var(--muted);padding-block:6px;font-size:12px}.studio-workbench .generation-parameters-block{border-top:1px solid var(--line);padding-top:17px}.studio-workbench .studio-parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;display:grid}.studio-workbench .studio-parameter-grid .output-model{grid-column:1/-1;min-width:0;margin:0}.studio-workbench .studio-parameter-grid .model-description,.studio-workbench .studio-parameter-grid .output-controls{grid-column:1/-1}.studio-workbench .studio-parameter-grid .model-description{color:var(--muted);margin:0;font-size:11px;line-height:1.6}.studio-workbench .studio-settings-panel .output-model>span{min-height:22px;color:var(--muted);margin:0 0 5px;font-size:12px}.studio-workbench .studio-settings-panel .select-trigger{border:1px solid var(--line);background:var(--surface);border-radius:7px;width:100%;min-width:0;height:auto;min-height:36px;padding:7px 10px;font-size:13px;line-height:1.4}.studio-workbench .studio-settings-panel .select-trigger:hover,.studio-workbench .studio-settings-panel .select-trigger:focus-visible{border-color:var(--border-strong);background:var(--soft)}.studio-workbench .studio-settings-panel .custom-style-toggle{min-height:22px;color:var(--muted);margin-top:3px;font-size:10px}.studio-workbench .studio-editor .generation-style{min-width:0;margin:0;padding:0}.generation-style .generation-style-content{padding-bottom:14px}.generation-style .generation-style-content[hidden]{display:none}.studio-workbench .studio-settings-panel .output-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px;margin:0;display:grid}.studio-workbench .studio-settings-panel .output-field{gap:5px;min-width:0;font-size:12px}.studio-workbench .studio-settings-panel .output-dimensions small{min-height:36px;color:var(--muted);font-variant-numeric:tabular-nums;align-items:center;font-size:11px;display:flex}.studio-workbench .studio-settings-panel .advanced-settings{border:0;margin:12px 0 0;padding-top:0}.studio-workbench .studio-settings-panel .advanced-settings>summary{color:var(--muted);padding:7px 0;font-size:12px}.studio-workbench .studio-settings-panel .summary-submit{border-top:1px solid var(--line);background:var(--surface);flex:none;padding:13px 22px 20px}.studio-workbench .studio-settings-panel .output-summary{display:none}.studio-workbench .studio-settings-panel .generate-button{border:1px solid var(--primary-border);background:var(--primary-fill);width:100%;min-height:48px;color:var(--primary-text);box-shadow:none;border-radius:9px;justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.studio-workbench .studio-settings-panel .generate-button:hover:not(:disabled){background:var(--primary-hover)}.studio-workbench .studio-settings-panel .generate-button>svg{flex:none;position:static}.studio-workbench .studio-settings-panel .generate-button:disabled{background:var(--wb-disabled);color:var(--wb-disabled-text);opacity:1}.studio-workbench .general-panel .summary-heading{padding:24px 22px 20px}.studio-workbench .general-panel h2{font-size:18px}.studio-workbench .studio-settings-panel.general-panel .summary-body{overscroll-behavior:contain;scrollbar-width:thin;padding:0 22px 22px;display:block;overflow:auto}.studio-workbench .general-panel .general-description{margin:0;padding:0}.studio-workbench .general-panel .general-description textarea{min-height:160px}.studio-workbench .general-panel .summary-bottom{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.studio-workbench .general-panel .summary-bottom>h3{margin:0 0 15px}.studio-workbench .general-panel .output-model{margin-bottom:15px}.studio-workbench .workbench-canvas{background:var(--page);grid-area:1/2}.studio-workbench .workbench-canvas .canvas-toolbar{height:60px;min-height:60px;padding:12px 28px 4px}.studio-workbench .canvas-mode-label{color:var(--text);font-size:14px;font-weight:600}.studio-workbench .workbench-canvas .canvas-content{padding:0 28px 22px}.studio-workbench .workbench-canvas .canvas-results{gap:12px}.studio-workbench .workbench-canvas .generation-heading{min-height:20px;color:var(--muted);margin-bottom:6px;font-size:12px}.studio-workbench .workbench-canvas .generation-heading time{font-size:11px}.studio-workbench .workbench-canvas .generation-state{color:var(--muted)}.studio-workbench .workbench-canvas .canvas-generation{padding:0 66px 0 0}.studio-workbench .workbench-canvas .preview-side-toolbar{width:42px;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;padding:0}.studio-workbench .workbench-canvas .preview-side-tool-scroll,.studio-workbench .workbench-canvas .preview-side-toolbar .generation-actions,.studio-workbench .workbench-canvas .preview-side-toolbar .generation-secondary-actions{gap:10px}.studio-workbench .workbench-canvas .preview-side-toolbar .icon-button{border:1px solid var(--line);width:40px;height:40px;color:var(--text);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:50%}.studio-workbench .workbench-canvas .preview-side-toolbar .animated-action{border-radius:50%}.studio-workbench .workbench-canvas .preview-side-toolbar .icon-button:hover{background:var(--selected);color:var(--ink)}.studio-workbench .workbench-canvas .preview-side-toolbar .icon-button svg{width:20px;height:20px}.studio-workbench .workbench-canvas .preview-side-toolbar .generation-secondary-actions{border:0;margin-top:0;padding-top:0}.studio-workbench .workbench-canvas .preview-side-toolbar .side-tool-divider{background:0 0;height:2px;margin:0}.studio-workbench .workbench-canvas .preview-toolbar{box-shadow:none;background:0 0;border:0;gap:5px}.studio-workbench .workbench-canvas .preview-toolbar .icon-button{background:0 0;border:0;width:28px;height:28px}.studio-workbench .workbench-canvas .generation-recent{align-items:center;gap:12px;min-height:96px;padding-top:16px}.studio-workbench .workbench-canvas .generation-recent>span{color:var(--text);align-self:flex-start;padding-top:7px;font-size:12px;font-weight:500}.studio-workbench .workbench-canvas .generation-recent>button:not(.text-button){background:0 0;border:1px solid #0000;border-radius:7px;width:68px;height:82px;padding:3px}.studio-workbench .workbench-canvas .generation-recent>button[aria-pressed=true]{border-color:var(--ink);background:var(--selected)}.studio-workbench .workbench-canvas .generation-recent img{border-radius:4px}.studio-workbench .workbench-canvas .canvas-welcome{max-width:370px;padding:32px 12px}.studio-workbench .workbench-canvas .canvas-welcome>svg{color:var(--ink)}.studio-workbench .workbench-canvas .canvas-welcome h1{color:var(--text);letter-spacing:-.025em;font-size:24px}.studio-workbench .workbench-canvas .canvas-welcome p{color:var(--muted);line-height:1.8}.studio-workbench .compact-actions,.studio-workbench.character-workbench .compact-actions,.studio-workbench .general-workspace .compact-actions{display:none}.studio-workbench .draft-save-status{color:var(--ink);font-size:11px}.studio-workbench .draft-save-status.error-text{color:var(--error)}.studio-workbench .library-page,.studio-workbench .image-library{background:var(--page)}.studio-workbench .library-page{padding:30px 32px}.studio-workbench .plan-card,.studio-workbench .template-card{background:var(--surface);border-color:var(--line);box-shadow:none}.studio-workbench .primary-button,.modal .primary-button,.modal .generation-panel .generate-button,.modal .general-panel .generate-button{border:1px solid var(--primary-border);background:var(--primary-fill);color:var(--primary-text);box-shadow:none;border-radius:8px}.studio-workbench .primary-button:hover:not(:disabled),.modal .primary-button:hover:not(:disabled),.modal .generation-panel .generate-button:hover:not(:disabled),.modal .general-panel .generate-button:hover:not(:disabled){background:var(--primary-hover)}.studio-workbench .primary-button:disabled,.modal .primary-button:disabled,.modal .generation-panel .generate-button:disabled,.modal .general-panel .generate-button:disabled{background:var(--wb-disabled);color:var(--wb-disabled-text);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.studio-workbench .studio-editor .panel-title{display:flex}.modal .generation-panel .generate-button>svg,.modal .general-panel .generate-button>svg{flex:none;position:static}.studio-workbench .studio-editor .text-options .option.is-selected,.studio-workbench .mobile-switch button.active{border-color:var(--border-strong);background:var(--selected);color:var(--ink);box-shadow:none}.studio-workbench .secondary-button{background:var(--surface);border-color:var(--line);border-radius:8px}.studio-workbench .image-library-views button[aria-pressed=true]{background:var(--selected);color:var(--ink);box-shadow:none}.studio-workbench .image-storage-status progress{accent-color:var(--ink)}.studio-workbench .image-storage-status progress::-webkit-progress-value{background:var(--ink)}.studio-workbench .image-storage-status progress::-moz-progress-bar{background:var(--ink)}@media (width<=1100px){.studio-workbench{--studio-settings-width:336px}.studio-workbench .workbench-canvas .canvas-toolbar,.studio-workbench .workbench-canvas .canvas-content{padding-inline:20px}.studio-workbench .studio-settings-panel .generation-settings-scroll,.studio-workbench .studio-settings-panel .summary-submit{padding-inline:18px}}@media (width<=767px){.studio-workbench .workspace,.studio-workbench.character-workbench .workspace,.studio-workbench .workspace.general-workspace{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.studio-workbench .mobile-switch{border-bottom:1px solid var(--line);background:var(--surface);flex:none;justify-content:center;align-items:stretch;gap:6px;height:48px;min-height:48px;padding:5px 12px;display:flex}.studio-workbench .mobile-switch button{color:var(--muted);border-radius:7px;flex:1;font-size:12px}.studio-workbench .mobile-switch button.active{background:var(--selected);color:var(--ink)}.studio-workbench .studio-settings-column,.studio-workbench .workbench-canvas{grid-area:1/1}.studio-workbench .studio-settings-column{border-right:0}.studio-workbench .mobile-canvas>.studio-settings-column,.studio-workbench .mobile-settings>.workbench-canvas{display:none}.studio-workbench .mobile-settings>.studio-settings-column,.studio-workbench .mobile-canvas>.workbench-canvas{min-height:0;display:flex}.studio-workbench .studio-settings-panel{width:100%}.studio-workbench .workbench-canvas .canvas-toolbar{height:42px;min-height:42px;padding:4px 14px}.studio-workbench .workbench-canvas .canvas-content{padding:0 12px 12px}.studio-workbench .workbench-canvas .canvas-generation{padding:0 46px 0 0}.studio-workbench .workbench-canvas .preview-side-toolbar{width:36px}.studio-workbench .workbench-canvas .preview-side-toolbar .icon-button{width:34px;height:34px}.studio-workbench .workbench-canvas .preview-side-tool-scroll,.studio-workbench .workbench-canvas .preview-side-toolbar .generation-actions,.studio-workbench .workbench-canvas .preview-side-toolbar .generation-secondary-actions{gap:6px}.studio-workbench .workbench-canvas .generation-recent{gap:8px;min-height:68px;padding-top:9px}.studio-workbench .workbench-canvas .generation-recent>button:not(.text-button){width:43px;height:53px}.studio-workbench .mobile-canvas .compact-actions{padding:10px 12px max(10px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);grid-area:2/1;gap:8px;display:flex;position:static}.studio-workbench .mobile-canvas{grid-template-rows:minmax(0,1fr) auto}.studio-workbench .mobile-canvas .compact-actions .primary-button{background:var(--primary-fill);color:var(--primary-text);flex:1;min-width:0;max-width:none;min-height:40px;padding-inline:12px}.studio-workbench .mobile-canvas .compact-actions .secondary-button{white-space:nowrap;text-overflow:ellipsis;flex:0 auto;min-width:0;padding-inline:10px;overflow:hidden}.studio-workbench .mobile-canvas .compact-actions .icon-button{flex:none;margin-left:0}.studio-workbench .mobile-settings .compact-actions{display:none}.studio-workbench .library-page{padding:20px 16px}}@media (width>=768px){.studio-workbench .mobile-switch{display:none}.studio-workbench .workspace .workbench-canvas{display:flex}.studio-workbench .workspace .studio-editor{display:block}}
