@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#202525;background:#f7f8fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #598824;outline-offset:4px}header{height:90px;background:white;border-bottom:1px solid #e4e7e9;display:flex;align-items:center;padding:0 5%;gap:25px}.brand{font-family:'Manrope',sans-serif;font-size:44px;letter-spacing:-4px;font-weight:800;color:#192222;text-decoration:none}.brand-dot{color:#679528}.product{font-size:12px;letter-spacing:2px;border-left:1px solid #ddd;padding-left:25px}.privacy{margin-left:auto;font-size:14px;color:#61706a}.privacy span{font-size:23px;vertical-align:middle;margin-right:7px}main{max-width:1440px;margin:auto;padding:45px 5% 0}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:36px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:#657467;margin-bottom:15px}h1{font-family:Manrope,sans-serif;font-size:42px;line-height:1.2;letter-spacing:-1.8px;margin:0;font-weight:600}h1 span{color:#7a8384}.intro p{color:#6b7376;font-size:16px;margin:17px 0 0;line-height:1.6}.step-note{white-space:nowrap;font-size:13px;color:#77817e;padding-bottom:8px}.step-note b{font-size:12px;color:#404c45;margin-right:5px}.step-note>span{margin:0 12px;color:#b9bfbd}.studio{display:grid;grid-template-columns:310px 1fr;background:#fff;border:1px solid #dce2e4;border-radius:16px;overflow:hidden;box-shadow:0 8px 32px #1e323205}aside{padding:28px;border-right:1px solid #e2e6e8}section+section{border-top:1px solid #e6e9ea;margin-top:22px;padding-top:24px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:19px}.number{font-size:12px;color:#7c8882;border:1px solid #dfe5df;padding:4px 6px;border-radius:5px}h2{font-size:16px;margin:0;font-weight:600}.dropzone{border:1.5px dashed #bcc9bd;border-radius:9px;background:#f9fbf7;width:100%;display:flex;flex-direction:column;align-items:center;padding:24px 8px;color:#304331;transition:.2s}.dropzone:hover,.dropzone.dragging{background:#edf5df;border-color:#648536}.dropzone svg{margin-bottom:15px}.dropzone strong{font-size:14px;font-weight:600}.dropzone span{font-size:14px;color:#7b867b;margin-top:5px}.dropzone small{font-size:12px;color:#879185;margin-top:17px}.text-button{border:0;background:none;font-size:14px;color:#5e7154;padding:0}.text-button span{margin-left:8px}#demo{width:100%;margin-top:15px}fieldset{border:0;margin:0;padding:0;min-width:0}label{display:block;font-size:14px;margin:20px 0 12px}label:first-child{margin-top:0}output{float:right;font-size:12px;color:#718062}input[type=range]{width:100%;accent-color:#657d42;margin:0;cursor:pointer}.range-labels{display:flex;justify-content:space-between;font-size:12px;color:#849084;margin:8px 0 24px}select{width:100%;padding:12px 8px;border:1px solid #dbe1e2;border-radius:6px;background:white;font-size:13px;color:#3b4741}.help{font-size:12px;line-height:1.65;color:#78837d;margin:10px 0 19px}.colors{display:flex;gap:10px;align-items:center}.swatch{width:28px;height:28px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #e2e6e6}.swatch.selected{box-shadow:0 0 0 2px #768d50}.swatch.original{background:conic-gradient(#223c71,#537291,#35412b,#223c71)}.swatch.black{background:#172126}.swatch.blue{background:#183c8c}#color-name{font-size:13px;color:#6c7772;margin-left:5px}.check{display:flex;align-items:center;gap:9px;margin:23px 0 0}.check input{accent-color:#596f34;width:16px;height:16px}.tip{background:#f6f8f4;border-radius:6px;padding:14px;margin-top:24px;font-size:12px;color:#718064}.tip b{font-weight:500;color:#58694e}.tip p{line-height:1.7;margin:6px 0 0}.workspace{padding:0 28px;min-width:0;display:flex;flex-direction:column}.workspace-bar{min-height:73px;display:flex;justify-content:space-between;align-items:center;gap:10px}.tabs{display:flex;gap:23px;align-self:stretch}.tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:0;font-size:14px;color:#8b9493}.tabs button.active{color:#29362e;border-bottom-color:#4c6640}.badge{font-size:10px;letter-spacing:1.5px;color:#83907f}.stage{min-height:390px;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #e4e7e7;border-radius:8px;position:relative;padding:35px}.checker{background-color:#fff;background-image:linear-gradient(45deg,#f0f2f3 25%,transparent 25%),linear-gradient(-45deg,#f0f2f3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f0f2f3 75%),linear-gradient(-45deg,transparent 75%,#f0f2f3 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}#empty{text-align:center;background:#ffffffb8;padding:25px 15px;border-radius:20px}.empty-mark{font-family:Georgia,serif;font-size:70px;font-style:italic;letter-spacing:-8px;color:#788e65;margin-bottom:20px}.empty-mark span{font-size:21px;vertical-align:top;letter-spacing:0;margin-left:9px;color:#a4bc79}#empty h2{font-size:19px}#empty p{font-size:14px;color:#7f8983;line-height:1.6;margin:10px 0 25px}.primary{border:0;background:#dbefac;color:#24351c;border-radius:7px;padding:15px 20px;font-weight:600;font-size:14px;display:inline-flex;gap:24px;align-items:center;justify-content:center;white-space:nowrap}.primary:hover:not(:disabled){background:#cae58f}.primary span{font-size:18px;font-weight:400}.preview-footer{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#8a9390;padding:14px 0 27px}.download-area{border-top:1px solid #e7ebea;padding:25px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.download-area h2{font-size:15px}.download-area p{font-size:13px;color:#808c85;margin:8px 0 0;line-height:1.6}.bottom-note{display:flex;justify-content:space-between;align-items:center;padding:0 0 23px;font-size:12px;color:#8d9890}canvas{max-width:100%;max-height:400px;object-fit:contain;display:block}canvas[hidden],[hidden]{display:none!important}#error{background:#fff0ee;color:#9e3025;padding:12px;border-radius:6px;font-size:14px}.filename{font-size:12px;color:#63765b;overflow-wrap:anywhere}footer{display:flex;align-items:center;gap:20px;padding:28px 0;font-size:12px;color:#929c96}footer .small{font-size:26px;letter-spacing:-2px;color:#8b988e}footer>span:last-child{margin-left:auto}@media(min-width:1500px){main{padding-top:60px}.stage{min-height:450px}}@media(max-width:1050px){.step-note{display:none}.studio{grid-template-columns:280px 1fr}aside{padding:22px}.workspace{padding:0 22px}.download-area{align-items:flex-start;flex-direction:column}.download-area .primary{width:100%}}@media(max-width:700px){header{height:74px;padding:0 22px;gap:18px}.brand{font-size:36px}.product{font-size:10px;padding-left:18px;letter-spacing:1.2px}.privacy{display:none}main{padding:28px 18px 0}h1{font-size:34px}.intro{margin-bottom:24px}.intro p{font-size:14px}.studio{display:flex;flex-direction:column}aside{border-right:0;border-bottom:1px solid #e2e6e8}.tip{display:none}.workspace{padding:0 18px}.stage{min-height:330px;padding:18px}.badge{display:none}.tabs{gap:22px}.tabs button{font-size:13px}.download-area{padding-top:22px}.bottom-note{gap:10px}.bottom-note>span{font-size:11px}footer{gap:12px}footer>span:last-child{display:none}}
.variation-section details{margin-top:18px}.variation-section summary{font-size:14px;color:#5e7154;cursor:pointer}.variation-section details label{margin-top:18px}.variation-section .help{font-size:13px}.workspace{align-self:start}.stage{flex:none;height:460px}.workspace-bar .tabs{gap:18px}.workspace .badge{letter-spacing:1px}@media(max-width:1050px){.workspace .badge{display:none}}@media(max-width:700px){.studio{display:grid;grid-template-columns:1fr}.workspace{grid-row:1;min-height:0;padding-top:0}.stage{height:330px}.workspace-bar{min-height:60px}.download-area{padding:16px 0}.bottom-note{padding-bottom:16px}aside{border-top:1px solid #e2e6e8;border-bottom:0}.variation-section details input{min-height:24px}}
.secondary{border:1px solid #cad5ca;background:#f8faf5;border-radius:7px;padding:10px 13px;font-size:14px;color:#385032}#review-marks{width:100%}dialog{width:min(1120px,95vw);max-height:92vh;overflow:auto;border:1px solid #d3dcd5;border-radius:14px;padding:24px;box-shadow:0 20px 90px #173e3340}dialog::backdrop{background:#17282080}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-header h2{font-size:24px}.dialog-header p{font-size:15px;line-height:1.6;color:#68766a;margin:10px 0 18px}.edit-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px;background:#f4f7f2;border-radius:8px}.edit-toolbar label{margin:0;font-size:14px}.edit-toolbar input[type=range]{width:120px}.edit-toolbar select{width:auto}.edit-toolbar output{margin-left:8px}.edit-toolbar .check{margin:0}.edit-toolbar .check input{margin:0}#review-viewport{max-height:440px;overflow:auto;background:#fff;border:1px solid #d7dfd8;border-radius:6px;margin-top:12px}#review-sheet{width:100%;min-width:100%}#review-canvas{display:block;width:100%;max-width:none;max-height:none;height:auto;touch-action:auto}#review-canvas.erasing{cursor:crosshair;touch-action:none}.mark-list-header{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:20px 0 10px}.mark-list-header h3{font-size:16px;margin:0}#mark-count{font-size:13px;color:#768275}#mark-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:310px;overflow:auto}.mark-card{border:1px solid #dee5df;border-radius:8px;padding:10px;display:flex;align-items:center;gap:10px}.mark-card canvas{width:56px;height:56px;flex:none;background:#f6f8f4;border-radius:5px}.mark-info{min-width:0;flex:1}.mark-info p{font-size:12px;line-height:1.4;margin:4px 0;color:#6e7d6f}.mark-info strong{font-size:13px;font-weight:500}.mark-card button{font-size:12px;min-width:65px;padding:7px}.mark-card.removed{background:#fff8f5;border-color:#e8d6cc}#touchup>.help{font-size:14px}@media(max-width:800px){#mark-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mark-card{flex-wrap:wrap}.mark-card button{flex:1}}@media(max-width:500px){dialog{padding:15px}.dialog-header h2{font-size:21px}.edit-toolbar{gap:10px}.mark-list-header{align-items:flex-start;flex-direction:column;gap:6px}#mark-list{grid-template-columns:1fr}}

#open-separation,#create-copies,#stamp-create-copies{width:100%;margin-top:12px}.export-buttons{display:flex;flex-direction:column;gap:9px}.workspace .tabs{gap:14px}.workspace .tabs button{font-size:13px}.copies-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.copies-heading span{font-size:13px;color:#68796c}:is(#copies-list,#stamp-copies-list){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.copy-card{border:1px solid #d8e2da;border-radius:8px;padding:12px;min-width:0}.copy-card canvas{height:95px;width:100%;object-fit:contain}.copy-card button{margin-top:10px;width:100%;font-size:13px;padding:8px}.copy-card strong{font-size:14px;font-weight:500}#stamp-color{width:48px;height:38px;padding:3px;border:1px solid #cbd5ce;background:white;border-radius:5px}#separation-original{margin-top:20px;padding:15px;max-height:360px;overflow:auto;border:1px solid #d9e3dc;border-radius:8px}#separation-canvas{width:100%;height:auto;max-height:none;object-fit:contain}#separation-canvas.selecting{touch-action:none;cursor:crosshair}.region-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.region-fields label{margin:8px 0}.region-fields input{width:100%;padding:8px;border:1px solid #d0dbd3;border-radius:5px}.layer-previews{display:grid;grid-template-columns:1fr 1fr;gap:18px}.layer-previews figure{min-width:0;margin:0;border:1px solid #d6e0d9;border-radius:8px;overflow:hidden}.layer-previews figcaption{padding:12px 14px;font-size:16px;font-weight:600;background:#f1f5ef}.layer-previews figure>div{height:195px;display:flex;align-items:center;justify-content:center;padding:15px}.layer-previews canvas{max-height:160px;object-fit:contain}.dialog-actions{display:flex;align-items:center;gap:30px;margin-top:18px}.dialog-actions .help{margin:0;flex:1}.separate-uploads{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;margin-top:20px}.separate-uploads span{font-size:14px;overflow-wrap:anywhere}@media(max-width:700px){:is(#copies-list,#stamp-copies-list){grid-template-columns:1fr}.copy-card canvas{height:110px}.layer-previews{grid-template-columns:1fr}.region-fields{grid-template-columns:1fr 1fr}.dialog-actions{flex-direction:column;align-items:stretch;gap:15px}.separate-uploads{grid-template-columns:1fr}.workspace .tabs{gap:12px}.export-buttons{width:100%}}
/* Keep the original and both layers aligned during detailed corrections. */
#correction-viewport{max-height:480px;overflow:auto;border:1px solid #cbd5ce;border-radius:8px;margin-top:14px}#correction-sheet{width:100%;min-width:100%}#correction-canvas{width:100%;height:auto;max-width:none;max-height:none;touch-action:auto}#correction-canvas.painting{touch-action:none;cursor:crosshair}#layer-review h3{font-size:18px;margin:0 0 16px}#layer-review .help,#separation .help{font-size:14px;color:#56665b}#layer-review select{max-width:100%}.intro{margin-bottom:24px}.intro h1{font-size:32px}.intro .eyebrow,.step-note{display:none}.help,select,.workspace .tabs button{font-size:14px}.help{color:#607068}.layer-previews canvas{max-width:100%}.dialog-actions{position:sticky;bottom:-24px;background:white;padding:16px 0;margin-bottom:-8px;border-top:1px solid #dae2db}@media(max-width:700px){.intro h1{font-size:28px}.dialog-actions{position:static}.edit-toolbar select{max-width:100%}.edit-toolbar{align-items:center}#correction-viewport{max-height:350px}.primary{white-space:normal}}

.ai-panel{margin:1.25rem 0;padding:1.25rem;border:1px solid #91b9cb;border-radius:14px;background:#f4faff}.ai-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.ai-heading h3{margin:0;font-size:1.12rem}.ai-panel .help{font-size:.875rem;line-height:1.55}.ai-actions{display:flex;flex-wrap:wrap;gap:.625rem}.ai-decision{border-top:1px solid #d6e3eb;margin-top:1rem;padding-top:1rem}.ai-decision label{display:block;font-size:.875rem}.ai-decision select{display:block;width:100%;margin:.4rem 0}.ai-panel summary{cursor:pointer;font-size:1rem;font-weight:600}.ai-panel [hidden]{display:none!important}

.ai-evidence-sheet{display:block;width:100%;height:auto;margin:1rem 0;border:1px solid #d6e3eb;background:white}

/* A short main flow, with detailed editing revealed on demand. */
.simple-ui{background:#f5f7f6;font-size:16px;color:#1c2d26}
.simple-ui header{height:72px;padding:0 max(24px,calc((100vw - 1176px)/2));gap:22px}
.simple-ui header .brand{font-size:38px}.simple-ui .product{font-size:12px;letter-spacing:1.2px;padding-left:22px}.simple-ui .privacy{font-size:14px}
.simple-ui main{max-width:1240px;padding:30px 32px 0}.simple-ui .intro{align-items:center;margin-bottom:26px;gap:30px}.simple-ui .intro h1{font-size:30px;letter-spacing:-1px}.simple-ui .intro p{font-size:16px;margin-top:9px;max-width:530px}
.steps{display:flex;list-style:none;gap:20px;padding:0;margin:0;flex:none;color:#7a847e;font-size:14px}.steps li{display:flex;gap:8px;align-items:center;white-space:nowrap}.steps li>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#e8ede9;font-size:13px}.steps [aria-current=step]{color:#263f2a;font-weight:600}.steps [aria-current=step]>span{background:#d8eeac;color:#22361f}
.simple-ui .studio{grid-template-columns:250px minmax(0,1fr);border-radius:16px;box-shadow:0 6px 28px #1c302007;overflow:visible}
.simple-ui aside{padding:24px 20px;border-right:1px solid #e2e8e3}.simple-ui .section-title{margin-bottom:12px}.simple-ui h2{font-size:16px}.simple-ui section+section{margin-top:18px;padding-top:18px}.simple-ui .filename{font-size:14px;margin:0 0 12px;color:#56665c;overflow-wrap:anywhere;line-height:1.45}.simple-ui .change-image{width:100%;margin:0 0 18px}
.image-choices{display:grid;gap:8px}.image-choices .choice-label{font-size:14px;font-weight:600;margin:0 0 3px}.image-choices button{width:100%;padding:13px 10px;background:#fff;border:1px solid #d3dcd5;border-radius:8px;text-align:left;color:#33463a;font-size:14px;min-height:46px}.image-choices button:hover{border-color:#7b945b}.image-choices button[aria-pressed=true]{background:#eef6df;border-color:#7a984e;box-shadow:inset 3px 0 #6b873f;font-weight:600}
.simple-ui #layer-status{font-size:14px;margin-bottom:0;line-height:1.5}.simple-ui #open-separation{margin-top:12px;width:100%;line-height:1.4}
.simple-ui .option-panel>summary{list-style:none;position:relative;font-size:15px;font-weight:600;line-height:1.45;padding:4px 25px 4px 0;cursor:pointer;color:#2f4635}.simple-ui .option-panel>summary::-webkit-details-marker{display:none}.simple-ui .option-panel>summary:after{content:'+';position:absolute;right:0;top:0;font-size:22px;font-weight:400;color:#657f53}.simple-ui .option-panel[open]>summary:after{content:'−'}.simple-ui .option-panel>fieldset{margin-top:20px}.simple-ui .option-panel summary:focus-visible{outline:3px solid #789e47;outline-offset:4px;border-radius:3px}
.simple-ui label,.simple-ui select,.simple-ui .help{font-size:14px}.simple-ui select{min-height:44px;padding:10px}.simple-ui .help{line-height:1.55;color:#617067}.simple-ui .range-labels{font-size:12px;margin-bottom:20px}.simple-ui .variation-section details{margin-top:0}.simple-ui .variation-section details details{margin-top:18px}.simple-ui .variation-section .primary,.simple-ui .variation-section .secondary{width:100%;min-height:44px;line-height:1.4}.simple-ui .check{align-items:flex-start;line-height:1.5}.simple-ui .check input{flex:none;margin-top:3px}.simple-ui output{font-size:13px}
.simple-ui .workspace{padding:0 24px;width:100%;align-self:start}.simple-ui .workspace-bar{min-height:64px}.simple-ui .workspace .tabs{gap:22px;min-height:60px}.simple-ui .workspace .tabs button{font-size:14px}.simple-ui .badge{font-size:11px;letter-spacing:.8px;line-height:1.4}.simple-ui .stage{height:380px;min-height:320px;padding:24px;background-size:24px 24px;border-color:#e2e8e3}.simple-ui .stage canvas{max-height:330px}.simple-ui .preview-footer{padding:13px 0 19px;flex-wrap:wrap;font-size:13px;line-height:1.4}.simple-ui .preview-footer #status{color:#526958}
.simple-ui .download-area{margin-top:0;padding:20px 0;align-items:center;flex-direction:row}.simple-ui .download-area h2{font-size:16px}.simple-ui .download-area p{font-size:14px;max-width:330px;line-height:1.5}.simple-ui .export-buttons{min-width:210px;gap:8px}.simple-ui .primary{font-size:15px;min-height:48px;gap:14px;padding:13px 18px;background:#d8edaa;border-radius:9px;white-space:normal;line-height:1.4}.simple-ui .secondary{font-size:14px;min-height:44px;padding:10px 13px;border-radius:8px;background:#fff}.simple-ui .text-button{min-height:36px}.simple-ui .bottom-note{justify-content:flex-end;padding-bottom:14px}.simple-ui :is(#copies-section,#stamp-copies-section){padding-top:18px;margin-top:0}.simple-ui .copy-card strong{font-size:14px}.simple-ui footer{padding:22px 0;font-size:13px;gap:12px}.simple-ui footer>span:last-child{margin-left:0}
.simple-ui .studio[data-stage=empty]{display:block;max-width:810px;margin:8px auto 0;background:transparent;border:0;box-shadow:none}.studio[data-stage=empty]>aside,.studio[data-stage=empty] .workspace-bar,.studio[data-stage=empty] .preview-footer,.studio[data-stage=empty] .bottom-note{display:none}.simple-ui .studio[data-stage=empty] .workspace{padding:0}.simple-ui .studio[data-stage=empty] .stage{height:auto;min-height:385px;padding:32px;background:#fff;border:1.5px dashed #b7c7b9;border-radius:16px}.simple-ui .stage.dragging{background:#eef7df;border-color:#6c8d40}
.simple-ui #empty{padding:0;background:none;border-radius:0}.simple-ui .upload-symbol{width:58px;height:58px;border-radius:15px;background:#f0f6e6;color:#5b763e;display:grid;place-items:center;margin:0 auto 19px}.simple-ui #empty h2{font-size:24px;letter-spacing:-.4px}.simple-ui #empty p{font-size:16px;line-height:1.5;margin:10px 0 21px}.simple-ui #empty .primary{min-width:200px}.simple-ui #empty .file-hint{font-size:13px;color:#738177;line-height:1.6;margin:18px 0 7px}.simple-ui #demo{margin-top:0;width:auto;font-size:14px}
.simple-ui dialog{width:min(1080px,95vw);max-height:92vh;padding:22px;border-radius:16px}.simple-ui .dialog-header h2{font-size:24px}.simple-ui .dialog-header p{font-size:15px;margin:8px 0 20px;line-height:1.5}.simple-ui .dialog-header>button{flex:none}
.simple-ui .simple-previews{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.simple-ui .simple-previews[data-layout=files]{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-ui .simple-previews figcaption{font-size:14px;padding:10px 12px;background:#f5f8f2}.simple-ui .simple-previews figure>div{height:180px;padding:12px}.simple-ui .simple-previews #separation-original{margin:0;border:0;border-radius:0;display:flex;align-items:center;justify-content:center;overflow:auto;max-height:none}.simple-ui .simple-previews #separation-canvas{width:auto;height:auto;max-width:100%;max-height:155px}.simple-ui .simple-previews canvas{max-height:155px}.simple-ui .simple-previews[data-layout=region] #original-layer-figure,.simple-ui .simple-previews .picking-source{grid-column:1/-1}.simple-ui .simple-previews[data-layout=region] #separation-original,.simple-ui .picking-source #separation-original{height:320px}.simple-ui .simple-previews[data-layout=region] #separation-canvas,.simple-ui .picking-source #separation-canvas{max-height:295px}
.simple-ui #separation-message{padding:0;margin:12px 0 17px;font-size:14px}.simple-ui .ai-panel{margin:0;padding:18px;background:#f6f9f2;border:1px solid #dce6d2;border-radius:10px}.simple-ui .ai-heading h3{font-size:17px}.simple-ui .ai-panel>.help{margin:10px 0 14px}.simple-ui .ai-actions{gap:9px}.simple-ui #ai-status{font-size:14px;margin-bottom:0}.simple-ui .connection-options{margin-top:16px;padding-top:12px;border-top:1px solid #dce6d2}.simple-ui .connection-options>summary{font-size:14px;font-weight:400;color:#60715f}.simple-ui .connection-options #ai-review{margin-top:14px}.simple-ui .separation-options{margin-top:14px;border:1px solid #e0e6e0;border-radius:9px;padding:13px 16px}.simple-ui .separation-options>summary{font-size:14px}.simple-ui .separation-options[open]>summary{margin-bottom:16px}.simple-ui #layer-review{border:0;margin:0;padding:0}.simple-ui #layer-review h3{display:none}.simple-ui .edit-toolbar{padding:12px;gap:12px;background:#f5f7f3}.simple-ui .edit-toolbar label{margin:0}.simple-ui .edit-toolbar select{width:auto;max-width:100%}.simple-ui .dialog-actions{position:sticky;bottom:-22px;padding:16px 22px;margin:18px -22px -22px;gap:20px;background:#fff;border-top:1px solid #dce4dc;border-radius:0 0 16px 16px;z-index:2}.simple-ui .dialog-actions .help{font-size:14px;line-height:1.45;max-width:620px}.simple-ui .dialog-actions .primary{flex:none;min-width:180px}
.simple-ui #ai-stamp-result{margin:18px 0 0;padding-top:18px;border-top:1px solid #dce6d2}.simple-ui #ai-stamp-preview{width:100%;max-height:320px;object-fit:contain}.simple-ui .ai-stamp-check{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.5}.simple-ui #ai-stamp-reviewed{width:auto;flex:none;margin-top:3px}
@media(max-width:1050px){.simple-ui .intro{align-items:flex-start;flex-direction:column;gap:20px}.simple-ui .studio{grid-template-columns:230px minmax(0,1fr)}.simple-ui .download-area{flex-direction:column;align-items:stretch;gap:14px}.simple-ui .export-buttons{width:100%}.simple-ui .download-area p{max-width:none}.simple-ui .download-area .primary{width:100%}}
@media(max-width:760px){.simple-ui header{height:66px;padding:0 20px;gap:18px}.simple-ui .privacy{display:none}.simple-ui .brand{font-size:34px}.simple-ui .product{font-size:11px;padding-left:18px}.simple-ui main{padding:24px 16px 0}.simple-ui .intro{gap:18px;margin-bottom:23px}.simple-ui .intro h1{font-size:27px}.simple-ui .intro p{font-size:15px;margin-top:8px}.steps{gap:14px;font-size:13px}.steps li{gap:6px}.steps li>span{width:24px;height:24px;font-size:12px}.simple-ui .studio{display:flex;flex-direction:column}.simple-ui aside{display:contents}.simple-ui .source-section{order:0;padding:18px;border-bottom:1px solid #e2e8e3}.simple-ui .source-section .section-title{display:none}.simple-ui .source-section .filename{margin:0 0 9px}.simple-ui .change-image{width:auto;margin:0 0 14px;min-height:40px;padding:8px 13px}.simple-ui .image-choices{grid-template-columns:1fr 1fr;gap:8px}.simple-ui .choice-label{grid-column:1/-1}.simple-ui .image-choices button{text-align:center}.simple-ui #layer-status{margin-top:10px}.simple-ui #open-separation{width:auto}.simple-ui .workspace{order:1;padding:0 16px}.simple-ui #cleanup-section,.simple-ui #variation-section{order:2;margin:0;padding:18px;border-top:1px solid #e2e8e3}.simple-ui #variation-section{order:3}.simple-ui .stage{height:300px;min-height:250px;padding:18px}.simple-ui .stage canvas{max-height:260px}.simple-ui .workspace .tabs{gap:19px}.simple-ui .preview-footer{font-size:12px;gap:7px}.simple-ui .download-area{padding:17px 0}.simple-ui .bottom-note{padding-bottom:12px}.simple-ui .studio[data-stage=empty] .stage{min-height:360px;padding:26px 18px}.simple-ui #empty h2{font-size:22px}.simple-ui #empty p{font-size:15px}.simple-ui #empty .file-hint{font-size:13px}.simple-ui .studio[data-stage=empty]>aside{display:none}.simple-ui footer{padding:20px 0}
.simple-ui dialog{padding:16px;width:calc(100vw - 20px);max-height:94dvh}.simple-ui .dialog-header{gap:12px}.simple-ui .dialog-header h2{font-size:21px}.simple-ui .dialog-header p{font-size:14px;margin-bottom:16px}.simple-ui .simple-previews{grid-template-columns:1fr 1fr;gap:10px}.simple-ui #original-layer-figure{grid-column:1/-1}.simple-ui .simple-previews figure>div{height:150px;padding:10px}.simple-ui .simple-previews canvas,.simple-ui .simple-previews #separation-canvas{max-height:130px}.simple-ui .ai-panel{padding:14px}.simple-ui .ai-actions>*{flex:1 1 150px}.simple-ui .ai-heading h3{font-size:16px}.simple-ui .separation-options{padding:12px}.simple-ui .dialog-actions{bottom:-16px;margin:16px -16px -16px;padding:13px 16px;gap:10px;flex-direction:column;align-items:stretch}.simple-ui .dialog-actions .help{font-size:13px}.simple-ui .dialog-actions .primary{width:100%}}
@media(prefers-reduced-motion:reduce){.simple-ui *{scroll-behavior:auto!important;transition:none!important}}
.simple-ui .steps{flex-wrap:wrap;flex-shrink:1;row-gap:10px}.simple-ui .steps li>span{flex:none}.simple-ui .workspace .tabs{flex-wrap:wrap}.simple-ui .workspace .tabs button{min-height:44px}
#ai-stamp-result{margin-top:20px;padding-top:18px;border-top:1px solid #dce3e8}#ai-stamp-preview{display:block;width:100%;max-height:520px;object-fit:contain}#ai-stamp-result .ai-stamp-check{display:flex;align-items:flex-start;gap:8px;margin:14px 0;font-size:13px;line-height:1.5}#ai-stamp-reviewed{width:auto;margin-top:3px}
/* A single progress state covers both automatic recovery requests. */
.simple-ui .recovery-progress { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1rem; padding:2rem; text-align:center; background:rgba(255,255,255,.96); }
.simple-ui .recovery-progress[hidden] { display:none; }
.simple-ui .recovery-progress h2 { font-size:1.3rem; margin:0; }
.simple-ui .recovery-progress p { max-width:24rem; margin:0; color:var(--muted,#526057); line-height:1.6; }
.simple-ui .recovery-spinner { width:2rem; height:2rem; border:3px solid #dce6dc; border-top-color:#243d2c; border-radius:50%; animation:recovery-spin 1s linear infinite; }
@keyframes recovery-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .simple-ui .recovery-spinner { animation:none; } }

/* Keep every result visible together instead of switching preview tabs. */
.simple-ui .workspace-bar,.simple-ui #download-area,.simple-ui #dimensions{display:none!important}
.simple-ui .workspace{padding-top:22px}
.simple-ui .results-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.simple-ui .results-gallery:has(#stamp-card[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}
.simple-ui .result-card{min-width:0;border:1px solid #dfe5e1;border-radius:10px;overflow:hidden;background:#fff;padding:14px}
.simple-ui .result-card h2{font-size:16px;margin:0 0 14px}
.simple-ui .result-image{height:290px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #e7ebe8;border-radius:6px;padding:10px;background-color:#fff}
.simple-ui .result-image canvas{display:block;max-width:100%;max-height:100%;object-fit:contain}
.simple-ui .result-image p{font-size:14px;line-height:1.6;text-align:center;color:#647168}
.simple-ui .result-card>button{width:100%;min-height:44px;margin-top:14px;padding:10px 8px;font-size:14px}
.simple-ui .result-card .help{margin:12px 0 0;font-size:14px}
.simple-ui .preview-footer{justify-content:flex-end}
@media(max-width:1000px){.simple-ui .results-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-ui .result-image{height:260px}}
@media(max-width:600px){.simple-ui .results-gallery,.simple-ui .results-gallery:has(#stamp-card[hidden]){grid-template-columns:minmax(0,1fr)}.simple-ui .result-image{height:280px}}
.simple-ui :is(#copies-list,#stamp-copies-list) .copy-card canvas{display:block;width:100%;height:auto;max-height:none;margin-top:12px}

.variation-overlay{margin:22px 0 0;border:1px solid #d8e2da;border-radius:10px;overflow:hidden;background:#fff}
.variation-overlay figcaption{padding:18px 18px 14px;border-bottom:1px solid #e6ebe4}
.variation-overlay h3{font-size:16px;margin:0;font-weight:600}.variation-overlay .help{margin:8px 0 12px}
.overlay-legend{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:13px;color:#49594e}
.overlay-legend>span{display:inline-flex;gap:8px;align-items:center}.overlay-legend i{display:block;width:12px;height:12px;border-radius:50%;flex:none}
.overlay-image{padding:8px;display:flex;align-items:center;justify-content:center;background:#fff}
.simple-ui #overlay-canvas{width:auto;height:auto;max-width:100%;max-height:640px;object-fit:contain}
@media(max-width:600px){.variation-overlay figcaption{padding:14px}.overlay-legend{gap:10px 16px}.overlay-image{padding:0}}


.item-ink-picker{padding:0;margin:16px 0 12px;min-width:0}
.item-ink-picker legend{font-size:12px;color:#65755f;font-weight:600;margin-bottom:10px;padding:0}
.item-ink-options{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.simple-ui .item-ink-picker .swatch{width:34px;height:34px;min-height:34px;margin:0;padding:0;flex:none;border:3px solid white;border-radius:50%}
.item-ink-picker .swatch.black{background:linear-gradient(135deg,#63717a,#172126 65%,#45515a)}
.item-ink-picker .swatch.blue{background:linear-gradient(135deg,#708abb,#183c8c 65%,#5269a4)}
.item-ink-picker .swatch.red{background:linear-gradient(135deg,#c88480,#943633 65%,#ac636a)}
.item-custom-color{display:inline-flex;align-items:center;gap:7px;margin:0!important;min-height:40px;font-size:12px;cursor:pointer}
.item-custom-color input{width:36px;height:36px;padding:3px;background:white;border:1px solid #cbd7c7;border-radius:7px;cursor:pointer}
.ink-selection{font-size:12px;color:#74836d;overflow-wrap:anywhere}
.item-ink-picker[disabled]{opacity:.45}

.item-tilt-control{margin-top:12px;padding-top:10px;border-top:1px solid #e9ede6}
.item-tilt-heading{display:flex;gap:8px;align-items:center;font-size:12px;color:#65755f}
.item-tilt-heading output{float:none;min-width:44px;font-variant-numeric:tabular-nums;color:#354b30}
.simple-ui .item-tilt-heading .reset-tilt{width:auto;min-height:32px;margin:0 0 0 auto;padding:3px 0;border:0;background:transparent;font-size:12px}
.item-tilt-control input[type=range]{display:block;min-height:32px;width:100%;margin:0}

/* PDF selection is an upload step; the result cards remain together. */
.simple-ui #pdf-crop{width:min(980px,calc(100vw - 24px));max-height:94dvh;padding:20px;overflow:auto}
#pdf-crop .dialog-header{align-items:flex-start}#pdf-crop .dialog-header p{margin-bottom:8px}#pdf-crop .filename{margin:0 0 12px;overflow-wrap:anywhere}
.pdf-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px}.pdf-toolbar label{margin:0}.pdf-toolbar button{min-width:44px;min-height:44px}.pdf-toolbar input{width:64px;min-height:44px;padding:8px;font-size:16px}.pdf-toolbar select{width:auto;min-height:44px;font-size:16px}.pdf-toolbar #pdf-zoom{margin-right:auto}
#pdf-viewport{height:min(54dvh,620px);min-height:220px;background:#e3e8e4;border:1px solid #cbd5ce;border-radius:8px;overflow:auto;padding:12px;overscroll-behavior:contain;scrollbar-width:auto}
#pdf-canvas{display:block;max-width:none;max-height:none;margin:auto;box-shadow:0 2px 8px #1b32212b;touch-action:none;cursor:crosshair}
#pdf-canvas:focus-visible{outline:3px solid #527e2c;outline-offset:3px}
#pdf-crop .help{font-size:14px;line-height:1.5}#pdf-error{color:#a02a27}#pdf-fine-tune{font-size:14px;margin:14px 0}#pdf-fine-tune summary{cursor:pointer;min-height:32px}
.pdf-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pdf-fields label{font-size:14px;margin:4px 0}.pdf-fields input{width:100%;min-width:0;min-height:44px;font-size:16px;padding:8px}
.simple-ui #pdf-crop .dialog-actions{bottom:-20px;margin:16px -20px -20px;padding:14px 20px;justify-content:space-between;flex-direction:row;align-items:center}
@media(max-width:600px){.simple-ui #pdf-crop{padding:14px}#pdf-crop .dialog-header{gap:8px}#pdf-crop .dialog-header h2{font-size:20px}#pdf-crop .dialog-header>button{min-width:0;padding:8px 12px}.pdf-toolbar{gap:7px}#pdf-viewport{height:45dvh;min-height:210px}.pdf-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-ui #pdf-crop .dialog-actions{bottom:-14px;margin:14px -14px -14px;padding:12px 14px}.simple-ui #pdf-crop .dialog-actions .primary{width:auto;min-width:0}#pdf-crop .dialog-actions button{font-size:14px;min-height:44px}}

.payment-panel{padding:20px;margin-bottom:20px;background:#eef4e7;border:1px solid #c9d9bd;border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:14px 24px;align-items:center}.payment-panel h2{font-size:20px;margin:0 0 8px}.payment-panel p{font-size:14px;line-height:1.6;margin:0;max-width:580px}.payment-panel .help{grid-column:1/-1}.payment-actions{display:flex;flex-direction:column;gap:10px}.payment-actions button{min-height:46px}#payment-count{display:block;font-size:14px;font-weight:600;margin-top:10px}.locked-note{font-size:14px;color:#596a50;line-height:1.5;padding:10px 0;margin:0}.payment-panel[hidden]{display:none}#payment-signin{margin-left:auto;font-size:14px;text-decoration:none}.simple-ui .result-card:has(.locked-note:not([hidden])) .result-image{background:#fafcf8}
@media(max-width:700px){.payment-panel{grid-template-columns:1fr;padding:16px}.payment-actions button{width:100%}.payment-panel h2{font-size:18px}#payment-signin{font-size:13px;padding:8px}}

#my-results{margin-left:auto;width:auto;font-size:14px;white-space:nowrap}#purchase-list{display:grid;gap:12px;margin-top:16px}.simple-ui #purchase-history{max-width:560px}#purchase-list button{text-align:left;min-height:48px}

.test-mode-note{padding:12px 16px;margin:0 0 24px;border:1px solid #d6ac4c;border-radius:12px;background:#fff6dc;color:#664800;font-size:14px;line-height:1.5}

#studio-dashboard{margin-left:auto;white-space:nowrap}.owner-studio .public-footer a[href="/support"]{display:none}
