﻿/* ASIP Terminal Pro — independent chart terminal */
.pt-shell{--pt-bg:#070d16;--pt-panel:#0a111c;--pt-line:#1d2c40;--pt-text:#dbe6f3;--pt-muted:#6f8298;--pt-acc:#5eead4;display:flex;flex-direction:column;height:calc(100dvh - 112px);max-height:calc(100dvh - 112px);min-height:0;background:var(--pt-bg);color:var(--pt-text);font-family:var(--asip-font, system-ui);overflow:hidden}
.pt-shell.is-fullscreen{position:fixed;inset:0;z-index:1000;height:100vh}
body:has(#view-terminal:not([hidden])) .app-main{padding:0!important}
body:has(#view-terminal:not([hidden])) .terminal-view{padding:0!important;max-width:none!important}
.pt-header{height:54px;display:flex;align-items:center;gap:18px;padding:0 16px;border-bottom:1px solid var(--pt-line);background:#0a1220;flex:0 0 54px}
.pt-brand{display:flex;align-items:center;gap:9px;font:12px var(--asip-font, system-ui);letter-spacing:.12em;color:#7c8ca1}
.pt-brand .terminal-logo{font:700 23px var(--asip-font, system-ui);color:#fff;letter-spacing:.06em}
.pt-brand em{font-style:normal;color:#0a111c;background:var(--pt-acc);padding:3px 6px;border-radius:3px;font:11px var(--asip-font, system-ui)}
.pt-head-center{display:flex;align-items:center;gap:8px;margin-left:auto}
.pt-symbol{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:5px 10px;border:1px solid #2a3b53;border-radius:5px;background:#0a1421;color:#dbe6f3;cursor:pointer;font-family:var(--asip-font, system-ui)}
.pt-symbol b{font:700 12px var(--asip-font, system-ui)}.pt-symbol span{font:10px var(--asip-font, system-ui);color:#6f8298;text-transform:uppercase}
.pt-search-btn,.pt-icon{width:30px;height:30px;border:1px solid #2a3b53;background:#0a1421;color:#8fa3b8;border-radius:5px;cursor:pointer;font:14px var(--asip-font, system-ui)}
.pt-search-btn:hover,.pt-icon:hover{color:var(--pt-acc);border-color:var(--pt-acc)}
.pt-tfs{display:flex;border:1px solid #2a3b53;border-radius:5px;overflow:hidden}
.pt-tfs button{padding:7px 8px;border:0;border-right:1px solid #223248;background:#0a1421;color:#7c8ca1;font:11px var(--asip-font, system-ui);cursor:pointer}
.pt-tfs button:last-child{border-right:0}.pt-tfs button.active{background:rgba(94,234,212,.12);color:var(--pt-acc)}
.pt-status{display:flex;align-items:center;gap:6px;font:11px var(--asip-font, system-ui);color:#7c8ca1;min-width:88px;justify-content:flex-end}
.pt-status i{width:6px;height:6px;border-radius:50%;background:#f5b942}.pt-status.live i{background:#3dd29a;box-shadow:0 0 8px #3dd29a}
.pt-quote{height:52px;display:flex;align-items:center;padding:0 16px;border-bottom:1px solid var(--pt-line);background:#080f19;flex:0 0 52px;gap:20px}
.pt-quote-main{display:flex;align-items:baseline;gap:10px}.pt-quote-main b{font:700 15px var(--asip-font, system-ui)}.pt-quote-main span:nth-child(2){font:700 24px var(--asip-font, system-ui);color:#fff}.pt-quote-main span:nth-child(3){font:12px var(--asip-font, system-ui);color:#3dd29a}
.pt-quote-stats{margin-left:auto;display:flex;gap:16px;font:10px var(--asip-font, system-ui);color:#5f7288;letter-spacing:.05em}.pt-quote-stats b{color:#b8c7d8;font-weight:500}
.pt-body{display:grid;grid-template-columns:36px minmax(0,1fr) 300px;min-height:0;flex:1 1 0;overflow:hidden}
.pt-tools{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 3px;border-right:1px solid var(--pt-line);background:#0a111c}
.pt-tools button{width:28px;height:27px;border:1px solid transparent;border-radius:4px;background:transparent;color:#7c8ca1;font:12px var(--asip-font, system-ui);cursor:pointer;line-height:1}
.pt-tools button:hover{color:#dbe6f3;background:#152337}.pt-tools button.active{color:var(--pt-acc);border-color:rgba(94,234,212,.4);background:rgba(94,234,212,.09)}
.pt-sep{width:22px;height:1px;background:#223248;margin:3px 0}
.pt-color{width:22px!important;height:12px!important;border-radius:2px!important;margin:1px}.pt-color[data-color="#5eead4"]{background:#5eead4}.pt-color[data-color="#f5b942"]{background:#f5b942}.pt-color[data-color="#f46c7f"]{background:#f46c7f}.pt-color.active{border-color:#fff!important}
.pt-chart-panel{display:flex;flex-direction:column;min-width:0;border-right:1px solid var(--pt-line)}
.pt-chart-head{height:38px;display:flex;align-items:center;gap:16px;padding:0 10px;border-bottom:1px solid var(--pt-line);background:#0a1220;flex:0 0 38px}
.pt-pair{display:flex;align-items:baseline;gap:6px}.pt-pair b{font:700 11px var(--asip-font, system-ui)}.pt-pair span{font:10px var(--asip-font, system-ui);color:var(--pt-acc);border:1px solid rgba(94,234,212,.3);padding:2px 4px;border-radius:3px}
.pt-ohlc{display:flex;gap:9px;font:10px var(--asip-font, system-ui);color:#5f7288}.pt-ohlc b{color:#b8c7d8;font-weight:500}
.pt-head-actions{margin-left:auto;display:flex;align-items:center;gap:5px}.pt-head-actions button{padding:6px 7px;border:1px solid #2a3b53;border-radius:4px;background:#0a1421;color:#8fa3b8;font:10px var(--asip-font, system-ui);cursor:pointer}
.pt-head-actions button:hover{color:var(--pt-acc);border-color:var(--pt-acc)}
.pt-chart-wrap{position:relative;flex:1 1 0;min-height:80px;overflow:hidden;background:#080e18}
#ptCanvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.pt-cross-hint{position:absolute;right:8px;top:7px;font:10px var(--asip-font, system-ui);color:#3d4f63;pointer-events:none;opacity:.65}
.pt-tip{position:absolute;z-index:9;display:none;pointer-events:none;background:rgba(8,16,27,.96);border:1px solid #2a3b53;border-radius:4px;padding:5px 7px;font:11px var(--asip-font, system-ui);line-height:1.55;color:#dbe6f3}
.pt-tip b{color:var(--pt-acc)}
.pt-ruler{position:absolute;z-index:10;display:none;pointer-events:none;background:rgba(8,16,27,.97);border:1px solid var(--pt-acc);border-radius:5px;padding:7px 9px;font:11px var(--asip-font, system-ui);line-height:1.55;box-shadow:0 12px 30px rgba(0,0,0,.5)}
.pt-ruler b{color:var(--pt-acc)}
.pt-panes{flex:0 0 auto;max-height:none;overflow:hidden;background:#080f19;border-top:1px solid var(--pt-line);display:block}
.pt-panes:empty{display:none}
.pt-pane{position:relative;height:118px;min-height:60px;flex:0 0 auto;display:flex;flex-direction:column;border-bottom:1px solid #172437;background:#080f19}
.pt-pane.nested{margin-left:18px;width:calc(100% - 18px);border-left:2px solid #2a3b53}
.pt-pane.drag-over{outline:1px dashed var(--pt-acc);outline-offset:-2px}
.pt-pane-head{height:24px;display:flex;align-items:center;gap:5px;padding:0 6px;background:#0a1220;border-bottom:1px solid #172437;flex:0 0 24px;cursor:grab;user-select:none}
.pt-pane-head b{font:700 11px var(--asip-font, system-ui);color:#b8c7d8}.pt-pane-head .pt-pane-val{margin-left:auto;font:11px var(--asip-font, system-ui);color:var(--pt-acc)}
.pt-pane-head button{width:18px;height:18px;border:0;background:transparent;color:#6f8298;font:12px var(--asip-font, system-ui);cursor:pointer}.pt-pane-head button:hover{color:var(--pt-acc)}
.pt-pane-canvas{flex:1;width:100%;min-height:0;display:block}
.pt-pane-resize{position:absolute;left:0;right:0;bottom:-3px;height:6px;cursor:ns-resize;z-index:4}.pt-pane-resize:hover{background:rgba(94,234,212,.25)}.pt-pane-resize-top{top:0;bottom:auto;height:5px}.pt-pane-resize-top:hover{background:rgba(94,234,212,.3)}
.pt-chart-footer{height:26px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-top:1px solid var(--pt-line);background:#0a111c;font:10px var(--asip-font, system-ui);color:#52657a;letter-spacing:.05em}
#ptStatus{color:var(--pt-acc)}
.pt-side{display:flex;flex-direction:column;min-width:0;background:#0a111c}
.pt-side-tabs{display:flex;height:38px;border-bottom:1px solid var(--pt-line);flex:0 0 38px}
.pt-side-tabs button{flex:1;border:0;border-right:1px solid var(--pt-line);background:#0a1220;color:#6f8298;font:10px var(--asip-font, system-ui);cursor:pointer}.pt-side-tabs button.active{color:var(--pt-acc);background:#0d1725}
.pt-side-body{flex:1;overflow:auto;padding:8px}
.pt-book-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;font:11px var(--asip-font, system-ui);padding:2px 3px}
.pt-book-row.ask{color:#f46c7f}.pt-book-row.bid{color:#3dd29a}.pt-book-row span:nth-child(2),.pt-book-row span:nth-child(3){text-align:right}
.pt-book-head{display:grid;grid-template-columns:1fr 1fr 1fr;font:10px var(--asip-font, system-ui);color:#52657a;padding:4px 3px;border-bottom:1px solid #172437;margin-bottom:3px}
.pt-tape-row{display:grid;grid-template-columns:1fr 1fr 1fr;font:11px var(--asip-font, system-ui);padding:3px;border-bottom:1px solid #101c2b}.pt-tape-row.sell{color:#f46c7f}.pt-tape-row.buy{color:#3dd29a}
.pt-analysis-card{border:1px solid #1d2c40;border-radius:6px;padding:9px;margin-bottom:8px;background:#08111d}.pt-analysis-card h4{margin:0 0 7px;font:11px var(--asip-font, system-ui);color:#6f8298;letter-spacing:.1em}
.pt-score{font:700 26px var(--asip-font, system-ui);color:var(--pt-acc)}.pt-bias{font:11px var(--asip-font, system-ui);color:#dbe6f3}
.pt-empty{padding:20px 8px;color:#52657a;font:12px var(--asip-font, system-ui);text-align:center}
.pt-modal{position:fixed;inset:0;z-index:1200;background:rgba(3,7,13,.82);display:flex;align-items:center;justify-content:center;padding:20px}
.pt-modal[hidden]{display:none!important}
.pt-modal-card{width:min(560px,96vw);max-height:84vh;overflow:auto;background:#0b1522;border:1px solid #2a3b53;border-radius:10px;padding:14px;box-shadow:0 30px 100px rgba(0,0,0,.6)}
.pt-modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #223248;padding-bottom:9px;margin-bottom:11px}.pt-modal-head b{font:700 11px var(--asip-font, system-ui);letter-spacing:.11em;color:#dbe6f3}.pt-modal-head button{border:0;background:transparent;color:#8fa3b8;font-size:18px;cursor:pointer}
.pt-search-card{width:min(900px,96vw)}.pt-search-body{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:300px}
.pt-venues{border-right:1px solid #223248;padding-right:10px;display:flex;flex-direction:column;gap:5px}.pt-venues button{display:flex;flex-direction:column;gap:2px;text-align:left;padding:8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#b8c7d8;cursor:pointer}.pt-venues button.active{border-color:rgba(94,234,212,.35);background:rgba(94,234,212,.08)}.pt-venues b{font:12px var(--asip-font, system-ui)}.pt-venues span{font:10px var(--asip-font, system-ui);color:#6f8298}
.pt-search-results-wrap{padding-left:12px;display:flex;flex-direction:column;min-height:0}
.pt-search-results-wrap input{background:#08111d;border:1px solid #2a3b53;border-radius:5px;color:#dbe6f3;font:11px var(--asip-font, system-ui);padding:9px;outline:none}.pt-search-results-wrap input:focus{border-color:var(--pt-acc)}
.pt-search-results{margin-top:8px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:55vh}
.pt-sr{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:7px 8px;border:1px solid #1c2b3d;border-radius:5px;background:#08111d;color:#dbe6f3;cursor:pointer;text-align:left}.pt-sr:hover{border-color:var(--pt-acc);background:#0e1c2b}.pt-sr b{font:700 12px var(--asip-font, system-ui)}.pt-sr span{font:10px var(--asip-font, system-ui);color:#6f8298}
.pt-pane-lib{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pt-pane-lib button{display:flex;flex-direction:column;gap:2px;text-align:left;padding:10px;border:1px solid #2a3b53;border-radius:6px;background:#08111d;color:#dbe6f3;cursor:pointer}.pt-pane-lib button:hover{border-color:var(--pt-acc)}.pt-pane-lib b{font:700 12px var(--asip-font, system-ui);color:var(--pt-acc)}.pt-pane-lib span{font:10px var(--asip-font, system-ui);color:#6f8298}
.pt-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pt-form label{display:flex;flex-direction:column;gap:4px;font:10px var(--asip-font, system-ui);color:#8fa3b8}.pt-form input,.pt-form select{background:#08111d;border:1px solid #2a3b53;border-radius:4px;color:#dbe6f3;font:12px var(--asip-font, system-ui);padding:7px}
.pt-modal-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:12px}.pt-modal-actions button{padding:7px 10px;border-radius:4px;border:1px solid #2a3b53;background:#0a1421;color:#b8c7d8;font:11px var(--asip-font, system-ui);cursor:pointer}.pt-modal-actions .primary{color:#061018;background:var(--pt-acc);border-color:var(--pt-acc)}.pt-modal-actions .ghost{color:#f46c7f}
.pt-indicator-settings{display:grid;grid-template-columns:1fr 1fr;gap:4px}.pt-indicator-settings label{display:flex;align-items:center;gap:6px;padding:6px;font:11px var(--asip-font, system-ui);color:#b8c7d8;cursor:pointer}.pt-indicator-settings input{accent-color:var(--pt-acc)}
@media(max-width:1050px){.pt-body{grid-template-columns:34px minmax(0,1fr) 250px}.pt-quote-stats{display:none}}
@media(max-width:780px){.pt-body{grid-template-columns:32px minmax(0,1fr)}.pt-side{display:none}.pt-brand .terminal-logo{font-size:18px}.pt-header{gap:8px}.pt-tfs button{padding:6px}}


/* left indicator window */
.pt-indicators{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--pt-line);background:#0a111c;overflow:hidden}
.pt-indicators-head{height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;border-bottom:1px solid var(--pt-line);font:700 10px var(--asip-font, system-ui);letter-spacing:.1em;color:#8fa3b8}
.pt-indicators-head span{color:var(--pt-acc);font-weight:700}
.pt-indicators-list{flex:1;overflow:auto;padding:5px}
.pt-ind-row{display:flex;align-items:center;gap:5px;padding:6px 5px;border:1px solid transparent;border-radius:4px;cursor:pointer;margin-bottom:2px}
.pt-ind-row:hover{background:#101d2c;border-color:#1d2c40}
.pt-ind-row.active{border-color:rgba(94,234,212,.4);background:rgba(94,234,212,.07)}
.pt-ind-row .pt-ind-name{flex:1;min-width:0;font:11px var(--asip-font, system-ui);color:#b8c7d8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pt-ind-row .pt-ind-tag{font:9px var(--asip-font, system-ui);color:#5f7288;border:1px solid #223248;border-radius:2px;padding:1px 3px}
.pt-ind-row.on .pt-ind-name{color:#e6f2f0}
.pt-ind-toggle{width:26px;height:15px;border-radius:8px;border:1px solid #2a3b53;background:#08111d;position:relative;cursor:pointer;flex:0 0 26px}
.pt-ind-toggle::after{content:"";position:absolute;left:2px;top:1px;width:11px;height:11px;border-radius:50%;background:#52657a;transition:.15s}
.pt-ind-toggle.on{border-color:rgba(94,234,212,.55);background:rgba(94,234,212,.15)}
.pt-ind-toggle.on::after{left:12px;background:var(--pt-acc)}
.pt-indicators-note{padding:6px 8px;border-top:1px solid #172437;font:9px var(--asip-font, system-ui);color:#3d4f63;line-height:1.45}
.pt-settings-form{display:flex;flex-direction:column;gap:9px}
.pt-settings-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}
.pt-settings-title b{font:700 12px var(--asip-font, system-ui);color:#dbe6f3}
.pt-settings-title button{border:0;background:transparent;color:#6f8298;font:14px var(--asip-font, system-ui);cursor:pointer}
.pt-settings-group{border:1px solid #1d2c40;border-radius:5px;padding:7px;background:#08111d}
.pt-settings-group h5{margin:0 0 7px;font:10px var(--asip-font, system-ui);letter-spacing:.08em;color:#5f7288}
.pt-settings-row{display:grid;grid-template-columns:1fr 92px;align-items:center;gap:6px;margin-bottom:6px;font:10px var(--asip-font, system-ui);color:#8fa3b8}
.pt-settings-row:last-child{margin-bottom:0}
.pt-settings-row input,.pt-settings-row select{width:100%;background:#0a1421;border:1px solid #2a3b53;border-radius:3px;color:#dbe6f3;font:11px var(--asip-font, system-ui);padding:4px 5px;box-sizing:border-box}
.pt-settings-row input[type=color]{padding:1px;height:22px}
.pt-settings-row input[type=checkbox]{width:auto}
.pt-settings-sub{font:9px var(--asip-font, system-ui);color:#3d4f63;margin:2px 0 5px}
@media(max-width:1250px){.pt-body{grid-template-columns:34px 160px minmax(0,1fr) 265px}}
@media(max-width:1050px){.pt-body{grid-template-columns:34px 34px minmax(0,1fr)}.pt-indicators{display:none}.pt-side{display:none}}

/* indicator modal */
.pt-ind-window{width:min(920px,96vw);height:min(640px,86vh);display:flex;flex-direction:column;padding:0;overflow:hidden}
.pt-ind-window .pt-modal-head{padding:12px 14px;margin:0;flex:0 0 auto}
.pt-ind-count{font:11px var(--asip-font, system-ui);color:#061018;background:var(--pt-acc);border-radius:8px;padding:1px 6px;margin-left:auto;margin-right:8px}
.pt-ind-body{display:grid;grid-template-columns:265px minmax(0,1fr);min-height:0;flex:1}
.pt-ind-left{border-right:1px solid #223248;background:#08111d;overflow:auto;padding:7px}
.pt-ind-right{overflow:auto;padding:12px}
.pt-settings-empty{padding:40px 12px;text-align:center;font:11px var(--asip-font, system-ui);color:#3d4f63;line-height:1.6}
@media(max-width:760px){.pt-ind-body{grid-template-columns:1fr;grid-template-rows:210px 1fr}.pt-ind-left{border-right:0;border-bottom:1px solid #223248}}

/* custom dropdowns must be above the indicator modal */
.asip-select-menu{z-index:2000!important}
.asip-calendar{z-index:2010!important}
.pt-modal{z-index:1200}
.pt-ind-right .asip-select-control{width:100%!important}

/* beat legacy #view-terminal .terminal-shell{min-height:100dvh} */
#view-terminal .terminal-shell.pt-shell{height:calc(100dvh - 112px)!important;max-height:calc(100dvh - 112px)!important;min-height:0!important}
#view-terminal .pt-body{min-height:0!important;overflow:hidden!important}
#view-terminal .pt-chart-panel{min-height:0!important}

/* indicator panes: no scrollbar, chart and panes share the same visible range */
.pt-panes::-webkit-scrollbar{display:none}
.pt-panes{scrollbar-width:none}








.pt-history-loader{position:absolute;left:10px;top:10px;z-index:12;display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #2a3b53;border-radius:6px;background:rgba(8,16,27,.95);box-shadow:0 10px 30px rgba(0,0,0,.45);font:10px var(--asip-font, system-ui);color:#8fa3b8}
.pt-history-loader[hidden]{display:none!important}
.pt-history-loader b{display:block;color:#dbe6f3;font:10px var(--asip-font, system-ui);letter-spacing:.06em}
.pt-history-loader small{display:block;color:#5eead4;font:10px var(--asip-font, system-ui);margin-top:2px}
.pt-spinner{width:14px;height:14px;border:2px solid #223248;border-top-color:#5eead4;border-radius:50%;animation:ptspin .8s linear infinite}
@keyframes ptspin{to{transform:rotate(360deg)}}
.pt-settings-actions{display:flex;align-items:center;gap:6px}
.pt-settings-actions .primary{background:#5eead4;color:#061018;border:1px solid #5eead4;border-radius:4px;padding:4px 7px;font:10px var(--asip-font, system-ui);cursor:pointer}
.pt-settings-actions button:not(.primary){border:0;background:transparent;color:#6f8298;font:14px var(--asip-font, system-ui);cursor:pointer}

/* readable terminal typography */
.pt-shell{font-size:12px}
.pt-symbol b{font-size:14px}.pt-symbol span{font-size:12px}
.pt-tfs button{font-size:11px;padding:8px 10px}
.pt-trend,.pt-quote-stats{font-size:12px}
.pt-quote-main b{font-size:17px}.pt-quote-main span:nth-child(2){font-size:27px}.pt-quote-main span:nth-child(3){font-size:12px}
.pt-chart-head{height:42px}.pt-pair b{font-size:13px}.pt-pair span{font-size:12px}.pt-ohlc{font-size:12px}
.pt-head-actions button{font-size:12px;padding:7px 9px}
.pt-chart-footer{font-size:11px;height:28px}
.pt-pane-head{height:27px;flex-basis:27px}.pt-pane-head b{font-size:11px}.pt-pane-head .pt-pane-val{font-size:11px}.pt-pane-head button{font-size:12px;width:21px}
.pt-side-tabs button{font-size:12px}.pt-book-row,.pt-tape-row{font-size:12px;padding:4px}.pt-book-head{font-size:11px}
.pt-modal-card{font-size:12px}.pt-modal-head b{font-size:11px}.pt-form label{font-size:12px}.pt-form input,.pt-form select{font-size:12px;padding:8px}
.pt-ind-row .pt-ind-name{font-size:11px}.pt-ind-row .pt-ind-tag{font-size:10px}.pt-indicators-head{font-size:11px}
.pt-settings-group h5{font-size:11px}.pt-settings-row{font-size:12px}.pt-settings-row input,.pt-settings-row select{font-size:11px;padding:5px}
.pt-pane-lib b{font-size:12px}.pt-pane-lib span{font-size:11px}
.pt-history-loader b{font-size:12px}.pt-history-loader small{font-size:12px}
.pt-tip{font-size:11px}.pt-ruler{font-size:12px}
.asip-select-button{font-size:12px!important}.asip-select-option{font-size:12px!important}

.pt-cross-info{position:static;padding:0 6px;border:0;background:transparent;color:#dbe6f3;font:12px var(--asip-font, system-ui);pointer-events:none;white-space:nowrap}
.pt-cross-info[hidden]{display:none!important}

/* keep the crosshair date/time visible at the very bottom of the terminal */
#terminalShell.pt-shell{position:relative}
#terminalShell .pt-chart-footer{position:absolute;left:0;right:0;bottom:0;z-index:30;background:#0a111c}
#terminalShell .pt-panes{padding-bottom:28px}

#terminalShell .pt-chart-panel{position:relative;overflow:hidden}
#terminalShell .pt-chart-wrap{min-height:100px}
#terminalShell .pt-panes{max-height:60%;overflow:auto;scrollbar-width:auto;scrollbar-gutter:stable;padding:0}
#terminalShell .pt-panes::-webkit-scrollbar{display:block;width:10px}
#terminalShell .pt-panes::-webkit-scrollbar-thumb{background:#3c516a;border-radius:6px}
#terminalShell .pt-panes::-webkit-scrollbar-track{background:#0a111c}
#terminalShell .pt-panes:empty{display:none}
#terminalShell .pt-pane{min-height:100px}
#terminalShell .pt-pane-heads{display:flex;flex-wrap:wrap;flex:none;max-height:56px;overflow:auto}
#terminalShell .pt-pane-head{flex:0 1 auto;width:max-content;max-width:100%;height:28px;gap:5px}
#terminalShell .pt-pane-head b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#terminalShell .pt-pane-head button{width:24px;height:24px}
#terminalShell .pt-pane-plot{flex:1 1 0;min-height:0;position:relative;overflow:hidden}
#terminalShell .pt-pane-canvas{position:absolute;inset:0;width:100%;height:100%}
#terminalShell .pt-pane-canvas.overlay{opacity:.72;clip-path:inset(0 108px 0 0);pointer-events:none}
#terminalShell .pt-pane-resize{bottom:0;height:8px;touch-action:none;border-bottom:2px solid #334965}
#terminalShell .pt-pane-resize:focus-visible{outline:2px solid var(--pt-acc);outline-offset:-2px}
#terminalShell .pt-chart-footer{position:relative;z-index:2;flex:0 0 32px;white-space:nowrap;overflow:auto}
#terminalShell .pt-cross-line{position:absolute;z-index:18;bottom:32px;width:1px;background:rgba(184,226,236,.78);pointer-events:none}
#terminalShell .pt-chart-head{min-height:44px}
#terminalShell :is(.pt-symbol,.pt-tfs button,.pt-trend,.pt-quote-stats,.pt-pair,.pt-ohlc,.pt-head-actions button,.pt-chart-footer,.pt-cross-info,.pt-pane-head b,.pt-pane-val,.pt-pane-head button,.pt-side-tabs button,.pt-book-row,.pt-book-head,.pt-tape-row,.pt-settings-row,.pt-settings-row input,.pt-settings-row select,.pt-ind-name,.pt-ind-tag,.pt-settings-group h5,.pt-settings-actions button,.pt-modal-head b,.pt-form label,.pt-form input,.pt-form select,.pt-tip,.pt-ruler,.pt-cross-hint,.pt-history-loader b,.pt-history-loader small,.pt-results button){
  font-family:var(--asip-font, system-ui);font-size:13px;font-variant-numeric:tabular-nums;
}
#terminalShell :is(.pt-symbol b,.pt-pair b,.pt-ind-name,.pt-modal-head b){font-size:14px}
#terminalShell :is(.pt-symbol span,.pt-pair span){font-size:13px}
#terminalShell :is(.asip-select-button,.asip-select-option){font-family:var(--asip-font, system-ui);font-size:13px!important}
.pt-zone-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0;padding:10px;border:1px solid var(--pt-line);border-radius:6px}
.pt-zone-row label{display:grid;gap:3px;font-size:13px}
.pt-zone-row :is(input,button),#ptZoneAdd{min-width:0;padding:5px;background:var(--pt-panel);color:var(--pt-text);border:1px solid var(--pt-line);border-radius:5px;font:inherit}
.pt-zone-error{color:#f46c7f}
#terminalShell .pt-cross-horizontal{position:absolute;z-index:18;height:1px;background:rgba(184,226,236,.65);pointer-events:none}
#view-terminal .pt-modal{--pt-line:#26384e;--pt-panel:#111a28;--pt-text:#e8eef8;--pt-acc:#5eead4;font-family:var(--asip-font, system-ui)}
#view-terminal .pt-modal :is(b,small,label,input,select,option,button,.pt-ind-name,.pt-ind-tag,.pt-settings-row,.pt-settings-group h5,.pt-settings-empty,.pt-settings-title,.pt-search-result,.asip-select-option,.asip-select-button){font-family:var(--asip-font, system-ui);font-size:14px}
#view-terminal .pt-modal .pt-ind-tag{font-size:12px}
#view-terminal .pt-modal .pt-settings-empty{color:#94a9be}
#terminalShell .pt-chart-footer{color:#94a9be}
@media(max-height:520px){
  #terminalShell .pt-panes{max-height:45%}
  #terminalShell .pt-chart-wrap{min-height:80px}
}

#view-terminal .pt-body{grid-template-rows:minmax(0,1fr)}
#terminalShell :is(.pt-side,.pt-side-body,.pt-tools){min-height:0}
#terminalShell .pt-side{overflow:hidden}
#terminalShell .pt-tools{overflow:auto}
#terminalShell .pt-side-body{flex:1 1 0;overflow:auto;scrollbar-gutter:stable}
#terminalShell .pt-chart-panel:has(.pt-pane) .pt-chart-wrap{flex:0 0 54%}
#terminalShell .pt-panes{flex:1 1 0;min-height:0;max-height:none;overflow-anchor:none}
#terminalShell .pt-pane{flex:none;box-sizing:border-box;overflow:hidden}
#terminalShell .pt-pane-resize{cursor:ns-resize;user-select:none}
#terminalShell .pt-axis-tag{position:absolute;z-index:20;pointer-events:none;padding:2px 6px;border-radius:3px;background:#25415d;color:#f2f7ff;font:600 13px/1.3 var(--asip-font);font-variant-numeric:tabular-nums;white-space:nowrap;transform:translateY(-50%)}
#terminalShell .pt-axis-time{bottom:32px;transform:translateX(-50%)}
.pt-volume-settings{display:flex;align-items:center;gap:8px;padding:6px 8px;border-bottom:1px solid #223248;flex:none;font-size:13px}
.pt-volume-settings label{display:flex;align-items:center;gap:6px;min-width:0;flex:1;white-space:nowrap}
.pt-volume-settings input{min-width:0;color:#e8eef8;background:#111c2b;border:1px solid #334965;border-radius:4px;padding:4px}
.pt-volume-settings input[type=text]{width:100%;font:inherit}
.pt-volume-settings input[type=color]{width:32px;height:27px;padding:2px;flex:none;cursor:pointer}
.pt-volume-mark{background:color-mix(in srgb,var(--pt-volume-color) 22%,transparent);box-shadow:inset 3px 0 var(--pt-volume-color)}
.pt-book-row.pt-volume-mark span:nth-child(2),.pt-tape-row.pt-volume-mark span:last-child{color:var(--pt-volume-color);font-weight:700}

#terminalShell .pt-chart-panel:has(.pt-pane) .pt-chart-wrap{flex:1 1 0}
#terminalShell .pt-panes{flex:0 0 auto;overflow:hidden;scrollbar-gutter:auto}
#terminalShell .pt-panes::-webkit-scrollbar{display:none}
#terminalShell .pt-pane-resize-top{top:0;bottom:auto;border-bottom:0;border-top:2px solid #334965}
#terminalShell .pt-pane-heads{padding-top:7px}
.pt-vbsm-settings details{border-bottom:1px solid #334965;padding:8px 0}
.pt-vbsm-settings summary{cursor:pointer}
.pt-vbsm-settings .market-zone-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:8px;padding:8px 0}
.pt-vbsm-settings label{display:grid;gap:4px;align-content:start;font-size:13px}
.pt-vbsm-settings input,.pt-vbsm-settings select{max-width:100%;color:inherit;background:#131e2a;border:1px solid #334965;padding:5px}
#terminalShell .pt-timeline{position:relative;flex:0 0 22px;border-top:1px solid var(--pt-line);color:#94a9be;font-size:11px;background:#080e18}
#terminalShell .pt-timeline[hidden]{display:none}
#terminalShell .pt-timeline span{position:absolute;top:3px;transform:translateX(-50%);white-space:nowrap}

.pt-chart-split{display:flex;min-width:0;min-height:0;overflow:hidden}
.pt-chart-split>.pt-chart-panel,.pt-chart-frame{flex:1 1 0;min-width:0;min-height:0}
.pt-chart-split:has(>.pt-chart-frame)>.pt-chart-panel{flex:0 0 calc(var(--asip-split,50%) - 4px);box-sizing:border-box}
.pt-chart-frame{width:0;height:100%;border:0;background:#080e18}
.pt-chart-split>.asip-chart-divider{flex:0 0 8px;cursor:col-resize;touch-action:none;background:linear-gradient(to right,#080e18 32%,#334965 32% 68%,#080e18 68%)}
.pt-chart-split>.asip-chart-divider:hover,.pt-chart-split>.asip-chart-divider:focus-visible{background:#5eead4}
.pt-volume-settings label{flex:0 1 auto}
.pt-volume-settings input[type=text]{width:64px;max-width:100%}
#ptVolumeUnit,.pt-vbsm-settings .asip-zone-apply{min-height:28px;padding:4px 9px;border:1px solid #334965;border-radius:5px;color:#a9bfd4;background:#0e1928;font:600 12px system-ui;cursor:pointer}
#ptVolumeUnit:hover,#ptVolumeUnit[aria-pressed=true],.pt-vbsm-settings .asip-zone-apply{border-color:#4b998e;background:#122e34;color:#78ecdb}
#ptVolumeUnit:disabled{opacity:.45;cursor:default}
.pt-vbsm-settings .asip-zone-actions{position:sticky;top:0;z-index:2;background:#101b29;padding:6px 0;display:flex;align-items:center;gap:10px}
.pt-vbsm-settings input[type=text],.pt-vbsm-settings input[type=number]{width:min(100%,8rem);box-sizing:border-box}
html.asip-secondary-chart,html.asip-secondary-chart body{margin:0;width:100%;height:100%;overflow:hidden;background:#080e18}
.asip-secondary-chart #view-terminal{display:block!important;margin:0;padding:0;height:100vh!important;min-height:0!important}
.asip-secondary-chart #terminalShell{height:100%!important;min-height:0!important;margin:0;border:0}
.asip-secondary-chart #terminalShell .pt-body{grid-template-columns:34px minmax(0,1fr)!important}
.asip-secondary-chart .pt-indicators,.asip-secondary-chart .pt-brand,.asip-secondary-chart .pt-quote,.asip-secondary-chart #ptFullscreen,.asip-secondary-chart #terminalStatus{display:none!important}
.asip-secondary-chart .pt-header{padding:4px}
.asip-secondary-chart .pt-head-center{flex-wrap:wrap}
.asip-secondary-chart #view-terminal .terminal-shell.pt-shell{height:100vh!important;max-height:100vh!important}
@media(max-width:1050px){#view-terminal .pt-body{grid-template-columns:34px minmax(0,1fr)}}
@media(min-width:1051px) and (max-width:1250px){#view-terminal .pt-body{grid-template-columns:34px minmax(0,1fr) 265px}}

#view-terminal{--pt-control-height:32px}
#view-terminal :is(button:not(.pt-ind-toggle), select, input:not([type=checkbox]):not([type=radio]):not([type=range])){box-sizing:border-box;height:var(--pt-control-height);min-height:var(--pt-control-height)}
#view-terminal input[type=color]{width:48px;min-width:48px;appearance:auto;cursor:pointer;padding:3px;border-radius:5px;border:1px solid #334965;background:#101b29}
#view-terminal input[type=color]::-webkit-color-swatch-wrapper{padding:0}
#view-terminal input[type=color]::-webkit-color-swatch,#view-terminal input[type=color]::-moz-color-swatch{border:0;border-radius:3px}
#view-terminal .pt-volume-settings input[type=color]{width:38px;min-width:38px}
#terminalShell .pt-cross-line{background:repeating-linear-gradient(to bottom,#8ab5bf 0 4px,transparent 4px 8px)}
#terminalShell .pt-cross-horizontal{background:repeating-linear-gradient(to right,#8ab5bf 0 4px,transparent 4px 8px)}
.pt-chart-split:not(.right-active):has(.pt-chart-frame)>.pt-chart-panel,.pt-chart-split.right-active>.pt-chart-frame{outline:1px solid #5eead4;outline-offset:-1px}
.pt-ind-right{overflow:hidden;min-height:0;display:flex;flex-direction:column}
.pt-ind-right>:is(.pt-settings-form,.pt-vbsm-settings){flex:1;min-height:0;display:flex;flex-direction:column}
.pt-ind-right :is(.pt-settings-content,.asip-zone-fields-scroll){flex:1;min-height:0;overflow:auto}
.pt-ind-right .asip-zone-actions{flex:none;position:static;display:flex;align-items:center;gap:10px;padding:10px 0 0;margin-top:8px;border-top:1px solid #334965;background:#101b29}
.pt-ind-right .asip-zone-actions button{min-width:120px}
#terminalShell #ptSecondChart{width:auto;padding-inline:9px;white-space:nowrap}
#view-terminal input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}
#view-terminal input[type=color]::-moz-color-swatch{border:0;border-radius:3px}
.asip-secondary-chart .pt-pair{display:none}

#view-terminal:fullscreen,#view-terminal.pt-full-fallback{margin:0!important;padding:0!important;width:100vw;max-width:none;height:100dvh;background:#080e18}
#view-terminal.pt-full-fallback{position:fixed;inset:0;z-index:1500}
#view-terminal:fullscreen #terminalShell,#view-terminal.pt-full-fallback #terminalShell{height:100dvh!important;max-height:100dvh!important}
#view-terminal .pt-volume-settings #ptVolumeMinimum{flex:1 1 0;width:0;min-width:0;padding-inline:8px}
#view-terminal :is(.pt-chart-panel,.pt-panes,.pt-pane-plot,.pt-tools,.pt-chart-footer,.pt-side-body){scrollbar-width:none;scrollbar-gutter:auto}
#view-terminal :is(.pt-chart-panel,.pt-panes,.pt-pane-plot,.pt-tools,.pt-chart-footer,.pt-side-body)::-webkit-scrollbar{display:none}
#view-terminal .pt-chart-footer{overflow:hidden}
#view-terminal :is(.pt-form,.pt-ind-right) input[type=number]{appearance:textfield;-moz-appearance:textfield}
#view-terminal :is(.pt-form,.pt-ind-right) input[type=number]::-webkit-inner-spin-button,
#view-terminal :is(.pt-form,.pt-ind-right) input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}
#view-terminal input[type=checkbox]{appearance:none;width:16px;height:16px;border-radius:4px;border:1px solid #3d536c;background:#0e1928;cursor:pointer;display:inline-grid;place-content:center;margin:0}
#view-terminal input[type=checkbox]:checked{background:#1b4b4a;border-color:#5eead4}
#view-terminal input[type=checkbox]:checked::after{content:"";width:7px;height:4px;border-left:2px solid #a6fff0;border-bottom:2px solid #a6fff0;transform:rotate(-45deg) translateY(-1px)}
#view-terminal :is(button,input,select):focus-visible{outline:2px solid #65d4c2;outline-offset:2px}
#view-terminal .pt-tool-button{display:grid;place-items:center;padding:3px;flex:0 0 auto}
.pt-tool-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
#ptProfileFields{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;border:1px solid #334965;padding:10px;border-radius:6px}
#ptProfileFields legend{padding:0 5px;color:#77d8c8}
#ptProfileFields input[type=checkbox]{align-self:start}
#view-terminal .pt-modal :is(.asip-select-menu,.asip-calendar,.asip-tooltip){z-index:1750}
#view-terminal .pt-tools button.pt-color{min-height:12px;height:12px!important}
#view-terminal .pt-tools .pt-tool-button:focus-visible{outline-offset:-2px}

#view-terminal .pt-side-tabs button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;padding-inline:5px}
.pt-side-tabs svg,.pt-side-analysis svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pt-side-analysis{flex:0 0 auto;max-height:32%;overflow:auto;border-top:1px solid #334965;padding:7px 9px;background:#0b1522}
.pt-side-analysis h3{display:flex;gap:6px;align-items:center;margin:0 0 5px;font-size:13px;color:#a9bfd4}
.pt-analysis-summary{display:grid;grid-template-columns:1fr 1fr;gap:4px 7px;color:#92a9bf;font-size:11px}
.pt-analysis-summary b{color:#d7e7f4}
.pt-watch-actions,.pt-watch-row{display:flex;gap:5px;margin-bottom:5px}
.pt-watch-row button:first-child{flex:1;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pt-watch-actions button,.pt-watch-row button,#ptFibFields button{color:#c0d3e5;background:#0e1928;border:1px solid #334965;border-radius:5px;padding:3px 7px;cursor:pointer}
.pt-watch-row button[aria-current=true],.pt-watch-actions button:hover,.pt-watch-row button:hover,#ptFibFields button:hover{color:#77e6d6;border-color:#63a396}
.pt-watch-actions button:disabled{opacity:.48;cursor:default}
#ptFibFields{border:1px solid #334965;border-radius:6px;padding:10px}
#ptFibFields legend{color:#77d8c8;padding:0 5px}
#ptFibFields .pt-fib-level{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:5px;margin-bottom:5px}
#view-terminal #terminalShell :is(.pt-pane-heads,.pt-panes,.pt-pane-plot,.pt-chart-wrap,.pt-chart-footer,.pt-tools){scrollbar-width:none!important;scrollbar-gutter:auto!important}
#view-terminal #terminalShell :is(.pt-pane-heads,.pt-panes,.pt-pane-plot,.pt-chart-wrap,.pt-chart-footer,.pt-tools)::-webkit-scrollbar,
#view-terminal #terminalShell :is(.pt-pane-heads,.pt-panes,.pt-pane-plot,.pt-chart-wrap,.pt-chart-footer,.pt-tools)::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
#view-terminal #terminalShell :is(.pt-pane-heads,.pt-chart-footer){overflow:hidden}
.pt-alert-add{position:absolute;z-index:9;width:22px!important;height:22px!important;min-height:22px!important;max-height:22px!important;line-height:20px!important;border:1px solid #f5b942;border-radius:5px;background:#0b1522;color:#f5b942;font:18px/18px Consolas,monospace;cursor:pointer;padding:0}
.pt-alert-add[hidden]{display:none!important}
.pt-alerts-card{width:min(760px,92vw)}
.pt-alerts-list{display:flex;flex-direction:column;gap:6px;max-height:55vh;overflow:auto}
.pt-alert-row{display:grid;grid-template-columns:1fr 110px 120px 70px 70px;gap:7px;align-items:center;padding:7px;border:1px solid #1d2c40;border-radius:5px;background:#0b1522;font:11px Consolas,monospace}
.pt-alert-row input,.pt-alert-row select{width:100%;background:#08111d;color:#dbe6f3;border:1px solid #24364b;border-radius:3px;padding:5px;font:11px Consolas,monospace}
.pt-alert-row .active{color:#5eead4}.pt-alert-row .triggered{color:#f5b942}.pt-alert-row .off{color:#6f8298}
.pt-alert-empty{color:#6f8298;padding:16px;text-align:center;font:11px Consolas,monospace}
.pt-alert-notice{position:fixed;right:22px;bottom:22px;z-index:9999;padding:10px 14px;border:1px solid #f5b942;border-radius:6px;background:#0b1522;color:#f5b942;font:12px Consolas,monospace;box-shadow:0 10px 30px #0008}




.pt-apply-custom{display:inline-flex;align-items:center;gap:7px;border:1px solid #2dd4bf;border-radius:7px;background:linear-gradient(135deg,#0f766e,#155e75);color:#eafffb;padding:8px 14px;font:700 11px Consolas,monospace;letter-spacing:.04em;cursor:pointer;box-shadow:0 4px 16px rgba(45,212,191,.16);transition:transform .15s,box-shadow .15s}
.pt-apply-custom span{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#5eead4;color:#042f2e;font:12px/1 Consolas,monospace}
.pt-apply-custom:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(45,212,191,.28)}
.pt-settings-hint{color:#94a9be;font-size:11px;line-height:1.55;margin:0 0 10px}
.pt-alerts-card{width:min(1020px,96vw)!important;max-width:96vw}
.pt-alert-row{grid-template-columns:minmax(180px,1.3fr) 110px minmax(180px,1.2fr) 130px 92px!important}
.pt-alert-row select,.pt-alert-row input{min-width:0}
@keyframes ptAlertFlash{0%,100%{box-shadow:0 0 0 0 rgba(245,185,66,0)}50%{box-shadow:0 0 0 5px rgba(245,185,66,.55)}}
.pt-alert-flash{animation:ptAlertFlash 1s infinite;color:#f5b942!important}
.pt-shell .pt-alerts-card button,.pt-shell #ptAlertsBtn{background:#0e1a2a;color:#dbe6f3;border:1px solid #2a3b53;border-radius:6px;padding:6px 9px;font:11px Consolas,monospace;cursor:pointer}
.pt-shell .pt-alerts-card button:hover,.pt-shell #ptAlertsBtn:hover{border-color:#5eead4;color:#5eead4}
/* custom controls across terminal */
.pt-shell button,.pt-shell select,.pt-shell input{font-family:Consolas,monospace;transition:background .15s,border-color .15s,color .15s,transform .15s}
.pt-shell button:not(.pt-tool-button):not(.pt-color):not(.pt-alert-add){border-radius:7px;cursor:pointer}
.pt-shell button:not(.pt-tool-button):not(.pt-color):not(.pt-alert-add):hover{border-color:#5eead4}
.pt-shell .pt-head-actions button{background:#0d1b2b;border:1px solid #263b54;color:#dbe6f3}
.pt-shell .pt-head-actions button:hover{background:#12263a;color:#5eead4}
.pt-shell .pt-modal-actions button{border-radius:7px}
#terminalShell .pt-pane-head{cursor:grab;user-select:none}
#terminalShell .pt-pane-head:active{cursor:grabbing}
#terminalShell .pt-pane:hover .pt-pane-resize-top{height:8px;background:rgba(94,234,212,.35)}
#terminalShell .pt-pane-resize-top{cursor:ns-resize}
.pt-chart-type{border:1px solid #2dd4bf;border-radius:6px;background:#0d1b2b;color:#5eead4;padding:7px 10px;font:700 11px Consolas,monospace;letter-spacing:.04em;cursor:pointer}
.pt-chart-type:hover{background:#123043}
.pt-instrument-type{color:#8fa3b8;font:10px Consolas,monospace;letter-spacing:.04em}
.pt-shell, .practice-view, .view-admin, .pt-modal { color-scheme: dark; }
.pt-shell *,.practice-view *,.view-admin *,.pt-modal *{scrollbar-width:thin;scrollbar-color:#2a3b53 #08111d}
.pt-shell *::-webkit-scrollbar,.practice-view *::-webkit-scrollbar,.view-admin *::-webkit-scrollbar,.pt-modal *::-webkit-scrollbar{width:9px;height:9px}
.pt-shell *::-webkit-scrollbar-track,.practice-view *::-webkit-scrollbar-track,.view-admin *::-webkit-scrollbar-track,.pt-modal *::-webkit-scrollbar-track{background:#08111d;border-radius:9px}
.pt-shell *::-webkit-scrollbar-thumb,.practice-view *::-webkit-scrollbar-thumb,.view-admin *::-webkit-scrollbar-thumb,.pt-modal *::-webkit-scrollbar-thumb{background:#2a3b53;border:2px solid #08111d;border-radius:9px}
.pt-shell *::-webkit-scrollbar-thumb:hover,.practice-view *::-webkit-scrollbar-thumb:hover,.view-admin *::-webkit-scrollbar-thumb:hover,.pt-modal *::-webkit-scrollbar-thumb:hover{background:#3d6b86}
.pt-shell select,.practice-view select,.view-admin select,.pt-modal select{appearance:none;-webkit-appearance:none;background-color:#0b1522;border:1px solid #2a3b53;border-radius:6px;color:#dbe6f3;padding:7px 30px 7px 9px;font:11px Consolas,monospace;background-image:linear-gradient(45deg,transparent 50%,#5eead4 50%),linear-gradient(135deg,#5eead4 50%,transparent 50%);background-position:calc(100% - 14px) 50%,calc(100% - 9px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.pt-shell select:hover,.practice-view select:hover,.view-admin select:hover,.pt-modal select:hover{border-color:#5eead4}
.pt-shell input[type=text],.pt-shell input[type=number],.pt-shell input[type=password],.pt-shell input[type=date],.practice-view input,.view-admin input,.pt-modal input{background:#0b1522;border:1px solid #2a3b53;border-radius:6px;color:#dbe6f3;padding:7px 9px;font:11px Consolas,monospace;outline:none}
.pt-shell input:focus,.practice-view input:focus,.view-admin input:focus,.pt-modal input:focus{border-color:#5eead4;box-shadow:0 0 0 2px rgba(94,234,212,.12)}
.pt-shell input[type=checkbox],.practice-view input[type=checkbox],.view-admin input[type=checkbox],.pt-modal input[type=checkbox]{accent-color:#5eead4;width:15px;height:15px}
.pt-shell input[type=range]{accent-color:#5eead4}
.pt-shell button,.practice-view button,.view-admin button,.pt-modal button{font-family:Consolas,monospace;border-radius:6px}
.pt-shell *::selection,.practice-view *::selection,.view-admin *::selection{background:#155e75;color:#fff}

.pt-search-results{grid-template-columns:1fr!important;gap:7px!important;max-height:58vh!important}
.pt-search-results .pt-sr{min-height:48px;padding:10px 12px!important;gap:4px!important}
.pt-search-results .pt-sr b{font-size:13px!important}
.pt-search-results .pt-sr span{display:block;font-size:11px!important;line-height:1.4;color:#8fa3b8!important;white-space:normal!important}
.pt-watch-row button:first-child{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;padding:8px 9px!important;line-height:1.35}
.pt-watch-row button:first-child b{display:block;font:700 12px Consolas,monospace;color:#dbe6f3}
.pt-watch-row button:first-child span{display:block;font:10px Consolas,monospace;color:#8fa3b8;margin-top:3px}
.pt-search-results .pt-sr{height:auto!important;min-height:54px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.pt-search-results .pt-sr b,.pt-search-results .pt-sr span{display:block!important}
#view-terminal .pt-watch-row button:first-child{height:auto!important;min-height:54px!important;max-height:none!important}
#view-terminal .pt-watch-row button:last-child{height:54px!important;min-height:54px!important}
#view-terminal .pt-venues button{height:auto!important;min-height:58px!important;max-height:none!important}
#view-terminal .pt-venues button b{display:block;font-size:12px;line-height:1.35}
#view-terminal .pt-venues button span{display:block;font-size:10px;line-height:1.35;margin-top:2px;white-space:normal}
#view-terminal .pt-watch-row{align-items:stretch}
#terminalShell .pt-pane.no-data{height:27px!important;min-height:27px!important;max-height:27px!important;flex:0 0 27px!important}
#terminalShell .pt-pane.no-data .pt-pane-plot,#terminalShell .pt-pane.no-data [data-resize]{display:none!important}
#terminalShell .pt-pane.no-data .pt-pane-head{height:27px;flex-basis:27px;opacity:.82}
#terminalShell .pt-pane.no-data .pt-pane-head .pt-pane-val{color:#6f8298;font-size:10px}
#terminalShell .pt-pane.no-data .pt-pane-head b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
#terminalShell .pt-pane.no-data .pt-pane-head .pt-pane-val{display:none!important}
.pt-template-actions{display:flex;gap:6px;grid-column:1/-1}
.pt-template-actions button{flex:1;padding:7px;border:1px solid #2a3b53;border-radius:6px;background:#0d1b2b;color:#dbe6f3;font:10px Consolas,monospace;cursor:pointer}
.pt-template-actions button:hover{border-color:#5eead4;color:#5eead4}
#ptDrawModal .pt-form{grid-template-columns:1fr 1fr}
#ptDrawModal fieldset{grid-column:1/-1}
#terminalShell .pt-pane-heads{padding-top:0!important;background:transparent!important;max-height:none!important;overflow:visible!important;flex-wrap:nowrap!important}
#terminalShell .pt-pane-head{height:22px!important;flex-basis:22px!important;padding:0 4px!important;border:0!important;background:transparent!important;gap:5px!important}
#terminalShell .pt-pane-head .pt-pane-val{margin-left:0!important;color:#8fa3b8!important}
#terminalShell .pt-pane-head button{width:20px!important;height:20px!important}
#terminalShell .pt-pane-head+ .pt-pane-head{margin-left:8px}
#terminalShell .pt-pane-plot{background:#080f19}
#terminalShell .pt-pane-canvas{background:transparent}
#terminalShell .pt-pane-canvas.overlay{background:transparent}
/* chart breathing room */
#terminalShell .pt-chart-wrap{margin-top:8px!important;margin-bottom:8px!important}
#terminalShell .pt-panes{margin-top:8px!important;margin-bottom:8px!important}
#terminalShell .pt-chart-frame{margin-top:8px!important;margin-bottom:8px!important;height:calc(100% - 16px)!important}
/* restore full pane header bars */
#terminalShell .pt-pane-heads{padding-top:7px!important;background:transparent!important;max-height:56px!important;overflow:auto!important;flex-wrap:wrap!important}
#terminalShell .pt-pane-head{height:28px!important;flex-basis:28px!important;padding:0 6px!important;border:1px solid var(--pt-line)!important;background:#0a1220!important;border-radius:4px}
#terminalShell .pt-pane-head .pt-pane-val{margin-left:auto!important}
#terminalShell .pt-pane-head button{width:24px!important;height:24px!important}
#terminalShell .pt-pane-head + .pt-pane-head{margin-left:0!important}

#terminalShell .pt-chart-head{position:relative;z-index:25;flex-shrink:0;background:#0a1220}
#terminalShell .pt-panes{position:relative;min-height:0;overflow:hidden}
#terminalShell .pt-panes .pt-pane:not(.no-data){min-height:0}
#terminalShell .pt-pane-plot{position:relative;overflow:hidden;isolation:isolate}

#terminalShell .pt-side-tabs button{font-size:11px;padding-inline:3px}
#terminalShell .pt-side-tabs svg{width:12px;height:12px}
#terminalShell :is(#ptScanners,.pt-side-analysis,.pt-side-body,.pt-volume-settings)[hidden]{display:none!important}
#ptScanners{display:flex;flex-direction:column;flex:1;min-height:0;gap:7px;padding:7px;color:#dce8fa}
.pts-picker{position:relative;flex:none}
.pts-picker summary{cursor:pointer;padding:7px 9px;border:1px solid #3a577a;border-radius:5px;background:#182b43;font-size:12px}
.pts-options{position:absolute;inset:100% 0 auto;z-index:8;max-height:min(55vh,360px);overflow:auto;background:#111f33;border:1px solid #46678d;border-radius:5px;box-shadow:0 8px 20px #0008}
.pts-options label{display:flex;align-items:center;gap:8px;padding:6px 8px;font-size:11px;cursor:pointer}
.pts-options label:has(input:disabled){opacity:.5;cursor:default}
.pts-cards{display:flex;flex-direction:column;flex:1;min-height:0;gap:6px}
.pts-card{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;border:1px solid #2e4764;border-radius:5px;background:#0d1829}
.pts-card header{display:flex;align-items:center;gap:4px;flex:none;padding:5px;border-bottom:1px solid #263c56}
.pts-card header div{min-width:0;flex:1}
.pts-card header :is(strong,small){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.pts-card header small,.pts-status,.pts-signal time{color:#9db4cf}
.pts-card header button,.pts-dialog button{border:1px solid #385779;border-radius:5px;color:#d4e6ff;background:#162942;cursor:pointer}
.pts-card header button{width:27px;height:27px;flex:none;padding:4px}
.pts-card svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pts-status{font-size:10px;margin:4px 7px}
.pts-status:empty{display:none}
.pts-list{overflow:auto;flex:1;min-height:0}
.pts-signal{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px;width:100%;padding:5px 7px;text-align:left;color:inherit;background:transparent;border:0;border-top:1px solid #26384e;font:11px/1.25 var(--asip-font,system-ui);cursor:pointer}
.pts-signal:hover,.pts-signal:focus-visible{background:#1d3450}
.pts-signal b,.pts-signal small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pts-signal small{grid-column:1/-1;color:#acbbcf}
.pts-signal[data-direction=up] b{color:#75e5b6}
.pts-signal[data-direction=down] b{color:#ffa3af}
.pts-dialog{width:min(460px,92vw);max-height:85vh;overflow:auto;padding:14px;border:1px solid #46678d;border-radius:9px;color:#e6f0ff;background:#0e1b2d}
.pts-dialog::backdrop{background:#050914be}
.pts-dialog header,.pts-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
.pts-dialog button{padding:6px 10px}
.pts-dialog footer{justify-content:flex-end;margin-top:12px}
.pts-fields{margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pts-fields label{display:grid;align-content:start;gap:4px;font-size:12px}
.pts-fields label[hidden]{display:none}
.pts-fields :is(input,select){min-width:0;width:100%;padding:6px;border:1px solid #395778;border-radius:5px;background:#14243a;color:#e6f0ff}
#ptScannersMobile{display:none}
@media(max-width:1050px){
  #ptScannersMobile{display:inline-flex}
  #terminalShell .pt-side.pt-side-scanning{position:absolute;display:flex;right:0;top:46px;bottom:0;width:min(360px,100%);z-index:16;border-left:1px solid #426389}
  #terminalShell .pt-side-scanning .pt-side-tabs{display:none}
}
.asip-secondary-chart #ptScannersMobile{display:none}

#terminalShell .pts-card header small{color:#93dbff}
#terminalShell .pts-card header small[data-market=futures]{color:#d0bcff}
#view-terminal #ptScanners .pts-signal{
  height:auto;min-height:48px;max-height:none;
  padding:6px 7px;row-gap:4px;align-content:start;line-height:1.35;
}
#ptScanners .pts-metrics{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:3px 8px;color:#bdcce0}
#ptScanners .pts-metrics span{white-space:nowrap}
#ptScanners .pts-metrics [data-tone=up]{color:#75e5b6}
#ptScanners .pts-metrics [data-tone=down]{color:#ffa3af}
#ptScanners .pts-metrics [data-tone=accent]{color:#f4cf81}
#view-terminal #ptScanners .pts-fields :is(select,input){
  color:#ebf3ff;height:38px;min-height:38px;
  padding:4px 9px;font:13px/1.4 var(--asip-font,system-ui);
}
#view-terminal #ptScanners .pts-fields select{padding-right:30px}
#view-terminal #ptScanners .pts-fields option{color:#ebf3ff;background:#14243a}

#terminalShell .pts-options input[type=checkbox]{
  box-sizing:border-box;appearance:none;flex:0 0 17px;
  width:17px!important;min-width:17px!important;height:17px!important;min-height:17px!important;
  padding:0!important;border-radius:4px!important;margin:0;border:1px solid #7095bc;background:#122138;
}
#terminalShell .pts-options input[type=checkbox]:checked{background:#1b4b4a;border-color:#79ead8}
#terminalShell .pts-options input[type=checkbox]:focus-visible{outline:2px solid #a2d2ff;outline-offset:2px}
#terminalShell .pts-options input[type=checkbox]:disabled{cursor:default}
#view-terminal #ptScanners .pts-fields .asip-select-button{
  height:38px;min-height:38px;padding:5px 10px;line-height:1.3;
  font-size:13px!important;border-color:#395778;background:#14243a;color:#ebf3ff;
}
#view-terminal #ptScanners .pts-dialog .asip-select-option{width:100%;text-align:left}
#view-terminal #ptScanners .pts-dialog .asip-select-option:is(:hover,:focus-visible,.selected){
  background:#274761;color:#fff;
}
#view-terminal #ptScanners .pts-fields .asip-number-buttons button{
  height:auto;min-height:0;padding:0;
}
