:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#292c26;background:#f5f5f0;font-size:14px;line-height:1.65;--ink:#252d24;--green:#334a38;--muted:#7c8278;--line:#e3e6dd;--paper:#fff;--accent:#e8edde}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:9px 15px;background:white;color:var(--ink);transition:background .15s}button:hover{background:#f0f3e9}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#243a2a}button.quiet{border-color:transparent;background:none;color:var(--muted)}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:26px;letter-spacing:-.7px;line-height:1.4}h2{font-size:19px;line-height:1.4}h3{font-size:15px}small,.muted{color:var(--muted);font-size:12px}input,select,textarea{width:100%;border:1px solid #dce0d5;border-radius:7px;padding:10px 12px;background:#fff;color:var(--ink)}textarea{min-height:110px;resize:vertical}label{display:block;font-size:13px;margin-bottom:6px}label input,label select,label textarea{margin-top:7px}pre{white-space:pre-wrap;word-break:break-word;font:inherit;font-size:13px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green)}.shell{display:grid;grid-template-columns:222px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{padding:0 12px 28px}.brand strong{font-size:23px;letter-spacing:3px}.brand small{display:block;letter-spacing:2px;margin-top:4px}.nav{display:flex;flex-direction:column;gap:5px}.nav a{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:7px;color:#62685f}.nav a.active{background:#edf1e5;color:#263e2c;font-weight:600}.nav a span:first-child{font-size:17px;width:20px;text-align:center}.sidebar-foot{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--line)}.avatar{width:31px;height:31px;display:inline-grid;place-content:center;border-radius:50%;background:#e7ecdd;margin-right:9px}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px;background:#fdfdf9}.topbar .crumb{color:var(--muted);font-size:12px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#788c5e;margin-right:8px}.content{padding:34px;max-width:1700px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted);margin-bottom:8px}.page-head p{color:var(--muted);margin-top:8px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat{padding:19px 23px;background:white;border:1px solid var(--line);border-radius:9px}.stat strong{display:block;font-size:29px;font-weight:500;margin-top:7px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 15px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.type-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:21px;text-align:left;min-height:160px}.type-card .shape{display:block;width:28px;height:34px;border:1.5px solid #789063;background:#f2f5ec;margin-bottom:20px;border-radius:2px;box-shadow:5px -4px 0 -1px #e7eddf}.type-card p{font-size:12px;color:var(--muted);margin-top:6px}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:12px;color:var(--muted);font-weight:500;background:#fbfcf8}th,td{padding:15px 20px;border-bottom:1px solid #edf0e8}tr:last-child td{border-bottom:0}.title-link{font-weight:600}.tag{display:inline-block;padding:3px 9px;font-size:11px;border-radius:4px;background:#f0f2e9;color:#596c49;white-space:nowrap}.tag.warn{background:#fcf1de;color:#8a6627}.tag.error{background:#fbece6;color:#9b5947}.empty{text-align:center;padding:48px 25px;color:var(--muted)}.empty strong{display:block;color:#56614f;font-weight:500;margin-bottom:9px}.panel{background:white;border:1px solid var(--line);border-radius:9px;padding:23px}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.full{grid-column:1/-1}.stack{display:flex;flex-direction:column;gap:16px}.row{display:flex;gap:10px;align-items:center}.row.wrap{flex-wrap:wrap}.between{justify-content:space-between}.notice{border-left:3px solid #9aa984;background:#f0f3e9;padding:13px 17px;font-size:13px;color:#526147;margin-bottom:20px}.notice.warn{border-color:#d8b376;background:#fff8eb;color:#8c713d}.product-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.product-card{padding:20px;border:1px solid var(--line);border-radius:9px;background:white}.product-card .image{height:170px;display:flex;align-items:center;justify-content:center;background:#f7f8f3;margin:-2px -2px 18px;border-radius:6px;color:#99a18f}.product-card img{max-height:150px;max-width:95%;object-fit:contain}.product-card p{font-size:12px;color:var(--muted);margin:6px 0 18px}.work{display:grid;grid-template-columns:235px minmax(320px,1fr) 285px;gap:16px;align-items:start}.work .panel{padding:18px}.work-side h3{margin-bottom:15px}.work-side section+section{border-top:1px solid var(--line);margin-top:19px;padding-top:19px}.work-side img{width:100%;height:150px;object-fit:contain;background:#f6f7f2;border-radius:6px}.sources{display:flex;flex-direction:column;gap:9px}.source-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.steps{display:flex;gap:5px;margin-bottom:22px}.step{flex:1;padding:9px 3px;text-align:center;border-bottom:2px solid var(--line);font-size:12px;color:var(--muted)}.step.on{color:var(--green);border-color:#526b42;font-weight:600}.plan-block{padding:14px 0;border-bottom:1px solid var(--line)}.plan-block:last-child{border:0}.plan-block label{font-size:12px;color:var(--muted)}.material{padding:18px;border:1px solid var(--line);border-radius:7px;margin-top:13px}.material .index{display:inline-block;background:#eef2e6;color:#5e704f;padding:3px 8px;font-size:12px;margin-right:8px}.material p{font-size:13px;margin-top:12px}.material textarea{font-size:12px;min-height:90px;margin-top:8px}.message{padding:12px 14px;background:#f3f5ed;border-radius:7px;margin-bottom:10px;font-size:13px;white-space:pre-wrap;word-break:break-word}.chat-log{max-height:440px;overflow:auto;margin-bottom:18px}.job{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.job p{margin:6px 0;color:#9b6847}.knowledge-body{white-space:pre-wrap;font-size:13px;max-height:600px;overflow:auto;line-height:1.95}.login{min-height:100vh;display:grid;place-items:center;background:#edf0e7}.login-card{width:min(430px,92vw);background:white;border:1px solid var(--line);border-radius:12px;padding:36px}.login-card h1{margin-bottom:8px}.login-card form{margin-top:26px}.login-card label{margin:15px 0}.login-card button{width:100%;margin-top:12px}dialog{border:1px solid var(--line);border-radius:12px;width:min(740px,94vw);padding:28px;color:var(--ink);max-height:90vh}dialog::backdrop{background:#19241b55;backdrop-filter:blur(2px)}dialog .page-head{margin-bottom:22px}dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.spec-option{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:7px}.spec-option label{display:flex;align-items:center;gap:10px;flex:1;margin:0}.spec-option input[type=number]{width:75px}.spec-option small{display:block}.loading{padding:80px;text-align:center;color:var(--muted)}#toast{display:none;position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:100;background:#253729;color:white;padding:12px 22px;border-radius:8px;max-width:90vw;box-shadow:0 6px 22px #0002}#toast.show{display:block}.source-settings{border-bottom:1px solid var(--line);padding:17px 0}.source-settings:first-child{padding-top:0}.source-settings:last-child{border:0}.source-settings .row{margin-top:8px}.source-settings select{width:125px}.settings-spec input{width:85px}.mono{font-family:ui-monospace,monospace;font-size:12px}.subtle{background:#f7f8f3}.file-input{font-size:12px}details summary{cursor:pointer;color:var(--green);font-size:12px;margin:12px 0}.auth-error{color:#a35543;font-size:12px}.pending{color:#9a792c}.desktop-note{display:none}
@media(min-width:1600px){.work{grid-template-columns:260px minmax(440px,1fr) 320px}}@media(max-width:1250px){.shell{grid-template-columns:190px 1fr}.sidebar{padding:25px 10px}.content{padding:25px}.topbar{padding:0 25px}.work{grid-template-columns:200px 1fr}.work-chat{grid-column:1/-1}.chat-log{max-height:230px}.product-list{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){.shell{display:block}.sidebar{position:static;height:auto;padding:16px;border:0;border-bottom:1px solid var(--line)}.brand{padding:0 7px 14px;display:flex;align-items:center;justify-content:space-between}.brand strong{font-size:20px}.brand small{letter-spacing:0}.nav{flex-direction:row;overflow:auto;gap:4px}.nav a{white-space:nowrap;padding:8px 10px;font-size:12px}.nav a span:first-child{display:none}.sidebar-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;padding:10px 0 0}.sidebar-foot>small{display:none}.sidebar-foot>div:last-child{display:flex;flex-wrap:wrap;gap:2px}.sidebar-foot button{padding:8px;font-size:12px}.topbar{height:50px;padding:0 18px}.content{padding:23px 17px}.page-head{align-items:start}h1{font-size:23px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stat{padding:13px 18px}.stat strong{font-size:24px}.cards{grid-template-columns:repeat(2,1fr)}.type-card{min-height:145px}.grid-two,.form-grid{grid-template-columns:1fr}.work{display:flex;flex-direction:column}.work>.panel{width:100%}.work-side{order:2}.work-chat{order:3}.product-list{grid-template-columns:1fr}.work-side img{height:130px}.desktop-note{display:block}.row.wrap button{flex:1}th,td{padding:12px}.settings-spec input{width:65px}.source-settings .row{flex-wrap:wrap}}

.render-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px;margin:20px 0}.render-card{padding:14px;border:1px solid var(--line);border-radius:8px;min-width:0}.render-card h3{margin:12px 0}.render-card .row{margin-top:12px}.render-image{background:#f2f1ed;min-height:160px;height:280px;display:flex;align-items:center;justify-content:center;margin-top:12px;overflow:hidden;border-radius:5px}.render-image>a{display:block;width:100%;height:100%}.render-image img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}.render-image span{color:var(--muted);font-size:12px;padding:20px}.alpha-preview{background-color:white;background-image:linear-gradient(45deg,#e5e5e5 25%,transparent 25%),linear-gradient(-45deg,#e5e5e5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e5e5 75%),linear-gradient(-45deg,transparent 75%,#e5e5e5 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.download-link{background:var(--green);color:white;padding:10px 18px;border-radius:6px;white-space:nowrap}.mono{overflow-wrap:anywhere}
.prompt-field-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;font-size:13px}.prompt-field-head button{white-space:nowrap}.prompt-suggestion-status{display:flex;align-items:center;gap:10px;min-height:24px;margin:7px 0 12px}.prompt-suggestion-status .wf-spinner{width:18px;height:18px}

.spec-option{flex-wrap:wrap}.spec-option select{width:80px;font-size:12px}
.sku-editor-row{padding:16px;border:1px solid var(--line);border-radius:8px;background:#fbfcf8}.sku-editor-row>.row{margin-bottom:14px}.sku-editor-row details{margin:0}.form-status{position:sticky;bottom:67px;z-index:2;padding:13px 16px;margin-top:16px;background:#fff3e9;color:#8d3e27;border:1px solid #dba994;border-radius:7px;font-size:13px;white-space:pre-wrap}.form-status[hidden]{display:none}dialog footer{position:sticky;bottom:-28px;background:#fff;padding:15px 0;margin-top:16px;z-index:2;border-top:1px solid var(--line)}[aria-invalid=true]{border-color:#b84c35;outline:2px solid #f4d2c7}.render-card:focus,.material:focus{outline:3px solid #91a178;outline-offset:4px}
/* Evidence and dialogue stay visible next to the editable plan. */
.research-panel{margin-bottom:22px}.research-panel:empty{display:none}.fact{padding:14px 0;border-bottom:1px solid var(--line,#e3e5dc)}.fact summary{line-height:1.8;cursor:pointer}.fact blockquote{margin:8px 0;padding:8px 12px;border-left:3px solid #a0ae8b;white-space:pre-wrap}.message.assistant{background:#edf1e8;border:1px solid #d8e0cf}.message>strong{font-size:12px;color:#5c7150}.message p{white-space:pre-wrap;margin-top:6px}.candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}.candidate-grid article{min-width:0}.candidate-grid img{width:100%;height:170px;object-fit:contain;background:#fff;border-radius:8px}.candidate-grid small{overflow-wrap:anywhere}.source-settings label{margin-top:8px}
.selection-row{display:grid;grid-template-columns:1.4fr 1.4fr .6fr .6fr auto;gap:10px;padding:14px;border:1px solid var(--line);border-radius:8px;margin:14px 0}.selection-row>*{min-width:0}.selection-row small{grid-column:1/-1}.selection-row button{align-self:center}.asset-strip{display:flex;flex-wrap:wrap;gap:12px}.asset-strip figure{margin:0;text-align:center}.asset-strip img{width:90px;height:90px;object-fit:contain}.asset-strip figcaption{font-size:12px;color:var(--muted)}.member-options{display:flex;flex-wrap:wrap;gap:14px;margin-top:18px}.member-options label{display:flex;align-items:center;gap:8px}.member-options input{margin:0}.task-team{margin-bottom:16px}
@media(max-width:700px){.selection-row{grid-template-columns:1fr 1fr}.selection-row button{grid-column:2;grid-row:3}.selection-row small{grid-column:1}.work>div{width:100%;min-width:0}.page-head{flex-wrap:wrap}.steps{overflow:auto}.step{min-width:75px}}
.source-settings select{display:block;width:100%}
.source-settings .source-save-row{flex-direction:column;align-items:stretch}
.source-save-row small{overflow-wrap:anywhere}.source-save-row button{align-self:flex-end;white-space:nowrap;flex-shrink:0}
.backup-status p{overflow-wrap:anywhere}.backup-status .mono{margin-top:8px;line-height:1.8}
.art-direction{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:7px;background:#fafbf7}.art-direction p{margin-bottom:8px}.layout-controls{margin-top:14px}.layout-controls label{min-width:0}.layout-controls input[type=color]{height:42px;padding:4px}

.library-filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(3,minmax(130px,1fr));gap:14px;align-items:end}.library-filters>.row{align-self:center}.library-filters>.row:last-child{justify-content:flex-end;grid-column:3/-1}@media(max-width:850px){.library-filters{grid-template-columns:1fr}.library-filters>.row:last-child{grid-column:auto;justify-content:flex-start}}

.workspace-jump{display:none}
@media(max-width:1250px){
  .workspace-jump{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;position:sticky;top:0;z-index:5;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:7px;margin-bottom:20px;box-shadow:0 3px 10px #2537290a}
  .workspace-jump button{padding:9px 3px;font-size:12px;min-height:44px;white-space:nowrap}
  .task-actions,.work-content,.work-side,.work-chat{scroll-margin-top:76px}
}
@media(max-width:850px){
  .task-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .task-actions button{min-height:44px;padding:10px 8px}
  .work-content{width:100%;min-width:0}
  .work .row.between{flex-wrap:wrap}
  .work-content,.work-side,.work-chat{overflow-wrap:anywhere}
}

/* References retain their own role instead of imposing one campaign layout. */
.creative-controls{border:1px solid var(--line,#ddd);border-radius:12px;padding:16px;margin:16px 0}.creative-controls legend{font-weight:650}.creative-summary{margin:16px 0;padding:12px;border-left:3px solid #546953}.reference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px;margin-top:18px}.reference-card{border:1px solid var(--line,#ddd);border-radius:12px;padding:16px}.reference-comparison{display:flex;gap:12px;margin:12px 0}.reference-comparison figure{margin:0;flex:1;min-width:0}.reference-comparison img{width:100%;height:320px;object-fit:contain;background:#fff;border-radius:8px}.reference-comparison figcaption{font-size:12px;color:#667;padding:8px 0}.deferred-plan{margin:10px 0}.deferred-plan>summary{padding:14px;background:#f4f4f0;border-radius:8px;cursor:pointer}.creative-panel .notice{margin-top:14px}

/* Guided workspace: one active form; source and execution detail is secondary. */
.workflow{max-width:1000px;margin:0 auto 60px}.wf-title{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 28px}.wf-title h1{font-size:25px;margin-top:12px;letter-spacing:0}.wf-title p{font-size:13px;color:#697264;margin-top:6px}.wf-back{font-size:12px;color:#687260}.wf-menu{position:relative;flex-shrink:0}.wf-menu>summary{list-style:none;padding:9px 14px;border:1px solid var(--line);border-radius:6px;background:white;font-size:13px}.wf-menu>div{position:absolute;right:0;min-width:180px;z-index:6;display:flex;flex-direction:column;background:#fff;box-shadow:0 8px 28px #2537291a;padding:8px;border:1px solid var(--line);border-radius:8px}.wf-menu button{text-align:left;border:0}.wf-modules{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #dce2d5;margin-bottom:20px;gap:30px}.wf-modules>div{display:flex;gap:13px;align-items:center;padding:12px 0 20px;color:#858b7f;border-bottom:3px solid transparent;margin-bottom:-2px}.wf-modules>div>span{font-size:13px;background:#e9ece5;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.wf-modules strong{display:block;font-size:17px;font-weight:600}.wf-modules small{display:block;font-size:12px;margin-top:2px}.wf-modules>.active{border-bottom-color:#425c39;color:#2e4931}.wf-modules>.active>span{background:#334a38;color:white}.wf-modules>.done{color:#54694a}.wf-steps{list-style:none;padding:0;margin:0 0 25px;display:flex;gap:20px;align-items:center}.wf-steps li{display:block}.wf-steps button{display:flex;align-items:center;gap:8px;background:none;border:0;padding:6px 0;font-size:13px;color:#68745f;white-space:nowrap}.wf-steps button span{width:22px;height:22px;border-radius:50%;background:#e7ebdf;display:grid;place-items:center;font-size:11px}.wf-steps button.active{color:#293f2d;font-weight:650}.wf-steps button.active span{background:#d4dfc7}.wf-steps button:disabled{opacity:1;color:#989d93}.wf-card{background:#fff;border:1px solid #dfe4d8;border-radius:12px;padding:32px 38px 0;scroll-margin-top:20px}.wf-card>header{margin-bottom:25px}.wf-kicker{font-size:11px;letter-spacing:1px;color:#7a856f}.wf-card h2{font-size:23px;margin-top:6px;font-weight:600}.wf-product{font-size:15px;font-weight:500;padding-bottom:20px;margin-bottom:23px;border-bottom:1px solid var(--line)}.wf-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 26px}.wf-fields label{font-size:13px;color:#45543d;margin:0}.wf-fields textarea{min-height:110px}.wf-fields .full textarea{min-height:125px}.wf-card select,.wf-card input{min-height:44px}.wf-card input[type=checkbox]{min-height:0}.wf-hint{color:#687360;font-size:13px;line-height:1.9;margin:14px 0 20px}.wf-aux{margin:20px 0;padding:10px 0;border-top:1px solid #eef0e9}.wf-aux>summary{font-size:13px;color:#68775c;margin:4px 0 12px}.wf-aux p{font-size:13px;color:#65765c;margin-bottom:12px}.wf-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:30px -38px 0;padding:20px 38px;background:#fafbf7;border-top:1px solid var(--line);border-radius:0 0 12px 12px}.wf-footer>span{font-size:12px;color:#6d7865}.wf-footer>div{display:flex;gap:7px;align-items:center}.wf-footer .primary{padding:11px 20px;min-height:45px}.wf-upload{margin:24px 0;padding:21px;border:1px dashed #c9d3be;border-radius:8px;background:#fafbf8}.wf-upload strong{font-size:13px;font-weight:600}.wf-upload p{color:#6b7661;font-size:12px;margin:4px 0 13px}.wf-file{font-size:12px}.wf-file input{padding:8px;max-width:460px;font-size:12px}.wf-upload ul{margin:8px 0 0;padding-left:20px;font-size:12px}.wf-questions{padding-top:20px;margin-top:16px;border-top:1px solid var(--line)}.wf-questions h3{margin-bottom:16px}.wf-questions label{margin:18px 0}.wf-progress{padding:16px 18px;border-radius:7px;background:#eff3e8;color:#4a613d;font-size:13px;line-height:1.8;margin:16px 0}.wf-copy-summary{padding:17px 20px;background:#f1f4eb;border-radius:7px;margin-bottom:23px}.wf-copy-summary strong{font-size:14px}.wf-copy-summary p{font-size:12px;color:#68745e;margin-top:5px}.wf-copy-page{border:1px solid #dfe4d7;border-radius:8px;margin-bottom:13px}.wf-copy-page>summary{display:flex;gap:14px;align-items:center;list-style:none;margin:0;padding:17px 19px;color:#34442d}.wf-page-number{background:#eef2e7;color:#657752;min-width:42px;height:40px;border-radius:6px;display:grid;place-items:center;font-size:12px}.wf-copy-page summary small{display:block;font-size:11px}.wf-copy-page summary strong{display:block;font-size:14px;font-weight:600;margin-top:3px;overflow-wrap:anywhere}.wf-expand{font-size:11px;color:#738264;margin-left:auto}.wf-page-form{padding:6px 22px 22px}.wf-page-form>label{margin-bottom:16px}.wf-page-form textarea{min-height:115px}.wf-page-form .wf-from label{display:flex;align-items:center;gap:8px}.wf-page-form .wf-from input{margin:0}.wf-from{border:1px solid var(--line);border-radius:6px;margin:10px 0;padding:12px}.wf-from legend{font-size:12px;color:#586e49}.wf-add-page{margin-top:8px;color:#456338}.wf-error{background:#fff1e8;border:1px solid #e6baa0;border-radius:7px;color:#8d4229;padding:12px 16px;font-size:13px;margin-bottom:20px}.wf-error[hidden]{display:none}.wf-error button{display:block;color:#854c37;padding-left:0}.wf-support{margin-top:23px;color:#76816d}.wf-support>summary{font-size:12px}.wf-support-body{padding:10px 24px 24px;border:1px solid var(--line);border-radius:8px;background:#fff}.wf-support pre{max-height:350px;overflow:auto}.wf-support .job{padding:15px 0}.wf-support-body>details{border-bottom:1px solid var(--line);padding:8px 0}.wf-assets{margin:0;padding:0;border:0}.wf-assets>legend{font-size:15px;font-weight:600;padding:0}.wf-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:16px}.wf-asset-grid>label{border:1px solid var(--line);border-radius:8px;padding:10px;cursor:pointer}.wf-asset-grid>label:has(input:checked){border-color:#6b8357;background:#f2f6eb}.wf-asset-grid img{height:150px;width:100%;object-fit:contain}.wf-asset-grid label span{display:flex;gap:7px;align-items:center}.wf-asset-grid label input{margin:0}.wf-style{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}.wf-style h3{margin-bottom:14px}.wf-style textarea{min-height:130px}.wf-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.wf-preview{padding:16px;border:1px solid var(--line);border-radius:8px;min-width:0}.wf-preview .between{font-size:12px}.wf-preview>a{display:block;background:#f4f5f0;margin:15px 0}.wf-preview img{display:block;width:100%;height:380px;object-fit:contain}.wf-preview h3{font-size:14px;margin:12px 0 5px}.wf-preview>p{font-size:12px;color:#6c7862;line-height:1.8;margin-bottom:12px}.wf-placeholder{min-height:230px;padding:22px;background:#f4f5f0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;font-size:12px;color:#68765d;margin:12px 0}.wf-preview .row{flex-wrap:wrap}
@media(max-width:1000px){.wf-card{padding:25px 26px 0}.wf-footer{margin-left:-26px;margin-right:-26px;padding:20px 26px}.wf-title h1{font-size:22px}.wf-steps{gap:14px}.wf-steps button{font-size:12px}.wf-footer{flex-wrap:wrap}.wf-footer>div{margin-left:auto}}
@media(max-width:650px){.wf-fields,.wf-previews{grid-template-columns:1fr}.wf-modules{gap:15px}.wf-modules strong{font-size:15px}.wf-modules small{font-size:10px}.wf-title{align-items:flex-start;gap:10px}.wf-title h1{font-size:20px}.wf-menu>summary{font-size:11px;padding:7px}.wf-card{padding:22px 19px 0}.wf-footer{margin-left:-19px;margin-right:-19px;padding:16px 19px}.wf-footer>div{flex-wrap:wrap;justify-content:flex-end}.wf-footer>span{width:100%}.wf-steps{gap:11px;overflow:auto}.wf-steps button{gap:5px}.wf-steps button span{width:18px;height:18px}.wf-preview img{height:360px}.wf-modules>div{gap:8px}.wf-modules>div>span{width:29px;height:29px;flex-shrink:0}.wf-card h2{font-size:21px}.wf-copy-page>summary{padding:13px 12px}.wf-page-form{padding:8px 14px 18px}.wf-card select,.wf-card textarea,.wf-card input:not([type=checkbox]){font-size:16px}}
/* Clear, truthful AI progress without replacing an employee's form input. */
.wf-ai-status{display:flex;align-items:flex-start;gap:16px;padding:20px;margin:0 0 24px;border:1px solid #cad7bd;border-radius:8px;background:#f1f5ec;color:#354c2d}.wf-ai-status strong{font-size:15px}.wf-ai-status p{margin:7px 0;font-size:13px}.wf-ai-status small{font-size:12px;color:#65755a}.wf-spinner{display:block;width:22px;height:22px;border:3px solid #cfdbc4;border-top-color:#4b6b3d;border-radius:50%;animation:wf-spin 1s linear infinite;flex-shrink:0}.wf-refine{margin-top:24px;padding:22px;background:#f6f7f2;border-radius:8px}.wf-refine h3{margin-bottom:12px}.wf-refine button{margin-top:12px}.wf-page-form textarea[name$="_prompt"]{min-height:180px;line-height:1.8}.wf-error p{margin:8px 0}.wf-copy-summary button{margin-top:12px}#modal-form [hidden]{display:none!important}@keyframes wf-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.wf-spinner{animation:none}}
.wf-copy-page summary em{display:block;font-size:11px;color:#75806e;font-style:normal;margin-top:4px}.wf-role{border-left:4px solid #6f875e;background:#f2f5ed;padding:17px 19px;margin:3px 0 22px;border-radius:0 7px 7px 0}.wf-role>span{font-size:10px;letter-spacing:1px;color:#68785d}.wf-role h3{font-size:16px;margin:5px 0}.wf-role p{font-size:13px;color:#4c5d45;margin-bottom:12px}.wf-role dl{display:grid;grid-template-columns:72px 1fr;gap:7px 12px;margin:0;font-size:12px}.wf-role dt{color:#75806c}.wf-role dd{margin:0;color:#35442f}
.material-edit-section{padding:4px 0 25px;margin-bottom:24px;border-bottom:1px solid var(--line)}.material-edit-section:last-of-type{border-bottom:0;margin-bottom:0}.material-edit-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}.material-edit-heading>div{display:flex;align-items:center;gap:10px}.material-edit-heading small{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e8edde;color:#40563a;font-weight:650}.material-edit-heading h3{font-size:17px}.material-edit-heading>span{font-size:12px;color:var(--muted);text-align:right}.material-edit-section .creative-controls{margin:17px 0}.material-edit-section textarea[name=visual]{min-height:230px;line-height:1.8}.material-edit-section textarea[name=designFocus]{min-height:105px}.material-rerender{margin-top:18px;padding:13px 15px;border-radius:7px;background:#f6f7f2}.material-rerender input{flex:0 0 auto}@media(max-width:650px){.material-edit-heading{align-items:flex-start;flex-direction:column;gap:4px}.material-edit-heading>span{text-align:left}}

/* One editable image brief per card; all design controls are visible. */
.wf-editor-section{padding:22px 0;border-bottom:1px solid var(--line)}.wf-editor-section:first-child{padding-top:8px}.wf-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.wf-editor-heading h3{display:flex;align-items:center;gap:10px;font-size:17px;margin:0}.wf-editor-heading h3>span{font-size:11px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8edde;color:#40563a}.wf-editor-heading button{flex-shrink:0}.wf-editor-section .wf-role{margin:0 0 17px;padding:14px 16px}.wf-editor-section .wf-role p{margin:7px 0}.wf-editor-section textarea[name$="_purpose"]{min-height:90px}.wf-editor-section textarea[name$="_visual"]{min-height:220px;line-height:1.85}.wf-editor-section .creative-controls{margin:0 0 18px}.wf-editor-section .wf-hint{margin:8px 0 12px;font-size:12px}.wf-field-status:empty{display:none}.wf-field-status{background:#f1f5ec;border-radius:7px;padding:12px 15px;margin:12px 0;font-size:12px;line-height:1.8}.wf-field-status .wf-spinner{float:left;margin:2px 10px 0 0;width:17px;height:17px}.wf-field-status p{margin:0 0 8px}.wf-field-status pre{white-space:pre-wrap;max-height:260px;overflow:auto;padding:12px;background:white;font:inherit}.wf-regenerate-note{margin:14px 0!important}.wf-page-size{padding:20px 0}.wf-page-size h3{font-size:14px;margin-bottom:12px}
@media(max-width:650px){.wf-editor-heading h3{font-size:15px}.wf-editor-heading button{font-size:12px;padding:8px}.wf-editor-heading{gap:6px}}
.reference-prompt{margin:20px 0;padding:20px;border:1px solid var(--line,#dce1d5);border-radius:12px;background:#f7f9f4}
.reference-prompt h4{margin:0 0 8px;font-size:17px}.reference-prompt h4 small{font-size:13px;font-weight:400;color:#737b6e;margin-left:8px}
.reference-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.reference-prompt label{min-width:0}.reference-prompt input[type=file]{max-width:100%;font-size:13px}.reference-prompt small{color:#737b6e}
.reference-prompt-preview{display:block;max-width:100%;max-height:220px;width:auto;margin:12px 0;border-radius:8px;border:1px solid #dce1d5}.reference-prompt-preview[hidden]{display:none}
.reference-aspects{display:flex;flex-wrap:wrap;gap:12px 22px;border:0;padding:8px 0;margin:8px 0}.reference-aspects legend{padding:0;margin-bottom:8px}.reference-aspects label{display:flex;align-items:center;gap:6px;margin:0}.reference-aspects input[type=checkbox]{width:auto;margin:0}
.reference-prompt textarea[data-reference-note]{min-height:72px}.reference-result:not(:empty){margin-top:16px;padding:16px;background:white;border:1px solid #dce1d5;border-radius:8px}.reference-result h5{margin:14px 0 4px;font-size:14px}.reference-result p{margin:6px 0;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.reference-result pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.7}.reference-result button{margin-top:12px}
@media(max-width:700px){.reference-source-grid{grid-template-columns:1fr}.reference-prompt{padding:14px}}
