:root{font-family:PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;color:#243b33;background:#f5f4ef;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--background: #f5f4ef;--surface: #fff;--text: #243b33;--muted: #637068;--rule: #dedfd8;--accent: #245744;--accent-soft: #e8eee7;--preview: #eeeee9}*{box-sizing:border-box;letter-spacing:0}body{margin:0;min-width:320px;font-size:14px}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,input,textarea,select,a{outline-offset:3px}:focus-visible{outline:2px solid var(--accent)}button,a,input,textarea{transition:background-color .15s ease,border-color .15s ease,color .15s ease}a{color:inherit;text-decoration:none}button{border:0;background:none}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3,p,figure{margin:0}fieldset{min-width:0;border:0;margin:0;padding:0}legend{margin:0 0 8px;padding:0;font-size:12px;color:var(--muted)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.subtle-text{color:var(--muted);font-size:11px}.spin{animation:spin 1.8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes print-reveal{0%{opacity:.35}to{opacity:1}}.masthead{height:76px;padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface);border-bottom:1px solid var(--rule)}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{color:var(--accent)}.brand>div{display:flex;flex-direction:column;gap:3px}.brand-name{font-size:24px;font-weight:600;line-height:1.1}.brand-subtitle{font-family:Georgia,Times New Roman,serif;font-size:9px;color:var(--muted);white-space:nowrap}.masthead-divider{width:1px;height:26px;background:var(--rule);margin:0 8px}.masthead-label{color:var(--muted);font-size:12px}.masthead-actions{display:flex;gap:22px;align-items:center}.service-status{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;background:#9a8464}.ready .status-dot{background:#427855}.ready{color:#44614f}.connecting .status-dot{background:#898c81}.secondary-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid var(--rule);border-radius:5px;font-size:12px;background:var(--surface);white-space:nowrap}.secondary-button:hover{background:#f5f7f3;border-color:#b4c1b4}.history-count{min-width:16px;margin-left:3px;color:var(--muted);font-size:10px}.icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:0;min-width:32px;width:32px;height:32px;border-radius:4px;color:var(--muted)}.icon-button:hover{background:var(--accent-soft);color:var(--accent)}.icon-button[data-tooltip]:after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%);padding:6px 8px;color:#fff;background:var(--text);border-radius:3px;font-size:11px;white-space:nowrap;visibility:hidden;pointer-events:none;z-index:60}.icon-button[data-tooltip]:hover:after,.icon-button[data-tooltip]:focus-visible:after{visibility:visible}.reconnect-button{width:23px;min-width:23px;height:24px}.small-icon{width:25px;min-width:25px;height:25px}.text-button{display:inline-flex;align-items:center;gap:6px;padding:0;min-height:28px;font-size:11px;color:var(--accent)}.text-button:hover{color:#122f23;text-decoration:underline;text-underline-offset:3px}.mobile-workspace-nav{display:none}.studio-layout{display:grid;grid-template-columns:408px minmax(0,1fr);height:calc(100dvh - 76px)}.control-column{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--surface);border-right:1px solid var(--rule)}.control-scroll{min-height:0;flex:1;overflow-y:auto;padding:21px 24px 18px;scrollbar-width:thin;scrollbar-color:#ced3c8 transparent}.section-heading{display:flex;justify-content:space-between;align-items:center;min-height:23px;gap:12px;margin-bottom:15px}.section-heading h2{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}.section-heading h2 svg{color:#6f8475}.section-heading-actions{display:flex;align-items:center;gap:8px}.section-count{font-size:12px;font-variant-numeric:tabular-nums}.section-count>span{color:var(--muted);font-size:10px}.reference-group-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;min-height:19px}.reference-group-heading h3{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500}.reference-group-heading>span{color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums}.required-label{color:#7f6543;font-size:9px;font-weight:400}.optional-label{color:var(--muted);font-size:9px;font-weight:400}.upload-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:9px;row-gap:9px}.upload-slot{position:relative;min-width:0}.upload-target{display:flex;position:relative;align-items:center;justify-content:center;height:60px;width:100%;padding:0;border:1px dashed #cbd0c7;border-radius:4px;background:#f8f9f5;overflow:hidden;color:#809083}.upload-target:hover{border-color:#688371;color:var(--accent);background:#eff3ec}.dragging .upload-target{border-color:var(--accent);border-style:solid;background:#e8eee7}.has-reference .upload-target{border-style:solid;border-color:#c5cdc0;background:var(--preview)}.upload-target>img{width:100%;height:100%;object-fit:cover}.whole-reference .upload-target>img{object-fit:contain}.slot-label{display:flex;align-items:center;justify-content:space-between;height:23px;font-size:10px;color:var(--muted)}.has-reference .slot-label{color:var(--text)}.slot-label>svg{color:var(--accent)}.slot-remove{position:absolute;top:3px;right:3px;width:20px;height:20px;padding:0;border-radius:3px;display:flex;align-items:center;justify-content:center;background:#fff;color:#59685c}.slot-remove:hover{background:#ffebe7;color:#a34236}.replace-overlay{display:flex;align-items:center;justify-content:center;gap:5px;position:absolute;top:0;right:0;bottom:0;left:0;background:#243b33ad;color:#fff;font-size:10px;opacity:0;transition:opacity .12s ease}.upload-target:hover .replace-overlay,.upload-target:focus-visible .replace-overlay{opacity:1}.broken-preview{font-size:10px;color:#8b5c43}.reference-format{display:flex;flex-direction:column;align-items:center;justify-content:center;height:83px;color:#768071;font-size:8px;text-align:center;gap:5px;line-height:1.55}.reference-format>span:last-child{font-size:8px;color:#7e796c}.optional-reference-groups{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr);gap:9px;margin-top:12px}.model-grid{grid-template-columns:minmax(0,1fr)}.optional-reference-groups .upload-target{height:90px}.model-reference-help{margin-top:2px;font-size:10px;line-height:1.7;color:var(--muted)}.label-reference-help{margin-top:5px;font-size:11px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}.scene-group .reference-group-heading h3{gap:5px}.source-note{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:9px;color:var(--muted)}.reference-reupload-note{display:flex;align-items:flex-start;gap:6px;margin-top:10px;padding:9px 10px;font-size:11px;line-height:1.7;color:#835c31;background:#faf0df;border-radius:4px}.reference-reupload-note>svg{flex-shrink:0;margin-top:3px}.reference-reupload-note>span{min-width:0;overflow-wrap:anywhere}.prompt-section,.settings-section{border-top:1px solid var(--rule);margin-top:19px;padding-top:18px}.prompt-section .section-heading{margin-bottom:11px}textarea{display:block;width:100%;padding:10px 11px;font-size:12px;line-height:1.85;resize:vertical;min-height:220px;max-height:520px;color:var(--text);border:1px solid #d5dbd0;border-radius:5px;background:#fdfefb}textarea:hover,textarea:focus{border-color:#9cae9a}textarea::placeholder{color:#72816e;opacity:1}.prompt-character-count{font-variant-numeric:tabular-nums}.prompt-advice{margin-top:9px;color:#835c31;font-size:11px;line-height:1.75}.prompt-advice>p{display:flex;align-items:flex-start;gap:6px}.prompt-advice>p+p{margin-top:7px}.prompt-advice svg{margin-top:3px}.prompt-advice span{min-width:0;overflow-wrap:anywhere}.prompt-tools{display:flex;align-items:center;gap:9px;margin-top:10px;min-height:32px}.prompt-tools>span{margin-left:auto;color:var(--muted);font-size:9px;white-space:nowrap}.optimize-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #bdcdb8;border-radius:4px;min-height:32px;padding:0 9px;font-size:11px;color:var(--accent);background:#edf3e9}.optimize-button:hover:not(:disabled){background:#e1ebda;border-color:#8eab83}.prompt-tools .text-button{font-size:10px;white-space:nowrap}.optimization-status{color:var(--muted);font-size:10px;margin-top:7px;line-height:1.7}.optimization-error{display:flex;align-items:flex-start;gap:6px;margin-top:10px;padding:9px 10px;color:#913f32;background:#fcf0ec;border-radius:4px;font-size:11px;line-height:1.7}.optimization-error>svg{margin-top:2px}.optimization-error>span{flex:1;min-width:0;overflow-wrap:anywhere}.optimization-error>button{padding:0;height:20px;width:20px;flex-shrink:0}.optimization-preview{border-top:1px solid #cbd8c5;margin-top:16px;padding-top:13px}.optimization-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.optimization-preview-heading h3{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500}.optimization-preview-heading h3>span{font-size:9px;font-weight:400;color:var(--muted);margin-left:4px}.optimization-preview-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 10px;margin:7px 0 10px;font-size:9px;color:var(--muted)}.optimization-stale{display:flex;align-items:flex-start;gap:6px;margin-bottom:10px;padding:8px 9px;font-size:10px;line-height:1.7;color:#835c31;background:#faf0df;border-radius:4px}.optimization-stale>svg{margin-top:2px}.optimization-actions{display:flex;align-items:center;gap:9px;margin-top:10px}.apply-optimization-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;gap:6px;padding:0 11px;color:#fff;background:var(--accent);font-size:11px;border-radius:4px}.apply-optimization-button:hover:not(:disabled){background:#183e2e}.optimization-actions .secondary-button{font-size:11px}.settings-section .section-heading{margin-bottom:13px}.ratio-options{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.ratio-option{display:flex;height:55px;padding:6px 0 5px;align-items:center;justify-content:space-between;flex-direction:column;gap:4px;border:1px solid #e0e3da;border-radius:4px;color:#6c786c;font-size:9px}.ratio-option:hover{border-color:#a6b79f;background:#f5f8f1}.ratio-option.selected{background:#e8eee7;border-color:#87a08a;color:var(--accent)}.ratio-shape{border:1px solid currentColor;border-radius:1px;opacity:.8}.parameter-row{display:grid;grid-template-columns:minmax(0,1fr) 111px;gap:16px;margin-top:14px}.segmented-control{display:flex;border:1px solid #dce1d6;border-radius:4px;padding:2px;background:#f5f7f1}.segmented-control>button{display:inline-flex;flex:1;min-width:0;align-items:center;justify-content:center;gap:5px;padding:0 6px;height:29px;border-radius:2px;font-size:11px;color:#6a7766;white-space:nowrap}.segmented-control>button:hover{background:#e8eee1}.segmented-control>button.selected{background:#fff;color:var(--accent);font-weight:500}.resolution-label{font-size:9px;font-weight:400;color:#687863}.resolution-control>button{gap:3px;padding:0 4px}.count-stepper{display:flex;align-items:center;justify-content:space-between;border:1px solid #dce1d6;border-radius:4px;height:35px;padding:0 2px}.count-stepper button{display:flex;align-items:center;justify-content:center;height:27px;width:26px;padding:0;border-radius:2px}.count-stepper button:hover:not(:disabled){background:var(--accent-soft)}.count-stepper input{width:38px;border:0;padding:0;background:transparent;text-align:center;color:var(--text);font-size:12px;font-variant-numeric:tabular-nums;-moz-appearance:textfield}.count-stepper input::-webkit-inner-spin-button,.count-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.fidelity-field{margin-top:14px}.fidelity-field .segmented-control>button{height:29px}.texture-field{margin-top:14px}.texture-field>label{display:block;margin-bottom:8px;font-size:12px;color:var(--muted)}.texture-select-wrap{position:relative}.texture-select-wrap>select{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:35px;padding:0 32px 0 10px;border:1px solid #dce1d6;border-radius:4px;background:#fbfcf8;color:var(--text);font-size:11px;cursor:pointer}.texture-select-wrap>select:hover,.texture-select-wrap>select:focus{border-color:#9aae90}.texture-select-wrap>svg{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}.texture-help{margin-top:7px;font-size:10px;line-height:1.75;color:var(--muted)}.texture-help>span{display:block;color:#806242}.dimension-field{margin-top:16px}.dimension-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.dimension-control{min-width:0}.dimension-control>label{display:block;margin-bottom:5px;font-size:11px;color:var(--muted)}.dimension-control>input{width:100%;min-width:0;height:35px;padding:0 9px;border:1px solid #dce1d6;border-radius:4px;background:#fbfcf8;color:var(--text);font-size:13px;font-variant-numeric:tabular-nums}.dimension-control>input:hover,.dimension-control>input:focus{border-color:#9aae90}.dimension-control>input[aria-invalid=true]{border-color:#a95b4f;background:#fff8f5}.dimension-error{display:block;margin-top:4px;color:#913f32;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.dimension-help{margin-top:8px;font-size:11px;line-height:1.75;color:var(--muted)}.generate-footer{padding:15px 24px 12px;border-top:1px solid var(--rule);background:var(--surface)}.generate-button{width:100%;height:44px;display:flex;align-items:center;gap:10px;padding:0 15px;color:#fff;background:var(--accent);border-radius:5px;font-size:13px;font-weight:500}.generate-button:hover:not(:disabled){background:#183e2e}.generate-button:disabled{opacity:1;color:#e5eee3;background:#768a76}.generate-count{margin-left:auto;padding-left:13px;border-left:1px solid #ffffff3d;font-size:11px;font-weight:400}.generate-footnote{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;font-size:9px;color:var(--muted)}.generate-retry-note{margin:7px 0 0;font-size:11px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}.form-error{display:flex;align-items:flex-start;gap:7px;padding:9px;margin-bottom:10px;background:#fcf0ec;border-radius:4px;color:#913f32;font-size:11px;line-height:1.65}.form-error>svg{margin-top:2px}.form-error>span{flex:1;min-width:0;overflow-wrap:anywhere}.form-error>button{flex-shrink:0;padding:0;height:20px;width:20px}.configuration-note{display:flex;align-items:flex-start;gap:6px;font-size:10px;line-height:1.7;color:#8c603d;margin-bottom:9px}.configuration-note>svg{margin-top:3px}.result-column{min-width:0;min-height:0;padding:25px 30px 18px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ced3c8 transparent}.workspace-header{min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.workspace-header h1{font-size:23px;font-weight:500;line-height:1.3}.workspace-header p{font-size:10px;color:var(--muted);margin-top:6px}.workspace-actions{display:flex;align-items:center;gap:12px}.batch-download-button{min-width:103px}.batch-download-status{margin-bottom:14px;padding:10px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);font-size:11px;line-height:1.7}.batch-download-heading{display:flex;align-items:center;gap:9px}.batch-download-heading>span{display:flex;align-items:flex-start;gap:6px;flex:1;min-width:0}.batch-download-heading>span>svg{margin-top:3px;color:var(--accent)}.batch-download-heading>span>span{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.batch-download-heading>button{flex-shrink:0}.batch-download-status>p{margin-top:4px;color:var(--muted);overflow-wrap:anywhere}.batch-download-recovery{display:flex;flex-wrap:wrap;gap:5px 16px;margin-top:5px}.batch-download-details{margin-top:5px}.batch-download-details>summary{display:flex;align-items:center;gap:5px;width:fit-content;min-height:28px;color:var(--accent);cursor:pointer}.batch-download-details[open]>summary>svg{transform:rotate(180deg)}.batch-download-details>ol{list-style:none;margin:3px 0 0;padding:0}.batch-download-details li{display:flex;align-items:baseline;gap:12px;padding:3px 0}.batch-download-details li>a{flex-shrink:0}.batch-download-details li>span{min-width:0;overflow-wrap:anywhere;color:var(--muted)}.batch-download-details li>.batch-download-failure{color:#913f32}.view-switch{display:flex;border:1px solid var(--rule);border-radius:4px;padding:2px;background:#fff}.view-switch .icon-button{min-width:29px;width:29px;height:28px}.view-switch .selected{color:var(--accent);background:var(--accent-soft)}.generation-progress{background:#eaf0e6;border-radius:4px;margin-bottom:13px;overflow:hidden}.progress-label{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:10px 13px;font-size:11px;color:#486243}.progress-message{min-width:0;overflow-wrap:anywhere}.progress-label>svg,.progress-label>strong,.progress-label .text-button,.progress-label .cancel-button{flex-shrink:0}.progress-label>strong{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.progress-label>strong>span{font-size:10px;font-weight:400;color:#667a5d}.progress-label .text-button{margin-left:auto;min-height:22px}.cancel-button{margin-left:auto;min-height:24px;display:flex;align-items:center;gap:5px;padding:0 7px;border:1px solid #c5d3bd;border-radius:3px;font-size:10px;color:#596e4f}.progress-label .text-button+.cancel-button{margin-left:0}.cancel-button:hover{background:#dfe9d6}.progress-track{height:2px;background:#d8e4d1}.progress-track>div{height:100%;background:#426d40}.workspace-error{display:flex;align-items:flex-start;gap:7px;padding:10px 12px;margin-bottom:12px;background:#faf0dc;color:#845d2e;font-size:11px;line-height:1.7;border-radius:4px}.workspace-error>svg{margin-top:2px}.proof-area{position:relative;height:clamp(340px,calc(100dvh - 276px),760px);min-height:340px;border:1px solid #dcded4;border-radius:4px;background:var(--preview);overflow:hidden}.proof-area.has-results{background:#fafaf7}.empty-state{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.empty-frame{position:relative;width:min(330px,76%);height:236px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#8a9988;gap:20px}.empty-frame h2{font-size:17px;font-weight:400;color:#6f7f6b}.empty-frame p{font-size:10px;color:#72806e;margin-top:-10px}.frame-corner{position:absolute;width:20px;height:20px;border-color:#c0c9bb;border-style:solid}.corner-tl{top:0;left:0;border-width:1px 0 0 1px}.corner-tr{top:0;right:0;border-width:1px 1px 0 0}.corner-bl{bottom:0;left:0;border-width:0 0 1px 1px}.corner-br{bottom:0;right:0;border-width:0 1px 1px 0}.empty-proof-caption{display:flex;align-items:center;gap:13px;margin-top:26px;font-size:10px;color:#788271}.empty-proof-caption>span{height:9px;width:1px;background:#cdd1c5}.processing{color:#57744d}.sample-preview{position:relative;height:100%;width:100%;padding:43px 23px 51px;background:#fafaf7}.sample-preview>img{display:block;width:100%;height:100%;object-fit:contain}.sample-label{position:absolute;top:15px;left:19px;display:flex;align-items:center;gap:6px;font-size:10px;color:#657b59}.sample-label>span{color:#87917c;font-size:9px;margin-left:4px}.sample-preview figcaption{position:absolute;bottom:0;left:0;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:41px;padding:5px 17px;border-top:1px solid #e3e5dc;background:#ffffffef;color:#74806b;font-size:10px}.main-result{position:relative;width:100%;height:100%;padding:20px 20px 36px}.result-image{display:block;width:100%;height:100%;object-fit:contain;animation:print-reveal .6s ease-out}.image-actions{position:absolute;display:flex;gap:4px;top:13px;right:13px;background:#fffffff5;border:1px solid #dce1d6;padding:3px;border-radius:4px}.main-result figcaption{position:absolute;bottom:0;left:0;width:100%;height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;background:#fffffff0;font-size:10px;color:#6a7a63}.main-result figcaption>span:first-child{color:#425b3d}.grid-proof{height:auto}.result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:19px;padding:22px}.result-grid>figure{min-width:0}.grid-image-button{position:relative;width:100%;aspect-ratio:4 / 3;display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden;background:#e9ece3;border:1px solid #dce1d6;border-radius:3px}.grid-image-button img{width:100%;height:100%;object-fit:contain}.grid-expand{position:absolute;right:10px;top:10px;display:flex;padding:6px;background:#fffffff0;border-radius:3px;color:#46613e;opacity:0;transition:opacity .15s ease}.grid-image-button:hover .grid-expand,.grid-image-button:focus-visible .grid-expand{opacity:1}.result-grid figcaption{display:flex;align-items:center;justify-content:space-between;margin-top:7px;font-size:10px;color:#5d7155}.proof-footer{display:flex;align-items:center;gap:15px;justify-content:space-between;min-height:43px;font-size:10px;color:var(--muted);border-bottom:1px solid var(--rule)}.proof-footer>div{display:flex;align-items:center;gap:12px}.proof-footer>span{margin-left:auto;font-variant-numeric:tabular-nums}.proof-footer>span+.reuse-button{margin-left:5px}.job-status{display:inline-flex;align-items:center;gap:4px;font-size:10px;white-space:nowrap;color:#687d5f}.status-completed{color:#426d40}.status-failed{color:#a25243}.status-partial{color:#93652f}.status-cancelled{color:#7e8276}.proof-count{color:#7c8874}.proof-idle-dot{width:5px;height:5px;border-radius:50%;background:#a7b29e;margin-right:-6px}.thumbnail-strip{display:flex;gap:10px;padding:16px 0 13px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c8d0bf transparent}.result-thumbnail,.pending-thumbnail{position:relative;flex-shrink:0;width:100px;height:75px;display:flex;align-items:center;justify-content:center;padding:3px;background:#fff;border:1px solid #d3dacb;border-radius:3px;overflow:hidden}.result-thumbnail img{height:100%;width:100%;object-fit:contain;background:#f0f2eb}.result-thumbnail>span,.pending-thumbnail>span{position:absolute;bottom:5px;left:6px;font-size:8px;background:#ffffffec;padding:2px 4px;color:#5f7353;border-radius:2px}.result-thumbnail:hover{border-color:#809774}.result-thumbnail.selected{border:2px solid #517343;padding:2px}.pending-thumbnail{background:#eef1e9;color:#97a18c;border-style:dashed}.pending-thumbnail>span{background:transparent;color:#849176}.job-error{display:flex;gap:9px;padding:13px 14px;margin-top:14px;background:#faf0df;color:#83572a;border-radius:4px;font-size:11px;line-height:1.75}.job-error>svg{margin-top:1px}.job-error>div{min-width:0}.job-error strong{display:block;margin-bottom:3px;font-size:11px;font-weight:500}.job-error p{overflow-wrap:anywhere}.job-error summary{display:flex;align-items:center;gap:6px;margin-top:8px;cursor:pointer}.job-details{margin-top:16px;border-bottom:1px solid var(--rule);padding-bottom:12px}.job-details summary{display:flex;align-items:center;justify-content:space-between;min-height:24px;color:#5b7152;cursor:pointer;font-size:11px;list-style:none}summary::-webkit-details-marker{display:none}.job-details[open] summary svg{transform:rotate(180deg)}.job-details>p{font-size:11px;line-height:1.9;color:#75806c;margin-top:9px;max-width:75ch;overflow-wrap:anywhere}.job-parameter-summary{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:10px;font-size:10px;color:var(--muted)}.job-parameter-summary>strong{font-weight:400;color:var(--text)}.job-reference-summary{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:10px;font-size:9px;color:var(--muted)}.workspace-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:17px;font-size:9px;color:#788370}.workspace-bottom>span:first-child{display:flex;gap:6px;align-items:center;overflow-wrap:anywhere}.workspace-bottom>span:last-child{flex-shrink:0}.toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%);z-index:55;display:flex;align-items:center;gap:8px;padding:12px 15px;max-width:calc(100% - 32px);font-size:12px;background:#274f34;color:#f4f7ef;border-radius:5px}.toast>button{width:20px;height:20px;padding:0;color:#d5e3ca;margin-left:8px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#263d3375;display:flex;align-items:center;justify-content:center;padding:24px}.modal-surface{width:min(1050px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--surface);border-radius:7px;overflow:hidden}.modal-header{height:59px;flex-shrink:0;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--rule)}.modal-header h2{font-size:16px;font-weight:500}.inspection-image{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;background:#f0f1eb;padding:16px}.inspection-image>img{width:100%;max-height:calc(100dvh - 190px);min-height:0;object-fit:contain}.inspection-prev,.inspection-next{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;background:#ffffffed;border:1px solid #dce1d6}.inspection-prev{left:20px}.inspection-next{right:20px}.inspection-footer{flex-shrink:0;min-height:59px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px;font-size:11px;color:var(--muted)}.inspection-counter{margin-left:18px;color:#8a917f}.history-modal{justify-content:flex-end;padding:0;background:#263d3354}.history-modal .modal-surface{width:520px;height:100dvh;max-height:100dvh;border-radius:0}.history-modal .modal-header{padding:0 25px;height:76px}.history-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 25px;background:#f8f9f5;border-bottom:1px solid var(--rule);font-size:10px;color:var(--muted)}.history-list{flex:1;min-height:0;overflow-y:auto;padding:0 25px 25px}.history-empty{padding:75px 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:17px;color:#839277;font-size:12px}.history-empty h3{font-size:15px;font-weight:400}.history-error{display:flex;align-items:flex-start;gap:7px;padding:12px;margin:15px 0;background:#fff0e9;color:#995945;border-radius:4px;font-size:11px}.history-item{display:flex;align-items:flex-start;gap:15px;padding:23px 0;border-bottom:1px solid var(--rule)}.history-preview{flex-shrink:0;width:99px;height:101px;display:flex;align-items:center;justify-content:center;padding:3px;background:#edf0e6;border:1px solid #d6dece;border-radius:4px;color:#9ea892;overflow:hidden}.history-preview:hover{border-color:#7c9670}.history-preview>img{width:100%;height:100%;object-fit:contain}.history-item-content{min-width:0;flex:1}.history-item-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-item-top>time{font-size:10px;color:#758369}.history-prompt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.8;margin:8px 0;color:#435a3b;overflow-wrap:anywhere}.history-item-metadata{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:var(--muted)}.history-item-actions{display:flex;gap:16px;margin-top:9px}.history-item-actions .text-button{font-size:10px;min-height:23px}@media(min-width:1600px){.result-column{padding-left:40px;padding-right:40px}.proof-area{height:clamp(420px,calc(100dvh - 276px),900px)}}@media(max-width:1199px)and (min-width:901px){.studio-layout{grid-template-columns:370px minmax(0,1fr)}.control-scroll,.generate-footer{padding-left:20px;padding-right:20px}.result-column{padding-left:22px;padding-right:22px}.upload-target{height:55px}.reference-format{height:78px}.workspace-actions{gap:7px}.workspace-header{gap:10px}.batch-download-button{padding:0 9px}}@media(max-width:900px){.masthead{height:67px;padding:0 20px;position:sticky;top:0;z-index:30;gap:12px}.brand-name{font-size:22px}.brand-mark{width:28px}.brand-subtitle{font-size:8px}.masthead-label,.masthead-divider{display:none}.masthead-actions{gap:12px}.history-count{display:none}.service-status{font-size:10px}.secondary-button{min-height:36px}.history-button{padding:0 9px;gap:6px;font-size:11px}.mobile-workspace-nav{display:flex;position:sticky;top:67px;z-index:25;border-bottom:1px solid var(--rule);background:#f6f7f1}.mobile-workspace-nav>button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;height:39px;font-size:11px;color:#5a6e50}.mobile-workspace-nav>button:hover{background:#e8eee1}.mobile-workspace-nav>button>span{font-size:9px;color:#7b8b6e}.studio-layout{display:block;height:auto}.control-column{border-right:0}.control-scroll{overflow:visible;padding:23px 24px 24px}.reference-section,.result-column{scroll-margin-top:123px}.upload-target{height:88px}.reference-format{height:111px}.slot-label{height:25px;font-size:11px}.reference-group-heading h3{font-size:13px}.optional-label,.required-label{font-size:10px}.optional-reference-groups{margin-top:16px}.optional-reference-groups .upload-target{height:120px}.model-reference-help{font-size:11px}.section-heading h2{font-size:15px}.prompt-section,.settings-section{margin-top:23px;padding-top:23px}textarea{font-size:14px;min-height:220px;padding:11px 13px}.optimize-button{min-height:37px;font-size:12px;padding:0 11px}.prompt-tools>span{font-size:10px}.optimization-preview-heading h3{font-size:13px}.optimization-preview-meta{font-size:10px}.apply-optimization-button{min-height:37px;font-size:12px}.ratio-option{height:63px;font-size:10px;padding:8px 0 7px}legend{font-size:12px}.parameter-row{grid-template-columns:minmax(0,1fr) 126px;margin-top:19px}.segmented-control>button{height:36px;font-size:12px}.resolution-label{font-size:10px}.count-stepper{height:42px}.count-stepper button{width:35px;height:36px}.count-stepper input{font-size:14px}.fidelity-field{margin-top:18px}.fidelity-field .segmented-control>button{height:36px}.texture-field{margin-top:18px}.texture-select-wrap>select{height:42px;font-size:12px}.texture-help{font-size:11px}.dimension-field{margin-top:18px}.dimension-control>input{height:42px;font-size:16px}.generate-footer{position:fixed;left:0;right:0;bottom:0;z-index:35;padding:12px 20px calc(10px + env(safe-area-inset-bottom))}.generate-button{height:45px}.generate-footnote{font-size:10px;margin-top:7px}.configuration-note{margin-bottom:6px}.result-column{padding:25px 24px calc(148px + env(safe-area-inset-bottom));overflow:visible;border-top:1px solid var(--rule)}.workspace-header{margin-bottom:18px}.workspace-header h1{font-size:22px}.proof-area{height:470px;min-height:340px}.grid-proof{height:auto}.proof-footer{min-height:47px}.thumbnail-strip{padding-top:14px}.toast{bottom:calc(137px + env(safe-area-inset-bottom));font-size:11px}.slot-remove{height:25px;width:25px;top:4px;right:4px}.icon-button{min-width:36px;width:36px;height:36px}.small-icon{min-width:30px;width:30px;height:30px}.icon-button[data-tooltip]:after{display:none}.image-actions .icon-button{width:34px;height:34px;min-width:34px}.text-button{min-height:34px}.modal-backdrop{padding:16px;z-index:60}.modal-surface{max-height:calc(100dvh - 32px)}.history-modal{padding:0}.history-modal .modal-surface{max-height:100dvh}.inspection-image>img{max-height:calc(100dvh - 170px)}.inspection-footer{padding:10px 18px}}@media(max-width:480px){.masthead{padding:0 16px}.masthead-actions{gap:7px}.brand{gap:8px}.service-status{gap:5px;font-size:9px}.history-button{width:35px;padding:0;border-color:transparent}.history-button>span{display:none}.control-scroll{padding:20px 18px 25px}.upload-grid{gap:8px}.upload-target{height:68px}.reference-format{height:93px}.optional-reference-groups{gap:8px}.optional-reference-groups .upload-target{height:90px}.model-reference-help,.slot-label{font-size:10px}.scene-group .reference-group-heading h3{gap:3px}.scene-group .optional-label{font-size:8px}.ratio-options{gap:4px}.ratio-option{height:60px;font-size:9px}.result-column{padding-left:18px;padding-right:18px}.workspace-header{align-items:flex-start;gap:12px}.workspace-header h1{font-size:21px}.workspace-actions{gap:7px;align-self:center}.view-switch .icon-button{width:25px;height:27px;min-width:25px}.batch-download-button{padding:0 8px;min-height:33px;gap:5px;font-size:10px;min-width:90px}.proof-area{height:360px;min-height:300px}.grid-proof{height:auto}.empty-frame{width:77%;height:220px}.empty-frame h2{font-size:16px}.main-result{padding:12px 12px 33px}.sample-preview{padding:42px 11px 57px}.sample-label{left:13px;top:14px;font-size:9px}.sample-preview figcaption{font-size:9px;padding:5px 11px;min-height:49px;gap:8px}.sample-preview figcaption .text-button{font-size:9px;gap:4px;white-space:nowrap}.image-actions{top:8px;right:8px;padding:2px}.image-actions .icon-button{width:29px;min-width:29px;height:29px}.proof-footer{gap:8px;font-size:9px}.proof-footer>div{gap:8px}.reuse-button{font-size:10px;gap:5px}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 11px;padding:13px}.result-grid figcaption{font-size:9px}.result-thumbnail,.pending-thumbnail{width:86px;height:68px}.workspace-bottom{font-size:8px;gap:8px;align-items:flex-start}.workspace-bottom>span:first-child{max-width:60%}.workspace-bottom>span:last-child{flex-shrink:1;text-align:right}.progress-label{gap:6px;padding:10px;font-size:10px;flex-wrap:wrap}.progress-label>strong{font-size:11px}.progress-label .text-button{font-size:9px}.cancel-button{font-size:9px;min-height:27px}.history-modal .modal-surface{width:100%}.history-modal .modal-header{height:67px;padding:0 18px}.history-toolbar,.history-list{padding-left:18px;padding-right:18px}.history-item{gap:12px;padding:21px 0}.history-preview{width:79px;height:95px}.history-prompt{font-size:11px}.history-item-top{gap:8px}.history-item-top time{font-size:9px}.history-item-metadata{font-size:8px;flex-wrap:wrap}.history-item-actions{gap:10px}.history-item-actions .text-button{font-size:9px}.modal-header{padding:0 15px;height:52px}.modal-header h2{font-size:14px}.inspection-image{padding:8px}.inspection-prev{left:11px}.inspection-next{right:11px}.inspection-prev,.inspection-next{width:32px;min-width:32px;height:32px}.inspection-counter{margin-left:10px}.inspection-footer{font-size:9px;padding:10px 13px}.inspection-footer .secondary-button{font-size:10px;padding:0 9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.prompt-library-shortcut{font-size:10px;white-space:nowrap}.history-item-actions{flex-wrap:wrap;gap:4px 14px}.save-result-prompt{gap:6px}.prompt-library-modal .modal-surface{width:min(1180px,100%);height:min(860px,calc(100dvh - 48px))}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;min-height:63px;flex-shrink:0;border-bottom:1px solid var(--rule)}.library-tabs{display:flex;gap:24px;align-self:stretch}.library-tabs>button{display:flex;align-items:center;gap:7px;position:relative;font-size:13px;padding:0;color:var(--muted);min-height:45px;white-space:nowrap}.library-tabs>button>span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.library-tabs>button.selected{color:var(--accent);font-weight:600}.library-tabs>button.selected:after{position:absolute;content:"";height:2px;bottom:0;left:0;right:0;background:var(--accent)}.library-tabs>button:hover{color:var(--accent)}.library-toolbar-actions{display:flex;align-items:center;gap:8px}.library-filters{display:flex;gap:12px;padding:19px 24px;flex-shrink:0}.library-search{display:flex;align-items:center;gap:8px;flex:1;min-width:0;border:1px solid #c9d1c7;border-radius:4px;padding:0 12px;color:var(--muted);background:#fdfefb}.library-search:focus-within{border-color:var(--accent)}.library-search>input{width:100%;min-width:0;border:0;background:transparent;height:39px;font-size:12px;color:var(--text)}.library-search>input:focus{outline:none}.library-search>input::placeholder{color:var(--muted);opacity:1}.library-category>select,.library-form-field>select{height:41px;border:1px solid #c9d1c7;border-radius:4px;background:#fdfefb;padding:0 10px;color:var(--text);font-size:12px}.library-results{flex:1;min-height:0;overflow-y:auto;padding:0 24px 24px;scrollbar-width:thin;scrollbar-color:#c8d0bf transparent}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 19px}.library-card{display:flex;flex-direction:column;min-width:0;padding:0;text-align:left;border:1px solid var(--rule);border-radius:5px;overflow:hidden;background:#fff}.library-card:hover{border-color:#8da48c}.library-card-media{display:flex;align-items:center;justify-content:center;position:relative;width:100%;aspect-ratio:4 / 3;background:#eeeee9;overflow:hidden;padding:8px}.library-card-media img{display:block;width:100%;height:100%;object-fit:contain}.library-card-media.is-draft{background:#f5f7f3}.library-unsampled{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--muted);font-size:11px}.library-image-count{position:absolute;display:flex;align-items:center;gap:5px;bottom:10px;right:10px;padding:4px 6px;background:#ffffffed;border-radius:3px;font-size:11px}.library-card-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:13px 13px 0;font-size:13px;font-weight:600;overflow-wrap:anywhere;line-height:1.6}.library-card-title>svg{margin-top:4px;color:var(--muted)}.library-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 13px 0;color:var(--muted);font-size:10px}.library-card-prompt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:9px 13px 13px;line-height:1.8;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.library-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:65px 16px;min-height:280px;text-align:center;font-size:12px;color:var(--muted)}.library-empty h3{color:var(--text);font-size:15px;font-weight:500}.library-image-fallback{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;font-size:11px;color:#795742;height:100%;width:100%}.library-feedback,.library-load-error{display:flex;align-items:flex-start;gap:8px;padding:12px 24px;font-size:12px;line-height:1.7;color:var(--accent);background:#edf4eb;flex-shrink:0}.library-feedback>svg,.library-load-error>svg{margin-top:2px}.library-feedback>span,.library-load-error>span{min-width:0;overflow-wrap:anywhere}.library-feedback.is-error,.library-load-error{color:#8f4034;background:#fcf0ec}.library-load-error{margin:0 24px 14px;padding:10px 12px;border-radius:4px}.library-load-error>.text-button{margin-left:auto;flex-shrink:0}.library-subnav{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 24px;border-bottom:1px solid var(--rule);flex-shrink:0;min-height:48px}.library-subnav>span{font-size:11px;color:var(--muted)}.library-detail-tools{display:flex;align-items:center;gap:7px}.library-delete:hover{background:#fcf0ec;color:#8f4034}.library-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:27px;padding:24px;flex:1;min-height:0}.library-detail.without-image{display:block;overflow-y:auto}.library-detail-media{min-width:0;min-height:0;overflow-y:auto}.library-full-image{height:min(460px,50dvh);min-height:140px;width:100%;padding:10px;background:#eeeee9;display:flex;align-items:center;justify-content:center;border-radius:4px}.library-full-image>img{width:100%;height:100%;object-fit:contain}.library-image-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);padding:12px 0}.library-image-strip{display:flex;gap:8px;overflow-x:auto;padding:3px}.library-image-choice{width:74px;height:57px;flex-shrink:0;border:1px solid #c9d1c7;border-radius:3px;padding:3px;background:#eeeee9}.library-image-choice.selected{border:2px solid var(--accent);padding:2px}.library-image-choice>img{width:100%;height:100%;object-fit:contain}.library-image-choice .library-image-fallback>span{display:none}.library-detail-content{display:flex;flex-direction:column;min-width:0;min-height:0;overflow-y:auto;scrollbar-width:thin}.library-detail.without-image .library-detail-content{max-width:80ch;margin:0 auto;overflow:visible}.library-detail-heading h3{font-size:18px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}.library-detail-heading>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:11px;margin-top:9px}.library-prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:23px;padding-bottom:7px;border-bottom:1px solid var(--rule);font-size:11px;color:var(--muted)}.library-full-prompt{font:inherit;font-size:12px;line-height:1.95;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 0;flex-shrink:0;-webkit-user-select:text;user-select:text}.library-settings-summary{display:flex;gap:9px;margin-top:23px;padding-top:14px;border-top:1px solid var(--rule);color:var(--muted);font-size:11px;line-height:1.8;flex-shrink:0}.library-settings-summary>svg{margin-top:3px}.library-apply-footer{display:flex;align-items:center;justify-content:flex-end;gap:24px;border-top:1px solid var(--rule);min-height:71px;padding:14px 24px;flex-shrink:0}.library-checkbox{display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer}.library-checkbox>input{accent-color:var(--accent);width:16px;height:16px;margin:0}.library-primary-button,.library-danger-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 16px;min-height:38px;border-radius:4px;background:var(--accent);color:#fff;font-size:12px;white-space:nowrap}.library-primary-button:hover:not(:disabled){background:#194332}.library-danger-button{background:#913d32}.library-danger-button:hover:not(:disabled){background:#773026}.library-delete-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:10px;background:#fcf0ec;color:#8f4034;padding:12px 24px;flex-shrink:0;font-size:12px}.library-delete-confirm>span{min-width:0;overflow-wrap:anywhere;margin-right:auto}.library-editor{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;padding:0 24px 24px}.library-editor>.library-subnav{padding:10px 0}.library-editor-fields{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:17px;margin-top:24px}.library-form-field{display:flex;flex-direction:column;gap:9px;font-size:12px;color:var(--muted);min-width:0}.library-form-field>input{min-width:0;width:100%;height:41px;padding:0 11px;border:1px solid #c9d1c7;border-radius:4px;background:#fdfefb;color:var(--text);font-size:13px}.library-form-field>input::placeholder{color:var(--muted);opacity:1}.library-source-preview{display:flex;gap:15px;align-items:center;margin-top:22px;color:var(--muted);font-size:11px;line-height:1.8}.library-source-preview>img,.library-source-preview>.library-image-fallback{width:130px;height:90px;flex-shrink:0;object-fit:contain;background:#eeeee9;padding:5px;border-radius:3px}.library-editor-prompt{display:flex;flex-direction:column;gap:10px;margin-top:24px}.library-editor-prompt>span{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.library-editor-prompt textarea{min-height:300px;flex-shrink:0;font-size:13px}.library-editor-prompt textarea[readonly]{background:#f8f9f5}.library-prompt-validation{color:#8f4034;font-size:12px;line-height:1.8;margin-top:10px}.library-edit-warning{display:flex;align-items:flex-start;gap:7px;color:#835c31;font-size:12px;line-height:1.8;margin-top:15px}.library-edit-warning>svg{margin-top:3px}.library-draft-label{margin-top:12px;color:var(--muted);font-size:11px}.library-editor-actions{display:flex;gap:10px;margin-top:22px}.library-editor>.library-load-error{margin:14px 0 0}@media(max-width:1100px)and (min-width:901px){.workspace-header{flex-wrap:wrap}.workspace-actions{margin-left:auto}.masthead-actions{gap:12px}}@media(max-width:700px){.prompt-library-modal{padding:10px}.prompt-library-modal .modal-surface{height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.library-toolbar{flex-wrap:wrap;gap:0;padding:0 17px 12px}.library-tabs{height:53px;width:100%;gap:25px}.library-toolbar-actions{width:100%;justify-content:space-between;padding-top:10px}.library-filters{padding:16px 17px;gap:8px}.library-category>select{max-width:108px;padding:0 6px}.library-results{padding:0 17px 17px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 11px}.library-card-media{padding:5px}.library-card-title{padding:10px 10px 0;font-size:12px}.library-card-meta{padding:7px 10px 0}.library-card-prompt{margin:8px 10px 10px}.library-subnav{padding:10px 17px}.library-detail{display:block;overflow-y:auto;padding:17px}.library-detail-media{overflow:visible}.library-full-image{height:min(340px,40dvh)}.library-detail-content{overflow:visible;margin-top:22px}.library-detail.without-image .library-detail-content{margin-top:0}.library-full-prompt{font-size:13px}.library-apply-footer{gap:12px;justify-content:space-between;padding:12px 17px;flex-wrap:wrap;min-height:67px}.library-apply-footer>.library-primary-button{margin-left:auto}.library-checkbox{font-size:11px}.library-feedback{padding:10px 17px}.library-load-error{margin-left:17px;margin-right:17px}.library-delete-confirm{padding:12px 17px}.library-editor{padding:0 17px 17px}.library-editor-fields{grid-template-columns:minmax(0,1fr) 110px;gap:10px;margin-top:20px}.library-source-preview>img,.library-source-preview>.library-image-fallback{width:100px;height:80px}.library-editor-prompt textarea{min-height:240px;font-size:14px}}@media(max-width:600px){.masthead .service-status{display:none}.library-button{min-height:36px;gap:6px;padding:0 9px;font-size:11px}.workspace-header{flex-wrap:wrap}.workspace-actions{width:100%;justify-content:flex-end}.save-result-prompt{font-size:10px;min-height:33px;padding:0 8px}}@media(max-height:600px)and (min-width:701px){.prompt-library-modal{padding:12px}.prompt-library-modal .modal-surface{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.library-detail{padding:17px 24px}.library-full-image{height:40dvh}.library-toolbar{min-height:51px}.library-filters{padding-top:12px;padding-bottom:12px}.library-apply-footer{min-height:59px;padding-top:10px;padding-bottom:10px}}
