:root{--paper:#f7f6f2;--ink:#272a25;--muted:#82867d;--line:#e5e6df;--accent:#63704b;--soft:#edf0e7}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",sans-serif;font-size:14px}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}[hidden]{display:none!important}header{height:88px;margin:0 6%;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:24px}.brand{font-size:33px;font-weight:650;letter-spacing:-2px}.brand-dot{font-size:10px;margin-left:4px;color:var(--accent)}.header-note{color:var(--muted);font-size:12px;letter-spacing:2px}.text-button{margin-left:auto;background:none;border:0;color:var(--muted)}main{max-width:1200px;margin:auto;padding:66px 32px 0}.intro{margin-bottom:43px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--accent);display:flex;align-items:center;gap:9px}.dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}h1{font-size:46px;line-height:1.4;letter-spacing:-1.8px;font-weight:500;margin:19px 0 16px}h1 em{font-style:normal;color:var(--accent)}.intro p{color:var(--muted);line-height:1.8;font-size:13px}.card{background:#fff;border:1px solid var(--line);border-radius:18px}.login-card{max-width:620px;padding:30px}.section-title{display:flex;gap:12px;align-items:center}.number{font-size:10px;color:var(--accent);border:1px solid #d5dcca;border-radius:50%;width:25px;height:25px;display:grid;place-items:center}h2{font-size:17px;font-weight:550;margin:0}.muted{color:var(--muted);font-size:12px;line-height:1.8}.login-card>.muted{margin:20px 0}label,legend{display:block;font-size:12px;margin-bottom:10px}.password-row{display:flex;gap:10px}input[type=password]{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;padding:13px;background:#fafbf8;outline:0}.primary{background:var(--ink);color:#fff;border:0;border-radius:9px;padding:14px 21px;display:flex;justify-content:space-between;align-items:center;gap:30px;white-space:nowrap;font-size:13px}.primary:hover{background:var(--accent)}.primary span{font-size:18px}.workspace{display:grid;grid-template-columns:380px minmax(0,1fr);gap:40px;align-items:start}.composer{padding:26px;position:sticky;top:20px}.model-line{display:flex;align-items:center;justify-content:space-between;margin:22px 0 27px;font-size:11px;color:var(--muted);gap:8px}.pill{background:var(--soft);color:var(--accent);font-size:10px;border-radius:30px;padding:5px 9px;white-space:nowrap}textarea{width:100%;resize:vertical;min-height:165px;max-height:450px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fafbf8;outline:0;font-size:13px;line-height:1.9}input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #63704b12}.field-footer{display:flex;justify-content:space-between;font-size:10px;color:#a0a397;margin:9px 0 25px}fieldset{padding:0;border:0;margin:0 0 26px}.ratios{display:flex;gap:8px}.ratio{flex:1;margin:0;cursor:pointer}.ratio input{position:absolute;opacity:0;pointer-events:none}.ratio>span{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:8px;padding:13px 5px;font-size:11px}.ratio input:checked+span{background:var(--soft);border-color:#a7b395;color:var(--accent)}.ratio input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.ratio small{font-size:9px;color:var(--muted)}.ratio i{border:1px solid currentColor;border-radius:2px;display:block}.square{width:13px;height:13px}.portrait{width:10px;height:15px}.landscape{width:15px;height:10px}.generate{width:100%}.composer-note{font-size:10px;color:#9c9f95;line-height:1.9;text-align:center;margin:21px 0 0}.results-heading{display:flex;align-items:center;justify-content:space-between;margin:4px 0 22px;gap:8px}.results-heading>.muted{font-size:10px}.empty{min-height:407px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #d9ded1;border-radius:18px;background:linear-gradient(140deg,#f1f3eb99,#fafbf766)}.empty-art{width:90px;height:100px;position:relative;display:grid;place-items:center;margin-bottom:19px}.empty-art:before,.empty-art:after{content:"";position:absolute;width:56px;height:72px;border:1px solid #c1cab5;border-radius:7px;background:#f6f8f1;transform:rotate(-13deg)}.empty-art:after{transform:rotate(10deg);background:#e9eee0;left:24px;top:11px}.empty-art span{z-index:1;font-size:27px;color:#8c9b78;margin-left:15px}.empty h3{font-size:13px;font-weight:500}.empty p{font-size:11px;color:var(--muted);margin:0 0 26px}.empty small{font-size:10px;color:#a0a397}.job{padding:20px;margin-bottom:20px}.job-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.job time{font-size:10px;color:var(--muted)}.job-progress{min-height:145px;display:flex;align-items:center;justify-content:center;gap:17px;border-radius:9px;background:#f7f8f4;margin-bottom:17px}.job-progress strong{font-size:13px;font-weight:500}.job-progress p{color:var(--muted);font-size:11px}.spinner{width:23px;height:23px;border:2px solid #dce2d3;border-top-color:var(--accent);border-radius:50%;animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.image-link{display:block;background:#f5f6f2;border-radius:10px;overflow:hidden}.image-link img{display:block;width:100%;max-height:650px;object-fit:contain}.job-prompt{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0}.job-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.job-meta{font-size:10px;color:var(--muted)}.download{font-size:11px;border-bottom:1px solid #a4b08f;padding-bottom:3px;color:var(--accent)}.error{color:#a05240;font-size:12px;line-height:1.8;white-space:pre-wrap}.error:empty{display:none}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:64px;padding:24px 0 30px;color:#a1a499;font-size:9px;letter-spacing:1px}@media(max-width:800px){header{height:70px;margin:0 22px}.header-note{font-size:10px}main{padding:40px 22px 0}h1{font-size:35px}.workspace{grid-template-columns:1fr;gap:32px}.composer{position:static}.intro{margin-bottom:30px}.login-card{padding:23px}.password-row{flex-direction:column}.password-row .primary{justify-content:center}.empty{min-height:290px}footer{gap:15px;font-size:8px;line-height:1.8}.results-heading{margin-bottom:15px}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}
.lora-panel{margin:0 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}
.lora-panel summary{cursor:pointer;font-size:12px;color:var(--accent);list-style-position:inside}
.lora-panel summary span{float:right;font-size:10px;color:var(--muted)}
.lora-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 16px}
.lora-toolbar p{font-size:10px;line-height:1.8;color:var(--muted);margin:0}
.lora-toolbar .text-button{font-size:10px;white-space:nowrap;padding:5px 0}
.lora-row{padding:10px 0;border-top:1px solid #eff0eb}
.lora-name label{font-size:11px;margin:0 0 3px}
.lora-name small{display:block;font-size:9px;color:var(--muted);overflow-wrap:anywhere;line-height:1.5}
.lora-controls{display:flex;align-items:center;gap:14px;margin-top:9px}
.lora-range{flex:1;min-width:0;accent-color:var(--accent);cursor:pointer}
.lora-number{width:68px;padding:7px 5px;border:1px solid var(--line);border-radius:6px;background:#fafbf8;font-size:11px;text-align:center}
.lora-number:invalid{border-color:#a05240}

.lora-description{margin:7px 0 3px;font-size:11px;line-height:1.75;color:#71776b}
.lora-source{font-size:9px;color:var(--accent);border-bottom:1px dotted #b8c2aa}

.example-card{display:grid;grid-template-columns:260px minmax(0,1fr);gap:30px;padding:24px;margin:0 0 34px;align-items:center}
.example-image-wrap{background:#eff0ea;border-radius:12px;overflow:hidden}
.example-image-wrap img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.example-content{min-width:0}
.example-content .eyebrow{font-size:14px;font-weight:500;line-height:1.6;letter-spacing:1px}
.example-content h2{font-size:22px;margin:12px 0 10px;line-height:1.5}
.example-description{font-size:12px;line-height:1.9;color:#72776c;margin:0 0 14px}
.example-prompt-details{margin-bottom:17px}
.example-prompt-details summary{font-size:12px;color:var(--accent);cursor:pointer}
.example-prompt{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;max-height:280px;overflow-y:auto;background:#f8f9f5;border:1px solid var(--line);border-radius:8px;margin-top:10px;padding:14px}
.example-content .primary{width:fit-content;max-width:100%}
.example-caption{font-size:10px;line-height:1.8;color:#94998b;margin:12px 0 0}
@media(max-width:650px){.example-card{grid-template-columns:1fr;gap:20px;padding:20px}.example-image-wrap{max-width:360px;width:100%;justify-self:center}.example-content h2{font-size:20px}.example-content .primary{width:100%}}

.workflow-card{padding:24px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:28px}.workflow-card h2{margin:10px 0}.workflow-card p{margin:0;max-width:650px}.workflow-select-wrap{min-width:260px}.workflow-select-wrap label{color:var(--muted)}select{font:inherit;background:#fafbf8;color:var(--ink);padding:13px;border:1px solid var(--line);border-radius:9px;width:100%;min-height:46px}select:focus{outline:2px solid var(--accent);outline-offset:2px}.field-footer{gap:15px}.field-footer #prompt-hint{max-width:230px;line-height:1.7}.field-footer #counter{white-space:nowrap}.size-note{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 0}.example-caption{overflow-wrap:anywhere}.example-image-wrap img{max-height:390px}@media(max-width:650px){.workflow-card{display:block;padding:20px}.workflow-select-wrap{min-width:0;margin-top:18px}.workflow-card p{font-size:11px}}

/* Full-resolution example preview */
.example-image-button{position:relative;display:block;width:100%;padding:0;border:0;color:inherit;cursor:zoom-in}
.example-image-button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.example-zoom-badge{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fffffff0;color:var(--ink);font-size:20px;box-shadow:0 2px 10px #0002;pointer-events:none}
body.preview-open{overflow:hidden}
.example-viewer{width:min(1200px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:0 24px 80px #0005}
.example-viewer::backdrop{background:#10140ee0}
.example-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--line);background:#fff}
.example-viewer-header h2{font-size:16px;line-height:1.5}
.example-viewer-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.example-viewer-actions button,.example-viewer-actions a{font:inherit;font-size:12px;line-height:1.5;white-space:nowrap;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:#fff;color:var(--ink)}
.example-viewer-actions button:hover,.example-viewer-actions a:hover{background:var(--soft)}
.example-viewer-actions :focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.example-viewer-stage{max-height:calc(100dvh - 120px);overflow:auto;overscroll-behavior:contain;padding:12px;background:#e9ebe5}
.example-viewer-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 144px);margin:auto;object-fit:contain}
.example-viewer-stage.is-zoomed img{max-width:none;max-height:none}
@media(max-width:650px){.example-viewer{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.example-viewer-header{flex-wrap:wrap;gap:10px;padding:12px}.example-viewer-header h2{font-size:15px;width:100%}.example-viewer-actions{width:100%;justify-content:flex-end;gap:8px}.example-viewer-actions button,.example-viewer-actions a{padding:8px 10px}.example-viewer-stage{max-height:calc(100dvh - 148px);padding:8px}.example-viewer-stage img{max-height:calc(100dvh - 164px)}}
