.selection-open{width:100%;margin-top:12px;padding:11px;text-align:left;font-weight:600;background:#eef3e5;border-color:#bdcdb2;color:#315a3b}
dialog.selection-dialog{width:1180px;max-width:96vw;max-height:94vh;padding:22px;border:1px solid #cad4c3;border-radius:15px;background:#fcfcf5;color:#264135;overflow:auto}
.selection-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.selection-heading h2{font-size:25px;margin:6px 0}.selection-heading>button{font-size:24px;padding:3px 12px}
.selection-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:22px}.selection-image{min-width:0}.selection-image>p{font-size:12px;line-height:1.6;min-height:36px;margin:0 0 10px}.selection-stage{height:61vh;background:#dde3d4;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #c9d3c1}
#selection-canvas{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;cursor:crosshair;touch-action:none;display:block;outline-offset:-3px}#selection-status{margin-top:12px;color:#526e4d}
.selection-panel{display:flex;flex-direction:column;gap:10px;min-width:0}.selection-panel .form-field{margin:0}.selection-panel .help-copy{margin:0;font-size:11px;line-height:1.5}.selection-panel .note{margin:0;padding:10px;font-size:11px}.selection-panel input[type=range]{width:100%;accent-color:#56794e}.selection-panel .check-line{font-size:11px;line-height:1.4}.selection-panel [hidden]{display:none!important}
.selection-modes{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:3px}.selection-modes button{font-weight:600;font-size:12px;padding:10px 5px}.selection-modes [aria-pressed=true]{background:#28513b;color:white;border-color:#28513b}#selection-remove[aria-pressed=true]{background:#984b41;border-color:#984b41}.selection-actions{display:flex;gap:5px;flex-wrap:wrap}.selection-actions button{font-size:10px;padding:7px}.selection-panel button:disabled{opacity:.48;cursor:default}#selection-accept{margin-top:auto}#selection-range-value{float:right}
@media(max-width:950px){.selection-layout{grid-template-columns:minmax(0,1fr) 210px;gap:14px}.selection-panel{gap:7px}.selection-heading h2{font-size:22px}dialog.selection-dialog{padding:16px}.selection-stage{height:60vh}}
.selection-smoothing{display:grid;grid-template-columns:1fr;gap:5px;font-size:12px;background:#eef2e5;padding:10px 12px;border-radius:8px}.selection-smoothing input{width:100%;accent-color:#56794e}.selection-smoothing output{float:right}.selection-smoothing small{font-size:11px;color:#526e4d}
