/* Replay (frontend/hub/replays.js) */
.rr-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rr-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.rr-table td { padding: 7px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rr-stats td:not(:first-child), .rr-stats th:not(:first-child), .rr-sub td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.rr-row { cursor: pointer; }
.rr-row:hover td { background: color-mix(in srgb, var(--accent, #7f77dd) 6%, transparent); }
.rr-row.open td { border-bottom-color: transparent; }
.rr-detail > td { padding: 4px 8px 16px; }
.rr-sub { margin: 0 0 10px; }
.rr-sub td { color: var(--muted); font-size: 12px; padding: 4px 8px; }
.rr-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.rr-tile { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.rr-tile b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rr-chart { max-width: 720px; }
.rr-svg { width: 100%; height: auto; display: block; }
.rr-bar { fill: var(--accent, #7f77dd); }
.rr-band { fill: color-mix(in srgb, var(--ok, #1d9e75) 10%, transparent); }
.rr-zero { stroke: var(--muted); stroke-width: 1; opacity: .6; }
.rr-axis { stroke: var(--border); stroke-width: 1; }
.rr-tick { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.rr-lab { fill: var(--muted); font-size: 11px; }
.rr-dot { fill: none; stroke: var(--accent, #7f77dd); stroke-width: 1.5; }
.rr-mark { fill: var(--text); }
.rr-hit { fill: transparent; }
.rr-strip { cursor: pointer; }
.rr-strip:hover .rr-hit { fill: color-mix(in srgb, var(--accent, #7f77dd) 8%, transparent); }
.rr-cap { margin: 2px 0 10px; }
.rr-modal { width: min(640px, 92vw); max-height: 88vh; overflow: auto; }
.rr-pickbar { display: flex; gap: 12px; align-items: center; margin: 12px 0 6px; }
.rr-pickbar input[type=search] { flex: 1; min-width: 0; }
.rr-all { display: flex; gap: 6px; align-items: center; font-size: 13px; white-space: nowrap; cursor: pointer; }
.rr-all input { width: auto; margin: 0; }
.rr-opts { max-height: 46vh; overflow: auto; border: 1px solid var(--border); border-radius: 10px; padding: 4px; }
.rr-opt { display: flex; gap: 10px; align-items: center; padding: 5px 8px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.rr-opt:hover { background: color-mix(in srgb, var(--accent, #7f77dd) 6%, transparent); }
.rr-opt input { width: auto; margin: 0; flex: none; }
.rr-opt img { width: 44px; height: 44px; flex: none; object-fit: cover; border-radius: 6px; background: #0e0f11; }
.rr-opt img.rr-diagram { object-fit: contain; padding: 2px; width: 56px; height: 56px; background: color-mix(in srgb, var(--text, #fff) 7%, transparent); }
.rr-optt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rr-optt > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-mono { font-family: ui-monospace, monospace; font-size: 12px; }
.rr-garments summary { cursor: pointer; }
.rr-garments table { margin-top: 10px; }
.rr-garments td { font-variant-numeric: tabular-nums; }
.rr-sort { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.rr-sort:hover, .rr-sort.on { color: var(--text); }
.rr-sort:focus-visible { outline: 2px solid var(--accent, #7f77dd); outline-offset: 2px; border-radius: 3px; }
.rr-arrow { font-size: 9px; min-width: 9px; }
/* a feature replay: the engine's points around the labels */
.rr-scatter { max-width: 360px; }
.rr-ring { fill: color-mix(in srgb, var(--ok, #1d9e75) 5%, transparent); stroke: color-mix(in srgb, var(--ok, #1d9e75) 40%, transparent); stroke-width: 1; stroke-dasharray: 3 3; }
.rr-pt { cursor: pointer; }
.rr-pt:hover { stroke-width: 2.5; }
.rr-mean { stroke: var(--text); stroke-width: 2; stroke-linecap: round; fill: none; }
.rr-three th.rr-grp { text-align: center; border-bottom: 1px solid var(--border); }
.rr-three td:nth-child(4), .rr-three td:nth-child(7) { border-left: 1px solid var(--border); }
