#device-health{margin-top:2rem;padding:clamp(1rem,3vw,2rem);border:1px solid #31434a;border-radius:12px;background:#10212a;color:#e5eef0;font-family:inherit}
#device-health .health-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
#device-health h3{font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.25;margin:.3rem 0 .7rem;color:#f2f7f8}
#device-health h4{margin:0 auto 0 0;font-size:1rem;color:#eef6f7}
#device-health p{font-size:.9rem;line-height:1.6;color:#bdcdd2;margin:.4rem 0}
#device-health .health-eyebrow{font-size:.7rem;letter-spacing:.1em;color:#73d2be}
#device-health button,#device-health select{font:inherit;font-size:.85rem;border:1px solid #46616b;border-radius:6px;background:#19333e;color:#f1f7f8;padding:.6rem .75rem;min-height:42px}
#device-health button{cursor:pointer}#device-health button:disabled{opacity:.6;cursor:wait}
#device-health button:focus-visible,#device-health select:focus-visible{outline:3px solid #79e3cd;outline-offset:3px}
#device-health .health-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
#device-health .health-cards>div{background:#172d37;border:1px solid #34505a;border-radius:8px;padding:1rem;min-width:0}
#device-health .health-cards span{display:block;font-size:.8rem;color:#bbced5;margin-bottom:.6rem}
#device-health .health-cards strong{display:block;font-size:1rem;font-weight:600;overflow-wrap:anywhere;color:#e8f5f4}
#device-health #health-alerts:has(p){border-left:3px solid #e4bb71;background:#322e25;padding:.6rem 1rem;margin-bottom:1.25rem}
#device-health #health-alerts p{color:#f0dfc1}
#device-health .health-filters{display:flex;align-items:center;flex-wrap:wrap;gap:.8rem;margin:1.3rem 0}
#device-health label{display:flex;align-items:center;gap:.5rem;font-size:.8rem;color:#bbced5}
#device-health .health-table-wrap{overflow-x:auto;border:1px solid #34505a;border-radius:7px}
#device-health table{width:100%;border-collapse:collapse;font-size:.8rem;text-align:left;min-width:570px;background:transparent;color:#e5eef0}
#device-health th{font-weight:500;color:#b8d0d8;background:#19313c;white-space:nowrap}
#device-health th,#device-health td{padding:.85rem;border-bottom:1px solid #2c4650;vertical-align:top}
#device-health td:first-child{min-width:230px;max-width:400px;line-height:1.5}
#device-health td small{display:block;color:#bbced5;margin-top:.3rem}
#device-health .health-level{display:block;width:fit-content;font-size:.65rem;padding:.12rem .45rem;margin-bottom:.4rem;border-radius:4px;background:#20443e;color:#9ae6d5}
#device-health .health-level-warning{background:#514329;color:#f5d38d}
#device-health .health-level-error{background:#573033;color:#ffd3d1}
#device-health .health-note{font-size:.75rem;margin-top:1rem}
@media(max-width:640px){#device-health .health-cards{grid-template-columns:1fr;gap:.6rem}#device-health .health-cards>div{padding:.8rem}#device-health .health-filters{align-items:flex-start}#device-health .health-filters h4{width:100%}}
