/* Light workstation UI. Edit this file directly.
 *
 * This began as an extraction from another project ui.html and was generated
 * by a script that no longer exists. Light owns it now: there is no upstream to
 * re-sync from, and no generator to re-run.
 *
 * The panel is the whole page here, so it is not hidden behind a workspace tab.
 */
  .light-panel{ display:block; width:100%; height:100%; min-width:0; min-height:0; margin:0; padding:0; overflow:hidden; background:#090d11; color:#e6edf2; }
  .workspace-float[data-workspace="light"] .workspace-float-tabs,.workspace-float[data-workspace="light"] .workspace-window-beta{ display:none; }
  .workspace-float[data-workspace="light"] .workspace-float-actions{ margin-left:auto; }
  #lightSimResetTop{ display:none; }
  .workspace-float[data-workspace="light"] #lightSimResetTop{ display:block; }
  .workspace-float[data-workspace="light"] .workspace-float-bar{ position:absolute; z-index:3000; top:0; right:0; width:136px; height:34px; min-height:34px; padding:0; border:0; background:transparent!important; box-shadow:none; color:#9cabb5; }
  .workspace-float[data-workspace="light"] .workspace-float-actions{ position:static; width:136px; height:34px; display:grid; grid-template-columns:repeat(4,34px); border:0; background:transparent; box-shadow:none; }
  .workspace-float[data-workspace="light"] .workspace-float-bar button{ width:34px; height:34px; color:#dce5ea; background:transparent; border:0; border-radius:0; box-shadow:none; }
  .workspace-float[data-workspace="light"] #lightSimResetTop:disabled{ opacity:.35; cursor:default; }
  .workspace-float[data-workspace="light"] .workspace-float-bar button:hover{ background:transparent; color:#fff; }
  .workspace-float[data-workspace="light"] .workspace-float-bar button svg{ width:16px; height:16px; stroke-width:1.8; }
  .workspace-float[data-workspace="light"] .workspace-float-content{ padding-top:0; }
  .light-shell{ --light-line:#27323b; --light-panel:#0b1015; --light-panel-2:#171e25; --light-toolbar:#11181e; position:relative; width:100%; height:100%; min-width:0; min-height:480px; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:34px minmax(0,1fr) 22px; container-type:size; overflow:hidden; background:#090d11; color:#e6edf2; font:10px var(--ui); }
  .light-shell.reauth-required{ grid-template-rows:34px 28px minmax(0,1fr) 22px; }
  .light-commandbar{ position:relative; z-index:2000; overflow:visible; display:flex; align-items:stretch; gap:6px; padding:0 141px 0 8px; border-bottom:1px solid var(--light-line); background:var(--light-toolbar); }
  .light-brand{ font-size:13px; font-weight:800; letter-spacing:.12em; color:#fff; }
  .light-brand span{ color:#35b8ff; }
  .light-connection{ min-width:0; max-width:230px; display:flex; align-items:center; gap:5px; color:#9eabb4; }.light-connection span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .light-connection-dot{ width:6px; height:6px; border-radius:50%; background:#ffb020; }
  .light-connection.connected .light-connection-dot{ background:#33d17a; box-shadow:0 0 7px #33d17a88; }
  .light-symbol-picker input{ width:clamp(76px,8vw,118px); }
  .light-commandbar>.light-ticket-controls{ flex:1 1 auto; width:auto; min-width:0; height:100%; margin:0 0 0 5px; border:0; border-radius:0; background:var(--light-toolbar); }
  .light-commandbar>.light-ticket-controls button,.light-commandbar>.light-ticket-controls select{ height:100%; font:750 9px/1 var(--ui); }
  .light-commandbar>.light-ticket-controls button:not(.light-kill):not(.active),.light-commandbar>.light-ticket-controls select{ background:var(--light-toolbar); }
  .light-commandbar>.light-ticket-controls button:disabled{ opacity:.62; }
  #lightSettingsButton{ color:#f0f5f7; }
  .light-control-icon{ width:13px; height:13px; flex:0 0 13px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .light-control-with-icon{ display:inline-flex; align-items:center; justify-content:center; gap:5px; white-space:nowrap; }
  .light-command-actions{ display:flex; align-items:stretch; height:100%; }
  .light-command-actions button,.light-command-actions select{ height:100%; padding:0 9px; border:0; border-left:1px solid #303a43; border-radius:0; background:#1d252c; color:#dce5ea; font:700 9px/1 var(--ui); }
  .light-command-actions button{ cursor:pointer; }
  .light-command-actions .light-trade{ background:#098a23; color:white; font-weight:800; }.light-command-actions .light-trade:disabled{ opacity:.65; cursor:not-allowed; }
  .light-command-actions .light-auto-start{ color:#50e98b; font-weight:800; }.light-command-actions .light-auto-start.active{ background:#126b36; color:#fff; }
  .light-command-actions .light-auto-stop{ color:#ff9da2; }.light-command-actions .light-auto-start:disabled,.light-command-actions .light-auto-stop:disabled{ opacity:.42; cursor:not-allowed; }
  .light-header-account,.light-header-clock{ display:flex; flex-direction:column; justify-content:center; padding:0 9px; border-left:1px solid #303a43; color:#8d9ba5; text-align:right; text-transform:uppercase; }.light-header-account small,.light-header-clock small{ font-size:6px; }.light-header-account b,.light-header-clock b{ color:#dbe4e9; font-size:8px; font-weight:600; }.light-header-clock strong{ color:#edf3f6; font:12px/1 var(--ui); letter-spacing:.04em; }
  .light-grid{ width:100%; max-width:100%; min-width:0; min-height:0; position:relative; overflow:hidden; }
  .light-window{ position:absolute; min-width:0; min-height:0; display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--light-line); background:var(--light-panel); box-shadow:0 8px 20px #0007; }
  /* Placement now comes from data-light-slot so windows can be swapped. */
  .light-window.chart{ container-type:inline-size; }
  .light-ticket{ flex:0 0 auto; padding:6px 8px; border-bottom:1px solid var(--light-line); background:#11181e; }.light-ticket-grid{ display:grid; grid-template-columns:.8fr .8fr .8fr 1.2fr; gap:6px; }.light-ticket-grid.order{ grid-template-columns:.65fr .9fr .85fr 1.35fr; margin-top:5px; }.light-ticket-field{ min-width:0; color:#33bfff; text-transform:uppercase; font-size:7px; }.light-ticket-field output{ display:block; height:22px; padding:3px 5px 0; overflow:hidden; color:#f2f5f7; font:700 10px var(--ui); text-overflow:ellipsis; white-space:nowrap; }.light-ticket-field output.negative{ color:#ff5d65; }.light-ticket-field output.positive{ color:#35db7d; }.light-ticket-field input,.light-ticket-field select{ width:100%; height:22px; margin-top:2px; padding:0 5px; border:1px solid #3c4852; border-radius:2px; background:#303a44; color:#fff; font:9px var(--ui); box-sizing:border-box; }.light-ticket-actions{ width:min(100%,360px); display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin:6px auto 0; }.light-ticket-actions button{ height:22px; border:0; border-radius:3px; color:#fff; font:800 10px var(--ui); }.light-ticket-actions .buy{ background:#168b48; }.light-ticket-actions .close{ background:#258b2f; }.light-ticket-actions .sell{ background:#bd242c; }.light-ticket-actions button:disabled{ opacity:.72; cursor:not-allowed; }.light-ticket-decision{ color:#ffb83d; font-size:18px; font-weight:850; line-height:1; }.light-ticket-decision.buy{ color:#2bdd7b; }.light-ticket-decision.sell{ color:#ff5b63; }.light-ticket-note{ min-width:0; overflow:hidden; color:#9aa7af; text-overflow:ellipsis; white-space:nowrap; font-size:9px; }
  .light-open-orders{ min-height:0; flex:1; display:flex; flex-direction:column; overflow:hidden; background:#0d1419; }.light-open-orders-head{ flex:0 0 24px; display:flex; align-items:center; gap:8px; padding:0 8px; border-bottom:1px solid #26313a; color:#e8eef2; font-size:10px; font-weight:800; }.light-open-orders-head span{ color:#83919b; font-size:8px; font-weight:500; }.light-open-orders-columns,.light-open-orders-row{ display:grid; grid-template-columns:minmax(62px,1fr) 30px minmax(54px,.8fr) 48px 36px 42px; align-items:center; gap:5px; padding:0 8px; font-variant-numeric:tabular-nums; }.light-open-orders-columns{ flex:0 0 22px; color:#74828c; font-size:7px; }.light-open-orders-list{ min-height:0; flex:1; overflow-y:auto; }.light-open-orders-row{ min-height:29px; border-top:1px solid #1d262d; color:#cbd5da; font-size:8px; }.light-open-orders-row span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.light-open-orders-row button{ height:19px; padding:0 4px; border:1px solid #42505a; border-radius:3px; background:#1b252c; color:#b9c5cc; font:700 7px/1 var(--ui); cursor:pointer; }.light-open-orders-row button:hover{ color:#fff; background:#293740; }.light-open-orders-row .cancel{ border-color:#73343a; background:#2b1417; color:#c8797e; }
.light-ticket-position{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:7px -8px; border-bottom:1px solid var(--light-line); background:#0e151a; }
  .light-qty-stepper{ width:100%; height:22px; margin-top:2px; display:grid; grid-template-columns:22px minmax(0,1fr) 22px; overflow:hidden; border:1px solid #3c4852; border-radius:3px; background:#303a44; }.light-qty-stepper input{ width:100%!important; height:20px!important; margin:0!important; padding:0 2px!important; border:0!important; border-radius:0!important; background:transparent!important; text-align:center; appearance:textfield; -moz-appearance:textfield; }.light-qty-stepper input::-webkit-inner-spin-button,.light-qty-stepper input::-webkit-outer-spin-button{ margin:0; appearance:none; }.light-qty-step{ min-width:0; height:20px; padding:0; border:0; background:#253039; color:#b9c6cd; font:700 12px/1 var(--ui); cursor:pointer; }.light-qty-step:first-child{ border-right:1px solid #3c4852; }.light-qty-step:last-child{ border-left:1px solid #3c4852; }.light-qty-step:hover:not(:disabled){ background:#35434d; color:#fff; }.light-qty-step:disabled{ opacity:.35; cursor:not-allowed; }
  .light-ticket-position span{ min-width:0; display:grid; gap:2px; padding:5px 8px; }
  .light-ticket-position small{ color:#748692; font:400 7px/1 var(--ui); text-transform:none; }
  .light-ticket-position b{ overflow:hidden; color:#e8eef2; font:500 9px/1 var(--ui); text-overflow:ellipsis; white-space:nowrap; }
  .light-ticket-position b.positive{ color:#35db7d; }.light-ticket-position b.negative{ color:#ff626a; }
  .light-ticket.limit-active #lightTicketLimitPrice{ border-color:#35b8ff; box-shadow:inset 0 0 0 1px #35b8ff55; background:#152a34; }
  .light-ticket.limit-active .light-ticket-field:has(#lightTicketLimitPrice){ color:#6dd4ff; }
  .light-ticket-controls{ display:grid; grid-template-columns:minmax(112px,1.35fr) minmax(58px,.72fr) minmax(62px,.76fr) minmax(64px,.78fr) minmax(92px,1.1fr) 42px; gap:0; margin-top:5px; overflow:hidden; border:0; border-radius:3px; background:#11171c; }.light-ticket-controls button,.light-ticket-controls select{ height:22px; min-width:0; padding:0 7px; border:0; border-radius:0; background:#171e23; color:#dce5ea; font:700 8px/1 var(--ui); cursor:pointer; }.light-ticket-controls .light-auto-start{ color:#9aa6ad; font-weight:800; }.light-ticket-controls .light-auto-start.active{ background:#126b36; color:#fff; }.light-ticket-controls .light-kill{ background:#a5282f; color:#fff; font-weight:800; }.light-ticket-controls .light-kill:hover:not(:disabled){ background:#c1323a; }.light-ticket-controls .light-mode-select{ color:#47e984; text-align:center; text-align-last:center; }.light-ticket-controls .light-mode-select.live{ background:#8a1f24; color:#ffd9db; font-weight:800; }
  /* Real money is on the line: the toolbar carries a persistent live marker so no screenshot, no glance, and no half-remembered session can mistake LIVE for SIM. */
  body.light-live-trading .light-ticket-controls{ outline:1px solid #8a1f24; outline-offset:0; }.light-ticket-controls button:disabled,.light-ticket-controls select:disabled{ opacity:.42; cursor:not-allowed; }
  .light-shell.algo-running .light-trade-decision{ position:relative; border-color:#28d978; box-shadow:0 0 8px #28d97826; }.light-shell.algo-running .light-trade-decision::after{ content:""; position:absolute; z-index:5; inset:0; border:1px solid #28d978; pointer-events:none; }.light-ticket-controls .light-auto-start.active{ position:relative; background:#0d7d3d; text-shadow:0 1px #06361d; }.light-ticket-controls .light-auto-start.active::before{ content:""; display:inline-block; width:6px; height:6px; margin-right:5px; border-radius:50%; background:#8dffb9; box-shadow:0 0 8px #61ff9e; animation:lightAlgoPulse 1.5s ease-in-out infinite; vertical-align:1px; }@keyframes lightAlgoPulse{50%{opacity:.45;box-shadow:0 0 2px #61ff9e}}
  .light-ticket-controls>#lightAutoStart,.light-ticket-controls>#lightMnqSwing{ display:none; }
  .light-ticket-controls>#lightSimKill{ display:none; }
  .light-ticket-controls #lightSimReset{ display:none!important; }
  .light-ticket-controls{ grid-template-columns:236px!important; }
  .light-toolbar-risk{ width:236px; min-width:236px; display:grid; grid-template-columns:repeat(2,118px); background:var(--light-toolbar); }
  .light-toolbar-risk-meter:has(#lightDailyLossNow){ display:none; }
  .light-toolbar-risk-meter:has(#lightTradeLossNow){ display:none; }
  .light-toolbar-risk-meter{ min-width:0; display:grid; grid-template-rows:auto 5px; align-content:center; gap:5px; padding:0 12px; }
  .light-toolbar-risk-meter span{ min-width:0; overflow:hidden; color:#aeb9c0; font:400 8px/1 var(--ui); text-overflow:ellipsis; text-transform:none; white-space:nowrap; }
  .light-toolbar-risk-meter b{ float:right; margin-left:6px; color:#e8eef2; font:400 9px/1 var(--ui); font-variant-numeric:tabular-nums; }
  .light-toolbar-risk-meter.profit b{ color:#53df8d; }
  .light-toolbar-risk-meter.day.positive b{ color:#53df8d; }.light-toolbar-risk-meter.day.negative b{ color:#ff626a; }
  .light-toolbar-risk-meter.open.positive b{ color:#53df8d; }.light-toolbar-risk-meter.open.negative b{ color:#ff626a; }
  .light-toolbar-risk-meter .light-risk-track{ height:5px; margin:0; }
  .light-account-picker-menu{ box-sizing:border-box; }
  .light-hidden-account{ display:none!important; } .light-footer-account{ width:100%; max-width:220px; height:22px; padding:0 18px 0 6px; border:0; border-radius:2px; background:#eee8df; color:#302d29; font:9px/1 var(--ui); cursor:pointer; }.light-footer-account:disabled{ opacity:.6; cursor:not-allowed; }.light-footer-account:hover:not(:disabled){ background:#e4ddd3; }
  .light-footer-stat.account{ position:relative; overflow:visible; }.light-account-native{ display:none!important; }.light-account-picker{ position:relative; width:100%; max-width:220px; height:100%; }.light-account-picker-button{ width:100%; height:100%; display:flex; align-items:center; gap:6px; padding:0 7px; border:0; background:#eee8df; color:#302d29; font:9px/1 var(--ui); cursor:pointer; }.light-account-picker-button:hover,.light-account-picker.open .light-account-picker-button{ background:#e4ddd3; }.light-account-picker-button:disabled{ opacity:.55; cursor:not-allowed; }.light-account-picker-button>span{ min-width:0; flex:1; overflow:hidden; text-align:left; text-overflow:ellipsis; white-space:nowrap; }.light-account-picker-button>svg{ width:11px; height:11px; flex:0 0 11px; fill:none; stroke:#746b61; stroke-width:1.6; transition:transform .16s ease; }.light-account-picker.open .light-account-picker-button>svg{ transform:rotate(180deg); }.light-account-picker-button.live{ color:#9f4036; background:#f5e4e1; }
  .light-account-picker-menu{ position:fixed; z-index:2147483000; left:4px; top:4px; width:260px; max-height:260px; padding:4px; overflow-y:auto; border:1px solid #43515a; border-radius:4px; background:#0b1115; box-shadow:0 -12px 32px #000b; }.light-account-picker-menu[hidden]{ display:none; }.light-account-picker-heading{ padding:7px 8px 5px; color:#788791; font:800 7px/1 var(--ui); letter-spacing:.09em; }.light-account-picker-heading.live{ margin-top:3px; border-top:1px solid #303a42; color:#db777d; }.light-account-picker-menu button{ width:100%; height:30px; display:grid; grid-template-columns:minmax(0,1fr) 34px; align-items:center; gap:8px; padding:0 8px; border:0; border-radius:2px; background:transparent; color:#dce5e9; font:9px/1 var(--ui); cursor:pointer; }.light-account-picker-menu button span{ overflow:hidden; text-align:left; text-overflow:ellipsis; white-space:nowrap; }.light-account-picker-menu button i{ padding:3px 4px; border-radius:8px; background:#29343b; color:#c8d2d7; font:800 6px/1 var(--ui); font-style:normal; text-align:center; }.light-account-picker-menu button.live i{ background:#531f24; color:#ffb3b7; }.light-account-picker-menu button:hover:not(:disabled),.light-account-picker-menu button:focus-visible{ background:#25323a; outline:1px solid #5ce0bd; outline-offset:-1px; }.light-account-picker-menu button.live:hover:not(:disabled),.light-account-picker-menu button.live:focus-visible{ background:#3a1c20; outline-color:#ff747b; }.light-account-picker-menu button[aria-selected="true"]{ background:#20332f; color:#fff; }.light-account-picker-menu button:disabled{ opacity:.36; cursor:not-allowed; }
  .light-window.matrix .light-strategy-card{ grid-template-columns:minmax(110px,.65fr) minmax(0,1.35fr)!important; min-height:58px; border:1px solid #35434d; border-radius:4px; }
  .light-strategy-card .light-strategy-action{ width:100%; display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:4px; margin-top:2px; }
  .light-strategy-action small{ color:#8f9da6; font:700 7px/1 var(--ui); text-align:center; }
  .light-strategy-toggle{ height:25px; border:1px solid #43515a; border-radius:3px; background:#1a2228; color:#aab5bc; font:800 8px/1 var(--ui); cursor:pointer; }
  .light-strategy-toggle.active{ border-color:#28d978; background:#0d7d3d; color:#fff; box-shadow:0 0 7px #28d97838; }
  .light-strategy-toggle:disabled{ opacity:.45; cursor:not-allowed; }
  .light-mnq-strategy{ border-top:1px solid #35434d!important; background:#0e161b; }
  .light-mnq-strategy .light-ticket-decision{ color:#5bc6ff; }
  .light-shell.algo-running .light-strategy-card{ border-color:var(--light-line); box-shadow:none; }
  .light-shell.algo-running .light-strategy-card::after{ display:none; }
  .light-strategy-card.strategy-running{ position:relative; border-color:#28d978!important; box-shadow:inset 0 0 0 1px #28d978,0 0 8px #28d97826!important; }
  .light-ticket-controls .light-mode-select{ min-width:48px; }
  .light-header-account-wrap{ position:relative; min-width:0; height:100%; display:flex; align-items:center; justify-content:center; padding:0 22px 0 8px; overflow:hidden; border-right:1px solid #303a43; background:#171e23; color:#e7eef2; font:750 9px/1 var(--ui); }
  .light-header-account-wrap>span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .light-header-account-wrap>svg{ position:absolute; right:7px; top:50%; width:11px; height:11px; transform:translateY(-50%); fill:none; stroke:currentColor; stroke-width:2; pointer-events:none; }
  .light-ticket-controls .light-header-account{ position:absolute; inset:0; z-index:2; display:block; width:100%; min-width:0; height:100%; padding:0; opacity:0; cursor:pointer; }
  .light-chart-tools{ margin-left:auto; height:100%; display:flex; align-items:stretch; }.light-chart-tool-group{ display:flex; align-items:stretch; border-left:1px solid #303a43; }.light-chart-tool-group button,.light-chart-fit{ min-width:26px; padding:0 7px; border:0; border-right:1px solid #303a43; background:#11181e; color:#8e9ba4; font:700 7px/1 var(--ui); cursor:pointer; }.light-chart-tool-group button:hover,.light-chart-fit:hover{ background:#243039; color:#eef4f7; }.light-chart-tool-group button.active{ color:#5ce0bd; background:#18342f; box-shadow:inset 0 -2px #5ce0bd; }.light-chart-indicators button{ min-width:34px; }.light-chart-zoom{ display:grid; grid-template-columns:24px 38px 24px; align-self:stretch; border-left:1px solid #303a43; }.light-chart-zoom button{ display:flex; align-items:center; justify-content:center; padding:0; border:0; border-right:1px solid #303a43; background:#11181e; color:#dce5ea; cursor:pointer; }.light-chart-zoom button:hover{ background:#243039; }.light-chart-zoom button:disabled{ color:#56636c; cursor:default; }.light-chart-zoom output{ display:flex; align-items:center; justify-content:center; border-right:1px solid #303a43; background:#11181e; color:#aebac1; font:700 7px/1 var(--ui); font-variant-numeric:tabular-nums; }
  .light-chart-tag{ display:flex; align-items:stretch; border-left:1px solid #303a43; }.light-chart-tag input{ width:76px; min-width:0; padding:0 6px; border:0; border-right:1px solid #303a43; background:#11181e; color:#dce5ea; font:700 7px/1 var(--ui); outline:0; }.light-chart-tag input:focus{ background:#172229; box-shadow:inset 0 -2px #5ce0bd; }.light-chart-tag button{ width:24px; padding:0; border:0; border-right:1px solid #303a43; background:#11181e; color:#8e9ba4; font:800 8px/1 var(--ui); cursor:pointer; }.light-chart-tag button:hover{ background:#243039; color:#fff; }
  .light-trade-decision{ flex:0 0 auto; display:grid; grid-template-columns:minmax(115px,.75fr) minmax(0,1.6fr); border-bottom:1px solid var(--light-line); background:#11181e; }.light-ticket-status{ min-width:0; display:flex; flex-direction:column; justify-content:center; gap:7px; padding:12px; border-right:1px solid #303a43; }
  .light-tabs{ flex:0 0 27px; display:flex; align-items:end; gap:2px; padding:0 5px; border-bottom:1px solid var(--light-line); background:#090d11; }
  .light-tab{ height:25px; display:flex; align-items:center; gap:6px; padding:0 9px; border:1px solid transparent; border-bottom:0; background:transparent; color:#aab6bd; font-weight:700; }
  .light-tab.active{ border-color:var(--light-line); background:var(--light-panel-2); color:#fff; }
  .light-tab-close{ color:#6e7b84; }.light-tab-add{ color:#83919a; font-size:14px; }
  .light-window-tools{ margin-left:auto; align-self:center; display:flex; gap:8px; color:#88969f; font-size:12px; }
  .light-matrix-head{ display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); align-items:center; gap:8px 10px; padding:10px 12px; background:var(--light-panel-2); }.light-matrix-head .light-metric:nth-child(1),.light-matrix-head .light-metric:nth-child(3){ grid-column:1/4; }.light-matrix-head .light-metric:nth-child(2),.light-matrix-head .light-metric:nth-child(4){ grid-column:4/7; }
  .light-metric{ min-width:0; }.light-metric small{ display:block; color:#9aa7af; font-size:8px; line-height:1.15; text-transform:uppercase; white-space:normal; }.light-metric b{ display:block; margin-top:3px; overflow:hidden; font-size:12px; font-variant-numeric:tabular-nums; text-overflow:ellipsis; white-space:nowrap; }
  .light-signal{ color:#9ca8b0; }.light-signal.buy{ color:#29df7c; }.light-signal.sell{ color:#ff4d55; }
  .light-matrix-tools{ min-height:0; flex:1; display:grid; grid-template-rows:minmax(148px,auto) minmax(86px,112px) minmax(0,1fr) auto; gap:4px; padding:4px; background:#05080b; }
  .light-matrix-card{ min-height:0; border:1px solid #303b44; border-radius:4px; background:linear-gradient(135deg,#111920,#0b1116); overflow:hidden; }
  .light-matrix-card h3{ margin:0; padding:8px 9px; border-bottom:1px solid #26313a; color:#eaf1f5; font-size:10px; letter-spacing:.04em; }
  .light-position-risk-card{ height:100%; display:flex; flex-direction:column; }.light-position-risk-card h3{ display:flex; align-items:center; justify-content:space-between; gap:8px; }.light-position-risk-card h3>span{ color:#36d87c; font-size:9px; font-weight:600; }.light-risk-toggle{ margin-left:auto; padding:3px 7px; border:1px solid #35414a; border-radius:3px; background:#151d22; color:#aab6bd; font:8px var(--ui); cursor:pointer; }.light-risk-toggle b{ color:#e6edf1; }
  .light-position-risk-body{ display:grid; grid-template-columns:minmax(0,1fr); min-height:0; }.light-position-summary{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; padding:8px; }.light-position-stat{ min-width:0; padding:8px; border-right:1px solid #26313a; }.light-position-stat:nth-child(3n){ border-right:0; }.light-position-stat small,.light-position-stat b{ display:block; }.light-position-stat small{ color:#9aa6ae; font-size:8px; line-height:1.2; text-transform:uppercase; white-space:normal; }.light-position-stat b{ margin-top:5px; overflow:hidden; color:#e7eef2; font-size:12px; font-variant-numeric:tabular-nums; text-overflow:ellipsis; white-space:nowrap; }.light-position-stat b.flat,.light-position-stat b.good{ color:#42d97e; }
  .light-risk-side{ min-width:0; padding:8px; }.light-risk-side .light-risk-toggle{ width:100%; min-height:34px; display:flex; align-items:center; justify-content:space-between; gap:6px; padding:4px 8px; overflow:hidden; font-size:9px; }.light-risk-side .light-risk-toggle span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .light-risk-live{ display:grid; grid-template-columns:1fr; gap:7px; padding-top:8px; }.light-risk-meter{ min-width:0; padding:7px 8px; border:1px solid #29343c; border-radius:4px; background:#0a1014; }.light-risk-meter-head{ display:flex; align-items:baseline; justify-content:space-between; gap:6px; color:#9aa6ae; font-size:8px; text-transform:uppercase; }.light-risk-meter-head b{ color:#e7eef2; font-size:11px; font-variant-numeric:tabular-nums; text-transform:none; white-space:nowrap; }.light-risk-track{ height:4px; margin-top:6px; overflow:hidden; border-radius:4px; background:#263139; }.light-risk-track i{ display:block; width:0; height:100%; border-radius:inherit; background:#36d87c; transition:width .2s ease,background .2s ease; }.light-risk-track i.warn{ background:#ffb020; }.light-risk-track i.danger{ background:#ff5660; }
  .light-risk-form{ display:none; position:absolute; z-index:8; top:42px; right:8px; width:calc(100% - 16px); grid-template-columns:1fr 1fr; align-items:end; gap:9px; padding:11px; border:1px solid #40505b; border-radius:4px; background:#11191f; box-shadow:0 14px 34px rgba(0,0,0,.7); }.light-position-risk-card.risk-editing .light-risk-form{ display:grid; }.light-position-risk-card{position:relative}.light-risk-form-head{grid-column:1/-1;display:flex;align-items:center;padding-bottom:8px;border-bottom:1px solid #2b3740;color:#edf3f6;font-size:11px}.light-risk-form-head button{margin-left:auto;width:24px;height:24px;border:0;background:transparent;color:#cbd6dc;font-size:18px;cursor:pointer}.light-risk-form-head button:hover{background:#26323a;color:#fff}.light-risk-form .light-risk-save{grid-column:1/-1;width:100%}.light-risk-settings-button{width:28px;height:24px;border:1px solid #35414a;border-radius:3px;background:#151d22;color:#dce5ea;font-size:12px;cursor:pointer}.light-risk-settings-button:hover{background:#26323a}.light-risk-summary-static{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px 8px;border:1px solid #35414a;border-radius:4px;background:#151d22;color:#c3cdd3;font-size:9px}.light-risk-summary-static b{color:#edf3f6}.light-risk-summary-static span{min-width:0;text-align:right}
  .light-risk-field{ min-width:0; color:#87959e; font-size:7px; text-transform:uppercase; }
  .light-risk-field input{ width:100%; height:27px; margin-top:4px; padding:0 7px; box-sizing:border-box; border:1px solid #3a4650; border-radius:3px; background:#273139; color:#fff; font:10px var(--ui); }
  .light-risk-save{ height:27px; padding:0 14px; border:1px solid #168949; border-radius:3px; background:#116233; color:#fff; font:800 8px var(--ui); cursor:pointer; white-space:nowrap; }
  .light-risk-note{ grid-column:1/-1; min-height:10px; color:#81909a; font-size:7px; line-height:1.35; }
  .light-risk-settings-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
  .light-risk-settings-grid label{ min-width:0; color:#87959e; font-size:7px; text-transform:uppercase; }
  .light-risk-settings-grid input{ width:100%; height:27px; margin-top:4px; padding:0 7px; box-sizing:border-box; border:1px solid #3a4650; border-radius:3px; background:#273139; color:#fff; font:10px var(--ui); }
  .light-intelligence-marker,.light-signal-timeline{cursor:pointer;pointer-events:all}.light-intelligence-marker text{font:850 5.5px var(--ui);letter-spacing:.015em;paint-order:stroke;stroke:#05090c;stroke-width:1.35px;stroke-linejoin:round}.light-intelligence-marker.bullish text{fill:#57dca9}.light-intelligence-marker.bearish text{fill:#f56d77}.light-intelligence-marker:hover text,.light-intelligence-marker:focus text{fill:#fff;stroke-width:1.8px}.light-signal-stem{stroke:#71848d;stroke-width:.55;stroke-dasharray:1.5 1;vector-effect:non-scaling-stroke;opacity:.8}.light-signal-anchor{fill:#0a1014;stroke:#9eb0b8;stroke-width:.7;vector-effect:non-scaling-stroke}.light-intelligence-marker.bullish .light-signal-stem,.light-intelligence-marker.bullish .light-signal-anchor{stroke:#38d29a}.light-intelligence-marker.bearish .light-signal-stem,.light-intelligence-marker.bearish .light-signal-anchor{stroke:#f0616c}.light-signal-stem.active{stroke-width:.8;stroke-dasharray:2 1;opacity:.95}
  .light-intelligence-marker.current text{font-size:6px;stroke-width:1.6px;filter:drop-shadow(0 0 2px #000)}.light-intelligence-marker.current.blocked text{fill:#ff5f68;text-decoration:line-through}.light-intelligence-marker.current.caution text{fill:#f1b72f}
  .light-signal-timeline circle{fill:#12212a;stroke:#617783;stroke-width:.7}.light-signal-timeline text{fill:#b7c6cd;font:900 5px var(--ui);pointer-events:none}.light-signal-timeline.bullish circle{stroke:#38d39c}.light-signal-timeline.bearish circle{stroke:#ff606b}.light-signal-timeline:hover circle,.light-signal-timeline:focus circle{fill:#fff;stroke:#fff}.light-signal-timeline:hover text,.light-signal-timeline:focus text{fill:#071015}
  .light-chart-signal-summary{display:inline-flex;align-items:center;min-height:16px;padding:0 6px;border:1px solid #43505a;border-radius:3px;background:#101820;color:#aab5bc;font:900 7px/1 var(--ui);letter-spacing:.025em;white-space:nowrap}.light-chart-signal-summary.bullish{border-color:#22c982;background:#073c2a;color:#58f0b2}.light-chart-signal-summary.bearish{border-color:#ec4d5d;background:#48121a;color:#ff7e88}.light-chart-signal-summary.weak{border-color:#515d64;background:#111920;color:#b2bdc3}.light-chart-signal-summary.neutral{color:#aab5bc}
  .light-chart-signal-filter{height:100%;min-width:76px;padding:0 15px 0 6px;border:0;border-left:1px solid #34414a;background:#121b21;color:#aebbc2;font:800 5.5px/1 var(--ui);cursor:pointer}
  .light-chart-auto-controls{position:absolute;z-index:9;top:28px;right:8px;display:flex;gap:4px;padding:4px;border:1px solid #30404a;border-radius:4px;background:rgba(6,12,16,.88);box-shadow:0 6px 16px rgba(0,0,0,.3);backdrop-filter:blur(5px)}.light-chart-auto-controls button{height:22px;padding:0 7px;border:1px solid #35454f;border-radius:3px;background:#111b21;color:#93a4ad;font:800 6px/1 var(--ui);letter-spacing:.035em;cursor:pointer}.light-chart-auto-controls button:hover:not(:disabled){border-color:#5a7888;color:#eef6f8}.light-chart-auto-controls button.on{border-color:#32c996;background:#10352b;color:#62e5b9;box-shadow:inset 0 -2px #3bd39a}.light-chart-auto-controls .marker-exit.on{border-color:#d39b2b;background:#332714;color:#f6c85c;box-shadow:inset 0 -2px #f1b72f}.light-chart-auto-controls .close-position:not(:disabled){border-color:#b94a53;color:#ff737c}.light-chart-auto-controls button:disabled{opacity:.42;cursor:not-allowed}
  .light-training-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.light-training-status span{display:grid;gap:3px;padding:6px;border:1px solid #26313a;background:#10181e;color:#7f8d96;font:600 6.5px var(--ui);text-transform:uppercase}.light-training-status b{color:#dce5ea;font-size:8px;overflow:hidden;text-overflow:ellipsis}
  .light-codex-lab{max-width:820px;padding:12px;border:1px solid #2d3942;background:#10181e}.light-codex-status{display:flex;align-items:center;gap:8px}.light-codex-status>div{display:grid;gap:3px}.light-codex-status b{color:#dce5ea;font-size:9px}.light-codex-status small,.light-codex-lab p{color:#7f8d96;font-size:7px;line-height:1.45}.light-codex-dot{width:8px;height:8px;border-radius:50%;background:#c8797e;box-shadow:0 0 0 3px #c8797e22}.light-codex-lab.ready .light-codex-dot{background:#5ce0bd;box-shadow:0 0 0 3px #5ce0bd22}.light-codex-lab.busy .light-codex-dot{background:#f2b84b;animation:light-pulse 1.2s infinite}.light-codex-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.light-codex-actions button{height:28px;padding:0 10px;border:1px solid #3f9c86;background:#18342f;color:#5ce0bd;font:700 7px var(--ui);cursor:pointer}.light-codex-actions button:disabled{opacity:.45;cursor:default}.light-codex-lab pre{max-height:320px;margin:10px 0 0;padding:10px;overflow:auto;white-space:pre-wrap;border:1px solid #2d3942;background:#0b1115;color:#cbd7dd;font:8px/1.55 ui-monospace,Consolas,monospace}
  .light-training-actions{flex-wrap:wrap}.light-training-review{margin-top:6px;border:1px solid #2b3a43;background:#0a1116;max-height:250px;overflow:hidden}.light-training-review>header{display:grid;grid-template-columns:1fr 120px auto;gap:5px;align-items:center;padding:5px;border-bottom:1px solid #26343d}.light-training-review>header b{font:700 7px var(--ui);color:#48cbea;letter-spacing:.08em}.light-training-review select,.light-training-review button{height:23px;font:600 7px var(--ui)}.light-training-records{max-height:215px;overflow:auto}.light-training-record{display:grid;grid-template-columns:52px 55px minmax(90px,1fr) 58px 92px;gap:5px;align-items:center;min-height:31px;padding:4px 5px;border-bottom:1px solid #18242b;font:600 6.5px var(--ui);color:#9aabb4}.light-training-record time{color:#6e808a}.light-training-record strong{color:#dce8ed;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.light-training-record em{font-style:normal;text-transform:uppercase}.light-training-record em.bullish{color:#36d89e}.light-training-record em.bearish{color:#ff5b68}.light-training-record select{width:100%;height:22px;background:#111b21;color:#dce5ea;border:1px solid #334650}
  .light-training-workbench-actions{flex-wrap:wrap}.light-training-analysis{box-sizing:border-box;width:min(820px,100%);max-height:240px;margin:10px 0 6px;padding:10px;overflow:auto;white-space:pre-wrap;border:1px solid #2d3942;background:#0b1115;color:#cbd7dd;font:8px/1.55 ui-monospace,Consolas,monospace}.light-profit-runner-grid,.light-training-provider-grid{max-width:820px}.light-training-active-ai{display:grid;grid-template-columns:10px auto 1fr auto;align-items:center;gap:8px;box-sizing:border-box;width:min(820px,100%);min-height:42px;margin:0 0 12px;padding:8px 12px;border:1px solid #36434b;background:#10181e;color:#7f8d96;font:700 8px var(--ui);letter-spacing:.06em}.light-training-active-ai>i{width:8px;height:8px;border-radius:50%;background:#6d7880;box-shadow:0 0 0 3px #6d788022}.light-training-active-ai span{font-size:7px}.light-training-active-ai b{color:#9ba8af;font-size:10px}.light-training-active-ai small{font-size:7px;letter-spacing:0}.light-training-active-ai.ready{border-color:#3f9c86;background:#123028;box-shadow:inset 3px 0 #5ce0bd}.light-training-active-ai.ready>i{background:#5ce0bd;box-shadow:0 0 0 4px #5ce0bd22}.light-training-active-ai.ready b{color:#5ce0bd}.light-training-active-ai.busy>i{background:#f2b84b;box-shadow:0 0 0 4px #f2b84b22;animation:light-pulse 1s infinite}.light-training-provider-grid select.ai-active{border-color:#3f9c86!important;box-shadow:0 0 0 2px #5ce0bd22!important;color:#5ce0bd!important}
  .light-matrix-columns,.light-depth-row{ display:grid; grid-template-columns:50px 1fr 68px 1fr 50px; align-items:center; font-variant-numeric:tabular-nums; }
  .light-matrix-columns{ flex:0 0 22px; color:#82909a; border-bottom:1px solid var(--light-line); text-align:center; }
  .light-depth{ position:relative; min-height:0; flex:1; overflow:hidden; background:#05080b; }
  .light-depth-row{ height:24px; border-bottom:1px solid #151c22; text-align:right; }
  .light-depth-row .bid,.light-depth-row .ask{ position:relative; height:100%; display:flex; align-items:center; justify-content:flex-end; padding:0 5px; overflow:hidden; }
  .light-depth-row .ask{ justify-content:flex-start; }.light-depth-row i{ position:absolute; inset-block:0; opacity:.28; }.light-depth-row .bid i{ right:0; background:#098fe0; }.light-depth-row .ask i{ left:0; background:#e33b43; }
  .light-depth-row em{ position:relative; z-index:1; font-style:normal; }.light-depth-row .price{ height:100%; display:grid; place-items:center; background:#242c33; color:#fff; }
  .light-depth-row.touch .price{ background:#d77500; }.light-depth-row .effective{ color:#7f8c95; text-align:center; font-size:7px; }
  .light-quote-toolbar{ flex:0 0 31px; display:flex; align-items:center; gap:7px; padding:0 8px; border-bottom:1px solid var(--light-line); background:var(--light-panel-2); }
  .light-symbol{ min-width:78px; padding:4px 7px; border:1px solid #36424c; background:#303a44; color:#fff; font-weight:700; }.light-mode-label{ color:#a2afb7; }.light-stream-title{ margin-left:auto; color:#e8eef1; font-weight:700; }
  .light-quotes-table{ width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }.light-quotes-table th,.light-quotes-table td{ height:31px; padding:0 10px; border-right:1px solid #273039; border-bottom:1px solid #1e272e; text-align:right; white-space:nowrap; }.light-quotes-table td{ color:#dce6eb; font-size:9px; }.light-quotes-table th{ color:#9cabb4; background:#1c232a; font-size:8px; font-weight:600; }.light-quotes-table th:first-child,.light-quotes-table td:first-child{ text-align:left; }.light-quotes-table tbody tr{ background:#05080b; }.light-quotes-table tbody tr.selected{ background:#123958; }.light-positive{ color:#13e36c!important; }.light-negative{ color:#ff5961!important; }
  .light-decision{ min-height:0; flex:1; display:grid; grid-template-columns:1fr; grid-template-rows:minmax(0,1fr); gap:0; padding:0; background:#0d1419; }
  .light-position-panel{ min-width:0; display:flex; flex-direction:column; border:1px solid #303b44; border-radius:4px; background:linear-gradient(135deg,#111920,#0b1116); overflow:hidden; }.light-position-panel h3{ margin:0; padding:8px 9px; border-bottom:1px solid #26313a; color:#eaf1f5; font-size:8px; letter-spacing:.04em; }.light-position-panel .light-open-position{ margin:0; flex:1; align-content:start; border-top:0; }.light-position-panel .light-open-position-cell{ padding:9px; }
  .light-decision-summary{ min-width:0; display:flex; flex-direction:column; padding:7px 9px; border:1px solid #303b44; border-radius:4px; background:linear-gradient(135deg,#111920,#0b1116); overflow:hidden; }
  .light-decision-summary h3{ margin:0 0 5px; color:#eaf1f5; font-size:8px; letter-spacing:.04em; }.light-decision-primary{ min-width:0; display:flex; align-items:center; gap:14px; }.light-verdict{ flex:0 0 auto; min-width:55px; color:#ffb83d; font-size:20px; font-weight:800; line-height:1; }.light-verdict.buy{ color:#2bdd7b; }.light-verdict.sell{ color:#ff5b63; }
  .light-decision-stats{ min-width:0; display:grid; gap:3px; color:#83919b; font-size:6px; text-transform:uppercase; }.light-decision-stat{ min-width:0; display:flex; align-items:center; gap:5px; white-space:nowrap; }.light-decision-stat b{ color:#e6edf2; font-size:9px; }.light-thesis{ min-width:0; flex:1; padding-top:6px; overflow:hidden; color:#c8d2d8; font-size:7px; line-height:1.25; }.light-thesis b{ color:#87959e; font-size:6px; text-transform:uppercase; }
  .light-decision-metrics{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:7px -9px 0; border-top:1px solid #26313a; border-bottom:1px solid #26313a; background:#0b1217; }.light-decision-metric{ min-width:0; padding:5px 7px; border-right:1px solid #26313a; }.light-decision-metric:last-child{ border-right:0; }.light-decision-metric small,.light-decision-metric b{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.light-decision-metric small{ color:#7f8d96; font-size:6px; text-transform:uppercase; }.light-decision-metric b{ margin-top:2px; color:#e3ebef; font-size:8px; font-variant-numeric:tabular-nums; }
  .light-open-position{ display:grid; grid-template-columns:minmax(70px,1fr) minmax(55px,.7fr) minmax(70px,.9fr); margin:auto -9px -7px; border-top:1px solid #26313a; background:#0b1217; }.light-open-position.flat{ grid-template-columns:1fr; }.light-open-position-cell{ min-width:0; padding:6px 8px; border-right:1px solid #26313a; }.light-open-position-cell:last-child{ border-right:0; }.light-open-position-cell small,.light-open-position-cell b{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.light-open-position-cell small{ color:#75838c; font-size:6px; text-transform:uppercase; }.light-open-position-cell b{ margin-top:2px; color:#e3ebef; font-size:9px; font-variant-numeric:tabular-nums; }.light-open-position.flat b{ color:#77858e; font-size:8px; font-weight:500; }
  .light-order-book{ min-width:0; display:flex; flex-direction:column; border:1px solid #303b44; border-radius:4px; background:#0d1419; overflow:hidden; }.light-order-head{ flex:0 0 24px; display:flex; align-items:center; gap:8px; padding:0 8px; border-bottom:1px solid #26313a; color:#e8eef2; font-size:10px; font-weight:800; }.light-order-head span{ color:#83919b; font-size:8px; font-weight:500; }.light-position-pill{ margin-left:auto; max-width:46%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#b9c5cc!important; }.light-order-list{ min-height:0; flex:1 1 auto; overflow:auto; scrollbar-width:thin; }.light-order-columns,.light-order-row{ display:grid; grid-template-columns:minmax(65px,1.1fr) 48px 55px minmax(65px,.8fr) minmax(70px,1fr); align-items:center; gap:5px; padding:0 9px; font-variant-numeric:tabular-nums; }.light-order-columns{ flex:0 0 22px; color:#74828c; font-size:7px; }.light-order-row{ min-height:27px; border-top:1px solid #1d262d; color:#cbd5da; font-size:8px; }.light-order-row span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.light-order-status{ color:#ffbd43; }.light-order-status.filled{ color:#36d87c; }.light-order-status.rejected,.light-order-status.cancelled{ color:#ff626a; }.light-order-empty{ display:grid; flex:1; place-items:center; padding:8px; color:#78868f; font-size:8px; text-align:center; }
  .light-ledger{ min-width:0; min-height:0; display:flex; flex-direction:column; border:1px solid #303b44; border-radius:4px; background:#0d1419; overflow:hidden; }.light-ledger-head{ flex:0 0 28px; display:flex; align-items:center; gap:8px; padding:0 9px; border-bottom:1px solid #26313a; color:#e8eef2; font-size:9px; font-weight:800; }.light-ledger-head span{ color:#83919b; font-size:7px; font-weight:500; }.light-ledger-body{ flex:1; min-height:0; display:flex; flex-direction:column; overflow-y:auto; }.light-ledger-columns,.light-ledger-row{ display:grid; grid-template-columns:52px 32px minmax(46px,.8fr) minmax(64px,1.1fr) 40px minmax(64px,.9fr); align-items:center; gap:5px; padding:0 9px; font-variant-numeric:tabular-nums; }.light-ledger-columns{ flex:0 0 20px; color:#74828c; font-size:7px; text-transform:uppercase; }.light-ledger-row{ min-height:25px; border-top:1px solid #1d262d; color:#cbd5da; font-size:8px; }.light-ledger-row span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.light-ledger-side.buy{ color:#31db7d; }.light-ledger-side.sell{ color:#ff5b63; }.light-ledger-taken{ color:#4c5960; }.light-ledger-taken.yes{ color:#39c2ff; }.light-ledger-open{ color:#ffbd43; }
  .light-ledger-totals{ flex:0 0 28px; display:flex; align-items:center; gap:12px; padding:0 8px; border-top:1px solid var(--light-line); background:#11171c; color:#89969f; font-size:7px; }.light-ledger-totals b{ color:#dce5ea; }.light-ledger-totals .good{ color:#2cdd7d; }.light-ledger-totals .warn{ color:#ffb020; }
  .light-chart-meta{ position:sticky; z-index:4; top:0; left:0; width:max-content; max-width:calc(100% - 8px); height:24px; display:flex; align-items:center; gap:9px; padding:0 7px; color:#9ba8b0; background:rgba(3,5,6,.82); backdrop-filter:blur(4px); border-radius:0 0 4px 0; font-variant-numeric:tabular-nums; pointer-events:none; }.light-chart-meta b{ color:#fff; font-size:9px; }.light-chart-price{ color:#2bdd7b; font-weight:800; }.light-chart-price.down{ color:#ff5961; }.light-chart-legend{ display:flex; align-items:center; gap:8px; }.light-chart-stage{ position:relative; flex:1; min-height:0; overflow-x:auto; overflow-y:hidden; background:#030506; scrollbar-color:#394750 #10161b; }.light-chart-stage svg{ height:100%; min-height:100%; display:block; }.light-chart-grid{ stroke:#202930; stroke-width:1; vector-effect:non-scaling-stroke; }.light-chart-axis{ fill:#83919a; font-size:9px; font-family:var(--ui); }.light-chart-volume-up{ fill:#147944; opacity:.7; }.light-chart-volume-down{ fill:#963039; opacity:.75; }.light-candle-up{ fill:#17c967; stroke:#17c967; vector-effect:non-scaling-stroke; }.light-candle-down{ fill:#ef454d; stroke:#ef454d; vector-effect:non-scaling-stroke; }.light-indicator-ema{ fill:none; stroke:#35b8ff; stroke-width:1.5; vector-effect:non-scaling-stroke; }.light-indicator-vwap{ fill:none; stroke:#f1a33b; stroke-width:1.5; stroke-dasharray:5 3; vector-effect:non-scaling-stroke; }.light-prior-range{ fill:#6f8494; opacity:.1; }.light-level{ stroke:#8e99a1; stroke-width:1; stroke-dasharray:3 4; vector-effect:non-scaling-stroke; }.light-current-line{ stroke-width:1; stroke-dasharray:2 2; vector-effect:non-scaling-stroke; }.light-current-line.up{ stroke:#20cf79; }.light-current-line.down{ stroke:#f24855; }.light-current-tag.up{ fill:#15975a; }.light-current-tag.down{ fill:#e43d49; }.light-current-tag-text{ fill:#fff; font:800 8px var(--ui); dominant-baseline:middle; }.light-position-line{ stroke:#f7d154; stroke-width:1.5; stroke-dasharray:6 3; vector-effect:non-scaling-stroke; }.light-position-label{ fill:#f7d154; font:700 8px var(--ui); paint-order:stroke; stroke:#05080a; stroke-width:3px; }.light-pnl-zero{ stroke:#59666e; stroke-width:1; stroke-dasharray:2 3; vector-effect:non-scaling-stroke; }.light-pnl-line{ fill:none; stroke:#31da7c; stroke-width:1.5; vector-effect:non-scaling-stroke; }.light-pnl-line.negative{ stroke:#ff5c64; }.light-pnl-label{ fill:#87949c; font:700 7px var(--ui); }.light-pnl-value{ fill:#31da7c; font:700 8px var(--ui); }.light-pnl-value.negative{ fill:#ff5c64; }.light-equity-line{ fill:none; stroke:#39c2ff; stroke-width:1.5; stroke-dasharray:4 3; vector-effect:non-scaling-stroke; }.light-equity-line.negative{ stroke:#ff9d54; }.light-equity-label{ fill:#39c2ff; font:700 7px var(--ui); }.light-chart-flat{ color:#ffb020; }.light-trade-marker-buy{ fill:#31db7d; stroke:#08130d; stroke-width:1; vector-effect:non-scaling-stroke; }.light-trade-marker-sell{ fill:#ff5b63; stroke:#17090a; stroke-width:1; vector-effect:non-scaling-stroke; }
  .light-current-tag{ opacity:1; stroke:#030506; stroke-width:1.5; vector-effect:non-scaling-stroke; }.light-current-tag-text{ paint-order:stroke; stroke:#030506; stroke-width:1px; }
  .light-trade-path{ stroke-width:1.2; stroke-dasharray:3 2; vector-effect:non-scaling-stroke; }.light-trade-path.win{ stroke:#31db7d; }.light-trade-path.loss{ stroke:#ff5b63; }
  .light-trade-exit{ stroke:#05080a; stroke-width:1; vector-effect:non-scaling-stroke; }.light-trade-exit.win{ fill:#31db7d; }.light-trade-exit.loss{ fill:#ff5b63; }
  .light-bracket-target{ fill:#31db7d; opacity:.13; }.light-bracket-stop{ fill:#ff5b63; opacity:.13; }
  .light-bracket-entry{ stroke:#f7d154; stroke-width:1.4; vector-effect:non-scaling-stroke; }
  .light-bracket-line{ stroke-width:1; stroke-dasharray:4 3; vector-effect:non-scaling-stroke; }.light-bracket-line.target{ stroke:#31db7d; }.light-bracket-line.stop{ stroke:#ff5b63; }
  .light-bracket-label{ font:700 7px var(--ui); paint-order:stroke; stroke:#05080a; stroke-width:3px; }.light-bracket-label.target{ fill:#31db7d; }.light-bracket-label.stop{ fill:#ff5b63; }
  .light-order-overlay{ stroke:#e3ad4f; stroke-width:1; stroke-dasharray:5 3; vector-effect:non-scaling-stroke; }.light-order-overlay.stop{ stroke:#e07b67; }.light-order-overlay-label,.light-chart-tag-label{ font:700 7px var(--ui); paint-order:stroke; stroke:#05080a; stroke-width:3px; }.light-order-overlay-label{ fill:#e3ad4f; }.light-order-overlay-label.stop{ fill:#e07b67; }.light-fill-marker{ fill:#75a99d; stroke:#071016; stroke-width:1; vector-effect:non-scaling-stroke; }.light-fill-marker.sell{ fill:#c8797e; }.light-chart-tag-line{ stroke:#8d7ac0; stroke-width:1; stroke-dasharray:2 3; vector-effect:non-scaling-stroke; }.light-chart-tag-label{ fill:#c4b5ee; }
  .light-ribbon-bg{ fill:#070c10; stroke:#1b242b; stroke-width:1; vector-effect:non-scaling-stroke; }
  .light-ribbon-threshold{ stroke-width:1; stroke-dasharray:5 4; vector-effect:non-scaling-stroke; }.light-ribbon-threshold.conf{ stroke:#2cdd7d; opacity:.65; }.light-ribbon-threshold.spoof{ stroke:#ff5b63; opacity:.55; }
  .light-ribbon-conf{ fill:none; stroke:#2cdd7d; stroke-width:1.5; vector-effect:non-scaling-stroke; }.light-ribbon-spoof{ fill:none; stroke:#ff8a4c; stroke-width:1.3; stroke-dasharray:3 2; vector-effect:non-scaling-stroke; }
  .light-ribbon-label{ fill:#87949c; font:700 7px var(--ui); }.light-ribbon-value{ font:700 7px var(--ui); }.light-ribbon-value.good{ fill:#2cdd7d; }.light-ribbon-value.warn{ fill:#ffb020; }.light-chart-empty{ position:sticky; z-index:5; left:0; width:100%; height:100%; margin-top:-100%; display:grid; place-items:center; color:#7f8b93; pointer-events:none; }
  #lightChartRibbon,#lightChartPnl{ display:none; }
  .light-chart-volume-up{ opacity:.3!important; }.light-chart-volume-down{ opacity:.32!important; }
  .light-chart-stage{min-width:0;overflow:hidden;cursor:crosshair;touch-action:none}.light-chart-stage.dragging{cursor:grabbing}.light-chart-stage .light-chart-meta{position:absolute}.light-chart-stage svg{width:100%;min-width:100%}.light-chart-meta b{font-size:10px}.light-chart-axis{fill:#c0cbd1;font-size:11px}.light-pnl-label,.light-equity-label{font-size:9px}.light-pnl-value{font-size:10px}.light-chart-crosshair{position:absolute;z-index:8;inset:0;pointer-events:none;display:none}.light-chart-crosshair.visible{display:block}.light-chart-crosshair-x,.light-chart-crosshair-y{position:absolute;background:#91a2ad80}.light-chart-crosshair-x{top:0;bottom:0;width:1px}.light-chart-crosshair-y{left:0;right:0;height:1px}.light-chart-crosshair-info{position:absolute;top:27px;left:8px;max-width:calc(100% - 80px);padding:3px 6px;border:1px solid #34434d;border-radius:3px;background:#071016e8;color:#dce6eb;font:700 8px/1.35 var(--mono);white-space:nowrap}.light-chart-crosshair-price{position:absolute;right:0;transform:translateY(-50%);min-width:52px;padding:2px 4px;background:#4da88e;color:#fff;font:700 8px var(--mono);text-align:right}.light-chart-crosshair-time{position:absolute;bottom:2px;transform:translateX(-50%);padding:2px 5px;border-radius:2px;background:#4da88e;color:#fff;font:700 8px var(--mono);white-space:nowrap}
  .light-chart-timeframes button{ min-width:20px; padding:0 4px; }
  .light-chart-studies{ position:relative; }.light-chart-studies>button{ min-width:28px; padding:0 7px; border:0; border-right:1px solid #303a43; background:#11181e; color:#8e9ba4; font:700 7px/1 var(--ui); cursor:pointer; }.light-chart-studies>button:hover{ background:#243039; color:#eef4f7; }.light-chart-studies>button[aria-expanded="true"]{ color:#5ce0bd; background:#18342f; box-shadow:inset 0 -2px #5ce0bd; }
  .light-chart-studies-panel{ position:absolute; z-index:12; top:100%; right:0; width:190px; padding:7px 8px 8px; border:1px solid #35424c; border-radius:0 0 4px 4px; background:#0c1318; box-shadow:0 10px 22px #00000090; overflow-y:auto; overscroll-behavior:contain; }.light-chart-studies-panel[hidden]{ display:none; }.light-chart-studies-panel b{ display:block; margin:6px 0 4px; color:#7f8d96; font:700 7px/1 var(--ui); letter-spacing:.05em; text-transform:uppercase; }.light-chart-studies-panel b:first-child{ margin-top:0; }
  .light-chart-studies-row{ display:flex; flex-wrap:wrap; gap:3px; }.light-chart-studies-row button{ flex:1 1 auto; min-width:40px; padding:4px 5px; border:1px solid #2c3740; border-radius:3px; background:#131b21; color:#93a0a9; font:700 7px/1 var(--ui); cursor:pointer; }.light-chart-studies-row button:hover{ background:#22303a; color:#eef4f7; }.light-chart-studies-row button.active{ border-color:#3f9c86; background:#18342f; color:#5ce0bd; box-shadow:none; }
  .light-week-lookback{ min-width:0; display:grid; grid-template-columns:minmax(0,1fr) 42px; gap:4px; }.light-week-lookback>button{ min-width:0; }.light-week-lookback>input{ width:42px; min-width:0; height:100%; padding:0 4px; border:1px solid #35414a; border-radius:3px; outline:0; background:#11191f; color:#dce5ea; font:700 8px/1 var(--ui); text-align:center; }.light-week-lookback>input:focus{ border-color:#5ce0bd; box-shadow:0 0 0 1px #5ce0bd44; }
  .light-chart-studies-panel .light-chart-tag{ border-left:0; }.light-chart-studies-panel .light-chart-tag input{ flex:1; width:auto; padding:4px 6px; border:1px solid #2c3740; border-radius:3px 0 0 3px; }.light-chart-studies-panel .light-chart-tag button{ border:1px solid #2c3740; border-left:0; border-radius:0 3px 3px 0; }
  .light-chart-countdown{ color:#8fa6d6; font:700 8px var(--mono); font-variant-numeric:tabular-nums; }
  /* Every panel is independently positioned and sized inside the Light canvas. */
  .light-window[hidden]{ display:none!important; }
  /* Open orders and Recent orders used to fill the slack under the ticket and
     under Positions & strategies. Now that both are their own windows, the two
     they left behind must absorb that height themselves instead of ending in a
     black band. The ticket keeps its rows at their tuned heights and pins its
     actions to the bottom edge; the strategy list simply takes the room. */
  .light-window.matrix>.light-ticket{ flex:1 1 auto; display:flex; flex-direction:column; min-height:0; }
  /* The rows stay tight at the top and the Buy/Short actions take the slack to
     the bottom edge. Needs to out-specify the later .light-ticket-actions
     margin-top, hence the extra .light-grid on the front. */
  .light-grid .light-window.matrix>.light-ticket>.light-ticket-actions{ margin-top:auto; }
  .light-window.quotes>.light-decision{ flex:1 1 auto; }
  /* The floating window bar already names these panels. Suppress their larger
     nested title rows so each window has one compact top bar, like Positions. */
  .light-window.quotes .light-strategy-overview-head,
  .light-window.orders .light-open-orders-head,
  .light-window.history #lightOrderStatus .light-order-head{ display:none; }
  .light-open-positions{ flex:1 1 auto; min-height:0; overflow:auto; background:#0d1419; }
  .light-open-position-head,.light-open-position-row{ display:grid; grid-template-columns:minmax(74px,1.2fr) .65fr .7fr 1fr 1fr minmax(58px,.8fr); align-items:center; gap:6px; min-width:430px; padding:0 8px; }
  .light-open-position-head{ position:sticky; top:0; z-index:1; height:24px; border-bottom:1px solid var(--light-line); background:#111920; color:#6f7d86; font:700 7px/1 var(--ui); text-transform:uppercase; }
  .light-open-position-row{ min-height:30px; border-bottom:1px solid #202b33; color:#cbd4da; font:700 9px/1.2 var(--ui); }
  .light-open-position-row .up{ color:#5ce0bd; }.light-open-position-row .down{ color:#f06b72; }
  .light-window-bar{ flex:0 0 16px; display:flex; align-items:center; gap:5px; padding:0 6px; border-bottom:1px solid var(--light-line); background:#0e151b; color:#8e9ba4; font:700 7px/1 var(--ui); letter-spacing:.04em; text-transform:uppercase; cursor:grab; user-select:none; touch-action:none; }
  .light-window-bar:hover{ background:#18222a; color:#dbe4ea; }.light-window-bar b{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:700; }
  .light-window-close{ flex:0 0 16px; width:16px; height:14px!important; margin-left:auto; padding:0!important; border:0!important; border-radius:2px; background:transparent!important; color:#84929b!important; font:700 11px/13px var(--ui)!important; letter-spacing:0; text-align:center; text-transform:none; cursor:pointer!important; }
  .light-window-close:hover{ background:#32191d!important; color:#e58a91!important; }
  .light-window-grip{ color:#5a6873; font-size:9px; letter-spacing:-1px; }
  .light-window.dragging,.light-window.resizing{ box-shadow:0 12px 28px #000b,0 0 0 1px #5ce0bd; }.light-window.dragging .light-window-bar{ cursor:grabbing; }
  .light-window-resize{ position:absolute; z-index:3; right:0; bottom:0; width:15px; height:15px; cursor:nwse-resize; touch-action:none; }
  .light-window-resize::after{ content:""; position:absolute; right:3px; bottom:3px; width:7px; height:7px; border-right:1px solid #65747e; border-bottom:1px solid #65747e; }
  .light-window-resize:hover::after{ border-color:#5ce0bd; }
  .light-snap-guide{ position:absolute; z-index:999; display:none; background:#5ce0bd; box-shadow:0 0 5px #5ce0bd99; pointer-events:none; }
  .light-snap-guide.visible{ display:block; }.light-snap-guide.x{ top:0; bottom:0; width:1px; }.light-snap-guide.y{ left:0; right:0; height:1px; }
  .light-layout-menu{ position:relative; display:inline-flex; }
  .light-layout-panel{ position:absolute; z-index:30; bottom:100%; right:0; width:212px; padding:8px; border:1px solid #35424c; border-radius:4px 4px 0 0; background:#0c1318; box-shadow:0 -10px 22px #00000090; }
  .light-statusbar:has(.light-layout-panel){ position:relative; z-index:1000; overflow:visible; }
  .light-commandbar>.light-layout-menu{align-self:stretch;z-index:21}.light-commandbar>.light-layout-menu>#lightLayoutButton{height:100%;padding:0 7px;border:0;border-radius:0;background:transparent;color:#9aa7af;font:700 8px/1 var(--ui);cursor:pointer}.light-commandbar>.light-layout-menu>#lightLayoutButton:hover,.light-commandbar>.light-layout-menu>#lightLayoutButton[aria-expanded="true"]{background:transparent;color:#5ce0bd}.light-commandbar>.light-layout-menu>.light-layout-panel{top:100%;bottom:auto;border-radius:0 0 4px 4px;box-shadow:0 10px 22px #00000090}
  .light-commandbar>.light-layout-menu>#lightLayoutButton.chart-hidden{color:#ffb020}
  .light-commandbar>.light-layout-menu>#lightLayoutButton.chart-hidden::after{content:"!";display:inline-grid;place-items:center;width:11px;height:11px;margin-left:4px;border-radius:50%;background:#ffb020;color:#171006;font:900 7px/1 var(--ui)}
  .light-layout-panel[hidden]{ display:none; }
  .light-layout-panel>b{ display:block; margin-bottom:5px; color:#7f8d96; font:700 7px/1 var(--ui); letter-spacing:.05em; text-transform:uppercase; }
  .light-layout-panel>small{ display:block; margin-top:7px; color:#6d7b85; font:400 7px/1.4 var(--ui); }
  .light-layout-rows{ display:grid; gap:3px; }
  .light-layout-rows button{ display:flex; align-items:center; gap:6px; padding:4px 6px; border:1px solid #2c3740; border-radius:3px; background:#131b21; color:#93a0a9; font:700 7px/1 var(--ui); text-align:left; cursor:pointer; }
  .light-layout-rows button:hover{ background:#22303a; color:#eef4f7; }
  .light-layout-rows button.active{ border-color:#3f9c86; background:#18342f; color:#5ce0bd; }
  .light-layout-rows button:disabled{ opacity:.5; cursor:not-allowed; }
  .light-layout-rows i{ width:9px; font-style:normal; }
  .light-layout-actions{ display:flex; gap:4px; margin-top:7px; }
  .light-layout-actions button{ flex:1; padding:4px 6px; border:1px solid #2c3740; border-radius:3px; background:#131b21; color:#93a0a9; font:700 7px/1 var(--ui); cursor:pointer; }
  .light-layout-actions button:hover{ background:#22303a; color:#eef4f7; }
  .light-layout-saved{ display:grid; gap:3px; margin-top:8px; padding-top:7px; border-top:1px solid #27323a; }
  .light-layout-saved>b{ color:#7f8d96; font:700 7px/1 var(--ui); letter-spacing:.05em; text-transform:uppercase; }
  .light-layout-current{ color:#5ce0bd!important; font:700 6.5px/1.3 var(--ui)!important; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .light-layout-preset{ display:grid; grid-template-columns:minmax(0,1fr) 22px; gap:3px; }
  .light-layout-preset button{ min-width:0; padding:4px 6px; border:1px solid #2c3740; border-radius:3px; background:#131b21; color:#93a0a9; font:700 7px/1 var(--ui); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }
  .light-layout-preset button:hover{ background:#22303a; color:#eef4f7; }.light-layout-preset .delete{ padding:0; color:#c8797e; }
  .light-layout-preset.active>button:first-child{ border-color:#3f9c86; background:#18342f; color:#5ce0bd; }
  .light-layout-preset input{ min-width:0; height:22px; padding:3px 6px; border:1px solid #3f9c86; border-radius:3px; outline:0; background:#0d151a; color:#dce5ea; font:700 7px/1 var(--ui); }
  .light-chart-session{ stroke:#2c3841; stroke-width:1; stroke-dasharray:2 4; vector-effect:non-scaling-stroke; }
  .light-chart-level{ stroke-width:1; stroke-dasharray:6 4; vector-effect:non-scaling-stroke; }.light-chart-level.day{ stroke:#7fb2e5; }.light-chart-level.day.open{ stroke-dasharray:2 3; opacity:.8; }.light-chart-level.week{ stroke:#d99ae0; stroke-dasharray:9 5; }
  .light-chart-level-label{ font:700 7px var(--ui); paint-order:stroke; stroke:#05080a; stroke-width:3px; }.light-chart-level-label.day{ fill:#7fb2e5; }.light-chart-level-label.week{ fill:#d99ae0; }
  .light-chart-ma-fast{ fill:none; stroke:#ffcf5c; stroke-width:1.3; vector-effect:non-scaling-stroke; }.light-chart-ma-slow{ fill:none; stroke:#7f9dd6; stroke-width:1.3; vector-effect:non-scaling-stroke; }
  .light-chart-ma-mark{ stroke:#05080a; stroke-width:1; vector-effect:non-scaling-stroke; }.light-chart-ma-mark.golden{ fill:#31db7d; }.light-chart-ma-mark.death{ fill:#ff5b63; }
  .light-chart-ma-mark-label{ font:700 6px var(--ui); paint-order:stroke; stroke:#05080a; stroke-width:3px; }.light-chart-ma-mark-label.golden{ fill:#31db7d; }.light-chart-ma-mark-label.death{ fill:#ff5b63; }
  .light-chart-band{ fill:#8fa6d6; opacity:.07; }.light-chart-band-edge{ fill:none; stroke:#8fa6d6; stroke-width:1; stroke-dasharray:4 3; vector-effect:non-scaling-stroke; }.light-chart-band-mid{ fill:none; stroke:#8fa6d6; stroke-width:1; opacity:.75; vector-effect:non-scaling-stroke; }
  .light-chart-series{ fill:none; stroke:#35d0a0; stroke-width:1.6; stroke-linejoin:round; vector-effect:non-scaling-stroke; }.light-chart-series.down{ stroke:#ef454d; }.light-chart-series-fill{ fill:url(#lightChartAreaFill); stroke:none; }
  .light-chart-rsi-frame{ fill:#070c10; stroke:#1e272e; stroke-width:1; vector-effect:non-scaling-stroke; }.light-chart-rsi-line{ fill:none; stroke:#c08ae0; stroke-width:1.4; vector-effect:non-scaling-stroke; }.light-chart-rsi-band{ fill:#c08ae0; opacity:.06; }.light-chart-rsi-level{ stroke:#4a5560; stroke-width:1; stroke-dasharray:3 4; vector-effect:non-scaling-stroke; }.light-chart-rsi-label{ fill:#87949c; font:700 7px var(--ui); }.light-chart-rsi-value{ font:700 8px var(--ui); fill:#c08ae0; }.light-chart-rsi-value.hot{ fill:#ff7a6d; }.light-chart-rsi-value.cold{ fill:#31db7d; }
  /* Dense chart labels stay quiet and readable: no bold typography anywhere
     inside the chart window, including SVG annotations and toolbar controls. */
  .light-window.chart,.light-window.chart *{ font-weight:400!important; }
  .light-price-rail-bg{ fill:#080d11; stroke:#26323a; stroke-width:1; vector-effect:non-scaling-stroke; }
  .light-price-rail-connector{ fill:none; stroke-width:1; vector-effect:non-scaling-stroke; opacity:.9; }
  .light-price-rail-tag{ stroke-width:1; vector-effect:non-scaling-stroke; rx:3; }
  .light-price-rail-text{ fill:#f3f6f7; font:400 8px var(--mono); dominant-baseline:middle; }
  .light-price-rail-connector.last{ stroke:#27d17f; }.light-price-rail-tag.last{ fill:#126d47; stroke:#27d17f; }
  .light-price-rail-connector.pos{ stroke:#e5c34e; }.light-price-rail-tag.pos{ fill:#4b4218; stroke:#e5c34e; }
  .light-price-rail-connector.entry{ stroke:#57a9ed; }.light-price-rail-tag.entry{ fill:#17374f; stroke:#57a9ed; }
  .light-price-rail-connector.tp{ stroke:#36d887; }.light-price-rail-tag.tp{ fill:#124c35; stroke:#36d887; }
  .light-price-rail-connector.sl{ stroke:#ef6b68; }.light-price-rail-tag.sl{ fill:#542323; stroke:#ef6b68; }
  .light-price-rail-connector.ord{ stroke:#d9a84d; }.light-price-rail-tag.ord{ fill:#493817; stroke:#d9a84d; }
  .light-ledger-head{font-size:11px}.light-ledger-head span{color:#aab6bd;font-size:9px}.light-ledger-columns{color:#a4b0b8;font-size:9px}.light-ledger-row{min-height:30px;color:#edf3f6;font-size:10px}.light-ledger-taken{color:#8e9ba3}.light-ledger-totals{min-height:32px;color:#b7c2c9;font-size:9px}.light-ledger-totals b{font-size:10px}.light-outcomes{min-height:32px;color:#b7c2c9;font-size:9px}.light-outcomes b{font-size:10px}
  .light-risk-side #lightRiskSummary{overflow:visible;color:#d0d9de;font-size:9px;text-overflow:clip;white-space:normal}.light-risk-meter.profit .light-risk-track i{background:#2cdd7d}.light-risk-meter.profit .light-risk-meter-head b{color:#60e99a}
  @container (max-width:1050px){.light-grid{--light-c1:300px}.light-trade-decision{grid-template-columns:80px minmax(0,1fr)}.light-matrix-head{gap:7px 7px;padding:9px 8px}.light-ticket-status{padding:9px}.light-chart-meta{gap:5px}.light-chart-legend{gap:5px}.light-chart-legend span:last-child{display:none}#lightOutcomes{display:none}}
  @container (max-width:760px){.light-grid{--light-c1:300px}.light-matrix-head{gap:6px;padding:8px}.light-order-row:nth-of-type(n+5){display:none}}
  @media(max-width:900px){.light-risk-form{grid-template-columns:1fr}}
  @container (max-width:1050px){.light-grid{--light-c1:350px}}
  .light-outcomes{ flex:0 0 32px; display:flex; align-items:center; gap:12px; padding:0 8px; border-top:1px solid var(--light-line); background:#11171c; color:#b7c2c9; font-size:9px; }.light-outcomes b{ color:#edf3f6; font-size:10px; }.light-outcomes .good{ color:#2cdd7d; }.light-outcomes .warn{ color:#ffb020; }
  .light-statusbar{ min-width:0; display:grid; grid-template-columns:minmax(170px,1fr) auto auto; align-items:stretch; gap:6px; padding:0 8px; border-top:1px solid #bdb3a7; background:#f2eee7; color:#6d655c; white-space:nowrap; overflow:hidden; font-variant-numeric:tabular-nums; }.light-statusbar .ok{ color:#4e715c; }.light-statusbar .warning{ color:#a14e42; }
  .light-footer-stat{ min-width:0; display:flex; align-items:center; justify-content:center; gap:4px; height:100%; padding:0 7px; box-sizing:border-box; overflow:hidden; background:transparent; }.light-footer-stat.account{ justify-content:flex-start; }
  .light-footer-stat small{ flex:0 0 auto; color:#81776c; font-size:7px; line-height:1; text-align:right; white-space:nowrap; }.light-footer-stat b{ min-width:0; overflow:hidden; color:#302d29; font-size:10px; line-height:1; font-weight:400; text-overflow:ellipsis; }.light-footer-stat b.positive{ color:#4e715c; }.light-footer-stat b.negative{ color:#a14e42; }
  .light-footer-date,.light-footer-time{ min-width:0; display:flex; align-items:center; justify-content:center; gap:3px; color:#302d29; }.light-footer-date strong,.light-footer-time strong{ font-size:10px; font-weight:400; }.light-footer-date span,.light-footer-time span{ display:flex; flex-direction:column; color:#81776c; font-size:7px; line-height:1; }.light-footer-market-status{ display:flex; align-items:center; justify-content:flex-end; gap:5px; color:#81776c; font-size:8px; }.light-footer-market-status>strong{ color:#3f443f; font:800 8px/1 var(--ui); }.light-footer-market-status>strong.live{ color:#a14e42; }.light-footer-market-status>strong.sim{ color:#3f443f; }.light-footer-dot{ width:11px; height:11px; flex:0 0 11px; border-radius:50%; background:#a14e42; }.light-footer-dot.connected{ background:#4e715c; }
  .light-health-button{ align-self:center; height:20px; padding:0 7px; border:1px solid #afa498; border-radius:2px; background:#eee8df; color:#554f48; font:700 7px/1 var(--ui); cursor:pointer; }.light-health-button:hover,.light-health-button.active{ border-color:#4e715c; background:#dcebe1; color:#285a43; }
  .light-strategy-history-view{position:absolute;z-index:2500;inset:34px 0 30px;display:grid;grid-template-rows:34px 68px 180px minmax(0,1fr);background:#0a1014;color:#dce5e9}.light-strategy-history-view[hidden]{display:none}.light-strategy-history-head{display:flex;align-items:center;gap:8px;padding:0 10px;border-bottom:1px solid #2b3740;background:#11181e}.light-strategy-history-head b{font-size:11px}.light-strategy-history-head span{color:#82919a;font-size:8px}.light-strategy-history-head .spacer{flex:1}.light-strategy-history-head button{height:21px;padding:0 8px;border:1px solid #394750;background:#182128;color:#b9c5ca;font:700 7px/1 var(--ui);cursor:pointer}.light-strategy-history-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #26313a}.light-strategy-history-stat{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:0 10px;border-right:1px solid #26313a}.light-strategy-history-stat small{color:#778690;font-size:7px}.light-strategy-history-stat b{font-size:13px}.light-strategy-history-curve{padding:10px;border-bottom:1px solid #26313a;background:#080d10}.light-strategy-history-curve svg{width:100%;height:100%}.light-strategy-history-grid{min-height:0;overflow:auto}.light-strategy-history-columns,.light-strategy-history-row{display:grid;grid-template-columns:82px 64px 50px 40px 70px 70px 65px 65px 58px minmax(80px,1fr);align-items:center;gap:6px;padding:0 9px}.light-strategy-history-columns{position:sticky;top:0;height:23px;background:#10181d;color:#71808a;font-size:7px}.light-strategy-history-row{min-height:29px;border-top:1px solid #1c252b;color:#bbc7cd;font-size:8px}.light-strategy-history-row .up{color:#78a99d}.light-strategy-history-row .down{color:#c8797e}
  .light-statusbar>#lightHealthButton{display:none}
  .light-health-view{ position:absolute; z-index:30; inset:34px 0 30px; display:grid; grid-template-rows:16px 28px 62px 30px minmax(0,1fr); background:#0a1014; color:#dce5e9; }.light-health-view[hidden]{ display:none; }.light-health-tools{ min-width:0; display:flex; align-items:center; gap:5px; padding:0 7px; border-bottom:1px solid #26313a; background:#11181e; }.light-health-tools>span{ min-width:0; flex:1; overflow:hidden; color:#82919a; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }.light-health-tools button{ flex:0 0 auto; height:19px; padding:0 6px; border:1px solid #394750; background:#182128; color:#b9c5ca; font:700 7px/1 var(--ui); cursor:pointer; }.light-health-tools button:hover{ color:#fff; }.light-health-summary{ min-width:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); border-bottom:1px solid #26313a; }.light-health-stat{ min-width:0; display:flex; flex-direction:column; justify-content:center; gap:4px; padding:0 10px; border-right:1px solid #26313a; }.light-health-stat:last-child{ border-right:0; }.light-health-stat small{ overflow:hidden; color:#778690; font-size:7px; text-overflow:ellipsis; white-space:nowrap; }.light-health-stat b{ overflow:hidden; color:#edf3f6; font-size:13px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }.light-health-stat b.good{ color:#78a99d; }.light-health-stat b.warn{ color:#d2a45c; }.light-health-stat b.bad{ color:#c8797e; }.light-health-filters{ min-width:0; display:flex; align-items:center; gap:4px; padding:0 8px; border-bottom:1px solid #26313a; background:#0e151a; }.light-health-filters button{ height:20px; padding:0 8px; border:0; background:transparent; color:#7f8d96; font:700 7px/1 var(--ui); cursor:pointer; }.light-health-filters button.active{ border-radius:2px; background:#20302f; color:#bfe1d8; }.light-health-columns,.light-health-row{ display:grid; grid-template-columns:86px 50px 74px 120px minmax(180px,1fr) 72px; align-items:center; gap:6px; padding:0 9px; }.light-health-columns{ height:22px; color:#71808a; font-size:7px; }.light-health-list{ min-width:0; min-height:0; overflow:auto; }.light-health-row{ min-height:28px; border-top:1px solid #1c252b; color:#bbc7cd; font-size:8px; }.light-health-row span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.light-health-severity{ justify-self:start; padding:2px 5px; border:1px solid #405059; border-radius:8px; color:#9caab2; font-size:6px; }.light-health-severity.warn{ border-color:#765e31; background:#2b2417; color:#d2a45c; }.light-health-severity.error{ border-color:#73343a; background:#2b1417; color:#c8797e; }.light-health-severity.ok{ border-color:#486d65; background:#142621; color:#78a99d; }.light-health-empty{ display:grid; min-height:120px; place-items:center; color:#75838c; font-size:8px; }
  .light-view[hidden]{ display:none!important; }.light-robinhood-view{ grid-row:2/5; min-height:0; padding:6px; background:#090d11; }.light-robinhood-board{ height:100%; min-height:0; display:grid; grid-template-columns:minmax(260px,34%) minmax(420px,66%); grid-template-rows:76px minmax(0,1fr); gap:6px; }.light-rh-summary{ grid-column:1/-1; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); border:1px solid var(--light-line); background:#121920; }.light-rh-stat{ min-width:0; padding:9px 11px; border-right:1px solid var(--light-line); }.light-rh-stat:last-child{ border-right:0; }.light-rh-stat small,.light-rh-field small{ display:block; color:#82909a; font-size:7px; text-transform:uppercase; }.light-rh-stat b{ display:block; margin-top:5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#edf3f6; font-size:13px; }.light-rh-stat b.up{ color:#28dc79; }.light-rh-stat b.down{ color:#ff5159; }.light-rh-ticket,.light-rh-account{ min-height:0; border:1px solid var(--light-line); background:#10161b; overflow:auto; }.light-rh-head{ height:30px; display:flex; align-items:center; gap:8px; padding:0 10px; border-bottom:1px solid var(--light-line); background:#181f25; }.light-rh-head b{ font-size:9px; }.light-rh-head span{ color:#85939c; }.light-rh-head .spacer{ flex:1; }.light-rh-head button{ height:22px; padding:0 8px; border:1px solid #3b4750; background:#273139; color:#dbe5ea; font:8px var(--ui); cursor:pointer; }.light-rh-fields{ display:grid; grid-template-columns:1fr .75fr; gap:7px; padding:10px; }.light-rh-field input,.light-rh-field select{ width:100%; height:28px; margin-top:3px; padding:0 7px; box-sizing:border-box; border:1px solid #3a4650; background:#273139; color:#fff; font:10px var(--ui); }.light-rh-actions{ display:grid; grid-template-columns:1fr 1fr; gap:7px; padding:0 10px 10px; }.light-rh-actions button{ height:31px; border:0; color:#fff; font:800 9px var(--ui); cursor:pointer; }.light-rh-actions .buy{ background:#087db8; }.light-rh-actions .sell{ background:#b72c36; }.light-rh-preview{ margin:0 10px 10px; padding:9px; border:1px solid #394650; background:#0a0f13; color:#94a2ab; line-height:1.5; }.light-rh-preview strong{ color:#fff; }.light-rh-confirm{ width:calc(100% - 20px); height:32px; margin:0 10px 10px; border:1px solid #168949; background:#116233; color:#fff; font:800 9px var(--ui); cursor:pointer; }.light-rh-confirm:disabled{ opacity:.42; cursor:not-allowed; }.light-rh-section{ border-bottom:1px solid var(--light-line); }.light-rh-section h3{ margin:0; padding:8px 10px; color:#8997a0; font-size:8px; text-transform:uppercase; }.light-rh-row{ min-height:31px; display:grid; grid-template-columns:70px 70px minmax(100px,1fr) 90px 54px; align-items:center; gap:6px; padding:0 10px; border-top:1px solid #1d252b; font-variant-numeric:tabular-nums; }.light-rh-row b{ color:#fff; }.light-rh-row em{ font-style:normal; color:#94a2aa; }.light-rh-row .up{ color:#2add79; }.light-rh-row .down{ color:#ff5058; }.light-rh-row button{ height:21px; border:1px solid #82434a; background:#3b1d21; color:#ff9ba1; font:8px var(--ui); cursor:pointer; }.light-rh-empty{ padding:18px 10px; color:#7e8b94; text-align:center; }.light-rh-footnote{ padding:9px 10px; color:#7f8d96; line-height:1.5; }
  .light-enginebar{ min-height:28px; display:flex; align-items:center; gap:6px; padding:2px 6px; border-bottom:1px solid var(--light-line); background:#171e24; color:#9ba8b0; font-size:9px; }
  .light-grid>.light-health-view{inset:auto;z-index:auto;container-type:inline-size;grid-template-rows:16px 24px auto 26px minmax(0,1fr)}
  .light-grid>.light-health-view .light-health-tools{padding-inline:6px}.light-grid>.light-health-view .light-health-tools button{height:18px;padding-inline:5px}
  .light-grid>.light-health-view .light-health-summary{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:32px}.light-grid>.light-health-view .light-health-stat{min-height:32px;gap:2px;padding-inline:5px}.light-grid>.light-health-view .light-health-stat small{font-size:6px}.light-grid>.light-health-view .light-health-stat b{font-size:9px}
  .light-grid>.light-health-view .light-health-columns,.light-grid>.light-health-view .light-health-row{grid-template-columns:70px 38px 82px minmax(110px,1fr) 48px;padding-inline:6px}.light-grid>.light-health-view .light-health-columns>:nth-child(3),.light-grid>.light-health-view .light-health-row>:nth-child(3){display:none}
  @container (max-width:380px){
    .light-grid>.light-health-view{grid-template-rows:16px 24px auto auto minmax(0,1fr)}
    .light-grid>.light-health-view .light-health-tools>span{display:none}
    .light-grid>.light-health-view .light-health-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
    .light-grid>.light-health-view .light-health-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding:2px 4px}
    .light-grid>.light-health-view .light-health-filters button{width:100%;height:18px;padding:0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .light-grid>.light-health-view .light-health-columns,.light-grid>.light-health-view .light-health-row{grid-template-columns:52px 30px 66px minmax(48px,1fr);gap:3px;padding-inline:4px}
    .light-grid>.light-health-view .light-health-columns>:nth-child(6),.light-grid>.light-health-view .light-health-row>:nth-child(6){display:none}
  }
  .light-enginebar{display:none}
  .light-position-risk-card{ height:auto; }
  .light-ticket-controls{ grid-template-columns:1.5fr .72fr .62fr .72fr 1.05fr .42fr; }
  .light-grid{ padding-top:5px; }
  .light-ticket{ padding:4px 6px; }
  .light-ticket-grid:first-of-type .light-ticket-field{ font-size:9px; }
  .light-ticket-grid:first-of-type .light-ticket-field output{ height:22px; padding-top:2px; color:#f5f8fa; font-size:13px; }
  .light-ticket-grid:first-of-type{ grid-template-columns:1.3fr .85fr .85fr; }
  .light-advanced-orders{ width:min(100%,400px); display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:6px auto 0; padding-top:6px; border-top:1px solid #2b353d; }.light-order-tool{ min-width:0; display:grid; grid-template-columns:auto minmax(42px,1fr) auto; align-items:end; gap:4px; }.light-order-tool label{ color:#82909a; font-size:7px; text-transform:uppercase; }.light-order-tool input,.light-order-tool select{ width:100%; height:21px; box-sizing:border-box; border:1px solid #3b4750; border-radius:2px; background:#273139; color:#fff; font:8px var(--ui); }.light-order-tool button,.light-position-actions button{ height:21px; padding:0 7px; border:1px solid #3b4750; border-radius:2px; background:#1e282f; color:#e7eef2; font:700 8px var(--ui); cursor:pointer; white-space:nowrap; }.light-order-tool button{ grid-row:1/3; grid-column:3; align-self:end; }.light-bracket-tool{ grid-template-columns:1fr 1fr auto; }.light-position-actions{ grid-column:1/-1; display:grid; grid-template-columns:repeat(3,1fr); gap:4px; }.light-position-actions .cancel{ border-color:#b87820; background:#8c5513; }.light-position-actions .reverse{ border-color:#168b48; background:#126b36; }.light-position-actions button:disabled,.light-order-tool button:disabled{ opacity:.4; cursor:not-allowed; }
  #lightTicketLast{ font-size:17px; line-height:18px; }
  #lightTicketChange,#lightTicketChangePct,#lightTicketLastSize{ font-size:12px; }
  .light-ticket-grid:first-of-type .light-ticket-field output.negative{ color:#ff5d65; }
  .light-ticket-grid:first-of-type .light-ticket-field output.positive{ color:#35db7d; }
  .light-ticket-field output,.light-ticket-field input,.light-ticket-field select{ height:18px; }
  .light-ticket-field output{ padding-top:1px; }
  .light-ticket-actions{ margin-top:4px; }
  .light-ticket-actions button,.light-ticket-controls button{ height:20px; }
  .light-ticket-controls{ margin-top:4px; }
  .light-ticket{ padding:8px 9px 9px; }
  .light-ticket-grid:first-of-type{ grid-template-columns:1.4fr .8fr .8fr; gap:9px; }
  .light-ticket-grid.order{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 9px; margin-top:8px; }
  .light-ticket-field,.light-ticket-grid:first-of-type .light-ticket-field{ font-size:9px; }
  .light-ticket-field output,.light-ticket-field input,.light-ticket-field select{ height:27px; font-size:11px; }
  .light-ticket-grid:first-of-type .light-ticket-field output{ height:27px; padding-top:3px; font-size:15px; }
  #lightTicketLast{ font-size:19px; line-height:21px; }
  #lightTicketChange,#lightTicketChangePct{ font-size:14px; }
  .light-ticket-actions{ width:100%; gap:7px; margin-top:9px; }
  .light-ticket-actions button{ height:29px; font-size:12px; }
  .light-advanced-orders{ width:100%; gap:7px; margin-top:9px; padding-top:9px; }
  .light-order-tool{ gap:6px; }.light-order-tool label{ font-size:8px; }.light-order-tool input,.light-order-tool select{ height:27px; font-size:10px; }.light-order-tool button,.light-position-actions button{ height:27px; padding:0 9px; font-size:9px; }
  .light-window.matrix>.light-trade-decision{ grid-template-columns:minmax(110px,.65fr) minmax(0,1.35fr); min-height:58px; border-top:0; }
  .light-window.matrix>.light-trade-decision .light-ticket-status{ gap:4px; padding:8px 12px; }
  .light-window.matrix>.light-trade-decision .light-signal{ font-size:11px; }
  .light-window.matrix>.light-trade-decision .light-matrix-head{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:8px 12px; }
  .light-window.matrix>.light-trade-decision .light-metric{ grid-column:auto!important; }
  .light-window.quotes .light-ledger{ border:0; border-radius:0; }
  .light-position-risk-card{ min-height:148px; }
  .light-account-card{ min-height:96px; grid-template-columns:minmax(0,1fr) 92px; }
  .light-account-main{ padding:7px 9px; }.light-account-main>strong{ font-size:18px; }.light-account-main>span{ margin:2px 0 4px; }
  .light-account-row{ height:20px; }.light-account-allocation{ padding:5px; }.light-account-donut{ width:72px; height:72px; }.light-account-donut::before{ width:56px; height:56px; }.light-account-donut-label{ font-size:13px; }
  .light-ticket-controls .light-auto-stop:not(:disabled){ color:#fff; background:#7a2b30; font-weight:800; }
  .light-chart-legend span:last-child{ display:inline-flex!important; color:#b9c5cc; }
  .light-trade-marker-buy,.light-trade-marker-sell{ opacity:.82; }
  .light-trade-marker-label{ font:500 5px var(--ui); text-anchor:middle; paint-order:stroke; stroke:#030506; stroke-width:1.5px; stroke-linejoin:round; opacity:.82; }
  .light-trade-marker-label.buy{ fill:#31db7d; }.light-trade-marker-label.sell{ fill:#ff5b63; }
  .light-chart-stage::after{ content:none; }
  /* Keep the full left workstation on one visual rhythm. */
  .light-window.matrix{ --matrix-gap:6px; }
  .light-window.matrix>.light-trade-decision{ min-height:64px; }
  .light-window.matrix>.light-trade-decision .light-ticket-status,
  .light-window.matrix>.light-trade-decision .light-matrix-head{ padding:10px 12px; }
  .light-window.matrix>.light-trade-decision small,
  .light-window.matrix>.light-trade-decision .light-signal{ font-size:9px; }
  .light-window.matrix>.light-trade-decision .light-metric b{ margin-top:5px; font-size:13px; }
  .light-ticket{ padding:10px 10px 11px; }
  .light-ticket-grid:first-of-type,.light-ticket-grid.order{ gap:10px; }
  .light-ticket-grid.order{ margin-top:9px; }
  .light-ticket-field,.light-ticket-grid:first-of-type .light-ticket-field,
  .light-order-tool label{ font-size:8px; line-height:1.25; }
  .light-ticket-field output,.light-ticket-field input,.light-ticket-field select,
  .light-ticket-grid:first-of-type .light-ticket-field output,
  .light-order-tool input,.light-order-tool select,.light-order-tool button,
  .light-position-actions button{ height:28px; }
  .light-order-tool input,.light-order-tool select{ font-size:11px; }
  .light-ticket-actions{ gap:10px; margin-top:10px; }
  .light-ticket-actions button{ height:30px; font-size:12px; }
  .light-advanced-orders{ gap:10px; margin-top:10px; padding-top:10px; }
  .light-order-tool{ grid-template-columns:minmax(0,1.35fr) minmax(58px,.72fr) minmax(82px,.8fr); gap:6px; }
  .light-bracket-tool{ grid-template-columns:repeat(2,minmax(0,1fr)) minmax(82px,.8fr); }
  .light-position-actions{ gap:10px; margin-top:4px; }
  .light-order-tool button,.light-position-actions button{ font-size:9px; }
  .light-matrix-tools{ grid-template-rows:auto auto; align-content:start; gap:var(--matrix-gap); padding:var(--matrix-gap); }
  .light-window.matrix>.light-matrix-tools{ display:none!important; }
  .light-matrix-card,#lightOrderStatus>.light-order-book,.light-account-card{ border-color:#35434d; border-radius:4px; }
  .light-position-risk-card h3{ min-height:26px; height:26px; box-sizing:border-box; padding:0 10px; font-size:8px; }
  .light-order-head{ min-height:24px; height:24px; box-sizing:border-box; padding:0 8px; font-size:10px; }
  .light-account-main>small,.light-account-row,.light-account-main>span,
  .light-order-columns,.light-order-row,.light-order-empty{ font-size:8px; }
  .light-trade-decision{ grid-template-columns:minmax(90px,.7fr) minmax(0,1.6fr); }
  .light-ticket-status{ gap:4px; padding:7px 9px; }
  .light-matrix-head{ gap:5px 7px; padding:6px 8px; }
  .light-matrix-card h3{ padding:6px 8px; }
  .light-position-summary{ padding:4px; }
  .light-position-stat{ padding:2px 6px; }
  .light-position-stat b{ margin-top:1px; }
  .light-risk-side{ padding:4px 6px; }
  #lightMatrixPosition,.light-risk-side{ min-height:0; box-sizing:border-box; }
  .light-risk-live{ gap:4px; padding-top:0; }
  .light-risk-meter{ padding:4px 6px; }
  .light-risk-track{ margin-top:4px; }
  .light-position-risk-card h3>small{ margin-left:auto; color:#73818a; font-size:7px; font-weight:500; }
  .light-risk-meter-head b{ display:flex; align-items:center; justify-content:flex-end; gap:2px; }
  .light-risk-meter-head b em{ color:#80909a; font-size:8px; font-style:normal; font-weight:500; }
  .light-risk-meter-head input{ width:45px; height:19px; padding:0 3px; border:1px solid #3b4851; border-radius:2px; background:#1e282f; color:#fff; font:800 10px var(--ui); text-align:right; }
  .light-risk-meter-head input:focus{ border-color:#2fc777; outline:1px solid #2fc777; }
  .light-risk-meter-head input:disabled{ opacity:.6; }
  .light-ledger-head .light-ledger-totals{ min-width:0; min-height:0; margin-left:auto; padding:0; border:0; background:transparent; flex:0 1 auto; gap:8px; }
  .light-ledger-head .light-ledger-totals b{ display:none; }
  .light-ledger-head .light-ledger-totals span{ max-width:170px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .light-tabs .light-outcomes{ min-width:0; min-height:0; height:25px; margin-left:8px; padding:0; border:0; background:transparent; flex:1 1 auto; gap:8px; overflow:hidden; }
  .light-tabs .light-outcomes span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .light-tabs .light-outcomes b{ font-size:8px; }
  .light-account-card{ min-height:118px; grid-template-columns:minmax(0,1fr) 92px; }
  .light-account-main{ padding:7px 9px; }
  .light-account-main>strong{ font-size:18px; }
  .light-account-main>span{ margin:2px 0 4px; }
  .light-account-row{ height:20px; }
  .light-account-allocation{ padding:5px; }
  .light-account-donut{ width:72px; height:72px; }
  .light-account-donut::before{ width:56px; height:56px; }
  .light-account-donut-label{ font-size:13px; }
  #lightOrderStatus{ min-width:0; min-height:0; display:flex; }
  #lightOrderStatus>.light-order-book{ width:100%; height:100%; }
  #lightOrderStatus>.light-order-book .light-order-columns,#lightOrderStatus>.light-order-book .light-order-row{ grid-template-columns:minmax(0,.72fr) minmax(0,.78fr) minmax(0,.78fr) minmax(0,.32fr) minmax(0,.55fr) minmax(0,.7fr) minmax(0,.9fr) minmax(0,.78fr) 42px; gap:4px; padding:0 7px; }
  #lightOrderStatus>.light-order-book .light-order-columns span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  #lightOrderStatus .light-order-row button{ height:19px; padding:0 3px; border:1px solid #42505a; border-radius:3px; background:#1b252c; color:#b9c5cc; font:700 7px/1 var(--ui); cursor:pointer; }
  #lightOrderStatus .light-order-row button:hover{ color:#fff; background:#293740; }
  #lightOrderStatus .light-order-row button.cancel{ border-color:#73343a; background:#2b1417; color:#c8797e; }
  .light-window.quotes{ display:flex; flex-direction:column; align-content:stretch; }
  .light-window.quotes>.light-decision,.light-window.history>#lightOrderStatus{ min-width:0; min-height:0; overflow:hidden; }
  .light-window.history>#lightOrderStatus{ flex:1 1 auto; }
  .light-window.history>#lightOrderStatus{ border-top:1px solid #26313a; background:#0d1419; }
  .light-window.history>#lightOrderStatus>.light-order-book{ max-height:none; border:0; border-radius:0; }
  .light-strategy-overview{ --strategy-cols:minmax(60px,1fr) 32px minmax(0,.55fr) minmax(0,.62fr) minmax(0,.62fr) minmax(0,.78fr) 42px 62px; --strategy-gap:3px; --strategy-pad:5px; height:100%; min-width:0; display:flex; flex-direction:column; background:#0d1419; }
  .light-strategy-overview-head{ flex:0 0 20px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 8px; border-bottom:1px solid #26313a; color:#eef4f7; font-size:10px; font-weight:800; }
  .light-strategy-overview-head span{ color:#85939c; font-size:8px; font-weight:500; }
  .light-strategy-overview-columns{ flex:0 0 18px; min-width:0; display:grid; grid-template-columns:var(--strategy-cols); align-items:center; gap:var(--strategy-gap); padding:0 var(--strategy-pad); border-bottom:1px solid #26313a; color:#788791; font-size:7px; }
  .light-strategy-overview-columns span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .light-strategy-overview-columns span:nth-child(2){ text-align:center; }
  .light-strategy-overview-body{ min-height:0; display:grid; grid-template-rows:repeat(3,24px); align-content:start; overflow:auto; }
  .light-strategy-overview-row{ min-width:0; display:grid; grid-template-columns:var(--strategy-cols); align-items:center; gap:var(--strategy-gap); padding:3px var(--strategy-pad); border-bottom:1px solid #202a31; cursor:pointer; }
  .light-strategy-overview-row:hover{ background:#121c22; }.light-strategy-overview-row.chart-selected{ background:#142027; box-shadow:inset 3px 0 #587f78; }
  .light-strategy-overview-row:last-child{ border-bottom:0; }
  .light-strategy-overview-row.strategy-running{ position:relative; box-shadow:inset 0 0 0 1px #587f78; }
  .light-strategy-overview-name{ min-width:0; display:grid; align-items:center; }.light-strategy-overview-name b{ min-width:0; display:flex; align-items:center; color:#fff; font-size:10px; }
  .light-strategy-state{ justify-self:start; padding:3px 7px; border:1px solid #4a555d; border-radius:9px; background:#182127; color:#aab5bc; font-size:8px; font-weight:800; }.light-strategy-state.on{ border-color:#23864d; background:#10321f; color:#43e387; }
  .light-strategy-overview-toggle{ flex:0 0 auto; height:17px; min-width:34px; margin-left:4px; padding:0 7px; border:1px solid #73343a; border-radius:9px; background:#2b1417; color:#c8797e; font:800 7px/1 var(--ui); cursor:pointer; }.light-strategy-overview-toggle:hover:not(:disabled){ filter:brightness(1.18); }.light-strategy-overview-toggle.on{ border-color:#486d65; background:#142621; color:#78a99d; }.light-strategy-overview-toggle:disabled{ opacity:.55; cursor:not-allowed; }
  .light-strategy-history-link{ flex:0 0 12px; width:12px; margin-left:2px; padding:0; border:0; background:transparent; color:#6faaa0; font:700 7px/1 var(--ui); text-align:center; cursor:pointer; }.light-strategy-history-link:hover{ color:#8fe0cf; text-decoration:underline; }
  .light-strategy-overview-stat{ min-width:0; overflow:hidden; color:#e8eef2; font-size:9px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }.light-strategy-overview-stat.up{ color:#78a99d; }.light-strategy-overview-stat.down{ color:#c8797e; }
  .light-strategy-account{ width:100%; min-width:0; height:22px; padding:0 15px 0 4px; border:0; border-radius:0; background:transparent; color:#cbd6dc; font:700 7px/1 var(--ui); text-overflow:ellipsis; cursor:pointer; }.light-strategy-account:hover:not(:disabled){ color:#fff; }.light-strategy-account:disabled{ opacity:.65; cursor:not-allowed; }
  .light-strategy-quantity{ justify-self:center; width:28px; min-width:0; height:22px; padding:0; border:0; border-radius:0; background:transparent; color:#dce5e9; font:700 9px/1 var(--ui); text-align:center; appearance:textfield; -moz-appearance:textfield; cursor:text; }.light-strategy-quantity::-webkit-inner-spin-button,.light-strategy-quantity::-webkit-outer-spin-button{ margin:0; appearance:none; }.light-strategy-quantity:hover:not(:disabled){ color:#fff; }.light-strategy-quantity:focus{ outline:1px solid #587f78; outline-offset:1px; }.light-strategy-quantity:disabled{ opacity:.65; cursor:not-allowed; }
  .light-strategy-close{ width:100%; min-width:0; height:22px; padding:0 3px; border:0; border-radius:0; background:transparent; color:#c78289; font:700 7px/1 var(--ui); cursor:pointer; }.light-strategy-close:hover:not(:disabled){ color:#f0a4aa; }.light-strategy-close:disabled{ opacity:.4; cursor:not-allowed; }
  .light-window.quotes .light-order-status.filled{ color:#78a99d; border-color:#486d65; background:#142621; }
  .light-window.quotes .light-order-status.rejected,.light-window.quotes .light-order-status.cancelled{ color:#c8797e; }
  .light-window.matrix>.light-strategy-card{ min-height:72px!important; }
  .light-window.matrix .light-matrix-tools>.light-strategy-card{ min-height:72px!important; }
  .light-window.matrix .light-matrix-tools>.light-strategy-card{ display:none!important; }
  .light-window.matrix .light-matrix-tools>.light-strategy-card .light-ticket-status{ gap:4px; padding:7px 9px; }
  .light-window.matrix .light-matrix-tools>.light-strategy-card .light-matrix-head{ padding:7px 9px; }
  .light-commandbar>.light-ticket-controls{ flex:0 0 236px; width:236px; min-width:236px; grid-template-columns:236px!important; }
  .light-commandbar>.light-ticket-controls button,.light-commandbar>.light-ticket-controls select{ min-width:0; padding-inline:5px; }
  .workspace-float[data-workspace="light"] .workspace-float-actions>#lightSettingsButton{ display:flex; align-items:center; justify-content:center; }
  .light-strategy-card .light-matrix-head{ grid-template-columns:repeat(2,minmax(0,1fr))!important; grid-template-rows:repeat(2,minmax(0,1fr)); }
  .light-strategy-card .light-metric:nth-child(n+3){ padding-top:4px; border-top:1px solid #26313a; }
  .light-account-card{ min-width:0; min-height:122px; display:grid; grid-template-columns:minmax(0,1fr) 112px; border:1px solid #303b44; border-radius:4px; background:linear-gradient(135deg,#111920,#080d11); overflow:hidden; }
  .light-account-main{ min-width:0; padding:10px 12px; }.light-account-main>small{ display:block; color:#aab5bc; font-size:8px; text-transform:uppercase; }.light-account-main>strong{ display:block; margin-top:1px; color:#f3f7f9; font-size:22px; line-height:1.1; font-variant-numeric:tabular-nums; }.light-account-main>span{ display:block; margin:4px 0 7px; color:#36d87c; font-size:8px; }.light-account-main>span.negative{ color:#ff626a; }
  .light-account-list{ border-top:1px solid #26313a; }.light-account-row{ min-width:0; height:25px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; border-bottom:1px solid #202a31; color:#9aa7af; font-size:8px; }.light-account-row:last-child{ border-bottom:0; }.light-account-row span{ display:flex; align-items:center; gap:6px; }.light-account-row i{ width:6px; height:6px; border-radius:50%; background:#ff7417; }.light-account-row.market i{ background:#31b8d9; }.light-account-row.power i{ background:#a96cff; }.light-account-row b{ color:#e6edf1; font-size:9px; font-variant-numeric:tabular-nums; }
  .light-account-allocation{ display:grid; place-items:center; padding:8px; border-left:1px solid #26313a; }.light-account-donut{ --cash-pct:0; width:88px; height:88px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(#ff7417 calc(var(--cash-pct)*1%),#31b8d9 0); }.light-account-donut::before{ content:""; grid-area:1/1; width:68px; height:68px; border-radius:50%; background:#0b1116; }.light-account-donut-label{ z-index:1; grid-area:1/1; text-align:center; color:#eef3f6; font-size:16px; line-height:1; font-variant-numeric:tabular-nums; }.light-account-donut-label small{ display:block; margin-top:5px; color:#aeb9bf; font-size:8px; }
  .light-position-risk-card{ min-height:152px; }
  /* Final compact Matrix rules intentionally follow the legacy sizing layers. */
  .light-ticket-grid:first-of-type{ grid-template-columns:minmax(96px,1.4fr) minmax(58px,.8fr) minmax(58px,.8fr); gap:6px; }
  .light-ticket-grid:first-of-type .light-ticket-field output{ overflow:visible; font-size:14px; text-overflow:clip; }
  #lightTicketChange,#lightTicketChangePct{ font-size:11px; }
  .light-advanced-orders{ grid-template-columns:1fr; gap:7px; }
  .light-order-tool,.light-bracket-tool{ grid-template-columns:minmax(92px,1.25fr) minmax(60px,.72fr) minmax(86px,.85fr); gap:7px; }
  .light-position-actions{ grid-column:1; gap:7px; margin-top:0; }
  .light-position-risk-card{ min-height:126px; }
  .light-position-risk-body{ flex:1; }
  .light-order-book.no-title .light-order-columns{ flex-basis:25px; border-bottom:1px solid #26313a; }
  .light-order-book.no-title{ height:auto!important; min-height:84px; max-height:230px; }
  .light-order-book.no-title .light-order-columns,.light-order-book.no-title .light-order-row{ grid-template-columns:minmax(0,.8fr) minmax(0,.35fr) minmax(0,.65fr) minmax(0,.75fr) minmax(0,1fr) minmax(0,.8fr); gap:5px; padding-inline:8px; }
  .light-order-book.no-title .light-order-columns span:nth-child(2),.light-order-book.no-title .light-order-row span:nth-child(2){ text-align:center; }
  .light-order-book.no-title .light-order-row{ min-height:29px; background:#0d1419; }
  .light-order-book.no-title .light-order-row:nth-child(even){ background:#101920; }
  .light-order-side.buy{ color:#78a99d; }.light-order-side.sell{ color:#c8797e; }
  .light-order-status{ justify-self:start; max-width:100%; padding:2px 5px; border:1px solid #765d22; border-radius:8px; background:#29220f; font-size:7px; line-height:1; text-transform:uppercase; }
  .light-order-status.filled{ border-color:#486d65; background:#142621; }.light-order-status.rejected,.light-order-status.cancelled{ border-color:#73343a; background:#2b1417; }
  .light-account-card{ min-height:96px; grid-template-columns:minmax(0,1fr) 92px; }
  .light-account-main{ padding:7px 9px; }.light-account-main>strong{ font-size:18px; }.light-account-main>span{ margin:2px 0 4px; }
  .light-account-row{ height:20px; }.light-account-allocation{ padding:5px; }.light-account-donut{ width:72px; height:72px; }.light-account-donut::before{ width:56px; height:56px; }.light-account-donut-label{ font-size:13px; }
  .light-symbol-picker{ display:flex; align-items:center; gap:5px; color:#9aa7af; font-size:8px; text-transform:uppercase; white-space:nowrap; }
  .light-symbol-picker input{ width:clamp(76px,8vw,118px); height:24px; padding:0 8px; border:1px solid #3c4852; border-radius:2px; background:#303a44; color:#fff; font:700 10px var(--ui); text-transform:uppercase; }
  .light-symbol-picker input:disabled{ opacity:.5; cursor:not-allowed; }
  .light-symbol-picker button{ height:24px; padding:0 10px; border:0; border-radius:2px; background:#0d6fa8; color:#fff; font:800 9px var(--ui); cursor:pointer; }
  .light-symbol-picker button:disabled{ opacity:.5; cursor:not-allowed; }
  .light-symbol-status{ max-width:34%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#88959e; font-size:7px; }
  .light-symbol-status.error{ color:#ff6a72; }.light-symbol-status.good{ color:#2cdd7d; }
  /* Final responsive pass: resize the workstation from its own window, not
     the desktop viewport. Width preserves the chart; height compacts the
     ticket and history progressively before anything can be clipped. */
  .light-grid{ --light-c1:clamp(320px,34%,440px); }
  @container (max-width:1050px){
    .light-grid{ --light-c1:clamp(300px,37%,360px); }
    .light-commandbar>.light-ticket-controls{ width:236px; min-width:236px; }
    .light-header-clock{ padding-inline:6px; }
    .light-ledger-head span{ display:none; }
    .light-ledger-head .light-ledger-totals span{ display:block; max-width:130px; }
    .light-ledger-columns,.light-ledger-row{ grid-template-columns:48px 30px minmax(44px,.7fr) minmax(58px,1fr) 38px minmax(70px,1fr); padding-inline:6px; gap:4px; }
  }
  @container (max-width:820px){
    .light-grid{ --light-c1:300px; padding:3px; gap:3px; }
    .light-symbol-status{ display:none; }
    .light-commandbar{ gap:3px; padding-left:5px; }
    .light-commandbar>.light-ticket-controls{ width:236px; min-width:236px; }
    .light-header-clock small{ display:none; }
    .light-ledger-head .light-ledger-totals span:first-of-type{ display:none; }
    .light-chart-meta{ gap:4px; }
    .light-chart-legend span{ display:none; }
  }
  @container (max-height:760px){
    .light-grid{ --light-row:minmax(340px,50%); padding-block:3px; gap:3px; }
    .light-window.matrix{ --matrix-gap:3px; }
    .light-window.matrix>.light-trade-decision{ min-height:50px; }
    .light-window.matrix>.light-trade-decision .light-ticket-status,.light-window.matrix>.light-trade-decision .light-matrix-head{ padding-block:5px; }
    .light-ticket{ padding-block:5px; }
    .light-ticket-field output,.light-ticket-field input,.light-ticket-field select,.light-ticket-grid:first-of-type .light-ticket-field output{ height:23px; }
    .light-ticket-actions{ margin-top:5px; }.light-ticket-actions button{ height:25px; }
    .light-advanced-orders{ gap:4px; margin-top:5px; padding-top:5px; }
    .light-order-tool input,.light-order-tool select,.light-order-tool button,.light-position-actions button{ height:23px; }
    .light-position-risk-card{ min-height:112px; }
    .light-position-risk-card h3{ height:22px; min-height:22px; }
    .light-position-stat{ padding-block:1px; }
    .light-risk-meter{ padding-block:2px; }
    .light-order-row{ min-height:23px; }
    .light-order-row:nth-of-type(n+7){ display:none; }
  }
  @container (max-height:620px){
    .light-grid{ --light-row:minmax(300px,55%); }
    .light-ticket-grid.order{ margin-top:4px; }
    .light-ticket-actions button{ height:22px; font-size:10px; }
    .light-advanced-orders{ grid-template-columns:1fr 1fr; }
    .light-position-actions{ grid-column:1/-1; }
    .light-position-risk-card{ min-height:94px; }
    .light-order-row:nth-of-type(n+5){ display:none; }
    .light-footer-stat{ padding-inline:4px; }
  }
  /* Recent Orders owns a scrolling body, so compact workspace breakpoints must
     not hide history rows after the fourth or sixth item. */
  .light-window.history .light-order-list .light-order-row{ display:grid; }
  /* Keep the complete manual ticket above the chart at the normal compact
     workstation height while preserving comfortable click targets. */
  .light-window.matrix>.light-ticket{ padding:5px 7px 6px; }
  .light-window.matrix>.light-ticket .light-ticket-grid:first-of-type{ gap:6px; }
  .light-window.matrix>.light-ticket .light-ticket-grid:first-of-type .light-ticket-field,
  .light-window.matrix>.light-ticket .light-ticket-field,
  .light-window.matrix>.light-ticket .light-order-tool label{ font-size:7px; line-height:1.1; }
  .light-window.matrix>.light-ticket .light-ticket-grid:first-of-type .light-ticket-field output{ height:22px; padding-top:1px; font-size:13px; }
  .light-window.matrix>.light-ticket #lightTicketLast{ font-size:16px; line-height:18px; }
  .light-window.matrix>.light-ticket #lightTicketChange,
  .light-window.matrix>.light-ticket #lightTicketChangePct{ font-size:11px; }
  .light-window.matrix>.light-ticket .light-ticket-position{ margin:3px -7px 4px; }
  .light-window.matrix>.light-ticket .light-ticket-position span{ gap:1px; padding:3px 7px; }
  .light-window.matrix>.light-ticket .light-ticket-position small{ font-size:6px; }
  .light-window.matrix>.light-ticket .light-ticket-position b{ font-size:8px; }
  .light-window.matrix>.light-ticket .light-ticket-grid.order{ gap:4px 6px; margin-top:4px; }
  .light-window.matrix>.light-ticket .light-ticket-field input,
  .light-window.matrix>.light-ticket .light-ticket-field select{ height:22px; margin-top:1px; font-size:9px; }
  .light-window.matrix>.light-ticket .light-ticket-actions{ gap:5px; margin-top:5px; }
  .light-window.matrix>.light-ticket .light-ticket-actions button{ height:24px; font-size:10px; }
  .light-window.matrix>.light-ticket .light-advanced-orders{ gap:5px; margin-top:5px; padding-top:5px; }
  .light-window.matrix>.light-ticket .light-order-tool{ gap:4px; }
  .light-window.matrix>.light-ticket .light-order-tool input,
  .light-window.matrix>.light-ticket .light-order-tool select,
  .light-window.matrix>.light-ticket .light-order-tool button,
  .light-window.matrix>.light-ticket .light-position-actions button{ height:22px; font-size:8px; }
  .light-window.matrix>.light-ticket .light-position-actions{ gap:5px; margin-top:1px; }
  .light-robinhood-view{ position:absolute; z-index:6; inset:28px 0 0; }
  .light-shell.robinhood-active>.light-enginebar,.light-shell.robinhood-active>.light-grid,.light-shell.robinhood-active>.light-statusbar,.light-shell.robinhood-active>.light-calibration-output{ visibility:hidden; }
  .light-enginebar label{ display:flex; align-items:center; gap:4px; }.light-enginebar select{ min-width:190px; max-width:260px; height:21px; border:1px solid #39434c; border-radius:2px; background:#242d34; color:#e5edf2; font:inherit; }.light-enginebar button{ height:21px; padding:0 7px; border:1px solid #3a4650; border-radius:2px; background:#29333b; color:#dce5ea; font:inherit; cursor:pointer; }.light-enginebar button:hover{ background:#35424c; }.light-enginebar button:disabled{ opacity:.45; cursor:default; }.light-enginebar .danger{ border-color:#714044; color:#ff999f; }.light-engine-spacer{ flex:1; }.light-calibration-state{ padding:2px 6px; border:1px solid #7b5b22; background:#302713; color:#ffc85a; font-weight:700; letter-spacing:.04em; }.light-calibration-state.ready{ border-color:#276841; background:#142a1d; color:#62e494; }.light-engine-detail{ max-width:250px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.light-entry-candidate{ padding:2px 6px; border:1px solid #48535c; background:#222a31; color:#c6d0d6; font-weight:800; letter-spacing:.05em; }.light-entry-candidate.buy{ border-color:#197345; background:#12351f; color:#49e58c; }.light-entry-candidate.sell{ border-color:#87353b; background:#3a171a; color:#ff737b; }.light-entry-detail{ color:#91a0a9; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:270px; }
  .light-calibration-output{ display:none; position:absolute; z-index:8; top:62px; right:8px; width:min(560px,calc(100% - 24px)); max-height:60%; overflow:auto; padding:12px; border:1px solid #46525c; background:#0d1216; color:#cbd6dc; box-shadow:0 12px 35px rgba(0,0,0,.55); white-space:pre-wrap; font:11px/1.55 Consolas,monospace; }.light-calibration-output.open{ display:block; }
  .light-ts-settings{display:none;position:absolute;z-index:20;top:29px;right:5px;width:min(430px,calc(100% - 20px));max-height:calc(100% - 42px);box-sizing:border-box;padding:8px;border:1px solid #35424c;border-radius:0 0 4px 4px;background:#0c1318;box-shadow:0 10px 22px #00000090;font-size:9px;overflow-y:auto;overscroll-behavior:contain}.light-ts-settings.open{display:block}.light-ts-settings-head{display:flex;align-items:center;min-height:24px;margin:-1px 0 6px;padding:0 0 6px;border-bottom:1px solid #26313a}.light-ts-settings-head b{color:#dce5ea;font:700 8px/1 var(--ui);letter-spacing:.05em}.light-ts-settings-head span{margin-left:auto;color:#7f8d96;font:500 7px/1 var(--ui)}.light-ts-settings-head button{width:23px;height:23px;margin-left:6px;border:1px solid #2c3740;border-radius:3px;background:#131b21;color:#93a0a9;font-size:16px;line-height:1;cursor:pointer}.light-ts-settings-head button:hover{background:#22303a;color:#eef4f7}.light-ts-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.light-ts-settings label{display:grid;gap:4px;color:#7f8d96;font:700 7px/1 var(--ui);text-transform:uppercase;letter-spacing:.05em}.light-ts-settings label.wide{grid-column:1/-1}.light-ts-settings input,.light-ts-settings select{box-sizing:border-box;width:100%;height:27px;padding:0 7px;border:1px solid #2c3740;border-radius:3px;outline:0;background:#131b21;color:#dce5ea;font:700 8px var(--ui)}.light-ts-settings input:focus,.light-ts-settings select:focus{border-color:#5ce0bd;box-shadow:0 0 0 1px #5ce0bd44}.light-ts-secret{display:grid;grid-template-columns:1fr auto;gap:4px}.light-ts-secret button,.light-ts-settings-actions button{min-height:27px;border:1px solid #2c3740;border-radius:3px;background:#131b21;color:#93a0a9;padding:0 9px;font:700 7px/1 var(--ui);cursor:pointer}.light-ts-secret button:hover,.light-ts-settings-actions button:hover{background:#22303a;color:#eef4f7}.light-ts-settings-note{margin:7px 0;color:#7f8d96;font-size:7px;line-height:1.4}.light-ts-settings-status{min-height:13px;color:#f2b84b;font-size:7px}.light-ts-settings-status.ok{color:#5ce0bd}.light-ts-settings-actions{display:flex;justify-content:flex-end;gap:4px;margin-top:6px}.light-ts-settings-actions .primary,.light-ts-settings-actions .connect{border-color:#3f9c86;background:#18342f;color:#5ce0bd}.light-ts-settings-actions .connect{margin-right:auto}.light-ts-settings-actions .danger{border-color:#73343a;background:#2b1417;color:#c8797e}
  .light-ai-limit{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}.light-ai-limit button{min-width:72px;height:27px;padding:0 8px;border:1px solid #2c3740;border-radius:3px;background:#131b21;color:#93a0a9;font:700 7px/1 var(--ui);text-transform:uppercase;cursor:pointer}.light-ai-limit button[aria-pressed="true"]{border-color:#3f9c86;background:#18342f;color:#5ce0bd}.light-ai-limit input:disabled{opacity:.55}
  .light-ts-section-title{margin:7px 0 4px;padding-top:7px;border-top:1px solid #26313a;color:#7f8d96;font:700 7px/1 var(--ui);letter-spacing:.05em;text-transform:uppercase}.light-trade-hours{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:6px}.light-trade-hours label{display:grid;gap:4px;color:#7f8d96;font:700 7px/1 var(--ui);text-transform:uppercase;letter-spacing:.05em}.light-trade-hours input,.light-trade-hours select{width:100%;height:27px;box-sizing:border-box;padding:0 7px;border:1px solid #2c3740;border-radius:3px;background:#131b21;color:#dce5ea;font:700 8px var(--ui)}.light-trade-hours-note{margin:5px 0 0;color:#7f8d96;font-size:7px;line-height:1.4}.light-trade-hours-actions{display:flex;align-items:center;gap:6px;margin-top:5px}.light-trade-hours-actions button{height:25px;padding:0 9px;border:1px solid #3f9c86;border-radius:3px;background:#18342f;color:#5ce0bd;font:700 7px/1 var(--ui);cursor:pointer}.light-trade-hours-actions button:hover{background:#21473f;color:#79edce}.light-trade-hours-status{color:#7f8d96;font-size:7px}.light-trade-hours-status.ok{color:#5ce0bd}.light-trade-hours-status.error{color:#c8797e}.light-risk-settings-grid{gap:6px}.light-risk-settings-grid label{color:#7f8d96;font:700 7px/1 var(--ui);letter-spacing:.05em}.light-risk-settings-grid input{height:27px;margin-top:4px;border-color:#2c3740;background:#131b21;color:#dce5ea;font:700 8px var(--ui)}
  .light-reauth-alert{ display:flex; align-items:center; gap:8px; min-height:28px; padding:3px 8px; border-bottom:1px solid #8b3037; background:#39171a; color:#ffb2b7; font-size:8px; }.light-reauth-alert[hidden]{ display:none; }.light-reauth-alert b{ color:#fff; font-size:9px; }.light-reauth-alert span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.light-reauth-alert button{ margin-left:auto; height:21px; padding:0 9px; border:1px solid #ff737b; background:#a9232c; color:#fff; font:800 8px var(--ui); cursor:pointer; }
  .light-enginebar select{ min-width:130px; max-width:190px; }.light-enginebar .light-engine-detail{ max-width:150px; }.light-enginebar .light-entry-detail{ max-width:180px; }
  .light-ts-settings{z-index:100000}
  .light-ts-settings{width:min(390px,calc(100% - 14px));padding:7px;font-size:8px}.light-ts-settings-head{min-height:21px;margin:0 0 5px;padding-bottom:5px}.light-ts-settings-head button{width:21px;height:21px}.light-ts-settings-grid{gap:4px 5px}.light-ts-settings label,.light-trade-hours label,.light-risk-settings-grid label{gap:3px;font-size:6.5px}.light-ts-settings input,.light-ts-settings select,.light-trade-hours input,.light-trade-hours select,.light-risk-settings-grid input{height:24px;padding:0 6px;font-size:7.5px}.light-ts-section-title{margin:5px 0 3px;padding-top:5px}.light-trade-hours,.light-risk-settings-grid{gap:5px}.light-trade-hours-note{margin-top:3px;font-size:6.5px;line-height:1.3}.light-trade-hours-actions{margin-top:4px}.light-trade-hours-actions button{height:23px}.light-ts-settings-note{margin:4px 0;font-size:6.5px;line-height:1.3}.light-ts-settings-status{min-height:10px;font-size:6.5px}.light-ts-settings-actions{gap:3px;margin-top:4px}.light-ts-secret button,.light-ts-settings-actions button{min-height:24px;padding:0 7px;font-size:6.5px}
  /* Robinhood uses one authoritative ticket: the complete guarded order and
     risk controls replace the legacy preview at the top of Matrix. */
  .light-shell.matrix-trading-visible .light-ticket{ display:none; }
  .light-window.matrix>.trading-bar{ position:static; z-index:auto; flex:0 0 auto; width:100%!important; min-width:0; min-height:0; max-height:min(330px,48vh); height:auto!important; overflow:auto; resize:none; transform:none!important;
    display:flex; margin:0; padding:0 7px 7px; border:0; border-bottom:1px solid var(--light-line); border-radius:0; background:#11181e; color:#e6edf2; box-shadow:none; font-size:8px; }
  .light-window.matrix>.trading-bar .trading-panel-head{ min-height:24px; margin:0 -7px 1px; padding:0 7px; border-radius:0; border-color:var(--light-line); background:#171e24; cursor:default; }
  .light-window.matrix>.trading-bar .trading-panel-head strong{ color:#fff; font-size:8px; letter-spacing:.04em; }
  .light-window.matrix>.trading-bar .trading-panel-head span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#8997a0; font-size:7px; }
  .light-window.matrix>.trading-bar .tb-line{ gap:4px; }
  .light-window.matrix>.trading-bar .tb-line-hold{ align-items:center; gap:6px; padding-top:2px; }
  .light-window.matrix>.trading-bar .tb-line-limits{ gap:5px; }
  .light-window.matrix>.trading-bar .tb-line-ticket{ padding-top:5px; }
  .light-window.matrix>.trading-bar .tb-quote{ font-size:10px; }
  .light-window.matrix>.trading-bar .tb-detail,.light-window.matrix>.trading-bar .tb-pnl-label,
  .light-window.matrix>.trading-bar .tb-fresh,.light-window.matrix>.trading-bar .tb-session,
  .light-window.matrix>.trading-bar .tb-power,.light-window.matrix>.trading-bar .tb-last,
  .light-window.matrix>.trading-bar .tb-meter b,.light-window.matrix>.trading-bar .tb-meter small,
  .light-window.matrix>.trading-bar .tb-cost,.light-window.matrix>.trading-bar .tb-effect,
  .light-window.matrix>.trading-bar .tb-risk-loss,.light-window.matrix>.trading-bar .tb-risk-gain,
  .light-window.matrix>.trading-bar .tb-ratio,.light-window.matrix>.trading-bar .tb-guard{ font-size:8px; }
  .light-window.matrix>.trading-bar .tb-pnl{ font-size:11px; }
  .light-window.matrix>.trading-bar .tb-book,.light-window.matrix>.trading-bar #tbRange,
  .light-window.matrix>.trading-bar .tb-last{ display:none; }
  .light-window.matrix>.trading-bar select.tb-strategy{ max-width:82px; font-size:8px; }
  .light-window.matrix>.trading-bar .tb-seg button{ height:23px; padding:0 8px; font-size:9px; }
  .light-window.matrix>.trading-bar .tb-stepper button{ width:18px; height:23px; }
  .light-window.matrix>.trading-bar .tb-stepper input{ width:34px; height:23px; font-size:9px; }
  .light-window.matrix>.trading-bar select.tb-pick{ height:23px; max-width:84px; padding-left:5px; font-size:9px; }
  .light-window.matrix>.trading-bar .tb-field{ gap:3px; font-size:8px; }
  .light-window.matrix>.trading-bar .tb-field input{ width:52px; height:23px; padding:0 5px; font-size:9px; }
  .light-window.matrix>.trading-bar .tb-bracket-label{ font-size:8px; }
  .light-window.matrix>.trading-bar .tb-chip{ height:20px; padding:0 6px; font-size:8px; }
  .light-window.matrix>.trading-bar .tb-meter{ gap:3px; }
  .light-window.matrix>.trading-bar .tb-meter i,.light-window.matrix>.trading-bar .tb-rr{ width:32px; }
  .light-window.matrix>.trading-bar .tb-cap-editor{ height:20px; padding:0 4px; font-size:8px; }
  .light-window.matrix>.trading-bar .tb-cap-editor input{ width:34px; font-size:8px; }
  .light-window.matrix>.trading-bar .tb-btn,.light-window.matrix>.trading-bar .tb-kill{ height:23px; padding:0 8px; font-size:9px; }
  .light-window.matrix>.trading-bar .tb-more{ max-height:210px; margin-top:1px; padding:7px; overflow:auto; }
  .light-window.matrix>.trading-bar .tb-more-body{ grid-template-columns:1fr; }
  .workspace-float[data-workspace-theme="light"] .light-panel{ filter:none; }
  body.light-open #chat,body.local-chat-open #chat{ display:block!important; align-self:flex-start; width:var(--workspace-chat-width,360px); max-width:var(--workspace-chat-width,360px); padding-inline:min(12px,calc(var(--workspace-chat-width,360px) / 4)); border-right:1px solid color-mix(in srgb,var(--border) 72%,transparent); box-sizing:border-box; overflow-x:hidden; overflow-y:auto; }
  body.light-open .composer-wrap,body.light-open .cmd-bar,body.local-chat-open .composer-wrap,body.local-chat-open .cmd-bar{ display:flex!important; width:var(--workspace-chat-width,360px); max-width:var(--workspace-chat-width,360px); }
  body.light-open .composer-wrap,body.local-chat-open .composer-wrap{ flex-direction:column; align-items:stretch; }
  @container(max-width:800px){ .light-grid{ --light-c1:280px; overflow:hidden; }.light-shell{ min-width:0; } }
  @container(max-width:680px){ .light-grid{ --light-c1:250px; }.light-commandbar>.light-ticket-controls{ width:236px; min-width:236px; }.light-chat-zoom{ display:none; } }
  body.web-open #chat,body.education-open #chat,body.markets-open #chat,body.recipes-open #chat{ display:block!important; }
  body.web-open .composer-wrap,body.education-open .composer-wrap,body.markets-open .composer-wrap,body.recipes-open .composer-wrap{ display:flex!important; flex-direction:column; align-items:stretch; }
  body.web-open .cmd-bar,body.education-open #cmdBar,body.markets-open .cmd-bar,body.recipes-open .cmd-bar{ display:flex!important; }
  body.sales-open #chat,body.library-open #chat,body.studio-open #chat{ display:block!important; }
  body.sales-open .composer-wrap,body.sales-open .cmd-bar,body.library-open .composer-wrap,body.library-open .cmd-bar,body.studio-open .composer-wrap,body.studio-open .cmd-bar{ display:flex!important; }
  body.web-open #chat,body.education-open #chat,body.markets-open #chat,body.recipes-open #chat{
    align-self:flex-start; width:var(--workspace-chat-width,360px); max-width:var(--workspace-chat-width,360px);
    padding-inline:min(12px,calc(var(--workspace-chat-width,360px) / 4)); border-right:1px solid color-mix(in srgb,var(--border) 72%,transparent); box-sizing:border-box;
    overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain;
  }
  body.sales-open #chat,body.library-open #chat,body.studio-open #chat{ right:auto!important; width:var(--workspace-chat-width,360px)!important; max-width:none!important; }
  body.web-open .cmd-bar,body.education-open .cmd-bar,body.markets-open .cmd-bar,body.recipes-open .cmd-bar{
    align-self:flex-start; width:var(--workspace-chat-width,360px); max-width:var(--workspace-chat-width,360px);
    box-sizing:border-box;
  }
  body.sales-open .cmd-bar,body.library-open .cmd-bar,body.studio-open .cmd-bar{ right:auto!important; width:var(--workspace-chat-width,360px)!important; max-width:none!important; }
  body.web-open .composer-wrap,body.education-open .composer-wrap,body.markets-open .composer-wrap,
  body.recipes-open .composer-wrap,body.light-open .composer-wrap,body.local-chat-open .composer-wrap,
  body.web-open.composer-simple .composer-wrap,body.education-open.composer-simple .composer-wrap,body.markets-open.composer-simple .composer-wrap,
  body.recipes-open.composer-simple .composer-wrap,body.light-open.composer-simple .composer-wrap,body.local-chat-open.composer-simple .composer-wrap{
    left:1px!important; right:auto!important; width:var(--workspace-chat-width,360px)!important; max-width:var(--workspace-chat-width,360px)!important;
    transform:none; box-sizing:border-box;
  }
  body.sales-open .composer-wrap,body.sales-open.composer-simple .composer-wrap,
  body.library-open .composer-wrap,body.library-open.composer-simple .composer-wrap{
    left:1px; right:auto; width:var(--workspace-chat-width,360px); max-width:var(--workspace-chat-width,360px);
    transform:none; box-sizing:border-box;
  }
  body.web-open .msg-user,body.education-open .msg-user,body.markets-open .msg-user,body.recipes-open .msg-user{ max-width:88%; }
  body.web-open .msg-ai,body.education-open .msg-ai,body.markets-open .msg-ai,body.recipes-open .msg-ai{ min-width:0; overflow-wrap:anywhere; }
  body.sales-open .msg-user,body.library-open .msg-user,body.studio-open .msg-user{ max-width:88%; }
  body.sales-open .msg-ai,body.library-open .msg-ai,body.studio-open .msg-ai{ min-width:0; overflow-wrap:anywhere; }
  body.workspace-chat-covered #chat,body.workspace-chat-covered .cmd-bar,
  body.workspace-chat-covered .composer-wrap,body.workspace-chat-covered main::after{
    visibility:hidden!important; pointer-events:none!important;
  }
  body.web-open main::after,body.education-open main::after,body.markets-open main::after,body.recipes-open main::after,body.light-open main::after,body.local-chat-open main::after{
    display:block!important; left:0; right:auto; width:var(--workspace-chat-width,360px);
  }
  body.sales-open main::after,body.library-open main::after,body.studio-open main::after{ display:block!important; left:0; right:auto; width:var(--workspace-chat-width,360px); }
  body.markets-open main{ background:var(--approved-canvas,var(--bg)); color:var(--text); }
  body.markets-open .workspace-tabs{ background:var(--approved-canvas,var(--bg)); border-bottom-color:var(--border); }
  body.markets-open .workspace-tabs button{ color:var(--dim); }
  body.markets-open .workspace-tabs button.active{ color:var(--text); }
  .workspace-resize-handle{ position:absolute; z-index:100; touch-action:none; pointer-events:auto; }
  .workspace-float[data-workspace="light"]>.workspace-resize-handle{ z-index:200000; }
  .workspace-resize-handle.w{ top:9px; bottom:9px; left:0; width:22px; cursor:ew-resize; }
  .workspace-resize-handle.w::after{
    content:""; position:absolute; top:50%; left:3px; width:3px; height:54px; transform:translateY(-50%);
    border-radius:999px; background:color-mix(in srgb,var(--text) 20%,transparent); opacity:.45;
    transition:opacity .12s,background .12s;
  }
  .workspace-resize-handle.w:hover::after,
  .workspace-resize-handle.w:active::after{ background:var(--dim); opacity:.9; }
  .workspace-float.resizing,.workspace-float.resizing *{ user-select:none!important; }
  .workspace-float.maximized .workspace-resize-handle{ display:none; }
  @media(max-width:760px){
    .workspace-float{ top:72px; right:4px; bottom:var(--approved-bottom-gap); left:auto; width:calc(100vw - 8px); height:auto; min-width:0; min-height:320px; max-width:none; max-height:none; border-radius:9px; }
    .workspace-float.maximized{ inset:72px 4px 4px!important; }
  }

  /* One corner language for the app's structural surfaces. Projects/Chats
     established the approved compact 6px corner; account, composer, floating
     workspaces, dialogs, and large cards now use that same geometry. Pills,
     round avatars, message bubbles, and compact controls keep their own shape. */
  body:not(.shell) aside,body:not(.shell) main,body.sidebar-popover-open aside,.sidehead,.sidebar-account-card,.account-popover,.account-head,.brand-tip,.chat-utility-panel,.side-chat-panel,.bg-agent-panel,body.rail-menu-open #sideRail,body.chat-xs.rail-menu-open #sideRail,body.collapsed.chat-xs.rail-menu-open #sideRail,body.notes-on:not(.shell) #notesPanel,.workspace-float,.composer-wrap,.composer,body:not(.composer-simple) .composer-wrap,body:not(.composer-simple) .composer,dialog,.app-modal-card,.diff-card,.approval,.toolcard,.about-hero,.settings-card,.local-data-card,.agent-budget-card,.rules-card,.conn-card,.cloudflare-connect-card,.memory-status-card,.memory-control-card,.memory-card,.memory-empty,.memory-rule-card,.legal-doc,.loop-recovery-card,.education-card,.education-question-card,.education-question-card-paper,.education-pdf,.education-answer-sheet,.recipe-subpanel,.mcp-card,.research-card,.markets-shell,.market-card,.market-chart,.market-setup{
    border-radius:var(--surface-radius);
  }
  @media(max-width:760px){
    .workspace-float{ border-radius:var(--surface-radius); }
  }

  /* Local chat shares the compact Chat menu's glass, depth, and spring motion. */
  body.local-chat-open .workspace-float[data-workspace="local-chat"]{
    border-color:color-mix(in srgb,var(--border) 86%,transparent);
    border-radius:16px;
    background:color-mix(in srgb,var(--card) 90%,transparent);
    box-shadow:0 20px 52px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.1);
    backdrop-filter:blur(20px) saturate(1.12);
    -webkit-backdrop-filter:blur(20px) saturate(1.12);
  }
  body.local-chat-open:not(.dock-workspace-on) .workspace-float[data-workspace="local-chat"]{
    transform-origin:calc(100% - 68px) 0;
    animation:local-chat-pane-open .42s cubic-bezier(.2,.84,.24,1) both;
  }
  .workspace-float[data-workspace="local-chat"] .workspace-float-bar{
    position:relative; z-index:3; flex-basis:30px; min-height:30px; padding-inline:8px 7px;
    background:transparent; border:0;
  }
  .workspace-float[data-workspace="local-chat"] .workspace-float-page-tab.active{
    border-color:color-mix(in srgb,var(--border) 62%,transparent);
    background:color-mix(in srgb,var(--hover) 82%,transparent);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  }
  .workspace-float[data-workspace="local-chat"] .workspace-float-content,
  .workspace-float[data-workspace="local-chat"] .local-chat-workspace{ background:transparent!important; }
  .workspace-float[data-workspace="local-chat"] .local-chat-main{
    inset:6px; grid-template-rows:62px minmax(0,1fr) auto; overflow:hidden;
    border:1px solid color-mix(in srgb,var(--border) 84%,transparent); border-radius:14px;
    background:color-mix(in srgb,var(--card) 84%,transparent);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 30px rgba(0,0,0,.08);
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-head{
    padding:9px 13px; border-bottom:1px solid color-mix(in srgb,var(--border) 72%,transparent);
    background:linear-gradient(180deg,color-mix(in srgb,var(--card) 92%,transparent),color-mix(in srgb,var(--card) 68%,transparent));
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-head-copy b{ font-size:13px; letter-spacing:-.01em; }
  .workspace-float[data-workspace="local-chat"] .local-chat-head-copy small{ margin-top:4px; font-size:9.5px; }
  .workspace-float[data-workspace="local-chat"] .local-chat-nearby{
    height:30px; padding-inline:11px; border-color:color-mix(in srgb,var(--border) 78%,transparent);
    border-radius:10px; background:color-mix(in srgb,var(--card) 80%,transparent);
    box-shadow:0 5px 15px rgba(0,0,0,.07),inset 0 1px 0 rgba(255,255,255,.08);
    transition:transform .16s ease,border-color .16s ease,background .16s ease;
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-nearby:hover{
    border-color:color-mix(in srgb,var(--green) 34%,var(--border));
    background:color-mix(in srgb,var(--green) 7%,var(--card)); transform:translateY(-1px);
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-avatar{
    width:29px; height:29px; border:2px solid color-mix(in srgb,var(--card) 92%,transparent);
    background:color-mix(in srgb,var(--green) 14%,var(--card)); color:var(--green);
    box-shadow:0 3px 10px rgba(0,0,0,.1);
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-messages{
    background:radial-gradient(ellipse at 50% -20%,color-mix(in srgb,var(--green) 8%,transparent),transparent 48%),linear-gradient(180deg,color-mix(in srgb,var(--card) 35%,transparent),transparent 34%);
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-bubble{
    border-color:color-mix(in srgb,var(--border) 78%,transparent);
    background:color-mix(in srgb,var(--card) 76%,transparent);
    box-shadow:0 7px 18px rgba(0,0,0,.065),inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-message.mine .local-chat-bubble{
    border-color:color-mix(in srgb,#1687f8 88%,var(--border));
    background:linear-gradient(145deg,#2795fb,#0f7eea);
    box-shadow:0 8px 20px color-mix(in srgb,#1687f8 22%,transparent),inset 0 1px 0 rgba(255,255,255,.18);
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-compose{
    padding:8px max(12px,calc((100% - 760px)/2)) 10px; background:transparent;
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-compose-inner{
    min-height:94px; border-color:color-mix(in srgb,var(--border) 82%,transparent); border-radius:18px;
    background:color-mix(in srgb,var(--card) 80%,transparent);
    box-shadow:0 15px 34px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.1);
    backdrop-filter:blur(16px) saturate(1.08); -webkit-backdrop-filter:blur(16px) saturate(1.08);
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-compose-inner:hover,
  .workspace-float[data-workspace="local-chat"] .local-chat-compose-inner:focus-within{
    border-color:color-mix(in srgb,var(--green) 38%,var(--border));
    box-shadow:0 17px 38px rgba(0,0,0,.14),0 0 0 3px color-mix(in srgb,var(--green) 7%,transparent);
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-compose #localChatSend{
    background:var(--text); color:var(--card); box-shadow:0 6px 16px rgba(0,0,0,.16);
    transition:transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .16s ease;
  }
  .workspace-float[data-workspace="local-chat"] .local-chat-compose #localChatSend:hover{ transform:translateY(-1px) scale(1.035); box-shadow:0 8px 20px rgba(0,0,0,.2); }
  .workspace-float[data-workspace="local-chat"] .local-chat-join-card,
  .workspace-float[data-workspace="local-chat"] .local-chat-mention-menu,
  .workspace-float[data-workspace="local-chat"] .local-chat-plus-menu,
  .workspace-float[data-workspace="local-chat"] .local-chat-destination-menu{
    border-color:color-mix(in srgb,var(--border) 82%,transparent); border-radius:14px;
    background:color-mix(in srgb,var(--card) 88%,transparent);
    box-shadow:0 18px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.09);
    backdrop-filter:blur(18px) saturate(1.1); -webkit-backdrop-filter:blur(18px) saturate(1.1);
  }
  body.local-chat-open .local-chat-head{ animation:local-chat-section-open .3s cubic-bezier(.2,.8,.2,1) .06s both; }
  body.local-chat-open .local-chat-compose{ animation:local-chat-section-open .32s cubic-bezier(.2,.8,.2,1) .1s both; }
  @keyframes local-chat-pane-open{
    0%{ opacity:0; filter:blur(5px); transform:translateY(-7px) scale(.9,.72); }
    58%{ opacity:1; filter:blur(0); transform:translateY(2px) scale(1.014,1.022); }
    78%{ transform:translateY(-1px) scale(.996,.992); }
    100%{ opacity:1; filter:blur(0); transform:translateY(0) scale(1); }
  }
  @keyframes local-chat-section-open{ from{ opacity:0; transform:translateY(-5px); } to{ opacity:1; transform:translateY(0); } }
  @media(prefers-reduced-motion:reduce){
    body.local-chat-open .workspace-float[data-workspace="local-chat"],body.local-chat-open .local-chat-head,body.local-chat-open .local-chat-compose{ animation:none!important; }
    .workspace-float[data-workspace="local-chat"] .local-chat-nearby,.workspace-float[data-workspace="local-chat"] .local-chat-compose #localChatSend{ transition:none!important; }
  }

/* Unified Settings workspace. It remains inside the Light WebView while using
   the available page area instead of squeezing credentials into a tiny menu. */
.light-ts-settings{
  position:fixed!important;
  z-index:100000!important;
  inset:48px clamp(10px,7vw,110px) 40px!important;
  width:auto!important;
  max-height:none!important;
  padding:0!important;
  border:1px solid #35424c!important;
  border-radius:6px!important;
  background:#0c1318!important;
  box-shadow:0 22px 70px #000c!important;
  overflow:hidden!important;
}

/* Settings is a native Positions workspace tab. Reuse the proven settings DOM
   and wiring, but present it with the warm connected-flow visual system. */
.light-flow-nav button:nth-child(5){border-right:0!important;border-radius:0!important}
.light-flow-nav button:nth-child(6){border-right:1px solid #aa9f92!important;border-radius:0 5px 5px 0!important}
.light-flow-settings-page{padding:10px 18px 8px;overflow:hidden;background:#f2eee7}
.light-flow-settings-host{width:100%;height:100%;min-height:0}
.light-flow-settings-host .light-ts-settings{
  position:static!important;inset:auto!important;z-index:auto!important;display:flex!important;
  width:100%!important;height:100%!important;max-height:none!important;margin:0!important;
  border:1px solid #b8ad9f!important;border-radius:7px!important;background:#f8f5ef!important;
  color:#2c2e2b!important;box-shadow:0 5px 16px #735f4310!important;overflow:hidden!important;
}
.light-flow-settings-host .light-ts-settings-head{flex:0 0 46px!important;padding:0 18px!important;border-bottom:1px solid #c8beb1!important;background:#f4f0e8!important}
.light-flow-settings-host .light-ts-settings-head b{color:#2f332f!important;font:900 11px/1 var(--ui)!important;letter-spacing:.15em!important;text-transform:uppercase}
.light-flow-settings-host .light-ts-settings-head small,.light-flow-settings-host .light-ts-settings-head span{color:#746b61!important}
.light-flow-settings-host .light-ts-settings-head button{border:1px solid #aa9f92!important;background:#f8f5ef!important;color:#5c554d!important}
.light-flow-settings-host .light-settings-tabs{flex:0 0 38px;gap:0;padding:5px 16px 0;border-bottom:1px solid #c8beb1;background:#f4f0e8}
.light-flow-settings-host .light-settings-tabs button{min-width:130px;border:1px solid #aa9f92;border-right:0;border-bottom-color:#aa9f92;background:transparent;color:#5f584f;font:800 8px/31px var(--ui);letter-spacing:.13em}
.light-flow-settings-host .light-settings-tabs button:first-child{border-radius:4px 0 0 4px}
.light-flow-settings-host .light-settings-tabs button:last-child{border-right:1px solid #aa9f92;border-radius:0 4px 4px 0}
.light-flow-settings-host .light-settings-tabs button:hover{background:#eee7dc;color:#2f332f}
.light-flow-settings-host .light-settings-tabs button.active{border-color:#a47b49;background:#a47b49;color:#fff}
.light-flow-settings-host .light-settings-pane{padding:18px clamp(18px,4vw,52px);background:#f8f5ef;color:#2c2e2b}
.light-flow-settings-host .light-settings-page-title{border-color:#d2c9be}
.light-flow-settings-host .light-settings-page-title b,.light-flow-settings-host .light-settings-pane>.light-ts-section-title:first-child{color:#30332f!important}
.light-flow-settings-host .light-settings-page-title span,.light-flow-settings-host .light-ts-settings-note,.light-flow-settings-host .light-trade-hours-note,.light-flow-settings-host .light-trade-hours-status{color:#746b61!important}
.light-flow-settings-host .light-settings-pane label{color:#655d53!important;letter-spacing:.09em}
.light-flow-settings-host .light-settings-pane input,.light-flow-settings-host .light-settings-pane select{border:1px solid #b9aea0!important;background:#fffaf3!important;color:#2c2e2b!important}
.light-flow-settings-host .light-settings-pane input:focus,.light-flow-settings-host .light-settings-pane select:focus{border-color:#4e715c!important;box-shadow:0 0 0 1px #4e715c44!important}
.light-flow-settings-host .light-ts-secret button,.light-flow-settings-host .light-ts-settings-actions button,.light-flow-settings-host .light-trade-hours-actions button{border:1px solid #9f9588!important;background:#f2ece3!important;color:#4e4942!important}
.light-flow-settings-host .light-ai-limit button{border-color:#9f9588;background:#f2ece3;color:#4e4942}.light-flow-settings-host .light-ai-limit button[aria-pressed="true"]{border-color:#4e715c;background:#e7eee8;color:#355744}
.light-flow-settings-host .light-ts-settings-actions .primary,.light-flow-settings-host .light-ts-settings-actions .connect,.light-flow-settings-host .light-trade-hours-actions button{border-color:#4e715c!important;background:#e7eee8!important;color:#355744!important}
.light-flow-settings-host .light-ts-settings-actions .danger{border-color:#a14e42!important;background:#f5e5e1!important;color:#8b4037!important}
.light-flow-settings-host .light-settings-connection-actions{padding:10px 18px;border-top:1px solid #c8beb1;background:#f4f0e8}
.light-flow-settings-host .light-training-status span,.light-flow-settings-host .light-training-review{border-color:#c8beb1;background:#f4f0e8;color:#746b61}
.light-flow-settings-host .light-training-status b,.light-flow-settings-host .light-training-record strong{color:#30332f}
.light-flow-settings-host .light-training-analysis{border-color:#c8beb1;background:#fffaf3;color:#35312d}
.light-flow-settings-host .light-training-active-ai{border-color:#c8beb1;background:#f4f0e8;color:#746b61}.light-flow-settings-host .light-training-active-ai.ready{border-color:#4e715c;background:#e7eee8;box-shadow:inset 4px 0 #4e715c}.light-flow-settings-host .light-training-active-ai.ready b{color:#355744}.light-flow-settings-host .light-training-provider-grid select.ai-active{border-color:#4e715c!important;box-shadow:0 0 0 2px #4e715c22!important;color:#355744!important}
.light-flow-settings-host .light-codex-lab{border-color:#c8beb1;background:#f4f0e8}.light-flow-settings-host .light-codex-status b{color:#30332f}.light-flow-settings-host .light-codex-status small,.light-flow-settings-host .light-codex-lab p{color:#746b61}.light-flow-settings-host .light-codex-actions button{border-color:#4e715c;background:#e7eee8;color:#355744}.light-flow-settings-host .light-codex-lab pre{border-color:#c8beb1;background:#fffaf3;color:#35312d}
@media(max-width:900px){.light-flow-nav button{min-width:78px;padding-inline:8px}.light-flow-settings-host .light-settings-tabs{overflow-x:auto}.light-flow-settings-host .light-settings-tabs button{min-width:108px}}
.light-ts-settings.open{display:flex!important;flex-direction:column}
.light-ts-settings-head{flex:0 0 52px!important;margin:0!important;padding:0 18px!important;border-bottom:1px solid #2b3841!important;background:#101920}
.light-ts-settings-head>div{display:grid;gap:4px}
.light-ts-settings-head b{font-size:11px!important;letter-spacing:.09em!important}
.light-ts-settings-head small{color:#71818c;font:500 8px/1 var(--ui);letter-spacing:.02em}
.light-ts-settings-head span{font-size:8px!important}
.light-ts-settings-head button{width:30px!important;height:30px!important;font-size:20px!important}
.light-settings-tabs{display:flex;flex:0 0 39px;gap:2px;padding:5px 12px 0;border-bottom:1px solid #2b3841;background:#0f171d}
.light-settings-tabs button{min-width:120px;padding:0 16px;border:0;border-bottom:2px solid transparent;background:transparent;color:#82929d;font:700 9px/32px var(--ui);letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
.light-settings-tabs button:hover{color:#d9e5eb;background:#152129}
.light-settings-tabs button.active{border-bottom-color:#5ce0bd;color:#5ce0bd;background:#13231f}
.light-settings-pane{display:none;flex:1 1 auto;min-height:0;padding:22px clamp(18px,4vw,54px);overflow:auto}
.light-settings-pane.active{display:block}
.light-settings-page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 18px;padding:0 0 12px;border-bottom:1px solid #26323a}
.light-settings-page-title b{color:#e7eef2;font:700 13px/1 var(--ui);letter-spacing:.02em;text-transform:none}
.light-settings-page-title span{color:#71818c;font:500 8px/1 var(--ui)}
.light-settings-pane>.light-ts-section-title:first-child{margin-top:0!important;padding-top:0!important;border-top:0!important;color:#dbe7ec!important;font-size:11px!important}
.light-settings-pane .light-ts-settings-grid{grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px 16px;max-width:820px}
.light-settings-pane .light-trade-hours{max-width:820px;gap:12px 16px}
.light-settings-pane .light-risk-settings-grid{max-width:820px;gap:12px 16px}
.light-settings-pane label,.light-settings-pane .light-ts-settings-grid label,.light-settings-pane .light-trade-hours label,.light-settings-pane .light-risk-settings-grid label{font-size:8px!important;gap:6px!important}
.light-settings-pane input,.light-settings-pane select,.light-settings-pane .light-ts-settings-grid input,.light-settings-pane .light-ts-settings-grid select,.light-settings-pane .light-trade-hours input,.light-settings-pane .light-trade-hours select,.light-settings-pane .light-risk-settings-grid input{height:34px!important;padding:0 10px!important;font-size:10px!important}
.light-settings-pane .light-ts-section-title{margin:20px 0 10px!important;padding-top:18px!important;font-size:9px!important}
.light-settings-pane .light-trade-hours-note,.light-settings-pane .light-ts-settings-note{max-width:820px;font-size:8px!important;line-height:1.55!important}
.light-settings-pane .light-trade-hours-actions{margin-top:12px!important}
.light-settings-pane .light-trade-hours-actions button{height:32px!important;font-size:8px!important}
.light-settings-connection-actions{flex:0 0 auto;padding:12px 18px;border-top:1px solid #2b3841;background:#101920}
.light-settings-connection-actions .light-ts-settings-note{margin:0 0 5px}
.light-settings-connection-actions[hidden]{display:none!important}
.light-ts-settings-actions{margin-top:5px!important}
@media(max-width:760px){
  .light-ts-settings{inset:42px 6px 34px!important}
  .light-settings-tabs{overflow-x:auto}
  .light-settings-tabs button{min-width:105px;padding:0 9px;font-size:8px}
  .light-settings-pane{padding:14px 12px}
  .light-settings-pane .light-ts-settings-grid{grid-template-columns:1fr}
  .light-settings-pane .light-ts-settings-grid label.wide{grid-column:auto}
}

  /* Miniature Agent Floor. The office is a live overview; the adjacent rail and
     inspector carry the detailed evidence. No trade controls live in this pane. */
  .light-window.agents{background:#0a1116;overflow:hidden}.light-window.agents>.light-window-bar{background:#10191f}
  .light-agent-mode{display:flex;align-items:center;gap:4px;margin-left:auto;padding-right:24px;color:#ff7378;font-size:6px;letter-spacing:.08em}.light-agent-mode i{width:5px;height:5px;border-radius:50%;background:#ff5962;box-shadow:0 0 7px #ff5962;animation:light-agent-pulse 1.8s ease-in-out infinite}
  .light-agent-desk{min-width:0;min-height:0;height:100%;overflow:hidden;background:#0a1116}.light-agent-floor{display:grid;grid-template-rows:21px minmax(0,1fr) minmax(112px,29%);height:100%;min-width:0;min-height:0;color:#dbe4e9;font-family:Arial,sans-serif}
  .light-agent-ticker{display:flex;align-items:center;gap:14px;padding:0 8px;border-bottom:1px solid #26343d;background:#0c151b;color:#8da0ab;font-size:6px;white-space:nowrap;overflow:hidden}.light-agent-ticker>b{display:flex;align-items:center;gap:4px;color:#ff7076}.light-agent-ticker>b i{width:4px;height:4px;border-radius:50%;background:#ff5962}.light-agent-ticker strong{color:#e3eaed;font-weight:700}.light-agent-ticker span:last-child strong{color:#e7a83d}
  .light-agent-ticker .light-ai-status{display:flex;align-items:center;gap:4px;margin-left:auto}.light-ai-status i{width:5px;height:5px;border-radius:50%;background:#677984}.light-ai-status.ready i{background:#3bd389;box-shadow:0 0 6px #3bd389}.light-ai-status.busy i,.light-ai-status.starting i{background:#f0b32e;box-shadow:0 0 6px #f0b32e}.light-ai-status.degraded i,.light-ai-status.cloud-fallback i,.light-ai-status.cloud-ready i{background:#48a9ff;box-shadow:0 0 6px #48a9ff}.light-ai-status.offline i{background:#ff626a}
  .light-agent-main{display:block;min-height:0;overflow:hidden}.light-agent-main>.light-agent-network{width:100%;height:100%}.light-agent-bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(118px,24%);min-width:0;min-height:0;overflow:hidden}.light-mini-office{position:relative;min-width:0;min-height:0;overflow:hidden;border-right:1px solid #26343d;background:#eef3f2}.light-office-room{position:absolute;inset:3%;overflow:hidden;border:4px solid #ad967c;border-radius:3px;background:linear-gradient(#f3ead9 0 10%,transparent 10%),repeating-linear-gradient(0deg,rgba(83,57,37,.11) 0 1px,transparent 1px 18px),linear-gradient(90deg,#c59c76,#d1ac86 47%,#c49a73);box-shadow:0 4px 12px rgba(55,38,25,.18),inset 0 -8px 20px rgba(69,43,23,.1)}
  .light-office-window{position:absolute;left:6%;top:2%;display:flex;width:24%;height:8%;border:2px solid #5a4634;background:#244153}.light-office-window i{flex:1;border-right:1px solid #8ea5ad;background:linear-gradient(#395c6f,#1e3340)}.light-office-window i:after{content:"";display:block;width:2px;height:2px;margin:55% auto 0;border-radius:50%;background:#f0c46a;box-shadow:12px -2px #f0c46a,-9px 3px #d9e8ee,7px 4px #d9e8ee}
  .light-office-door{position:absolute;left:34%;top:1.5%;width:8%;height:9%;border:2px solid #513a29;background:#765139;box-shadow:inset -4px 0 #4d3528}.light-office-door:after{content:"";position:absolute;right:2px;top:50%;width:2px;height:2px;border-radius:50%;background:#d6b56d}
  .light-office-board{position:absolute;left:47%;top:2%;display:flex;gap:3px;width:19%;height:7%;padding:3px;border:2px solid #756450;background:#e9dfca}.light-office-board i{flex:1;height:1px;margin-top:2px;background:#70818a;box-shadow:0 3px #9eaaae,0 6px #c0a66b}
  .light-office-shelf{position:absolute;right:4%;top:2%;display:grid;grid-template-columns:repeat(6,1fr);gap:2px;width:20%;height:10%;padding:3px;border:2px solid #4c382a;background:#64472f}.light-office-shelf i{background:#94a987}.light-office-shelf i:nth-child(3n){background:#c28a65}.light-office-shelf i:nth-child(4n){background:#8098ac}
  .light-office-rug{position:absolute;left:7%;top:17%;width:40%;height:48%;border:1px solid #516678;background:#536a7c;box-shadow:inset 0 0 0 3px #60798d}
  .light-office-desk{position:absolute;width:14%;height:11%;border:1px solid #715039;border-radius:2px;background:#b98154;box-shadow:0 3px 0 #6d4b35}.light-office-desk:before{content:"";position:absolute;inset:5px 8px auto;height:2px;background:#e0c09a;box-shadow:0 4px #8ca39d}.light-office-desk:after{content:"";position:absolute;left:38%;bottom:-24%;width:24%;height:25%;border:1px solid #66757b;background:#dde4e2}.light-office-desk>i{position:absolute;left:14%;top:12%;width:43%;height:30%;border:1px solid #42606a;background:linear-gradient(135deg,#9ad5d0,#d8f1eb);box-shadow:13px 1px 0 -1px #85b7b4}.light-office-desk>span{position:absolute;right:8%;top:15%;width:10%;height:14%;border-radius:50%;background:#76a45e}.light-office-desk.d1{left:10%;top:23%}.light-office-desk.d2{left:29%;top:23%}.light-office-desk.d3{left:10%;top:47%}.light-office-desk.d4{left:29%;top:47%}.light-office-desk.strategy{left:72%;top:45%;width:17%;height:13%}
  .light-office-table{position:absolute;left:51%;top:31%;width:15%;height:20%;border:2px solid #5c3f2c;border-radius:50%;background:#aa7951}.light-office-table>strong{position:absolute;left:50%;top:50%;color:#f8dfaa;font-size:5px;letter-spacing:.08em;transform:translate(-50%,-50%);text-shadow:0 1px #5c3f2c}.light-office-table:after{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;border:1px solid #6ee7c4;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 0 rgba(80,225,187,.45);animation:light-data-hub 1.8s ease-out infinite}.light-office-table>i{position:absolute;width:18%;height:22%;border:1px solid #30383d;background:#46545b}.light-office-table>i:nth-of-type(1){left:41%;top:-25%}.light-office-table>i:nth-of-type(2){left:41%;bottom:-25%}.light-office-table>i:nth-of-type(3){left:-22%;top:39%}.light-office-table>i:nth-of-type(4){right:-22%;top:39%}
  .light-office-kitchen{position:absolute;left:27%;bottom:3%;width:35%;height:10%;border:1px solid #4c382d;background:linear-gradient(#b79c7b 0 24%,#7c624a 24%);box-shadow:inset 18px 0 #6e5946,inset -18px 0 #6e5946}.light-office-kitchen:after{content:"";position:absolute;left:45%;top:34%;width:10%;height:25%;border:1px solid #b5c6c7;background:#829395}
  .light-office-lounge{position:absolute;right:8%;bottom:3%;width:24%;height:18%;border:1px solid #496073;background:#587087}.light-office-lounge i{position:absolute;top:25%;width:25%;height:45%;border:1px solid #58493d;background:#8d765f}.light-office-lounge i:first-child{left:6%}.light-office-lounge i:nth-child(2){right:6%}.light-office-lounge span{position:absolute;left:41%;top:37%;width:18%;height:24%;border-radius:50%;background:#805a3c}
  .light-office-plant{position:absolute;width:8px;height:8px;border-radius:50%;background:#4b874a;box-shadow:-3px -2px #6fa05c,3px -1px #376d3c}.light-office-plant:after{content:"";position:absolute;left:2px;top:7px;width:4px;height:4px;background:#77523a}.light-office-plant.p1{left:5%;bottom:5%}.light-office-plant.p2{right:34%;top:7%}
  .light-office-agent{--agent-color:#3fd199;position:absolute;z-index:5;left:var(--agent-x);top:var(--agent-y);width:26px;height:28px;padding:0;border:0!important;background:transparent!important;color:var(--agent-color);transform:translate(-50%,-50%);cursor:pointer;filter:drop-shadow(0 0 4px color-mix(in srgb,var(--agent-color) 48%,transparent));animation:light-agent-walk 18s cubic-bezier(.42,0,.25,1) var(--agent-phase,0s) infinite}.light-office-agent.green{--agent-color:#3bd389}.light-office-agent.blue{--agent-color:#38a7ff}.light-office-agent.cyan{--agent-color:#32cfe5}.light-office-agent.teal{--agent-color:#34c6b1}.light-office-agent.amber{--agent-color:#f0b32e}
  .light-ghost{position:absolute;left:6px;top:7px;width:14px;height:14px;border:1.5px solid currentColor;border-bottom:0;border-radius:8px 8px 3px 3px;background:color-mix(in srgb,var(--agent-color) 20%,#0c161c);animation:light-ghost-float .8s ease-in-out infinite alternate}.light-ghost-eye{position:absolute;top:5px;width:2px;height:3px;border-radius:50%;background:currentColor}.light-ghost-eye.left{left:3px}.light-ghost-eye.right{right:3px}.light-ghost-tail{position:absolute;bottom:-3px;width:5px;height:5px;border-bottom:1.5px solid currentColor;border-radius:50%}.light-ghost-tail.one{left:-1px}.light-ghost-tail.two{left:5px}.light-ghost-tail.three{right:-1px}.light-office-agent>em{position:absolute;inset:3px;border:1px dotted currentColor;border-radius:50%;opacity:.55;animation:light-agent-orbit 5s linear infinite}.light-office-agent.selected>em{inset:0;border-style:solid;opacity:.9}.light-office-agent:hover{z-index:9;animation-play-state:paused;transform:translate(-50%,-50%) scale(1.18)}
  .light-agent-data{position:absolute;z-index:12;left:50%;bottom:32px;display:grid;min-width:92px;max-width:150px;padding:4px 6px;border:1px solid color-mix(in srgb,var(--agent-color) 65%,#29414c);border-radius:3px;background:rgba(8,18,24,.94);color:#dce9ed;text-align:left;transform:translateX(-50%);opacity:0;pointer-events:none;box-shadow:0 4px 10px rgba(0,0,0,.28);animation:light-agent-share 18s linear var(--agent-phase,0s) infinite}.light-agent-data>i{position:absolute;left:5px;top:6px;width:4px;height:4px;border-radius:50%;background:var(--agent-color);box-shadow:7px 0 var(--agent-color),14px 0 var(--agent-color)}.light-agent-data>b{padding-left:23px;color:var(--agent-color);font-size:5px;letter-spacing:.05em}.light-agent-data>small{margin-top:2px;overflow:hidden;color:#aebdc3;font-size:5px;text-overflow:ellipsis;white-space:nowrap}.light-office-agent[data-sharing="false"] .light-agent-data{display:none}
  .light-agent-label{position:absolute;left:50%;bottom:25px;display:grid;min-width:70px;color:#ddf5ed;font-style:normal;text-align:center;transform:translateX(-50%);pointer-events:none;text-shadow:0 1px 2px #102018}.light-agent-label b{font-size:5px;line-height:1.2;color:currentColor}.light-agent-label small{font-size:5px;line-height:1.2;color:#b8c8c6;text-transform:none}.light-office-agent.selected .light-agent-label b{color:#fff}
  .light-agent-rail{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;background:#0b1318}.light-agent-roster{border-bottom:1px solid #26343d}.light-agent-roster h3,.light-agent-feed h3{display:flex;justify-content:space-between;margin:0;padding:7px 8px;color:#d8e1e5;font-size:7px;letter-spacing:.05em}.light-agent-roster h3 span{color:#74858e;font-size:5px;font-weight:400}.light-agent-roster button{display:grid;grid-template-columns:6px minmax(0,1fr) auto;align-items:center;gap:5px;width:100%;padding:5px 7px;border:0;border-left:2px solid transparent;background:transparent;color:#cbd6db;text-align:left}.light-agent-roster button:hover,.light-agent-roster button.active{border-left-color:#36a9ff;background:#122430}.light-agent-roster button>i{width:5px;height:5px;border-radius:50%;background:#71808a}.light-agent-roster button>i.green{background:#3bd389}.light-agent-roster button>i.blue{background:#38a7ff}.light-agent-roster button>i.cyan{background:#32cfe5}.light-agent-roster button>i.teal{background:#34c6b1}.light-agent-roster button>i.amber{background:#f0b32e}.light-agent-roster button b{overflow:hidden;font-size:5.5px;text-overflow:ellipsis;white-space:nowrap}.light-agent-roster button span{color:#81919a;font-size:5px;white-space:nowrap}
  .light-agent-feed{min-height:0;overflow:hidden}.light-agent-feed p{display:grid;grid-template-columns:31px 34px minmax(0,1fr);gap:3px;margin:0;padding:4px 7px;border-top:1px solid #14232b;color:#80919a;font-size:5px}.light-agent-feed time{color:#687983}.light-agent-feed b{overflow:hidden;color:#3bd389;text-overflow:ellipsis;white-space:nowrap}.light-agent-feed b.blue{color:#38a7ff}.light-agent-feed b.cyan{color:#32cfe5}.light-agent-feed b.teal{color:#34c6b1}.light-agent-feed b.amber{color:#f0b32e}.light-agent-feed span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .light-agent-inspector{min-height:0;overflow:hidden;border-top:1px solid #2b3a43;background:#0b141a}.light-agent-inspector>header{display:flex;align-items:center;gap:8px;height:20px;padding:0 8px;border-bottom:1px solid #27353d;color:#37b9ff}.light-agent-inspector>header b{font-size:7px;letter-spacing:.05em}.light-agent-inspector>header span{color:#788a94;font-size:5px}.light-agent-inspector-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr .85fr;height:calc(100% - 21px);min-height:0}.light-agent-inspector-grid>div{display:grid;align-content:start;gap:4px;min-width:0;padding:7px;border-right:1px solid #25333b;overflow:hidden}.light-agent-inspector-grid small{color:#8a9aa3;font-size:5px;letter-spacing:.08em}.light-agent-screen{min-height:0;border:1px solid #34444d;border-radius:2px;background:#101a20;overflow:hidden}.light-agent-screen>div{display:flex;align-items:center;gap:4px;padding:3px 5px;background:#d9e1e4;color:#162128}.light-agent-screen>div i{width:4px;height:4px;border-radius:50%;background:#2b9dde}.light-agent-screen>div b{font-size:5px}.light-agent-screen>div span{margin-left:auto;font-size:5px}.light-agent-screen p{display:grid;grid-template-columns:5px minmax(0,1fr) auto;gap:4px;margin:0;padding:4px 5px;border-top:1px solid #27353d;color:#bac7cc;font-size:5px}.light-agent-screen p i{width:4px;height:4px;margin-top:1px;border-radius:50%;background:#36a8ef}.light-agent-screen p span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.light-agent-screen p small{color:#647680;font-size:4px}.light-agent-doing>b,.light-agent-last>b{overflow:hidden;color:#dbe5e9;font-size:6px;line-height:1.25;text-overflow:ellipsis}.light-agent-progress{height:4px;margin-top:4px;border-radius:3px;background:#26333b;overflow:hidden}.light-agent-progress i{display:block;height:100%;background:#319fe8}.light-agent-doing>span,.light-agent-last>span{color:#73858f;font-size:5px}.light-agent-findings>b{font-size:11px}.light-agent-findings>b.bullish{color:#3bd389}.light-agent-findings>b.bearish{color:#ff626a}.light-agent-findings>b.neutral{color:#d6a953}.light-agent-findings>span{overflow:hidden;color:#a6b4ba;font-size:5px;text-overflow:ellipsis;white-space:nowrap}.light-agent-last button{align-self:end;margin-top:auto;padding:5px;border:1px solid #258ac6;background:#0b1c27;color:#40b8ff;font-size:5px}
  @keyframes light-agent-walk{0%,20%,82%,100%{left:var(--agent-x);top:var(--agent-y)}38%,64%{left:var(--share-x);top:var(--share-y)}}@keyframes light-agent-share{0%,39%,63%,100%{opacity:0;transform:translate(-50%,4px)}45%,57%{opacity:1;transform:translate(-50%,0)}}@keyframes light-ghost-float{to{transform:translateY(-2px)}}@keyframes light-data-hub{to{box-shadow:0 0 0 14px rgba(80,225,187,0)}}@keyframes light-agent-orbit{to{transform:rotate(360deg)}}@keyframes light-agent-pulse{50%{opacity:.35;transform:scale(.72)}}
  @media(prefers-reduced-motion:reduce){.light-agent-mode i,.light-office-agent,.light-office-agent>em,.light-agent-data,.light-ghost,.light-office-table:after{animation:none}.light-office-agent{left:var(--agent-x);top:var(--agent-y)}}
  @container(max-width:620px){.light-agent-floor{grid-template-rows:19px minmax(0,1fr) minmax(96px,32%)}.light-agent-main{grid-template-columns:minmax(0,1fr) 108px}.light-agent-label small{display:none}.light-agent-ticker{gap:7px}.light-agent-inspector-grid{grid-template-columns:1.35fr 1fr 1fr}.light-agent-last{display:none!important}}

  /* Boollm pet network. Each canvas is the original Boollm ghost renderer;
     this layer only places the live trading roles and their evidence. */
  .light-agent-network{position:relative;min-width:0;min-height:0;overflow:hidden;border-right:1px solid #26343d;background:radial-gradient(circle at 50% 50%,rgba(43,80,94,.22),transparent 37%),linear-gradient(rgba(88,112,125,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(88,112,125,.07) 1px,transparent 1px),#080d11;background-size:auto,24px 24px,24px 24px;color:#e9f0f3}
  .light-agent-network:before{content:"LIVE AGENT ROUTING";position:absolute;left:12px;top:10px;color:#627681;font:600 6px/1 Arial,sans-serif;letter-spacing:.16em}
  .light-agent-links{position:absolute;inset:4%;width:92%;height:92%;overflow:visible;pointer-events:none}.light-agent-links path{fill:none;stroke-width:.24;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.52;stroke-dasharray:2 2;animation:light-network-flow 3.2s linear infinite}.light-agent-links .link-glow{stroke-width:1.1;opacity:.17;filter:url(#lightLinkGlow);stroke-dasharray:none;animation:none}
  .light-network-agent{--agent-color:#45d39a;position:absolute;z-index:3;left:var(--agent-x);top:var(--agent-y);display:grid;place-items:center;width:94px;height:86px;padding:0;border:0;background:transparent;color:var(--agent-color);transform:translate(-50%,-50%);cursor:pointer}.light-network-agent:hover,.light-network-agent.selected{z-index:7}.light-network-agent:hover :is(.light-boollm-pet,.light-solving-orb){transform:scale(1.08)}.light-network-agent.selected .light-network-status{border-color:var(--agent-color);box-shadow:0 0 16px color-mix(in srgb,var(--agent-color) 22%,transparent)}
  .light-boollm-pet{display:block;transition:transform .18s ease;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--agent-color) 50%,transparent))}
  .light-network-status{position:absolute;left:50%;top:56px;display:grid;width:96px;padding:3px 5px;border:1px solid #263842;border-radius:3px;background:rgba(7,14,19,.91);color:#dce7eb;text-align:center;transform:translateX(-50%);box-shadow:0 5px 14px rgba(0,0,0,.3)}.light-network-status b{color:var(--agent-color);font-size:5.8px;letter-spacing:.05em}.light-network-status small{margin-top:1px;color:#a2b1b9;font-size:5px}.light-network-status em{margin-top:2px;overflow:hidden;color:#71858f;font:normal 4.5px/1.2 Arial,sans-serif;text-overflow:ellipsis;white-space:nowrap}
  .light-solving-orb{width:88px;height:88px;transition:transform .18s ease;filter:drop-shadow(0 0 12px rgba(190,226,239,.2))}.light-network-agent.chief{z-index:5;width:120px;height:116px}.light-network-agent.chief .light-network-status{top:86px;width:124px;border-color:rgba(154,187,199,.45)}.light-network-agent.chief .light-network-status b{color:#edf8fb;font-size:7px}.light-network-agent.chief .light-network-status small{font-size:5.5px}.light-network-core{position:absolute;z-index:2;left:50%;top:69%;display:grid;gap:2px;width:110px;color:#71838d;text-align:center;transform:translateX(-50%);pointer-events:none}.light-network-core small{font-size:4.5px;letter-spacing:.14em}.light-network-core b{color:#a6b6bd;font-size:4.5px;letter-spacing:.08em}
  @keyframes light-network-flow{to{stroke-dashoffset:-16}}
  @media(prefers-reduced-motion:reduce){.light-agent-links path{animation:none}}
  body.agent-floor-sidecar:before{content:"";position:fixed;z-index:2147483000;left:0;top:34px;bottom:0;width:5px;border-left:1px solid #536773;background:linear-gradient(90deg,rgba(79,174,222,.32),transparent);cursor:ew-resize;pointer-events:none}
  body.agent-floor-sidecar .light-agent-floor{grid-template-rows:24px minmax(190px,36%) minmax(0,64%)}
  body.agent-floor-sidecar .light-agent-main{display:block}
  body.agent-floor-sidecar .light-agent-bottom{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 112px}
  body.agent-floor-sidecar .light-agent-network{border-right:1px solid #26343d}
  body.agent-floor-sidecar .light-agent-inspector-grid{grid-template-columns:1.25fr 1fr 1fr .9fr;grid-template-rows:minmax(0,1fr);height:calc(100% - 29px)}
  body.agent-floor-sidecar .light-agent-inspector-grid>div{gap:5px;padding:8px}
  body.agent-floor-sidecar .light-agent-bottom>.light-agent-rail{display:grid;grid-template-columns:1.08fr .92fr;grid-template-rows:minmax(0,1fr);border-top:1px solid #26343d;overflow:hidden}.light-agent-bottom>.light-agent-rail .light-agent-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:24px repeat(2,minmax(0,1fr));border:0;border-right:1px solid #26343d}.light-agent-bottom>.light-agent-rail .light-agent-roster h3{grid-column:1/-1}.light-agent-bottom>.light-agent-rail .light-agent-roster button{grid-template-columns:5px minmax(0,1fr);padding:3px 5px}.light-agent-bottom>.light-agent-rail .light-agent-roster button span{display:none}.light-agent-bottom>.light-agent-rail .light-agent-feed{display:grid;grid-template-rows:24px repeat(4,minmax(0,1fr))}.light-agent-bottom>.light-agent-rail .light-agent-feed p:nth-of-type(n+5){display:none}
  @media(max-width:600px){body.agent-floor-sidecar .light-network-agent{transform:translate(-50%,-50%) scale(.84)}body.agent-floor-sidecar .light-network-agent.chief{transform:translate(-50%,-50%) scale(.82)}body.agent-floor-sidecar .light-agent-inspector-grid{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}body.agent-floor-sidecar .light-agent-last{display:grid!important}}
  @media(max-height:720px){body.agent-floor-sidecar .light-agent-floor{grid-template-rows:24px minmax(178px,34%) minmax(0,66%)}body.agent-floor-sidecar .light-agent-network{min-height:178px}body.agent-floor-sidecar .light-agent-bottom{grid-template-rows:minmax(0,1fr) 96px}}

  /* Compact Agent Floor: the network stays dominant, selected intelligence is
     one connected strip, and the duplicated roster is replaced by one feed. */
  .light-agent-desk{container-type:inline-size}
  .light-agent-floor{--light-agent-network-height:50%;grid-template-rows:24px minmax(150px,var(--light-agent-network-height)) 7px minmax(112px,1fr);overflow:hidden}
  .light-agent-main>.light-agent-network{border-right:0}
  .light-agent-main{min-height:0}
  .light-agent-network{min-height:0;overflow:hidden}
  .light-agent-bottom{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);min-height:0;overflow:hidden;background:#0a1217}
  .light-agent-floor.has-selection .light-agent-bottom{grid-template-rows:auto minmax(0,1fr)}
  .light-agent-horizontal-splitter{position:relative;z-index:9;min-height:7px;border:0;background:transparent;cursor:ns-resize;touch-action:none}
  .light-agent-horizontal-splitter:before{position:absolute;top:3px;right:0;left:0;height:1px;background:#273740;content:"";transition:background .12s ease,box-shadow .12s ease}
  .light-agent-horizontal-splitter:hover:before,.light-agent-horizontal-splitter:focus-visible:before{background:#45d6e8;box-shadow:0 0 6px rgba(69,214,232,.55)}
  .light-network-agent{width:120px;height:106px}
  .light-network-agent.selected :is(.light-boollm-pet,.light-solving-orb){filter:drop-shadow(0 0 11px var(--agent-color))}
  .light-network-status{top:70px;display:grid;gap:2px;width:auto;min-width:84px;max-width:126px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;text-shadow:0 1px 3px #000}
  .light-network-status b{display:flex;align-items:center;justify-content:center;gap:4px;overflow:hidden;color:var(--agent-color);font-size:7px;letter-spacing:.05em;text-overflow:ellipsis;white-space:nowrap}
  .light-network-status b i{flex:0 0 auto;width:5px;height:5px;border-radius:50%;background:var(--agent-color);box-shadow:0 0 6px var(--agent-color)}
  .light-network-status small{overflow:hidden;margin:0;color:#a6b6bd;font-size:6px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
  .light-network-status em{display:none}
  .light-network-agent.selected .light-network-status{border:0;box-shadow:none}
  .light-solving-orb{display:block;width:88px;height:88px;opacity:1}
  .light-network-agent.chief{width:146px;height:142px}
  .light-network-agent.chief .light-network-status{top:96px;width:auto;max-width:150px;border:0}
  .light-network-agent.chief .light-network-status b{font-size:8px}
  .light-network-agent.chief .light-network-status small{font-size:6.5px;text-transform:none}
  .light-network-agent.chief .light-network-status em{display:block;color:#dbe5e9;font-size:6px;font-style:normal;letter-spacing:.06em;text-transform:uppercase}
  .light-network-core{display:none}
  .light-agent-inspector{overflow:hidden;border-top:1px solid #273740;background:#0b141a}
  .light-agent-inspector>header{height:23px;padding:0 8px;border:0}
  .light-agent-inspector>header b{display:flex;align-items:center;gap:5px}
  .light-agent-inspector>header b i{width:5px;height:5px;border-radius:50%;background:var(--agent-color);box-shadow:0 0 6px var(--agent-color)}
  .light-agent-intel-strip{display:grid;grid-template-columns:.8fr 1.45fr 1fr .9fr 86px;align-items:center;gap:10px;min-height:53px;padding:6px 8px 8px}
  .light-agent-intel-strip>div{display:grid;gap:3px;min-width:0}
  .light-agent-intel-strip small{color:#7f929d;font-size:5.5px;letter-spacing:.08em}
  .light-agent-intel-strip b{overflow:hidden;color:#dbe5e9;font-size:6.5px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
  .light-agent-intel-strip .light-agent-finding b{font-size:8px}.light-agent-intel-strip .light-agent-finding b.bullish{color:#3bd389}.light-agent-intel-strip .light-agent-finding b.bearish{color:#ff626a}.light-agent-intel-strip .light-agent-finding b.neutral{color:#d6a953}
  .light-agent-intel-strip b.risk-approved{color:#3bd389}.light-agent-intel-strip b.risk-caution{color:#f1b72f}.light-agent-intel-strip b.risk-blocked{color:#ff626a}.light-current-decision>header b{color:#eef5f7}.light-current-decision>header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .light-agent-intel-strip>button{height:28px;padding:0 7px;border:1px solid #258ac6;background:#0b1c27;color:#40b8ff;font-size:5.5px;white-space:nowrap}
  .light-decision-history{border-top:1px solid rgba(42,59,69,.72);background:#091116}
  .light-decision-history>header{display:flex;align-items:center;justify-content:space-between;height:21px;padding:0 8px;color:#d7e2e7}
  .light-decision-history>header b{font-size:6.5px;letter-spacing:.08em}.light-decision-history>header small{color:#70848f;font-size:5px;letter-spacing:.06em}
  .light-decision-history-list{display:grid;grid-template-rows:repeat(5,18px);overflow:hidden}
  .light-decision-history-list>button{display:grid;grid-template-columns:43px 52px 42px 28px minmax(0,1fr) 33px;align-items:center;gap:5px;min-width:0;height:18px;padding:0 8px;border:0;border-top:1px solid rgba(38,55,65,.34);background:transparent;color:#8799a3;text-align:left;font:6px var(--ui);cursor:default}
  .light-decision-history-list>button.final{background:linear-gradient(90deg,rgba(241,183,47,.07),transparent 70%)}
  .light-decision-history-list time,.light-decision-history-list em{color:#778b96;font-style:normal;font-variant-numeric:tabular-nums}.light-decision-history-list .source{overflow:hidden;color:#aebdc4;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.light-decision-history-list b{font-size:6.5px;white-space:nowrap}.light-decision-history-list .bullish b{color:#3bd389}.light-decision-history-list .bearish b{color:#ff626a}.light-decision-history-list .reason{overflow:hidden;color:#98a9b2;text-overflow:ellipsis;white-space:nowrap}.light-decision-history-list small{color:#687c87;font-size:4.8px;text-align:right}.light-decision-history-list .final small{color:#f1b72f}
  .light-decision-history.empty{display:grid;grid-template-rows:21px 26px}.light-decision-history.empty>p{margin:0;padding:6px 8px;border-top:1px solid rgba(38,55,65,.34);color:#71848e;font-size:6px}
  .light-agent-rail{display:block;min-height:0;border-top:1px solid #22313a;background:#0a1217}
  .light-agent-feed{display:grid;grid-template-rows:22px minmax(0,1fr);height:100%;min-height:0;overflow:hidden}
  .light-agent-feed h3{align-items:center;padding:0 8px;border:0}
  .light-agent-feed h3 small{color:#687b86;font-size:5px;font-weight:400;letter-spacing:0}
  .light-agent-feed-list{min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#344954 transparent}
  .light-agent-feed p{display:grid;grid-template-columns:42px 5px 54px minmax(0,1fr);align-items:center;gap:5px;min-height:18px;padding:3px 8px;border-top:1px solid rgba(38,55,65,.32);font-size:6px}
  .light-agent-feed p>i{width:4px;height:4px;border-radius:50%;background:#71808a}.light-agent-feed p>i.green{background:#3bd389}.light-agent-feed p>i.blue{background:#38a7ff}.light-agent-feed p>i.cyan{background:#32cfe5}.light-agent-feed p>i.teal{background:#34c6b1}.light-agent-feed p>i.amber{background:#f0b32e}
  body.agent-floor-sidecar .light-agent-floor{grid-template-rows:24px 220px 7px minmax(112px,1fr)}
  body.agent-floor-sidecar .light-agent-bottom{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);max-height:none}
  body.agent-floor-sidecar .light-agent-floor.has-selection .light-agent-bottom{grid-template-rows:auto minmax(0,1fr)}
  body.agent-floor-sidecar .light-agent-inspector-grid{display:none}
  body.agent-floor-sidecar .light-agent-bottom>.light-agent-rail{display:block;border-top:1px solid #22313a}
  body.agent-floor-sidecar .light-agent-bottom>.light-agent-rail .light-agent-feed{display:grid;grid-template-rows:22px minmax(0,1fr)}
  body.agent-floor-sidecar .light-agent-bottom>.light-agent-rail .light-agent-feed p:nth-of-type(n+5){display:grid}
  @container(max-width:520px){.light-agent-intel-strip{grid-template-columns:.75fr 1.3fr 1fr .8fr 70px;gap:5px;padding-inline:6px}.light-agent-intel-strip>button{padding:0 4px}.light-network-status{max-width:104px}.light-network-agent{transform:translate(-50%,-50%) scale(.96)}.light-network-agent.chief{transform:translate(-50%,-50%) scale(1)}}
  @container(max-width:310px){.light-agent-ticker span:nth-of-type(4),.light-agent-ticker span:nth-of-type(5){display:none}.light-network-status{max-width:82px}.light-agent-intel-strip{grid-template-columns:.72fr 1.1fr 1fr 60px}.light-agent-intel-strip>div:nth-child(4){display:none}.light-agent-feed p{grid-template-columns:39px 5px 45px minmax(0,1fr);padding-inline:5px}.light-network-agent{transform:translate(-50%,-50%) scale(.88)}.light-network-agent.chief{transform:translate(-50%,-50%) scale(.92)}}
  @media(max-height:720px){body.agent-floor-sidecar .light-agent-floor{grid-template-rows:24px 190px 7px minmax(104px,1fr)}.light-agent-inspector>header{height:21px}.light-agent-intel-strip{min-height:45px;padding-block:4px}.light-agent-feed p{min-height:16px;padding-block:2px}}

  /* Full intelligence topology: twelve compact specialists remain legible in
     the narrow dock without turning the network into a tall empty canvas. */
  .light-market-consensus{position:absolute;z-index:8;top:5px;right:7px;display:flex;align-items:center;gap:4px;font:700 5.5px var(--ui);pointer-events:none}.light-market-consensus span{display:flex;gap:4px;padding:2px 4px;border:1px solid #2a3b45;border-radius:2px;background:#0b151bd9}.light-market-consensus span.bullish b{color:#3bd389}.light-market-consensus span.bearish b{color:#ff626a}.light-market-consensus span.neutral b{color:#d6a953}.light-market-consensus small{color:#778a95;font-size:4.5px}.light-market-consensus em{color:#48a9ff;font-style:normal}
  .light-network-agent{width:76px;height:64px}.light-boollm-pet{width:44px!important;height:44px!important}.light-network-status{top:42px;gap:1px;min-width:68px;max-width:82px}.light-network-status b{font-size:5.8px}.light-network-status small{font-size:4.8px}.light-network-agent.chief{width:100px;height:92px}.light-solving-orb{width:62px!important;height:62px!important}.light-network-agent.chief .light-network-status{top:65px;max-width:110px}.light-network-agent.chief .light-network-status b{font-size:6.5px}.light-network-agent.chief .light-network-status small,.light-network-agent.chief .light-network-status em{font-size:5px}.light-network-agent.bullish .light-network-status b i{background:#3bd389;box-shadow:0 0 7px #3bd389}.light-network-agent.bearish .light-network-status b i{background:#ff626a;box-shadow:0 0 7px #ff626a}.light-network-agent.neutral .light-network-status b i{background:#d6a953;box-shadow:0 0 6px #d6a953}.light-network-agent.status-blocked .light-network-status b,.light-network-agent.status-veto .light-network-status b{color:#ff626a}
  .light-agent-ticker .light-ai-status{position:sticky;right:0;padding-left:5px;background:#0c151b}.light-agent-feed p{grid-template-columns:43px 5px 48px minmax(0,1fr);font-size:6.5px}.light-agent-feed b{font-size:6px}.light-agent-feed span{color:#9aabb4}.light-agent-horizontal-splitter:after{content:"⋯";position:absolute;left:50%;top:-6px;padding:0 5px;background:#0a1217;color:#607681;font-size:10px;transform:translateX(-50%)}
  @container(max-width:430px){.light-agent-ticker{gap:6px}.light-agent-ticker>span:nth-of-type(3),.light-agent-ticker>span:nth-of-type(4){display:none}.light-market-consensus small{display:none}.light-network-status{max-width:72px}.light-network-status small{font-size:4.5px}.light-agent-intel-strip{grid-template-columns:1fr 1.15fr 1fr 72px}.light-agent-intel-strip>div:nth-child(4){display:none}.light-decision-history-list>button{grid-template-columns:39px 43px 38px 25px minmax(0,1fr);gap:3px;padding-inline:6px}.light-decision-history-list small{display:none}}

  /* Two-column Agent Floor command center. Both upper and lower dividers are
     independent, keyboard reachable, and persisted by light.js. */
  .light-agent-main{display:grid!important;grid-template-columns:minmax(0,.40fr) 7px minmax(0,.60fr);min-width:0;min-height:0;overflow:hidden}
  .light-agent-main>.light-agent-network{min-width:0;width:auto;height:100%;border-right:0}
  .light-agent-vertical-splitter{position:relative;z-index:12;min-width:7px;background:#0a1318;cursor:ew-resize;touch-action:none}
  .light-agent-vertical-splitter:before{position:absolute;top:0;bottom:0;left:3px;width:1px;background:#304550;content:"";transition:background .12s ease,box-shadow .12s ease}
  .light-agent-vertical-splitter:hover:before,.light-agent-vertical-splitter:focus-visible:before{background:#45d6e8;box-shadow:0 0 6px rgba(69,214,232,.55)}
  .light-agent-intelligence{min-width:0;min-height:0;overflow:auto;background:#0a1318;scrollbar-width:thin;scrollbar-color:#344954 transparent}
  .light-agent-intelligence>.light-agent-inspector{min-height:100%;border-top:0}
  .light-agent-intelligence .light-agent-inspector>header{height:24px;border-bottom:1px solid rgba(42,59,69,.62)}
  .light-agent-intelligence .light-agent-inspector>header b{flex:0 0 auto;white-space:nowrap}.light-agent-intelligence .light-agent-inspector>header span{min-width:0;margin-left:auto;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}
  .light-agent-intelligence .light-agent-intel-strip{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px 10px;min-height:0;padding:8px}
  .light-agent-intelligence .light-agent-intel-strip>div{align-content:start;min-height:27px}
  .light-agent-intelligence .light-agent-intel-strip>div:nth-child(2),.light-agent-intelligence .light-agent-intel-strip>div:nth-child(4){grid-column:span 1}
  .light-agent-intelligence .light-agent-intel-strip>div:nth-child(5){grid-column:1/-1}
  .light-agent-intelligence .light-agent-intel-strip b{font-size:6px;white-space:normal}
  .light-agent-intelligence .light-agent-intel-strip .light-agent-finding b{font-size:10px}
  .light-agent-intelligence .light-agent-intel-strip .execution-state{color:#f1b72f}
  .light-decision-evidence{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:7px 8px;border-top:1px solid rgba(42,59,69,.45);background:#091217}
  .light-decision-evidence p{display:grid;gap:3px;min-width:0;margin:0}.light-decision-evidence small{color:#718994;font-size:5.5px;letter-spacing:.07em}.light-decision-evidence span{overflow:hidden;color:#aebdc4;font-size:6px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.light-decision-evidence p:first-child span{color:#55d99a}.light-decision-evidence p:nth-child(2) span{color:#ff7279}
  .light-decision-evidence>button{grid-column:1/-1;height:23px;border:1px solid #258ac6;background:#0b1c27;color:#40b8ff;font-size:5.5px}
  .light-agent-intelligence .light-decision-history-list{grid-template-rows:repeat(5,19px)}
  .light-agent-intelligence .light-decision-history-list>button{grid-template-columns:39px 46px 38px 25px minmax(0,1fr);height:19px;gap:3px;padding-inline:6px}
  .light-agent-intelligence .light-decision-history-list>button small{display:none}
  body.agent-floor-sidecar .light-agent-bottom,.light-agent-bottom{display:grid!important;grid-template-columns:minmax(0,.66fr) 7px minmax(0,.34fr);grid-template-rows:minmax(0,1fr)!important;min-width:0;min-height:0;overflow:hidden}
  .light-agent-bottom>.light-agent-rail{display:block!important;min-width:0;min-height:0;border-top:0!important}
  .light-agent-telemetry{display:grid;grid-template-rows:23px minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;background:#091217}
  .light-agent-telemetry>header{display:flex;align-items:center;justify-content:space-between;padding:0 8px;border-bottom:1px solid rgba(42,59,69,.62)}
  .light-agent-telemetry>header b{color:#d8e3e7;font-size:6.5px;letter-spacing:.07em}.light-agent-telemetry>header small{color:#718690;font-size:5px}
  .light-agent-telemetry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#344954 transparent}
  .light-agent-telemetry-grid>section{display:grid;align-content:start;gap:4px;min-width:0;min-height:53px;padding:7px 8px;border-right:1px solid rgba(38,55,65,.38);border-bottom:1px solid rgba(38,55,65,.38)}
  .light-agent-telemetry-grid>section:nth-child(2n){border-right:0}.light-agent-telemetry-grid small{color:#718994;font-size:5.5px;letter-spacing:.07em}.light-agent-telemetry-grid b,.light-agent-telemetry-grid span{overflow:hidden;text-overflow:ellipsis}.light-agent-telemetry-grid b{color:#dce6ea;font-size:6.5px;white-space:nowrap}.light-agent-telemetry-grid span{color:#879aa4;font-size:5.5px;line-height:1.25;white-space:normal}.light-agent-telemetry-grid b.fresh{color:#45d596}.light-agent-telemetry-grid b.ai{color:#4aaeff}.light-agent-telemetry-grid b.execution{color:#f1b72f}
  body.agent-floor-sidecar .light-agent-main{display:grid!important}.light-agent-floor.has-selection .light-agent-bottom{grid-template-rows:minmax(0,1fr)!important}
  .light-agent-floor.compact-columns .light-agent-intelligence .light-decision-evidence{grid-template-columns:1fr}.light-agent-floor.compact-columns .light-decision-evidence p:nth-child(2){display:none}.light-agent-floor.compact-columns .light-decision-evidence>button{grid-column:auto}.light-agent-floor.compact-columns .light-agent-telemetry-grid{grid-template-columns:1fr}.light-agent-floor.compact-columns .light-agent-telemetry-grid>section{min-height:45px;border-right:0}.light-agent-floor.compact-columns .light-agent-intelligence .light-agent-intel-strip{grid-template-columns:1fr}.light-agent-floor.compact-columns .light-agent-intelligence .light-agent-intel-strip>div:nth-child(n+4){display:none}.light-agent-floor.compact-columns .light-agent-intelligence .light-decision-history-list>button{grid-template-columns:35px 40px 35px minmax(0,1fr)}.light-agent-floor.compact-columns .light-agent-intelligence .light-decision-history-list em{display:none}

  /* Agent command hierarchy: decision first, active evidence second, telemetry last. */
  .light-agent-links path{opacity:.12;stroke-width:.18;animation:none}.light-agent-links .link-glow{opacity:.04}.light-agent-links path.active{opacity:.72;stroke-width:.48;stroke-dasharray:2 2;animation:light-network-flow 2.5s linear infinite}.light-agent-links .link-glow.active{opacity:.25;stroke-width:1.25;stroke-dasharray:none;animation:none}
  .light-network-agent.active-influence .light-boollm-pet{filter:drop-shadow(0 0 11px color-mix(in srgb,var(--agent-color) 78%,transparent))}.light-network-agent.active-influence .light-network-status b{color:#f4fbfd}.light-network-agent.active-influence .light-network-status b i{background:var(--agent-color);box-shadow:0 0 9px var(--agent-color)}
  .light-network-agent{width:74px;height:66px}.light-boollm-pet{width:42px!important;height:42px!important}.light-network-status{top:41px;min-width:68px;max-width:84px}.light-network-status b{font-size:6px}.light-network-status small{font-size:5px;font-weight:700}.light-network-agent.chief{width:92px;height:84px}.light-solving-orb{width:56px!important;height:56px!important}.light-network-agent.chief .light-network-status{top:58px;max-width:102px}.light-network-agent.chief .light-network-status b{font-size:6.5px}
  .light-current-decision{display:flex;flex-direction:column;min-height:100%}.light-decision-hero{display:grid;grid-template-columns:minmax(95px,.75fr) minmax(100px,1.25fr);align-items:center;gap:12px;padding:9px 10px 8px;background:radial-gradient(circle at 14% 50%,rgba(241,183,47,.08),transparent 56%)}.light-decision-hero>div:first-child{display:grid;gap:2px}.light-decision-hero small{color:#778c97;font-size:5.5px;letter-spacing:.07em}.light-decision-hero b{font-size:16px;line-height:1}.light-decision-hero b.bullish{color:#3bd389}.light-decision-hero b.bearish{color:#ff626a}.light-decision-hero b.neutral{color:#d6a953}.light-decision-hero strong{color:#c9d7dd;font-size:6.5px;letter-spacing:.08em}.light-confidence{display:grid;gap:5px}.light-confidence>span{height:6px;overflow:hidden;border-radius:6px;background:#1a2931}.light-confidence>span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d44e58,#f1b72f);box-shadow:0 0 7px rgba(241,183,47,.35)}.light-confidence small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .light-decision-facts{display:grid;grid-template-columns:1.35fr .85fr 1fr .75fr .85fr;gap:0;border-top:1px solid rgba(42,59,69,.42);border-bottom:1px solid rgba(42,59,69,.42)}.light-decision-facts p{display:grid;gap:3px;min-width:0;margin:0;padding:6px 7px;border-right:1px solid rgba(42,59,69,.3)}.light-decision-facts p:last-child{border-right:0}.light-decision-facts small{color:#708590;font-size:5px;letter-spacing:.06em}.light-decision-facts b{overflow:hidden;color:#d8e3e7;font-size:6px;text-overflow:ellipsis;white-space:nowrap}.light-decision-facts .risk-approved{color:#3bd389}.light-decision-facts .risk-caution{color:#f1b72f}.light-decision-facts .risk-blocked,.light-decision-facts .disagreement-high{color:#ff626a}
  .light-market-debate{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:6px;padding:7px 8px;border-bottom:1px solid rgba(42,59,69,.42);background:#091217}.light-market-debate>header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.light-market-debate>header b{color:#dbe6ea;font-size:6.5px;letter-spacing:.07em}.light-market-debate>header span{color:#d5a62e;font-size:5px}.light-market-debate>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.light-market-debate p{display:grid;gap:2px;min-width:0;margin:0}.light-market-debate small{font-size:5.5px;font-weight:700}.light-market-debate p:first-child small{color:#3bd389}.light-market-debate p:last-child small{color:#ff626a}.light-market-debate p span{overflow:hidden;color:#93a6af;font-size:5.8px;text-overflow:ellipsis;white-space:nowrap}.light-market-debate>button,.light-selected-evidence>button{border:1px solid #258ac6;background:#0b1c27;color:#40b8ff;font-size:5.5px}
  .light-selected-evidence{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:8px;padding:8px;border-bottom:1px solid rgba(42,59,69,.42);background:#091217}.light-selected-evidence p{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;margin:0}.light-selected-evidence small{color:#718994;font-size:5.5px}.light-selected-evidence b{font-size:7px}.light-selected-evidence b.bullish{color:#3bd389}.light-selected-evidence b.bearish{color:#ff626a}.light-selected-evidence b.neutral{color:#d6a953}.light-selected-evidence span{overflow:hidden;color:#9babb3;font-size:6px;text-overflow:ellipsis;white-space:nowrap}
  .light-decision-history{flex:1;min-height:0}.light-decision-history-list{max-height:105px;overflow:auto;scrollbar-width:thin;scrollbar-color:#344954 transparent}.light-decision-history-list>button:hover{background:rgba(57,89,104,.15)}
  .light-agent-telemetry-grid{gap:6px;padding:7px;align-content:start}.light-agent-telemetry-grid>section{min-height:45px;padding:6px 7px;border:1px solid rgba(42,59,69,.42)!important;border-radius:3px;background:#0c171d}
  .light-agent-bottom{grid-template-columns:minmax(0,.65fr) 7px minmax(0,.35fr)}
  @container(max-width:460px){.light-decision-hero{grid-template-columns:1fr;gap:6px}.light-decision-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.light-decision-facts p:nth-child(4),.light-decision-facts p:nth-child(5){display:none}.light-market-debate{grid-template-columns:1fr}.light-market-debate>button{height:23px}.light-agent-telemetry-grid{grid-template-columns:1fr}.light-agent-telemetry-grid>section{min-height:38px}}
  .light-agent-floor.compact-columns .light-agent-main{grid-template-columns:1fr!important;grid-template-rows:minmax(205px,48%) minmax(0,1fr)}.light-agent-floor.compact-columns .light-agent-main>.light-agent-vertical-splitter{display:none}.light-agent-floor.compact-columns .light-agent-intelligence{border-top:1px solid #304550}.light-agent-floor.compact-columns .light-agent-bottom{grid-template-columns:minmax(0,.64fr) 7px minmax(0,.36fr)!important}.light-agent-floor.compact-columns .light-agent-telemetry{display:grid!important}.light-agent-floor.compact-columns .light-agent-telemetry-grid{grid-template-columns:1fr}.light-agent-floor.compact-columns .light-agent-telemetry-grid>section{min-height:38px}

  /* Light keeps its dense terminal palette inside one animated outside pane. The
     terminal windows stay square; only this frame grows out of its close corner. */
  body.light-open .workspace-float[data-workspace="light"]{
    border-color:#2b3942; border-radius:16px;
    background:color-mix(in srgb,#10171c 88%,transparent);
    box-shadow:0 22px 56px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter:blur(20px) saturate(1.12); -webkit-backdrop-filter:blur(20px) saturate(1.12);
  }
  body.light-open:not(.dock-workspace-on) .workspace-float[data-workspace="light"]{
    transform-origin:100% 0;
    animation:light-corner-pane-open .48s cubic-bezier(.2,.82,.22,1) both;
  }
  body.light-open:not(.dock-workspace-on) .workspace-float[data-workspace="light"].light-pane-closing{
    pointer-events:none;
    animation:light-corner-pane-close .34s cubic-bezier(.58,.02,.82,.42) both!important;
  }
  .workspace-float[data-workspace="light"] .workspace-float-content{ background:transparent!important; }
  .workspace-float[data-workspace="light"] .light-panel{
    border-radius:14px; background:transparent; box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  }
  .workspace-float[data-workspace="light"] .light-shell{
    border-radius:14px;
    background:radial-gradient(ellipse at 52% -18%,rgba(61,185,149,.09),transparent 42%),linear-gradient(155deg,rgba(15,23,29,.96),rgba(7,11,14,.98));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  }
  .workspace-float[data-workspace="light"] .workspace-float-bar button{
    border-radius:8px; background:rgba(22,31,37,.5); color:#b7c3ca;
    transition:background .15s ease,color .15s ease,transform .15s ease;
  }
  .workspace-float[data-workspace="light"] .workspace-float-bar button:hover{
    background:rgba(50,67,77,.72); color:#fff; transform:translateY(-1px);
  }
  .workspace-float[data-workspace="light"] .light-commandbar{
    border-bottom-color:rgba(66,82,92,.72);
    background:linear-gradient(180deg,rgba(21,31,38,.94),rgba(14,22,27,.91));
    box-shadow:0 7px 20px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.035);
    backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  }
  .workspace-float[data-workspace="light"] .light-commandbar>.light-ticket-controls,
  .workspace-float[data-workspace="light"] .light-commandbar>.light-ticket-controls button:not(.light-kill):not(.active),
  .workspace-float[data-workspace="light"] .light-commandbar>.light-ticket-controls select,
  .workspace-float[data-workspace="light"] .light-toolbar-risk{ background:transparent; }
  .workspace-float[data-workspace="light"] .light-window{
    border-color:rgba(57,74,85,.9); border-radius:0;
    background:rgba(10,16,20,.88);
    box-shadow:0 12px 30px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.035);
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  }
  .workspace-float[data-workspace="light"] .light-window-bar{
    border-bottom-color:rgba(55,71,81,.78);
    background:linear-gradient(180deg,rgba(24,35,42,.94),rgba(14,22,27,.92));
  }
  .workspace-float[data-workspace="light"] .light-window-bar:hover{ background:linear-gradient(180deg,rgba(31,44,52,.96),rgba(20,30,36,.94)); }
  .workspace-float[data-workspace="light"] .light-window-close{ border-radius:5px; }
  .workspace-float[data-workspace="light"] .light-ticket,
  .workspace-float[data-workspace="light"] .light-trade-decision,
  .workspace-float[data-workspace="light"] .light-order-book,
  .workspace-float[data-workspace="light"] .light-health-view{
    background:color-mix(in srgb,#111a20 86%,transparent);
  }
  .workspace-float[data-workspace="light"] .light-ticket-field input,
  .workspace-float[data-workspace="light"] .light-ticket-field select{
    border-color:#43515b; border-radius:6px; background:rgba(48,61,71,.82);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
  }
  .workspace-float[data-workspace="light"] .light-ticket-actions button{ border-radius:6px; box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 5px 12px rgba(0,0,0,.16); }
  .workspace-float[data-workspace="light"] .light-chart-meta{
    border-radius:0 0 8px 0; background:rgba(4,8,10,.74);
    backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  }
  .workspace-float[data-workspace="light"] .light-chart-studies-panel,
  .workspace-float[data-workspace="light"] .light-layout-panel{
    border-color:#3a4a54; border-radius:0 0 9px 9px;
    background:rgba(12,20,25,.9); box-shadow:0 16px 34px rgba(0,0,0,.38);
    backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  }
  .workspace-float[data-workspace="light"] .light-statusbar{
    border-top-color:rgba(67,82,91,.78);
    background:linear-gradient(180deg,rgba(19,25,29,.94),rgba(13,18,21,.96));
    box-shadow:0 -7px 18px rgba(0,0,0,.11),inset 0 1px 0 rgba(255,255,255,.025);
  }
  body.light-open .light-commandbar{ animation:light-section-open .24s cubic-bezier(.2,.8,.2,1) .12s both; }
  body.light-open .light-grid{ animation:light-section-open .28s cubic-bezier(.2,.8,.2,1) .16s both; }
  body.light-open .light-statusbar{ animation:light-section-open .25s cubic-bezier(.2,.8,.2,1) .2s both; }
  body.light-open .workspace-float[data-workspace="light"].light-pane-closing .light-commandbar,
  body.light-open .workspace-float[data-workspace="light"].light-pane-closing .light-grid,
  body.light-open .workspace-float[data-workspace="light"].light-pane-closing .light-statusbar{
    animation:light-section-close .13s ease both!important;
  }
  @keyframes light-corner-pane-open{
    0%{ clip-path:inset(0 0 calc(100% - 38px) calc(100% - 38px) round 19px); transform:translateY(-1px) scale(.997); }
    24%{ clip-path:inset(0 0 calc(100% - 72px) calc(100% - 240px) round 17px); transform:translateY(0) scale(.998); }
    72%{ clip-path:inset(0 0 0 0 round 16px); transform:scale(1.003); }
    100%{ clip-path:inset(0 0 0 0 round 16px); transform:scale(1); }
  }
  @keyframes light-corner-pane-close{
    0%{ opacity:1; clip-path:inset(0 0 0 0 round 16px); transform:scale(1); }
    32%{ opacity:1; clip-path:inset(0 0 12% 18% round 16px); transform:scale(.999); }
    78%{ opacity:1; clip-path:inset(0 0 calc(100% - 72px) calc(100% - 240px) round 17px); transform:translateY(-1px) scale(.997); }
    100%{ opacity:0; clip-path:inset(0 0 calc(100% - 38px) calc(100% - 38px) round 19px); transform:translateY(-1px) scale(.997); }
  }
  @keyframes light-section-open{ from{ opacity:0; transform:translateY(-5px); } to{ opacity:1; transform:translateY(0); } }
  @keyframes light-section-close{ from{ opacity:1; transform:translateY(0); } to{ opacity:0; transform:translateY(-4px); } }
  @media(prefers-reduced-motion:reduce){
    body.light-open .workspace-float[data-workspace="light"],body.light-open .light-commandbar,body.light-open .light-grid,body.light-open .light-statusbar{ animation:none!important; clip-path:none!important; }
    .workspace-float[data-workspace="light"] .workspace-float-bar button{ transition:none!important; }
  }

/* Warm connected-flow Positions dashboard, docked inside the Light shell. */
.light-flow-launch{align-self:center;height:24px;padding:0 12px;border:1px solid #60736b;border-radius:3px;background:#17211e;color:#bce0d0;font:800 8px/1 var(--ui);letter-spacing:.09em;text-transform:uppercase;cursor:pointer}.light-flow-launch:hover,.light-flow-launch.active{border-color:#77a28e;background:#244035;color:#fff}
.light-flow-view{min-width:0;min-height:0;overflow:hidden!important;box-sizing:border-box;background:#f2eee7;color:#262a26;font-family:"Arial Narrow","Roboto Condensed",var(--ui);container-type:size;--flow-green:#4e715c;--flow-red:#a14e42;--flow-tan:#a47b49;--flow-line:#ad9f8d}.light-flow-view[hidden],[data-light-flow-page][hidden]{display:none!important}.light-flow-view>.light-flow-window-bar{flex:0 0 20px;background:#17211e;color:#d9e3dc;border-color:#65756e}.light-flow-window-bar>span:not(.light-window-grip){overflow:hidden;color:#87988f;font-size:6px;text-overflow:ellipsis;white-space:nowrap}.light-flow-view>.light-flow-nav{flex:0 0 32px}.light-flow-nav{position:relative;z-index:15;top:auto;display:flex;justify-content:center;align-items:center;min-height:32px;padding:4px 18px;box-sizing:border-box;background:#f2eee7ef;border-bottom:1px solid #c8beb1;backdrop-filter:blur(8px)}.light-flow-nav button{min-width:104px;height:22px;padding:0 15px;border:1px solid #aa9f92;border-right:0;background:transparent;color:#2c2e2b;font:800 8px/1 var(--ui);letter-spacing:.16em;text-transform:uppercase;cursor:pointer}.light-flow-nav button:first-child{border-radius:5px 0 0 5px}.light-flow-nav button:nth-child(5){border-right:1px solid #aa9f92;border-radius:0 5px 5px 0}.light-flow-nav button.active{background:var(--flow-tan);color:#fff}.light-flow-nav .light-flow-close{position:absolute;right:18px;min-width:auto;border:1px solid #aa9f92!important;border-radius:4px!important;letter-spacing:.06em}.light-flow-page{min-height:0;flex:1 1 auto;overflow:auto;padding:10px 18px 6px;box-sizing:border-box}.light-flow-alt h2{margin:0;color:#252825;font:900 clamp(15px,1.7vw,23px)/1.1 var(--ui);letter-spacing:.22em;text-transform:uppercase}.light-flow-alt p{margin:7px 0 0;color:#625b52;font:600 10px/1.4 var(--ui);letter-spacing:.14em}
.light-flow-canvas{position:relative;display:grid;grid-template-columns:minmax(190px,1.05fr) minmax(190px,1fr) minmax(210px,1.18fr) minmax(190px,1fr) minmax(150px,.72fr);gap:clamp(18px,2.4vw,40px);align-items:center;min-height:355px;padding:8px 0;isolation:isolate}.light-flow-canvas section,.light-flow-canvas aside{position:relative;z-index:2}.light-flow-connectors{position:absolute;z-index:0;inset:0 9% 0 9%;pointer-events:none}.light-flow-connectors svg{width:100%;height:100%;overflow:visible}.light-flow-lines path{fill:none;stroke:#77837b;stroke-width:1.25;opacity:.34}.light-flow-lines .active{stroke:var(--flow-green);stroke-width:2;opacity:.8}.light-flow-lines .danger{stroke:var(--flow-red);stroke-width:2;opacity:.78}.light-flow-dots circle{filter:drop-shadow(0 0 3px #fff)}.light-flow-dots .green{fill:var(--flow-green)}.light-flow-dots .tan{fill:var(--flow-tan)}.light-flow-dots .red{fill:var(--flow-red)}
.light-flow-symbols{align-self:stretch;min-width:0}.light-flow-symbols>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.light-flow-symbols>header>b,.light-flow-card h3,.light-flow-summary h3{font:900 10px/1 var(--ui);letter-spacing:.18em;text-transform:uppercase}.light-flow-symbols button{height:22px;padding:0 9px;border:1px solid #9e9488;border-radius:4px;background:#f5f1eb;color:#49443d;font:800 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.light-flow-watch-tabs{display:flex;gap:4px;margin-bottom:6px;overflow:auto}.light-flow-watch-tabs button{flex:0 0 auto;height:20px;padding:0 7px;border:0;border-bottom:1px solid transparent;background:transparent;color:#766d61}.light-flow-watch-tabs button.active{border-color:var(--flow-tan);color:#503e28}.light-flow-search{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:#80766a;font:700 7px/1 var(--ui);letter-spacing:.1em;text-transform:uppercase}.light-flow-search input{min-width:0;flex:1;height:22px;padding:0 7px;border:1px solid #b4aa9e;border-radius:4px;background:#fffaf3;color:#302d29;font:600 9px var(--ui)}.light-flow-symbol-list{display:grid;gap:5px;max-height:270px;overflow:auto;padding-right:2px}.light-flow-symbol-row{display:grid;grid-template-columns:14px 42px minmax(50px,1fr) auto 10px;align-items:center;gap:5px;min-height:29px;padding:0 7px;border:1px solid #afa498;border-radius:5px;background:#f7f3ed;color:#322f2b;text-align:left;box-shadow:0 1px 2px #5b463513;cursor:pointer}.light-flow-symbol-row.active{border-color:var(--flow-green);box-shadow:0 0 0 1px #4e715c55}.light-flow-symbol-row .drag{color:#8a8177;cursor:grab}.light-flow-symbol-row b{font:900 10px/1 var(--ui);letter-spacing:.08em}.light-flow-symbol-row span{overflow:hidden;color:#735d4b;font:700 7px/1 var(--ui);text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase}.light-flow-symbol-row strong{font:900 9px/1 var(--ui);font-variant-numeric:tabular-nums;background:transparent!important}.light-flow-symbol-row i{width:7px;height:7px;border-radius:50%;background:var(--flow-tan)}.light-flow-symbol-row.profit strong{color:var(--flow-green)}.light-flow-symbol-row.profit i{background:var(--flow-green)}.light-flow-symbol-row.loss strong{color:var(--flow-red)}.light-flow-symbol-row.loss i{background:var(--flow-red)}
.light-flow-card{min-height:220px;padding:17px 18px 14px;box-sizing:border-box;border:2px solid var(--flow-green);border-radius:7px;background:#f8f5ef;box-shadow:0 5px 16px #735f4310}.light-flow-card>i{position:absolute;top:12px;right:12px;width:7px;height:7px;border-radius:50%;background:var(--flow-green)}.light-flow-card h3,.light-flow-summary h3{margin:0}.light-flow-card>p{min-height:12px;margin:8px 0 15px;color:#675f56;font:700 8px/1.3 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-flow-card dl{display:grid;gap:8px;margin:0 0 13px;padding-bottom:13px;border-bottom:1px solid #d2c9be}.light-flow-card dl div{display:flex;justify-content:space-between;gap:8px}.light-flow-card dt{color:#5c554d;font:700 8px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-flow-card dd{margin:0;font:800 9px/1 var(--ui);font-variant-numeric:tabular-nums}.light-flow-card>strong{display:block;color:var(--flow-green);font:900 23px/1 var(--ui);letter-spacing:.08em;text-align:center}.light-flow-card>small,.light-flow-card>span{display:block;margin-top:5px;color:#635c53;font:700 7px/1 var(--ui);letter-spacing:.13em;text-align:center;text-transform:uppercase}.light-flow-risk dl{gap:6px}.light-flow-control{display:flex;flex-direction:column;border-color:var(--flow-red)}.light-flow-control>i{background:var(--flow-red)}.light-flow-control button{flex:1;min-height:27px;margin-top:5px;border:1px solid #ad6459;border-radius:3px;background:#fbf5ee;color:#91473d;font:900 8px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.light-flow-control button:hover:not(:disabled){background:#9e4b40;color:#fff}.light-flow-control button:disabled{opacity:.38;cursor:not-allowed}
.light-flow-card>strong.positive{color:var(--flow-green)}.light-flow-card>strong.negative{color:var(--flow-red)}.light-flow-symbol-row.editing{grid-template-columns:14px 42px minmax(34px,1fr) auto}.light-flow-symbol-row.editing>strong,.light-flow-symbol-row.editing>i{display:none}.light-flow-row-actions{display:flex;gap:2px;margin-left:2px}.light-flow-row-actions span{display:grid;place-items:center;width:16px;height:17px;border:1px solid #b7aa9c;border-radius:3px;color:#6e6257;font:900 8px/1 var(--ui)}.light-flow-row-actions span:hover{background:#e0d7cb;color:#8f4339}.light-flow-empty{margin:12px 4px;color:#776e64;font:700 8px/1.4 var(--ui)}
.light-flow-symbol-row{grid-template-columns:10px 48px minmax(38px,1fr) auto 40px 31px 39px 7px;gap:3px;padding:0 5px;cursor:default}.light-flow-symbol-row:focus-visible{outline:2px solid #4e715c;outline-offset:1px}.light-flow-symbol-row>span:not(.drag),.light-flow-symbol-row>strong{font-size:6.5px}.light-flow-symbol-row .drag{cursor:pointer}.light-flow-row-qty{display:flex;align-items:center;gap:2px;color:#776d62;font:800 5.5px/1 var(--ui)}.light-flow-row-qty input{width:27px;height:18px;box-sizing:border-box;padding:0 2px;border:1px solid #b8aea2;border-radius:3px;background:#fffaf3;color:#302d29;font:800 8px/1 var(--ui);text-align:center}.light-flow-row-auto,.light-flow-row-close{min-width:0!important;height:18px!important;padding:0 4px!important;border-radius:3px!important;font-size:5.5px!important;letter-spacing:.03em!important}.light-flow-row-auto.on{border-color:#4e715c!important;background:#dcebe1!important;color:#285a43!important;box-shadow:inset 0 -2px #5b8a6c}.light-flow-row-close:not(:disabled){border-color:#b96558!important;background:#fbefec!important;color:#9f4036!important}.light-flow-row-auto:disabled,.light-flow-row-close:disabled{opacity:.35;cursor:not-allowed}.light-flow-symbol-row.auto-on{border-color:#4e715c;background:#edf5ef;box-shadow:0 0 0 1px #4e715c55}.light-flow-symbol-row.editing{grid-template-columns:14px 48px minmax(34px,1fr) auto}.light-flow-symbol-row.editing>.light-flow-row-control{display:none}
.light-flow-summary{align-self:stretch;padding:20px 14px;border:1px solid #afa498;border-radius:7px;background:#f6f2ec}.light-flow-summary dl{display:grid;gap:12px;margin:16px 0 0}.light-flow-summary dl div{display:grid;gap:3px}.light-flow-summary dd{margin:0;color:var(--flow-green);font:900 19px/1 var(--ui);font-variant-numeric:tabular-nums}.light-flow-summary dt{color:#665e55;font:800 7px/1 var(--ui);letter-spacing:.13em;text-transform:uppercase}.light-flow-summary hr{width:100%;margin:0;border:0;border-top:1px solid #d3cac0}.light-flow-status{display:grid;grid-template-columns:repeat(5,1fr);min-height:32px;margin-top:4px;border:1px solid #b9afa4;border-radius:4px}.light-flow-status span{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;border-left:1px solid #c6bdb3;color:#615a52;font:800 6px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-flow-status span:first-child{border-left:0}.light-flow-status b{overflow:hidden;color:#31342f;font:900 12px/1 var(--ui);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.light-flow-status span:nth-child(2) b{color:var(--flow-green)}.light-flow-status span:nth-child(3) b{color:var(--flow-red)}.light-flow-alt{display:grid;place-content:center;min-height:calc(100% - 32px);text-align:center}.light-flow-alt p{max-width:650px}.light-flow-dialog{width:min(380px,calc(100% - 30px));padding:0;border:1px solid #8e8274;border-radius:8px;background:#f4f0e8;color:#2c2d29;box-shadow:0 20px 70px #0008}.light-flow-dialog::backdrop{background:#071015b8}.light-flow-dialog form{display:grid;gap:12px;padding:16px}.light-flow-dialog header{display:flex;justify-content:space-between;align-items:center;font:900 12px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase}.light-flow-dialog header button{border:0;background:transparent;font-size:18px}.light-flow-dialog label{display:grid;gap:5px;color:#655d53;font:800 8px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-flow-dialog input,.light-flow-dialog select{height:34px;padding:0 9px;border:1px solid #afa498;border-radius:4px;background:#fffbf5;color:#292b28}.light-flow-dialog-actions{display:flex;justify-content:flex-end;gap:7px}.light-flow-dialog-actions button{height:30px;padding:0 12px;border:1px solid #9f958a;border-radius:4px;background:#eee8df;color:#403b35}.light-flow-dialog-actions .primary{border-color:#4e715c;background:#4e715c;color:#fff}
.light-flow-risk-page{padding:14px 22px 18px;background:#f2eee7;color:#292c28}.light-flow-risk-hero{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 14px;border-bottom:1px solid #c8beb1}.light-flow-risk-hero small,.light-flow-risk-panel h3{color:#2b2f2b;font:900 8px/1 var(--ui);letter-spacing:.2em;text-transform:uppercase}.light-flow-risk-hero h2{margin:5px 0 3px;color:#252925;font:900 clamp(19px,2.2vw,30px)/1 var(--ui);letter-spacing:.16em;text-transform:uppercase}.light-flow-risk-hero p,.light-flow-risk-panel header p,.light-flow-risk-panel>p{margin:0;color:#70675e;font:700 8px/1.35 var(--ui);letter-spacing:.08em}.light-flow-risk-hero>span{padding:7px 11px;border:1px solid #b7aa9a;border-radius:999px;color:var(--flow-tan);font:900 8px/1 var(--ui);letter-spacing:.12em}.light-flow-risk-dashboard{display:grid;grid-template-columns:repeat(2,minmax(250px,1fr));gap:14px;max-width:1120px;margin:16px auto 0}.light-flow-risk-panel{position:relative;min-width:0;padding:17px;border:1px solid #a99f93;border-radius:7px;background:#f8f4ee;box-shadow:0 7px 18px #735f4210}.light-flow-risk-panel>i{position:absolute;top:14px;right:14px;width:7px;height:7px;border-radius:50%;background:var(--flow-green)}.light-flow-risk-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-right:16px}.light-flow-risk-panel h3{margin:0 0 5px;font-size:10px}.light-flow-risk-panel header>b{color:var(--flow-green);font:900 8px/1 var(--ui);letter-spacing:.1em}.light-flow-risk-fields,.light-flow-hours-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:19px}.light-flow-risk-fields label,.light-flow-hours-fields label{display:grid;gap:6px;color:#675f56;font:800 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-flow-risk-fields input,.light-flow-hours-fields input,.light-flow-hours-fields select{width:100%;height:34px;box-sizing:border-box;padding:0 9px;border:1px solid #b8ada0;border-radius:4px;background:#fffaf4;color:#2d312d;font:800 11px/1 var(--ui);font-variant-numeric:tabular-nums}.light-flow-guard-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:17px;padding:13px 0;border-top:1px solid #d2c8bd;border-bottom:1px solid #d2c8bd}.light-flow-guard-row div{display:grid;gap:4px}.light-flow-guard-row strong{font:900 11px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-flow-guard-row span{max-width:460px;color:#716960;font:700 8px/1.35 var(--ui)}.light-flow-guard-row button{min-width:72px;height:34px;border:1px solid var(--flow-green);border-radius:4px;background:var(--flow-green);color:#fff;font:900 10px/1 var(--ui);letter-spacing:.12em}.light-flow-guard-row button[aria-pressed="false"]{border-color:var(--flow-red);background:var(--flow-red)}.light-flow-guard-warning{margin-top:10px!important;padding:9px;border-left:3px solid var(--flow-red);background:#a14e4210;color:var(--flow-red)!important}.light-flow-guard-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 16px;margin:12px 0 0;padding:0;list-style:none}.light-flow-guard-list li{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #ded5cb;color:#635c54;font:800 8px/1 var(--ui)}.light-flow-guard-list b{color:var(--flow-green)}.light-flow-hours-fields{grid-template-columns:1.7fr 1fr 1fr}.light-flow-risk-panel.hours>p{margin-top:12px}.light-flow-risk-save{height:32px;margin-top:13px;padding:0 13px;border:1px solid var(--flow-green);border-radius:4px;background:transparent;color:var(--flow-green);font:900 8px/1 var(--ui);letter-spacing:.1em;text-transform:uppercase}.light-flow-risk-panel.status dl{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:16px 0 0}.light-flow-risk-panel.status dl div{display:grid;gap:5px;padding:12px 8px;border-top:1px solid #d4cac0;border-left:1px solid #d4cac0}.light-flow-risk-panel.status dl div:nth-child(3n+1){border-left:0}.light-flow-risk-panel.status dt{color:#70675e;font:800 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-flow-risk-panel.status dd{margin:0;color:#30342f;font:900 14px/1 var(--ui);font-variant-numeric:tabular-nums}.light-flow-risk-panel.status dd.negative{color:var(--flow-red)}.light-flow-risk-panel.status dd.positive{color:var(--flow-green)}
@container (max-width:720px){.light-flow-risk-dashboard{grid-template-columns:1fr}.light-flow-risk-fields{grid-template-columns:1fr}.light-flow-hours-fields{grid-template-columns:1fr 1fr}.light-flow-hours-fields label:first-child{grid-column:1/-1}.light-flow-risk-panel.status dl{grid-template-columns:repeat(2,1fr)}.light-flow-risk-panel.status dl div:nth-child(3n+1){border-left:1px solid #d4cac0}.light-flow-risk-panel.status dl div:nth-child(odd){border-left:0}.light-flow-guard-list{grid-template-columns:1fr}}
@media(max-width:1150px){.light-flow-page{padding-inline:16px}.light-flow-canvas{grid-template-columns:minmax(175px,1fr) repeat(3,minmax(165px,1fr));gap:14px}.light-flow-summary{grid-column:1/-1;display:flex;align-items:center;gap:18px;padding:10px 14px}.light-flow-summary h3{flex:0 0 auto}.light-flow-summary dl{flex:1;grid-template-columns:repeat(7,1fr);gap:8px;margin:0}.light-flow-summary hr{display:none}.light-flow-summary dd{font-size:13px}.light-flow-connectors{display:none}.light-flow-loop{margin-inline:8%}.light-flow-nav{justify-content:center;padding-inline:12px}.light-flow-nav button{min-width:82px}.light-flow-nav .light-flow-close{right:8px}}
@media(max-width:780px){.light-flow-canvas{grid-template-columns:1fr 1fr}.light-flow-symbols{grid-row:span 2}.light-flow-summary{grid-column:1/-1}.light-flow-card{min-height:190px}.light-flow-control{grid-column:2}.light-flow-nav .light-flow-close{position:absolute;right:8px;margin:0;font-size:0}.light-flow-nav .light-flow-close:after{content:"×";font-size:14px}.light-flow-nav button{min-width:60px;padding:0 7px;font-size:7px}.light-flow-status{grid-template-columns:repeat(2,1fr)}.light-flow-status span{min-height:40px;border-top:1px solid #c6bdb3}.light-flow-summary dl{grid-template-columns:repeat(4,1fr)}}
@container (max-width:1050px){.light-flow-page{padding-inline:16px}.light-flow-canvas{grid-template-columns:minmax(175px,1fr) repeat(3,minmax(165px,1fr));gap:14px}.light-flow-summary{grid-column:1/-1;display:flex;align-items:center;gap:18px;padding:10px 14px}.light-flow-summary h3{flex:0 0 auto}.light-flow-summary dl{flex:1;grid-template-columns:repeat(7,1fr);gap:8px;margin:0}.light-flow-summary hr{display:none}.light-flow-summary dd{font-size:13px}.light-flow-connectors{display:none}.light-flow-loop{margin-inline:8%}.light-flow-nav{justify-content:center;padding-inline:12px}.light-flow-nav button{min-width:72px}.light-flow-nav .light-flow-close{right:8px}}
@container (max-width:720px){.light-flow-canvas{grid-template-columns:1fr 1fr}.light-flow-symbols{grid-row:span 2}.light-flow-summary{grid-column:1/-1}.light-flow-card{min-height:190px}.light-flow-control{grid-column:2}.light-flow-nav .light-flow-close{position:absolute;right:8px;margin:0;font-size:0}.light-flow-nav .light-flow-close:after{content:"×";font-size:14px}.light-flow-nav button{min-width:48px;padding:0 5px;font-size:6px}.light-flow-status{grid-template-columns:repeat(2,1fr)}.light-flow-status span{min-height:40px;border-top:1px solid #c6bdb3}.light-flow-summary dl{grid-template-columns:repeat(4,1fr)}}
.light-flow-view .light-flow-canvas{grid-template-rows:auto auto minmax(230px,1fr);align-items:stretch;min-height:100%;padding-block:4px}.light-flow-view .light-flow-symbols{grid-column:1;grid-row:1/3}.light-flow-card-meta{z-index:3;grid-column:2/5;grid-row:1;align-self:end;min-width:0}.light-flow-view .light-flow-position{grid-column:2;grid-row:2}.light-flow-view .light-flow-risk{grid-column:3;grid-row:2}.light-flow-view .light-flow-control{grid-column:4;grid-row:2}.light-flow-view .light-flow-summary{grid-column:5;grid-row:1/3}.light-flow-view .light-flow-card{min-height:205px;padding:14px 16px 12px}.light-flow-card-meta .light-flow-status{margin-top:0;background:#f6f2ec}.light-flow-symbol-chart{grid-column:1/4;grid-row:3;display:flex;flex-direction:column;min-width:0;min-height:230px;overflow:hidden;border:1px solid #53645d;border-radius:6px;background:#071014;color:#d9e3dc}.light-flow-symbol-chart>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 30px;padding:0 9px;border-bottom:1px solid #33443e;background:#101b1f}.light-flow-symbol-chart>header span{display:flex;align-items:baseline;gap:8px;min-width:0}.light-flow-symbol-chart>header b{font:900 10px/1 var(--ui);letter-spacing:.12em}.light-flow-symbol-chart>header small{overflow:hidden;color:#8ba198;font:700 7px/1 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-flow-symbol-chart nav{display:flex;align-self:stretch}.light-flow-symbol-chart button{min-width:35px;border:0;border-left:1px solid #33443e;background:transparent;color:#89a097;font:800 7px/1 var(--ui);cursor:pointer}.light-flow-symbol-chart button.active{background:#1e5549;color:#fff}.light-flow-chart-stage{position:relative;min-height:0;flex:1;overflow:hidden}.light-flow-chart-stage svg{display:block;width:100%;height:100%}.light-flow-chart-stage>p{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:#82968e;font:800 9px/1 var(--ui);letter-spacing:.08em;text-align:center}.light-flow-chart-grid{stroke:#26353a;stroke-width:1}.light-flow-chart-axis{fill:#91a5a0;font:700 9px var(--ui)}.light-flow-chart-wick{stroke-width:1}.light-flow-chart-candle.up,.light-flow-chart-wick.up{fill:#16c784;stroke:#16c784}.light-flow-chart-candle.down,.light-flow-chart-wick.down{fill:#ef5350;stroke:#ef5350}.light-flow-chart-last{stroke:#21b981;stroke-width:1;stroke-dasharray:4 3}.light-flow-chart-last-label{fill:#d9fff0;font:800 9px var(--ui)}
.light-flow-intelligence{grid-column:4/6;grid-row:3;display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:230px;overflow:hidden;border:1px solid #34464f;border-radius:6px;background:#091217;color:#dbe6ea}.light-flow-intelligence .light-current-decision{min-height:0;overflow:auto;background:#0a1318}.light-flow-intelligence .light-agent-inspector>header{height:24px;border-bottom:1px solid rgba(42,59,69,.62)}.light-flow-intelligence .light-agent-inspector>header b{font-size:7px}.light-flow-intelligence .light-decision-hero{grid-template-columns:minmax(90px,.8fr) minmax(100px,1.2fr);padding:8px}.light-flow-intelligence .light-decision-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.light-flow-intelligence .light-decision-facts p:nth-child(4),.light-flow-intelligence .light-decision-facts p:nth-child(5){display:none}.light-flow-intelligence .light-market-debate{grid-template-columns:minmax(0,1fr) 72px}.light-flow-intelligence .light-decision-history-list{max-height:96px}.light-flow-intelligence .light-decision-history-list>button{grid-template-columns:39px 45px 38px 25px minmax(0,1fr);gap:3px;padding-inline:6px}.light-flow-intelligence .light-decision-history-list small{display:none}.light-flow-intelligence .light-agent-telemetry{border-top:1px solid #34464f}.light-flow-intelligence .light-agent-telemetry-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:130px}.light-flow-intelligence .light-agent-telemetry-grid>section{min-height:45px;padding:6px 7px}
@container (max-width:1050px){.light-flow-view .light-flow-page{width:100%;overflow-x:hidden}.light-flow-view .light-flow-canvas{width:100%;min-width:0;grid-template-columns:minmax(150px,1.05fr) repeat(3,minmax(0,1fr));gap:10px}.light-flow-view .light-flow-symbols{grid-column:1;grid-row:1/3}.light-flow-view .light-flow-card-meta{grid-column:2/5;grid-row:1}.light-flow-view .light-flow-position{grid-column:2;grid-row:2}.light-flow-view .light-flow-risk{grid-column:3;grid-row:2}.light-flow-view .light-flow-control{grid-column:4;grid-row:2}.light-flow-view .light-flow-symbol-chart{grid-column:1/-1;grid-row:3}.light-flow-view .light-flow-intelligence{grid-column:1/-1;grid-row:4;grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr);grid-template-rows:minmax(230px,auto)}.light-flow-view .light-flow-summary{grid-column:1/-1;grid-row:5}.light-flow-view .light-flow-card,.light-flow-view .light-flow-symbols,.light-flow-view .light-flow-summary{min-width:0}.light-flow-view .light-flow-summary dl,.light-flow-view .light-flow-summary dl div{min-width:0}.light-flow-view .light-flow-summary dd{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:780px){.light-flow-view .light-flow-card{min-height:180px}.light-flow-view .light-flow-status span{min-height:30px}}
@container (max-width:720px){.light-flow-view .light-flow-canvas{grid-template-columns:minmax(140px,.9fr) minmax(0,1.1fr)}.light-flow-view .light-flow-card-meta{grid-column:1/-1;grid-row:1}.light-flow-view .light-flow-symbols{grid-column:1;grid-row:2/5}.light-flow-view .light-flow-position{grid-column:2;grid-row:2}.light-flow-view .light-flow-risk{grid-column:2;grid-row:3}.light-flow-view .light-flow-control{grid-column:2;grid-row:4}.light-flow-view .light-flow-symbol-chart{grid-column:1/-1;grid-row:5}.light-flow-view .light-flow-intelligence{grid-column:1/-1;grid-row:6;display:grid;grid-template-columns:1fr;grid-template-rows:auto auto}.light-flow-view .light-flow-summary{grid-column:1/-1;grid-row:7}.light-flow-view .light-flow-card{min-height:180px}.light-flow-view .light-flow-status span{min-height:30px}}

/* Positions intelligence uses the same warm control-card language as the
   Current Position, Risk & Target and Position Control cards. */
.light-flow-view .light-flow-intelligence{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;align-content:start;gap:10px;padding:10px;box-sizing:border-box;overflow:auto;border:1px solid #b5aa9d;border-radius:6px;background:#eee8df;color:#292b28}
.light-flow-intel-card{position:relative;min-width:0;padding:14px 15px;box-sizing:border-box;border:1px solid #afa498;border-radius:6px;background:#f8f5ef;box-shadow:0 5px 16px #735f4310}
.light-flow-intel-card>i{position:absolute;top:12px;right:12px;width:7px;height:7px;border-radius:50%;background:var(--flow-tan)}
.light-flow-intel-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.light-flow-intel-card h3{margin:0;color:#292b28;font:900 10px/1 var(--ui);letter-spacing:.18em;text-transform:uppercase}
.light-flow-intel-card header p{margin:7px 0 0;color:#675f56;font:700 8px/1.2 var(--ui);letter-spacing:.09em;text-transform:uppercase}
.light-flow-decision-card{grid-column:1/-1;border:2px solid var(--flow-green)}
.light-flow-decision-card.bearish{border-color:var(--flow-red)}.light-flow-decision-card.neutral{border-color:var(--flow-tan)}
.light-flow-decision-card>i{background:var(--flow-green)}.light-flow-decision-card.bearish>i{background:var(--flow-red)}.light-flow-decision-card.neutral>i{background:var(--flow-tan)}
.light-flow-decision-card header>strong{padding-right:12px;font:900 21px/1 var(--ui);letter-spacing:.08em}
.light-flow-decision-card strong.bullish{color:var(--flow-green)}.light-flow-decision-card strong.bearish{color:var(--flow-red)}.light-flow-decision-card strong.neutral{color:var(--flow-tan)}
.light-flow-decision-confidence{display:grid;grid-template-columns:minmax(80px,1fr) auto;align-items:center;gap:10px;margin:13px 0 10px}
.light-flow-decision-confidence>span{height:7px;overflow:hidden;border-radius:6px;background:#ddd4c8}.light-flow-decision-confidence>span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--flow-red),var(--flow-tan),var(--flow-green))}
.light-flow-decision-confidence>b{color:#4e4a44;font:900 9px/1 var(--ui);letter-spacing:.08em}
.light-flow-decision-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;border-top:1px solid #d2c9be;border-bottom:1px solid #d2c9be}
.light-flow-decision-card dl div{display:flex;justify-content:space-between;gap:8px;padding:8px 6px;border-right:1px solid #ddd4ca}.light-flow-decision-card dl div:nth-child(2n){border-right:0}.light-flow-decision-card dl div:nth-child(n+3){border-top:1px solid #ddd4ca}
.light-flow-decision-card dt{color:#665e55;font:800 7px/1 var(--ui);letter-spacing:.09em;text-transform:uppercase}.light-flow-decision-card dd{margin:0;overflow:hidden;color:#343530;font:900 8px/1 var(--ui);text-overflow:ellipsis;white-space:nowrap}
.light-flow-decision-card dd.risk-approved{color:var(--flow-green)}.light-flow-decision-card dd.risk-caution{color:var(--flow-tan)}.light-flow-decision-card dd.risk-blocked{color:var(--flow-red)}
.light-flow-debate{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.light-flow-debate p{display:grid;gap:4px;min-width:0;margin:0}.light-flow-debate small{font:900 8px/1 var(--ui)}.light-flow-debate p:first-child small{color:var(--flow-green)}.light-flow-debate p:last-child small{color:var(--flow-red)}.light-flow-debate span{overflow:hidden;color:#665e55;font:700 8px/1.3 var(--ui);text-overflow:ellipsis;white-space:nowrap}
.light-flow-decision-card>button{width:100%;height:27px;margin-top:10px;border:1px solid #8f8376;border-radius:3px;background:#f4eee6;color:#4f4941;font:900 7px/1 var(--ui);letter-spacing:.1em;text-transform:uppercase;cursor:pointer}.light-flow-decision-card>button:hover{border-color:var(--flow-green);color:var(--flow-green)}
.light-flow-history-card{align-self:stretch}.light-flow-history-list{display:grid;margin-top:9px;border-top:1px solid #d2c9be}.light-flow-history-list>p{display:grid;grid-template-columns:52px minmax(68px,1fr) 48px 30px;align-items:center;gap:6px;min-width:0;margin:0;padding:7px 0;border-bottom:1px solid #ddd4ca;font:700 7px/1 var(--ui)}.light-flow-history-list time{color:#7d746a;font-variant-numeric:tabular-nums}.light-flow-history-list p>b{overflow:hidden;color:#4b4843;text-overflow:ellipsis;white-space:nowrap}.light-flow-history-list strong{font-size:8px;white-space:nowrap}.light-flow-history-list strong.bullish{color:var(--flow-green)}.light-flow-history-list strong.bearish{color:var(--flow-red)}.light-flow-history-list em{color:#736b62;font-style:normal;text-align:right}.light-flow-history-list>span{padding:14px 0;color:#776e64;font:700 8px/1.3 var(--ui)}
@container (max-width:720px){.light-flow-decision-card{grid-column:auto}}

/* Keep the Positions chart in the same warm visual system as its cards. */
.light-flow-view .light-flow-symbol-chart{border-color:#afa498;background:#f8f5ef;color:#292b28;box-shadow:0 5px 16px #735f4310}
.light-flow-view .light-flow-symbol-chart>header{border-bottom-color:#cfc5b9;background:#eee8df}
.light-flow-view .light-flow-symbol-chart>header b{color:#292b28}.light-flow-view .light-flow-symbol-chart>header small{color:#675f56}
.light-flow-view .light-flow-symbol-chart button{border-left-color:#cfc5b9;color:#675f56}.light-flow-view .light-flow-symbol-chart button:hover{background:#e4ddd3;color:#292b28}.light-flow-view .light-flow-symbol-chart button.active{background:var(--flow-tan);color:#fff}
.light-flow-view .light-flow-chart-stage{background:#f8f5ef}.light-flow-view .light-flow-chart-stage>p{color:#776e64}
.light-flow-view .light-flow-chart-grid{stroke:#d6cec3}.light-flow-view .light-flow-chart-axis{fill:#625c54;font-weight:800}
.light-flow-view .light-flow-chart-candle.up,.light-flow-view .light-flow-chart-wick.up{fill:#3f8062;stroke:#3f8062}.light-flow-view .light-flow-chart-candle.down,.light-flow-view .light-flow-chart-wick.down{fill:#b4564c;stroke:#b4564c}
.light-flow-view .light-flow-chart-area.up{fill:#4e715c12}.light-flow-view .light-flow-chart-area.down{fill:#a14e4212}.light-flow-view .light-flow-chart-series{stroke:#a47b49;stroke-width:1.2}
.light-flow-view .light-flow-chart-last{stroke:#3f8062}.light-flow-view .light-flow-chart-last-box{fill:#4e715c;stroke:#315b47}.light-flow-view .light-flow-chart-last-label{fill:#fff}
.light-flow-view .light-flow-chart-trigger-line.buy{stroke:#4e715c}.light-flow-view .light-flow-chart-trigger-line.sell{stroke:#a14e42}.light-flow-view .light-flow-chart-trigger{font:900 8px var(--ui);stroke:#f8f5ef;stroke-width:2px}.light-flow-view .light-flow-chart-trigger.buy{fill:#346d52;transform:translateY(7px)}.light-flow-view .light-flow-chart-trigger.sell{fill:#9c4038}
.light-flow-chart-automation{display:flex;align-items:center;gap:4px;margin-left:auto}.light-flow-symbol-chart .light-flow-chart-automation button{height:20px;min-width:58px;padding:0 7px;border:1px solid #b7ada1;border-radius:3px;background:#f8f5ef;color:#70675e;font:900 6px/1 var(--ui);letter-spacing:.04em}.light-flow-symbol-chart .light-flow-chart-automation button.on{border-color:#4e715c;background:#e2eee7;color:#315f49}.light-flow-symbol-chart .light-flow-chart-automation .marker-exit.on{border-color:#b78b45;background:#f1e5c9;color:#805c1f}.light-flow-symbol-chart .light-flow-chart-automation button:disabled{opacity:.38;cursor:not-allowed}
.light-flow-symbol-chart .light-flow-chart-automation .close-market:not(:disabled){border-color:#b34f43;background:#fbf0ed;color:#96392f}

/* Compact live-agent orbit beside the Positions chart. The labels stay fixed
   for readability while the evidence rings and center solving cube move. */
.light-flow-view .light-flow-symbols{position:relative;grid-column:1;grid-row:1/4;display:flex;flex-direction:column}
.light-flow-risk-lever{--risk-level:1;position:absolute;z-index:9;top:28px;left:-10px;display:grid;grid-template-rows:auto 154px auto auto;justify-items:center;width:38px;padding:7px 3px 6px;box-sizing:border-box;border:1px solid #b7ab9c;border-radius:12px;background:linear-gradient(180deg,#fbf8f2,#eee7de);box-shadow:0 7px 18px #5d49331c;color:#4a443d;user-select:none}.light-flow-risk-lever header{display:grid;justify-items:center;gap:2px}.light-flow-risk-lever header b{font:900 7px/1 var(--ui);letter-spacing:.15em}.light-flow-risk-lever header span,.light-flow-risk-lever>small{color:#8d8174;font:800 4.4px/1 var(--ui);letter-spacing:.08em}.light-flow-risk-lever-scale{position:absolute;top:35px;left:50%;display:grid;grid-template-rows:auto repeat(4,1fr) auto;justify-items:center;width:12px;height:136px;transform:translateX(-50%);pointer-events:none}.light-flow-risk-lever-scale:before{content:"";position:absolute;inset:12px 3px;border:1px solid #9d8f7f;border-radius:8px;background:linear-gradient(to top,#557865 0 25%,#8f966b 25% 50%,#b4864d 50% 75%,#a45247 75%);box-shadow:inset 0 0 0 2px #fff8,0 0 0 1px #fff}.light-flow-risk-lever-scale span{position:relative;z-index:1;color:#756a5e;font:900 4.2px/1 var(--ui);letter-spacing:.06em}.light-flow-risk-lever-scale i{position:relative;z-index:1;width:5px;border-bottom:1px solid #fff9}.light-flow-risk-lever input{position:absolute;z-index:3;top:93px;left:50%;width:124px;height:20px;margin:0;appearance:none;background:transparent;transform:translate(-50%,-50%) rotate(-90deg);cursor:ns-resize}.light-flow-risk-lever input::-webkit-slider-runnable-track{height:10px;border-radius:8px;background:transparent}.light-flow-risk-lever input::-webkit-slider-thumb{width:17px;height:17px;margin-top:-4px;appearance:none;border:2px solid #f8f3ec;border-radius:5px;background:#403a34;box-shadow:0 0 0 1px #7f7265,0 3px 8px #493b2c55;transform:rotate(45deg)}.light-flow-risk-lever input:focus-visible{outline:0}.light-flow-risk-lever input:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 1px #7f7265,0 0 0 4px #a47b493d,0 3px 8px #493b2c55}.light-flow-risk-lever output{max-width:33px;overflow:hidden;color:#6e5132;font:900 5.3px/1 var(--ui);letter-spacing:.03em;text-overflow:ellipsis;white-space:nowrap}.light-flow-risk-lever[data-level="conservative"] output{color:#4e715c}.light-flow-risk-lever[data-level="active"] output{color:#9a6b32}.light-flow-risk-lever[data-level="aggressive"] output{color:#a14e42}.light-flow-risk-lever>small{margin-top:3px;font-size:3.9px;white-space:nowrap}
.light-flow-view .light-flow-symbol-list{flex:0 0 auto;max-height:235px}
.light-flow-symbols>header .light-flow-watch-tabs{min-width:0;margin:0;justify-content:flex-end}.light-flow-symbol-tools{display:grid;grid-template-columns:minmax(0,.9fr) minmax(90px,1.1fr);align-items:center;gap:8px;margin-bottom:6px}.light-flow-symbol-actions{display:flex;gap:0;min-width:0}.light-flow-symbol-actions button{flex:1 1 auto}.light-flow-symbol-tools .light-flow-search{min-width:0;margin-bottom:0}.light-flow-symbol-tools .light-flow-search span{flex:0 0 auto}.light-flow-symbol-tools .light-flow-search input{width:100%}
.light-flow-news{--news-heading-size:9px;--news-meta-size:7px;--news-body-size:10.5px;--news-source-size:7.5px;display:flex;flex:1 1 210px;min-height:160px;flex-direction:column;margin-top:20px;padding-top:9px;overflow:hidden;border-top:1px solid #bdb3a7;color:#35312c;font-family:var(--ui)}.light-flow-news>header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:0 0 auto;margin-bottom:6px}.light-flow-news>header span{display:flex;align-items:baseline;gap:7px;min-width:0}.light-flow-news>header b{font:900 var(--news-heading-size)/1 var(--ui);letter-spacing:.14em;text-transform:uppercase}.light-flow-news>header small{color:#4e715c;font:900 6px/1 var(--ui);letter-spacing:.08em}.light-flow-news>header small.degraded{color:#a14e42}.light-flow-news>header small.starting{color:#a47b49}.light-flow-news>header em{color:#8b8176;font:800 6px/1 var(--ui);font-style:normal;white-space:nowrap}.light-flow-news-list{display:grid;align-content:start;gap:0;min-height:0;overflow:auto;border-top:1px solid #d2c9bf;scrollbar-width:thin;scrollbar-color:#9f9182 #ebe4db}.light-flow-news-list::-webkit-scrollbar{width:8px}.light-flow-news-list::-webkit-scrollbar-track{background:#ebe4db}.light-flow-news-list::-webkit-scrollbar-thumb{border:2px solid #ebe4db;border-radius:8px;background:#9f9182}.light-flow-news-list::-webkit-scrollbar-thumb:hover{background:#857667}.light-flow-news-list article{position:relative;display:grid;gap:3px;padding:7px 3px 7px 8px;border-bottom:1px solid #d8d0c6;font-family:var(--ui);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 58px}.light-flow-news-list article[data-light-flow-news-url]{cursor:pointer}.light-flow-news-list article[data-light-flow-news-url]:hover,.light-flow-news-list article[data-light-flow-news-url]:focus-visible{background:#fff9f1;outline:0}.light-flow-news-list article:before{position:absolute;left:1px;top:9px;width:3px;height:3px;border-radius:50%;background:#9b8b78;content:""}.light-flow-news-list article.bullish:before{background:#4e715c}.light-flow-news-list article.bearish:before{background:#a14e42}.light-flow-news-list article.high:before{width:5px;height:5px;box-shadow:0 0 0 2px #a14e4218}.light-flow-news-list article>header,.light-flow-news-list article>footer{display:flex;align-items:center;gap:4px;min-width:0}.light-flow-news-list article .impact{padding:2px 4px;border:1px solid #bdb3a7;border-radius:2px;color:#725f4c;font:900 6.5px/1 var(--ui);letter-spacing:.05em}.light-flow-news-list article.high .impact{border-color:#a14e42;color:#963e35}.light-flow-news-list article header b{overflow:hidden;color:#6d6359;font:900 var(--news-meta-size)/1 var(--ui);letter-spacing:.06em;text-overflow:ellipsis;white-space:nowrap}.light-flow-news-list article time{margin-left:auto;color:#8e8479;font:700 var(--news-meta-size)/1 var(--ui);white-space:nowrap}.light-flow-news-list article>p{display:-webkit-box;overflow:hidden;margin:0;color:#2f2c28;font:800 var(--news-body-size)/1.32 var(--ui);letter-spacing:0;text-transform:none;-webkit-box-orient:vertical;-webkit-line-clamp:3}.light-flow-news-list article footer span{flex:1 1 auto;overflow:hidden;color:#81776c;font:700 var(--news-source-size)/1 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-flow-news-list article footer strong{margin-left:auto;color:#746b61;font:900 var(--news-source-size)/1 var(--ui);white-space:nowrap}.light-flow-news-list article.bullish footer strong{color:#3f7258}.light-flow-news-list article.bearish footer strong{color:#9b453c}.light-flow-news-list article footer em{flex:0 0 auto;padding:1px 3px;border-radius:2px;background:#e7dfd3;color:#705b43;font:900 6px/1 var(--ui);font-style:normal}.light-flow-news-list article footer em.official{background:#ede1c9;color:#785723}.light-flow-news-list article footer em.freshness.live{background:#dcebe2;color:#315f49}.light-flow-news-list article footer em.freshness.fresh{background:#e6eee8;color:#4a6955}.light-flow-news-list article footer em.freshness.aging{background:#eee7dc;color:#786957}.light-flow-news-list article footer em.freshness.stale{background:#eee8e1;color:#8b8176}.light-flow-news-list article footer em.ai{background:#e7dfd3;color:#705b43}.light-flow-news-empty{margin:20px 8px;color:#8b8175;font:700 7px/1.4 var(--ui);text-align:center}
.light-flow-news-list article.queued-arrival{animation:lightFlowNewsDrop .28s cubic-bezier(.2,.8,.25,1) both}@keyframes lightFlowNewsDrop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.light-flow-news-list{grid-auto-rows:minmax(64px,auto);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;-ms-overflow-style:none}
.light-flow-news-list::-webkit-scrollbar{width:0;height:0;background:transparent}
.light-flow-news-list article{min-height:0;padding:9px 4px 9px 9px;content-visibility:visible;contain-intrinsic-size:none}
.light-flow-news-story{display:block;min-width:0}
.light-flow-news-story>p{display:-webkit-box;overflow:hidden;margin:0;color:#2f2c28;font:800 var(--news-body-size)/1.32 var(--ui);letter-spacing:0;text-transform:none;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.light-flow-view .light-flow-agent-orbit{display:grid;place-items:center;flex:0 0 clamp(210px,24vw,240px);min-width:0;min-height:210px;margin:0 0 8px;overflow:hidden;border:0;border-radius:0;background:transparent;color:#292b28;box-shadow:none}
.light-flow-orbit-scene{position:relative;width:min(100%,240px);height:100%;max-height:240px;aspect-ratio:1;min-height:210px;overflow:hidden;background:linear-gradient(#927b670b 1px,transparent 1px),linear-gradient(90deg,#927b670b 1px,transparent 1px);background-size:18px 18px}
.light-flow-orbit-map{position:absolute;inset:1%;width:98%;height:98%;overflow:visible}.light-flow-orbit-sector path{stroke:color-mix(in srgb,var(--sector-color) 55%,#8e8174);stroke-width:.32;vector-effect:non-scaling-stroke;transition:fill .42s ease,opacity .42s ease,stroke .42s ease}.light-flow-orbit-sector .outer{fill:color-mix(in srgb,var(--sector-color) 13%,#f4efe7)}.light-flow-orbit-sector .middle{fill:color-mix(in srgb,var(--sector-color) 8%,#eee8df);opacity:.72}.light-flow-orbit-sector .inner{fill:color-mix(in srgb,var(--sector-color) 6%,#f4efe7);opacity:.5}.light-flow-orbit-sector .service{fill:#a14e42;stroke:#8f3f35;opacity:0;pointer-events:none}.light-flow-orbit-sector.serving .service{animation:light-flow-orbit-serving 1.05s ease-in-out infinite}.light-flow-orbit-sector.active .outer{fill:color-mix(in srgb,var(--sector-color) 27%,#f4efe7);animation:light-flow-orbit-sector-pulse 2.2s ease-in-out var(--sector-delay) infinite}.light-flow-orbit-sector.active :is(.middle,.inner){opacity:1}.light-flow-orbit-track{fill:none;stroke:#8e8174;stroke-width:.4;stroke-dasharray:1.1 1.5;opacity:.42}.light-flow-orbit-routes path{fill:none;stroke:#9b8b7a;stroke-width:.3;stroke-dasharray:1 1.5;opacity:.22;transition:stroke .42s ease,stroke-width .42s ease,opacity .42s ease}.light-flow-orbit-routes path.active{stroke:#6f756a;stroke-width:.55;opacity:.72}.light-flow-orbit-routes path.serving{stroke:#a14e42;stroke-width:.72;opacity:.9}.light-flow-orbit-pulse{opacity:0;transition:opacity .42s ease;filter:drop-shadow(0 0 1.5px currentColor)}.light-flow-orbit-pulse.active{opacity:calc(.22 + var(--orbit-render-activity)*.52)}.light-flow-orbit-pulse.serving{opacity:calc(.45 + var(--orbit-render-activity)*.55);filter:drop-shadow(0 0 2.4px #a14e42)}.light-flow-orbit-processor-base{fill:#f3ede5;stroke:#9f8b75;stroke-width:.55;stroke-dasharray:1.5 1.2;transition:fill .42s ease,stroke .42s ease}.light-flow-orbit-processor-ring{fill:none;stroke:#a14e42;stroke-width:.78;stroke-linecap:round;transform-box:view-box;transform-origin:center;will-change:transform,stroke-dashoffset;transition:stroke .42s ease,opacity .42s ease}.light-flow-orbit-processor-ring.ring-a{stroke-dasharray:31 8 11 9 22 19;animation:light-flow-orbit-dash-forward 3.4s linear infinite}.light-flow-orbit-processor-ring.ring-b{stroke-dasharray:17 9 28 10 14 22;opacity:calc(.4 + var(--orbit-render-activity)*.5);animation:light-flow-orbit-dash-reverse 4.2s linear infinite}.light-flow-orbit-scene.waiting .light-flow-orbit-processor-ring{animation-play-state:paused;opacity:.34}.light-flow-orbit-scene.blocked .light-flow-orbit-processor-ring{stroke:#b3423d}.light-flow-orbit-scene.blocked .light-flow-orbit-processor-base{stroke:#b3423d;fill:#f5e7e3}
.light-flow-orbit-scene>button:not(.light-flow-orbit-core){position:absolute;z-index:4;left:var(--orbit-x);top:var(--orbit-y);display:grid;justify-items:center;gap:1px;width:58px;padding:1px 0;border:0;background:transparent;color:var(--orbit-color);text-align:center;transform:translate(-50%,-50%);cursor:pointer}.light-flow-orbit-scene>button:not(.light-flow-orbit-core)>i{width:4px;height:4px;border-radius:50%;background:currentColor;box-shadow:0 0 0 2px color-mix(in srgb,currentColor 13%,transparent)}.light-flow-orbit-scene>button:not(.light-flow-orbit-core)>b{max-width:56px;overflow:hidden;font:900 6.2px/1 var(--ui);letter-spacing:.035em;text-overflow:ellipsis;white-space:nowrap}.light-flow-orbit-scene>button:not(.light-flow-orbit-core)>small{max-width:54px;overflow:hidden;color:#70685f;font:800 5.1px/1 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-flow-orbit-scene>button:not(.light-flow-orbit-core).active>i{animation:light-flow-orbit-node 1.4s ease-in-out infinite}.light-flow-orbit-scene>button:not(.light-flow-orbit-core):hover{z-index:8;background:#f3eee6;transform:translate(-50%,-50%) scale(1.08)}
.light-flow-orbit-scene>.light-flow-orbit-core{all:unset;position:absolute;z-index:6;left:50%;top:50%;box-sizing:border-box;display:grid;width:64px;height:64px;place-items:center;border-radius:50%;color:#493f35;transform:translate(-50%,-50%);cursor:pointer;overflow:visible;will-change:transform}.light-flow-orbit-scene>.light-flow-orbit-core:hover,.light-flow-orbit-scene>.light-flow-orbit-core:focus-visible{box-shadow:0 0 0 1px #a14e4240;outline:0}.light-flow-orbit-core .light-solving-orb{position:static;display:block;width:58px!important;height:58px!important;border:0!important;border-radius:50%!important;outline:0!important;background:transparent!important;box-shadow:none!important;opacity:calc(.56 + var(--orbit-render-activity)*.44);filter:sepia(.32) saturate(.72) drop-shadow(0 3px 7px #6e5b4350);transform:none!important}.light-flow-orbit-collision{fill:none;stroke:var(--orbit-impact-color,#a47b49);stroke-width:1.15;opacity:calc(var(--orbit-impact-energy,0)*.9);filter:drop-shadow(0 0 2.5px var(--orbit-impact-color,#a47b49));transform-box:fill-box;transform-origin:center;transform:scale(calc(1 + var(--orbit-impact-energy,0)*.18))}
.light-flow-view .light-flow-symbol-chart{grid-column:2/4}
@keyframes light-flow-orbit-processor-spin{to{transform:rotate(360deg)}}@keyframes light-flow-orbit-processor-spin-reverse{to{transform:rotate(-360deg)}}@keyframes light-flow-orbit-dash-forward{to{stroke-dashoffset:-100}}@keyframes light-flow-orbit-dash-reverse{to{stroke-dashoffset:100}}@keyframes light-flow-orbit-node{50%{opacity:.38;transform:scale(.72)}}@keyframes light-flow-orbit-sector-pulse{50%{opacity:.62}}@keyframes light-flow-orbit-serving{0%,100%{opacity:.18}50%{opacity:.78}}
@media(prefers-reduced-motion:reduce){.light-flow-orbit-sector.active .outer,.light-flow-orbit-sector .service,.light-flow-orbit-scene>button:not(.light-flow-orbit-core)>i{animation:none}.light-flow-orbit-sector.active .service{opacity:.42}.light-flow-orbit-pulse{display:none}.light-flow-orbit-collision{display:none}.light-flow-orbit-scene>.light-flow-orbit-core{transform:translate(-50%,-50%)!important}}
@container (max-width:1050px){.light-flow-view .light-flow-symbols{grid-column:1;grid-row:1/4}.light-flow-view .light-flow-symbol-chart{grid-column:2/-1;grid-row:3}.light-flow-symbol-tools{gap:5px}.light-flow-symbol-tools .light-flow-search span{display:none}}
@container (max-width:720px){.light-flow-view .light-flow-symbols{grid-column:1;grid-row:2/5}.light-flow-view .light-flow-symbol-chart{grid-column:1/-1;grid-row:5}.light-flow-view .light-flow-intelligence{grid-row:6}.light-flow-view .light-flow-summary{grid-row:7}}

/* Keep the symbol/news rail independent from the lower decision/chart pair.
   This prevents the decision panel from covering the news feed. */
.light-flow-view .light-flow-page{padding-top:4px}.light-flow-view .light-flow-canvas{grid-template-columns:minmax(270px,1.35fr) minmax(190px,.9fr) minmax(235px,1.15fr) minmax(190px,.9fr) minmax(175px,.8fr);grid-template-rows:auto 32px clamp(400px,52vh,520px);align-content:start;column-gap:clamp(12px,1.45vw,24px);row-gap:22px;padding-top:0}.light-flow-view .light-flow-agent-orbit{order:1;margin:0 0 8px}.light-flow-view .light-flow-symbols>header{order:2}.light-flow-view .light-flow-symbol-tools{order:3}.light-flow-view .light-flow-symbol-list{order:4}.light-flow-view .light-flow-news{order:5}.light-flow-view .light-flow-card-meta{grid-column:2/6;grid-row:2;align-self:stretch}.light-flow-view .light-flow-card-meta .light-flow-status{height:100%;margin-top:0;box-sizing:border-box}.light-flow-view .light-flow-summary{align-self:start;min-width:0;padding:8px 6px;overflow:hidden}.light-flow-view .light-flow-summary h3{font-size:clamp(6px,.75cqw,8px);letter-spacing:.1em;white-space:nowrap}.light-flow-view .light-flow-summary dl{min-width:0;gap:5px;margin-top:7px}.light-flow-view .light-flow-summary dl div{min-width:0}.light-flow-view .light-flow-summary dd{max-width:100%;overflow:hidden;font-size:clamp(8px,1.05cqw,12px);text-overflow:ellipsis;white-space:nowrap}.light-flow-view .light-flow-summary dd.negative{color:var(--flow-red)}.light-flow-view .light-flow-summary dd.positive{color:var(--flow-green)}.light-flow-view .light-flow-summary dt{font-size:clamp(5px,.55cqw,6px);letter-spacing:.06em}
.light-flow-view .light-flow-lower{position:relative;z-index:2;grid-column:2/6;grid-row:3;display:grid;grid-template-columns:minmax(150px,.72fr) minmax(0,3.1fr);grid-template-rows:minmax(0,1fr);gap:9px;min-width:0;min-height:0;height:100%}
.light-flow-view .light-flow-lower>.light-flow-intelligence{grid-column:1;grid-row:1;align-self:stretch;display:block!important;min-width:0;height:100%!important;max-height:none;box-sizing:border-box;gap:0;padding:0!important;overflow:visible;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.light-flow-view .light-flow-lower .light-flow-intel-card{height:100%!important;min-height:100%;padding:12px 12px;box-shadow:0 5px 16px #735f4310}
.light-flow-view .light-flow-lower .light-flow-decision-card{display:flex;flex-direction:column}
.light-flow-view .light-flow-lower .light-flow-decision-card header>strong{font-size:18px}
.light-flow-view .light-flow-lower .light-flow-decision-confidence{margin:9px 0 7px}
.light-flow-view .light-flow-lower .light-flow-decision-card dl div{padding:6px 5px}
.light-flow-view .light-flow-lower .light-flow-debate{gap:7px;margin-top:7px}
.light-flow-view .light-flow-lower .light-flow-decision-card>button{height:25px;margin-top:auto}
.light-flow-view .light-flow-lower>.light-flow-symbol-chart{grid-column:2;grid-row:1;min-width:0}
@container (max-width:1050px){.light-flow-view .light-flow-canvas{grid-template-columns:minmax(210px,1.25fr) repeat(3,minmax(0,1fr))}.light-flow-view .light-flow-lower{grid-column:2/-1;grid-row:3;grid-template-columns:minmax(140px,.68fr) minmax(0,2.8fr);grid-template-rows:minmax(0,1fr);gap:9px}}
@container (max-width:720px){.light-flow-view .light-flow-canvas{grid-template-columns:minmax(190px,1.1fr) minmax(0,.9fr);grid-template-rows:auto}.light-flow-view .light-flow-lower{grid-column:1/-1;grid-row:5;grid-template-columns:1fr;grid-template-rows:auto minmax(230px,1fr);height:auto}.light-flow-view .light-flow-lower>.light-flow-intelligence{grid-column:1;grid-row:1}.light-flow-view .light-flow-lower>.light-flow-symbol-chart{grid-column:1;grid-row:2}.light-flow-view .light-flow-summary{grid-row:6}}
.light-flow-view .light-flow-canvas>.light-flow-intelligence{grid-column:2;grid-row:1;align-self:stretch;display:block;min-width:0;height:auto;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}
.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-card{display:flex;height:100%;min-height:205px;flex-direction:column;padding:11px 12px}
.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-card h3{font-size:11px}.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-card header p{font-size:9px}.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-card header>strong{font-size:20px}
.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-confidence{grid-template-columns:minmax(0,1fr);gap:6px;margin:12px 0 10px}.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-confidence>span{height:9px}
.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-confidence>b{min-width:0;font-size:14px;text-align:right;white-space:nowrap}
.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-card dl div{padding:7px 4px}
.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-card dt{font-size:8px}.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-card dd{font-size:9px}.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-debate{gap:6px;margin-top:10px}.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-debate small,.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-debate span{font-size:9px}
.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-card>button{height:25px;margin-top:auto;font-size:8px}
.light-flow-view .light-flow-position{grid-column:3;grid-row:1}.light-flow-view .light-flow-risk{grid-column:4;grid-row:1}.light-flow-view .light-flow-control{grid-column:5;grid-row:1}
.light-flow-view .light-flow-lower>.light-flow-summary{grid-column:1;grid-row:1;align-self:stretch;display:block;min-width:0;box-sizing:border-box;padding:8px 10px;overflow:hidden}.light-flow-view .light-flow-lower>.light-flow-summary>h3{margin:0 0 7px;padding:0 0 7px;border-bottom:1px solid #d3cac0}.light-flow-summary-cell{display:block;min-width:0;min-height:0}.light-flow-summary-cell.primary,.light-flow-summary-cell.secondary{padding:0;border:0}
.light-flow-view .light-flow-lower>.light-flow-summary .light-flow-summary-cell>dl{display:grid;grid-template-columns:1fr;gap:6px;min-width:0;margin:0}.light-flow-view .light-flow-lower>.light-flow-summary .light-flow-summary-cell>dl>div{display:flex;flex-direction:column;min-width:0}.light-flow-view .light-flow-lower>.light-flow-summary hr{display:block;margin:8px 0;border:0;border-top:1px solid #d3cac0}
.light-flow-view .light-flow-lower>.light-flow-summary h3{font-size:9px;letter-spacing:.1em}.light-flow-view .light-flow-lower>.light-flow-summary h3 small{display:block;margin:3px 0 0;color:#756c62;font:800 6px/1 var(--ui);letter-spacing:.07em;white-space:nowrap}.light-flow-view .light-flow-lower>.light-flow-summary dd{font-size:clamp(9px,.9cqw,12px)}.light-flow-view .light-flow-lower>.light-flow-summary dt{font-size:6px;letter-spacing:.06em;white-space:nowrap}
.light-flow-summary-positions{display:block;min-width:0;min-height:0;margin:9px 0 0;padding:8px 0 0;border-top:1px solid #d3cac0;border-left:0}.light-flow-summary-positions h4{margin:0 0 6px;color:#665e55;font:900 6px/1 var(--ui);letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}.light-flow-summary-positions>div{display:grid;gap:4px;min-width:0;max-height:96px;overflow:hidden}.light-flow-summary-positions>div>div{display:flex;align-items:center;gap:4px;min-width:0;padding:4px 6px;border:1px solid #cfc4b7;border-radius:5px;background:#fbf7f1}.light-flow-summary-positions b{overflow:hidden;max-width:58px;color:#343832;font:900 7px/1 var(--ui);letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap}.light-flow-summary-positions span{font:900 6px/1 var(--ui);letter-spacing:.03em;white-space:nowrap}.light-flow-summary-positions .long span{color:var(--flow-green)}.light-flow-summary-positions .short span{color:var(--flow-red)}.light-flow-summary-positions p{margin:0;color:#847b71;font:700 6px/1.2 var(--ui);text-transform:uppercase;white-space:nowrap}
@container (max-width:1050px){.light-flow-view .light-flow-canvas{grid-template-columns:minmax(190px,1.2fr) minmax(165px,.9fr) minmax(195px,1.1fr) minmax(165px,.9fr) minmax(155px,.85fr)}.light-flow-view .light-flow-card-meta{grid-column:2/6;grid-row:2}.light-flow-view .light-flow-canvas>.light-flow-intelligence{grid-column:2;grid-row:1}.light-flow-view .light-flow-position{grid-column:3;grid-row:1}.light-flow-view .light-flow-risk{grid-column:4;grid-row:1}.light-flow-view .light-flow-control{grid-column:5;grid-row:1}.light-flow-view .light-flow-lower{grid-column:2/-1;grid-row:3}}
@container (max-width:720px){.light-flow-view .light-flow-canvas{grid-template-columns:minmax(190px,1.1fr) minmax(0,.9fr);grid-template-rows:repeat(4,auto) 32px auto}.light-flow-view .light-flow-symbols{grid-column:1;grid-row:1/6}.light-flow-view .light-flow-canvas>.light-flow-intelligence{grid-column:2;grid-row:1}.light-flow-view .light-flow-position{grid-column:2;grid-row:2}.light-flow-view .light-flow-risk{grid-column:2;grid-row:3}.light-flow-view .light-flow-control{grid-column:2;grid-row:4}.light-flow-view .light-flow-card-meta{grid-column:1/-1;grid-row:5}.light-flow-view .light-flow-lower{grid-column:1/-1;grid-row:6}.light-flow-view .light-flow-summary{grid-row:1}}
@container (max-width:720px){.light-flow-risk-lever{left:-5px;transform:scale(.86);transform-origin:top left}}
.light-flow-view .light-flow-connectors{z-index:1;inset:0;display:block}.light-flow-view .light-flow-lines path{vector-effect:non-scaling-stroke}.light-flow-chart-stage{background:radial-gradient(circle at 82% 12%,#12342d 0,#0a1a1d 28%,#071014 62%)}.light-flow-chart-grid{stroke:#2b3f43}.light-flow-chart-axis{fill:#9bb0aa}.light-flow-chart-area.up{fill:#16c78418}.light-flow-chart-area.down{fill:#ef535018}.light-flow-chart-series{fill:none;stroke:#51a9e8;stroke-width:1.35}.light-flow-chart-last-box{fill:#147a5b;stroke:#41d6a2;stroke-width:1}.light-flow-chart-last-label{fill:#fff;font-weight:900}.light-flow-chart-trigger-line{stroke-width:1;stroke-dasharray:2 2}.light-flow-chart-trigger-line.buy{stroke:#31d59b}.light-flow-chart-trigger-line.sell{stroke:#ff6b65}.light-flow-chart-trigger{font:900 9px var(--ui);paint-order:stroke;stroke:#071014;stroke-width:3px}.light-flow-chart-trigger.buy{fill:#4ae3aa}.light-flow-chart-trigger.sell{fill:#ff7670}
@media(prefers-reduced-motion:reduce){.light-flow-dots{display:none}}
.light-flow-view .light-flow-lines path{opacity:.52}.light-flow-view .light-flow-lines path.active{opacity:1}
.light-flow-view .light-flow-lines path.position-open{stroke:var(--flow-green);stroke-width:2.25;opacity:1;filter:drop-shadow(0 0 2px #4e715c55)}
.light-flow-view .light-flow-lines path.danger.position-open{stroke:var(--flow-red)}
.light-flow-view .light-flow-lines path.chart-link{stroke:var(--flow-green);stroke-width:2;opacity:1;filter:drop-shadow(0 0 2px #4e715c55)}
.light-flow-view .light-flow-dots .chart-endpoint{stroke:#f8f5ef;stroke-width:2;filter:drop-shadow(0 0 5px #4e715caa)}
.light-flow-chart-link-label{fill:#315f49;font:900 7px/1 var(--ui);letter-spacing:.08em;paint-order:stroke;stroke:#f8f5ef;stroke-width:3px;stroke-linejoin:round}
.light-flow-view>.light-flow-nav{justify-content:flex-end;padding-inline:18px}
.light-flow-nav>button:not(.light-flow-close){min-width:auto!important;height:24px;padding:0 15px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#625b52!important;box-shadow:none!important}
.light-flow-nav>button:not(.light-flow-close).active{color:#8d6334!important;box-shadow:inset 0 -2px #a47b49!important}
.light-flow-risk-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.light-risk-reward-control{display:grid;gap:7px;margin-top:13px;padding-top:12px;border-top:1px solid #d4cac0}.light-risk-reward-control>label{color:#675f56;font:800 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-risk-choice-group.reward{grid-template-columns:repeat(3,minmax(0,1fr))}.light-risk-reward-control>p{margin:0;color:#70675e;font:700 8px/1.35 var(--ui)}
.light-risk-native-select{display:none!important}.light-risk-number-control{display:grid;grid-template-columns:24px minmax(0,1fr) 24px;align-items:stretch;min-width:0}.light-risk-number-control input{min-width:0;padding-inline:1px!important;border-radius:0!important;text-align:center;font-size:9px!important;appearance:textfield;-moz-appearance:textfield}.light-risk-number-control input::-webkit-inner-spin-button,.light-risk-number-control input::-webkit-outer-spin-button{margin:0;appearance:none}.light-risk-number-control button{width:24px;border:1px solid #a99f93;background:#eee7dd;color:#3e4d45;font:900 13px/1 var(--ui);cursor:pointer}.light-risk-number-control button:first-child{border-radius:4px 0 0 4px}.light-risk-number-control button:last-child{border-radius:0 4px 4px 0}.light-risk-number-control button:hover,.light-risk-number-control button:focus-visible{border-color:var(--flow-green);background:#deebe2;color:#285a43;outline:0}.light-risk-choice-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.light-risk-choice-group.schedule,.light-risk-choice-group.units{grid-template-columns:repeat(4,minmax(0,1fr))}.light-risk-choice-group button{min-width:0;height:34px;padding:0 7px;border:1px solid #b8ada0;border-radius:4px;background:#fffaf4;color:#625b53;font:800 8px/1 var(--ui);cursor:pointer;white-space:nowrap}.light-risk-choice-group button:hover,.light-risk-choice-group button:focus-visible{border-color:#6f8f7d;outline:0}.light-risk-choice-group button.active,.light-risk-choice-group button[aria-pressed="true"]{border-color:var(--flow-green);background:#dfeae1;color:#285a43;box-shadow:inset 0 0 0 1px #47746133}.light-flow-risk-save{cursor:pointer}.light-flow-risk-save:hover,.light-flow-risk-save:focus-visible{background:#dfeae1;outline:0}
.light-select-control{position:relative;display:block;width:100%;min-width:0}.light-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.light-select-trigger{position:relative;width:100%;height:inherit;min-height:27px;padding:0 30px 0 9px;border:1px solid #b9aea0;border-radius:4px;background:#fffaf3;color:#2c2e2b;font:700 9px/1 var(--ui);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.light-select-trigger:after{content:"";position:absolute;right:11px;top:50%;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-68%) rotate(45deg)}.light-select-trigger:hover,.light-select-trigger:focus-visible,.light-select-control.open>.light-select-trigger{border-color:#5f806f;box-shadow:0 0 0 1px #5f806f33;outline:0}.light-select-trigger:disabled{opacity:.48;cursor:not-allowed}.light-select-menu{position:fixed;z-index:2147483400;display:none;max-height:min(260px,55vh);padding:4px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #9f9487;border-radius:6px;background:#fffaf3;box-shadow:0 10px 26px #392f2440}.light-select-control.open>.light-select-menu{display:grid}.light-select-menu button{min-height:30px;padding:6px 9px;border:0;border-radius:4px;background:transparent;color:#2d312d;font:700 9px/1.2 var(--ui);text-align:left;cursor:pointer}.light-select-menu button:hover,.light-select-menu button:focus-visible{background:#e9e1d6;outline:0}.light-select-menu button.selected,.light-select-menu button[aria-selected="true"]{background:#dce9df;color:#285a43}.light-select-menu button:disabled{opacity:.4;cursor:not-allowed}.light-select-empty{padding:9px;color:#756d64;font:700 8px var(--ui)}
.light-commandbar .light-select-control,.light-ticket-field .light-select-control,.light-strategy-overview-row .light-select-control{height:100%}.light-commandbar .light-select-trigger,.light-ticket-field .light-select-trigger,.light-strategy-overview-row .light-select-trigger{height:100%;min-height:0;border-color:#35424c;background:#1d252c;color:#dce5ea;font-size:8px}.light-flow-dialog .light-select-trigger{height:34px}.light-ts-settings .light-select-trigger,.light-flow-settings-host .light-select-trigger{height:27px}.light-training-record .light-select-trigger{height:24px;min-height:24px}
.light-flow-view .light-flow-canvas>.light-flow-intelligence,.light-flow-view .light-flow-position,.light-flow-view .light-flow-risk,.light-flow-view .light-flow-control{margin-top:12px}
.light-flow-view .light-flow-dots circle.position-open{filter:drop-shadow(0 0 4px currentColor)}

/* The row-end lamp reports the broker position, independently of P&L or
   Agent Auto. Any non-zero long or short position stays green and pulses. */
.light-flow-symbol-row.position-open>i{background:#25a864;box-shadow:0 0 0 0 #25a86480;animation:light-flow-position-lamp 1.15s ease-in-out infinite}
@keyframes light-flow-position-lamp{0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 0 0 #25a86480}50%{opacity:.55;transform:scale(.82);box-shadow:0 0 0 4px #25a86400}}
@media(prefers-reduced-motion:reduce){.light-flow-symbol-row.position-open>i{animation:none;box-shadow:0 0 0 2px #25a86430}}

/* The symbol rail contains live quantity, Auto and Close controls. Its rows
   need about 270px, so responsive layouts scroll/reflow the surrounding
   workspace instead of squeezing those trading controls out of view. */
.light-flow-view .light-flow-page{overflow-x:auto}

/* Session Replay is deliberately isolated from the live positions canvas. */
.light-flow-replay-page{display:flex;min-height:0;flex-direction:column;gap:10px;overflow:hidden!important;padding:12px 18px 8px;background:#f2eee7}.light-flow-replay-page>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.light-flow-replay-page>header small{color:#a14e42;font:900 7px/1 var(--ui);letter-spacing:.14em}.light-flow-replay-page>header h2{margin:4px 0 2px;font:900 18px/1 var(--ui);letter-spacing:.15em;text-transform:uppercase}.light-flow-replay-page>header p{margin:0;color:#71685e;font:700 9px/1.3 var(--ui)}.light-flow-replay-page>header>b{padding:6px 9px;border:1px solid #b9ad9f;border-radius:4px;color:#7a6d60;font:900 8px/1 var(--ui);letter-spacing:.12em}.light-flow-replay-page>header>b.playing{border-color:#4e715c;color:#4e715c}.light-replay-controls{display:flex;align-items:end;gap:7px;padding:9px;border:1px solid #c6bcaf;background:#f7f3ed}.light-replay-controls label{display:grid;gap:4px;min-width:260px}.light-replay-controls label.speed{min-width:74px}.light-replay-controls label span{color:#786e64;font:900 7px/1 var(--ui);letter-spacing:.1em;text-transform:uppercase}.light-replay-controls select,.light-replay-controls button{height:31px;box-sizing:border-box;border:1px solid #a99c8d;border-radius:4px;background:#f8f5ef;color:#2f322f;font:800 9px/1 var(--ui)}.light-replay-controls select{padding:0 9px}.light-replay-controls button{padding:0 14px;cursor:pointer}.light-replay-controls button:disabled{opacity:.42;cursor:default}.light-replay-controls #lightReplayPlay{border-color:#4e715c;color:#315d46}.light-replay-controls #lightReplayAi{margin-left:auto}.light-replay-timeline{display:grid;gap:5px}.light-replay-timeline input{width:100%;accent-color:#4e715c}.light-replay-timeline>div{display:flex;justify-content:space-between;color:#776d62;font:800 8px/1 var(--ui)}.light-replay-grid{display:grid;min-height:0;flex:1;grid-template-columns:minmax(0,1fr) minmax(250px,27%);gap:10px}.light-replay-stage,.light-replay-evidence{min-height:0;border:1px solid #bdb2a5;background:#f8f4ee}.light-replay-stage{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.light-replay-stage>header,.light-replay-evidence>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:39px;padding:7px 10px;box-sizing:border-box;border-bottom:1px solid #d2c8bb}.light-replay-stage>header div{display:grid;gap:2px}.light-replay-stage>header b,.light-replay-evidence>header b{font:900 10px/1 var(--ui);letter-spacing:.12em}.light-replay-stage>header span,.light-replay-evidence>header span{color:#7b7167;font:700 7px/1 var(--ui)}.light-replay-stage>header strong{font:900 13px/1 var(--ui);letter-spacing:.08em}.light-replay-stage>header strong.bullish{color:#3f7258}.light-replay-stage>header strong.bearish{color:#a14e42}.light-replay-stage svg{width:100%;height:100%;min-height:260px}.light-replay-stage .grid{stroke:#d9d0c5;stroke-width:1}.light-replay-stage .wick{stroke-width:1.5}.light-replay-stage .bull .wick,.light-replay-stage .bull rect{stroke:#4e8067;fill:#4e8067}.light-replay-stage .bear .wick,.light-replay-stage .bear rect{stroke:#b45c4d;fill:#b45c4d}.light-replay-stage .decision-line{stroke-dasharray:4 3;stroke-width:1}.light-replay-stage .decision-line.bullish{stroke:#3f7258}.light-replay-stage .decision-line.bearish{stroke:#a14e42}.light-replay-stage .decision-dot.bullish{fill:#3f7258}.light-replay-stage .decision-dot.bearish{fill:#a14e42}.light-replay-evidence{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.light-replay-evidence>div{min-height:0;overflow:auto;padding:4px 9px}.light-replay-evidence article{display:grid;grid-template-columns:48px 70px minmax(0,1fr);gap:7px;padding:8px 0;border-bottom:1px solid #ded6cc}.light-replay-evidence article time,.light-replay-evidence article small{color:#82786d;font:800 7px/1.25 var(--ui)}.light-replay-evidence article b{font:900 8px/1.25 var(--ui);text-transform:uppercase}.light-replay-evidence article p{margin:0;color:#393633;font:700 8px/1.3 var(--ui)}.light-replay-evidence article.bullish b{color:#3f7258}.light-replay-evidence article.bearish b{color:#a14e42}.light-flow-replay-page>footer{display:flex;justify-content:space-between;color:#83786d;font:700 7px/1 var(--ui)}.light-flow-replay-page>footer strong{color:#a14e42}.light-flow-replay-page[hidden]{display:none!important}@container (max-width:900px){.light-replay-grid{grid-template-columns:1fr}.light-replay-evidence{max-height:190px}.light-replay-controls{flex-wrap:wrap}.light-replay-controls label{min-width:210px}.light-replay-controls #lightReplayAi{margin-left:0}}
.light-flow-view .light-flow-symbols{min-width:270px}
@container (max-width:1050px){.light-flow-view .light-flow-canvas{grid-template-columns:minmax(270px,1.2fr) repeat(4,minmax(145px,1fr))}}
@container (max-width:720px){.light-flow-view .light-flow-canvas{grid-template-columns:minmax(270px,1.1fr) minmax(170px,.9fr)}}

/* Keep the live status strip centered over the complete four-card row. Its
   typography and internal spacing compact before values need truncation. */
.light-flow-view .light-flow-card-meta{grid-column:3/6;justify-self:stretch;width:100%;box-sizing:border-box}
.light-flow-view .light-flow-card-meta .light-flow-status{grid-template-columns:.9fr 1.1fr .9fr 1.1fr 1.2fr;width:100%;box-sizing:border-box}
.light-flow-view .light-flow-card-meta .light-flow-status span{gap:clamp(2px,.4cqw,6px);padding-inline:clamp(3px,.55cqw,9px);box-sizing:border-box;font-size:clamp(5px,.55cqw,7px);letter-spacing:clamp(.02em,.06cqw,.08em);white-space:nowrap}
.light-flow-view .light-flow-card-meta .light-flow-status b{flex:0 1 auto;max-width:100%;font-size:clamp(8px,1cqw,13px);text-overflow:clip}
.light-flow-view .light-flow-card-meta .light-flow-status{border:0;border-radius:0;background:transparent}
.light-flow-view .light-flow-card-meta .light-flow-status span{border:0}
@container (max-width:720px){.light-flow-view .light-flow-card-meta{grid-column:1/-1}.light-flow-view .light-flow-card-meta .light-flow-status{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Leave the decision-to-position evidence route exposed, and align Account
   Summary with the live news rail instead of pinning it to the chart header. */
.light-flow-view .light-flow-lower>.light-flow-summary{margin-top:var(--light-flow-summary-offset,0px);height:calc(100% - var(--light-flow-summary-offset,0px))}

/* Orbit activity states: fresh agents are unmistakably live, idle agents are
   quiet, and stale/disconnected agents lose all directional color. */
.light-flow-view .light-flow-agent-orbit{flex-basis:clamp(225px,25vw,255px);min-height:225px}
.light-flow-view .light-flow-orbit-scene{width:min(100%,252px);max-height:252px;min-height:225px}
.light-flow-view .light-flow-orbit-scene>.light-flow-orbit-core{width:74px;height:74px}
.light-flow-view .light-flow-orbit-core .light-solving-orb{width:66px!important;height:66px!important}
.light-flow-orbit-scene>button:not(.light-flow-orbit-core)>b{font-size:6.6px}
.light-flow-orbit-scene>button:not(.light-flow-orbit-core)>small{font-size:5.2px}
.light-flow-orbit-scene>button.working:not(.light-flow-orbit-core)>i{width:6px;height:6px;background:#2f9463;box-shadow:0 0 0 2px #2f946326,0 0 7px #2f946399;animation:light-flow-live-agent 1.15s ease-in-out infinite}
.light-flow-orbit-scene>button.serving:not(.light-flow-orbit-core)>i{background:#27a66b;box-shadow:0 0 0 3px #27a66b2b,0 0 10px #27a66bcc;animation-duration:.72s}
.light-flow-orbit-sector.working .outer{fill:color-mix(in srgb,var(--sector-color) 22%,#f4efe7)}
.light-flow-orbit-routes>path.working{stroke:#4e8068;stroke-width:.52;opacity:.68}
.light-flow-orbit-pulse.working{opacity:calc(.28 + var(--orbit-render-activity)*.48)}
.light-flow-orbit-scene>button.idle:not(.light-flow-orbit-core){opacity:.58;filter:saturate(.35)}
.light-flow-orbit-sector.idle{opacity:.58;filter:saturate(.3)}
.light-flow-orbit-routes>path.idle{opacity:.16}
.light-flow-orbit-scene .offline{--orbit-color:#9b958d!important;color:#9b958d!important;opacity:.3!important;filter:grayscale(1)!important;animation:none!important}
.light-flow-orbit-sector.offline path{fill:#ebe7e1!important;stroke:#aaa39a!important;animation:none!important}
.light-flow-orbit-routes>path.offline,.light-flow-orbit-pulse.offline{stroke:#aaa39a!important;opacity:.08!important;animation:none!important}
.light-flow-orbit-scene.waiting .light-flow-orbit-core{opacity:.5;filter:grayscale(.85)}
.light-flow-orbit-scene.working .light-flow-orbit-core{filter:drop-shadow(0 0 7px #4e806866)}
@keyframes light-flow-live-agent{0%,100%{transform:scale(.82);opacity:.62}50%{transform:scale(1.2);opacity:1}}
@media(prefers-reduced-motion:reduce){.light-flow-orbit-scene>button.working:not(.light-flow-orbit-core)>i{animation:none}}
.light-flow-orbit-scene.waiting .light-flow-orbit-processor-ring{animation-play-state:running;opacity:.58}
.light-flow-orbit-scene.waiting .light-flow-orbit-core{opacity:.82;filter:sepia(.2) saturate(.75) drop-shadow(0 0 5px #8b755d55)}
.light-flow-orbit-sector.working .outer{animation:light-flow-orbit-agent-breathe 2.6s ease-in-out var(--sector-delay) infinite}
.light-flow-orbit-sector.working :is(.middle,.inner){animation:light-flow-orbit-agent-depth 2.6s ease-in-out var(--sector-delay) infinite}
.light-flow-orbit-routes>path.working{stroke-dasharray:1.2 1.1;animation:light-flow-orbit-agent-route 1.15s linear infinite}
.light-flow-orbit-scene>button.working:not(.light-flow-orbit-core){background:radial-gradient(circle,#e5f3eb 0 25%,#e5f3eb99 38%,transparent 72%)}
.light-flow-orbit-scene>button.working:not(.light-flow-orbit-core)>b{color:#365e4b;text-shadow:0 0 5px #f5fbf7}
@keyframes light-flow-orbit-agent-breathe{0%,100%{opacity:.72}50%{opacity:1;filter:drop-shadow(0 0 1.7px color-mix(in srgb,var(--sector-color) 72%,transparent))}}
@keyframes light-flow-orbit-agent-depth{0%,100%{opacity:.48}50%{opacity:.9}}
@keyframes light-flow-orbit-agent-route{to{stroke-dashoffset:-12}}
@media(prefers-reduced-motion:reduce){.light-flow-orbit-sector.working :is(.outer,.middle,.inner),.light-flow-orbit-routes>path.working{animation:none}}

/* Keep the orbit/news rail bounded. Current Decision receives the wider
   reading column; the three operational cards share equal columns. */
.light-flow-view .light-flow-canvas{grid-template-columns:minmax(270px,360px) minmax(235px,1.15fr) repeat(3,minmax(190px,1fr));column-gap:clamp(12px,1.45vw,24px)}
.light-flow-view .light-flow-canvas>.light-flow-intelligence,.light-flow-view .light-flow-card{min-width:0;overflow:hidden}
.light-flow-view .light-flow-canvas>.light-flow-intelligence,.light-flow-view .light-flow-position,.light-flow-view .light-flow-risk,.light-flow-view .light-flow-control{align-self:stretch;height:auto;box-sizing:border-box}
.light-flow-view .light-flow-canvas>.light-flow-intelligence .light-flow-decision-card{height:100%}
.light-flow-view .light-flow-card{padding-inline:clamp(9px,1vw,16px)}
.light-flow-view .light-flow-control button{min-width:0;padding-inline:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@container (max-width:1050px){.light-flow-view .light-flow-canvas{grid-template-columns:minmax(220px,270px) minmax(190px,1.15fr) repeat(3,minmax(155px,1fr));column-gap:10px}}
@container (max-width:720px){.light-flow-view .light-flow-canvas{grid-template-columns:minmax(270px,1.1fr) minmax(170px,.9fr)}}
.light-flow-view .light-flow-agent-orbit{width:100%;justify-self:stretch}
.light-flow-view .light-flow-orbit-scene{margin-inline:auto}

/* Keep the risk preview out of the Symbols flex flow. The generic canvas
   section/aside rule previously won the cascade and changed this element to
   position:relative, which pushed the orbit down by the lever's full height.
   It now sits at the frame edge beside the top-aligned orbit and uses the same
   warm canvas instead of looking like a separate dark control panel. */
.light-flow-view .light-flow-symbols>.light-flow-risk-lever{--risk-accent:#7c8062;position:absolute;z-index:9;top:0;left:-18px;width:38px;padding:7px 3px 6px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#4a443d}
.light-flow-view .light-flow-symbols>.light-flow-risk-lever[data-level="conservative"]{--risk-accent:#4e715c}
.light-flow-view .light-flow-symbols>.light-flow-risk-lever[data-level="active"]{--risk-accent:#b4864d}
.light-flow-view .light-flow-symbols>.light-flow-risk-lever[data-level="aggressive"]{--risk-accent:#a45247}
.light-flow-view .light-flow-symbols>.light-flow-risk-lever input::-webkit-slider-thumb{border:2px solid #f2eee7;background:var(--risk-accent);box-shadow:0 0 0 1px color-mix(in srgb,var(--risk-accent) 58%,transparent),0 2px 6px #6e5b4328}
.light-flow-view .light-flow-symbols>.light-flow-risk-lever input:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 1px var(--risk-accent),0 0 0 4px color-mix(in srgb,var(--risk-accent) 22%,transparent),0 2px 6px #6e5b4328}
@container (max-width:1050px){.light-flow-view .light-flow-symbols>.light-flow-risk-lever{left:-16px}}
@container (max-width:720px){.light-flow-view .light-flow-symbols>.light-flow-risk-lever{left:-16px;transform:scale(.86);transform-origin:top left}}
/* The wired five-level SIM entry rail belongs to the decision chain. It shares
   Current Decision's grid cell, so it cannot move or resize the agent orbit. */
.light-flow-view .light-flow-canvas>.light-flow-risk-lever{--risk-accent:#7c8062;--risk-level:2;grid-column:2;grid-row:1;position:relative;z-index:9;top:auto;left:0;align-self:center;justify-self:start;grid-template-rows:auto 184px auto auto;width:54px;padding:9px 14px 7px 2px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#4a443d;transform:translateX(-100%)}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever header{width:38px;gap:3px}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever header b{font-size:8px}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever header span{font-size:5px}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever .light-flow-risk-lever-scale{top:39px;left:100%;grid-template-rows:auto repeat(5,1fr) auto;width:16px;height:166px}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever .light-flow-risk-lever-scale:before{inset:13px 5px;border-radius:5px}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever input{top:122px;left:100%;width:152px;height:30px}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever .light-flow-risk-lever-scale:before{background:linear-gradient(to top,#557865 0 20%,#728568 20% 40%,#9b9567 40% 60%,#b4864d 60% 80%,#a45247 80%)}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever[data-level="low"],.light-flow-view .light-flow-canvas>.light-flow-risk-lever[data-level="guarded"]{--risk-accent:#4e715c}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever[data-level="active"]{--risk-accent:#b4864d}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever[data-level="aggressive"]{--risk-accent:#a45247}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever input::-webkit-slider-thumb{width:15px;height:30px;margin-top:-10px;border:2px solid #f2eee7;border-radius:6px;background:var(--risk-accent);box-shadow:0 0 0 1px color-mix(in srgb,var(--risk-accent) 58%,transparent),0 3px 8px #6e5b4340;transform:none}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever input:disabled{cursor:not-allowed;opacity:.5}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever output{width:38px;max-width:38px;font-size:6px;text-align:center}
.light-flow-view .light-flow-canvas>.light-flow-risk-lever>small{width:38px;font-size:4.5px;text-align:center}
@container (max-width:1050px){.light-flow-view .light-flow-canvas>.light-flow-risk-lever{left:0}}
@container (max-width:720px){.light-flow-view .light-flow-canvas>.light-flow-risk-lever{left:0;width:46px;padding-right:10px;transform:translateX(-100%);transform-origin:center right}.light-flow-view .light-flow-canvas>.light-flow-risk-lever header,.light-flow-view .light-flow-canvas>.light-flow-risk-lever output,.light-flow-view .light-flow-canvas>.light-flow-risk-lever>small{width:34px}}
.light-flow-risk[data-source="agent"]>p{color:#9a6b20}.light-flow-risk[data-source="broker"]>p{color:var(--flow-green)}.light-flow-risk[data-source="none"],.light-flow-risk[data-source="inactive"]{border-color:#a14e42}.light-flow-risk[data-source="none"]>i,.light-flow-risk[data-source="inactive"]>i{background:#a14e42}.light-flow-risk[data-source="none"]>p,.light-flow-risk[data-source="inactive"]>p{color:#a14e42}

/* Broker executions are durable records, separate from predictive agent signals. */
#lightFlowLastFill.buy{color:#347255}#lightFlowLastFill.sell{color:#a3483f}
.light-flow-fill line{stroke-width:.85;stroke-dasharray:1.5 1.5}.light-flow-fill circle{stroke:#f8f5ef;stroke-width:1}.light-flow-fill-arrow{stroke:#f8f5ef;stroke-width:.65;stroke-linejoin:round}.light-flow-fill text{font:900 7px/1 var(--ui);paint-order:stroke;stroke:#f8f5ef;stroke-width:2.5px}.light-flow-fill.buy :is(line,circle){stroke:#347b59}.light-flow-fill.buy :is(circle,.light-flow-fill-arrow){fill:#49a977}.light-flow-fill.buy text{fill:#26704e}.light-flow-fill.sell :is(line,circle){stroke:#a7473f}.light-flow-fill.sell :is(circle,.light-flow-fill-arrow){fill:#c85b50}.light-flow-fill.sell text{fill:#9b3d35}.light-flow-fill.exit :is(line,circle){stroke:#9b6b25}.light-flow-fill.exit :is(circle,.light-flow-fill-arrow){fill:#c08a36}.light-flow-fill.exit text{fill:#805719}
.light-flow-journal-page{padding:18px 22px 28px;color:#302d29}.light-flow-journal-page>header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:15px;border-bottom:1px solid #bdb3a7}.light-flow-journal-page>header small{color:#4e715c;font:900 7px/1 var(--ui);letter-spacing:.12em}.light-flow-journal-page>header h2{margin:5px 0 3px;font:900 18px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase}.light-flow-journal-page>header p{margin:0;color:#756d64;font:700 8px/1.35 var(--ui)}.light-flow-journal-page>header>b{color:#4e715c;font:900 9px/1 var(--ui);white-space:nowrap}
.light-flow-journal-columns,.light-flow-journal-list article{display:grid;grid-template-columns:118px 80px 72px 45px 90px minmax(190px,1fr) 96px;align-items:center;gap:10px}.light-flow-journal-columns{padding:11px 10px;border-bottom:1px solid #bdb3a7;color:#766d63;font:900 7px/1 var(--ui);letter-spacing:.07em;text-transform:uppercase}.light-flow-journal-list{max-height:calc(100vh - 245px);overflow:auto}.light-flow-journal-list>p{padding:28px;color:#7c7369;font:700 9px/1.4 var(--ui);text-align:center}.light-flow-journal-list article{min-height:42px;padding:7px 10px;border-bottom:1px solid #d7cfc5;font:800 8px/1.2 var(--ui);cursor:pointer}.light-flow-journal-list article:hover{background:#f4eee6}.light-flow-journal-list article time,.light-flow-journal-list article code{color:#756d64;font:700 7px/1 var(--ui)}.light-flow-journal-list article>strong{font-size:9px}.light-flow-journal-list article.buy>strong{color:#347255}.light-flow-journal-list article.sell>strong{color:#a3483f}.light-flow-journal-list article>p{display:grid;gap:3px;min-width:0;margin:0}.light-flow-journal-list article>p b,.light-flow-journal-list article>p small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.light-flow-journal-list article>p small{color:#776f66;font-weight:700}
@container (max-width:850px){.light-flow-journal-columns,.light-flow-journal-list article{grid-template-columns:96px 65px 60px 34px 75px minmax(120px,1fr)}.light-flow-journal-columns span:last-child,.light-flow-journal-list article code{display:none}}

/* Unified Risk workspace, operational histories, and live Scanner activity. */
.light-flow-profit-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:19px}.light-flow-profit-fields label{display:grid;gap:6px;color:#675f56;font:800 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-flow-profit-fields label.wide{grid-column:span 2}.light-flow-profit-fields input{width:100%;height:34px;box-sizing:border-box;padding:0 9px;border:1px solid #b8ada0;border-radius:4px;background:#fffaf4;color:#2d312d;font:800 11px/1 var(--ui);font-variant-numeric:tabular-nums}.light-flow-risk-panel.profit .light-trade-hours-status{display:block;margin-top:10px}
.light-profit-explainer{display:grid;gap:5px;margin:12px 0;padding:11px 12px;border-left:3px solid #477461;background:rgba(71,116,97,.07);color:#4f4a43;font:700 9px/1.45 var(--ui)}.light-profit-explainer b{color:#315f4e;font:900 9px/1 var(--ui);letter-spacing:.08em}.light-profit-explainer span{display:block}.light-profit-explainer strong{color:#273e35;font-weight:900}
.light-operation-history{margin-top:20px;border:1px solid #c8beb2;border-radius:6px;background:#f8f4ee;overflow:hidden}.light-operation-history>header,.light-flow-agent-log>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 13px;border-bottom:1px solid #d3c9be}.light-operation-history>header b,.light-flow-agent-log>header b{font:900 9px/1 var(--ui);letter-spacing:.12em}.light-operation-history>header span,.light-flow-agent-log>header span{color:#766d64;font:700 8px/1 var(--ui)}.light-operation-history>div{max-height:220px;overflow:auto}.light-operation-history article{display:grid;grid-template-columns:88px 130px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 13px;border-bottom:1px solid #e0d8ce;font:700 8px/1.25 var(--ui)}.light-operation-history article time{color:#786f66;font-variant-numeric:tabular-nums}.light-operation-history article b{letter-spacing:.07em}.light-operation-history article span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.light-operation-history article em{color:#8a795e}.light-operation-history article.ok b{color:#347255}.light-operation-history article.error b{color:#a3483f}.light-operation-history>div>p{padding:14px;color:#786f66;font:700 8px/1.3 var(--ui)}
.light-flow-scanner-page{padding:18px 22px 28px;color:#302d29}.light-flow-scanner-page>header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:15px;border-bottom:1px solid #bdb3a7}.light-flow-scanner-page>header small{color:#4e715c;font:900 7px/1 var(--ui);letter-spacing:.12em}.light-flow-scanner-page>header h2{margin:5px 0 3px;font:900 20px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase}.light-flow-scanner-page>header p{margin:0;color:#756d64;font:700 8px/1.35 var(--ui)}.light-flow-scanner-page>header>b{font:900 9px/1 var(--ui);letter-spacing:.1em}.light-flow-scanner-page>header>b.live{color:#347255}.light-flow-scanner-page>header>b.warn{color:#a3483f}.light-flow-agent-work{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:10px;margin-top:14px}.light-flow-agent-work>p{grid-column:1/-1;padding:30px;text-align:center}.light-flow-agent-work article{display:grid;grid-template-columns:7px minmax(0,1fr) auto;gap:10px;min-width:0;padding:12px;border:1px solid #c8beb2;border-radius:6px;background:#f8f4ee}.light-flow-agent-work article>i{width:7px;height:7px;margin-top:2px;border-radius:50%;background:#a69d93}.light-flow-agent-work article.live>i{background:#45a875;box-shadow:0 0 0 4px #45a87518}.light-flow-agent-work article.offline{opacity:.55}.light-flow-agent-work article header{display:flex;justify-content:space-between;gap:8px}.light-flow-agent-work article header b{font:900 9px/1 var(--ui);letter-spacing:.08em}.light-flow-agent-work article header strong{color:#746b62;font:900 7px/1 var(--ui)}.light-flow-agent-work article p{margin:6px 0 4px;font:800 8px/1 var(--ui);text-transform:uppercase}.light-flow-agent-work article small{display:block;overflow:hidden;color:#756d64;font:700 8px/1.25 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-flow-agent-work article aside{display:grid;align-content:start;justify-items:end;gap:6px;white-space:nowrap}.light-flow-agent-work article aside b{font:900 8px/1 var(--ui)}.light-flow-agent-work article.bullish aside b{color:#347255}.light-flow-agent-work article.bearish aside b{color:#a3483f}.light-flow-agent-work article aside span{color:#756d64;font:700 7px/1 var(--ui)}.light-flow-agent-log{margin-top:14px;border:1px solid #c8beb2;border-radius:6px;background:#f8f4ee;overflow:hidden}.light-flow-agent-log>div{max-height:220px;overflow:auto}.light-flow-agent-log article{display:grid;grid-template-columns:74px 90px minmax(0,1fr) auto;gap:10px;padding:8px 12px;border-bottom:1px solid #e0d8ce;font:700 8px/1.2 var(--ui)}.light-flow-agent-log time{color:#786f66;font-variant-numeric:tabular-nums}.light-flow-agent-log em{color:#8a795e}
.light-flow-journal-columns,.light-flow-journal-list article{grid-template-columns:110px 72px 64px 38px 78px 88px minmax(150px,1fr) 82px}.light-flow-journal-list .trade-pnl{font-variant-numeric:tabular-nums}.light-flow-journal-list .trade-pnl.positive{color:#347255}.light-flow-journal-list .trade-pnl.negative{color:#a3483f}.light-flow-journal-list .trade-pnl.open{color:#8b8177;font-size:7px}
@container (max-width:900px){.light-flow-agent-work{grid-template-columns:repeat(2,minmax(200px,1fr))}.light-flow-profit-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.light-flow-journal-columns,.light-flow-journal-list article{grid-template-columns:92px 62px 56px 32px 68px 76px minmax(110px,1fr)}.light-flow-journal-columns span:last-child,.light-flow-journal-list article code{display:none}}
@container (max-width:620px){.light-flow-agent-work{grid-template-columns:1fr}.light-flow-profit-fields{grid-template-columns:1fr}.light-operation-history article{grid-template-columns:70px 100px minmax(0,1fr)}.light-operation-history article em{display:none}}

/* Agents is an operational decision surface. Health is deliberately a small
   dot; findings, influence and execution gates carry the visual hierarchy. */
.light-flow-agent-gates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.light-flow-agent-gates>p{grid-column:1/-1;padding:18px;text-align:center}.light-agent-gate-card{overflow:hidden;border:1px solid #c8beb2;border-radius:6px;background:#f8f4ee}.light-agent-gate-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #d8cfc4}.light-agent-gate-card>header div{display:grid;gap:4px}.light-agent-gate-card>header small{color:#746b62;font:900 7px/1 var(--ui);letter-spacing:.1em}.light-agent-gate-card>header b{font:900 12px/1 var(--ui);letter-spacing:.07em}.light-agent-gate-card.bullish>header b{color:#347255}.light-agent-gate-card.bearish>header b{color:#a3483f}.light-agent-gate-card>header strong{padding:5px 7px;border-radius:3px;font:900 7px/1 var(--ui);letter-spacing:.09em}.light-agent-gate-card>header strong.pass{background:#dceae2;color:#2d6a4f}.light-agent-gate-card>header strong.wait{background:#eee5da;color:#91633d}.light-agent-gate-card>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 10px}.light-agent-gate-card>div p{display:grid;grid-template-columns:minmax(76px,.72fr) 34px minmax(0,1.6fr);gap:5px;align-items:center;margin:0;padding:6px 4px;border-bottom:1px solid #e3dbd2;font-size:7px}.light-agent-gate-card>div p:nth-last-child(-n+2){border-bottom:0}.light-agent-gate-card>div small{font:800 6.5px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase}.light-agent-gate-card>div b{font:900 6.5px/1 var(--ui)}.light-agent-gate-card>div .pass b{color:#347255}.light-agent-gate-card>div .wait b{color:#a36e40}.light-agent-gate-card>div span{overflow:hidden;color:#665f57;font:700 6.5px/1.15 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-agent-gate-card>footer{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;padding:8px 12px;background:#eee8df;font:800 7px/1.2 var(--ui)}.light-agent-gate-card.ready>footer{background:#dfece4;color:#285c46}.light-agent-gate-card>footer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.light-flow-agent-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:10px;align-items:start;margin-top:12px}.light-flow-agent-dashboard .light-flow-agent-work{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));margin-top:0}.light-flow-agent-work article{cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.light-flow-agent-work article:hover,.light-flow-agent-work article.selected{border-color:#6c8878;background:#fbf8f3;box-shadow:0 0 0 2px rgba(72,112,91,.09)}.light-flow-agent-work article:focus-visible{outline:2px solid #477461;outline-offset:1px}.light-flow-agent-work article.waiting>i{background:#bd9055}.light-flow-agent-work article.error>i{background:#b44e44;box-shadow:0 0 0 4px #b44e4418}.light-flow-agent-work article footer{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.light-flow-agent-work article footer span{padding:3px 5px;border-radius:2px;background:#ece6de;color:#6d655d;font:800 6px/1 var(--ui);letter-spacing:.04em}.light-flow-agent-work article aside span{font-size:8px;font-weight:900}
.light-flow-agent-inspector{position:sticky;top:8px;display:grid;gap:10px;min-width:0;padding:13px;border:1px solid #bdb3a7;border-radius:6px;background:#f8f4ee}.light-flow-agent-inspector>header{display:flex;align-items:start;justify-content:space-between;gap:8px;padding-bottom:9px;border-bottom:1px solid #d6cdc2}.light-flow-agent-inspector>header div{display:grid;gap:5px}.light-flow-agent-inspector>header small,.light-flow-agent-inspector section>small{color:#756d64;font:900 6.5px/1 var(--ui);letter-spacing:.1em}.light-flow-agent-inspector>header h3{margin:0;font:900 12px/1 var(--ui);letter-spacing:.08em}.light-flow-agent-inspector>header>i{width:8px;height:8px;border-radius:50%;background:#b88a4f}.light-flow-agent-inspector>header>i.fresh{background:#45a875;box-shadow:0 0 0 4px #45a87518}.light-flow-agent-inspector>header>i.offline{background:#b44e44}.light-flow-agent-inspector .finding{display:grid;gap:6px;padding:10px;border-left:3px solid #9a8061;background:#eee8df}.light-flow-agent-inspector .finding b{font:900 12px/1 var(--ui)}.light-flow-agent-inspector .finding b.bullish{color:#347255}.light-flow-agent-inspector .finding b.bearish{color:#a3483f}.light-flow-agent-inspector .finding span{color:#5f5851;font:700 8px/1.35 var(--ui)}.light-flow-agent-inspector dl{display:grid;grid-template-columns:1fr 1fr;margin:0;border:1px solid #dbd2c8}.light-flow-agent-inspector dl div{display:grid;gap:4px;padding:8px;border-right:1px solid #dbd2c8;border-bottom:1px solid #dbd2c8}.light-flow-agent-inspector dl div:nth-child(2n){border-right:0}.light-flow-agent-inspector dl div:nth-last-child(-n+2){border-bottom:0}.light-flow-agent-inspector dt{color:#786f66;font:800 6px/1 var(--ui);letter-spacing:.07em;text-transform:uppercase}.light-flow-agent-inspector dd{margin:0;font:900 7px/1.2 var(--ui)}.light-flow-agent-inspector .evidence{display:grid;gap:5px}.light-flow-agent-inspector .evidence p{margin:0;padding:6px 7px;border-left:2px solid #b8aa99;background:#f0ebe4;color:#544f49;font:700 7px/1.25 var(--ui)}.light-flow-agent-inspector .performance{display:grid;gap:7px}.light-flow-agent-inspector .performance>div{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #d8cfc4}.light-flow-agent-inspector .performance p{display:grid;gap:4px;margin:0;padding:7px 3px;border-right:1px solid #d8cfc4;text-align:center}.light-flow-agent-inspector .performance p:last-child{border:0}.light-flow-agent-inspector .performance b{font:900 9px/1 var(--ui)}.light-flow-agent-inspector .performance span{color:#756d64;font:700 5.5px/1.1 var(--ui)}.light-flow-agent-inspector .performance footer{color:#756d64;font:700 6.5px/1.25 var(--ui)}
.light-social-coverage{display:grid;gap:8px;padding:9px;border:1px solid #cfc5b9;background:#f3eee7}.light-social-coverage>header{display:flex;align-items:center;justify-content:space-between;gap:7px}.light-social-coverage>header div{display:grid;gap:4px}.light-social-coverage>header b{font:900 8px/1 var(--ui);letter-spacing:.05em}.light-social-coverage>header>span{color:#347255;font:900 6px/1 var(--ui)}.light-social-coverage .summary{margin:0;color:#5d5750;font:700 7px/1.35 var(--ui)}.light-social-coverage .channels,.light-social-coverage .symbols{display:flex;flex-wrap:wrap;gap:4px}.light-social-coverage .channels span{padding:4px 5px;border-bottom:1px solid #9d866b;color:#665d54;font:900 5.5px/1 var(--ui);letter-spacing:.06em}.light-social-coverage .symbols button{padding:4px 6px;border:1px solid #bdafa0;border-radius:9px;background:#faf7f2;color:#354c42;font:800 6.5px/1 var(--ui)}.light-social-coverage .symbols button i{color:#9a4a42;font-style:normal}.light-social-coverage .editor{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px}.light-social-coverage .editor input{min-width:0;height:27px;padding:0 7px;border:1px solid #b9ada0;border-radius:3px;background:#fffdf9;color:#2e3b35;font:700 7px/1 var(--ui)}.light-social-coverage .editor button{padding:0 8px;border:1px solid #697f74;border-radius:3px;background:#edf3ee;color:#284b3d;font:900 6px/1 var(--ui)}.light-social-coverage>footer{display:grid;gap:3px;padding-top:7px;border-top:1px solid #d8cec2}.light-social-coverage>footer b{font:900 6px/1 var(--ui);letter-spacing:.08em}.light-social-coverage>footer span{color:#655e57;font:700 6.5px/1.3 var(--ui)}
.light-flow-agent-log>header{align-items:center}.light-flow-agent-log>header>div{display:grid;gap:4px}.light-flow-agent-log>header nav{display:flex;gap:4px}.light-flow-agent-log>header button{padding:5px 8px;border:0;border-bottom:2px solid transparent;background:transparent;color:#6e665e;font:800 7px/1 var(--ui);text-transform:uppercase}.light-flow-agent-log>header button.active{border-bottom-color:#987342;color:#3e3a35}.light-flow-agent-log article.risk b,.light-flow-agent-log article.error b{color:#a3483f}.light-flow-agent-log article.execution b{color:#347255}
@container (max-width:1080px){.light-flow-agent-dashboard{grid-template-columns:minmax(0,1fr) 260px}.light-agent-gate-card>div{grid-template-columns:1fr}.light-agent-gate-card>div p:nth-last-child(-n+2){border-bottom:1px solid #e3dbd2}.light-agent-gate-card>div p:last-child{border-bottom:0}}
@container (max-width:760px){.light-flow-agent-gates,.light-flow-agent-dashboard{grid-template-columns:1fr}.light-flow-agent-inspector{position:static}.light-flow-agent-log>header{align-items:flex-start;flex-direction:column}.light-flow-agent-log>header nav{flex-wrap:wrap}}

/* Persistent engine diagnostics lives inside Positions Control because the
   streamlined WinUI shell intentionally removes the legacy floating Health window. */
.light-flow-diagnostics-page{padding:18px 22px 28px;color:#302d29}.light-flow-diagnostics-page>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid #bdb3a7}.light-flow-diagnostics-page>header small{color:#4e715c;font:900 7px/1 var(--ui);letter-spacing:.12em}.light-flow-diagnostics-page>header h2{margin:5px 0 3px;font:900 20px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase}.light-flow-diagnostics-page>header p{margin:0;color:#756d64;font:700 8px/1.35 var(--ui)}.light-flow-diagnostics-page>header>div:last-child{display:flex;align-items:center;gap:8px}.light-flow-diagnostics-page>header button,.light-diagnostics-log nav button{height:28px;padding:0 11px;border:1px solid #a99e91;border-radius:4px;background:#f7f2eb;color:#3f4942;font:900 7px/1 var(--ui);letter-spacing:.07em;text-transform:uppercase}.light-flow-diagnostics-page>header b{color:#347255;font:900 8px/1 var(--ui);letter-spacing:.08em}.light-flow-diagnostics-page>header b.error{color:#a3483f}.light-diagnostics-health{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:9px;margin:14px 0}.light-diagnostics-health>p{grid-column:1/-1}.light-diagnostics-health article{display:grid;grid-template-columns:8px 1fr auto;gap:5px 8px;align-items:center;min-width:0;padding:11px;border:1px solid #c8beb2;border-radius:5px;background:#f8f4ee}.light-diagnostics-health article>i{grid-row:1/3;width:7px;height:7px;border-radius:50%;background:#47906b;box-shadow:0 0 0 3px #47906b1a}.light-diagnostics-health article.warn>i{background:#b18443}.light-diagnostics-health article.error>i{background:#b34b41}.light-diagnostics-health article small{font:900 7px/1 var(--ui);letter-spacing:.1em;text-transform:uppercase}.light-diagnostics-health article b{font:900 8px/1 var(--ui);text-align:right}.light-diagnostics-health article span{grid-column:2/4;overflow:hidden;color:#736b62;font:700 7px/1.3 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-diagnostics-supervisor{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:9px;margin-bottom:12px}.light-diagnostics-supervisor article{display:grid;grid-template-columns:auto auto;gap:6px 12px;padding:10px 12px;border-left:3px solid #8f8172;background:#eee7dd}.light-diagnostics-supervisor article>b,.light-diagnostics-supervisor article>strong{font:900 8px/1 var(--ui);letter-spacing:.08em}.light-diagnostics-supervisor article>strong{justify-self:end}.light-diagnostics-supervisor article>strong.bullish{color:#347255}.light-diagnostics-supervisor article>strong.bearish{color:#a3483f}.light-diagnostics-supervisor article>span{grid-column:1/-1;color:#70675e;font:700 8px/1.25 var(--ui)}.light-diagnostics-log{border:1px solid #c8beb2;border-radius:6px;background:#f8f4ee;overflow:hidden}.light-diagnostics-log>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 12px;border-bottom:1px solid #d3c9be}.light-diagnostics-log>header>div{display:grid;gap:3px}.light-diagnostics-log>header b{font:900 9px/1 var(--ui);letter-spacing:.12em}.light-diagnostics-log>header span{color:#766d64;font:700 7px/1 var(--ui)}.light-diagnostics-log nav{display:flex;gap:4px}.light-diagnostics-log nav button{height:23px}.light-diagnostics-log nav button.active{border-color:#4e715c;background:#e4eee7;color:#285a43}.light-diagnostics-columns,.light-diagnostics-log article{display:grid;grid-template-columns:118px 58px 60px 115px 155px minmax(220px,1fr);align-items:center;gap:9px}.light-diagnostics-columns{padding:8px 11px;border-bottom:1px solid #d3c9be;color:#766d64;font:900 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-diagnostics-log>#lightDiagnosticsRows{max-height:calc(100vh - 350px);min-height:190px;overflow:auto}.light-diagnostics-log article{min-height:34px;padding:6px 11px;border-bottom:1px solid #e0d8ce;font:700 8px/1.2 var(--ui)}.light-diagnostics-log article.warn{background:#f7f0e2}.light-diagnostics-log article.error{background:#f7e8e5}.light-diagnostics-log article time{color:#766d64;font-variant-numeric:tabular-nums}.light-diagnostics-log article>b{color:#4e715c;font-size:7px}.light-diagnostics-log article.warn>b{color:#966928}.light-diagnostics-log article.error>b{color:#a3483f}.light-diagnostics-log article strong,.light-diagnostics-log article em,.light-diagnostics-log article p{overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.light-diagnostics-log article em{color:#756d64;font-style:normal}.light-diagnostics-log article em.bullish{color:#347255}.light-diagnostics-log article em.bearish{color:#a3483f}.light-diagnostics-log>#lightDiagnosticsRows>p{padding:22px;color:#766d64;font:700 8px/1.3 var(--ui);text-align:center}@container (max-width:900px){.light-diagnostics-health{grid-template-columns:repeat(3,1fr)}.light-diagnostics-columns,.light-diagnostics-log article{grid-template-columns:100px 50px 48px 92px 120px minmax(160px,1fr)}}@container (max-width:650px){.light-flow-diagnostics-page>header{align-items:flex-start;flex-direction:column}.light-diagnostics-health{grid-template-columns:repeat(2,1fr)}.light-diagnostics-supervisor{grid-template-columns:1fr}.light-diagnostics-columns,.light-diagnostics-log article{grid-template-columns:88px 45px 75px minmax(130px,1fr)}.light-diagnostics-columns span:nth-child(3),.light-diagnostics-columns span:nth-child(5),.light-diagnostics-log article>span,.light-diagnostics-log article>em{display:none}}

/* Per-guard SIM controls and visible Agent Auto entry threshold. */
.light-flow-guard-list li{align-items:center}.light-flow-guard-list button{min-width:52px;height:23px;border:1px solid var(--flow-green);border-radius:4px;background:#e4efe7;color:#285a43;font:900 7px/1 var(--ui);letter-spacing:.08em}.light-flow-guard-list button[aria-pressed="false"]{border-color:var(--flow-red);background:#f5e4e1;color:#963f35}.light-flow-guard-list button:disabled{border-color:#aca298;background:#e9e3dc;color:#766e65}.light-flow-guard-list li.locked b{font-size:7px;letter-spacing:.06em}.light-flow-agent-threshold{display:grid;justify-items:end;gap:4px;margin-left:auto}.light-flow-agent-threshold>b{color:#2f6e51;font:900 12px/1 var(--ui);letter-spacing:.08em}.light-flow-agent-threshold>span{max-width:300px;color:#756d64;font:700 7px/1.25 var(--ui);text-align:right}.light-flow-risk-panel.guard header p span{color:#2f6e51;font-weight:900}
.light-entry-policy-mode{margin-top:16px}.light-flow-risk-panel.entry-policy .light-flow-risk-fields{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}.light-entry-policy-result{margin-top:12px;padding:10px 11px;border-left:3px solid var(--flow-green);background:#e5eee7;color:#315640;font:800 9px/1.4 var(--ui);letter-spacing:.04em}.light-flow-risk-panel.entry-policy>p{margin-top:10px}@container (max-width:720px){.light-flow-risk-panel.entry-policy .light-flow-risk-fields{grid-template-columns:1fr}}
.light-flow-agent-work article.offline>i,.light-flow-agent-inspector>header>i.offline{background:#9e968c;box-shadow:none}.light-flow-agent-inspector>header>i.error{background:#b44e44;box-shadow:0 0 0 4px #b44e4418}

/* Positions is an always-on trading surface. Keep one currently serving route
   visibly moving, but do not composite a dozen ambient agent animations every
   frame. The center canvas owns the processor motion at a bounded frame rate. */
.light-flow-orbit-processor-ring,.light-flow-orbit-sector.working :is(.outer,.middle,.inner),.light-flow-orbit-sector.active .outer,.light-flow-orbit-scene>button.working:not(.light-flow-orbit-core)>i{animation:none!important}
.light-flow-orbit-routes>path.working:not(.serving){animation:none!important}
.light-flow-orbit-routes>path.serving{animation:light-flow-orbit-agent-route 1.5s steps(12,end) infinite!important}
.light-flow-orbit-pulse{filter:none!important}

.light-flow-news>header #lightFlowNewsAiSmart{height:17px;padding:0 5px;border:1px solid #a99e91;border-radius:9px;background:transparent;color:#786f65;font:900 6px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase;cursor:pointer}.light-flow-news>header #lightFlowNewsAiSmart[aria-pressed="true"]{border-color:#4e715c;background:#dfeae3;color:#315f49}.light-flow-news>header #lightFlowNewsAiSmart.rewriting{animation:lightFlowNewsSmartPulse 1s ease-in-out infinite}.light-flow-news>header #lightFlowNewsAiSmart.degraded{border-color:#a14e42;color:#963e35}@keyframes lightFlowNewsSmartPulse{50%{opacity:.52}}
.light-flow-news-pace{display:inline-flex!important;align-items:center!important;gap:0!important;height:17px;border:1px solid #bdb3a7;border-radius:9px;overflow:hidden}.light-flow-news-pace button{height:15px;padding:0 4px;border:0;border-left:1px solid #d2c9bf;background:transparent;color:#81776c;font:900 5.5px/1 var(--ui);letter-spacing:.04em;text-transform:uppercase;cursor:pointer}.light-flow-news-pace button:first-child{border-left:0}.light-flow-news-pace button[aria-pressed="true"]{background:#4e715c;color:#fff}.light-flow-news-pace button:disabled{opacity:.5}
.light-flow-news-filter{display:inline-flex!important;align-items:center!important;gap:0!important;height:17px;border-bottom:1px solid #bdb3a7}.light-flow-news-filter button{height:16px;padding:0 4px;border:0;background:transparent;color:#81776c;font:900 5.5px/1 var(--ui);letter-spacing:.05em;text-transform:uppercase;cursor:pointer}.light-flow-news-filter button[aria-pressed="true"]{box-shadow:inset 0 -2px #4e715c;color:#315f49}

/* Market news header: one quiet title row and one consistent control rail. */
.light-flow-news>header{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:6px}.light-flow-news-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.light-flow-news-title>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.light-flow-news-title>em{flex:0 0 auto;color:#8b8176;font:800 6px/1 var(--ui);font-style:normal;white-space:nowrap}.light-flow-news-toolbar{display:flex;align-items:center;gap:5px;min-width:0}.light-flow-news-toolbar>small[hidden]{display:none!important}.light-flow-news-toolbar :is(.light-flow-news-filter,.light-flow-news-pace){display:inline-flex!important;align-items:center!important;gap:0!important;height:20px;box-sizing:border-box;overflow:hidden;border:1px solid #bdb3a7;border-radius:4px;background:#f7f2eb}.light-flow-news-toolbar :is(.light-flow-news-filter,.light-flow-news-pace) button{min-width:38px;height:18px;box-sizing:border-box;padding:0 5px;border:0;border-left:1px solid #d2c9bf;background:transparent;color:#756c62;font:900 6px/1 var(--ui);letter-spacing:.04em;text-transform:uppercase;cursor:pointer}.light-flow-news-toolbar :is(.light-flow-news-filter,.light-flow-news-pace) button:first-child{border-left:0}.light-flow-news-toolbar :is(.light-flow-news-filter,.light-flow-news-pace) button[aria-pressed="true"]{box-shadow:none;background:#4e715c;color:#fff}.light-flow-news-toolbar #lightFlowNewsAiSmart{min-width:55px;height:20px;box-sizing:border-box;padding:0 7px;border:1px solid #a99e91;border-radius:4px;background:#f7f2eb;color:#756c62;font:900 6px/1 var(--ui);letter-spacing:.04em}.light-flow-news-toolbar #lightFlowNewsAiSmart[aria-pressed="true"]{border-color:#4e715c;background:#dfeae3;color:#315f49}

/* Account summary readability at the compact rail width. */
.light-flow-view .light-flow-lower>.light-flow-summary h3{font-size:10px}
.light-flow-view .light-flow-lower>.light-flow-summary h3 small{font-size:7px}
.light-flow-view .light-flow-lower>.light-flow-summary dd{font-size:clamp(12px,1.35cqw,16px);line-height:1.05}
.light-flow-view .light-flow-lower>.light-flow-summary dt{font-size:7.5px;line-height:1.1}
.light-flow-view .light-flow-lower>.light-flow-summary .light-flow-summary-cell>dl{gap:8px}
.light-flow-summary-positions h4{font-size:8px}
.light-flow-summary-positions>div>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:5px 7px}
.light-flow-summary-positions b{max-width:none;font-size:9px}
.light-flow-summary-positions span{font-size:8px;text-align:right}
.light-flow-summary-positions p{font-size:8px}

/* Clear news rows: plain severity labels and a reserved source line. */
.light-flow-news{--news-body-size:11px;--news-source-size:7px}
.light-flow-news-list{display:block;grid-auto-rows:unset;row-gap:0}
.light-flow-news-list article{display:grid;grid-template-rows:auto auto auto;gap:5px;width:100%;height:auto;min-height:0;padding:9px 4px 12px 9px;overflow:hidden;box-sizing:border-box;contain:layout paint}
.light-flow-news-list article .impact,.light-flow-news-list article.high .impact{min-width:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#756c62;font-weight:800}
.light-flow-news-list article.high .impact{color:#963e35}
.light-flow-news-list article.trade-entry{background:linear-gradient(90deg,#e4eee7 0,#f7f3ec 72%)}
.light-flow-news-list article.trade-entry.bearish{background:linear-gradient(90deg,#f1e4e1 0,#f7f3ec 72%)}
.light-flow-news-list article.trade-entry .impact{color:#35654d;font-weight:900;letter-spacing:.08em}
.light-flow-news-list article.trade-entry.bearish .impact{color:#91443c}
.light-flow-news-story>p{font-weight:700;line-height:1.34}
.light-flow-news-list article>footer{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto auto;align-items:center;column-gap:5px;min-height:12px;margin-top:2px}
.light-flow-news-list article footer span{display:block;min-width:0;overflow:hidden;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.light-flow-news-list article footer :is(strong,em){margin:0;white-space:nowrap}
.light-flow-news-actions{display:inline-flex!important;align-items:center;gap:2px!important;overflow:visible!important}.light-flow-news-actions button{display:grid;place-items:center;width:14px;height:14px;padding:0;border:0;border-radius:50%;background:transparent;color:#746b61;font:900 7px/1 var(--ui);cursor:pointer}.light-flow-news-actions button:hover,.light-flow-news-actions button:focus-visible{outline:0;background:#dfeae3;color:#315f49}

/* Combined recap and AI news filter. */
.light-flow-news-toolbar .light-flow-news-filter button[data-light-flow-news-filter="recap"]{min-width:82px}
.light-flow-news-toolbar .light-flow-news-filter button[data-light-flow-news-filter="ai"]{display:none}

/* Light News Desk: four clean, story-first rows with a retained scroll history. */
.light-flow-news{--news-body-size:12px;--news-meta-size:7px;--news-source-size:7px;flex-basis:330px;min-height:290px}
.light-flow-news-list{scroll-snap-type:y proximity}
.light-flow-news-list article{grid-template-rows:auto minmax(0,1fr) auto;gap:5px;min-height:86px;padding:9px 6px 9px 10px;scroll-snap-align:start}
.light-flow-news-list article>header{align-items:center;min-height:10px}
.light-flow-news-list article>header .impact{font-size:6.5px;letter-spacing:.08em}
.light-flow-news-list article>header .impact{white-space:nowrap}
.light-flow-news-list article>header b{font-size:6.5px}
.light-flow-news-list article>header time{margin-left:auto;font-size:7px}
.light-flow-news-chevron{display:grid;place-items:center;width:10px;color:#9b9186;font:500 16px/8px var(--ui);font-style:normal}
.light-flow-news-story{display:grid;align-content:center;gap:3px}
.light-flow-news-story>p{font-size:var(--news-body-size);font-weight:700;line-height:1.25;-webkit-line-clamp:2}
.light-flow-news-story>small{display:-webkit-box;overflow:hidden;color:#71685f;font:650 7.5px/1.25 var(--ui);-webkit-box-orient:vertical;-webkit-line-clamp:1}
.light-flow-news-list article>footer{grid-template-columns:minmax(0,1fr) auto auto auto auto auto;column-gap:5px;margin-top:0}
.light-flow-news-list article footer em.confirmation{padding:0;background:transparent;color:#8a6c49;font-size:6px;letter-spacing:.04em}
.light-flow-news-list article footer em.confirmation.confirmed{color:#3f7258}
.light-flow-news-list article footer em.confirmation.official{color:#785723}
.light-flow-news-list article.news-desk .impact{color:#315f49;font-weight:900}
.light-flow-news-list article.news-desk.ai .impact{color:#705b43}

/* Custom Agent Auto target ratio (for example 1 : 2.5). */
.light-risk-reward-custom{display:grid;grid-template-columns:auto 22px minmax(48px,72px);align-items:center;gap:5px}.light-risk-reward-custom>span{color:#675f56;font:800 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-risk-reward-custom>b{font:900 10px/1 var(--ui);text-align:right}.light-risk-reward-custom>input{height:32px;box-sizing:border-box;border:1px solid #b8ada0;border-radius:4px;background:#fffaf4;color:#283c33;text-align:center;font:900 10px/1 var(--ui)}.light-risk-reward-custom>input:focus{border-color:var(--flow-green);outline:1px solid #47746155}

/* Profit-protection shadow lab */
.light-flow-risk-panel.light-profit-lab{grid-column:1/-1}.light-profit-lab-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px;padding:10px 12px;border-left:3px solid var(--flow-green);background:#3f76510b}.light-profit-lab-summary strong{font:900 12px/1 var(--ui);letter-spacing:.06em}.light-profit-lab-summary span,.light-profit-lab footer{color:#6f675f;font:700 8px/1.3 var(--ui);letter-spacing:.05em}.light-profit-lab-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.light-profit-lab-grid>p{grid-column:1/-1;margin:8px;color:#746b62}.light-profit-lab-grid article{padding:11px;border:1px solid #d4c9bd;border-radius:5px;background:#fffaf4}.light-profit-lab-grid article>header{display:flex;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid #ded5cb}.light-profit-lab-grid article>header b{font:900 9px/1.2 var(--ui);letter-spacing:.06em;text-transform:uppercase}.light-profit-lab-grid article>header span{color:#8c8176;font:800 7px/1 var(--ui)}.light-profit-lab-grid dl{display:grid;grid-template-columns:repeat(2,1fr);margin:0}.light-profit-lab-grid dl div{padding:8px 4px;border-bottom:1px solid #e8dfd5}.light-profit-lab-grid dt{color:#776e65;font:800 6px/1 var(--ui);letter-spacing:.07em;text-transform:uppercase}.light-profit-lab-grid dd{margin:4px 0 0;font:900 11px/1 var(--ui);font-variant-numeric:tabular-nums}.light-profit-lab-grid dd.positive{color:var(--flow-green)}.light-profit-lab-grid dd.negative{color:var(--flow-red)}.light-profit-lab footer{display:flex;justify-content:space-between;gap:12px;margin-top:10px}.light-profit-lab footer b{color:var(--flow-tan);letter-spacing:.08em}@container (max-width:760px){.light-profit-lab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Journal analytics */
.light-flow-journal-page{display:block;overflow:auto!important;padding:12px 18px 20px;background:#f2eee7}.light-flow-journal-page[hidden]{display:none!important}.light-flow-journal-page>header{align-items:center;padding-bottom:9px}.light-flow-journal-page>header nav{display:flex;margin-left:auto}.light-flow-journal-page>header nav button{min-width:65px;height:28px;border:1px solid #ac9f90;border-right:0;background:transparent;color:#665e55;font:900 8px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase;cursor:pointer}.light-flow-journal-page>header nav button:first-child{border-radius:4px 0 0 4px}.light-flow-journal-page>header nav button:last-child{border-right:1px solid #ac9f90;border-radius:0 4px 4px 0}.light-flow-journal-page>header nav button.active{background:#a47b49;color:#fff}.light-journal-stats{display:grid;grid-template-columns:repeat(7,minmax(105px,1fr));gap:7px;margin:9px 0}.light-journal-stats article{display:grid;gap:6px;min-width:0;padding:9px 10px;border:1px solid #c5bbaf;background:#f8f4ee}.light-journal-stats small{color:#776e64;font:900 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-journal-stats b{overflow:hidden;color:#3f6653;font:900 16px/1 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-journal-stats article.negative b{color:#a14e42}.light-journal-charts{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.75fr);gap:9px}.light-journal-charts>section,.light-journal-breakdown,.light-journal-detail,.light-journal-ledger{min-width:0;border:1px solid #c5bbaf;background:#f8f4ee}.light-journal-charts header,.light-journal-breakdown>header,.light-journal-detail>header,.light-journal-ledger>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:6px 10px;box-sizing:border-box;border-bottom:1px solid #d4cbc0}.light-journal-charts header b,.light-journal-breakdown>header b,.light-journal-detail>header b,.light-journal-ledger>header b{font:900 9px/1 var(--ui);letter-spacing:.1em;text-transform:uppercase}.light-journal-charts header span,.light-journal-breakdown>header span,.light-journal-detail>header span,.light-journal-ledger>header span{color:#81776c;font:700 7px/1 var(--ui)}.light-journal-charts svg{display:block;width:100%;height:190px}.light-journal-charts .grid{stroke:#ddd4c9;stroke-width:1}.light-journal-charts .zero{stroke:#9b8e80;stroke-width:1}.light-journal-charts .equity-fill{fill:#4e715c18}.light-journal-charts .equity-line{fill:none;stroke:#4e715c;stroke-width:2}.light-journal-charts .equity-line.negative{stroke:#a14e42}.light-journal-charts .period-positive{fill:#4e715c}.light-journal-charts .period-negative{fill:#a14e42}.light-journal-charts text{fill:#766c62;font:700 9px/1 var(--ui)}.light-journal-insight-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);gap:9px;margin-top:9px}.light-journal-breakdown>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}.light-journal-breakdown article{display:grid;grid-template-columns:76px minmax(0,1fr) 68px;align-items:center;gap:8px}.light-journal-breakdown article b{font:900 8px/1 var(--ui)}.light-journal-breakdown article span{height:7px;overflow:hidden;border-radius:5px;background:#e1d9cf}.light-journal-breakdown article i{display:block;height:100%;background:#4e715c}.light-journal-breakdown article.negative i{margin-left:auto;background:#a14e42}.light-journal-breakdown article strong{font:900 9px/1 var(--ui);text-align:right}.light-journal-breakdown article.negative strong{color:#a14e42}.light-journal-detail{padding-bottom:8px}.light-journal-detail>p{margin:10px;color:#756c63;font:700 8px/1.4 var(--ui)}.light-journal-detail dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:8px 10px}.light-journal-detail dl div{display:grid;gap:3px;min-width:0}.light-journal-detail dt{color:#81766b;font:900 6.5px/1 var(--ui);letter-spacing:.07em;text-transform:uppercase}.light-journal-detail dd{overflow:hidden;margin:0;font:900 9px/1.2 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-journal-detail .review{margin:8px 10px 0;padding-top:7px;border-top:1px solid #d9d0c6;color:#4a4641;font:700 8px/1.35 var(--ui)}.light-journal-ledger{margin-top:9px}.light-journal-ledger .light-flow-journal-list{max-height:310px}.light-journal-ledger .light-flow-journal-columns,.light-journal-ledger .light-flow-journal-list article{grid-template-columns:105px 70px 58px 36px 115px 100px minmax(170px,1fr) 72px}.light-journal-ledger .light-flow-journal-list article.selected{background:#ece4d8;box-shadow:inset 3px 0 #4e715c}.light-journal-ledger .light-flow-journal-list article>span.price-pair{font-variant-numeric:tabular-nums}.light-journal-ledger .light-flow-journal-list article>p small{display:block}.light-journal-ledger .trade-result{display:grid;gap:2px}.light-journal-ledger .trade-result small{color:#7e746a;font:700 6.5px/1 var(--ui)}@container (max-width:1050px){.light-journal-stats{grid-template-columns:repeat(4,minmax(100px,1fr))}.light-journal-charts,.light-journal-insight-row{grid-template-columns:1fr}.light-journal-ledger .light-flow-journal-columns,.light-journal-ledger .light-flow-journal-list article{grid-template-columns:90px 60px 50px 30px 100px 90px minmax(120px,1fr)}.light-journal-ledger .light-flow-journal-columns span:last-child,.light-journal-ledger .light-flow-journal-list article>span:last-child{display:none}}@container (max-width:700px){.light-journal-stats{grid-template-columns:repeat(2,1fr)}.light-flow-journal-page>header{flex-wrap:wrap}.light-flow-journal-page>header nav{order:3;width:100%}.light-flow-journal-page>header nav button{flex:1}.light-journal-breakdown>div{grid-template-columns:1fr}}

/* Sortable journal ledger. Kept as a final override so the original compact
   responsive journal rules continue to own the surrounding page. */
.light-journal-ledger .light-flow-journal-columns,.light-journal-ledger .light-flow-journal-list article{grid-template-columns:105px 70px 58px 36px 115px 72px 88px minmax(170px,1fr) 72px}
.light-journal-ledger .light-flow-journal-columns button{display:flex;align-items:center;gap:4px;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;text-transform:inherit;cursor:pointer}
.light-journal-ledger .light-flow-journal-columns button::after{content:attr(data-sort-indicator);color:#3f6653;font-size:9px}
.light-journal-ledger .light-flow-journal-columns button:hover,.light-journal-ledger .light-flow-journal-columns button.active{color:#2f5f48}
.light-journal-ledger .light-flow-journal-list article>span.price-pair,.light-journal-ledger .trade-points,.light-journal-ledger .trade-pnl{font-variant-numeric:tabular-nums}
.light-journal-ledger .trade-pnl.positive{color:#347255}.light-journal-ledger .trade-pnl.negative{color:#a3483f}
@container (max-width:1050px){.light-journal-ledger .light-flow-journal-columns,.light-journal-ledger .light-flow-journal-list article{grid-template-columns:90px 60px 50px 30px 100px 62px 78px minmax(120px,1fr)}.light-journal-ledger .light-flow-journal-columns button:last-child,.light-journal-ledger .light-flow-journal-list article>span:last-child{display:none}}

/* Read-only blocked-signal outcome research. */
.light-gate-lab{margin-top:9px}.light-gate-lab>header>strong{color:#9b743d;font:900 7px/1 var(--ui);letter-spacing:.09em}.light-gate-lab>header>strong.ready{color:#3f7258}.light-gate-lab-summary{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));border-bottom:1px solid #d4cbc0}.light-gate-lab-summary article{display:grid;gap:5px;padding:9px 11px;border-right:1px solid #ddd5cb}.light-gate-lab-summary article:last-child{border-right:0}.light-gate-lab-summary small{color:#776e64;font:900 7px/1 var(--ui);letter-spacing:.07em;text-transform:uppercase}.light-gate-lab-summary b{font:900 15px/1 var(--ui)}.light-gate-lab-summary article.positive b,.light-gate-result.positive>strong,.light-gate-horizon strong.positive{color:#3f7258}.light-gate-lab-summary article.negative b,.light-gate-result.negative>strong,.light-gate-horizon strong.negative{color:#a14e42}.light-gate-lab-grid{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(430px,1.2fr);border-bottom:1px solid #d4cbc0}.light-gate-lab-grid>div{min-width:0;padding:10px 11px}.light-gate-lab-grid>div+div{border-left:1px solid #d4cbc0}.light-gate-lab-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:7px}.light-gate-lab-title b,.light-gate-lab-breakdowns>div>b{font:900 8px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-gate-lab-title span{color:#7d746a;font:700 7px/1 var(--ui)}.light-gate-horizon-head,.light-gate-horizon{display:grid;grid-template-columns:55px 62px 90px 1fr;align-items:center;gap:8px;min-height:28px;border-bottom:1px solid #e0d8ce}.light-gate-horizon-head{min-height:22px;color:#766d64;font:900 7px/1 var(--ui);text-transform:uppercase}.light-gate-horizon{font:700 8px/1 var(--ui)}.light-gate-horizon b,.light-gate-horizon strong{font-weight:900}.light-gate-result{display:grid;grid-template-columns:minmax(125px,1fr) 92px 110px;align-items:center;gap:8px;min-height:29px;border-bottom:1px solid #e0d8ce}.light-gate-result>b{overflow:hidden;font:900 8px/1 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-gate-result>span{color:#776e64;font:700 7px/1 var(--ui)}.light-gate-result>strong{display:flex;align-items:center;justify-content:space-between;gap:5px;font:900 8px/1 var(--ui);text-align:right}.light-gate-result small{color:#81776c;font:900 6px/1 var(--ui)}.light-gate-lab-breakdowns{display:grid;grid-template-columns:.6fr 1fr 1fr}.light-gate-lab-breakdowns>div{min-width:0;padding:10px 11px}.light-gate-lab-breakdowns>div+div{border-left:1px solid #d4cbc0}.light-gate-lab-breakdowns>div>b{display:block;padding-bottom:7px}.light-gate-lab-breakdowns .light-gate-result{grid-template-columns:minmax(80px,1fr) 72px 96px}.light-gate-empty{margin:0;padding:14px;color:#766d64;font:700 8px/1.3 var(--ui);text-align:center}@container (max-width:950px){.light-gate-lab-summary{grid-template-columns:repeat(3,1fr)}.light-gate-lab-grid,.light-gate-lab-breakdowns{grid-template-columns:1fr}.light-gate-lab-grid>div+div,.light-gate-lab-breakdowns>div+div{border-top:1px solid #d4cbc0;border-left:0}}@container (max-width:650px){.light-gate-lab-summary{grid-template-columns:repeat(2,1fr)}.light-gate-result{grid-template-columns:minmax(100px,1fr) 70px 92px}}

/* Local, read-only walk-forward research. */
.light-challenger-lab{margin-top:9px}.light-challenger-lab>header>div:last-child{display:flex;align-items:center;gap:8px}.light-challenger-lab>header strong{color:#9b743d;font:900 7px/1 var(--ui);letter-spacing:.09em}.light-challenger-lab>header strong.ready{color:#3f7258}.light-challenger-lab>header button{height:25px;padding:0 10px;border:1px solid #a99e91;border-radius:4px;background:#f7f2eb;color:#3f4942;font:900 7px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase;cursor:pointer}.light-challenger-lab>header button:disabled{opacity:.5;cursor:wait}.light-challenger-summary{display:grid;grid-template-columns:repeat(5,minmax(90px,1fr));border-bottom:1px solid #d4cbc0}.light-challenger-summary article{display:grid;gap:5px;padding:9px 11px;border-right:1px solid #ddd5cb}.light-challenger-summary article:last-child{border-right:0}.light-challenger-summary small{color:#776e64;font:900 7px/1 var(--ui);letter-spacing:.07em;text-transform:uppercase}.light-challenger-summary b{font:900 15px/1 var(--ui)}.light-challenger-grid{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(470px,1.25fr)}.light-challenger-grid>div{min-width:0;padding:10px 11px}.light-challenger-grid>div+div{border-left:1px solid #d4cbc0}.light-challenger-champion>div{display:grid;gap:4px;padding-bottom:8px;border-bottom:1px solid #ddd5cb}.light-challenger-champion>div b{font:900 11px/1 var(--ui)}.light-challenger-champion>div span{color:#776e64;font:700 7px/1.3 var(--ui)}.light-challenger-champion dl{display:grid;gap:6px;margin:8px 0 0}.light-challenger-champion dl div{display:flex;align-items:center;justify-content:space-between;gap:8px}.light-challenger-champion dt{color:#776e64;font:900 7px/1 var(--ui);text-transform:uppercase}.light-challenger-champion dd{margin:0;font:900 8px/1 var(--ui)}.light-challenger-row{display:grid;grid-template-columns:minmax(150px,1fr) 112px 84px;align-items:center;gap:9px;min-height:34px;border-bottom:1px solid #e0d8ce}.light-challenger-row>div{display:grid;gap:3px;min-width:0}.light-challenger-row b{overflow:hidden;font:900 8px/1 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-challenger-row span{color:#7d746a;font:700 7px/1 var(--ui)}.light-challenger-row strong{display:grid;gap:3px;font:900 8px/1 var(--ui);text-align:right}.light-challenger-row strong.positive{color:#3f7258}.light-challenger-row strong.negative{color:#a14e42}.light-challenger-row strong small{color:#80766c;font:700 6px/1 var(--ui)}.light-challenger-row em{color:#9b743d;font:900 6px/1 var(--ui);font-style:normal;text-align:right}.light-challenger-row.eligible em{color:#3f7258}.light-challenger-lab>footer{padding:8px 11px;border-top:1px solid #d4cbc0;color:#756d64;font:700 7px/1.3 var(--ui)}@container (max-width:950px){.light-challenger-summary{grid-template-columns:repeat(3,1fr)}.light-challenger-grid{grid-template-columns:1fr}.light-challenger-grid>div+div{border-top:1px solid #d4cbc0;border-left:0}}@container (max-width:650px){.light-challenger-summary{grid-template-columns:repeat(2,1fr)}.light-challenger-row{grid-template-columns:minmax(130px,1fr) 95px}.light-challenger-row>em{display:none}}

/* Reports workspace: official slow evidence stays separate from intraday news. */
.light-flow-nav button:nth-child(5){border-right:0;border-radius:0}.light-flow-nav button[data-light-flow-tab="settings"]{border-right:1px solid #aa9f92;border-radius:0 5px 5px 0}.light-flow-reports-page{display:block;overflow:auto!important;padding:12px 18px 24px;background:#f2eee7;color:#302d29}.light-flow-reports-page[hidden]{display:none!important}.light-reports-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:9px;border-bottom:1px solid #bdb3a7}.light-reports-header small{color:#4e715c;font:900 7px/1 var(--ui);letter-spacing:.12em}.light-reports-header h2{margin:5px 0 3px;font:900 18px/1 var(--ui);letter-spacing:.12em;text-transform:uppercase}.light-reports-header p{margin:0;color:#756d64;font:700 8px/1.35 var(--ui)}.light-reports-header>div:last-child{display:flex;align-items:center;gap:8px}.light-reports-header b{color:#4e715c;font:900 8px/1 var(--ui);letter-spacing:.08em}.light-reports-header b.error{color:#a14e42}.light-reports-header button,.light-reports-panel nav button{height:27px;padding:0 12px;border:1px solid #a99e91;border-radius:4px;background:#f7f2eb;color:#3f4942;font:900 7px/1 var(--ui);letter-spacing:.07em;text-transform:uppercase;cursor:pointer}.light-reports-strip{display:grid;grid-template-columns:repeat(5,minmax(125px,1fr));gap:7px;margin:9px 0}.light-reports-strip article{display:grid;gap:5px;min-width:0;padding:9px 10px;border:1px solid #c5bbaf;background:#f8f4ee}.light-reports-strip small{color:#776e64;font:900 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-reports-strip b{overflow:hidden;font:900 14px/1 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-reports-strip b.bullish{color:#3f7258}.light-reports-strip b.bearish{color:#a14e42}.light-reports-strip b.neutral{color:#9b743d}.light-reports-strip span{overflow:hidden;color:#81776c;font:700 7px/1.2 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-reports-cot{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(265px,.55fr);gap:9px}.light-reports-panel{min-width:0;border:1px solid #c5bbaf;background:#f8f4ee}.light-reports-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;padding:6px 10px;box-sizing:border-box;border-bottom:1px solid #d4cbc0}.light-reports-panel>header>div{display:grid;gap:3px}.light-reports-panel>header b{font:900 9px/1 var(--ui);letter-spacing:.1em;text-transform:uppercase}.light-reports-panel>header span{color:#81776c;font:700 7px/1 var(--ui)}.light-reports-panel nav{display:flex}.light-reports-panel nav button{min-width:50px;border-radius:0;border-right:0}.light-reports-panel nav button:first-child{border-radius:4px 0 0 4px}.light-reports-panel nav button:last-child{border-right:1px solid #a99e91;border-radius:0 4px 4px 0}.light-reports-panel nav button.active{background:#4e715c;color:#fff}.light-reports-legend{display:flex;gap:16px;padding:8px 11px 0;color:#756d64;font:800 7px/1 var(--ui)}.light-reports-legend span:before{display:inline-block;width:13px;height:2px;margin-right:5px;vertical-align:middle;background:#4e715c;content:""}.light-reports-legend .leveraged:before{background:#a14e42}.light-reports-legend .dealers:before{background:#a47b49}.light-reports-chart-panel svg{display:block;width:100%;height:310px}.light-reports-chart-panel svg .grid{stroke:#ddd4c9;stroke-width:1}.light-reports-chart-panel svg .zero{stroke:#928577;stroke-width:1.3}.light-reports-chart-panel svg .asset,.light-reports-chart-panel svg .leveraged,.light-reports-chart-panel svg .dealers{fill:none;stroke-width:2.2;vector-effect:non-scaling-stroke}.light-reports-chart-panel svg .asset{stroke:#4e715c}.light-reports-chart-panel svg .leveraged{stroke:#a14e42}.light-reports-chart-panel svg .dealers{stroke:#a47b49}.light-reports-chart-panel svg text{fill:#756d64;font:700 10px/1 var(--ui)}.light-reports-positioning{padding:13px}.light-reports-positioning>p{color:#756d64;font:700 8px/1.35 var(--ui)}.light-reports-positioning header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #d5ccc1}.light-reports-positioning header div{display:grid;gap:5px}.light-reports-positioning header small{color:#756d64;font:900 7px/1 var(--ui);letter-spacing:.1em}.light-reports-positioning header b{font:900 15px/1 var(--ui);letter-spacing:.08em}.light-reports-positioning header b.bullish{color:#3f7258}.light-reports-positioning header b.bearish{color:#a14e42}.light-reports-positioning header b.neutral{color:#9b743d}.light-reports-positioning header strong{font:900 24px/1 var(--ui)}.light-reports-positioning dl{display:grid;gap:8px;margin:12px 0}.light-reports-positioning dl div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}.light-reports-positioning dt{color:#746b62;font:900 7px/1 var(--ui);letter-spacing:.07em;text-transform:uppercase}.light-reports-positioning dd{margin:0;font:900 9px/1 var(--ui);text-align:right}.light-reports-positioning dl span{grid-column:1/-1;color:#81776c;font:700 7px/1.25 var(--ui)}.light-reports-positioning footer{display:grid;gap:5px;padding-top:10px;border-top:1px solid #d5ccc1;color:#746b62;font:700 7px/1.3 var(--ui)}.light-reports-middle{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:9px}.light-reports-middle .light-reports-panel>div{max-height:190px;overflow:auto;padding:0 10px}.light-reports-report-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:38px;padding:6px 0;border-bottom:1px solid #ddd5cb}.light-reports-report-row time{color:#7b7269;font:700 7px/1.2 var(--ui)}.light-reports-report-row div{display:grid;gap:3px;min-width:0}.light-reports-report-row b{overflow:hidden;font:900 8px/1.25 var(--ui);text-overflow:ellipsis;white-space:nowrap}.light-reports-report-row span{color:#7d746a;font:700 7px/1.2 var(--ui)}.light-reports-report-row strong{font:900 8px/1 var(--ui)}.light-reports-report-row strong.bullish{color:#3f7258}.light-reports-report-row strong.bearish{color:#a14e42}.light-reports-ledger{margin-top:9px}.light-reports-ledger-head,.light-reports-ledger article{display:grid;grid-template-columns:115px minmax(240px,1.6fr) 90px 90px 150px 90px;align-items:center;gap:9px}.light-reports-ledger-head{padding:8px 11px;border-bottom:1px solid #d4cbc0;color:#766d64;font:900 7px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase}.light-reports-ledger>div:last-child{max-height:280px;overflow:auto}.light-reports-ledger article{min-height:38px;padding:6px 11px;border-bottom:1px solid #e0d8ce;font:700 8px/1.2 var(--ui);cursor:pointer}.light-reports-ledger article:hover{background:#f1e9df}.light-reports-ledger article time,.light-reports-ledger article small{color:#766d64;font-size:7px}.light-reports-ledger article b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.light-reports-ledger article strong.bullish{color:#3f7258}.light-reports-ledger article strong.bearish{color:#a14e42}.light-reports-ledger article em{color:#756d64;font-style:normal}.light-reports-ledger>div:last-child>p,.light-reports-middle p{padding:16px;color:#766d64;font:700 8px/1.3 var(--ui);text-align:center}@container (max-width:950px){.light-reports-strip{grid-template-columns:repeat(3,1fr)}.light-reports-cot,.light-reports-middle{grid-template-columns:1fr}.light-reports-ledger-head,.light-reports-ledger article{grid-template-columns:95px minmax(180px,1fr) 70px 75px 100px}.light-reports-ledger-head span:last-child,.light-reports-ledger article small{display:none}}@container (max-width:650px){.light-reports-strip{grid-template-columns:repeat(2,1fr)}.light-reports-header{align-items:flex-start;flex-direction:column}.light-reports-chart-panel svg{height:240px}.light-reports-ledger-head,.light-reports-ledger article{grid-template-columns:82px minmax(150px,1fr) 60px}.light-reports-ledger-head span:nth-child(n+4),.light-reports-ledger article :is(strong,em,small){display:none}}
