/* Scoped to the environmental history panel. */
.eh-panel{margin-top:16px}
.eh-panel .eh-filter{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:16px 0}
.eh-filter label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}
.eh-filter input{font:inherit;border:1px solid #cbd5e1;border-radius:8px;padding:10px;background:#fff;color:#18263b;min-width:140px}
.eh-filter button{min-height:42px}
.eh-note,.eh-detail{font-size:13px;line-height:1.65;color:#52647b}
.eh-message{margin:12px 0;font-size:14px;line-height:1.6}
.eh-message[data-error="true"]{color:#b42338}
.eh-card{border:1px solid #e0e7ef;border-radius:12px;margin-top:16px;padding:16px;background:white;min-width:0}
.eh-card h3{font-size:16px;margin:0 0 8px;display:flex;gap:8px;align-items:center}
.eh-swatch{width:12px;height:12px;display:inline-block;border-radius:50%;flex-shrink:0}
.eh-chart{display:block;width:100%;height:220px;touch-action:pan-y;outline-offset:3px}
.eh-chart text{font:12px system-ui,sans-serif;fill:#64748b}
.eh-detail{background:#f5f8fc;border-radius:8px;padding:10px 12px;margin:10px 0 0;min-height:44px}
.eh-summary{font-size:13px;color:#52647b;margin:6px 0}
.eh-chart:focus-visible{outline:2px solid #2563eb}
@media(max-width:650px){.eh-card{padding:12px}.eh-chart{height:200px}.eh-filter label{flex:1;min-width:120px}.eh-filter input{min-width:0;width:100%}.eh-filter button{flex:1}.eh-filter #ehLatest{flex-basis:100%}}
