#photo-adjuster,#photo-tips{box-sizing:border-box;width:min(1100px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid #cbd8cc;border-radius:14px;padding:24px;color:#18342c;background:#fff}
#photo-adjuster[open]{display:flex;flex-direction:column;overflow:hidden}#photo-adjuster::backdrop,#photo-tips::backdrop{background:#102c24b8}.adjust-body{min-height:0;overflow:auto;padding-right:4px}.adjust-intro{max-width:70ch;line-height:1.5}.adjust-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);gap:28px}.adjust-columns>section{min-width:0}.adjust-controls h3{margin:0 0 12px;font-size:17px}.adjust-preview-section{position:sticky;top:0;align-self:start}.adjust-preview{position:relative;display:table;max-width:100%;margin:auto;background:#e5ebe6;line-height:0}.adjust-preview canvas{display:block;width:auto;height:auto;max-width:100%;max-height:55vh;object-fit:contain}.adjust-preview canvas:focus-visible{outline:3px solid #135b91;outline-offset:3px}.adjust-preview canvas.picking{cursor:crosshair;touch-action:none}#adjust-sample-mark{position:absolute;transform:translate(-50%,-50%);color:#fff;text-shadow:0 0 3px #000;font:30px/1 sans-serif;pointer-events:none}.adjust-preview-actions{display:flex;flex-wrap:wrap;gap:8px}.adjust-preview-actions .button,#adjust-paper{min-height:44px}.adjust-preview-actions [aria-pressed=true],#adjust-paper[aria-pressed=true]{background:#d8e9df;border-color:#1d503b}.adjust-slider{display:grid;grid-template-columns:1fr auto;gap:2px 12px;font-size:14px;font-weight:650;margin:14px 0}.adjust-slider output{font-variant-numeric:tabular-nums;font-size:13px;font-weight:400}.adjust-slider input{grid-column:1/-1;width:100%;min-width:0;min-height:40px;margin:0;accent-color:#245d43}.adjust-controls details{border-top:1px solid #dce3dc;margin-top:16px;padding-top:12px}.adjust-controls summary{font-weight:650;padding:8px 0}.adjust-select{display:grid;gap:6px;font-size:14px;margin:10px 0}.adjust-select select{width:100%;font:inherit;color:inherit;background:#fff;border:1px solid #bdcdbf;border-radius:7px;padding:8px}#adjust-curve{display:block;width:100%;height:auto;max-height:300px;overflow:visible;touch-action:none;background:#f4f6f3;border-radius:8px}#adjust-curve text{fill:#536b5c;font:12px sans-serif}.curve-grid path{fill:none;stroke:#d8e0d8}.curve-histogram{fill:#d4ddd4}.curve-identity{stroke:#8c9c91;stroke-dasharray:4 4;fill:none}.curve-band{stroke:#a8b8ac;stroke-dasharray:2 4;fill:none}.curve-line{stroke:#245d43;stroke-width:2.5;fill:none}.curve-handles circle{fill:#fff;stroke:#245d43;stroke-width:2}.curve-handles .curve-hit{fill:transparent;stroke:none}.curve-handles g{cursor:ns-resize;outline:none}.curve-handles .selected circle:not(.curve-hit){fill:#245d43}.curve-handles g:focus circle:not(.curve-hit){stroke:#135b91;stroke-width:4}#adjust-curve[data-channel=red] .curve-line{stroke:#a64b42}#adjust-curve[data-channel=green] .curve-line{stroke:#38744e}#adjust-curve[data-channel=blue] .curve-line{stroke:#386f9e}#adjust-reset{margin-right:auto}#photo-tips{width:min(680px,calc(100vw - 24px));overflow:auto}#photo-tips li{line-height:1.55;margin:13px 0}#photo-tips ol{padding-left:24px}#photo-tips a{color:#245d43}
@media(max-width:700px){#photo-adjuster,#photo-tips{padding:16px}.adjust-columns{grid-template-columns:1fr;gap:18px}.adjust-preview-section{position:static}.adjust-preview canvas{max-height:35vh}.adjust-preview-actions .button{flex:1}.adjust-controls h3{margin-top:4px}#photo-adjuster .photo-actions .button{flex:1}#photo-adjuster #adjust-reset{flex-basis:100%;margin:0}}
