:root{--bg:#07111f;--bg-gradient:linear-gradient(180deg, #0b1930 0%, #050f1a 100%);--chart-bg:#06101c;--surface:#0b1930;--raised:#0f2040;--border:#1a3050;--border-strong:#2a4870;--glass:#0d2040b8;--glass-border:#eaf6ff14;--text:#eaf6ff;--text-muted:#7a9bb5;--accent:#168bff;--accent-soft:#168bff29;--accent-contrast:#07111f;--vpoc:#ffd580;--plan:#ffd580;--warning:#ffd580;--warning-soft:#ffd58024;--error:#ff6b7a;--error-soft:#ff6b7a24;--ok:#5fd0b5;--ok-soft:#5fd0b51f;--info:#168bff;--info-soft:#44d5ff29;--focus:#44d5ff;--shadow-menu:0 12px 32px #0000008c, 0 0 0 1px #ffffff0a;--scrim:#02050999;--chart-bg-deep:#040b16;--chart-bg-edge:#02060d;--chart-axis:#648198;--chart-text:#7a9bb5;--chart-text-muted:#637f96;--chart-grid:#8ab0d00e;--chart-border:#8ab0d038;--chart-crosshair:#8ab0d061;--chart-separator:#13253f;--chart-separator-hover:#168bff59;--chart-zero:#8ab0d066;--chart-font:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--candle-up:#44d5ff;--candle-down:#7161f5;--pnl-positive:#5fd0b5;--pnl-negative:#ff6b7a;--pnl-neutral:#7a9bb5;--glass-tint-clear:#0d20401c;--glass-rim:#b4d7ff57;--glass-rim-dim:#b4d7ff12;--glass-hairline:#00000052;--glass-specular:#fff6;--glass-depth:#0000004d;--glass-iris-a:#96a2ec1c;--glass-iris-b:#7ee2ff1c;--glass-iris-c:#78a4ff1c;--glass-chroma-b:#75deff57;--glass-chroma-a:#a2a4ea57;--glass-tint:#0d204047;--glass-tint-strong:#0d2040ad;--glass-edge:#b4d7ff2e;--glass-highlight:#ffffff29;--glass-blur:10px;--glass-saturate:1.3;--glass-refraction:.5;--glass-shadow:0 8px 24px -8px #0006, 0 1px 2px #0000003d;--glass-radius-sm:10px;--glass-radius-md:16px;--glass-radius-lg:24px;--glass-radius-pill:999px;--of-footprint-buy:#44d5ff;--of-footprint-sell:#7161f5;--of-footprint-neutral:#0f2040;--of-imbalance-buy:#6adeff;--of-imbalance-sell:#8a7cf8;--of-poc:#ffd580;--of-candle-poc-positive:#44d5ff;--of-candle-poc-negative:#7161f5;--of-candle-poc-neutral:#7a9bb5;--of-vp-low:#0b1930;--of-vp-high:#168bff;--of-value-area:#1a4070;--of-cvd-up:#44d5ff;--of-cvd-down:#7161f5;--of-heatmap:linear-gradient(90deg, #07111f, #0a2040, #1050a0, #168bff, #44d5ff);--drawing-default:#168bff;--drawing-selection:#44d5ff;--drawing-handle:#0b1930;--drawing-profit:#5fd0b5;--drawing-stop:#ff6b7a;--order-buy:#44d5ff;--order-sell:#7161f5;--order-stop:#ff6b7a;--order-target:#5fd0b5;--order-label-bg:#eaf6ff;--order-label-text:#07111f;--motion-pulse-idle:2.8s;--motion-pulse-idle-ease:cubic-bezier(.45, 0, .55, 1);--motion-pulse-expand:.32s;--motion-pulse-expand-ease:cubic-bezier(.22, 1, .36, 1);--motion-crossfade:.18s;--motion-crossfade-ease:cubic-bezier(.4, 0, .2, 1);--motion-press:.12s;--motion-press-ease:cubic-bezier(.4, 0, .2, 1);--motion-sheet:.34s;--motion-sheet-ease:cubic-bezier(.22, 1, .36, 1);--motion-theme-crossfade:.26s;--motion-theme-crossfade-ease:cubic-bezier(.4, 0, .2, 1);--motion-toast:.24s;--motion-toast-ease:cubic-bezier(.22, 1, .36, 1);--motion-reduced-fade:.12s;--pulse-tint-0:#14254a;--pulse-tint-1:#0b1c38;--pulse-tint-2:#070e1c;--pulse-rim:#b4d7ff;--pulse-core:#168bff;--pulse-specular:#eaf6ff;--pulse-shadow:#000;--pulse-reflection:.8;--buy:#65dcff;--sell:#8a7df7;--buy-soft:#65dcff29;--sell-soft:#8a7df72e;--font-sans:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-mono:ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--radius-sm:6px;--radius:8px;--radius-lg:10px;--topbar-h:56px;--panel-w:420px;--appbar-h:44px;--inspector-w:320px;--touch:40px;--dur:.32s;--ease:cubic-bezier(.22, 1, .36, 1);--hit:28px}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font:var(--ui-font-callout)/1.5 var(--font-sans);font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}button,input,select{font:inherit;color:inherit}code{font-family:var(--font-mono)}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}:root{--icon-stroke:1.5px}svg[fill=none][stroke=currentColor]{stroke-width:var(--icon-stroke)}svg[fill=none][stroke=currentColor] :is(path,line,polyline,polygon,circle,ellipse,rect){vector-effect:non-scaling-stroke}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.icon{vertical-align:middle;flex:none}.icon-spin{animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.btn{justify-content:center;align-items:center;gap:var(--ui-space-xs);height:32px;padding:0 var(--ui-space-md);border:1px solid var(--border);border-radius:var(--radius);background:var(--raised);cursor:pointer;white-space:nowrap;transition:background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);display:inline-flex}.btn:hover:not(:disabled){border-color:var(--border-strong);background:var(--surface)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast);font-weight:600}.btn-primary:hover:not(:disabled){background:var(--accent);filter:brightness(1.1)}.btn-danger{color:var(--error);border-color:var(--error);background:0 0}.btn-ghost{background:0 0;border-color:#0000}.btn-ghost:hover:not(:disabled){background:var(--raised)}.btn-sm{height:28px;padding:0 var(--ui-space-sm);font-size:var(--ui-font-footnote)}.icon-btn{border-radius:var(--radius);cursor:pointer;width:32px;height:32px;transition:background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);background:0 0;border:1px solid #0000;place-items:center;display:inline-grid}.icon-btn:hover:not(:disabled){background:var(--raised);border-color:var(--border)}.icon-btn.is-active{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.icon-btn:disabled{opacity:.4}.field{gap:var(--ui-space-xs);flex-direction:column;display:flex}.field-label{font-size:var(--ui-font-footnote);color:var(--text-muted);font-weight:600}.field-hint{font-size:var(--ui-font-footnote);color:var(--text-muted);line-height:1.35}.input,.select{height:34px;padding:0 var(--ui-space-md);border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);width:100%}.input:hover,.select:hover{border-color:var(--border-strong)}.input[aria-invalid=true]{border-color:var(--error)}.select{cursor:pointer}.select-compact{background:var(--raised);width:auto;height:32px;padding:0 var(--ui-space-sm)}.segmented-wrap{display:inline-flex}.switch-row{justify-content:space-between;align-items:flex-start;gap:var(--ui-space-md);padding:var(--ui-space-sm) 0;display:flex}.switch-text{gap:var(--ui-space-xxs);flex-direction:column;display:flex}.color-field{justify-content:space-between;align-items:center;gap:var(--ui-space-sm);padding:var(--ui-space-xs) 0;display:flex}.color-field-controls{align-items:center;gap:var(--ui-space-xs);display:inline-flex}.color-hex{font-size:var(--ui-font-caption);color:var(--text-muted)}.color-swatch{width:32px;height:var(--hit);border:1px solid var(--border-strong);border-radius:var(--radius-sm);cursor:pointer;background:0 0;padding:0}.badge{align-items:center;gap:var(--ui-space-xs);height:24px;padding:0 var(--ui-space-sm);border-radius:var(--ui-radius-pill);border:1px solid var(--border);font-size:var(--ui-font-footnote);white-space:nowrap;background:var(--raised);font-weight:600;display:inline-flex}.badge-plain{background:0 0;border-color:#0000;padding:0}.badge-prefix{color:var(--text-muted);font-weight:500}.badge-ok{color:var(--ok);background:var(--ok-soft);border-color:#0000}.badge-info{color:var(--accent);background:var(--info-soft);border-color:#0000}.badge-warn,.badge-demo{color:var(--warning);background:var(--warning-soft);border-color:var(--warning)}.badge-demo{letter-spacing:.04em;text-transform:uppercase;font-size:var(--ui-font-caption)}.badge-error{color:var(--error);background:var(--error-soft);border-color:var(--error)}.badge-neutral{color:var(--text-muted)}.tone-positive{color:var(--buy)}.tone-negative{color:var(--sell)}.tone-neutral{color:var(--text-muted)}.popover{display:inline-block;position:relative}.popover-panel{z-index:40;min-width:300px;padding:var(--ui-space-md);background:var(--raised);border:1px solid var(--border-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-menu);position:absolute;top:calc(100% + 6px)}.popover-start{left:0}.popover-end{right:0}.scrim{z-index:60;background:var(--scrim);padding:var(--ui-space-lg);place-items:center;display:grid;position:fixed;inset:0}.dialog{background:var(--raised);border:1px solid var(--border-strong);border-radius:var(--radius-lg);width:min(480px,100%);max-height:100%;box-shadow:var(--shadow-menu);flex-direction:column;display:flex}.dialog-head,.dialog-foot{justify-content:space-between;align-items:center;gap:var(--ui-space-sm);padding:var(--ui-space-md) var(--ui-space-lg);display:flex}.dialog-head{border-bottom:1px solid var(--border)}.dialog-foot{border-top:1px solid var(--border);justify-content:flex-end}.dialog-title{font-size:var(--ui-font-body);font-weight:650}.dialog-body{padding:var(--ui-space-lg);gap:var(--ui-space-md);flex-direction:column;display:flex;overflow:auto}.notice{gap:var(--ui-space-sm);padding:var(--ui-space-md) var(--ui-space-md);border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);display:flex}.notice-title{font-weight:650}.notice-error{border-color:var(--error);background:var(--error-soft)}.notice-error .icon{color:var(--error)}.notice-ok{border-color:var(--ok);background:var(--ok-soft)}.notice-ok .icon{color:var(--ok)}.notice-warn{border-color:var(--warning);background:var(--warning-soft)}.notice-warn .icon{color:var(--warning)}.notice-body{gap:var(--ui-space-xxs);flex-direction:column;display:flex}:root[data-reduced-motion=true] *,:root[data-reduced-motion=true] :before,:root[data-reduced-motion=true] :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.tone-error{color:var(--error)}.tone-warn{color:var(--warning)}
