.sh-banner { width: fit-content; max-width: 100%; box-sizing: border-box; margin: 0 0 12px auto; padding: 4px 10px; border: 1px solid #ba791b; border-radius: 8px; background: #fff5db; color: #633e0b; display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.4; }
.sh-banner > span { min-width: 0; overflow-wrap: anywhere; }
.sh-banner .secondary-action { flex: 0 0 auto; min-height: 32px; padding: 5px 8px; font-size: 12px; box-shadow: none; }
.sh-banner[data-level="critical"] { background: #fff0ef; color: #a52626; border-color: #b33030; }
.sh-banner[data-level="unknown"] { background: #f1f3f5; color: #48535e; border-color: #7c8893; }
.sh-banner[hidden] { display: none; }
#server-health .sh-summary { padding: 22px; border-radius: 16px; background: #174d40; color: #fff; margin-bottom: 20px; }
#server-health .sh-summary h3 { margin: 0 0 8px; color: inherit; font-size: 24px; }
#server-health .sh-summary p { margin: 6px 0; color: inherit; }
#server-health .sh-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 20px; }
#server-health .sh-card, #server-health .sh-panel { background: #fff; border: 1px solid #dae3df; border-radius: 14px; padding: 22px; min-width: 0; }
#server-health .sh-card h3 { margin: 0 0 16px; font-size: 16px; }
#server-health .sh-value { display: block; font-size: 30px; font-weight: 750; color: #164d40; margin-bottom: 8px; }
#server-health .sh-card[data-level="warning"] .sh-value { color: #965807; }
#server-health .sh-card[data-level="critical"] .sh-value { color: #a52626; }
#server-health .sh-card[data-level="unknown"] .sh-value { color: #65716c; font-size: 23px; }
#server-health .sh-muted { color: #57685f; font-size: 13px; line-height: 1.6; }
#server-health meter { display: block; width: 100%; height: 18px; margin: 12px 0; }
#server-health .sh-columns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
#server-health .sh-panel { margin-bottom: 20px; }
#server-health .sh-panel h3 { margin-top: 0; }
#server-health .sh-alert { border-left: 4px solid #bb7c15; background: #fff8e8; border-radius: 6px; padding: 14px; margin: 12px 0; }
#server-health .sh-alert[data-level="critical"] { border-color: #b33030; background: #fff0ef; }
#server-health .sh-alert[data-level="unknown"] { border-color: #6d7580; background: #f1f3f5; }
#server-health .sh-alert p { margin: 6px 0 0; line-height: 1.5; }
#server-health .sh-row { display:flex; justify-content: space-between; gap:12px; padding:12px 0; border-bottom:1px solid #edf1ef; }
#server-health .sh-state { font-weight: 700; color: #a15b0a; }
#server-health .sh-state[data-state="active"] { color: #176047; }
#server-health .sh-state[data-state="failed"] { color: #a52626; }
#server-health .sh-trend { width: 100%; height: 70px; background: #f3f7f5; border-radius: 6px; margin-top: 10px; }
#server-health .sh-trend polyline { fill: none; stroke: #227b62; stroke-width: 2; vector-effect: non-scaling-stroke; }
#server-health .sh-trend line { stroke: #c38c38; stroke-dasharray: 3 4; }
#server-health details { line-height: 1.7; }
#server-health summary { cursor:pointer; font-weight:700; }
@media(max-width:900px) { #server-health .sh-grid,#server-health .sh-columns { grid-template-columns:1fr; } }
/* Infrastructure evidence is visually distinct from host resource telemetry. */
#server-health .sh-infrastructure { margin: 28px 0; padding: 24px; border: 1px solid #cfded7; border-radius: 20px; background: #f1f6f3; }
#server-health .sh-infra-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 20px; }
#server-health .sh-infra-heading h3 { font-size: 24px; margin: 6px 0; }
#server-health .sh-infra-heading p { max-width: 760px; }
#server-health .sh-infra-counts { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
#server-health .sh-infra-counts span { padding: 8px 12px; background: #fff; border: 1px solid #d7e3dc; border-radius: 20px; font-size: 12px; }
#server-health .sh-infra-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
#server-health .sh-infra-card { min-width: 0; padding: 20px; border: 1px solid #dbe4df; border-top: 3px solid #899b92; background: #fff; border-radius: 12px; display: flex; flex-direction: column; }
#server-health .sh-infra-card[data-state="healthy"] { border-top-color: #198262; }
#server-health .sh-infra-card[data-state="warning"] { border-top-color: #b17b18; }
#server-health .sh-infra-card[data-state="critical"] { border-top-color: #b43838; }
#server-health .sh-infra-card-top { display: flex; align-items: start; flex-direction: column; gap: 10px; }
#server-health .sh-infra-card h4 { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
#server-health .sh-pill { display: inline-block; border-radius: 20px; padding: 5px 10px; background: #edf1ef; color: #4f6259; font-size: 12px; font-weight: 650; }
#server-health [data-state="healthy"] .sh-pill { background: #e3f4eb; color: #116448; }
#server-health [data-state="warning"] .sh-pill { background: #fff2d4; color: #805815; }
#server-health [data-state="critical"] .sh-pill { background: #ffeded; color: #a52525; }
#server-health .sh-infra-card p { font-size: 13px; line-height: 1.65; color: #4f6259; }
#server-health .sh-infra-card dl { margin: auto 0 16px; font-size: 12px; line-height: 1.6; }
#server-health .sh-infra-card dt { color: #67776f; margin-top: 8px; }
#server-health .sh-infra-card dd { margin: 0; font-weight: 600; }
#server-health .sh-infra-card a { align-self: start; text-decoration: none; margin-top: auto; }
@media(max-width:1100px) { #server-health .sh-infra-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } #server-health .sh-infra-heading { flex-direction: column; } }
@media(max-width:650px) { #server-health .sh-infra-grid { grid-template-columns: 1fr; } #server-health .sh-infrastructure { padding: 16px; } }
