*{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0;font-family:Arial,sans-serif}body{color:#e8ecf3;background:#0b1020}a{color:inherit;text-decoration:none}.app-shell{width:100%;height:100vh;display:flex;overflow:hidden}.app-sidebar{background:#11182d;border-right:1px solid #ffffff14;flex-shrink:0;width:250px;height:100vh}.app-content{background:#0b1020;flex:1;min-width:0;min-height:0;padding:16px 20px;overflow:hidden}.app-main{flex-direction:column;flex:1;min-width:0;height:100vh;display:flex;overflow:hidden}.app-header{background:#0f1528;border-bottom:1px solid #ffffff14;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:12px 24px;display:flex}.app-header-left{align-items:center;min-width:0;display:flex}.app-header-title{margin:0;font-size:22px;font-weight:700}.app-header-right{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.app-header-chip{color:#ffffffd9;background:#ffffff0f;border-radius:999px;padding:8px 12px;font-size:13px}.app-header-company{color:#e8ecf3;background:#ffffff0f;border-radius:10px;min-width:120px;padding:8px 10px;font-size:13px}.app-header-control,.app-header-user-wrap{flex-direction:column;gap:4px;display:flex}.app-header-label{opacity:.72;opacity:.72;font-size:11px}.app-header-select{color:#e8ecf3;background:#11182d;border:1px solid #ffffff1f;border-radius:10px;min-width:140px;padding:8px 10px}.app-header-user{color:#e8ecf3;background:#ffffff0f;border-radius:10px;min-width:180px;padding:8px 10px;font-size:13px}.context-strip{opacity:.8;flex-wrap:wrap;gap:16px;font-size:13px;display:flex}.page{width:100%;display:block!important}.sidebar{flex-direction:column;height:100%;padding:20px 16px;display:flex}.sidebar-brand{margin-bottom:24px}.sidebar-brand-title{font-size:20px;font-weight:700}.sidebar-brand-subtitle{opacity:.7;margin-top:4px;font-size:12px}.sidebar-nav{flex-direction:column;gap:8px;display:flex}.sidebar-link{background:0 0;border-radius:10px;padding:12px 14px;transition:background .2s;display:block}.sidebar-link:hover{background:#ffffff0f}.sidebar-link.active{background:#ffffff1f;font-weight:600}.sidebar-footer{flex-direction:column;gap:10px;margin-top:auto;padding-top:20px;display:flex}.sidebar-user{opacity:.75;word-break:break-word;font-size:12px}.btn-logout{color:#fff;background:#ffffff14}.public-page{place-items:center;min-height:100vh;padding:24px;display:grid}.public-card{background:#11182d;border:1px solid #ffffff14;border-radius:16px;width:100%;max-width:460px;padding:28px}.public-actions{margin-top:20px}.login-form{flex-direction:column;gap:16px;margin-top:20px;display:flex}.form-label{flex-direction:column;gap:8px;font-size:14px;display:flex}.form-input{color:#e8ecf3;background:#0b1020;border:1px solid #ffffff24;border-radius:10px;padding:12px 14px}.btn{cursor:pointer;border:none;border-radius:10px;padding:12px 16px;display:inline-block}.btn-primary{color:#fff;background:#2f6fed}.page-section{flex-direction:column;gap:12px;display:flex}.module-placeholder{color:#ffffffb3;background:#ffffff08;border:1px dashed #ffffff29;border-radius:16px;place-items:center;min-height:300px;margin-top:12px;display:grid}.page .tracks-grid{flex-direction:column!important;align-items:stretch!important;gap:16px!important;display:flex!important}.page .track-card{width:100%!important}.realtime-tabs{flex-wrap:wrap;gap:10px;margin-bottom:16px;display:flex}.realtime-tab{color:#e8ecf3;cursor:pointer;background:#11182d;border:1px solid #ffffff1f;border-radius:10px;padding:10px 14px}.realtime-tab-active{background:#ffffff1f;border-color:#fff3;font-weight:600}.realtime-tab-panel{height:calc(100vh - 190px);overflow:hidden}.track-header{flex-direction:column;justify-content:flex-end;min-height:92px;margin-bottom:12px;display:flex}.track-header-main{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.track-title{font-size:18px;font-weight:700}.track-meta{opacity:.72;font-size:12px}.track-actions{flex-shrink:0}.track-actions-top{justify-content:center;margin-bottom:8px;display:flex}.track-curve-summary-row{flex-wrap:wrap;gap:8px;display:flex}.track-curve-summary{background:#ffffff0f;border-radius:10px;align-items:center;gap:8px;min-width:0;min-height:34px;padding:6px 10px;font-size:12px;display:inline-flex}.track-curve-summary-hidden{opacity:.45}.track-curve-summary-swatch{border-radius:999px;flex-shrink:0;width:10px;height:10px}.track-curve-summary-code{font-weight:700}.track-curve-summary-last{font-variant-numeric:tabular-nums}.track-curve-summary-range{opacity:.75}.track-curve-bars{flex-direction:column;gap:8px;display:flex}.track-curve-bar{grid-template-columns:44px 1fr 70px;align-items:center;gap:8px;min-height:30px;display:grid}.track-curve-bar-min,.track-curve-bar-max{font-variant-numeric:tabular-nums;font-size:12px;line-height:1}.track-curve-bar-hidden{opacity:.4}.track-curve-bar-min{text-align:left;opacity:.8;font-size:12px}.track-curve-bar-center{align-items:center;gap:8px;min-width:0;display:flex}.track-curve-bar-code,.track-curve-bar-value{font-size:11px;font-weight:700;line-height:1.1}.track-curve-bar-max{text-align:right;opacity:.8;font-size:12px}.track-curve-line{flex:1;min-width:20px;height:2px;display:block}.track-curve-line-left,.track-curve-line-right{opacity:.95}.city-ui-container{width:100%;max-width:1280px;margin:0 auto}.track-chart-wrap{height:420px;min-height:420px}.tracks-grid{flex-direction:column;gap:16px;display:flex}.realtime-workspace-shell{flex-direction:column;height:100%;min-height:0;display:flex}.realtime-toolbar{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.realtime-workspace{flex:1;grid-template-columns:repeat(12,minmax(0,1fr));align-items:stretch;gap:16px;min-height:0;display:grid}.realtime-top-row{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.realtime-top-right{flex-shrink:0}.uom-inline{align-items:center;gap:8px;display:inline-flex}.reference-span-1{grid-column:span 1}.reference-span-2{grid-column:span 2}.reference-span-3{grid-column:span 3}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.span-4{grid-column:span 4}.span-5{grid-column:span 5}.span-6{grid-column:span 6}.span-7{grid-column:span 7}.span-8{grid-column:span 8}.span-9{grid-column:span 9}.span-10{grid-column:span 10}.span-11{grid-column:span 11}.span-12{grid-column:span 12}.workspace-track,.track-card{height:100%;min-height:0}.reference-track{flex-direction:column;height:100%;min-height:0;display:flex}.reference-track-header{text-align:center;justify-content:center;align-items:flex-end;min-height:92px;padding-bottom:10px;display:flex}.reference-track-header-center{font-size:13px;font-weight:700;line-height:1.2}.reference-track-header-empty{flex-shrink:0;height:92px}.reference-track-title{margin-bottom:8px;font-size:13px;font-weight:700}.reference-track-body{flex-direction:column;gap:8px;display:flex}.reference-track-plot{flex:1;height:100%;min-height:420px;padding-top:4px;padding-bottom:4px;position:relative}.reference-tick{align-items:center;display:flex;position:absolute;left:0;right:0;transform:translateY(-50%)}.reference-tick-row{justify-content:space-between;align-items:center;min-height:22px;display:flex}.reference-tick-marks{justify-content:flex-end;align-items:center;width:22px;display:flex}.reference-tick-major .reference-tick-label{font-variant-numeric:tabular-nums;width:72px;padding-right:8px;font-size:12px;line-height:1}.reference-tick-major .reference-tick-mark{background:#ffffffd9;flex:1;height:2px}.reference-tick-minor{justify-content:flex-end}.reference-tick-minor .reference-tick-mark{background:#ffffff73;width:26px;height:1px}.debug *{outline:1px solid #ff000040}.debug .reference-track{outline:2px solid #0ff}.debug .reference-track-plot{outline:2px dashed #ff0}.debug .workspace-track{outline:2px solid #0f0}.debug .track-card{outline:2px solid orange}.debug .track-header{outline:2px solid #f0f}.debug .track-chart-wrap{outline:2px solid #00f}.debug .realtime-workspace{outline:2px solid #fff}.debug .realtime-toolbar{outline:2px solid pink}
