.seller-main{max-width:1400px;padding-bottom:48px}.seller-heading{padding:28px 0 22px}.seller-heading h1{font-size:30px;letter-spacing:-.6px;margin:8px 0}.seller-heading p{font-size:14px;color:var(--muted);margin:0}.seller-shell{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:start}.seller-preview{min-width:0;position:sticky;top:18px}.seller-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.seller-actions .secondary,.preview-footer .secondary{margin:0;padding:9px 13px;font-size:14px;width:auto;min-height:40px}.seller-actions .primary{width:auto;padding:9px 14px;margin:0}.seller-shell button{font-size:14px;border-radius:9px}.add-images,.preset-load{position:relative;border:1px solid var(--line);border-radius:9px;background:var(--teal-light);color:var(--teal);padding:10px 14px;font-size:14px;font-weight:650;cursor:pointer;overflow:hidden}.add-images input,.preset-load input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.seller-limits{font-size:13px;color:var(--muted);margin:12px 0}.seller-list{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:4px 0 12px}.seller-file{position:relative;flex:0 0 110px;border:2px solid var(--line);border-radius:10px;background:white;padding:6px;text-align:start;color:var(--ink)}.seller-file[aria-pressed=true]{border-color:var(--teal);background:var(--teal-light)}.seller-file img{width:100%;height:65px;object-fit:contain;display:block}.seller-file span{display:block;font-size:12px;overflow-wrap:anywhere;max-height:38px;overflow:hidden;margin-top:5px}.seller-file small{font-size:12px;color:var(--muted)}.seller-file .file-remove{position:absolute;top:0;right:0;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:white;border:1px solid var(--line);color:var(--ink);font-size:18px}.canvas-stage{position:relative;display:grid;place-items:center;background:repeating-conic-gradient(#eef0ed 0% 25%,#fff 0% 50%) 0/20px 20px;border:1px solid var(--line);border-radius:16px;overflow:hidden;min-height:280px;padding:14px;touch-action:auto}.canvas-stage.drawing{touch-action:none;cursor:crosshair}.canvas-stage canvas{display:block;max-width:100%;max-height:62vh;width:auto;height:auto;object-fit:contain;border-radius:2px;box-shadow:0 3px 20px #0001}.canvas-stage #selection{position:absolute;border:2px dashed var(--teal);background:#18867c24;pointer-events:none}.canvas-stage #editorEmpty{position:absolute;color:var(--muted);background:#fffd;padding:18px;border-radius:12px;pointer-events:none}.preview-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:12px;font-size:14px}.preview-footer span{color:var(--muted)}.preview-footer button[aria-pressed=true]{background:var(--teal);color:#fff}.seller-download{display:flex;gap:12px}.seller-download button{width:auto;flex:1;margin:0;min-height:46px}.seller-settings{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.seller-settings fieldset{border:0;margin:0;padding:0;min-width:0}.seller-settings details{border-bottom:1px solid var(--line)}.seller-settings details:last-child{border-bottom:0}.seller-settings summary{padding:17px 18px;font-size:15px;font-weight:650;cursor:pointer;background:var(--sand)}.setting-body{padding:16px 18px;display:grid;gap:14px}.setting-body label{font-size:14px;color:var(--ink);display:grid;gap:7px;min-width:0}.setting-body input:not([type=checkbox]),.setting-body select{width:100%;min-width:0;padding:9px 11px;border:1px solid #dce5df;border-radius:8px;background:#fff;color:var(--ink)}.setting-body input[type=range]{padding:0;accent-color:var(--teal)}.setting-body input[type=color]{padding:3px;height:40px}.setting-body label.check{display:flex;align-items:center}.seller-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.seller-settings .position-set{border:0;display:block}.position-set legend{font-size:14px;padding:0 0 8px}.position-grid{display:grid;grid-template-columns:repeat(3,34px);gap:7px;direction:ltr}.position-grid button{height:34px;border:1px solid #dde5df;background:#fff;display:grid;place-items:center}.position-grid button span{width:10px;height:10px;border-radius:50%;background:#c5d4cb}.position-grid button[aria-pressed=true]{border-color:var(--teal);background:var(--teal-light)}.position-grid button[aria-pressed=true] span{background:var(--teal)}.setting-body .note{margin:0;font-size:13px;line-height:1.7}.setting-body p{overflow-wrap:anywhere;margin:0;font-size:13px}.setting-body output{float:inline-end;color:var(--teal)}#drawActions{border:1px solid var(--tan);background:var(--sand);padding:12px;border-radius:10px;margin-top:12px}#drawActions .primary,#drawActions .secondary{display:inline-block;width:auto;margin:0 5px 0 0;padding:9px 14px}#drawHint{font-size:14px;margin:0 0 10px}#sellerStatus{font-size:14px;min-height:24px}.seller-shell button:disabled{opacity:.45;cursor:not-allowed}.seller-settings fieldset:disabled{opacity:.6}.seller-settings input[type=file]{font-size:13px}.seller-nav{display:inline-flex;border:1px solid var(--line);border-radius:8px;padding:9px 12px;font-size:14px;color:var(--teal);margin-bottom:16px}
@media(max-width:900px){.seller-shell{grid-template-columns:minmax(0,1fr)}.seller-preview{position:static}.seller-settings{width:100%}.canvas-stage canvas{max-height:50vh}.seller-heading h1{font-size:26px}.seller-download{flex-wrap:wrap}.seller-download button{flex:1 1 180px}.seller-main{padding:0 18px 36px}.seller-settings summary{font-size:16px}.seller-list{max-width:100%}.seller-actions{gap:6px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.setting-body textarea{font:inherit;width:100%;min-width:0;resize:vertical;padding:9px 11px;border:1px solid #dce5df;border-radius:8px;color:var(--ink)}.seller-file>button:first-child{border:0;background:transparent;padding:0;width:100%;text-align:inherit}.seller-shell.busy{pointer-events:none}
/* Menu, canvas, options, then save actions — the same order on every screen. */
.seller-main{max-width:1180px}.seller-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.seller-preview{position:static}.editor-menu{display:flex;flex-wrap:wrap;gap:7px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:14px;position:sticky;top:0;z-index:10;box-shadow:0 4px 15px #363d3705}.editor-menu button{border:1px solid transparent;background:var(--sand);color:var(--ink);padding:11px 14px;font-size:14px;min-height:44px}.editor-menu button[aria-selected=true]{background:var(--teal);color:#fff}.seller-options{border:1px solid var(--line);border-radius:14px;background:#fff}.seller-options>fieldset{border:0;margin:0;padding:0;min-width:0}.seller-options>fieldset:disabled{opacity:.6}.seller-options .setting-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:20px;align-items:start}.seller-options .setting-body>.seller-actions,.seller-options .setting-body>.note{grid-column:1/-1}.seller-options .position-set{min-width:0}.seller-options .seller-fields{grid-column:span 2}.seller-save{border-top:1px solid var(--line);padding-top:20px}.seller-save>.seller-actions{justify-content:flex-end;margin-bottom:16px}.seller-save .seller-download{max-width:600px;margin-inline-start:auto}.seller-save>.seller-limits{text-align:end}.canvas-wrap{position:relative;padding-right:68px}.canvas-stage{display:block;min-height:300px;max-height:62vh;padding:20px;overflow:auto;cursor:copy;position:relative}.canvas-stage canvas{max-width:none;max-height:none;margin:0 auto;display:block;object-fit:initial;box-shadow:0 3px 20px #0001}.canvas-stage #editorEmpty{top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;min-width:220px;font-size:17px}.canvas-stage #editorEmpty small{display:block;margin-top:10px;font-size:14px}.canvas-tools{position:absolute;top:12px;left:12px;display:flex;gap:5px;z-index:3;border:1px solid var(--line);border-radius:12px;background:#ffffffed;padding:5px;box-shadow:0 3px 14px #0001}.editor-icon{display:grid;place-items:center;width:40px;height:40px;border:0;background:white;color:var(--teal);border-radius:9px;flex-shrink:0}.editor-icon:hover{background:var(--teal-light)}.editor-icon svg{width:22px;height:22px}.zoom-rail{position:absolute;right:0;top:0;display:flex;flex-direction:column;align-items:center;gap:8px;width:56px;border:1px solid var(--line);border-radius:14px;padding:8px 4px;background:#fff}.zoom-rail input{writing-mode:vertical-lr;direction:rtl;width:26px;height:120px;accent-color:var(--teal);padding:0}.zoom-rail output{font-size:12px;color:var(--muted)}.canvas-stage.drawing{cursor:crosshair}.seller-options section[hidden]{display:none}.seller-options .preset-load{justify-self:start}.seller-options .setting-body .position-set{border:0;padding:0}.seller-preview .seller-list{margin-bottom:4px}.seller-main .preview-footer{margin-top:10px}.seller-options .setting-body .textbutton{width:auto;justify-self:start}
@media(max-width:650px){.editor-menu{gap:6px;padding:8px}.editor-menu button{font-size:13px;padding:9px 10px;flex:1 1 30%}.seller-options .setting-body{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:16px}.seller-options .seller-fields{grid-column:1/-1}.canvas-wrap{padding-right:52px}.zoom-rail{width:45px;padding:5px 2px;gap:5px}.zoom-rail .editor-icon{width:35px;height:35px}.zoom-rail input{height:90px}.canvas-stage{min-height:280px;max-height:52vh;padding:16px}.canvas-tools{top:8px;left:8px;padding:3px;gap:2px}.canvas-tools .editor-icon{width:35px;height:35px}.seller-save>.seller-actions{justify-content:flex-start}.seller-save .seller-download{max-width:none}.seller-options .setting-body .seller-actions{grid-column:1/-1}.seller-options textarea{min-height:80px}}
/* Compact editing workspace and direct object manipulation. */
.seller-shell{gap:8px}.seller-preview>.seller-actions{margin-bottom:8px}.seller-preview>.editor-menu{margin-bottom:8px}.seller-preview>.seller-limits{margin:6px 0}.seller-list{padding-bottom:6px}.seller-list:empty{display:none}.seller-main .preview-footer{margin-top:4px;min-height:32px}#sellerStatus{margin:4px 0;min-height:0}#sellerStatus:empty{display:none}.seller-options .setting-body{padding:14px;gap:12px}.canvas-stage.has-files{cursor:default;min-height:120px}.canvas-stage.has-files canvas{touch-action:none}.canvas-stage.drawing,.canvas-stage.drawing canvas{cursor:crosshair}.object-handle{position:absolute;z-index:4;width:18px;height:18px;padding:0;border:2px solid white!important;border-radius:4px!important;background:var(--teal);box-shadow:0 0 0 1px var(--teal);touch-action:none;cursor:nwse-resize}#selection{pointer-events:none}.canvas-stage{background-color:#fafafa;background-image:linear-gradient(45deg,#ecefeb 25%,transparent 25%),linear-gradient(-45deg,#ecefeb 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ecefeb 75%),linear-gradient(-45deg,transparent 75%,#ecefeb 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.seller-preview>.seller-actions .preset-load{background:var(--sand);color:var(--ink)}.seller-options input[type=text]{min-width:0}#shapeHex{font-family:monospace;direction:ltr}.seller-shell [hidden]{display:none!important}.seller-options label,.editor-menu button{font-size:14px}
.seller-shell>.editor-menu{position:static;margin:0}.seller-shell>.seller-options{margin-top:0}
.seller-main .preview-footer{min-height:0;margin-top:2px;justify-content:flex-end;font-size:12px}.canvas-tools #compare[aria-pressed=true]{background:var(--teal);color:#fff}.seller-shell>.editor-menu{margin-top:0}
.shape-icons{display:flex;flex-wrap:wrap;gap:8px;grid-column:1/-1}.shape-icons button{display:grid;place-items:center;width:56px;height:52px;border:1px solid var(--line);background:#fff;color:var(--teal);cursor:pointer}.shape-icons button:hover,.shape-icons button[aria-pressed=true]{background:var(--teal-light);border-color:var(--teal)}.shape-icons svg{width:28px;height:28px}#drawActions{margin:4px 68px 8px 0;padding:10px 12px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}#drawHint{flex:1 1 220px;margin:0}#drawActions .primary,#drawActions .secondary{margin:0;padding:6px 12px;min-height:36px}.seller-preview>.canvas-wrap{margin-top:0}

.text-layers{display:flex;flex-wrap:wrap;gap:6px}.text-layers:empty{display:none}.text-layers button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 10px;font-size:13px}.text-layers button[aria-pressed="true"]{color:#248b80;border-color:#248b80;background:#edf8f3}

.text-actions{display:flex;gap:8px;flex-wrap:wrap}.text-actions button{min-height:42px;padding:8px 14px}.text-actions #addText{background:#248b80;color:white;border-color:#248b80}.text-actions #deleteText{color:#946954}.text-actions button:disabled{opacity:.4;cursor:default}.watermark-ratio-note{font-size:12px;line-height:1.55;margin:4px 0 8px;color:#7b827c}.text-layers button{min-height:36px}.text-layers{padding:2px 0 6px}

.resize-modes{display:grid;gap:10px;max-width:540px}.setting-body .resize-modes label{display:grid;grid-template-columns:20px minmax(110px,1fr) minmax(100px,150px);align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:10px}.setting-body .resize-modes input[type=radio]{width:17px;height:17px;min-height:0;padding:0;accent-color:var(--teal)}.resize-modes label:has(input:checked){background:var(--teal-light);border-color:var(--teal)}.resize-modes input:disabled{background:#f4f4f0;color:var(--muted)}@media(max-width:500px){.setting-body .resize-modes label{grid-template-columns:20px 1fr 105px;padding:8px}}
