[hidden] { display:none !important; }
#psFreeCropEditor { width:100%; text-align:center; }
#psFreeCropEditor p { font-size:12px; margin:0 0 12px; }
#psFreeCropCanvas { display:block; width:auto; height:auto; max-width:100%; max-height:60vh; margin:0 auto 12px; cursor:crosshair; touch-action:none; }
body.ps-free-cropping #psCropStageCard,body.ps-free-cropping .ps-canvas-micro-bar { display:none; }
.ps-wizard { max-width:1100px; margin:10px auto; padding:0 20px; }
.ps-wizard-steps { display:flex; justify-content:center; gap:8px; margin:0 0 12px; padding:0; list-style:none; }
.ps-wizard-steps li { flex:0 0 auto; border-radius:8px; background:#fff; border:1px solid #fed7aa; font-weight:700; font-size:12px; }
.ps-wizard-steps li.active { background:#ea580c; color:white; }
.ps-wizard-steps li { padding:0; overflow:hidden; }
.ps-wizard-steps button { display:block; width:100%; padding:8px 12px; border:0; background:transparent; color:inherit; font:inherit; font-size:12px !important; line-height:1.4; white-space:nowrap; text-align:center; cursor:pointer; }
.ps-wizard-steps button:disabled { opacity:.5; cursor:default; }
.ps-wizard-steps button:not(:disabled):hover { background:#ea580c15; }
.ps-wizard-steps button:focus-visible { outline:3px solid #2563eb; outline-offset:-4px; }
.ps-wizard-panel { text-align:center; padding:28px; background:#f1f5f9; border:1px solid #fed7aa; border-radius:18px; }
.ps-wizard-panel h1,.ps-wizard-panel h2 { margin:0 0 16px; }
#psWizardUploadSlot { max-width:500px; margin:28px auto 0; }
#psWizardUploadSlot .ps-upload-card { padding:36px 20px; cursor:pointer; }
#psWizardUploadSlot .ps-active-photo-row { display:none !important; }
#psWizardSizeSlot { max-width:800px; margin:0 auto 20px; }
#psWizardSizeSlot .ps-preset-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
#psWizardPreviewCanvas { display:block; max-width:100%; width:295px; height:auto; margin:20px auto; background:white; box-shadow:0 8px 30px #0002; border-radius:8px; }
.ps-wizard-nav { display:flex; gap:12px; align-items:center; justify-content:space-between; margin:12px 0; }
#psWizardStatus { font-size:12px; }
body[data-wizard-step="4"] .ps-wizard { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px 20px; max-width:none; margin:10px auto; }
body[data-wizard-step="4"] .ps-wizard-steps,body[data-wizard-step="4"] .ps-wizard-nav { margin:0; }
body[data-wizard-step="2"] .ps-crop-overlay { position:static; display:flex; background:transparent; backdrop-filter:none; padding:0; z-index:auto; }
body[data-wizard-step="2"] .ps-adjust-modal { width:100%; max-width:none; max-height:none; box-shadow:none; }
body[data-wizard-step="2"] #psBtnCloseCrop { display:none; }
body[data-wizard-step="2"] .ps-wizard { max-width:1500px; }
body[data-wizard-step="2"] #psWizardAdjust { padding:12px; }
body[data-wizard-step="2"] .ps-modal-header-pro { display:none; }
body[data-wizard-step="2"] .ps-modal-body-pro { grid-template-columns:minmax(0,1fr) 340px; min-height:0; }
body[data-wizard-step="2"] .ps-modal-canvas-column { min-width:0; padding:24px; justify-content:flex-start; }
body[data-wizard-step="2"] .ps-crop-stage-card { width:100%; max-height:none; background:#e2e8f0; padding:16px; box-sizing:border-box; }
body[data-wizard-step="2"] #psCropCanvas { width:min(100%,540px); height:auto; max-height:none; }
body[data-wizard-step="2"] .ps-modal-tools-column { min-width:0; padding:16px; text-align:left; }
body[data-wizard-step="2"] .ps-modal-tools-column > h2 { font-size:20px; margin-bottom:16px; }
body[data-wizard-step="2"] #psWizardSizeSlot { width:100%; margin:0 0 16px; }
body[data-wizard-step="2"] #psWizardSizeSlot .ps-preset-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
body[data-wizard-step="2"] .ps-canvas-micro-bar { flex-wrap:wrap; justify-content:center; }
@media(max-width:820px) {
  body[data-wizard-step="2"] .ps-modal-body-pro { grid-template-columns:1fr; }
  body[data-wizard-step="2"] .ps-modal-canvas-column { padding:12px; }
  body[data-wizard-step="2"] #psCropCanvas { width:min(100%,400px); }
}
body:not([data-wizard-step="4"]) .ps-main-file-actions .ps-print-actions-group { display:none; }
body[data-wizard-step="4"] #psWizardSheet > .ps-controls-sidebar:not(.ps-border-sidebar) { display:none; }
@media(min-width:1200px) { body[data-wizard-step="4"] #psWizardSheet { grid-template-columns:minmax(0,1fr) 340px; } }
@media(max-width:650px) { .ps-wizard { padding:0 12px; margin:10px auto; } .ps-wizard-steps { gap:6px; flex-wrap:wrap; } .ps-wizard-steps button { padding:7px 9px; font-size:11px !important; } .ps-wizard-panel { padding:18px 12px; } #psWizardSizeSlot .ps-preset-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ps-wizard-nav { flex-wrap:wrap; } }
