:root{--ink:#191a1c;--ink-soft:#353638;--paper:#f4f1ea;--paper-deep:#ebe6dc;--card:#fffdf9;--muted:#7b7871;--muted-light:#a7a39a;--line:#ddd8cd;--line-strong:#c9c2b5;--orange:#f46532;--orange-deep:#d94b1b;--orange-soft:#fff0e9;--green:#58a46a;--red:#d85342;--dark:#17181a;--dark-soft:#222326;--shadow:0 18px 55px #392d1b1a;--font-sans:"Avenir Next", Avenir, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;--font-serif:"Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif}*{box-sizing:border-box}html{background:var(--paper);min-width:320px}body{min-height:100vh;color:var(--ink);font-family:var(--font-sans);background:linear-gradient(#ffffff3d 1px, transparent 1px), linear-gradient(90deg, #ffffff3d 1px, transparent 1px), radial-gradient(circle at 15% 5%, #ffb77c2e, transparent 30%), radial-gradient(circle at 88% 80%, #e8b46424, transparent 32%), var(--paper);background-size:32px 32px,32px 32px,auto,auto,auto;margin:0;overflow-x:hidden}button,input,textarea,select{font:inherit}button,summary,label{-webkit-tap-highlight-color:transparent}button{color:inherit}button:not(:disabled),summary{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}[hidden]{display:none!important}svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.ambient{z-index:-1;filter:blur(4px);pointer-events:none;border-radius:999px;position:fixed}.ambient-one{background:#f19b551f;width:420px;height:420px;top:-155px;right:10%}.ambient-two{background:#c9ac7c24;width:520px;height:520px;bottom:-240px;left:-110px}.app-shell{width:min(1480px,100% - 40px);margin:0 auto;padding:18px 0 26px}.topbar{justify-content:space-between;align-items:center;gap:24px;min-height:66px;padding:0 4px 16px;display:flex}.brand{color:inherit;align-items:center;gap:12px;text-decoration:none;display:inline-flex}.brand-mark{color:#fff8ef;background:var(--ink);border-radius:13px;place-items:center;width:43px;height:43px;display:grid;box-shadow:0 8px 20px #191a1c24}.brand-mark svg{width:27px;height:27px}.brand-type{flex-direction:column;line-height:1;display:flex}.brand-type strong{letter-spacing:.04em;font-size:19px;font-weight:750}.brand-type sup{color:var(--orange);letter-spacing:0;margin-left:2px;font-size:10px;position:relative;top:-.2em}.brand-type small{color:var(--muted);letter-spacing:.25em;margin-top:7px;font-size:8px;font-weight:700}.topbar-actions{align-items:center;gap:10px;display:flex}.save-pill{color:#646158;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffdf9ad;border:1px solid #d5cec2cc;border-radius:999px;align-items:center;gap:8px;min-height:37px;padding:0 14px;font-size:11px;font-weight:600;display:inline-flex}.save-pill.is-saving .save-dot{background:var(--orange);animation:.8s infinite alternate pulse}.save-dot{background:var(--green);border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 3px #58a46a1f}.button{border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 17px;font-size:12px;font-weight:650;transition:all .16s;display:inline-flex}.button svg{width:17px;height:17px}.button-quiet{border-color:var(--line);background:#fffdf9c7}.button-quiet:hover{background:var(--card);border-color:var(--line-strong);transform:translateY(-1px)}.button-primary{color:#fff;background:var(--ink);min-height:45px;padding:0 20px}.button-primary:hover{background:#303134;transform:translateY(-1px)}.button-light{color:var(--ink);background:#fff;border-color:#fff9}.button-light:hover{background:#f9f5ed}.settings-trigger svg{stroke-width:1.5px}.studio-grid{grid-template-columns:minmax(390px,458px) minmax(0,1fr);align-items:stretch;gap:18px;display:grid}.control-panel{box-shadow:var(--shadow);background:#fffdf9f0;border:1px solid #dad3c7e6;border-radius:27px;padding:31px 31px 25px;position:relative}.hero-copy{margin-bottom:25px}.eyebrow,.section-kicker{color:var(--orange-deep);letter-spacing:.2em;font-size:9px;font-weight:750}.eyebrow{align-items:center;gap:8px;margin-bottom:14px;display:flex}.eyebrow span{background:var(--orange);width:24px;height:1px}.hero-copy h1{font-family:var(--font-serif);letter-spacing:-.055em;margin:0;font-size:clamp(38px,3.1vw,48px);font-weight:500;line-height:.98}.hero-copy h1 em{color:var(--orange);font-weight:500}.hero-copy p{max-width:355px;color:var(--muted);margin:15px 0 0;font-size:12px;line-height:1.75}.mode-switch{background:#eeebe4;border:1px solid #e7e2d8;border-radius:14px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:19px;padding:4px;display:grid}.mode-button{color:#7b7770;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;font-size:12px;font-weight:650;transition:all .16s;display:flex}.mode-button svg{width:17px;height:17px}.mode-button.is-active{color:var(--ink);background:var(--card);box-shadow:0 3px 12px #382f2314}.mode-button:not(.is-active):hover{color:var(--ink-soft)}.field-label-row{justify-content:space-between;align-items:center;gap:15px;display:flex}.field-label,.field-title{color:#45433e;letter-spacing:.01em;font-size:11px;font-weight:700}.field-label-row>span:last-child,.field-note{color:var(--muted-light);font-size:9px;line-height:1.45}.upload-section{margin-bottom:18px}.upload-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:9px;display:grid}.upload-tile{min-height:102px;color:var(--muted);border:1px dashed var(--line-strong);background:#f5f2eb;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:5px;transition:all .16s;display:flex}.upload-tile:hover{color:var(--orange-deep);background:var(--orange-soft);border-color:#f465328c}.upload-tile svg{width:22px;height:22px;margin-bottom:2px}.upload-tile span{font-size:10px;font-weight:650}.upload-tile small{color:var(--muted-light);font-size:7px}.upload-tile.has-image{border-style:solid;padding:0;overflow:hidden}.upload-preview{aspect-ratio:1;border:1px solid var(--line);background:#e9e5dc;border-radius:12px;width:100%;min-height:116px;position:relative;overflow:hidden}.upload-preview img{object-fit:cover;width:100%;height:100%}.upload-preview .remove-upload{color:#fff;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#141516b8;border:0;border-radius:50%;place-items:center;width:22px;height:22px;padding:0;display:grid;position:absolute;top:6px;right:6px}.remove-upload svg{width:11px;height:11px}.field-hint{color:var(--muted-light);margin:8px 0 0;font-size:9px;line-height:1.5}.prompt-section{margin-bottom:22px}.prompt-wrap{margin-top:9px;position:relative}.prompt-wrap textarea{width:100%;min-height:126px;color:var(--ink);resize:vertical;background:#f5f2eb;border:1px solid #e2ddd3;border-radius:13px;outline:0;padding:15px 45px 31px 15px;font-size:13px;line-height:1.7;transition:all .16s}.prompt-wrap textarea::placeholder{color:#aaa59b}.prompt-wrap textarea:focus{background:#fffdfa;border-color:#f465327a;box-shadow:0 0 0 3px #f4653214}.dice-button{color:#8e8a82;background:#ffffffb3;border:1px solid #e6e0d5;border-radius:8px;place-items:center;width:28px;height:28px;padding:0;transition:all .16s;display:grid;position:absolute;bottom:9px;right:10px}.dice-button:hover{color:var(--orange-deep);background:#fff;transform:rotate(-5deg)}.dice-button svg{width:16px;height:16px}.suggestion-row{scrollbar-width:none;gap:6px;margin-top:8px;display:flex;overflow-x:auto}.suggestion-row::-webkit-scrollbar{display:none}.suggestion-chip{color:#6e6a62;text-overflow:ellipsis;white-space:nowrap;background:#f8f5ef;border:1px solid #e8e2d7;border-radius:999px;flex:none;max-width:190px;padding:7px 10px;font-size:9px;transition:all .16s;overflow:hidden}.suggestion-chip:hover{color:var(--orange-deep);background:var(--orange-soft);border-color:#f4c6b5}.parameter-block{border-top:1px solid #e8e3d9;padding-top:20px}.section-heading{justify-content:space-between;align-items:flex-end;margin-bottom:12px;display:flex}.section-heading h2{letter-spacing:-.02em;margin:3px 0 0;font-size:14px;font-weight:700}.text-button{color:#8e8a82;background:0 0;border:0;padding:0;font-size:9px;font-weight:600}.text-button:hover{color:var(--orange-deep)}.field-card{background:#faf7f1;border:1px solid #e8e2d8;border-radius:12px;flex-direction:column;gap:7px;padding:12px 13px;transition:all .16s;display:flex;position:relative}.field-card:focus-within{background:#fffdfa;border-color:#f4653266;box-shadow:0 0 0 3px #f465320f}.model-card{margin-bottom:8px}.model-input-wrap{position:relative}.model-input-wrap input,.compact-card select{width:100%;color:var(--ink);appearance:none;background:0 0;border:0;outline:0;padding:0;font-size:12px;font-weight:650}.model-input-wrap input{padding-right:22px}.model-input-wrap>svg,.compact-card>svg{width:14px;height:14px;color:var(--muted-light);pointer-events:none;position:absolute;bottom:12px;right:12px}.size-card{gap:10px;margin-bottom:8px}.size-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.size-option{color:#78746c;background:0 0;border:1px solid #0000;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:74px;padding:7px 3px;transition:all .15s;display:flex}.size-option:hover{background:#f4f0e8}.size-option.is-active{color:var(--orange-deep);background:var(--orange-soft);border-color:#f4653259}.size-option>span:nth-child(2){font-size:10px;font-weight:700}.size-option small{color:#a6a198;font-size:8px}.size-option.is-active small{color:#b96d4e}.ratio-icon{background:0 0;border:1.5px solid;border-radius:2px;margin-bottom:3px;display:block}.ratio-square{width:17px;height:17px}.ratio-landscape{width:23px;height:15px}.ratio-portrait{width:15px;height:22px}.ratio-custom{border-style:dashed;place-items:center;width:21px;height:18px;font-size:11px;line-height:1;display:grid}.custom-size-row{border-top:1px solid #e8e1d6;align-items:center;gap:10px;padding-top:9px;display:flex}.custom-size-row input{width:125px;color:var(--ink);border:1px solid var(--line);background:#fffdfa;border-radius:8px;outline:0;padding:8px 9px;font-size:11px}.custom-size-row input:focus{border-color:#f4653280}.custom-size-row span{color:var(--muted-light);font-size:9px}.parameter-row{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px;display:grid}.parameter-row:last-child{margin-bottom:0}.compact-card{justify-content:space-between;min-height:64px}.stepper{background:#f1ede5;border:1px solid #e3ddd2;border-radius:7px;grid-template-columns:23px 1fr 23px;align-items:center;gap:2px;width:84px;height:25px;margin-top:-2px;display:grid}.stepper button{color:#77736b;background:0 0;border:0;border-radius:6px;place-items:center;width:23px;height:23px;padding:0;font-size:13px;line-height:1;display:grid}.stepper button:hover{color:var(--ink);background:#fff}.stepper input{width:100%;color:var(--ink);text-align:center;appearance:textfield;background:0 0;border:0;outline:0;padding:0;font-size:11px;font-weight:700}.stepper input::-webkit-inner-spin-button{appearance:none;margin:0}.stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.advanced-panel{background:#f7f4ee;border:1px solid #e5dfd4;border-radius:12px;margin-top:7px}.advanced-panel summary{color:#5f5c55;justify-content:space-between;align-items:center;min-height:40px;padding:0 13px;font-size:10px;font-weight:700;list-style:none;display:flex}.advanced-panel summary::-webkit-details-marker{display:none}.advanced-panel summary>span{align-items:center;gap:7px;display:flex}.advanced-panel summary svg{width:15px;height:15px}.advanced-panel .chevron{color:#9c978e;transition:transform .18s}.advanced-panel[open] .chevron{transform:rotate(180deg)}.advanced-inner{padding:2px 9px 9px}.advanced-inner .field-card{background:#fffdfa}.advanced-inner .parameter-row{margin-bottom:7px}.compression-card{background:#fffdfa;border:1px solid #e8e2d8;border-radius:10px;margin-bottom:7px;padding:10px 11px}.compression-card output{color:var(--orange-deep);font-size:9px;font-weight:700}.compression-card input[type=range]{width:100%;height:3px;accent-color:var(--orange);margin:12px 0 5px}.range-labels{color:#aaa49a;justify-content:space-between;font-size:8px;display:flex}.moderation-card{margin-bottom:7px}.json-card{background:#fffdfa;border:1px solid #e8e2d8;border-radius:10px;flex-direction:column;gap:6px;padding:10px 11px;display:flex}.json-card .field-title small{color:var(--muted-light);font-size:8px;font-weight:500}.json-card textarea{color:#4a4740;resize:vertical;background:#f7f4ee;border:1px solid #e7e0d5;border-radius:7px;outline:0;width:100%;min-height:57px;padding:8px;font-family:SFMono-Regular,Consolas,monospace;font-size:9px;line-height:1.55}.json-card textarea:focus{background:#fff;border-color:#f4653266}.json-error{color:var(--red);font-size:8px;line-height:1.4}.submit-area{margin-top:19px}.generate-button{color:#fff;text-align:left;background:radial-gradient(circle at 95% 10%, #f4653240, transparent 30%), var(--ink);border:1px solid #2d2e30;border-radius:15px;align-items:center;gap:11px;width:100%;min-height:63px;padding:9px 16px;transition:all .18s;display:flex;box-shadow:0 11px 25px #191a1c24}.generate-button:hover{transform:translateY(-2px);box-shadow:0 15px 28px #191a1c2e}.generate-button:active{transform:translateY(0)}.generate-button.is-loading{pointer-events:none}.generate-icon{color:#fff3e9;background:var(--orange);border-radius:10px;flex:none;place-items:center;width:37px;height:37px;display:grid}.generate-icon svg{width:21px;height:21px}.generate-label{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.generate-label strong{font-size:13px;font-weight:700}.generate-label small{color:#9d9b97;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.shortcut-hint{color:#77787b;letter-spacing:.05em;font-size:9px}.submit-footnote{color:#a29e95;justify-content:space-between;gap:14px;margin-top:9px;padding:0 3px;font-size:8px;display:flex}.submit-footnote span{align-items:center;gap:4px;min-width:0;display:flex}.submit-footnote span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.submit-footnote svg{width:11px;height:11px}.workspace-panel{color:#f7f3ed;background:radial-gradient(circle at 74% 22%,#f465321a,#0000 27%),radial-gradient(circle at 12% 88%,#eebf7414,#0000 26%),linear-gradient(145deg,#1b1c1f,#131416 72%);border:1px solid #2b2c2f;border-radius:27px;flex-direction:column;min-width:0;min-height:780px;display:flex;position:relative;overflow:hidden;box-shadow:0 22px 65px #221d142b}.workspace-panel:before{opacity:.2;content:"";pointer-events:none;background-image:radial-gradient(#ffffff1c .7px,#0000 .7px);background-size:17px 17px;position:absolute;inset:0}.workspace-header,.workspace-footer{z-index:1;justify-content:space-between;align-items:center;display:flex;position:relative}.workspace-header{border-bottom:1px solid #ffffff12;min-height:77px;padding:0 27px}.workspace-heading{align-items:center;gap:12px;display:flex}.live-dot{background:var(--orange);border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 5px #f465321a,0 0 17px #f4653299}.workspace-heading h2{margin:0 0 3px;font-size:13px;font-weight:650}.workspace-heading p{color:#717276;letter-spacing:.03em;margin:0;font-size:8px}.clear-button{color:#87888b;background:#ffffff0a;border:1px solid #ffffff14;border-radius:9px;align-items:center;gap:6px;padding:7px 10px;font-size:9px;display:inline-flex}.clear-button:hover{color:#fff;background:#ffffff14}.clear-button svg{width:13px;height:13px}.workspace-content{z-index:1;flex:1;min-height:0;display:flex;position:relative}.empty-state,.loading-state,.error-state{flex-direction:column;justify-content:center;align-items:center;width:100%;padding:40px;display:flex}.empty-state{gap:28px}.empty-art{width:250px;height:225px;position:relative;transform:translateY(-3px)}.orbit{border:1px solid #ffffff14;border-radius:50%;position:absolute}.orbit-one{inset:4px 11px 11px 3px;transform:rotate(-17deg)}.orbit-two{border-color:#f4653226;inset:31px 32px 30px 29px}.canvas-card{border-radius:17px;width:178px;height:150px;position:absolute;top:32px;left:43px;overflow:hidden;box-shadow:0 20px 42px #00000038}.canvas-card-back{background:linear-gradient(135deg,#3a3b3f,#252629);border:1px solid #ffffff1c;transform:rotate(-8deg)translate(-14px,15px)}.canvas-card-front{background:linear-gradient(155deg,#f7d28c 0%,#eaa36c 41%,#ce5d42 100%);border:1px solid #ffffff42;transform:rotate(5deg)}.art-sun{background:#fff4d5e6;border-radius:50%;width:36px;height:36px;position:absolute;top:26px;right:27px;box-shadow:0 0 31px #fff5d773}.art-hill{border-radius:50% 50% 0 0;display:block;position:absolute}.art-hill-one{background:#8c493d;width:193px;height:136px;bottom:-62px;left:-34px;transform:rotate(10deg)}.art-hill-two{background:#5f3431;width:195px;height:124px;bottom:-55px;right:-61px;transform:rotate(-16deg)}.art-star{color:#fff5dc;font-family:serif;font-size:17px;position:absolute;top:22px;left:25px}.empty-copy{text-align:center;max-width:335px}.empty-label{color:#75767a;letter-spacing:.21em;font-size:8px;font-weight:750}.empty-copy h3,.loading-copy h3,.error-state h3{font-family:var(--font-serif);letter-spacing:-.03em;margin:9px 0 8px;font-size:25px;font-weight:500}.empty-copy p,.loading-copy p,.error-state p{color:#7f8084;margin:0 auto;font-size:10px;line-height:1.75}.empty-copy .button{margin-top:18px}.loading-state{gap:20px}.loading-visual{place-items:center;width:154px;height:154px;display:grid;position:relative}.loading-ring{border-radius:50%;display:block;position:absolute}.ring-a{border:1px solid #f4653226;border-top-color:var(--orange);animation:2.4s linear infinite spin;inset:0}.ring-b{border:1px dashed #ffffff24;animation:5s linear infinite spin-reverse;inset:18px}.loading-glyph{color:#fff1e7;background:radial-gradient(circle at 30% 30%, #ffffff3b, transparent 45%), var(--orange);border-radius:20px;place-items:center;width:63px;height:63px;font-size:25px;animation:2s ease-in-out infinite breathe;display:grid;box-shadow:0 14px 40px #f4653242}.loading-copy{text-align:center;width:min(340px,90%)}.loading-track{background:#ffffff14;border-radius:999px;width:100%;height:2px;margin-top:22px;overflow:hidden}.loading-track span{background:linear-gradient(90deg, transparent, var(--orange), transparent);width:40%;height:100%;animation:1.9s ease-in-out infinite loading-track;display:block}.cancel-button{color:#77787b;margin-top:16px}.error-state{gap:8px}.error-icon{color:#f6c3b5;width:52px;height:52px;font-family:var(--font-serif);background:#d853421f;border:1px solid #d8534247;border-radius:50%;place-items:center;margin-bottom:10px;font-size:25px;display:grid}.error-state p{color:#b48c83;max-width:480px;margin-bottom:14px}.results-area{width:100%;padding:20px;overflow:auto}.results-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px;display:grid}.result-card{background:#ffffff0b;border:1px solid #ffffff17;border-radius:15px;flex-direction:column;min-width:0;animation:.42s both rise-in;display:flex;position:relative;overflow:hidden}.result-image-wrap{background-color:#222326;background-image:linear-gradient(45deg,#282a2d 25%,#0000 25%),linear-gradient(-45deg,#282a2d 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#282a2d 75%),linear-gradient(-45deg,#0000 75%,#282a2d 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;place-items:center;width:100%;min-height:210px;display:grid;position:relative;overflow:hidden}.result-image-wrap img{object-fit:contain;width:100%;height:auto;max-height:620px;display:block}.result-image-button{z-index:1;background:0 0;border:0;padding:0;position:absolute;inset:0}.result-image-button:focus-visible{outline:2px solid var(--orange);outline-offset:-3px}.result-hover-actions{z-index:2;opacity:0;gap:6px;transition:all .16s;display:flex;position:absolute;top:10px;right:10px;transform:translateY(-4px)}.result-card:hover .result-hover-actions,.result-card:focus-within .result-hover-actions{opacity:1;transform:translateY(0)}.result-icon-button{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0e0f11a8;border:1px solid #ffffff21;border-radius:9px;place-items:center;width:31px;height:31px;padding:0;display:grid}.result-icon-button:hover{background:#f46532e0}.result-icon-button svg{width:14px;height:14px}.result-info{justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;display:flex}.result-info-text{min-width:0}.result-info strong{color:#d8d5cf;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:650;display:block;overflow:hidden}.result-info small{color:#6f7074;margin-top:4px;font-size:8px;display:block}.reuse-prompt{color:#9f9d98;background:#ffffff0a;border:1px solid #ffffff12;border-radius:7px;flex:none;padding:6px 8px;font-size:8px}.reuse-prompt:hover{color:#fff;background:#ffffff17}.workspace-footer{color:#55565a;letter-spacing:.14em;border-top:1px solid #ffffff0f;min-height:47px;padding:0 27px;font-size:7px}.footer-line{background:#343538;width:22px;height:1px;margin:0 auto 0 0}.footer-version{margin-left:auto}dialog{color:var(--ink)}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1211108c}.settings-dialog{background:var(--card);border:1px solid #ffffff8c;border-radius:22px;width:min(520px,100% - 30px);max-height:min(820px,100vh - 30px);padding:0;animation:.22s both dialog-in;box-shadow:0 30px 90px #00000052}.dialog-header{border-bottom:1px solid #ebe5da;justify-content:space-between;align-items:flex-start;gap:20px;padding:26px 26px 20px;display:flex}.dialog-header h2{font-family:var(--font-serif);letter-spacing:-.035em;margin:5px 0 6px;font-size:28px;font-weight:500}.dialog-header p{color:var(--muted);margin:0;font-size:10px}.icon-button{color:#77736c;background:#f4f0e9;border:1px solid #e6dfd4;border-radius:9px;place-items:center;width:34px;height:34px;padding:0;display:grid}.icon-button:hover{color:var(--ink);background:#fff}.icon-button svg{width:16px;height:16px}.dialog-body{padding:21px 26px 24px}.dialog-field{flex-direction:column;gap:7px;margin-bottom:17px;display:flex}.dialog-field>span{color:#4b4842;font-size:10px;font-weight:700}.dialog-field>span em{color:var(--muted-light);font-size:8px;font-style:normal;font-weight:500}.dialog-field input,.dialog-field textarea,.dialog-field select{width:100%;color:var(--ink);background:#f7f4ee;border:1px solid #e2dcd1;border-radius:10px;outline:0;padding:11px 12px;font-size:11px;transition:all .16s}.dialog-field textarea{resize:vertical;min-height:75px;font-family:SFMono-Regular,Consolas,monospace;font-size:9px;line-height:1.6}.dialog-field input:focus,.dialog-field textarea:focus,.dialog-field select:focus{background:#fff;border-color:#f465327a;box-shadow:0 0 0 3px #f4653212}.dialog-field small{color:var(--muted-light);font-size:8px;line-height:1.55}.dialog-field code{background:#ece7dd;border-radius:3px;padding:1px 3px;font-size:8px}.password-wrap{position:relative}.password-wrap input{padding-right:42px}.password-wrap button{color:#8d8981;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-wrap button:hover{color:var(--ink);background:#ebe6dc}.password-wrap button svg{width:16px;height:16px}.password-wrap .eye-closed,.password-wrap.is-visible .eye-open{display:none}.password-wrap.is-visible .eye-closed{display:block}.security-note{color:#75544a;background:#fff3ec;border:1px solid #f3d8ca;border-radius:11px;gap:11px;margin-top:3px;padding:12px 13px;display:flex}.security-note>svg{width:18px;height:18px;color:var(--orange-deep);flex:none;margin-top:1px}.security-note div{flex-direction:column;gap:3px;display:flex}.security-note strong{font-size:9px}.security-note span{color:#a07466;font-size:8px;line-height:1.5}.connection-result{color:#477653;background:#edf7ef;border:1px solid #d4ead9;border-radius:9px;margin-top:12px;padding:9px 11px;font-size:9px;line-height:1.5}.connection-result.is-error{color:#9e3f32;background:#fff0ed;border-color:#f1d1ca}.dialog-actions{border-top:1px solid #ebe5da;justify-content:space-between;align-items:center;gap:20px;margin-top:21px;padding-top:19px;display:flex}.dialog-actions>div{gap:8px;display:flex}.dialog-secondary-actions{align-items:center}.danger-text{color:var(--red);font-size:9px}.danger-text:hover{color:#a83327}.lightbox-dialog{background:#141517;border:1px solid #ffffff1f;border-radius:20px;width:min(1180px,100% - 30px);max-width:none;height:min(860px,100vh - 30px);max-height:none;padding:0;animation:.22s both dialog-in;overflow:hidden;box-shadow:0 35px 100px #00000073}.lightbox-shell{flex-direction:column;width:100%;height:100%;display:flex}.lightbox-toolbar{color:#f4f1eb;border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:center;gap:20px;min-height:64px;padding:0 18px 0 22px;display:flex}.lightbox-toolbar strong{font-size:11px;display:block}.lightbox-toolbar span{color:#6f7074;margin-top:4px;font-size:8px;display:block}.lightbox-actions{gap:7px;display:flex}.lightbox-actions .icon-button{color:#b7b5b0;background:#ffffff0d;border-color:#ffffff14;text-decoration:none}.lightbox-actions .icon-button:hover{color:#fff;background:#ffffff1a}.lightbox-canvas{background-image:linear-gradient(45deg,#191a1c 25%,#0000 25%),linear-gradient(-45deg,#191a1c 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#191a1c 75%),linear-gradient(-45deg,#0000 75%,#191a1c 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;flex:1;place-items:center;min-height:0;padding:18px;display:grid;overflow:auto}.lightbox-canvas img{object-fit:contain;border-radius:7px;max-width:100%;max-height:100%;display:block}.toast-region{z-index:100;pointer-events:none;flex-direction:column;align-items:flex-end;gap:8px;display:flex;position:fixed;bottom:22px;right:22px}.toast{color:#f7f3ed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#1b1c1ff0;border:1px solid #ffffff1a;border-radius:10px;align-items:center;gap:9px;max-width:360px;padding:11px 14px;font-size:10px;line-height:1.5;animation:.22s both toast-in;display:flex;box-shadow:0 15px 38px #0003}.toast:before{background:var(--green);content:"";border-radius:50%;flex:none;width:6px;height:6px}.toast.is-error:before{background:var(--red)}:focus-visible{outline:2px solid var(--orange);outline-offset:2px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes spin-reverse{to{transform:rotate(-360deg)}}@keyframes breathe{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes pulse{to{opacity:.45}}@keyframes loading-track{0%{transform:translate(-110%)}to{transform:translate(360%)}}@keyframes rise-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes dialog-in{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (width<=1120px){.studio-grid{grid-template-columns:minmax(350px,410px) minmax(0,1fr)}.control-panel{padding:27px 24px 23px}.hero-copy h1{font-size:40px}}@media (width<=900px){.app-shell{width:min(720px,100% - 28px);padding-top:14px}.studio-grid{grid-template-columns:1fr}.workspace-panel{min-height:620px}.control-panel{padding:28px}.hero-copy h1{font-size:45px}}@media (width<=620px){.app-shell{width:min(100% - 20px,560px);padding:10px 0 18px}.topbar{gap:10px;min-height:60px;padding:0 2px 12px}.brand-mark{width:38px;height:38px}.brand-type strong{font-size:16px}.brand-type small{margin-top:5px;font-size:7px}.save-pill{display:none}.settings-trigger{min-height:38px;padding:0 12px}.control-panel,.workspace-panel{border-radius:20px}.control-panel{padding:24px 18px 20px}.hero-copy h1{font-size:39px}.size-options{gap:2px}.size-option{min-height:67px;padding:6px 2px}.parameter-row{grid-template-columns:1fr}.upload-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.upload-tile{min-height:83px}.upload-tile small{display:none}.workspace-panel{min-height:540px}.workspace-header{min-height:67px;padding:0 19px}.workspace-footer{padding:0 19px}.empty-state,.loading-state,.error-state{padding:28px 20px}.empty-art{width:220px;height:202px;transform:scale(.9)}.results-area{padding:12px}.results-grid{grid-template-columns:1fr}.dialog-header{padding:22px 19px 17px}.dialog-body{padding:18px 19px 20px}.dialog-actions{flex-direction:column;align-items:flex-start}.dialog-actions>div{justify-content:flex-end;width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
