.studio-home{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:center;gap:clamp(25px,5vw,76px);padding:36px 0 45px}
.hero h1{font-size:clamp(40px,4.7vw,66px);letter-spacing:-.055em;line-height:1.04;max-width:650px}.hero .sub{font-size:18px;line-height:1.65;max-width:510px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 16px}.hero-actions .btn{min-height:48px}.hero-local-note{font-size:13px;line-height:1.7}.hero-proof{margin:0;position:relative;padding:0 0 35px}.hero-proof>img{width:100%;height:auto;display:block;border-radius:22px;box-shadow:0 18px 48px #213d251c}.hero-proof figcaption{position:absolute;bottom:0;left:7%;right:7%;display:flex;align-items:center;gap:16px;padding:14px 18px;background:#fffffff5;border:1px solid #dae1d6;border-radius:14px;box-shadow:0 8px 20px #20392012}.hero-proof figcaption img{width:49px;height:65px;object-fit:contain}.hero-proof figcaption b,.hero-proof figcaption span{display:block}.hero-proof figcaption span{font-size:12px;color:#53655a;margin-top:4px}.hero .studio-eyebrow{letter-spacing:.13em;color:#52634f;font-size:10px}
.seller-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;border-top:1px solid #dce2d8;border-bottom:1px solid #dce2d8;padding:30px 0;margin-bottom:35px}.seller-steps span{font-size:12px;font-weight:700;color:#788963}.seller-steps h3{font-size:18px;margin:7px 0}.seller-steps p{font-size:14px;color:#59685d;line-height:1.65;margin:0}.seller-upload{max-width:720px;margin:24px auto 45px}.seller-upload .upload-stage{min-height:230px}.seller-upload .drop{padding:24px}.seller-upload .upload-kicker{display:none}.seller-faq{max-width:840px;margin:65px auto}.seller-faq h2{font-size:27px;margin-bottom:20px}.seller-faq details{background:#fff;border:1px solid #dce2d8;border-radius:10px;padding:18px 22px;margin:10px 0}.seller-faq summary{font-weight:650;cursor:pointer}.seller-faq p{font-size:14px;line-height:1.75;color:#536158}.demo-video{aspect-ratio:1.6;object-fit:contain}.studio-pricing>.demo-section-head{display:none}
.seller-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}.seller-fields label{font-size:12px}.seller-fields input,.seller-fields select{width:100%}.seller-project-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 18px 180px}.seller-project-actions>details{position:relative;font-size:12px;padding:8px}.preset-actions{display:flex;gap:7px}.seller-project-actions details[open]{background:#fff;border:1px solid #dce2d8;border-radius:10px;padding:12px;max-width:360px}#sellerHistory{padding:20px;margin-bottom:20px;background:white;border:1px solid #dce2d8;border-radius:15px}.seller-project-actions summary{cursor:pointer}.bundle-options{display:grid;gap:15px;padding:17px;border:1px solid #dce2d8;border-radius:12px;margin:20px 0}.bundle-options label{font-size:14px;display:flex;align-items:flex-start;gap:10px;line-height:1.5;margin:0}.bundle-options input{width:auto;margin:3px 0}.bundle-options legend{font-size:13px;font-weight:650;padding:0 6px}.editor>label{margin-top:20px}.editor>textarea{min-height:90px}.editor #seoDesc{min-height:230px}.export-spec{padding:10px 12px;font-size:12px;background:#f0f3eb;border-radius:9px;margin-top:9px}.export-spec strong,.export-spec>span{display:block}.export-spec p{line-height:1.5;margin:8px 0}.export-spec .checkline{font-size:12px;display:flex;gap:7px;align-items:flex-start;line-height:1.4}.export-spec input{width:auto}.download-recovery{padding:14px 20px;background:#f1f5eb;font-size:12px;line-height:1.5}.download-recovery a{font-weight:700;text-decoration:underline;color:#24543d}
.workspace:not(.start) .side{height:auto;max-height:none;overflow:visible;align-self:start;position:relative}.tool-settings-body{overflow:visible;max-height:none;min-height:0}.tool-action-dock{position:sticky;bottom:0;z-index:4;background:#fffffffa;border-radius:0 0 14px 14px}.workspace:not(.start) .preview{position:sticky;top:18px;align-self:start}.workspace .stage>.busy{background:transparent;align-items:flex-end;padding:14px;pointer-events:none}.busy .progress-copy{background:#fffffff5;box-shadow:0 6px 28px #1d35282b;border:1px solid #cfdbc8;border-radius:15px;padding:18px 23px;max-width:480px;width:100%;gap:8px;color:#253c2f}.busy .spin{width:25px;height:25px;border-color:#dfe7d9;border-top-color:#456747}.job-stages{list-style:none;display:flex;gap:5px;width:100%;padding:0;margin:8px 0}.job-stages li{flex:1;border-top:3px solid #dbe2d5;padding-top:7px;font-size:11px;color:#6c766b}.job-stages .done{border-color:#7c9569;color:#365d41}.job-stages .active{border-color:#2e5741;color:#234c35;font-weight:750}.job-note{font-size:11px!important;color:#56664f!important}.sub,.process,.tool-help{color:#536158}.mobile-workspace-switch{display:none}.batch-dialog{max-width:560px;width:calc(100% - 32px);border:1px solid #ccd6c6;border-radius:18px;padding:26px;color:#263c2f}.batch-dialog::backdrop{background:#1d302866}.batch-dialog p{font-size:14px;line-height:1.6}.batch-dialog input[type=file]{margin:18px 0}.batch-dialog .quick-actions{margin-top:18px}.batch-dialog select{width:100%}.batch-dialog h2{font-size:25px}
@media(max-width:900px){.seller-project-actions{margin-left:0}.hero h1{font-size:45px}.hero .sub{font-size:16px}.studio-home{gap:24px}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}}
@media(max-width:680px){.studio-home{display:flex;flex-direction:column;padding:24px 0 22px;gap:27px}.hero h1{font-size:42px}.hero-proof{order:2}.hero .sub{font-size:16px}.hero-actions{flex-direction:row}.hero-actions .btn{flex:1;font-size:12px;padding:12px 10px}.hero-local-note{font-size:12px}.hero-proof figcaption{padding:9px 12px;gap:10px;left:5%;right:5%}.hero-proof figcaption span{font-size:10px}.hero-proof figcaption img{height:52px;width:38px}.seller-steps{gap:15px;padding:24px 0}.seller-steps h3{font-size:14px}.seller-steps p{font-size:12px}.seller-faq{margin:40px auto}.seller-upload .upload-footer{font-size:10px}.seller-project-actions{gap:6px;margin:0 0 12px}.seller-project-actions .mini{font-size:11px;padding:8px}.workspace:not(.start) .preview{position:relative;top:auto}.tool-action-dock{position:relative;bottom:auto;padding:14px}.tool-settings-body{overflow:visible}.workspace:not(.start){padding-bottom:0}.mobile-workspace-switch{display:flex;gap:7px;margin-bottom:12px;position:sticky;top:0;background:var(--bg,#f3f4ef);z-index:7;padding:9px 0}.mobile-workspace-switch button{flex:1;min-height:42px;border-radius:9px;border:1px solid #ccd6c6;background:white;color:#2c4838}.mobile-workspace-switch button[aria-pressed=true]{background:#31543f;color:white}.busy .progress-copy{padding:12px 15px}.job-note{display:none}.workspace .stage>.busy{padding:8px}.seller-fields{gap:6px}.seller-steps>div{min-width:0}.bundle-options{padding:12px}}
@media(prefers-reduced-motion:reduce){.spin{animation:none}.hero-proof,.btn{transition:none}html{scroll-behavior:auto}}

@media(max-width:680px){.workspace[data-mobile-pane=preview]>.side{display:none}.workspace[data-mobile-pane=settings]>.preview{display:none}.workspace[data-mobile-pane=settings]>.side{display:block}.workspace[data-mobile-pane]>.tool-nav{grid-column:1/-1}}

.hero .sub{margin-left:0}.studio-home .hero{margin-left:0}.demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-grid .demo-card:last-child{grid-column:1/-1;max-width:720px;width:100%;justify-self:center}.demo-video{height:auto;min-height:200px}@media(max-width:680px){.demo-grid{grid-template-columns:1fr}.demo-video{min-height:0}.demo-grid .demo-card:last-child{max-width:none}}
/* Override the former viewport-height panel as a whole. Partial overrides
   leave its hidden overflow clipping controls behind the action dock. */
body .workspace:not(.start) .side{height:auto;max-height:none;min-height:0;position:relative;top:auto;overflow:visible;display:block;margin-bottom:0}
body .workspace:not(.start) .tool-settings-body{overflow:visible;max-height:none;flex:none}
body .workspace:not(.start) .tool-action-dock{position:relative;top:auto;bottom:auto;left:auto;right:auto;z-index:1}
@media(max-width:680px){body .workspace[data-mobile-pane=preview]>.side{display:none}body .workspace[data-mobile-pane=settings]>.preview{display:none}body .workspace[data-mobile-pane=settings]>.side{display:block}}
@media(max-width:680px){body .tool-nav{grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:4px}body .tool-nav button{min-width:0;width:100%;white-space:normal;font-size:10px;overflow-wrap:break-word;padding:8px 3px}body .tool-nav button span{white-space:normal}}
.upscale-recovery{padding:18px 22px;background:#eef4e9;border:1px solid #c8d5be;border-radius:12px;margin-bottom:20px}.upscale-recovery p{font-size:13px;margin:6px 0 12px}.upscale-recovery button{margin-right:8px}
.expand-review-image{position:relative;min-width:0;min-height:0;width:100%;height:100%}.expand-review-image svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.expand-review-toggle{display:flex;gap:8px;align-items:center;font-size:12px!important;line-height:1.5;margin:10px 0}.expand-review-toggle input{width:auto}
/* overflow-x:hidden implicitly creates a vertical scroll container on body,
   which prevents the preview from sticking to the page viewport. */
html,body{overflow-x:clip}
/* Checkboxes must not inherit the 42px text-field minimum height. */
body .tool-settings-body input[type=checkbox]{min-height:0;height:16px;width:16px;flex:0 0 16px;padding:0;margin-top:2px}
body .tool-settings-body .watermark-range:has(>label){grid-template-columns:minmax(0,1fr) auto}
body .tool-settings-body .watermark-range>label{grid-column:1/-1;margin:0}
.seller-job-summary{display:none;gap:12px;padding:14px;background:#f9fcf4;border:1px solid #c9d9bf;border-radius:12px;margin:10px 0}.seller-job-summary.without-artwork{display:flex}.seller-job-summary img{width:38px;height:50px;object-fit:contain}.seller-job-summary strong,.seller-job-summary span,.seller-job-summary small{display:block}.seller-job-summary span{font-size:12px;line-height:1.5;margin:4px 0}.seller-job-summary small{font-size:11px;color:#56694d}@media(max-width:680px){.seller-job-summary{display:flex}}
/* Keep the real tool actions near the top; downloads have their own section. */
body .workspace:not(.start) .tool-action-dock{position:sticky;top:8px;bottom:auto;z-index:8;align-items:stretch;border-top:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 16px;background:#fffffff5;box-shadow:0 5px 10px #20332208}
body .tool-action-dock>.btn{flex:1 1 42%;width:auto;min-height:43px}
.tool-action-dock .local-allowance{flex-basis:100%;font-size:10px;margin:0}
.expand-action-summary{width:100%;font-size:11px;line-height:1.45;color:var(--muted)}
.expand-action-summary b,.expand-action-summary span{display:block}.expand-action-summary b{font-weight:600;color:var(--ink)}
body .expand-action-summary .mini{font-size:11px;min-height:30px;padding:5px 9px;margin-top:7px}
.tool-download-dock{padding:16px 18px;display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid var(--line);background:#f8faf6;border-radius:0 0 14px 14px}
.tool-download-dock>.btn,.tool-download-dock>.export-spec{width:100%;margin:0}.tool-download-dock .studio-file-type{width:100%}
body .studio-projectbar{min-height:64px;padding:10px 0}.seller-project-actions{margin-bottom:12px}
body .tool-main-title{padding:14px 16px 12px}body .tool-main-title p{line-height:1.45}
body .tool-settings-body{padding:14px 16px}body .tool-settings-body .print-size-option{min-height:48px}
.expand-placement .position-grid{max-width:150px}.expand-placement .position-grid button{min-height:34px;height:34px}
body .studio-home{margin:28px auto 42px;padding:20px 0 24px;gap:clamp(24px,4vw,60px)}
body .hero-local-note{margin-top:18px}.hero-links{margin-top:16px}body .hero-links a:last-child{flex-basis:auto}
@media(max-width:900px){
 .mobile-workspace-switch{display:flex;gap:7px;margin-bottom:10px;position:sticky;top:0;background:var(--bg);z-index:10;padding:8px 0}
 .mobile-workspace-switch button{flex:1;min-height:42px;border-radius:9px;border:1px solid #ccd6c6;background:white;color:#2c4838}
 .mobile-workspace-switch button[aria-pressed=true]{background:#31543f;color:white}
 body .workspace[data-mobile-pane=preview]>.side{display:none}body .workspace[data-mobile-pane=settings]>.preview{display:none}body .workspace[data-mobile-pane=settings]>.side{display:block}
 body .workspace:not(.start) .tool-action-dock{top:58px;left:auto;right:auto;padding:10px 14px}
 body[data-workspace=editor] #toast{bottom:16px}.seller-project-actions{margin-left:0}
 body .studio-home{margin-top:18px;padding-top:12px;gap:24px}
}
@media(max-width:680px){body .studio-home{display:flex;flex-direction:column;margin-bottom:30px}.seller-steps{grid-template-columns:1fr;gap:18px}.hero-proof{width:100%}.seller-project-actions{gap:6px}.expand-action-summary{font-size:10px}}
body .workspace:not(.start) .stage:has(.expand-stage-layout){height:clamp(300px,calc(100dvh - 290px),640px);max-height:640px}
body .expand-stage-layout{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:0;min-height:0;height:100%;width:100%}
.expand-canvas-svg{display:block;min-width:0;min-height:0;width:100%;height:100%}
.expand-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;font-size:10px;color:#52634f}
body .expand-stage-details{position:static;transform:none;width:100%;max-width:100%;font-size:10px}
body .expand-stage-details span{box-shadow:none;padding:4px 7px;font-size:10px}
.background-upscale{display:flex;align-items:center;gap:14px;padding:12px 16px;margin:0 0 16px;background:#f8fbf5;border:1px solid #cbd8c5;border-radius:12px;color:#283b2f;grid-column:1/-1;min-width:0}
.background-upscale>img{width:38px;height:48px;object-fit:contain;flex-shrink:0}.background-upscale-copy{flex:1;min-width:0}.background-upscale-copy strong,.background-upscale-copy span,.background-upscale-copy small{display:block}.background-upscale-copy strong{font-size:14px}.background-upscale-copy span{font-size:12px;line-height:1.45;margin-top:3px}.background-upscale-copy small{font-size:11px;color:#586650;margin-top:4px}.background-upscale .job-stages{max-width:390px;margin:7px 0 0}.background-upscale .job-stages li{font-size:10px;padding-top:4px}.background-upscale-actions{display:flex;flex-direction:column;gap:7px}.background-upscale-actions:empty{display:none}.background-upscale[data-status=error]{background:#fff8ef;border-color:#e5ceb1}
@media(max-width:680px){.background-upscale{flex-wrap:wrap;gap:10px;padding:12px}.background-upscale-actions{flex-direction:row;flex-wrap:wrap;flex-basis:100%}.background-upscale-actions .mini{flex:1;min-height:42px}.background-upscale-copy{flex-basis:calc(100% - 50px)}}
