/* Find an area in the photo (cst-trace.mjs), on CST Tools and LawnTools: tap samples, the photo tracer grows the outline. */
.cstTraceBtn{width:100%;margin:0 0 12px}
#cstTraceDialog{width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px 18px;overflow:auto;background:var(--pt-paper);color:var(--pt-ink);border:1px solid var(--pt-border);border-radius:14px}
#cstTraceDialog::backdrop{background:#08172180}
#cstTraceDialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
#cstTraceDialog h2{margin:0;font-size:20px}
#cstTraceDialog header button{width:36px;min-height:36px;padding:0;font-size:22px}
.cstTraceHelp{margin:0 0 10px;font-size:13px;line-height:1.45;color:var(--pt-muted)}
.cstTraceModes{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.cstTraceModes button[aria-pressed="true"]{border-color:var(--pt-accent);color:var(--pt-accent);font-weight:600}
#cstTraceDialog canvas{display:block;width:100%;height:auto;border-radius:10px;cursor:crosshair;background:var(--pt-surface)}
.cstTraceStatus{min-height:1.4em;margin:8px 0;font-size:13px;color:var(--pt-muted)}
.cstTraceActions{display:flex;gap:8px;justify-content:flex-end}
