/* AMS V129.1 — System Health visual refinement */
.system-health-workspace{background:#f5f7fb!important;overflow:auto!important}
.system-health-workspace>.topbar{background:#fff!important}
.system-health-dashboard{padding:14px 16px 18px;max-width:1800px;margin:0 auto;font-family:inherit;color:#20324a}
.sh-overall{background:#fff;border:1px solid #b9dbc6;border-left:4px solid #2f9965;border-radius:8px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:12px}
.sh-overall-left{display:flex;align-items:center;gap:13px;min-width:0}.sh-status-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#168451;color:#fff;font-size:28px;font-weight:500;flex:0 0 auto}.sh-overall-left>div{display:flex;flex-direction:column;gap:2px}.sh-overall-left strong{font-size:15px;color:#198052}.sh-overall-left small{font-size:10.5px;color:#53667b}.sh-updated{font-size:9px;color:#697a8d;margin-top:3px}
.sh-overall-metrics{display:grid;grid-template-columns:repeat(3,minmax(125px,1fr));gap:0;min-width:520px}.sh-overall-metrics>div{padding:3px 15px;border-left:1px solid #e5eaf0;display:flex;flex-direction:column;gap:1px}.sh-overall-metrics span{font-size:8.5px;text-transform:uppercase;letter-spacing:.035em;color:#6a7a8d;font-weight:800}.sh-overall-metrics strong{font-size:13px;color:#23364c}.sh-overall-metrics small{font-size:9px;color:#68798b}
.sh-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.88fr);gap:12px;align-items:start}.sh-card{background:#fff;border:1px solid #dbe2eb;border-radius:8px;overflow:hidden;min-width:0}.sh-card>header{padding:10px 12px;border-bottom:1px solid #e7ebf0;background:#fbfcfe;display:flex;align-items:center;justify-content:space-between;gap:10px}.sh-card h2{margin:0;font-size:12px;color:#1e4b9a}.sh-card header p{margin:2px 0 0;font-size:9px;color:#758497}.sh-link{border:0!important;background:transparent!important;color:#1f5fc4!important;padding:3px 4px!important;font-size:8.5px!important;font-weight:700!important;box-shadow:none!important}
.sh-service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:9px}.sh-service-grid article{border:1px solid #e2e7ee;border-radius:7px;padding:9px 8px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;background:#fff}.sh-mini-icon{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#eef4ff;color:#31589c;font-size:8px;font-weight:800}.sh-service-grid strong{font-size:9.5px;color:#26394f}.sh-service-grid small{font-size:8px;line-height:1.3;color:#738194}.sh-service-grid button,.sh-table-wrap button,.sh-notification-grid button{margin-top:auto;width:100%;border:1px solid #b9c7d9;background:#fff;color:#28529a;border-radius:4px;padding:5px 6px;font-size:8px;font-weight:700}
.sh-pill{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:2px 6px;font-size:7.5px;font-weight:800;line-height:1.2}.sh-pill.good{background:#edf8f1;color:#28744e;border:1px solid #c9e7d4}.sh-pill.warn{background:#fff7e8;color:#9b6808;border:1px solid #eed9aa}
.sh-issues{grid-column:2;grid-row:1}.sh-empty{min-height:153px;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px}.sh-empty>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eaf7ef;color:#278052;font-weight:900}.sh-empty strong{font-size:11px;color:#287d52}.sh-empty p{max-width:240px;margin:2px 0 0;font-size:8.5px;line-height:1.45;color:#66788c}
.sh-sync{grid-column:1}.sh-table-wrap{overflow-x:auto}.sh-table-wrap table{width:100%;border-collapse:collapse;font-size:8px}.sh-table-wrap th{padding:6px 7px;background:#f4f7fb;border-bottom:1px solid #dde4ec;text-align:left;color:#5e6e82;font-size:7px;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}.sh-table-wrap td{padding:6px 7px;border-bottom:1px solid #edf1f5;vertical-align:middle;color:#485a70;white-space:nowrap}.sh-table-wrap tr:last-child td{border-bottom:0}.sh-table-wrap td:first-child{white-space:normal;min-width:150px}.sh-table-wrap td strong{display:block;font-size:8.5px;color:#263950}.sh-table-wrap td small{display:block;font-size:7px;color:#78879a;margin-top:1px}.sh-table-wrap button{margin:0;white-space:nowrap;width:auto;padding:4px 6px}
.sh-activity{grid-column:2;grid-row:2}.sh-activity-list{padding:4px 10px}.sh-activity-list>div{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:6px;padding:7px 0;border-bottom:1px solid #edf1f5}.sh-activity-list>div:last-child{border-bottom:0}.sh-event{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#eef3f9;color:#3a5f8e;font-size:9px;font-weight:800}.sh-event.good{background:#eaf7ef;color:#287c52}.sh-activity-list p{margin:0;display:flex;flex-direction:column;gap:1px}.sh-activity-list strong{font-size:8.5px;color:#2b3e53}.sh-activity-list small{font-size:7px;color:#718196}.sh-activity-list em{font-style:normal;font-size:6.8px;font-weight:800;color:#53815f;background:#eef8f1;border-radius:999px;padding:2px 5px}
.sh-notifications{grid-column:1/-1}.sh-notification-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:9px}.sh-notification-grid article{border:1px solid #e3e8ee;border-radius:6px;padding:9px;min-width:0}.sh-notification-grid h3{margin:0 0 7px;font-size:8.5px;color:#33475e}.sh-notification-grid h3 small{font-size:7px;font-weight:500;color:#78879a}.sh-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.sh-counts span{font-size:7.5px;color:#5d6f83;display:flex;flex-direction:column}.sh-counts b{font-size:14px;color:#2f435a}.sh-notification-grid p{margin:6px 0 0;font-size:7px;color:#75859a}.sh-notification-grid ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:5px 8px}.sh-notification-grid li{font-size:7.5px;color:#45596f}.sh-notification-grid li:before{content:'✓';color:#2f8b5c;font-weight:900;margin-right:4px}.sh-ack{display:grid;grid-template-columns:22px 1fr;gap:1px 6px;align-items:center;margin-bottom:8px}.sh-ack>span{grid-row:1/3;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#eaf7ef;color:#278052;font-weight:900}.sh-ack strong{font-size:9px;color:#2d7651}.sh-ack small{font-size:7px;color:#758397}.sh-footer{margin-top:12px;border:1px solid #d9e3ee;border-radius:6px;background:#fff;padding:8px 10px;text-align:center;font-size:8px;color:#627489}
.prototype-test-env{margin:8px 12px 0;padding:7px 8px;border:1px solid #ffbf47;border-radius:6px;background:#fff2cc;color:#6e4700;text-align:center;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:1250px){.sh-overall{align-items:flex-start;flex-direction:column}.sh-overall-metrics{min-width:0;width:100%}.sh-service-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.sh-layout{grid-template-columns:1fr}.sh-issues,.sh-sync,.sh-activity,.sh-notifications{grid-column:1;grid-row:auto}.sh-service-grid{grid-template-columns:repeat(2,1fr)}.sh-notification-grid{grid-template-columns:1fr}.sh-overall-metrics{grid-template-columns:1fr}.sh-overall-metrics>div{border-left:0;border-top:1px solid #e5eaf0;padding:7px 0}}
@media(max-width:600px){.system-health-dashboard{padding:10px}.sh-service-grid{grid-template-columns:1fr}.sh-overall{padding:12px}.sh-counts{grid-template-columns:1fr 1fr 1fr}}
