svg{cursor:crosshair}.activePoint{stroke:var(--accent);stroke-width:2px;fill:none}.popup{background:var(--bg);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);border:1px solid var(--border);font-family:var(--font-geist-sans),system-ui,sans-serif;color:var(--fg);pointer-events:none;white-space:nowrap;border-radius:6px;padding:8px 12px;font-size:.85rem;line-height:1.4;box-shadow:0 4px 12px #0003}.popup-label{margin:2px 0}.popup-label strong{color:var(--fg);font-weight:600}figure.plot{flex-direction:column;align-items:center;width:100%;max-width:min(1100px,100vw - 2rem);margin:2rem auto;display:flex}figure.plot>svg{width:100%;height:100%}figure.plot>figcaption{text-align:center;color:var(--fg-muted);margin-top:1rem;font-size:.9rem}.plotWrapper{flex-direction:column;align-items:center;width:100vw;margin:2rem calc(50% - 50vw);display:flex;position:relative}.plotRect{stroke:var(--fg);stroke-width:1px}.gridLine{stroke:var(--border);stroke-width:1px}.legend-container{width:100%;font-family:var(--font-geist-sans),system-ui,sans-serif;flex-wrap:wrap;justify-content:center;gap:16px;margin-bottom:12px;font-size:.9rem;display:flex}.yLabel,.xLabel{fill:var(--fg-muted);font-size:.75rem}.legend-item{align-items:center;gap:6px;display:flex}.legend-swatch{border:1px solid var(--border);border-radius:2px;width:12px;height:12px}.legend-label{color:var(--fg-muted);font-weight:500}.axis-label{fill:var(--fg);font-family:var(--font-geist-sans),sans-serif;letter-spacing:.02em;font-size:.8rem;font-weight:600}
:root{--binary-search-stroke:#e29a93;--branchless-binary-search-stroke:#e3b063;--branchless-predictable-binary-search-stroke:#e90a2c;--linear-search-stroke:#6b7280;--binary-search-predictable-stroke:#5aa985;--std-lower-bound-stroke:#8aa9e8}[data-theme=dark]{--binary-search-stroke:#e0a6a1;--branchless-binary-search-stroke:#d7b36a;--linear-search-stroke:#b8c1cd;--binary-search-predictable-stroke:#7fc9a9;--std-lower-bound-stroke:#9db7f0;--branchless--predictable-binary-search-stroke:#e90a2c}.legend-swatch.BinarySearchRandomTarget{background-color:var(--binary-search-stroke)}.legend-swatch.BranchlessBinarySearchRandomTarget{background-color:var(--branchless-binary-search-stroke)}.legend-swatch.LinearSearch{background-color:var(--linear-search-stroke)}.legend-swatch.BinarySearchPredictableTarget{background-color:var(--binary-search-predictable-stroke)}.legend-swatch.BranchlessBinarySearchPredictableTarget{background-color:var(--branchless-predictable-binary-search-stroke)}.BranchlessBinarySearchPredictableTarget{stroke:var(--branchless-predictable-binary-search-stroke);stroke-width:1px}.legend-swatch.StdLowerBound{background-color:var(--std-lower-bound-stroke)}.BinarySearchRandomTarget{stroke:var(--binary-search-stroke)}path{fill:none}.BranchlessBinarySearchRandomTarget{stroke:var(--branchless-binary-search-stroke)}.LinearSearch{stroke:var(--linear-search-stroke)}.BinarySearchPredictableTarget{stroke:var(--binary-search-predictable-stroke)}.StdLowerBound{stroke:var(--std-lower-bound-stroke)}circle{fill:var(--plot-dot);stroke:var(--plot-dot)}
