.pst-engine{--pst-blue:#225caa;--pst-border:#cbd5e1;color:#17243b;background:#f8fafc;border:1px solid var(--pst-border);border-radius:14px;padding:clamp(12px,3vw,24px);margin:1.5rem 0}.pst-engine *{box-sizing:border-box}.pst-engine .pst-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pst-engine label{display:block;font-size:14px;font-weight:600;margin:0}.pst-engine input,.pst-engine select{display:block;width:100%;min-width:0;margin:5px 0 0;padding:9px 10px;background:white;color:#17243b;border:1px solid #94a3b8;border-radius:6px;font:inherit;font-size:15px;min-height:42px}.pst-engine .pst-wide{grid-column:1/-1}.pst-engine .pst-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.pst-engine button{border:0;background:var(--pst-blue);color:white;border-radius:7px;padding:11px 17px;font:inherit;font-weight:600;cursor:pointer}.pst-engine button:disabled{opacity:.45;cursor:not-allowed}.pst-engine .pst-preview{background:#e2e8f0;padding:16px;display:flex;justify-content:center;border-radius:8px;overflow:hidden}.pst-engine canvas{display:block;max-width:100%;height:auto;background:#fff;box-shadow:0 2px 8px #0002}.pst-engine .pst-status{font-size:14px;min-height:1.5em;margin:10px 0}.pst-engine .pst-error{color:#a61b1b}.pst-engine .pst-note{font-size:13px;color:#475569;margin:10px 0 0}.pst-engine input[type=file]{font-size:13px}.pst-engine :focus-visible{outline:3px solid #0e7490;outline-offset:2px}@media(max-width:520px){.pst-engine .pst-grid{grid-template-columns:1fr}.pst-engine .pst-actions button{flex:1 1 100%}}
