/* ARAS_ATMOSPHERE_V2: layout on top of atmosphere.css (shared site styles). */
#atm .badge.offline{color:#ff9a8c;border-color:#7c4a46}
#atm .metrics strong{font-variant-numeric:tabular-nums}
#atm [hidden]{display:none!important}
.atm-tend strong{display:flex;align-items:center;gap:10px}
.atm-arrow{display:inline-block;color:#8fdcb4}
.atm-tend[data-level='MODERATE'] .atm-arrow{color:#f2c66b}
.atm-tend[data-level='QUICK'] .atm-arrow{color:#ff9a5c}
.atm-tend[data-level='VERY_QUICK'] .atm-arrow{color:#ff5a6a}
.atm-state{font-size:11px;letter-spacing:1px;color:#9db6c6}
.atm-state.live{color:#a2e1cb}
.atm-state.live::before{content:'';display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#43e2a6;box-shadow:0 0 8px #43e2a6;animation:atmPulse 2s infinite}
@keyframes atmPulse{50%{opacity:.35}}
.atm-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.atm-seg{display:inline-flex;border:1px solid #3a5263;border-radius:7px;overflow:hidden}
.atm-seg button{background:#0f2230;color:#a9becc;border:0;padding:7px 13px;font:inherit;font-size:12px;cursor:pointer}
.atm-seg button+button{border-left:1px solid #3a5263}
.atm-seg button[aria-pressed='true']{background:#1d3a4d;color:#f0d39e}
.atm-seg button:focus-visible{outline:2px solid #eacb92;outline-offset:-2px}
.atm-toggle{font-size:12px;color:#a9becb;display:flex;align-items:center;gap:6px;cursor:pointer}
.atm-toggle input{accent-color:#e7c383}
.atm-chart{position:relative;height:300px}
.atm-chart svg,.atm-trace svg{display:block;width:100%;height:100%}
.atm-chart text,.atm-trace text{fill:#8aa3b3;font-size:10.5px;font-family:inherit}
.atm-tip{position:fixed;z-index:5;pointer-events:none;background:#0f2433;border:1px solid #3b5361;border-radius:6px;padding:7px 10px;font-size:12px;color:#e1edf3;box-shadow:0 6px 20px #0008;line-height:1.5}
.atm-tip b{color:#e9c06a;font-weight:600}
.atm-key{display:inline-block;width:14px;height:8px;margin:0 5px 0 12px;vertical-align:0;border-radius:2px}
.atm-key-band{background:#2a4a5e}
.atm-key-alert{width:3px;height:10px;background:#ff9a5c}
.atm-trace{height:120px}
.atm-spec{position:relative;margin-top:6px;padding-left:44px}
.atm-spec canvas{display:block;width:100%;height:190px;border-radius:4px;background:#00204c;image-rendering:auto}
.atm-spec-y{position:absolute;left:0;top:0;bottom:22px;width:40px;display:flex;flex-direction:column;justify-content:space-between;font-size:10.5px;color:#8aa3b3;text-align:right}
.atm-spec-y span:last-child{margin-bottom:-4px}
.atm-scale{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:7px;font-size:10.5px;color:#8aa3b3}
.atm-scale i{display:block;width:140px;height:8px;border-radius:4px;background:linear-gradient(90deg,#00204c,#31446b,#666970,#958f78,#cbb969,#ffe945)}
.atm-sec-head{margin:34px 0 14px}
.atm-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:22px}
.atm-card{display:flex;flex-direction:column;background:#0c1d29;border:1px solid #273d4c;border-radius:10px;overflow:hidden}
.atm-card:hover{border-color:#e7c383;color:inherit}
.atm-card img{display:block;width:100%;height:220px;object-fit:contain;background:#fff;padding:6px;box-sizing:border-box}
.atm-card img.dark{background:#0e0d12}
.atm-card>div{padding:16px 18px 18px}
.atm-card b{font-weight:500;font-size:17px;color:#f2f6f9}
.atm-card p{margin:8px 0 0;color:#a5bdcd;font-size:13px;line-height:1.6}
.atm-alerts,.atm-reports{list-style:none;margin:0;padding:0}
.atm-alerts{max-height:260px;overflow:auto;margin-top:10px}
.atm-alerts li{display:grid;grid-template-columns:1fr 70px 72px;gap:10px;padding:7px 0;border-bottom:1px solid #1e3242;font-size:12.5px;font-variant-numeric:tabular-nums;color:#c4d5e0}
.atm-alerts li span{color:#8aa3b3}
.atm-alerts li.warn b{color:#ff9a5c}
.atm-alerts li b{font-weight:500;color:#f2c66b}
.atm-details summary,.atm-about summary{cursor:pointer;color:#f0d39e;font-size:13px}
.atm-about details+details{margin-top:12px}
.atm-reports li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #22384a}
.atm-reports li a:first-child{display:flex;flex-direction:column;gap:3px}
.atm-reports b{font-weight:500;font-size:14px;color:#eef4f8}
.atm-reports span{font-size:12px;color:#8aa3b3}
.atm-dl{font-size:12px;color:#edd09e;white-space:nowrap}
@media(max-width:850px){.atm-cards{grid-template-columns:1fr}.atm-chart{height:240px}}
@media(max-width:480px){.atm-card img{height:180px}.atm-spec{padding-left:36px}.atm-spec-y{width:32px}.atm-controls{gap:10px}}
.atm-alerts li span:last-child{text-align:right}
