.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; } }
