/* Touch summary preserves the original full order book and every fund column. */
.mobile-market-controls{display:contents}
.mobile-market-landscape-heading,.mobile-fund-filter-toggle{display:none}
.mobile-market-tools,.mobile-market-heading,.mobile-market-cell-label,.mobile-market-percent,.mobile-market-sr-label,.mobile-market-source-toggle{display:none}
@media(max-width:700px), (pointer:coarse) and (max-width:1000px) and (max-height:600px){
 .device-app .mobile-market-page .page-head{gap:10px;margin-bottom:12px}
 .device-app .mobile-market-page .page-head p.sub{display:none}
 .device-app .mobile-market-page .page-head h1{font-size:24px}
 .device-app .mobile-market-page .notice{font-size:11px;margin-bottom:12px;padding:6px 12px;line-height:1.65}
 .device-app .mobile-market-status .with-info{display:flex;justify-content:space-between;gap:6px}
 .device-app .mobile-market-status .with-info strong{font-size:11px}
 .device-app .mobile-market-status .market-last{font:11px/1.6 Manrope,'Segoe UI',sans-serif;margin:0 0 4px}
 .device-app .mobile-market .toolbar{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:12px}
 .device-app .mobile-market .toolbar .tabs{grid-column:1;grid-row:1;width:auto;min-width:0;padding:0}
 .device-app .mobile-market .toolbar .tabs button{min-height:44px;padding:9px 12px}
 .device-app .mobile-market .toolbar .qb-mode{grid-column:2;grid-row:1;justify-self:end;margin:0;gap:0}
 .device-app .mobile-market .toolbar .search{grid-column:1/-1;grid-row:2;max-width:none}
 .device-app .mobile-market-duplicate-status,.device-app .mobile-market .qb-mode>.qb-status-dot{display:none}
 .device-app .mobile-market-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 12px;border-bottom:1px solid var(--line);background:var(--surface)}
 .device-app .mobile-market-modes{display:flex;gap:6px;grid-column:1;grid-row:1}
 .device-app .mobile-market-modes button{flex:1;min-height:44px;padding:8px;font-size:12px}
 .device-app .mobile-market-modes button[aria-pressed=true]{background:var(--orange);color:var(--ink);border-color:var(--ink)}
 .device-app .mobile-market-sort-toggle{grid-column:2;grid-row:1;min-width:100px;padding:8px;font-size:12px;box-shadow:none}
 .device-app .mobile-market-sort-label{display:none;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;font-size:12px;color:var(--muted);min-width:0}
 .device-app .mobile-market-sort-open .mobile-market-sort-label{display:grid;grid-column:1;grid-row:2}
 .device-app .mobile-market-sort-open .mobile-market-direction{display:flex;grid-column:2;grid-row:2}
 .device-app .mobile-market-sort{min-width:0;width:100%;max-width:100%;font-size:16px;padding:8px;background:var(--input);color:var(--ink);border:1px solid var(--ink);border-radius:6px}
 .device-app .mobile-market-direction{display:none;min-height:44px;min-width:64px;padding:8px;gap:4px;font-size:11px;box-shadow:none}
 .device-app .mobile-market-direction svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 .device-app .mobile-market:not(.mobile-market-full) .mobile-market-heading{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr);gap:10px;padding:12px 14px;background:var(--table-head);border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;font-weight:700;color:var(--muted)}
 .device-app .mobile-market-heading span:not(:first-child){text-align:right}
 .device-app .mobile-market:not(.mobile-market-full) .table-scroll{overflow:visible;max-height:none;width:100%}
 .device-app .mobile-market:not(.mobile-market-full) table{display:block;min-width:0;width:100%;table-layout:auto;border-collapse:collapse}
 .device-app .mobile-market:not(.mobile-market-full) thead{display:none}
 .device-app .mobile-market:not(.mobile-market-full) tbody{display:block;width:100%}
 .device-app .mobile-market:not(.mobile-market-full) tbody tr{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:3px 10px;padding:10px 14px 12px;border-bottom:1px solid var(--line);background:var(--surface)}
 .device-app .mobile-market:not(.mobile-market-full) tbody tr:nth-child(even){background:var(--row-alt)}
 .device-app .mobile-market:not(.mobile-market-full) tbody td{display:none;position:static!important;width:auto!important;height:auto;min-width:0;border:0!important;padding:0!important;background:transparent!important;white-space:normal;overflow-wrap:normal;font-size:13px;letter-spacing:0;line-height:1.4}
 .device-app .mobile-market:not(.mobile-market-full) tbody td.mobile-market-visible{display:block;text-align:right;align-self:center}
 .device-app .mobile-market:not(.mobile-market-full) td[data-mobile-field=symbol]{grid-column:1;grid-row:1/3;text-align:left;align-self:start}
 .device-app[data-device-layout=portrait] [data-mobile-market=etf]:not(.mobile-market-full) td[data-mobile-field=symbol]{grid-row:1}
 .device-app[data-device-layout=portrait] [data-mobile-market=etf]:not(.mobile-market-full) tbody td.qb-chart{display:block;grid-column:1;grid-row:2;align-self:center;text-align:left}
 .device-app .mobile-market:not(.mobile-market-full) td:is([data-mobile-field=match_price],[data-mobile-field=nav]){grid-column:2;grid-row:1;font-size:16px;font-weight:800;white-space:nowrap}
 .device-app .mobile-market:not(.mobile-market-full) td:is([data-mobile-field=change_pct],[data-mobile-field=y1]){grid-column:3;grid-row:1;font-size:13px;font-weight:800;white-space:nowrap}
 .device-app .mobile-market:not(.mobile-market-full) td:is([data-mobile-field=total_volume],[data-mobile-field=mdd1]){grid-column:2;grid-row:2;font-size:12px;padding-top:7px!important}
 .device-app .mobile-market:not(.mobile-market-full) td:is([data-mobile-field=inav],[data-mobile-field=management_fee]){grid-column:3;grid-row:2;font-size:12px;padding-top:7px!important}
 .device-app .mobile-market:not(.mobile-market-full) tbody td[data-mobile-field=nav_date]{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:6px;text-align:left;padding-top:8px!important;color:var(--muted);font-size:11px}
 .device-app .mobile-market:not(.mobile-market-full) td[data-mobile-field=nav_date] .mobile-market-cell-label{margin:0;font-size:11px}
 .device-app .mobile-market:not(.mobile-market-full) .mobile-market-cell-label{display:block;font-size:11px;font-weight:500;color:var(--muted);line-height:1.4;margin-bottom:3px}
 .device-app .mobile-market:not(.mobile-market-full) .mobile-market-percent{display:inline}
 .device-app .mobile-market:not(.mobile-market-full) .mobile-market-sr-label{display:inline-block;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 .device-app .mobile-market:not(.mobile-market-full) :is(.qb-symbol-button,.fund-symbol){display:inline-flex;align-items:center;min-height:44px;min-width:44px;max-width:100%;padding:5px 0;font-size:13px;font-weight:800;overflow-wrap:anywhere;line-height:1.35;text-decoration:none;color:var(--ink)}
 .device-app .mobile-market:not(.mobile-market-full) .fund-manager{max-width:none;font-size:11px;line-height:1.4;margin-top:0;overflow-wrap:anywhere}
 .device-app .mobile-market:not(.mobile-market-full) .mobile-market-empty{display:block;min-height:100px;text-align:center}
 .device-app .mobile-market:not(.mobile-market-full) .mobile-market-empty td{display:block;text-align:center;padding:24px 4px!important;color:var(--muted)}
 .device-app .mobile-market .table-foot{font-size:11px;line-height:1.7;padding:12px 14px}
 .device-app .mobile-market .table-foot .sort-help{display:none}
 .device-app .mobile-market-full .table-scroll{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .device-app .mobile-market .qb-strip{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:4px 8px;font-size:11px;line-height:1.65;padding:6px 12px}
 .device-app .mobile-market .qb-strip>span:nth-child(2){display:none;grid-column:1/-1;grid-row:2;padding:4px 0}
 .device-app .mobile-market-source-toggle{display:block;grid-column:2;grid-row:1;min-height:44px;padding:4px;font-size:11px;text-decoration:underline;text-underline-offset:3px}
 .device-app .mobile-market .qb-source-note{display:none;font-size:11px;line-height:1.65;padding:6px 12px}
 .device-app .mobile-market .qb-source-note.error,.device-app .mobile-market-sources-open .qb-source-note,.device-app .mobile-market-sources-open .qb-strip>span:nth-child(2){display:block}
 .device-app .mobile-market .qb-mode{line-height:1.5;flex-wrap:wrap}
 .device-app .mobile-market-page .fund-intro{margin:0 0 8px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap}
 .device-app .mobile-market-page .fund-intro>div{display:contents}
 .device-app .mobile-market-page .fund-intro :is(.eyebrow,.sub,.mobile-market-editorial){display:none}
 .device-app .mobile-market-page .fund-intro h2{order:2;margin:0;font-size:14px}
 .device-app .mobile-market-page .fund-intro>.pill{font-size:11px;white-space:normal;line-height:1.6}
 .device-app .mobile-market-page .fund-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
 .device-app .mobile-market-page .fund-filters :is(label,select){min-width:0;width:100%;max-width:100%;font-size:11px}
 .device-app .mobile-market-page .fund-filters select{font-size:16px}
 .device-app .mobile-market-page .fund-filters>.sub{display:none}
 .device-app .mobile-market-page .fund-board+.sub{font-size:11px;line-height:1.7}
 .device-app .mobile-market :is(button,select):active{transform:translateY(1px)}
}
@media(hover:hover) and (pointer:fine){.device-app .mobile-market-modes button:hover{background:var(--hover)}}

/* A short, wide phone is a comparison surface, not a stretched portrait list. */
.device-app[data-device-layout=landscape] .mobile-market-page .page-head{margin-bottom:8px;gap:8px;align-items:center}
.device-app[data-device-layout=landscape] .mobile-market-page .page-head h1{font-size:21px}
.device-app[data-device-layout=landscape] .mobile-market-status{padding:0 10px;margin-bottom:10px;font-size:12px;line-height:1.5}
.device-app[data-device-layout=landscape] .mobile-market-status:not(.warning){display:flex;align-items:center;justify-content:space-between;gap:12px}
.device-app[data-device-layout=landscape] .mobile-market-status .with-info{gap:6px;flex:none}
.device-app[data-device-layout=landscape] .mobile-market-status .market-last{margin:0;font-size:11px;text-align:right;line-height:1.4}
.device-app[data-device-layout=landscape] .mobile-market-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;align-items:start;border-bottom:1px solid var(--line)}
.device-app[data-device-layout=landscape] .mobile-market .toolbar{display:grid;grid-template-columns:auto minmax(100px,1fr) 44px;gap:6px;padding:6px 8px;border:0;min-width:0}
.device-app[data-device-layout=landscape] .mobile-market .toolbar .tabs{gap:6px;grid-column:1;grid-row:1}
.device-app[data-device-layout=landscape] .mobile-market .toolbar .tabs button{padding:8px;font-size:12px;min-width:44px;min-height:44px}
.device-app[data-device-layout=landscape] .mobile-market .toolbar .search{grid-column:2;grid-row:1;width:100%;min-width:0;font-size:16px;padding:8px}
.device-app[data-device-layout=landscape] .mobile-market .toolbar .qb-mode{grid-column:3;grid-row:1}
.device-app[data-device-layout=landscape] .mobile-market-tools{padding:6px 8px;gap:6px;border:0;grid-template-columns:auto auto;align-self:stretch}
.device-app[data-device-layout=landscape] .mobile-market-modes{gap:6px}
.device-app[data-device-layout=landscape] .mobile-market-modes button{min-width:56px;padding:8px;font-size:12px}
.device-app[data-device-layout=landscape] .mobile-market-sort-toggle{min-width:72px;padding:8px;font-size:12px}
.device-app[data-device-layout=landscape] .mobile-market-sort-open .mobile-market-controls{grid-template-columns:1fr}
.device-app[data-device-layout=landscape] .mobile-market-sort-open .mobile-market-tools{grid-template-columns:auto auto minmax(160px,1fr) auto;border-top:1px solid var(--line)}
.device-app[data-device-layout=landscape] .mobile-market-sort-open .mobile-market-sort-label{grid-column:3;grid-row:1}
.device-app[data-device-layout=landscape] .mobile-market-sort-open .mobile-market-direction{grid-column:4;grid-row:1}
.device-app[data-device-layout=landscape] .mobile-market .qb-strip{padding:0 12px;gap:0 8px;line-height:1.5}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) .mobile-market-heading,
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody tr{grid-template-columns:minmax(104px,1.25fr) minmax(92px,1.05fr) minmax(74px,.8fr) minmax(90px,1fr) minmax(82px,1fr);column-gap:12px}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) .mobile-market-heading{padding:8px 12px;font-size:12px;line-height:1.4}
.device-app[data-device-layout=landscape] .mobile-market-landscape-heading{display:block}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody tr{grid-template-rows:auto;row-gap:0;padding:4px 12px;min-height:52px;align-items:center}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody tr.mobile-market-empty{display:block;min-height:100px}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody td.mobile-market-visible{align-self:center;grid-row:1;line-height:1.4}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody td[data-mobile-field=symbol]{grid-column:1;grid-row:1;text-align:left}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody td:is([data-mobile-field=match_price],[data-mobile-field=nav]){grid-column:2;font-size:16px;white-space:normal;overflow-wrap:anywhere}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody td:is([data-mobile-field=change_pct],[data-mobile-field=y1]){grid-column:3;font-size:13px}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody td:is([data-mobile-field=total_volume],[data-mobile-field=mdd1]){grid-column:4;padding-top:0!important;font-size:13px}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody td:is([data-mobile-field=inav],[data-mobile-field=management_fee]){grid-column:5;padding-top:0!important;font-size:13px}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) .mobile-market-cell-label{position:absolute;display:inline-block;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.device-app[data-device-layout=landscape] [data-mobile-market=funds]:not(.mobile-market-full) tbody tr{grid-template-rows:auto auto;min-height:72px;row-gap:2px;padding-block:8px}
.device-app[data-device-layout=landscape] [data-mobile-market=funds]:not(.mobile-market-full) tbody td[data-mobile-field=symbol]{grid-row:1/3}
.device-app[data-device-layout=landscape] [data-mobile-market=funds]:not(.mobile-market-full) tbody td[data-mobile-field=nav_date]{grid-column:2;grid-row:2;display:block;padding-top:0!important;text-align:right;font-size:11px;white-space:nowrap}
.device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) .fund-manager{font-size:11px;max-width:24ch;margin-top:0;line-height:1.35}
.device-app[data-device-layout=landscape] .mobile-market-page .fund-intro{margin:0 0 8px;justify-content:flex-start}
.device-app[data-device-layout=landscape] .mobile-fund-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;order:1;margin-left:auto;min-width:80px;min-height:44px;padding:8px 12px;font-size:13px}
.device-app[data-device-layout=landscape] .mobile-market-page:not(.mobile-fund-filters-open) .fund-filters{display:none}
.device-app[data-device-layout=landscape] .mobile-market-page .fund-intro>.pill{padding:4px 8px}
.device-app[data-device-layout=landscape] .mobile-market-page .fund-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:10px}
.device-app[data-device-layout=landscape] .mobile-market-page .fund-filters label{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px}
.device-app[data-device-layout=landscape] .mobile-market-page .fund-filters select{width:100%;font-size:16px;min-width:0}
.device-app[data-device-layout=landscape] .mobile-market .table-foot{padding:8px 12px;font-size:11px}
.device-app[data-device-layout=landscape] .mobile-market-full .table-scroll{max-height:none;overflow:auto}
.device-app[data-device-layout=landscape] .mobile-market-full .table-scroll :is(th,td){padding:10px 8px;font-size:12px}
.device-app[data-device-layout=landscape] .mobile-market-full .table-scroll button{min-height:44px;min-width:44px}
@media(max-width:760px){
 .device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) .mobile-market-heading,
 .device-app[data-device-layout=landscape] .mobile-market:not(.mobile-market-full) tbody tr{grid-template-columns:minmax(90px,1.1fr) minmax(75px,1fr) minmax(65px,.8fr) minmax(70px,1fr) minmax(70px,1fr);column-gap:8px}
 .device-app[data-device-layout=landscape] .mobile-market-sort-open .mobile-market-tools{grid-template-columns:1fr auto}
 .device-app[data-device-layout=landscape] .mobile-market-sort-open .mobile-market-sort-label{grid-column:1;grid-row:2}
 .device-app[data-device-layout=landscape] .mobile-market-sort-open .mobile-market-direction{grid-column:2;grid-row:2}
}
@media(max-width:639px){
 .device-app[data-device-layout=landscape] .mobile-market-controls{grid-template-columns:1fr}
 .device-app[data-device-layout=landscape] .mobile-market-tools{grid-template-columns:minmax(0,1fr) auto;border-top:1px solid var(--line)}
 .device-app[data-device-layout=landscape] .mobile-market-status:not(.warning){flex-wrap:wrap;gap:0;padding-bottom:6px}
}

/* Odd lots have their own book. Show its best bid/ask, never a regular iNAV. */
@media(max-width:700px), (pointer:coarse) and (max-width:1000px) and (max-height:600px){
 .device-app .mobile-market.qb-odd:not(.mobile-market-full) tbody tr{grid-template-rows:auto auto auto}
 .device-app .mobile-market.qb-odd:not(.mobile-market-full) td[data-mobile-field=bid_price1]{grid-column:2;grid-row:2;padding-top:7px!important;font-size:13px}
 .device-app .mobile-market.qb-odd:not(.mobile-market-full) td[data-mobile-field=ask_price1]{grid-column:3;grid-row:2;padding-top:7px!important;font-size:13px}
 .device-app .mobile-market.qb-odd:not(.mobile-market-full) td[data-mobile-field=total_volume]{grid-column:1/-1;grid-row:3;display:flex;justify-content:flex-end;gap:6px;align-items:baseline;padding-top:5px!important;font-size:11px}
 .device-app .mobile-market.qb-odd:not(.mobile-market-full) td[data-mobile-field=total_volume] .mobile-market-cell-label{margin:0}
 .device-app #odd-etf-dialog .etf-table-scroll{overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .device-app #odd-etf-dialog .dialog-head .icon-button{min-width:44px;min-height:44px}
}
.device-app[data-device-layout=landscape] .mobile-market.qb-odd:not(.mobile-market-full) tbody tr{grid-template-rows:auto auto;row-gap:0;padding-block:4px}
.device-app[data-device-layout=landscape] .mobile-market.qb-odd:not(.mobile-market-full) td[data-mobile-field=symbol]{grid-row:1/3}
.device-app[data-device-layout=landscape] .mobile-market.qb-odd:not(.mobile-market-full) td[data-mobile-field=bid_price1]{grid-column:4;grid-row:1;padding-top:0!important}
.device-app[data-device-layout=landscape] .mobile-market.qb-odd:not(.mobile-market-full) td[data-mobile-field=ask_price1]{grid-column:5;grid-row:1;padding-top:0!important}
.device-app[data-device-layout=landscape] .mobile-market.qb-odd:not(.mobile-market-full) td[data-mobile-field=total_volume]{grid-column:2/-1;grid-row:2;padding-top:2px!important}
.device-app[data-device-layout=landscape] .mobile-market.qb-odd:not(.mobile-market-full) td[data-mobile-field=total_volume] .mobile-market-cell-label{position:static;display:inline;width:auto;height:auto;clip-path:none;overflow:visible;margin:0;font-size:11px}
