*{box-sizing:border-box}body{margin:0;background:#101012;color:#f4f4f5;font:15px system-ui,sans-serif}aside{position:fixed;width:240px;height:100vh;background:#171719;padding:24px;overflow:auto;border-right:1px solid #39332a}h1{font-size:25px;line-height:1.1}em{color:#efbd50;font-style:normal}small{color:#d9b66c;letter-spacing:2px}nav{display:grid;gap:8px;margin:28px 0}nav button{text-align:left;background:#242427;color:#eee}main{margin-left:240px;padding:24px;max-width:1700px}header{display:flex;justify-content:space-between;color:#bcbcbc;margin-bottom:24px}.hero{background:radial-gradient(ellipse at right,#74501b,#19191b 65%);border:1px solid #9d7837;border-radius:18px;padding:35px;margin-bottom:24px}.hero h2{font-size:clamp(32px,5vw,64px);margin:12px 0}button{border:0;border-radius:9px;background:linear-gradient(120deg,#ffe08a,#bd8628);color:#16120b;font-weight:750;padding:12px 16px;cursor:pointer}button:hover{filter:brightness(1.15)}button.secondary{background:#303035;color:#eee}#tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-bottom:24px}#tools button{background:#232326;color:#eee;border:1px solid #49423a;text-align:left;min-height:64px}#tools button.active{border-color:#f0bd50;color:#f0bd50}.work{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.panel,.work>div{background:#1b1b1e;border:1px solid #37373a;border-radius:14px;padding:18px;margin-bottom:18px}label{display:grid;gap:5px;color:#ccc;margin:8px 0}input,select{background:#111;color:#eee;border:1px solid #555;border-radius:7px;padding:8px;min-width:0;width:100%}.controls{display:flex;gap:12px;flex-wrap:wrap}.controls label{flex:1;min-width:100px}.panel button{margin:5px 3px 5px 0}.preview{height:460px;overflow:auto;background:conic-gradient(#777 25%,#aaa 0 50%,#777 0 75%,#aaa 0) 0 0/20px 20px;display:grid;place-items:center;border-radius:8px}canvas{max-width:none}pre{white-space:pre-wrap;font:13px system-ui;color:#e9ca83}p{color:#bdbdc2}@media(max-width:850px){aside{position:static;width:auto;height:auto}nav{display:none}main{margin:0;padding:12px}.work{grid-template-columns:1fr}.preview{height:320px}}
[hidden]{display:none!important}.gate{position:fixed;inset:0;z-index:100;background:#101114;overflow:auto;padding:24px;display:grid;place-items:center}.gate:empty{display:none}.account{position:relative;z-index:5;background:#171719;padding:12px;display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.account:empty{display:none}.authbox{width:min(100%,540px);background:#202124;border:1px solid #8b713d;border-radius:20px;padding:28px;box-sizing:border-box}.authbox input,.authbox select{width:100%;margin:8px 0;padding:12px}.authbox button{margin:6px 0}.authbox img{max-width:220px;display:block}.adminbox{width:min(100%,900px)}.userline{border-top:1px solid #555;padding:12px 0;overflow-wrap:anywhere}.locked{opacity:.65}.account button{padding:8px}.authbox label{display:block}
.auth-modern{width:min(1080px,100%);padding:0;border:1px solid #3d3526;overflow:hidden;background:#151518;box-shadow:0 24px 90px #0008}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;min-height:590px}.login-brand{padding:42px;display:flex;flex-direction:column;justify-content:space-between;position:relative;background:radial-gradient(ellipse at 95% 10%,#73501f66,transparent 55%),repeating-linear-gradient(135deg,transparent 0 39px,#c9a35a0b 40px 41px),#111113;border-right:1px solid #3d3526}.brand-mark{display:flex;gap:12px;align-items:center;color:#e8bd64;font-size:32px}.brand-mark span{font-size:19px;font-weight:850;color:#fff;letter-spacing:1px}.brand-copy h1{font-size:clamp(40px,5vw,66px);letter-spacing:-3px;margin:18px 0;line-height:1.02}.brand-copy p{max-width:340px;line-height:1.7}.brand-features{display:grid;gap:12px;margin:30px 0;color:#dfc58f;font-size:13px}.login-brand footer,.auth-foot{font-size:11px;letter-spacing:1.6px;color:#a19b90}.login-form{padding:48px 40px;align-self:center}.login-form h2{font-size:36px;letter-spacing:-1.5px;margin:12px 0 0}.login-form p{line-height:1.5}.login-form form{margin-top:28px}.login-form label{font-size:13px;font-weight:600;margin:14px 0;color:#ddd}.login-form input{background:#101012;border:1px solid #444047;border-radius:10px;padding:15px;margin:7px 0 0;font:inherit}.login-form input:focus{outline:2px solid #d4ad58;outline-offset:1px}.password-wrap{position:relative}.password-wrap input{padding-right:75px}.login-form .text-action{background:none;color:#e6bd65;padding:4px;font-size:13px;box-shadow:none}.password-wrap .text-action{position:absolute;right:12px;top:13px}.forgot{display:block;margin-left:auto!important}.login-form .auth-primary{width:100%;padding:16px;margin:18px 0 8px;display:flex;justify-content:space-between;font-size:15px}.auth-primary:disabled{opacity:.6;cursor:wait}.auth-switch{font-size:13px;color:#bbb;text-align:center;margin:18px 0}.auth-foot{text-align:center;border-top:1px solid #353237;padding-top:20px;letter-spacing:.5px}.login-form #feedback{font-size:13px;color:#f1cc82;margin-bottom:0}.login-form #feedback:empty{display:none}@media(max-width:760px){.login-layout{grid-template-columns:1fr;min-height:0}.login-brand{padding:24px;border-right:0;border-bottom:1px solid #3d3526}.brand-copy h1{font-size:36px;letter-spacing:-1px}.brand-copy p,.brand-features,.login-brand footer{display:none}.brand-copy small{display:none}.login-form{padding:28px 24px}.login-form h2{font-size:30px}.gate{padding:12px}}
:root{color-scheme:dark;--gold:#e6bd69;--muted:#a5a5ad;--line:#303036}body{background:#101114;font-size:14px}*{scrollbar-width:thin;scrollbar-color:#555047 #151519}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.account{position:sticky;top:0;background:#17181c;border-bottom:1px solid var(--line);min-height:62px;padding:12px 24px}.account span{margin-right:12px;color:#c6c6ce}.account button{padding:10px 16px}aside{top:62px;height:calc(100dvh - 62px);width:238px;background:#15161a;padding:24px 18px}aside h1{font-size:23px;letter-spacing:-.7px}nav{gap:4px}nav button{background:transparent;font-weight:550;padding:11px 8px;display:flex;align-items:center;gap:10px}nav button.active{background:#332b20;color:var(--gold)}nav button:before,#tools button:before{content:attr(data-icon);color:var(--gold);font-size:20px;font-weight:600}nav button:before{width:25px;text-align:center;flex-shrink:0}main{margin-left:238px;padding:28px 32px}header{font-size:12px;letter-spacing:1px}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 95% 40%,#65491d88,transparent 55%),linear-gradient(125deg,#1e1d20,#151519);padding:40px;border-color:#51432c;min-height:245px}.hero h2{font-size:clamp(34px,4vw,57px);letter-spacing:-2px;max-width:75%;position:relative}.hero p,.hero button,.hero small{position:relative}.heroart{position:absolute;right:6%;top:12%;width:175px;height:175px;border:1px solid #b38b4b66;border-radius:50%;display:grid;place-content:center;text-align:center;color:#e6bd69;font-size:28px;box-shadow:0 0 0 18px #b38b4b0b,0 0 0 36px #b38b4b08}.heroart span{font-size:48px;font-weight:900;letter-spacing:-3px}.heroart i{font-size:10px;font-style:normal;letter-spacing:3px}.sectionheading{display:flex;justify-content:space-between;align-items:end;margin:30px 0 16px}.sectionheading h2{margin:6px 0 0;font-size:24px;letter-spacing:-.6px}.sectionheading span{color:var(--muted);font-size:12px}#tools{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}#tools button{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:112px;padding:15px;background:#1b1c21;border:1px solid #33343b;border-radius:13px;font-size:13px;line-height:1.4}#tools button:before{background:#30291e;border-radius:9px;min-width:36px;height:36px;display:grid;place-items:center;padding:0 5px}#tools button:hover{border-color:#b38b4b;filter:none;background:#242329}.panel,.work>div{background:#191a1f;border-color:var(--line);border-radius:16px}.dashbox{width:min(1200px,100%);padding:0;background:#15161a;border-color:#363238;overflow:hidden}.dash{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:650px}.dashside{background:#1b1c21;padding:28px 18px;border-right:1px solid var(--line)}.dashside h2{font-size:20px;margin:12px 0 0}.dashside p{font-size:12px;margin-bottom:30px}.dashside button{display:block;width:100%;text-align:left;background:transparent;color:#c5c5cc;padding:13px 10px;font-size:13px}.dashside button.chosen{background:#3a3020;color:var(--gold)}.dashside #back{margin-top:30px;border:1px solid #444}.dashmain{padding:32px;min-width:0}.dashmain h1{font-size:32px;letter-spacing:-1px;margin:10px 0 24px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:32px}.metrics>div{background:#202127;border:1px solid #35353b;padding:16px;border-radius:12px}.metrics span{display:block;color:#b9b9c2;font-size:12px}.metrics strong{display:block;font-size:30px;color:var(--gold);margin-top:8px}.dashmain h2{font-size:21px;margin:0}.dashmain input,.dashmain select{background:#111216;border-color:#3b3c44;border-radius:9px}.client{background:#202127;border:1px solid #35363e;border-radius:12px;margin:10px 0}.client summary{display:flex;align-items:center;gap:12px;padding:15px;cursor:pointer;list-style:none}.client summary::-webkit-details-marker{display:none}.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#3b3020;color:var(--gold);font-weight:800;flex-shrink:0}.clientmail{flex:1;overflow-wrap:anywhere;font-weight:600;min-width:0}.clientmail small{display:block;color:#aaa;letter-spacing:0;font-weight:400;margin-top:4px}.planpill{font-size:12px;color:var(--gold);background:#342c20;border-radius:20px;padding:6px 10px}.clientactions{padding:15px;border-top:1px solid var(--line);display:flex;gap:8px;align-items:end;flex-wrap:wrap}.clientactions label{width:110px;margin:0}.clientactions input{margin:5px 0}.fields,.permissiongrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.permissiongrid label{background:#202127;padding:12px;border-radius:10px;margin:0}.dashmain #feedback{color:var(--gold)}.dashmain #feedback:empty{display:none}@media(max-width:850px){aside{position:static;width:auto;height:auto;padding:14px 20px}aside p{display:none}main{margin:0;padding:18px}.hero{padding:24px}.heroart{display:none}.hero h2{max-width:100%}.dash{grid-template-columns:1fr}.dashside{padding:16px;border-right:0}.dashside button{display:inline-block;width:auto}.dashside p{margin-bottom:8px}.dashside #back{margin-top:0}.dashmain{padding:18px}.metrics{grid-template-columns:1fr 1fr}.client summary{flex-wrap:wrap}.permissiongrid{grid-template-columns:1fr}.sectionheading span{display:none}}
:root{--gold:#f1c66d;--line:#303746;--muted:#aeb8cc}body{background:#101218;color:#f1f4fa}.gate{background:radial-gradient(ellipse at 10% 0%,#25263e,#101218 65%)}.dashbox{width:min(1320px,100%);border:1px solid #343b4b;border-radius:24px;background:#141821;box-shadow:0 24px 90px #0006}.dash{grid-template-columns:235px minmax(0,1fr);min-height:75vh}.dashside{background:#191e29;padding:30px 20px}.dashside button{border-radius:12px;padding:15px 12px;margin:5px 0}.dashside button.chosen{background:#383044;color:#f1c66d}.dashmain{padding:36px}.dashmain h1{font-size:clamp(25px,3vw,38px)}.metrics>div{border:0;padding:20px;min-height:110px}.metrics>div:nth-child(1){background:#1c2b43}.metrics>div:nth-child(1) strong{color:#77a9ff}.metrics>div:nth-child(2){background:#352c1d}.metrics>div:nth-child(2) strong{color:#f1c66d}.metrics>div:nth-child(3){background:#2c2342}.metrics>div:nth-child(3) strong{color:#b9a0ff}.metrics>div:nth-child(4){background:#19352d}.metrics>div:nth-child(4) strong{color:#53d9ac}.client{background:#202632;border-color:#353e50}.client summary{padding:19px}.clientactions{background:#191e29;border-radius:0 0 12px 12px}.clientactions button[data-act=grant]{background:#53d9ac}.clientactions button[data-act=suspend]{color:#ffb1ad}.paycards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.paycards>div,.wacard{padding:20px;border-radius:16px}.yapecard{background:#39234c}.plincard{background:#123b40}.wacard{background:#19352d;margin-bottom:16px}.paycards h3,.wacard h3{margin:0 0 10px}.payhero{background:radial-gradient(ellipse at top right,#66502c,#25232c 75%);border-radius:16px;padding:24px;margin-bottom:20px}.payhero h1{font-size:36px;color:var(--gold)}.payhero h1 small{font-size:14px;letter-spacing:0}.whatsapp{background:#53d9ac}.permissiongrid label{background:#242637;border:1px solid #393b50;padding:16px}.permissiongrid select{color:#e3c5ff}.account{background:#191e29}aside{background:#191e29}#tools button{background:#202632;border-color:#343e50}#tools button:nth-child(3n+1):before{background:#1c2b43;color:#77a9ff}#tools button:nth-child(3n+2):before{background:#2c2342;color:#b9a0ff}#tools button:nth-child(3n):before{background:#19352d;color:#53d9ac}.hero{background:radial-gradient(ellipse at 90% 35%,#58452c,transparent 55%),linear-gradient(120deg,#24243b,#171b25)}.panel,.work>div{background:#191e29}.login-brand{background:radial-gradient(ellipse at 90% 10%,#685035,transparent 65%),linear-gradient(135deg,#23243b,#151923)}.login-form{background:#191e29}@media(max-width:850px){.dash{grid-template-columns:1fr}.dashmain{padding:18px}.paycards{grid-template-columns:1fr}.metrics>div{padding:14px}.gate{padding:10px}.dashside{padding:16px}}
/* V1.5: compact, vivid, accessible controls */
.dashbox{border-radius:20px;overflow:visible}.dash{min-height:0}.dashside{border-radius:20px 0 0 20px;position:sticky;top:0;align-self:start}.dashmain{padding:26px 30px}.dashmain h1{margin-bottom:16px}.metrics{gap:10px;margin-bottom:24px}.metrics>div{min-height:84px;padding:14px 18px}.metrics strong{font-size:32px}.dashside button{border:1px solid transparent}.dashside button:hover{background:#29354a}.dashside button.chosen{background:#283d61;color:#a8ceff;border-color:#466aa3}.permintro{display:flex;gap:16px;flex-wrap:wrap;margin:14px 0;color:#9ce9cb;font-size:13px}.permintro span+span{color:#e9bdff}.permissiongrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.permcard{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;background:#202735;border:1px solid #39475c;border-radius:12px}.permicon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:color-mix(in srgb,var(--accent) 18%,#182130);color:var(--accent);font-size:20px}.permname{font-size:13px;font-weight:700;line-height:1.3}.permname small{display:block;letter-spacing:0;font-size:10px;color:#aebbd0;font-weight:400;margin-top:4px}.permswitch{display:flex;gap:3px;background:#111824;padding:3px;border-radius:9px}.permswitch button{padding:7px 9px;background:transparent;color:#aebbd0;font-size:11px;border-radius:6px}.permswitch button[data-choice=free][aria-pressed=true]{background:#4be2aa;color:#092b20}.permswitch button[data-choice=pro][aria-pressed=true]{background:#c59aff;color:#27143d}.actiondock{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#141c2a;border:1px solid #3d4d66;padding:12px;margin-top:18px;border-radius:12px;z-index:3;box-shadow:0 -8px 24px #0003}.actiondock span{font-size:12px;color:#aebbd0}.actiondock button:not(.secondary){background:#53e6b1;color:#082a20}.dashmain button:focus-visible{outline:3px solid #70b5ff;outline-offset:2px}.client:hover{border-color:#70b5ff}.client .planpill{background:#42305b;color:#e0bcff}.clientactions{gap:10px}.paycards>div{border:1px solid #ffffff26}.payhero{background:linear-gradient(125deg,#36265a,#234b59);border:1px solid #665d93}.login-brand{background:radial-gradient(ellipse at 85% 15%,#70509b,transparent 60%),linear-gradient(140deg,#202b48,#141923)}.hero{background:radial-gradient(ellipse at 90% 35%,#6645a1,transparent 55%),linear-gradient(120deg,#1e3650,#191b31);border-color:#66558e}#tools button:hover{border-color:#70b5ff;background:#283a53}#tools button.active{border-color:#53e6b1;color:#9bf5d6}nav button:hover{background:#304362} @media(max-width:1150px){.permissiongrid{grid-template-columns:1fr}}@media(max-width:850px){.dashside{position:static;border-radius:20px 20px 0 0}.dashmain{padding:16px}.permcard{grid-template-columns:30px minmax(0,1fr) auto;gap:7px;padding:9px}.permswitch button{padding:7px}.actiondock span{order:3;width:100%}.metrics{grid-template-columns:1fr 1fr}}

.planpill.free{background:#173c32;color:#72efbc}.planpill.paid{background:#493719;color:#ffda82}.planpill.forever{background:#3b285b;color:#d9baff}.planpill.owner{background:#203d62;color:#a4ceff}.clientactions .unlimited-action{background:#bda0ff;color:#21143a}.clientactions [data-act="free"]{background:#243e50;color:#b6e5ff}.clientactions{flex-wrap:wrap}
[hidden]{display:none!important}#tools{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}#tools button{min-height:105px;border:1px solid var(--toolcolor);background:linear-gradient(135deg,#202938,#171c29);color:var(--toolcolor);font-size:15px;text-align:left;padding:18px}#tools button::before{color:var(--toolcolor);font-size:25px}#nav button{border-left:3px solid var(--toolcolor);color:var(--toolcolor)}#workspace{margin-top:22px}#backStudio{margin-bottom:15px}.checks{display:grid;gap:8px;margin:12px 0}.checks label{display:flex;align-items:center;gap:10px;background:#222c3b;padding:10px;border-radius:9px}.checks input{width:18px;height:18px;accent-color:#50e5ad}.panel [data-options] button{background:#50e5ad;color:#10251d}#swatch{vertical-align:middle}#tools button.locked{opacity:.75}
/* Creative Studio 2.1 */
[hidden]{display:none!important}body{background:#0b1020;color:#f1f5ff}#studio{display:block!important}#studio[hidden]{display:none!important}#studio aside{position:relative;width:auto;inset:auto;display:flex;align-items:center;gap:20px;flex-wrap:wrap;background:#111a2c;border:0;border-bottom:1px solid #2b3851;padding:18px 4vw}#studio aside h1{margin:0;font-size:22px}#studio aside>small,#studio aside>p{display:none}#studio nav{display:flex;flex-wrap:wrap;gap:6px;flex:1}#studio nav button{font-size:12px;padding:7px 10px;min-height:0;background:#1d2940;border:0;width:auto}#studio main{margin:0;width:auto;max-width:1600px;padding:26px 4vw;margin-inline:auto}#studio main>header{margin-bottom:24px}.hero{background:radial-gradient(ellipse at 85% 40%,#7138b1 0,transparent 50%),linear-gradient(120deg,#183a74,#241938 70%);padding:42px;border-radius:24px;min-height:245px;border:1px solid #515e9b}#tools{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}#tools button{position:relative;min-height:190px;padding:20px;justify-content:space-between;background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--toolcolor) 24%,transparent),transparent 70%),#182235;border:1px solid color-mix(in srgb,var(--toolcolor) 40%,#253248);font-size:17px;overflow:hidden}#tools button:before{font-size:42px;width:72px;height:72px;background:#0c132780;color:var(--toolcolor)}#tools button:after{content:attr(title) '  →';font-size:12px;font-weight:400;color:#d4deed;line-height:1.5}.worktop{display:flex;justify-content:space-between;gap:10px;margin-bottom:18px}.work{grid-template-columns:minmax(0,1fr) 300px;align-items:start}.work>div{min-width:0;background:#151f31;border-color:#33425b;padding:20px}.compare{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compare>div{min-width:0}.compare small{display:block;margin:10px 0;color:#aab9d1;letter-spacing:1px}.preview{height:clamp(300px,53vh,650px);display:flex;align-items:safe center;justify-content:safe center;overflow:auto;background:conic-gradient(#3c4659 25%,#536075 0 50%,#3c4659 0 75%,#536075 0) 0 0/20px 20px}.originalpreview canvas{max-width:100%;max-height:100%;object-fit:contain}.preview canvas{flex-shrink:0}.panel button{margin-block:5px}.panel input,.panel select{background:#0d1729;border-color:#40516e}.panel pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#b7c9e6}body[data-view=editor] #studio main>header{display:none}@media(max-width:1000px){#tools{grid-template-columns:repeat(2,minmax(0,1fr))}.work{grid-template-columns:1fr}}@media(max-width:540px){#studio main{padding:15px}.hero{padding:22px}.compare{grid-template-columns:1fr}.preview{height:250px}#tools button{min-height:170px;padding:13px;font-size:14px}#studio nav{display:none}}
/* V2.3 — light, full-width studio; authentication styles retained */
body:has(#studio:not([hidden])){background:#f3f5f7;color:#172033}#studio{color-scheme:light;font-family:system-ui,sans-serif}#studio aside{height:auto;display:block;background:#101010;padding:0;border:0;overflow:visible}#studio aside h1{padding:15px 22px;margin:0;color:#fff;font-size:21px}#studio #nav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:0;margin:0;padding:0 12px;scrollbar-color:#555 #101010}#studio #nav button{flex:0 0 auto;background:transparent;color:#fff;border:0;border-bottom:3px solid transparent;border-radius:0;padding:15px 13px;font-size:13px;white-space:nowrap}#studio #nav button:before{display:none}#studio #nav button.active{border-bottom-color:#e8bd64;color:#f4d47f}#studio main{max-width:none;padding:18px 18px 0}#studio main>header{color:#65748b;margin:0 0 18px}#studio #workspace{margin:0}#studio .worktop{background:white;border:1px solid #e0e5eb;border-radius:12px;padding:12px 16px;align-items:center;justify-content:flex-start;margin:0 0 16px}#workspaceName{font-size:16px;margin-right:auto}#studio #backStudio{margin:0;order:3}#studio button{background:#172033;color:#fff;box-shadow:none}#studio button.secondary{background:#e9edf2;color:#26364e}#studio .work{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}#studio .work>div,#studio .panel{background:#fff;border:1px solid #dfe5ec;border-radius:16px;padding:20px;box-shadow:0 8px 24px #22334a08;min-width:0}#studio .paneltitle{font-size:20px;margin:0 0 16px;padding-bottom:15px;border-bottom:1px solid #e4e8ee;color:#172033}#studio p,#studio label,#studio .compare small,#studio pre{color:#52647d}#studio input,#studio select{background:#fff;color:#172033;border:1px solid #cbd5e1}#studio .dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;min-height:310px;border:2px dashed #c5d1e0;border-radius:16px;background:#f5f7fa;color:#172033;padding:22px;text-align:center}#studio .dropzone strong{font-size:19px}#studio .dropzone span:not(.cloud){font-weight:400;color:#64748b}#studio .dropzone small{color:#53637b;letter-spacing:1px;background:#e1e7ef;padding:7px 10px;border-radius:6px}#studio .dropzone.dragging{border-color:#b68b31;background:#fff8e5}#studio .cloud,#studio .waiting>span{font-size:52px;color:#9baec9;line-height:1}#studio .waiting{min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#8495af;font-size:18px}#studio .waiting p{font-size:13px;margin:0}#studio .preview{height:clamp(200px,38vh,480px);background:conic-gradient(#e0e5ec 25%,#f7f9fb 0 50%,#e0e5ec 0 75%,#f7f9fb 0) 0 0/20px 20px}#studio .checks label{background:#f3f6fa;color:#26364e}#studio #apply,#studio #auto{background:#172033;color:white}#studio #download{background:#167452;color:white}#studio .studiofoot{text-align:center;padding:20px;color:#64748b;font-size:12px}#studio .hero{background:linear-gradient(115deg,#172033,#283e60);color:#fff;border:0}#studio .hero p{color:#dce5f2}#studio #tools button{background:white;color:#172033;border:1px solid #dce3ec;min-height:150px}#studio #tools button:before{background:#edf1f7;color:#344b70}#studio #tools button:after{color:#64748b}#studio #tools button:hover{border-color:#b68b31}#studio .sectionheading h2{color:#172033}#studio .sectionheading small{color:#8c6928}#studio .sectionheading span{color:#64748b}#studio #swatch{border-color:#aab6c7!important}#studio #status{overflow-wrap:anywhere}body:has(#studio:not([hidden])) .account{position:relative;min-height:42px;padding:7px 18px;background:#fff;border-bottom:1px solid #e1e5eb}body:has(#studio:not([hidden])) .account span{color:#52647d;font-size:12px}body:has(#studio:not([hidden])) .account button{padding:7px 12px;font-size:12px;background:#172033;color:white}@media(max-width:850px){#studio .work{grid-template-columns:1fr}#studio main{padding:12px}#studio .worktop{flex-wrap:wrap}#studio #nav{display:flex}#studio .dropzone,#studio .waiting{min-height:230px}}@media(max-width:540px){#studio .compare{grid-template-columns:1fr}#studio #tools{grid-template-columns:1fr 1fr}#studio .work>div{padding:14px}}
/* V2.4 */
#studio [hidden]{display:none!important}#studio aside{position:sticky;top:0;z-index:20}#studio .work{align-items:start}#studio .preview canvas{object-fit:contain}#studio .originalpreview canvas,#studio #finalCanvas{max-width:100%;max-height:100%;width:auto;height:auto}#studio #finalPanel{grid-column:1/-1;padding:20px}#studio #finalPreview{height:clamp(300px,65vh,750px)}#studio #fabricColors{display:flex;justify-content:center;gap:10px;margin:18px}#studio button.fabric{width:30px;height:30px;padding:0;border-radius:50%;border:1px solid #cbd5e1}#studio #actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}#studio #actions button{flex:1 1 auto}#studio #apply{background:#397bea}#studio #download{background:#10a875}#studio .diagnostic{border:1px solid #dce4ef;border-radius:12px;padding:14px;margin:12px 0}#studio .diagnostic strong{display:flex;justify-content:space-between;gap:8px}#studio .diagstate{font-size:11px;color:#b91c1c;background:#fee2e2;padding:4px 8px;border-radius:5px}#studio .diagstate[data-good=true]{color:#08734b;background:#dcfce7}#studio .diagnostic progress{width:100%;height:8px;accent-color:#397bea}#studio .diagnostic p{font-size:13px}#studio .fileinfo{background:#f3f6fa;border-radius:8px;padding:12px;overflow-wrap:anywhere;font-size:13px}body[data-tool=analyze] #studio .compare{grid-template-columns:1fr}body[data-tool=analyze] #studio .compare>div:nth-child(2){display:none}body[data-tool=half] #studio .work,body[data-tool=improve] #studio .work,body[data-tool=alpha] #studio .work{grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}body[data-tool=half] #studio .preview{height:clamp(300px,55vh,650px)}@media(max-width:850px){body[data-tool] #studio .work{grid-template-columns:1fr}}
/* V2.5: explicit rendering and independent workspace layouts */
html,body{display:block}script,style,head,[hidden]{display:none!important}#studio .work{display:grid}#studio .preview{overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative;height:clamp(340px,62vh,850px)}#studio .preview canvas{display:block;flex:none;object-fit:contain;max-width:100%;max-height:100%;transform-origin:center}#studio .panview{touch-action:none;cursor:grab}#studio .panview.grabbing{cursor:grabbing}#studio .panview canvas{user-select:none}body[data-tool=frame] #studio .work,body[data-tool=templates] #studio .work,body[data-tool=half] #studio .work{grid-template-columns:minmax(0,3fr) minmax(260px,1fr)}body[data-tool=frame] #studio .compare,body[data-tool=templates] #studio .compare{grid-template-columns:1fr}body[data-tool=frame] #studio .compare>div:first-child,body[data-tool=templates] #studio .compare>div:first-child{display:none}body[data-tool=half] #studio .preview{height:clamp(320px,60vh,780px)}body[data-tool=analyze] #studio .originalpreview{height:clamp(300px,55vh,750px)}#studio #finalPreview{height:clamp(350px,75vh,950px)}#studio .worktop{position:sticky;top:99px;z-index:10}#studio #settingsControls{display:grid;gap:12px}#studio #settingsControls[hidden]{display:none!important}#studio #settingsControls label{display:grid;gap:6px}#studio #settingsControls .checks label{display:flex}#studio #actions button{min-height:42px}#studio #sheetPanel,#studio #costPanel{max-width:1100px;margin:0 auto} @media(max-width:850px){body[data-tool] #studio .work{grid-template-columns:1fr}#studio .worktop{position:static}#studio .preview{height:50vh}} 
#toast{position:fixed;right:20px;top:16px;z-index:1000;max-width:min(420px,90vw);padding:16px 20px;background:#17324d;color:white;border-radius:12px;box-shadow:0 8px 32px #0003;font:600 14px system-ui;white-space:normal}#toast[data-kind=success]{background:#087c57}#toast[data-kind=error]{background:#b42332}#toast[data-kind=busy]{background:#245dcc}#toast[hidden]{display:none!important}#studio button:disabled{opacity:.55;cursor:wait}#studio aside{width:100%}#studio main{width:100%;margin:0}#studio .worktop{top:0}

body[data-tool=analyze] #studio .compare{display:none!important}#studio .splitbar{display:flex;align-items:center;gap:16px;margin:16px auto;max-width:850px;color:#172033;font-weight:600}#studio #split{accent-color:#397bea;flex:1;cursor:ew-resize}#studio #finalPreview{height:clamp(380px,76vh,1000px);background-color:#1d2738}#studio #finalCanvas{object-fit:contain}head,script,style{display:none!important}

/* V3.0 Creative Studio */
#studio .promo{background:#111;color:#fff;text-align:center;padding:9px;font-size:11px;letter-spacing:2px}#studio aside{background:#fff}#studio aside h1{color:#111;text-align:center;font-size:30px;letter-spacing:3px;padding:20px 0 8px}#studio aside>small{display:block;text-align:center;color:#777;letter-spacing:4px;padding-bottom:18px}#studio #nav{background:#111;justify-content:flex-start}#studio main{padding:24px 4vw 0}#studio .hero{background:#111;color:#fff;min-height:420px;padding:65px 5%;border-radius:0;position:relative;overflow:hidden}#studio .hero h2{font-size:clamp(36px,5vw,80px);line-height:1;max-width:55%;color:white}#studio .hero h2 em{color:#dfb85e}#studio .heroart{position:absolute;right:0;top:0;width:43%;height:100%;background:#191919;transform:none;opacity:1}#studio .heroart img{width:100%;height:100%;object-fit:contain}#studio .hero button,#studio .membership button{background:#d7b45e;color:#111;border:0;border-radius:2px;padding:15px 24px}#studio .sectionheading{margin:45px 0 20px}#studio #tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}#studio #tools button{display:block;text-align:left;padding:0 0 16px;overflow:hidden;border-radius:4px;font-size:17px;min-height:0;text-indent:12px;background:#fff;color:#111}#studio #tools button:before{display:block;content:'';width:100%;height:auto;aspect-ratio: 12/7;background-size:cover;background-position:center;border-radius:0;margin:0 0 15px}#studio #tools button:after{display:block;font-size:12px;margin-top:8px;white-space:normal;text-indent:0;padding:0 12px}#studio .membership{background:#111;color:#fff;text-align:center;margin:40px 0;padding:48px}#studio .membership h2{font-size:38px;color:white}#studio .membership small{color:#d7b45e;letter-spacing:3px}#studio .membership p{color:#ddd}#studio .worktop{position:static}#studio .preview{background-color:#e4e7ec}body[data-tool=frame] #studio .work,body[data-tool=templates] #studio .work,body[data-tool=texture] #studio .work{grid-template-columns:minmax(0,3fr) minmax(280px,1fr)}@media(max-width:900px){#studio #tools{grid-template-columns:repeat(2,minmax(0,1fr))}#studio .hero{min-height:320px;padding:30px}#studio .heroart{opacity:.4}#studio .hero h2{max-width:90%;position:relative}body[data-tool] #studio .work{grid-template-columns:1fr!important}}
#studio #tools button[data-tool="analyze"]:before{background-image:url(assets/analyze.svg)}
#studio #tools button[data-tool="improve"]:before{background-image:url(assets/improve.svg)}
#studio #tools button[data-tool="half"]:before{background-image:url(assets/half.svg)}
#studio #tools button[data-tool="alpha"]:before{background-image:url(assets/alpha.svg)}
#studio #tools button[data-tool="frame"]:before{background-image:url(assets/frame.svg)}
#studio #tools button[data-tool="templates"]:before{background-image:url(assets/templates.svg)}
#studio #tools button[data-tool="sheet"]:before{background-image:url(assets/sheet.svg)}
#studio #tools button[data-tool="cost"]:before{background-image:url(assets/cost.svg)}
#studio #tools button[data-tool="background"]:before{background-image:url(assets/background.svg)}
#studio #tools button[data-tool="threshold"]:before{background-image:url(assets/threshold.svg)}
#studio #tools button[data-tool="vignette"]:before{background-image:url(assets/vignette.svg)}
#studio #tools button[data-tool="texture"]:before{background-image:url(assets/texture.svg)}
#studio #tools button[data-tool="recolor"]:before{background-image:url(assets/recolor.svg)}
#studio #tools button[data-tool="convert"]:before{background-image:url(assets/convert.svg)}
#studio #tools button[data-tool="mockup"]:before{background-image:url(assets/mockup.svg)}
/* V3.1 editorial studio */
#studio aside{position:static;background:#fff;border-bottom:1px solid #e4e1da}#studio aside>p{display:none}#studio aside h1{font-size:38px;letter-spacing:7px}#studio #nav{background:#111;padding:0 4vw}#studio main{background:#f7f6f2;padding:24px 5vw 0}#studio main>header{font-size:11px;letter-spacing:2px}#studio .hero{min-height:470px;border-radius:20px;background:linear-gradient(120deg,#111 45%,#3b3020);padding:70px 6%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#studio .heroart{width:46%;background:transparent}#studio .hero h2{font-size:clamp(40px,6vw,92px);letter-spacing:-3px;margin:18px 0}#studio .hero p{max-width:48%;color:#eee}#studio .hero button{margin-top:20px;border-radius:30px}#studio .sectionheading h2{font-size:34px;letter-spacing:-1px}#studio #tools{gap:24px}#studio #tools button{border:1px solid #e6e2d8;border-radius:16px;box-shadow:0 5px 18px #2221;transition:transform .2s;text-indent:18px;padding-bottom:20px}#studio #tools button:hover{transform:translateY(-4px);border-color:#b99447}#studio #tools button:before{aspect-ratio:4/3}#studio .membership{border-radius:20px}#studio .single-actions{display:grid;gap:10px;margin-top:12px}#studio .single-actions button{width:100%;text-align:left}#studio .work>div,#studio #finalPanel{border-radius:16px}#studio #actions button[hidden]{display:none!important}@media(max-width:850px){#studio .hero{min-height:340px;padding:32px}#studio .hero p{max-width:90%}#studio .heroart{opacity:.25}#studio #tools{gap:12px}#studio aside h1{font-size:26px}}
/* V3.2: visor principal desde la carga, controles independientes */
body[data-tool=analyze] #studio .work,body[data-tool=improve] #studio .work{grid-template-columns:minmax(0,2.4fr) minmax(300px,1fr);align-items:start}body[data-tool=improve] #studio .compare{display:none!important}#studio #finalPanel{padding:8px 0;box-shadow:none;border:0;background:transparent}#studio #finalPreview{height:clamp(420px,70vh,1050px);background-color:#e4e7ec}#studio #finalCanvas{max-width:100%;max-height:100%;object-fit:contain}#studio .ai-note{font-size:13px;color:#64748b}#studio #finalActions:empty{display:none}@media(max-width:850px){#studio #finalPreview{height:55vh;min-height:260px}}

#aiJob{position:fixed;bottom:20px;right:20px;z-index:99999;background:#172033;color:white;padding:16px;border-radius:12px;display:flex;gap:12px;align-items:center;box-shadow:0 4px 20px #0004}#aiJob[hidden]{display:none!important}#aiCancel{background:white;color:#172033;border:0;border-radius:8px;padding:10px;cursor:pointer}
/* V3.4 simple */
#studio .heroart{display:none}#studio .hero{min-height:220px;padding:32px 5%;border-radius:12px}#studio .hero h2{font-size:clamp(30px,5vw,58px);margin:12px 0}#studio .hero p{max-width:100%}#studio #tools{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}#studio #tools button:before{aspect-ratio: 2/1}#studio #nav{flex-wrap:wrap}#studio .single-actions[hidden],#studio [data-options="frame"],#studio #finalActions{display:none!important}#studio #finalPreview{height:75vh}body[data-tool=frame] #studio .compare,body[data-tool=background] #studio .compare,body[data-tool=half] #studio .compare{grid-template-columns:1fr}body[data-tool=frame] #studio .originalpreview,body[data-tool=background] #studio .originalpreview,body[data-tool=half] #studio .originalpreview{display:none}body[data-tool=frame] #studio .compare>div:first-child,body[data-tool=background] #studio .compare>div:first-child,body[data-tool=half] #studio .compare>div:first-child{display:none}#studio #preview{min-height:55vh}#studio #stats{white-space:pre-wrap}
/* V3.5 approved list home */
body[data-view=home] #studio aside,body[data-view=home] #studio main>header{display:none}#studio #home{max-width:820px;margin:0 auto 40px;background:#f5f5f5;border:1px solid #dedede;border-radius:20px;overflow:hidden;padding:0 0 26px}#studio .simple-brand{background:#111;color:white;text-align:center;padding:30px 12px}#studio .simple-brand span{color:#d4af37;font-size:36px}#studio .simple-brand h2{font-size:clamp(25px,4vw,38px);margin:8px 0;color:white}#studio .simple-brand p{color:#d4af37;font-size:12px;letter-spacing:1.5px;margin:0}#studio .simple-heading{text-align:center;font-size:22px;margin:26px 0 18px}#studio #tools{display:grid;grid-template-columns:1fr;gap:12px;padding:0 22px}#studio #tools button{position:relative;display:block;text-align:left;min-height:90px;padding:19px 44px 16px 90px;text-indent:0;border:1px solid #ddd;border-radius:12px;background:white;color:#151515;font-size:17px;box-shadow:none;transform:none}#studio #tools button[data-tool]:before{content:attr(data-icon);position:absolute;left:18px;top:50%;transform:translateY(-50%);width:52px;height:52px;min-width:0;aspect-ratio:auto;display:grid;place-items:center;background:#f4ecdd;color:#9d7935;border-radius:12px;padding:0;margin:0;font-size:28px}#studio #tools button:after{content:attr(title);padding:0;margin-top:5px;color:#666;font-size:13px}#studio #home .membership{display:none}#studio #tools button:hover{background:#fffaf0;border-color:#b99447}#studio #finalPreview{height:78vh}#studio #finalCanvas{width:auto;height:auto;max-width:100%;max-height:100%}#studio [hidden]{display:none!important}

#aiJob{position:static;display:grid;gap:8px;background:#f5f7fa;color:#172033;padding:12px;margin:10px 0;box-shadow:none;border:1px solid #dce2ea;border-radius:10px}#aiProgress{width:100%;height:10px;accent-color:#b99548}#aiJobStatus{font-size:13px;font-variant-numeric:tabular-nums}#aiDetected{font-size:12px}#aiCancel{width:100%}
/* V5: editorial studio */
#studio{background:#f5f3ef}#studio .simple-brand{background:linear-gradient(125deg,#15191e,#34302a);border-radius:22px;margin:22px auto 28px;max-width:960px;padding:38px 24px;box-shadow:0 16px 40px #19150d18}#studio .simple-brand h2{letter-spacing:2px;color:#fff}#studio .simple-brand p{color:#d9b975}#studio .simple-heading{font-size:27px;letter-spacing:-.8px}#studio #tools{max-width:960px;margin:auto;gap:14px}#studio #tools button{border-radius:17px;min-height:96px;border:1px solid #e5dfd4;box-shadow:0 5px 18px #28200e08}#studio #tools button[data-tool]:before{background:#eee4d0;color:#896523}#studio .membership{border-radius:20px}#studio .panel,#studio .work>div{border-radius:18px;box-shadow:0 8px 28px #27200e08}#studio #actions button{border-radius:10px} .payment5{background:#fff;color:#20242c;border:0;box-shadow:0 25px 80px #0004;padding:0;overflow:hidden}.payment5 .payhero{padding:28px;background:#191d23;color:white;border-radius:0}.payment5 .payhero h1{font-size:44px;color:#f4d18a}.payment5 .paysteps{padding:24px;display:grid;gap:10px}.payment5 p,.payment5 label{color:#505663}.payment5 select{background:#f5f3ef;color:#20242c;border:1px solid #ded9d0}.payment5 #payinfo{padding:16px;border:1px solid #e1d9c8;border-radius:12px;font-size:19px;overflow-wrap:anywhere}.payment5 #payqr{margin:auto;width:180px}.payment5 .whatsapp{background:#137c52;color:white}.payment5 #feedback{padding:0 24px}.payment5 button{width:100%}.auth-modern{border-radius:26px}.login-brand{background:linear-gradient(145deg,#161b22,#302b24)}

.payment51{max-width:460px;width:100%;margin:auto}.payment51 .payhero{text-align:center;padding:22px}.payment51 .payhero h1{margin:8px 0}.payment51 .paysteps{gap:12px;padding:20px 24px}.payment51 .paymethod{display:flex;gap:8px}.payment51 .paymethod button{background:#f3f0eb;color:#36313a;border:1px solid #e4dcd0}.payment51 .paymethod button[aria-pressed=true]{background:#75208b;color:white;border-color:#75208b}.payment51 #payinfo{display:grid;gap:5px;text-align:center;background:#faf7fc;border-color:#e9dcef}.payment51 #payinfo small{font-size:11px;letter-spacing:1px;color:#75208b}.payment51 #payinfo strong{font-size:25px}.payment51 #payinfo span{font-size:12px;color:#666}.payment51 #payqr{width:min(230px,100%);height:auto;border-radius:12px;display:block}.payment51 [hidden]{display:none!important}.payment51 .whatsapp{background:#147a4e}.payment51 .secondary{color:#27232b;background:#f0ede8}.payment51 button:disabled{opacity:.45;cursor:not-allowed}
/* V5.7: approved dark background workspace */
body[data-tool=background][data-view=editor] #studio{background:#10111b;color:#f4f3ff;color-scheme:dark}body[data-tool=background] #studio .work>div,body[data-tool=background] #studio .panel{background:#191b2b;border:1px solid #37364d;color:#f4f3ff;box-shadow:none}body[data-tool=background] #studio .work{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}body[data-tool=background] #studio .compare{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-tool=background] #studio .compare>div:first-child,body[data-tool=background] #studio .originalpreview{display:block}body[data-tool=background] #studio .compare .preview{height:48vh;min-height:240px;display:flex;align-items:center;justify-content:center;border:1px solid #49435f;border-radius:12px;overflow:hidden}body[data-tool=background] #studio .originalpreview{background:white}body[data-tool=background] #studio .compare small,body[data-tool=background] #studio label,body[data-tool=background] #studio p{color:#c7c5d9}body[data-tool=background] #studio select,body[data-tool=background] #studio .secondary{background:#282a3e;color:#f5f2ff;border:1px solid #45435c}body[data-tool=background] #studio input[type=range]{accent-color:#a45cff}body[data-tool=background] #studio #apply,body[data-tool=background] #studio #download{background:linear-gradient(110deg,#7023d9,#a33df1);color:white;border:1px solid #b47bff}body[data-tool=background] #studio #fileInfo,body[data-tool=background] #studio #bgResult{background:#202c2b;color:#a9f4c5;border:1px solid #375a49;border-radius:10px;padding:12px;margin:12px 0}body[data-tool=background] #studio #bgDetected{margin-left:8px;color:#e4d4ff}body[data-tool=background] #studio #bgSwatch{border-radius:5px} @media(max-width:900px){body[data-tool=background] #studio .work{grid-template-columns:1fr}} @media(max-width:480px){body[data-tool=background] #studio .compare{grid-template-columns:1fr}}

#studio .heroart{display:none}#studio .hero{min-height:220px;padding:32px 5%;border-radius:12px}#studio .hero h2{font-size:clamp(30px,5vw,58px);margin:12px 0}#studio .hero p{max-width:100%}#studio #tools{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}#studio #tools button:before{aspect-ratio: 2/1}#studio #nav{flex-wrap:wrap}#studio .single-actions[hidden],#studio [data-options="frame"],#studio #finalActions{display:none!important}#studio #finalPreview{height:75vh}body[data-tool=frame] #studio .compare,body[data-tool=threshold] #studio .compare,body[data-tool=half] #studio .compare{grid-template-columns:1fr}body[data-tool=frame] #studio .originalpreview,body[data-tool=threshold] #studio .originalpreview,body[data-tool=half] #studio .originalpreview{display:none}body[data-tool=frame] #studio .compare>div:first-child,body[data-tool=threshold] #studio .compare>div:first-child,body[data-tool=half] #studio .compare>div:first-child{display:none}#studio #preview{min-height:55vh}#studio #stats{white-space:pre-wrap}
body[data-tool=threshold][data-view=editor] #studio{background:#10111b;color:#f4f3ff;color-scheme:dark}body[data-tool=threshold] #studio .work>div,body[data-tool=threshold] #studio .panel{background:#191b2b;border:1px solid #37364d;color:#f4f3ff;box-shadow:none}body[data-tool=threshold] #studio .work{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}body[data-tool=threshold] #studio .compare{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-tool=threshold] #studio .compare>div:first-child,body[data-tool=threshold] #studio .originalpreview{display:block}body[data-tool=threshold] #studio .compare .preview{height:48vh;min-height:240px;display:flex;align-items:center;justify-content:center;border:1px solid #49435f;border-radius:12px;overflow:hidden}body[data-tool=threshold] #studio .originalpreview{background:white}body[data-tool=threshold] #studio .compare small,body[data-tool=threshold] #studio label,body[data-tool=threshold] #studio p{color:#c7c5d9}body[data-tool=threshold] #studio select,body[data-tool=threshold] #studio .secondary{background:#282a3e;color:#f5f2ff;border:1px solid #45435c}body[data-tool=threshold] #studio input[type=range]{accent-color:#a45cff}body[data-tool=threshold] #studio #apply,body[data-tool=threshold] #studio #download{background:linear-gradient(110deg,#7023d9,#a33df1);color:white;border:1px solid #b47bff}body[data-tool=threshold] #studio #fileInfo,body[data-tool=threshold] #studio #bgResult{background:#202c2b;color:#a9f4c5;border:1px solid #375a49;border-radius:10px;padding:12px;margin:12px 0}body[data-tool=threshold] #studio #bgDetected{margin-left:8px;color:#e4d4ff}body[data-tool=threshold] #studio #bgSwatch{border-radius:5px} @media(max-width:900px){body[data-tool=threshold] #studio .work{grid-template-columns:1fr}} @media(max-width:480px){body[data-tool=threshold] #studio .compare{grid-template-columns:1fr}}/* V6 shared studio, based on approved dark violet mockups */
body[data-view=editor] #studio{background:#0b0c15;color:#f4f1ff;color-scheme:dark;min-height:100vh}body[data-view=editor] #studio main{background:#0b0c15;padding:18px 2vw}body[data-view=editor] #studio aside{background:#10111d;border-bottom:1px solid #343047;display:flex;align-items:center;flex-wrap:wrap;padding:12px 2vw;gap:14px}body[data-view=editor] #studio aside h1{color:#fff;font-size:22px;letter-spacing:0;padding:0;margin:0}body[data-view=editor] #studio aside h1 em{color:#c7a0ff}body[data-view=editor] #studio aside>small,body[data-view=editor] #studio aside .promo{display:none}body[data-view=editor] #studio #nav{background:transparent;padding:0;flex:1;gap:6px}body[data-view=editor] #studio #nav button{background:#171827;color:#ddd8ed;border:1px solid transparent;border-radius:9px;padding:10px 12px}body[data-view=editor] #studio #nav button.active{background:linear-gradient(135deg,#5720b2,#9228ed);border-color:#c08aff;box-shadow:0 0 12px #8d39e655}body[data-view=editor] #studio .work{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);gap:16px}body[data-view=editor] #studio .work>div{background:#131522;border:1px solid #39354d;border-radius:15px;color:#f4f1ff;padding:20px;box-shadow:none;min-width:0}body[data-view=editor] #studio .paneltitle{color:#fff;font-size:23px}body[data-view=editor] #studio label,body[data-view=editor] #studio p,body[data-view=editor] #studio small{color:#c9c5dc}body[data-view=editor] #studio input:not([type=range]):not([type=checkbox]),body[data-view=editor] #studio select,body[data-view=editor] #studio .secondary{background:#222438;color:#f4f1ff;border:1px solid #46415c;border-radius:9px}body[data-view=editor] #studio input[type=range],body[data-view=editor] #studio input[type=checkbox]{accent-color:#a74aff}body[data-view=editor] #studio #apply,body[data-view=editor] #studio #auto,body[data-view=editor] #studio #download,body[data-view=editor] #studio #uploadWork{background:linear-gradient(110deg,#6520d4,#a235f0);color:white;border:1px solid #b779ff;border-radius:10px}body[data-view=editor] #studio #download{width:100%;font-weight:800;padding:14px}body[data-view=editor] #studio #fileInfo,body[data-view=editor] #studio #liveInfo,body[data-view=editor] #studio #sizePanel{background:#1c2030;color:#dcd4fa;border:1px solid #45405c;border-radius:10px;padding:12px;margin:12px 0}body[data-view=editor] #studio .compare{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-view=editor] #studio .compare>div:first-child{display:block!important}body[data-view=editor] #studio .compare .preview{display:flex!important;align-items:center;justify-content:center;height:clamp(260px,55vh,650px);min-height:0;border:1px solid #49435f;border-radius:12px;overflow:hidden;background-color:#777;background-image:conic-gradient(#999 25%,#666 0 50%,#999 0 75%,#666 0);background-size:20px 20px}body[data-view=editor] #studio .compare .preview canvas{object-fit:contain;max-width:100%;max-height:100%}body[data-view=editor] #studio #finalPanel[hidden],body[data-view=editor] #studio [hidden]{display:none!important}body[data-view=editor] #studio .compare small{display:block;text-align:center;padding:8px;background:#24253a;border-radius:8px;margin-bottom:8px}body[data-view=editor] #studio #actions{display:flex;flex-wrap:wrap;gap:8px}body[data-view=editor] #studio #sizePanel h3{margin:0 0 8px;color:#fff}body[data-view=editor] #studio #sizePanel output{font-weight:bold;color:#e0c9ff}body[data-view=editor] #studio .worktop{color:#fff}body[data-view=editor] #studio #settingsControls>div[data-options]>label{padding:9px;border:1px solid #343248;border-radius:9px;margin:8px 0}body[data-view=editor] #studio #settingsControls>div[data-options]>label input[type=range]{width:100%}#halfExport{background:#171827;color:#fff;color-scheme:dark}#halfExport input{background:#25263a;color:white}#halfExport::backdrop{background:#0009}body[data-view=editor] #studio .compare .preview[style*="background"]{background-image:none}body[data-tool=analyze][data-view=editor] #studio .compare{display:none!important}@media(max-width:900px){body[data-view=editor] #studio .work{grid-template-columns:1fr}}@media(max-width:520px){body[data-view=editor] #studio .work>div{padding:12px}body[data-view=editor] #studio .compare .preview{height:260px}}
.metro-buttons{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.metro-buttons button{padding:8px 12px}.metro-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:20px;margin-top:20px}.metro-layout canvas{max-width:100%;height:auto;touch-action:none;border:1px solid #76638c;border-radius:8px}.metro-item{padding:12px;border:1px solid #46405c;border-radius:10px;margin:8px 0}.metro-item label{display:block;margin:8px 0}.metro-item button{margin:3px;max-width:100%;overflow-wrap:anywhere}@media(max-width:700px){.metro-layout{grid-template-columns:1fr}}
/* V7 graphite / cyan design system */
:root{--gold:#ffd34e;--line:#414b54;--accent:#00d5ee;color-scheme:dark}body{background:#0b1015!important;color:#f4f7fa!important;font-family:Arial,system-ui,sans-serif}#studio,#studio main,body[data-view=editor] #studio,body[data-view=editor] #studio main{background:#0b1015!important;color:#f4f7fa!important}#studio main{max-width:1500px;margin:auto;padding:20px!important}#studio aside,body[data-view=editor] #studio aside{display:flex;align-items:center;flex-wrap:wrap;gap:12px;background:#111920!important;padding:14px 24px!important;border-bottom:1px solid #414b54}#studio aside h1{color:#fff!important;font-size:22px!important;margin:0}#studio aside h1 em{color:#00d5ee!important}#studio aside>small,#studio aside .promo,#studio aside>p{display:none!important}#studio #nav{display:flex;flex-wrap:wrap;gap:5px;background:transparent;padding:0}#studio #nav button{background:#202a32!important;color:#e8edf0!important;border:1px solid #3c4952!important;border-radius:8px}#studio #nav button.active{background:#00d5ee!important;color:#07151b!important;box-shadow:none!important}body[data-view=home] #studio #nav button[data-tool]{display:none}#studio #home{max-width:1100px;background:transparent;border:0;padding:0;margin:0 auto 40px}#studio .simple-brand{max-width:none;text-align:left;padding:28px 34px;margin:0 0 24px;border:1px solid #46535c;border-radius:16px;background:linear-gradient(90deg,#222e37 0%,#111a22 55%,transparent 100%),url('assets/tiger-v7.webp') right center/auto 100% no-repeat,#111a22;box-shadow:none}#studio .simple-brand span{color:#ffd34e}#studio .simple-brand h2{letter-spacing:0;color:white}#studio .simple-brand p{color:#dce5eb;letter-spacing:0;font-size:15px}#studio .simple-heading{color:#fff;text-align:left;margin:20px 0}#studio #tools{max-width:none;padding:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}#studio #tools button{background:linear-gradient(150deg,#29343e,#111920)!important;color:white!important;border:1px solid #56616a!important;border-radius:14px;min-height:155px;text-align:center;padding:76px 12px 15px;box-shadow:none;font-size:17px}#studio #tools button[data-tool]:before{top:12px;left:50%;transform:translateX(-50%);background:transparent;color:#e9f5fa;width:50px;height:50px;font-size:30px}#studio #tools button:after{color:#b9c6cf;font-size:12px}#studio #tools button:hover{border-color:#00d5ee!important;background:#243842!important}#studio #home .membership{display:block;background:#18232c;color:#fff;border:1px solid #46535c;border-radius:14px;margin:24px 0;padding:20px}#studio #home .membership h2{color:#ffd34e}#studio button:not(.secondary),.authbox button:not(.secondary):not(.text-action),.account button{background:#00cce5;color:#07151b;border:1px solid #36e5f7;box-shadow:none}#studio .secondary,.authbox .secondary{background:#26323b!important;color:#e8f0f4!important;border:1px solid #46535c!important}body[data-view=editor] #studio .work>div,body[data-view=editor] #studio .panel{background:#151e26!important;color:#f4f7fa!important;border-color:#46535c!important}body[data-view=editor] #studio label,body[data-view=editor] #studio p,body[data-view=editor] #studio small{color:#c7d2da!important}body[data-view=editor] #studio input:not([type=range]):not([type=checkbox]),body[data-view=editor] #studio select{background:#222e37!important;color:#fff!important;border-color:#46535c!important}body[data-view=editor] #studio input[type=range],body[data-view=editor] #studio input[type=checkbox]{accent-color:#00cce5!important}body[data-view=editor] #studio #apply,body[data-view=editor] #studio #auto,body[data-view=editor] #studio #download,body[data-view=editor] #studio #uploadWork{background:linear-gradient(110deg,#00b9d5,#00e1f2)!important;color:#07151b!important;border-color:#54e9f7!important}body[data-view=editor] #studio #fileInfo,body[data-view=editor] #studio #liveInfo,body[data-view=editor] #studio #sizePanel,body[data-view=editor] #studio .compare small{background:#222e37!important;color:#e0edf3!important;border-color:#46535c!important}body[data-view=editor] #studio #sizePanel output,body[data-view=editor] #studio #bgDetected{color:#d7f8fc!important}.account{background:#111920!important;border-color:#46535c!important}.account span{color:#e3edf2!important}.gate{background:radial-gradient(ellipse at 10% 0%,#203b49,#0b1015 65%)!important}.authbox,.auth-modern,.dashbox,.payment51{background:#151e26!important;color:#f4f7fa!important;border-color:#53616c!important}.login-brand{background:linear-gradient(145deg,#26343e,#0b1015)!important;border-color:#46535c!important}.login-form,.dashmain,.dashside,.payhero,.paysteps{background:#151e26!important;color:#f4f7fa!important}.authbox input,.authbox select{background:#222e37!important;color:white!important;border-color:#46535c!important}.login-form .text-action,.brand-mark em,.brand-copy em{color:#00d5ee!important}.authbox p,.authbox label,.authbox small{color:#c7d2da!important}.payment51 #payinfo,.payment51 .paymethod button,.metrics>div,.client,.permcard,.paycards>div,.wacard{background:#222e37!important;color:#f4f7fa!important;border-color:#46535c!important}.payment51 .paymethod button[aria-pressed=true],.dashside button.chosen{background:#00cce5!important;color:#07151b!important}.payment51 #payinfo strong{color:white}.profile-v7 button{margin-right:8px}#halfExport{background:#151e26!important}#studio footer{color:#a9b9c5!important}@media(max-width:900px){#studio #tools{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){#studio main{padding:12px!important}#studio .simple-brand{padding:20px 15px}#studio #tools button{min-height:140px;font-size:15px}}
/* V7.1: restrained neutral surfaces and accessible contrast */
body,#studio,#studio main,body[data-view=editor] #studio,body[data-view=editor] #studio main{background:#101722!important;color:#f8fafc!important}#studio .worktop{background:#1e293b!important;border:1px solid #344256!important;color:#f8fafc!important}#studio .worktop strong{color:#f8fafc!important;font-size:19px;flex:1}#studio button.dropzone{background:#192536!important;color:#f8fafc!important;border:2px dashed #547386!important;box-shadow:none!important}#studio button.dropzone:hover,#studio button.dropzone.dragging{background:#203b43!important;border-color:#2dd4bf!important}#studio .dropzone span:not(.cloud),#studio .dropzone small{color:#cbd5e1!important}#studio .dropzone small{background:#29384b!important}#studio .dropzone .cloud{color:#5eead4!important}#studio button:not(.secondary):not(.dropzone),.authbox button:not(.secondary):not(.text-action),.account button{background:#0f766e;color:white;border-color:#24988e}body[data-view=editor] #studio #apply,body[data-view=editor] #studio #auto,body[data-view=editor] #studio #download,body[data-view=editor] #studio #uploadWork{background:#0f766e!important;color:white!important;border-color:#24988e!important}#studio #nav button.active{background:#0f766e!important;color:white!important}#studio #tools button.locked{opacity:1!important;border-color:#78633a!important;padding-bottom:42px;position:relative}#studio #tools .lock-note{position:absolute;bottom:8px;left:8px;right:8px;background:#3c3322;color:#fde68a;font-size:11px;padding:6px;border-radius:7px;line-height:1.3}#nav .lock-note{margin-left:5px}#studio #tools button.locked:before{color:#facc15!important} .plans-v71{width:min(900px,95vw)!important;padding:30px!important}.plans-head{text-align:center;margin-bottom:24px}.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.plan-grid section{background:#202d3e;border:1px solid #435267;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:10px}.plan-grid section h1{font-size:40px;margin:0}.plan-grid section button{margin-top:auto;width:100%;padding:13px}.plan-grid .premium-plan{border-color:#c7a44c}.premium-plan h1,.premium-plan small{color:#facc15!important}.plans-v71 .premium-plan button{background:#eab308!important;color:#111827!important;border-color:#eab308!important}.payment51{max-width:760px!important;width:min(760px,95vw)!important;border-radius:20px!important;overflow:hidden}.payment51 .payhero{background:#243447!important;border:0!important;border-radius:14px!important}.payment51 .paysteps{display:grid;gap:12px;grid-template-columns:1fr 1fr;align-items:center}.payment51 .paysteps>b,.payment51 .paymethod,.payment51 .paysteps>p,.payment51 .paysteps>.whatsapp,.payment51 #back{grid-column:1/-1}.payment51 #payqr{max-width:200px;grid-column:2;grid-row:3/5;justify-self:center}.payment51 #payinfo span{color:#cbd5e1!important}.payment51 #copyPay{grid-column:1}.payment51 .paymethod button[aria-pressed=true]{background:#0f766e!important;color:white!important}.payment51 .whatsapp{background:#15803d!important;color:white!important}@media(max-width:600px){.plan-grid,.payment51 .paysteps{grid-template-columns:1fr}.payment51 #payqr{grid-column:1;grid-row:auto}.plans-v71{padding:16px!important}}
/* V7.2 — permisos: estilos aislados del resto del estudio */
#permissions .permissiongrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#permissions .permcard{grid-template-columns:44px minmax(0,1fr) auto;gap:12px;padding:12px;background:#101e27!important;border:1px solid #405763!important;border-radius:14px;min-height:96px}
#permissions .permicon{width:44px;height:44px;font-size:24px}
#permissions .permname{font-size:14px;color:#f8fafc}#permissions .permname small{font-size:12px;line-height:1.4;color:#b9cbd5}
#permissions .permcontrols{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
#permissions .permstatus{font-size:11px;font-weight:800;border:1px solid currentColor;border-radius:20px;padding:4px 10px;letter-spacing:.3px}
#permissions [data-mode=free] .permstatus{color:#4ade80;background:#123b2b}#permissions [data-mode=pro] .permstatus{color:#facc15;background:#3a2e10}
#permissions .permswitch{background:transparent!important;padding:0;gap:6px}
#permissions .permswitch button[data-choice]{background:#111c25!important;color:#b8c8d4!important;border:1px solid #506574!important;box-shadow:none!important;border-radius:20px;padding:8px 11px;font-size:12px;white-space:nowrap}
#permissions .permswitch button[data-choice]::before{content:'○';margin-right:5px;font-weight:900}
#permissions .permswitch button[data-choice][aria-pressed=true]::before{content:'✓'}
#permissions .permswitch button[data-choice=free][aria-pressed=true]{background:#103c2e!important;color:#5fffc0!important;border-color:#20e69a!important}
#permissions .permswitch button[data-choice=pro][aria-pressed=true]{background:#392c0b!important;color:#ffe16a!important;border-color:#facc15!important}
#permissions .permintro span{color:#5fffc0!important}#permissions .permintro span+span{color:#facc15!important}
#permissions #savePerm{background:#00cce5!important;color:#07151b!important}#permissions #dirtyLabel.dirty{color:#facc15!important;font-weight:700}
@media(max-width:1150px){#permissions .permissiongrid{grid-template-columns:1fr}}@media(max-width:480px){#permissions .permcard{grid-template-columns:36px minmax(0,1fr)}#permissions .permcontrols{grid-column:2;align-items:flex-start}#permissions .permicon{width:36px;height:36px}}
