/* Cuentitas · extras.css — Reportes, Presupuestos y Vehículos (usa los tokens del sistema) */

/* Barras horizontales (gasto por categoría) */
.xbar { padding: 8px 0; }
.xbar .icon { width: 16px; height: 16px; color: var(--text-secondary); }
.xbar__track { height: 8px; margin-top: 6px; border-radius: var(--radius-full); background: var(--bg-sunken); overflow: hidden; }
.xbar__fill { height: 100%; border-radius: var(--radius-full); background: var(--accent); transition: width var(--dur-base) var(--ease-out); }

/* Columnas mensuales (ingresos vs gastos) */
.xcols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; }
.xcols__col { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.xcols__bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 160px; width: 100%; }
.xcols__bar { width: 38%; max-width: 26px; min-height: 2px; border-radius: 6px 6px 2px 2px; transition: height var(--dur-base) var(--ease-out); }
.xcols__bar--in { background: var(--positive); }
.xcols__bar--out { background: var(--negative); opacity: .85; }
.xcols__label { font-size: 12px; color: var(--text-secondary); text-transform: capitalize; }
.xcols__val { font-size: 11px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xcols__val .money { font-size: 11px; }
.xdot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.xdot--in { background: var(--positive); }
.xdot--out { background: var(--negative); }
@media (max-width: 560px) {
  .xcols { gap: 4px; }
  .xcols__bars { height: 120px; }
  .xcols__val { display: none; }
}

/* Vehículos: mini estadísticas de la tarjeta */
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vstat { background: var(--bg-sunken); border-radius: var(--radius-md); padding: 9px 11px; min-width: 0; }
.vstat__label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.vstat__label .icon { width: 14px; height: 14px; }
.vstat__value { margin-top: 3px; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Chips con icono (pestañas del detalle) */
.chip .icon { width: 15px; height: 15px; margin-right: 6px; vertical-align: -3px; }
