.desk:has(#system:not([hidden])) .metrics { display:none; }
.system-panel { min-height:0; overflow:auto; padding:0 3px 24px; }
.system-toolbar { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:22px; }
.system-eyebrow { font-size:10px; font-weight:700; letter-spacing:1.4px; color:var(--green); }
.system-toolbar p { color:var(--muted); margin-top:8px; font-size:14px; line-height:1.5; }
.system-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:17px 20px; border:1px solid var(--line); border-radius:12px; background:#edf4ed; margin-bottom:20px; }
.system-summary strong { display:flex; align-items:center; gap:10px; font-size:15px; }
.system-summary strong::before { content:''; width:8px; height:8px; flex:none; border-radius:50%; background:#438464; }
.system-summary span { font-size:12px; color:var(--muted); }
.system-summary.warning { background:#fff6e6; border-color:#ecd3a2; }
.system-summary.warning strong::before { background:#bb7919; }
.system-summary.critical,.system-summary.stale { background:#fff0ee; border-color:#ebc2bd; }
.system-summary.critical strong::before,.system-summary.stale strong::before { background:#ae3c30; }
.system-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.system-card,.system-detail { border:1px solid var(--line); background:#fff; border-radius:14px; padding:21px; min-width:0; }
.system-card h2 { font-size:13px; font-weight:600; color:var(--muted); }
.system-value { font-size:clamp(25px,2.5vw,34px); font-weight:650; letter-spacing:-1px; display:block; margin:18px 0 12px; }
.system-card p { font-size:12px; line-height:1.65; color:var(--muted); margin-top:10px; }
.system-card meter { display:block; width:100%; height:8px; border:0; background:#eaf0eb; border-radius:4px; }
.system-card meter::-webkit-meter-bar { background:#eaf0eb; border:0; }
.system-card meter::-webkit-meter-optimum-value { background:#398568; }
.system-card meter::-webkit-meter-suboptimum-value { background:#c38b29; }
.system-card meter::-webkit-meter-even-less-good-value { background:#b64a3c; }
.system-details { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:20px; }
.system-detail h2 { font-size:16px; margin-bottom:15px; }
.system-detail dl { margin:0; }
.system-detail dl > div { display:flex; justify-content:space-between; gap:18px; padding:12px 0; border-bottom:1px solid #eef1ec; font-size:13px; line-height:1.5; }
.system-detail dl > div:last-child { border-bottom:0; padding-bottom:0; }
.system-detail dt { color:var(--muted); }
.system-detail dd { margin:0; text-align:right; font-weight:600; overflow-wrap:anywhere; max-width:60%; }
.system-warnings:not(:empty) { display:grid; gap:10px; margin-bottom:18px; }
.system-warning { border-left:3px solid #c38b29; background:#fff8eb; padding:14px 18px; border-radius:6px; font-size:13px; }
.system-warning.critical { border-color:#b64a3c; background:#fff0ee; }
.system-warning p { line-height:1.5; margin-top:5px; color:var(--muted); }
.system-error { background:#fff0ee; color:#922f23; padding:14px; border-radius:10px; margin-bottom:15px; font-size:13px; line-height:1.5; }
.system-footnote { font-size:12px; color:var(--muted); line-height:1.7; margin-top:22px; max-width:900px; }
@media(max-width:1100px) { .system-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
  .system-panel { flex:1; }
  .system-details { grid-template-columns:1fr; }
  .system-card,.system-detail { padding:16px; }
  .system-toolbar { gap:12px; }
  .sidebar nav { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:3px; }
  .sidebar nav button { flex-direction:column; justify-content:flex-start; width:100%; min-width:0; padding:7px 2px; gap:4px; }
  .sidebar nav button span { white-space:normal; text-align:center; font-size:10px; line-height:13px; }
}
