*{box-sizing:border-box} :root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e9efec;background:#101414;font-size:14px}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:5px}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(1.15)}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:210px;padding:34px 22px;background:#151a19;border-right:1px solid #29312e}.brand{display:flex;align-items:center;gap:11px;color:#edf6ee;text-decoration:none;font-size:22px;font-weight:650}.logo{display:grid;place-items:center;width:38px;height:42px;background:#c1e6a5;color:#243522;font-size:29px;border-radius:10px 2px 10px 2px}.brand small{display:block;font-size:8px;letter-spacing:1.4px;margin-top:5px;color:#8f9d94}.nav-label{font-size:10px;letter-spacing:2px;color:#78877e;margin:54px 14px 16px}.nav{width:100%;padding:14px;display:flex;gap:13px;text-align:left;border-radius:7px;color:#a2ada6;margin:5px 0}.nav.active{background:#27342a;color:#d6edc8}.side-bottom{position:absolute;bottom:30px;color:#9aa69f;font-size:12px}.side-bottom small{display:block;margin:12px 0 0 15px;font-size:10px;letter-spacing:2px;color:#627269}.dot{display:inline-block;width:6px;height:6px;background:#a7ce8e;border-radius:50%;margin-right:8px}main{margin-left:210px;padding:0 42px;max-width:1660px}header{height:78px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #252d29;font-size:12px;color:#a6b1aa}.breadcrumb span{margin:0 13px;color:#57665d}.badge{font-size:11px;color:#c7d5ab;background:#2b3324;border:1px solid #424f35;border-radius:30px;padding:7px 12px}.heading{display:flex;justify-content:space-between;align-items:center;margin:33px 0 24px}.eyebrow{font-size:9px;color:#9aba88;letter-spacing:2.7px;margin:0 0 12px}h1{font-size:29px;font-weight:550;letter-spacing:1px;margin:0 0 10px}.heading p:not(.eyebrow){color:#92a198;font-size:12px;margin:0}.version{color:#b4c1b7;font-size:12px}.version span{display:block;color:#66776c;font-size:10px;margin-top:6px}.notice{display:flex;gap:12px;align-items:center;background:#1c261e;border:1px solid #304032;padding:12px 15px;border-radius:8px;color:#aec29f;font-size:11px;margin-bottom:24px}.notice button{margin-left:auto;font-size:11px;color:#d4e8c5}.workspace{display:grid;grid-template-columns:minmax(290px,.85fr) minmax(350px,1.35fr);gap:22px}.panel{background:#171d1b;border:1px solid #2c3530;border-radius:11px;padding:24px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}h2{font-size:15px;font-weight:550;margin:0}.section-title>span{font-size:9px;letter-spacing:1.4px;color:#7d8e82}.section-title button{font-size:11px;color:#9fb099}.field-label{display:flex;justify-content:space-between;font-size:11px;margin:0 0 10px;color:#c7d0ca}.field-label span{font-size:10px;color:#718376}.dropzone{border:1px dashed #445348;border-radius:7px;position:relative;height:168px;display:flex;align-items:center;justify-content:center;background:#1c241f;text-align:center;cursor:pointer;overflow:hidden}.dropzone.drag{border-color:#d3efb6;background:#293b2b}.dropzone input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.dropzone:focus-within{outline:2px solid #c1e6a5;outline-offset:3px}.upload-symbol{width:33px;height:33px;border:1px solid #53654f;margin:0 auto 12px;border-radius:8px;font-size:23px;color:#bbd9a9}.dropzone strong{font-size:12px;font-weight:450;color:#bbc9be}.dropzone p{font-size:10px;color:#7d9081;margin:8px 0 0}.dropzone img{width:100%;height:100%;object-fit:contain}.file-row{display:flex;justify-content:space-between;font-size:10px;color:#85988a;min-height:34px;padding:8px 0;gap:8px}.file-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:80%}.file-row button{font-size:10px}textarea,input:not([type=file]),select{border:1px solid #39463d;border-radius:6px;padding:11px;background:#121915;color:#d4ded7;width:100%}textarea{height:97px;resize:vertical;font-size:12px;line-height:1.8;margin-bottom:16px}textarea::placeholder,input::placeholder{color:#627469}select{font-size:12px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.muted{font-size:11px;color:#8b9d8f;line-height:1.7}.tiny{font-size:10px}.primary{width:100%;background:#c6e9aa;border:1px solid #c6e9aa;color:#25351e;border-radius:7px;padding:13px 17px;font-weight:600;font-size:12px;margin-top:12px;display:flex;justify-content:space-between}.secondary{border:1px solid #435247;border-radius:6px;padding:9px 13px;font-size:11px;color:#c2d2c4}#cancel{width:100%;margin-top:10px}.error{color:#f2a79c;font-size:12px;line-height:1.7;margin-bottom:0}.error:empty{display:none}.output{display:flex;flex-direction:column}.preview{position:relative;flex:1;min-height:310px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 38%,#253a31 0%,#14201c 43%,#101714 78%);border:1px solid #293b30;border-radius:7px;text-align:center}.preview h3{font-size:14px;font-weight:500;color:#a8bcac;margin:29px 0 10px}.preview p{font-size:11px;color:#708975}.preview>img{position:absolute;width:100%;height:100%;object-fit:contain}.frame-art{position:relative;width:140px;height:92px;margin:auto;border:1px solid #6b8c70;border-radius:9px;transform:rotate(-7deg);background:#253c2c;box-shadow:15px 14px 0 -2px #1a2c20,15px 14px 0 -1px #42604a}.frame-art span{position:absolute;inset:8px;border:1px solid #496b4e;border-radius:4px}.frame-art i{position:absolute;width:80px;height:38px;bottom:10px;left:25px;background:linear-gradient(135deg,#537555,#2c4b32);clip-path:polygon(0 100%,35% 20%,55% 65%,73% 40%,100% 100%)}.frame-art b{position:absolute;top:32px;left:61px;font-size:17px;color:#bdd6b3;transform:rotate(7deg)}#watermark{position:absolute;bottom:13px;left:13px;border:1px solid #809c71;background:#172016e8;border-radius:4px;padding:7px 10px;font-size:10px;color:#d1e9b7}.task-info{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:23px 0 12px}.task-info strong{font-weight:450}#progressText{color:#98b28f}progress{width:100%;height:4px;appearance:none;border:0;background:#2a382e;border-radius:5px}progress::-webkit-progress-bar{background:#2a382e;border-radius:5px}progress::-webkit-progress-value{background:#badf9e;border-radius:5px}#taskMessage{min-height:36px;margin:12px 0 16px}.output-footer{display:flex;align-items:center;justify-content:space-between;padding-top:19px;border-top:1px solid #2a372d;font-size:10px;color:#7f9384}.output-footer b{font-weight:400;color:#adbdaf;margin-left:7px}.history{margin-top:23px;padding:20px 24px}.history .section-title{margin-bottom:13px}.history h2 span{margin-left:9px;color:#84977f;font-size:11px}.history-row{display:grid;grid-template-columns:1fr 100px 100px;gap:15px;align-items:center;padding:13px 0;border-top:1px solid #2c3930;font-size:11px}.history-row strong{display:block;font-weight:450;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row small{color:#829584}.history-row>span{color:#afc69e;font-size:10px}.history-row time{color:#829584;font-size:10px}footer{display:flex;justify-content:space-between;font-size:10px;color:#667e6c;margin:24px 0 30px}dialog{background:#1b241f;border:1px solid #4b5d4a;border-radius:12px;width:440px;padding:28px;color:#dce7db}dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}dialog .field-label{margin-top:22px}dialog .primary{justify-content:center}body.busy .dropzone{pointer-events:none;opacity:.6}@media(max-width:1100px){.sidebar{width:174px;padding:30px 16px}main{margin-left:174px;padding:0 25px}.brand{font-size:18px}.workspace{gap:16px}.panel{padding:18px}h1{font-size:25px}}@media(max-width:850px){.sidebar{width:70px;padding:24px 10px}.brand>span:not(.logo),.nav-label,.nav span,.side-bottom{display:none}.nav{justify-content:center}.brand{justify-content:center}main{margin-left:70px;padding:0 20px}.workspace{grid-template-columns:1fr}.preview{min-height:320px}.version{display:none}.heading{margin-top:25px}h1{font-size:23px}.notice{line-height:1.7}.history-row{grid-template-columns:1fr 70px 70px}footer span{display:none}}

/* Brand lockup accommodates the full official name in the sidebar. */
.brand{gap:8px;font-size:16px;white-space:nowrap}.brand .logo{flex-shrink:0;width:30px;height:36px;font-size:25px}.brand small{font-size:11px;letter-spacing:4px}.brand>span:last-child{min-width:0}@media(min-width:851px) and (max-width:1100px){.brand{font-size:13px;gap:6px}.brand .logo{width:25px;height:32px}}

#realFields .field-label,#generationType{margin-top:14px}#checkConnection{margin-top:12px}.preview>video{width:100%;max-height:520px}#outputChoices{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}#saveResult{color:inherit;text-decoration:none}.output-footer{gap:8px;flex-wrap:wrap}.history-row button{text-align:left;color:#c6e9aa}.history-row small{display:block;overflow-wrap:anywhere}.history-row>div{min-width:0}

.compute{border:0;padding:0;margin:18px 0}.compute legend{font-weight:650;margin-bottom:10px}.compute-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.compute-card{display:flex;flex-direction:column;gap:8px;padding:14px;border:1px solid #41444d;border-radius:12px;cursor:pointer}.compute-card:has(input:checked){border-color:#bbd99b;background:#273426}.compute-card input{width:16px;height:16px;margin:0;accent-color:#bbd99b}.compute-card strong{font-size:17px}.compute-card span,.compute-card small{font-size:12px;line-height:1.6;color:#c2bdcd}.compute-card em{font-style:normal;font-size:11px;background:#465d3e;padding:3px 7px;border-radius:10px}.compute-card:has(input:focus-visible){outline:2px solid #fff;outline-offset:3px}@media(max-width:500px){.compute-options{grid-template-columns:1fr}}

.wallet-balances{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.wallet-balances strong{display:block;font-size:36px;color:#c7e8ab}.wallet-balances small{color:#aab8ae}.payment-box{padding:18px;border:1px solid #405344;border-radius:12px;margin:20px 0}.quote-amount{font-size:30px;color:#c7e8ab}#walletDialog{width:min(560px,90vw);max-height:85vh;overflow:auto}#quoteDialog{width:min(480px,90vw)}.ledger-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #344039}.ledger-row small{display:block;color:#aab8ae}button:disabled{cursor:not-allowed;opacity:.55}
.auth-card{max-width:520px;margin:8vh auto;padding:32px}.auth-card label{display:block;margin:18px 0}.auth-card input{display:block;width:100%;margin-top:8px}.auth-card #error{color:#f1a9a9}
.video-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.video-controls input{flex:1;min-width:100px;width:auto}.video-controls span{font-variant-numeric:tabular-nums}.video-controls[hidden]{display:none}
#projectsPanel{margin:20px 0}.project-fields{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:14px 0}.project-fields label{flex:1;min-width:180px}.project-fields input,.project-fields select{display:block;width:100%;margin-top:8px}.shot-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.shot-card{padding:18px;border:1px solid var(--border,#35433b);border-radius:14px}.shot-card p{white-space:pre-wrap;overflow-wrap:anywhere}.project-version{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px;border-top:1px solid #35433b;padding-top:12px}.project-version img{width:100%;max-height:180px;object-fit:contain}.project-version strong{width:100%}#saveToShot{margin:10px 0}

#textPanel{margin:20px 0}#textResults{display:grid;gap:12px;margin-top:18px}#textResults textarea{min-height:130px}#textPanel p{overflow-wrap:anywhere}

@media(max-width:600px){.sidebar{position:static;width:100%;display:flex;align-items:center;gap:4px;padding:8px;overflow-x:auto}.sidebar .brand{margin-right:8px}.sidebar .nav{width:auto;min-width:44px;margin:0;padding:12px}.sidebar .nav span{display:none}main{margin-left:0;padding:0 12px}header{gap:8px;flex-wrap:wrap;height:auto;min-height:64px;padding:10px 0}.breadcrumb{display:none}.panel{padding:14px;min-width:0}.section-title{gap:10px;flex-wrap:wrap}.project-fields label{min-width:0;flex-basis:100%}.shot-cards{grid-template-columns:minmax(0,1fr)}.history-row{grid-template-columns:minmax(0,1fr) 64px}.history-row time{grid-column:1/-1}.preview{min-height:220px}textarea,input:not([type=file]),select{font-size:16px}button{min-height:44px}.heading h1{font-size:22px}.two-fields{grid-template-columns:1fr}dialog{max-width:calc(100vw - 24px)}.shot-card{min-width:0;padding:12px}}
