/* Estadísticas de visualización. Mismo esquema neón naranja sobre oscuro del panel.
   El CSP del panel bloquea estilos en línea: los anchos de las barras los fija stats.js por CSSOM. */
.stats-range { display: flex; gap: 6px; flex-wrap: wrap; }
.stats-range .btn.is-on { background: var(--accent); color: #07090d; border-color: var(--accent); }

.stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.stats-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.stats-card-label { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.stats-card strong { display: block; margin-top: 6px; font-size: 28px; color: var(--accent); }

.stats-h { margin: 26px 0 10px; font-size: 16px; color: var(--text); }
.stats-h2 { margin: 18px 0 8px; font-size: 14px; color: var(--muted); }

.stats-bars { display: flex; align-items: flex-end; gap: 4px; height: 150px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; }
.stats-bar { flex: 1 0 14px; max-width: 46px; min-height: 2px; background: var(--accent); border-radius: 3px 3px 0 0; position: relative; }
.stats-bar:hover { background: var(--accent-hover); }
.stats-bars-empty { color: var(--muted); align-self: center; margin: 0 auto; }

.col-bar { width: 28%; min-width: 90px; }
.bar-track { height: 10px; background: var(--accent-soft); border-radius: 5px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 5px; }
.tag-off { margin-left: 6px; padding: 1px 6px; font-size: 11px; border-radius: 8px; color: var(--warning); background: var(--warning-soft); }
.link-btn { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
