/* Remote-access exhibit page — extras on top of how_it_works.css.
 * Shell (gd-*), exhibit frames (hx-*), wires and nodes all come from
 * the shared sheets; this file only adds what this page introduces:
 * packet dots, clickable-hop affordance, the topology duo, the
 * comparison table and the verdict cards.  Prefix: ra-. */

/* packets riding the wires */
.ra-packet { fill: var(--primary); }
@media (prefers-reduced-motion: reduce) {
	.ra-packet { display: none; }
}

/* clickable hops */
.ra-hop { cursor: pointer; }
.ra-hop rect { transition: stroke 0.15s ease, filter 0.15s ease; }
.ra-hop:hover rect, .ra-hop:focus-visible rect { stroke: var(--primary); }
.ra-hop.is-selected rect {
	stroke: var(--primary);
	stroke-width: 2.5;
}
.ra-hop:focus-visible { outline: none; }
.ra-sees {
	margin-top: 0.45rem !important;
	font-family: var(--bs-font-monospace, ui-monospace, monospace);
	font-size: 0.8rem !important;
	color: var(--text-muted) !important;
}

/* exhibit 2: the two topologies */
.ra-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 0.5rem 0 0;
}
@media (max-width: 760px) {
	.ra-duo { grid-template-columns: 1fr; }
}
.ra-topology {
	background: var(--bg-tertiary);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.9rem 1rem 0.4rem;
}
.ra-topology h3 {
	font-size: 1.02rem;
	font-weight: 700;
	margin: 0 0 0.1rem;
}
.ra-topology h3 .bi { color: var(--accent); margin-right: 0.35rem; }
.ra-tagline {
	font-family: var(--bs-font-monospace, ui-monospace, monospace);
	font-size: 0.74rem;
	color: var(--text-muted);
	margin: 0 0 0.5rem;
}
.ra-topology svg { display: block; width: 100%; height: auto; }
.ra-topology ul {
	margin: 0.6rem 0 0.8rem;
	padding-left: 1.15rem;
	color: var(--text-secondary);
	font-size: 0.89rem;
}
.ra-topology li { margin-bottom: 0.3rem; }
.ra-topology li strong { color: var(--text-primary); }
.ra-noroute { opacity: 0.55; }
.ra-honest { margin-top: 1rem; }

/* exhibit 3: comparison table */
.ra-table-scroll { overflow-x: auto; margin: 0.5rem 0 1rem; }
.ra-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 0.9rem;
}
.ra-table th, .ra-table td {
	text-align: left;
	padding: 0.55rem 0.7rem;
	border-bottom: 1px solid var(--border);
	vertical-align: top;
	color: var(--text-secondary);
}
.ra-table th {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.ra-table td:first-child { color: var(--text-muted); white-space: nowrap; font-size: 0.85rem; }
.ra-table td strong { color: var(--text-primary); }
.ra-yes { color: var(--accent-bright); font-weight: 600; }
.ra-no { color: var(--text-muted); }
.ra-part { color: var(--warning); font-weight: 600; }

/* verdict cards */
.ra-verdicts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
}
.ra-verdict {
	background: var(--bg-tertiary);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.95rem 1.05rem;
}
.ra-verdict-hero {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent) inset;
}
.ra-verdict h3 { font-size: 0.98rem; font-weight: 700; margin: 0 0 0.5rem; }
.ra-verdict h3 .bi { color: var(--accent); margin-right: 0.3rem; }
.ra-verdict ul {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--text-secondary);
	font-size: 0.89rem;
}
.ra-verdict li { margin-bottom: 0.35rem; }
.ra-verdict li strong { color: var(--text-primary); }
