/* V46.3: somente layout. Mantem dados, IDs e eventos do mapa. */
@media (min-width:1150px) {
  html body.map61-body aside#detailPanel.rt38-card:not(.hidden) {
    height:min(334px,calc(100dvh - 76px))!important;
    max-height:334px!important;
    grid-template-rows:46px minmax(0,1fr)!important;
    row-gap:8px!important;
  }
  /* A ficha de identificacao nao deve criar uma segunda barra de rolagem. */
  html body.map61-body #detailPanel.rt38-card .rt38-identity {
    overflow:visible!important;
    scrollbar-width:none!important;
  }
  html body.map61-body #detailPanel.rt38-card .rt42-identity-content {
    min-height:0!important;
  }
  /* Sem o cartao redundante de modelo: sensores ocupam duas linhas. */
  html body.map61-body #detailPanel.rt38-card .rt38-sensor-row {
    grid-template-rows:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:0!important;
    align-content:start!important;
    min-height:0!important;
  }
  html body.map61-body #detailPanel.rt38-card .rt38-sensors {
    overflow:hidden!important;
  }
  /* Somente o historico possui rolagem interna. */
  html body.map61-body #detailPanel.rt38-card #rt41-history {
    min-height:0!important;
    overflow:hidden!important;
  }
  html body.map61-body #detailPanel.rt38-card #rt41-content {
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
}
