/* Photo straightener & document scan (P0177) */
.ps-drop { border: 2px dashed #8C96A6; border-radius: 14px; padding: 12px 16px; background: #FFFFFF; }
.ps-over { border-color: #3B6970; background: #EEF4F3; }
.ps-note { color: #4A5568; margin: 4px 0 0; }
.ps-link { border: 0; background: none; padding: 0; color: #3B6970; font: inherit; text-decoration: underline; cursor: pointer; min-height: 32px; }
.ps-lab { font-weight: bold; margin-right: 6px; }
.ps-row { margin: 8px 0; }
.ps-range { width: 22em; max-width: 60%; vertical-align: middle; min-height: 32px; }
.ps-val { display: inline-block; min-width: 3.5em; font-variant-numeric: tabular-nums; font-weight: bold; }
.ps-check { display: inline-block; min-height: 32px; }
.ps-check input { width: 22px; height: 22px; vertical-align: middle; margin-right: 6px; }
.ps-sel { min-height: 46px; padding: 0 8px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; background: #FFFFFF; max-width: 100%; margin: 0 12px 8px 0; }
.ps-stage { margin: 12px 0; text-align: center; background: #24334B; border-radius: 12px; padding: 8px; }
.ps-canvas { display: block; max-width: 100%; height: auto; margin: 0 auto; touch-action: none; cursor: crosshair; }
.ps-canvas:focus { outline: 3px solid #C38B4A; }
.ps-tool .controls button[aria-pressed="true"] { background: #3B6970; color: #FFFFFF; }
.ps-result { margin: 10px 0; padding: 8px; background: #EFEBE3; border-radius: 12px; text-align: center; }
.ps-outc { max-width: 100%; height: auto; box-shadow: 0 2px 8px rgba(36, 51, 75, .2); }
