.image-provider{background:#f4f5ee;border-radius:9px;padding:16px;line-height:1.8}.image-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.image-settings-grid .field-label{display:block}.image-settings-grid select{display:block;width:100%;margin-top:8px}.image-settings-actions,.image-detail-actions,.image-page-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.image-layout-panel{margin:20px;border:1px solid #dce2d4;padding:22px;border-radius:10px;background:#f6f8f1}.image-layout-heading{display:flex;gap:16px;justify-content:space-between;align-items:center}.image-layout-heading h3{margin:0 0 8px}.image-layout-heading p{font-size:13px;color:#78866b;margin:0}.image-layout-history{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:14px 0}.image-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.image-job-panel{position:sticky;top:20px;max-height:80vh;overflow:auto}.image-job{display:flex;flex-direction:column;gap:8px;padding:18px;width:100%;text-align:left;background:white;border:0;border-bottom:1px solid #eeeee5;color:inherit;cursor:pointer}.image-job strong{font-size:14px;overflow-wrap:anywhere}.image-job span,.image-job small{font-size:12px;color:#7e8c73}.image-job:hover,.image-job.selected{background:#f1f4eb}.image-job.selected{box-shadow:inset 3px 0 #708357}.image-detail-panel{min-width:0}.image-detail-panel h2{font-size:17px;margin:0 0 7px}.image-detail-panel .panel-header{gap:12px;align-items:flex-start;flex-wrap:wrap}.image-detail-panel .panel-header p{margin:0}.image-snapshot-note{font-size:12px;line-height:1.9;margin:18px 24px;color:#78866b}.image-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:0 24px 24px}.image-page{min-width:0;border:1px solid #e2e5db;border-radius:9px;padding:14px}.image-page-head{min-height:45px;display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.image-page-head strong{font-size:13px;overflow-wrap:anywhere}.image-state{font-size:11px;color:#7d8a70}.image-state.completed{color:#446543}.image-state.failed,.image-state.unknown,.image-state.download_failed{color:#bb6347}.image-preview{aspect-ratio:3/4;position:relative;border-radius:5px;background:#f2f3ed;overflow:hidden}.image-preview img{display:block;width:100%;height:100%;object-fit:contain}.image-preview>[data-image-loading]{position:absolute;inset:auto 12px 12px;background:#fffffff0;padding:7px;border-radius:5px}.image-placeholder{display:flex;height:100%;flex-direction:column;justify-content:center;align-items:center;color:#8c987f}.image-placeholder span{font-size:36px}.image-page-actions{margin-top:12px;justify-content:space-between}.image-page .model-error{font-size:12px;overflow-wrap:anywhere}.queue-image-option{display:flex;align-items:flex-start;gap:10px;padding:15px;margin:0 0 20px;border:1px solid #e1e6d8;border-radius:8px;background:#f6f8f2;font-size:13px;line-height:1.7}.queue-image-option input{margin-top:4px;accent-color:#6d8259}.queue-image-option small{display:block;color:#879378}.queue-image-option.is-off{opacity:.65}.queue-image-status{font-size:12px;color:#758568;margin-top:8px}.queue-image-status button{font-size:12px}.image-settings-actions{margin-top:18px}@media(max-width:1250px){.image-workspace{grid-template-columns:230px minmax(0,1fr)}.image-page-grid{grid-template-columns:1fr}.image-layout-heading{align-items:flex-start;flex-direction:column}}@media(max-width:800px){.image-workspace{grid-template-columns:1fr}.image-job-panel{position:static;max-height:300px}.image-settings-grid{grid-template-columns:1fr}.image-layout-panel{margin:12px;padding:15px}}
.image-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}

/* Workbench stage 04 and conversation-based image creation. */
main.image-chat-view{flex:0 0 auto;height:calc(100dvh - 120px);min-height:510px;display:flex;flex-direction:column;padding-top:24px;padding-bottom:18px}main.image-chat-view>.intro{flex-shrink:0;margin-bottom:17px}main.image-chat-view>.image-chat-shell{flex:1 1 0;height:auto;min-height:0;max-height:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.image-stage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;background:#fafbf7;border-bottom:1px solid var(--line)}
.image-stage-toolbar strong{font-size:17px;color:#3a493a}.image-stage-toolbar .help{margin:9px 0 0;line-height:1.8;font-size:12px;color:#839176}.image-history-select{display:flex;align-items:center;gap:14px;padding:18px 24px 0;font-size:12px;color:#819073}.image-history-select select{width:auto;max-width:100%}.image-stage-result-head{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:20px 24px 0}.image-stage-result-head>.help{flex:1;font-size:12px;color:#7b8c6d}.image-stage-result-head .text-button{font-size:12px}.image-stage-empty{text-align:center;padding:75px 25px;color:#91a082}.image-stage-empty>span{font-size:46px;color:#7d906b}.image-stage-empty h3{font-size:21px;font-weight:500;color:#526a45}.image-stage-empty p{font-size:13px;line-height:1.9;max-width:430px;margin:0 auto}.image-stage-result .image-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-zoom{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}.image-lightbox-dialog{width:min(900px,94vw);max-height:94vh}.image-lightbox{max-height:72vh;max-width:100%;object-fit:contain;display:block;margin:auto}.image-lightbox-dialog #dialog-body{overflow:auto}
.image-chat-intro{margin-bottom:22px}.image-chat-intro h1{font-size:28px}.image-chat-shell{display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px;height:calc(100vh - 257px);min-height:620px;max-height:1100px}.image-chat-history{display:flex;flex-direction:column;min-height:0;padding:16px 0;background:#fdfdfb}.image-chat-history>#image-chat-new{margin:0 15px 20px;min-height:42px}.image-chat-history-label{display:flex;justify-content:space-between;padding:0 19px 14px;font-size:11px;color:#9ba58f;letter-spacing:1px}#image-chat-history-list{overflow:auto;min-height:0;flex:1}.image-chat-history-item{border:0;background:none;border-left:3px solid transparent;padding:16px 16px 16px 18px;width:100%;text-align:left;display:flex;flex-direction:column;gap:7px;color:#617254;transition:background .2s}.image-chat-history-item:hover{background:#f4f6ed}.image-chat-history-item.selected{background:#eef3e7;border-left-color:#789266}.image-chat-history-item strong{font-size:12px;line-height:1.7;font-weight:550;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.image-chat-history-item span{font-size:10px;color:#819375}.image-chat-history-item small{font-size:9px;color:#a0aa95}.image-history-empty{font-size:11px;color:#9aa58e;text-align:center;padding:20px 10px}.image-chat-main{display:flex;flex-direction:column;min-width:0;min-height:0;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 3px 16px #263a2410}.image-chat-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 23px;border-bottom:1px solid #edf0e6;background:#fdfdfb}.image-chat-heading strong{display:block;color:#536748;font-size:14px;line-height:1.6}.image-chat-heading small{display:block;color:#a0aa94;font-size:10px;margin-top:5px}.image-chat-model-dot{font-size:10px;color:#7c9071;white-space:nowrap}.image-chat-model-dot:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#8ba477;margin-right:7px}.image-chat-main>#image-chat-error:empty{display:none}.image-chat-main>#image-chat-error{padding:10px 22px;font-size:12px;margin:0}.image-chat-messages{flex:1;min-height:0;overflow:auto;padding:26px 27px 15px;scrollbar-width:thin;scrollbar-color:#dbe2d1 transparent}.image-chat-welcome{min-height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:20px}.image-chat-welcome>span{font-size:42px;color:#dd8768;margin-bottom:16px}.image-chat-welcome>.eyebrow{font-size:8px;letter-spacing:2px}.image-chat-welcome h2{font-size:27px;color:#44593b;line-height:1.6;font-weight:550;letter-spacing:.5px;margin:18px 0 10px}.image-chat-welcome p{font-size:12px;color:#95a187;line-height:1.9}.image-chat-suggestions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}.image-chat-suggestions button{border:1px solid #e6eade;background:#fafbf6;color:#7a896c;padding:12px 16px;border-radius:8px;font-size:11px}.image-chat-suggestions button:hover{border-color:#b9c8a8;background:#f1f5e9}.image-chat-user{display:flex;gap:12px;align-items:flex-start;justify-content:flex-end;margin:0 0 24px}.image-chat-avatar{order:2;display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;background:#e8eddc;border:1px solid #dce4ce;border-radius:9px;font-size:11px;color:#6a8058}.image-chat-user>div{max-width:88%;min-width:0}.image-chat-prompt-text{padding:15px 18px;background:#f1f4ea;border:1px solid #e5ebda;border-radius:13px 2px 13px 13px;font-size:12px;line-height:1.9;color:#506444;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto}.image-chat-user small{display:block;text-align:right;font-size:9px;color:#a2ab97;margin-top:7px}.image-chat-answer-head{display:flex;align-items:center;gap:10px;margin-bottom:15px}.image-chat-star{display:grid;place-items:center;background:#fff0e8;color:#d18762;width:29px;height:29px;border-radius:9px;font-size:20px;flex-shrink:0}.image-chat-answer-head strong{font-size:11px;font-weight:550;color:#6e825c}.image-chat-answer-head small{display:block;font-size:10px;color:#a3ae97;margin-top:6px}.image-chat-answer .image-page-grid{padding:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.image-chat-answer .image-page-grid:has(>.image-page:only-child){grid-template-columns:minmax(180px,360px)}.image-chat-answer .image-page{padding:10px;border-color:#e9ecdf}.image-chat-answer .image-page-head strong{font-size:10px}.image-chat-answer .image-page-head{min-height:35px;gap:3px;margin-bottom:9px}.image-chat-answer .image-page-actions .text-button{font-size:10px}.image-chat-turn{padding-bottom:34px}.image-chat-turn:last-child{padding-bottom:10px}.image-chat-turn-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:14px}.image-chat-turn-actions .button{font-size:10px}.image-chat-composer{margin:0 20px 18px;padding:15px 16px 10px;border:1px solid #dce3d1;border-radius:15px;background:#fafcf7;box-shadow:0 -10px 28px #ffffffea;flex-shrink:0}.image-chat-composer:focus-within{border-color:#9eb58c;box-shadow:0 0 0 3px #92a77a12}.image-chat-composer textarea{display:block;width:100%;border:0;background:transparent;outline:none;resize:vertical;min-height:72px;max-height:180px;padding:4px 1px 12px;color:#3d5233;font-size:13px;line-height:1.8}.image-chat-composer textarea::placeholder{color:#a7b39a}.image-chat-composer-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.image-chat-options{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.image-chat-option{border:1px solid #e6ebdd;border-radius:7px;background:#fff;padding:6px 8px;display:flex;align-items:center;gap:6px;max-width:100%}.image-chat-option>span{font-size:9px;color:#a1ad93;white-space:nowrap}.image-chat-option select{font-size:10px;color:#687e55;max-width:170px;border:0;background:none;cursor:pointer;min-width:35px;padding:1px;outline-offset:1px}.image-chat-send{flex-shrink:0;border:0;border-radius:10px;background:#617e50;color:#fff;padding:11px 13px;font-size:17px;min-width:73px;min-height:40px;box-shadow:0 3px 6px #4d633020}.image-chat-send span{font-size:11px;vertical-align:2px;margin-left:4px}.image-chat-send:hover{background:#4d6c3e}.image-chat-send:disabled{background:#dbe2d2;color:#96a68a;opacity:1;box-shadow:none}.image-chat-composer-foot{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #e9eddf;padding-top:8px;margin-top:10px;color:#a0ac92;font-size:9px;line-height:1.6}.image-chat-composer-foot>span:last-child{white-space:nowrap}.image-source-chip{font-size:10px;color:#81916e;padding:5px 0 10px;line-height:1.6}.image-source-chip span{color:#a1ad95;margin-left:8px}
@media(min-width:1600px){.image-chat-shell{grid-template-columns:260px minmax(0,1fr)}.image-chat-messages{padding:30px 40px}.image-chat-composer{margin-left:28px;margin-right:28px}.image-chat-answer .image-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.image-chat-shell{grid-template-columns:190px minmax(0,1fr)}.image-chat-messages{padding:20px 17px}.image-chat-composer{margin:0 12px 12px;padding:13px 12px 9px}.image-chat-option>span{display:none}.image-chat-model-dot{display:none}}
@media(max-width:780px){.image-stage-toolbar{align-items:flex-start;flex-direction:column;padding:18px}.image-stage-result .image-page-grid{grid-template-columns:1fr}.image-chat-shell{grid-template-columns:1fr;height:auto;min-height:0}.image-chat-history{max-height:180px;padding:12px 0}.image-chat-history>#image-chat-new{margin-bottom:10px}.image-chat-history-label{padding-bottom:8px}#image-chat-history-list{display:flex;overflow:auto}.image-chat-history-item{flex:0 0 180px;border-left:0;border-bottom:3px solid transparent;padding:10px 14px;gap:3px}.image-chat-history-item.selected{border-bottom-color:#789266}.image-chat-history-item small{display:none}.image-chat-main{min-height:650px;height:calc(100dvh - 30px)}.image-chat-welcome{padding:16px 0}.image-chat-welcome h2{font-size:23px}.image-chat-answer .image-page-grid{grid-template-columns:1fr}.image-chat-composer textarea{min-height:65px}.image-chat-composer-foot>span:last-child{display:none}.image-chat-option select{max-width:145px}.image-chat-heading{padding:15px}.image-chat-intro{align-items:flex-start}.image-chat-intro h1{font-size:23px}.image-chat-intro .image-top-actions{justify-content:flex-end}.image-history-select{padding:14px;flex-wrap:wrap}.image-stage-result-head{padding:16px}.image-chat-suggestions{margin-top:8px}}
@media(max-height:800px) and (min-width:781px){.image-chat-welcome{min-height:0;padding:0}.image-chat-welcome>span,.image-chat-welcome>.eyebrow{display:none}.image-chat-welcome h2{font-size:20px;line-height:1.45;margin:0 0 7px}.image-chat-welcome p{font-size:11px;margin:3px 0;line-height:1.7}.image-chat-suggestions{margin-top:10px}.image-chat-suggestions button{padding:8px 12px}}
@media(max-width:780px){main.image-chat-view{display:block;height:auto;min-height:0}main.image-chat-view>.image-chat-shell{height:auto;min-height:0}}
.image-chat-pixels{flex-basis:100%;font-size:10px;color:#8a9b7d;line-height:1.6;padding:2px 1px 0}.image-locked-size{font-size:11px;color:#8a9b7d;padding:7px;border:1px solid #e6ebdd;border-radius:7px;background:#f5f7ef}.image-chat-option:has(#image-chat-ratio)>span,.image-chat-option:has(#image-chat-resolution)>span{display:inline}
.image-base-url[readonly]{background:#f3f5ef;color:#6c7e5b;font-size:12px}.image-chat-model-dot{max-width:42%;white-space:normal;line-height:1.6;text-align:right}#image-size-limits:empty{display:none}
.image-node-form{padding:24px;border-bottom:1px solid var(--line,#e4e5d9)}
.image-node-source-row{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:16px}
.image-node-source-row .field-label{display:flex;align-items:center;gap:12px;margin:0}
.image-node-source-row select{width:auto;min-width:230px}
.image-node-text{display:block;width:100%;min-height:180px;resize:vertical;line-height:1.7}
.image-node-options{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
.image-node-submit{display:flex;align-items:center;justify-content:space-between;gap:16px}
@media(max-width:680px){.image-node-form{padding:16px}.image-node-source-row .field-label{display:block}.image-node-source-row select{width:100%;min-width:0}.image-node-submit{align-items:flex-start;flex-direction:column}}
