.image-tool-layout{display:grid;grid-template-columns:minmax(318px,370px) minmax(0,1fr);gap:20px;align-items:start}
.image-tool-panel,.image-result-zone{border:1px solid #e1e5da;border-radius:18px;background:#fff;box-shadow:0 8px 30px #24330c0b;overflow:hidden}
.image-tool-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 20px;background:#f4f8ec;border-bottom:1px solid #e1e9d5}.image-tool-head .eyebrow{font-size:8px;letter-spacing:1.4px}.image-tool-head h2{font-size:21px;letter-spacing:-.8px;margin:6px 0 0}.image-tool-library{display:grid;justify-items:center;gap:3px;flex:none;border:1px solid #d8e3cb;border-radius:10px;background:#fff;color:#44583c;padding:9px 12px;font-size:10px;font-weight:750}.image-tool-library:hover{background:#eaffbd}.image-tool-library .action-icon{width:17px;height:17px}
.image-tool-body{padding:4px 20px 20px}.image-tool-section{padding:17px 0;border-bottom:1px solid #edf0e8}.image-section-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px;color:#596b4b;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase}.image-section-label label{margin:0;font:inherit}.image-section-label span:last-child:not(:first-child){color:#85917a;font-weight:650;letter-spacing:0}
.image-model-row{display:flex;align-items:center;gap:10px;min-height:56px;border:1px solid #dfe6d5;border-radius:11px;background:#f9fbf5;padding:9px 11px}.image-model-spark{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#d1fc64;color:#344f18;font-size:18px}.image-model-row>span:nth-child(2){min-width:0;flex:1}.image-model-row strong,.image-model-row small{display:block}.image-model-row strong{font-size:12px}.image-model-row small{font-size:9px;color:#76816f;margin-top:3px}.image-model-row .status-chip{font-size:9px;padding:5px 7px}
.image-reference-row{display:flex;flex-wrap:wrap;gap:9px}.image-reference-add,.image-reference-preview{width:92px;height:92px;flex:none;border:1px dashed #bdcbb0;border-radius:11px;background:#f8faf4}.image-reference-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;color:#60784e}.image-reference-add:hover,.image-reference-add:focus-within{border-color:#7fa739;background:#eff9dc}.image-reference-add>span{font-size:23px;line-height:1}.image-reference-add strong{font-size:10px}.image-reference-add small{font-size:9px;color:#84917a}.image-reference-preview{position:relative;overflow:hidden;border-style:solid}.image-reference-preview img{width:100%;height:100%;object-fit:cover}.image-reference-preview button{position:absolute;right:3px;top:3px;width:22px;height:22px;border:0;border-radius:50%;background:#1e261ddc;color:#fff;font-size:17px;line-height:1;cursor:pointer}.image-section-help{margin:9px 0 0;color:#84907b;font-size:10px;line-height:1.5}
.image-prompt-section textarea{display:block;width:100%;min-height:210px;resize:vertical;border:1px solid #dce4d3;border-radius:11px;background:#fcfdf9;padding:13px;font-size:12px;line-height:1.55}.image-prompt-section textarea:focus{border-color:#91b344;box-shadow:0 0 0 3px #cdf47855}.image-tool-section .choice-row{gap:7px}.image-tool-section .choice-row span{font-size:10px;padding:8px 10px}
.image-tool-submit{padding-top:18px}.image-credit-line{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#68755e;font-size:10px;margin-bottom:11px}.image-credit-line .text-link{font-size:10px}.image-tool-submit>.btn{width:100%;min-height:46px;justify-content:space-between;padding:11px 15px;font-size:12px}.image-tool-notice{margin:10px 0 0;padding:9px 10px;border:1px solid #eadcc5;border-radius:9px;background:#fff8e9;color:#795e27;font-size:10px;line-height:1.45}
.image-result-zone{padding:24px;min-height:640px}.image-result-top{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:18px}.image-result-top h2{margin:5px 0 0;font-size:24px;letter-spacing:-.8px}.image-result-note{color:#76856d;font-size:10px}.image-result-frame{height:min(62vh,580px);min-height:430px;position:relative;display:grid;place-items:center;border:1px dashed #d7e0cb;border-radius:14px;background:radial-gradient(#dce3d4 1px,transparent 1px) 0 0/22px 22px,#f8faf4;overflow:hidden}.image-result-frame .result-media{position:absolute;inset:0;display:block;min-width:0;min-height:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:0;background:transparent}.image-result-empty{text-align:center;max-width:330px;padding:24px}.image-result-empty>span{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 12px;border-radius:16px;background:#e7f7ca;color:#608640;font-size:30px}.image-result-empty h3{margin:0 0 8px;font-size:17px}.image-result-empty p{margin:0;color:#7e8b76;font-size:11px;line-height:1.55}.image-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.image-result-actions .action-icon{width:15px;height:15px}
.image-recent{margin-top:22px}.image-recent-list{margin-top:8px}.image-recent-row{display:flex;align-items:center;gap:11px;min-width:0;padding:10px 0;border-bottom:1px solid #edf0e8}.image-recent-thumb{display:grid;place-items:center;flex:none;width:48px;height:48px;overflow:hidden;border:1px solid #dce5d2;border-radius:9px;background:#f4f8ec;color:#729650;font-size:19px;cursor:pointer}.image-recent-thumb img{display:block;width:100%;height:100%;object-fit:cover}.image-recent-placeholder{cursor:default}.image-recent-info{display:grid;gap:4px;flex:1;min-width:0;font-size:11px}.image-recent-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.image-recent-info small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#879182;font-size:10px;line-height:1.35}.image-recent-row.failed .image-recent-info small{color:#a45b4c}.image-recent-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;max-width:310px}.image-recent-actions button,.image-recent-actions a{border:1px solid #dce5d2;border-radius:7px;background:#fff;color:#435438;padding:6px 8px;font-family:inherit;font-size:10px;font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer}.image-recent-actions button:hover,.image-recent-actions a:hover{border-color:#a7cc5b;background:#f0f9dd}.image-recent-actions button:focus-visible,.image-recent-actions a:focus-visible,.image-recent-thumb:focus-visible{outline:2px solid #83ad34;outline-offset:2px}
@media(max-width:1000px){.image-tool-layout{grid-template-columns:minmax(300px,350px) minmax(0,1fr)}.image-result-zone{padding:17px}.image-result-note{display:none}}
@media(max-width:800px){.image-tool-layout{grid-template-columns:1fr}.image-result-zone{min-height:0}.image-result-frame{height:390px;min-height:0}}
@media(max-width:600px){.image-tool-head{padding:16px}.image-tool-body{padding:3px 16px 18px}.image-result-frame{height:320px}.image-result-top h2{font-size:20px}.image-recent-row{align-items:flex-start;flex-wrap:wrap}.image-recent-info{min-width:calc(100% - 60px)}.image-recent-actions{width:100%;max-width:none;justify-content:flex-start;padding-left:59px}}
.image-tool-switch{display:flex;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:4px;border:1px solid #dce5d2;border-radius:11px;background:#f2f6ec}.image-tool-switch button{border:0;border-radius:8px;background:transparent;color:#64725a;padding:9px 16px;font-size:11px;font-weight:750;cursor:pointer}.image-tool-switch button.active{background:#fff;color:#2d4a1a;box-shadow:0 2px 8px #273b1821}
.editor-shell{display:grid;grid-template-columns:minmax(290px,335px) minmax(0,1fr);gap:18px;align-items:start}.editor-sidebar,.editor-workspace{border:1px solid #e1e5da;border-radius:17px;background:#fff;box-shadow:0 8px 30px #24330c0b;overflow:hidden}.editor-sidebar{padding:18px}.editor-title h2{font-size:22px;margin:7px 0}.editor-title p,.editor-controls p,.editor-start{font-size:11px;line-height:1.55;color:#718067}.editor-source{display:grid;gap:9px;margin:17px 0;padding:15px 0;border-top:1px solid #e8ecdf;border-bottom:1px solid #e8ecdf}.editor-source .btn{justify-content:center;cursor:pointer}.editor-source label:not(.btn){font-size:10px;font-weight:700;color:#637057}.editor-source select{width:100%;padding:9px;border:1px solid #d9e2ce;border-radius:9px;background:#fff;color:#283921;font-size:11px}.editor-tool-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.editor-tool{min-height:40px;border:1px solid #dce5d4;border-radius:9px;background:#f8faf4;color:#4c6042;padding:8px;font-size:10px;font-weight:700;text-align:left;cursor:pointer}.editor-tool:hover,.editor-tool.active{border-color:#93b34d;background:#eafdcb;color:#2f4a1e}.editor-controls{border-top:1px solid #e8ecdf;margin-top:17px;padding-top:13px}.editor-controls h3{font-size:14px;margin:0 0 8px}.editor-controls .btn{margin-top:12px}.editor-slider{display:block;margin:12px 0}.editor-slider>span{display:flex;justify-content:space-between;font-size:10px;font-weight:700;color:#596b4b}.editor-slider output{font-weight:600;color:#78866e}.editor-slider input{width:100%;accent-color:#83ad34;margin-top:7px}.editor-field{display:grid;gap:5px;font-size:10px;font-weight:700}.editor-field input{accent-color:#83ad34}.editor-controls small{display:block;color:#72816b;font-size:10px}.editor-number-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.editor-number-grid label{display:grid;gap:5px;font-size:10px;font-weight:700;color:#596b4b}.editor-number-grid input{width:100%;padding:7px;border:1px solid #d9e2ce;border-radius:7px}.editor-check{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:10px}.editor-save{display:grid;gap:8px;margin-top:18px}.editor-save .btn{justify-content:center}.editor-save small{color:#809076;font-size:10px;line-height:1.4}.editor-workspace{padding:21px}.editor-workspace-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:15px}.editor-workspace-head h2{margin:5px 0 0;font-size:18px;overflow-wrap:anywhere}.editor-workspace-head small,.editor-preview-foot{color:#77866e;font-size:10px}.editor-preview-frame{display:grid;place-items:center;min-height:520px;max-height:75vh;overflow:hidden;border:1px solid #d7e0cb;border-radius:13px;background:repeating-conic-gradient(#e9eee4 0% 25%,#f8faf4 0% 50%) 50%/24px 24px}.editor-preview-frame canvas{display:block;max-width:100%;max-height:74vh;object-fit:contain;touch-action:none;cursor:crosshair}.editor-preview-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px}.editor-preview-foot .btn{font-size:10px}
@media(max-width:850px){.editor-shell{grid-template-columns:1fr}.editor-preview-frame{min-height:360px;max-height:65vh}.editor-preview-frame canvas{max-height:64vh}}@media(max-width:600px){.editor-sidebar,.editor-workspace{padding:15px}.editor-tool-list{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-preview-frame{min-height:290px}}
.editor-upscale-modes{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:15px 0;padding:4px;border:1px solid #dce5d2;border-radius:10px;background:#f3f6ef}.editor-upscale-modes button{padding:9px;border:0;border-radius:7px;background:transparent;color:#56674c;font-size:11px;font-weight:750;cursor:pointer}.editor-upscale-modes button.active{background:#fff;color:#304d1d;box-shadow:0 2px 8px #263b1820}.editor-upscale-model{display:grid;gap:3px;margin:15px 0}.editor-upscale-model>span{font-size:9px;letter-spacing:.1em;font-weight:800;color:#7a8970}.editor-upscale-model strong{padding:11px 12px;border:1px solid #dce5d2;border-radius:9px;background:#f9fbf6;font-size:11px}.editor-upscale-model small{margin-top:2px}.editor-upscale-grid{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px}.editor-upscale-grid label{display:grid;gap:6px;color:#596b4b;font-size:10px;font-weight:750}.editor-upscale-grid select{width:100%;min-width:0;padding:9px 7px;border:1px solid #d9e2ce;border-radius:8px;background:#fff;color:#283921;font-size:11px}.editor-upscale-sliders{margin-top:16px;padding-top:4px;border-top:1px solid #e8ecdf}.editor-upscale-slider{display:block;margin:12px 0}.editor-upscale-slider>span{display:flex;justify-content:space-between;gap:10px;color:#4e6044;font-size:10px;font-weight:750}.editor-upscale-slider output{color:#486f2d}.editor-upscale-slider input{display:block;width:100%;margin:7px 0 2px;accent-color:#7caa31}.editor-upscale-slider input:disabled{opacity:.45}.editor-upscale-slider small{line-height:1.4}.editor-upscale-prompt{display:grid;gap:5px;margin-top:17px;color:#596b4b;font-size:10px;font-weight:750}.editor-upscale-prompt textarea{width:100%;min-height:88px;resize:vertical;padding:9px;border:1px solid #d9e2ce;border-radius:9px;background:#fff;color:#283921;font:inherit;font-weight:400;line-height:1.5}.editor-upscale-prompt textarea:disabled{background:#f3f5f0;color:#899282}.editor-upscale-note{padding:9px 10px;border-radius:8px;background:#f2f6eb}.editor-upscale-size{display:flex;justify-content:space-between;gap:8px;margin:14px 0 0}.editor-controls .editor-upscale-size strong{color:#344d25}.editor-controls [data-editor-ai="upscale"]{width:100%;justify-content:center}
.editor-selection-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:11px 0}.editor-selection-modes button{padding:9px 5px;border:1px solid #dce5d2;border-radius:8px;background:#f8faf4;color:#536748;font-size:10px;font-weight:700;cursor:pointer}.editor-selection-modes button.active{border-color:#8baa49;background:#eafdcb;color:#304d1d}.editor-selection-ready,.editor-selection-hint{margin:9px 0}.editor-selection-ready{color:#41662b!important}.editor-ai-prompt{display:grid;gap:7px;margin:14px 0 0;color:#596b4b;font-size:10px;font-weight:750}.editor-ai-prompt textarea{width:100%;min-height:88px;padding:9px;border:1px solid #d9e2ce;border-radius:9px;background:#fff;color:#283921;font:inherit;font-weight:400;line-height:1.5;resize:vertical}.editor-ai-action{width:100%;justify-content:center}.editor-expand-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.editor-expand-grid label{display:grid;gap:5px;color:#596b4b;font-size:10px;font-weight:700}.editor-expand-grid input{width:100%;padding:8px;border:1px solid #d9e2ce;border-radius:8px}.editor-expand-size{margin:12px 0 0}.editor-preview-frame:has(+ .editor-preview-foot) canvas{cursor:crosshair}
.cinematic-body .image-tool-section{padding:15px 0}.cinematic-field{display:grid;gap:6px;color:#596b4b;font-size:10px;font-weight:750}.cinematic-field select,.cinematic-field textarea{width:100%;min-width:0;padding:10px;border:1px solid #d9e2ce;border-radius:9px;background:#fff;color:#283921;font:inherit;font-weight:500}.cinematic-field textarea{min-height:112px;resize:vertical;line-height:1.5}.cinematic-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cinematic-presets{display:grid;gap:10px}.cinematic-upload{display:inline-flex;margin-top:9px;cursor:pointer}.cinematic-reference-preview{display:block;width:100%;max-height:155px;object-fit:contain;margin-top:10px;border:1px solid #e2e8d9;border-radius:9px;background:#f8faf4}.cinematic-ratios{display:flex;flex-wrap:wrap;gap:6px}.cinematic-ratios button{padding:8px 12px;border:1px solid #d9e2ce;border-radius:8px;background:#fff;color:#536748;font-size:10px;font-weight:750;cursor:pointer}.cinematic-ratios button.active{border-color:#8baa49;background:#eafdcb;color:#304d1d}.cinematic-submit{width:100%;justify-content:center}
.image-tool-switch{flex-wrap:wrap}.variations-body .image-tool-section{padding:15px 0}.variations-perspectives{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.variations-perspective{display:flex;align-items:center;gap:7px;min-height:29px;color:#405238;font-size:10px;font-weight:700;cursor:pointer}.variations-perspective input{width:15px;height:15px;flex:none;accent-color:#6f9d2a;cursor:pointer}.variations-perspective span{line-height:1.3}.variations-output{display:grid;gap:13px}.variations-output>div>span{display:block;margin-bottom:7px;color:#596b4b;font-size:10px;font-weight:750}.variations-submit,.variations-stop{width:100%;justify-content:center}.variations-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.variations-results[class~="1x1"]{grid-template-columns:1fr}.variations-results[class~="2x2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.variations-results figure{min-width:0;margin:0;border:1px solid #e1e5da;border-radius:11px;background:#fff;overflow:hidden}.variations-results img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:#f6f8f2}.variations-results figcaption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;color:#3c5230;font-size:10px}.variations-results strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.variations-results a{flex:none;color:#456d25;font-weight:750}.variations-layout .image-result-zone{min-height:640px}@media(max-width:700px){.variations-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.variations-results{grid-template-columns:1fr}}
.camera-tool-body .image-tool-section{padding:15px 0}.camera-preview{position:relative;height:258px;border:1px solid #2e3440;border-radius:13px;background:radial-gradient(circle at 50% 60%,#242938,#14171e 68%);overflow:hidden;cursor:crosshair;touch-action:none;user-select:none}.camera-preview svg{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}.camera-grid{fill:none;stroke:#3e4657;stroke-width:.65;opacity:.7}.camera-ring{fill:none;stroke:#5989ee;stroke-width:5;opacity:.95}.camera-elevation{fill:none;stroke:#875ce5;stroke-width:4;stroke-linecap:round}.camera-marker-shadow{fill:#4067a6}.camera-marker{fill:#a57bf3;stroke:#d3b4ff;stroke-width:2;filter:drop-shadow(0 2px 6px #9066e0)}.camera-preview-photo{position:absolute;left:50%;top:58%;width:68px;height:82px;display:grid;place-items:center;border:2px solid #777d8b;border-radius:5px;background:#2b3040;box-shadow:0 9px 20px #080b12a8;overflow:hidden;z-index:1;pointer-events:none;transform:translate(-50%,-50%)}.camera-preview-photo img{width:100%;height:100%;object-fit:cover}.camera-preview-photo span{padding:5px;text-align:center;color:#d5dbe6;font-size:9px}.camera-preview-caption{position:absolute;left:10px;bottom:9px;z-index:3;padding:5px 8px;border-radius:6px;background:#10131bc9;color:#ebeff8;font-size:10px;pointer-events:none}.camera-control{display:block;margin:0 0 17px}.camera-control>span{display:flex;justify-content:space-between;gap:12px;color:#526349;font-size:10px;font-weight:750}.camera-control output{color:#456e26}.camera-control input{display:block;width:100%;margin:8px 0 0;accent-color:#7cab32}.camera-generate{width:100%;justify-content:center}
.mockup-controls{display:grid;gap:13px}.mockup-controls>label,.mockup-controls>div>span{display:flex;align-items:center;justify-content:space-between;color:#596b4b;font-size:10px;font-weight:750}.mockup-controls>div>span{margin-bottom:7px}.mockup-stepper{display:inline-flex;align-items:center;gap:12px}.mockup-stepper button{width:29px;height:29px;border:1px solid #d9e2ce;border-radius:7px;background:#fff;color:#3b5630;cursor:pointer}.mockup-stepper strong{font-size:13px;color:#304c24}.mockup-layout .image-tool-section{padding:15px 0}.mockup-layout .image-tool-submit .btn-primary{width:100%;justify-content:center}
.relight-body .image-tool-section{padding:15px 0}.relight-preview{position:relative;height:260px;border:1px solid #2e3440;border-radius:13px;background:radial-gradient(circle at 50% 58%,#222838,#11141b 70%);overflow:hidden;cursor:crosshair;touch-action:none;user-select:none}.relight-preview svg{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}.relight-preview-photo{position:absolute;left:50%;top:59%;width:90px;height:105px;display:grid;place-items:center;border:2px solid #626d83;border-radius:3px;background:#242a37;box-shadow:12px 16px 24px #05070cc9;overflow:hidden;transform:translate(-50%,-50%) perspective(350px) rotateY(-17deg) rotateX(6deg);z-index:1;pointer-events:none}.relight-preview-photo img{width:100%;height:100%;object-fit:cover}.relight-preview-photo span{padding:5px;text-align:center;color:#d5dbe6;font-size:9px}.relight-preview-photo i{position:absolute;inset:0;mix-blend-mode:screen;pointer-events:none}.relight-preview-hint{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:3;padding:5px 8px;border-radius:5px;background:#0c1019b8;color:#e0e7f2;font-size:10px;pointer-events:none}.relight-directions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.relight-directions button,.relight-light-list button{padding:8px;border:1px solid #d9e2ce;border-radius:8px;background:#fff;color:#4d6240;font-size:10px;font-weight:700;cursor:pointer}.relight-directions button.active,.relight-light-list button.active{border-color:#80a646;background:#eafdcb;color:#304d1d}.relight-light-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:13px}.relight-light-list button{display:inline-flex;align-items:center;gap:6px}.relight-light-list i{width:12px;height:12px;border:1px solid #abb3a7;border-radius:4px}.relight-colors{display:flex;align-items:center;gap:8px;margin:0 0 17px}.relight-colors button{width:25px;height:25px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #c6d0bd;cursor:pointer}.relight-colors button.active{box-shadow:0 0 0 2px #6a9834}.relight-custom-color input{width:27px;height:27px;border:0;padding:0;background:none;cursor:pointer}.relight-body .camera-control{margin-bottom:14px}.relight-generate{width:100%;justify-content:center}
.studio-choose-file{width:100%;max-width:100%;justify-content:flex-start;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.studio-choose-file img{width:28px;height:28px;flex:none;border-radius:5px;object-fit:cover}.studio-file-picker{width:min(880px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #dfe6d4;border-radius:16px;background:#fff;color:#263023;box-shadow:0 20px 80px #111b1270;overflow:hidden}.studio-file-picker::backdrop{background:#101811a6}.studio-file-picker-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border-bottom:1px solid #e8eddf}.studio-file-picker-head h2{font-size:20px;margin:4px 0 0}.studio-file-picker-head button{border:0;background:none;color:#54634c;font-size:28px}.studio-file-picker-body{padding:18px 22px;overflow-y:auto;max-height:calc(100dvh - 120px)}.studio-file-picker-search{display:grid;gap:7px;font-size:11px;font-weight:700;color:#53614d}.studio-file-picker-search input{width:100%;padding:11px;border:1px solid #d9e2ce;border-radius:9px}.studio-file-picker-count{margin:12px 0;color:#71806a;font-size:11px}.studio-file-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;min-height:145px}.studio-file-picker-grid button{min-width:0;padding:0;border:1px solid #dce5d2;border-radius:9px;background:#f8faf5;text-align:left;overflow:hidden}.studio-file-picker-grid button:hover:not(:disabled){border-color:#83ae36;background:#f0fbe1}.studio-file-picker-grid button:disabled{opacity:.45}.studio-file-picker-grid img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.studio-file-picker-grid span,.studio-file-picker-grid small{display:block;padding:7px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.studio-file-picker-grid small{padding-top:0;color:#6d7865;font-size:9px}.studio-file-picker-empty{grid-column:1/-1;color:#738068;font-size:12px}.studio-file-picker-pages{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:17px;font-size:11px}.studio-file-picker-pages button{padding:8px 12px;border:1px solid #dce5d2;border-radius:7px;background:#fff}.studio-file-picker-pages button:disabled{opacity:.4}
.studio-image-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.studio-image-choice>.studio-image-choice-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;width:100%;aspect-ratio:1.15;border:2px dashed #bdcbb0;border-radius:18px;background:#f8faf4;color:#60784e;padding:12px 8px;text-align:center;white-space:normal;cursor:pointer}.studio-image-choice>.studio-image-choice-tile:hover,.studio-image-choice>.studio-image-choice-tile:focus-visible{border-color:#7fa739;background:#eff9dc;outline:none}.studio-image-choice>.studio-image-choice-tile:disabled{opacity:.5;cursor:not-allowed}.studio-image-choice-tile .choice-symbol{display:block;font-size:31px;line-height:1.1}.studio-image-choice-tile strong{display:block;font-size:13px;line-height:1.2}.studio-image-choice-tile small{display:block;color:#84917a;font-size:11px;line-height:1.2}.studio-choice-selected{display:flex;align-items:center;gap:8px;min-width:0;margin-top:9px;padding:7px;border:1px solid #dce5d2;border-radius:9px;background:#f8faf4;color:#405238;font-size:11px}.studio-choice-selected img{width:34px;height:34px;flex:none;border-radius:5px;object-fit:cover}.studio-choice-selected span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-source .studio-image-choice{width:100%}.form-card .studio-image-choice label.studio-image-choice-tile{display:flex;margin:0}
.image-tool-layout>.image-tool-panel:not(#generate-form) .image-tool-head::after,.editor-sidebar .editor-title::after{content:'Bragen Image Editor 1.0';display:block;align-self:center;margin-left:auto;padding:6px 9px;border:1px solid #d8e7ca;border-radius:7px;background:#f1fae7;color:#426625;font-size:10px;font-weight:750;white-space:nowrap}.editor-sidebar .editor-title::after{margin:8px 0 0;width:max-content}
.relight-body.transfer-mode .relight-rig-section{display:none}
.studio-image-choice{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.studio-image-choice>.studio-image-choice-tile{aspect-ratio:auto;min-height:94px;padding:9px 5px;border-radius:12px}.studio-image-choice-tile .choice-symbol{font-size:24px}.studio-image-choice-tile strong{font-size:11px}.studio-image-choice-tile small{font-size:9px}.unsplash-symbol{font-weight:900}.studio-unsplash-picker .studio-file-picker-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.studio-unsplash-picker .unsplash-photo{min-width:0;border:1px solid #dce5d2;border-radius:9px;background:#f8faf5;overflow:hidden}.studio-unsplash-picker .unsplash-photo>button{width:100%;border:0;border-radius:0}.studio-unsplash-picker .unsplash-photo>small{display:block;padding:7px 8px;color:#63705c;font-size:10px;line-height:1.4}.studio-unsplash-picker .unsplash-photo a{color:#486b2d;text-decoration:underline}.studio-unsplash-picker .unsplash-note{margin:15px 0 0;color:#71806a;font-size:11px}
@media(min-width:851px){.image-tool-panel{display:flex;flex-direction:column;position:sticky;top:16px;height:calc(100dvh - 210px);max-height:calc(100dvh - 32px)}.image-tool-head{flex:none}.image-tool-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.image-tool-submit{position:sticky;bottom:-20px;z-index:4;margin-top:12px;padding:12px 0 4px;border-top:1px solid #e8ede1;background:#fff}.editor-sidebar{position:sticky;top:16px;height:calc(100dvh - 210px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.editor-save{position:sticky;bottom:-18px;z-index:4;padding:12px 0 4px;border-top:1px solid #e8ede1;background:#fff}}

.image-recent-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-top:16px}
.image-recent-card{position:relative;min-width:0;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#edf1e7}
.image-recent-media{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;background:#edf1e7;cursor:pointer}
.image-recent-media img{width:100%;height:100%;object-fit:cover}.image-recent-media>span{font-size:30px;color:#80916d}
.image-recent-card .image-recent-actions{position:absolute;bottom:8px;right:8px;display:flex;flex-wrap:nowrap;width:auto;max-width:none;gap:3px;margin:0;padding:4px;border-radius:9px;background:#ffffffed;box-shadow:0 2px 10px #18231122}
.image-recent-card .image-recent-actions :is(button,a){display:grid;place-items:center;width:27px;height:27px;margin:0;padding:5px;border:0;background:transparent;border-radius:5px;color:#435738;cursor:pointer}
.image-recent-card .image-recent-actions :is(button,a):hover{background:#e6efdc}.image-recent-card .image-recent-actions svg{width:16px;height:16px}.image-recent-card .image-recent-actions button:disabled{opacity:.35;cursor:default}
.image-recent-status{position:absolute;top:8px;left:8px;border-radius:6px;padding:4px 6px;background:#ffffffdd;color:#526547;font-size:9px;pointer-events:none}.image-recent-status.failed{color:#9c4939}
.image-job-prompt{white-space:pre-wrap;overflow-wrap:anywhere;background:#f0f4e9;padding:16px;border-radius:10px;font-family:inherit;font-size:13px;line-height:1.6}
@media(max-width:500px){.image-recent-list{grid-template-columns:repeat(2,minmax(0,1fr))}.image-recent-card .image-recent-actions{right:4px;bottom:4px;gap:1px;padding:2px}.image-recent-card .image-recent-actions :is(button,a){width:24px;height:26px;padding:4px}}

/* Mockups show the complete scene, including landscape and portrait outputs. */
.mockup-results img{aspect-ratio:auto;width:100%;height:min(48dvh,440px);object-fit:contain;background:#f8faf4}
.mockup-results[class~="1x1"] img{height:min(62dvh,580px)}
.mockup-loading+.mockup-results{margin-top:18px}
@media(max-width:800px){.mockup-results img,.mockup-results[class~="1x1"] img{height:min(55dvh,390px)}}
@media(max-width:600px){.mockup-results img,.mockup-results[class~="1x1"] img{height:min(50dvh,320px)}}
