.smo-stamp-wizard-page .entry-header,.smo-stamp-wizard-page .page-title{display:none}
.smo-wizard{--wizard-blue:#3158ec;max-width:1380px;margin:24px auto 60px;color:#182b49;font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
.smo-wizard *{box-sizing:border-box}.smo-wizard [hidden]{display:none!important}
.smo-wizard:not(.is-ready) #smo-stamp-generator{display:none}
.smo-wizard-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 24px;padding:0 6px}
.smo-wizard-hero h1{margin:5px 0 6px;font-size:32px;line-height:1.2;letter-spacing:-.7px;color:#162b4c}
.smo-wizard-hero p{margin:0 0 8px;color:#62718a}.smo-wizard-hero small{font-size:11px;color:#7a879b}.smo-wizard-hero>svg{flex-shrink:0;color:var(--wizard-blue)}
.smo-wizard[dir=rtl] .smo-wizard-panel,.smo-wizard[dir=rtl] .smo-wizard-review-card{text-align:right}
.smo-wizard[dir=rtl] .smo-wizard-mobile-navigation button,.smo-wizard[dir=rtl] .smo-wizard-position-choices button{text-align:right}
.smo-wizard[dir=rtl] input[type=number],.smo-wizard[dir=rtl] input[type=range],.smo-wizard[dir=rtl] input[type=color],.smo-wizard[dir=rtl] #smo-stamp-color-value{direction:ltr}
.smo-wizard[dir=rtl] .smo-live-preview-canvas,.smo-wizard[dir=rtl] .smo-wizard-hotspots{direction:ltr}
.smo-wizard[dir=rtl] .smo-wizard-caption-stepper{direction:ltr}
.smo-wizard[dir=rtl] .smo-wizard-caption-list button{text-align:right}
.smo-wizard-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:10px;border:1px solid #dce4f2;border-radius:18px;background:#fff;margin:0 0 22px}
.smo-wizard-steps button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;border:0;border-radius:12px;background:transparent;color:#6d7890;font:inherit;font-size:13px;cursor:pointer;padding:7px}
.smo-wizard-steps button span{display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;border-radius:50%;background:#edf0f7;color:#6d7890;font-weight:750}
.smo-wizard-steps button[aria-current=step]{background:#edf2ff;color:#2548c8}.smo-wizard-steps button[aria-current=step] span{background:var(--wizard-blue);color:#fff}.smo-wizard-steps .is-done span{background:#e3f4ec;color:#168056}
.smo-wizard-steps button:disabled{cursor:default;opacity:.65}.smo-wizard button:focus-visible,.smo-wizard input:focus-visible,.smo-wizard textarea:focus-visible{outline:3px solid #97b1ff;outline-offset:3px}
.smo-wizard #smo-stamp-generator{padding:0;background:transparent;border:0;box-shadow:none;margin:0;max-width:none}
.smo-wizard .smo-generator-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.smo-wizard #smo-generator-form{position:relative;min-width:0;padding:28px;border:1px solid #dce4f2;border-radius:22px;background:#fff;overflow:visible;box-shadow:0 10px 35px #233e7607}
.smo-wizard-panel{padding:0;margin:0;border:0}.smo-wizard-kicker{font-size:10px;font-weight:800;letter-spacing:1px;color:var(--wizard-blue)}
.smo-wizard-panel h2{margin:9px 0 10px;font-size:25px;line-height:1.25;letter-spacing:-.5px;color:#192f50}.smo-wizard-panel>p{margin:0 0 22px;color:#6b7991;font-size:13px}.smo-wizard-panel h3{font-size:14px;margin:24px 0 11px}
.smo-wizard .smo-shape-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.smo-wizard .smo-shape-picker label{min-height:104px;padding:16px 7px;border-radius:15px;gap:13px}.smo-wizard .smo-shape-picker label b{font:650 13px system-ui,sans-serif}
.smo-wizard .smo-shape-picker label.is-selected{background:#eff3ff;border-color:#7c98ff;box-shadow:0 0 0 1px #7c98ff}
/* Grid gaps own the spacing; theme label/last-child margins must not stretch the final cell. */
.smo-wizard .smo-shape-picker>label,.smo-wizard .smo-wizard-dimensions>label{margin:0}
.smo-wizard .smo-wizard-dimensions>label{align-content:start}
.smo-wizard-size-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.smo-wizard-size-shortcuts button{padding:7px 13px;border:1px solid #d6dff0;border-radius:20px;background:#f7f9ff;color:#405a89;font:600 12px system-ui;cursor:pointer}
.smo-wizard-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:14px}.smo-wizard-dimensions label{display:grid;gap:8px;font-size:12px;font-weight:650}.smo-wizard .smo-number-field{display:flex;align-items:center;position:relative}.smo-wizard .smo-number-field input{width:100%;min-height:48px;padding:10px 42px 10px 13px;border:1px solid #d4def0;border-radius:12px;background:#fff;font:650 16px system-ui;color:#1c3558}.smo-wizard .smo-number-field em{position:absolute;right:13px;font-size:11px;font-style:normal;color:#8b99b1}.smo-wizard-dimensions small{font-size:10px;font-weight:400;color:#7b89a0}
.smo-wizard-panel .smo-wizard-tip{margin:22px 0 0;padding:13px 15px;border-radius:12px;background:#f5f8ff;color:#657793;font-size:12px}
.smo-wizard-text-field{display:grid;gap:7px;margin:16px 0}.smo-wizard-text-field>span{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:700}.smo-wizard-text-field small{font-size:10px;color:#94a0b3;font-weight:400}.smo-wizard-text-field textarea{display:block;width:100%;min-height:76px;resize:vertical;border:1px solid #d4def0;border-radius:12px;padding:12px 13px;color:#223b5b;font:13px/1.6 system-ui;background:#fcfdff}
.smo-wizard .smo-wizard-typography,.smo-wizard .smo-wizard-ornament-controls{min-width:0;margin:20px 0;padding:16px;border:1px solid #dce5f4;border-radius:15px;background:#f8faff}
.smo-wizard-typography legend,.smo-wizard-ornament-controls legend{padding:0 7px;color:#29456e;font:700 13px system-ui}
.smo-wizard .smo-wizard-typography>label,.smo-wizard .smo-wizard-setting-grid>label{display:grid;gap:7px;align-content:start;min-width:0;margin:0;color:#4e6485;font:650 11px/1.4 system-ui}
.smo-wizard-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px}
.smo-wizard .smo-wizard-typography input,.smo-wizard .smo-wizard-typography select,.smo-wizard .smo-wizard-setting-grid input,.smo-wizard .smo-wizard-setting-grid select{min-width:0;width:100%;height:44px;margin:0;padding:8px 10px;border:1px solid #ccd8ee;border-radius:10px;background:#fff;color:#203c60;font:500 14px system-ui}
.smo-wizard .smo-wizard-typography>select{margin-top:7px}.smo-wizard-typography p,.smo-wizard-ornament-controls>p{margin:12px 0 0;color:#7787a0;font:11px/1.6 system-ui}
.smo-wizard-caption-settings{margin:0 0 16px;padding:12px;border:1px solid #e0e7f4;border-radius:12px;background:#f8faff}
.smo-wizard-caption-settings summary{color:#3155b4;cursor:pointer;font:650 12px system-ui;min-height:24px;line-height:24px}
.smo-wizard-caption-actions,.smo-wizard-ornament-toolbar,.smo-wizard-ornament-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.smo-wizard-caption-actions button,.smo-wizard-ornament-toolbar button,.smo-wizard-ornament-tabs button{display:flex;align-items:center;gap:7px;min-height:42px;padding:9px 11px;border:1px solid #cbd8ef;border-radius:10px;background:#fff;color:#3557ad;font:600 11px/1.4 system-ui;cursor:pointer}
.smo-wizard-caption-actions button>span{font-size:19px}.smo-wizard-caption-feedback{font:11px/1.5 system-ui;color:#54719a}.smo-wizard-caption-feedback:empty{display:none}
.smo-wizard-caption-stepper{display:flex;min-width:0;align-items:center;border:1px solid #ccd8ee;border-radius:10px;background:#fff;overflow:hidden}
.smo-wizard .smo-wizard-caption-stepper input{border:0;border-radius:0;padding:8px 2px;text-align:center;appearance:textfield;-moz-appearance:textfield}.smo-wizard-caption-stepper input::-webkit-inner-spin-button{appearance:none}
.smo-wizard .smo-wizard-caption-stepper button{flex:0 0 30px;min-height:44px;border:0;background:#f0f4ff;color:#3155b4;font:20px system-ui;cursor:pointer}
.smo-wizard-ornament-tabs button>span{display:block;width:30px;height:30px}.smo-wizard-ornament-tabs svg{width:100%;height:100%}.smo-wizard-ornament-tabs [aria-pressed=true]{background:#edf2ff;border-color:#819cf1;box-shadow:0 0 0 1px #819cf1}
.smo-wizard-position-dialog{width:min(720px,calc(100vw - 24px))}.smo-wizard-position-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px 0}
.smo-wizard-position-dialog>button{min-height:44px;padding:10px 18px;border:1px solid #cbd8ef;border-radius:10px;background:#fff;color:#3557ad;font:600 12px system-ui;cursor:pointer}
.smo-wizard-position-choices button{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid #cfdbef;border-radius:10px;background:#fff;color:#3557ad;font:600 12px/1.4 system-ui;text-align:left;cursor:pointer}.smo-wizard-position-choices button:disabled{opacity:.4;cursor:default}.smo-wizard-position-choices [aria-pressed=true]{border-color:#3158ec;background:#edf2ff}.smo-wizard-position-choices span{display:block;flex:0 0 40px;height:40px}.smo-wizard-position-choices svg{width:40px;height:40px}
@media(max-width:600px){.smo-wizard-caption-actions button{flex:1 1 40%;font-size:10px}.smo-wizard .smo-wizard-caption-stepper button{flex-basis:26px}.smo-wizard-position-choices{grid-template-columns:1fr}}
.smo-wizard-caption-style{display:flex;gap:8px;margin-top:12px}.smo-wizard-caption-style button{display:flex;gap:7px;align-items:center;min-height:40px;padding:8px 12px;border:1px solid #d6e0f1;border-radius:9px;background:#fff;color:#506989;font:12px system-ui;cursor:pointer}
.smo-wizard-caption-style b,.smo-wizard-caption-style i{font-size:17px}.smo-wizard-caption-style [aria-pressed=true]{background:#eaf0ff;color:#2449c4;border-color:#819cf1}
.smo-wizard .smo-wizard-caption-settings input.has-fit-warning{background:#fff0f0;border-color:#e3a0a0;color:#a83131}.smo-wizard-caption-warning{margin:10px 0 0;color:#a83131;font:11px/1.5 system-ui}
.smo-wizard-ornament-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.smo-wizard-ornament-choices button{min-width:0;display:grid;justify-items:center;align-content:start;gap:5px;min-height:87px;padding:10px 4px;border:1px solid #d7e1f1;border-radius:12px;background:#fff;color:#56708f;font:11px/1.4 system-ui;cursor:pointer}
.smo-wizard-ornament-choices button>span{display:block;width:38px;height:38px;color:#3158cf}.smo-wizard-ornament-choices svg{display:block;width:100%;height:100%}.smo-wizard-ornament-choices b{font-size:10px;font-weight:600;text-align:center}
.smo-wizard-ornament-choices [aria-pressed=true]{background:#edf2ff;color:#264bc2;border-color:#819cf1;box-shadow:0 0 0 1px #819cf1}
@media(max-width:600px){.smo-wizard .smo-wizard-typography,.smo-wizard .smo-wizard-ornament-controls{padding:13px}.smo-wizard-ornament-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.smo-wizard .smo-wizard-typography input,.smo-wizard .smo-wizard-typography select,.smo-wizard .smo-wizard-setting-grid input,.smo-wizard .smo-wizard-setting-grid select{font-size:16px}}
.smo-wizard-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.smo-wizard-choices button{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:102px;padding:13px 8px;border:1px solid #d7e1f1;border-radius:14px;background:#fff;color:#56708f;cursor:pointer;font:inherit;text-align:center}.smo-wizard-choices button b{font-size:12px;color:#263d60}.smo-wizard-choices button small{font-size:10px;color:#8492a7}.smo-wizard-choices button[aria-pressed=true]{background:#f0f4ff;border-color:#7b98ff;box-shadow:0 0 0 1px #7b98ff}.smo-wizard-choices button:disabled{opacity:.35;cursor:not-allowed}.smo-wizard-logo-sources button>span{font-size:26px;line-height:1.2;color:var(--wizard-blue)}.smo-wizard-logo-sources svg{width:32px;height:32px;stroke:var(--wizard-blue);stroke-width:1.5;fill:none}
.smo-wizard-frame-icon{width:68px;height:68px;color:#3158cf}.smo-wizard-frame-icon svg{width:100%;height:100%}.smo-wizard-frames button{min-height:120px}.smo-wizard-frame-status{font-size:11px!important;margin:10px 0!important}.smo-wizard-fonts button>span{font-size:27px;color:#294a83}.smo-wizard-fonts{grid-template-columns:repeat(3,minmax(0,1fr))}
.smo-wizard-colors{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}.smo-wizard-colors button{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #d4def0;border-radius:20px;background:#fff;color:#405677;font:12px system-ui;cursor:pointer}.smo-wizard-colors button i{width:17px;height:17px;border-radius:50%;background:var(--swatch)}.smo-wizard-colors button[aria-pressed=true]{border-color:#829cf3;background:#f0f4ff}
.smo-wizard [data-wizard-slot=color]>label{display:grid;gap:7px;font-size:12px;font-weight:650}.smo-wizard [data-wizard-slot=color] .smo-color-field{max-width:260px}.smo-wizard [data-wizard-slot=decorations]{margin-top:22px}
.smo-wizard [data-wizard-slot=library],.smo-wizard [data-wizard-slot=upload]{margin-top:20px}.smo-wizard [data-wizard-slot=library] .smo-svg-library-toggle{display:none}.smo-wizard #smo-image-settings{display:flex;gap:12px;flex-wrap:wrap;padding:14px}.smo-wizard #smo-image-settings>label:not(.smo-check-field){display:none}.smo-wizard .smo-wizard-logo-size{border:0;padding:0;margin:22px 0 0}.smo-wizard-logo-size legend{font-size:13px;font-weight:700;margin-bottom:12px}.smo-wizard-logo-size .smo-wizard-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.smo-wizard-logo-dot{display:block;width:var(--dot);height:var(--dot);max-width:40px;border-radius:50%;background:var(--wizard-blue);margin:2px 0 4px}
.smo-wizard .smo-wizard-logo-controls{min-width:0;margin:22px 0 0;padding:17px;border:1px solid #dce5f4;border-radius:15px;background:#f8faff}
.smo-wizard-logo-controls legend{padding:0 7px;color:#29456e;font:700 13px system-ui}
.smo-wizard-logo-adjustments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.smo-wizard .smo-wizard-logo-adjustment>label{display:flex;align-items:center;gap:5px;min-height:34px;margin:0 0 7px;color:#4e6485;font:650 11px/1.3 system-ui}
.smo-wizard-logo-adjustment label svg{width:21px;height:21px;flex-shrink:0;color:#3158cf}
.smo-wizard-logo-number{position:relative}.smo-wizard-logo-number>span{position:absolute;right:25px;top:50%;transform:translateY(-50%);color:#8897af;font:11px system-ui;pointer-events:none}
.smo-wizard .smo-wizard-logo-number input{width:100%;height:44px;min-width:0;margin:0;padding:8px 36px 8px 10px;border:1px solid #ccd8ee;border-radius:10px;background:#fff;color:#203c60;font:600 16px system-ui}
.smo-wizard .smo-wizard-logo-adjustment>input[type=range]{width:100%;min-width:0;min-height:32px;margin:8px 0 0;accent-color:#3158ec;cursor:pointer}
.smo-wizard-logo-position-label{margin:16px 0 9px;color:#4e6485;font:650 12px system-ui}
.smo-wizard-logo-positions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.smo-wizard-logo-positions button{display:flex;align-items:center;justify-content:flex-start;gap:7px;min-width:0;min-height:52px;padding:6px 9px;border:1px solid #d6e0f1;border-radius:10px;background:#fff;color:#627591;font:600 11px system-ui;cursor:pointer}
.smo-wizard-logo-positions button>span:first-child{width:34px;height:34px;flex:0 0 34px}.smo-wizard-logo-positions svg{display:block;width:100%;height:100%}
.smo-wizard-logo-positions button[aria-pressed=true]{background:#edf2ff;color:#264bc2;border-color:#819cf1;box-shadow:0 0 0 1px #819cf1}
.smo-wizard-ornament-positions>section+section{margin-top:16px;padding-top:14px;border-top:1px solid #dce5f4}
.smo-wizard-ornament-positions h4{margin:0 0 8px;color:#345171;font:700 12px/1.4 system-ui}
.smo-wizard-ornament-positions button:disabled{opacity:.4;cursor:not-allowed}
.smo-wizard-logo-controls .smo-wizard-logo-control-help{margin:14px 0 0;font:11px/1.6 system-ui;color:#7787a0}
@media(max-width:600px){.smo-wizard .smo-wizard-logo-controls{padding:13px}.smo-wizard-logo-adjustments{gap:8px}.smo-wizard-logo-positions button{flex-direction:column;justify-content:center;gap:2px;padding:5px 3px;font-size:10px}.smo-wizard .smo-wizard-logo-adjustment>label{font-size:10px;min-height:38px}.smo-wizard-logo-adjustment label svg{width:17px;height:17px}.smo-wizard-logo-number>span{right:10px}.smo-wizard .smo-wizard-logo-number input{padding-right:23px}}
.smo-wizard-steps{scroll-margin-top:calc(var(--wp-admin--admin-bar--height,0px) + 16px)}.smo-wizard-review{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:24px;align-items:start;margin-top:24px}
.smo-wizard-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.smo-wizard-review-card{min-width:0;padding:17px;border:1px solid #dce5f4;border-radius:16px;background:#fff}.smo-wizard-review-wide{grid-column:1/-1}
.smo-wizard-review-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.smo-wizard-review-card h3{margin:0;font-size:13px;line-height:1.4;color:#243c60}.smo-wizard-review-edit{flex-shrink:0;min-height:36px;padding:7px 9px;border:1px solid #dbe4f8;border-radius:9px;background:#f7f9ff;color:#3157bf;font:650 11px system-ui;cursor:pointer}.smo-wizard-review-edit:disabled{opacity:.45;cursor:default}
.smo-wizard-review-visual{display:flex;align-items:center;gap:12px;min-height:64px}.smo-wizard-review-visual>div{min-width:0}.smo-wizard-review-visual b{font-size:13px;line-height:1.5;color:#243d61}.smo-wizard-review-visual p{font-size:11px;line-height:1.5;color:#76859e;margin:4px 0 0;overflow-wrap:anywhere}.smo-wizard-review-shape,.smo-wizard-review-no-logo{display:grid;place-items:center;flex-shrink:0;width:54px;height:54px;border-radius:13px;background:#eff3ff;color:#3158ec}.smo-wizard-review-shape svg{width:34px;height:34px}.smo-wizard-review-no-logo{font:600 23px Georgia,serif}.smo-wizard-review-logo{width:54px;height:54px;object-fit:contain;flex-shrink:0}
.smo-wizard-review-properties{display:flex;flex-wrap:wrap;gap:8px}.smo-wizard-review-properties>span{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:6px 10px;border:1px solid #e0e7f5;border-radius:8px;background:#f8faff;color:#5c7190;font:11px/1.5 system-ui}.smo-wizard-review-ink i{width:13px;height:13px;border-radius:50%;border:1px solid #0001}
.smo-wizard-review-texts{list-style:none;counter-reset:review-text;padding:0;margin:0}.smo-wizard-review-texts li{counter-increment:review-text;position:relative;padding:13px 0 13px 34px;border-top:1px solid #edf1f8}.smo-wizard-review-texts li:first-child{padding-top:0;border-top:0}.smo-wizard-review-texts li:last-child{padding-bottom:0}.smo-wizard-review-texts li:before{content:counter(review-text);position:absolute;left:0;top:15px;display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#edf2ff;color:#4967bf;font:700 10px system-ui}.smo-wizard-review-texts li:first-child:before{top:2px}.smo-wizard-review-texts small{color:#8190a6;font-size:10px}.smo-wizard-review-texts p{margin:5px 0 0;color:#2d4465;font:600 13px/1.6 system-ui;white-space:pre-wrap;overflow-wrap:anywhere}
.smo-wizard-review-preview{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 24px);min-width:0}.smo-wizard-review-preview>p{margin:12px 10px 0;color:#7b8ba5;font-size:11px;line-height:1.6;text-align:center}.smo-wizard[data-step="7"] .smo-wizard-review-preview #smo-generator-live-preview{display:block;max-width:none;margin:0;padding:15px;border-radius:17px;box-shadow:none}.smo-wizard-review-preview .smo-live-preview-canvas{padding:12px}
.smo-wizard-panel .smo-wizard-review-next{display:flex;align-items:center;gap:10px;margin:20px 0 0;padding:12px 15px;border-radius:12px;background:#f0f8f5;color:#537a6b;font-size:12px}.smo-wizard-review-next>span{display:grid;place-items:center;flex-shrink:0;width:23px;height:23px;border-radius:50%;background:#dceddf;color:#34815c}
.smo-wizard[data-step="7"] .smo-generator-results:not(.has-generated-results) #smo-generator-empty{display:none}
.smo-wizard[data-step="7"] .smo-generator-results{min-height:0}
.smo-wizard .smo-wizard-stale{padding:13px;background:#fff7e2;border:1px solid #f1dca3;border-radius:12px;color:#8b6925;font-size:12px}
.smo-wizard-navigation{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:26px -28px -28px;padding:20px 24px;border-top:1px solid #e1e7f2;border-radius:0 0 22px 22px;background:#fff;z-index:20}.smo-wizard-navigation button{min-height:45px;border:1px solid #d4def0;border-radius:12px;padding:10px 17px;background:#fff;color:#415779;font:650 13px system-ui;cursor:pointer}.smo-wizard-navigation button:disabled{opacity:.45;cursor:default}.smo-wizard-navigation .smo-wizard-next,.smo-wizard-navigation .smo-generate-button{background:var(--wizard-blue);border-color:var(--wizard-blue);color:#fff}.smo-wizard-navigation .smo-generate-button{width:auto;min-width:185px;margin:0;display:flex;justify-content:center;gap:10px;font-size:13px}.smo-wizard-step-count{font-size:11px;color:#8c9ab0;white-space:nowrap}.smo-wizard-validation{padding:12px;border:1px solid #f1b6b6;background:#fff1f1;border-radius:12px;color:#a83232;font-size:12px}
.smo-wizard .smo-generation-submit-row{display:none}.smo-wizard:not([data-step="7"]) #smo-generator-quota,.smo-wizard:not([data-step="7"]) #smo-generation-progress{display:none!important}
.smo-wizard .smo-generator-results{min-width:0;padding:0;border:0;box-shadow:none;background:transparent;position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 24px)}
.smo-wizard .smo-generator-live-preview{position:static;margin:0;padding:20px;background:#f7f9ff;border:1px solid #dce4f2;border-radius:22px;box-shadow:0 10px 35px #233e7607}.smo-wizard .smo-live-preview-canvas{min-height:0;aspect-ratio:1;padding:20px;border:1px solid #e0e7f4;border-radius:17px;background:repeating-linear-gradient(45deg,#fff,#fff 8px,#f7f9fd 8px,#f7f9fd 16px)}.smo-wizard .smo-live-preview-canvas svg{width:100%;height:100%;max-height:none}
.smo-wizard-preview-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 0 13px;background:none;border:0;color:#375079;font:700 12px system-ui;cursor:pointer}.smo-wizard-preview-toggle:after{content:'−';font-size:18px}.smo-wizard-preview-toggle[aria-expanded=false]:after{content:'+'}.smo-wizard .smo-generator-live-preview.is-collapsed .smo-live-preview-canvas{display:none}
.smo-wizard:not([data-step="7"]) #smo-generator-grid,.smo-wizard:not([data-step="7"]) #smo-results-toolbar,.smo-wizard:not([data-step="7"]) #smo-generator-empty,.smo-wizard:not([data-step="7"]) #smo-generation-status,.smo-wizard:not([data-step="7"]) #smo-production-check{display:none!important}
.smo-wizard[data-step="7"] .smo-generator-workspace{grid-template-columns:1fr}.smo-wizard[data-step="7"] .smo-generator-results{position:static}.smo-wizard[data-step="7"] #smo-generator-live-preview{max-width:400px;margin:0 auto 24px}.smo-wizard[data-step="7"] .has-generated-results #smo-generator-live-preview{display:none}.smo-wizard .smo-result-feedback,.smo-wizard .smo-generator-quality,.smo-wizard .smo-pin-result{display:none!important}.smo-wizard .smo-generator-card-actions{display:block}.smo-wizard .smo-edit-result{width:100%;min-height:45px}
@media(max-width:1000px){.smo-wizard{margin:18px auto 35px}.smo-wizard .smo-generator-workspace{gap:16px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.smo-wizard #smo-generator-form{padding:22px}.smo-wizard-navigation{margin:24px -22px -22px;padding:16px}.smo-wizard-steps button{font-size:11px;gap:6px}.smo-wizard .smo-generator-live-preview{padding:14px}.smo-wizard-panel h2{font-size:22px}}
@media(max-width:760px){.smo-wizard{margin:14px 0 90px}.smo-wizard-hero{padding:0 4px;gap:12px}.smo-wizard-hero h1{font-size:27px}.smo-wizard-hero p{font-size:12px}.smo-wizard-hero>svg{width:54px;height:54px}.smo-wizard-steps{gap:3px;padding:6px;margin-bottom:14px;scroll-margin-top:60px}.smo-wizard-steps button{flex-direction:column;gap:5px;min-height:64px;font-size:9px;padding:4px 1px}.smo-wizard-steps button span{width:26px;height:26px}.smo-wizard-steps button b{font-weight:650}.smo-wizard .smo-generator-workspace{display:flex;flex-direction:column;gap:14px}.smo-wizard #smo-generator-form{width:100%;padding:20px;order:2}.smo-wizard .smo-generator-results{width:100%;order:1;position:sticky;top:46px;z-index:15}.smo-wizard .smo-generator-live-preview{padding:10px 14px;border-radius:16px}.smo-wizard .smo-live-preview-canvas{height:175px;aspect-ratio:auto;padding:6px;display:flex;align-items:center;justify-content:center}.smo-wizard .smo-live-preview-canvas svg{height:100%;max-width:240px;object-fit:contain}.smo-wizard-preview-toggle{padding-bottom:7px}.smo-wizard .smo-preview-watermark-notice{font-size:9px}.smo-wizard-navigation{position:fixed;left:0;right:0;bottom:0;margin:0;padding:12px 15px calc(12px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;box-shadow:0 -6px 25px #17315c12;gap:10px}.smo-wizard-navigation button{min-height:46px;padding:10px 15px}.smo-wizard-navigation .smo-generate-button{min-width:0;flex:1;font-size:12px}.smo-wizard[data-step="7"] .smo-wizard-step-count{display:none}.smo-wizard[data-step="7"] .smo-generator-results{order:3;position:static}.smo-wizard[data-step="7"] #smo-generator-live-preview{max-width:none}.smo-wizard .smo-generator-grid{gap:14px}.smo-wizard-choices{gap:8px}.smo-wizard-choices button b{font-size:11px}.smo-wizard-logo-size .smo-wizard-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.smo-wizard-panel h2{font-size:23px}.smo-wizard .smo-shape-picker label{min-height:92px}.smo-wizard .smo-svg-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#smo-stamp-wizard .smo-shape-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}
.smo-wizard-text-row{position:relative}.smo-wizard-text-field>span b{font-weight:700}.smo-wizard-text-row[data-wizard-extra]{padding:0 0 8px;border-bottom:1px solid #edf1f8}.smo-wizard-text-row[data-wizard-extra] .smo-wizard-text-field{margin-bottom:6px}.smo-wizard-remove-text{display:block;margin:0 0 0 auto;padding:5px 9px;border:0;border-radius:7px;background:#fff4f4;color:#a6474e;font:11px system-ui;cursor:pointer}
.smo-wizard .smo-wizard-text-field textarea{height:84px;min-height:84px}
.smo-wizard-add-text,.smo-wizard-skip-logo{margin-top:12px;padding:11px 14px;min-height:44px;border:1px solid #bacbf7;border-radius:11px;background:#f6f8ff;color:#3155bf;font:650 12px system-ui;cursor:pointer}.smo-wizard-add-text:disabled{opacity:.45;cursor:default}.smo-wizard-extra-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;margin-top:10px;border:1px solid #dce4f2;background:#f8faff;border-radius:12px}.smo-wizard-extra-options button{min-height:44px;padding:9px;border:1px solid #d4def0;border-radius:9px;background:#fff;color:#35537b;font:12px system-ui;cursor:pointer}.smo-wizard-panel .smo-wizard-text-count{margin:10px 0 0;font-size:11px;color:#7a8ba5}
.smo-wizard-selected-logo{padding:14px;margin-top:20px;border:1px solid #d7e2f6;border-radius:15px;background:#f7f9ff}.smo-wizard-selected-logo>p{margin:0 0 9px;font-size:11px;font-weight:700;color:#637b9d}.smo-wizard-selected-logo .smo-image-preview{position:static;inset:auto;z-index:auto;padding:0;gap:10px;justify-content:flex-start;background:none}.smo-wizard-selected-logo .smo-image-preview img{width:90px;height:80px;object-fit:contain;margin-right:auto}.smo-wizard-selected-logo .smo-image-preview button{min-height:44px;font:650 12px system-ui}.smo-wizard-selected-logo .smo-image-preview .smo-wizard-change-logo{border-color:#c5d2ed;color:#3155bf}
.smo-wizard-logo-sample{display:grid;place-items:center;width:80px;height:80px;border:1.5px solid #8a9fcd;border-radius:50%;background:#fafbff}.smo-wizard-logo-sample img{display:block;width:var(--logo-percent);height:var(--logo-percent);object-fit:contain}.smo-wizard .smo-wizard-logo-size .smo-wizard-choices button{min-height:144px}.smo-wizard-preview-toggle>small{font-size:10px;color:#7b8ba4;font-weight:400;margin-left:auto;margin-right:12px}.smo-wizard-demo-notice{margin:0 0 12px;color:#73849f;font-size:11px;line-height:1.5}.smo-wizard .is-collapsed .smo-wizard-demo-notice{display:none}
@media(max-width:760px){.smo-wizard .smo-generator-live-preview{position:relative}.smo-wizard .smo-generator-live-preview.is-collapsed{min-height:68px;padding:10px 14px 10px 76px}.smo-wizard .is-collapsed .smo-wizard-preview-toggle{min-height:46px;padding:0;gap:8px;text-align:left}.smo-wizard-preview-toggle{flex-wrap:wrap}.smo-wizard-preview-toggle>small{display:none}.smo-wizard .smo-generator-live-preview.is-collapsed .smo-live-preview-canvas{display:flex;position:absolute;left:10px;top:9px;width:50px;height:50px;padding:2px;border-radius:9px;pointer-events:none}.smo-wizard .is-collapsed .smo-preview-watermark-notice{display:none}.smo-wizard .smo-live-preview-canvas{height:240px}.smo-wizard .smo-generator-results{top:calc(var(--wp-admin--admin-bar--height,0px) + 8px)}.smo-wizard-selected-logo .smo-image-preview{flex-wrap:wrap}.smo-wizard-selected-logo .smo-image-preview img{width:70px;height:65px}.smo-wizard .smo-wizard-logo-size .smo-wizard-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.smo-wizard .smo-wizard-text-field textarea{font-size:16px}}
@media(max-width:1000px){.smo-wizard-review{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:16px}.smo-wizard-summary{grid-template-columns:1fr}.smo-wizard-review-card{padding:15px}}
@media(max-width:760px){.smo-wizard-review{display:flex;flex-direction:column;gap:18px}.smo-wizard-summary,.smo-wizard-review-preview{width:100%}.smo-wizard-review-preview{position:static;order:-1}.smo-wizard-review-edit{min-height:44px;padding:8px 12px}.smo-wizard .smo-wizard-review-preview .smo-live-preview-canvas{height:220px}.smo-wizard-review-texts p{font-size:14px}.smo-wizard-review-preview>p{font-size:11px;margin:9px 3px 0}}
.smo-wizard-frame-icon{display:block;position:relative}.smo-wizard-frame-icon img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}.smo-wizard-frame-icon svg{position:relative;display:block}.smo-wizard-frame-status:empty{display:none}
.smo-wizard-review-visual>.smo-wizard-frame-icon{flex-shrink:0}
.smo-wizard .smo-wizard-finish{min-height:46px;background:var(--wizard-blue);color:#fff;border-color:var(--wizard-blue);font-size:12px}
.smo-wizard #smo-generator-grid,.smo-wizard #smo-results-toolbar,.smo-wizard #smo-generator-empty,.smo-wizard #smo-generation-status,.smo-wizard #smo-generator-quota,.smo-wizard #smo-generation-progress,.smo-wizard #smo-production-check,.smo-wizard .smo-wizard-stale{display:none!important}
.smo-wizard-choose-decoration,.smo-wizard-reset-frames{min-height:44px;padding:10px 14px;border:1px solid #c7d4ef;border-radius:11px;background:#f5f8ff;color:#3155b4;font:600 12px system-ui;cursor:pointer}
.smo-wizard-choose-decoration:disabled{opacity:.45;cursor:default}
.smo-wizard-frame-count,.smo-wizard-frame-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}
.smo-wizard-frame-count button,.smo-wizard-frame-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:58px;padding:8px 12px;border:1px solid #d6e0f1;border-radius:11px;background:#fff;color:#426086;font:600 12px system-ui;cursor:pointer}
.smo-wizard-frame-button-icon{display:inline-flex;flex:0 0 40px;width:40px;height:40px}
.smo-wizard-frame-miniature{display:block;width:40px;height:40px;overflow:visible}
.smo-wizard-frame-miniature [data-frame-outline]{stroke:#b8c6dd;stroke-width:1.25}
.smo-wizard-frame-miniature .is-highlighted{stroke:currentColor;stroke-width:3}
.smo-wizard-frame-miniature.is-count-icon .is-highlighted{stroke-width:1.8}
.smo-wizard-frame-count button[aria-pressed=true],.smo-wizard-frame-tabs button[aria-pressed=true]{background:#edf2ff;color:#264bc2;border-color:#819cf1;box-shadow:0 0 0 1px #819cf1}
.smo-wizard-frame-tabs{padding-top:15px;border-top:1px solid #e4eaf5}
@media(max-width:600px){.smo-wizard-frame-count,.smo-wizard-frame-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.smo-wizard-frame-count button,.smo-wizard-frame-tabs button{flex-direction:column;gap:4px;min-height:76px;padding:7px 4px;font-size:11px}}
.smo-wizard-frame-controls{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:14px;padding:16px;border:1px solid #e1e7f3;border-radius:15px;background:#f8faff}
.smo-wizard .smo-wizard-frame-controls>label{display:grid;align-content:start;gap:7px;margin:0;color:#3b5273;font:650 12px system-ui}
.smo-wizard .smo-wizard-frame-controls input,.smo-wizard .smo-wizard-frame-controls select{width:100%;height:44px;min-width:0;margin:0;padding:9px 11px;border:1px solid #ccd8ee;border-radius:10px;background:#fff;color:#203c60;font:600 15px system-ui}
.smo-wizard-frame-controls button{align-self:end}.smo-wizard-panel .smo-wizard-frame-help{margin:14px 0;font-size:12px}
.smo-live-preview-canvas.is-editing-frames [data-wizard-frame-index]{cursor:pointer}
.smo-live-preview-canvas.is-editing-frames .is-selected-frame:not(image){stroke:#6889ff;filter:drop-shadow(0 0 3px #3158ec66)}
.smo-live-preview-canvas.is-editing-frames image.is-selected-frame{outline:2px dashed #8aa4ff;outline-offset:3px}
.smo-wizard-frame-dialog{box-sizing:border-box;width:min(860px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:1px solid #d4def1;border-radius:20px;background:#fbfcff;color:#203753;box-shadow:0 25px 100px #10264f40;font:14px/1.5 system-ui}
.smo-wizard-frame-dialog::backdrop{background:#14254280;backdrop-filter:blur(3px)}
.smo-wizard-frame-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.smo-wizard-frame-dialog h2{margin:0;font-size:23px;color:#213c62}
.smo-wizard-frame-dialog button{min-height:42px;padding:8px 12px;border:1px solid #cbd8ef;border-radius:10px;background:#fff;color:#3557ad;font:600 12px system-ui;cursor:pointer}.smo-wizard-frame-dialog button:disabled{opacity:.45;cursor:wait}
.smo-wizard-frame-dialog>p{font-size:12px;color:#73829a}.smo-wizard-frame-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.smo-wizard-frame-gallery button{display:grid;grid-template-rows:130px auto;gap:8px;padding:10px;background:#fff}.smo-wizard-frame-gallery button[aria-pressed=true]{border-color:#3158ec;box-shadow:0 0 0 2px #3158ec}
.smo-wizard-frame-gallery img{width:100%;height:130px;object-fit:contain}.smo-wizard-frame-gallery span{font-size:11px}
.smo-wizard-frame-load-status{min-height:24px;margin:12px 0 0;padding:10px 6px;text-align:center;border-top:1px solid #dce5f4}
@media(max-width:760px){.smo-wizard .smo-wizard-frame-controls input,.smo-wizard .smo-wizard-frame-controls select{font-size:16px}.smo-wizard-frame-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.smo-wizard-frame-gallery button{grid-template-rows:105px auto}.smo-wizard-frame-gallery img{height:105px}.smo-wizard-frame-dialog{padding:16px}.smo-wizard-frame-dialog h2{font-size:20px}.smo-wizard-navigation .smo-wizard-finish{flex:1;font-size:11px;padding:9px 12px}.smo-wizard[data-step="7"] .smo-wizard-step-count{display:none}}
.smo-wizard .smo-live-preview-canvas{position:relative}
.smo-wizard-hotspots{position:absolute;inset:0;z-index:8;pointer-events:none}
.smo-wizard .smo-wizard-hotspot{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:30px;height:30px;min-height:0;margin:0;padding:0;border:1px solid #a5b9fb;border-radius:50%;background:#fffffff2;color:#244ee9;font:600 25px/1 system-ui;box-shadow:0 2px 7px #173a7a20;pointer-events:auto;cursor:pointer}
.smo-wizard .smo-wizard-hotspot:hover,.smo-wizard .smo-wizard-hotspot:focus-visible{background:#3158ec;color:#fff;outline:3px solid #b1c3ff;outline-offset:2px}
.smo-wizard-hotspot-hint{margin:0 0 12px;font:12px/1.6 system-ui;color:#4c6491}
.smo-wizard .smo-wizard-text-row.is-hotspot-empty,.smo-wizard[data-step="5"] .smo-wizard-add-text,.smo-wizard[data-step="5"] .smo-wizard-extra-options,.smo-wizard[data-step="5"] .smo-wizard-remove-text{display:none!important}
.smo-wizard-text-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-5px 0 16px}.smo-wizard-text-position{flex:1;color:#6580a5;font-size:11px}.smo-wizard-text-position.is-unavailable{color:#b63b3b}.smo-wizard-text-actions button{min-height:36px;padding:6px 9px;border:1px solid #d6e0f1;border-radius:8px;background:#f7f9ff;color:#3559ba;font:600 11px system-ui;cursor:pointer}
.smo-wizard-text-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #d8e2f3;border-radius:20px;background:#fff;color:#203753;box-shadow:0 25px 100px #10264f40;font:14px/1.6 system-ui}
.smo-wizard-text-dialog::backdrop{background:#14254280;backdrop-filter:blur(3px)}.smo-wizard-text-dialog form{margin:0}.smo-wizard-text-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}.smo-wizard-text-dialog header small{font-size:10px;font-weight:800;letter-spacing:1px;color:#3158ec}.smo-wizard-text-dialog h2{margin:4px 0;font-size:22px;color:#203753}.smo-wizard-text-dialog header button{border:0;background:#f0f4fc;border-radius:10px;width:40px;height:40px;font-size:24px;color:#526884;cursor:pointer}.smo-wizard-dialog-position{padding:11px 13px;border-radius:11px;background:#edf2ff;color:#3155b0;font-weight:650}.smo-wizard-text-dialog label{display:block;font-size:12px;font-weight:700;margin:16px 0 7px}.smo-wizard-text-dialog textarea{box-sizing:border-box;display:block;width:100%;min-height:120px;padding:12px;border:1px solid #c7d5ee;border-radius:12px;font:16px/1.6 system-ui;color:#203753;background:#fcfdff;resize:vertical}.smo-wizard-text-dialog p{font-size:12px;color:#6b7c95}.smo-wizard-text-dialog [data-dialog-error]{color:#b12f38}.smo-wizard-text-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.smo-wizard-text-dialog footer button{min-height:44px;padding:10px 14px;border:1px solid #cbd7ef;border-radius:10px;font:650 12px system-ui;background:#fff;color:#42618a;cursor:pointer}.smo-wizard-text-dialog button[type=submit]{background:#3158ec;color:white;border-color:#3158ec}
@media(max-width:760px){.smo-wizard[data-step="5"] .smo-generator-results{position:static}.smo-wizard[data-step="5"] .smo-live-preview-canvas{height:auto;aspect-ratio:1;padding:6px}.smo-wizard[data-step="5"] .smo-live-preview-canvas svg{max-width:none}.smo-wizard .smo-wizard-hotspot{width:30px;height:30px}.smo-wizard-text-actions button{min-height:44px}.smo-wizard-text-dialog{padding:20px}}
@media(max-width:760px){.smo-wizard-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.smo-wizard-steps button{flex-direction:row;justify-content:flex-start;min-height:50px;padding:6px;font-size:10px;text-align:left}.smo-wizard-steps button b{overflow-wrap:anywhere}}

/* Compact caption controls only; other wizard steps and the editor are unchanged. */
.smo-wizard .smo-wizard-typography{margin:14px 0;padding:10px 12px;border-radius:12px}
.smo-wizard-typography-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:8px}
.smo-wizard-typography-grid>label{display:grid;gap:4px;min-width:0;margin:0;color:#4e6485;font:650 11px/1.35 system-ui}
.smo-wizard-typography-grid>label:first-child{grid-column:1/-1}
.smo-wizard .smo-wizard-typography-grid input,.smo-wizard .smo-wizard-typography-grid select{height:36px;margin:0;padding:6px 8px;border-radius:8px}
.smo-wizard .smo-wizard-typography p{margin-top:7px;font-size:10px;line-height:1.45}
.smo-wizard-texts>.smo-wizard-text-row{margin:12px 0;padding:12px;border:1px solid #dce5f4;border-radius:13px;background:#fff}
.smo-wizard-texts .smo-wizard-text-field{gap:5px;margin:0 0 8px}
.smo-wizard .smo-wizard-texts .smo-wizard-text-field textarea{height:44px;min-height:44px;max-height:240px;padding:7px 9px;border-radius:8px;font-size:13px;line-height:1.4}
.smo-wizard-texts .smo-wizard-caption-settings{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.smo-wizard-texts .smo-wizard-caption-settings summary{min-height:24px;font-size:11px;line-height:24px}
.smo-wizard-caption-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 8px}
.smo-wizard-caption-toolbar .smo-wizard-caption-actions{gap:4px;margin:0;flex:1 1 auto}
.smo-wizard-caption-toolbar .smo-wizard-caption-style{gap:4px;margin:0}
.smo-wizard-caption-toolbar button{gap:4px;min-height:34px;padding:5px 7px;font-size:11px;line-height:1.3;border-radius:7px}
.smo-wizard-caption-toolbar .smo-wizard-caption-actions button{flex:0 0 auto}
.smo-wizard-caption-toolbar .smo-wizard-caption-actions button>span{font-size:16px}
.smo-wizard-caption-toolbar .smo-wizard-caption-style button{justify-content:center;width:32px;padding:4px}
.smo-wizard-caption-toolbar .smo-wizard-caption-style b,.smo-wizard-caption-toolbar .smo-wizard-caption-style i{font-size:15px}
.smo-wizard-caption-settings .smo-wizard-setting-grid{align-items:end;gap:8px;margin-top:8px}
.smo-wizard .smo-wizard-caption-settings .smo-wizard-setting-grid>label{gap:4px;font-size:10.5px;line-height:1.35}
.smo-wizard .smo-wizard-caption-settings .smo-wizard-setting-grid input,.smo-wizard .smo-wizard-caption-settings .smo-wizard-setting-grid select{height:36px;padding:5px 7px;border-radius:8px;font-size:13px}
.smo-wizard .smo-wizard-caption-settings input[type=color]{padding:3px}
.smo-wizard .smo-wizard-caption-settings .smo-wizard-caption-stepper input{padding:5px 1px;border-radius:0}
.smo-wizard .smo-wizard-caption-settings .smo-wizard-caption-stepper button{flex-basis:24px;min-height:36px;padding:0;font-size:17px}
.smo-wizard-texts .smo-wizard-text-actions{gap:6px;margin:8px 0 0;padding-top:7px;border-top:1px solid #edf1f8}
.smo-wizard-texts .smo-wizard-text-actions button{min-height:30px;padding:4px 7px;font-size:10px}
.smo-wizard-texts .smo-wizard-caption-feedback,.smo-wizard-texts .smo-wizard-caption-warning{margin:7px 0 0;font-size:10px}
.smo-wizard-text-dialog textarea{min-height:80px;height:80px}
@media(min-width:1100px){
    .smo-wizard-typography-grid{grid-template-columns:minmax(0,1.7fr) repeat(2,minmax(0,1fr))}
    .smo-wizard-typography-grid>label:first-child{grid-column:auto}
    .smo-wizard-caption-settings .smo-wizard-setting-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
    .smo-wizard .smo-wizard-typography{padding:10px}
    .smo-wizard-texts>.smo-wizard-text-row{padding:10px}
    .smo-wizard .smo-wizard-texts .smo-wizard-text-field textarea{font-size:16px}
    .smo-wizard-caption-toolbar .smo-wizard-caption-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex-basis:100%;gap:5px}
    .smo-wizard-caption-toolbar button,.smo-wizard-texts .smo-wizard-text-actions button{min-height:44px}
    .smo-wizard-caption-toolbar .smo-wizard-caption-style button{width:44px}
    .smo-wizard .smo-wizard-caption-settings .smo-wizard-setting-grid>label{font-size:11px}
    .smo-wizard .smo-wizard-typography-grid input,.smo-wizard .smo-wizard-typography-grid select,.smo-wizard .smo-wizard-caption-settings .smo-wizard-setting-grid input,.smo-wizard .smo-wizard-caption-settings .smo-wizard-setting-grid select{height:44px;font-size:16px}
    .smo-wizard .smo-wizard-caption-settings .smo-wizard-caption-stepper button{flex-basis:30px;min-height:44px}
}

/* Guided editing: one caption, one real preview, session-only undo. */
.smo-wizard-history{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 6px);z-index:30;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;margin:-8px 0 16px;padding:6px;border:1px solid #dce5f4;border-radius:12px;background:#f7f9fff5;min-height:58px}
.smo-wizard-history button,.smo-wizard-frame-accept button{min-height:40px;padding:8px 12px;border:1px solid #d6e0f1;border-radius:10px;background:#fff;color:#3557ad;font:600 12px system-ui;cursor:pointer}
.smo-wizard-history button:disabled{opacity:.4;cursor:default}.smo-wizard-history [role=status]{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:11px system-ui;color:#637997}
.smo-wizard .smo-generator-results{top:calc(var(--wp-admin--admin-bar--height,0px) + 78px)}
#smo-stamp-wizard .smo-generator-results.is-awaiting-generation{align-self:start;min-height:0;height:auto}
#smo-stamp-wizard #smo-generator-live-preview{position:static;top:auto}
@media(min-width:761px){.smo-wizard:not([data-step="7"]) .smo-live-preview-canvas{max-height:calc(100svh - 250px)}}
.smo-wizard-caption-list{display:grid;gap:6px;margin:12px 0}
.smo-wizard-caption-list button{display:grid;grid-template-columns:34px minmax(0,1fr);gap:0 9px;align-items:center;min-height:54px;width:100%;padding:8px 10px;border:1px solid #dce5f4;border-radius:10px;background:#fff;color:#385176;text-align:left;cursor:pointer}
.smo-wizard-caption-list button>span{grid-row:1/3;display:block;width:34px;height:34px}.smo-wizard-caption-list svg{width:100%;height:100%}
.smo-wizard-caption-list b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:650 12px system-ui}.smo-wizard-caption-list small{font:10px/1.5 system-ui;color:#6d81a0}
.smo-wizard-caption-list button[aria-pressed=true]{background:#edf2ff;border-color:#819cf1;box-shadow:inset 3px 0 #3158ec}
.smo-wizard .smo-wizard-text-row{scroll-margin-top:165px}
.smo-wizard [data-wizard-caption-index][role=button]{cursor:pointer;pointer-events:all;pointer-events:bounding-box}
.smo-wizard [data-wizard-caption-index][role=button]:hover text,.smo-wizard .is-selected-caption text{paint-order:stroke;stroke:#7399ff55;stroke-width:2px}
.smo-wizard [data-wizard-caption-index]:focus-visible{outline:none;filter:drop-shadow(0 0 2px #3158ec)}
.smo-wizard .smo-wizard-caption-unit-help,.smo-wizard .smo-wizard-frame-units{font:10px/1.6 system-ui;color:#657b99;margin:12px 0}
.smo-wizard-caption-group{min-width:0;margin:12px 0 0;padding:10px 0 0;border:0;border-top:1px solid #dce5f4}
.smo-wizard-caption-group legend{padding:0 8px 0 0;color:#345171;font:700 12px/1.5 system-ui}
.smo-wizard-caption-group .smo-wizard-caption-style{margin:0 0 8px}
.smo-wizard-caption-group .smo-wizard-caption-style button{width:34px;min-height:34px;padding:5px;justify-content:center}
.smo-wizard-caption-style button svg{display:block;width:18px;height:18px}
.smo-wizard-caption-warning[data-collision="0"]{color:#657b99}
.smo-wizard-frame-presets{grid-column:1/-1;min-width:0;margin-top:4px}
.smo-wizard-frame-presets>span{display:block;margin:0 0 7px;font:650 11px system-ui;color:#4e6485}
.smo-wizard-frame-presets>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.smo-wizard-frame-presets button{min-height:56px;min-width:0;display:grid;justify-items:center;gap:3px;padding:6px;border:1px solid #d6e0f1;border-radius:10px;background:#fff;color:#516b91;font:600 11px system-ui;cursor:pointer}
.smo-wizard-frame-presets svg{width:60px;height:24px}.smo-wizard-frame-presets button[aria-pressed=true]{background:#edf2ff;border-color:#819cf1;color:#264bc2}
.smo-wizard-mobile-navigation{display:none}
.smo-wizard-object-toolbar{margin:0 0 10px}.smo-wizard-object-toolbar p{margin:4px 0 8px;font:12px/1.5 system-ui;color:#617899}
.smo-wizard-object-toolbar [role=group]{display:flex;flex-wrap:wrap;gap:6px}
.smo-wizard-object-toolbar button,.smo-wizard-contact-feedback button{min-height:40px;padding:7px 10px;border:1px solid #cbd8ef;border-radius:9px;background:#fff;color:#3557ad;font:600 11px/1.4 system-ui;cursor:pointer}
.smo-wizard-object-toolbar button[aria-pressed=true]{background:#edf2ff;border-color:#819cf1}
.smo-wizard-object-hotspots .smo-wizard-hotspot{z-index:1;box-sizing:border-box}
.smo-wizard .smo-wizard-hotspots button svg.smo-wizard-plus-icon{display:block;position:static;width:70%;height:70%;max-width:none;max-height:none;margin:0;filter:none;pointer-events:none}
.smo-wizard [data-wizard-decoration="1"][role=button]{cursor:pointer;pointer-events:bounding-box}
.smo-wizard [data-wizard-decoration="1"][role=button]:hover,.smo-wizard [data-wizard-decoration="1"][role=button]:focus-visible{outline:none;filter:drop-shadow(0 0 2px #3158ec)}
.smo-wizard-object-hotspots .smo-wizard-hotspot:disabled{opacity:.35;cursor:not-allowed}
.smo-wizard-contact-layer{position:absolute;inset:0;pointer-events:none;z-index:7;overflow:visible}
.smo-wizard-contact-point{position:absolute;box-sizing:border-box;border:2px solid #da4457;border-radius:5px;box-shadow:0 0 0 2px #fff9}
.smo-wizard .is-wizard-conflict{filter:drop-shadow(0 0 1.5px #d72b46)}
.smo-wizard-contact-feedback{margin:18px 0 0;padding:12px;border:1px solid #dce5f4;border-radius:12px;background:#f8faff;font:12px/1.5 system-ui;color:#617899}
.smo-wizard-contact-feedback>p{margin:0}.smo-wizard-contact-feedback [data-state]{font:inherit}
.smo-wizard-contact-feedback[data-state=ready]:has(>div:not(:empty)){border-color:#e4a6ae;background:#fff6f6;color:#a72c40}
.smo-wizard-contact-feedback>div>div{margin-top:10px;padding-top:8px;border-top:1px solid #e2e9f4}.smo-wizard-contact-feedback>div p{margin:0 0 7px}.smo-wizard-contact-feedback button{margin:0 5px 4px 0}
.smo-wizard [data-setting-source]{font:10px system-ui;color:#6d81a0}.smo-wizard [data-reset-shared]{justify-self:start;padding:3px 6px;min-height:26px;border:1px solid #d6e0f1;border-radius:6px;background:#f5f8ff;color:#3557ad;font:10px system-ui;cursor:pointer}
.smo-wizard .smo-wizard-frame-controls input[type=range]{height:26px;min-height:26px;padding:0;border:0;background:transparent;accent-color:#3158ec;cursor:pointer}
.smo-wizard-frame-accept{display:flex;flex-wrap:wrap;gap:8px}.smo-wizard-frame-accept [data-accept-frames]{background:#3158ec;border-color:#3158ec;color:#fff}
.smo-wizard-review{grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr);align-items:start}
.smo-wizard-review-preview{grid-column:1;grid-row:1;top:calc(var(--wp-admin--admin-bar--height,0px) + 78px)}
.smo-wizard-summary{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:0;border:1px solid #dce5f4;border-radius:14px;overflow:hidden}
.smo-wizard-review-card{padding:12px;border:0;border-bottom:1px solid #e5ebf5;border-radius:0}.smo-wizard-review-card:last-child{border-bottom:0}
.smo-wizard-review-card>header{margin-bottom:7px}.smo-wizard-review-card h3{font-size:12px}.smo-wizard-review-edit{min-height:30px;padding:5px 8px;font-size:11px}
.smo-wizard-review-visual{gap:8px;min-height:30px}.smo-wizard-review-visual>.smo-wizard-frame-icon,.smo-wizard-review-shape,.smo-wizard-review-no-logo,.smo-wizard-review-logo{flex:0 0 30px;width:30px;height:30px;padding:3px;font-size:14px}
.smo-wizard-review-visual>.smo-wizard-frame-icon svg{width:30px;height:30px}.smo-wizard-review-visual b{font-size:12px}.smo-wizard-review-visual p,.smo-wizard-review-card>p{margin:3px 0;font-size:11px}
.smo-wizard-review-texts li{padding:7px 0 7px 0}.smo-wizard-review-texts li:before{display:none}.smo-wizard-review-texts p{margin:3px 0;font-size:12px;line-height:1.4}
.smo-wizard-review-cta{display:block;width:100%;min-height:48px;margin:12px 0;padding:10px 16px;border:1px solid #3158ec;border-radius:12px;background:#3158ec;color:#fff;font:650 13px system-ui;cursor:pointer}
.smo-wizard[data-step="7"] .smo-wizard-review-preview .smo-live-preview-canvas{height:min(62svh,560px);aspect-ratio:auto;display:flex;align-items:center;justify-content:center}
.smo-wizard[data-step="7"] .smo-wizard-review-preview .smo-live-preview-canvas svg{width:100%;height:100%;max-width:none}
.smo-wizard[data-step="7"] .smo-wizard-navigation .smo-wizard-finish{display:none}
@media(max-width:760px){
    .smo-wizard-mobile-navigation{display:block;margin:0 0 12px}
    .smo-wizard-mobile-navigation button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:11px 13px;border:1px solid #cbd8ef;border-radius:12px;background:#fff;color:#294a82;font:650 14px/1.4 system-ui;text-align:left}
    .smo-wizard .smo-wizard-steps{display:none}
    .smo-wizard.is-step-list-open .smo-wizard-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
    .smo-wizard.is-step-list-open .smo-wizard-steps button{flex-direction:row;justify-content:flex-start;min-height:48px;padding:8px;font-size:12px;text-align:left}
    .smo-wizard-caption-group .smo-wizard-caption-style button{width:44px;min-height:44px}
    .smo-wizard-object-toolbar button,.smo-wizard-contact-feedback button{min-height:44px}
    .smo-wizard-history{margin:0 0 12px}.smo-wizard-history button{min-height:44px;flex-shrink:0}.smo-wizard-history [role=status]{font-size:10px}
    .smo-wizard .smo-generator-results,.smo-wizard[data-step="5"] .smo-generator-results{position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) + 78px);z-index:15}
    .smo-wizard[data-step="5"] .smo-live-preview-canvas{height:min(44svh,340px);aspect-ratio:auto;display:flex;align-items:center;justify-content:center}
    .smo-wizard[data-step="5"] .smo-live-preview-canvas svg{max-width:none;width:100%;height:100%}
    .smo-wizard .smo-generator-live-preview.is-collapsed{min-height:120px;padding:10px 12px 10px 122px}
    .smo-wizard .smo-generator-live-preview.is-collapsed .smo-live-preview-canvas{left:10px;top:9px;width:100px;height:100px;padding:2px;aspect-ratio:1}
    .smo-wizard .is-collapsed .smo-live-preview-canvas svg{max-width:none;width:100%;height:100%}
    .smo-wizard .is-collapsed .smo-wizard-hotspots,.smo-wizard .is-collapsed .smo-wizard-hotspot-hint{display:none}
    .smo-wizard .smo-wizard-hotspot{width:44px;height:44px;font-size:26px}
    .smo-wizard .smo-wizard-caption-list button{min-height:56px}.smo-wizard [data-reset-shared]{min-height:44px;padding:7px;font-size:11px}
    .smo-wizard .smo-wizard-frame-controls input[type=range]{height:44px;min-height:44px}
    .smo-wizard-frame-accept button{min-height:44px}.smo-wizard-review{display:flex;flex-direction:column}
    .smo-wizard-review-preview{order:-1;position:static}.smo-wizard-review-card{padding:12px}.smo-wizard-review-edit{min-height:44px}
    .smo-wizard[data-step="7"] .smo-wizard-review-preview .smo-live-preview-canvas{height:min(78vw,340px)}
    .smo-wizard-review-cta{display:none}.smo-wizard[data-step="7"] .smo-wizard-navigation .smo-wizard-finish{display:block}
    .smo-wizard[data-step="7"] .smo-generator-results{position:static}
}

/* View-only controls never alter stamp geometry or remove the watermark. */
.smo-wizard-preview-tools,.smo-wizard-zoom-controls,.smo-wizard-ornament-pairs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.smo-wizard-preview-tools button,.smo-wizard-zoom-controls button,.smo-wizard-preview-dialog>header button,.smo-wizard-ornament-pairs button{min-height:44px;padding:8px 12px;border:1px solid #cbd8f1;border-radius:10px;background:#fff;color:#30529a;font:650 12px/1.35 system-ui;cursor:pointer}
.smo-wizard-preview-tools button[aria-pressed=true],.smo-wizard-zoom-controls button[aria-pressed=true]{background:#eaf0ff;border-color:#6d8eff}
.smo-wizard.is-ready .smo-wizard-preview-tools button:focus-visible,.smo-wizard-preview-dialog button:focus-visible{outline:3px solid #8faaff;outline-offset:2px}
.smo-wizard .is-clean-preview .smo-wizard-hotspots,.smo-wizard .is-clean-preview .smo-wizard-contact-layer{visibility:hidden;pointer-events:none}
.smo-wizard .is-clean-preview .is-wizard-conflict,.smo-wizard .is-clean-preview .is-selected-ornament{filter:none!important;outline:none!important}
.smo-wizard .is-clean-preview .is-selected-caption text{stroke:none;paint-order:normal}
.smo-wizard .is-clean-preview .is-selected-frame:not(image){stroke:var(--wizard-preview-ink,#173fd1);filter:none}
.smo-wizard .is-clean-preview image.is-selected-frame{outline:none}
.smo-wizard .smo-wizard-preview-dialog{box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom));border:0;border-radius:0;background:#f7f9ff;color:#213a65;overflow:hidden}
.smo-wizard .smo-wizard-preview-dialog[open]{display:flex;flex-direction:column;gap:10px}
.smo-wizard-preview-dialog::backdrop{background:#152640a6}
.smo-wizard-preview-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.smo-wizard-preview-dialog>header h2{margin:0;font:700 17px/1.3 system-ui}
.smo-wizard-preview-dialog .smo-wizard-zoom-controls{margin:0;flex-shrink:0}
.smo-wizard-zoom-controls output{min-width:46px;text-align:center;font:650 13px system-ui}
.smo-wizard-zoom-controls button:disabled,.smo-wizard-ornament-pairs button:disabled{opacity:.45;cursor:not-allowed}
.smo-wizard-zoom-controls button[aria-label]{min-width:44px;font-size:20px}
.smo-wizard-zoom-viewport{position:relative;flex:1;min-height:120px;overflow:auto;border:1px solid #d9e3f3;border-radius:14px;background:#edf2fa;touch-action:none;overscroll-behavior:contain;scrollbar-width:thin}
.smo-wizard-zoom-stage{display:grid;place-items:center;min-width:100%;min-height:100%}
.smo-wizard .smo-wizard-preview-dialog #smo-live-preview-canvas{display:flex;position:relative;inset:auto;box-sizing:border-box;width:var(--wizard-zoom-size);height:var(--wizard-zoom-size);max-width:none;max-height:none;aspect-ratio:1;padding:12px;flex-shrink:0;pointer-events:auto}
.smo-wizard .smo-wizard-preview-dialog #smo-live-preview-canvas>svg{display:block;width:100%;height:100%;max-width:none;max-height:none}
.smo-wizard .smo-wizard-preview-dialog .smo-wizard-hotspots{display:block}
.smo-wizard-preview-dialog>p{margin:0;font:11px/1.4 system-ui;color:#657d9f;flex-shrink:0}
.smo-wizard-ornament-pairs{margin-top:0}.smo-wizard [data-ornament-pair-status]{font:11px/1.5 system-ui;color:#61799d;margin:0 0 12px}
@media(max-width:760px){.smo-wizard-preview-tools{gap:6px;margin-bottom:6px}.smo-wizard-preview-tools button{flex:1;min-width:0;padding:7px;font-size:11px}.smo-wizard-preview-dialog>header h2{font-size:15px}.smo-wizard-zoom-controls{gap:5px}.smo-wizard .is-collapsed .smo-wizard-preview-tools{display:none}}
