/* DIGI HAM LINK FreeDMR, additive scoped styles */
#networkChoices #dhlFreedmrLaunch[data-dhl-kind="freedmr"]{--dhl-order:7;--dhl-accent:#b69bff;--dhl-bg:linear-gradient(125deg,#243879,#422d86 60%,#37235e);order:7!important}
#networkChoices #dhlFreedmrLaunch:not([hidden]){display:flex!important;align-items:center!important;gap:12px!important;min-width:0!important}
#dhlFreedmrLaunch .dhlFreedmrGlyph{font-size:29px;line-height:1;color:#e3d8ff;flex:0 0 36px;text-align:center}
#dhlFreedmrLaunch .dhlFreedmrCopy{display:flex;flex-direction:column;text-align:left;min-width:0}
#dhlFreedmrLaunch .dhlFreedmrCopy strong{font-size:17px}
#dhlFreedmrLaunch .dhlFreedmrCopy small{font-size:12px;color:#e2dcff}
@media(max-width:767px){#networkChoices #dhlFreedmrLaunch{min-height:65px!important;width:100%!important;max-width:none!important}}
#dhlFreedmrLaunch{min-height:78px;padding:12px 17px;border-radius:13px;border:2px solid #a89af4;background:linear-gradient(130deg,#242c69,#493585);color:#fff;font-size:17px;font-weight:750;cursor:pointer}
#dhlFreedmrLaunch[hidden]{display:none!important}
#dhlFreedmrLaunch.selected{border-color:#c4b5fd}
#dhlFreedmrDialog{position:fixed;inset:0;margin:auto;width:min(690px,calc(100vw - 20px));max-height:94dvh;overflow:auto;box-sizing:border-box;padding:0;background:#11243a;color:#f0f8ff;border:1px solid #5684ab;border-radius:18px;box-shadow:0 25px 75px #000a}
#dhlFreedmrDialog::backdrop{background:#000a}
.dhlFreedmrHeader{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:15px 18px;background:#102941;border-bottom:1px solid #4a7396}
.dhlFreedmrHeader h2{margin:0;font-size:21px;flex:1}.dhlFreedmrBadge{font-size:12px;padding:6px 10px;border-radius:999px;background:#364963}
.dhlFreedmrBadge[data-state=connected]{background:#155d48}.dhlFreedmrClose{border:none;background:none;color:#fff;font-size:29px;cursor:pointer}
.dhlFreedmrContent{padding:16px}.dhlFreedmrHint{color:#a6c5db;font-size:13px;line-height:1.4;margin:0 0 10px}
#dhlFreedmrDialog input{box-sizing:border-box;width:100%;min-height:42px;padding:9px 11px;background:#152f4b;color:#f4fbff;border:1px solid #5b85a7;border-radius:9px}
.dhlFreedmrTabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.dhlFreedmrTab{padding:10px 8px;border:1px solid #427d9e;border-radius:8px;background:#153551;color:#d9f2ff;cursor:pointer}
.dhlFreedmrTab.active{background:#5842a4;border-color:#c6b5f7;color:white;font-weight:700}
.dhlFreedmrRows{height:clamp(155px,29dvh,240px);overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:5px;margin:7px 0;padding:4px;background:#0f2034;border:1px solid #315673;border-radius:11px}
.dhlFreedmrRow{display:flex;gap:5px;min-height:45px;border:1px solid #35546e;border-radius:7px;background:#172d44;align-items:stretch}
.dhlFreedmrPick{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:start;text-align:left;background:none;color:#fff;border:none;padding:6px 12px;cursor:pointer}
.dhlFreedmrPick strong{font-size:14px}.dhlFreedmrPick small{font-size:12px;color:#b3d1e3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dhlFreedmrStar{width:42px;flex:0 0 42px;background:#1b3850;border:1px solid #345f7c;border-radius:7px;color:#c2d9e6;cursor:pointer;font-size:24px;line-height:1}
.dhlFreedmrStar.is-on{color:#ffd463}.dhlFreedmrStar:focus-visible,.dhlFreedmrPick:focus-visible{outline:2px solid #4ad8fa;outline-offset:2px}
.dhlFreedmrPaging{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:9px 0 12px;font-size:12px}
.dhlFreedmrSmall{padding:7px 11px;border:1px solid #49839c;border-radius:7px;background:#1c4564;color:#fff;cursor:pointer}
.dhlFreedmrSelected{display:flex;gap:12px;align-items:center}.dhlFreedmrSelected label{font-weight:700;min-width:92px}
.dhlFreedmrActions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.dhlFreedmrPrimary,.dhlFreedmrDanger{padding:10px 15px;border-radius:10px;border:1px solid #4ab3d0;background:#087ea2;color:white;font-weight:700;cursor:pointer}
.dhlFreedmrDanger{background:#66394d;border-color:#9a6078}
.dhlFreedmrActions button[hidden],.dhlFreedmrPaging[hidden]{display:none!important}
#dhlFreedmrDialog button:disabled{opacity:.5;cursor:not-allowed}
.dhlFreedmrNotice{font-size:13px;color:#e0f5ff;line-height:1.4;min-height:1.4em;margin:10px 0}
.dhlFreedmrProfile{margin:12px 0;padding:13px;border:1px solid #35678a;border-radius:12px}
.dhlFreedmrProfile summary{cursor:pointer;font-weight:700}
.dhlFreedmrProfileForm{display:flex;flex-direction:column;gap:12px;margin:15px 0}
.dhlFreedmrProfileForm label{display:flex;flex-direction:column;gap:5px;font-weight:600}
.dhlFreedmrProfileForm input{padding:9px 10px;min-height:40px;border:1px solid #537d9d;border-radius:8px;background:#16314d;color:#fff}
.dhlFreedmrProfileForm button{align-self:flex-start}
@media(max-width:550px){.dhlFreedmrHeader{padding:11px}.dhlFreedmrContent{padding:11px}.dhlFreedmrSelected{display:block}.dhlFreedmrSelected label{display:block;margin:8px 0}.dhlFreedmrActions button{flex:1}}

#dhlFreedmrDialog select{width:100%;min-height:42px;border:1px solid #5b85a7;border-radius:9px;background:#152f4b;color:white;padding:8px 10px}
