/* Professional Analysis ECharts page. Extracted from index.html; keep this file focused on analysis UI only. */
.deep-analysis-shell{width:min(98vw,1760px);max-width:none;margin:0 auto 48px;position:relative;z-index:1}
.deep-toolbar{display:grid;grid-template-columns:repeat(5,max-content) minmax(0,1fr);gap:8px;align-items:end;margin-bottom:10px;padding:10px;border:1px solid rgba(92,122,156,.24);border-radius:4px;background:rgba(8,18,34,.72)}
.deep-field{display:grid;gap:5px}.deep-field span,.deep-meta span{font-size:11px;color:#8fa8c1}.deep-select{height:32px;min-width:0;border:1px solid rgba(103,130,160,.28);border-radius:4px;background:rgba(3,9,18,.76);color:#eef6ff;padding:0 10px}.deep-button{height:32px;border:1px solid rgba(92,122,156,.28);border-radius:4px;background:rgba(3,9,18,.72);color:#cfe0f3;padding:0 12px;cursor:pointer;font-weight:700}.deep-button:hover,.deep-button.active{border-color:rgba(45,212,191,.48);background:rgba(32,180,134,.18);color:#f8fbff}.deep-button.primary{background:rgba(32,180,134,.22);color:#5eead4}.deep-button:disabled,.deep-button.disabled{opacity:.42;cursor:not-allowed}
.deep-meta{display:flex;align-items:center;gap:8px;justify-self:end;min-height:32px;border:1px solid rgba(103,130,160,.2);border-radius:4px;padding:0 10px;background:rgba(3,9,18,.46)}.deep-meta strong{font-size:13px;color:#eef6ff}
.deep-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.deep-main,.deep-side{border:1px solid rgba(92,122,156,.28);border-radius:4px;background:rgba(10,16,34,.72);overflow:hidden}.deep-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:8px 12px;border-bottom:1px solid rgba(92,122,156,.2);background:linear-gradient(180deg,rgba(16,31,49,.96),rgba(7,17,31,.96))}.deep-panel-head h2{margin:0;font-size:14px;color:#eef6ff}.deep-panel-meta{display:flex;gap:8px;align-items:center;min-width:0}.deep-panel-meta span,.deep-status{font-size:12px;color:#5eead4;border:1px solid rgba(45,212,191,.28);border-radius:3px;padding:3px 8px;background:rgba(45,212,191,.09);white-space:nowrap}.deep-panel-meta span:first-child{max-width:360px;overflow:hidden;text-overflow:ellipsis}.deep-status{display:inline-flex}
.deep-source-select{display:flex;align-items:center;gap:6px;min-width:220px;max-width:520px;height:27px;border:1px solid rgba(45,212,191,.28);border-radius:3px;padding:0 6px;background:rgba(45,212,191,.09);color:#5eead4}.deep-source-select span{flex:0 0 auto;border:0!important;background:transparent!important;padding:0!important;color:#5eead4!important}.deep-source-select select{min-width:0;width:100%;height:23px;border:0;background:transparent;color:#5eead4;font-size:12px;outline:none}.deep-source-select option{background:#07111f;color:#dcecff}
.deep-workbench{position:relative;padding:10px}.deep-chart-stack{display:grid;gap:10px}.deep-chart{border:1px solid rgba(92,122,156,.34);border-radius:4px;background:rgba(4,11,21,.88);overflow:hidden}.deep-chart-head{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:end;gap:10px;min-height:32px;padding:4px 8px 4px 12px;border-bottom:1px solid rgba(92,122,156,.22);background:linear-gradient(180deg,rgba(16,31,49,.96),rgba(7,17,31,.96))}.deep-chart-title{display:grid;min-width:0;gap:0}.deep-chart-title strong{overflow:hidden;color:#eef6ff;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.deep-chart-subtitle{min-width:0;align-self:end;justify-self:end;padding-bottom:2px}.deep-chart-subtitle span{display:block;overflow:hidden;color:#8fa8c1;font-size:12px;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.deep-actions{display:flex;gap:4px;align-items:center;justify-content:flex-end;padding:2px;border:1px solid rgba(92,122,156,.26);border-radius:4px;background:rgba(1,8,17,.72)}.deep-actions i{width:1px;height:18px;margin:0 2px;background:rgba(92,122,156,.32)}.deep-actions button{display:grid;min-width:28px;height:26px;place-items:center;border:0;border-radius:3px;background:transparent;color:#8fa8c1;cursor:pointer;font-family:Consolas,monospace;font-size:12px;font-weight:700;padding:0 6px}.deep-actions button:hover,.deep-actions button.active{background:rgba(32,180,134,.22);color:#f7fbff}.deep-action-select{display:flex;align-items:center;gap:5px;height:26px;padding:0 6px;border-right:1px solid rgba(92,122,156,.28)}.deep-action-select span{font-size:11px;color:#8fa8c1}.deep-action-select select{height:22px;min-width:108px;border:1px solid rgba(103,130,160,.26);border-radius:3px;background:rgba(3,9,18,.72);color:#dcecff;padding:0 6px;font-size:11px}
.deep-chart-head.controls-wide{grid-template-columns:minmax(150px,1fr) max-content;align-items:center}.deep-chart-head.controls-wide .deep-actions{min-width:0}.deep-chart-head.controls-wide .deep-action-select select{min-width:72px;max-width:128px}.deep-chart-head.controls-wide .deep-chart-title-subtitle{display:none!important}
.deep-actions button.deep-action-close{font-size:16px}.deep-actions button.deep-action-close:hover{background:rgba(239,68,68,.2);color:#fecaca}
.deep-action-number{display:flex;align-items:center;gap:5px;height:26px;padding:0 6px;border-right:1px solid rgba(92,122,156,.28)}.deep-action-number span{font-size:11px;color:#8fa8c1}.deep-action-number input{width:46px;height:22px;border:1px solid rgba(103,130,160,.26);border-radius:3px;background:rgba(3,9,18,.72);color:#dcecff;padding:0 4px;font-size:11px}
.deep-chart-plot{height:420px;position:relative;margin:8px 10px 10px 2px;border:1px solid rgba(92,122,156,.22);border-radius:3px;background:linear-gradient(90deg,rgba(126,154,190,.06) 1px,transparent 1px) 0 0/40px 100%,linear-gradient(180deg,rgba(126,154,190,.06) 1px,transparent 1px) 0 0/100% 32px,rgba(3,9,18,.92)}.deep-chart-plot.tall{height:560px}.deep-chart-host{position:absolute;inset:0}.deep-channel-toggles{position:absolute;z-index:11;top:10px;left:72px;display:flex;flex-wrap:wrap;gap:4px;max-width:calc(100% - 140px);pointer-events:auto}.deep-channel-toggles button{height:22px;border:1px solid rgba(103,130,160,.24);border-left:3px solid var(--ch-color,#22d3ee);border-radius:3px;background:rgba(3,9,18,.68);color:#dcecff;padding:0 8px;font-size:12px;font-weight:700;line-height:20px;cursor:pointer}.deep-channel-toggles button:hover{border-color:rgba(45,212,191,.42);background:rgba(32,180,134,.16)}.deep-channel-toggles button.muted{border-left-color:rgba(148,163,184,.35);color:#6f8196;background:rgba(3,9,18,.42)}.deep-cursor-overlay{position:absolute;inset:0;z-index:9;pointer-events:none}.deep-dom-cursor{position:absolute;top:0;bottom:62px;width:22px;margin-left:-11px;display:none;cursor:ew-resize;pointer-events:auto}.deep-dom-cursor::before{content:"";position:absolute;top:42px;bottom:0;left:10px;border-left:1px solid #facc15;box-shadow:0 0 6px rgba(250,204,21,.34)}.deep-dom-cursor span{position:absolute;top:44px;left:12px;display:grid;gap:1px;min-width:78px;padding:2px 4px;border:1px solid rgba(148,163,184,.18);border-radius:2px;background:rgba(3,9,18,.72);color:#facc15;font:700 10px Consolas,monospace;line-height:12px;text-shadow:0 1px 3px #020712;pointer-events:none}.deep-dom-cursor span b{font-size:11px;line-height:12px}.deep-dom-cursor span em{font-style:normal;font-size:10px;font-weight:700;white-space:nowrap}.deep-dom-cursor.cursor-b::before{border-left-color:#a855f7;box-shadow:0 0 6px rgba(168,85,247,.34)}.deep-dom-cursor.cursor-b span{color:#a855f7}.deep-cursor-hit{position:absolute;left:10px;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border:1px solid currentColor;border-radius:50%;box-shadow:0 0 0 2px rgba(3,9,18,.8),0 0 8px currentColor;pointer-events:none}
.mode-waterfall .deep-dom-cursor::before,.mode-waterfall .deep-dom-cursor span,.mode-waterfall .deep-cursor-hit{display:none}.deep-waterfall-settings{position:absolute;z-index:16;top:8px;right:8px;display:none;width:min(420px,calc(100% - 16px));grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:10px;border:1px solid rgba(96,165,250,.38);border-radius:4px;background:rgba(5,14,28,.96);box-shadow:0 12px 28px rgba(0,0,0,.34);color:#dcecff}.deep-waterfall-settings.show{display:grid}.deep-waterfall-settings label{display:flex;align-items:center;gap:7px;min-width:0;color:#b8cce0;font-size:11px}.deep-waterfall-settings label>span{white-space:nowrap}.deep-waterfall-settings select,.deep-waterfall-settings input[type=number]{min-width:0;width:100%;height:24px;border:1px solid rgba(103,130,160,.3);border-radius:3px;background:#030912;color:#eef6ff;padding:0 6px}.deep-waterfall-settings input[type=range]{min-width:80px;width:100%;accent-color:#0ea5c4}.deep-waterfall-settings input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:#22c55e}
.deep-waterfall-view-sliders{position:absolute;inset:0;z-index:12;pointer-events:none}.deep-waterfall-view-x{position:absolute;left:60px;right:34px;bottom:9px;width:calc(100% - 94px);height:16px;pointer-events:auto;accent-color:#0ea5c4}.deep-waterfall-view-y{position:absolute;left:8px;top:118px;width:14px;height:calc(100% - 176px);pointer-events:auto;writing-mode:vertical-lr;direction:rtl;accent-color:#0ea5c4}
.deep-orbit-settings{position:absolute;z-index:16;top:8px;right:8px;display:none;width:min(360px,calc(100% - 16px));padding:9px;border:1px solid rgba(96,165,250,.38);border-radius:4px;background:rgba(5,14,28,.96);box-shadow:0 12px 28px rgba(0,0,0,.34);color:#dcecff}.deep-orbit-settings.show{display:grid;gap:8px}.deep-orbit-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px}.deep-orbit-settings-grid label{display:flex;min-width:0;align-items:center;gap:5px;color:#b8cce0;font-size:11px;white-space:nowrap}.deep-orbit-settings-grid input[type=checkbox]{width:14px;height:14px;margin:0;accent-color:#22c55e}.deep-orbit-settings-grid label.disabled{opacity:.45}.deep-orbit-clearance{grid-column:span 3}.deep-orbit-clearance input{width:82px;height:24px;border:1px solid rgba(103,130,160,.3);border-radius:3px;background:#030912;color:#eef6ff;padding:0 6px}.deep-orbit-clearance em{font-style:normal;color:#8fa8c1}.deep-orbit-mean{display:flex;justify-content:space-between;gap:10px;padding-top:7px;border-top:1px solid rgba(96,165,250,.15);font-size:10px}.deep-orbit-mean span{color:#7890a8}.deep-orbit-mean strong{overflow:hidden;color:#dcecff;text-overflow:ellipsis;white-space:nowrap}
.deep-side-body{display:grid;gap:8px;padding:10px}.deep-chip{display:grid;gap:3px;min-height:42px;border:1px solid rgba(103,130,160,.2);border-radius:4px;padding:7px 9px;background:rgba(3,9,18,.46)}.deep-chip span{font-size:11px;color:#8fa8c1}.deep-chip strong{font-size:13px;color:#eef6ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deep-cursor-box{display:grid;gap:5px;font-size:11px;color:#cfe0f3}.deep-cursor-controls{display:grid;gap:5px;margin-bottom:5px;padding-bottom:5px;border-bottom:1px solid rgba(255,255,255,.06)}.deep-control-select{display:grid;grid-template-columns:34px minmax(0,1fr);gap:6px;align-items:center}.deep-control-select span,.deep-control-group>span{color:#8fa8c1;font-size:10px}.deep-control-select select{height:24px;min-width:0;border:1px solid rgba(103,130,160,.25);border-radius:3px;background:rgba(3,9,18,.72);color:#e6f1ff;padding:0 6px;font-size:11px}.deep-control-group{display:grid;grid-template-columns:34px minmax(0,1fr);gap:6px;align-items:start}.deep-control-group div{display:flex;flex-wrap:wrap;gap:3px}.deep-control-group button{height:22px;border:1px solid rgba(103,130,160,.22);border-radius:3px;background:rgba(3,9,18,.54);color:#9fb3ca;padding:0 6px;font-size:10.5px;line-height:20px;cursor:pointer}.deep-control-group button:hover,.deep-control-group button.active{border-color:rgba(45,212,191,.42);background:rgba(32,180,134,.2);color:#f7fbff}.deep-cursor-row{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid rgba(255,255,255,.05);padding:3px 0}.deep-cursor-row:last-child{border-bottom:0}.deep-cursor-block{display:grid;gap:3px;border-bottom:1px solid rgba(255,255,255,.05);padding:4px 0}.deep-cursor-block>span{color:#8fa8c1;font-size:11px}.deep-cursor-block>strong{font-size:13px;color:#eef6ff}.deep-cursor-block small{color:rgba(207,224,243,.72);font-size:10px}.deep-cursor-channel-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:2px 8px}.deep-cursor-channel-list div{display:flex;justify-content:space-between;gap:6px;min-width:0}.deep-cursor-channel-list em{font-style:normal;color:#8fa8c1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deep-cursor-channel-list strong{color:#eef6ff;font-size:11px}.deep-cursor-float{position:absolute;left:auto;right:18px;z-index:20;min-width:196px;width:max-content;max-width:min(440px,calc(100% - 12px));border:1px solid rgba(96,165,250,.36);border-radius:4px;background:rgba(5,14,28,.68);box-shadow:0 12px 30px rgba(0,0,0,.28);backdrop-filter:blur(5px);overflow:hidden}.deep-cursor-float.pinned-right{left:auto!important;right:18px!important}.deep-cursor-float-head{height:24px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 7px 0 9px;border-bottom:1px solid rgba(96,165,250,.18);color:#dcecff;background:rgba(16,31,49,.58);font-size:11px;font-weight:700;cursor:move}.deep-cursor-float-head button{width:18px;height:18px;border:1px solid rgba(96,165,250,.25);border-radius:3px;background:rgba(3,9,18,.55);color:#dcecff;line-height:14px;cursor:pointer}.deep-cursor-float .deep-cursor-box{padding:6px 8px}.deep-cursor-float.collapsed{min-width:132px;width:132px}.deep-cursor-float.collapsed .deep-cursor-box{display:none}
.deep-chart.expanded{position:fixed;inset:0;z-index:1000;display:grid;grid-template-rows:auto minmax(0,1fr);border-radius:0;background:#020712}.deep-chart.expanded .deep-chart-plot{height:auto;min-height:0}
.deep-context-menu{position:absolute;z-index:1200;display:none;min-width:172px;padding:7px;border:1px solid rgba(45,212,191,.42);border-radius:4px;background:rgba(5,14,28,.97);box-shadow:0 16px 36px rgba(0,0,0,.38)}.deep-context-menu.show{display:grid;gap:3px}.deep-context-menu button{height:30px;border:0;border-radius:3px;background:transparent;color:#cfe0f3;text-align:left;padding:0 10px;cursor:pointer;font-size:13px}.deep-context-menu button:hover{background:rgba(32,180,134,.2);color:#f7fbff}
.deep-compare-toolbar{grid-template-columns:repeat(5,max-content) minmax(0,1fr)}.deep-compare-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.deep-compare-pane{min-width:0;border:1px solid rgba(92,122,156,.28);border-radius:4px;background:rgba(10,16,34,.72);overflow:hidden}.deep-compare-controls{display:grid;grid-template-columns:minmax(150px,1fr) minmax(96px,.5fr) minmax(112px,.55fr) minmax(86px,.42fr);gap:8px;align-items:end;padding:8px 10px;border-bottom:1px solid rgba(92,122,156,.18);background:rgba(5,14,28,.48)}.deep-compare-controls label{display:grid;gap:4px;min-width:0}.deep-compare-controls label span{font-size:11px;color:#8fa8c1}.deep-compare-plot{height:560px;margin:8px 10px 10px 2px}
@media (max-width:1100px){.deep-toolbar,.deep-grid,.deep-compare-toolbar,.deep-compare-grid{grid-template-columns:1fr}.deep-meta{justify-self:stretch}.deep-side-body{grid-template-columns:repeat(2,minmax(0,1fr))}.deep-compare-controls{grid-template-columns:1fr}.deep-compare-plot{height:420px}}
.deep-cursor-float{display:grid;grid-template-rows:auto minmax(0,1fr)}
.deep-cursor-float{width:142px!important;max-width:142px!important;min-width:142px!important}
.deep-cursor-row{display:flex!important;justify-content:flex-start!important;gap:6px;align-items:center}.deep-cursor-row strong{overflow-wrap:anywhere;text-align:left}.deep-cursor-float .deep-cursor-box{padding:3px 5px}.deep-cursor-block{gap:1px!important;padding:2px 0!important}.deep-cursor-block>span{display:none!important}.deep-control-group{grid-template-columns:20px minmax(0,1fr)!important;gap:2px!important}.deep-control-group>span{font-size:9px!important}.deep-control-group div{gap:2px!important}.deep-control-group button{height:auto;min-height:19px;padding:0 4px;font-size:8.5px;line-height:17px;white-space:normal}.deep-cursor-xline{display:flex!important;min-width:0;align-items:baseline;gap:3px;white-space:nowrap;color:var(--cursor-color)}.deep-cursor-xline>strong{font-size:11.5px;white-space:nowrap;flex:0 0 auto;color:var(--cursor-color)}.deep-cursor-tp{display:inline-block!important;min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8.5px!important;line-height:11px;vertical-align:baseline;color:var(--cursor-color);opacity:.78}.deep-cursor-channel-list{grid-template-columns:1fr!important}.deep-cursor-channel-list div{display:flex!important;justify-content:flex-start!important;gap:4px;align-items:center}.deep-cursor-channel-list strong{text-align:left;white-space:nowrap;font-size:10.5px!important;line-height:12px}.deep-cursor-channel-list em{font-size:10px!important;line-height:12px;flex:0 1 auto;max-width:78px}
.deep-cursor-block.active{border-color:rgba(250,204,21,.32)!important;background:rgba(250,204,21,.045);box-shadow:inset 2px 0 0 var(--cursor-color,#facc15);padding-left:4px!important}
.deep-cursor-block.cursor-b-readout.active{--cursor-color:#a855f7;border-color:rgba(168,85,247,.32)!important;background:rgba(168,85,247,.045)}
.deep-cursor-float .deep-cursor-box{overflow:visible;min-height:0}
.deep-panel-head{display:grid;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center}
.deep-panel-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}
@media (max-width:1100px){.deep-panel-head{grid-template-columns:1fr}.deep-panel-actions{justify-content:flex-start;flex-wrap:wrap}}
.deep-control-select input{height:24px;min-width:0;width:100%;border:1px solid rgba(103,130,160,.25);border-radius:3px;background:rgba(3,9,18,.72);color:#e6f1ff;padding:0 6px;font-size:11px}.deep-cursor-float.waterfall-settings-mode{width:220px!important;max-width:220px!important;min-width:220px!important}
.deep-chart-head{align-items:center}
.deep-chart-head{grid-template-columns:minmax(0,1fr) max-content}
.deep-chart-title{align-self:center;display:flex!important;align-items:flex-end;gap:14px}
.deep-chart-title span{display:block!important;overflow:hidden;color:#8fa8c1;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.deep-chart-loading{display:none!important;align-items:center!important;gap:0;flex:0 0 auto;color:#5eead4!important;font-size:11px!important}
.deep-chart-loading.show{display:inline-flex!important}
.deep-chart-loading i{width:11px;height:11px;border:2px solid rgba(94,234,212,.22);border-top-color:#5eead4;border-radius:50%;animation:deep-spin .8s linear infinite}
.deep-chart-loading em{display:none!important}
.deep-chart.is-loading .deep-chart-head{box-shadow:inset 0 -1px 0 rgba(45,212,191,.2)}
@keyframes deep-spin{to{transform:rotate(360deg)}}
.deep-chart-subtitle{display:none}

