*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
	background: var(--bg);
	color: var(--text);
	font: 400 var(--text-md)/1.5 var(--font);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

button, input, select, textarea { font: inherit; color: inherit; }

button {
	cursor: pointer;
	min-height: var(--touch);
	padding: 0 var(--space-4);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	background: var(--panel-raised);
}
button:hover { border-color: #3a3e47; }
button:disabled { opacity: 0.5; cursor: default; }
button.primary { background: var(--accent-solid); border-color: var(--accent-solid); color: #fff; font-weight: 600; }

a { color: var(--selection); }

:focus-visible { outline: 2px solid var(--selection); outline-offset: 2px; }

.num, time, .tabular { font-variant-numeric: tabular-nums; }

.muted { color: var(--text-muted); }

.icon { width: 18px; height: 18px; flex: none; }

.eyebrow {
	margin: 0;
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.empty {
	padding: var(--space-6);
	border: 1px dashed var(--border);
	border-radius: var(--radius-lg);
	color: var(--text-muted);
	text-align: center;
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.dot.live { background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 20%, transparent); }
.dot.off { background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* hidden manda siempre, aunque la clase del elemento fije su display. */
[hidden] { display: none !important; }
