/* Ajustes moviles del dashboard ADN 2131 (inyectado por nginx en or, no toca la imagen). */
@media (max-width:899px){
  img[src="/img/logo.png"]{max-width:100%!important;width:100%!important;border-radius:0!important;}
  .MuiContainer-root:has(>img[src="/img/logo.png"]){padding-left:0!important;padding-right:0!important;max-width:100%!important;}
}
@media (max-width:599px){
  table.adn-lh th, table.adn-lh td{padding:6px 4px!important;white-space:normal!important;}
  table.adn-lh td{font-size:.85rem!important;min-width:0!important;}
  table.adn-lh td .MuiTypography-root{font-size:.9rem!important;}
  /* Indicativo arriba, ID debajo */
  td.adn-c-call>div{display:grid!important;grid-template-columns:auto 1fr;column-gap:6px;row-gap:2px;align-items:center;}
  td.adn-c-call>div>img{grid-row:1;}
  td.adn-c-call .MuiChip-root{grid-column:2;justify-self:start;height:auto!important;min-height:0!important;border-radius:9px!important;}
  td.adn-c-call .MuiChip-label{font-size:.7rem!important;line-height:1.5!important;padding:0 6px!important;}
  td.adn-c-call a{white-space:nowrap;}
  /* Nombre TG: sin bandera y maximo 2 lineas */
  td.adn-c-tgname img{display:none!important;}
  td.adn-c-tgname span{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal!important;line-height:1.2;}
  td.adn-c-dur, th.adn-c-dur{text-align:right!important;white-space:nowrap!important;}
}
