/* Photo restoration page (adds to site.css, artwork.css, proof.css) */
.rs-stage { background: var(--booth); border: 1px solid var(--rule); min-height: 320px; display: grid; place-items: center; padding: 14px; }
.rs-compare { position: relative; width: 100%; line-height: 0; --x: 50%; }
.rs-compare img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; }
.rs-after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.rs-after img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.rs-compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(20,22,26,.4); pointer-events: none; }
.rs-compare.no-line::after, .rs-compare:not(:has(.rs-after:not([hidden])))::after { display: none; }
.rs-compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; }
.rs-tag { position: absolute; top: 10px; font: 700 12.5px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; padding: 5px 8px; background: rgba(20,22,26,.8); color: #fff; z-index: 1; }
.rs-tag-b { left: 10px; } .rs-tag-a { right: 10px; background: var(--magenta); }
.rs-fixes label { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.rs-fixes label small { grid-column: 2; color: var(--ink-soft); font-size: 13.5px; }
.rs-progress { margin: 14px 0 0; }
.rs-progress ol { list-style: none; padding: 0; margin: 8px 0; font-size: 15px; }
.rs-progress li { padding: 3px 0 3px 26px; position: relative; color: var(--ink-soft); }
.rs-progress li::before { content: "○"; position: absolute; left: 4px; }
.rs-progress li.on { color: var(--ink); font-weight: 700; } .rs-progress li.on::before { content: "●"; color: var(--magenta); }
.rs-progress li.done { color: var(--ink); } .rs-progress li.done::before { content: "✓"; color: #0a7d3b; }
.rs-what { list-style: none; padding: 0; margin: 16px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.rs-what li { margin: 0 0 6px; }
.rs-what b { color: var(--ink); }
