.loc-demo{--loc-ink:#25252a;--loc-muted:#77747b;--loc-line:#e5e1e4;--loc-pink:#dc5b91;color:var(--loc-ink);border:1px solid var(--loc-line);background:#fff;border-radius:8px;margin:3.5rem 0 4.5rem;padding:clamp(1.1rem,3vw,2rem);box-shadow:0 12px 34px #22191f0d}.loc-demo-heading{justify-content:space-between;align-items:end;gap:2rem;display:flex}.loc-demo-kicker,.loc-field-label{color:var(--loc-muted);font:600 .68rem/1.3 var(--font-mono,monospace);letter-spacing:.1em;text-transform:uppercase;margin:0 0 .6rem}.loc-demo-heading h2{max-width:17ch;font:500 clamp(1.6rem, 3vw, 2.3rem)/1.08 var(--font-display,inherit);letter-spacing:-.04em;margin:0}.loc-demo-heading>p{max-width:34ch;color:var(--loc-muted);margin:0;font-size:.88rem;line-height:1.55}.loc-demo-controls{gap:.45rem;margin:1.5rem 0 .8rem;display:flex}.loc-demo button{border:1px solid var(--loc-line);min-height:44px;color:var(--loc-ink);cursor:pointer;background:#fff;border-radius:4px;padding:.55rem .9rem;font-family:inherit;font-size:.8rem;font-weight:500;line-height:1.2;transition:border-color .16s,background .16s,color .16s}.loc-demo button:disabled{cursor:not-allowed;opacity:.6}.loc-demo button:hover{border-color:var(--loc-pink)}.loc-demo button:focus-visible{outline:2px solid var(--loc-pink);outline-offset:2px}.loc-demo-controls button[aria-pressed=true]{color:#fff;border-color:var(--loc-ink);background:var(--loc-ink)}.loc-demo-field-wrap{border:1px solid var(--loc-line);background:#fbfafb;border-radius:4px;overflow:hidden}.loc-demo-field{width:100%;height:auto;max-height:370px;display:block}.loc-field-boundary{fill:#fff;stroke:#aaa4aa;stroke-width:1.2px}.loc-field-grid{stroke:#eeeaf0;stroke-width:.8px}.loc-route{fill:none;stroke:#77747b;stroke-width:1.5px;stroke-dasharray:4 5;stroke-linecap:round;stroke-linejoin:round}.loc-sensors line{stroke:#c6b7bf;stroke-width:.8px;stroke-dasharray:2 3}.loc-particle{fill:var(--loc-pink);opacity:.48}.loc-error-line{stroke:var(--loc-pink);stroke-width:1px;stroke-dasharray:2 2;opacity:.8}.loc-estimate circle{fill:#fff;stroke:var(--loc-pink);stroke-width:1.8px}.loc-estimate path{stroke:var(--loc-pink);stroke-width:1px}.loc-robot rect{fill:var(--loc-ink)}.loc-robot path{fill:#fff}.loc-field-label{letter-spacing:.08em;font-size:5px}.loc-demo-bottom{border-bottom:1px solid var(--loc-line);grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr);gap:1.5rem;padding:1rem 0;display:grid}.loc-demo-legend{flex-wrap:wrap;align-content:start;gap:.65rem 1rem;display:flex}.loc-demo-legend span{color:var(--loc-muted);align-items:center;gap:.4rem;font-size:.7rem;display:inline-flex}.loc-demo-legend i{width:9px;height:9px;display:inline-block}.loc-key-robot{background:var(--loc-ink);border-radius:2px}.loc-key-route{border-top:1px dashed var(--loc-muted);height:0!important}.loc-key-estimate{border:1.5px solid var(--loc-pink);border-radius:50%}.loc-key-particle{background:var(--loc-pink);opacity:.55;border-radius:50%}.loc-demo-state>p{color:var(--loc-muted);margin:0;font-size:.82rem;line-height:1.5}.loc-demo-state>p strong{color:var(--loc-ink)}.loc-confidence{grid-template-columns:1fr auto;gap:.5rem;margin-top:.85rem;font-size:.69rem;display:grid}.loc-confidence-value{color:var(--loc-muted)}.loc-confidence [role=meter]{background:#eeeaf0;grid-column:1/-1;height:4px;overflow:hidden}.loc-confidence [role=meter] i{background:var(--loc-pink);height:100%;transition:width .25s;display:block}.loc-demo-actions{justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0 0;display:flex}.loc-demo-actions>div{flex-wrap:wrap;gap:.45rem;display:flex}.loc-demo-actions>p{color:var(--loc-muted);text-align:right;margin:0;font-size:.7rem}.loc-demo-summary{color:var(--loc-muted);margin:1rem 0 0;font-size:.82rem}.loc-demo-summary strong{color:var(--loc-ink)}@media (max-width:640px){.loc-demo{margin:2.5rem 0 3rem}.loc-demo-heading{display:block}.loc-demo-heading>p{margin-top:.8rem}.loc-demo-controls{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.loc-demo-controls button{padding-inline:.35rem;font-size:.72rem}.loc-demo-bottom{grid-template-columns:1fr;gap:.8rem}.loc-demo-actions{flex-direction:column;align-items:start}.loc-demo-actions>p{text-align:left}}@media (prefers-reduced-motion:reduce){.loc-demo button,.loc-confidence [role=meter] i{transition:none}}
