/* KNN Explorer additions to forge.css: the radio list, full-width buttons,
   the plot legend and hover label, and the neighbor table. */

.sidebar .radio-list label.check { margin: 6px 0; color: var(--warm-white); font-size: 0.88em; font-weight: 400; text-transform: none; letter-spacing: 0; }
.radio-list input { accent-color: var(--gold); width: 16px; height: 16px; }
.btn.wide { display: block; width: 100%; margin: 12px 0 6px; }
.btn.wide + .btn.wide { margin-top: 0; }

.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--warm-white); font-size: 0.8em; margin: 0 0 6px 8px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend svg { width: 22px; height: 14px; flex-shrink: 0; }

.plot-wrap { position: relative; }
.plot-wrap svg.plot { touch-action: manipulation; }
.hover-tip { position: absolute; pointer-events: none; background: #1E1E1E; border: 1px solid var(--gold); border-radius: 4px; color: var(--warm-white); font-size: 0.78em; line-height: 1.35; padding: 5px 8px; white-space: nowrap; z-index: 5; display: none; }
.hover-tip.on { display: block; }

.nbr-table { width: 100%; border-collapse: collapse; font-size: 0.88em; margin: 6px 0 12px; }
.nbr-table th, .nbr-table td { text-align: left; padding: 4px 8px; border-bottom: 1px solid var(--border); }
.nbr-table th { color: var(--warm-white); font-weight: 700; border-bottom-width: 2px; }
.table-scroll { overflow-x: auto; }
.pred-line { font-size: 1.05em; margin: 0; }
