.pspd-launch{margin:15px 0 22px;clear:both}.pspd-launch .pspd-open{background:#0f766e!important;border:0!important;color:#fff!important;font-weight:700!important;border-radius:9px!important;padding:13px 18px!important;min-height:46px;letter-spacing:0}.pspd-saved-status{font-size:13px;margin:8px 0!important;color:#64748b}.pspd-launch .pspd-saved-status.pspd-complete{color:#047857;font-weight:700}.pspd-modal[hidden]{display:none!important}.pspd-modal{position:fixed;inset:0;z-index:999999;background:rgba(9,20,35,.78);display:flex;justify-content:center;align-items:center;font-family:Arial,Helvetica,sans-serif;color:#172235;font-size:14px;text-align:left}.pspd-modal *{box-sizing:border-box}.pspd-dialog{width:min(1500px,97vw);height:min(900px,96vh);background:#fff;border-radius:15px;overflow:hidden;box-shadow:0 20px 90px #0005;display:flex;flex-direction:column}.pspd-header{background:#fff;flex:none;border-bottom:1px solid #e2e8f0;min-height:68px;padding:11px 19px;display:flex;align-items:center;justify-content:space-between;gap:15px}.pspd-logo{display:flex;gap:10px;align-items:center;font-size:16px}.pspd-logo span:last-child{display:flex;flex-direction:column;line-height:1.25}.pspd-logo small{font-size:11px;font-weight:400;color:#6b7280;margin-top:3px}.pspd-logo-mark{background:#0f766e;color:#fff;width:37px;height:37px;border-radius:10px;display:grid;place-items:center;font-size:21px}.pspd-header-tools{display:flex;align-items:center;gap:8px}.pspd-dimensions{font-size:12px;color:#64748b;margin-right:12px}.pspd-btn,.pspd-icon-btn,.pspd-small-btn,.pspd-format,.pspd-add,.pspd-template-item,.pspd-layer-item,.pspd-link-button{font:inherit!important;cursor:pointer;transition:background .12s,border-color .12s;color:#172235}.pspd-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent!important;border-radius:8px!important;padding:9px 13px!important;font-weight:700!important;font-size:12px!important;white-space:nowrap;min-height:38px}.pspd-btn-outline{background:#fff!important;border-color:#dce3ec!important}.pspd-btn-outline:hover,.pspd-icon-btn:hover{background:#f1f5f9!important}.pspd-btn-primary{background:#0f766e!important;color:#fff!important;padding:12px 18px!important}.pspd-btn-primary:hover{background:#115e59!important}.pspd-btn[disabled]{opacity:.55;cursor:wait}.pspd-icon-btn{background:transparent!important;border:0!important;width:35px;height:35px;display:grid;place-items:center;font-size:18px!important}.pspd-body{display:grid;grid-template-columns:248px minmax(0,1fr) 287px;min-height:0;flex:1}.pspd-sidebar{background:#fff;overflow:auto;padding:19px 15px;border-right:1px solid #e2e8f0}.pspd-properties{border-right:0;border-left:1px solid #e2e8f0}.pspd-panel-title{color:#526176;font-size:10px;letter-spacing:1.15px;font-weight:800;margin-bottom:13px;display:flex;justify-content:space-between}.pspd-mt{margin-top:25px}.pspd-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pspd-add{display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid #e2e8f0!important;border-radius:10px!important;background:white!important;padding:12px 7px!important;font-size:12px!important;line-height:1.3}.pspd-add:hover,.pspd-template-item:hover{border-color:#0f766e!important;background:#f0fdfa!important}.pspd-add-icon{font-size:24px;color:#0d9488;font-weight:bold;line-height:27px}.pspd-template-list{display:grid;gap:8px}.pspd-template-item{border:1px solid #e2e8f0!important;border-radius:9px!important;background:#fff!important;padding:11px 10px!important;text-align:left!important;display:flex;gap:10px;align-items:center;width:100%;font-size:12px!important}.pspd-template-symbol{background:#f1f5f9;border-radius:6px;display:grid;place-items:center;width:35px;height:35px;flex:none;color:#334155;font-weight:bold;font-family:Georgia,serif;font-size:18px}.pspd-template-item span:last-child{line-height:1.25}.pspd-template-item small{display:block;color:#94a3b8;font-size:10px;margin-top:3px}.pspd-layer-list{display:flex;flex-direction:column-reverse;gap:4px}.pspd-layer-item{width:100%;display:flex;gap:8px;align-items:center;background:#fff!important;border:1px solid transparent!important;border-radius:7px!important;padding:7px!important;font-size:12px!important;text-align:left!important;overflow:hidden}.pspd-layer-item span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pspd-layer-item.is-selected{background:#ccfbf1!important;border-color:#99f6e4!important}.pspd-layer-icon{color:#64748b;width:23px;text-align:center;flex:none}.pspd-tip,.pspd-preview-note{font-size:11px;color:#758399;line-height:1.55}.pspd-tip{margin-top:17px}.pspd-workspace{min-width:0;background:#eef2f7;display:flex;flex-direction:column;overflow:hidden}.pspd-canvas-toolbar{padding:15px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pspd-canvas-label{font-size:10px;font-weight:800;letter-spacing:1px;color:#64748b}.pspd-workspace-size{font-weight:400}.pspd-toolbar-buttons{display:flex;gap:5px}.pspd-small-btn{background:#fff!important;border:1px solid #dce3ec!important;padding:7px 9px!important;border-radius:6px!important;font-size:11px!important;white-space:nowrap}.pspd-small-btn:hover{background:#e2e8f0!important}.pspd-danger{color:#c2410c!important}.pspd-canvas-scroller{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;padding:28px 27px;overflow:auto;background-image:radial-gradient(#cbd5e1 1px,transparent 1px);background-size:20px 20px}.pspd-canvas-frame{width:100%;max-width:900px;box-shadow:0 10px 35px #0f172a28;flex-shrink:0;background-color:white;background-image:linear-gradient(45deg,#f1f5f9 25%,transparent 25%),linear-gradient(-45deg,#f1f5f9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f1f5f9 75%),linear-gradient(-45deg,transparent 75%,#f1f5f9 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0}.pspd-canvas{display:block;width:100%;height:auto;touch-action:none;cursor:default;outline:none}.pspd-canvas-bottom{font-size:11px;text-align:center;color:#64748b;padding:11px 20px 17px;line-height:1.5}.pspd-mockup{position:relative;width:100%;aspect-ratio:1.15;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;overflow:hidden}.pspd-product-image{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;max-width:none!important}.pspd-design-overlay{position:absolute!important;object-fit:fill!important;mix-blend-mode:multiply;max-width:none!important;pointer-events:none}.pspd-preview-note{margin:8px 0 14px}.pspd-field{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.pspd-field label{font-size:11px;font-weight:700;color:#64748b}.pspd-field input,.pspd-field select,.pspd-field textarea{width:100%!important;min-width:0!important;border:1px solid #d3dae5!important;border-radius:7px!important;background:#fff!important;color:#172235!important;font-size:13px!important;min-height:36px!important;padding:7px 9px!important;box-shadow:none!important;margin:0!important}.pspd-field input[type=color]{padding:4px!important;height:37px;cursor:pointer}.pspd-field textarea{resize:vertical;min-height:60px!important}.pspd-method-wrap{margin-bottom:19px}.pspd-prop-header{border-top:1px solid #e2e8f0;padding-top:17px;display:flex;justify-content:space-between;gap:5px}.pspd-selected-label{font-size:11px;color:#0f766e;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pspd-property-fields{display:grid;gap:12px}.pspd-property-fields[hidden]{display:none!important}.pspd-property-row{display:flex;gap:9px;align-items:end}.pspd-format-controls{gap:5px}.pspd-format{flex:1;border:1px solid #dce3ec!important;border-radius:6px!important;padding:8px!important;background:#fff!important;font-size:13px!important}.pspd-format[aria-pressed=true]{border-color:#0f766e!important;background:#ccfbf1!important}.pspd-no-selection{font-size:12px;color:#94a3b8;background:#f8fafc;border-radius:8px;padding:14px;line-height:1.5}.pspd-no-selection[hidden]{display:none}.pspd-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e2e8f0;gap:15px;padding:13px 18px;background:#fff;min-height:67px}.pspd-footer-left{display:flex;gap:12px;align-items:center;min-width:0;flex-wrap:wrap}.pspd-feedback{font-size:12px;color:#64748b;line-height:1.4}.pspd-feedback.is-error{color:#dc2626}.pspd-feedback.is-good{color:#047857}.pspd-link-button{background:transparent!important;border:0!important;text-decoration:underline!important;color:#0f766e!important;font-size:12px!important;padding:3px!important}.pspd-link-button[hidden]{display:none}.pspd-footer-right{display:flex;align-items:center;gap:10px;flex:none}body.pspd-modal-open{overflow:hidden!important}@media(max-width:1050px){.pspd-body{grid-template-columns:200px minmax(0,1fr) 240px}.pspd-sidebar{padding:13px 10px}.pspd-dimensions{display:none}.pspd-small-btn{font-size:10px!important;padding:5px!important}.pspd-canvas-scroller{padding:18px 10px}}@media(max-width:750px){.pspd-dialog{width:100vw;height:100dvh;max-height:none;border-radius:0}.pspd-header{padding:9px 12px;min-height:55px}.pspd-header-tools [data-action=undo],.pspd-header-tools [data-action=redo]{display:none}.pspd-body{display:flex;flex-direction:column;overflow:auto}.pspd-tools{order:2;border:0;border-top:1px solid #e2e8f0;overflow:visible}.pspd-workspace{order:1;flex:none;min-height:350px}.pspd-properties{order:3;border:0;border-top:1px solid #e2e8f0;overflow:visible}.pspd-add-grid{grid-template-columns:repeat(4,1fr)}.pspd-template-list{grid-template-columns:1fr 1fr}.pspd-canvas-scroller{min-height:270px;max-height:410px;padding:18px}.pspd-canvas-toolbar{padding:10px 12px}.pspd-footer{position:sticky;bottom:0;min-height:66px;padding:9px 12px}.pspd-footer-left{flex:1}.pspd-footer-right .pspd-cancel{display:none}.pspd-footer-right .pspd-save{white-space:normal!important;font-size:11px!important;padding:10px!important}.pspd-mockup{max-width:250px;margin:auto}.pspd-preview-note{text-align:center}.pspd-tip{margin:8px 0}}@media(prefers-reduced-motion:reduce){.pspd-modal *{transition:none!important}}
/* WordPress themes may override the native [hidden] attribute. */
.pspd-modal [hidden]{display:none!important}

/* v1.0: real color photos and selectable mockups */
.pspd-color-wrap{margin:13px 0 15px}.pspd-color-wrap .pspd-panel-title{margin:0 0 8px}.pspd-color-options{display:flex;gap:7px;flex-wrap:wrap}.pspd-color-option{background:#fff!important;border:2px solid #dbe3ec!important;border-radius:8px!important;display:flex;align-items:center;gap:6px;padding:5px 7px!important;color:#172235!important;font:inherit!important;font-size:11px!important;cursor:pointer;max-width:100%;min-height:37px}.pspd-color-option:hover{border-color:#0d9488!important}.pspd-color-option[aria-pressed=true]{border-color:#0f766e!important;background:#f0fdfa!important;box-shadow:0 0 0 1px #0f766e}.pspd-color-option img{width:27px!important;height:27px!important;object-fit:cover!important;border-radius:4px;flex:none;max-width:none!important}.pspd-color-option .pspd-swatch{display:block;width:18px;height:18px;flex:none;border-radius:50%;border:1px solid #94a3b8}.pspd-color-note{font-size:11px;color:#64748b;line-height:1.4;margin:8px 0 0}.pspd-mockup{aspect-ratio:1.15}.pspd-product-image{object-fit:fill!important}.pspd-design-overlay{mix-blend-mode:normal}.pspd-footer-left .pspd-link-button{white-space:nowrap}
