/* MODEL UP! 2026 · V16.3 · Analítica para informes + equilibrio tarjeta online · 2026-08-13 */

/* Inicio · mantener la tarjeta online de igual altura que la presencial, pero con el contenido mejor equilibrado. */
@media (min-width:641px){
  .category-dual-grid .online-category-overlay{
    justify-content:center!important;
    padding:clamp(120px,15vh,170px) 27px 34px!important;
  }
}

/* En móvil el contenido define la altura real de la tarjeta: evita cortar ONLINE · INTERNACIONAL. */
@media (max-width:640px){
  .category-dual-grid .online-category-panel{
    min-height:0!important;
    height:auto!important;
    display:block!important;
  }
  .category-dual-grid .online-category-panel>img{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  .category-dual-grid .online-category-overlay{
    position:relative!important;
    inset:auto!important;
    min-height:0!important;
    justify-content:flex-start!important;
    padding:30px 22px 28px!important;
  }
  .category-dual-grid .online-category-overlay .light-pill{
    margin-top:0!important;
  }
}

/* Panel privado · análisis orientado a informes. */
.stats-reporting{
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.stats-reporting-head{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:end;
  margin-bottom:18px;
}
.stats-reporting-head h3{
  margin:.35rem 0 0;
  font-size:clamp(1.45rem,2.2vw,2rem);
}
.stats-reporting-head p{
  max-width:720px;
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.55;
}
.stats-report-filters{
  display:grid;
  grid-template-columns:minmax(150px,.75fr) minmax(240px,1.5fr) minmax(180px,1fr) auto;
  gap:12px;
  align-items:end;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#f7f9fb;
}
.stats-report-field{
  display:grid;
  gap:7px;
}
.stats-report-field label{
  color:var(--navy);
  font-size:.66rem;
  font-weight:950;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.stats-report-field select{
  width:100%;
  min-height:44px;
  padding:10px 38px 10px 12px;
  border:1px solid #c8d3df;
  border-radius:9px;
  background:#fff;
  color:var(--navy);
  font:inherit;
  font-size:.86rem;
}
.stats-report-filter-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.stats-report-filter-actions .btn{
  min-height:44px;
}
.stats-report-status{
  min-height:1.4em;
  margin:10px 2px 0;
  color:var(--muted);
  font-size:.8rem;
}
.stats-report-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.stats-report-card{
  padding:17px 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.stats-report-card span{
  display:block;
  color:var(--muted);
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.stats-report-card strong{
  display:block;
  margin-top:7px;
  color:var(--navy);
  font-size:clamp(1.35rem,2.2vw,2rem);
}
.stats-report-card small{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:.68rem;
  line-height:1.35;
}
.stats-report-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:22px;
}
.stats-reporting .stats-panel{
  min-width:0;
}
.stats-report-table{
  min-width:560px;
}
.stats-report-table.compact{
  min-width:440px;
}
.stats-report-table.wide{
  min-width:820px;
}
.stats-report-table td:first-child,
.stats-report-table th:first-child{
  white-space:nowrap;
}
.stats-reporting .stats-table td:last-child,
.stats-reporting .stats-table th:last-child{
  text-align:right;
}
.stats-report-country-cell{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.stats-report-country-cell img{
  width:22px;
  height:16px;
  object-fit:contain;
  border-radius:2px;
}
.stats-report-note{
  margin:12px 0 0;
  color:var(--muted);
  font-size:.74rem;
  line-height:1.45;
}
.stats-report-empty{
  color:var(--muted);
  font-style:italic;
}

@media(max-width:1100px){
  .stats-report-filters{grid-template-columns:1fr 1fr}
  .stats-report-filter-actions{align-self:end}
  .stats-report-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  .stats-reporting-head{display:block}
  .stats-report-grid{grid-template-columns:1fr}
  .stats-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .stats-report-filters{grid-template-columns:1fr;padding:15px}
  .stats-report-filter-actions{display:grid;grid-template-columns:1fr}
  .stats-report-filter-actions .btn{width:100%}
  .stats-report-summary{grid-template-columns:1fr 1fr}
  .stats-report-card{padding:14px}
}
