/* Rhodium One unified Atlas. Dense NEXUS-inspired operations layout. */
.rh-atlas{color:#d5eaf6;font:13px/1.48 system-ui,sans-serif}
.rh-atlas-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.rh-atlas-kpi{background:linear-gradient(145deg,#102b40,#0b1b2d);border:1px solid #25485d;border-radius:10px;padding:16px;min-width:0;display:flex;flex-direction:column;gap:5px}
.rh-atlas-kpi small{font:700 10px monospace;letter-spacing:1px;color:#82b3c8}
.rh-atlas-kpi b{font:800 29px/1.1 monospace;color:#7debf1}
.rh-atlas-kpi span{font:12px sans-serif;color:#8da9ba}
.rh-atlas-kpi.warning b{color:#fbb86b;font-size:16px}
.rh-atlas-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:end;background:#0d2235;border:1px solid #2a4d61;border-radius:11px;padding:13px;margin-bottom:12px}
.rh-atlas-toolbar label{font:700 10px monospace;color:#7eb6c8;display:flex;flex-direction:column;gap:6px;letter-spacing:.6px}
.rh-atlas-toolbar select,.rh-atlas-toolbar input{color:#e5f8ff;background:#0a1826;border:1px solid #33576c;border-radius:6px;padding:10px;min-height:37px}
.rh-atlas-toolbar input{min-width:190px}
.rh-atlas-btn{background:#112c41;color:#afe8f5;border:1px solid #386378;padding:10px 13px;border-radius:6px;cursor:pointer;font:700 11px monospace}
.rh-atlas-btn:hover{background:#20536a}.rh-atlas-btn.primary{background:#0e7985;color:white;border-color:#179cad}
.rh-atlas-workspace{display:grid;grid-template-columns:minmax(0,2fr) minmax(275px,1fr);gap:12px}
.rh-atlas-visual{position:relative;background:#061523;border:1px solid #315c70;border-radius:11px;min-height:550px;overflow:hidden;box-shadow:inset 0 0 48px #010b19}
.rh-atlas-stage-head{display:flex;justify-content:space-between;gap:12px;padding:14px 18px;position:absolute;top:0;left:0;right:0;z-index:2;pointer-events:none;font:700 11px monospace;color:#83d9e5}
.rh-atlas-visual canvas,.rh-atlas-flat{display:block;width:100%;height:550px;touch-action:none}
.rh-atlas-flat{background:radial-gradient(ellipse at center,#18354b,#061321);object-fit:contain}
.rh-atlas-flat path{stroke-dasharray:8 8}
.rh-atlas-overlay{position:absolute;bottom:75px;left:18px;color:#9bcada;font:600 11px monospace;pointer-events:none;text-shadow:0 1px 5px #07101b}
.rh-atlas-overlay small{color:#e5ab75}
.rh-atlas-stage-actions{display:flex;gap:7px;position:absolute;bottom:16px;left:16px;z-index:4}
.rh-atlas-right{border:1px solid #31536a;border-radius:10px;background:#0b1d2d;display:flex;flex-direction:column;min-height:0;max-height:550px;overflow:hidden}
.rh-atlas-feedtop{display:flex;justify-content:space-between;padding:16px 13px;gap:8px;color:#defaff;font:800 10px monospace;border-bottom:1px solid #244357}
.rh-atlas-feedtop span{color:#74d2d3}
.rh-atlas-feed{overflow:auto;flex:1;min-height:0}
.rh-atlas-event{display:block;width:100%;border:0;border-bottom:1px solid #203a50;background:transparent;color:#cfe6f4;text-align:left;padding:12px 14px;cursor:pointer}
.rh-atlas-event:hover,.rh-atlas-event.selected{background:#173b51}
.rh-atlas-event-top{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#9debf0}
.rh-atlas-event-top strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rh-atlas-path{display:block;color:#fff;font:700 12px/1.5 monospace;overflow-wrap:anywhere;margin:6px 0}
.rh-atlas-event-summary{font-size:12px;color:#c3d8e3;display:block}
.rh-atlas-event-bottom{display:block;margin-top:7px;font:10px monospace;color:#84a7ba}
.rh-atlas-pill{padding:3px 6px;border:1px solid #237887;color:#65e7e3;border-radius:4px;font:800 9px monospace;white-space:nowrap}
.rh-atlas-pill.bad{border-color:#9f4862;color:#ff8495}.rh-atlas-pill.warn{border-color:#9a7947;color:#f9c980}.rh-atlas-pill.good{border-color:#32806e;color:#5ae6ba}
.rh-atlas-lower{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:12px;margin-top:12px}
.rh-atlas-detail,.rh-atlas-sensor,.rh-atlas-ranking{background:#0b1e30;border:1px solid #2b5064;border-radius:10px;padding:18px;min-width:0;margin-bottom:12px}
.rh-atlas-section-title{margin:0 0 15px;color:#95e6f1;font:800 12px monospace;letter-spacing:.6px;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}
.rh-atlas-section-title small{color:#83a5bb;font-size:10px}
.rh-atlas-muted{color:#91b2c5;font-size:12px;margin:8px 0}
.rh-atlas-warning{color:#ffbe83;padding:8px;background:#39251b}
.rh-atlas-detail pre{max-height:340px;overflow:auto;background:#051421;padding:12px;border-radius:6px;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}
.rh-atlas-sensor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}
.rh-atlas-sensor-grid>div{background:#102e42;padding:12px;border:1px solid #2a4b5b;border-radius:7px;display:flex;flex-direction:column;gap:6px;min-width:0}
.rh-atlas-sensor-grid small{font:700 9px monospace;color:#76a5b9}.rh-atlas-sensor-grid strong{font:700 14px monospace;color:#dafaff;overflow-wrap:anywhere}
.rh-atlas-bar{display:grid;grid-template-columns:100px minmax(0,1fr) 65px;gap:8px;align-items:center;margin:9px 0;font:11px monospace}
.rh-atlas-bar span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rh-atlas-bar strong{text-align:right}
.rh-atlas-bar>div{height:7px;background:#102f43;border-radius:4px;overflow:hidden}.rh-atlas-bar i{display:block;height:100%;background:linear-gradient(90deg,#1d85a9,#73e6ea)}
.rh-atlas-ranking .rh-atlas-section-title:not(:first-child){margin-top:22px}
.rh-atlas-disclaimer{color:#90aabb;font-size:11px;padding:12px 3px}
@media(max-width:1100px){.rh-atlas-workspace,.rh-atlas-lower{grid-template-columns:1fr}.rh-atlas-right{max-height:360px}.rh-atlas-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.rh-atlas-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rh-atlas-kpi b{font-size:20px}.rh-atlas-sensor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rh-atlas-toolbar label{flex:1}.rh-atlas-toolbar input{min-width:0;width:100%}}

.rh-atlas-overlay b{color:#ffca94;background:#0b1a2bbd;padding:6px 10px;display:inline-block;border-radius:5px;letter-spacing:.45px}.rh-atlas-overlay button{margin-top:8px;pointer-events:auto}.rh-atlas-visual{min-height:590px}.rh-atlas-visual canvas{height:590px}.rh-atlas-sensor .rh-atlas-warning{margin-top:12px}

.rh-atlas-sources{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 15px}.rh-atlas-source-health{border:1px solid #714553;border-radius:7px;padding:7px 10px;font:700 10px monospace;background:#351d2b;color:#ff9eac}.rh-atlas-source-health.good{background:#103e39;color:#65e4be;border-color:#227365}.rh-atlas-source-health.warn{background:#423021;color:#fac078;border-color:#775438}
