/* Hello! v3.5.1 · Layouts multi-columna de tablet/escritorio para pantallas de detalle.
   Solo ≥ 768 px (y no en teléfonos con zoom .fz): en móvil no cambia nada. */
.scan-steps { display: none; }
@media (min-width: 768px) {
  /* Cuestionarios: tarjetas en rejilla */
  html:not(.fz) .view-quizzes .view-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
  html:not(.fz) .view-quizzes .view-body > :not(.qz-card):not(.log-card) { grid-column: 1 / -1; }
  html:not(.fz) .view-quizzes .view-body > .card { margin: 0; }
  html:not(.fz) .view-quizzes .qz-card { min-height: 128px; align-items: center; }
  /* Comunidad: lista en 2 columnas */
  html:not(.fz) .view-net .net-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  html:not(.fz) .view-net .net-list > * { margin: 0; }
  /* Mi salud: indicadores alineados al inicio (sin hueco a la izquierda) */
  html:not(.fz) #tab-salud .rings { padding-left: 20px !important; padding-right: 20px !important; }
  /* Marketplace: Destacados alineado al inicio */
  html:not(.fz) .mk-feats { padding-left: 20px !important; padding-right: 20px !important; scroll-padding-left: 20px; }
  html:not(.fz) .mk-feats > * { scroll-snap-align: start; }
  html:not(.fz) .mk-feats > *, html:not(.fz) .mk-feats > * > *, html:not(.fz) #tab-salud .rings > *, html:not(.fz) #tab-salud .rings > * > * { transform: none !important; opacity: 1 !important; }
}
@media (min-width: 1100px) {
  html:not(.fz) .view-quizzes .view-body { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  /* Perfil de salud: secciones en 2 columnas (resumen arriba a todo lo ancho) */
  html:not(.fz) .view-perfil .view-body { columns: 2; column-gap: 18px; }
  html:not(.fz) .view-perfil .view-body > * { break-inside: avoid; display: block; }
  html:not(.fz) .view-perfil .view-body > :first-child { column-span: all; }
  html:not(.fz) .view-perfil .view-body > .card { display: block; margin: 0 0 14px; }
  html:not(.fz) .view-perfil .view-body > .card.card-pad:first-child { display: flex; }
  /* Comunidad: 3 columnas */
  html:not(.fz) .view-net .net-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  /* Escanear: escáner a la izquierda, leyenda + instrucciones a la derecha */
  html:not(.fz) .view-scan .view-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; row-gap: 16px; align-content: start; }
  html:not(.fz) .view-scan .view-body > * { grid-column: 2; margin: 0; }
  html:not(.fz) .view-scan .scan-box { grid-column: 1; grid-row: 1 / span 4; max-width: none; width: 100%; aspect-ratio: 1; align-self: start; margin: 0; }
  html:not(.fz) .view-scan .scan-steps { display: grid; gap: 12px; list-style: none; counter-reset: st; padding: 0; }
  html:not(.fz) .view-scan .scan-steps li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; background: #FFFEFA; border: 1px solid #E4DCCD; border-radius: 18px; padding: 14px 16px; }
  html:not(.fz) .view-scan .scan-steps li::before { content: counter(st); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: #3A3D26; color: #fff; display: grid; place-items: center; font-weight: 800; }
  html:not(.fz) .view-scan .scan-steps b { font-size: 15px; } html:not(.fz) .view-scan .scan-steps span { font-size: 13.5px; color: #6B645A; line-height: 1.45; }
  /* Mi salud: indicadores en rejilla sin carrusel */
  html:not(.fz) #tab-salud .rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; overflow: visible; padding: 4px 0 !important; }
  html:not(.fz) #tab-salud .rings > * { width: auto !important; flex: none; }
  html:not(.fz) #ringDots { display: none; }
}
html.dark .view-scan .scan-steps li { background: transparent; border-color: rgba(255,255,255,.12); }
