.scada-alert-v2{--alert-ink:#173b5d;--alert-muted:#6c8299;--alert-line:#d9e6f2;--alert-blue:#1675e8;--alert-blue2:#0b5cb9;--alert-cyan:#1cc7d0;--alert-green:#1b9d66;--alert-amber:#d58a00;--alert-red:#cf3b3b;--alert-bg:#f5f9fd;padding-bottom:44px}.scada-alert-v2 *{box-sizing:border-box}.scada-alert-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:28px;margin:18px 0 16px;padding:30px 32px;border:1px solid #cfe1f4;border-radius:24px;background:linear-gradient(135deg,#fafdff 0%,#edf7ff 54%,#e8fbfb 100%);box-shadow:0 18px 45px rgba(27,91,142,.08)}.scada-alert-hero:before{content:"";position:absolute;width:340px;height:340px;right:-150px;top:-170px;border-radius:50%;background:radial-gradient(circle,rgba(22,117,232,.15),rgba(22,117,232,0) 68%)}.scada-alert-hero-copy{position:relative;z-index:1;max-width:720px}.scada-alert-eyebrow{display:block;color:var(--alert-blue);font-size:12px;font-weight:800;letter-spacing:.16em}.scada-alert-hero h2{margin:7px 0 8px;color:#123a60;font-size:32px;line-height:1.15}.scada-alert-hero p{margin:0;color:#607a94;font-size:15px;line-height:1.7}.scada-alert-hero-orbit{position:relative;z-index:1;width:112px;height:112px;display:grid;place-items:center;flex:0 0 auto}.scada-alert-hero-orbit:before,.scada-alert-hero-orbit:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(22,117,232,.25)}.scada-alert-hero-orbit:before{inset:8px}.scada-alert-hero-orbit:after{inset:23px;border-color:rgba(28,199,208,.42)}.scada-alert-hero-orbit>span{position:absolute;inset:36px;border-radius:50%;background:linear-gradient(145deg,#1176e7,#16b8d2);box-shadow:0 10px 24px rgba(22,117,232,.28)}.scada-alert-hero-orbit>i{position:absolute;width:10px;height:10px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.25);transform:translate(38px,-26px)}.scada-alert-hero-orbit>b{position:relative;color:#fff;font-size:11px;letter-spacing:.08em}.scada-alert-controls{display:grid;grid-template-columns:minmax(210px,1fr) minmax(150px,.55fr) auto;gap:12px;align-items:end;margin:0 0 18px;padding:15px 16px;border:1px solid var(--alert-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(30,72,112,.05)}.scada-alert-controls label{display:grid;gap:7px}.scada-alert-controls label>span{font-size:11px;font-weight:800;color:#6e859d;text-transform:uppercase;letter-spacing:.06em}.scada-alert-controls input,.scada-alert-controls select{width:100%;min-height:44px;padding:0 12px;border:1px solid #cfdeec;border-radius:11px;background:#fafdff;color:#23445f;font:inherit}.scada-alert-controls .button{min-height:44px;border-radius:11px;white-space:nowrap}.scada-alert-loading,.scada-alert-error{display:flex;align-items:center;justify-content:center;gap:12px;min-height:160px;padding:26px;border:1px solid var(--alert-line);border-radius:20px;background:#fff;color:#6a8198}.scada-alert-loading i{width:18px;height:18px;border:2px solid #c9def2;border-top-color:var(--alert-blue);border-radius:50%;animation:scadaAlertSpin .75s linear infinite}.scada-alert-error{display:block;text-align:center;color:#7d5360;background:#fff8f8;border-color:#f0cdcd}.scada-alert-error strong{display:block;color:#a92e3b;font-size:18px}.scada-alert-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.scada-alert-kpi{display:flex;align-items:center;gap:13px;min-height:104px;padding:18px;border:1px solid var(--alert-line);border-radius:18px;background:linear-gradient(150deg,#fff,#f8fbfe);box-shadow:0 10px 28px rgba(31,79,119,.055)}.scada-alert-kpi-icon{width:43px;height:43px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:#eaf4ff;color:var(--alert-blue);font-size:19px;font-weight:900}.scada-alert-kpi>div:last-child{min-width:0;display:grid}.scada-alert-kpi span{font-size:11px;font-weight:800;color:#70879e;text-transform:uppercase;letter-spacing:.04em}.scada-alert-kpi strong{margin-top:3px;color:#163b5d;font-size:27px;line-height:1}.scada-alert-kpi small{margin-top:6px;color:#8a9daf;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scada-alert-kpi.is-critical{border-color:#f1c6c6;background:linear-gradient(150deg,#fff,#fff5f5)}.scada-alert-kpi.is-critical .scada-alert-kpi-icon{background:#ffe8e8;color:var(--alert-red)}.scada-alert-kpi.is-warning .scada-alert-kpi-icon,.scada-alert-kpi.has-alert .scada-alert-kpi-icon{background:#fff3d9;color:var(--alert-amber)}.scada-alert-kpi.is-good .scada-alert-kpi-icon{background:#e7f8ef;color:var(--alert-green)}.scada-alert-kpi.is-tech .scada-alert-kpi-icon{background:#e7f7f8;color:#118b99}.scada-alert-layout-main{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:16px}.scada-alert-layout-main>div{min-width:0}.scada-alert-panel{margin-bottom:16px;border:1px solid var(--alert-line);border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(27,72,110,.055);overflow:hidden}.scada-alert-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 21px;border-bottom:1px solid #e8f0f7;background:linear-gradient(180deg,#fff,#fbfdff)}.scada-alert-section-head>div>span{display:block;color:#2680d9;font-size:10px;font-weight:850;letter-spacing:.12em}.scada-alert-section-head h3{margin:4px 0 0;color:#1a405f;font-size:17px}.scada-alert-live,.scada-alert-source-state,.scada-alert-ok-badge,.scada-alert-count,.scada-alert-mini-label{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#f1f6fb;color:#688098;font-size:11px;font-weight:750;white-space:nowrap}.scada-alert-live i,.scada-alert-source-state i{width:7px;height:7px;border-radius:50%;background:#8aa0b4}.scada-alert-live.running i,.scada-alert-source-state.is-ok i{background:#20a86d;box-shadow:0 0 0 4px rgba(32,168,109,.11)}.scada-alert-live.pumping i{background:#1784e7}.scada-alert-live.stopped i,.scada-alert-source-state.is-warn i{background:#e5a21d}.scada-alert-ok-badge{background:#eaf8f1;color:#19875a}.scada-alert-count{background:#fff3df;color:#a96600}.scada-alert-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#e8f0f7}.scada-alert-status-grid>div{min-width:0;padding:18px 20px;background:#fff}.scada-alert-status-grid span{display:block;color:#71869a;font-size:11px}.scada-alert-status-grid strong{display:inline-block;margin-top:5px;color:#173f62;font-size:25px}.scada-alert-status-grid strong.is-text{font-size:17px}.scada-alert-status-grid small{margin-left:5px;color:#8497a9;font-size:10px}.scada-alert-list{padding:14px;display:grid;gap:11px}.scada-alert-card{position:relative;display:flex;gap:12px;padding:15px;border:1px solid #eed9b3;border-radius:16px;background:linear-gradient(135deg,#fffefa,#fff9ed)}.scada-alert-card.critical{border-color:#efcaca;background:linear-gradient(135deg,#fff,#fff3f3)}.scada-alert-card-mark{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#fff0ce;color:#b97500;font-size:18px;font-weight:900}.scada-alert-card.critical .scada-alert-card-mark{background:#ffe2e2;color:#bd3030}.scada-alert-card-main{min-width:0;flex:1}.scada-alert-card-top{display:flex;justify-content:space-between;gap:10px}.scada-alert-area{display:block;color:#8c7650;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.scada-alert-card.critical .scada-alert-area{color:#a86666}.scada-alert-card h4{margin:3px 0;color:#2e4c63;font-size:15px}.scada-alert-level{height:max-content;padding:5px 8px;border-radius:999px;background:#ffe9bc;color:#9e6500;font-size:10px;font-weight:850}.scada-alert-card.critical .scada-alert-level{background:#ffdede;color:#ad2525}.scada-alert-reading{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-top:10px}.scada-alert-reading strong{color:#143b5b;font-size:21px}.scada-alert-reading span{color:#73869a;font-size:11px}.scada-alert-condition,.scada-alert-note{margin:8px 0 0;color:#657c91;font-size:11px;line-height:1.5}.scada-alert-note{padding:7px 9px;border-radius:8px;background:rgba(255,255,255,.75)}.scada-alert-card footer{display:flex;justify-content:space-between;gap:10px;margin-top:10px;padding-top:9px;border-top:1px dashed rgba(83,111,136,.17);color:#8a9aac;font-size:10px}.scada-alert-empty{padding:32px 20px;text-align:center}.scada-alert-empty>div{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 11px;border-radius:50%;background:#eaf8f1;color:#1a9663;font-size:22px}.scada-alert-empty h4{margin:0;color:#28506e}.scada-alert-empty p{max-width:500px;margin:7px auto 0;color:#7b90a3;font-size:12px;line-height:1.6}.scada-alert-empty.compact{padding:20px}.scada-alert-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}.scada-alert-compare-grid article{padding:15px;border:1px solid #e4edf5;border-radius:14px;background:#fbfdff}.scada-alert-compare-grid article>span{color:#8295a8;font-size:10px;text-transform:uppercase;font-weight:750}.scada-alert-compare-grid h4{margin:5px 0 10px;color:#274a67;font-size:14px}.scada-alert-compare-grid small{display:block;margin-top:9px;color:#8da0b1;font-size:10px;line-height:1.4}.scada-alert-delta{display:inline-flex;padding:5px 8px;border-radius:8px;font-size:12px;font-weight:800}.scada-alert-delta.up{background:#e8f7ef;color:#168455}.scada-alert-delta.down{background:#fff0ec;color:#bd5638}.scada-alert-delta.neutral{background:#f0f4f8;color:#6f8498}.scada-alert-compare-value{color:#41647f;font-size:12px}.scada-alert-trend-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px}.scada-alert-trend-card{padding:13px;border:1px solid #e2ecf5;border-radius:14px;background:linear-gradient(180deg,#fff,#f9fcff);color:#1675e8}.scada-alert-trend-card:nth-child(3){color:#12946e}.scada-alert-trend-card:nth-child(4){color:#d0633e}.scada-alert-trend-card header{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.scada-alert-trend-card header span{color:#8a9daf;font-size:9px;text-transform:uppercase}.scada-alert-trend-card h4{margin:3px 0 0;color:#31516a;font-size:12px}.scada-alert-trend-card header strong{color:#214761;font-size:16px;text-align:right}.scada-alert-trend-card header small{display:block;color:#91a2b1;font-size:8px;font-weight:600}.scada-alert-spark{width:100%;height:66px;margin-top:10px;overflow:visible}.scada-alert-spark polyline{stroke:currentColor;stroke-width:1.7}.scada-alert-trend-card footer{display:flex;justify-content:space-between;color:#94a4b4;font-size:8px}.scada-alert-chart-empty{height:66px;display:grid;place-items:center;margin-top:10px;border-radius:8px;background:#f4f7fa;color:#9aaab7;font-size:10px}.scada-alert-config{margin-top:0}.scada-alert-source-card{display:grid;grid-template-columns:1.2fr .45fr .7fr;gap:1px;background:#e9f0f6}.scada-alert-source-card>div{min-width:0;padding:14px 18px;background:#fafdff}.scada-alert-source-card span{display:block;color:#8296a9;font-size:9px;text-transform:uppercase}.scada-alert-source-card strong{display:block;margin-top:4px;color:#31516c;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scada-alert-rule-list{display:grid}.scada-alert-rule-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border-top:1px solid #edf2f6}.scada-alert-rule-row:first-child{border-top:0}.scada-alert-rule-row>div:first-child{min-width:0}.scada-alert-rule-row>div:first-child>span{display:block;color:#2b7fca;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.scada-alert-rule-row strong{display:block;margin-top:2px;color:#2e4c64;font-size:12px}.scada-alert-rule-row small{display:block;margin-top:3px;color:#8b9aaa;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:620px}.scada-alert-rule-range{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto}.scada-alert-rule-range>b{color:#365a73;font-size:11px}.scada-alert-rule-range span{padding:4px 7px;border-radius:999px;font-size:9px;font-weight:800}.scada-alert-rule-range span.auto{background:#e6f4ff;color:#1972be}.scada-alert-rule-range span.manual{background:#f0f2f5;color:#788896}@keyframes scadaAlertSpin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.scada-alert-loading i{animation:none}}@media (max-width:1100px){.scada-alert-kpi-grid{grid-template-columns:1fr 1fr}.scada-alert-layout-main{grid-template-columns:1fr}.scada-alert-trend-grid{grid-template-columns:repeat(4,1fr)}}@media (max-width:760px){.scada-alert-v2{padding-bottom:30px}.scada-alert-hero{padding:22px 20px;border-radius:20px;align-items:flex-start}.scada-alert-hero h2{font-size:26px}.scada-alert-hero p{font-size:13px}.scada-alert-hero-orbit{width:76px;height:76px;margin-top:5px}.scada-alert-hero-orbit:before{inset:3px}.scada-alert-hero-orbit:after{inset:15px}.scada-alert-hero-orbit>span{inset:25px}.scada-alert-hero-orbit>i{width:7px;height:7px;transform:translate(25px,-17px)}.scada-alert-hero-orbit>b{font-size:8px}.scada-alert-controls{grid-template-columns:1fr 1fr}.scada-alert-controls .button{grid-column:1/-1}.scada-alert-kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.scada-alert-kpi{min-height:92px;padding:13px;gap:9px}.scada-alert-kpi-icon{width:35px;height:35px;border-radius:10px}.scada-alert-kpi strong{font-size:22px}.scada-alert-kpi small{font-size:9px}.scada-alert-section-head{align-items:flex-start;padding:16px}.scada-alert-section-head h3{font-size:15px}.scada-alert-live,.scada-alert-source-state,.scada-alert-ok-badge,.scada-alert-count,.scada-alert-mini-label{font-size:9px;padding:6px 8px}.scada-alert-status-grid{grid-template-columns:1fr}.scada-alert-status-grid>div{padding:14px 16px}.scada-alert-card{padding:12px}.scada-alert-card-top{display:block}.scada-alert-level{display:inline-flex;margin-top:5px}.scada-alert-card footer{display:grid;gap:4px}.scada-alert-compare-grid{grid-template-columns:1fr}.scada-alert-trend-grid{grid-template-columns:1fr 1fr}.scada-alert-source-card{grid-template-columns:1fr}.scada-alert-rule-row{align-items:flex-start;padding:12px 15px}.scada-alert-rule-range{display:grid;text-align:right}.scada-alert-rule-row small{max-width:52vw}}@media (max-width:480px){.scada-alert-hero-orbit{display:none}.scada-alert-controls{grid-template-columns:1fr}.scada-alert-controls .button{grid-column:auto}.scada-alert-kpi-grid{grid-template-columns:1fr}.scada-alert-trend-grid{grid-template-columns:1fr}.scada-alert-rule-row{display:grid}.scada-alert-rule-range{display:flex;justify-content:flex-start;text-align:left}.scada-alert-rule-row small{max-width:none}}
