.dsw-photo-editor{box-sizing:border-box;width:min(1090px,calc(100vw - 24px));max-height:92vh;max-height:92dvh;padding:0;border:1px solid #e4dbe0;border-radius:20px;color:#28232a;background:#fff;box-shadow:0 24px 90px #25192540;font:15px/1.45 system-ui,sans-serif}
.dsw-photo-editor::backdrop{background:#211920aa}
.dsw-photo-editor header,.dsw-photo-editor footer{display:flex;align-items:center;gap:10px;padding:16px 22px}
.dsw-photo-editor header{justify-content:space-between;border-bottom:1px solid #e9e3e7}.dsw-photo-editor h2{margin:0;font-size:1.45rem;letter-spacing:-.035em}
.dsw-photo-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,34%);gap:20px;padding:20px}
.dsw-photo-stage{position:sticky;top:10px;align-self:start;display:grid;justify-items:center;background:#f6f4f6;border-radius:14px;overflow:hidden}
.dsw-photo-editor canvas{display:block;width:100%;height:auto;touch-action:none;cursor:move}
.dsw-photo-dimensions{margin:10px;text-align:center;font-variant-numeric:tabular-nums}
.dsw-photo-settings{display:grid;gap:16px}.dsw-photo-settings fieldset{display:grid;gap:9px;min-width:0;margin:0;padding:12px 14px;border:1px solid #e4dce1;border-radius:12px}
.dsw-photo-settings legend{padding:0 6px;font-weight:750;color:#95204f}.dsw-photo-settings label{display:block;font-size:.87rem;font-weight:600}
.dsw-photo-settings input,.dsw-photo-settings select{display:block;width:100%;box-sizing:border-box;accent-color:#b52161;margin-top:3px}
.dsw-photo-settings input[type=number],.dsw-photo-settings select{min-height:36px;padding:5px 8px;border:1px solid #cfc5cb;border-radius:7px;background:white;color:#29242a;font:inherit}
.dsw-photo-settings output{float:right;color:#69495a}.dsw-photo-settings small{color:#695961}.dsw-photo-settings .pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dsw-photo-settings [hidden]{display:none}
.dsw-photo-tools{display:flex;gap:6px;flex-wrap:wrap}.dsw-photo-editor button{font:inherit;border:1px solid #d6cbd1;border-radius:9px;padding:8px 12px;background:white;color:#30282d;cursor:pointer}
.dsw-photo-editor footer{justify-content:flex-end;border-top:1px solid #e9e3e7;flex-wrap:wrap}.dsw-photo-editor footer button:first-child{margin-right:auto}
.dsw-photo-editor [data-photo=apply]{background:#ae205a;color:white;border-color:#ae205a;font-weight:650}.dsw-photo-editor button:disabled{opacity:.55;cursor:default}
.dsw-photo-editor :focus-visible{outline:3px solid #ae205a;outline-offset:2px}.dsw-photo-error{color:#a21532;margin:0 20px}.dsw-photo-error:empty{display:none}
@media(max-width:720px){.dsw-photo-layout{grid-template-columns:1fr;gap:12px;padding:12px}.dsw-photo-stage{position:static}.dsw-photo-editor footer,.dsw-photo-editor header{padding:12px}.dsw-photo-editor footer{gap:6px}}

.dsw-photo-settings input[type="range"]{
  --crop-accent:var(--pink,#cf0359);
  --crop-track:linear-gradient(to right,var(--crop-accent) var(--crop-fill,50%),#ddcfd7 var(--crop-fill,50%));
  appearance:none;-webkit-appearance:none;display:block;height:36px;margin:0;padding:0;border:0;
  border-radius:8px;background:transparent;cursor:pointer
}
.dsw-photo-settings input[type="range"]::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:var(--crop-track)}
.dsw-photo-settings input[type="range"]::-moz-range-track{height:3px;border-radius:3px;background:var(--crop-track)}
.dsw-photo-settings input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;box-sizing:border-box;width:15px;height:15px;margin-top:-6px;
  border:2px solid var(--crop-accent);border-radius:50%;background:white;box-shadow:0 1px 3px #42152c26
}
.dsw-photo-settings input[type="range"]::-moz-range-thumb{
  box-sizing:border-box;width:15px;height:15px;border:2px solid var(--crop-accent);border-radius:50%;
  background:white;box-shadow:0 1px 3px #42152c26
}
.dsw-photo-settings input[type="range"]:focus-visible{outline:2px solid var(--crop-accent);outline-offset:2px}
.dsw-photo-settings input[type="range"]:disabled{--crop-accent:#a998a2;opacity:.65;cursor:default}
@media(pointer:coarse){.dsw-photo-settings input[type="range"]{height:44px}}
@media(forced-colors:active){.dsw-photo-settings input[type="range"]{appearance:auto}}
