/* Scoped homepage layout correction. Does not restyle dashboard controls. */
@media (max-width: 690px) {
  #bhpux-smart-home .bhpux-tags {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 8px 0 6px !important;
    flex-wrap: wrap !important;
  }
  #bhpux-smart-home .bhpux-tags > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px 5px !important;
    font-size: clamp(11px, 3vw, 13px) !important;
    font-weight: 750 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  #bhpux-smart-home .bhpux-links > p {
    max-width: 100%;
    line-height: 1.9 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-align: right !important;
  }
}
@media (max-width: 355px) {
  #bhpux-smart-home .bhpux-tags {
    grid-template-columns: 1fr !important;
  }
}
