:root{--vt-c-white:#fff;--vt-c-white-soft:#f8f8f8;--vt-c-white-mute:#f2f2f2;--vt-c-black:#181818;--vt-c-black-soft:#222;--vt-c-black-mute:#282828;--vt-c-indigo:#2c3e50;--vt-c-divider-light-1:#3c3c3c4a;--vt-c-divider-light-2:#3c3c3c1f;--vt-c-divider-dark-1:#545454a6;--vt-c-divider-dark-2:#5454547a;--vt-c-text-light-1:var(--vt-c-indigo);--vt-c-text-light-2:#3c3c3ca8;--vt-c-text-dark-1:var(--vt-c-white);--vt-c-text-dark-2:#ebebeba3;--color-background:var(--vt-c-white);--color-background-soft:var(--vt-c-white-soft);--color-background-mute:var(--vt-c-white-mute);--color-border:var(--vt-c-divider-light-2);--color-border-hover:var(--vt-c-divider-light-1);--color-heading:var(--vt-c-text-light-1);--color-text:var(--vt-c-text-light-1);--section-gap:160px}@media (prefers-color-scheme:dark){:root{--color-background:var(--vt-c-black);--color-background-soft:var(--vt-c-black-soft);--color-background-mute:var(--vt-c-black-mute);--color-border:var(--vt-c-divider-dark-2);--color-border-hover:var(--vt-c-divider-dark-1);--color-heading:var(--vt-c-text-dark-1);--color-text:var(--vt-c-text-dark-2)}}*,:before,:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;color:var(--color-text);background:var(--color-background);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;line-height:1.6;transition:color .5s,background-color .5s}:root{--ink:#303133;--muted:#606266;--line:#dcdfe6;--soft-line:#ebeef5;--surface:#fff;--canvas:#f4f6fb;--green:#d97706;--green-dark:#a84a00;--green-soft:#fff3dd;--amber:#f2b705;--amber-soft:#fff9df;--red:#f56c6c;--red-soft:#fef0f0}.material-license{border-left:2px solid var(--amber);color:#7a4a20;margin:0;padding-left:9px;font-size:11px;line-height:1.55}.material-license.commercial{border-left-color:var(--green);color:var(--green-dark)}.material-copyright-notice{border-top:1px solid var(--soft-line);color:var(--muted);margin:14px 0 0;padding-top:12px;font-size:11px;line-height:1.65}.upload-rights-confirmation{border:1px solid var(--line);color:var(--ink);background:#f8faf8;border-radius:6px;align-items:flex-start;gap:9px;margin-bottom:12px;padding:11px 12px;font-size:12px;line-height:1.55;display:flex}.upload-rights-confirmation input{width:17px;height:17px;accent-color:var(--green);margin-top:1px}.upload-zone:disabled{cursor:not-allowed;opacity:.56}*{box-sizing:border-box}html{background:var(--canvas);min-width:320px;max-width:100%;overflow-x:hidden}body{max-width:100%;min-height:100vh;color:var(--ink);background:var(--canvas);margin:0;font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;overflow-x:hidden}button,textarea,input{font:inherit}button{letter-spacing:0}button:focus-visible,textarea:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:2px}#app{max-width:100%;min-height:100vh;overflow-x:hidden}.app-shell{min-height:100vh}.topbar{border-bottom:1px solid var(--line);background:#fffffff5;grid-template-columns:minmax(210px,1fr) auto minmax(210px,1fr);align-items:center;height:64px;padding:0 clamp(18px,4vw,52px);display:grid}.brand{align-items:center;gap:10px;display:flex}.brand-mark{color:#fff;background:var(--green);border-radius:7px;place-items:center;width:36px;height:36px;display:grid}.brand div{display:grid}.brand strong{font-size:15px}.brand span:last-child{color:var(--muted);font-size:11px}.main-nav{align-self:stretch;gap:4px;display:flex}.main-nav button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:0 16px;display:flex}.main-nav button.active{color:var(--green);border-bottom-color:var(--green);font-weight:650}.main-nav button:disabled{cursor:default;opacity:.55}.library-page{max-width:1180px;margin:0 auto;padding:38px 30px 70px}.library-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px;display:flex}.library-heading h1{color:var(--ink);letter-spacing:0;margin:10px 0 8px;font-size:clamp(28px,3vw,42px)}.library-heading p:not(.eyebrow){max-width:560px;color:var(--muted);margin:0;font-size:13px;line-height:1.7}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.library-card{border:1px solid var(--soft-line);background:#fff;border-radius:7px;overflow:hidden}.library-visual{aspect-ratio:4/5;background:#e9eeea;position:relative;overflow:hidden}.library-visual img{object-fit:cover;width:100%;height:100%;display:block}.library-type{color:#fff;background:#141d18c7;border-radius:4px;align-items:center;gap:5px;padding:5px 8px;font-size:10px;display:inline-flex;position:absolute;bottom:10px;left:10px}.library-card-body{gap:10px;padding:13px;display:grid}.library-card-body>div{gap:3px;display:grid}.library-card-body strong{color:var(--ink);font-size:14px}.library-card-body span{color:var(--muted);font-size:11px}.library-size{color:#8a938e}.library-download{width:100%;text-decoration:none}.library-empty{min-height:310px;color:var(--muted);text-align:center;border:1px dashed #cbd4ce;border-radius:7px;align-content:center;justify-items:center;gap:10px;display:grid}.library-empty strong{color:var(--ink);font-size:16px}.library-empty p{margin:0 0 8px;font-size:12px}.top-actions{justify-self:end;align-items:center;gap:8px;display:flex}.icon-button{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;place-items:center;padding:0;display:grid}.icon-button:hover{color:var(--ink);background:#f1f4f2}.avatar{color:#fff;background:#37483f;border-radius:50%;place-items:center;width:34px;height:34px;font-size:13px;display:grid}main{width:min(1180px,100% - 36px);margin:0 auto;padding:34px 0 52px}.page-intro{justify-content:space-between;align-items:flex-end;gap:36px;margin-bottom:26px;display:flex}.page-intro>div{min-width:0}.eyebrow,.step-kicker{color:var(--green);align-items:center;gap:6px;margin:0 0 8px;font-size:12px;font-weight:700;display:flex}.page-intro h1{letter-spacing:0;margin:0;font-size:clamp(28px,4vw,40px);line-height:1.14}.page-intro>div:first-child>p:last-child{overflow-wrap:anywhere;color:var(--muted);margin:10px 0 0;font-size:14px}.workflow-steps{justify-content:flex-end;align-items:center;min-width:470px;padding-bottom:3px;display:flex}.workflow-step{color:#8b948e;align-items:center;gap:8px;display:flex}.workflow-step>div{gap:1px;display:grid}.workflow-step strong{white-space:nowrap;font-size:12px}.workflow-step small{font-size:10px}.step-number{border:1px solid #cfd6d1;border-radius:50%;place-items:center;width:27px;height:27px;font-size:12px;display:grid}.workflow-step.active{color:var(--green)}.workflow-step.active .step-number{color:#fff;background:var(--green);border-color:var(--green)}.workflow-step.done .step-number{color:var(--green);background:var(--green-soft);border-color:#a6d3bd}.step-line{background:#cfd6d1;width:clamp(26px,4vw,54px);height:1px;margin:0 10px}.step-line.done{background:#79b99a}.workspace-panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 10px 35px #1b2d230e}.panel-heading{border-bottom:1px solid var(--soft-line);justify-content:space-between;align-items:center;min-height:84px;padding:20px 24px;display:flex}.panel-heading h2{letter-spacing:0;margin:0;font-size:20px}.step-kicker{margin-bottom:5px}.privacy-badge{color:var(--green);background:var(--green-soft);border-radius:5px;align-items:center;gap:6px;padding:6px 9px;font-size:11px;font-weight:650;display:inline-flex}.model-badge{color:#8b4b14;background:var(--amber-soft);border-radius:5px;align-items:center;gap:6px;padding:6px 9px;font-size:11px;font-weight:650;display:inline-flex}.lock-badge{color:#4059a5;background:#edf1ff;border-radius:5px;align-items:center;gap:6px;padding:6px 9px;font-size:11px;font-weight:650;display:inline-flex}.entry-mode-switch{border-bottom:1px solid var(--soft-line);background:#fafbfa;gap:6px;padding:10px 24px;display:flex}.entry-mode-switch button{min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;align-items:center;gap:7px;padding:0 13px;display:inline-flex}.entry-mode-switch button.active{color:var(--green);background:var(--green-soft);border-color:#a6d3bd;font-weight:700}.entry-mode-switch button:focus-visible{outline-offset:2px;outline:3px solid #17755033}.reference-source-bar{border-bottom:1px solid var(--soft-line);background:#fafbfa;align-items:center;gap:12px;min-height:58px;padding:10px 24px;display:flex}.reference-source-bar>span{color:var(--muted);font-size:11px}.material-library-button{min-height:36px;color:var(--green);background:var(--green-soft);cursor:pointer;border:1px solid #a6d3bd;border-radius:5px;align-items:center;gap:7px;padding:0 13px;font-weight:700;display:inline-flex}.material-library-button:focus-visible{outline-offset:2px;outline:3px solid #17755033}.material-library{background:#fafbfa;min-height:510px;padding:22px 24px 26px}.material-library-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.material-library-heading>div{align-items:center;gap:10px;min-width:0;display:flex}.material-library-heading>div>span{width:34px;height:34px;color:var(--green);background:var(--green-soft);border-radius:5px;flex:none;place-items:center;display:grid}.material-library h3{letter-spacing:0;margin:0;font-size:15px}.material-library-heading p{color:var(--muted);margin:2px 0 0;font-size:10px}.material-count{color:var(--muted);flex:none;font-size:10px}.material-search{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:16px;display:grid}.material-query-summary{min-height:42px;color:var(--muted);border:1px solid var(--line);background:#f1f5f2;border-radius:5px;align-items:center;gap:8px;margin-top:16px;padding:0 12px;font-size:11px;display:flex}.material-query-summary strong{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.material-search-field{color:#718078;background:#fff;border:1px solid #cfd6d1;border-radius:5px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;height:40px;padding:0 8px 0 12px;display:grid}.material-search-field:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #1775501a}.material-search-field input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:12px}.material-clear-search{width:28px;height:28px}.material-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:330px;display:flex}.material-state strong{margin-top:13px;font-size:14px}.material-state p{max-width:420px;color:var(--muted);margin:6px 0 17px;font-size:11px;line-height:1.65}.material-state-actions,.confirmation-actions{justify-content:center;gap:8px;display:flex}.material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.material-tile{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0;overflow:hidden}.material-visual{aspect-ratio:4/3;background:#e9eeeb;position:relative;overflow:hidden}.material-visual img{object-fit:cover;width:100%;height:100%;display:block}.material-visual>span{color:#fff;background:#121c16b8;border-radius:3px;padding:3px 5px;font-size:8px;position:absolute;bottom:7px;right:7px}.material-info{gap:7px;padding:10px;display:grid}.material-info>strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.material-info>p{min-height:30px;color:var(--muted);margin:0;font-size:9px;line-height:1.55;overflow:hidden}.material-tags{gap:4px;min-height:20px;display:flex;overflow:hidden}.material-tags span{color:#496158;background:#edf2ef;border-radius:3px;flex:none;padding:3px 5px;font-size:8px}.material-info .secondary-button{width:100%;min-height:31px;font-size:9px}.reference-upload-panel{background:#fafbfa;padding:24px}.reference-upload-panel .upload-zone{min-height:405px}.direct-prompt-panel{background:#fafbfa;align-content:start;gap:18px;min-height:500px;padding:30px clamp(24px,7vw,84px);display:grid}.direct-prompt-editor textarea{background:#fff;min-height:310px}.direct-prompt-continue{justify-self:end;min-width:180px}.reverse-layout{grid-template-columns:minmax(300px,.88fr) minmax(400px,1.12fr);min-height:510px;display:grid}.reference-column{border-right:1px solid var(--soft-line);background:#fafbfa;padding:24px}.upload-zone{width:100%;min-height:405px;color:var(--muted);cursor:pointer;background:#fff;border:1px dashed #aeb9b2;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex}.upload-zone:hover,.upload-zone.dragging{color:var(--green);border-color:var(--green);background:#f4fbf7}.upload-zone strong{color:var(--ink);margin-top:5px;font-size:15px}.upload-zone small{overflow-wrap:anywhere;color:#8b948e;max-width:100%;margin-top:8px;padding:0 12px;font-size:11px}.upload-icon,.state-icon{width:48px;height:48px;color:var(--green);background:var(--green-soft);border-radius:50%;place-items:center;display:grid}.image-preview{aspect-ratio:4/5;border:1px solid var(--line);background:#e8ece9;border-radius:7px;max-height:405px;position:relative;overflow:hidden}.image-preview img{object-fit:contain;width:100%;height:100%;display:block}.preview-remove{color:#fff;background:#141c17c2;position:absolute;top:10px;right:10px}.preview-remove:hover{color:#fff;background:#141c17e6}.image-meta{color:#fff;background:#121c16d1;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px 7px;padding:11px 12px;font-size:11px;display:grid;position:absolute;bottom:0;left:0;right:0}.image-meta>span:last-child{color:#ffffffc2;grid-column:2}.image-name{text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.change-image{width:100%;margin-top:12px}.restored-reference-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:330px;display:flex}.restored-reference-state strong{margin-top:13px;font-size:14px}.restored-reference-state p{max-width:280px;color:var(--muted);margin:6px 0 0;font-size:11px;line-height:1.65}.confirmation-state .state-icon{color:var(--green);background:var(--green-soft)}.analysis-column{align-items:stretch;min-width:0;padding:24px;display:flex}.analysis-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:390px;display:flex}.analysis-state strong{margin-top:16px;font-size:15px}.analysis-state p{max-width:350px;color:var(--muted);margin:7px 0 18px;font-size:12px;line-height:1.65}.analysis-state .billing-rate{color:#9a540d;margin:-8px 0 10px;font-size:11px;font-weight:700}.empty-state .state-icon{color:#667069;background:#eef1ef}.error-state .state-icon{color:var(--red);background:var(--red-soft)}.progress-track{background:#e7ece9;border-radius:2px;width:min(320px,72%);height:4px;overflow:hidden}.progress-track span{background:var(--green);width:38%;height:100%;animation:1.25s ease-in-out infinite alternate progress;display:block}.spin{color:var(--green);animation:1s linear infinite spin}.prompt-result{flex-direction:column;gap:16px;width:100%;display:flex}.result-banner{min-height:54px;color:var(--green-dark);background:var(--green-soft);border:1px solid #c6e3d4;border-radius:6px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:9px 12px;display:grid}.result-banner.cached{color:#955016;background:var(--amber-soft);border-color:#efd4ba}.result-banner div{gap:1px;display:grid}.result-banner strong{font-size:12px}.result-banner span{opacity:.78;font-size:10px}.prompt-editor{gap:7px;display:grid;position:relative}.prompt-editor>span,.prompt-editor-heading label,.style-facts span{color:#48524c;font-size:11px;font-weight:700}.prompt-editor-heading{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.prompt-copy-button{flex:none;gap:5px;min-height:32px;font-size:10px}.prompt-editor textarea{resize:vertical;width:100%;min-height:166px;color:var(--ink);background:#fbfcfb;border:1px solid #cfd6d1;border-radius:6px;padding:12px 13px 25px;font-size:12px;line-height:1.7}.prompt-editor textarea:focus{border-color:var(--green)}.source-prompt-editor textarea[readonly]{background:#f7faf8}.copy-error{color:#b23a34;margin:-2px 0 0;font-size:10px}.prompt-editor small{color:#8b948e;font-size:10px;position:absolute;bottom:7px;right:9px}.style-facts{border:1px solid var(--soft-line);background:var(--soft-line);border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;display:grid;overflow:hidden}.style-facts div{background:#fff;min-width:0;padding:10px 12px}.style-facts div+div{border-left:0}.style-facts p{color:var(--muted);overflow-wrap:anywhere;white-space:normal;margin:4px 0 0;font-size:11px;line-height:1.55}.primary-button,.secondary-button{cursor:pointer;border-radius:5px;justify-content:center;align-items:center;gap:7px;min-height:38px;font-size:12px;font-weight:650;display:inline-flex}.primary-button{color:#fff;background:var(--green);border:1px solid var(--green)}.primary-button:hover:not(:disabled){background:var(--green-dark)}.primary-button:disabled{cursor:not-allowed;opacity:.42}.secondary-button{color:var(--ink);background:#fff;border:1px solid #cfd6d1;padding:0 14px}.secondary-button:hover{background:#f8faf8;border-color:#96a39b}.continue-button{margin-top:auto}.placeholder-panel{min-height:480px;color:var(--green);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.placeholder-panel h2{color:var(--ink);margin:14px 0 5px;font-size:20px}.placeholder-panel p{color:var(--muted);margin:0 0 18px;font-size:13px}.generation-layout{grid-template-columns:minmax(330px,.78fr) minmax(430px,1.22fr);min-height:540px;display:grid}.generation-form{border-right:1px solid var(--soft-line);background:#fafbfa;flex-direction:column;gap:18px;padding:24px;display:flex}.form-block{gap:7px;display:grid;position:relative}.form-block label,.field-label{color:#3e4942;font-size:11px;font-weight:700}.form-block label span{color:#8b948e;font-weight:400}.form-block input,.form-block textarea,.form-block select{width:100%;color:var(--ink);background:#fff;border:1px solid #cfd6d1;border-radius:5px;font-size:12px}.form-block input,.form-block select{height:40px;padding:0 11px}.form-block textarea{resize:vertical;min-height:88px;padding:10px 11px 22px;line-height:1.6}.form-block input:focus,.form-block textarea:focus,.form-block select:focus{border-color:var(--green)}.form-block>small{color:#8b948e;font-size:9px;position:absolute;bottom:6px;right:9px}.segmented-control{grid-template-columns:1fr 1fr;gap:6px;display:grid}.model-fieldset{border:0;min-width:0;margin:0;padding:0}.segmented-control label{min-height:42px;color:var(--muted);cursor:pointer;text-align:center;background:#fff;border:1px solid #cfd6d1;border-radius:5px;place-items:center;padding:6px 8px;font-size:11px;display:grid}.segmented-control label small{color:#939b96;font-size:9px;display:block}.segmented-control label.active{color:var(--green-dark);background:var(--green-soft);border-color:#94caae;font-weight:700}.segmented-control input:focus-visible+span{outline-offset:5px;border-radius:2px;outline:3px solid #17755033}.segmented-control label:has(input:disabled){cursor:not-allowed;opacity:.62}.prompt-details{border-top:1px solid var(--soft-line);border-bottom:1px solid var(--soft-line)}.prompt-details summary{color:var(--muted);cursor:pointer;padding:10px 0;font-size:11px;font-weight:650}.prompt-details p{color:#68736c;white-space:pre-wrap;max-height:220px;margin:0 0 10px;font-size:10px;line-height:1.65;overflow:auto}.execution-prompt-details .prompt-editor{margin-bottom:12px}.form-actions{grid-template-columns:auto 1fr;gap:8px;margin-top:auto;display:grid}.generate-button{min-height:42px}.generation-preview{min-width:0;padding:24px;display:flex}.generation-preview>*{width:100%}.generation-progress{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.processing-visual{aspect-ratio:4/5;color:#8ba095;background:#eef3f0;border:1px solid #d8e0db;border-radius:7px;place-items:center;width:190px;display:grid;position:relative;overflow:hidden}.scan-line{background:var(--green);height:2px;animation:2.2s ease-in-out infinite alternate scan;position:absolute;left:12px;right:12px;box-shadow:0 0 13px #17755080}.generation-progress>strong{margin-top:18px;font-size:14px}.generation-progress>p{color:var(--muted);margin:5px 0 16px;font-size:11px}.numeric-progress{grid-template-columns:1fr 34px;align-items:center;gap:9px;width:min(360px,78%);display:grid}.numeric-progress>div{background:#e5eae7;border-radius:3px;height:5px;overflow:hidden}.numeric-progress>div span{background:var(--green);height:100%;transition:width .25s;display:block}.numeric-progress strong{color:var(--green);font-size:10px}.job-id{color:#8b948e;align-items:center;gap:5px;margin-top:10px;font-size:9px;display:flex}.generated-result{flex-direction:column;gap:14px;display:flex}.generated-image-wrap{border:1px solid var(--line);background:#e9edea;border-radius:7px;flex:1;place-items:center;min-height:330px;display:grid;position:relative;overflow:hidden}.generated-image-wrap img{object-fit:contain;width:100%;height:100%;max-height:410px;display:block}.result-status{color:#fff;background:#0f5e3fe6;border-radius:4px;align-items:center;gap:5px;padding:6px 8px;font-size:10px;font-weight:650;display:flex;position:absolute;top:10px;left:10px}.result-meta{border:1px solid var(--soft-line);border-radius:5px;grid-template-columns:1fr 1fr;display:grid}.result-meta div{gap:2px;padding:8px 11px;display:grid}.result-meta div+div{border-left:1px solid var(--soft-line)}.result-meta span{color:var(--muted);font-size:9px}.result-meta strong{font-size:11px}.stale-warning{color:#8a4a15;background:var(--amber-soft);border-radius:5px;margin:0;padding:8px 10px;font-size:10px}.generated-result-actions{grid-template-columns:auto minmax(0,1fr);gap:8px;display:grid}.generated-result-actions>button,.approve-button{min-height:41px}@keyframes scan{0%{transform:translateY(-78px)}to{transform:translateY(78px)}}.master-strip{border-bottom:1px solid var(--soft-line);background:#fafbfa;grid-template-columns:54px 1fr auto;align-items:center;gap:12px;min-height:76px;padding:10px 24px;display:grid}.master-strip>img{object-fit:cover;border:1px solid var(--line);border-radius:5px;width:54px;height:54px}.master-strip>div:nth-child(2){display:grid}.master-strip span{color:var(--muted);font-size:9px}.master-strip strong{font-size:12px}.master-strip small{color:#89938d;margin-top:2px;font-size:9px}.lock-rule{color:#4059a5;align-items:center;gap:8px;display:flex}.lock-rule p{margin:0;display:grid}.lock-rule p span{color:#697594}.batch-layout{grid-template-columns:minmax(350px,.84fr) minmax(500px,1.16fr);min-height:560px;display:grid}.dish-queue{border-right:1px solid var(--soft-line);background:#fafbfa;flex-direction:column;min-width:0;padding:20px;display:flex}.add-dish-form{border-bottom:1px solid var(--soft-line);grid-template-columns:.85fr 1.15fr auto;align-items:end;gap:8px;padding-bottom:16px;display:grid}.queue-title{grid-column:1/-1;justify-content:space-between;align-items:center;gap:14px;display:flex}.queue-title>div{align-items:baseline;gap:7px;display:flex}.queue-title span{font-size:12px;font-weight:700}.queue-title small,.queue-title p{color:var(--muted);font-size:9px}.queue-title p{margin:0}.add-dish-form label{color:#465149;gap:5px;min-width:0;font-size:10px;font-weight:700;display:grid}.add-dish-form label span small{color:#8c958f;font-weight:400}.add-dish-form input,.add-dish-form textarea,.queue-fields input{width:100%;color:var(--ink);background:#fff;border:1px solid #cfd6d1;border-radius:5px;font-size:10px}.add-dish-form input{height:38px;padding:0 10px}.add-dish-form textarea{resize:vertical;height:38px;min-height:38px;padding:10px}.add-dish-button{white-space:nowrap;height:38px}.inline-error{color:var(--red);grid-column:1/-1;margin:0;font-size:10px}.queue-list{align-content:start;gap:7px;max-height:365px;margin:12px -5px 0;padding:0 5px;display:grid;overflow:auto}.queue-empty{color:#98a19b;align-content:center;place-items:center;gap:7px;min-height:120px;font-size:10px;display:grid}.queue-item{border:1px solid var(--soft-line);background:#fff;border-radius:6px;grid-template-columns:24px minmax(0,1fr) auto 32px;align-items:center;gap:7px;min-width:0;padding:8px;display:grid}.queue-index{color:#607068;background:#edf1ee;border-radius:50%;place-items:center;width:22px;height:22px;font-size:9px;display:grid}.queue-fields{gap:3px;min-width:0;display:grid}.queue-fields input{border-color:#0000;height:25px;padding:0 7px}.queue-fields input:first-child{font-weight:700}.queue-fields input:disabled{color:var(--ink);opacity:1;background:0 0}.queue-status{color:#727d76;background:#f0f2f1;border-radius:4px;justify-content:center;align-items:center;gap:4px;min-width:52px;padding:4px 6px;font-size:9px;display:flex}.queue-status.succeeded{color:var(--green);background:var(--green-soft)}.queue-status.failed{color:var(--red);background:var(--red-soft)}.queue-status.submitting,.queue-status.queued,.queue-status.running{color:#925316;background:var(--amber-soft)}.queue-actions{grid-template-columns:auto 1fr;gap:8px;margin-top:auto;padding-top:14px;display:grid}.batch-results{min-width:0;padding:20px}.results-toolbar{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.results-toolbar>div{display:grid}.results-toolbar strong{font-size:12px}.results-toolbar span{color:var(--muted);font-size:9px}.quality-success{color:var(--green-dark);background:var(--green-soft);border:1px solid #c6e3d4;border-radius:5px;align-items:center;gap:7px;margin-bottom:12px;padding:9px 10px;font-size:10px;font-weight:650;display:flex}.download-error{color:var(--red);background:var(--red-soft);border-radius:5px;margin:0 0 12px;padding:8px 10px;font-size:10px}.results-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:410px;display:flex}.results-empty strong{margin-top:12px;font-size:13px}.results-empty p{color:var(--muted);margin:4px 0;font-size:10px}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.result-card{border:1px solid var(--line);background:#fff;border-radius:7px;min-width:0;overflow:hidden}.result-visual{aspect-ratio:4/3;color:#89958e;background:#edf1ee;place-items:center;display:grid;position:relative;overflow:hidden}.result-visual img{object-fit:cover;width:100%;height:100%;display:block}.result-loading{color:var(--green);justify-items:center;gap:5px;font-size:10px;display:grid}.result-placeholder{color:#9da7a1}.quality-pass{color:#fff;background:#0f5e3fe6;border-radius:4px;align-items:center;gap:4px;padding:4px 6px;font-size:8px;display:flex;position:absolute;top:7px;left:7px}.result-card-body{gap:7px;padding:9px;display:grid}.result-card-body>div:first-child{justify-content:space-between;gap:8px;min-width:0;display:flex}.result-card-body>div:first-child strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.result-card-body>div:first-child span{color:var(--muted);flex:none;font-size:8px}.quality-meter{color:var(--green-dark);justify-content:space-between;font-size:9px;display:flex}.item-error{min-height:29px;color:var(--red);background:var(--red-soft);border-radius:4px;margin:0;padding:6px 7px;font-size:8px;line-height:1.5}.result-card-actions{justify-content:flex-end;display:flex}.result-card-actions .secondary-button{min-height:28px;padding:0 9px;font-size:9px}.save-image-button{white-space:nowrap}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.dialog-backdrop{z-index:50;background:#131c1775;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.api-dialog{background:#fff;border:1px solid #cfd6d1;border-radius:8px;width:min(500px,100%);max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 24px 70px #101c153d}.api-dialog>header{border-bottom:1px solid var(--soft-line);grid-template-columns:auto 1fr auto;align-items:center;gap:11px;min-height:78px;padding:17px 18px;display:grid}.dialog-icon{width:38px;height:38px;color:var(--green);background:var(--green-soft);border-radius:6px;place-items:center;display:grid}.api-dialog h2{letter-spacing:0;margin:0;font-size:17px}.api-dialog header p{color:var(--muted);margin:3px 0 0;font-size:10px}.api-dialog-body{gap:13px;padding:18px;display:grid}.current-api{border:1px solid var(--soft-line);background:#f4f7f5;border-radius:5px;gap:3px;min-width:0;padding:10px 11px;display:grid}.current-api span,.api-url-field>span,.api-key-field>span{color:#48524c;font-size:10px;font-weight:700}.api-key-field>span small{color:var(--green);margin-left:4px;font-weight:500}.current-api strong{overflow-wrap:anywhere;font-size:11px}.api-url-field,.api-key-field{gap:6px;display:grid}.api-url-field input,.api-key-field input{width:100%;height:42px;color:var(--ink);background:#fff;border:1px solid #bfc8c2;border-radius:5px;padding:0 11px;font-size:12px}.api-key-field>div{position:relative}.api-key-field input{padding-right:42px}.api-url-field input:focus,.api-key-field input:focus{border-color:var(--green)}.api-url-field small,.api-key-field>small{color:#7c8780;font-size:9px;line-height:1.5}.key-visibility-button{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;place-items:center;padding:0;display:grid;position:absolute;top:3px;right:3px}.key-visibility-button:hover{color:var(--ink);background:#f1f4f2}.same-origin-button{width:max-content;color:var(--green);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;font-size:10px;display:inline-flex}.connection-state{border-radius:5px;align-items:center;gap:9px;min-height:49px;padding:9px 10px;font-size:10px;display:flex}.connection-state.testing{color:#8a4e1b;background:var(--amber-soft)}.connection-state.success{color:var(--green-dark);background:var(--green-soft);border:1px solid #c6e3d4}.connection-state.error{color:var(--red);background:var(--red-soft);border:1px solid #f0c8c4}.connection-state>div{gap:2px;display:grid}.connection-state strong{font-size:11px}.connection-state code,.connection-state span{overflow-wrap:anywhere;font-size:9px}.capability-list{grid-template-columns:repeat(4,1fr);gap:5px;display:grid}.capability-list span{color:#8a938d;background:#f2f4f3;border-radius:4px;place-items:center;min-height:27px;font-size:9px;display:grid}.capability-list span.ready{color:var(--green-dark);background:var(--green-soft)}.provider-status-list{grid-template-columns:1fr 1fr;gap:7px;display:grid}.provider-status-list>div{border:1px solid var(--soft-line);background:#f7f9f8;border-radius:5px;gap:3px;min-width:0;padding:9px 10px;display:grid}.provider-status-list span{color:var(--muted);font-size:8px}.provider-status-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.provider-status-list small{color:var(--amber);font-size:8px}.provider-status-list small.ready{color:var(--green)}.api-security-note{color:#68736c;background:#fafbfa;border-left:3px solid #aab7af;margin:0;padding:9px 10px;font-size:9px;line-height:1.6}.api-dialog>footer{border-top:1px solid var(--soft-line);grid-template-columns:1fr 1fr;gap:8px;padding:13px 18px 17px;display:grid}.api-dialog>footer button{min-height:40px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress{0%{transform:translate(-75%)}to{transform:translate(240%)}}@media (width<=767px){.material-grid,.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{grid-template-rows:auto auto;grid-template-columns:1fr auto;height:auto;min-height:64px;padding-block:5px}.main-nav{grid-area:2/1/auto/-1;height:36px;display:flex;overflow-x:auto}.main-nav button{white-space:nowrap;flex:none;padding:0 11px}.page-intro{display:block}.workflow-steps{justify-content:flex-start;min-width:0;margin-top:24px}.workflow-step{min-width:0}.reverse-layout,.generation-layout,.batch-layout{grid-template-columns:1fr}.dish-queue,.generation-form,.reference-column{border-right:0;border-bottom:1px solid var(--soft-line)}.upload-zone{min-height:300px}.image-preview{margin:0 auto}}@media (width<=580px){.reference-source-bar{flex-direction:column;align-items:stretch;padding:8px 16px}.material-library-button{justify-content:center}.material-library{min-height:430px;padding:18px 16px 22px}.material-search,.material-grid{grid-template-columns:1fr}.material-state-actions,.confirmation-actions{flex-direction:column;align-items:stretch;width:100%}.material-state-actions button,.confirmation-actions button{width:100%}.reference-upload-panel{padding:16px}.library-page{padding:24px 16px 48px}.library-heading{flex-direction:column;align-items:stretch}.library-grid{grid-template-columns:1fr}.entry-mode-switch{padding:8px 16px}.entry-mode-switch button{flex:1 1 0;justify-content:center;padding:0 8px}.direct-prompt-panel{min-height:430px;padding:20px 16px}.direct-prompt-continue{width:100%}.topbar{height:auto;min-height:58px;padding:0 14px}.brand div span,.top-actions .icon-button:not(.settings-button){display:none}.top-actions{gap:4px}main{width:min(100% - 20px,1180px);padding-top:22px}.page-intro h1{font-size:28px}.workflow-step>div{display:none}.step-line{flex:1;min-width:18px}.panel-heading,.reference-column,.analysis-column,.generation-form,.generation-preview{padding:18px}.panel-heading h2{font-size:17px}.privacy-badge,.model-badge,.lock-badge{display:none}.master-strip{grid-template-columns:48px 1fr;padding:10px 18px}.master-strip>img{width:48px;height:48px}.lock-rule{grid-column:1/-1}.style-facts,.add-dish-form{grid-template-columns:1fr}.queue-title,.inline-error{grid-column:1}.result-grid{grid-template-columns:1fr}.dialog-backdrop{align-items:end;padding:10px}.api-dialog{max-height:calc(100vh - 20px)}.api-dialog-body{padding:15px}.capability-list{grid-template-columns:1fr 1fr}.provider-status-list{grid-template-columns:1fr}.style-facts div+div{border-top:1px solid var(--soft-line);border-left:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.skip-link{z-index:100;color:#fff;background:var(--green-dark);border-radius:5px;padding:9px 12px;text-decoration:none;position:fixed;top:8px;left:8px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.product-shell{background:var(--canvas);min-height:100vh}.product-topbar{z-index:30;border-bottom:1px solid var(--line);background:#fffffffa;grid-template-columns:230px minmax(0,1fr) auto;align-items:center;gap:18px;min-height:64px;padding:0 24px;display:grid;position:sticky;top:0}.product-topbar .brand{color:inherit;text-decoration:none}.product-topbar>.icon-button{grid-column:3;justify-self:end}.product-layout{grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 64px);display:grid}.product-sidebar{border-right:1px solid var(--line);background:#fff;align-self:start;height:calc(100vh - 64px);padding:26px 14px;position:sticky;top:64px}.product-sidebar>p{color:#87918b;margin:0 10px 9px;font-size:10px;font-weight:700}.product-sidebar nav{gap:4px;display:grid}.product-sidebar a{color:#4f5b54;border-radius:6px;align-items:center;gap:9px;min-width:0;min-height:42px;padding:0 11px;font-size:12px;text-decoration:none;display:flex}.product-sidebar a span{overflow-wrap:anywhere;min-width:0}.product-sidebar a:hover{background:#f2f5f3}.product-layout>main{width:100%;min-width:0;max-width:none;margin:0;padding:0}.product-layout main h1:focus{outline-offset:4px;border-radius:3px;outline:2px solid #17755073}.product-view{width:min(1180px,100% - 48px);margin:0 auto;padding:32px 0 64px}.product-page-heading{justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:20px;display:flex}.product-page-heading>div:first-child{max-width:560px}.product-page-heading p{color:var(--green);margin:0 0 7px;font-size:11px;font-weight:700}.product-page-heading h1{letter-spacing:0;margin:0;font-size:30px;line-height:1.2}.product-page-heading>div>span{color:var(--muted);margin-top:8px;font-size:12px;line-height:1.65;display:block}.product-stepper{grid-template-columns:repeat(3,minmax(0,1fr));min-width:min(100%,520px);margin:0;padding:0;list-style:none;display:grid}.product-stepper li{color:#7e8982;grid-template-columns:28px minmax(0,1fr);gap:7px;min-width:0;display:grid;position:relative}.product-stepper li:not(:last-child):after{content:"";background:#d7ddd9;height:1px;position:absolute;top:13px;left:34px;right:6px}.product-stepper li>span{z-index:1;background:#fff;border:1px solid #cfd6d1;border-radius:50%;place-items:center;width:28px;height:28px;font-size:10px;display:grid}.product-stepper li div{gap:2px;min-width:0;padding-right:8px;display:grid}.product-stepper strong,.product-stepper small{overflow-wrap:anywhere}.product-stepper strong{color:#5f6a63;font-size:10px}.product-stepper small{font-size:8px}.product-stepper li.active>span{color:#fff;border-color:var(--green);background:var(--green)}.product-view-actions{border:1px solid var(--line);background:#fff;border-radius:7px;justify-content:space-between;align-items:center;gap:14px;min-height:64px;margin-top:14px;padding:12px 14px;display:flex}.product-view-actions>span,.inline-back-button{align-items:center;gap:7px;display:inline-flex}.product-view-actions>span{color:var(--muted);font-size:11px}.product-view-actions button{flex:none}.inline-back-button{color:#536058;border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;min-height:38px;margin-bottom:10px;padding:0 12px;font-size:11px}.product-form-error{color:#8f302a;background:var(--red-soft);border:1px solid #eac6c2;border-radius:6px;width:min(1180px,100% - 48px);margin:12px auto 0;padding:10px 12px;font-size:12px}.single-generation-view>.product-form-error{width:100%}@media (width<=767px){.product-topbar{grid-template-columns:minmax(180px,1fr) 42px}.product-topbar>.icon-button{grid-column:2}.product-layout{grid-template-columns:1fr}.product-sidebar{z-index:20;border-right:0;border-bottom:1px solid var(--line);scrollbar-width:thin;width:100%;height:auto;padding:7px 12px;position:sticky;top:64px;overflow-x:auto}.product-sidebar>p{display:none}.product-sidebar nav{width:max-content;min-width:100%;display:flex}.product-sidebar a{white-space:nowrap;min-height:38px}.product-page-heading{flex-direction:column;align-items:stretch}.product-stepper{width:100%}}@media (width<=600px){.product-topbar{min-height:58px;padding:0 14px}.product-layout{min-height:calc(100vh - 58px)}.product-sidebar{top:58px}.product-sidebar a{padding-inline:10px;font-size:10px}.product-view{width:min(100% - 24px,1180px);padding-top:22px}.product-page-heading h1{font-size:24px}.product-stepper{gap:3px}.product-stepper li{grid-template-columns:24px minmax(0,1fr);gap:5px}.product-stepper li>span{width:24px;height:24px}.product-stepper li:not(:last-child):after{top:11px;left:28px}.product-stepper small{display:none}.product-view-actions{flex-direction:column;align-items:stretch}.product-view-actions button{width:100%}}html,body,#app{min-width:1280px}html,body{background:var(--canvas);overflow-x:auto}@media (width<=1279px){html,body,#app,.product-shell{min-width:0}}body{color:var(--ink);font-family:Microsoft YaHei,PingFang SC,Segoe UI,sans-serif;font-size:14px}#app{overflow:visible}.product-shell{background:var(--canvas);min-width:1280px}.product-shell.is-proportionally-scaled{zoom:var(--desktop-scale);width:1280px;min-width:1280px}.product-topbar{z-index:40;border-bottom:1px solid var(--soft-line);background:#fff;grid-template-columns:298px minmax(0,1fr) auto;gap:0;height:74px;min-height:74px;padding:0;position:sticky;top:0}.product-window-title{color:#606266;border-right:1px solid var(--soft-line);align-items:center;gap:9px;height:100%;padding:0 22px;display:flex}.product-window-title strong{color:#303133;font-size:25px;font-weight:700}.product-window-title>span:not(.product-brand-mark){color:#909399;font-size:12px}.product-topbar>.icon-button{color:#606266;background:#fff;border-color:#dcdfe6;grid-column:3;justify-self:end;width:30px;height:30px;margin-right:12px}.product-topbar>.icon-button:hover{color:var(--green);background:var(--green-soft);border-color:#a0cfff}.product-layout{grid-template-columns:298px minmax(982px,1fr);min-height:calc(100vh - 74px)}.product-sidebar{background:#fff;border-right:1px solid #dfe4ef;width:auto;height:calc(100vh - 74px);padding:0;position:sticky;top:74px;overflow-y:auto}.product-sidebar-heading{border-bottom:1px solid #ebeef5;min-height:120px;padding:27px 28px 22px}.product-sidebar-heading h2{color:#303133;margin:0;font-size:25px;font-weight:700;line-height:1.4}.product-sidebar-heading p{color:#606266;margin:8px 0 0;font-size:13px;line-height:1.5}.product-sidebar nav{padding:14px 0;display:block}.sidebar-section-label{color:#606266;margin:0;padding:0 28px 8px;font-size:12px;line-height:24px}.platform-nav-item{color:#606266;border-radius:4px;align-items:center;gap:10px;min-height:52px;margin:0 10px;padding:0 20px;font-size:15px;display:flex}.sidebar-group{border-top:1px solid #ebeef5;margin:8px 0 0;padding-top:8px}.sidebar-group-title{width:calc(100% - 20px);min-height:58px;color:var(--green);background:var(--green-soft);cursor:pointer;border:0;border-radius:4px;align-items:center;gap:10px;margin:0 10px;padding:0 20px;font-size:16px;font-weight:600;display:flex}.sidebar-group-title>svg:last-child{margin-left:auto;transition:transform .16s}.sidebar-group-title>svg:last-child.collapsed{transform:rotate(-90deg)}.sidebar-group-title:hover{background:#ffe8bd}.sidebar-group-items{padding-top:3px}.product-sidebar a{color:#606266;border-radius:6px;gap:10px;min-height:54px;margin:0 10px;padding:0 20px 0 34px;font-size:14px}.product-sidebar a:hover{color:var(--green);background:#fff8ec}.product-sidebar a.router-link-active{color:#fff;background:var(--green);font-weight:600}.product-sidebar a.router-link-active svg{color:#fff}.product-layout>main{background:var(--canvas);min-width:0}.product-layout main :is(h1,h2):focus{outline:none}.product-layout main :is(h1,h2):focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:3px}.product-view,.product-layout>main .task-center,.product-layout>main .cloud-gallery,.product-layout>main .store-workspace{width:auto;max-width:none;margin:0;padding:36px 30px 64px}.product-layout>main .cloud-gallery{padding:24px 30px 44px}.product-layout>main .single-generation-view{padding-top:24px}.product-page-heading,.product-layout>main .task-heading,.product-layout>main .gallery-heading,.product-layout>main .workspace-heading{border-bottom:1px solid #dfe4ef;margin-bottom:28px;padding-bottom:22px}.product-layout>main .gallery-heading,.product-layout>main .single-generation-view>.product-page-heading{margin-bottom:16px;padding-bottom:14px}.product-page-heading h1,.product-layout>main .task-heading h1,.product-layout>main .gallery-heading h1,.product-layout>main .workspace-heading h1{color:#111;font-size:30px;font-weight:700}.product-layout>main .gallery-heading h1{font-size:26px}.product-page-heading p,.product-layout>main .task-kicker,.product-layout>main .gallery-kicker,.product-layout>main .workspace-kicker{color:var(--green)}.product-page-heading>div>span,.product-layout>main .task-heading>div>p:last-child,.product-layout>main .gallery-heading>div:first-child>p:last-child,.product-layout>main .workspace-heading>div>p:last-child{color:#606266;font-size:13px}.product-stepper{min-width:560px}.product-stepper li,.product-stepper strong{color:#606266}.product-stepper strong{font-size:11px}.product-stepper small{color:#606266;font-size:10px}.product-stepper li>span{border-color:#dcdfe6}.product-stepper li:not(:last-child):after{background:#dcdfe6}.product-stepper li.active,.product-stepper li.active strong{color:var(--green)}.product-stepper li.active>span{border-color:var(--green);background:var(--green)}.product-layout>main :is(.brief-step,.revision-step,.workspace-panel,.design-form,.task-surface,.gallery-toolbar,.work-card,.submitted-state,.task-submitted-state){box-shadow:none;border-color:#e4e7ed;border-radius:4px}.product-layout>main :is(.brief-heading,.panel-heading,.revision-heading){border-bottom-color:#ebeef5}.product-layout>main :is(.brief-kicker,.step-kicker){color:var(--green)}.product-layout>main :is(.choice-option,.product-row,.reference-upload,.material-tile){border-color:#dcdfe6;border-radius:4px}.product-layout>main .choice-option:hover{border-color:#79bbff}.product-layout>main .choice-option.selected{border-color:var(--green);background:var(--green-soft)}.product-layout>main .choice-icon{color:var(--green);background:#f2f6fc}.product-layout>main :is(input,select,textarea){color:#303133;border-color:#dcdfe6;border-radius:4px}.product-layout>main :is(input,select,textarea):focus{border-color:var(--green);outline-color:#409eff2e;box-shadow:0 0 0 2px #409eff1a}.product-layout>main :is(input,textarea)::placeholder{color:#6b7280}.product-layout>main :is(.primary-button,.primary-action,.brief-submit,.submit-action,.upload-command,.task-submitted-state button){color:#fff;border-color:var(--green);background:var(--green)}.product-layout>main :is(.primary-button,.primary-action,.brief-submit,.submit-action,.upload-command,.task-submitted-state button):not(:disabled):hover{background:#66b1ff;border-color:#66b1ff}.product-layout>main :is(.secondary-button,.secondary-action,.inline-back-button){color:#606266;background:#fff;border-color:#dcdfe6}.product-layout>main :is(.secondary-button,.secondary-action,.inline-back-button):hover{color:var(--green);background:var(--green-soft);border-color:#a0cfff}.product-layout>main :is(.privacy-badge,.entry-count){color:var(--green);background:var(--green-soft)}.product-layout>main :is(.design-options,.task-toolbar,.material-query-summary){background:#f5f7fa}.product-layout>main .gallery-toolbar{background:#fff;border:1px solid #e4e7ed;margin-bottom:16px;padding:16px}.product-layout>main .works-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-layout>main :is(.task-total,.result-count,.material-count){color:#606266}.product-layout>main .task-surface{background:#fff}.product-layout>main .progress-track span{background:var(--green)}.product-layout>main .status-label.is-running,.product-layout>main .status-label.is-generating{color:var(--green)}.product-layout>main :is(.revision-table thead th,.task-toolbar,.design-options){background:#f5f7fa}.product-layout>main .revision-table-wrap{border-color:#dcdfe6}.product-layout>main .revision-notice{border-left-color:var(--green);background:#f5f7fa}.product-layout>main .material-query-summary{color:#606266;border-color:#dcdfe6}.product-layout>main .store-reference-upload-wrap .upload-rights-confirmation{justify-content:flex-start;align-items:center;gap:10px;min-height:52px;margin-bottom:12px;padding:0 14px}.product-layout>main .store-reference-upload-wrap .upload-rights-confirmation input{flex:0 0 17px;width:17px;height:17px;margin:0}.product-layout>main .store-reference-upload-wrap .upload-rights-confirmation span{color:#606266;font-size:12px}@media (width<=767px){html,body,#app{width:100%;min-width:0}html,body{overflow-x:hidden}.product-shell{width:100%;min-width:0}.product-topbar{grid-template-columns:minmax(0,1fr) 42px;gap:0;height:auto;min-height:58px;padding:0 14px}.product-topbar>.icon-button{grid-column:2;margin-right:0}.product-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;align-content:start;min-height:calc(100vh - 58px)}.product-sidebar{z-index:20;border-right:0;border-bottom:1px solid var(--line);width:100%;height:auto;padding:7px 12px;position:sticky;top:58px;overflow-x:auto}.product-sidebar-heading{display:none}.product-sidebar nav{width:max-content;min-width:100%;display:flex}.product-sidebar a{white-space:nowrap;min-height:38px;margin:0;padding:0 10px;font-size:10px}.product-sidebar a span{overflow-wrap:normal}.product-view,.product-layout>main .task-center,.product-layout>main .cloud-gallery,.product-layout>main .store-workspace{width:calc(100% - 24px);max-width:none;margin:0 auto;padding:22px 0 44px}.product-page-heading{flex-direction:column;align-items:stretch}.product-stepper{width:100%;min-width:0}.product-layout>main .works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.product-layout>main .works-grid{grid-template-columns:1fr}}.product-brand-mark,.auth-brand-mark{color:#fff;background:var(--green);border-radius:7px;flex:none;place-items:center;font-weight:800;display:grid}.product-brand-mark{width:36px;height:36px;color:#fff!important;font-size:18px!important}.product-account-controls{justify-content:flex-end;align-items:center;gap:8px;min-width:0;padding:0 13px;display:flex}.points-balance,.signed-in-user{min-height:34px;color:var(--ink);align-items:center;gap:6px;text-decoration:none;display:inline-flex}.points-balance{background:var(--amber-soft);border:1px solid #f2cf91;border-radius:6px;padding:0 10px}.points-balance:hover{color:var(--green-dark);border-color:var(--green)}.points-balance strong{color:var(--green-dark);font-size:14px}.points-balance span,.signed-in-user{color:var(--muted);font-size:12px}.signed-in-user{text-overflow:ellipsis;white-space:nowrap;max-width:150px;overflow:hidden}.product-account-controls .icon-button{width:32px;height:32px;color:var(--muted);border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;place-items:center;padding:0;display:grid}.product-account-controls .icon-button:hover{color:var(--green-dark);background:var(--green-soft);border-color:#efc477}.product-sidebar .sidebar-account-link{padding-left:34px}.auth-page,.auth-loading{min-height:100vh;color:var(--ink);background:#fffaf0}.auth-page{grid-template-columns:minmax(280px,440px) minmax(340px,420px);place-content:center;gap:64px;padding:48px 28px;display:grid}.auth-brand{align-self:center;align-items:center;gap:18px;display:flex}.auth-brand-mark{width:58px;height:58px;font-size:28px;box-shadow:0 8px 22px #a84a0024}.auth-brand h1{color:#242424;margin:0;font-size:32px;line-height:1.2}.auth-brand p{color:var(--muted);margin:8px 0 0;font-size:14px}.auth-panel{background:#fff;border:1px solid #eadcc4;border-radius:8px;width:100%;padding:28px;box-shadow:0 16px 42px #422e161a}.auth-tabs,.view-tabs{background:#f6f3ee;border-radius:6px;gap:4px;padding:4px;display:flex}.auth-tabs button,.view-tabs button{min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:5px;flex:1;justify-content:center;align-items:center;gap:6px;display:inline-flex}.auth-tabs button.active,.view-tabs button.active{color:var(--green-dark);background:#fff;font-weight:650;box-shadow:0 1px 4px #3b2b161a}.auth-panel>header{margin:25px 0 20px}.auth-panel h2{margin:0;font-size:22px}.auth-panel header p{color:var(--muted);margin:8px 0 0;font-size:13px}.auth-form,.admin-create-form,.admin-action-panel form{gap:16px;display:grid}.auth-form label,.admin-create-form label,.admin-action-panel label{color:var(--ink);gap:7px;font-size:13px;font-weight:600;display:grid}.auth-form input,.admin-create-form input,.admin-action-panel input{width:100%;height:42px;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:6px;padding:0 12px}.auth-form input:focus,.admin-create-form input:focus,.admin-action-panel input:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft);outline:none}.auth-form small{color:var(--muted);font-size:11px;font-weight:400}.password-input{position:relative}.password-input input{padding-right:42px}.password-input button{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid;position:absolute;top:5px;right:5px}.form-error,.form-success{border-radius:6px;margin:0;padding:10px 12px;font-size:12px;line-height:1.5}.form-error{color:#a72b22;background:var(--red-soft);border:1px solid #f1c8c4}.form-success{color:#21633a;background:#edf8f1;border:1px solid #b8dfc5}.auth-submit{justify-content:center;width:100%;min-height:43px}.auth-loading{color:var(--muted);justify-content:center;align-items:center;gap:12px;font-size:13px;display:flex}.auth-loading .auth-brand-mark{width:42px;height:42px;font-size:20px}.account-view,.admin-view,.access-denied{min-height:calc(100vh - 74px);padding:34px 36px 60px}.account-heading,.admin-heading{min-height:82px}.balance-summary{min-width:190px;min-height:58px;color:var(--green-dark);background:var(--amber-soft);border:1px solid #efcf95;border-radius:7px;grid-template-columns:auto 1fr;align-items:center;column-gap:9px;padding:10px 14px;display:grid}.balance-summary span{color:var(--muted);font-size:11px}.balance-summary strong{grid-column:2;font-size:22px}.account-tools{grid-template-columns:minmax(280px,.8fr) minmax(460px,1.2fr);gap:14px;margin:18px 0;display:grid}.account-tool{border:1px solid var(--line);background:#fff;border-radius:7px;padding:16px}.account-tool>header{align-items:flex-start;gap:10px;display:flex}.account-tool>header>span{width:34px;height:34px;color:var(--green-dark);background:var(--amber-soft);border-radius:6px;flex:none;place-items:center;display:grid}.account-tool h2{margin:0;font-size:16px}.account-tool header p,.relation-summary{color:var(--muted);margin:3px 0 0;font-size:11px;line-height:1.6}.invite-code-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:16px;display:grid}.invite-code-row code{min-width:0;height:40px;color:var(--ink);border:1px solid var(--line);letter-spacing:0;background:#faf9f7;border-radius:6px;align-items:center;padding:0 12px;font-family:Consolas,monospace;font-size:15px;font-weight:700;display:flex}.relation-summary{margin-top:9px}.transfer-form{grid-template-columns:minmax(170px,1.2fr) minmax(110px,.6fr) minmax(150px,1fr) auto;align-items:end;gap:9px;margin-top:14px;display:grid}.transfer-form label{min-width:0;color:var(--ink);gap:6px;font-size:12px;font-weight:600;display:grid}.transfer-form input,.transfer-form select{width:100%;min-width:0;height:40px;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:6px;padding:0 10px}.transfer-form input:focus,.transfer-form select:focus{border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft);outline:none}.transfer-form input:disabled,.transfer-form select:disabled{cursor:not-allowed;opacity:.58}.ledger-toolbar{justify-content:flex-end;margin:18px 0 12px;display:flex}.view-tabs{width:min(380px,100%);margin:18px 0}.admin-create-form{border:1px solid var(--line);background:#fff;border-radius:7px;grid-template-columns:1fr 1fr auto;align-items:end;margin-bottom:18px;padding:16px}.admin-create-form h2{grid-column:1/-1;margin:0;font-size:16px}.admin-action-panel{background:var(--amber-soft);border:1px solid #efcf95;border-radius:7px;margin-bottom:18px;padding:16px}.admin-action-panel header{align-items:center;gap:10px;margin-bottom:14px;display:flex}.admin-action-panel h2{margin:0;font-size:16px}.admin-action-panel header span{color:var(--muted);font-size:12px}.admin-action-panel form{grid-template-columns:minmax(160px,260px) minmax(220px,1fr) auto;align-items:end}.admin-action-buttons,.table-actions{align-items:center;gap:6px;display:flex}.data-table-wrap{border:1px solid var(--line);background:#fff;border-radius:7px;width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:780px;font-size:12px}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--soft-line);vertical-align:middle;padding:12px 14px}.data-table th{color:var(--muted);background:#faf9f7;font-weight:650}.data-table tr:last-child td{border-bottom:0}.data-table td strong,.data-table td small{display:block}.data-table td small{color:var(--muted);margin-top:4px}.table-actions button{width:31px;height:31px;color:var(--muted);border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:5px;place-items:center;display:grid}.table-actions button:hover:not(:disabled){color:var(--green-dark);border-color:var(--green);background:var(--green-soft)}.table-actions button:disabled{cursor:not-allowed;opacity:.4}.status-label{color:#21633a;background:#eaf7ef;border-radius:4px;padding:3px 7px;display:inline-flex}.status-label.disabled{color:#8a3131;background:var(--red-soft)}.points-positive{color:#267442;font-weight:650}.points-negative{color:#b54e14;font-weight:650}.empty-cell{height:140px;color:var(--muted);text-align:center!important}.access-denied h1{margin:0 0 8px}.access-denied p{color:var(--muted)}@media (width<=767px){.auth-page{grid-template-columns:minmax(0,420px);gap:26px;padding:28px 18px}.auth-brand{justify-content:center}.auth-brand h1{font-size:25px}.product-topbar{grid-template-columns:minmax(0,1fr) auto}.product-window-title{border-right:0;padding:0}.product-window-title strong{font-size:17px}.product-account-controls{padding:0}.signed-in-user,.points-balance span,.product-account-controls .settings-button{display:none}.product-sidebar .sidebar-group,.product-sidebar .sidebar-section-label{border:0;margin:0;padding:0}.product-sidebar .sidebar-group-title,.product-sidebar .sidebar-section-label{display:none}.product-sidebar .sidebar-group-items{padding:0;display:flex}.product-sidebar .sidebar-account-link{padding-left:10px}.account-view,.admin-view,.access-denied{min-height:0;padding:22px 12px 44px}.admin-create-form,.admin-action-panel form,.account-tools,.transfer-form{grid-template-columns:1fr}.admin-create-form h2{grid-column:1}}@media (width<=430px){.auth-panel{padding:22px 18px}.auth-brand-mark{width:48px;height:48px;font-size:23px}.points-balance{padding:0 7px}}
