/* /combustibles · informe de Cristian sobre la suba de combustibles */
.cb-informe { --gasoil: #d3262c; --premium: #4d7c0f; --super: #1d4ed8; --infinia: #0891b2; }
.cb-cifras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
@media (max-width: 520px) { .cb-cifras { grid-template-columns: 1fr; } }
.cb-cifras li { padding: 16px 18px; background: #fff; border: 1px solid var(--borde); border-top: 6px solid var(--c, var(--verde)); border-radius: 16px; }
.cb-cifras .cb-k--gasoil { --c: var(--gasoil); } .cb-cifras .cb-k--premium { --c: var(--premium); }
.cb-cifras .cb-k--super { --c: var(--super); } .cb-cifras .cb-k--infinia { --c: var(--infinia); }
.cb-cifras h3 { margin: 0; font: 800 .95rem/1.25 system-ui, sans-serif; color: var(--verde-hondo); }
.cb-cifras .cb-precio { display: block; margin-top: 6px; font: 900 2.6rem/1 var(--display); color: var(--texto); font-variant-numeric: tabular-nums; }
.cb-cifras .cb-precio small { font: 700 .9rem system-ui, sans-serif; color: var(--suave); }
.cb-cifras p { margin-top: 8px; font-size: .95rem; }
.cb-cifras b { color: var(--rojo-hondo); }

.cb-foto { margin: 0; display: grid; gap: 8px; }
.cb-foto img { width: 100%; max-width: 640px; border-radius: 16px; border: 1px solid var(--borde); }
.cb-foto figcaption { font-size: .9rem; color: var(--suave); }

.leyenda i.cb-l--gasoil { background: var(--gasoil); } .leyenda i.cb-l--premium { background: var(--premium); }
.leyenda i.cb-l--super { background: var(--super); } .leyenda i.cb-l--infinia { background: var(--infinia); }
.cb-c--gasoil { stroke: var(--gasoil); stroke-width: 3.5; } .cb-c--premium { stroke: var(--premium); stroke-width: 3.5; }
.cb-c--super { stroke: var(--super); stroke-width: 3.5; } .cb-c--infinia { stroke: var(--infinia); stroke-width: 3.5; }
.cb-p--gasoil, .cb-b--gasoil { fill: var(--gasoil); } .cb-p--premium, .cb-b--premium { fill: var(--premium); }
.cb-p--super, .cb-b--super { fill: var(--super); } .cb-p--infinia, .cb-b--infinia { fill: var(--infinia); }
.cb-b--ipc { fill: #8a968e; }
.cb-t--gasoil { fill: var(--gasoil); } .cb-t--premium { fill: var(--premium); } .cb-t--super { fill: var(--super); } .cb-t--infinia { fill: var(--infinia); } .cb-t--ipc { fill: #4d5a52; }
.cb-fin { font-weight: 800; }
.cb-guia { stroke: #18211b; stroke-width: 1; stroke-dasharray: 4 4; pointer-events: none; }
.cb-barra__n { font-weight: 800; fill: var(--verde-hondo); }
.cb-barra__n--ipc { fill: #4d5a52; }
.cb-detalle { min-height: 1.5em; margin-top: 6px; font-size: .92rem; font-weight: 700; color: var(--verde-hondo); font-variant-numeric: tabular-nums; }
.cb-barras { position: relative; }
.cb-barras svg { display: block; width: 100%; height: auto; }

.cb-tabla-caja { overflow-x: auto; }
.cb-tabla { width: 100%; min-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.cb-tabla caption { text-align: left; font-weight: 800; color: var(--verde-hondo); margin-bottom: 8px; }
.cb-tabla th, .cb-tabla td { padding: 8px 10px; border-bottom: 1px solid var(--borde); text-align: right; }
.cb-tabla th:first-child, .cb-tabla td:first-child { text-align: left; }
.cb-tabla thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--suave); }
.cb-tabla small { display: block; font-size: .78rem; color: var(--suave); font-weight: 600; }
.cb-tabla .cb-salto td { background: #fff4d6; }
.cb-tabla .cb-ultima td { background: #fdb92e33; font-weight: 800; }

.cb-tanques { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.cb-tanques li { padding: 18px 20px; background: #fff; border: 1px solid var(--borde); border-left: 8px solid var(--rojo); border-radius: 16px; display: grid; gap: 8px; }
.cb-tanques h3 { margin: 0; font: 800 1.05rem/1.25 system-ui, sans-serif; color: var(--verde-hondo); }
.cb-tanques .cb-antes-ahora { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-variant-numeric: tabular-nums; }
.cb-tanques .cb-antes-ahora s { color: var(--suave); font-size: 1.1rem; }
.cb-tanques .cb-antes-ahora strong { font: 900 2.2rem/1 var(--display); color: var(--rojo-hondo); }
.cb-tanques p { font-size: .95rem; }

/* versión que se arma sola con los precios cargados en el panel */
.cb-tabla-scroll { overflow-x: auto; margin-top: 12px; }
.cb-tabla th small { display: inline; margin-left: 4px; }
.cb-tabla td small.cb-sube { color: var(--rojo-hondo); }
.cb-tabla td small.cb-baja { color: #17703a; }
.cb-compartir { margin-top: 18px; padding: 14px 16px; background: #f3f6f2; border-radius: 14px; display: grid; gap: 10px; }
.cb-compartir__t { font-weight: 800; color: var(--verde-hondo); }
.cb-cifras .cb-ult { color: var(--suave); font-size: .88rem; margin-top: 4px; }
.cb-cifras .cb-ult b { color: var(--rojo-hondo); }
.cb-tanques small { color: var(--suave); }
#cb-anio { min-height: 44px; padding: 6px 12px; border: 1px solid var(--verde); border-radius: 12px; font: 700 1rem system-ui, sans-serif; background: #fff; color: var(--verde-hondo); }
.cb-hueco { stroke-width: 2; stroke-dasharray: 6 6; opacity: .6; }
.cb-tabla .cb-base th, .cb-tabla .cb-base td { background: #eef2ee; color: var(--suave); }
.cb-tabla .cb-acum th, .cb-tabla .cb-acum td { border-top: 3px solid var(--verde); font-weight: 900; color: var(--rojo-hondo); }
.cb-tabla .cb-acum th { color: var(--verde-hondo); }
.cb-tabla-nota { margin-top: 12px; font-size: .95rem; color: var(--suave); }
.cb-tanques .cb-tanque-dibujo { display: block; width: 100%; max-width: 360px; height: auto; margin: 2px 0 4px; }

/* Tanque lleno con foto y recuadros de vidrio */
.cb-tanques .cb-tq { padding: 0; border: 0; background: none; display: grid; gap: 10px; }
.cb-tq__marco { position: relative; border-radius: 18px; overflow: hidden; background: #0c2416; box-shadow: 0 10px 26px #0c241633; }
.cb-tq__foto { position: relative; aspect-ratio: 16 / 10; }
.cb-tq__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.cb-tq__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0c241640 0%, #0c241600 35%, #0c241600 45%, #0c2416c0 100%); pointer-events: none; }
.cb-tq__vidrio { position: absolute; z-index: 1; margin: 0; padding: 10px 14px; border-radius: 14px; color: #fff; background: #0c2416a6; border: 1px solid #ffffff40; -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2); }
.cb-tq__litro { top: 12px; right: 12px; display: grid; text-align: right; }
.cb-tq__litro small { font-size: .78rem; color: #dbe7de; }
.cb-tq__litro b { font: 900 1.35rem/1.05 var(--display); letter-spacing: .01em; }
.cb-tq__total { left: 12px; bottom: 12px; display: grid; gap: 4px; max-width: calc(100% - 24px); }
.cb-tq__total h3 { margin: 0; font: 800 .82rem/1.2 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.cb-tq__total h3 span { display: block; color: var(--sol); }
.cb-tq__antes { display: flex; align-items: baseline; gap: 8px; }
.cb-tq__antes small { font: 700 .78rem system-ui, sans-serif; color: #dbe7de; }
.cb-tq__antes s { font: 900 1.45rem/1 var(--display); color: #fff; text-decoration: line-through; text-decoration-color: #ff4d55; text-decoration-thickness: 3px; }
.cb-tq__hoy { display: grid; }
.cb-tq__hoy small { font-size: .74rem; font-weight: 700; color: var(--sol); text-transform: uppercase; letter-spacing: .05em; }
.cb-tq__hoy strong { font: 900 2.3rem/1 var(--display); color: var(--sol); font-variant-numeric: tabular-nums; }
.cb-tq__pct { position: absolute; z-index: 1; left: 12px; top: 12px; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--rojo); color: #fff; font: 900 1.15rem/1 var(--display); box-shadow: 0 6px 16px #0006; }
.cb-tq__texto { font-size: .95rem; }
@media (max-width: 620px) {
  .cb-tq__foto { aspect-ratio: 16 / 11; }
  .cb-tq__foto::after { background: linear-gradient(180deg, #0c241640 0%, #0c241600 40%); }
  .cb-tq__total { position: static; max-width: none; border: 0; border-radius: 0; background: #0c2416; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 14px 16px 16px; }
  .cb-tq__litro { padding: 8px 12px; }
  .cb-tq__litro b { font-size: 1.15rem; }
  .cb-tq__hoy strong { font-size: 2.2rem; }
}

/* Precio por presidencia (colores del sitio: sol, verde, rojo) */
.cb-pre__valor { font-family: var(--display); font-weight: 800; fill: var(--verde-hondo); }
.cb-pre__guia { fill: #18211b14; pointer-events: none; }
.cb-pres { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.cb-pres__t { padding: 16px 18px; background: #fff; border: 1px solid var(--borde); border-top: 6px solid var(--c, var(--verde)); border-radius: 16px; display: grid; gap: 6px; align-content: start; }
.cb-pres__t h3 { margin: 0; font: 800 .95rem/1.25 system-ui, sans-serif; color: var(--verde-hondo); display: flex; justify-content: space-between; gap: 8px; }
.cb-pres__t h3 small { font-weight: 700; color: var(--suave); }
.cb-pres__suba { order: -1; font-size: .9rem; color: var(--suave); }
.cb-pres__t h3 { order: -2; }
.cb-pres__suba b { display: block; font: 900 2.6rem/1 var(--display); color: var(--rojo-hondo); font-variant-numeric: tabular-nums; }
.cb-pres__precios { font: 900 1.4rem/1.1 var(--display); color: var(--texto); font-variant-numeric: tabular-nums; }
.cb-pres__precios span { color: var(--suave); }
.cb-pres__fechas, .cb-pres__inf, .cb-pres__falta { font-size: .88rem; color: var(--suave); }
.cb-pres__inf { padding-top: 6px; border-top: 1px dashed var(--borde); }
#cb-pre-grafico { border-radius: 14px; background: linear-gradient(#ffffffcc, #ffffffcc), url(/media/fondo_surtidor.webp?v=1) center / cover no-repeat; }

/* Tanque lleno: un solo recuadro, auto de un lado y camioneta del otro */
.cb-tanques:has(.cb-banner) { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cb-tanques .cb-banner { display: grid; grid-template-columns: 1fr 58px 1fr; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: #0c2416; box-shadow: 0 12px 30px #0c241640; min-height: 400px; }
.cb-banner__mitad { position: relative; display: grid; }
.cb-banner__foto { position: relative; min-height: 400px; }
.cb-banner__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cb-banner__mitad--izq .cb-banner__foto img { object-position: 70% 50%; }
.cb-banner__mitad--der .cb-banner__foto img { object-position: 60% 50%; }
.cb-banner__foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0c241655 0%, #0c241600 30%, #0c241600 50%, #0c2416c8 100%); pointer-events: none; }
.cb-banner__mitad .cb-tq__total { left: 14px; bottom: 14px; }
.cb-banner__mitad--der .cb-tq__total { left: auto; right: 14px; }
.cb-banner__mitad--der .cb-tq__litro { right: auto; left: 12px; text-align: left; }
.cb-banner__mitad--der .cb-tq__pct { left: auto; right: 12px; }
.cb-banner__centro { display: grid; place-items: center; background: linear-gradient(180deg, #1c5230, #0c2416); border-inline: 3px solid var(--sol); }
.cb-banner__centro p { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font: 900 1.25rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.cb-tanques .cb-banner__textos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 0; border: 0; background: none; }
@media (max-width: 760px) {
  .cb-tanques .cb-banner { grid-template-columns: 1fr; min-height: 0; }
  .cb-banner__foto { min-height: 0; aspect-ratio: 16 / 11; }
  .cb-banner__foto::after { background: linear-gradient(180deg, #0c241650 0%, #0c241600 40%); }
  .cb-banner__mitad .cb-tq__total { position: static; max-width: none; border: 0; border-radius: 0; background: #0c2416; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 14px 16px 16px; }
  .cb-banner__centro { border-inline: 0; border-block: 3px solid var(--sol); padding: 10px 12px; }
  .cb-banner__centro p { writing-mode: horizontal-tb; transform: none; white-space: normal; text-align: center; font-size: 1.1rem; }
  .cb-tanques .cb-banner__textos { grid-template-columns: 1fr; }
}
/* gráfico por presidencia: se desliza de costado en pantallas chicas */
#cb-pre-grafico.cb-pre--desliza { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin; }
