#photo-review{box-sizing:border-box;width:min(1120px,calc(100vw - 32px));max-width:none;height:min(860px,calc(100dvh - 32px));max-height:none;padding:0;border:1px solid #444c44;border-radius:14px;background:#202520;color:#edf1e9;overflow:hidden;box-shadow:0 24px 100px #0008}
#photo-review[open]{display:flex;flex-direction:column;gap:0}
#photo-review::backdrop{background:#101610c9;backdrop-filter:blur(5px)}
#photo-review button{border:1px solid transparent;border-radius:6px;background:transparent;color:#cdd8c9;font-family:inherit;font-weight:600;font-size:12px;line-height:1.2;min-height:44px;padding:10px 13px;white-space:nowrap;box-shadow:none;cursor:pointer}
#photo-review button:hover:not(:disabled){background:#3b453a;color:#fff}
#photo-review button:disabled{opacity:.4;cursor:default}
#photo-review button:focus-visible,#photo-review input:focus-visible,#photo-review canvas:focus-visible{outline:2px solid #c3e5a7;outline-offset:-3px}
#photo-review .photo-review-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid #414a40;flex-shrink:0}
#photo-review .photo-review-heading>div{min-width:0}
#photo-review h2{color:#f2f5ed;font-size:16px;line-height:1.3;letter-spacing:-.02em;margin:0}
#photo-review-name{font-size:11px;line-height:1.5;color:#b6c4b2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:2px 0 0}
#photo-review-close{flex:0 0 auto}#photo-review-close span{font-size:20px;vertical-align:-1px;margin-left:8px}
#photo-review .photo-review-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 12px;padding:6px 14px;flex-shrink:0}
#photo-review .photo-review-views,#photo-review .photo-review-zoom{display:flex;flex:0 0 auto;align-items:center;gap:2px}
#photo-review button[aria-pressed="true"]{color:#182315;background:#d1e6bd}
#photo-review .photo-review-zoom output{font-size:12px;font-variant-numeric:tabular-nums;min-width:48px;text-align:center}
#photo-review-in,#photo-review-out{font-size:19px!important;min-width:44px}
#photo-review .photo-review-stage{position:relative;min-height:0;flex:1;margin:0 14px;overflow:hidden;border-radius:6px;background-color:#b6bcb1;background-image:conic-gradient(#a3ab9e 25%,transparent 0 50%,#a3ab9e 0 75%,transparent 0);background-size:20px 20px}
#photo-review .photo-review-stage[data-backdrop="light"]{background:#fff}
#photo-review .photo-review-stage[data-backdrop="dark"]{background:#202320}
#photo-review-canvas{display:block;width:100%;height:100%;touch-action:none}
#photo-review-status{position:absolute;inset:0;display:grid;place-content:center;padding:22px;background:#242c24e8;color:#edf1e9;text-align:center;font-size:13px;margin:0;pointer-events:none}
#photo-review-status[hidden]{display:none}
#photo-review .photo-review-divider{position:absolute;top:0;bottom:0;width:2px;transform:translateX(-1px);background:#fff;box-shadow:0 0 2px #000;pointer-events:none}
#photo-review .photo-review-divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff;background:#242c24;border:1px solid #d1e6bd;font-size:19px}
#photo-review .photo-review-label{position:absolute;top:12px;background:#202820e6;color:#fff;border-radius:4px;padding:5px 8px;font-size:10px;pointer-events:none}
#photo-review .photo-review-label.original{left:12px}#photo-review .photo-review-label.result{right:12px}
#photo-review .photo-review-footer{flex-shrink:0;padding:10px 20px 12px}
#photo-review .photo-review-footer p{font-size:11px;color:#b6c4b2;margin:0;text-align:center;line-height:1.5}
#photo-review-compare-control{display:flex;align-items:center;gap:16px;font-size:11px;margin:0 0 8px;color:#d5dfd0}
#photo-review-compare-control input{flex:1;min-width:0;accent-color:#bdd99f;min-height:32px;touch-action:pan-y}
#photo-review [hidden]{display:none!important}
.previewwrap{padding-top:44px}
.previewwrap:has(#compare-panel:not([hidden])) .selected-photo-line{display:flex}
.selected-photo-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.selected-photo-line>#inspectphoto{display:flex;align-items:center;gap:5px;margin-left:auto;flex:0 0 auto;border:1px solid #52614d;border-radius:5px;color:#e2eddb;background:#303b2c;font-size:11px;font-weight:600;line-height:1.2;padding:6px 9px;min-height:36px;white-space:nowrap;cursor:pointer;pointer-events:auto}
.selected-photo-line>#inspectphoto:hover:not(:disabled){background:#475541}
.selected-photo-line>#inspectphoto:disabled{opacity:.4;cursor:default}
.selected-photo-line>#inspectphoto:focus-visible{outline:2px solid #c3e5a7;outline-offset:2px}
@media(max-width:520px){
 .previewwrap{padding-top:50px}
 #photo-review{width:100vw;height:100dvh;margin:0;border:0;border-radius:0}
 #photo-review .photo-review-heading{padding:8px 10px}
 #photo-review .photo-review-toolbar{flex-wrap:wrap;justify-content:center;gap:0;padding:3px 8px}
 #photo-review .photo-review-views{width:100%;justify-content:center}
 #photo-review .photo-review-stage{margin:0 8px}
 #photo-review .photo-review-footer{padding:8px 12px}
 .selected-photo-line>#inspectphoto{min-height:44px;font-size:10px;padding:6px 8px}
 .selected-photo-line>#dimensions{display:none}
}
@media(prefers-reduced-motion:reduce){#photo-review *,#inspectphoto{transition-duration:.01ms!important;animation-duration:.01ms!important}}
@media(min-width:521px) and (max-width:580px){#photo-review .photo-review-toolbar{justify-content:center}}
@media(min-width:521px) and (max-height:500px){
 #photo-review{width:calc(100vw - 16px);height:calc(100dvh - 16px)}
 #photo-review button{padding:8px 10px;font-size:11px}
 #photo-review .photo-review-heading{padding:6px 12px}
 #photo-review .photo-review-footer{padding:8px 12px}
}
@media(max-width:520px) and (max-height:700px){
 .workspace:has(#empty[hidden]){min-height:660px}
}
