.stipo-wrap{--accent:#f88452;--soft:#fff7ed;--line:#fed7aa;max-width:1120px;margin:0 auto;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#111827}.stipo-wrap *{box-sizing:border-box}.stipo-head{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;margin-bottom:14px;text-align:center}.stipo-head h1{margin:0;font-size:30px}.stipo-head p{margin:8px 0 0;color:#667085}.stipo-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stipo-upload{cursor:pointer;background:#fff;border:2px dashed var(--line);border-radius:16px;padding:22px;text-align:center;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:.15s}.stipo-upload.drag,.stipo-upload:hover{background:var(--soft);border-color:var(--accent)}.stipo-upload input{display:none}.stipo-icon{font-size:32px}.stipo-upload strong{font-size:20px;margin-top:5px}.stipo-upload em{font-style:normal;color:#667085;margin-top:3px}.stipo-upload small{color:#98a2b3;margin-top:9px;font-weight:700}.stipo-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:14px 0}.stipo-actions button,.stipo-preview-tools button{border:0;border-radius:10px;background:var(--accent);color:#fff;font-weight:900;padding:11px 16px;cursor:pointer}.stipo-btn-light,.stipo-preview-tools button{background:#fff7ed!important;color:#9a3412!important;border:1px solid var(--line)!important}.stipo-preview-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:14px}.stipo-preview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.stipo-preview-head strong{font-size:18px}.stipo-preview-tools{display:flex;align-items:center;gap:10px}.stipo-preview-tools span{font-weight:900;color:#475467}.stipo-canvas-box{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;min-height:360px;display:flex;align-items:center;justify-content:center;overflow:auto;padding:14px}.stipo-canvas-box canvas{max-width:100%;height:auto;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.12)}.stipo-settings{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.stipo-settings label{font-size:12px;font-weight:900;color:#475467}.stipo-settings input,.stipo-settings select{width:100%;margin-top:6px;border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff;color:#111827}.stipo-status{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px;color:#15803d;font-weight:900}.stipo-error{color:#b91c1c}.stipo-note{text-align:center;color:#667085;font-size:13px;margin-top:12px}@media(max-width:850px){.stipo-upload-grid,.stipo-settings{grid-template-columns:1fr}.stipo-actions button{width:100%}.stipo-preview-head{display:block;text-align:center}.stipo-preview-tools{justify-content:center;margin-top:10px}}

/* v1.2 desktop editor layout */
.stipo-editor-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:14px;
  align-items:start;
  margin-bottom:14px;
}
.stipo-editor-preview{min-width:0}
.stipo-editor-preview .stipo-preview-card{margin-bottom:0;height:100%}
.stipo-editor-settings{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  position:sticky;
  top:16px;
}
.stipo-settings-title{
  padding:2px 2px 12px;
  border-bottom:1px solid rgba(254,215,170,.85);
  margin-bottom:12px;
}
.stipo-settings-title strong{display:block;font-size:18px;color:#111827}
.stipo-settings-title span{display:block;color:#667085;font-size:12px;margin-top:4px}
.stipo-editor-settings .stipo-settings{
  border:0!important;
  padding:0!important;
  border-radius:0!important;
  grid-template-columns:1fr!important;
  gap:11px!important;
}
.stipo-editor-settings .stipo-settings label{
  background:#fff7ed;
  border:1px solid rgba(254,215,170,.85);
  border-radius:12px;
  padding:10px;
}
.stipo-editor-settings .stipo-settings input,
.stipo-editor-settings .stipo-settings select{background:#fff}
.stipo-canvas-box{min-height:520px}
.stipo-preview-card{border-radius:18px}
@media(max-width:900px){
  .stipo-editor-layout{grid-template-columns:1fr}
  .stipo-editor-settings{position:static}
  .stipo-editor-settings .stipo-settings{grid-template-columns:1fr!important}
  .stipo-canvas-box{min-height:360px}
}
