/* Switchboard health: distinguish an API response from complete product health. */
.health-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--border); background:var(--surface); border-radius:6px; padding:20px 0; margin-bottom:22px; }
.health-summary > div { display:flex; flex-direction:column; gap:6px; padding:0 22px; }
.health-summary > div + div { border-left:1px solid var(--border); }
.health-summary strong { font-size:24px; font-variant-numeric:tabular-nums; }
.health-summary span { color:var(--foreground-muted); font-size:12px; }
.health-workspace { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:20px; align-items:start; }
.health-directory { min-width:0; }
.health-filters { display:flex; align-items:end; gap:12px; margin-bottom:18px; }
.health-filters > div { flex:0 0 175px; }
.health-filters form { flex:1; min-width:0; }
.health-filters form > div { display:flex; gap:10px; }
.health-filters label { display:block; font-size:11px; color:var(--foreground-muted); margin-bottom:7px; }
.health-filters .form-input { width:100%; min-width:0; min-height:40px; }
.health-filters button { padding-inline:20px; }
.health-table-wrap { border:1px solid var(--border); border-radius:6px; overflow:hidden; background:var(--surface); }
.health-table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:12px; }
.health-table th { text-align:left; font-weight:500; color:var(--foreground-muted); padding:15px 12px; background:var(--card); }
.health-table th:first-child { width:22%; }
.health-table th:nth-child(2) { width:24%; }
.health-table th:nth-child(3) { width:15%; }
.health-table td { padding:16px 12px; border-top:1px solid var(--border); overflow-wrap:anywhere; }
.health-table td:first-child { padding:0; }
.health-table tr.selected { background:var(--primary-subtle); box-shadow:inset 3px 0 var(--primary-strong); }
.health-table tbody tr:hover { background:var(--card-hover); }
.health-select { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; padding:18px 12px; color:var(--foreground); background:transparent; border:0; cursor:pointer; font:inherit; text-align:left; }
.health-select i { font-size:10px; color:var(--foreground-muted); }
.health-footer { display:flex; justify-content:space-between; gap:16px; margin:18px 0; color:var(--foreground-muted); font-size:11px; line-height:1.6; flex-wrap:wrap; }
.health-note { color:var(--foreground-muted); font-size:11px; line-height:1.8; padding:14px; background:var(--card); border:1px solid var(--border); border-radius:4px; }
.health-inspector { min-width:0; position:sticky; top:var(--sticky-top); background:var(--surface); border:1px solid var(--border); border-radius:6px; padding:22px; }
.health-inspector-title { display:flex; align-items:start; justify-content:space-between; gap:12px; margin-bottom:14px; }
.health-inspector-title h2 { font-size:20px; line-height:1.4; margin:0; overflow-wrap:anywhere; }
.health-inspector-title button { padding:5px; }
.health-explanation { font-size:12px; line-height:1.8; color:var(--foreground-muted); margin:20px 0; }
.health-facts { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px 12px; margin:0; padding:20px 0; border-block:1px solid var(--border); font-size:12px; }
.health-facts dt { color:var(--foreground-muted); font-weight:400; }
.health-facts dd { text-align:right; margin:0; overflow-wrap:anywhere; }
.health-payments h3 { font-size:14px; margin:22px 0 6px; }
.health-payments p { color:var(--foreground-muted); font-size:11px; line-height:1.7; }
.health-payments .health-facts { border:0; padding:12px 0; }
.health-links { display:flex; flex-direction:column; gap:18px; margin-top:24px; font-size:12px; }
.health-links .btn { display:flex; justify-content:space-between; gap:12px; padding:13px; font-size:12px; }
.health-footer a, .health-links > a:not(.btn) { color:var(--primary-strong); text-decoration:none; }
.health-footer a:hover, .health-links > a:not(.btn):hover { text-decoration:underline; }
.health-select:focus-visible, .health-inspector:focus-visible { outline:2px solid var(--ring); outline-offset:-2px; }
@media (max-width:1250px) { .health-workspace { grid-template-columns:1fr; } .health-inspector { position:static; } }
@media (max-width:600px) {
    .health-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 0; } .health-summary > div:nth-child(3) { border-left:0; }
    .health-filters { flex-direction:column; align-items:stretch; } .health-filters > div { flex:auto; }
    .health-table thead { display:none; } .health-table, .health-table tbody { display:block; }
    .health-table tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding-bottom:14px; border-bottom:1px solid var(--border); }
    .health-table td { border:0; padding:7px 14px; font-size:11px; } .health-table td:first-child { grid-column:1 / -1; }
    .health-table td[data-label]::before { content:attr(data-label); display:block; color:var(--foreground-muted); font-size:10px; margin-bottom:6px; }
    .health-inspector { padding:18px; } .health-select { padding:16px 14px; }
}
