/* TradeDesk X — phone layer (loaded LAST). Everything here is scoped to phones (<=760px) so desktop/laptop layouts are untouched.
   Older rules in styles.css hid the header controls on phones and pinned the menu over the logo; this layer replaces that with a
   bottom tab bar (features/mobile-shell.js), 44px touch targets, 16px inputs (no iOS zoom-on-focus) and horizontally scrolling tab strips. */
#mBar,#mSheet,#mEnv,#mKill{display:none}
@media(max-width:760px){
 :root{--m-bar:58px;--m-safe-b:env(safe-area-inset-bottom,0px)}
 html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
 html,body{max-width:100%;overflow-x:hidden}
 body{padding-bottom:calc(var(--m-bar) + var(--m-safe-b) + 14px)!important}
 *{-webkit-tap-highlight-color:transparent}
 img,svg,video,canvas{max-width:100%}
 button,input,select,textarea{font-family:inherit}
 input,select,textarea{font-size:16px!important}               /* iOS zooms the page when a field under 16px is focused */
 button,[role=button],.ux-btn,.pro-btn{touch-action:manipulation}
 .screen,.screen>*,main{min-width:0;max-width:100%}

 /* ---- header: logo, name, environment chip. Everything else lives in the More sheet */
 body.m-shell .site-header{display:flex!important;align-items:center!important;gap:8px!important;height:52px!important;min-height:52px!important;max-height:52px!important;padding:6px max(10px,env(safe-area-inset-left)) 6px max(10px,env(safe-area-inset-right))!important;position:sticky!important;top:0!important;z-index:60!important;background:#07111f!important;background-image:none!important}
 body.m-shell .site-header .brand{display:flex!important;align-items:center;gap:8px;min-width:0;flex:1 1 auto}
 body.m-shell .site-header .brand-logo{width:34px!important;height:34px!important;max-height:34px!important;flex:0 0 auto}
 body.m-shell .site-header .brand>div{display:block!important;min-width:0}
 body.m-shell .site-header .brand strong{font-size:16px!important;line-height:1.1;white-space:nowrap}
 body.m-shell .site-header .brand span{display:none!important}
 body.m-shell .top-command-center{display:none!important}
 body.m-shell #mEnv{display:inline-flex;align-items:center;height:32px!important;min-height:0!important;width:auto!important;margin:0!important;padding:0 12px!important;flex:0 0 auto;border-radius:999px;border:1px solid #2a4562;background:#0c1b2f;color:#8fe3bd;font:800 11px/1 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.08em}
 body.m-shell #mEnv[data-env=DEMO]{color:#ffd37a;border-color:#7a5a1d;background:#241a07}
 body.m-shell #mEnv[data-env=LIVE]{color:#fff;border-color:#ff7d8d;background:#a8323f}
 body.m-shell #mKill{display:inline-flex;align-items:center;height:32px!important;min-height:0!important;margin:0!important;padding:0 10px!important;flex:0 0 auto;border-radius:8px;border:1px solid #ff7d8d;background:#2a1218;color:#ff9aa8;font:800 11px/1 ui-monospace,Menlo,Consolas,monospace}
 body.m-shell #mKill[hidden]{display:none}
 body.m-shell .market-leader-ticker{position:sticky;top:52px;z-index:55;height:30px!important;min-height:30px!important}
 body.m-shell .ticker-label{display:none}
 body.m-shell .ticker-item{font-size:11px!important;padding:2px 10px!important;min-height:30px!important;height:30px!important}
 body.m-shell .ticker-loading{font-size:11px}

 /* ---- bottom tab bar */
 body.m-shell #mBar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:120;padding:4px max(4px,env(safe-area-inset-left)) calc(4px + var(--m-safe-b)) max(4px,env(safe-area-inset-right));background:rgba(5,15,27,.98);border-top:1px solid #20324a;backdrop-filter:blur(10px)}
 body.m-shell #mBar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:50px;padding:4px 2px;border:0;border-radius:10px;background:transparent;color:#8fa4bd;font-weight:700;font-size:10.5px;line-height:1.1;letter-spacing:.01em}
 body.m-shell #mBar button span{font-size:10.5px!important;font-weight:700;line-height:1.1}
 body.m-shell #mBar button{font-size:10.5px!important}
 body.m-shell #mBar button.on{color:#fff;background:#12304f;box-shadow:inset 0 2px 0 #45a0ff}
 body.m-shell #mBar button:active{background:#0f2238}
 body.m-shell #nav{display:none!important}

 /* ---- More sheet */
 body.m-shell #mSheet{display:block;position:fixed;inset:0;z-index:200}
 body.m-shell #mSheet[hidden]{display:none}
 #mSheet .m-back{position:absolute;inset:0;background:rgba(2,8,16,.72)}
 #mSheet .m-panel{position:absolute;left:0;right:0;bottom:0;max-height:88dvh;overflow:auto;-webkit-overflow-scrolling:touch;background:#0a1727;border:1px solid #20324a;border-bottom:0;border-radius:18px 18px 0 0;padding:8px 14px calc(18px + var(--m-safe-b));box-shadow:0 -12px 40px rgba(0,0,0,.55)}
 #mSheet .m-grab{width:40px;height:4px;border-radius:4px;background:#2a4562;margin:0 auto 8px}
 #mSheet .m-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
 #mSheet .m-head b{font-size:15px}
 #mSheet .m-x{min-width:44px;min-height:44px;border:0;background:transparent;color:#9db3cb;font-size:18px}
 #mSheet .m-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
 #mSheet .m-links button{min-height:48px;border-radius:12px;border:1px solid #2a4562;background:#0f2238;color:#e6f1ff;font-weight:700;font-size:14px}
 #mSheet .m-links button.on{background:#12304f;border-color:#45a0ff}
 #mSheet .m-slot{margin-top:10px}
 #mSheet .m-slot:empty{display:none}
 #mSheet .top-trade-controls{display:block!important;position:static!important;width:auto!important;overflow:visible!important}
 #mSheet .trading-mode-bar{display:grid!important;gap:10px;padding:0!important;background:transparent!important;border:0!important}
 #mSheet .trading-env-selector{display:grid!important;grid-template-columns:repeat(3,1fr);gap:6px}
 #mSheet .trading-env-selector button{min-height:46px!important;width:100%!important;font-size:13px!important;border-radius:10px!important}
 #mSheet #tradingModeBadge{justify-self:start}
 #mSheet .top-trade-controls .live-order-panel{display:flex!important;flex-wrap:wrap;gap:8px;padding:10px 0 0!important;background:transparent!important;border:0!important;justify-content:flex-start!important}
 #mSheet .live-order-panel button{flex:1 1 100%;min-height:46px}
 #mSheet .header-actions{display:flex!important;flex-wrap:wrap;align-items:center;gap:8px;position:static!important;width:auto!important;min-height:0!important}
 #mSheet .header-actions .badge{padding:8px 12px}
 #mSheet .header-actions button{min-height:46px;flex:1 1 40%}
 #mSheet .social-icon-row{display:flex;gap:8px;flex-wrap:wrap}

 /* ---- toasts / alerts float ABOVE the bottom bar and use the full width */
 body.m-shell .ux-toasts,body.m-shell .pro-toasts{left:8px!important;right:8px!important;max-width:none!important;bottom:calc(var(--m-bar) + var(--m-safe-b) + 10px)!important}
 body.m-shell .signal-alert-stack{left:8px!important;right:8px!important;top:90px!important;width:auto!important}
 .pro-toast,.ux-toast{max-width:100%}

 /* ---- normalised controls: one size, one font */
 .ux-btn,.pro-btn,.ghost,.primary,.secondary,.danger{min-height:44px;font-size:13px!important;padding:8px 14px}
 .ux-btn.sm{min-height:40px;font-size:12.5px!important}
 .ux-tab{min-height:44px;font-size:13.5px!important;padding:8px 14px;flex:0 0 auto}
 .ux-tabs{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;margin:0 -2px;padding:2px;mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
 .ux-tab{scroll-snap-align:start}
 .ux-chip{min-height:40px;font-size:12.5px!important;padding:6px 12px}
 .ux-input,.ux-select{min-height:44px}
 .ux-badge{font-size:11px!important}

 /* ---- scanner: the desktop 11-column grid was re-asserted later in pro-scanner.css and beat the phone card layout, so cards spilled out of the screen */
 #proRoot,#proRoot .pro-list,#proRoot .pro-rows,#proRoot .pro-bar,#proRoot .pro-filters,#proRoot .pro-main{min-width:0;max-width:100%}
 #proRoot .pro-tabs,#proRoot .pro-seg{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent);-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 26px),transparent)}
 #proRoot .pro-tabs::-webkit-scrollbar,#proRoot .pro-seg::-webkit-scrollbar{display:none}
 #proRoot .pro-tabs>*,#proRoot .pro-seg>*{flex:0 0 auto;scroll-snap-align:start}
 #proRoot .pro-btn,#proRoot .pro-seg button,#proRoot .pro-select,#proRoot .pro-tab,#proRoot .pro-icon{min-height:44px!important;font-size:13px!important}
 #proRoot .pro-chip{min-height:40px;font-size:12.5px!important;padding:6px 13px}
 #proRoot .pro-filters{flex-wrap:wrap;gap:8px;padding:10px}
 #proRoot .pro-filters label{min-height:40px;display:inline-flex;align-items:center;gap:8px;font-size:13px}
 #proRoot .pro-search{min-height:44px}
 #proRoot .pro-row:not(.board){display:grid!important;min-width:0!important;width:100%;box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-areas:"inst dir grade" "state state state" "conf conf conf" "plan plan rr" "htf d1 route"!important;column-gap:10px!important;row-gap:8px!important;padding:12px!important;overflow:hidden;min-height:0}
 #proRoot .pro-row .c-inst{min-width:0}
 #proRoot .pro-row .c-inst strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #proRoot .pro-row .c-inst span{font-size:11.5px}
 #proRoot .pro-row .c-state{display:flex!important;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}
 #proRoot .pro-row .c-state .pro-badge{font-size:11px;padding:3px 8px}
 #proRoot .pro-row .c-conf{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;min-width:0}
 #proRoot .pro-row .c-conf .pro-bar-meter{min-width:0}
 #proRoot .pro-row .c-conf b{font-size:15px;min-width:30px;text-align:right}
 #proRoot .pro-row .c-conf .pro-dots{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:3px}
 #proRoot .pro-row .c-plan{min-width:0;font-size:12px}
 #proRoot .pro-row .c-plan *{overflow-wrap:anywhere}
 #proRoot .pro-row .c-rr{font-size:15px;text-align:right}
 #proRoot .pro-row .c-route{justify-self:end;min-width:64px;min-height:36px;display:grid;place-items:center}
 #proRoot .pro-row .c-route *{font-size:11.5px}
 #proRoot .pro-row .c-htf,#proRoot .pro-row .c-d1{display:flex!important;gap:5px;min-width:0}
 #proRoot .pro-row .c-htf button,#proRoot .pro-row .c-d1 button,#proRoot .pro-row .c-htf span,#proRoot .pro-row .c-d1 span{min-height:30px;min-width:36px;font-size:12px}
 #proRoot .pro-row.board{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto!important;min-width:0!important;overflow:hidden}
 body.m-shell .pro-detail{z-index:160!important}
 body.m-shell .pro-detail .pro-close{min-width:44px;min-height:44px}

 /* ---- portfolio: trade history rows become cards (the 12-column table could not fit a phone) */
 #pfRoot .pf-list{overflow-x:hidden}
 #pfRoot .pf-table.hist,#pfRoot .pf-table.hist tbody{display:block;width:100%;min-width:0!important}
 #pfRoot .pf-table.hist thead{display:none}
 #pfRoot .pf-table.hist tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:6px 10px;padding:12px;border-bottom:1px solid var(--ux-line,#20324a);align-items:center}
 #pfRoot .pf-table.hist td{display:none!important;padding:0;border:0;text-align:left;white-space:normal;min-width:0;overflow:hidden}
 #pfRoot .pf-table.hist td:nth-child(1),#pfRoot .pf-table.hist td:nth-child(2),#pfRoot .pf-table.hist td:nth-child(3),#pfRoot .pf-table.hist td:nth-child(4),#pfRoot .pf-table.hist td:nth-child(5),#pfRoot .pf-table.hist td:nth-child(6),#pfRoot .pf-table.hist td:nth-child(7),#pfRoot .pf-table.hist td:nth-child(8),#pfRoot .pf-table.hist td:nth-child(11){display:block!important}
 #pfRoot .pf-table.hist td:nth-child(2){grid-column:1/3;grid-row:1}
 #pfRoot .pf-table.hist td:nth-child(6){grid-column:3;grid-row:1;text-align:right;font-size:15px;font-weight:800}
 #pfRoot .pf-table.hist td:nth-child(3){grid-column:1/3;grid-row:2;font-size:12px}
 #pfRoot .pf-table.hist td:nth-child(7){grid-column:3;grid-row:2;text-align:right}
 #pfRoot .pf-table.hist td:nth-child(1){grid-column:1;grid-row:3;font-size:11.5px}
 #pfRoot .pf-table.hist td:nth-child(5){grid-column:2;grid-row:3;font-size:11.5px}
 #pfRoot .pf-table.hist td:nth-child(5)::before{content:'held ';color:#5f7893}
 #pfRoot .pf-table.hist td:nth-child(8){grid-column:3;grid-row:3;text-align:right;font-weight:700}
 #pfRoot .pf-table.hist td:nth-child(11){grid-column:1/3;grid-row:4;font-size:11.5px;text-align:left}
 #pfRoot .pf-table.hist td:nth-child(4){grid-column:3;grid-row:4;text-align:right;font-size:11.5px}
 #pfRoot .pf-table.hist td:nth-child(4)::before{content:'size ';color:#5f7893}
 #pfRoot .pf-table.hist td br{display:none}

 /* ---- wide tables -> labelled cards (class added by mobile-shell.js; pf-table has its own layout) */
 .ux-scroll{overflow-x:visible!important}
 table.m-stack,table.m-stack tbody{display:block;width:100%!important;min-width:0!important}
 table.m-stack thead{display:none}
 table.m-stack tr{display:block;padding:10px 12px;border-bottom:1px solid #20324a}
 table.m-stack td{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:5px 0!important;border:0!important;text-align:right!important;white-space:normal!important;min-width:0;max-width:100%;overflow-wrap:anywhere}
 table.m-stack td::before{content:attr(data-label);flex:0 0 36%;max-width:44%;text-align:left;font:800 10px/1.3 ui-monospace,Menlo,Consolas,monospace;color:#5f7893;text-transform:uppercase;letter-spacing:.06em}
 table.m-stack td:first-child{justify-content:flex-start;text-align:left!important;font-weight:800;padding-bottom:8px!important}
 table.m-stack td:first-child::before,table.m-stack td[data-label=""]::before{display:none}
 table.m-stack td:empty{display:none}
 table.m-stack td input:not([type=checkbox]):not([type=radio]),table.m-stack td select{max-width:58%;min-width:0;min-height:44px}
 table.m-stack td .ux-sym{text-align:left}
 .au-styles{min-width:0!important}

 .ux-seg button{font-size:13px!important;min-height:44px;padding:6px 12px}
 .ux-seg.sm button{min-height:40px}
 a.ux-btn,a.ux-btn.sm{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
 .ux-card-head{flex-wrap:wrap;gap:8px}
 .ux-row.wrap{gap:8px}
 #chartProRoot .ch-canvas-wrap,#chartProRoot #chCanvas{min-height:340px}

 /* the full-screen instrument sheet sits above everything: hide the sticky header, ticker and tab bar while it is open */
 body:has(.pro-detail.open) .site-header,body:has(.pro-detail.open) .market-leader-ticker,body:has(.pro-detail.open) #mBar{display:none!important}
 body:has(.pro-detail.open){overflow:hidden}
 .pro-detail.open{padding-top:max(8px,env(safe-area-inset-top))!important;overflow-y:auto;-webkit-overflow-scrolling:touch}

 .ux-seg{max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .ux-seg::-webkit-scrollbar{display:none}
 .ux-seg>button{flex:1 0 auto}

 /* ---- login / sign-up / trial / plans */
 .access-portal{overflow-y:auto;-webkit-overflow-scrolling:touch}
 .access-form-view,.guest-landing,.billing-view{overflow-y:auto;padding:max(16px,env(safe-area-inset-top)) 14px calc(20px + var(--m-safe-b))!important}
 .access-card{width:100%!important;max-width:440px;margin:0 auto!important;padding:20px 16px!important;box-sizing:border-box}
 .access-card .access-logo,.access-card .access-logo.small{display:block;margin:0 auto 6px!important;width:84px!important;height:auto!important}
 .access-card .eyebrow,.access-card h1,.access-card h2,.access-card>p,.billing-head{text-align:center!important}
 .access-card .eyebrow{display:block;margin:0 0 6px!important;position:static!important}
 .access-form{display:grid;gap:12px}
 .access-form label{display:grid;gap:6px;font-size:13px;color:#b9cde4}
 .access-form input:not([type=checkbox]){width:100%;box-sizing:border-box;min-height:48px;padding:10px 12px;border-radius:10px;border:1px solid #2a4562!important;background:#07121f!important;color:#edf4ff!important}
 .access-form input:focus{outline:2px solid #45a0ff;outline-offset:1px}
 .access-form label.remember-row{display:flex;align-items:center;gap:10px;min-height:44px}
 .access-form input[type=checkbox]{width:22px;height:22px;flex:0 0 auto;margin:0}
 .access-card button,.access-actions button{width:100%;min-height:48px;font-size:15px!important}
 .access-actions{display:grid;gap:10px}
 .plan-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px}
 .plan-card{padding:18px 16px!important}
 .plan-card button,.payment-card,.billing-shell button{width:100%;min-height:48px}
 .payment-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px}
 .billing-shell{width:100%!important;padding:0 !important;box-sizing:border-box}
 #serverErrorPanel button{width:100%;margin-top:12px}
 .billing-head{display:grid;justify-items:center;gap:6px}.billing-head .access-logo{width:84px!important;height:auto!important;margin:0!important}
 .ch-tools{left:6px;right:auto;top:26px;max-width:calc(100% - 80px)}
 .ch-chartcard{height:68vh!important;min-height:420px!important}
 #chLive button{padding:4px 9px;min-height:38px}
 #chStatus.up{display:none}
 .ch-tools .ux-btn{min-height:34px;flex:0 0 auto}
 .ch-pick{min-width:200px}.ch-pick-btns button{min-height:44px}
 .ch-livewrap{flex:1 1 auto}.ch-livewrap .ux-seg{flex:1}
}

/* ---- install link in the More sheet + animated boot logo (4.4.0) */
.m-install{display:flex;align-items:center;gap:12px;margin:12px 0 4px;padding:10px 12px;border:1px solid rgba(79,157,255,.35);border-radius:12px;background:rgba(30,80,160,.14);color:#e8f1ff;text-decoration:none}
.m-install img{border-radius:9px}.m-install b{display:block;font-size:14px}.m-install small{color:#8fa3c4;font-size:11.5px}

/* Footer / landing store badges: compact, side by side on phones (were large and stacked) */
@media(max-width:760px){
 .app-badges{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;width:100%;margin:8px 0 0!important}   /* 4.10.8: 2 x 2 (app installs + Discord / Telegram) */
 .app-badges .app-badge{min-width:0}
 .premium-footer .app-badges{margin:0 0 8px!important}
 .app-badge{flex:1 1 0!important;min-width:0!important;gap:6px!important;padding:5px 8px 5px 7px!important;border-radius:9px!important}
 .app-badge img{width:22px!important;height:22px!important;flex:none}
 .app-badge span{min-width:0}
 .app-badge small{font-size:10px!important;letter-spacing:.03em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .app-badge b{font-size:10.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

#mBack{display:none}
body.m-shell #mBack:not([hidden]){display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;margin-right:6px;flex:0 0 auto;border-radius:10px;border:1px solid #2a4562;background:#0c1b2f;color:#cfe3ff;font:700 24px/1 system-ui;padding:0 0 3px}
body.m-shell .screen.active{animation:mFade .16s ease-out}
@keyframes mFade{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){body.m-shell .screen.active{animation:none}}
/* 4.9.2 phone fixes (iOS + Android) */
/* Portfolio cards: the long/short accent sits on the card itself, so it never covers the instrument name or the SL label */
.pf-list.lt680 .pf-table.open tbody.pf-pos{border:1px solid #1d3552;border-left:4px solid #1d3552;border-radius:10px;overflow:hidden;background:#0a1626}
.pf-list.lt680 .pf-table.open tbody.pf-pos.is-long{border-left-color:#24d18f}
.pf-list.lt680 .pf-table.open tbody.pf-pos.is-short{border-left-color:#ff6174}
.pf-list.lt680 .pf-table.open tbody.pf-pos.is-sel{border-color:#3c7bd4;border-left-color:#3c7bd4;background:#0e2238}
.pf-list.lt680 .pf-table.open tbody.pf-pos tr:nth-child(n) td:nth-child(n){border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.pf-list.lt680 .pf-table.open tbody.pf-pos tr{border-bottom:0;background:transparent}
.pf-list.lt680 .pf-table.open tbody.pf-pos tr.pf-trk-row td{padding:0 12px 12px!important}
.pf-list.lt680 .pf-table.open tbody.pf-gap{display:block;height:10px}
.pf-list.lt680 .pf-table.open tbody.pf-gap tr,.pf-list.lt680 .pf-table.open tbody.pf-gap td{display:none}
/* Chart: the symbol / state line under the chart wraps instead of running off the screen */
@media(max-width:760px){
 .ch-meta{flex-wrap:wrap;max-width:calc(100% - 92px);row-gap:4px;line-height:1.25}
 .ch-meta .ux-badge{white-space:normal}
 /* sticky "Save configuration" bar on the Auto page stays above the bottom menu bar */
 body.m-shell .au-save{bottom:calc(var(--m-bar) + var(--m-safe-b) + 8px);background:#0b1828;z-index:5}
 /* long buttons (Social) wrap instead of overflowing */
 #socialScreen .ux-btn{white-space:normal;max-width:100%;text-align:left}
 /* tables inside articles scroll sideways instead of being clipped */
 .lb-body{min-width:0;grid-template-columns:minmax(0,1fr)}.lb-body>*{min-width:0;max-width:100%}
 .lb-body table:not(.m-stack){display:block;overflow-x:auto;max-width:100%;width:100%}
 /* iOS: inputs below 16px make Safari zoom the whole page when tapped */
 body.m-shell input:not([type=checkbox]):not([type=radio]):not([type=range]),body.m-shell select,body.m-shell textarea{font-size:16px!important}
}

/* 4.10.12 mobile alignment fixes */
@media(max-width:760px){
 /* Auto > Trading styles: the "Crypto too" switch drops under the session chips instead of being squeezed letter by letter */
 .au-styles.m-stack td:has([data-sess]){flex-wrap:wrap;align-items:flex-start}
 .au-styles.m-stack td:has([data-sess])>.ux-row{flex:1 1 0;justify-content:flex-end}
 .au-styles.m-stack td:has([data-sess])>.ux-switch{flex:1 0 100%;justify-content:flex-end;white-space:nowrap;margin-top:6px!important}
 /* Landing without the background video (autoplay blocked, data saver, reduced motion): the hero grows instead of cutting the logo off */
 #guestLanding:not(.lp-more) .lp-hero.lh:not(.has-bgvid){height:auto!important;min-height:calc(100dvh - 114px)!important;align-items:center!important;padding:16px 16px 12px!important}
 #guestLanding .lh:not(.has-bgvid) .lh-mark{width:120px!important;height:120px!important;margin:0 auto 4px!important}
 #guestLanding .lh:not(.has-bgvid) .lh-mark .lp-mark{width:120px!important;height:120px!important}
}
