.dialog.crop-dialog{overscroll-behavior:contain;width:min(640px,100% - 32px)}.crop-dialog .dialog-heading{margin-bottom:8px}.crop-dialog .dialog-heading h2{letter-spacing:-.035em;font-size:23px}.crop-intro{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.crop-intro p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.crop-reset.text-button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;padding:5px 0 5px 8px;font-size:12px;display:inline-flex}.crop-preview-surround{background:#eee6e2;border:1px solid #e3d8d1;border-radius:15px;justify-content:center;align-items:center;padding:18px;display:flex}.crop-photo-frame{touch-action:none;-webkit-user-select:none;user-select:none;isolation:isolate;background:#d9ceca;border-radius:3px;width:100%;position:relative;overflow:hidden;box-shadow:0 4px 16px #24182116}.crop-photo-frame.is-ready{cursor:grab}.crop-photo-frame.is-dragging{cursor:grabbing}.crop-photo-frame:focus-visible{outline:3px solid var(--pink-dark);outline-offset:5px}.crop-photo-frame img{pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;max-width:none;display:block;position:absolute}.crop-loading{color:var(--muted);text-align:center;background:#eee5e1;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:22px;font-size:12px;line-height:1.5;display:flex;position:absolute;inset:0}.crop-loading p{margin:0}.crop-grid{pointer-events:none;opacity:.24;transition:opacity .15s;position:absolute;inset:0}.crop-grid.is-visible,.crop-photo-frame:focus-visible .crop-grid{opacity:.8}.crop-grid i{filter:drop-shadow(0 1px 1px #00000080);border:0 solid #fff;position:absolute}.crop-grid i:first-child,.crop-grid i:nth-child(2){border-left-width:1px;top:0;bottom:0}.crop-grid i:first-child{left:33.333%}.crop-grid i:nth-child(2){left:66.666%}.crop-grid i:nth-child(3),.crop-grid i:nth-child(4){border-top-width:1px;left:0;right:0}.crop-grid i:nth-child(3){top:33.333%}.crop-grid i:nth-child(4){top:66.666%}.crop-instructions{color:var(--muted);text-align:center;margin:11px 0 16px;font-size:11px;line-height:1.55}.crop-controls{grid-template-columns:1fr 1fr;gap:2px 24px;display:grid}.crop-control{min-width:0}.crop-control-zoom{grid-column:1/-1}.crop-control-label{justify-content:space-between;align-items:center;gap:8px;min-height:22px;display:flex}.crop-control-label label{font-size:12px;font-weight:500}.crop-control-label output{font-variant-numeric:tabular-nums;color:var(--muted);font-size:11px}.crop-controls input[type=range]{width:100%;min-height:44px;accent-color:var(--pink-dark);margin:0;display:block}.crop-controls input:disabled{cursor:default;opacity:.42}.crop-note{color:var(--muted);margin:3px 0 17px;font-size:10px;line-height:1.5}.crop-photo-actions{border-top:1px solid var(--line);justify-content:space-evenly;align-items:center;gap:8px;padding-top:10px;display:flex}.crop-photo-actions button{color:var(--ink);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:10px 12px;font-size:12px;display:inline-flex}.crop-photo-actions button:hover{background:#f2e5e2}.crop-photo-actions .crop-remove{color:#9c2d43}.crop-confirm-actions.dialog-actions{margin-top:14px}.crop-confirm-actions .button{min-height:50px;font-size:14px}@media (width<=640px){.dialog.crop-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:20px}.crop-dialog .dialog-heading{gap:10px}.crop-dialog .dialog-heading h2{font-size:20px}.crop-intro{gap:8px}.crop-intro p,.crop-reset.text-button{font-size:11px}.crop-preview-surround{padding:12px}.crop-controls{column-gap:16px}.crop-control-label{gap:5px}.crop-control-label label,.crop-control-label output{font-size:10px}.crop-photo-actions{gap:4px}.crop-photo-actions button{padding-inline:8px;font-size:11px}.crop-note{font-size:9px}.crop-confirm-actions .button{padding-inline:13px;font-size:13px}}@media (prefers-reduced-motion:reduce){.crop-grid{transition:none}}
