.vps-main { max-width: 1260px; margin: auto; padding: 30px 24px 60px; }
.vps-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.vps-heading h1 { margin: 8px 0; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.04em; }
.vps-heading p { margin: 0; }
.vps-state { border: 1px solid var(--line); background: var(--white); border-radius: 30px; padding: 10px 16px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.vps-state[data-tone="healthy"] { color: var(--green-dark); background: var(--mint); }
.vps-state[data-tone="warning"], .vps-state[data-tone="stale"] { color: var(--amber); background: var(--amber-bg); }
.vps-state[data-tone="critical"] { color: var(--red); }
.vps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vps-card, .vps-section { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.vps-card h2 { margin: 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.vps-value { display: block; margin: 14px 0 10px; font-size: 34px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.vps-sub { color: var(--muted); font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.vps-card meter { width: 100%; height: 8px; margin: 4px 0 10px; accent-color: var(--green); }
.vps-card meter::-webkit-meter-bar { background: var(--paper); border: 0; }
.vps-card meter::-webkit-meter-optimum-value { background: var(--green); }
.vps-lower { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; margin-top: 16px; }
.vps-section h2 { margin: 0 0 10px; font-size: 17px; }
.vps-chart { display: block; width: 100%; height: 220px; }
.vps-chart line { stroke: var(--line); }
.vps-chart text { fill: var(--muted); font: 11px system-ui; }
.vps-chart path { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.vps-chart-empty { min-height: 220px; display: grid; place-items: center; text-align: center; }
.vps-cpu { stroke: var(--green); color: var(--green-dark); }
.vps-memory { stroke: #6689da; color: #456abd; }
.vps-disk { stroke: var(--amber); color: var(--amber); }
:root[data-theme="dark"] .vps-memory { stroke: #9bb8ff; color: #9bb8ff; }
.vps-legend { display: flex; gap: 20px; font-size: 12px; font-weight: 650; margin: 16px 0 0; }
.vps-facts { margin: 0; }
.vps-facts div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.vps-facts div:last-child { border: 0; }
.vps-facts dt { font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.vps-facts dd { font-size: 13px; margin: 0; overflow-wrap: anywhere; }
.vps-note { margin: 18px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
#vps-alerts { color: var(--amber); line-height: 1.7; }
.vps-samples { max-height: 260px; overflow: auto; margin-top: 16px; }
.vps-samples table { width: 100%; border-collapse: collapse; font-size: 12px; }
.vps-samples th, .vps-samples td { text-align: left; padding: 6px; border-bottom: 1px solid var(--line); }
@media (max-width: 950px) { .vps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vps-lower { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .vps-main { padding: 22px 14px; } .vps-heading { align-items: start; flex-direction: column; } .vps-card { padding: 16px; } .vps-value { font-size: 27px; } }
