/* Trade page (v144): full-width, Apple-style. Loaded after apple.css; everything is scoped to #trBox. */
#trBox{background:#000;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','SF Pro Display',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
#trBox .chartbar{padding:12px max(16px,calc((100% - 1180px)/2));min-height:60px}
#trBox #trBody{max-width:none;width:100%;margin:0;box-sizing:border-box;padding:20px max(16px,calc((100% - 1180px)/2)) calc(48px + env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-content:start;align-items:start}
#trBox .tcard{background:#1c1c1e;border-radius:22px;padding:18px 20px;gap:14px;box-shadow:none;min-width:0}
#trBox .tcard .th{display:flex;justify-content:space-between;align-items:baseline}
#trBox .tcard .th b{font-size:21px;font-weight:700;letter-spacing:-.022em}
#trBox .tcard .th .mut{font-size:14px;color:#8e8e93}
#trBox .mut{color:#8e8e93}

/* results strip */
#trBox .tstrip{gap:12px}
#trBox .tsh{display:flex;justify-content:space-between;align-items:center}
#trBox .tsh>span{font-size:15px;font-weight:600;color:#c7c7cc}
#trBox .tcalc{height:32px;padding:0 14px;border:0;border-radius:999px;background:rgba(10,132,255,.16);color:#0a84ff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
#trBox .tsx{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:12px;align-items:start}
#trBox .tsx>div{display:flex;flex-direction:column;gap:2px;min-width:0}
#trBox .tsx span{font-size:13px;color:#8e8e93}
#trBox .tsx b{font-size:20px;font-weight:700;letter-spacing:-.025em;font-variant-numeric:tabular-nums;margin:0}
#trBox .tsx>div:first-child b{font-size:32px;font-weight:800;letter-spacing:-.035em}
#trBox .tsx em{font-style:normal;font-size:12.5px;color:#8e8e93}
#trBox .up{color:#30D158}#trBox .down{color:#FF453A}

/* tabs: iOS segmented control */
#trBox .ttabs{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;padding:2px;border-radius:12px;background:rgba(118,118,128,.24)}
#trBox .ttabs button{height:38px;border:0;border-radius:10px;background:transparent;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer;white-space:nowrap}
#trBox .ttabs button.on{background:#636366;box-shadow:0 2px 6px rgba(0,0,0,.3)}

/* grouped lists: positions, history, orders */
#trBox .tlist{display:grid;margin:0 -20px}
#trBox .tpr,#trBox .thr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;align-items:center;padding:14px 20px;border-top:.5px solid rgba(255,255,255,.1)}
#trBox .tlist>.tpr:first-child{border-top:0}
#trBox .tpm{display:flex;flex-direction:column;gap:3px;min-width:0}
#trBox .tpm b{font-size:19px;font-weight:700;letter-spacing:-.02em}
#trBox .tpm span{font-size:13.5px;color:#8e8e93}
#trBox .tpv{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
#trBox .tpv b{font-size:19px;font-weight:700;font-variant-numeric:tabular-nums}
#trBox .tpv span{font-size:13.5px;font-weight:600;font-variant-numeric:tabular-nums}
#trBox .tpb{grid-column:1 / -1;display:flex;gap:8px}
#trBox .tpb .chip{flex:1;height:40px;border:0;border-radius:12px;background:#2c2c2e;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
#trBox .tpb .chip[data-sell]{background:rgba(255,69,58,.18);color:#ff6961}
#trBox .thd{display:flex;justify-content:space-between;align-items:baseline;margin:4px -20px 0;padding:14px 20px 6px;background:#242426}
#trBox .thd b{font-size:14px;font-weight:600;color:#c7c7cc}
#trBox .thd span{font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}
#trBox .thr{margin:0 -20px;padding-left:20px;padding-right:20px}
#trBox .thist{overflow:hidden}
#trBox .tsrc{font-style:normal;font-size:10px;font-weight:700;padding:2px 7px;border-radius:999px;background:rgba(10,132,255,.2);color:#64b5ff;vertical-align:middle;margin-left:6px}
#trBox .tord{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;margin:0 -20px;border-top:.5px solid rgba(255,255,255,.1)}
#trBox .tord:first-child{border-top:0}
#trBox .tord b{display:block;font-size:16px;font-weight:700}
#trBox .tord span{font-size:13px;color:#8e8e93}
#trBox .tord .chip{height:34px;padding:0 16px;border:0;border-radius:999px;background:#2c2c2e;color:#0a84ff;font:inherit;font-weight:600;cursor:pointer}
#trBox .tcard.tords>.tlist{margin:0 -20px}
#trBox .tcard.tords .tord{margin:0}

/* ticket inputs and buttons */
#trBox .tsym{display:grid;gap:6px;font-size:13px;color:#8e8e93}
#trBox .tsym input{height:58px;border-radius:14px;border:0;background:#2c2c2e;color:#fff;padding:0 16px;font:inherit;font-size:26px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;box-sizing:border-box;width:100%}
#trBox .tsym input:focus,#trBox .trow2 input:focus{outline:none;box-shadow:0 0 0 2px #0a84ff}
#trBox .trow2 input{height:56px;border-radius:14px;background:#2c2c2e;border:0;font-size:24px;font-weight:700;padding:0 16px}
#trBox .tgo{height:56px;border-radius:16px;font-size:17px;font-weight:650}
#trBox .tgrid{gap:0}

/* phone */
@media(max-width:899px){
  #trBox .tstrip{order:1}#trBox .ttabs{order:2}
  #trBox .tmain,#trBox .tpos,#trBox .thist,#trBox .tconf,#trBox .tdone{order:3}
  #trBox .tacct{order:4}#trBox .tords{order:5}
  #trBox .tpriv{display:none}
  #trBox #trBody{padding-top:14px}
  #trBox .tsx>div:first-child b{font-size:26px}#trBox .tsx b{font-size:17px}
}
/* desktop and tablet: left rail (results, tabs, account, orders) + wide workspace */
@media(min-width:900px){
  #trBox #trBody{grid-template-columns:minmax(320px,400px) minmax(0,1fr);column-gap:20px;row-gap:14px}
  #trBox #trBody>*{grid-column:1}
  #trBox #trBody>.tmain,#trBox #trBody>.tpos,#trBox #trBody>.thist,#trBox #trBody>.tconf,#trBox #trBody>.tdone{grid-column:2;grid-row:1 / span 8;position:sticky;top:0;align-self:start}
  #trBox #trBody>.thist,#trBox #trBody>.tpos{position:static}
  #trBox #trBody>.tcard:only-child{grid-column:1 / -1;max-width:560px;margin:0 auto;width:100%}
  #trBox .tcard{padding:22px 24px}
  #trBox .tlist,#trBox .tord,#trBox .thd,#trBox .thr,#trBox .tcard.tords>.tlist{margin-left:-24px;margin-right:-24px}
  #trBox .tpr,#trBox .thr,#trBox .tord,#trBox .thd{padding-left:24px;padding-right:24px}
  #trBox .tcard.tords .tord{margin:0}
}

/* Today strip on the Stocks screen (v144) */
.today{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text',system-ui,sans-serif}
.today .tdc{appearance:none;-webkit-appearance:none;border:0;text-align:left;font:inherit;color:#f5f5f7;background:#1c1c1e;border-radius:20px;padding:14px 16px;display:flex;flex-direction:column;gap:3px;cursor:pointer;min-width:0;box-shadow:none;transition:background .15s}
.today .tdc:hover,.today .tdc:active{background:#2c2c2e}
.today .tdc span{font-size:13px;font-weight:500;color:#8e8e93}
.today .tdc b{font-size:24px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.today .tdc b.up{color:#30d158}.today .tdc b.down{color:#ff453a}
.today .tdc em{font-style:normal;font-size:12.5px;color:#8e8e93;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:480px){.today{gap:8px}.today .tdc{padding:12px 12px;border-radius:18px}.today .tdc b{font-size:19px}.today .tdc span,.today .tdc em{font-size:11.5px}}

/* v143 Performance page + More sheet */
.perbody{padding:14px 16px 40px;max-width:980px;margin:0 auto;overflow:auto;height:calc(100% - 58px)}
.pf-ctl{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
.pf-seg{grid-template-columns:repeat(4,1fr)}.pf-who{display:flex;gap:8px;flex-wrap:wrap}
.pf-hero{padding:18px 4px 14px}.pf-hero span{display:block;color:#8E8E93;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.pf-hero b{display:block;font-size:44px;line-height:1.1;font-weight:700;letter-spacing:-.02em;margin:4px 0}.pf-hero em{font-style:normal;color:#8E8E93;font-size:14px}
.pf-hero b.up,.pf-t b.up,.pf-r b.up,.pf-calh .up{color:#30D158}.pf-hero b.down,.pf-t b.down,.pf-r b.down,.pf-calh .down{color:#FF453A}
.pf-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}
.pf-t{background:rgba(255,255,255,.06);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.pf-t span{color:#8E8E93;font-size:12.5px}.pf-t b{font-size:21px;font-weight:700}.pf-t em{font-style:normal;color:#8E8E93;font-size:11.5px}
.pf-card{background:rgba(255,255,255,.05);border-radius:20px;padding:16px;margin-bottom:14px}.pf-card h4,.pf-sec h4{margin:0 0 10px;font-size:15px;font-weight:600;color:#F5F5F7}
.pf-svg{width:100%;height:auto;display:block}.pf-none{padding:10px 0;margin:0}
.pf-ins p{margin:0 0 8px;font-size:14px;line-height:1.45;color:#D1D1D6}.pf-ins p:last-child{margin:0}
.pf-two{display:grid;grid-template-columns:1fr;gap:0}
.pf-r{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 84px;gap:10px;align-items:center;padding:8px 0;border-top:1px solid rgba(255,255,255,.07)}.pf-r:first-of-type{border-top:0}
.pf-rn{display:flex;flex-direction:column;min-width:0}.pf-rn b{font-size:14px}.pf-rn span{font-size:12px;color:#8E8E93}
.pf-rb{height:6px;border-radius:3px;background:rgba(255,255,255,.07);overflow:hidden}.pf-rb i{display:block;height:100%;border-radius:3px}.pf-rb i.g{background:#30D158}.pf-rb i.r{background:#FF453A}
.pf-calh{display:flex;align-items:center;gap:10px;margin-bottom:8px}.pf-calh b{flex:1;text-align:center;font-size:15px}.pf-nav{border:0;background:rgba(255,255,255,.08);color:#F5F5F7;width:34px;height:34px;border-radius:50%;font-size:20px;cursor:pointer}
.pf-dow,.pf-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.pf-dow span{text-align:center;font-size:11px;color:#8E8E93;padding:4px 0}
.pf-d{min-height:48px;border-radius:10px;background:rgba(255,255,255,.04);padding:4px 5px;display:flex;flex-direction:column;justify-content:space-between}
.pf-d span{font-size:11px;color:#8E8E93}.pf-d b{font-size:12px;font-weight:700}.pf-d.g{background:rgba(48,209,88,.18)}.pf-d.g b{color:#30D158}.pf-d.r{background:rgba(255,69,58,.18)}.pf-d.r b{color:#FF453A}
.pf-more{margin-top:12px;width:100%}.pf-foot{padding:4px 6px}
@media(min-width:760px){.pf-tiles{grid-template-columns:repeat(4,1fr)}.pf-two{grid-template-columns:1fr 1fr;column-gap:14px}.pf-ctl{flex-direction:row;justify-content:space-between;align-items:center}.pf-seg{width:340px}}
.moresheet{position:fixed;inset:0;z-index:2000}.moresheet[hidden]{display:none}
.mscrim{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.mspanel{position:absolute;left:12px;right:12px;bottom:calc(var(--tabh,64px) + 10px);background:#1C1C1E;border-radius:22px;padding:14px;display:flex;flex-direction:column;gap:8px;max-width:520px;margin:0 auto}
.mspanel>b{font-size:13px;color:#8E8E93;text-transform:uppercase;letter-spacing:.05em;padding:2px 6px}
.mspanel button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:0;background:rgba(255,255,255,.06);color:#F5F5F7;border-radius:14px;padding:12px 14px;font:inherit;cursor:pointer;text-align:left}
.mspanel button strong{font-size:16px}.mspanel button span{font-size:12.5px;color:#8E8E93}

.pf-seg{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;padding:2px;border-radius:12px;background:rgba(118,118,128,.24)}.pf-seg button{height:38px;border:0;border-radius:10px;background:transparent;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer}.pf-seg button.on{background:#636366}
.perbody{padding-left:max(16px,calc((100% - 1100px)/2));padding-right:max(16px,calc((100% - 1100px)/2));max-width:none;box-sizing:border-box}
.perbox{background:#000}.pf-card{background:#1c1c1e}.pf-t{background:#1c1c1e}

/* v223 Trade redesign: account overview, grouped ticket, cost block */
#trBox .tpill{font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.08);color:#8e8e93}
#trBox .tpill.on{background:rgba(48,209,88,.16);color:#30D158}
#trBox .tbp{display:flex;flex-direction:column;gap:2px;margin:4px 0 12px}
#trBox .tbp span{font-size:13px;color:#8e8e93}
#trBox .tbp b{font-size:34px;font-weight:800;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
#trBox .tacct .tgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#trBox .tacct .tgrid>div{display:flex;flex-direction:column;gap:2px;min-width:0}
#trBox .tacct .tgrid span{font-size:12.5px;color:#8e8e93}
#trBox .tacct .tgrid b{font-size:16px;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis}
#trBox .tacct .tpriv{display:block;margin:12px 0 0}
#trBox .tsec{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8e8e93;margin:10px 0 -4px;padding-top:14px;border-top:.5px solid rgba(255,255,255,.1)}
#trBox .tmain .tplan+.tsec{margin-top:6px}
#trBox .tcost{display:grid;gap:8px;background:#2c2c2e;border-radius:14px;padding:14px 16px}
#trBox .tcr{display:flex;justify-content:space-between;align-items:baseline}
#trBox .tcr span{font-size:14px;color:#8e8e93}
#trBox .tcr b{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}
#trBox .tcr:nth-child(2) b{font-size:15px;font-weight:600}
#trBox .tbar{height:6px;border-radius:3px;background:rgba(255,255,255,.1);overflow:hidden}
#trBox .tbar[hidden]{display:none}
#trBox .tbar i{display:block;height:100%;border-radius:3px;background:#30D158;transition:width .2s}
#trBox .tbar i.mid{background:#FF9F0A}#trBox .tbar i.bad{background:#FF453A}
#trBox .tdiffbox{min-height:0}
#trBox .tdiff{display:inline-block;font-size:12.5px;font-weight:600;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.08);color:#8e8e93}
#trBox .tdiff.same{background:rgba(48,209,88,.14);color:#30D158}
#trBox .tdiff.edited{background:rgba(255,159,10,.16);color:#FF9F0A}
#trBox .twarn{margin:0}
#trBox #trWarns{display:grid;gap:8px}
#trBox #trWarns:empty{display:none}
@media(max-width:899px){#trBox .tacct .tpriv{display:block}#trBox .tbp b{font-size:28px}}
#trBox .tacct .tbp{background:none!important;padding:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important}
#trBox .tacct .tgrid>div{background:none!important;padding:0!important;border-radius:0!important;text-align:left!important;align-items:flex-start!important;height:auto!important;min-height:0!important;flex-direction:column!important;justify-content:flex-start!important}
#trBox .tacct .tgrid b,#trBox .tacct .tgrid span{text-align:left!important}
#trBox .tacct .tbp b{font-size:34px!important;text-align:left!important}
html body #trBox .tacct .tgrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html body #trBox .tacct .tgrid>div{background:none!important;border-radius:0!important;height:auto!important;padding:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:2px}
html body #trBox .tacct .tgrid>div span{font-size:12.5px!important}
html body #trBox .tacct .tgrid>div b{font-size:16px!important}
html body #trBox .tacct .tbp{background:none!important;height:auto!important;padding:0!important;border-radius:0!important}

/* v224 Positions */
#trBox .prk{font-style:normal;font-size:12.5px;font-weight:600;display:inline-flex;align-items:center;gap:6px}
#trBox .prk.ok{color:#30D158}#trBox .prk.warn{color:#FF9F0A}
#trBox .pdot{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block}
#trBox .psum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#trBox .psum>div{display:flex;flex-direction:column;gap:2px;min-width:0;background:#2c2c2e;border-radius:16px;padding:12px 14px}
#trBox .psum span{font-size:12px;color:#8e8e93}
#trBox .psum b{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}
@media(max-width:560px){#trBox .psum{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pc-prot{padding:14px 16px!important;display:grid;gap:10px}
.pc-ph{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pc-ph b{font-size:17px}
.pc-st{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px}
.pc-st.ok{background:rgba(48,209,88,.16);color:#30D158}.pc-st.bad{background:rgba(255,159,10,.16);color:#FF9F0A}
.pc-pr{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start}
.pc-pcol span{font-size:11.5px;color:#8e8e93;font-weight:600}
.pc-pr b{display:block;font-size:16px;font-variant-numeric:tabular-nums}
.pc-pr em{display:block;font-style:normal;font-size:11.5px;color:#8e8e93}
.pc-pl0{font-size:14px;color:#c7c7cc;font-weight:600}
.pc-plan{border-left:1px dashed rgba(255,255,255,.18);padding-left:10px}
.pc-pn{margin:0}
html body #trBox .tpr .prk.ok{color:#30D158!important}html body #trBox .tpr .prk.warn{color:#FF9F0A!important}
html body #trBox .psum>div{border:0!important;box-shadow:none!important}

/* v227 calm layer: open, airy Trade pages. Large numbers, label over value, hairlines instead of boxes. */
html body #trBox .tcard{background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:8px 0 20px!important;gap:18px!important}
html body #trBox .tcard.tstrip{background:#161618!important;border-radius:22px!important;padding:18px 20px!important}
html body #trBox .tov{font-size:12.5px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;color:#8e8e93}
html body #trBox .tacct .th{align-items:center}
html body #trBox .tbig{display:flex;flex-direction:column;gap:4px;margin-top:2px}
html body #trBox .tbig b{font-size:46px;font-weight:700;letter-spacing:-.035em;font-variant-numeric:tabular-nums;line-height:1.05}
html body #trBox .tbig span{font-size:15px;color:#8e8e93}
html body #trBox .tacct .tgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 24px!important;padding-top:6px}
html body #trBox .tacct .tgrid>div span{font-size:15px!important;color:#b0b0b6!important}
html body #trBox .tacct .tgrid>div b{font-size:26px!important;font-weight:650!important;letter-spacing:-.02em}
html body #trBox .tacct .tgrid>div:nth-child(3){grid-column:1 / -1}
html body #trBox .tacct{border-bottom:.5px solid rgba(255,255,255,.12)!important;padding-bottom:26px!important}
html body #trBox .tsymh{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
html body #trBox .tsn{display:flex;flex-direction:column;gap:2px;min-width:0}
html body #trBox .tsn b{font-size:24px;font-weight:700;letter-spacing:-.02em}
html body #trBox .tsn span{font-size:15px;color:#8e8e93;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #trBox .tsp{display:flex;flex-direction:column;align-items:flex-end;gap:0}
html body #trBox .tsp b{font-size:40px;font-weight:700;letter-spacing:-.035em;font-variant-numeric:tabular-nums;line-height:1.05}
html body #trBox .tsp em{font-style:normal;font-size:18px;font-weight:600}
html body #trBox .tsp em.up{color:#30D158}html body #trBox .tsp em.down{color:#FF453A}
/* plan: flat rows */
html body #trBox .tplan{background:none!important;border:0!important;padding:0!important;display:grid;gap:6px}
html body #trBox .plh{display:grid;gap:6px}
html body #trBox .plt{display:flex;justify-content:space-between;align-items:center;gap:10px}
html body #trBox .plt b{font-size:24px;font-weight:700;letter-spacing:-.02em}
html body #trBox .tpill.prop{background:rgba(10,132,255,.16);color:#4da3ff}
html body #trBox .plan .plg{display:grid!important;grid-template-columns:1fr!important;gap:0!important;background:none!important}
html body #trBox .plan .plg>span{display:grid!important;grid-template-columns:1fr auto;align-items:baseline;gap:0 12px;background:none!important;border-radius:0!important;padding:14px 0!important;border:0!important;border-bottom:.5px solid rgba(255,255,255,.08)!important;height:auto!important}
html body #trBox .plan .plg>span i{font-style:normal;font-size:18px;color:#c7c7cc;display:flex;flex-direction:column;gap:2px}
html body #trBox .plan .plg>span i u{text-decoration:none;font-size:12.5px;color:#8e8e93}
html body #trBox .plan .plg>span b{font-size:26px!important;font-weight:650!important;letter-spacing:-.02em;font-variant-numeric:tabular-nums;text-align:right}
html body #trBox .plan .plg>span em{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px;font-style:normal;font-size:13px}
html body #trBox .tuse{height:52px!important;border-radius:999px!important;font-size:16px!important}
/* ticket fields */
html body #trBox .tsec{border-top:.5px solid rgba(255,255,255,.12)!important;padding-top:22px!important;margin-top:8px!important;font-size:13px;letter-spacing:.09em}
html body #trBox .tseg{height:60px!important;border-radius:999px!important}
html body #trBox .tseg button{font-size:19px!important;font-weight:600}
html body #trBox .trow2{gap:24px!important}
html body #trBox .trow2 label,html body #trBox .tsym{font-size:15px!important;color:#b0b0b6!important;gap:8px!important}
html body #trBox .trow2 input,html body #trBox .tsym input{background:transparent!important;border-radius:0!important;border:0!important;border-bottom:.5px solid rgba(255,255,255,.18)!important;padding:4px 0 10px!important;height:auto!important;font-size:32px!important;font-weight:650!important;letter-spacing:-.02em;color:#fff}
html body #trBox .trow2 input:focus,html body #trBox .tsym input:focus{box-shadow:none!important;border-bottom:2px solid #0a84ff!important}
html body #trBox .tbr .tchk,html body #trBox .tbr{background:none!important}
/* cost + primary action */
html body #trBox .tcost{background:none!important;padding:0!important;gap:12px!important}
html body #trBox .tcr span{font-size:17px;color:#c7c7cc}
html body #trBox .tcr b,html body #trBox #trEst{font-size:28px!important;font-weight:650!important;letter-spacing:-.02em}
html body #trBox .tcr:nth-child(2) b{font-size:20px!important}
html body #trBox .tgo,html body #trBox #trReview{height:64px!important;border-radius:999px!important;background:#f2f2f7!important;color:#000!important;font-size:19px!important;font-weight:650!important;border:0!important}
html body #trBox .tgo[disabled],html body #trBox #trReview[disabled]{opacity:.4}
/* lists: positions, orders, history as open rows */
html body #trBox .tcard.tords .th b,html body #trBox .tpos .th b,html body #trBox .thist .th b{font-size:24px}
html body #trBox .tpr,html body #trBox .tord,html body #trBox .thr{padding-top:18px!important;padding-bottom:18px!important}
html body #trBox .psum>div{background:none!important;padding:0!important}
html body #trBox .psum b{font-size:24px!important}
@media(max-width:560px){html body #trBox .tbig b{font-size:40px}html body #trBox .tsp b{font-size:34px}}
html body #trBox .tseg{display:flex!important;padding:4px!important;align-items:stretch!important;gap:0!important}
html body #trBox .tseg button{flex:1 1 0;height:auto!important;min-height:0!important;border-radius:999px!important;display:flex;align-items:center;justify-content:center}
html body #trBox .tseg2{height:54px!important}
html body #trBox .tseg2 button{font-size:16px!important}
html body #trBox .tuse{font-size:15px!important;line-height:1.25;padding:12px 18px!important;height:auto!important;min-height:52px}
html body #trBox .tacct .tbig{background:none!important;padding:0!important;border-radius:0!important;height:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important}
html body #trBox .tacct .tbig b{font-size:46px!important;line-height:1.05!important;margin:0}
html body #trBox .tacct .tbig span{font-size:15px!important;color:#8e8e93!important;font-weight:400!important}
html body #trBox .psum{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 24px!important;background:none!important;border:0!important;padding:4px 0 8px!important;border-radius:0!important}
html body #trBox .psum>div{background:none!important;border:0!important;border-left:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:2px!important}
html body #trBox .psum span{font-size:15px!important;color:#b0b0b6!important}
html body #trBox .psum b{font-size:28px!important;font-weight:650!important;letter-spacing:-.02em}
html body #trBox .tpr{background:none!important;border-radius:0!important;border-top:.5px solid rgba(255,255,255,.12)!important;margin:0!important}
html body #trBox .tlist{background:none!important}
html body #trBox .tord{background:none!important;border-radius:0!important;border-top:.5px solid rgba(255,255,255,.12)!important}
html body #trBox .tpr b{font-size:20px}
html body #trBox .psum>div::before,html body #trBox .psum>div::after{display:none!important}
html body #trBox .psum>div{box-shadow:none!important;border-image:none!important}
