/* Russia's template-specific monitoring surface; shared tables and H5 are untouched. */
.xc-stab-rubin{--xs-bg:#081522;--xs-panel:#102739;--xs-line:#2b475a;--xs-muted:#b0c6d6;--xs-accent:#73e6cc;background:radial-gradient(ellipse at 85% 0,#153d4a 0,transparent 48%),linear-gradient(145deg,#0c2032,#07131f);border:1px solid #294556;border-radius:18px;padding:26px;box-shadow:0 16px 40px #0a1c2f18;font-family:Inter,"Segoe UI",Arial,"Microsoft YaHei",sans-serif}
.xc-stab-rubin .xc-stab-header{gap:18px;padding-bottom:20px;border-bottom:1px solid #2b4658}
.xc-stab-rubin .xc-stab-header h2{font-size:clamp(24px,2.1vw,34px);font-weight:650;letter-spacing:-.5px;line-height:1.25;max-width:720px;margin:10px 0}
.xc-stab-rubin .xc-stab-eyebrow{font-size:11px;font-weight:650;letter-spacing:1.6px;color:#9abacb}
.xc-stab-rubin .xc-stab-header>.xc-stab-actions{margin-left:auto}
.xc-stab-rubin .xc-stab-actions button{font-size:13px;line-height:1.35;white-space:normal;border-radius:9px;padding:9px 12px;min-height:42px}
.xc-stab-rubin .xc-stab-actions .xc-stab-refresh{background:#68dfc4;border-color:#68dfc4;color:#062e29;font-weight:650}
.xc-stab-rubin .xc-stab-refresh:hover{background:#8aedd7}
.xc-stab-rubin .xc-stab-sync{padding:12px 0;margin-bottom:18px;border-bottom:0;font-size:12px}
.xc-stab-rubin .xc-stab-energy{grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);gap:20px;padding:12px 0;background-size:28px 28px}
.xc-stab-rubin .xc-stab-voltage{border-radius:16px;min-height:230px;padding:24px;background:linear-gradient(145deg,#16334d,#102437);border-color:#38627e}
.xc-stab-rubin .xc-stab-output{background:linear-gradient(145deg,#17483f,#102d32);border-color:#35756b}
.xc-stab-rubin .xc-stab-voltage h3{font-size:16px;color:#d9eaf6;line-height:1.4;min-height:44px}
.xc-stab-rubin .xc-stab-voltage .xc-stab-reading strong{font-size:clamp(42px,5.4cqw,82px);letter-spacing:-2px;font-variant-numeric:tabular-nums;font-weight:600}
.xc-stab-rubin .xc-stab-output .xc-stab-reading strong{color:#90f2d8}
.xc-stab-rubin .xc-stab-machine .xc-stab-eyebrow{letter-spacing:1px;font-size:10px;text-align:center}
.xc-stab-rubin .xc-stab-state{font-size:12px;max-width:100%;line-height:1.4;padding:7px 9px;overflow-wrap:anywhere}
.xc-stab-rubin .xc-stab-cabinet{height:174px;width:160px}
.xc-stab-rubin .xc-stab-grid{gap:12px}
.xc-stab-rubin .xc-stab-grid .xc-stab-metric{padding:18px;border-radius:12px;background:#102537;min-height:160px}
.xc-stab-rubin .xc-stab-grid h3{min-height:42px;line-height:1.4;font-size:13px}
.xc-stab-rubin .xc-stab-grid .xc-stab-reading strong{font-size:clamp(26px,2.7cqw,42px);font-weight:550;letter-spacing:-.8px}
.xc-stab-rubin .xc-stab-point-time{font-size:11px;line-height:1.45;color:#a8c0d1}
.xc-stab-rubin .is-stale:before{background:#d2b788}
.xc-stab-rubin .xc-stab-bottom{gap:24px;padding:16px 20px;background:#0e2232}
.xc-stab-rubin .xc-stab-bottom>div{gap:12px;flex-wrap:wrap}
.xc-stab-rubin .xc-stab-bottom strong{font-size:14px}
.xc-stab-rubin .xc-stab-section-title{margin-top:24px}
.xc-stab-rubin .xc-stab-alarms .xc-stab-section-title h3{font-size:21px}
.xc-stab-rubin button.xc-stab-alarm-tab{min-height:122px;padding:16px;border-radius:12px;gap:6px}
.xc-stab-rubin .xc-stab-alarm-tab strong{font-size:14px;line-height:1.4;max-width:92%}
.xc-stab-rubin .xc-stab-alarm-tab .xc-stab-alarm-number{font-size:35px;color:#37586a}
.xc-stab-rubin .xc-stab-alarm-detail{padding:22px;border-radius:14px}
.xc-stab-rubin .xc-stab-alarm-snapshot{gap:16px}
.xc-stab-rubin .xc-stab-alarm-snapshot>div>span{display:block;min-height:36px;line-height:1.4}
.xc-stab-rubin .xc-stab-footer{line-height:1.65;font-size:12px}
.xc-stab-rubin:fullscreen{border:0;border-radius:0;padding:30px clamp(24px,5vw,100px);max-height:none}
@container(max-width:1000px){.xc-stab-rubin .xc-stab-header>.xc-stab-actions{margin-left:0}.xc-stab-rubin .xc-stab-energy{grid-template-columns:minmax(0,1fr) 145px minmax(0,1fr);gap:12px}.xc-stab-rubin .xc-stab-cabinet{width:130px;height:160px}.xc-stab-rubin .xc-stab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.xc-stab-rubin .xc-stab-alarm-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container(max-width:650px){.xc-stab-rubin{padding:16px}.xc-stab-rubin .xc-stab-energy{grid-template-columns:repeat(2,minmax(0,1fr))}.xc-stab-rubin .xc-stab-machine{grid-column:1/-1;grid-row:2;flex-direction:row;justify-content:center;gap:12px;border:1px solid var(--xs-line);border-radius:12px;padding:12px}.xc-stab-rubin .xc-stab-cabinet{width:64px;height:76px}.xc-stab-rubin .xc-stab-machine>small,.xc-stab-rubin .xc-stab-machine>.xc-stab-eyebrow{display:none}.xc-stab-rubin .xc-stab-voltage{padding:16px;min-height:205px}.xc-stab-rubin .xc-stab-voltage h3{font-size:14px}.xc-stab-rubin .xc-stab-voltage .xc-stab-reading strong{font-size:40px}.xc-stab-rubin .xc-stab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xc-stab-rubin .xc-stab-alarm-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.xc-stab-rubin .xc-stab-bottom{grid-template-columns:1fr}.xc-stab-rubin .xc-stab-alarm-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.xc-stab-rubin *{animation:none!important;transition:none!important}}
