.creation-shell{height:calc(100vh - 78px);height:calc(100dvh - 78px);min-height:0;display:grid;grid-template-columns:218px minmax(0,1fr);overflow:hidden;border-top:1px solid rgba(31,25,42,.02);background:#f4f3f0}.creation-sidebar{position:relative;z-index:4;height:100%;min-height:0;display:flex;flex-direction:column;gap:24px;overflow-x:hidden;overflow-y:auto;padding:24px 16px 18px;border-right:1px solid rgba(31,25,42,.08);background:#faf9f7e6}.creation-sidebar-heading{display:flex;align-items:center;gap:11px;padding:0 7px}.creation-sidebar-mark{width:36px;height:36px;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border-radius:11px;color:#fff;background:linear-gradient(135deg,#6544d5,#8c64ec 65%,#ee916f);box-shadow:0 8px 20px #6243cb33}.creation-sidebar-mark svg,.creation-menu-title-icon svg,.creation-submenu-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.creation-sidebar-heading strong,.creation-sidebar-heading small{display:block}.creation-sidebar-heading strong{color:#29252e;font-size:14px;letter-spacing:-.02em}.creation-sidebar-heading small{margin-top:2px;color:#9a949e;font-size:9px;letter-spacing:.08em}.creation-menu,.creation-menu-group{display:flex;flex-direction:column;gap:6px}.creation-menu-loading,.creation-menu-error,.creation-menu-empty{margin:2px 4px;padding:13px 11px;border:1px solid rgba(31,25,42,.075);border-radius:11px;color:#8f8893;background:#ffffff8f;font-size:9px;line-height:1.55}.creation-menu-loading{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.creation-menu-loading span{height:4px;border-radius:999px;background:#ddd7e7;animation:creation-loading 1.1s ease-in-out infinite alternate}.creation-menu-loading span:nth-child(2){animation-delay:.15s}.creation-menu-loading span:nth-child(3){animation-delay:.3s}.creation-menu-loading small{grid-column:1 / -1;margin-top:4px}.creation-menu-error{display:flex;flex-direction:column;gap:5px}.creation-menu-error strong{color:#6d5961;font-size:10px}.creation-menu-error small{overflow-wrap:anywhere}.creation-menu-error button,.creation-content-state button,.creation-view-state button{width:max-content;margin-top:4px;padding:6px 10px;border:1px solid rgba(109,75,234,.16);border-radius:8px;color:#6044bc;background:#6d4bea12;font-size:9px;font-weight:700}.creation-menu-title{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:6px 8px;border:0;border-radius:11px;color:#49434f;background:transparent;font-size:13px;font-weight:720;text-align:left;transition:background .2s,color .2s}.creation-menu-title:hover,.creation-menu-title[aria-expanded=true]{color:#3f315c;background:#6d4bea11}.creation-menu-title-icon{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#7258bd;background:#6d4bea16}.creation-menu-title>span:nth-child(2){flex:1}.creation-menu-chevron{width:15px;height:15px;fill:none;stroke:#918a96;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .2s}.creation-menu-chevron.open{transform:rotate(180deg)}.creation-submenu{padding:2px 0 0 19px}.creation-submenu-link{width:100%;min-height:40px;display:flex;align-items:center;gap:9px;padding:7px 9px 7px 13px;border:1px solid transparent;border-radius:10px;color:#716b76;font-size:12px;font-weight:650;text-decoration:none;transition:border-color .2s,color .2s,background .2s,box-shadow .2s}button.creation-submenu-link{text-align:left}.creation-submenu-link.is-disabled{border-color:transparent;color:#aaa4ad;background:transparent;cursor:not-allowed}.creation-submenu-link.is-disabled small{flex:0 0 auto;padding:2px 5px;border-radius:999px;color:#9d96a1;background:#eeecef;font-size:7px}.creation-submenu-link>span:nth-child(2){flex:1}.creation-submenu-link>svg{width:14px;height:14px;opacity:0;transform:translate(-3px);transition:opacity .2s,transform .2s}.creation-submenu-link:hover{color:#49376c;background:#ffffffb8}.creation-submenu-link.router-link-active{border-color:#6445c521;color:#5638b6;background:#fff;box-shadow:0 5px 18px #2f224412}.creation-submenu-link.router-link-active>svg{opacity:1;transform:translate(0)}.creation-submenu-dot{width:6px;height:6px;border-radius:50%;background:#c7c1cb;transition:box-shadow .2s,background .2s}.creation-submenu-link.router-link-active .creation-submenu-dot{background:#6d4bea;box-shadow:0 0 0 4px #6d4bea1c}.creation-sidebar-note{display:flex;align-items:flex-start;gap:9px;margin-top:auto;padding:12px;border:1px solid rgba(109,75,234,.08);border-radius:13px;color:#7059b1;background:linear-gradient(135deg,#6d4bea0e,#f47a4c0b)}.creation-sidebar-note>span{margin-top:1px;font-size:12px}.creation-sidebar-note p{margin:0}.creation-sidebar-note strong,.creation-sidebar-note small{display:block}.creation-sidebar-note strong{font-size:10px}.creation-sidebar-note small{margin-top:4px;color:#96909a;font-size:9px;line-height:1.55}.creation-content{height:100%;min-width:0;min-height:0;overflow:hidden}.creation-content-state,.creation-view-state{height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;color:#8e8792;text-align:center}.creation-content-state strong,.creation-view-state strong{margin-top:13px;color:#3e3744;font-size:15px}.creation-content-state p,.creation-view-state p{margin:7px 0 0;font-size:10px;line-height:1.65}.creation-state-spinner{width:30px;height:30px;border:3px solid rgba(109,75,234,.12);border-top-color:#7352d3;border-radius:50%;animation:creation-spin .8s linear infinite}.creation-state-error-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#b23d51;background:#fae9ec;font-size:17px;font-weight:800}@keyframes creation-loading{0%{opacity:.35;transform:scaleX(.76)}to{opacity:1;transform:scaleX(1)}}@keyframes creation-spin{to{transform:rotate(360deg)}}.tryon-workspace{height:100%;min-height:0;display:grid;grid-template-columns:minmax(370px,430px) minmax(440px,1fr);gap:14px;padding:14px;overflow:hidden}.tryon-config-panel,.tryon-result-panel{min-width:0;min-height:0;overflow:hidden;border:1px solid rgba(31,25,42,.09);border-radius:19px;background:#ffffffde;box-shadow:0 6px 24px #251a350b}.tryon-config-panel{display:flex;flex-direction:column}.tryon-config-header{display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid rgba(31,25,42,.075);background:#fcfbf9e6}.tryon-tool-icon{width:40px;height:40px;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border-radius:12px;color:#fff;background:linear-gradient(145deg,#6041cc,#8460e7 60%,#ed9372);box-shadow:0 8px 18px #6141cb33}.tryon-tool-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.55}.tryon-config-header>div:last-child{min-width:0}.tryon-title-row{display:flex;align-items:center;gap:8px}.tryon-title-row h1{margin:0;color:#252129;font-size:17px;letter-spacing:-.025em}.prototype-badge{padding:4px 7px;border-radius:999px;color:#6b4ec1;background:#eee9fb;font-size:8px;font-weight:750}.tryon-config-header p{margin:4px 0 0;overflow:hidden;color:#96909a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.tryon-form{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;padding:18px;scrollbar-color:rgba(105,93,115,.2) transparent;scrollbar-width:thin}.tryon-form::-webkit-scrollbar{width:6px}.tryon-form::-webkit-scrollbar-thumb{border-radius:20px;background:#695d732e}.tryon-form-section{margin-bottom:22px;scroll-margin-top:14px}.tryon-form-section:last-of-type{margin-bottom:18px}.model-section{padding-bottom:18px;border-bottom:1px solid rgba(31,25,42,.065)}.model-select-wrap{position:relative}.model-select-wrap select{width:100%;height:42px;appearance:none;padding:0 38px 0 12px;border:1px solid rgba(31,25,42,.12);border-radius:11px;outline:0;color:#403849;background:#fffc;font-size:11px;font-weight:650;transition:border-color .2s,box-shadow .2s}.model-select-wrap select:focus{border-color:#6d4bea7a;box-shadow:0 0 0 3px #6d4bea14}.model-select-wrap select:disabled{color:#5d5564;opacity:1;cursor:default}.model-select-wrap>svg{position:absolute;top:50%;right:12px;width:15px;height:15px;fill:none;stroke:#8f8794;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;pointer-events:none;transform:translateY(-50%)}.ratio-select{position:relative;z-index:8}.ratio-select-trigger{width:100%;height:42px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid rgba(31,25,42,.12);border-radius:11px;outline:0;color:#403849;background:#ffffffd6;font-size:11px;font-weight:650;text-align:left;transition:border-color .2s,box-shadow .2s,background .2s}.ratio-select-trigger:hover,.ratio-select.is-open .ratio-select-trigger{border-color:#6d4bea57;background:#fff}.ratio-select-trigger:focus-visible{border-color:#6d4bea7a;box-shadow:0 0 0 3px #6d4bea14}.ratio-select-value{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ratio-select-chevron{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:#8f8794;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .2s}.ratio-select-chevron.open{transform:rotate(180deg)}.ratio-select-menu{position:absolute;z-index:40;top:calc(100% + 6px);right:0;left:0;overflow-x:hidden;overflow-y:auto;padding:5px;border:1px solid rgba(31,25,42,.1);border-radius:12px;background:#fffffffa;box-shadow:0 14px 34px #2a1d3d24;scrollbar-color:rgba(105,93,115,.2) transparent;scrollbar-width:thin;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.ratio-select.opens-up .ratio-select-menu{top:auto;bottom:calc(100% + 6px)}.ratio-select-option{width:100%;min-height:38px;display:grid;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:5px 9px;border:0;border-radius:8px;color:#69616f;background:transparent;font-size:10px;font-weight:620;text-align:left}.ratio-select-option.highlighted{color:#4f37a8;background:#6d4bea12}.ratio-select-option.selected{color:#5d3dbd;background:#6d4bea1a}.ratio-select-option>svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ratio-visual{width:18px;height:18px;display:inline-block;justify-self:center;flex:0 0 auto;border:1.5px solid currentColor;border-radius:2px;color:#80778a;opacity:.86}.ratio-select-option.selected .ratio-visual,.ratio-select.is-open .ratio-select-trigger .ratio-visual{color:#6748c7}.ratio-visual.is-auto{width:18px;height:18px;border-style:dashed;border-radius:5px}.ratio-menu-enter-active,.ratio-menu-leave-active{transition:opacity .14s,transform .14s;transform-origin:top center}.ratio-select.opens-up .ratio-menu-enter-active,.ratio-select.opens-up .ratio-menu-leave-active{transform-origin:bottom center}.ratio-menu-enter-from,.ratio-menu-leave-to{opacity:0;transform:translateY(-4px) scale(.985)}.ratio-select.opens-up .ratio-menu-enter-from,.ratio-select.opens-up .ratio-menu-leave-to{transform:translateY(4px) scale(.985)}.auto-ratio-status{margin:7px 2px 0;color:#6547c5;font-size:9px;font-weight:600}.auto-ratio-status.is-waiting{color:#99929d;font-weight:500}.tryon-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.tryon-label-row>div{display:flex;align-items:center;gap:6px;min-width:0}.tryon-label-row strong{color:#39333e;font-size:12px}.tryon-label-icon{width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;color:#7f7685;font-size:13px}.tryon-label-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.required-mark,.optional-mark{padding:2px 5px;border-radius:5px;font-size:8px;font-weight:700}.required-mark{color:#a94052;background:#fae9ec}.optional-mark{color:#86808a;background:#eeecef}.field-hint{overflow:hidden;color:#9e98a1;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.asset-count{color:#9d96a1;font-size:8px}.image-dropzone{position:relative;min-height:112px;display:flex;align-items:center;justify-content:center;gap:12px;overflow:hidden;padding:15px;border:1px dashed rgba(80,68,89,.28);border-radius:13px;background:#f8f7f5b8;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}.image-dropzone:hover,.image-dropzone.is-dragging{border-color:#6d4bea8c;background:#6d4bea0b;box-shadow:inset 0 0 0 1px #6d4bea0f}.image-dropzone.has-error{border-color:#c1374c80;background:#c1374c06}.image-dropzone.has-assets{min-height:180px;padding:0;border-style:solid;background:#eeeae7}.image-dropzone>input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.dropzone-icon{width:40px;height:40px;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid rgba(31,25,42,.075);border-radius:11px;color:#807786;background:#fff;box-shadow:0 4px 14px #261c320e}.dropzone-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.dropzone-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.dropzone-copy strong{color:#4d4652;font-size:11px}.dropzone-copy small{overflow:hidden;color:#aaa4ad;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.image-dropzone.has-image{height:180px;padding:0;border-style:solid;background:#eeeae7}.image-dropzone.has-image>img{width:100%;height:100%;display:block;object-fit:contain}.image-preview-overlay{position:absolute;right:0;bottom:0;left:0;padding:20px 12px 10px;color:#fff;background:linear-gradient(transparent,#17121cb8);font-size:9px;text-align:center;opacity:0;transition:opacity .2s}.image-dropzone.has-image:hover .image-preview-overlay{opacity:1}.asset-preview-grid{position:absolute;inset:0;display:grid;grid-template-columns:1fr;gap:2px;overflow:hidden;background:#e8e3e1}.asset-preview-grid.is-multiple{grid-template-columns:repeat(2,minmax(0,1fr));overflow-y:auto}.asset-preview-item{position:relative;min-width:0;min-height:88px;overflow:hidden;background:#ddd6d4}.asset-preview-item>img,.asset-preview-item>video{width:100%;height:100%;display:block;object-fit:contain}.asset-preview-item>small{position:absolute;right:6px;bottom:6px;left:6px;overflow:hidden;padding:4px 6px;border-radius:6px;color:#fff;background:#20192594;font-size:7px;text-overflow:ellipsis;white-space:nowrap;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.asset-upload-status{position:absolute;top:8px;left:8px;z-index:4;padding:4px 7px;border-radius:999px;color:#fff;background:#2f2737b8;font-size:8px;line-height:1;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.asset-upload-status.is-uploading:before{content:"";width:7px;height:7px;display:inline-block;margin-right:4px;border:1px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;vertical-align:-1px;animation:creation-spin .8s linear infinite}.asset-upload-status.is-ready{background:#1e8b64d1}.asset-upload-status.is-error{background:#b52f45db}.asset-retry-button{position:absolute;top:40px;left:8px;z-index:4;padding:5px 9px;border:1px solid rgba(255,255,255,.46);border-radius:7px;color:#fff;background:#3d3044c2;font-size:8px;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.asset-retry-button:hover{background:#6d4beae6}.asset-file-icon{height:100%;display:flex;align-items:center;justify-content:center;color:#7057b5;font-size:34px}.asset-preview-grid .image-preview-overlay{z-index:3}.image-dropzone.has-assets:hover .image-preview-overlay{opacity:1}.asset-preview-item .image-remove-button{z-index:4}.image-remove-button{position:absolute;top:8px;right:8px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.34);border-radius:50%;color:#fff;background:#1d17229e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:18px;line-height:1}.image-remove-button:hover{background:#ae293cdb}.field-error{margin:6px 2px 0;color:#b52f45;font-size:9px}.tryon-textarea{width:100%;min-height:116px;display:block;padding:12px 13px;resize:vertical;border:1px solid rgba(31,25,42,.13);border-radius:12px;outline:0;color:#332d37;background:#fffc;font-size:11px;line-height:1.7;transition:border-color .2s,box-shadow .2s}.tryon-textarea:focus{border-color:#6d4bea7a;box-shadow:0 0 0 3px #6d4bea14}.tryon-textarea::placeholder{color:#aaa4ae}.prompt-token-editor{overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}.prompt-token-editor.is-single-line{min-height:42px;height:42px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;line-height:16px;resize:none}.prompt-token-editor:empty:before{color:#aaa4ae;content:attr(data-placeholder);pointer-events:none}.prompt-inline-token{display:inline-flex;align-items:center;margin:0 2px;padding:1px 6px;border:1px solid rgba(109,75,234,.28);border-radius:6px;color:#6049b7;background:#6d4bea17;font-weight:600;line-height:1.45;vertical-align:baseline;cursor:default;-webkit-user-select:all;user-select:all}.prompt-inline-token::selection{color:#fff;background:#6d4bea}.prompt-tags{display:flex;align-items:center;gap:5px;margin-top:7px}.prompt-tags button{appearance:none;padding:3px 6px;border:1px solid rgba(31,25,42,.075);border-radius:6px;color:#8c8590;background:#f8f7f5d1;font-family:inherit;font-size:8px;line-height:inherit;cursor:pointer;transition:color .18s ease,border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}.prompt-tags button:hover{color:#6550bd;border-color:#6d4bea3d;background:#6d4bea14}.prompt-tags button:active{transform:translateY(1px)}.prompt-tags button:focus-visible{color:#5c46b5;border-color:#6d4bea6b;outline:0;box-shadow:0 0 0 3px #6d4bea1a}.prompt-tags small{margin-left:auto;color:#aaa4ad;font-size:8px}.prompt-history-trigger{min-height:10px;display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:0 0 auto;padding:2px 3px;border:1px solid transparent;border-radius:999px;color:#766c83;background:transparent;font:500 9px/1 inherit;cursor:pointer;transition:color .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}.prompt-history-trigger svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.prompt-history-trigger:hover{color:#6245c5;border-color:transparent;background:#6d4bea17}.prompt-history-trigger:focus-visible{outline:0;border-color:transparent;background:#6d4bea17;box-shadow:0 0 0 3px #6d4bea1a}.prompt-history-overlay{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:22px;background:#18141f75;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.prompt-history-dialog{width:min(660px,100%);max-height:min(760px,calc(100dvh - 44px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(57,44,82,.13);border-radius:18px;background:#fffefa;box-shadow:0 28px 70px #1f182d3d}.prompt-history-header{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex:0 0 auto;padding:0 20px;border-bottom:1px solid rgba(31,25,42,.07)}.prompt-history-header>div{min-width:0;display:flex;align-items:center;gap:8px}.prompt-history-header h2{margin:0;color:#302a36;font-size:16px;font-weight:700}.prompt-history-header small{color:#a39ba9;font-size:11px}.prompt-history-title-icon{width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;color:#6d4bea;border-radius:8px;background:#6d4bea17}.prompt-history-title-icon svg,.prompt-history-close svg,.prompt-history-tip svg,.prompt-history-state>svg,.prompt-favorite-button svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.prompt-history-title-icon svg{width:15px;height:15px}.prompt-history-close{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:9px;color:#8e8793;background:transparent;cursor:pointer}.prompt-history-close svg{width:18px;height:18px}.prompt-history-close:hover{color:#4f4656;background:#1f192a0e}.prompt-history-close:focus-visible,.prompt-favorite-button:focus-visible,.prompt-history-content:focus-visible{outline:0;box-shadow:0 0 0 3px #6d4bea21}.prompt-history-tip{min-height:38px;display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:8px 20px;color:#8f8795;border-bottom:1px solid rgba(31,25,42,.055);background:#f9f8f6e0;font-size:10px}.prompt-history-tip svg{width:14px;height:14px;flex:0 0 auto}.prompt-history-alert{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;margin:12px 16px 0;padding:9px 11px;color:#a14e4e;border:1px solid rgba(196,84,84,.16);border-radius:9px;background:#ffefefd1;font-size:10px}.prompt-history-alert button{padding:3px 8px;border:1px solid rgba(161,78,78,.18);border-radius:6px;color:inherit;background:#fff;font:inherit;cursor:pointer}.prompt-history-body{min-height:250px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(109,75,234,.22) transparent}.prompt-history-list{display:flex;flex-direction:column;gap:9px;padding:14px 16px 18px}.prompt-history-item{position:relative;min-height:78px;display:flex;align-items:stretch;overflow:hidden;border:1px solid rgba(31,25,42,.085);border-left:3px solid rgba(109,75,234,.34);border-radius:11px;background:#fff;transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}.prompt-history-item:hover{border-color:#6d4bea40;border-left-color:#6d4bea;box-shadow:0 8px 22px #3d2b6312;transform:translateY(-1px)}.prompt-history-item.is-favorite{border-color:#6d4bea47;border-left-color:#6d4bea;background:linear-gradient(110deg,#6d4bea1b,#8f69f509)}.prompt-history-content{min-width:0;display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;padding:13px 12px 11px;border:0;color:#3d3742;background:transparent;text-align:left;cursor:pointer}.prompt-history-content>span{display:-webkit-box;overflow:hidden;font-size:12px;font-weight:550;line-height:1.65;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:3}.prompt-history-content small{color:#aaa3ad;font-size:9px}.prompt-favorite-button{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;flex:0 0 auto;margin:10px 10px 0 0;padding:0;border:0;border-radius:9px;color:#a59eaa;background:#1f192a0b;cursor:pointer;transition:color .18s ease,background .18s ease,transform .18s ease}.prompt-favorite-button svg{width:17px;height:17px}.prompt-favorite-button:hover:not(:disabled){color:#e0a20d;background:#f8bb291f;transform:scale(1.04)}.prompt-favorite-button.active{color:#e4a60e;background:#f8bb2929}.prompt-favorite-button.active svg{fill:currentColor}.prompt-favorite-button:disabled{opacity:.45;cursor:not-allowed}.prompt-history-state{min-height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:30px;color:#928a98;text-align:center}.prompt-history-state p{margin:0;font-size:11px}.prompt-history-state strong{color:#514957;font-size:13px}.prompt-history-state>svg{width:34px;height:34px;color:#8b77d8}.prompt-history-spinner,.prompt-favorite-spinner{display:inline-block;border:2px solid rgba(109,75,234,.16);border-top-color:#6d4bea;border-radius:50%;animation:prompt-history-spin .75s linear infinite}.prompt-history-spinner{width:24px;height:24px}.prompt-favorite-spinner{width:15px;height:15px}.prompt-history-modal-enter-active,.prompt-history-modal-leave-active{transition:opacity .2s ease}.prompt-history-modal-enter-active .prompt-history-dialog,.prompt-history-modal-leave-active .prompt-history-dialog{transition:transform .2s ease,opacity .2s ease}.prompt-history-modal-enter-from,.prompt-history-modal-leave-to{opacity:0}.prompt-history-modal-enter-from .prompt-history-dialog,.prompt-history-modal-leave-to .prompt-history-dialog{opacity:0;transform:translateY(10px) scale(.985)}@keyframes prompt-history-spin{to{transform:rotate(360deg)}}.compact-section{padding-top:1px}.resolution-control label{position:relative;cursor:pointer}.resolution-control input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.resolution-control{display:grid;grid-template-columns:repeat(var(--quality-count, 3),minmax(0,1fr));padding:3px;border:1px solid rgba(31,25,42,.095);border-radius:11px;background:#f4f3f0d1}.resolution-control label{min-height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:8px;color:#88818c;font-size:10px;font-weight:700;transition:color .2s,background .2s,box-shadow .2s}.resolution-control label small{color:#aaa3ad;font-size:7px;font-weight:500}.resolution-control label.active small{color:#8a74cb}.resolution-control label.active{color:#5a3eb8;background:#fff;box-shadow:0 3px 10px #2e223e14}.quantity-control{height:40px;display:grid;grid-template-columns:44px 1fr 44px;border:1px solid rgba(31,25,42,.12);border-radius:11px;overflow:hidden;background:#ffffffc2}.quantity-control button{border:0;color:#6f6874;background:#f6f5f2b3;font-size:17px;font-weight:700}.quantity-control button:first-child{border-right:1px solid rgba(31,25,42,.08)}.quantity-control button:last-child{border-left:1px solid rgba(31,25,42,.08)}.quantity-control button:hover:not(:disabled){color:#5d3fc0;background:#6d4bea12}.quantity-control button:disabled{color:#c7c2c9}.quantity-control strong{display:flex;align-items:center;justify-content:center;color:#3b3540;font-size:12px}.switch-section{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 1px;border-top:1px solid rgba(31,25,42,.065);border-bottom:1px solid rgba(31,25,42,.065)}.switch-section>div{display:flex;align-items:center;gap:7px}.switch-section>div>span:last-child{display:flex;flex-direction:column;gap:2px}.switch-section strong{color:#3a343f;font-size:11px}.switch-section small{color:#a09aa3;font-size:8px}.tryon-switch{appearance:none;display:flex;align-items:center;gap:7px;padding:0;border:0;outline:0;background:transparent;cursor:pointer}.tryon-switch>span{position:relative;width:34px;height:20px;border-radius:999px;background:#c9c4cc;transition:background .2s}.tryon-switch>span:after{position:absolute;top:3px;left:3px;width:14px;height:14px;content:"";border-radius:50%;background:#fff;box-shadow:0 1px 4px #231a2b38;transition:transform .2s}.tryon-switch[aria-checked=true]>span{background:#6d4bea}.tryon-switch[aria-checked=true]>span:after{transform:translate(14px)}.tryon-switch:focus-visible>span{box-shadow:0 0 0 3px #6d4bea29}.tryon-switch em{color:#8f8893;font-size:8px;font-style:normal}.tryon-instructions{overflow:hidden;border:1px solid rgba(31,25,42,.08);border-radius:12px;background:#f8f7f5b8}.tryon-instructions summary{min-height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#766f7a;cursor:pointer;font-size:10px;font-weight:650;list-style:none}.tryon-instructions summary::-webkit-details-marker{display:none}.tryon-instructions summary>span{display:flex;align-items:center;gap:7px}.tryon-instructions summary i{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #aaa3ad;border-radius:50%;font-size:9px;font-style:normal}.tryon-instructions summary svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .2s}.tryon-instructions[open] summary svg{transform:rotate(180deg)}.tryon-instructions>div{padding:0 12px 10px;color:#8c8590;font-size:9px;line-height:1.65}.tryon-instructions p{margin:7px 0 0}.tryon-action-bar{position:relative;padding:12px 18px 14px;border-top:1px solid rgba(31,25,42,.075);background:#fcfbf9f5}.tryon-unit-price{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;padding:2px 12px;color:#8c8590;font-size:11px}.tryon-unit-price>span{min-width:0;white-space:nowrap}.tryon-unit-price strong{flex:0 0 auto;color:#6742d4;font-weight:730;white-space:nowrap}.submit-message{position:absolute;right:18px;bottom:calc(100% + 8px);left:18px;margin:0;padding:9px 11px;border:1px solid rgba(109,75,234,.13);border-radius:10px;color:#6045ae;background:#f9f7fffa;box-shadow:0 9px 24px #3123461c;font-size:10px;text-align:center}.form-message-enter-active,.form-message-leave-active{transition:opacity .18s,transform .18s}.form-message-enter-from,.form-message-leave-to{opacity:0;transform:translateY(5px)}.generate-button{width:100%;height:44px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;color:#fff;background:linear-gradient(102deg,#5e3bcf,#7853e5 62%,#8863e9);box-shadow:0 9px 22px #5c3bca38;font-size:12px;font-weight:730;transition:transform .2s,box-shadow .2s}.generate-button:hover:not(:disabled){box-shadow:0 13px 27px #5c3bca47;transform:translateY(-1px)}.generate-button:active:not(:disabled){box-shadow:0 7px 18px #5c3bca33;transform:translateY(0)}.generate-button:disabled{cursor:wait;opacity:.7;box-shadow:none}.tryon-result-panel{display:flex;flex-direction:column}.result-panel-header{min-height:61px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 20px;border-bottom:1px solid rgba(31,25,42,.075);background:#fcfbf9e0}.result-panel-header>div{display:flex;align-items:center;gap:9px}.result-panel-header strong{color:#302a34;font-size:13px}.result-header-icon{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#6648c6;background:#eee9fb}.result-header-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.result-status{display:inline-flex;align-items:center;gap:6px;color:#9b949f;font-size:9px}.result-status i{width:6px;height:6px;border-radius:50%;background:#c5c0c8}.result-status.is-active{color:#6742d4}.result-status.is-active i{background:#7650dc;box-shadow:0 0 0 4px #7650dc1a}.result-status.is-success{color:#438a61}.result-status.is-success i{background:#4bab73;box-shadow:0 0 0 4px #4bab731a}.result-status.is-failed{color:#ae5b60}.result-status.is-failed i{background:#c56569}.result-panel-body{position:relative;min-height:0;display:flex;flex:1;align-items:center;justify-content:center;overflow:auto;padding:clamp(28px,5vw,70px);background:linear-gradient(rgba(68,51,84,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(68,51,84,.025) 1px,transparent 1px),radial-gradient(circle at center,rgba(109,75,234,.055),transparent 28rem),#f8f7f5b3;background-size:28px 28px,28px 28px,auto,auto}.result-panel-body.has-generated-results{align-items:stretch;justify-content:flex-start;overflow:hidden;padding:clamp(16px,2vw,26px)}.result-empty-card{width:min(100%,470px);min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px;border:1px solid rgba(31,25,42,.1);border-radius:25px;background:#ffffffc2;box-shadow:0 18px 50px #2b1e3e12;text-align:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.result-empty-visual{position:relative;width:124px;height:112px;margin-bottom:20px}.result-card{position:absolute;top:12px;left:50%;width:82px;height:94px;border:1px solid rgba(255,255,255,.45);border-radius:17px}.result-card-back{background:linear-gradient(145deg,#f1ad91,#d9c4ef);box-shadow:0 15px 28px #452b5a24;transform:translate(-65%) rotate(-11deg)}.result-card-front{display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(145deg,#7650d8,#a57fe8 62%,#d7a5c9);box-shadow:0 18px 32px #4c318133;transform:translate(-34%) rotate(7deg)}.result-card-front svg{width:43px;height:43px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.25}.result-empty-visual b{position:absolute;top:2px;right:5px;color:#f0a482;font-size:17px}.result-empty-kicker{color:#8065d1;font-size:8px;font-weight:800;letter-spacing:.2em}.result-empty-card h2{margin:9px 0;color:#2f2934;font-size:24px;letter-spacing:-.035em}.result-empty-card>p{max-width:330px;margin:0;color:#8e8792;font-size:11px;line-height:1.75}.result-empty-hint{display:flex;align-items:center;gap:7px;margin-top:23px;padding:9px 13px;border:1px solid rgba(109,75,234,.1);border-radius:999px;color:#70657c;background:#6d4bea0e;font-size:9px;font-weight:600}.result-empty-hint span{color:#6949ca;font-size:15px}.result-progress-card{width:min(100%,470px);min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px;border:1px solid rgba(31,25,42,.1);border-radius:25px;background:#fffc;box-shadow:0 18px 50px #2b1e3e12;text-align:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.result-progress-visual{width:70px;height:70px;display:grid;place-items:center;margin-bottom:18px;border-radius:22px;color:#fff;background:linear-gradient(145deg,#6844d3,#936de8);box-shadow:0 15px 30px #5b38be38;font-size:25px}.result-progress-card.is-failed .result-progress-visual{background:linear-gradient(145deg,#b96065,#d88a83);box-shadow:0 15px 30px #9c4b4f2e}.result-progress-card h2{margin:9px 0 8px;color:#302a34;font-size:22px}.result-progress-card>p{max-width:340px;margin:0 0 22px;color:#8e8792;font-size:10px;line-height:1.7}.result-progress-card>small{margin-top:10px;color:#9b949f;font-size:9px}.result-progress-value{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#766f7c;font-size:10px}.result-progress-value strong{color:#6742d4;font-size:12px}.result-progress-track{width:100%;height:8px;overflow:hidden;border-radius:999px;background:#ebe8ef}.result-progress-track i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#6440d0,#8b64e7);box-shadow:0 2px 9px #6742d440;transition:width 1s ease}.result-progress-track i.is-waiting{transition:width .12s linear}.result-success-content{width:100%;min-width:0;min-height:0;display:flex;flex-direction:column;flex:1;gap:12px;overflow:hidden}.result-output-toolbar{min-height:34px;display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:14px;color:#6f6874;font-size:11px}.result-output-toolbar>div{display:flex;align-items:center;gap:8px}.result-output-toolbar button{min-height:31px;padding:0 13px;border:1px solid rgba(89,70,117,.16);border-radius:9px;color:#675d70;background:#ffffffe0;cursor:pointer;font:inherit;font-weight:650}.result-output-toolbar button:hover:not(:disabled),.result-output-toolbar button:focus-visible{border-color:#6742d457;color:#6742d4;outline:none;box-shadow:0 0 0 3px #6742d414}.result-output-toolbar button.is-primary{border-color:#6742d4;color:#fff;background:#6742d4}.result-output-toolbar button:disabled{cursor:not-allowed;opacity:.5}.result-output-strip{width:100%;min-height:0;display:flex;flex:1;gap:14px;align-items:stretch;overflow-x:auto;overflow-y:hidden;padding:2px 2px 10px;scrollbar-color:rgba(103,66,212,.35) transparent;scrollbar-width:thin;scroll-snap-type:x proximity}.result-output-card{position:relative;min-width:220px;min-height:0;display:flex;flex:0 0 max(220px,var(--result-card-basis));flex-direction:column;overflow:hidden;border:1px solid rgba(31,25,42,.1);border-radius:16px;background:#eceaed;box-shadow:0 12px 30px #29203612;scroll-snap-align:start;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.result-output-card.is-selectable{cursor:pointer;-webkit-user-select:none;user-select:none}.result-output-card.is-selectable:hover,.result-output-card.is-selectable:focus-visible{border-color:#6742d48c;outline:none;box-shadow:0 14px 34px #4b2e8a24}.result-output-card.is-selected{border-color:#6742d4;box-shadow:0 0 0 2px #6742d429,0 14px 34px #4b2e8a24}.result-output-strip.is-downloading .result-output-card{cursor:wait;opacity:.82}.result-output-card img,.result-output-card video{width:100%;min-height:0;flex:1;object-fit:contain;background:#dedbe0}.result-output-card footer{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;color:#4b4450;background:#fffffff5;font-size:10px}.result-output-card footer>div{min-width:0;display:flex;align-items:center;gap:8px}.result-output-card footer small{color:#99919d}.result-output-card footer a{flex:0 0 auto;padding:5px 9px;border-radius:7px;color:#6742d4;background:#6742d414;font-weight:680;text-decoration:none}.result-output-card footer a:hover,.result-output-card footer a:focus-visible{background:#6742d424;outline:none}.result-output-selection{position:absolute;z-index:2;top:12px;right:12px;width:25px;height:25px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.9);border-radius:8px;color:transparent;background:#27212f8c;box-shadow:0 5px 14px #1d16282e;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.result-output-selection.checked{color:#fff;background:#6742d4}.result-output-selection svg{width:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2}.result-output-unsupported{min-height:220px;display:grid;place-items:center;color:#8f8794;font-size:11px}@media(max-width:700px){.result-output-card{min-width:min(80vw,360px);flex-basis:min(80vw,360px)}.result-output-toolbar{align-items:flex-start}.result-output-toolbar>div{justify-content:flex-end;flex-wrap:wrap}.result-progress-card{min-height:280px;padding:30px 24px}}@media(max-width:1180px){.creation-shell{grid-template-columns:190px minmax(0,1fr)}.tryon-workspace{grid-template-columns:minmax(340px,390px) minmax(360px,1fr);gap:10px;padding:10px}.creation-sidebar-note{display:none}}@media(max-width:920px){.creation-shell{display:block;overflow-x:hidden;overflow-y:auto}.creation-sidebar{height:auto;min-height:0;display:flex;flex-direction:row;align-items:center;gap:16px;padding:10px 14px;overflow-y:visible;border-right:0;border-bottom:1px solid rgba(31,25,42,.08)}.creation-sidebar-heading{flex:0 0 auto;padding:0}.creation-sidebar-heading small{display:none}.creation-menu{min-width:0;flex:1;flex-direction:row;overflow-x:auto;overflow-y:hidden}.creation-menu-group{flex:0 0 auto;flex-direction:row;align-items:center}.creation-menu-loading,.creation-menu-error,.creation-menu-empty{min-width:180px;margin:0}.creation-menu-title{width:auto;flex:0 0 auto}.creation-menu-chevron{display:none}.creation-submenu{display:flex;gap:4px;padding:0}.creation-submenu-link{min-height:38px}.creation-sidebar-note{display:none}.tryon-workspace{height:auto;min-height:0;grid-template-columns:1fr;overflow:visible}.creation-content{height:auto;overflow:visible}.tryon-config-panel,.tryon-result-panel,.tryon-form{overflow:visible}.tryon-result-panel{min-height:530px}.result-panel-body{min-height:468px}}@media(max-width:860px){.creation-shell{height:calc(100vh - 70px);height:calc(100dvh - 70px)}}@media(max-width:600px){.prompt-history-overlay{align-items:end;padding:0}.prompt-history-dialog{width:100%;max-height:calc(100dvh - 18px);border-radius:18px 18px 0 0}.prompt-history-header{min-height:58px;padding:0 15px}.prompt-history-tip{padding:8px 15px}.prompt-history-list{padding:12px 10px 18px}.prompt-history-content>span{font-size:11px}.creation-sidebar{gap:9px;padding:9px 10px;overflow-x:auto}.creation-sidebar-heading .creation-sidebar-mark{width:34px;height:34px}.creation-sidebar-heading>div{display:none}.creation-menu-title{min-height:36px;padding:4px 7px;font-size:11px}.creation-menu-title-icon{width:25px;height:25px}.creation-submenu-link{min-height:36px;padding:5px 8px 5px 10px;font-size:11px}.tryon-workspace{gap:9px;padding:9px}.tryon-config-panel,.tryon-result-panel{border-radius:15px}.tryon-config-header{padding:14px}.tryon-form{padding:15px 14px}.tryon-action-bar{padding:11px 14px 13px}.tryon-result-panel{min-height:440px}.result-panel-body{min-height:379px;padding:20px}.result-empty-card{min-height:330px;padding:30px 22px}.result-empty-hint{font-size:8px}}@media(prefers-reduced-motion:reduce){.creation-menu-chevron,.creation-submenu-link,.image-dropzone,.tryon-switch>span:after,.tryon-instructions summary svg,.generate-button,.result-progress-track i,.result-output-card{transition:none}.prompt-history-modal-enter-active,.prompt-history-modal-leave-active,.prompt-history-modal-enter-active .prompt-history-dialog,.prompt-history-modal-leave-active .prompt-history-dialog,.prompt-history-item,.prompt-favorite-button{transition:none}}.asset-preview-item audio{position:relative;z-index:2;width:calc(100% - 16px);min-width:0;margin:auto 8px}html.history-modal-open,html.history-modal-open body{overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.history-page{height:calc(100vh - 78px);height:calc(100dvh - 78px);min-height:0;display:flex;overflow:hidden;flex-direction:column;padding-top:34px;padding-bottom:18px;box-sizing:border-box}.history-hero{flex:0 0 auto;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px}.history-eyebrow{display:block;margin-bottom:9px;color:#7152dc;font-size:10px;font-weight:800;letter-spacing:.2em}.history-hero h1{margin:0;color:#231d2c;font-size:clamp(27px,3vw,38px);letter-spacing:-.04em}.history-hero p{margin:9px 0 0;color:#8a8491;font-size:13px}.history-refresh-button{width:40px;height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(72,57,96,.11);border-radius:12px;color:#5d536b;background:#fff;box-shadow:none}.history-refresh-button:hover:not(:disabled){color:#5c3ed0;border-color:#6546d13d}.history-refresh-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.history-refresh-button svg.spinning{animation:history-spin .9s linear infinite}.history-panel{min-height:0;display:flex;flex:1;overflow:hidden;flex-direction:column;border:1px solid rgba(43,31,62,.09);border-radius:20px;background:#ffffffc7;box-shadow:0 12px 38px #2b1f3e0e;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.history-toolbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid rgba(43,31,62,.08);background:#ffffff8a}.history-toolbar-left,.history-toolbar-actions{display:flex;align-items:center;gap:9px}.history-toolbar-left{min-width:0;flex:1}.history-toolbar-actions{flex:0 0 auto}.history-panel-body{position:relative;min-height:0;display:flex;flex:1;overflow:hidden;flex-direction:column;padding:0}.history-scroll-region{min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;padding:22px;scrollbar-color:rgba(105,78,142,.24) transparent;scrollbar-width:thin;overscroll-behavior:contain}.history-scroll-region::-webkit-scrollbar{width:7px}.history-scroll-region::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#694e8e3d;background-clip:padding-box}.history-download-notice{flex:0 0 auto;padding:9px 18px;border-bottom:1px solid rgba(74,149,112,.1);color:#297a5d;background:#ebfbf4b8;font-size:11px}.history-download-notice.is-error{border-bottom-color:#b84c521a;color:#ad5055;background:#fff0f1c2}.history-status-tabs{display:flex;align-items:center;gap:4px}.history-status-tabs button{height:38px;display:flex;align-items:center;gap:7px;padding:0 13px;border:0;border-radius:10px;color:#77717e;background:transparent;font-size:12px;transition:.16s ease}.history-status-tabs button span{min-width:21px;padding:2px 6px;border-radius:999px;color:#9b94a1;background:#3225480d;font-size:9px;font-weight:700}.history-status-tabs button:hover,.history-status-tabs button.active{color:#5c3ccb;background:#f2eeff}.history-status-tabs button.active{font-weight:700;box-shadow:inset 0 0 0 1px #694ad91a}.history-status-tabs button.active span{color:#6344d1;background:#fff}.history-filters{display:flex;align-items:center;gap:8px}.history-select{position:relative;width:158px;min-width:0;flex:0 0 auto}.history-status-select{width:150px}.history-select select{width:100%;height:38px;appearance:none;padding:0 34px 0 12px;border:1px solid rgba(55,42,74,.1);border-radius:10px;outline:none;color:#5d5665;background:#fff;font-size:11px}.history-select svg{position:absolute;top:11px;right:10px;width:16px;height:16px;fill:none;stroke:#8c8495;stroke-width:1.8;pointer-events:none}.history-search{width:min(390px,34vw);height:38px;display:flex;align-items:center;gap:8px;padding-left:11px;border:1px solid rgba(55,42,74,.1);border-radius:10px;background:#fff}.history-selection-button,.history-batch-download-button{height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid rgba(55,42,74,.1);border-radius:11px;color:#68606f;background:#fff;font-size:11px;font-weight:650;transition:.16s ease}.history-selection-button svg,.history-batch-download-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.history-selection-button:hover:not(:disabled),.history-selection-button.active{color:#6543d0;border-color:#6543d033;background:#f4f0ff}.history-batch-download-button:not(:disabled){color:#fff;border-color:#6948db;background:#6948db}.history-selection-button:disabled,.history-batch-download-button:disabled,.history-refresh-button:disabled{cursor:not-allowed;opacity:.46}.history-grid-size-switch{height:40px;display:inline-flex;flex:0 0 auto;align-items:center;padding:3px;border:1px solid rgba(55,42,74,.1);border-radius:11px;background:#fff}.history-grid-size-switch button{width:33px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:8px;color:#918997;background:transparent;transition:color .16s ease,background .16s ease,box-shadow .16s ease}.history-grid-size-switch button:hover,.history-grid-size-switch button.active{color:#fff;background:#6948db;box-shadow:0 5px 13px #5c3dc93b}.history-grid-size-switch button:focus-visible{outline:3px solid rgba(105,72,219,.18);outline-offset:2px}.history-grid-size-switch svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.55}.history-search:focus-within,.history-select select:focus{border-color:#694ad961;box-shadow:0 0 0 3px #694ad914}.history-search svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke:#9a939f;stroke-width:1.7;stroke-linecap:round}.history-search input{min-width:0;flex:1;border:0;outline:none;color:#403848;background:transparent;font-size:11px}.history-search button{align-self:stretch;padding:0 13px;border:0;border-left:1px solid rgba(55,42,74,.08);border-radius:0 9px 9px 0;color:#6545d3;background:#f6f3ff;font-size:11px;font-weight:700}.history-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.history-grid.is-large{grid-template-columns:repeat(5,minmax(0,1fr))}.history-grid.is-compact{grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.history-card{position:relative;min-width:0;padding:0;overflow:hidden;border:1px solid rgba(43,31,62,.08);border-radius:18px;text-align:left;color:inherit;background:#ffffffe6;box-shadow:0 8px 30px #291c3e0e;transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s ease}.history-card:hover{transform:translateY(-3px);border-color:#6648d333;box-shadow:0 18px 38px #291c3e1a}.history-card-main{width:100%;display:block;padding:0;border:0;text-align:left;color:inherit;background:transparent;cursor:pointer}.history-card-main:disabled{cursor:not-allowed}.history-card.is-selected{border-color:#6948dbb8;box-shadow:0 0 0 3px #6948db1f,0 18px 38px #291c3e1a}.history-card.is-unselectable,.history-card.is-unselectable:hover{cursor:not-allowed;opacity:.5;transform:none;border-color:#2b1f3e14;box-shadow:0 8px 30px #291c3e0a}.history-card-main:focus-visible{outline:3px solid rgba(105,74,217,.18);outline-offset:-3px}.history-card-media{position:relative;aspect-ratio:1 / 1;overflow:hidden;background:#f0eef2}.history-card-media:after{position:absolute;z-index:1;inset:0;content:"";pointer-events:none;background:linear-gradient(180deg,transparent 44%,rgba(20,16,25,.08) 58%,rgba(20,16,25,.82) 100%)}.history-card-media.is-active:after{background:linear-gradient(180deg,#1912241f,#19122457)}.history-card-media.is-terminal:after{background:linear-gradient(180deg,#24192021,#241920ad)}.history-card-media>img,.history-card-media>video{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s var(--ease)}.history-card:hover .history-card-media>img{transform:scale(1.025)}.history-generating-placeholder,.history-expired-placeholder,.history-result-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#887f8e;background:linear-gradient(145deg,#f7f5fa,#eeebf1)}.history-generating-placeholder{background:linear-gradient(115deg,#f6f2ff 20%,#eee7ff 43%,#faf8ff 60%,#f6f2ff 80%);background-size:300% 100%;animation:history-shimmer 2.1s ease infinite}.history-generating-placeholder span{position:absolute;width:90px;height:90px;border-radius:50%;background:#7452e217;filter:blur(1px);animation:history-pulse 1.8s ease-in-out infinite}.history-generating-placeholder i,.history-result-placeholder span,.history-expired-placeholder span{z-index:1;color:#7554df;font-size:25px;font-style:normal}.history-generating-placeholder small,.history-expired-placeholder small,.history-result-placeholder small{z-index:1;font-size:10px;font-weight:700;letter-spacing:.08em}.history-card-progress-ring{position:absolute;z-index:3;top:50%;left:50%;min-width:104px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:11px 13px 10px;border:1px solid rgba(255,255,255,.22);border-radius:18px;color:#fff;background:#1b152494;box-shadow:0 12px 34px #160f2133;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transform:translate(-50%,-50%)}.history-card-progress-ring-visual{position:relative;width:70px;height:70px;display:grid;place-items:center}.history-card-progress-ring-visual svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}.history-card-progress-ring-visual circle{fill:none;stroke-width:3.4}.history-card-progress-ring-track{stroke:#ffffff38}.history-card-progress-ring-value{stroke:#b59cff;stroke-linecap:round;transition:stroke-dasharray .12s linear}.history-card-progress-ring-visual strong{position:relative;z-index:1;font-size:15px;font-weight:800;letter-spacing:-.02em}.history-card-progress-ring>small{max-width:116px;overflow:hidden;color:#ffffffd1;font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.history-card-terminal-state{position:absolute;z-index:3;top:50%;left:50%;width:min(78%,230px);display:flex;align-items:center;flex-direction:column;gap:5px;padding:12px 14px;border:1px solid rgba(255,255,255,.22);border-radius:14px;color:#fff;text-align:center;background:#402127a8;box-shadow:0 10px 28px #2311172e;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);transform:translate(-50%,-50%)}.history-card-terminal-state strong{font-size:11px}.history-card-terminal-state small{width:100%;overflow:hidden;color:#ffffffc2;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.history-card-caption{position:absolute;z-index:2;right:0;bottom:0;left:0;min-width:0;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:34px 12px 11px;color:#fff;pointer-events:none}.history-card-caption-left,.history-card-caption-right{min-width:0;display:flex;flex-direction:column}.history-card-caption-left{flex:1;gap:3px}.history-card-caption-left strong{overflow:hidden;font-size:12px;font-weight:800;line-height:1.25;text-overflow:ellipsis;text-shadow:0 1px 4px rgba(0,0,0,.34);white-space:nowrap}.history-card-caption-left time{overflow:hidden;color:#ffffffc2;font-size:9px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.history-card-caption-right{max-width:45%;flex:0 0 auto;align-items:flex-end;gap:3px;text-align:right}.history-card-caption-right span{overflow:hidden;max-width:100%;color:#fffc;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.history-card-caption-right strong{font-size:10px;font-weight:750}.history-status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:750;white-space:nowrap}.history-card-selection{position:absolute;z-index:3;top:11px;right:11px;width:25px;height:25px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.9);border-radius:8px;color:transparent;background:#ffffffe0;box-shadow:0 4px 16px #2519361f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.history-card-selection svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.history-card-selection.checked{color:#fff;border-color:#6948db;background:#6948db}.history-status-badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.history-status-badge.is-active{color:#6742d4;background:#f5f1ffeb}.history-status-badge.is-active i{animation:history-pulse-dot 1.4s ease infinite}.history-status-badge.is-success{color:#16815f;background:#ecfbf5f0}.history-status-badge.is-failed{color:#b95457;background:#fff2f2f0}.history-grid.is-compact .history-card{border-radius:14px}.history-detail-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;color:#817987;font-size:9px}.history-detail-progress strong{color:#6742d4;font-size:10px}.history-progress-track{width:100%;height:5px;overflow:hidden;border-radius:999px;background:#ece9ef}.history-progress-track i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#6440d0,#8b64e7);transition:width 1s ease}.history-progress-track i.is-waiting{transition:width .12s linear}.history-detail-progress.is-success .history-progress-track i{background:linear-gradient(90deg,#43a271,#6ac88f);transition:none}.history-detail-progress.is-failed>div:first-child{margin-bottom:0;color:#b95457}.history-card-actions{position:absolute;z-index:5;top:10px;right:10px;display:flex}.history-card-actions button{min-width:58px;height:29px;padding:0 10px;border:1px solid rgba(255,255,255,.34);border-radius:9px;color:#fff;background:#302539b3;box-shadow:0 5px 18px #1b122229;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);font-size:9px;font-weight:750;cursor:pointer}.history-card-actions button:hover:not(:disabled){border-color:#ffffff94;background:#5b3ebee0}.history-card-actions button:disabled{color:#ffffff8f;border-color:#ffffff26;background:#30253980;cursor:not-allowed}.history-grid.is-compact .history-card-caption{gap:6px;padding:26px 8px 8px}.history-grid.is-compact .history-card-caption-left strong{font-size:9px}.history-grid.is-compact .history-card-caption-left time,.history-grid.is-compact .history-card-caption-right span{font-size:7px}.history-grid.is-compact .history-card-caption-right strong{font-size:8px}.history-grid.is-compact .history-card-progress-ring{min-width:82px;gap:3px;padding:7px 9px;border-radius:14px}.history-grid.is-compact .history-card-progress-ring-visual{width:52px;height:52px}.history-grid.is-compact .history-card-progress-ring-visual strong{font-size:11px}.history-grid.is-compact .history-card-progress-ring>small,.history-grid.is-compact .history-card-terminal-state strong{font-size:8px}.history-grid.is-compact .history-card-actions{top:7px;right:7px}.history-grid.is-compact .history-card-actions button{min-width:50px;height:25px;padding:0 7px;font-size:8px}.history-card-skeleton{padding:0;pointer-events:none}.history-card-skeleton span{display:block;width:100%;aspect-ratio:1 / 1;background:linear-gradient(110deg,#efedf0 20%,#f8f7f8,#efedf0 60%);background-size:250% 100%;animation:history-shimmer 1.5s infinite}.history-state-card{min-height:390px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px;border:1px solid rgba(43,31,62,.08);border-radius:22px;text-align:center;background:#ffffffc7}.history-scroll-region>.history-state-card{height:100%;min-height:0;border:0;border-radius:0;background:transparent}.history-state-card>span{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;color:#b65055;background:#fff0f0;font-size:20px;font-weight:800}.history-empty-art{position:relative;width:94px;height:86px;margin-bottom:14px}.history-empty-art span{position:absolute;inset:10px 6px 0;border:1px solid rgba(105,74,217,.16);border-radius:22px;background:linear-gradient(145deg,#fbfaff,#f1edff);transform:rotate(-5deg)}.history-empty-art b{position:absolute;inset:0;display:grid;place-items:center;color:#7250df;font-size:27px}.history-state-card h2{margin:4px 0 8px;color:#403647;font-size:18px}.history-state-card p{max-width:450px;margin:0 0 20px;color:#928b96;font-size:11px;line-height:1.7}.history-state-card>div:last-child{display:flex;gap:9px}.history-state-card button,.history-state-card a{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 15px;border:1px solid rgba(102,70,207,.16);border-radius:10px;color:#6543d0;text-decoration:none;background:#f4f0ff;font-size:11px;font-weight:700}.history-state-card a{color:#fff;background:#6948db}.history-pagination{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:18px;margin:0;padding:18px 22px;border-top:1px solid rgba(43,31,62,.07)}.history-pagination button{height:36px;padding:0 14px;border:1px solid rgba(50,38,69,.1);border-radius:10px;color:#625969;background:#fff;font-size:10px}.history-pagination span{color:#99929e;font-size:10px}.history-back-to-top{position:absolute;z-index:12;right:22px;bottom:20px;width:46px;height:46px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.85);border-radius:50%;color:#fff;background:#2d2537e0;box-shadow:0 9px 25px #231a3040,inset 0 0 0 1px #ffffff14;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.history-panel-body.has-pagination .history-back-to-top{bottom:82px}.history-back-to-top:hover{background:#6948db;box-shadow:0 12px 28px #5b3cc44d;transform:translateY(-2px)}.history-back-to-top:focus-visible{outline:3px solid rgba(105,72,219,.22);outline-offset:3px}.history-back-to-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.history-back-top-enter-active,.history-back-top-leave-active{transition:opacity .16s ease,transform .18s ease}.history-back-top-enter-from,.history-back-top-leave-to{opacity:0;transform:translateY(8px) scale(.92)}.history-modal-backdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:24px;background:#19142085;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.history-detail-modal{width:min(1180px,100%);max-height:min(850px,calc(100dvh - 48px));display:flex;overflow:hidden;flex-direction:column;border:1px solid rgba(255,255,255,.52);border-radius:24px;background:#fbfafb;box-shadow:0 38px 100px #190f274d}.history-detail-header{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid rgba(40,30,55,.075);background:#ffffffe0}.history-detail-header>div{min-width:0;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px 12px}.history-detail-header .history-status-badge{grid-row:1 / span 2}.history-detail-header h2{margin:0;overflow:hidden;color:#302638;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.history-detail-header p{margin:0;color:#9b949e;font-size:9px}.history-modal-close{width:36px;height:36px;flex:0 0 auto;border:0;border-radius:11px;color:#817884;background:#f2eff3;font-size:22px}.history-modal-close:hover{color:#5737c4;background:#eee8ff}.history-detail-tabs{display:flex;gap:5px;padding:9px 22px 0;background:#fff}.history-detail-tabs button{height:38px;padding:0 17px;border:0;border-bottom:2px solid transparent;color:#8c8491;background:transparent;font-size:11px;font-weight:700}.history-detail-tabs button.active{color:#6240d0;border-bottom-color:#6d4bea}.history-detail-progress{padding:10px 22px 12px;border-top:1px solid rgba(42,31,56,.04);border-bottom:1px solid rgba(42,31,56,.065);background:#ffffffd1}.history-detail-progress>div:first-child{margin-bottom:7px;font-size:10px}.history-detail-progress .history-progress-track{height:6px}.history-detail-content{min-height:0;flex:1;overflow:auto;padding:20px 22px 24px}.history-compare-view{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px}.history-comparison-stage,.history-image-stage,.history-video-stage,.history-no-result{position:relative;min-height:510px;grid-row:1 / span 2;overflow:hidden;border:1px solid rgba(45,33,61,.08);border-radius:18px;background:#dedbe4;box-shadow:inset 0 0 0 1px #2d213d06}.history-image-stage{display:grid;place-items:center}.history-image-stage img{display:block;width:auto;height:auto;max-width:calc(100% - 32px);max-height:calc(100% - 32px);object-fit:contain;border:1px solid rgba(45,33,61,.16);background:#fff;box-shadow:0 12px 34px #22192d2e}.history-comparison-stage{width:100%;padding:0;color:inherit;cursor:pointer;appearance:none;touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.history-comparison-stage:focus-visible{outline:3px solid rgba(111,77,224,.3);outline-offset:3px}.history-comparison-stage>img{position:absolute;top:50%;left:50%;display:block;width:auto;height:auto;max-width:calc(100% - 32px);max-height:calc(100% - 32px);object-fit:contain;border:1px solid rgba(45,33,61,.16);background:#fff;box-shadow:0 12px 34px #22192d2e;transform:translate(-50%,-50%);pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.comparison-hold-hint{position:absolute;z-index:3;left:50%;bottom:16px;padding:8px 13px;border:1px solid rgba(255,255,255,.34);border-radius:999px;color:#fff;background:#201928a8;box-shadow:0 6px 20px #2218302e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transform:translate(-50%);font-size:10px;font-weight:700;white-space:nowrap;pointer-events:none}.history-comparison-stage.is-showing-original .comparison-hold-hint{background:#6746d6d1}.history-video-stage{display:grid;place-items:center;background:#16131a}.history-video-stage video{width:100%;max-height:510px}.history-no-result{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.history-no-result span{color:#7150dd;font-size:34px}.history-no-result h3{margin:13px 0 7px;color:#4c4253;font-size:16px}.history-no-result p{max-width:340px;margin:0;color:#98909d;font-size:10px;line-height:1.7}.history-media-picker{min-width:0;padding:14px;border:1px solid rgba(48,35,66,.08);border-radius:16px;background:#fff}.history-media-picker>div:first-child,.history-input-gallery>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:11px}.history-media-picker strong,.history-input-gallery strong{color:#493e50;font-size:11px}.history-media-picker>div:first-child small,.history-input-gallery>div:first-child small{color:#a19aa5;font-size:8px}.history-media-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.history-media-thumbs button{min-width:0;padding:3px;overflow:hidden;border:1px solid rgba(49,37,66,.09);border-radius:10px;color:#8d8590;background:#f8f6f8}.history-media-thumbs button.active{border-color:#704fe0;box-shadow:0 0 0 2px #704fe01c}.history-media-thumbs button:disabled{opacity:.58}.history-media-thumbs img,.history-media-thumbs button>span{width:100%;aspect-ratio:1;display:grid;place-items:center;object-fit:cover;border-radius:7px;background:#eeeaf0;font-size:7px}.history-media-thumbs small{display:block;padding:5px 1px 2px;overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.history-params-view{display:grid;gap:16px}.history-param-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.history-param-grid article,.history-prompt-panel,.history-error-panel{padding:14px 16px;border:1px solid rgba(46,34,62,.075);border-radius:14px;background:#fff}.history-param-grid small,.history-prompt-panel small,.history-error-panel small{display:block;margin-bottom:7px;color:#a099a4;font-size:8px}.history-param-grid strong{color:#493f50;font-size:11px}.history-prompt-panel p,.history-error-panel p{margin:0;color:#5d5562;font-size:11px;line-height:1.8;white-space:pre-wrap}.history-error-panel{border-color:#bf4c5221;background:#fff8f8}.history-error-panel p{color:#a34e53}.history-time-line{display:flex;align-items:center;padding:15px 18px;border:1px solid rgba(46,34,62,.075);border-radius:14px;background:#fff}.history-time-line span{min-width:0;flex:1}.history-time-line small,.history-time-line strong{display:block}.history-time-line small{margin-bottom:6px;color:#a19aa5;font-size:8px}.history-time-line strong{color:#5c5362;font-size:10px}.history-time-line i{width:40px;height:1px;margin:0 18px;background:#5241671f}.history-input-gallery{padding:16px;border:1px solid rgba(46,34,62,.075);border-radius:14px;background:#fff}.history-input-gallery>div:last-child{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.history-input-gallery article>div{aspect-ratio:1;display:grid;place-items:center;overflow:hidden;margin-bottom:8px;border-radius:11px;color:#99919d;background:#f2eff3;font-size:8px}.history-input-gallery img{width:100%;height:100%;object-fit:cover}.history-input-gallery article>strong,.history-input-gallery article>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-input-gallery article>small{margin-top:4px;color:#9e97a2;font-size:8px}.history-detail-actions{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 22px;border-top:1px solid rgba(42,31,57,.075);background:#fff}.history-detail-actions>p{margin:0;color:#a35a5c;font-size:9px}.history-detail-actions>div{display:flex;gap:8px}.history-download-button,.history-retry-button,.history-reproduce-button{height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border:1px solid rgba(102,71,207,.17);border-radius:11px;color:#6543d0;text-decoration:none;background:#f4f0ff;font-size:10px;font-weight:750}.history-retry-button{color:#fff;border-color:#6b49db;background:#6b49db;box-shadow:0 8px 20px #6341d329}.history-retry-button:disabled{color:#aca5b1;border-color:transparent;background:#ece9ee;box-shadow:none}.history-reproduce-button{border-color:transparent;color:#fff;background:linear-gradient(135deg,#5937cb,#805cf0);box-shadow:0 8px 20px #6341d333}.history-reproduce-button:disabled{color:#aca5b1;background:#ece9ee;box-shadow:none}.history-detail-loading{min-height:430px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:#5f5367}.history-detail-loading span{width:34px;height:34px;border:3px solid #ebe6f7;border-top-color:#6d4bea;border-radius:50%;animation:history-spin .8s linear infinite}.history-detail-loading b{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#b34e53;background:#fff0f1}.history-detail-loading p{margin:0;color:#978f9a;font-size:10px}.history-detail-loading button{padding:8px 15px;border:0;border-radius:9px;color:#6241cd;background:#f0ebff}.history-modal-enter-active,.history-modal-leave-active{transition:opacity .18s ease}.history-modal-enter-active .history-detail-modal,.history-modal-leave-active .history-detail-modal{transition:transform .22s var(--ease),opacity .18s ease}.history-modal-enter-from,.history-modal-leave-to{opacity:0}.history-modal-enter-from .history-detail-modal,.history-modal-leave-to .history-detail-modal{opacity:0;transform:translateY(16px) scale(.985)}@keyframes history-spin{to{transform:rotate(360deg)}}@keyframes history-shimmer{to{background-position-x:-300%}}@keyframes history-pulse{50%{transform:scale(1.12);opacity:.55}}@keyframes history-pulse-dot{50%{opacity:.35;transform:scale(.75)}}@media(max-width:1180px){.history-grid,.history-grid.is-large{grid-template-columns:repeat(3,minmax(0,1fr))}.history-grid.is-compact{grid-template-columns:repeat(5,minmax(0,1fr))}.history-toolbar{align-items:stretch;flex-direction:column}.history-toolbar-actions{justify-content:flex-end}.history-search{width:min(440px,48vw)}}@media(max-width:820px){.history-page{height:calc(100vh - 70px);height:calc(100dvh - 70px);min-height:0}.history-grid,.history-grid.is-large{grid-template-columns:repeat(2,minmax(0,1fr))}.history-grid.is-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.history-toolbar-left{flex-wrap:wrap}.history-search{width:100%}.history-select{flex:1;width:auto}.history-status-tabs{overflow-x:auto}.history-status-tabs button{flex:0 0 auto}.history-compare-view{grid-template-columns:1fr}.history-comparison-stage,.history-image-stage,.history-video-stage,.history-no-result{min-height:430px;grid-row:auto}.history-media-picker{min-width:0}.history-param-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-input-gallery>div:last-child{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.history-page{width:min(100% - 24px,1420px);height:calc(100vh - 70px);height:calc(100dvh - 70px);min-height:0;padding-top:18px;padding-bottom:12px}.history-hero{align-items:center;margin-bottom:20px}.history-hero p{display:none}.history-panel{border-radius:15px}.history-toolbar{padding:10px}.history-toolbar-left{align-items:stretch;flex-direction:column}.history-toolbar-actions{width:100%;justify-content:flex-end}.history-selection-button,.history-batch-download-button{flex:1}.history-filters{align-items:stretch;flex-direction:column}.history-select,.history-search{width:100%}.history-panel-body{padding:0}.history-scroll-region{padding:12px}.history-grid,.history-grid.is-large{grid-template-columns:1fr;gap:14px}.history-grid.is-compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.history-pagination{margin:0;padding:15px 12px;gap:10px}.history-back-to-top{right:14px;bottom:14px;width:42px;height:42px}.history-panel-body.has-pagination .history-back-to-top{bottom:76px}.history-modal-backdrop{padding:0}.history-detail-modal{width:100%;height:100dvh;max-height:none;border-radius:0}.history-detail-header{min-height:74px;padding:13px 14px}.history-detail-tabs{padding:7px 14px 0}.history-detail-progress{padding:9px 14px 11px}.history-detail-content{padding:14px}.history-comparison-stage,.history-image-stage,.history-video-stage,.history-no-result{min-height:52vh}.history-detail-actions{align-items:stretch;padding:10px 14px;flex-direction:column}.history-detail-actions>div{width:100%}.history-download-button,.history-retry-button,.history-reproduce-button{flex:1}.history-detail-actions>p{text-align:center}.history-param-grid{grid-template-columns:1fr 1fr}.history-time-line{align-items:stretch;flex-direction:column;gap:11px}.history-time-line i{width:1px;height:12px;margin:0 0 0 3px}.history-input-gallery>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.history-card,.history-card-media>img,.history-grid-size-switch button,.history-back-to-top,.history-back-top-enter-active,.history-back-top-leave-active,.history-modal-enter-active,.history-modal-leave-active,.history-modal-enter-active .history-detail-modal,.history-modal-leave-active .history-detail-modal,.history-progress-track i{transition:none}}*{box-sizing:border-box}:root{color:#1d1b24;background:#f6f5f2;font-family:Inter,SF Pro Display,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #1d1b24;--ink-soft: #5f5a68;--muted: #8a8491;--line: rgba(31, 25, 42, .09);--paper: #ffffff;--canvas: #f6f5f2;--violet: #6d4bea;--violet-deep: #5132c5;--orange: #f47a4c;--shadow-sm: 0 2px 8px rgba(33, 24, 50, .05);--shadow-md: 0 18px 50px rgba(36, 25, 57, .09);--ease: cubic-bezier(.22, 1, .36, 1)}html,body,#app{min-height:100%;margin:0}body{min-height:100vh;background:var(--canvas)}html.creation-scroll-lock,html.creation-scroll-lock body,html.creation-scroll-lock #app,html.history-scroll-lock,html.history-scroll-lock body,html.history-scroll-lock #app{height:100%;min-height:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}::selection{color:#fff;background:var(--violet)}.brand-mark{width:42px;height:42px;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border-radius:13px;color:#fff;background:linear-gradient(135deg,#5033c6,#7856ed 52%,#fc8a60);box-shadow:0 9px 22px #5f40ca3d}.brand-mark svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(480px,1.08fr) minmax(420px,.92fr);background:#f7f6f3}.login-showcase{position:relative;min-height:100vh;display:flex;flex-direction:column;overflow:hidden;padding:clamp(30px,4vw,58px) clamp(34px,5vw,76px);color:#fff;background:radial-gradient(circle at 78% 70%,rgba(249,135,91,.26),transparent 26rem),radial-gradient(circle at 8% 18%,rgba(131,100,241,.25),transparent 23rem),linear-gradient(145deg,#171221,#221833,#1a1426);isolation:isolate}.login-showcase:before{position:absolute;z-index:-1;inset:0;content:"";opacity:.22;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:54px 54px;-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 88%);mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 88%)}.login-brand,.mobile-brand,.workspace-brand{display:flex;align-items:center;gap:13px}.login-brand strong,.workspace-brand strong{display:block;font-size:15px;font-weight:750;letter-spacing:-.02em}.login-brand span,.workspace-brand span{display:block;margin-top:3px;color:#ffffff8f;font-size:11px;letter-spacing:.08em}.showcase-copy{position:relative;z-index:2;width:min(100%,660px);margin-top:clamp(64px,10vh,126px)}.eyebrow,.section-kicker,.login-kicker{color:#a78ef8;font-size:10px;font-weight:800;letter-spacing:.2em}.showcase-copy h1{margin:18px 0 22px;font-size:clamp(42px,5.4vw,76px);font-weight:760;letter-spacing:-.055em;line-height:1.04}.showcase-copy h1 em,.hero-copy h1 em{color:transparent;background:linear-gradient(92deg,#c5b8ff,#f4b099 72%);background-clip:text;-webkit-background-clip:text;font-style:normal}.showcase-copy p{width:min(100%,510px);margin:0;color:#fff9;font-size:15px;line-height:1.8}.showcase-board{position:relative;z-index:2;width:min(100%,650px);height:clamp(238px,28vh,330px);margin-top:clamp(34px,6vh,72px);overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:#ffffff13;box-shadow:0 28px 90px #00000052;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transform:perspective(1000px) rotateX(2deg) rotateY(-2deg)}.board-toolbar{height:38px;display:flex;align-items:center;gap:6px;padding:0 13px;border-bottom:1px solid rgba(255,255,255,.09)}.board-toolbar i{width:7px;height:7px;border-radius:50%;background:#ffffff38}.board-toolbar span{margin-left:7px;color:#ffffff61;font-size:8px;letter-spacing:.12em;text-transform:uppercase}.board-content{height:calc(100% - 38px);display:grid;grid-template-columns:52px 1fr 128px}.board-sidebar{display:flex;flex-direction:column;align-items:center;gap:17px;padding-top:22px;border-right:1px solid rgba(255,255,255,.08)}.board-sidebar span{width:17px;height:17px;border:1px solid rgba(255,255,255,.16);border-radius:5px}.board-sidebar span:first-child{border-color:#b299ffcc;background:#8965ef47}.product-stage{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(145deg,#ffffff0a,#ffffff03)}.stage-glow{position:absolute;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(244,168,134,.36),rgba(116,76,221,.16) 48%,transparent 70%);filter:blur(8px)}.product-shadow,.canvas-shadow{position:absolute;bottom:14%;width:150px;height:30px;border-radius:50%;background:#09050f85;filter:blur(13px)}.product-box,.mock-product{position:relative;width:116px;height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.26);border-radius:20px 20px 14px 14px;color:#2f1d56;background:linear-gradient(155deg,#f8e3d8,#b9a7ef 55%,#8b69dc);box-shadow:inset 0 1px #ffffff8c,0 22px 40px #0b051852;transform:rotate(-4deg)}.product-box:before,.mock-product:before{position:absolute;top:-8px;width:40%;height:13px;content:"";border-radius:7px 7px 3px 3px;background:#f5e8df}.product-box span,.mock-product span{font-family:Georgia,serif;font-size:42px;font-weight:700}.product-box small,.mock-product small{margin-top:8px;font-size:6px;font-weight:800;letter-spacing:.2em}.spark,.canvas-spark{position:absolute;color:#f7d7c7;text-shadow:0 0 16px rgba(255,255,255,.8)}.spark-one{top:22%;left:22%;font-size:18px}.spark-two{right:19%;bottom:23%;font-size:12px}.stage-label{position:absolute;right:14px;bottom:11px;color:#ffffff52;font-size:7px;letter-spacing:.16em}.board-panel{display:flex;flex-direction:column;gap:13px;padding:22px 16px;border-left:1px solid rgba(255,255,255,.08)}.board-panel span{height:7px;border-radius:10px;background:#ffffff1a}.board-panel .panel-title{width:58%;background:#ffffff40}.board-panel span:nth-child(3){width:76%}.board-panel b{height:29px;margin-top:auto;border-radius:9px;background:linear-gradient(90deg,#7956df,#9d6ee1)}.showcase-footnote{margin:auto 0 0;padding-top:24px;color:#ffffff57;font-size:10px;letter-spacing:.1em}.login-panel{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px clamp(30px,6vw,88px) 24px}.login-card{width:min(100%,430px)}.mobile-brand{display:none;margin-bottom:48px}.mobile-brand span{font-size:16px;font-weight:750}.login-heading{margin-bottom:35px}.login-heading h2{margin:11px 0 9px;color:var(--ink);font-size:clamp(30px,4vw,38px);font-weight:760;letter-spacing:-.045em}.login-heading p{margin:0;color:var(--muted);font-size:14px}.login-form{display:flex;flex-direction:column;gap:20px}.field{display:flex;flex-direction:column;gap:9px}.field>span{color:#4f4a56;font-size:13px;font-weight:650}.input-shell{height:52px;display:flex;align-items:center;gap:11px;padding:0 15px;border:1px solid rgba(31,25,42,.12);border-radius:13px;background:#ffffffe0;box-shadow:inset 0 1px #ffffffb3;transition:border-color .2s,box-shadow .2s,background .2s}.input-shell:focus-within{border-color:#6d4bea8c;background:#fff;box-shadow:0 0 0 4px #6d4bea1a}.input-shell>svg{width:19px;height:19px;flex:0 0 auto;fill:none;stroke:#9a95a0;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.input-shell input{min-width:0;flex:1;align-self:stretch;border:0;outline:0;color:var(--ink);background:transparent;font-size:14px}.input-shell input::placeholder{color:#b1acb5}.password-toggle{padding:6px 8px;border:0;border-radius:7px;color:var(--violet-deep);background:transparent;font-size:12px;font-weight:650}.password-toggle:hover:not(:disabled){background:#6d4bea14}.login-message{min-height:38px;display:flex;align-items:center;gap:8px;margin-top:-6px;padding:8px 11px;border:1px solid rgba(206,49,67,.12);border-radius:10px;color:#b32236;background:#ce31430e;font-size:12px}.login-message>span{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:#c9384b;font-size:11px;font-weight:800}.login-message.success{border-color:#24945b24;color:#23784a;background:#24945b0f}.login-message.success>span{background:#2f9b61}.login-submit{height:52px;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:5px;border:0;border-radius:13px;color:#fff;background:linear-gradient(102deg,#5d3bd1,#7451e2 54%,#865ee8);box-shadow:0 12px 26px #5b3ac93b;font-size:14px;font-weight:720;transition:transform .2s var(--ease),box-shadow .2s var(--ease),opacity .2s}.login-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 16px 32px #5b3ac94d}.login-submit:active:not(:disabled){transform:translateY(0)}.login-submit:disabled{opacity:.68}.login-submit svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.button-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.secure-note{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:24px;color:#9a95a0;font-size:11px}.secure-note svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.login-footer{margin-top:auto;padding-top:46px;color:#aaa5ae;font-size:10px;letter-spacing:.08em}.workspace-page{min-height:100vh;color:var(--ink);background:radial-gradient(circle at 89% 5%,rgba(112,79,230,.08),transparent 27rem),radial-gradient(circle at 12% 28%,rgba(244,122,76,.05),transparent 25rem),var(--canvas)}.workspace-page--creation,.workspace-page--history{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;min-height:0;overflow:hidden}.workspace-header{position:sticky;z-index:20;top:0;height:78px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 clamp(24px,5vw,72px);border-bottom:1px solid rgba(31,25,42,.07);background:#f6f5f2d6;-webkit-backdrop-filter:blur(20px) saturate(150%);backdrop-filter:blur(20px) saturate(150%)}.workspace-header-left{min-width:0;display:flex;align-items:center;gap:clamp(22px,3vw,46px)}.workspace-brand{color:inherit;text-decoration:none}.workspace-brand-copy{min-width:0}.workspace-brand strong{color:var(--ink)}.workspace-brand span{color:var(--muted)}.workspace-nav{display:flex;align-items:center;gap:6px}.workspace-nav-link{height:38px;display:inline-flex;align-items:center;gap:7px;padding:0 14px;border:1px solid transparent;border-radius:11px;color:#706a76;background:transparent;font-size:12px;font-weight:680;text-decoration:none;white-space:nowrap;transition:color .2s var(--ease),border-color .2s var(--ease),background .2s var(--ease),box-shadow .2s var(--ease)}.workspace-nav-link svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.workspace-nav-link:hover{color:#43345f;background:#ffffffad}.workspace-nav-link.router-link-active{border-color:#6145b81f;color:#5639b6;background:#ffffffdb;box-shadow:0 3px 12px #3325490f}.header-account{position:relative;flex:0 0 auto;display:flex;align-items:center}.account-chip{appearance:none;display:flex;align-items:center;gap:10px;padding:5px 12px 5px 5px;border:1px solid var(--line);border-radius:999px;color:inherit;background:#ffffffb8;box-shadow:var(--shadow-sm);transition:border-color .2s var(--ease),background .2s var(--ease),box-shadow .2s var(--ease)}.account-chip:hover,.account-chip[aria-expanded=true]{border-color:#5b3db529;background:#fffffff0;box-shadow:0 7px 22px #2e214214}.account-avatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#3b2b69,#7655d8);font-size:13px;font-weight:750}.account-copy{display:flex;flex-direction:column}.account-copy small{color:var(--muted);font-size:9px}.account-copy strong{max-width:132px;overflow:hidden;color:#403b47;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.account-chevron{width:15px;height:15px;fill:none;stroke:#8e8793;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .2s var(--ease)}.account-chevron.open{transform:rotate(180deg)}.account-dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:40;width:282px;padding:8px;border:1px solid rgba(31,25,42,.1);border-radius:16px;background:#fffffff7;box-shadow:0 20px 50px #261b3729;-webkit-backdrop-filter:blur(20px) saturate(150%);backdrop-filter:blur(20px) saturate(150%)}.account-quota{padding:8px}.account-quota-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.account-quota-heading strong{color:#4a4350;font-size:11px}.account-quota-heading button,.quota-record-entry{border:0;color:#6547c9;background:transparent;font-size:10px;font-weight:700}.account-quota-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.account-quota-grid>span{display:flex;flex-direction:column;gap:3px;padding:8px 9px;border-radius:9px;background:#f7f5fb}.account-quota-grid>span.is-available{grid-column:1 / -1;background:#f0ecfc}.account-quota-grid small{color:var(--muted);font-size:9px}.account-quota-grid b{color:#4d3c84;font-size:12px}.account-quota-error{margin:0;color:#b72d43;font-size:10px}.quota-record-entry{width:100%;margin-top:7px;padding:7px 0 2px;text-align:left}.quota-modal-backdrop{position:fixed;z-index:200;inset:0;display:grid;place-items:center;padding:18px;background:#17121f6b;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.quota-modal{width:min(620px,100%);max-height:min(720px,calc(100dvh - 36px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(55,41,74,.12);border-radius:22px;background:#fff;box-shadow:0 30px 90px #18102640}.quota-modal>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 16px;border-bottom:1px solid var(--line)}.quota-modal>header small{color:#8062df;font-size:9px;font-weight:800;letter-spacing:.14em}.quota-modal>header h2{margin:4px 0 0;font-size:19px}.quota-modal>header button{width:34px;height:34px;border:0;border-radius:10px;color:#746d79;background:#f4f2f6;font-size:22px}.quota-modal-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px 22px;background:#faf9fc}.quota-modal-summary span{display:flex;flex-direction:column;gap:5px}.quota-modal-summary small,.quota-record-item small{color:var(--muted);font-size:10px}.quota-modal-summary strong{color:#503b92;font-size:16px}.quota-record-list{min-height:220px;overflow-y:auto;padding:8px 22px 16px}.quota-record-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 2px;border-bottom:1px solid var(--line)}.quota-record-item>div{display:flex;flex-direction:column;gap:5px}.quota-record-item strong{font-size:12px}.quota-record-amount{align-items:flex-end;text-align:right}.quota-record-amount b{color:#6046ba;font-size:12px}.quota-record-state{min-height:210px;display:grid;place-items:center;margin:0;color:var(--muted);font-size:12px}.quota-record-state.is-error{color:#b72d43}.quota-modal>footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:12px 22px;border-top:1px solid var(--line)}.quota-modal>footer button{padding:7px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:10px}.quota-modal>footer span{color:var(--muted);font-size:10px}@media(max-width:600px){.quota-modal-summary{grid-template-columns:1fr}.quota-modal-summary span{flex-direction:row;justify-content:space-between}}.account-dropdown-user{display:flex;align-items:center;gap:11px;padding:8px}.account-avatar-large{width:38px;height:38px}.account-dropdown-user>span:last-child{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.account-dropdown-user small{color:var(--muted);font-size:9px}.account-dropdown-user strong{overflow:hidden;color:#3f3946;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.account-dropdown-divider{height:1px;margin:5px 4px;background:var(--line)}.logout-button{width:100%;min-height:38px;display:flex;align-items:center;gap:7px;padding:0 11px;border:0;border-radius:10px;color:#b72d43;background:transparent;font-size:12px;font-weight:650;text-align:left;transition:color .2s,background .2s}.account-profile-entry{width:100%;min-height:38px;display:flex;align-items:center;gap:8px;padding:0 11px;border-radius:10px;color:#4f4858;font-size:12px;font-weight:650;text-decoration:none;transition:color .2s,background .2s}.account-profile-entry:hover{color:#6041c0;background:#f4f1fc}.account-profile-entry svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.logout-button:hover:not(:disabled){color:#a61f35;background:#bc263c0e}.logout-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.account-menu-enter-active,.account-menu-leave-active{transition:opacity .16s var(--ease),transform .16s var(--ease);transform-origin:top right}.account-menu-enter-from,.account-menu-leave-to{opacity:0;transform:translateY(-5px) scale(.97)}.workspace-main{width:min(100% - 48px,1420px);margin:0 auto;padding:34px 0 72px}.workspace-main-empty{min-height:calc(100vh - 78px);padding-top:0;padding-bottom:0}.profile-page{padding-bottom:90px}.profile-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.profile-heading h1{margin:7px 0 8px;color:var(--ink);font-size:clamp(28px,4vw,40px);letter-spacing:-.045em}.profile-heading p{margin:0;color:var(--muted);font-size:13px}.profile-refresh{min-width:76px;height:38px;border:1px solid var(--line);border-radius:11px;color:#625b69;background:#fff;box-shadow:var(--shadow-sm)}.profile-alert{margin:0 0 18px;padding:12px 14px;border:1px solid rgba(190,43,65,.14);border-radius:12px;color:#ad2840;background:#cb334a0e;font-size:12px}.profile-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(480px,1.18fr);gap:20px}.profile-card{min-width:0;padding:24px;border:1px solid var(--line);border-radius:22px;background:#fffffff0;box-shadow:var(--shadow-md)}.profile-card>header{display:flex;align-items:center;gap:12px;padding-bottom:20px;border-bottom:1px solid var(--line)}.profile-card>header>div{min-width:0;flex:1}.profile-card>header small{color:#8467df;font-size:9px;font-weight:800;letter-spacing:.16em}.profile-card>header h2{margin:3px 0 0;font-size:17px}.profile-card-icon{width:42px;height:42px;display:grid;flex:0 0 auto;place-items:center;border-radius:13px;color:#6a5d76;background:#f1eef4}.profile-card-icon.is-violet{color:#6746cc;background:#eee9fc}.profile-card-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.profile-account-summary{display:flex;align-items:center;gap:14px;padding:24px 0 20px}.profile-large-avatar{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,#3b2b69,#7655d8);font-size:19px;font-weight:760}.profile-account-summary>div{min-width:0;display:flex;flex-direction:column;gap:4px}.profile-account-summary strong{font-size:16px}.profile-account-summary span{color:var(--muted);font-size:11px}.profile-details,.api-key-meta{margin:0}.profile-details>div,.api-key-meta>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid var(--line)}.profile-details>div:last-child,.api-key-meta>div:last-child{border-bottom:0}.profile-details dt,.api-key-meta dt{color:var(--muted);font-size:11px}.profile-details dd,.api-key-meta dd{margin:0;overflow-wrap:anywhere;color:#48414f;font-size:11px;text-align:right}.api-status{padding:5px 9px;border-radius:999px;color:#17865d;background:#e8f7f0;font-size:10px;font-weight:750}.api-status.disabled{color:#8b5961;background:#f5ecee}.api-empty-state{min-height:278px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:36px 12px;color:var(--muted);text-align:center;font-size:12px}.api-empty-state strong{color:#403947;font-size:15px}.api-empty-state p{max-width:430px;margin:10px 0 22px;line-height:1.7}.profile-primary-button{min-height:40px;padding:0 18px;border:0;border-radius:11px;color:#fff;background:linear-gradient(135deg,#5b3bc0,#7a59e8);box-shadow:0 10px 25px #5f41c333;font-size:12px;font-weight:720}.api-key-prefix{margin:22px 0 12px;padding:15px;border:1px solid rgba(101,73,191,.12);border-radius:13px;background:#f7f5fc}.api-key-prefix small{display:block;margin-bottom:8px;color:var(--muted);font-size:10px}.api-key-prefix code{display:block;overflow:hidden;color:#50406d;font-family:SFMono-Regular,Consolas,monospace;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.api-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:20px;border-top:1px solid var(--line)}.api-actions button{min-height:37px;padding:0 14px;border:1px solid var(--line);border-radius:10px;color:#564c62;background:#fff;font-size:11px;font-weight:700}.api-actions button:hover:not(:disabled){border-color:#6548c23d;color:#6645c7}.api-actions button.is-danger{color:#b62c45}.api-key-dialog-backdrop{position:fixed;z-index:300;inset:0;display:grid;place-items:center;padding:20px;background:#17121f7a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.api-key-dialog{width:min(560px,100%);padding:30px;border:1px solid rgba(255,255,255,.5);border-radius:22px;background:#fff;box-shadow:0 35px 100px #19112747;text-align:center}.api-key-dialog-mark{width:46px;height:46px;display:grid;place-items:center;margin:0 auto 14px;border-radius:50%;color:#fff;background:#6c4bd4;font-size:21px}.api-key-dialog h2{margin:0;font-size:21px}.api-key-dialog p{margin:10px auto 18px;color:var(--muted);font-size:12px;line-height:1.7}.api-key-dialog code{display:block;max-height:120px;overflow:auto;padding:14px;border:1px solid rgba(104,75,200,.14);border-radius:12px;color:#4d3d6b;background:#f6f3fc;font-family:SFMono-Regular,Consolas,monospace;font-size:11px;overflow-wrap:anywhere;text-align:left;-webkit-user-select:all;user-select:all}.api-key-dialog>div{display:flex;justify-content:center;gap:10px;margin-top:20px}.api-key-dialog button{min-height:40px;padding:0 16px;border:0;border-radius:10px;color:#fff;background:#6746cc;font-size:11px;font-weight:720}.api-key-dialog button.is-secondary{border:1px solid var(--line);color:#5f5668;background:#fff}.hero-section{min-height:460px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(440px,1.08fr);overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:28px;color:#fff;background:radial-gradient(circle at 82% 62%,rgba(236,139,105,.2),transparent 24rem),radial-gradient(circle at 26% 12%,rgba(119,87,228,.18),transparent 25rem),#1b1625;box-shadow:0 22px 60px #1e162a1f}.hero-copy{position:relative;z-index:3;display:flex;flex-direction:column;justify-content:center;padding:clamp(40px,5vw,74px)}.hero-badge{width:max-content;display:flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(255,255,255,.11);border-radius:999px;color:#ffffffad;background:#ffffff0e;font-size:10px;font-weight:650;letter-spacing:.06em}.hero-badge i{width:6px;height:6px;border-radius:50%;background:#b49afb;box-shadow:0 0 0 5px #b49afb1a}.hero-copy h1{margin:22px 0 18px;font-size:clamp(38px,4.4vw,64px);font-weight:760;letter-spacing:-.055em;line-height:1.08}.hero-copy p{width:min(100%,540px);margin:0;color:#ffffff8a;font-size:14px;line-height:1.85}.hero-status{width:max-content;display:flex;align-items:center;gap:11px;margin-top:30px;padding:10px 14px 10px 10px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#ffffff0e}.status-orb{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;color:#fff;background:linear-gradient(135deg,#8260efe6,#f68157db)}.hero-status>span:last-child{display:flex;flex-direction:column;gap:2px}.hero-status strong{font-size:11px}.hero-status small{color:#ffffff6b;font-size:9px}.hero-visual{position:relative;min-height:460px;overflow:hidden}.visual-grid{position:absolute;inset:0;opacity:.2;background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:radial-gradient(circle at center,#000,transparent 74%);mask-image:radial-gradient(circle at center,#000,transparent 74%)}.visual-glow{position:absolute;border-radius:50%;filter:blur(12px)}.glow-one{top:14%;left:11%;width:340px;height:340px;background:radial-gradient(circle,rgba(116,81,224,.36),transparent 68%)}.glow-two{right:-5%;bottom:-10%;width:310px;height:310px;background:radial-gradient(circle,rgba(240,124,81,.3),transparent 70%)}.canvas-card{position:absolute;top:50%;left:50%;width:min(68%,380px);aspect-ratio:.92;border:1px solid rgba(255,255,255,.14);border-radius:24px}.canvas-back{background:linear-gradient(145deg,#7952da47,#ef805824);transform:translate(-40%,-48%) rotate(9deg)}.canvas-main{display:flex;flex-direction:column;overflow:hidden;background:#f1e8e5f5;box-shadow:0 30px 80px #03010861;transform:translate(-52%,-50%) rotate(-3deg)}.canvas-top,.canvas-meta{display:flex;align-items:center;justify-content:space-between;padding:0 17px;color:#6e6573}.canvas-top{height:42px;border-bottom:1px solid rgba(45,35,55,.09);font-size:7px;font-weight:800;letter-spacing:.14em}.canvas-top i{width:25px;height:19px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;color:#fff;background:#6d4bea;font-size:7px;font-style:normal}.canvas-stage{position:relative;display:flex;flex:1;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(150deg,#f8eee8,#d9cef2 64%,#bfabe4)}.canvas-halo{position:absolute;width:86%;height:86%;border-radius:50%;background:radial-gradient(circle,rgba(255,245,232,.9),rgba(222,180,197,.3) 48%,transparent 70%)}.canvas-shadow{bottom:17%;background:#432b5947}.mock-product{width:124px;height:158px;transform:rotate(2deg)}.spark-left{top:21%;left:22%}.spark-right{right:20%;bottom:24%;font-size:12px}.canvas-meta{height:43px;color:#5a5260;font-size:9px;font-weight:700}.canvas-meta small{color:#958d9b}.floating-pill{position:absolute;z-index:5;display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#ffffffc2;background:#1e162bad;box-shadow:0 12px 32px #0003;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);font-size:9px}.floating-pill i{width:6px;height:6px;border-radius:50%;background:#b59cf8}.pill-one{top:16%;left:2%}.pill-two{right:5%;bottom:15%}.pill-two i{background:#f09b7d}.content-section{margin-top:58px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.section-heading h2{margin:7px 0 0;font-size:27px;font-weight:740;letter-spacing:-.035em}.section-heading>p{margin:0 0 3px;color:var(--muted);font-size:12px}.section-kicker{color:#8367d7;font-size:9px}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.feature-card{min-height:238px;display:flex;flex-direction:column;padding:20px;border:1px solid var(--line);border-radius:19px;background:#ffffffbf;box-shadow:var(--shadow-sm);transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s}.feature-card:hover{border-color:#583ea729;box-shadow:0 16px 38px #2f234317;transform:translateY(-3px)}.feature-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.feature-icon{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px}.feature-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.6}.feature-violet{color:#6547c9;background:#eeeafd}.feature-orange{color:#c15c36;background:#fcece6}.feature-cyan{color:#237f90;background:#e4f5f6}.feature-green{color:#397c58;background:#e7f3ea}.coming-badge{padding:5px 8px;border-radius:999px;color:#88808e;background:#f0eef1;font-size:9px;font-weight:700}.feature-card h3{margin:20px 0 9px;font-size:16px;letter-spacing:-.02em}.feature-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}.feature-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:17px;border-top:1px solid rgba(31,25,42,.065);color:#87818b;font-size:10px}.feature-foot b{font-size:16px;font-weight:400}.lower-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-top:48px}.workflow-card,.recent-card{min-height:330px;padding:26px;border:1px solid var(--line);border-radius:20px;background:#ffffffbd;box-shadow:var(--shadow-sm)}.section-heading.compact{margin-bottom:24px}.section-heading.compact h2{font-size:22px}.workflow-list{margin:0;padding:0;list-style:none}.workflow-list li{position:relative;display:grid;grid-template-columns:46px 1fr;gap:15px;padding:0 0 24px}.workflow-list li:last-child{padding-bottom:0}.workflow-list li:not(:last-child):after{position:absolute;top:41px;bottom:7px;left:22px;width:1px;content:"";background:linear-gradient(#d8d0ee,transparent)}.step-number{width:44px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;color:#684bc2;background:#efebfa;font-size:10px;font-weight:800;letter-spacing:.06em}.workflow-list strong{display:block;margin:1px 0 5px;font-size:13px}.workflow-list p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.empty-state{min-height:208px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;border:1px dashed rgba(31,25,42,.12);border-radius:16px;background:#f6f5f28a;text-align:center}.empty-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;border-radius:16px;color:#8c78c7;background:#efecf7}.empty-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5}.empty-state strong{font-size:13px}.empty-state p{margin:7px 0 0;color:var(--muted);font-size:11px}.workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px clamp(24px,5vw,72px);border-top:1px solid rgba(31,25,42,.07);color:#99939d;font-size:10px;letter-spacing:.04em}@media(max-width:1120px){.login-page{grid-template-columns:minmax(420px,.95fr) minmax(390px,1.05fr)}.showcase-board{height:260px}.hero-section{grid-template-columns:1fr .95fr}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.login-page{display:block}.login-showcase{display:none}.login-panel{min-height:100vh}.mobile-brand{display:flex}.workspace-header{height:70px;gap:14px}.workspace-brand-copy span,.account-copy{display:none}.workspace-header-left{gap:18px}.workspace-nav-link{padding:0 11px}.account-chip{gap:5px;padding:4px 7px 4px 4px}.workspace-main-empty{min-height:calc(100vh - 70px)}.hero-section{grid-template-columns:1fr}.hero-copy{padding-bottom:22px}.hero-visual{min-height:380px}.lower-grid,.profile-grid{grid-template-columns:1fr}}@media(max-width:600px){.login-panel{justify-content:flex-start;padding:32px 22px 22px}.mobile-brand{margin-bottom:58px}.login-footer{padding-top:70px}.workspace-header{gap:8px;padding:0 12px}.workspace-header-left{gap:9px}.workspace-brand{gap:8px}.workspace-brand .brand-mark{width:36px;height:36px}.workspace-brand strong{font-size:12px}.workspace-nav{gap:2px}.workspace-nav-link{height:34px;padding:0 8px;font-size:11px}.workspace-nav-link svg{display:none}.workspace-main{width:min(100% - 28px,1420px);padding-top:18px}.workspace-main-empty{padding-top:0}.hero-section{min-height:0;border-radius:21px}.hero-copy{padding:32px 24px 14px}.hero-copy h1{font-size:35px}.hero-copy p{font-size:13px}.hero-status{width:100%}.hero-visual{min-height:315px}.canvas-card{width:min(65%,250px)}.mock-product{width:84px;height:112px}.mock-product span{font-size:32px}.pill-one{left:6%}.pill-two{right:5%}.content-section{margin-top:40px}.section-heading{align-items:flex-start;flex-direction:column;gap:7px}.section-heading>p{font-size:11px}.feature-grid{grid-template-columns:1fr}.feature-card{min-height:218px}.lower-grid{margin-top:38px}.workflow-card,.recent-card{padding:21px}.workspace-footer{align-items:flex-start;flex-direction:column;padding:20px}.profile-heading{align-items:flex-start;flex-direction:column}.profile-card{padding:18px;border-radius:18px}.api-actions,.api-key-dialog>div{flex-direction:column}.api-actions button,.api-key-dialog button{width:100%}}@media(max-width:420px){.workspace-brand-copy{display:none}.workspace-header-left{gap:6px}.workspace-nav-link{padding:0 7px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
