/* DIGI HAM LINK EchoLink layout v3. Scoped to the EchoLink directory only. */
#dhlEchoDirectory .dhl-echo-public-hint-v3,
#dhlEchoDirectory #dhlEchoFeedback.dhl-echo-routine-status-v3 {
  display:none !important;
}

/* Action section appears immediately under All stations / Favorites tabs. */
#dhlEchoDirectory #dhlEchoConnectTopV3 {
  display:block !important;
  clear:both !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:12px 0 12px !important;
  padding:0 !important;
  border:0 !important;
  box-sizing:border-box !important;
}
#dhlEchoDirectory #dhlEchoConnectTopV3 #dhlEchoLiveConnect {
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  min-height:44px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:10px 15px !important;
  border:1px solid #4ecbea !important;
  border-radius:9px !important;
  background:linear-gradient(120deg,#087ea9,#0c8db6) !important;
  color:white !important;
  font-weight:700 !important;
  text-align:center !important;
  cursor:pointer !important;
}
#dhlEchoDirectory #dhlEchoConnectTopV3 #dhlEchoLiveConnect:disabled {
  background:#273d52 !important;
  border-color:#54718a !important;
  color:#a8b9c7 !important;
  opacity:.82 !important;
  cursor:not-allowed !important;
}
#dhlEchoDirectory #dhlEchoConnectTopV3 #dhlEchoConnectFeedback {
  display:block !important;
  margin:8px 0 0 !important;
  font-size:12px !important;
  line-height:1.4 !important;
  max-width:100% !important;
  overflow-wrap:anywhere !important;
}
#dhlEchoDirectory #dhlEchoConnectTopV3 #dhlEchoConnectFeedback:empty {
  display:none !important;
}

/* No orphaned 'Connect to selected station' label after moving the button.
   Keep the original selected-station text and live module state in the DOM. */
#dhlEchoDirectory #dhlEchoSelected #dhlEchoLivePanel > strong,
#dhlEchoDirectory #dhlEchoSelected #dhlEchoChoice {
  display:none !important;
}
#dhlEchoDirectory #dhlEchoSelected #dhlEchoLivePanel {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
#dhlEchoDirectory #dhlEchoSelected {
  margin-top:12px !important;
}

/* Leave saved credentials as their own full-width section underneath Selected. */
#dhlEchoDirectory #dhlEchoCredSettings.dhl-echo-credentials-card-v2 {
  width:100% !important;
  max-width:100% !important;
  clear:both !important;
}
