/* SMART Sentinel Charts V2 */
.smart-echart-wrap{width:100%;min-width:0;position:relative}.smart-echart{width:100%;height:330px;min-width:0}.smart-echart-wrap.compact .smart-echart{height:175px}.smart-chart-empty{min-height:185px;display:grid;place-items:center;color:var(--muted);font-size:11px;border:1px dashed var(--line);border-radius:10px;background:rgba(127,127,127,.025)}
.smart-chart-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 10px}.smart-chart-stats span{min-width:0;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:rgba(127,127,127,.035)}.smart-chart-stats small,.smart-chart-stats b{display:block}.smart-chart-stats small{color:var(--muted);font-size:7px;font-weight:900;letter-spacing:.07em}.smart-chart-stats b{margin-top:2px;font-size:11px;overflow:hidden;text-overflow:ellipsis}
.smart-period-section{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:10px 0 12px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(127,127,127,.025)}.smart-period-section.in-card{margin:8px 0 12px}.smart-period-section>div:first-child{display:flex;flex-direction:column;gap:2px}.smart-period-section span{color:var(--muted);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.smart-period-caption{font-size:12px;color:var(--text)}
.smart-period-bar{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:4px;border:1px solid var(--line);border-radius:10px;background:rgba(127,127,127,.035)}.smart-period-bar button{border:0;border-radius:7px;padding:7px 10px;background:transparent;color:var(--muted);font-size:9px;font-weight:850;cursor:pointer;transition:background .15s ease,color .15s ease,transform .15s ease}.smart-period-bar button:hover{background:rgba(46,155,222,.09);color:var(--text)}.smart-period-bar button.active{background:#168fd1;color:#fff;box-shadow:0 4px 12px rgba(22,143,209,.22)}.smart-network-periods>.smart-period-bar{width:100%;justify-content:flex-end}.smart-scada-periods{margin:0 0 9px}.smart-scada-periods .smart-period-bar{justify-content:center}
.smart-tip-date{padding-bottom:6px;margin-bottom:5px;border-bottom:1px solid rgba(127,127,127,.2);font-size:10px;font-weight:850}.smart-tip-row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:190px;padding:3px 0}.smart-tip-row span{display:flex;align-items:center;gap:5px}.smart-tip-row b{font-weight:900}
:root[data-theme="light"] .smart-chart-stats span,:root[data-theme="light"] .smart-period-bar,:root[data-theme="light"] .smart-period-section{background:#fff;border-color:#d7e3eb}.v168-scada .smart-chart-stats span{background:rgba(255,255,255,.035);border-color:rgba(120,190,230,.18)}.v168-scada .smart-period-bar,.v168-scada .smart-period-section{background:rgba(4,28,46,.35);border-color:rgba(95,177,225,.22)}.v168-scada .smart-period-bar button{color:#a7c0d0}.v168-scada .smart-period-bar button.active{color:#fff;background:#168fd1}:root[data-theme="light"] .v168-scada .smart-period-bar,:root[data-theme="light"] .v168-scada .smart-period-section{background:rgba(255,255,255,.76);border-color:#cddfe9}:root[data-theme="light"] .v168-scada .smart-period-bar button{color:#526d7f}:root[data-theme="light"] .v168-scada .smart-period-bar button.active{color:#fff}
@media(max-width:700px){.smart-echart{height:285px}.smart-echart-wrap.compact .smart-echart{height:165px}.smart-period-section{align-items:flex-start;flex-direction:column}.smart-period-bar{width:100%;overflow-x:auto;flex-wrap:nowrap}.smart-period-bar button{white-space:nowrap;flex:0 0 auto}.smart-chart-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
