:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#24382f;background:#f6f7f3;font-synthesis:none;--green:#264c3c;--lime:#dff28b;--border:#dfe5dc;--muted:#6a776e}
.auth-config{background:#f0f4e8;border:1px solid var(--border);border-radius:8px;padding:12px 15px;font-size:12px;line-height:1.8}.auth-config code{font-size:11px;color:var(--green)}
.header-actions{display:flex;align-items:center;gap:12px}.auth-private{font-size:12px;color:var(--muted)}.auth-main{max-width:1060px;min-height:calc(100vh - 86px);display:grid;grid-template-columns:1fr 390px;gap:70px;align-items:center;padding:65px 35px!important}.auth-intro h1{font-size:46px;line-height:1.12;letter-spacing:-1.8px;margin:20px 0}.auth-intro>p:not(.eyebrow){font-size:14px;line-height:1.8;color:var(--muted);max-width:350px}.auth-format{position:relative;width:155px;height:155px;background:#e6edda;border:1px solid #c5d2b6;border-radius:23px;transform:rotate(-7deg);margin:40px 0;display:grid;place-items:center}.auth-format>span{font-size:30px;z-index:1;color:#517644}.auth-format-inner{position:absolute;inset:20px;border:1px dashed #93ac7d;border-radius:5px;background:#f6f9ef}.auth-intro .auth-footnote{font-size:11px!important;max-width:290px!important}.auth-card{padding:30px!important}.auth-card h2{font-size:27px;margin:12px 0}.auth-card>.muted{font-size:12px;line-height:1.8;margin-bottom:25px}.auth-card form>label,.auth-card #confirm-field>label{display:block;font-size:12px;font-weight:600;margin:17px 0 7px}.auth-card input[type=email],.auth-card input[type=password],.auth-card input[type=text]{width:100%;padding:12px;border:1px solid var(--border);border-radius:7px;background:#fafbf7;color:var(--green);font-size:14px}.auth-card form>.auth-show{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:400}.auth-show input{margin:0}.auth-card form>.primary{width:100%;margin-top:22px;padding:14px}.auth-card-note{border-top:1px solid var(--border);padding-top:17px;margin-top:23px;font-size:10px;color:var(--muted);line-height:1.6}.auth-card .message{font-size:11px;padding:10px;margin:0 0 18px}@media(max-width:760px){.auth-main{grid-template-columns:1fr;gap:28px;max-width:470px;min-height:0;padding:35px 20px!important}.auth-intro h1{font-size:33px;margin:12px 0}.auth-intro h1 br{display:none}.auth-format,.auth-intro .auth-footnote{display:none}.auth-intro>p:not(.eyebrow){font-size:12px;margin-bottom:0}.auth-private{font-size:10px}.header-actions{gap:7px}.header-actions>.button{font-size:10px;padding:8px}}
[hidden]{display:none!important}.mode-switch{display:inline-flex;gap:4px;background:#e9eee3;border:1px solid var(--border);border-radius:10px;padding:4px;margin:0 0 24px}.mode-switch button{border:0;border-radius:7px;padding:11px 18px;background:transparent;color:var(--muted);font-size:12px;font-weight:650}.mode-switch button[aria-pressed=true]{background:#fff;color:var(--green);box-shadow:0 1px 4px #203c2512}#scene-controls{margin-top:22px}.prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:7px}.prompt-heading .note-label{margin:0}.prompt-heading .text-button{font-size:10px;padding:6px 0}#scene-prompt{margin-top:7px;min-height:235px;max-height:620px;font-size:12px}#prompt-status.custom{color:#98602e;background:#fff8e9;border-radius:5px;padding:9px}#used-scene-prompt{font-size:12px;margin-top:15px}#used-scene-prompt summary{cursor:pointer;color:var(--green)}#used-prompt-text{white-space:pre-wrap;font-size:11px;line-height:1.7;color:var(--muted)}
.model-select{font:inherit;font-size:12px;color:var(--green);background:#f7f9f3;border:1px solid var(--border);border-radius:7px;width:100%;padding:10px;cursor:pointer}.model-select:focus-visible{outline:3px solid #7d9b4b;outline-offset:3px}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #7d9b4b;outline-offset:3px}header{height:86px;padding:0 5%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);background:#fff}.brand{display:flex;align-items:center;gap:10px;color:#243e2f;font-size:33px;font-weight:850;text-decoration:none;letter-spacing:-2px}.brand-mark{background:var(--green);color:var(--lime);width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-size:28px;line-height:1}.brand-sub{font-size:14px;letter-spacing:0;font-weight:450;padding-left:15px;margin-left:8px;border-left:1px solid var(--border);color:var(--muted)}.connection{font-size:12px;border:1px solid var(--border);padding:8px 12px;border-radius:20px}.connection::before{content:'●';color:#849080;margin-right:7px}.connection.ready::before{color:#4e8e43}main{max-width:1510px;margin:auto;padding:38px 5% 20px}.intro{display:flex;justify-content:space-between;align-items:center;margin:0 0 34px}.eyebrow,.step{font-size:10px;font-weight:750;letter-spacing:1.7px;color:#71816f}.eyebrow{margin:0 0 13px}h1{font-size:clamp(28px,3vw,42px);font-weight:650;letter-spacing:-1.6px;margin:0 0 12px}h2{font-size:20px;letter-spacing:-.5px;margin:7px 0 12px;font-weight:650}.intro p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.7;margin:0}.format{display:flex;align-items:center;gap:18px}.format>span{display:grid;place-items:center;width:78px;height:78px;border:1px solid #bbc8b8;border-radius:17px;font-size:26px;color:#66825c;transform:rotate(-5deg);background:#edf2e5}.format small{color:var(--muted);font-size:11px;line-height:1.8}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--border);border-radius:17px;padding:24px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.step{margin:0}.muted{font-size:12px;color:var(--muted);line-height:1.7}.library>.muted{margin:0 0 21px;max-width:560px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.photo-card{border:1px solid var(--border);border-radius:11px;overflow:hidden;transition:border-color .15s;background:#fff}.photo-card.is-source{border-color:#416848;box-shadow:0 0 0 1px #416848}.photo-card.is-reference{border-color:#94a66d;background:#fbfdf5}.photo-visual{position:relative;aspect-ratio:1.33;background:#f3f4f1;overflow:hidden}.photo-visual img{width:100%;height:100%;object-fit:contain}.photo-dimensions{position:absolute;bottom:7px;right:7px;color:#fff;background:#263a30b8;border-radius:4px;font-size:9px;padding:3px 5px}.photo-name{font-weight:600;font-size:12px;padding:11px 11px 9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-actions{display:flex;gap:7px;padding:0 9px 11px;flex-wrap:wrap}.photo-actions label{display:flex;align-items:center;gap:3px;font-size:10px;cursor:pointer;white-space:nowrap}.photo-actions input{accent-color:var(--green);width:13px;height:13px;margin:0 2px 0 0}.selection-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--border);margin-top:22px;padding-top:16px;font-size:11px;color:var(--muted)}.text-button{border:0;background:none;color:var(--green);font-size:11px;padding:7px;text-decoration:underline;text-underline-offset:3px}.button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:11px 15px;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap}.secondary{background:#f5f7f1;color:var(--green);border:1px solid var(--border)}.secondary:hover{background:#eaf0e3}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#39674e}.range-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:24px}.range-label output{background:#edf4df;color:#3f5b32;border-radius:6px;padding:5px 8px;font-weight:700}input[type=range]{width:100%;accent-color:var(--green);margin:15px 0 0;cursor:pointer}.hint{font-size:10px;line-height:1.65;color:var(--muted);margin:8px 0 16px}.canvas-wrap{position:relative;background:#eff2e9;border:1px solid var(--border);border-radius:8px;overflow:hidden;margin-top:18px}#preview{width:100%;display:block}.preview-label{position:absolute;left:8px;bottom:7px;font-size:8px;letter-spacing:1px;color:#3b5341;background:#ffffffd4;padding:3px 5px;border-radius:3px}.toggle{display:flex;align-items:center;gap:7px;font-size:11px;margin-top:15px}.toggle input,input[type=checkbox]{accent-color:var(--green)}.crop-control{display:flex;align-items:center;gap:5px;font-size:10px;margin:10px 0 0}.crop-control label{flex:1}.crop-control input{width:48px;padding:4px 3px 4px 7px;border:1px solid var(--border);border-radius:5px;color:var(--green)}.note-label{font-size:11px;display:block;margin-bottom:7px}.note-label span{color:var(--muted)}textarea{resize:vertical;max-height:200px;width:100%;border:1px solid var(--border);border-radius:7px;padding:9px;font-size:11px;line-height:1.6}#generate{width:100%;justify-content:space-between;margin-top:17px;padding:14px}#generate span{font-size:18px}.generation-note{font-size:9px;line-height:1.6;color:var(--muted);margin:10px 0 0}.results{margin-top:24px}.results .section-head{margin-bottom:14px}.count{font-size:11px;border-radius:20px;padding:3px 7px;background:#eff3e9;color:var(--muted);vertical-align:middle;margin-left:5px}.result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.empty{padding:28px;text-align:center;color:var(--muted);font-size:12px;background:#f8faf5;border:1px dashed var(--border);border-radius:10px;grid-column:1/-1;line-height:1.8}.result-card{border:1px solid var(--border);border-radius:10px;overflow:hidden}.result-card img{width:100%;display:block;aspect-ratio:1;object-fit:contain;background:#f3f5ee}.result-info{padding:15px}.result-info h3{font-size:13px;margin:0 0 7px}.result-info p{font-size:11px;color:var(--muted);line-height:1.6;margin:7px 0}.result-meta{font-size:10px;color:var(--muted)}.progress{height:4px;background:#eef2e7;border-radius:3px;overflow:hidden;margin:12px 0}.progress span{height:100%;display:block;background:#8ca65f}.result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.result-actions .button{font-size:10px;padding:8px 11px}.status-badge{font-size:9px;text-transform:uppercase;letter-spacing:.7px;border-radius:4px;display:inline-block;padding:4px 6px;background:#eaf3d9;color:#42612d;margin-bottom:8px}.result-card.failed .status-badge{background:#fff0e9;color:#954d30}.result-card.failed .error{color:#99412e}.message{border:1px solid #e8cd9f;background:#fff7e9;padding:12px 16px;color:#785622;font-size:12px;line-height:1.6;border-radius:8px;margin-bottom:20px}footer{display:flex;justify-content:space-between;margin-top:26px;color:#82907f;font-size:10px}dialog{width:min(810px,96vw);max-height:95vh;border:1px solid var(--border);border-radius:16px;padding:22px;color:inherit;box-shadow:0 25px 90px #17261f55}dialog::backdrop{background:#17261f99;backdrop-filter:blur(3px)}.viewer-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.viewer-head h2{margin-bottom:4px}.viewer-head p{margin:0}.viewer-options{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;margin:16px 0}.viewer-options label{display:flex;align-items:center;gap:6px}#result-canvas{display:block;width:100%;max-width:590px;margin:auto;background:#f5f6f0}dialog>.primary{display:flex}dialog>.hint{text-align:center;margin:14px 0}@media(min-width:1500px){main{padding-left:40px;padding-right:40px}.workspace{grid-template-columns:minmax(0,1fr) 360px}}@media(max-width:1100px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{grid-template-columns:minmax(0,1fr) 310px}.panel{padding:20px}.section-head{align-items:flex-start}.library .section-head{flex-wrap:wrap}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){header{height:70px;padding:0 5%}.brand-sub{display:none}.connection{font-size:10px}.format{display:none}main{padding-top:26px}.intro{margin-bottom:24px}.workspace{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings{display:grid;grid-template-columns:1fr}.canvas-wrap{max-width:400px;width:100%;justify-self:center}.result-grid{grid-template-columns:1fr 1fr}.results .section-head{flex-wrap:wrap}.result-actions{flex-direction:column}.viewer-options{gap:10px}.viewer-head h2{font-size:17px}}@media(max-width:420px){.result-grid{grid-template-columns:1fr}.panel{padding:16px}.photo-actions{gap:5px}.photo-actions label{font-size:9px}.brand{font-size:28px}footer{gap:20px}}
