/* DIGI HAM LINK — Mobile radio compact v1. Only the signed-in Radio view. */
@media (max-width:767px) {
 html:not(.digi-signed-out) body:has(#tab-radio[aria-selected="true"]) #view-radio:not([hidden]) {
   display:flex!important; flex-direction:column!important; gap:5px!important;
   min-height:0!important; height:var(--dhl-mobile-radio-height,auto)!important;
   max-height:var(--dhl-mobile-radio-height,none)!important;
   overflow:visible!important; padding:0 8px 0!important;box-sizing:border-box!important;
 }
 html:not(.digi-signed-out) body:has(#tab-radio[aria-selected="true"]) #view-radio:not([hidden]) > #vfoPanel {
   order:0!important;flex:1 1 auto!important;min-height:122px!important;
   max-height:none!important;overflow:hidden!important;margin:0!important;
   padding:7px 10px!important;box-sizing:border-box!important;
 }
 #view-radio:not([hidden]) #vfoPanel .vfoTop {margin:0!important;padding:0!important;min-height:0!important}
 #view-radio:not([hidden]) #vfoPanel .vfoStandby {font-size:clamp(20px,6vw,29px)!important;line-height:1.02!important;margin:2px 0!important;white-space:normal!important}
 #view-radio:not([hidden]) #vfoPanel .vfoCall {font-size:clamp(21px,7vw,32px)!important;line-height:1!important}
 #view-radio:not([hidden]) #vfoPanel #talkingCurrent {max-height:70px!important;min-height:0!important;overflow:hidden!important;margin:2px 0!important;}
 #view-radio:not([hidden]) #vfoPanel .vfoMeter {margin:1px 0!important;padding:1px 0!important}
 #view-radio:not([hidden]) #vfoPanel .vfoMeterTrack {height:7px!important}
 #view-radio:not([hidden]) #vfoPanel .dhlMicShortcutRow {margin:1px 0!important}
 #view-radio:not([hidden]) #vfoPanel .dhlMicShortcut {min-height:28px!important;padding:2px 10px!important}
 #view-radio:not([hidden]) #vfoPanel details {max-height:24px!important;overflow:hidden!important;margin:0!important}
 #view-radio:not([hidden]) #vfoPanel .vfoRoom {margin:0!important;padding:1px 0!important}
 html:not(.digi-signed-out) body:has(#tab-radio[aria-selected="true"]) #view-radio:not([hidden]) > .dhlLocalInfo,
 html:not(.digi-signed-out) body:has(#tab-radio[aria-selected="true"]) #view-radio:not([hidden]) > .dhlDesktopInfoCard {
   order:1!important;display:block!important;position:relative!important;top:auto!important;left:auto!important;right:auto!important;
   flex:0 0 auto!important;margin:0!important;padding:4px!important;overflow:hidden!important;max-height:76px!important;
 }
 #view-radio:not([hidden]) .dhlLocalInfoGrid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}
 #view-radio:not([hidden]) .dhlLocalInfoCell {min-width:0!important;padding:4px 2px!important;gap:1px!important;min-height:0!important;text-align:center!important;overflow:hidden!important}
 #view-radio:not([hidden]) .dhlLocalInfoLabel {font-size:9px!important;line-height:1.05!important;letter-spacing:0!important}
 #view-radio:not([hidden]) .dhlLocalInfoCell strong {font-size:clamp(10px,2.65vw,13px)!important;line-height:1.15!important;white-space:nowrap!important}
 #view-radio:not([hidden]) .dhlLocalInfoCell small {font-size:9px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 html:not(.digi-signed-out) body:has(#tab-radio[aria-selected="true"]) #view-radio:not([hidden]) > .networkPicker {
   order:2!important;display:block!important;position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
   flex:0 0 auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:7px!important;border-radius:12px!important;
 }
 #view-radio:not([hidden]) .networkPicker h2 {font-size:14px!important;margin:0 0 4px!important;line-height:1.1!important}
 #view-radio:not([hidden]) #networkChoices.dhl-network-three {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;align-items:stretch!important}
 #view-radio:not([hidden]) #networkChoices.dhl-network-three > * {grid-column:auto!important;min-width:0!important;min-height:53px!important;max-height:64px!important;margin:0!important;padding:5px 3px!important;border-radius:9px!important;overflow:hidden!important}
 #view-radio:not([hidden]) #networkChoices.dhl-network-three #personalYsfOpen.dhl-ysf-radio-tile:not([hidden]) {display:flex!important;flex-direction:column!important;gap:2px!important;min-height:53px!important;max-height:64px!important;justify-content:center!important;text-align:center!important}
 #view-radio:not([hidden]) #networkChoices.dhl-network-three #personalYsfOpen svg {width:16px!important;height:16px!important}
 #view-radio:not([hidden]) #networkChoices.dhl-network-three strong {font-size:clamp(10px,2.6vw,13px)!important;line-height:1.1!important;white-space:normal!important}
 #view-radio:not([hidden]) #networkChoices.dhl-network-three small {font-size:clamp(8px,2vw,10px)!important;line-height:1.1!important;}
 #view-radio:not([hidden]) .networkPicker .networkStatus,#view-radio:not([hidden]) .networkPicker .networkSummary {margin:3px 0!important;padding:2px 0!important;line-height:1.1!important}
 #view-radio:not([hidden]) .networkPicker p {margin:2px 0!important;line-height:1.15!important;font-size:11px!important}
 #view-radio:not([hidden]) .networkPicker button:not(#personalYsfOpen):not(.networkChoice) {min-height:32px!important}
 /* Keep native PTT dock fixed to the bottom and never reconstruct its controls. */
 html:not(.digi-signed-out) body:has(#tab-radio[aria-selected="true"]) .radioDock {
   z-index:1000!important;bottom:calc(3px + env(safe-area-inset-bottom,0px))!important;
   padding:4px!important;gap:4px!important;margin:0!important;
 }
 html:not(.digi-signed-out) body:has(#tab-radio[aria-selected="true"]) .radioDock #radioPtt {min-height:46px!important;font-size:clamp(13px,3.5vw,17px)!important;padding:7px!important}
 html:not(.digi-signed-out) body:has(#tab-radio[aria-selected="true"]) .radioDock #hangup {min-height:35px!important;padding:4px!important}
 html:not(.digi-signed-out) body:has(#tab-radio[aria-selected="true"]) .radioDock #audioToggle {min-height:35px!important;padding:4px!important}
 /* Operating view only; overlays/drawers remain scrollable when opened. */
}
@media (max-width:767px) and (max-height:730px) {
 #view-radio:not([hidden]) #vfoPanel .vfoMeterTrack {height:5px!important}
 #view-radio:not([hidden]) #vfoPanel #talkingCurrent {max-height:55px!important}
 #view-radio:not([hidden]) .dhlLocalInfoCell small {display:none!important}
 #view-radio:not([hidden]) #networkChoices.dhl-network-three > * {min-height:45px!important;max-height:52px!important}
 #view-radio:not([hidden]) #networkChoices.dhl-network-three #personalYsfOpen.dhl-ysf-radio-tile:not([hidden]) {min-height:45px!important;max-height:52px!important}
}
