/* Compléments station.php : la feuille commune assets/css/style.css reste intacte. */
.diag-main { padding-bottom: 2rem; }
    .diag-card .card-body { text-align: left; width: 100%; }
    .diag-card .card-title { text-align: center; }
    .diag-card.diag-metric .card-body { text-align: center; }
    .diag-title { font-size: 1.12rem; font-weight: 700; margin: 0 0 1rem; }
    .diag-measure { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.25; margin: .6rem 0; }
    .diag-muted { color: #e0e3e7; font-size: .9rem; }
    .diag-info-line, .info-line { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.24); text-align: left; }
    .diag-card .info-line:last-child { border-bottom: 0; }
    .diag-card .info-line strong { text-align: right; overflow-wrap: anywhere; }
    .diag-card .ok, .diag-pill.diag-ok { color: #b8f3c9; }
    .diag-card .warning, .diag-pill.diag-warning { color: #ffe09d; }
    .diag-card .danger, .diag-pill.diag-danger { color: #ffbcb9; }
    .diag-card .unknown, .diag-pill.diag-unknown { color: #e2e2e2; }
    .diag-pill { display: inline-block; border: 1px solid currentColor; border-radius: 99px; padding: .3rem .85rem; font-weight: 700; }
    .meter { height: 11px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.25); }
    .meter-bar { height: 100%; background: #a9e8c5; }
    .diag-info { border-left: 4px solid #ffe09d; }
    .diag-card .card-body p { line-height: 1.5; }
    @media (max-width: 575px) {
      .diag-card .card-body { padding: .85rem; }
      .diag-card .info-line { font-size: .88rem; }
      .diag-card .info-line span { max-width: 52%; }
      .diag-card .info-line strong { max-width: 48%; }
    }
.diag-card h2.diag-title { font-size: 1.12rem; margin: 0 0 1rem; }
