/* Futures VP is an independent view. Existing board tokens supply its theme. */
#vpview{display:flex;flex-direction:column;gap:18px;min-width:0;padding-bottom:12px;color:var(--fg)}
#vpview[hidden],#vpview [hidden]{display:none!important}
#vpview *,#vpview *::before,#vpview *::after{box-sizing:border-box}
#vpview h1,#vpview h2,#vpview p{margin:0}
#vpview button,#vpview select,#vpview input{font:inherit}
#vpview button,#vpview select,#vpview input[type=number]{min-height:38px;border:1px solid var(--line-strong);background:var(--surface);border-radius:var(--r-sm,5px);color:var(--fg);font-size:13px}
#vpview button{padding:0 12px;cursor:pointer;font-weight:var(--fw-m,500);white-space:nowrap;transition:background-color .15s,border-color .15s}
#vpview button:hover{background:var(--surface-2)}
#vpview button:disabled,#vpview select:disabled{opacity:.42;cursor:default}
#vpview button:focus-visible,#vpview select:focus-visible,#vpview input:focus-visible,#vpview summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#vpview select{padding:0 32px 0 11px;min-width:0;max-width:100%;text-overflow:ellipsis;cursor:pointer}
#vpview input[type=number]{padding:0 10px;width:92px;font-variant-numeric:tabular-nums}
#vpview input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--accent);flex:none}
.vp-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:5px}
#vpview .vp-eyebrow{font-size:10px;line-height:18px;font-weight:600;letter-spacing:.13em;color:var(--fg-3);margin-bottom:7px}
.vp-eyebrow span{margin:0 5px;color:var(--axis)}
#vpview h1{font-size:clamp(24px,2.5vw,31px);font-weight:600;letter-spacing:-.045em;line-height:1.16}
#vpview .vp-lead{margin-top:8px;font-size:13px;line-height:1.6;color:var(--fg-2)}
.vp-history-tag{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;font-size:11px;border:1px solid var(--line);border-radius:20px;color:var(--fg-3);white-space:nowrap;background:var(--surface)}
.vp-history-tag::before{content:'';height:5px;width:5px;border-radius:50%;background:var(--accent)}
.vp-controls{padding:18px 18px 12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg,10px);box-shadow:var(--sh-1)}
.vp-control-row{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}
.vp-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.vp-field>span{font-size:10px;line-height:15px;color:var(--fg-3);font-weight:600;letter-spacing:.045em}
.vp-contract-field{flex:1.05 1 155px;max-width:210px}
.vp-date-field{flex:1.2 1 220px;max-width:284px}
.vp-window-field{flex:.9 1 140px;max-width:180px}
.vp-date-nav{display:flex;gap:4px;min-width:0}
#vpview .vp-date-nav select{flex:1;min-width:0;padding-left:9px;padding-right:20px}
#vpview .vp-icon{width:32px;padding:0;font-size:21px;font-weight:400;flex:none}
.vp-mode-field{margin-left:auto;flex:1.6 1 300px;max-width:390px}
.vp-modes{display:flex;border:1px solid var(--line-strong);border-radius:var(--r-sm,5px);padding:3px;gap:3px;background:var(--surface-2)}
#vpview .vp-modes button{display:flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;flex:1;min-height:30px;border:0;background:transparent;font-size:11px;color:var(--fg-3)}
.vp-modes b{font-size:10px;letter-spacing:.025em;font-weight:600}
#vpview .vp-modes button[aria-pressed=true]{background:var(--surface);color:var(--fg);box-shadow:0 1px 4px rgba(0,0,0,.09)}
.vp-context-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:11px;margin-top:15px;flex-wrap:wrap}
#vpview .vp-context-row p{font-size:11px;line-height:1.5;color:var(--fg-3)}
#vp-status{display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}
#vp-status::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--axis);flex:none}
#vp-status[data-state=ready]::before{background:var(--up)}
#vp-status[data-state=partial]::before{background:var(--warn-text,#ae6c12)}
#vp-status[data-state=error]::before{background:var(--dn)}
.vp-estimate{display:flex;align-items:center;gap:8px;color:var(--fg-3);padding:0 3px;font-size:11px;line-height:1.6}
.vp-estimate strong{font-weight:500;color:var(--fg-2)}
.vp-estimate-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);opacity:.65;flex:none}
.vp-chart-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg,10px);box-shadow:var(--sh-1);overflow:hidden;min-width:0}
.vp-chart-head{display:flex;justify-content:space-between;gap:12px;padding:16px 18px 12px;align-items:center}
.vp-legend{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 10px}
#vp-symbol{font-size:14px;font-weight:600;letter-spacing:-.02em}
#vp-legend-meta{font-size:11px;color:var(--fg-3)}
.vp-ohlc{flex-basis:100%;display:flex;align-items:center;gap:13px;font-size:11px;line-height:17px;height:17px;overflow:hidden;white-space:nowrap;font-variant-numeric:tabular-nums}
.vp-ohlc>span{display:inline-flex;gap:5px}
.vp-ohlc small{font-size:10px;color:var(--fg-3)}
.vp-ohlc b{font-weight:500}
.vp-ohlc-time{color:var(--fg-3)}
.vp-chart-tools{display:flex;gap:8px;flex:none;align-items:center}
.vp-timeframes{display:flex;padding:2px;border:1px solid var(--line);border-radius:5px;gap:1px}
#vpview .vp-timeframes button{min-height:27px;padding:0 10px;font-size:11px;border:0;background:transparent;color:var(--fg-3)}
#vpview .vp-timeframes button[aria-pressed=true]{background:var(--surface-3);color:var(--fg)}
#vpview .vp-fit{min-height:32px;font-size:11px;padding:0 10px}
.vp-mode-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 18px;border-top:1px solid var(--line);font-size:11px;line-height:1.5;color:var(--fg-3);background:var(--surface-2)}
#vp-range-caption{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:10px}
.vp-fixed-tools{display:flex;align-items:center;gap:8px;padding:11px 18px;flex-wrap:wrap;border-bottom:1px solid var(--line);background:var(--surface)}
#vpview .vp-fixed-tools button,#vpview .vp-fixed-tools select{min-height:32px;font-size:11px}
#vpview .vp-select-range{color:var(--accent-text,var(--accent));border-color:var(--accent);background:var(--accent-soft,var(--surface-2))}
#vpview .vp-selecting.vp-select-range{background:var(--accent);color:#fff}
.vp-fixed-tools>label{display:flex;gap:6px;align-items:center;font-size:10px;color:var(--fg-3)}
.vp-fixed-tools>label select{max-width:160px;padding-right:22px}
.vp-range-arrow{color:var(--fg-3);font-size:13px}
#vp-selection-help{font-size:11px;color:var(--accent-text,var(--accent));flex:1 1 100%}
#vp-selection-help:empty{display:none}
.vp-plot{position:relative;height:470px;height:clamp(340px,51svh,560px);min-width:0;outline:none}
.vp-plot:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.vp-plot.vp-selecting{cursor:crosshair}
.vp-plot.vp-selecting canvas{cursor:crosshair!important}
.vp-chart-host{position:absolute;inset:4px 8px 0 8px}
.vp-chart-message{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center;font-size:13px;line-height:1.6;color:var(--fg-3);background:var(--surface);z-index:2}
.vp-loading-mark{display:none;width:20px;height:20px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%}
.vp-is-loading .vp-loading-mark{display:block;animation:vp-spin 1s linear infinite}
@keyframes vp-spin{to{transform:rotate(360deg)}}
.vp-chart-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 18px 12px;color:var(--fg-3);font-size:10px;line-height:16px}
.vp-chart-bottom>span{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.vp-chart-bottom i{display:inline-block;flex:none;width:11px;height:7px;background:var(--accent);opacity:.5;margin-left:9px}
.vp-chart-bottom i:first-child{margin-left:0}
.vp-chart-bottom i.vp-key-volume{opacity:.2}
.vp-chart-bottom i.vp-key-poc{height:0;border-top:2px solid var(--accent);opacity:1;background:none}
.vp-chart-bottom a{color:inherit;text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--line-strong)}
.vp-replay{border-top:1px solid var(--line);padding:11px 18px 12px;background:var(--surface-2)}
.vp-replay-title{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--fg-3)}
.vp-replay-title>span{font-weight:500;color:var(--fg-2)}
.vp-replay-title output{margin-left:auto;color:var(--fg);font-weight:500;font-variant-numeric:tabular-nums}
#vpview .vp-replay-title button{min-height:26px;padding:0 8px;font-size:10px;background:transparent}
#vp-cutoff{display:block;width:100%;margin:10px 0 5px;accent-color:var(--accent);cursor:ew-resize;height:16px}
#vpview .vp-replay p{color:var(--fg-3);font-size:10px;line-height:1.5}
.vp-below{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.vp-results,.vp-settings>details{border:1px solid var(--line);border-radius:var(--r-lg,10px);background:var(--surface);box-shadow:var(--sh-1);min-width:0}
.vp-results{padding:18px}
.vp-result-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
#vpview h2{font-size:14px;line-height:19px;font-weight:600;letter-spacing:-.02em}
#vpview .vp-result-heading p{font-size:11px;line-height:1.6;color:var(--fg-3);margin-top:4px;font-variant-numeric:tabular-nums}
#vp-profile-count{font-size:10px;line-height:16px;color:var(--fg-3);white-space:nowrap}
#vp-profile-count.vp-is-partial{color:var(--warn-text,#ae6c12)}
.vp-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.vp-level{padding:13px;border:1px solid var(--line);border-radius:var(--r-md,7px);display:flex;flex-direction:column;gap:5px;min-width:0}
.vp-level-poc{background:var(--accent-soft,var(--surface-2));border-color:var(--line)}
.vp-level>span{font-size:10px;color:var(--fg-2);white-space:nowrap}
.vp-level>strong{font-size:24px;line-height:1.35;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.vp-level-poc>strong{color:var(--accent-text,var(--accent))}
.vp-level>small{color:var(--fg-3);font-size:9px;line-height:1.5}
.vp-volume-summary{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:10px;padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:11px}
.vp-volume-summary>div{display:flex;flex-direction:column;gap:5px}
.vp-volume-summary span{font-size:10px;color:var(--fg-3);line-height:1.4}
.vp-volume-summary strong{font-size:16px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.4}
#vpview .vp-coverage,#vpview .vp-nodes-note{font-size:10px;line-height:1.65;color:var(--fg-3)}
#vpview .vp-coverage.vp-is-partial{color:var(--warn-text,#ae6c12)}
#vpview .vp-nodes-note{margin-top:7px}
.vp-notice{margin-top:13px;padding:10px 12px;background:var(--warn-soft,var(--surface-2));color:var(--warn-text,var(--fg-2));font-size:11px;line-height:1.65;border-radius:var(--r-sm,5px)}
.vp-session-table-wrap{overflow-x:auto;margin:3px 0 12px}
.vp-session-table{width:100%;border-collapse:collapse;font-size:10px;font-variant-numeric:tabular-nums}
.vp-session-table th,.vp-session-table td{padding:7px 7px 7px 0;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.vp-session-table th:first-child,.vp-session-table td:first-child{text-align:left}
.vp-session-table th{font-weight:500;color:var(--fg-3)}
.vp-settings{display:flex;flex-direction:column;gap:12px;min-width:0}
.vp-settings summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;padding:14px;font-size:12px;line-height:16px;font-weight:500;list-style:none}
.vp-settings summary::-webkit-details-marker{display:none}
.vp-settings summary::after{content:'+';font-size:15px;color:var(--fg-3);margin-left:auto}
.vp-settings details[open]>summary::after{content:'−'}
.vp-settings summary>span{font-size:10px;line-height:15px;font-weight:400;color:var(--fg-3);display:none}
.vp-settings-body{display:flex;flex-direction:column;gap:14px;padding:2px 14px 16px}
.vp-setting-field{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--fg-2)}
.vp-setting-field>span,.vp-node-options>span{display:flex;flex-direction:column;gap:3px}
.vp-setting-field small,.vp-node-options small{font-size:10px;color:var(--fg-3);line-height:1.5;font-weight:400}
.vp-percent{display:flex;align-items:center;position:relative}
#vpview .vp-percent input{padding-right:27px}
.vp-percent>span{position:absolute;right:10px;color:var(--fg-3);pointer-events:none}
.vp-node-options{border-top:1px solid var(--line);padding-top:13px;display:flex;flex-direction:column;gap:10px;font-size:11px;color:var(--fg-2)}
.vp-node-options label{display:flex;align-items:center;gap:8px;font-size:11px;cursor:pointer}
.vp-node-options b{font-size:9px;font-weight:500;margin-left:auto;color:var(--fg-3)}
.vp-partial-option{display:flex;gap:8px;align-items:flex-start;border-top:1px solid var(--line);padding-top:14px;cursor:pointer}
.vp-partial-option>span{font-size:11px;line-height:16px;color:var(--fg-2)}
.vp-partial-option small{display:block;margin-top:5px;font-size:10px;color:var(--fg-3);line-height:1.6}
.vp-method>div{padding:0 14px 14px;display:flex;flex-direction:column;gap:10px}
#vpview .vp-method p{font-size:10px;line-height:1.65;color:var(--fg-3)}
.vp-alert{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 18px;border:1px solid var(--line-strong);border-radius:var(--r-lg,10px);background:var(--surface);font-size:12px}
.vp-alert strong{display:block;font-weight:600;margin-bottom:5px}
#vpview .vp-alert p{font-size:11px;line-height:1.6;color:var(--fg-2)}
#vpview .vp-foot{font-size:10px;line-height:1.8;color:var(--fg-3);padding:0 3px}
@media(min-width:1400px){.vp-mode-field{max-width:450px}.vp-below{grid-template-columns:minmax(0,1fr) 330px}.vp-level>strong{font-size:28px}}
@media(max-width:1100px){.vp-control-row{gap:12px}.vp-mode-field{margin-left:0;flex-basis:100%;max-width:none}.vp-modes{max-width:none}.vp-below{grid-template-columns:minmax(0,1fr) 270px}.vp-level{padding:10px}.vp-level>strong{font-size:22px}.vp-level>small{font-size:8px}}
@media(max-width:850px){.vp-below{grid-template-columns:minmax(0,1fr)}.vp-settings{display:grid;grid-template-columns:1fr 1fr;gap:14px}.vp-settings summary>span{display:inline}.vp-level>small{font-size:10px}.vp-level>strong{font-size:26px}}
@media(max-width:767px){
  #vpview{gap:14px}.vp-heading{align-items:flex-start;gap:8px;padding-top:3px}.vp-history-tag{font-size:9px;padding:4px 7px;margin-top:1px}.vp-history-tag::before{height:4px;width:4px}
  #vpview .vp-eyebrow{font-size:9px;letter-spacing:.09em;margin-bottom:6px}#vpview h1{font-size:25px}#vpview .vp-lead{font-size:12px;max-width:290px;margin-top:7px}
  .vp-controls{padding:13px 12px 11px}.vp-control-row{gap:11px}.vp-contract-field{flex:1 1 145px;max-width:none}.vp-date-field{flex:1.25 1 195px;max-width:none}.vp-window-field{flex:1 1 130px;max-width:none}
  .vp-mode-field{flex:2.5 1 290px}.vp-field>span{font-size:9px}#vpview .vp-modes button{min-height:35px;font-size:11px}.vp-modes b{font-size:9px}
  .vp-context-row{gap:6px;margin-top:11px;padding-top:10px}#vpview .vp-context-row p{font-size:10px}.vp-estimate{font-size:10px;align-items:flex-start}.vp-estimate-dot{margin-top:5px}.vp-estimate p>span{display:block}
  .vp-chart-card{margin-inline:calc(-1*var(--gutter,16px));border-left:0;border-right:0;border-radius:0;box-shadow:none}.vp-chart-head{padding:13px 12px 10px;gap:8px;align-items:flex-start}.vp-legend{gap:3px 7px}#vp-symbol{font-size:12px}#vp-legend-meta{font-size:10px}.vp-ohlc{gap:8px;font-size:10px;flex-wrap:wrap;height:30px;line-height:14px;align-content:flex-start}.vp-ohlc small{font-size:9px}.vp-ohlc>span{gap:3px}.vp-ohlc-time{display:none!important}
  .vp-chart-tools{gap:4px;flex-direction:column;align-items:flex-end}#vpview .vp-timeframes button{padding:0 7px;min-height:27px;font-size:10px}#vpview .vp-fit{min-height:23px;padding:0 8px;font-size:10px}
  .vp-mode-caption{padding:8px 12px;gap:5px;flex-wrap:wrap;font-size:10px}#vp-range-caption{font-size:9px}.vp-fixed-tools{padding:10px 12px;gap:7px}.vp-fixed-tools>label{flex:1;min-width:100px;flex-direction:column;align-items:flex-start;gap:4px}.vp-fixed-tools>label select{width:100%;max-width:none}.vp-range-arrow{align-self:flex-end;margin-bottom:8px}#vpview .vp-fixed-tools>button{min-height:35px}.vp-fixed-tools>.vp-select-range{flex:1 1 100%;order:-1}
  .vp-plot{height:380px;height:clamp(300px,48svh,480px)}.vp-chart-host{inset:2px 2px 0 3px}.vp-chart-bottom{padding:6px 12px 10px;align-items:flex-start;font-size:9px;gap:5px;flex-wrap:wrap}.vp-chart-bottom a{margin-left:auto}.vp-chart-bottom>span{gap:4px}.vp-chart-bottom i{width:9px;margin-left:5px}
  .vp-replay{padding:10px 12px 12px}.vp-replay-title{gap:8px;font-size:10px}.vp-replay-title output{font-size:10px}#vpview .vp-replay-title button{padding:0 6px;font-size:9px}.vp-replay-title>span{font-size:10px}#vp-cutoff{height:22px;margin:7px 0 4px}#vpview .vp-replay p{font-size:9px}
  .vp-results{padding:14px 12px}.vp-result-heading{gap:8px;margin-bottom:13px}#vpview h2{font-size:13px}#vpview .vp-result-heading p{font-size:10px;line-height:1.5}#vp-profile-count{font-size:8px;white-space:normal;max-width:85px;text-align:right}.vp-levels{gap:7px}.vp-level{padding:11px 8px;gap:5px}.vp-level>span{font-size:9px}.vp-level>strong{font-size:23px}.vp-level>small{font-size:8px;line-height:1.5}.vp-volume-summary{padding:13px 0;gap:8px}.vp-volume-summary span{font-size:9px}.vp-volume-summary strong{font-size:15px}
  .vp-settings{display:flex;gap:10px}.vp-settings-body{display:grid;grid-template-columns:1fr 1fr;gap:14px}.vp-setting-field{flex-direction:column;align-items:flex-start;gap:6px}#vpview .vp-setting-field input{width:100%;min-height:40px}.vp-setting-field .vp-percent{width:100%}.vp-node-options,.vp-partial-option{grid-column:1/-1}.vp-node-options{display:grid;grid-template-columns:1fr 1fr;gap:11px}.vp-node-options>span{grid-column:1/-1}.vp-node-options label{font-size:10px;gap:6px}.vp-node-options b{display:none}.vp-settings summary{font-size:11px}.vp-settings summary>span{font-size:9px}.vp-alert{padding:13px 12px}.vp-alert>button{flex:none}#vpview .vp-foot{font-size:9px}
}
@media(max-width:420px){.vp-heading .vp-history-tag{display:none}.vp-contract-field{flex-basis:100%;max-width:none}.vp-date-field{flex:1.3 1 170px}.vp-window-field{flex:1 1 115px}.vp-mode-field{flex-basis:100%}#vpview .vp-modes button{padding:0 6px;gap:5px}.vp-level>strong{font-size:21px}.vp-level>small{font-size:8px}.vp-replay-title{gap:6px}.vp-replay-title>span{font-size:9px}.vp-chart-tools{max-width:148px}#vp-legend-meta{max-width:175px}.vp-ohlc{max-width:250px}.vp-setting-field{font-size:11px}}
@media(max-width:440px){
  .vp-contract-field,.vp-date-field{flex:1 1 100%;max-width:none}
  .vp-window-field{flex:1 1 100%;max-width:none;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
  #vpview .vp-window-field select{width:64%;max-width:none}
}
@media(max-height:500px) and (max-width:1023px){.vp-plot{height:300px}}
@media(prefers-reduced-motion:reduce){.vp-loading-mark{animation:none!important}#vpview button{transition:none}}
.vp-previous-controls{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap;padding:10px 18px;border-bottom:1px solid var(--line);font-size:11px;color:var(--fg-2)}
.vp-previous-controls label{display:flex;align-items:center;gap:8px;cursor:pointer;min-width:0;line-height:1.6}
.vp-previous-controls input{flex:none;accent-color:#2a78d6}
.vp-previous-extend{margin-left:auto}
.vp-previous-extend:has(input:disabled){opacity:.55;cursor:default}
#vpview .vp-previous-status{flex:1 1 100%;font-size:10px;line-height:1.65;color:var(--fg-3);margin:0}
#vpview .vp-previous-status[data-state="unavailable"]{color:var(--warn-text,#ae6c12)}
.vp-previous-values{display:flex;flex:1 1 100%;gap:8px 20px;flex-wrap:wrap;font-size:10px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.7}
.vp-previous-poc{color:#2a78d6}.vp-previous-va{color:#e08a23}
@media(max-width:767px){.vp-previous-controls{padding:10px 12px;gap:8px 14px;font-size:10px}.vp-previous-extend{margin-left:0}.vp-previous-controls label{max-width:100%;align-items:flex-start}.vp-previous-controls input{margin-top:3px}#vpview .vp-previous-status{font-size:9px}.vp-previous-values{gap:5px 14px;font-size:9px}}
