.notice{max-width:1500px;margin:10px auto 0;padding:9px 14px;border:1px solid var(--acc);background:var(--h1);border-radius:10px;font-size:13px}
.pwrap{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;padding:0 12px;max-width:1500px;margin:auto}@media(max-width:900px){.pwrap{grid-template-columns:minmax(0,1fr)}}
/* 2026-10-28: grid children may shrink; wide tables scroll inside their own box, never past the viewport */
.pwrap>*,.pmain>*,.pside>*{min-width:0}.pmain .card,.pside .card{max-width:100%;box-sizing:border-box}#view{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}#view .tbl{max-width:100%}
.pmain .pane .cv{height:470px}.px{font-size:20px;font-weight:700;color:var(--acc);margin:0 8px}
.side button{flex:1;font-weight:600}.side .long.on{background:var(--ok);color:#111;border-color:var(--ok)}.side .short.on{background:var(--bad);color:#fff;border-color:var(--bad)}
.ticket button.on,.tabsel button.on{border-color:var(--acc);background:var(--h1)}.ticket input{width:100%}.ticket .row input{width:auto}
#pcts button{flex:1;padding:4px}.tbl{width:100%;font-size:13px;overflow-x:auto;display:block}.tbl td,.tbl th{white-space:nowrap;padding:5px 7px}
.badge{font-size:11px;border-radius:4px;padding:1px 5px;border:1px solid var(--line)}.badge.long{color:var(--ok)}.badge.short{color:var(--bad)}
#eqc{height:180px}
[hidden]{display:none!important}
.modal{position:fixed;inset:0;background:#000b;z-index:20;display:flex;align-items:center;justify-content:center;padding:12px}.modal[hidden]{display:none!important}
.mbox{max-width:760px;width:100%;max-height:96vh;overflow:auto}#sharecv{width:100%;height:auto;border-radius:10px;border:1px solid var(--line)}#mstyles button.on{border-color:var(--acc);background:var(--h1)}
/* 2026-10-28: the market/timeframe card is a single row here; drop the charts-page height reservation (blank gap) */
.pmain .card.tools{min-height:0!important}.pmain .tools>.row:first-child{min-height:36px}
/* off-scale price lines (e.g. far liquidation) shown as tags on the chart edge */
.edgetags{position:absolute;left:0;right:64px;display:flex;justify-content:center;flex-wrap:wrap;gap:4px;pointer-events:none;z-index:4}.edgetags.top{top:6px}.edgetags.bot{bottom:34px}.edgetags:empty{display:none}
.etag{font-size:12px;line-height:1.3;padding:2px 9px;border-radius:999px;background:color-mix(in srgb,var(--card) 88%,transparent);border:1px dashed currentColor;white-space:nowrap;font-variant-numeric:tabular-nums}
