/* DIGI HAM LINK P25 v3.1 — one row per reflector, star button aligned. */
#dhlP25LabDialog .dhlP25Panel{width:min(650px,100%)!important;}
#dhlP25LabDialog .dhlP25List{
 display:flex!important;flex-direction:column!important;gap:5px!important;
 max-height:min(36vh,350px)!important;overflow-y:auto!important;
}
#dhlP25LabDialog .dhlP25List > .dhlP25Entry{
 display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;
 align-items:stretch!important;gap:6px!important;min-width:0!important;
 width:100%!important;box-sizing:border-box!important;
}
#dhlP25LabDialog .dhlP25Entry > button{
 display:block!important;box-sizing:border-box!important;min-width:0!important;
 width:100%!important;margin:0!important;position:relative!important;
 height:44px!important;min-height:44px!important;max-height:44px!important;
}
#dhlP25LabDialog .dhlP25Entry > button.dhlP25Row{
 white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
 padding:8px 10px!important;font-size:13px!important;
}
#dhlP25LabDialog .dhlP25Entry > button.dhlP25Favorite{
 width:44px!important;min-width:44px!important;max-width:44px!important;
 flex:0 0 44px!important;padding:0!important;text-align:center!important;
 font:700 24px/1 system-ui!important;color:#82dff2!important;
 background:#163d55!important;border:1px solid #5c97b2!important;
}
#dhlP25LabDialog .dhlP25Favorite[aria-pressed="true"]{
 color:#fff1a1!important;border-color:#b8a05d!important;
 background:#4b4b35!important;
}
#dhlP25LabDialog .dhlP25DirectoryEmpty{margin:8px 0;padding:12px;border:1px solid #3c6078;border-radius:8px;}
#dhlP25LabDialog #dhlP25DirectoryToolbar{display:grid;gap:8px;margin:14px 0 9px;}
#dhlP25LabDialog #dhlP25DirectoryToolbar label{font-size:12px;color:#c0e1ed;}
#dhlP25LabDialog #dhlP25DirectoryToolbar input{
 width:100%;box-sizing:border-box;min-height:40px;padding:7px 10px;
 background:#092237;color:#fff;border:1px solid #5d8ba7;border-radius:8px;font-size:14px;
}
#dhlP25LabDialog .dhlP25DirectoryTabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
#dhlP25LabDialog .dhlP25DirectoryTabs button{font-size:13px!important;min-height:39px!important;}
#dhlP25LabDialog .dhlP25DirectoryTabs button[aria-pressed="true"]{
 background:#067d98!important;border-color:#70d8ed!important;
}
#dhlP25LabDialog #dhlP25DirectoryCount{margin:0;font-size:11px;color:#a9d5e4;}
#dhlP25LabDialog #dhlP25DirectoryPagination{
 display:flex;gap:9px;align-items:center;justify-content:space-between;margin:8px 0 4px;
}
#dhlP25LabDialog #dhlP25DirectoryPagination button{flex:0 0 auto;min-height:35px!important;padding:5px 9px!important;}
#dhlP25LabDialog #dhlP25PageLabel{font-size:12px;color:#c6dfeb;}
#dhlP25LabDialog #dhlP25DirectoryPagination button:disabled{opacity:.4!important;cursor:not-allowed!important;}
#dhlP25LabDialog #dhlP25IdPopup{margin-top:18px!important;}
@media(max-width:480px){
 #dhlP25LabDialog .dhlP25Panel{padding:12px!important;max-height:92vh!important;}
 #dhlP25LabDialog .dhlP25Entry > button.dhlP25Row{font-size:12px!important;}
 #dhlP25LabDialog .dhlP25List{max-height:32vh!important;}
}

/* DHL P25 BUTTON POSITION v1 */
#dhlP25LabDialog #dhlP25DirectoryToolbar > .dhlP25Controls{
  display:flex!important;flex-direction:row!important;gap:8px!important;
  width:100%!important;margin:2px 0 4px!important;
}
#dhlP25LabDialog #dhlP25DirectoryToolbar > .dhlP25Controls button{
  flex:1 1 0!important;min-width:0!important;
}

/* DHL P25 CONNECT FEEDBACK AND CLOSE v2 */
#dhlP25LabDialog #dhlP25Close{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;width:auto!important;min-width:72px!important;max-width:90px!important;
  height:34px!important;min-height:34px!important;padding:4px 12px!important;
  margin:0!important;align-self:flex-start!important;position:static!important;
  font-size:13px!important;line-height:1!important;font-weight:650!important;
  border-radius:8px!important;white-space:nowrap!important;
}
#dhlP25LabDialog .dhlP25Panel > header{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-start!important;justify-content:space-between!important;}
#dhlP25LabDialog .dhlP25Panel > header > div{flex:1 1 auto!important;min-width:0!important;}
#dhlP25LabDialog #dhlP25ConnectNotice{
  margin:0!important;padding:9px 10px!important;
  font-size:12px!important;line-height:1.45!important;color:#e3f5ff!important;
  background:#173950!important;border:1px solid #427692!important;border-radius:8px!important;
  overflow-wrap:anywhere!important;
}
#dhlP25LabDialog #dhlP25Connect:disabled{opacity:.55!important;cursor:wait!important;}
