:root{color-scheme:dark;--gen-bg:#111113;--gen-panel:#19181e;--gen-line:#343139;--gen-muted:#a9a6b4;--gen-text:#f4f2f7;--gen-accent:#b49aff}*{box-sizing:border-box}body{margin:0;background:var(--gen-bg);color:var(--gen-text);font-family:Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gen-accent);outline-offset:4px}a{color:var(--gen-accent)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;z-index:100;background:var(--gen-accent);color:#17121f;padding:12px}.skip-link:focus{top:16px}.gen-page{max-width:1600px;padding:45px 48px 90px;margin:auto}.gen-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.gen-back{font-size:13px;color:var(--gen-muted);text-decoration:none}.gen-heading h1{font-size:clamp(30px,3.3vw,49px);font-weight:500;letter-spacing:-1.8px;line-height:1.12;margin:21px 0 12px;display:flex;align-items:center;gap:14px}.gen-beta{font-size:10px;letter-spacing:1px;font-weight:600;color:#ccb8ff;border:1px solid #5a486e;border-radius:5px;padding:5px 7px;align-self:flex-start;margin-top:5px}.gen-heading p{color:var(--gen-muted);font-size:16px;line-height:1.6;margin:0}.gen-access{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.gen-private{font-size:10px;letter-spacing:1.3px;color:#b5adca;display:flex;align-items:center;gap:8px;white-space:nowrap}.gen-private i{width:6px;height:6px;border-radius:50%;background:var(--gen-accent)}.gen-text-button{color:var(--gen-accent);border:0;background:none;font-size:12px;padding:5px 0}.gen-workspace{display:grid;grid-template-columns:minmax(320px,430px) minmax(0,1fr);border:1px solid var(--gen-line);border-radius:19px;overflow:hidden;background:#151417}.gen-editor{padding:25px;border-right:1px solid var(--gen-line)}.gen-mode{display:flex;gap:4px;padding:4px;border:1px solid #302c36;background:#100f12;border-radius:10px;margin-bottom:24px}.gen-mode button{flex:1;color:var(--gen-muted);background:none;border:0;border-radius:7px;padding:12px 7px;font-size:13px;white-space:nowrap}.gen-mode button[aria-pressed=true]{background:#32283f;color:#e0d3ff}.gen-label{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#e4e0ec;margin-bottom:11px}.gen-label span{color:#777180;font-size:10px}#gen-prompt{display:block;width:100%;min-height:174px;resize:vertical;max-height:460px;border:1px solid #3a3540;border-radius:10px;padding:15px;background:#1c1a20;color:var(--gen-text);font-size:14px;line-height:1.65}#gen-prompt::placeholder{color:#80798b}.gen-upload{border:1px dashed #45404c;border-radius:10px;margin:16px 0}.gen-upload[data-dragging]{border-color:var(--gen-accent);background:#27202f}#gen-choose-file{display:flex;gap:12px;text-align:left;align-items:center;background:none;border:0;color:#d4cedf;width:100%;padding:15px;font-size:13px}.gen-upload-icon{font-size:22px;color:var(--gen-accent);font-weight:300}.gen-upload small{display:block;color:#81798f;font-size:11px;margin-top:5px}.gen-source-preview{padding:12px;display:flex;align-items:center;gap:12px}.gen-source-preview img{width:66px;height:66px;object-fit:contain;border-radius:5px;background:#0d0c10}.gen-source-preview>div{min-width:0}.gen-source-preview strong{display:block;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.gen-source-preview small{font-size:10px;color:var(--gen-muted)}.gen-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.gen-settings label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#aaa3b6}.gen-settings select{background:#201d26;border:1px solid #3b3544;border-radius:8px;color:#e6e0f1;width:100%;padding:11px 9px;font-size:12px}.gen-consent{font-size:11px;line-height:1.65;color:#948ba2;border-top:1px solid #302b37;padding-top:14px}.gen-consent p{margin:0 0 9px}.gen-consent label{display:flex;gap:9px;align-items:flex-start;color:#bbb3c8}.gen-consent input{accent-color:var(--gen-accent);margin:3px 0;flex:none}.gen-primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:1px solid var(--gen-accent);background:var(--gen-accent);color:#181121;font-size:13px;font-weight:600;text-decoration:none;border-radius:9px;padding:14px 18px}.gen-primary:hover{background:#c1adff}.gen-submit{width:100%;justify-content:space-between;margin-top:17px}.gen-quota{display:flex;justify-content:space-between;gap:9px;color:#b0a5c1;font-size:10px;margin:12px 0 0;min-height:12px}.gen-cost-note{font-size:10px;color:#807789;line-height:1.6;margin:13px 0 0}.gen-output{padding:25px 28px;min-width:0;display:flex;flex-direction:column}.gen-output-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.gen-output-top h2{font-weight:400;font-size:14px;margin:0}.gen-output-top>span{font-size:10px;color:#948ba2;border:1px solid #39313f;border-radius:5px;padding:6px 8px}.gen-stage{position:relative;min-height:400px;flex:1;display:flex;align-items:center;justify-content:center;background:#100f12;border:1px solid #29252f;border-radius:12px;overflow:hidden}.gen-empty{padding:44px 25px;text-align:center;max-width:400px}.gen-empty-art{position:relative;width:115px;height:115px;margin:0 auto 27px;display:grid;place-items:center;background:radial-gradient(circle,#3c2d58 0,transparent 66%)}.gen-empty-art span{color:#b29adf;font-size:52px;font-family:Georgia,serif}.gen-empty-art i{position:absolute;width:17px;height:17px;border-color:#76648f;border-style:solid;border-width:1px 0 0 1px;top:5px;left:5px}.gen-empty-art i:nth-of-type(2){left:auto;right:5px;transform:rotate(90deg)}.gen-empty-art i:nth-of-type(3){top:auto;bottom:5px;left:auto;right:5px;transform:rotate(180deg)}.gen-empty-art i:nth-of-type(4){top:auto;bottom:5px;transform:rotate(270deg)}.gen-empty h3{font-size:18px;font-weight:400;letter-spacing:-.3px;margin:0 0 13px}.gen-empty p{color:#82798f;font-size:12px;line-height:1.7;margin:0}.gen-stage>img{display:block;width:100%;height:auto;max-height:660px;object-fit:contain}.gen-loading{padding:40px;display:flex;flex-direction:column;gap:20px;align-items:center;color:#b7a7ce}.gen-loading strong{font-size:14px;font-weight:400}.gen-loading>span:last-child{font-size:12px;color:#81718e;font-variant-numeric:tabular-nums}.gen-spinner{width:32px;height:32px;border:1.5px solid #3a2b4c;border-top-color:var(--gen-accent);border-radius:50%;animation:gen-spin 1.2s linear infinite}@keyframes gen-spin{to{transform:rotate(360deg)}}.gen-result-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;min-height:49px;margin-top:18px}.gen-result-actions>button:not(.gen-text-button){border:1px solid #51445f;background:none;color:#d5c5e9;border-radius:9px;padding:13px;font-size:12px}.gen-result-actions #gen-reset{margin-left:auto;font-size:11px}.gen-status{font-size:12px;line-height:1.6;color:#b5a6c9;margin:11px 0 0}.gen-error{font-size:12px;line-height:1.65;padding:12px 14px;border:1px solid #69434f;background:#2c1b23;border-radius:8px;color:#f2b9ca;overflow-wrap:anywhere}.gen-source-link{font-size:11px;border-left:2px solid #9270c4;padding-left:11px;margin-bottom:18px;display:flex;flex-direction:column;gap:7px;color:#9c91ac}.gen-parent{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 14px;margin:16px 0;border:1px solid #4e3b65;border-radius:8px;color:#c8b8e0;font-size:11px}.gen-notice{font-size:13px;line-height:1.6;padding:15px 19px;background:#211b2c;border:1px solid #4e3b67;color:#c6b5e0;border-radius:11px;margin:0 0 20px}.gen-login{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 25px;background:#1d1923;border:1px solid #493654;border-radius:12px;margin-bottom:23px}.gen-login h2{font-size:17px;font-weight:500;margin:0 0 8px}.gen-login p{font-size:12px;line-height:1.6;color:#a99cb7;max-width:460px;margin:0}.gen-login-fields{display:flex;gap:10px}.gen-login input{min-width:0;width:215px;border:1px solid #4b3b5e;background:#151019;padding:12px 14px;border-radius:8px;color:var(--gen-text);font-size:12px}.gen-samples{margin:32px 0 40px}.gen-samples h2,.gen-history h2{font-size:16px;font-weight:400;margin:0 0 17px}.gen-samples>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.gen-samples button{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid #36303e;border-radius:10px;padding:17px 19px;background:#18151d;color:#bfb2d1;font-size:12px}.gen-samples button>span{font-family:Georgia,serif;font-size:22px;color:#c5a7f0}.gen-samples button>i{margin-left:auto;color:#766286;font-style:normal}.gen-samples button:hover{border-color:#877099}.gen-history{padding-top:30px;border-top:1px solid #302b36}.gen-history-heading{display:flex;justify-content:space-between;gap:20px;align-items:baseline}.gen-history-heading p{color:#81758e;font-size:11px;line-height:1.6;margin:0}.gen-history-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.gen-history-empty{font-size:13px;color:#83788f;grid-column:1/-1}.gen-history-item{padding:0;overflow:hidden;background:#19151f;border:1px solid #3b3048;border-radius:10px;color:#b9a9ca;text-align:left}.gen-history-item img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#100d15}.gen-history-item>div{height:95px;display:grid;place-items:center;font-size:22px;color:#766583}.gen-history-item>span{display:block;padding:10px 11px;font-size:10px}.gen-history-item[aria-pressed=true]{border-color:var(--gen-accent)}
@media(min-width:1600px){.gen-stage{min-height:470px}}@media(max-width:1050px){.gen-page{padding:35px 25px 65px}.gen-workspace{grid-template-columns:350px minmax(0,1fr)}.gen-editor{padding:20px}.gen-output{padding:20px}.gen-heading h1{font-size:36px}.gen-heading p{font-size:14px}.gen-login{align-items:flex-start;flex-direction:column;gap:15px}.gen-history-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:750px){.gen-page{padding:26px 17px 50px}.gen-heading{align-items:flex-start;gap:16px;flex-direction:column;margin-bottom:23px}.gen-heading h1{font-size:32px;letter-spacing:-1.1px;margin-top:18px;gap:10px}.gen-heading p{font-size:13px}.gen-access{flex-direction:row;justify-content:space-between;align-items:center;text-align:left;width:100%}.gen-private{font-size:8px;letter-spacing:1px}.gen-workspace{grid-template-columns:1fr;border-radius:13px}.gen-editor{padding:19px;border-right:0;border-bottom:1px solid var(--gen-line)}#gen-prompt{min-height:155px}.gen-output{padding:19px}.gen-stage{min-height:300px}.gen-stage>img{max-height:600px}.gen-result-actions{gap:9px}.gen-result-actions .gen-primary{padding:12px;font-size:11px}.gen-result-actions>button:not(.gen-text-button){font-size:11px;padding:12px 9px}.gen-samples>div{grid-template-columns:1fr}.gen-samples{margin:25px 0 30px}.gen-samples button{padding:13px 16px}.gen-history-heading{display:block}.gen-history-heading p{margin:0 0 20px}.gen-history-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.gen-history-item>span{font-size:9px;padding:8px}.gen-login{padding:18px}.gen-login-fields{width:100%;flex-direction:column}.gen-login input{width:100%}.gen-mode button{font-size:12px}.gen-source-preview strong{max-width:200px}}@media(prefers-reduced-motion:reduce){.gen-spinner{animation:none}}
.gen-setup{max-width:680px;margin:0 0 25px;padding:25px;border:1px solid #6f538e;background:#21182c;border-radius:12px}.gen-setup h2{font-size:22px;font-weight:400;margin:0 0 12px}.gen-setup>p{font-size:13px;line-height:1.7;color:#b3a1c6}.gen-setup>label{display:flex;flex-direction:column;gap:9px;font-size:12px;margin:17px 0;color:#d1bde6}.gen-setup input:not([type=checkbox]){width:100%;background:#140f1b;border:1px solid #574065;color:#eee0ff;padding:13px;border-radius:8px}.gen-setup .gen-setup-check{flex-direction:row;line-height:1.7;align-items:flex-start}.gen-setup-check input{flex:none;margin-top:4px;accent-color:#b49aff}

.gen-owner{margin:18px 0 25px;color:#b1adbb;font-size:13px}.gen-owner>summary{cursor:pointer;list-style-position:inside}.gen-owner .gen-login{margin-top:18px}.gen-service-info .account-plans article{background:#19161e}.gen-service-info .account-plans h3{color:#b49aff}.gen-service-info .account-plans p{color:#f6f4f8}.gen-service-info .account-plan-count strong{color:#f6f4f8}
