.mis-operations{font:14px system-ui,sans-serif;color:inherit;line-height:1.5}.mis-operations .op-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}.mis-operations label{display:flex;flex-direction:column;gap:6px;flex:1 1 170px}.mis-operations button,.mis-operations select,.mis-operations input{font:inherit;color:inherit;background:transparent;border:1px solid #8795a580;border-radius:8px;padding:10px;min-height:44px;box-sizing:border-box;max-width:100%}.mis-operations select option{color:#18202a;background:#fff}.mis-operations button{cursor:pointer}.mis-operations button:focus-visible{outline:3px solid #e9813c}.mis-operations .op-readings{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.mis-operations article{padding:14px;border:1px solid #8795a550;border-radius:12px}.mis-operations .op-chart-panel{border:1px solid #8795a550;border-radius:12px;padding:12px;background:var(--op-bg,var(--surface,#f7f9fc))}.mis-operations svg{width:100%;min-height:240px;display:block;cursor:zoom-in;touch-action:pan-y}.mis-operations .op-expanded{position:fixed;inset:12px;z-index:10000;overflow:auto;box-shadow:0 0 0 30px #000a}.mis-operations .op-expanded svg{height:calc(100dvh - 140px);cursor:default}.mis-operations .op-values td{padding:8px}.mis-operations h2{margin:0}.mis-operations small{opacity:.8}@media(max-width:600px){.mis-operations .op-expanded{inset:0;border-radius:0}.mis-operations label{flex-basis:45%}.mis-operations .op-values{font-size:12px}}

.mis-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.mis-trend-grid>.panel{min-width:0;margin:0}.mis-trend-grid h2{font-size:18px}.mis-trend-grid .op-values{width:100%;font-size:12px}.mis-trend-grid .op-controls{gap:6px}.mis-trend-grid label{flex-basis:140px}@media(max-width:900px){.mis-trend-grid{grid-template-columns:1fr}}
/* Industrial trend workspace: compact toolbar, stable plot, explicit state. */
.mis-operations .op-chart-panel{position:relative;--op-grid:#8493a8; background:#f5f8fc;color:#263449;padding:16px;border:1px solid #bac7d7;border-radius:10px;overflow:hidden}
body.dark .mis-operations .op-chart-panel{background:#121c29;color:#d4e1f1;border-color:#35465d}
.mis-operations .op-chart-panel>.op-controls{align-items:center;margin:10px 0;border-top:1px solid #8493a833;padding-top:10px;gap:6px}
.mis-operations .op-chart-panel button{min-height:34px;padding:6px 12px;border-radius:5px;background:#8493a812;border-color:#8493a866;font-weight:600}
.mis-operations .op-chart-panel button:hover{background:#3786dd26;border-color:#3786dd}
.mis-operations .op-mode{font-size:12px;font-weight:700;letter-spacing:.04em;display:inline-flex;align-items:center;gap:8px;margin-bottom:10px}
.mis-operations .op-mode:before{content:'';width:8px;height:8px;border-radius:50%;background:#dc9f39}
.mis-operations .op-mode[data-live=true]:before{background:#2cab79}
.mis-operations .op-presets{display:flex;gap:6px;flex-wrap:wrap;float:right}
.mis-operations .op-chart-panel svg{height:320px;min-height:220px;user-select:none}
.mis-operations .op-expanded svg{height:calc(100dvh - 240px)}
.mis-operations .op-crosshair{stroke:#49a6ee;stroke-width:1;stroke-dasharray:4 3;pointer-events:none}
.mis-operations .op-selection{fill:#338ae433;stroke:#338ae4;stroke-width:1;pointer-events:none}
.mis-operations .op-point-value{display:block;min-height:22px;font-variant-numeric:tabular-nums;color:inherit;background:#3786dd18;padding:6px 10px;border-radius:4px}
.mis-operations .op-point-value[hidden]{display:none}
.mis-operations .op-empty{position:absolute;left:10%;right:10%;top:45%;text-align:center;font-size:14px;padding:18px;color:inherit;background:#8493a810;border:1px dashed #8493a866;border-radius:8px;pointer-events:none}
.mis-operations .op-empty[hidden]{display:none}
.mis-operations .op-interaction-help{font-size:11px;opacity:.75;margin:8px 0 0}
.mis-operations .op-values{display:block;overflow:auto;font-variant-numeric:tabular-nums}
.mis-operations .op-values td{white-space:nowrap;font-size:12px}
.mis-operations label:has(input[type=checkbox]){flex:0 0 auto;flex-direction:row;align-items:center;min-height:38px;padding:0 8px}
.mis-operations input[type=checkbox]{min-height:18px;width:18px;accent-color:#2cab79}
@media(max-width:600px){.mis-operations .op-presets{float:none}.mis-operations .op-chart-panel{padding:10px}.mis-operations .op-chart-panel svg{height:260px}.mis-operations .op-expanded svg{height:calc(100dvh - 280px)}}

.mis-operations .op-chart-panel .op-zoom-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:36px;padding:6px;flex:0 0 auto}.mis-operations .op-chart-panel .op-zoom-icon svg{width:22px;height:22px;min-height:0;display:block;cursor:inherit;pointer-events:none}
.mis-echart-live,.mis-echart-static{height:360px;width:100%;min-width:0;position:relative}.op-expanded .mis-echart-live{height:calc(100dvh - 210px);min-height:280px}.mis-chart-actions{display:flex;gap:8px;margin:8px 0}.mis-chart-expanded{position:fixed!important;inset:12px!important;z-index:10010!important;overflow:auto!important;background:var(--surface,#f7f9fc);padding:16px;box-shadow:0 0 0 30px #0009}.mis-chart-expanded .mis-echart-static{height:calc(100dvh - 180px)}.mt-graph .mis-echart-static{height:220px}body.dark .mis-chart-expanded{background:#121c29}.mis-operations .op-empty{z-index:3}.mis-echart-live canvas,.mis-echart-static canvas{max-width:100%}@media(max-width:600px){.mis-echart-live,.mis-echart-static{height:320px}.mis-chart-expanded{inset:0!important}}
