/* СГЕНЕРИРОВАНО tools/site/sync_main.py из стилей tools/dashboard/template.html — руками не править.
   Всё ограничено контейнером .mxs; плитки KPI, шторка и оболочка — стили сайта (app.css). */
.mxs{font-size:14px; line-height:1.5; color:var(--text)}
.mxs h3{margin:0; font-weight:600; letter-spacing:-.01em}
.mxs .num, .mxs td, .mxs .val{font-variant-numeric:tabular-nums}
.mxs button{font:inherit}
.mxs{color-scheme:light;
    
    --ink:#16191A; --surface:#FFFFFF; --muted:#F1F3F2; --border:#E4E7E5;
    --brand:#00ae4d; --brand-red:#d63c38; --brand-yellow:#f8d949;
    --primary:#00ae4d; --primary-dark:#007A37; --primary-text:#007A37; --mx-success:#00ae4d; --mx-warning:#f8d949;
    --mx-danger:#d63c38; --text-muted:#646C68;
    --text:#16191A; --text-2:#434A47;
    --page:#F6F7F6; --hover:#F9FAF9; --grid:#EDEFEE; --axis:#C8CECB; --zebra:#FAFBFA;
    --on-primary:#FFFFFF;
    
    --s1:#00ae4d; --s2:#5E6662; --s3:#A7AEAA; --s4:#8FD6AC; --gray:#CDD3D0;
    --seq1:#E5F6EC; --seq2:#B2E4C6; --seq3:#62CA8E; --seq4:#00ae4d; --seq5:#007A37;
    --ok-text:#007A37; --ok-bg:#E5F6EC; --warn-text:#6B5800; --warn-bg:#FDF5D2; --bad-text:#B32F2B; --bad-bg:#FBE8E7;
    --primary-bg:#E5F6EC;
    --r-card:16px; --r-btn:12px;
    --shadow:none; --shadow-hover:none;
    --shadow-pop:0 12px 32px rgba(22,25,26,.14), 0 2px 6px rgba(22,25,26,.06);
    --heat-lo:rgba(0,174,77,.05); --heat-hi:rgba(0,174,77,.24);
    --ring-ok:rgba(0,174,77,.18); --ring-warn:rgba(248,217,73,.35);
    --pill:#00ae4d; --chip-ink:#007A37;
    --plate:#00ae4d; --on-plate:#FFFFFF;
    
    --splash:#141615; --splash-text:#9AA39F;}
:root[data-theme="dark"] .mxs{color-scheme:dark;
    
    --ink:#ECEFED; --surface:#1B1E1D; --muted:#232726; --border:#2C302E;
    --brand:#00ae4d; --brand-red:#d63c38; --brand-yellow:#f8d949;
    --primary:#00ae4d; --primary-dark:#00ae4d; --primary-text:#1FC265; --mx-success:#00ae4d; --mx-warning:#f8d949;
    --mx-danger:#d63c38; --text-muted:#949C98;
    --text:#ECEFED; --text-2:#C3C9C6;
    --page:#131514; --hover:#202423; --grid:#262A28; --axis:#3D4340; --zebra:#1E2120;
    --on-primary:#131514;
    --s1:#00ae4d; --s2:#A9B0AC; --s3:#6A726E; --s4:#11703A; --gray:#3E4441;
    --seq1:#14271C; --seq2:#154E2D; --seq3:#0E7C3E; --seq4:#00ae4d; --seq5:#7FDDA5;
    --ok-text:#4FD48A; --ok-bg:#12291C; --warn-text:#f8d949; --warn-bg:#2B2711; --bad-text:#F2837F; --bad-bg:#321B1A;
    --primary-bg:#12291C;
    --shadow-pop:0 12px 32px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.35);
    --heat-lo:rgba(0,174,77,.07); --heat-hi:rgba(0,174,77,.30);
    --ring-ok:rgba(0,174,77,.22); --ring-warn:rgba(248,217,73,.25);
    --pill:#00ae4d; --chip-ink:#6FDB9C;
    --plate:#00ae4d; --on-plate:#FFFFFF;
    --splash:#141615; --splash-text:#9AA39F;}
.mxs .card{background:var(--surface); border:1px solid var(--border); border-radius:var(--r-card)}
.mxs .tab > .sec-head + *{margin-top:0}
.mxs .grid12{display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px}
.mxs .grid12 > *{grid-column:span 12; min-width:0}
.mxs .sec > * + *{margin-top:16px}
.mxs td,.mxs .val{font-variant-numeric:tabular-nums}
.mxs .lv .st.tap{cursor:pointer; -webkit-tap-highlight-color:transparent; touch-action:manipulation; -webkit-user-select:none; user-select:none;
    transition:transform .18s cubic-bezier(.32,.72,0,1), background-color .15s, border-color .15s}
@media (hover:hover){
  .mxs .lv .st.tap:hover{background:var(--hover)}
}
.mxs .lv .st.tap:active{transform:scale(.97)}
.mxs .lv .st.tap:active{background:var(--border)}
.mxs .per-line{font-size:12.5px; color:var(--text-muted); line-height:1.4; padding:0 2px; font-variant-numeric:tabular-nums}
.mxs .per-line b{color:var(--text-2); font-weight:600}
.mxs .foldbar.has-per{justify-content:space-between; gap:12px}
.mxs .foldbar.has-per .per-line{min-width:0; flex:1 1 auto}
.mxs .foldbar button{white-space:nowrap; flex:0 0 auto}
.mxs .chart{padding:20px 24px; display:flex; flex-direction:column; gap:0; min-width:0}
.mxs .chart > .head{display:flex; align-items:center; justify-content:space-between; gap:10px;
    margin:-8px; padding:8px; border-radius:var(--r-btn); min-height:44px;
    cursor:pointer; user-select:none; -webkit-tap-highlight-color:transparent; touch-action:manipulation;
    transition:background .15s}
@media (hover:hover){
  .mxs .chart > .head:hover{background:var(--hover)}
}
.mxs .chart > .head:active{background:var(--muted)}
.mxs .chart .head .htx{min-width:0; flex:1 1 auto}
.mxs .chart .head .hact{flex:0 0 auto; display:flex; align-items:center; gap:2px}
.mxs .chart h3{font-size:15px; font-weight:600; line-height:1.35; letter-spacing:-.01em}
.mxs .chart.open > .head{align-items:flex-start}
.mxs .chart.open > .head .hact{margin-top:-6px}
.mxs .chart .ttl{font-size:15px; font-weight:600; line-height:1.35; letter-spacing:-.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.mxs .chart .sum{font-size:12.5px; color:var(--text-muted); line-height:1.35; margin-top:2px; font-variant-numeric:tabular-nums;
    overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical}
.mxs .chart .body{flex:1; min-width:0}
.mxs .chart .body > * + *{margin-top:16px}
.mxs .chart .body > .legend + *{margin-top:12px}
.mxs .chart .chev{flex:0 0 auto; width:28px; height:28px; display:inline-flex; align-items:center; justify-content:center; color:var(--text-muted)}
.mxs .chart .chev svg{width:16px; height:16px; transition:transform .24s cubic-bezier(.4,0,.2,1)}
.mxs .chart.open .chev svg{transform:rotate(180deg)}
.mxs .chart > .fold{overflow:hidden; height:0; transition:height .26s cubic-bezier(.4,0,.2,1)}
.mxs .chart.open > .fold{height:auto}
.mxs .chart .foldin{display:flex; flex-direction:column; gap:16px; padding-top:16px}
.mxs .chart:not(.open) > .head h3,.mxs .chart:not(.open) > .head .src,.mxs .chart:not(.open) > .head .qbtn{display:none}
.mxs .chart.open > .head .ttl,.mxs .chart.open > .head .sum{display:none}
.mxs .foldbar{display:flex; justify-content:flex-end; align-items:center; padding:0; margin-bottom:-4px}
.mxs .foldbar button{display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:500; color:var(--text-muted);
    background:transparent; border:0; border-radius:var(--r-btn); padding:0 8px; min-height:32px;
    cursor:pointer; transition:color .15s, background .15s}
.mxs .foldbar button:hover{color:var(--text); background:var(--muted)}
.mxs .foldbar button svg{width:14px; height:14px; flex:0 0 auto}
.mxs .qbtn{flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:500; color:var(--text-muted); background:transparent; border:0; border-radius:var(--r-btn); padding:6px 10px; min-height:32px; cursor:pointer; transition:all .15s}
.mxs .qbtn:hover{color:var(--text); background:var(--muted)}
.mxs .qbtn[aria-expanded="true"]{color:var(--primary-text); background:var(--primary-bg)}
.mxs .qbtn svg{width:14px; height:14px}
.mxs .legend{display:flex; gap:16px; flex-wrap:wrap; align-items:center; font-size:12px; color:var(--text-muted)}
.mxs .legend i{width:10px;height:10px;border-radius:3px;display:inline-block;margin-right:6px;vertical-align:-1px}
.mxs .legend i.line{height:2px; width:14px; border-radius:1px; vertical-align:3px}
.mxs .legend i.ring{background:transparent; border:2px solid var(--s1); border-radius:50%; width:9px; height:9px}
.mxs .legend i.dotf{border-radius:50%}
.mxs details.tv{margin-top:2px}
.mxs details.tv summary{display:none}
.mxs details.tv table{margin-top:4px; min-width:0}
.mxs .empty,.mxs .lv .gate{position:relative; border-radius:var(--r-btn); padding:16px 16px 16px 48px; min-height:56px; display:flex; flex-direction:column; justify-content:center; gap:4px;
    color:var(--text-muted); font-size:13px; line-height:1.45; background:var(--muted)}
.mxs .empty b,.mxs .lv .gate b{color:var(--text); display:block; font-size:13.5px; font-weight:600; line-height:1.35}
.mxs .lv .gate span{font-size:13px; color:var(--text-muted); line-height:1.45}
.mxs .empty::before,.mxs .lv .gate::before{content:''; position:absolute; left:16px; top:16px; width:20px; height:20px; border-radius:50%;
    box-shadow:inset 0 0 0 2px var(--axis)}
.mxs .empty::after,.mxs .lv .gate::after{content:''; position:absolute; left:22px; top:25px; width:8px; height:2px; border-radius:2px; background:var(--axis)}
.mxs .empty.wait::before,.mxs .lv .gate.wait::before{box-shadow:inset 0 0 0 2px var(--grid); border-top:2px solid var(--primary); box-sizing:border-box; animation:mxs-spin .9s linear infinite}
.mxs .empty.wait::after,.mxs .lv .gate.wait::after{display:none}
.mxs .lv .gate.bad::before,.mxs .empty.bad::before{box-shadow:inset 0 0 0 2px var(--mx-danger)}
.mxs .lv .gate.bad::after,.mxs .empty.bad::after{background:var(--mx-danger)}
@keyframes mxs-spin{to{transform:rotate(360deg)}}
.mxs .note{border-radius:var(--r-btn); padding:12px 16px; font-size:12.5px; line-height:1.45; background:var(--muted); color:var(--text-2)}
.mxs .note.warn{background:var(--warn-bg); color:var(--warn-text)}
.mxs .note.bad{background:var(--bad-bg); color:var(--bad-text)}
.mxs .note.ok{background:var(--ok-bg); color:var(--ok-text)}
.mxs .hb{display:flex; flex-direction:column; gap:8px}
.mxs .hb .row{display:grid; grid-template-columns:var(--lw,140px) minmax(0,1fr) auto; align-items:center; gap:12px; min-height:24px; border-radius:6px}
.mxs .hb .lbl{font-size:13px; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.mxs .hb .lbl small{display:block; font-size:11px; color:var(--text-muted); line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.mxs .hb .track{height:12px; position:relative; display:flex; gap:2px; align-items:stretch; min-width:0}
.mxs .hb .fill{height:100%; background:var(--s1); border-radius:0 3px 3px 0; min-width:2px; transition:filter .12s}
.mxs .hb .fill.zero{min-width:0}
.mxs .hb .fill.gray{background:var(--gray)}
.mxs .hb .fill.s2{background:var(--s2)}
.mxs .hb .fill.s3{background:var(--s3)}
.mxs .hb .fill.s4{background:var(--s4)}
.mxs .hb .fill.ok{background:var(--mx-success)}
.mxs .hb .fill.bad{background:var(--mx-danger)}
.mxs .hb .fill.warn{background:var(--mx-warning)}
.mxs .hb .track.stack .fill{border-radius:0}
.mxs .hb .track.stack .fill:last-child{border-radius:0 3px 3px 0}
.mxs .hb .row:hover .fill{filter:brightness(1.06)}
.mxs .hb .val{font-size:13px; font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; text-align:right; min-width:var(--vw,auto)}
.mxs .hb .val small{font-weight:400; color:var(--text-muted); margin-left:4px}
.mxs .hb .axis{display:flex; justify-content:space-between; font-size:11px; color:var(--text-muted); padding-left:calc(var(--lw,140px) + 12px); margin-top:-2px}
.mxs .svgwrap{position:relative}
.mxs .svgwrap svg{display:block; width:100%; height:auto; overflow:visible}
.mxs .svgwrap text{font-family:inherit; font-size:11px; fill:var(--text-muted); font-variant-numeric:tabular-nums}
.mxs .svgwrap .grid line{stroke:var(--grid); stroke-width:1}
.mxs .svgwrap .axis line{stroke:var(--axis); stroke-width:1}
.mxs .svgwrap .ln{fill:none; stroke-width:2; stroke-linejoin:round; stroke-linecap:round}
.mxs .svgwrap .area{opacity:.08}
.mxs .svgwrap .cross{stroke:var(--axis); stroke-width:1; opacity:0}
.mxs .svgwrap .mk{stroke:var(--surface); stroke-width:2; opacity:0}
.mxs .svgwrap .hit{fill:transparent; cursor:crosshair}
.mxs .svgwrap .endlbl{fill:var(--text); font-weight:600; font-size:11.5px}
.mxs .svgwrap .band{fill:var(--primary); opacity:.06}
.mxs .svgwrap .bandlbl{fill:var(--text-muted); font-size:10.5px}
.mxs .svgwrap .rowlbl{fill:var(--text); font-size:12.5px}
.mxs .svgwrap .dumb{stroke:var(--axis); stroke-width:2}
.mxs .svgwrap .d30{fill:var(--s1); stroke:var(--surface); stroke-width:2}
.mxs .svgwrap .daug{fill:var(--surface); stroke:var(--s2); stroke-width:2}
.mxs .svgwrap .vlbl{fill:var(--text); font-size:11.5px; font-weight:600}
.mxs .svgwrap .hitrow{fill:transparent}
.mxs .svgwrap .hitrow:hover{fill:var(--muted)}
.mxs .svgwrap .col{fill:var(--s1)}
.mxs .svgwrap .col.dim{fill:var(--gray)}
.mxs .svgwrap .col:hover{filter:brightness(1.06)}
.mxs .svgwrap .collbl{fill:var(--text); font-size:11px; font-weight:600}
.mxs #tip{position:fixed; z-index:50; pointer-events:none; background:var(--surface); color:var(--text); border:1px solid var(--border); border-radius:10px; padding:10px 12px; font-size:12.5px; line-height:1.45; box-shadow:var(--shadow-pop); opacity:0; transition:opacity .1s; max-width:300px}
.mxs #tip .t{font-weight:600; margin-bottom:5px; color:var(--text); font-size:12px}
.mxs #tip .r{display:flex; align-items:center; gap:14px; justify-content:space-between; white-space:nowrap; color:var(--text-2)}
.mxs #tip .r b{font-weight:600; color:var(--text); font-variant-numeric:tabular-nums}
.mxs #tip .r i{width:10px; height:10px; border-radius:3px; display:inline-block; margin-right:7px; vertical-align:-1px}
.mxs .meter{margin-top:6px}
.mxs .meter .num{display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; margin-bottom:12px}
.mxs .meter .num b{font-size:28px; font-weight:700; letter-spacing:-.03em; font-variant-numeric:tabular-nums}
.mxs .meter .num span{font-size:12.5px; color:var(--text-muted)}
.mxs .meter .track{height:10px; position:relative; border-radius:999px; background:var(--muted); margin-top:30px}
.mxs .meter .fill{height:100%; border-radius:999px; background:var(--mx-danger)}
.mxs .meter .fill.ok{background:var(--mx-success)}
.mxs .meter .marker{position:absolute; top:-5px; bottom:-5px; width:2px; background:var(--ink); opacity:.8}
.mxs .meter .marker::after{content:attr(data-l); position:absolute; top:-20px; left:50%; transform:translateX(-50%); font-size:10.5px; color:var(--text); white-space:nowrap; font-weight:600}
.mxs .meter .scale{display:flex; justify-content:space-between; font-size:11px; color:var(--text-muted); margin-top:8px}
.mxs .meter .facts{display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; margin-top:14px; font-size:12.5px}
.mxs .meter .facts div{display:flex; justify-content:space-between; gap:8px; border-bottom:1px solid var(--border); padding:6px 0}
.mxs .meter .facts span{color:var(--text-muted)}
.mxs .meter .facts b{font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums}
.mxs .tablescroll{overflow-x:auto; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; scrollbar-width:thin}
.mxs table{border-collapse:collapse; width:100%; font-size:12.5px}
.mxs thead th{text-align:right; font-weight:600; font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em;
    padding:8px 12px; border-bottom:1px solid var(--border); white-space:nowrap; background:transparent}
.mxs thead th:first-child,.mxs tbody td:first-child,.mxs tfoot td:first-child{text-align:left}
.mxs tbody td{padding:9px 12px; border-bottom:1px solid var(--border); text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums}
.mxs tbody td.l,.mxs tbody td.lm{text-align:left; white-space:normal}
.mxs tbody td.l > .mini{display:block; margin:0 0 6px}
.mxs tbody tr:last-child td{border-bottom:0}
.mxs tbody tr:hover td{background:var(--hover)}
.mxs tbody td.heat{box-shadow:inset 3px 0 0 var(--heat-c, transparent)}
.mxs tfoot td{padding:10px 12px; text-align:right; font-weight:700; border-top:1px solid var(--axis); white-space:nowrap; font-variant-numeric:tabular-nums}
.mxs .pt-name{font-weight:600; white-space:nowrap}
.mxs .pt-sub{color:var(--text-muted); font-size:11.5px; font-weight:400; white-space:nowrap}
.mxs .pill{display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:600; padding:3px 9px; border-radius:999px; white-space:nowrap; font-variant-numeric:tabular-nums}
.mxs .pill.ok{color:var(--ok-text); background:var(--ok-bg)}
.mxs .pill.warn{color:var(--warn-text); background:var(--warn-bg)}
.mxs .pill.bad{color:var(--bad-text); background:var(--bad-bg)}
.mxs .pill.n{color:var(--text-muted); background:var(--muted)}
.mxs .pill svg{width:10px;height:10px}
.mxs .mini{display:inline-block; width:64px; height:6px; background:var(--muted); border-radius:999px; vertical-align:middle; margin-right:8px; position:relative; overflow:hidden}
.mxs .mini i{position:absolute; left:0; top:0; bottom:0; background:var(--s1); border-radius:999px}
.mxs .mini i.warn{background:var(--mx-warning)}
.mxs .mini i.bad{background:var(--mx-danger)}
.mxs .revs{display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:8px}
.mxs .rev{border-radius:var(--r-btn); padding:12px 16px; display:flex; flex-direction:column; gap:6px; background:var(--muted)}
.mxs .rev .h{display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap; font-size:12px; color:var(--text-muted)}
.mxs .rev .h b{color:var(--text); font-weight:600}
.mxs .rev .t{font-size:13px; line-height:1.45; color:var(--text-2)}
.mxs .stars{color:var(--bad-text); font-weight:700; letter-spacing:.02em}
.mxs .lv{display:flex; flex-direction:column; gap:16px}
.mxs .lv > h4 + *{margin-top:-8px}
.mxs .lv .bar{display:flex; gap:12px; align-items:center; flex-wrap:wrap; justify-content:space-between}
.mxs .lv .stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:8px}
.mxs .lv .st{border-radius:var(--r-btn); padding:12px 16px; background:var(--muted); display:flex; flex-direction:column; gap:2px; min-width:0}
.mxs .lv .st > span{font-size:11.5px; color:var(--text-muted)}
.mxs .lv .st > b{font-size:20px; font-weight:700; letter-spacing:-.02em; font-variant-numeric:tabular-nums; line-height:1.2; white-space:nowrap}
.mxs .lv .st > b .unit,.mxs .ptc .big .unit{font-size:12px; font-weight:500; color:var(--text-muted); margin-left:4px; letter-spacing:0}
.mxs .lv .st > small{font-size:11.5px; color:var(--text-muted)}
.mxs .lv h4{margin:0; font-size:13px; font-weight:600; letter-spacing:-.01em; color:var(--text); line-height:1.35}
.mxs .lv .q{display:flex; flex-direction:column; gap:8px}
.mxs .lv .qi{border:1px solid var(--border); border-radius:var(--r-btn); background:var(--surface); padding:12px 16px; display:flex; flex-direction:column; gap:8px}
.mxs .lv .qi.stop{border-color:var(--mx-danger)}
.mxs .lv .qi .h{display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; align-items:center; font-size:12px; color:var(--text-muted)}
.mxs .lv .qi .h b{color:var(--text); font-weight:600}
.mxs .lv .qi .g{font-size:13px; line-height:1.45; color:var(--text-2)}
.mxs .lv .qi .a{font-size:13px; line-height:1.45; color:var(--text); border-left:3px solid var(--primary); padding-left:10px}
.mxs .lv .qi .m{font-size:11.5px; color:var(--text-muted); line-height:1.45}
.mxs .lv .act{display:flex; gap:8px; flex-wrap:wrap; align-items:center}
.mxs .lv .act input{font:inherit; font-size:12.5px; flex:1 1 200px; min-width:140px; min-height:36px; padding:6px 10px; color:var(--text); background:var(--muted); border:1px solid var(--border); border-radius:var(--r-btn)}
.mxs .btn{font:inherit; font-size:12.5px; font-weight:600; border-radius:var(--r-btn); border:1px solid var(--border); background:var(--surface); color:var(--text); padding:7px 14px; min-height:36px; cursor:pointer; white-space:nowrap}
.mxs .btn:hover{background:var(--muted)}
.mxs .btn.p{background:var(--primary-dark); border-color:var(--primary-dark); color:var(--on-primary)}
.mxs .btn.p:hover{filter:brightness(1.08); background:var(--primary-dark)}
.mxs .btn.d{color:var(--bad-text); background:var(--bad-bg); border-color:transparent}
.mxs .btn.d:hover{background:var(--bad-bg); filter:brightness(.97)}
.mxs .btn[disabled]{opacity:.5; cursor:default}
.mxs .insmore{grid-column:1/-1; justify-self:center; display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:500; color:var(--text-2);
    background:transparent; border:0; border-radius:var(--r-btn); padding:0 14px; min-height:40px; cursor:pointer}
.mxs .insmore:hover{background:var(--muted); color:var(--text)}
.mxs .insmore svg{width:14px; height:14px}
.mxs .pt-top .bar .seg{flex-wrap:nowrap; overflow-x:auto; max-width:100%; scrollbar-width:none}
.mxs .pt-top .bar .seg::-webkit-scrollbar{display:none}
.mxs .pt-top .kpis{margin-top:0}
.mxs .ptl{display:flex; flex-direction:column}
.mxs .ptl .dh{font-size:12px; font-weight:600; color:var(--text-muted); padding:16px 0 4px; text-transform:none}
.mxs .ptl .dh:first-child{padding-top:0}
.mxs .ptl .r{display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:8px 0; border-bottom:1px solid var(--border); font-size:13px}
.mxs .ptl .r:last-child{border-bottom:0}
.mxs .ptl .r .l{min-width:0; display:flex; flex-wrap:wrap; gap:4px 8px; align-items:center; overflow-wrap:anywhere}
.mxs .ptl .r .l b{font-weight:600}
.mxs .ptl .r .l small{flex:1 1 100%; font-size:11.5px; color:var(--text-muted); line-height:1.4}
.mxs .ptl .pill{white-space:normal; line-height:1.35}
.mxs .ptl .r .v{font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; text-align:right}
.mxs .ptl .r .v small{display:block; font-weight:400; font-size:11px; color:var(--text-muted)}
.mxs .pln{display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:12px 32px}
.mxs .pln .t{display:flex; justify-content:space-between; gap:10px; font-size:13px}
.mxs .pln .t span{color:var(--text-2)}
.mxs .pln .t b{font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap}
.mxs .pln .tr{height:6px; border-radius:6px; background:var(--muted); margin-top:8px; overflow:hidden}
.mxs .pln .tr.off{display:none}
.mxs .pln .tr i{display:block; height:100%; border-radius:6px; background:var(--mx-success)}
.mxs .pln .tr i.warn{background:var(--mx-warning)}
.mxs .pln .tr i.bad{background:var(--mx-danger)}
.mxs .hb .row.go{cursor:pointer}
.mxs .pt2{display:grid; grid-template-columns:1fr 1fr; gap:16px 32px}
.mxs .pt2 > div{min-width:0; display:flex; flex-direction:column; gap:8px}
@media (max-width:820px){
  .mxs .pt2{grid-template-columns:1fr}
}
.mxs .ptg{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
.mxs .ptc{border-radius:var(--r-btn); padding:16px; background:var(--muted); display:flex; flex-direction:column; gap:8px; min-width:0}
.mxs .ptc .h{display:flex; align-items:baseline; justify-content:space-between; gap:8px}
.mxs .ptc .h b{font-size:14px; font-weight:600; letter-spacing:-.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.mxs .ptc .h span{font-size:11.5px; color:var(--text-muted); font-variant-numeric:tabular-nums; white-space:nowrap}
.mxs .ptc .big{font-size:22px; font-weight:700; letter-spacing:-.03em; font-variant-numeric:tabular-nums; line-height:1.15; white-space:nowrap}
.mxs .ptc .g{display:grid; grid-template-columns:1fr; gap:0; font-size:12.5px}
.mxs .ptc .g > div{display:flex; justify-content:space-between; align-items:baseline; gap:8px; border-bottom:1px solid var(--border); padding:6px 0}
.mxs .ptc .g > div:last-child{border-bottom:0}
.mxs .ptc .g span{color:var(--text-muted)}
.mxs .ptc .g b{font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap}
.mxs .ptc .g b.ok{color:var(--ok-text)}
.mxs .ptc .g b.warn{color:var(--warn-text)}
.mxs .ptc .g b.bad{color:var(--bad-text)}
.mxs .wg{display:flex; flex-direction:column; gap:12px}
.mxs .wg .g{border:1px solid var(--border); border-radius:var(--r-btn); overflow:hidden}
.mxs .wg .g > .t{padding:12px 16px; background:var(--muted); font-size:13px; font-weight:600; display:flex; justify-content:space-between; gap:12px; align-items:baseline}
.mxs .wg .g > .t small{font-weight:400; color:var(--text-muted); font-size:11.5px; text-align:right}
.mxs .wg .g .r{display:flex; justify-content:space-between; gap:12px; align-items:center; padding:8px 16px; border-top:1px solid var(--border); font-size:13px}
.mxs .wg .g .r .n{display:flex; align-items:center; gap:8px; min-width:0}
.mxs .wg .g .r .n > div{min-width:0}
.mxs .wg .g .r .n em{font-style:normal; font-weight:500}
.mxs .wg .g .r .n small{display:block; color:var(--text-muted); font-size:11.5px}
.mxs .wg .g .r .v{font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap}
.mxs .wg .g .r .v.bad{color:var(--bad-text)}
.mxs .wg .g .r .v.warn{color:var(--warn-text)}
.mxs .wg .dt{width:8px; height:8px; border-radius:50%; flex:0 0 auto; background:var(--mx-warning)}
.mxs .wg .dt.bad{background:var(--mx-danger)}
.mxs table.mx td.c{text-align:center; padding:7px 6px; font-variant-numeric:tabular-nums}
.mxs table.mx td.c.z{color:var(--text-muted)}
.mxs table.mx td.c b{display:inline-flex; min-width:22px; justify-content:center; padding:2px 6px; border-radius:6px; background:var(--primary-bg); color:var(--chip-ink); font-weight:600}
.mxs table.mx th.d{text-align:center; padding-left:6px; padding-right:6px}
.mxs .wl{display:flex; flex-wrap:wrap; gap:6px}
.mxs .wl > span{font-size:12px; border-radius:999px; padding:3px 10px; background:var(--muted); white-space:nowrap}
.mxs .wl > span i{font-style:normal; color:var(--text-muted); margin-left:6px; font-variant-numeric:tabular-nums}
@media (max-width:980px){
  .mxs .ptg{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:700px){
  .mxs .ptg{grid-template-columns:1fr}
}
.mxs .rt td .s{display:block; font-size:11.5px; color:var(--text-muted); font-weight:400; white-space:normal}
.mxs .rt tr.grp td{background:var(--muted); font-size:11px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em; text-align:left}
.mxs .rt tr.sub td{color:var(--text-2); font-size:12px}
.mxs .rt tr.sub td.l{padding-left:24px}
.mxs .rt tr.tot td{font-weight:700; background:var(--muted)}
.mxs .rt td.na{color:var(--text-muted)}
.mxs .rt td.hi{color:var(--bad-text); font-weight:600}
.mxs .fotf{display:flex; flex-wrap:wrap; gap:6px 16px; font-size:12px; color:var(--text-muted)}
.mxs .fotf b{color:var(--text); font-weight:600; font-variant-numeric:tabular-nums}
@media (max-width:700px){
  .mxs .rtw{border:0; border-radius:0; overflow:visible}
  .mxs .rt thead{display:none}
  .mxs .rt,.mxs .rt tbody{display:block; width:100%}
  .mxs .rt tbody tr{display:grid; grid-template-columns:1fr; gap:0 16px; border-radius:var(--r-btn); padding:12px 16px; margin-bottom:8px; background:var(--muted)}
  .mxs .rt.c2 tbody tr{grid-template-columns:1fr 1fr}
  .mxs .rt.c2 tbody td.wide{grid-column:1/-1; white-space:normal}
  .mxs .rt tbody tr td.wide{flex-wrap:wrap}
  .mxs .rt tbody td.wide .s{flex:1 1 100%; text-align:right}
  .mxs .rt tbody tr td,.mxs .rt tbody tr:nth-child(even) td,.mxs .rt tbody tr:hover td{background:transparent; border:0; padding:3px 0; text-align:right; white-space:nowrap; display:flex; justify-content:space-between; align-items:baseline; gap:8px; min-width:0}
  .mxs .rt tbody td::before{content:attr(data-l); color:var(--text-muted); font-size:11.5px; font-weight:400; text-align:left; white-space:normal}
  .mxs .rt tbody tr td.l,.mxs .rt tbody tr:nth-child(even) td.l,.mxs .rt tbody tr:hover td.l{grid-column:1/-1; display:block; text-align:left; font-weight:600; font-size:13.5px; white-space:normal; padding-bottom:4px}
  .mxs .rt tbody td.l::before{content:none}
  .mxs .rt tbody td.l .s{margin-top:1px}
  .mxs .rt tbody td:empty{display:none}
  .mxs .rt tbody tr td[style]{background:transparent!important}
  .mxs .rt tbody tr.grp{background:transparent; border:0; padding:8px 0 8px; margin:0}
  .mxs .rt tbody tr.grp td{padding:0; background:transparent; white-space:normal; display:block; line-height:1.4}
  .mxs .rt tbody tr.sub{margin-left:14px}
  .mxs .rt tbody tr.sub td.l{padding-left:0}
  .mxs .rt tbody tr.tot td,.mxs .rt tbody tr.tot:hover td{background:transparent}
  .mxs .rt tbody tr.tot{background:var(--primary-bg)}
}
.mxs .tab{display:none}
.mxs .tab.on{display:block}
.mxs .tab > * + *{margin-top:16px}
.mxs .frow{display:flex; gap:12px; align-items:center; flex-wrap:nowrap; padding:0; background:transparent; border:0; min-width:0}
.mxs .frow .flabel{font-size:12.5px; color:var(--text-muted); flex:0 0 auto}
.mxs .seg{display:inline-flex; background:var(--muted); border-radius:var(--r-btn); padding:4px; gap:2px; flex-wrap:nowrap; max-width:100%; min-width:0; overflow-x:auto; scrollbar-width:none; overscroll-behavior-x:contain}
.mxs .seg::-webkit-scrollbar{display:none}
.mxs .seg.more{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent); mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent)}
.mxs .seg button{flex:0 0 auto; font:inherit; font-size:12.5px; font-weight:500; color:var(--text-muted); background:transparent; border:0; border-radius:8px; padding:6px 12px; min-height:32px; cursor:pointer; white-space:nowrap}
.mxs .seg button:hover{color:var(--text)}
.mxs .seg button[aria-pressed="true"]{background:var(--surface); color:var(--text); font-weight:600; box-shadow:0 0 0 1px var(--border)}
@keyframes mxs-rise{from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:none}}
.mxs .tab.on .card{animation:mxs-rise .2s ease both}
.mxs .tab.on .card:nth-child(2){animation-delay:.04s}
.mxs .tab.on .card:nth-child(3){animation-delay:.08s}
.mxs .tab.on .card:nth-child(4){animation-delay:.12s}
.mxs .tab.on .grid12 .card:nth-child(2){animation-delay:.06s}
@media (max-width:820px){
  .mxs .grid12 > *{grid-column:span 12 !important}
  .mxs .meter .facts{grid-template-columns:1fr}
}
@media (max-width:700px){
  .mxs .chart{padding:16px; gap:0}
  .mxs .chart .foldin{gap:16px; padding-top:16px}
  .mxs .chart > .head{margin:-8px; padding:8px; min-height:48px}
  .mxs .tab > * + *{margin-top:16px}
  .mxs .grid12{gap:16px}
  .mxs .ptg{gap:8px}
  .mxs .hb{gap:12px}
  .mxs .hb .row{grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"lbl val" "trk trk"; gap:4px 12px; align-items:end}
  .mxs .hb .lbl{grid-area:lbl; white-space:normal; font-size:13px; line-height:1.35}
  .mxs .hb .lbl small{white-space:normal; font-size:11.5px; line-height:1.35; margin-top:1px}
  .mxs .hb .val{grid-area:val; font-size:13px; min-width:0}
  .mxs .hb .track{grid-area:trk; height:8px}
  .mxs .hb .axis{padding-left:0}
  .mxs .chart .tablescroll:not(.rtw){margin-left:-16px; margin-right:-16px; padding:0 16px}
  .mxs thead th,.mxs tbody td,.mxs tfoot td{padding-left:8px; padding-right:8px}
  .mxs thead th:first-child,.mxs tbody td:first-child,.mxs tfoot td:first-child{padding-left:0}
  .mxs .lv .stats{grid-template-columns:1fr 1fr}
  .mxs .lv .stats > .st:last-child:nth-child(odd){grid-column:1/-1}
  .mxs .wg .g > .t{flex-direction:column; align-items:flex-start; gap:2px}
  .mxs .wg .g > .t small{text-align:left}
  .mxs .wg .g .r{padding:8px 12px 8px 16px}
  .mxs .foldbar.has-per{align-items:flex-start}
  .mxs .foldbar.has-per .per-line{padding-top:7px}
  .mxs .frow{gap:8px}
}
