.online-studio{background:#f4f6f1;color:#172329;padding:64px 0}.studio-top{display:flex;justify-content:space-between;gap:24px;align-items:center}.studio-top .eyebrow{color:#648b23}.studio-top h2{font-size:clamp(28px,4vw,46px);margin:14px 0}.studio-top p,.studio-foot{color:#687874;line-height:1.7}.studio-top>a{font-size:14px;white-space:nowrap}.studio-bar{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:26px 0 18px}.studio-bar form{display:flex;gap:8px}.studio-bar input,.studio-bar select,.studio-bar button{padding:11px 14px;border:1px solid #cbd4c8;border-radius:6px;background:white;color:#172329;font:inherit;max-width:100%}.studio-bar button{cursor:pointer}.studio-bar select{margin-left:auto}#credit-balance{font-size:14px;color:#527226}#studio-drop{border:2px dashed #a4b39d;border-radius:14px;background:#fff;text-align:center;padding:42px 20px;cursor:pointer;transition:background .2s,border-color .2s}#studio-drop.drag-over,#studio-drop:hover{background:#f0fbdc;border-color:#729b33}#studio-drop svg{color:#719b32}#studio-drop h3{font-size:27px;margin:12px 0 20px}#pick-image,#studio-download{display:inline-block;border:0;border-radius:6px;background:#c9fc65;color:#172329;padding:13px 30px;font-weight:700;cursor:pointer}#studio-drop p{color:#65736d}#studio-drop small{color:#819087}#studio-status{min-height:26px;line-height:1.7;font-size:14px;color:#527226}.studio-results{display:grid;grid-template-columns:1fr 1fr;gap:20px}.studio-results[hidden]{display:none}.studio-results figure{margin:0;border:1px solid #d4dcd0;border-radius:10px;background:white;padding:16px;min-width:0}.studio-results figcaption{font-weight:700;margin-bottom:12px}.studio-results img{width:100%;height:330px;object-fit:contain}.result-checker{background:conic-gradient(#e5e9e3 25%,#fff 0 50%,#e5e9e3 0 75%,#fff 0);background-size:20px 20px;min-height:330px}.studio-foot{font-size:12px;margin-top:22px}.studio-bar button:disabled{opacity:.5}#studio-download[hidden]{display:none}@media(max-width:600px){.online-studio{padding:42px 0}.studio-top{display:block}.studio-bar form{width:100%}.studio-bar input{min-width:0;flex:1}.studio-bar select{margin-left:0}.studio-results{grid-template-columns:1fr}.studio-results img{height:260px}.result-checker{min-height:260px}#studio-drop{padding:30px 14px}}
.online-studio #studio-drop{position:relative;overflow:hidden;border:1px solid #d5ddcf;padding:54px 20px;min-height:310px}.particle-field{position:absolute;inset:0;pointer-events:none;width:100%;height:100%}#studio-drop> :not(canvas){position:relative;z-index:1}#studio-drop h3,#studio-drop p,#studio-drop small{background:#ffffffd9;width:fit-content;margin-left:auto;margin-right:auto;padding:3px 8px;border-radius:4px}.batch-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}.batch-card{min-width:0}.batch-preview{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;border:1px solid #d8dfd4;background:conic-gradient(#dfe3dd 25%,#fff 0 50%,#dfe3dd 0 75%,#fff 0);background-size:20px 20px;box-shadow:0 3px 12px #14220e0a}.batch-preview img{width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}.batch-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:20px;background:#f6f8f1dd;text-align:center;font-size:14px;line-height:1.6}.batch-card[data-state=done] .batch-overlay{inset:auto 10px 10px;border-radius:6px;background:#ffffffdf;padding:7px;color:#4c7626;font-size:12px}.batch-card[data-state=failed] .batch-overlay{color:#974b35}.batch-progress{width:80%;height:6px;overflow:hidden;background:#d6dfcb;border-radius:6px}.batch-progress i{display:block;height:100%;background:#7b9e45;transition:width .15s}.batch-progress.indeterminate i{width:34%!important;animation:batchProgress 1.6s ease-in-out infinite}.batch-info{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 2px;font-size:12px}.batch-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6b7866}.batch-info a{flex-shrink:0;background:#c9fc65;border-radius:5px;padding:8px 14px;color:#213510;font-weight:700}.batch-info a[hidden],.batch-progress[hidden]{display:none}.studio-bar>span:last-child{font-size:12px;color:#78856f;margin-left:auto}@keyframes batchProgress{0%{transform:translateX(-110%)}100%{transform:translateX(410%)}}@media(max-width:900px){.batch-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.batch-results{grid-template-columns:1fr;gap:16px}.studio-bar>span:last-child{margin-left:0}}@media(prefers-reduced-motion:reduce){.batch-progress.indeterminate i{animation:none;width:100%!important;opacity:.5}}

.page-particles{position:fixed;inset:0;width:100vw;height:100vh;z-index:9999;pointer-events:none;background:rgba(249,251,246,.88)}.page-particles[hidden]{display:none}

.page-particles{background:rgba(255,255,255,.94)}.page-drag-hint{position:fixed;bottom:38px;left:50%;transform:translateX(-50%);z-index:10000;pointer-events:none;padding:15px 24px;border:1px solid #e6e1f8;border-radius:999px;background:#ffffffeb;box-shadow:0 5px 22px #5e4a9b0d;color:#7563b2;font-size:14px;white-space:nowrap}.page-drag-hint[hidden]{display:none}.online-studio #studio-drop{max-width:820px;margin:0 auto;border:2px dashed #cbd6bb;background:#fbfcf8;min-height:330px;padding:48px 24px}.online-studio #studio-drop:hover{background:#f7faef}.online-studio #studio-drop h3{font-size:25px;background:transparent}.online-studio #studio-drop p,.online-studio #studio-drop small{background:transparent}.studio-top{text-align:center;justify-content:center;position:relative}.studio-top .eyebrow{justify-content:center}.studio-top>a{position:absolute;right:0;top:0;font-size:12px}.studio-bar{max-width:820px;margin:26px auto 18px}.online-studio #studio-status{max-width:820px;margin:14px auto 0}.studio-foot{text-align:center}@media(max-width:650px){.studio-top>a{position:static}.studio-top{display:flex;flex-direction:column;gap:4px}.page-drag-hint{bottom:24px}.online-studio #studio-drop{min-height:300px}}

.batch-close{position:absolute;top:10px;right:10px;z-index:3;width:42px;height:34px;border:1px solid #e2e5de;border-radius:999px;background:#ffffffed;color:#20271e;font-size:27px;line-height:1;cursor:pointer;box-shadow:0 3px 10px #0001;display:grid;place-items:center}.batch-close:hover{background:#f0f5e9}.batch-close:focus-visible{outline:2px solid #688d36;outline-offset:2px}
.export-panel{margin-top:30px;border-top:1px solid #dce2d6;padding-top:26px}.export-options{display:grid;grid-template-columns:1.3fr 1fr 1.2fr 1fr;gap:24px}.export-options fieldset{border:0;padding:0;margin:0;min-width:0}.export-options legend{font-size:14px;font-weight:700;color:#687466;margin-bottom:14px}.export-options label{display:flex;gap:8px;align-items:center;font-size:14px;color:#44523f;margin:8px 0;cursor:pointer}.export-options input[type=radio]{accent-color:#6a8c37;width:15px;height:15px}.export-options small{color:#88927f;font-size:11px;line-height:1.5}.export-color{display:flex;gap:7px;align-items:center;margin:10px 0}.export-color input[type=color]{width:40px;height:30px;border:1px solid #c8d1c1;border-radius:4px;background:white;padding:2px;cursor:pointer}.export-color input[type=text],#export-hex{width:92px;padding:6px 8px;border:1px solid #c8d1c1;border-radius:4px;color:#516048;background:white;font-size:13px}.quality-control{display:flex;align-items:center;gap:10px;padding-top:8px}.quality-control input{min-width:0;width:150px;accent-color:#6a8c37}.quality-control output{color:#687466;font-size:13px}.quality-control input:disabled{opacity:.35}.export-actions{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;margin-top:30px}.export-actions button{padding:12px 23px;border-radius:99px;border:1px solid #bbc9ac;background:white;color:#48642b;font-weight:700;cursor:pointer}#export-all{background:#c9fc65;color:#263d13;border-color:#c9fc65}#export-all:disabled{opacity:.45;cursor:default}#export-location{font-size:12px;color:#7a8770}#export-message{font-size:12px;color:#6c795f;text-align:center;line-height:1.7;min-height:20px;max-width:780px;margin:14px auto 0}@media(max-width:750px){.export-options{grid-template-columns:1fr 1fr;gap:24px 18px}}@media(max-width:420px){.export-actions{gap:10px}.export-actions button{padding:11px 18px}.export-options{gap:20px 12px}}
#online-studio:not(.has-files) .export-panel{display:none}.workspace-add{display:none}.has-files .workspace-add{display:inline-block;margin-left:auto}.has-files #studio-drop,.has-files .studio-top,.has-files #invite-form,.has-files .studio-bar>span[data-cn]{display:none!important}.has-files .studio-bar{max-width:none;margin:0 0 14px}.has-files .batch-results{margin-top:0}#studio-status:empty{display:none}.batch-results:empty{display:none}.upload-art{position:relative;width:210px;height:150px;margin:0 auto 16px;perspective:600px;color:#739149}.upload-paper{position:absolute;top:24px;left:60px;width:86px;height:109px;background:#fff;border:1px solid #e6ebdf;border-radius:9px;box-shadow:0 10px 24px #34421d12;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:15px 10px 10px;transform-origin:50% 90%;transition:filter .2s}.upload-paper svg{width:45px;height:40px;margin-bottom:4px}.upload-paper b{font-size:13px;font-weight:700;letter-spacing:.5px;color:#61793d}.upload-paper i{position:absolute;top:0;right:0;width:21px;height:21px;background:linear-gradient(45deg,#f0f3e9 49%,#fafbf7 51%);border-bottom-left-radius:6px}.paper-0{transform:translate(-54px,12px) rotate(-18deg);z-index:1}.paper-1{transform:translate(0,-6px) rotate(-4deg);z-index:3}.paper-2{transform:translate(54px,15px) rotate(16deg);z-index:2}#studio-drop:hover .paper-0,#studio-drop:focus-visible .paper-0{animation:paperLeft .65s cubic-bezier(.25,.9,.35,1.2)}#studio-drop:hover .paper-1,#studio-drop:focus-visible .paper-1{animation:paperMiddle .7s cubic-bezier(.25,.9,.35,1.2)}#studio-drop:hover .paper-2,#studio-drop:focus-visible .paper-2{animation:paperRight .75s cubic-bezier(.25,.9,.35,1.2)}@keyframes paperLeft{0%,100%{transform:translate(-54px,12px) rotate(-18deg)}45%{transform:translate(-67px,-7px) rotate(-24deg)}70%{transform:translate(-52px,15px) rotate(-15deg)}}@keyframes paperMiddle{0%,100%{transform:translate(0,-6px) rotate(-4deg)}42%{transform:translate(0,-28px) rotate(3deg)}70%{transform:translate(0,-2px) rotate(-6deg)}}@keyframes paperRight{0%,100%{transform:translate(54px,15px) rotate(16deg)}45%{transform:translate(68px,-4px) rotate(23deg)}70%{transform:translate(52px,18px) rotate(14deg)}}@media(prefers-reduced-motion:reduce){.upload-paper{animation:none!important}}@media(max-width:550px){.upload-art{transform:scale(.9);margin-bottom:5px}}
.batch-results:has(>.batch-card:only-child){grid-template-columns:minmax(0,420px);justify-content:center}@media(max-width:550px){.batch-results:has(>.batch-card:only-child){grid-template-columns:minmax(0,1fr)}}
#pick-image{position:relative;overflow:hidden}#pick-image::before{content:"";position:absolute;top:0;left:0;width:42%;height:2px;background:#537623;transform:translateX(-110%);pointer-events:none}#pick-image:hover::before,#pick-image:focus-visible::before{animation:uploadButtonLine .65s ease-out both}@keyframes uploadButtonLine{from{transform:translateX(-110%)}to{transform:translateX(350%)}}@media(prefers-reduced-motion:reduce){#pick-image:hover::before,#pick-image:focus-visible::before{animation:none;transform:none;width:100%}}
#pick-image{transition:transform .2s ease,box-shadow .2s ease}#pick-image::before{width:100%;transform:scaleX(0);transform-origin:left center;transition:transform .2s ease;animation:none!important}#pick-image:hover,#pick-image:focus-visible{transform:translateY(-3px);box-shadow:0 7px 16px rgba(82,112,36,.14)}#pick-image:hover::before,#pick-image:focus-visible::before{width:100%;transform:scaleX(1);animation:none!important}@media(prefers-reduced-motion:reduce){#pick-image,#pick-image::before{transition:none}#pick-image:hover,#pick-image:focus-visible{transform:none}}
.upload-paper{transition:transform .3s cubic-bezier(.2,.75,.3,1),box-shadow .3s ease}#studio-drop:hover .upload-paper,#studio-drop:focus-visible .upload-paper{animation:none!important;box-shadow:0 16px 28px #34421d1c}#studio-drop:hover .paper-0,#studio-drop:focus-visible .paper-0{transform:translate(-60px,-3px) rotate(-21deg)}#studio-drop:hover .paper-1,#studio-drop:focus-visible .paper-1{transform:translate(0,-24px) rotate(-4deg)}#studio-drop:hover .paper-2,#studio-drop:focus-visible .paper-2{transform:translate(60px,0) rotate(19deg)}@media(prefers-reduced-motion:reduce){.upload-paper{transition:none}}
.batch-close{transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.batch-close span{display:block;line-height:1;pointer-events:none}.batch-close:hover,.batch-close:focus-visible{transform:translateY(-3px);box-shadow:0 6px 14px #24331526}.batch-close:hover span,.batch-close:focus-visible span{animation:closeIconTurn .45s ease-out both}@keyframes closeIconTurn{from{transform:rotate(0deg)}to{transform:rotate(90deg)}}@media(prefers-reduced-motion:reduce){.batch-close{transition:none}.batch-close:hover,.batch-close:focus-visible{transform:none}.batch-close:hover span,.batch-close:focus-visible span{animation:none}}

.invite-active #invite-form{display:none!important}.invite-signout{font-size:12px!important;padding:8px 12px!important;background:transparent!important;color:#78876c!important}.invite-signout[hidden]{display:none!important}
.batch-close{width:52px;height:42px;font-size:31px}.batch-close:hover span,.batch-close:focus-visible span{animation-duration:.2s}
#online-studio{scroll-margin-top:90px}

.batch-progress.ripple-loader{width:88px;height:88px;background:none;border-radius:0;overflow:visible;order:-1;flex-shrink:0;display:grid;place-items:center}.ripple-grid{display:grid;grid-template-columns:repeat(7,7px);grid-template-rows:repeat(7,7px);gap:6px;align-items:center;justify-items:center}.ripple-dot{display:block;width:7px;height:7px;border-radius:50%;background:#29342c;animation:dotRipple 1.8s ease-in-out infinite;will-change:transform,opacity;transform:scale(.3);opacity:.2}.batch-progress.ripple-loader[hidden]{display:none}.batch-card[data-state=queued] .ripple-dot{animation-play-state:paused;opacity:.3;transform:scale(.45)}@keyframes dotRipple{0%,80%,100%{transform:scale(.28);opacity:.16}40%{transform:scale(1);opacity:.9}}@media(prefers-reduced-motion:reduce){.ripple-dot{animation:none;transform:scale(.55);opacity:.5}}
.batch-card:not([data-state=failed]) .batch-state{font-family:"Space Grotesk","DM Sans",Arial,sans-serif;font-size:24px;font-weight:700;letter-spacing:-.035em;line-height:1.2;color:#172329;font-variant-numeric:tabular-nums}

.batch-card[data-state=queued] .ripple-dot{animation-play-state:running;animation-duration:3s}.batch-card:not([data-state=queued]) .ripple-dot{animation-duration:1.8s}@media(prefers-reduced-motion:reduce){.batch-card .ripple-dot{animation:none}}
.batch-card[data-state=done] .batch-state{font-family:"DM Sans",Arial,sans-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.6;color:#4c7626;animation:none}

.batch-original{position:absolute;top:10px;left:10px;z-index:3;border:1px solid #e2e5de;border-radius:999px;background:#ffffffed;color:#283720;font:600 12px "DM Sans",Arial,sans-serif;padding:8px 14px;cursor:pointer;box-shadow:0 3px 10px #0001;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:background .15s,transform .15s}.batch-original[hidden]{display:none}.batch-original:hover{background:#f0f5e9}.batch-original:active,.batch-original[aria-pressed=true]{background:#e9f2de;transform:translateY(-1px)}.batch-original:focus-visible{outline:2px solid #688d36;outline-offset:2px}.batch-preview.showing-original{background:#f3f5ef!important}.batch-preview.showing-original .batch-overlay{visibility:hidden}

.header-invite{display:flex;justify-content:flex-end;padding-bottom:10px}.header-invite[hidden]{display:none!important}.header-invite form{display:flex;align-items:center;gap:8px}.header-invite input,.header-invite button{font:inherit;font-size:12px;padding:7px 11px;border:1px solid #465147;border-radius:6px;background:#192020;color:#eff2ed}.header-invite input{width:190px;min-width:0}.header-invite button{cursor:pointer}.header-invite input::placeholder{color:#a9b5ae}.header-invite button:disabled{opacity:.5}@media(max-width:600px){.header-invite{justify-content:center}.header-invite input{width:170px}}

.studio-top>div{width:100%}.online-studio .studio-top .eyebrow:after{content:'';width:32px;height:1px;background:var(--acid);display:inline-block}.online-studio .studio-bar{justify-content:center;text-align:center}.generation-options{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin:0 auto 22px}.generation-options label{display:flex;align-items:center;gap:10px;font-size:14px;color:#52664d}.generation-options select{font:inherit;padding:9px 12px;border:1px solid #cbd4c8;border-radius:6px;background:#fff;color:#172329}.header-invite{width:auto;margin:0 16px;padding:0;flex-shrink:0}.top-inner{gap:12px;flex-wrap:wrap}.header-invite input{width:145px}.has-files .generation-options{margin-top:12px}@media(max-width:1100px){.header-invite{order:3;width:100%;justify-content:center;padding-bottom:10px;margin:0}.top-inner .nav{margin-left:auto}}
