/* Uses the shared My-Handy dialog primitives, never card or pricing overrides. */
#custom-hardware-panel .fw-brand-options { flex: 1; }
#custom-hardware-panel .freeware-updates-entry {
    display:inline-flex; align-items:center; justify-content:center; gap:6px;
    flex:0 0 auto; margin:0 0 0 auto; min-height:32px; max-width:100%; padding:6px 11px;
    border:1px solid #cbd9e7; border-radius:8px; background:linear-gradient(115deg,#fff,#f3f8ff);
    color:var(--o2-brand-blue,#173a5e); font:inherit; font-size:.73rem; font-weight:850; line-height:1.4;
    box-shadow:none; cursor:pointer; transition:border-color .16s,box-shadow .16s,transform .16s;
}
#custom-hardware-panel .freeware-updates-entry:hover { border-color:#6597d9; box-shadow:0 3px 10px #1c4b841f; transform:translateY(-1px); }
.freeware-updates-entry .mh-entry-icon { display:grid; place-items:center; width:16px; height:16px; color:#1265bd; }
#custom-hardware-panel .freeware-updates-entry:focus-visible { outline:3px solid #245b91; outline-offset:2px; }
#custom-hardware-panel .freeware-updates-entry[hidden],body.kunde-mode-active .fw-updates { display:none!important; }
.fw-update-emblem { display:grid; place-items:center; width:42px; height:42px; flex:0 0 42px; border-radius:13px; background:linear-gradient(145deg,#e0efff,#f2f8ff); color:#1265bd; }
.fw-update-emblem svg { width:23px; height:23px; }
.fw-update-sources { display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 13px; }
.fw-updates .fw-update-sources button { display:flex; align-items:center; gap:7px; min-height:36px; border:1px solid #d5e2ef; border-radius:9px; padding:7px 10px; background:#fff; font-size:11px; }
.fw-updates .fw-update-sources button[aria-pressed=true] { border-color:#80aaea; background:#eaf2ff; box-shadow:inset 0 0 0 1px #80aaea; }
.fw-update-source { font-weight:750; }
.fw-update-source.is-gomibo { color:#00775c; }
.fw-update-source.is-mediamarkt { color:#bb1928; }
.fw-update-values { padding:2px 0 0; }
.fw-update-colors { margin-bottom:0; }
.fw-update-colors button { text-transform:none; }
.fw-update-chart { display:block; width:100%; height:auto; color:#1265bd; margin-top:6px; }
.fw-update-grid { stroke:#dce4ed; stroke-dasharray:2 4; fill:none; }
.fw-update-line { stroke:currentColor; stroke-width:2.5; fill:none; stroke-linejoin:round; }
.fw-update-target { fill:transparent; }
.fw-update-dot { fill:currentColor; stroke:white; stroke-width:1.5; }
.fw-update-chart g:hover .fw-update-target,.fw-update-chart g:focus .fw-update-target { fill:#1265bd22; }
.fw-update-chart g:focus { outline:none; }
.fw-update-chart g:focus .fw-update-dot { stroke:#1265bd; stroke-width:3; }
.fw-update-row-state { color:#0759c9; font-size:18px; }
.fw-update-chart text { fill:#597087; font-family:inherit; font-size:11px; }
.fw-update-row-source { display:block; margin-top:2px; }
.fw-updates .mh-update-row-prices { flex:0 0 auto; }
.fw-updates .mh-update-row .mh-update-device-placeholder { width:35px; height:49px; flex:0 0 35px; }
body:not([data-auth-role="system_admin"]):not([data-auth-role="shop_admin"]) :is(.fw-updates,.freeware-updates-entry) { display:none!important; }
.fw-updates .mh-update-primary { margin-left:auto; }
@media(max-width:440px) { .fw-updates .mh-update-rate { font-size:29px; } .fw-updates .mh-update-row-copy { flex-basis:calc(100% - 43px); } .fw-updates .mh-update-row-prices { flex-basis:100%; display:flex; gap:12px; align-items:baseline; } .fw-update-sources button { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { #custom-hardware-panel .freeware-updates-entry { transition:none; } #custom-hardware-panel .freeware-updates-entry:hover { transform:none; } }
