:root{font-family:system-ui,-apple-system,"PingFang SC",sans-serif;color:#25303b;background:#f3f5f7;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a.button{border:1px solid #ccd4dd;border-radius:6px;padding:8px 13px;background:white;color:#243344;cursor:pointer;text-decoration:none}button:hover,a.button:hover{background:#edf4fc}button.primary{background:#244b71;color:#fff;border-color:#244b71}button:disabled{opacity:.45;cursor:default}input,select,textarea{border:1px solid #ccd4dd;border-radius:5px;padding:8px;background:white;max-width:100%}textarea{width:100%;min-height:85px;resize:vertical}header{background:white;border-bottom:1px solid #dce2e8;padding:17px 24px;display:flex;gap:18px;align-items:center;flex-wrap:wrap}header h1{font-size:20px;margin:0}header small{color:#607080}.bar{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.notice{padding:10px 24px;background:#eef3f8;border-bottom:1px solid #dce2e8}.notice.error{background:#fff0e8;color:#8e3b17}.shell{max-width:1200px;margin:26px auto;padding:0 24px}.task-form,.library,article{background:white;border:1px solid #dce2e8;border-radius:9px;padding:20px;margin:14px 0}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}label{display:block;line-height:1.8;margin:9px 0}label.inline{display:inline-flex;gap:5px;align-items:center;margin-right:10px}.tasks{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:15px}.tasks article{margin:0}.workspace{display:grid;grid-template-columns:105px 220px minmax(360px,1fr) 300px;min-height:calc(100vh - 130px)}.workspace.no-right{grid-template-columns:105px 220px minmax(360px,1fr)}.modules{padding:16px 8px;border-right:1px solid #dce2e8}.modules button{display:block;width:100%;margin-bottom:10px}.active{outline:2px solid #517ca8}.slots{padding:18px 12px;border-right:1px solid #dce2e8;background:#fafbfd;overflow-y:auto;max-height:calc(100vh - 130px)}.slots img{max-width:45px;max-height:65px;object-fit:contain}.slot{width:100%;display:flex;align-items:center;gap:8px;text-align:left;margin:10px 0}.compare{padding:20px;overflow-y:auto;max-height:calc(100vh - 130px)}.pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.frame{padding:14px;border:1px solid #dce2e8;border-radius:8px;background:white;min-height:220px}.frame img{width:100%;max-height:500px;object-fit:contain;cursor:zoom-in}.checker{background:repeating-conic-gradient(#d4d7da 0% 25%,#fff 0% 50%) 50%/20px 20px}.requirements{padding:18px;background:white;border-left:1px solid #dce2e8;max-height:calc(100vh - 130px);overflow-y:auto}.requirements h3{margin-top:8px}.muted{color:#687786}.badge{display:inline-block;border-radius:4px;background:#eaf0f5;padding:3px 7px;margin:4px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.status{font-size:12px;color:#547061}a{color:#245b8c}dialog{border:1px solid #ccd4dd;border-radius:10px;max-width:85vw;max-height:90vh;padding:24px}dialog::backdrop{background:#18243499}#zoom img{display:block;max-width:75vw;max-height:75vh}.issue{display:block;padding:7px;color:#963f20}.library textarea{min-height:60px}.library summary{cursor:pointer;font-weight:600}.prompt-preview{white-space:pre-wrap;font-size:12px;max-height:180px;overflow:auto;border:1px solid #dce2e8;padding:10px}input[type=file]{max-width:100%}@media(max-width:1100px){.workspace,.workspace.no-right{grid-template-columns:90px 170px minmax(300px,1fr)}.requirements{grid-column:2/4;border-top:1px solid #ddd;max-height:none}.compare{max-height:none}.slots{max-height:none}}@media(max-width:640px){header{padding:14px}.workspace,.workspace.no-right{display:block}.modules{display:flex;gap:8px;padding:10px}.modules button{margin:0}.slots{max-height:200px;border-bottom:1px solid #ddd}.slot{display:inline-flex;width:auto;margin:6px}.compare{padding:12px}.pair{grid-template-columns:1fr}.shell{padding:0 14px}.requirements{padding:14px}.bar{margin:0}}

.account-bar{display:flex;align-items:center;gap:16px;padding:10px 24px;background:#eef3ee}.account-bar>span:first-child{margin-right:auto}.account-bar #account-feedback{font-size:13px;color:#8e3b17}


.paid-smoke-panel img{max-width:100%;height:auto;display:block}.paid-smoke-panel .smoke-reference{width:180px}.paid-smoke-panel .smoke-result{width:280px}.paid-smoke-panel pre{white-space:pre-wrap;overflow-wrap:anywhere}.paid-smoke-panel p,.paid-smoke-panel figcaption{overflow-wrap:anywhere}

.project-info{padding:18px 24px;background:#fff;border-bottom:1px solid #dce2e8}.project-fields{display:grid;grid-template-columns:minmax(180px,1fr) minmax(360px,2fr) auto;gap:20px;align-items:end}.project-fields label{margin:0}.project-fields input{width:100%}.file-link-actions{display:flex;gap:8px}.file-link-actions input{min-width:0;flex:1}.project-actions{display:flex;gap:8px;padding-bottom:1px}.project-info p{margin:10px 0 0;color:#607080;font-size:13px}.project-info #project-feedback{min-height:20px}.project-info details{margin-top:10px}.project-info ul{max-height:180px;overflow:auto;padding-left:22px;overflow-wrap:anywhere}.project-info li{margin:7px 0}.main-reference-panel{border-top:1px solid #dce2e8;margin-top:20px;padding-top:8px}.main-reference-panel a{display:flex;align-items:center;gap:8px;margin:8px 0;overflow-wrap:anywhere}.main-reference-panel img{max-width:64px;max-height:80px}.main-reference-panel p{font-size:12px;line-height:1.6}

/* Production workspace: reserve vertical space for the image canvas. */
.workspace-page{--workspace-blue:#244b71;--workspace-line:#dce2e8;--workspace-surface:#fff;--workspace-canvas:#f3f5f7}
.workspace-page .toolbox-nav{min-height:44px;padding:5px 22px;gap:26px;padding-right:380px}.workspace-page .toolbox-apps a{padding:5px 12px}.workspace-page .toolbox-brand{font-size:17px}.workspace-page .account-bar{position:absolute;right:16px;top:7px;padding:0;background:transparent;font-size:12px;gap:10px;max-width:355px;height:30px}.workspace-page .account-bar>span:first-child{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-page .account-bar button{padding:4px 8px;font-size:12px}.workspace-page .account-bar #account-feedback:empty{display:none}
.workspace-page .workspace-header{padding:8px 22px;min-height:46px;gap:12px;flex-wrap:nowrap}.task-heading{display:flex;align-items:center;gap:14px;min-width:0}.workspace-header h1{font-size:16px;max-width:330px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-heading details{position:relative;font-size:12px;color:#687786}.task-heading details[open] small{position:absolute;z-index:4;top:24px;left:0;min-width:280px;padding:12px;background:white;border:1px solid #dce2e8;border-radius:6px}.workspace-header .bar{gap:6px;flex-wrap:nowrap}.workspace-header .bar button,.workspace-header a.button{padding:6px 11px;font-size:13px;white-space:nowrap}.workspace-page .notice{padding:6px 22px;font-size:12px}.workspace-page .notice .issue{display:inline-block}
.workspace-page .project-info{padding:8px 22px}.workspace-page .project-fields{grid-template-columns:minmax(180px,1fr) minmax(350px,2fr) auto;gap:14px;align-items:center}.workspace-page .project-fields>label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px}.workspace-page .project-fields>label>input,.workspace-page .file-link-actions{flex:1;min-width:0}.workspace-page .project-fields input{padding:6px 8px;font-size:13px;height:32px}.workspace-page .project-actions button,.workspace-page .file-link-actions button{padding:6px 10px;font-size:13px;white-space:nowrap}.workspace-page .project-info p{margin:5px 0 0;font-size:12px}.workspace-page #project-feedback:empty{display:none}.workspace-page #project-feedback{min-height:0}.workspace-page #helper-report>.muted{display:none}.workspace-page .project-info details{margin-top:4px}.workspace-page .project-info ul{max-height:110px}.workspace-page .project-info li{margin:4px 0}
.workspace-page .workspace{grid-template-columns:70px 166px minmax(0,1fr) 282px;min-height:calc(100vh - 144px);height:calc(100vh - 144px);border-top:1px solid #dce2e8}.workspace-page .workspace.workspace-empty{grid-template-columns:70px 166px minmax(0,1fr)}.workspace-page .workspace-detail{grid-template-columns:70px minmax(0,1fr)}.workspace-page .workspace-material{grid-template-columns:70px 220px minmax(0,1fr)}.workspace-page .modules{padding:16px 8px;background:#fff}.workspace-page .modules button{padding:11px 5px;font-size:13px;margin-bottom:12px}.workspace-page .slots,.workspace-page .compare,.workspace-page .requirements{max-height:none;min-height:0;overflow:auto}.workspace-page .slots{padding:12px;background:white}.workspace-page .slots h3{font-size:13px;margin:4px 0 12px}.compact-import{font-size:12px;margin:0 0 12px}.compact-import input{font-size:11px;max-width:140px;padding:3px}.sku-thumbnail{display:flex;flex-direction:column;width:100%;padding:5px;margin:0 0 12px;text-align:center;border-radius:6px;overflow:hidden}.workspace-page .sku-thumbnail img{max-width:100%;width:100%;max-height:150px;min-height:65px;object-fit:contain}.sku-thumbnail span{font-size:12px;padding-top:4px;color:#687786}
.workspace-page .compare{padding:14px 16px;display:flex;flex-direction:column;gap:10px}.canvas-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px}.canvas-heading h2{font-size:18px;margin:0;line-height:1.4}.preview-controls{display:flex;align-items:center;gap:8px;font-size:12px}.preview-controls label{display:flex;align-items:center;gap:6px;margin:0}.preview-controls select{padding:4px;font-size:12px}.preview-controls>select#result-type{display:none}.workspace-page .pair{gap:12px;flex:1;min-height:350px}.workspace-page .single-preview{grid-template-columns:1fr;min-height:280px}.workspace-page .frame{padding:12px;background:#fff;border:0;border-radius:7px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.workspace-page .frame h3{font-size:13px;font-weight:600;margin:0 0 10px}.workspace-page .frame img{width:100%;height:100%;min-height:0;flex:1;object-fit:contain;max-height:none}.image-meta{font-size:11px;color:#687786;display:flex;justify-content:space-between;margin-top:8px}.canvas-empty{flex:1;display:flex;align-items:center;justify-content:center;min-height:180px;color:#8793a0;font-size:13px;border:1px dashed #d3dae2;background:#f7f9fb}.workspace-page .checker{background:repeating-conic-gradient(#e0e4e9 0% 25%,#fff 0% 50%) 50%/20px 20px}
.output-tabs{display:flex;gap:6px;flex-wrap:wrap}.output-tabs button{padding:5px 10px;font-size:12px;border-radius:5px}.workspace-page .requirements{padding:14px 16px;display:flex;flex-direction:column;background:white}.requirements-block{margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #e8edf2}.requirements-block:last-of-type{border:0;flex:1;display:flex;flex-direction:column;margin-bottom:10px;padding-bottom:0}.requirements-block h3{font-size:13px;margin:0 0 8px}.ratio-options{display:flex;gap:11px;flex-wrap:wrap;font-size:12px}.ratio-options label{margin:0;display:flex;align-items:center;gap:4px}.requirement-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:33px}.requirement-row label{font-size:13px;display:flex;align-items:center;gap:7px;margin:0}.text-button{padding:4px 0;border:0;background:transparent;color:#245b8c;font-size:12px;border-radius:3px}.text-button:hover{background:transparent;text-decoration:underline}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-heading h3{margin:0}.section-heading strong{font-size:13px;font-weight:600}.section-heading>span{display:flex;gap:8px}.product-group{margin-top:10px;background:#fff}.product-group>.section-heading{background:#f3f6f9;padding:6px 8px;border-radius:4px}.product-group>.requirement-row{padding-left:6px}.requirements-block textarea{flex:1;min-height:90px;max-height:180px;padding:8px;font-size:13px}.requirements-block>label{font-size:13px;margin:0 0 6px}.generate-action{width:100%;min-height:40px}.material-options .requirement-row{margin:8px 0}.material-options>h3:not(:first-child){margin-top:25px}
.production-composer{background:#fff;border-radius:6px;padding:10px 12px;flex:none}.composer-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.composer-options button{padding:6px 10px;font-size:12px}.main-count{margin-left:auto}.main-count input{width:60px}.prompt-composer{display:grid;grid-template-columns:1fr auto;gap:6px 10px;margin-top:9px;align-items:end}.prompt-composer label{grid-column:1/3;margin:0;font-size:12px}.prompt-composer textarea{min-height:64px;height:64px;max-height:120px;margin:0;font-size:13px}.prompt-composer button{height:38px;min-width:70px}.workspace-material .production-composer{display:flex;align-items:center;justify-content:space-between}.workspace-material .production-composer>button{min-width:170px}.workspace-page .compact-actions{font-size:11px;margin:0;gap:8px;align-items:center}.compact-actions label{display:flex;align-items:center;gap:8px;margin:0}.compact-actions input[type=file]{max-width:205px;padding:2px;font-size:11px}.compact-actions button{padding:4px 8px;font-size:12px}.production-records,.scope-tools{font-size:12px;flex:none;color:#607080}.scope-tools textarea{min-height:55px}.production-records article{padding:10px}.workspace-page .paid-smoke-panel,.workspace-page #ordinary-generation-panel{margin:12px 22px;padding:12px;font-size:12px}.workspace-page #ordinary-generation-panel p{margin:6px 0}
#requirement-editor{width:540px;max-width:90vw}#requirement-editor textarea{min-height:150px}#entry-tags{border:1px solid #dce2e8;border-radius:6px;margin:14px 0;font-size:12px}#entry-tags[hidden]{display:none}#category-tag-options{display:flex;gap:8px 16px;flex-wrap:wrap}#category-tag-options label{margin:3px 0}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.dialog-heading h2{font-size:18px;margin:0}.dialog-heading button{font-size:12px;padding:5px 9px}#reference-picker{width:800px;max-width:90vw}.reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;position:relative;overflow:auto;max-height:490px;padding:12px 4px;user-select:none;touch-action:none}.reference-choice{position:relative;border:1px solid #dce2e8;border-radius:6px;margin:0;overflow:hidden;display:flex;flex-direction:column;padding:8px}.reference-choice:has(input:checked){border-color:#244b71;background:#eef3f8}.reference-choice img{width:100%;height:150px;object-fit:contain;pointer-events:none}.reference-choice input{position:absolute;top:8px;left:8px}.reference-choice span{font-size:12px;text-align:center}.selection-box{position:absolute;background:#244b7120;border:1px solid #244b71;pointer-events:none;z-index:2}.picker-footer{display:flex;align-items:center;gap:10px;padding-top:14px}.picker-footer span{margin-right:auto;font-size:13px}
@media(max-width:1150px){.workspace-page .workspace{grid-template-columns:62px 130px minmax(0,1fr) 250px}.workspace-page .workspace.workspace-empty{grid-template-columns:62px 130px minmax(0,1fr)}.workspace-page .workspace-detail{grid-template-columns:62px minmax(0,1fr)}.workspace-page .workspace-material{grid-template-columns:62px 180px minmax(0,1fr)}.workspace-header h1{max-width:210px}.task-heading details{display:none}.workspace-page .project-fields{gap:8px;grid-template-columns:170px minmax(260px,1fr) auto}.workspace-page .requirements{grid-column:auto;padding:12px}.workspace-page .toolbox-nav{padding-right:300px}.workspace-page .account-bar>span:first-child{max-width:95px}}
@media(max-width:800px){.workspace-page .account-bar{position:static;padding:4px 12px;max-width:none;background:white}.workspace-page .toolbox-nav{padding-right:12px;gap:12px}.workspace-page .workspace-header{flex-wrap:wrap}.workspace-page .project-fields{display:flex;flex-wrap:wrap}.workspace-page .project-fields>label{flex:1;min-width:250px}.workspace-page .workspace,.workspace-page .workspace-detail,.workspace-page .workspace-material,.workspace-page .workspace.workspace-empty{height:auto;min-height:0;display:grid;grid-template-columns:58px minmax(0,1fr)}.workspace-page .modules{grid-column:1;grid-row:1/4}.workspace-page .slots{grid-column:2;display:flex;gap:8px;max-height:180px;border-bottom:1px solid #dce2e8}.workspace-page .sku-thumbnail{max-width:100px;flex:none;margin:0}.workspace-page .compare{grid-column:2;padding:12px}.workspace-page .requirements{grid-column:2;border-top:1px solid #dce2e8}.workspace-page .pair{min-height:330px}.workspace-page .frame img{min-height:240px}.workspace-page .material-options{display:block}.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-controls{flex-wrap:wrap}.workspace-page .account-bar>span:first-child{max-width:170px}.workspace-header .bar{margin-left:0}.workspace-page .pair:not(.single-preview){grid-template-columns:1fr 1fr}.canvas-heading{flex-wrap:wrap}}
.workspace-page .compact-import{display:block;cursor:pointer;text-align:center;border:1px solid #ccd4dd;border-radius:5px;padding:6px 8px;background:white}.workspace-page .compact-import input,.workspace-page .compact-actions input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.workspace-page .compact-actions>label{cursor:pointer;padding:5px 9px;background:white;border:1px solid #ccd4dd;border-radius:5px}
.workspace-page .compact-import:focus-within,.workspace-page .compact-actions>label:focus-within{outline:2px solid #244b71;outline-offset:2px}
.workspace-page .requirements{overflow:hidden;gap:10px}.requirements-content{min-height:0;flex:1;overflow:auto;display:flex;flex-direction:column;padding-right:2px}.requirements-content>.requirements-block{flex-shrink:0}.requirements-content>.requirements-block:last-child{flex:1;min-height:145px}.generate-action{flex-shrink:0}
@media(min-width:801px){.workspace-page .workspace{height:calc(100vh - var(--workspace-offset,144px));min-height:calc(100vh - var(--workspace-offset,144px))}}

.generation-feedback{font-size:12px;line-height:1.6;padding:8px 10px;border:1px solid #cdd8e4;border-radius:5px;background:#edf4fa;color:#254b70;margin:7px 0;overflow-wrap:anywhere}.generation-feedback.error{background:#fff1e9;border-color:#dba181;color:#8b3214}.generation-feedback small{display:block}.generation-feedback button{margin-top:6px;width:100%}.requirements>.generation-feedback{flex-shrink:0;margin:8px 16px}.production-composer .generation-feedback{margin-bottom:0}
 .generation-verification{margin:8px 18px;padding:10px 12px;border:1px solid #ccd9e6;border-radius:6px;background:#fff;font-size:13px}
 .generation-verification summary{cursor:pointer;font-weight:600;color:#244d73}
 .generation-verification pre{max-height:360px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8fb;padding:10px}
 .generation-verification .bar{flex-wrap:wrap}

#budget-extension { margin-top: 1rem; border-top: 1px solid #dde5ec; padding-top: 1rem; }
.extension-review { margin-top: .75rem; padding: 1rem; background: #f5f8fb; border-radius: 8px; }
.extension-review label { display: block; margin: .75rem 0; }
.extension-review input[type=number], .extension-review input[type=date], .extension-review textarea { display: block; width: min(100%, 36rem); margin-top: .35rem; }
.extension-review input[type=checkbox] { margin-right: .4rem; }
.extension-review details { margin: .75rem 0; }
.extension-review pre { max-height: 24rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.website-build { margin-right: auto; font-size: 12px; color: #49647b; white-space: nowrap; }
/* Full website build stays visible beside account controls, separate from helper versions. */
.workspace-page .account-bar{height:auto;top:1px;flex-wrap:wrap;justify-content:flex-end;column-gap:10px;row-gap:0}
.workspace-page .account-bar>span.website-build{order:9;flex:0 0 100%;max-width:none;overflow:visible;text-overflow:clip;margin:0;text-align:right;font-size:11px;line-height:14px}
.workspace-page .account-bar a,.workspace-page .account-bar button,.workspace-page .account-bar>span:not(.website-build){white-space:nowrap;flex-shrink:0}
.workspace-page .account-bar button{padding:2px 8px;line-height:18px}

/* Confirmed 01-雾白: native HTML controls and real task media, no wallpaper. */
.workspace-page{--fog-bg:#F7F7F8;--fog-text:#132342;--fog-muted:#63728A;--fog-line:#e6edf5;--fog-accent:#1688ff;background:var(--fog-bg);color:var(--fog-text);font-family:"Segoe UI","PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:14px}
.workspace-page button,.workspace-page input,.workspace-page textarea,.workspace-page select,.workspace-page a.button{font-family:inherit;font-size:14px;color:var(--fog-text);border:1px solid var(--fog-line);border-radius:10px;background:rgba(255,255,255,.72)}
.workspace-page button:focus-visible,.workspace-page summary:focus-visible,.workspace-page a:focus-visible{outline:2px solid #1688ff;outline-offset:3px}
.workspace-page button:hover,.workspace-page a.button:hover{background:#eef6ff;border-color:#a6d5ff}.workspace-page button:disabled{opacity:.5;cursor:not-allowed}
.workspace-page button.primary{color:white;background:linear-gradient(110deg,#26c7ff 0%,#167cff 58%,#6855ff 100%);border:1px solid #ffffff80;box-shadow:inset 0 2px 5px #ffffff70,0 3px 10px #4389e51a;border-radius:14px;font-weight:600}
.workspace-page .toolbox-nav{height:50px;min-height:50px;margin:0 10px;padding:0 18px;gap:35px;border:1px solid #ffffffc9;border-radius:16px;background:rgba(255,255,255,.62);backdrop-filter:blur(16px);padding-right:470px}
.workspace-page .toolbox-brand{font-size:23px;letter-spacing:.3px;display:flex;align-items:center;gap:12px;color:#132342}.toolbox-brand svg{height:30px;width:30px;color:#259cff}
.workspace-page .toolbox-apps{gap:18px}.workspace-page .toolbox-apps a{height:46px;display:flex;align-items:center;padding:0 20px;font-size:14px;color:#63728a;border-radius:10px}
.workspace-page .toolbox-apps a[aria-current]{background:#eef8ff;color:#1688ff;border-bottom:3px solid #36c2ff}
.workspace-page .account-bar{top:7px;right:26px;max-width:440px;row-gap:1px;color:#63728a;font-size:12px}
.workspace-page .account-bar>span.website-build{font-size:11px;line-height:14px}.workspace-page .account-bar a{text-decoration:none;color:#63728a}.workspace-page .account-bar button{font-size:11px;padding:1px 7px;border-radius:7px}
.workspace-page .fog-header{height:55px;min-height:55px;padding:7px 18px;margin:2px 10px 7px;background:rgba(255,255,255,.58);border:1px solid #ffffffd9;border-radius:14px;backdrop-filter:blur(16px);position:relative;z-index:5}
.fog-header .task-heading{gap:18px}.fog-header h1{font-size:18px;max-width:440px;font-weight:650}.fog-header .status{color:#00a990;white-space:nowrap}.fog-header .bar button,.fog-header a.button{padding:8px 18px;font-size:14px;border-radius:12px}.fog-header .bar{gap:10px}
.project-drawer summary{cursor:pointer;list-style:none;padding:9px 18px;background:#ffffff80;border:1px solid #eef3fa;border-radius:10px;white-space:nowrap}.project-drawer summary:after{content:'⌄';margin-left:16px}.project-drawer[open]>.project-info{position:absolute;top:54px;left:0;right:0;box-shadow:0 12px 26px #233a5220;border:1px solid #e4edf5;border-radius:12px;background:#fffffff5;z-index:6;padding:16px}.project-drawer .project-fields{gap:14px}.project-drawer .project-info{font-size:13px}
.workspace-page .fog-workspace,.workspace-page .fog-workspace.workspace-empty{display:grid;grid-template-columns:80px minmax(0,1fr) 310px;gap:16px;margin:0 10px 10px;border:0;height:calc(100dvh - var(--workspace-offset,114px) - 12px);min-height:0}
.fog-workspace>.modules{padding:6px 0;background:#ffffff6e;border:1px solid white;border-radius:16px;backdrop-filter:blur(16px)}
.fog-workspace>.modules button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:87px;margin:0 0 9px;padding:10px 4px;border:0;background:transparent;border-radius:12px;color:#63728a;font-size:14px;outline:0}
.fog-workspace>.modules .active{color:#1688ff;background:#e8f7ffb3;border-left:3px solid #36c2ff;box-shadow:inset 0 0 12px #ffffff,0 3px 10px #82b3d51a}.fog-workspace>.modules .fog-icon{width:26px;height:26px}
.fog-icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}.fog-workspace .fog-compare{padding:0;gap:10px;overflow:auto;min-width:0;scrollbar-width:thin}
.sku-toolbar{height:43px;min-height:43px;display:flex;align-items:center;gap:10px;padding:0 0 0 0}.sku-toolbar .compact-import{display:flex;align-items:center;gap:9px;margin:0;padding:8px 16px;border:1px solid #e5edf6;background:#ffffffb8;border-radius:10px;white-space:nowrap;font-size:14px;box-shadow:0 2px 6px #324a6d04}
.sku-toolbar button{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px}.sku-toolbar .icon-button{width:38px;height:36px}.sku-toolbar .chosen{color:#1688ff;background:#edf7ff}.density-label{margin:0}.sku-toolbar select{padding:7px 10px;min-width:92px}.zoom-current{display:flex;gap:7px;margin-left:auto;white-space:nowrap}
.sku-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;flex-shrink:0}.sku-grid.density-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sku-card{height:calc((100dvh - var(--workspace-offset,114px) - 77px)/2);min-height:245px;min-width:0;margin:0;padding:10px 12px 12px;border:1px solid #e7edf4;border-radius:13px;background:rgba(255,255,255,.7);box-shadow:inset 0 1px 0 white,0 2px 7px #43566d03;display:flex;flex-direction:column;gap:8px;backdrop-filter:blur(16px)}
.sku-card.is-selected{border-color:#23b4ff;box-shadow:0 0 0 1px #23b4ff66,inset 0 1px 0 white}.sku-card-heading{height:26px;min-height:26px;padding:0;display:flex;flex-wrap:nowrap;gap:12px;background:none;border:0}.sku-card-heading .sku-select{font-size:15px;font-weight:650;border:0;background:transparent;padding:0;white-space:nowrap;outline:0}.sku-select[aria-pressed=true]{color:#132342}.sku-state{font-size:12px;border:1px solid #e1e8ef;border-radius:20px;padding:3px 12px;color:#63728a;white-space:nowrap;line-height:1.2}.sku-state.reviewed{color:#1688ff;border-color:#86cfff;background:#eef9ff}.sku-state.awaiting{color:#eb8b24;border-color:#ffd390;background:#fff7eb}.sku-card-heading .sku-more{border:0;background:none;margin-left:auto;padding:1px;display:flex;align-items:center}
.sku-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;flex:1;min-height:0}.sku-pair>section{border:1px solid #edf2f7;border-radius:7px;display:flex;flex-direction:column;min-width:0;min-height:0;padding:4px;background:#ffffff33;overflow:hidden}.sku-pair h3{font-size:12px;font-weight:500;margin:0 0 4px;color:#4f6079;line-height:17px}.sku-pair img{display:block;width:100%;height:100%;flex:1;min-height:0;object-fit:contain;cursor:zoom-in;border-radius:4px;background:transparent}.sku-empty{display:flex;align-items:center;justify-content:center;flex:1;color:#8c99aa;font-size:12px;min-height:0;border:1px dashed #dce5ee;border-radius:5px;text-align:center;background:#ffffff44}.sku-grid-empty{padding:40px;color:#63728a}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.selected-sku-tools,.fog-compare>.production-records{flex-shrink:0;padding:10px;border:1px solid #e6edf5;background:#ffffffa6;border-radius:12px}.selected-sku-tools summary,.production-records summary{cursor:pointer;color:#63728a;font-size:12px}
.workspace-page .fog-requirements{padding:16px 16px 0;background:#ffffff9c;border:1px solid white;border-radius:14px;backdrop-filter:blur(16px);gap:12px;min-width:0;overflow:auto;box-shadow:0 2px 8px #52637a03}
.fog-requirements>h2{font-size:19px;line-height:24px;margin:0;font-weight:650}.current-sku{display:flex;align-items:center;min-height:46px;padding:6px 10px;background:#ffffff75;border:1px solid #edf2f9;border-radius:8px;color:#63728a}.current-sku strong{color:#1688ff;font-weight:500}.current-sku img{width:38px;height:44px;object-fit:contain;margin-left:auto;border-radius:5px;box-shadow:0 1px 5px #243e5a13}
.fog-requirements .requirements-content{overflow:auto;flex:1;min-height:260px;gap:0}.fog-requirements .requirements-block{margin:0 0 10px;padding:0 0 11px;border-color:#e5edf5}.fog-requirements .requirements-block h3,.fog-requirements .requirements-block>label{font-size:14px;font-weight:600;margin:0 0 8px;color:#132342}.fog-requirements .ratio-options{display:flex;gap:12px;flex-wrap:wrap}.fog-requirements .ratio-options label{font-size:13px;gap:5px}.fog-requirements input[type=checkbox]{accent-color:#1688ff;width:16px;height:16px;margin:0 7px 0 0;border-radius:4px;flex-shrink:0}.fog-requirements .requirement-row{min-height:29px;gap:5px}.fog-requirements .requirement-row label{color:#63728a;font-size:14px;line-height:1.6;margin:2px 0}.fog-requirements .text-button{color:#1688ff;border:0;background:none;font-size:12px;padding:2px 3px;white-space:nowrap}.fog-requirements .product-group{margin:7px 0}.fog-requirements .product-group>.section-heading{background:#ffffff77;border:1px solid #edf2f7;border-radius:7px;padding:5px 9px;margin-bottom:3px}.fog-requirements .product-group strong{font-size:13px}.fog-requirements .requirements-block:last-of-type{min-height:100px;display:flex;flex-direction:column;flex:1}.fog-requirements #variable{min-height:70px;flex:1;resize:vertical;font-size:13px;line-height:1.6;padding:10px;border-radius:8px;background:#ffffff70}.fog-requirements .generate-action{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;font-size:18px;border-radius:24px;flex-shrink:0;padding:9px}.fog-requirements .generate-action .fog-icon{width:23px;height:23px;fill:white}.fog-requirements .generation-feedback{margin:0;font-size:12px;padding:7px;flex-shrink:0}.fog-requirements .generation-feedback:empty{display:none}
#fog-records{flex-shrink:0;border-top:1px solid #e5edf5;margin:0 -16px;padding:0 16px}#fog-records .shell{margin:0;padding:0;max-width:none}#fog-records details>summary{font-size:14px;font-weight:600;cursor:pointer;padding:13px 0;color:#132342}#fog-records p,#fog-records article{font-size:12px;overflow-wrap:anywhere}#fog-records pre{max-height:220px;overflow:auto}.fog-requirements>.generation-verification{margin:0 -16px;padding:9px 16px;border:0;border-top:1px solid #e5edf5;border-radius:0;background:transparent;flex-shrink:0;font-size:12px}.fog-requirements .generation-verification summary{font-weight:400;color:#63728a;font-size:12px}
@media(max-width:1500px){.workspace-page .fog-workspace,.workspace-page .fog-workspace.workspace-empty{grid-template-columns:70px minmax(0,1fr) 290px;gap:12px}.sku-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sku-card{height:360px}.fog-header h1{max-width:280px;font-size:16px}.fog-header .task-heading{gap:10px}.fog-header .bar button,.fog-header a.button{padding:8px 12px}.workspace-page .toolbox-brand{font-size:20px}.workspace-page .toolbox-nav{gap:18px}.workspace-page .toolbox-apps{gap:5px}.workspace-page .toolbox-apps a{padding:0 12px}}
@media(max-width:1100px){.workspace-page .fog-workspace,.workspace-page .fog-workspace.workspace-empty{grid-template-columns:62px minmax(0,1fr);height:auto;min-height:0}.fog-workspace>.modules{grid-column:1;grid-row:1/3}.fog-workspace .fog-compare{grid-column:2;max-height:none;overflow:visible}.workspace-page .fog-requirements{grid-column:2;display:flex;max-height:none;overflow:visible;padding-bottom:10px}.fog-requirements .requirements-content{overflow:visible;min-height:0}.fog-requirements #variable{min-height:100px}.fog-header{flex-wrap:wrap!important;height:auto!important}.fog-header .bar{margin-left:auto}.fog-header h1{max-width:235px}.workspace-page .toolbox-nav{padding-right:370px;gap:14px}.workspace-page .toolbox-brand{font-size:18px}.toolbox-brand svg{width:23px;height:23px}.workspace-page .account-bar{max-width:340px;right:18px}.workspace-page .toolbox-apps a{font-size:13px;padding:0 9px}.workspace-page .toolbox-apps{gap:2px}}
@media(max-width:800px){.workspace-page .account-bar{position:static;max-width:none;padding:4px 14px;margin:0 10px;justify-content:flex-end;background:#ffffff80}.workspace-page .toolbox-nav{padding:0 12px;gap:12px;height:auto;min-height:50px;flex-wrap:wrap}.workspace-page .toolbox-apps a{font-size:12px;padding:0 10px}.workspace-page .toolbox-brand{font-size:18px}.workspace-page .fog-workspace,.workspace-page .fog-workspace.workspace-empty{gap:8px;margin:0 8px 8px;grid-template-columns:52px minmax(0,1fr)}.fog-workspace .modules button{height:72px;font-size:12px}.fog-workspace .modules .fog-icon{width:23px;height:23px}.sku-toolbar{flex-wrap:wrap;height:auto;min-height:43px;gap:6px}.sku-toolbar .compact-import{font-size:12px;padding:7px 9px}.sku-toolbar button{font-size:12px;padding:7px}.sku-toolbar .icon-button{width:31px}.density-label select{min-width:70px;font-size:12px;padding:7px}.zoom-current{margin-left:0}.sku-grid,.sku-grid.density-2{grid-template-columns:1fr}.sku-card{height:410px;min-height:270px;padding:10px}.fog-header .task-heading{flex-wrap:wrap;gap:7px}.fog-header .bar{flex-wrap:wrap;margin-left:0;gap:6px}.fog-header .bar button,.fog-header a.button{font-size:12px;padding:6px 9px}.fog-header h1{max-width:calc(100vw - 70px)}.project-drawer[open]>.project-info{top:100%;padding:12px}.project-drawer .project-fields{display:flex;flex-direction:column;align-items:stretch}.project-drawer .project-fields>label{min-width:0;flex-wrap:wrap}.project-drawer .file-link-actions{min-width:0;width:100%}.project-drawer .project-actions{flex-wrap:wrap}.fog-requirements .ratio-options{gap:9px}#zoom img{max-width:85vw;max-height:75dvh}}
@media(prefers-reduced-motion:reduce){.workspace-page *{scroll-behavior:auto}}
/* Keep the confirmed first viewport about images; status appears when an operation starts. */
.fog-requirements .generation-feedback.is-idle{display:none}
.fog-requirements .requirements-block{margin-bottom:8px;padding-bottom:8px}
.fog-requirements .requirements-content>.requirements-block{flex-shrink:0}
.fog-requirements .requirements-content>.requirements-block:last-child{flex:1;min-height:106px}
.fog-requirements .requirements-block:last-child>label{margin-top:0}
.workspace-page .account-bar{z-index:12}
@media(min-width:1501px){.sku-card{height:calc((100dvh - var(--workspace-offset,114px) - 137px)/2)}}
.selected-sku-tools:not([open]){display:none}
.fog-header .task-heading>.project-drawer{display:block;font-size:14px;color:#132342}
.fog-requirements .current-sku{padding:4px 10px}.fog-requirements .current-sku img{height:38px}
.fog-requirements{gap:10px!important}.fog-requirements .requirement-row{min-height:26px}
#fog-records .generation-verification{margin:10px 0;padding:8px;border:1px solid #e6edf5;background:#ffffff80}
@media(max-width:800px){.fog-workspace>.modules{display:block}.fog-header .project-drawer summary{padding:6px 10px;font-size:12px}}
.sku-card-heading .sku-select:focus-visible{outline:2px solid #1688ff;outline-offset:4px}
.project-drawer summary:after{content:'';display:inline-block;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:18px}
.query-observation{overflow-wrap:anywhere;font-size:12px;line-height:1.5}.query-observation p{margin:5px 0}.fog-requirements .generation-feedback{max-height:240px;overflow:auto}
#provider-health{border:1px solid #dce7f1;background:#ffffffa6;border-radius:10px;padding:10px;margin:8px 0;overflow-wrap:anywhere}#provider-health h3{font-size:14px;margin:0 0 6px}#provider-health p{font-size:12px;line-height:1.6}#provider-health pre{white-space:pre-wrap;max-height:300px;overflow:auto;font-size:12px}
#owner-conflict-dialog{width:min(1000px,94vw);max-height:88vh;overflow:auto;border:1px solid #dbe4ee;border-radius:16px;padding:24px;color:#172c49;background:#fff}#owner-conflict-dialog::backdrop{background:#172c4966}#owner-conflict-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;background:#f7f7f8;padding:12px}#owner-conflict-dialog fieldset{border:1px solid #dce4ef;border-radius:10px;margin:12px 0;padding:12px}#owner-conflict-dialog label{display:block;margin:10px 0;overflow-wrap:anywhere}#owner-conflict-dialog textarea{display:block;width:100%;box-sizing:border-box;min-height:65px}.owner-review-warning{padding:12px;background:#fff4e8;border-radius:8px}#owner-review-feedback{white-space:pre-wrap;overflow-wrap:anywhere}
/* 20261015 workspace: one large pair per row, normal-flow project panel. */
.workspace-page .fog-header{height:auto;min-height:55px;flex-wrap:wrap;align-items:flex-start}.fog-header .task-heading{display:flex;flex:1;min-width:0;flex-wrap:wrap}.fog-header .task-heading .project-drawer{flex:1 0 100%;order:3}.project-drawer[open]>.project-info{position:static;box-shadow:none;background:#ffffff80;margin-top:7px;padding:10px}.project-drawer .project-fields{display:grid;grid-template-columns:minmax(180px,1fr) minmax(300px,3fr) auto;align-items:end}.project-drawer .file-link-field,.project-drawer .file-link-actions,.project-drawer .file-link-actions input{min-width:0;width:100%}.project-drawer .project-info p:empty{display:none}.project-drawer .project-info>div#helper-report{font-size:12px}.project-drawer .project-info #helper-report>details{max-height:120px;overflow:auto}
.workspace-page .workspace-rows{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:16px}.workspace-page .workspace-rows .sku-card{height:650px;min-height:420px}.workspace-column-headings{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:10px 14px;font-weight:600;position:sticky;top:0;background:#f7f7f8ed;z-index:2}.workspace-column-headings small{display:block;font-size:12px;font-weight:400;color:#63728a}.workspace-page .sku-toolbar h2{font-size:16px;margin:0}.renewed-frame{position:relative}.workspace-page .row-regenerate{position:absolute;right:9px;bottom:9px;z-index:2;padding:7px 12px;color:#167cff;background:#fffffff0;font-size:12px;min-height:34px}.row-progress{position:absolute;inset:30px 0 0;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:#ffffffd9;text-align:center;padding:15px;font-size:12px}.row-progress.succeeded{position:absolute;inset:auto auto 9px 7px;flex-direction:row;background:#ffffffe6;padding:3px;font-size:11px;gap:4px}.progress-circle{--progress:8;width:72px;height:72px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#1688ff calc(var(--progress)*1%),#e8edf4 0);position:relative}.progress-circle:before{content:'';position:absolute;inset:5px;border-radius:50%;background:#fff}.progress-circle b{position:relative;color:#167cff}.row-progress.succeeded .progress-circle{width:28px;height:28px}.row-progress.succeeded .progress-circle b{font-size:8px}.row-progress.succeeded .progress-circle:before{inset:2px}.row-progress.failed,.row-progress.unknown{background:#fff4ebd9;color:#8b3214}.row-progress.checking{background:#ffffffd9}
.workspace-page .workspace-detail{grid-template-columns:70px minmax(0,1fr) 240px}.workspace-page .production-composer{flex-shrink:0;border-radius:14px;background:#ffffffa6;padding:12px}.workspace-page .prompt-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.prompt-composer label{grid-column:1/-1}.workspace-page .prompt-composer textarea{min-height:160px;resize:vertical}.prompt-composer button{min-width:72px}.chosen-references{display:flex;flex-wrap:wrap;gap:6px}.chosen-reference{position:relative;display:inline-flex}.chosen-reference>img:first-child{width:44px;height:52px;object-fit:contain;border:1px solid #dce5ee;border-radius:7px}.chosen-reference .hover-preview{display:none;position:absolute;bottom:100%;left:0;width:220px;height:280px;object-fit:contain;background:white;z-index:20;box-shadow:0 4px 16px #26354c44;pointer-events:none}.chosen-reference:hover .hover-preview,.chosen-reference:focus .hover-preview{display:block}.reference-choice{padding:8px;border:2px solid transparent!important;background:#f7f7f8!important;display:flex;flex-direction:column;align-items:center;gap:5px}.reference-choice.is-selected{border-color:#1688ff!important;background:#eaf5ff!important}.reference-choice[aria-pressed=true]:after{content:'已选';color:#1688ff;font-size:12px}.batch-status{font-size:13px;margin-top:10px;padding:10px;border:1px solid #dce5ee;border-radius:9px}
@media(max-width:1280px){.workspace-page .workspace-rows .sku-card{height:520px}.project-drawer .project-fields{grid-template-columns:minmax(140px,1fr) minmax(240px,3fr)}.project-drawer .project-actions{grid-column:1/-1}.workspace-page .workspace-detail{grid-template-columns:62px minmax(0,1fr)}}
@media(max-width:800px){.project-drawer .project-fields{display:flex;flex-direction:column;align-items:stretch}.workspace-page .workspace-rows .sku-card{height:430px}.workspace-page .sku-pair{gap:5px}.workspace-page .row-regenerate{font-size:11px;padding:6px;right:4px;bottom:4px}.workspace-page .workspace-detail{grid-template-columns:52px minmax(0,1fr)}.progress-circle{width:48px;height:48px}.row-progress{padding:6px;font-size:10px}.row-progress.succeeded{display:none}.chosen-reference .hover-preview{width:150px;height:190px}.workspace-page .prompt-composer textarea{min-height:180px}}
.workspace-page .workspace-detail{grid-template-columns:70px minmax(0,1fr)!important}.workspace-detail .compare{grid-column:2;grid-row:1;min-width:0}.workspace-detail>.modules{grid-column:1;grid-row:1/3}.workspace-detail>.fog-requirements{grid-column:2;grid-row:2;max-height:none}.workspace-detail .sku-pair{grid-template-columns:1fr}.workspace-detail .workspace-column-headings{grid-template-columns:1fr}.workspace-detail .workspace-column-headings>span:first-child{display:none}.workspace-detail .workspace-rows .sku-card{height:600px}.workspace-page .fog-header>.task-heading{flex-basis:calc(100% - 260px)}
.workspace-page .fog-header{padding-top:10px;padding-bottom:9px}.fog-header .task-heading{flex:1 0 100%;margin:0;gap:8px}.fog-header .task-heading h1{max-width:calc(100% - 420px);margin:0}.fog-header>.bar{position:absolute;top:8px;right:18px}.project-drawer summary{padding:3px 6px;border:0;background:transparent;width:fit-content}.project-drawer[open]>.project-info{padding:8px;margin-top:2px}.project-drawer .project-fields{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(250px,3.2fr) auto;gap:9px}.project-drawer .project-fields>label{min-width:0;display:flex;gap:6px;align-items:center;white-space:nowrap}.project-drawer .project-fields input{min-width:0}.project-drawer .project-actions{grid-column:auto;display:flex;gap:6px}.project-drawer .file-link-actions{display:flex}.project-drawer .project-info p{margin:3px 0}.project-drawer .project-info input{height:33px;padding:5px 8px}.project-drawer .project-info button{padding:6px 10px}
@media(max-width:800px){.fog-header .task-heading h1{max-width:100%}.fog-header>.bar{position:static;margin-left:0}.project-drawer .project-fields{display:flex;flex-direction:column;align-items:stretch}.project-drawer .project-fields>label{flex-wrap:wrap}.project-drawer .project-actions{align-self:flex-end}}
