:root{color-scheme:dark}
*{box-sizing:border-box}
body{margin:0;background:#07111d;color:#d8e5ec;font-family:Inter,'Segoe UI',Arial,sans-serif}
.cm8{--bg:#07111d;--panel:#0c1926;--line:#1a2c3b;--muted:#72889b;--cyan:#47dce1;--amber:#eda75b;min-height:100vh;min-width:320px;display:flex;flex-direction:column;background:#07111d;color:#ddebf2;font-size:13px;letter-spacing:.005em}
.cm8 button,.cm8 input{font-family:inherit}
.cm-topbar{height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #1e3343;background:#091724;flex-shrink:0;gap:20px}
.cm-brand{display:flex;align-items:center;gap:13px;min-width:232px}.cm-logo{width:42px;height:42px;border:1px solid #267e8d;border-radius:10px;background:linear-gradient(145deg,#0d343e,#10222d);box-shadow:inset 0 0 17px #123c46;color:#72eced;text-align:center;line-height:38px;font-size:31px;font-weight:500}.cm-brand>div{display:flex;flex-direction:column;gap:4px}.cm-overline{font-size:9px;letter-spacing:.18em;font-weight:700;color:#6a91a0}.cm-brand strong{font-size:19px;letter-spacing:.07em;font-weight:760}.cm-brand em{font-style:normal;color:#3ee1e8;font-weight:600}
.cm-topcenter{font-size:10px;font-weight:700;letter-spacing:.16em;color:#8399a9;text-align:center}.cm-serial{margin-left:16px;color:#425b6d;font-weight:500}.cm-online{display:flex;align-items:center;gap:9px;white-space:nowrap;color:#8ed1ba;font-size:10px;font-weight:700;letter-spacing:.1em}.cm-online-dot{background:#50e6ad;width:7px;height:7px;border-radius:100%;box-shadow:0 0 13px #50e6ad}
.cm-workspace{display:grid;grid-template-columns:310px minmax(400px,1fr) 322px;flex:1;min-height:0}
.cm-sidebar{background:#0b1825;padding:24px 22px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#284659 transparent}.cm-left{border-right:1px solid #233747}.cm-right{border-left:1px solid #233747;padding:24px 19px}
.cm-eyebrow{font-size:10px;letter-spacing:.15em;color:#40c8d2;font-weight:750}.cm-sectiontop h2{font-size:18px;letter-spacing:-.02em;font-weight:660;margin:11px 0 9px}.cm-sectiontop p{font-size:12px;line-height:1.6;color:#8196a5;margin:0}.cm-short h2{margin-bottom:19px}
.cm-presetrow{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:26px 0 23px}.cm-presetrow button{padding:10px 3px;background:#102333;border:1px solid #1e3a4b;color:#91a8b9;font-size:10px;border-radius:5px;cursor:pointer}.cm-presetrow button:hover,.cm-presetrow button.selected{color:#5ce1e5;border-color:#307b83;background:#14323d}
.cm-controlgroup{display:flex;flex-direction:column}.cm-controllabel{display:flex;align-items:center;justify-content:space-between;margin:0 0 11px;gap:4px;font-size:12px}.cm-controllabel label{font-weight:620;color:#bbceda}.cm-controllabel output{font-family:'Consolas',monospace;color:#54dde1;font-size:11px;font-weight:650}.cm-controlgroup input[type=range]{width:100%;accent-color:#45d8dc;cursor:pointer;height:5px;margin:0 0 22px}.cm-controlgroup input[type=range]:disabled{filter:grayscale(1);opacity:.32;cursor:not-allowed}.cm-minmax{display:flex;justify-content:space-between;margin:-13px 0 24px;color:#5c7184;font:10px 'Consolas',monospace}.cm-section-divider{height:1px;background:#223544;margin:18px 0 23px}.cm-toggle{margin:3px 0 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer}.cm-toggle>span{display:flex;flex-direction:column;gap:5px}.cm-toggle strong{font-size:12px;color:#c7d9e2;font-weight:620}.cm-toggle small{font-size:10px;color:#617b8d;line-height:1.5}.cm-toggle input{position:absolute;opacity:0;pointer-events:none}.cm-toggle i{position:relative;display:block;flex:0 0 33px;width:33px;height:19px;border-radius:12px;background:#263c4b;border:1px solid #3b5866;transition:.2s}.cm-toggle i:before{content:"";position:absolute;top:3px;left:3px;width:11px;height:11px;border-radius:50%;background:#869caa;transition:.2s}.cm-toggle input:checked+i{background:#165660;border-color:#34a7b3}.cm-toggle input:checked+i:before{transform:translateX(14px);background:#56e5e4}.cm-toggle input:focus-visible+i{outline:2px solid white;outline-offset:2px}
.cm-actions{display:flex;gap:8px;margin-top:7px}.cm-actions button{border:1px solid #29515b;padding:12px 6px;border-radius:5px;font-size:11px;cursor:pointer}.cm-primary{background:#37beca;color:#03252d;font-weight:750;flex:1}.cm-primary:hover{background:#6de5e7}.cm-secondary{color:#9ac0cb;background:#112838;min-width:75px}.cm-secondary:hover{border-color:#50c8d2}.cm-disclaimer{font-size:9px;letter-spacing:.07em;line-height:1.65;color:#536f7d;margin-top:19px}
.cm-stage{position:relative;overflow:hidden;min-height:500px;background:radial-gradient(circle at 45% 43%,#123249 0,#091827 58%,#050d17 100%)}.cm-stage canvas[data-canvas]{position:absolute;width:100%;height:100%;display:block;touch-action:none;cursor:grab}.cm-stage canvas:active{cursor:grabbing}.cm-stageheading{position:absolute;top:26px;left:29px;pointer-events:none}.cm-stageheading h1{margin:12px 0 8px;font-size:clamp(24px,2.35vw,39px);letter-spacing:-.046em;font-weight:670}.cm-stageheading h1 span{color:#4cdee0}.cm-stageheading p{color:#8299a7;font-size:11px;max-width:340px;line-height:1.5;margin:0}.cm-trail{color:#60798c}.cm-sceneTag{position:absolute;right:22px;top:29px;color:#a7bcc6;font:10px 'Consolas',monospace;letter-spacing:.06em;display:flex;align-items:center;gap:8px;background:#0c1e2ac9;padding:10px 12px;border:1px solid #315063;border-radius:4px}.cm-bullet{width:6px;height:6px;background:#3fe1cd;border-radius:50%;box-shadow:0 0 10px #38e2d0}.cm-axisbadge{position:absolute;bottom:68px;left:27px;font:11px 'Consolas',monospace;color:#79a5b9;opacity:.8;pointer-events:none}.cm-camerabuttons{position:absolute;bottom:22px;left:25px;right:24px;display:flex;align-items:center;justify-content:space-between;gap:5px;color:#5c7f91;font-size:10px;letter-spacing:.04em}.cm-camerabuttons button{padding:9px 13px;background:#0e2836c9;border:1px solid #245064;color:#a1dce1;border-radius:4px;cursor:pointer}.cm-camerabuttons button:hover{border-color:#5de0e4}.cm-error{position:absolute;left:20%;right:20%;top:40%;background:#6b2135;padding:20px;border-radius:8px;box-shadow:0 0 25px #000;color:white}
.cm-readout{margin-top:23px;border:1px solid #256775;background:linear-gradient(150deg,#143544,#0b2533);border-radius:8px;padding:18px 16px 15px;box-shadow:0 0 22px #1243552b}.cm-metriclabel{font-size:10px;color:#7fbcc9;font-weight:700;letter-spacing:.14em}.cm-readvalue{display:flex;align-items:baseline;gap:10px;padding:12px 0 13px}.cm-readvalue b{font-size:48px;letter-spacing:-.065em;line-height:1;font-family:'Segoe UI',Arial,sans-serif;font-weight:660;color:#6ceded;font-variant-numeric:tabular-nums}.cm-readvalue>span{font-size:14px;color:#72a7b4}.cm-readfooter{display:flex;align-items:center;gap:7px;border-top:1px solid #29505b;padding-top:11px;color:#98b8bf;font-size:9px;letter-spacing:.04em}.cm-statuslamp{width:6px;height:6px;background:#59e4ac;border-radius:50%;box-shadow:0 0 7px #55e4a8}.cm-actual{margin-left:auto;color:#607e90;white-space:nowrap}.cm-actual span{color:#a9bfcc}
.cm-metricgrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.cm-metricgrid>div{min-height:79px;background:#102230;border:1px solid #203747;padding:14px 11px;border-radius:5px}.cm-metricgrid>div>span{display:block;color:#7c93a3;font-size:9px;letter-spacing:.08em;min-height:22px}.cm-metricgrid strong{display:flex;align-items:baseline;gap:5px;font:600 23px 'Segoe UI',sans-serif;color:#dceaf0;letter-spacing:-.03em;margin-top:8px;font-variant-numeric:tabular-nums}.cm-metricgrid small{font-size:11px;font-weight:400;color:#7898a9}
.cm-right .cm-section-divider{margin:22px 0 18px}.cm-graphhead{display:flex;align-items:center;gap:9px;margin:0 0 8px}.cm-graphhead span{color:#38c7d5;font:11px 'Consolas',monospace}.cm-graphhead strong{font-size:10px;font-weight:700;letter-spacing:.07em}.cm-graphhead small{margin-left:auto;color:#587286;font-size:9px}.cm-chartbox{border:1px solid #213748;background:#0c1a29;border-radius:5px;padding:6px 5px 7px}.cm-chartbox canvas{width:100%;height:119px;display:block}.cm-legend{display:flex;gap:16px;color:#7893a4;font-size:10px;padding:1px 7px 0}.cm-legend span{display:flex;align-items:center;gap:6px}.cm-legend i{display:inline-block;width:16px;height:2px;background:#40dfe4}.cm-legend .cm-legendorange{background:#e9a455}.cm-legend .cm-legenddim{background:#6b879a}.cm-graphsecond{margin-top:19px}
.cm-download{margin-top:16px;width:100%;padding:13px;border:1px solid #295565;border-radius:5px;background:#123040;color:#92d3df;text-align:left;font-size:11px;font-weight:700;letter-spacing:.04em;cursor:pointer}.cm-download span{float:right}.cm-download:hover{background:#164255;border-color:#51a3b9}.cm-modelnote{display:flex;gap:12px;margin-top:20px;color:#708d9c}.cm-modelnote>span{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #3f7681;border-radius:50%;font:bold 12px Georgia,serif;color:#57d8dd;flex:none}.cm-modelnote p{font-size:10px;line-height:1.65;margin:0}.cm-modelnote strong{color:#96b7c3}
.cm-footer{height:37px;display:flex;align-items:center;justify-content:space-between;background:#08131f;border-top:1px solid #1e3444;padding:0 24px;font:9px 'Consolas',monospace;color:#667f91;letter-spacing:.05em;gap:12px}.cm-footer>div{display:flex;gap:18px}.cm-footer b{color:#53d7dd}.cm-footbreak{color:#2d4659}
@media (max-width:1300px){.cm-workspace{grid-template-columns:260px minmax(360px,1fr) 285px}.cm-sidebar{padding:18px 14px}.cm-topcenter .cm-serial{display:none}.cm-readvalue b{font-size:40px}.cm-chartbox canvas{height:100px}.cm-stageheading{left:20px}.cm-sceneTag{font-size:9px}}
@media (max-width:980px){.cm-workspace{display:grid;grid-template-columns:260px minmax(0,1fr)}.cm-right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:16px;border-left:0;border-top:1px solid #213748}.cm-right>.cm-sectiontop,.cm-right>.cm-readout,.cm-right>.cm-metricgrid{grid-column:1}.cm-right>.cm-section-divider{display:none}.cm-right>.cm-graphhead,.cm-right>.cm-chartbox,.cm-right>.cm-download,.cm-right>.cm-modelnote{grid-column:2}.cm-right>.cm-graphhead:first-of-type{grid-row:1}.cm-right .cm-graphsecond{margin-top:8px}.cm-stage{min-height:650px}.cm-topcenter{display:none}}
@media (max-width:700px){.cm-topbar{height:65px;padding:0 12px}.cm-online{font-size:9px}.cm-workspace{display:flex;flex-direction:column}.cm-stage{order:-1;min-height:430px}.cm-left,.cm-right{border:0;border-top:1px solid #263d4c}.cm-stageheading{top:22px;left:18px}.cm-stageheading h1{font-size:29px}.cm-sceneTag{top:auto;bottom:76px;right:12px}.cm-camerabuttons{bottom:17px;left:16px;right:15px}.cm-camerabuttons span{font-size:8px}.cm-right{display:block}.cm-footer{flex-wrap:wrap;height:auto;padding:12px}.cm-footer>div{gap:8px}.cm-footer>div:last-child{display:none}}
