/* Isolated responsive HMI overlay; preserves all approved 5.0 layouts. */
.eb6-hmi{position:absolute;z-index:3;top:60px;right:20px;width:190px;color:#dbf5e0;background:rgba(3,24,21,.88);border:1px solid #4b826c;border-radius:10px;box-shadow:0 8px 24px #0005;padding:11px 12px;font:500 11px/1.4 system-ui, sans-serif;pointer-events:none;backdrop-filter:blur(7px)}
.eb6-hmi-head{display:flex;align-items:center;gap:7px;color:#b6e4be;font-size:9px;letter-spacing:.08em;font-weight:800}.eb6-dot{height:7px;width:7px;background:#a1ee6b;border-radius:50%;box-shadow:0 0 10px #9aff72}
.eb6-hmi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:10px 0 8px;text-align:center}.eb6-hmi-grid>div{background:#163d2f;border-radius:5px;padding:5px 1px}.eb6-hmi-grid small{display:block;font-size:8px;color:#b6d1bd}.eb6-hmi-grid b{display:block;font:800 18px/1.2 ui-monospace,monospace;color:#c5ff9a}
.eb6-hmi-line{display:flex;justify-content:space-between;gap:6px;padding:3px 0;border-bottom:1px solid #305648}.eb6-hmi-line span{font-size:9px;color:#c7dccd}.eb6-hmi-line strong{font:700 11px ui-monospace,monospace;color:white}
.eb6-hmi-foot{display:flex;flex-direction:column;gap:2px;padding-top:9px}.eb6-hmi-foot>span:first-child{font-weight:750;color:#b4fb8e}.eb6-hmi-foot>span:last-child{font-size:10px;color:#b7cfc2}
@media(max-width:1180px){.eb6-hmi{top:37px;right:35px}}
@media(max-width:620px){.eb6-hmi{top:36px;right:12px;width:135px;padding:8px;font-size:9px}.eb6-hmi-head{font-size:7px}.eb6-hmi-grid{margin:7px 0 5px}.eb6-hmi-grid b{font-size:14px}.eb6-hmi-line span{font-size:8px}.eb6-hmi-line strong{font-size:9px}.eb6-hmi-foot{padding-top:5px}.eb6-hmi-foot>span:last-child{display:none}}
@media(max-width:380px){.eb6-hmi{width:115px;top:40px}.eb6-hmi-head{font-size:6.5px}.eb6-hmi-grid b{font-size:12px}}

/* Genuine engineering-mode status, responsive with the existing stage controls. */
.eb69-mode-status{margin:8px 12px 2px;padding:6px 10px;border-left:2px solid #9ff35c;background:rgba(12,57,34,.42);color:#c6f5d2;border-radius:3px;font-size:clamp(10px,1.1vw,13px);line-height:1.45;overflow-wrap:anywhere}
@media(max-width:600px){.eb69-mode-status{margin:8px 4px 2px;padding:5px 8px}}
