/* DIGI HAM LINK desktop corrections v2: radio desktop only */
@media (min-width:1024px) {
  /* Live callsign must never inherit the mobile scroll clamp. */
  html:not(.digi-signed-out) #view-radio #talkingCurrent {
    max-height:none !important;
    min-height:0 !important;
    overflow:visible !important;
    margin-block: 6px !important;
  }
  html:not(.digi-signed-out) #vfoPanel .vfoCall {
    font-size:clamp(2rem,3.1vw,3.2rem) !important;
    line-height:1.24 !important;
    padding-block:6px !important;
    overflow-wrap:anywhere;
    white-space:normal;
  }
  html:not(.digi-signed-out) #vfoPanel .vfoStandby {
    font-size:clamp(1.65rem,2.35vw,2.55rem) !important;
    line-height:1.25 !important;
    padding-block:6px !important;
  }
  /* The dock follows page content on desktop and never overlays Install. */
  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;
    width:100% !important;
    max-width:100% !important;
    margin:14px auto 8px !important;
    box-sizing:border-box;
  }
  /* Keep the install control modest and accessible, rather than full-width. */
  html:not(.digi-signed-out) .dhlInstallEntry {
    display:flex !important;
    flex-direction:column;
    align-items:flex-end;
    gap:3px;
    width:100%;
    margin:10px 0 8px !important;
    padding:0 !important;
    position:relative;
    z-index:1;
  }
  html:not(.digi-signed-out) .dhlInstallEntry #dhlInstall {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:auto !important;
    min-width:0 !important;
    max-width:100%;
    min-height:36px !important;
    padding:7px 16px !important;
    margin:0 !important;
    border-radius:10px;
    font-size:.84rem;
    font-weight:600;
  }
  html:not(.digi-signed-out) #dhlInstallNote {
    max-width:480px;
    margin:0 !important;
    font-size:.8rem;
    text-align:right;
  }
  /* Avoid phantom blank area reserved for a fixed dock. */
  html:not(.digi-signed-out):has(#tab-radio[aria-selected="true"]) #view-radio {
    padding-bottom:8px !important;
  }
  html:not(.digi-signed-out):has(#tab-radio[aria-selected="true"]) main {
    padding-bottom:14px !important;
  }
}
