/* DHL_RADIO_LAYOUT_DESKTOP_MOBILE_V7 — presentation only */
/* Place the existing PTT/audio/disconnect dock below the radio section. */
html:not(.digi-signed-out) #view-radio .radioDock,
html:not(.digi-signed-out) .radioDock {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 22px 0 18px !important;
  z-index: 1 !important;
}
/* Keep a visible bottom edge beneath network readiness and Connect. */
#view-radio .panel:has(#networkChoices),
#view-radio section:has(> #networkChoices) {
  height: auto !important;
  min-height: max-content !important;
  max-height: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  padding-bottom: 20px !important;
  margin-bottom: 18px !important;
}
#networkChoices { margin-bottom: 12px !important; }
/* Maintain the network status/Connect row without clipping. */
#view-radio .panel:has(#networkChoices) #connect,
#view-radio .panel:has(#networkChoices) #status { flex-shrink: 0 !important; }
@media (max-width: 760px) {
  /* Use the full available mobile viewport rather than a desktop column width. */
  #view-radio, #view-radio .radioDock { box-sizing: border-box !important; max-width: 100% !important; }
  #view-radio .panel:has(#networkChoices),
  #view-radio section:has(> #networkChoices) {
    box-sizing: border-box !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px !important;
    padding-bottom: 20px !important;
  }
  #networkChoices { width: 100% !important; min-width: 0 !important; }
  #networkChoices > * { min-width: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
  html:not(.digi-signed-out) .radioDock { margin: 20px 0 18px !important; }
}
