.hmt-popup{width:300px;max-width:calc(100vw - 92px);font:13px/1.5 system-ui,-apple-system,sans-serif;color:#183849}
.hmt-popup .hmt-title{margin:0 0 3px;font-size:17px;line-height:1.3;font-weight:750;overflow-wrap:anywhere;color:#15384b}
.hmt-popup .hmt-meta{margin:0 0 14px;color:#627987;font-size:12px}
.hmt-popup .hmt-head{display:flex;gap:8px;justify-content:space-between;align-items:center;border-top:1px solid #e4edf1;padding-top:12px}
.hmt-popup .hmt-status{font-weight:700;font-size:11px;padding:4px 9px;border-radius:12px;background:#edf3f7;color:#4e6878}
.hmt-popup .hmt-status[data-state=online]{background:#e5f5ec;color:#176b45}
.hmt-popup .hmt-status[data-state=offline],.hmt-popup .hmt-status[data-state=stale]{background:#fff1d7;color:#805600}
.hmt-popup .hmt-refresh{border:1px solid #cbdce5;background:#fff;color:#166180;border-radius:7px;font:600 11px/1.3 system-ui;padding:8px 10px;cursor:pointer;min-height:34px}
.hmt-popup .hmt-refresh:focus-visible{outline:2px solid #1689d8;outline-offset:2px}
.hmt-popup .hmt-refresh:disabled{cursor:wait;opacity:.55}
.hmt-popup .hmt-device{margin:7px 0 0;color:#667d8c;font-size:10px;overflow-wrap:anywhere}
.hmt-popup .hmt-time{font-size:11px;color:#506b7b;margin:5px 0 10px}
.hmt-popup .hmt-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:300px;overflow:auto}
.hmt-popup .hmt-metric{padding:10px;background:#f3f7fa;border:1px solid #e5edf2;border-radius:9px;display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}
.hmt-popup .hmt-metric>span{font-size:11px;color:#566f7e}
.hmt-popup .hmt-value{font-size:23px;color:#174d68;font-variant-numeric:tabular-nums;line-height:1.5}
.hmt-popup .hmt-value small{font-size:11px;font-weight:500;color:#657b88}
.hmt-popup .hmt-note{font-size:10px;color:#7c6332;margin-top:4px}
.hmt-popup .hmt-message{font-size:11px;color:#687e8b;margin:9px 0 0;overflow-wrap:anywhere}
.hmt-popup .hmt-message:empty,.hmt-popup .hmt-device:empty,.hmt-popup .hmt-time:empty{display:none}
.hmt-leaflet-popup .leaflet-popup-content{margin:16px 18px}
.hmt-popup.hmt-embedded{width:100%;max-width:100%}
.hmt-popup.hmt-embedded .hmt-device{margin:0 0 8px}
.hmt-photo-card{margin:0 0 10px;max-width:100%;overflow:hidden;border-radius:8px}.hmt-photo-card img{display:block;width:100%;max-height:170px;object-fit:cover}.hmt-photo-empty{font-size:12px;color:#627b88}
