/* Market graphics use the existing series-light recipe with a stronger dark-surface halo. */
:root[data-theme=dark] .market-hub{--plot-core-width:.85px;--plot-core-opacity:.78;--plot-envelope-opacity:.28;--plot-halo-radius:9px;--plot-halo-strength:65%;--plot-ring-opacity:.28}
/* RootData content hierarchy, rendered with Astarter's existing optical tokens. */
body #product-page .market-hub{min-width:0;max-width:100%;color:var(--b-ink)}
body #product-page .market-hub .hub-nav{display:flex;align-items:center;gap:26px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid var(--b-line);margin-bottom:24px;white-space:nowrap}
.hub-nav a{position:relative;display:flex;align-items:center;min-height:46px;color:var(--b-muted);text-decoration:none;font-size:14px;flex-shrink:0}
.hub-nav a.selected{color:var(--b-ink);font-weight:550}
.hub-nav a.selected:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--spectrum,var(--chart-accent))}
body #product-page .market-hub .hub-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:0;border:0}
.hub-head>div:first-child{display:flex;align-items:center;gap:18px;flex-wrap:wrap;min-width:0}
body #product-page .hub-head h1{display:flex;align-items:center;gap:10px;margin:0;font-size:27px;line-height:1.35;letter-spacing:-.5px;font-weight:600}
.hub-head h1>small{font-size:14px;letter-spacing:0;color:var(--b-muted);font-weight:400}
.hub-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.hub-actions .dc-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 12px;white-space:nowrap}
.hub-actions svg,.hub-search svg,.hub-research-links svg{width:18px;height:18px;flex-shrink:0}
.hub-state,.hub-stream-state{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--b-muted);white-space:nowrap}
.hub-state:before,.hub-stream-state:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--b-muted)}
.hub-state[data-state=live]:before,.hub-stream-state[data-state=live]:before{background:var(--ok);box-shadow:0 0 7px color-mix(in srgb,var(--ok) 40%,transparent)}
.hub-state[data-state=paused]:before,.hub-stream-state[data-state=paused]:before{background:var(--chart-series-4)}
.market-hub .hub-up{color:var(--ok);font-variant-numeric:tabular-nums}
.market-hub .hub-down{color:var(--error);font-variant-numeric:tabular-nums}
.hub-market-summary{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin:0 0 18px;padding:0 0 16px;border-bottom:1px solid var(--b-line)}
.hub-market-summary dl{display:flex;gap:36px;margin:0;min-width:0}.hub-market-summary dl>div{display:flex;align-items:baseline;gap:12px}.hub-market-summary dt{font-size:12px;color:var(--b-muted)}.hub-market-summary dd{margin:0;font-size:21px;font-weight:550;font-variant-numeric:tabular-nums;white-space:nowrap}.hub-market-summary dd>span{font-size:12px;font-weight:400;margin-left:5px}
.hub-overview-charts{display:grid;grid-template-columns:minmax(0,1.8fr) repeat(2,minmax(0,1fr));gap:var(--b-panel-gap,16px);margin-bottom:22px}
body #product-page .market-hub .hub-overview-charts>.hub-panel{display:flex;flex-direction:column}
.hub-plot{width:100%;height:214px;min-width:0;position:relative;font:13px var(--sans);color:var(--b-muted)}
.hub-plot[data-chart-ready=error]{display:grid;place-items:center;text-align:center}.hub-plot svg{max-width:100%}
.hub-plot:focus-visible{outline:2px solid var(--b-ink);outline-offset:3px;border-radius:4px}
.hub-plot-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:6px}
.hub-plot-tools output{color:var(--b-muted);font:11px var(--mono);font-variant-numeric:tabular-nums}
body #product-page .market-hub .hub-plot-tools button{min-width:40px;min-height:36px}
.hub-share-link{color:inherit;text-decoration:none}.hub-share-link:hover{text-decoration:underline}
.hub-spark-link{display:block;min-height:38px;align-content:center}.hub-spark-link:focus-visible{outline:2px solid var(--b-ink);outline-offset:3px}
@media(max-width:600px){body #product-page .market-hub .hub-plot-tools button{min-width:44px;min-height:44px}.hub-plot-tools{flex-wrap:wrap;gap:4px 12px}.hub-plot-tools output{white-space:nowrap}body #product-page .market-hub .hub-plot-tools>.hub-segments{flex-wrap:nowrap;flex-shrink:0;margin-inline-start:auto}}
.hub-performance-legend{display:flex;align-items:center;gap:10px;min-height:42px;flex-wrap:wrap}
body #product-page .market-hub .hub-performance-legend button{display:flex;align-items:center;gap:7px;background:none;border:0;border-radius:4px;min-height:36px;padding:4px 5px;color:var(--b-ink);font:12px var(--sans);cursor:pointer}
.hub-performance-legend i,.hub-share-legend i{display:block;width:8px;height:8px;flex-shrink:0;border-radius:50%;background:var(--series)}.hub-performance-legend b{font-weight:500}.hub-performance-legend button>span{font-variant-numeric:tabular-nums}
body #product-page .market-hub .hub-performance-legend button[aria-pressed=false]{opacity:.4}.hub-performance-legend button[aria-pressed=false] i{background:var(--b-muted)}
body #product-page .market-hub .hub-performance-legend button:disabled{opacity:1;cursor:default}.hub-performance-legend button:focus-visible{outline:2px solid var(--b-ink);outline-offset:2px}
.hub-donut-wrap{position:relative}.hub-shares-plot{height:180px}.hub-donut-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:5px;pointer-events:none;white-space:nowrap}
.hub-donut-center strong{font-size:29px;font-weight:550;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.hub-donut-center small{font-size:15px;font-weight:400;margin-left:2px}.hub-donut-center>span{font-size:11px;color:var(--b-muted)}
.hub-share-legend{list-style:none;padding:4px 0 0;margin:0;display:grid;gap:0}.hub-share-legend li{display:flex;align-items:center;gap:8px;min-height:25px;font-size:12px}.hub-share-legend li>b{margin-left:auto;font-weight:500;font-variant-numeric:tabular-nums}
.hub-sentiment-history{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:10px;font-size:11px;color:var(--b-muted)}
.hub-graph-source{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:auto;padding-top:12px;border-top:1px solid var(--b-line);font-size:11px;color:var(--b-muted)}
.hub-overview-charts .hub-empty{min-height:250px;display:grid;place-items:center}
@media(max-width:1100px){.hub-overview-charts{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-performance-card{grid-column:1/-1}.hub-market-summary dl{gap:24px}}
@media(max-width:600px){.hub-overview-charts{gap:14px;margin-bottom:16px}.hub-market-summary{margin-bottom:14px;padding-bottom:12px;gap:8px}.hub-market-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}.hub-market-summary dl>div{display:block}.hub-market-summary dt{font-size:11px;margin-bottom:5px}.hub-market-summary dd{font-size:21px}.hub-market-summary dd>span{font-size:11px;margin-left:3px}.hub-market-summary>.hub-source{font-size:10px}.hub-performance-legend{gap:7px;justify-content:space-between}.hub-graph-source{gap:5px}.hub-performance-plot{height:220px}}
@media(max-width:480px){.hub-overview-charts{grid-template-columns:minmax(0,1fr)}.hub-performance-card{grid-column:auto}.hub-shares-plot{height:190px}.hub-donut-wrap{max-width:250px;width:100%;align-self:center}.hub-performance-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}body #product-page .market-hub .hub-performance-legend button{display:grid;grid-template-columns:8px 1fr;justify-items:start;gap:3px 7px;min-height:44px;padding:5px}.hub-performance-legend button>span{grid-column:2}.hub-overview-charts .hub-segments button{min-height:38px;min-width:44px}}
@media(max-width:360px){.hub-performance-plot{height:200px}body #product-page .market-hub .hub-head{grid-template-columns:minmax(0,1fr) auto 44px!important;gap:10px 6px!important}body #product-page .market-hub .hub-head>.hub-actions{grid-area:1 / 2!important;width:auto!important}body #product-page .market-hub .hub-head>.mascot-pocket{grid-area:1 / 3!important}}
.hub-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--b-panel-gap,16px);margin-bottom:20px;min-width:0}
.hub-stat{padding:18px;min-width:0;min-height:126px;box-sizing:border-box;border:1px solid var(--optical-border,var(--b-line));border-radius:var(--b-radius,12px);background:var(--b-panel);background-image:var(--optical-sheen);box-shadow:inset 0 1px 0 var(--optical-edge),var(--finish-shadow)}
.hub-stat>span{display:block;font-size:12px;color:var(--b-muted);line-height:1.5;white-space:nowrap}
.hub-stat>strong{display:block;font-size:clamp(22px,2vw,30px);font-weight:550;letter-spacing:-.7px;line-height:1.25;margin:10px 0 7px;font-variant-numeric:tabular-nums;white-space:nowrap}
.hub-stat>div{font-size:12px;line-height:1.4;min-height:17px}
.hub-source{font-size:11px;color:var(--b-muted);font-weight:400;white-space:nowrap;letter-spacing:0}
.hub-source.stale,.hub-source.unavailable{color:var(--b-warning)}
.hub-sentiment{height:4px!important;min-height:4px!important;position:relative;margin-top:10px;background:linear-gradient(90deg,var(--error),var(--chart-series-4) 40%,var(--ok) 70%,var(--chart-series-1));border-radius:3px}
.hub-sentiment i{position:absolute;top:-3px;height:10px;width:2px;background:var(--b-ink);transform:translateX(-1px)}
.hub-two,.hub-three{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--b-panel-gap,16px);margin-bottom:22px;min-width:0}
.hub-three{grid-template-columns:repeat(3,minmax(0,1fr))}
body #product-page .market-hub .hub-panel{min-width:0;margin:0;padding:var(--b-panel-padding,24px);border-radius:var(--b-radius,12px);border:1px solid var(--optical-border,var(--b-line));background:var(--b-panel);background-image:var(--optical-sheen);box-shadow:inset 0 1px 0 var(--optical-edge),var(--finish-shadow)}
body #product-page .market-hub .hub-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px;margin-bottom:18px;padding:0;border:0;flex-wrap:wrap}
body #product-page .market-hub .hub-panel h2,.hub-section-heading h2{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:550;line-height:1.45;margin:0;letter-spacing:0}
.hub-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 14px;flex-wrap:wrap}
.hub-section-heading>span{font-size:12px;color:var(--b-muted)}
.hub-section-heading>span>.hub-up,.hub-section-heading>span>.hub-down{margin-left:6px}
.hub-segments{display:flex;align-items:center;gap:3px;background:var(--b-soft);padding:3px;border-radius:7px}
.hub-segments button{border:0;background:transparent;color:var(--b-muted);border-radius:5px;padding:6px 12px;min-height:32px;font:500 12px/1.4 var(--sans);cursor:pointer;white-space:nowrap}
.hub-segments button[aria-pressed=true]{color:var(--b-ink);background:var(--b-panel);box-shadow:0 1px 4px #00000009}
.hub-segments b{font-size:11px;color:var(--b-muted);margin-left:3px;font-weight:400}
.hub-chart-value{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.hub-chart-value>strong{font-size:28px;letter-spacing:-.6px;font-weight:550;font-variant-numeric:tabular-nums}
.hub-chart-value>span{font-size:12px;color:var(--b-muted)}
.hub-chart-value>.hub-up,.hub-chart-value>.hub-down{font-size:14px}
.hub-chart-empty{height:230px;display:grid;place-items:center;color:var(--b-muted);font-size:13px;background:repeating-linear-gradient(0deg,transparent,transparent 45px,var(--b-line) 46px);opacity:.6}
.hub-breadth-summary{display:flex;align-items:baseline;gap:12px;font-size:12px;color:var(--b-muted)}
.hub-breadth-summary strong{font-size:28px;color:var(--b-ink);font-weight:550;font-variant-numeric:tabular-nums}
.hub-breadth-summary small{font-size:14px;color:var(--b-muted);font-weight:400}
.hub-breadth-summary>span:last-child{margin-left:auto}
.hub-breadth{height:96px;display:flex;align-items:flex-end;gap:4px;margin-top:18px}
.hub-breadth a{flex:1;height:100%;min-width:0;display:flex;align-items:flex-end}
.hub-breadth i{display:block;width:100%;min-height:5px;border-radius:2px;background:var(--ok);opacity:.8}
.hub-breadth .hub-negative i{background:var(--error)}
.hub-breadth a:focus-visible{outline:2px solid var(--b-ink);outline-offset:2px}
.hub-price{font-variant-numeric:tabular-nums;white-space:nowrap}
.hub-detail-price small{font-size:11px;font-weight:400;color:var(--b-muted);margin-left:5px}
.hub-feed{list-style:none;margin:0;padding:0;font-size:12px;min-height:145px}
.hub-feed li{display:flex;align-items:center;gap:12px;min-height:29px;border-top:1px solid var(--b-line);font-variant-numeric:tabular-nums}
.hub-feed time{color:var(--b-muted);font-size:11px}
.hub-feed li>b{width:42px;font-weight:500}
.hub-feed li>span:last-child{margin-left:auto}
.hub-feed li small{font-size:10px;color:var(--b-muted)}
.hub-feed .hub-feed-wait{justify-content:center;min-height:135px;color:var(--b-muted);border:0}
.hub-sector{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:14px;min-height:46px;border-top:1px solid var(--b-line);font-size:12px}
.hub-sector>span:first-child{display:flex;align-items:center;gap:9px}
.hub-sector i{width:7px;height:7px;border-radius:2px;background:var(--series)}
.hub-sector b,.hub-sector strong,.hub-rank-row b,.hub-rank-row strong{font-weight:500}
.hub-rank-row{display:grid;grid-template-columns:20px 1fr auto;gap:7px 8px;align-items:center;padding:10px 0 7px;border-top:1px solid var(--b-line);font-size:12px}
.hub-rank{color:var(--b-muted);font-size:11px}
.hub-meter{height:3px;background:var(--b-soft);grid-column:2/-1;border-radius:2px;overflow:hidden}
.hub-meter i{display:block;height:100%;background:var(--series);border-radius:2px}
.hub-venue{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center;padding:9px 0;border-top:1px solid var(--b-line);font-size:12px}
.hub-venue>span{display:flex;align-items:center;gap:8px;min-width:0}
.hub-venue b{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub-venue strong{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}
.hub-venue small{grid-column:2;color:var(--b-muted);font-size:10px;text-align:right}
.hub-table-tools{display:flex;align-items:center;justify-content:space-between;gap:var(--b-panel-gap,16px);margin-bottom:14px}
.hub-search{display:flex;align-items:center;gap:9px;min-height:40px;padding:0 12px;box-sizing:border-box;border:1px solid var(--b-line);border-radius:7px;max-width:300px;width:100%;color:var(--b-muted);background:var(--b-panel)}
.hub-search:focus-within{border-color:var(--optical-focus);box-shadow:0 0 0 3px var(--optical-glow)}
.hub-search input{border:0!important;background:none!important;box-shadow:none!important;outline:none!important;min-height:38px!important;width:100%;min-width:0;padding:0!important;font:13px var(--sans);color:var(--b-ink)}
.hub-table-note{display:flex;align-items:center;gap:8px;color:var(--b-muted);font-size:11px}
.hub-full-toggle{display:none}
.market-hub .hub-asset-panel .hub-full-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--b-control-line);border-radius:8px;background:var(--b-panel);color:var(--b-ink);font:500 13px var(--sans);white-space:nowrap;cursor:pointer}
.market-hub .hub-asset-panel .hub-full-toggle[aria-pressed=true]{background:var(--b-soft)}
.hub-asset-panel .hub-full-toggle svg{width:18px;height:18px;flex:none}
body #product-page .market-hub .hub-card-mode{padding:0;border:0;background:none;box-shadow:none}
.hub-card-order{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0;color:var(--b-muted);font-size:12px}
.hub-card-order>span{margin-right:8px}
.hub-card-order button{min-height:44px;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:var(--b-muted);font:500 14px var(--sans);cursor:pointer}
.hub-card-order button[aria-pressed=true]{color:var(--b-ink);background:var(--b-soft)}
.hub-card-order button:focus-visible{outline:2px solid var(--b-ink);outline-offset:2px}
.hub-asset-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr));gap:var(--b-panel-gap,16px)}
.hub-asset-cards>.hub-empty{grid-column:1/-1}
.hub-asset-card{min-width:0;padding:16px;border:1px solid var(--b-line);border-radius:var(--b-radius,12px);background:var(--b-panel);color:var(--b-ink)}
.hub-asset-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin-bottom:16px}
.hub-asset-card .hub-asset{flex:1;min-width:0;min-height:44px;gap:10px}
.hub-asset-card .hub-asset>span{min-width:0}
.hub-asset-card .hub-asset b{font-size:16px;font-weight:600}
.hub-asset-card .hub-asset small{max-width:none;overflow:visible;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.hub-asset-card .hub-watch{width:44px;height:44px;flex:none;padding:12px}
.hub-asset-card .hub-watch svg{width:20px;height:20px}
.hub-card-quote{display:grid;justify-items:start;gap:4px;font-variant-numeric:tabular-nums}
.hub-card-quote>div{display:flex;align-items:baseline;gap:7px;min-width:0}
.hub-card-quote .hub-price{font:500 32px/1.15 var(--sans);letter-spacing:-.7px}
.hub-card-quote small{font-size:12px;color:var(--b-muted)}
.hub-card-quote>span{display:flex;align-items:baseline;gap:6px;font-size:14px;white-space:nowrap}
.hub-card-trend{margin:18px 0 16px}
.hub-card-trend>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--b-muted);font-size:12px}
.hub-card-chart{display:block;min-height:64px;margin-top:8px;align-content:center;color:var(--b-muted);font-size:13px}
.hub-card-chart svg{display:block;width:100%;height:64px}
.hub-card-chart-empty{display:grid;place-items:center;border-block:1px solid var(--b-line)}
.hub-asset-card>dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin:0;padding-bottom:16px;border-bottom:1px solid var(--b-line);font-variant-numeric:tabular-nums}
.hub-asset-card>dl>div{min-width:0}
.hub-asset-card dt{margin:0 0 5px;font-size:12px;line-height:1.5;color:var(--b-muted)}
.hub-asset-card dt [data-hub-card-volume-unit]{margin-inline-start:4px}
.hub-asset-card dd{margin:0;font:500 14px/1.5 var(--sans);overflow-wrap:anywhere}
body .product-page .market-hub details.hub-card-source{display:block;height:auto;margin:8px 0 0;padding:0;color:var(--b-muted);font:400 12px/1.5 var(--sans)}
.hub-card-source>div{max-width:min(320px,calc(100vw - 48px));font-size:12px}
.hub-asset-card :is(a,button,summary):focus-visible{outline:2px solid var(--b-ink);outline-offset:3px}
@media(max-width:600px){.hub-asset-cards{grid-template-columns:minmax(0,1fr);gap:var(--b-panel-gap,12px)}.hub-asset-card{padding:16px}.hub-card-order{gap:2px}.hub-card-order button{padding-inline:9px}.hub-card-order>span{margin-right:4px}}
.hub-heatmap{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.hub-tile{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;min-width:0;min-height:108px;padding:12px;border:1px solid var(--b-line);border-radius:8px;color:var(--b-ink);text-decoration:none;background:color-mix(in srgb,var(--ok) calc(var(--strength)*100%),var(--b-panel))}
.hub-tile[data-tone=down]{background:color-mix(in srgb,var(--error) calc(var(--strength)*100%),var(--b-panel))}
.hub-tile>b{font-size:13px;overflow-wrap:anywhere}.hub-tile>strong{flex-basis:100%;text-align:center;font-size:17px;font-weight:550}
.hub-table-wrap{overflow:auto;max-width:100%;scrollbar-width:thin}
.hub-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;white-space:nowrap}
.hub-table th{font-weight:400;color:var(--b-muted);font-size:11px;background:var(--b-soft);text-align:right;height:39px;padding:8px 12px;border-bottom:1px solid var(--b-line)}
.hub-table th button{border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:0;min-height:28px}
.hub-table td{height:66px;padding:10px 12px;box-sizing:border-box;text-align:right;border-bottom:1px solid var(--b-line);background:var(--b-panel);font-variant-numeric:tabular-nums}
.hub-table :is(th,td):nth-child(3){text-align:left;position:sticky;left:0;z-index:1;min-width:160px}
.hub-table :is(th,td):nth-child(1){padding-inline:0;width:30px;text-align:center}
.hub-table :is(th,td):nth-child(2){width:30px}
.hub-table td>small{display:block;font-size:10px;color:var(--b-muted);margin-top:3px}
.hub-asset{display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none;color:var(--b-ink)}
.hub-asset b{font-weight:550;font-size:13px}
.hub-asset>span>small{display:block;font-size:10px;color:var(--b-muted);margin-top:3px;max-width:130px;text-overflow:ellipsis;overflow:hidden}
.hub-watch{border:0;background:transparent;color:var(--b-muted);width:28px;min-height:40px;padding:6px;cursor:pointer}
.hub-watch svg{width:15px;height:15px}
.hub-watch[aria-pressed=true]{color:var(--chart-series-4)}
.hub-watch[aria-pressed=true] svg{fill:color-mix(in srgb,var(--chart-series-4) 15%,transparent)}
.hub-spark svg{width:100px;max-width:100%;height:30px}
.hub-empty{padding:32px 16px;text-align:center;font-size:13px;color:var(--b-muted)}
.hub-detail-empty{min-height:200px;display:grid;place-content:center;gap:14px}
.hub-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:12px;color:var(--b-muted);margin-bottom:22px}
.hub-detail-toolbar>a{color:var(--chart-accent);text-decoration:none;min-height:36px;display:flex;align-items:center}
.hub-detail-price{display:flex;gap:16px;align-items:baseline;margin-bottom:24px}
.hub-detail-price>strong{font-size:44px;line-height:1.2;letter-spacing:-1px;font-weight:550}
.hub-detail-price>span{font-size:12px;color:var(--b-muted)}
.hub-detail-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
body #product-page .market-hub .hub-detail-kpis+.hub-panel{margin-bottom:20px}
.hub-facts{margin:0 0 14px}
.hub-facts>div{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid var(--b-line);font-size:13px}
.hub-facts dt{color:var(--b-muted)}
.hub-facts dd{margin:0;font-variant-numeric:tabular-nums}
.hub-research-links{display:flex;align-items:center;gap:12px 28px;flex-wrap:wrap;margin:24px 0;font-size:13px}
.hub-research-links>b{font-size:13px;font-weight:550;margin-right:auto}
.hub-research-links a{display:flex;align-items:center;gap:5px;min-height:36px;color:var(--b-muted);text-decoration:none}
.hub-source-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:0 var(--b-space-4);margin-top:20px;border-top:1px solid var(--b-line)}
.hub-sources{min-width:0;font-size:var(--b-text-small);margin:0;color:var(--b-muted)}
.hub-sources>summary{min-height:44px;display:inline-flex;align-items:center;gap:8px;font-weight:500;cursor:pointer}
.hub-sources>summary:after{content:'+'}
.hub-sources[open]>summary:after{content:'−'}
.hub-sources>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:16px 0}
.hub-sources section{display:flex;flex-direction:column;gap:6px;overflow-wrap:anywhere;font-size:var(--b-text-small);line-height:1.6}
.hub-sources b{color:var(--b-ink);font-size:var(--b-text-small);font-weight:500}
.hub-credit{display:inline-flex;align-items:center;min-height:44px;color:var(--b-muted);font-size:var(--b-text-small);line-height:1.5;text-decoration:none}
.hub-credit:hover{color:var(--b-ink);text-decoration:underline}
.hub-source-footer :is(summary,a):focus-visible{outline:2px solid var(--b-accent-ink);outline-offset:3px;border-radius:4px}
.hub-venue-table-head,.hub-venue-list>li{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,.5fr) minmax(64px,.35fr);align-items:center;gap:14px}
.hub-venue-table-head{font-size:12px;color:var(--b-muted);padding:8px 0 14px}.hub-venue-table-head>span:not(:first-child){text-align:right}
.hub-venue-list{list-style:none;margin:0;padding:0}.hub-venue-list>li{min-height:72px;border-top:1px solid var(--b-line);font-size:14px}
.hub-venue-list>li>div{display:flex;align-items:center;gap:12px;min-width:0}.hub-venue-list b{font-weight:500;overflow-wrap:anywhere}.hub-venue-list small{display:block;font-size:11px;color:var(--b-muted);margin-top:5px}.hub-venue-list strong{font-weight:500;text-align:right;font-variant-numeric:tabular-nums}.hub-venue-list>li>span{font-size:13px;text-align:right;font-variant-numeric:tabular-nums}.hub-venue-list i{display:block;width:var(--share);height:3px;margin:8px 0 0 auto;border-radius:2px;background:var(--chart-series-1)}
@media(hover:hover) and (pointer:fine){.hub-table tbody tr:hover>td{background:var(--surface-hover,var(--b-soft))}.hub-nav a:hover,.hub-research-links a:hover{color:var(--b-ink)}.hub-breadth a:hover i{opacity:1}}
.hub-table tbody tr:focus-within>td{background:var(--surface-hover,var(--b-soft))}
@media(max-width:1200px){.hub-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-three{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-three>.hub-panel:last-child{grid-column:1/-1}.hub-table td{padding-inline:9px}}
@media(max-width:800px){.hub-two,.hub-three{grid-template-columns:minmax(0,1fr)}.hub-three>.hub-panel:last-child{grid-column:auto}.hub-sources>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 body #product-page .market-hub .hub-nav{gap:22px;margin-bottom:18px}
 body #product-page .market-hub .hub-head{align-items:flex-start;gap:12px;margin-bottom:16px}
 .hub-head>div:first-child{gap:8px;display:block}.hub-state{margin-top:7px;font-size:11px}
 body #product-page .hub-head h1{font-size:23px}.hub-head h1>small{display:none}
 body #product-page .market-hub .hub-actions{gap:5px;flex-wrap:nowrap}body #product-page .market-hub .hub-actions .dc-button{min-width:40px;min-height:42px;padding:8px}.hub-actions [data-hub-pause]>span{display:none}body #product-page .market-hub .hub-actions [data-hub-ask]{font-size:0!important}.hub-actions [data-hub-ask] svg{width:18px;height:18px}
 .hub-kpis{display:flex;gap:var(--b-panel-gap,12px);overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;padding-bottom:7px;margin-bottom:14px}.hub-stat{flex:0 0 157px;padding:15px;min-height:115px;scroll-snap-align:start}.hub-stat>strong{font-size:26px}
 body #product-page .market-hub .hub-panel{padding:var(--b-panel-padding,16px);margin-bottom:0}.hub-two,.hub-three{gap:var(--b-panel-gap,12px);margin-bottom:16px}
 body #product-page .market-hub .hub-panel>header{margin-bottom:14px;gap:7px}body #product-page .market-hub .hub-panel h2{font-size:14px}
 .hub-section-heading{margin-top:24px}.hub-section-heading h2{font-size:17px}.hub-section-heading>span{font-size:11px}
 .hub-table-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--b-panel-gap,12px);align-items:center}.hub-search{max-width:none;grid-column:1/-1}.hub-table-tools .hub-segments{justify-self:start}
 .hub-table-note{font-size:11px;flex-wrap:wrap;gap:4px}.hub-table{font-size:13px;min-width:0}.hub-table :is(th,td){padding-inline:6px}.hub-table :is(th,td):nth-child(3){min-width:106px;max-width:106px}.hub-table :is(th,td):nth-child(2),.hub-table :is(th,td):nth-child(n+6){display:none}.hub-table :is(th,td):nth-child(1){width:24px}.hub-table :is(th,td):nth-child(4){min-width:79px}.hub-table :is(th,td):nth-child(5){min-width:54px}.hub-asset{gap:7px}.hub-asset>.brand-mark{--brand-size:23px!important}.hub-asset>span>small{max-width:74px;font-size:11px}.hub-asset b{font-size:13px}
 .hub-full-toggle{display:flex;align-items:center;gap:7px;min-height:40px;margin:0;padding:0;border:0;background:none;color:var(--b-muted);font:500 12px var(--sans);cursor:pointer}.hub-full-toggle svg{width:16px;height:16px}
 .hub-heatmap{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hub-tile{gap:6px;min-height:100px;padding:10px}.hub-tile .brand-mark{--brand-size:23px!important}.hub-tile>b{font-size:11px}.hub-tile>strong{font-size:14px}
 .hub-venue-table-head,.hub-venue-list>li{grid-template-columns:minmax(0,1fr) 80px 58px;gap:7px}.hub-venue-list>li{font-size:12px;min-height:70px}.hub-venue-list>li>div{gap:7px}.hub-venue-list .brand-mark{--brand-size:23px!important}.hub-venue-table-head{font-size:11px}
 .hub-table-wrap[data-full=true] .hub-table{min-width:860px}.hub-table-wrap[data-full=true] .hub-table :is(th,td){display:table-cell}.hub-table-wrap[data-full=true] .hub-table :is(th,td):nth-child(3){position:sticky;left:0;z-index:1;max-width:none;min-width:130px}
 .hub-breadth{height:80px;gap:3px}.hub-breadth-summary{gap:8px}.hub-breadth-summary>span:last-child{font-size:11px}.hub-chart-value>strong{font-size:26px}.hub-chart-value{gap:8px}
 .hub-detail-price{gap:9px;flex-wrap:wrap}.hub-detail-price>strong{font-size:35px}.hub-detail-toolbar{gap:9px}.hub-detail-toolbar>span{font-size:11px}
 .hub-research-links{gap:6px 16px}.hub-research-links>b{flex-basis:100%}.hub-sources>div{grid-template-columns:1fr}.hub-source-footer{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.market-hub *{scroll-behavior:auto!important}}
@media(max-width:360px){
 .hub-table-wrap:not([data-full=true]) .hub-table :is(th,td){padding-inline:4px}
 .hub-table-wrap:not([data-full=true]) .hub-table :is(th,td):nth-child(1){display:none}
 .hub-table-wrap:not([data-full=true]) .hub-table :is(th,td):nth-child(3){min-width:88px;max-width:88px}
 .hub-table-wrap:not([data-full=true]) .hub-table :is(th,td):nth-child(4){min-width:76px}
 .hub-table-wrap:not([data-full=true]) .hub-table :is(th,td):nth-child(5){min-width:46px}
 .hub-table-wrap:not([data-full=true]) .hub-asset{gap:5px}.hub-table-wrap:not([data-full=true]) .hub-asset>span{min-width:0}.hub-table-wrap:not([data-full=true]) .hub-asset b,.hub-table-wrap:not([data-full=true]) .hub-asset small{max-width:51px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* The refresh target is a display preference; market pushes keep their own connection. */
body #product-page .market-hub .hub-head{padding-bottom:20px;margin-bottom:24px;border-bottom:1px solid var(--b-line);row-gap:16px}
.hub-refresh-group{display:flex;align-items:stretch;border:1px solid var(--b-line);border-radius:8px;background:var(--b-panel);overflow:hidden;flex-shrink:0}
body #product-page[data-layout=unified] .hub-actions .hub-refresh-group>[data-hub-refresh]{border:0;border-radius:0;min-width:86px;min-height:40px;background:transparent}
.hub-refresh-setting{position:relative;display:flex;align-items:center;margin:0;border-left:1px solid var(--b-line);color:var(--b-muted)}
.hub-refresh-setting>svg{position:absolute;left:10px;width:14px;height:14px;pointer-events:none}
body #product-page[data-layout=unified] .hub-actions .hub-refresh-setting select{min-width:98px;min-height:40px;padding:7px 28px 7px 31px;border:0;border-radius:0;background-color:transparent;background-position:right 10px center;font-size:12px;color:var(--b-ink);cursor:pointer;box-shadow:none}
.hub-refresh-group:focus-within{outline:2px solid var(--optical-focus,var(--b-action));outline-offset:2px}
.hub-actions [aria-busy=true] svg{animation:hub-refresh-spin .8s linear infinite}
.hub-actions [aria-busy=true]{cursor:progress;opacity:.75!important}
@keyframes hub-refresh-spin{to{transform:rotate(360deg)}}
body #product-page .market-hub .hub-state[hidden],body #product-page .market-hub .hub-stream-state[hidden]{display:none}
.hub-state[data-state=warning]{color:var(--b-warning)}
body .hub-source-detail>b{font-size:12px;font-weight:600;display:block;margin-bottom:8px}
body .hub-source-detail>span{display:block;color:var(--b-muted);font-size:11px;margin-top:7px}
body .hub-source-detail time{display:block;font-size:12px;color:var(--b-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
body .hub-source-detail>small{display:block;color:var(--b-muted);font-size:11px;margin-top:10px}
body .hub-source:is(.stale,.unavailable)>summary{color:var(--b-warning)!important}
.hub-breadth{position:relative;display:block;height:190px;padding:0 0 0 52px;margin:16px 0 0}
.hub-breadth-bars{position:relative;display:flex;align-items:stretch;gap:3px;height:100%;isolation:isolate}
.hub-breadth-bars:before{content:'';position:absolute;top:50%;left:0;right:0;height:1px;background:var(--b-line);z-index:-1}
.hub-breadth-bars>a{position:relative;display:block;flex:1;min-width:0;height:100%;padding:0;border:0;border-radius:2px;background:transparent;outline-offset:2px}
.hub-breadth-bars>a>i{position:absolute;display:block;left:0;right:0;min-height:1px;border-radius:2px;opacity:.85;transition:opacity 120ms ease}
.hub-breadth-bars>.hub-positive>i{bottom:50%;background:var(--b-up,var(--ok))}
.hub-breadth-bars>.hub-negative>i{top:50%;background:var(--b-down,var(--error))}
.hub-breadth-bars>:is(.hub-flat,.hub-missing)>i{top:calc(50% - 1px);height:2px!important;background:var(--b-muted);opacity:.5}
.hub-breadth-bars>a:hover>i,.hub-breadth-bars>a:focus>i{opacity:1;filter:brightness(1.15)}
.hub-breadth-axis{position:absolute;left:0;color:var(--b-muted);font:10px/1.2 var(--mono);font-variant-numeric:tabular-nums}
.hub-breadth-axis.top{top:2%}.hub-breadth-axis.zero{top:50%;transform:translateY(-50%)}.hub-breadth-axis.bottom{bottom:2%}
.hub-breadth-readout{display:block;min-height:18px;font:11px/1.5 var(--sans);color:var(--b-muted);font-variant-numeric:tabular-nums;margin-top:8px}
.hub-feed time{font-size:12px;line-height:1.4;white-space:nowrap}
@media(max-width:600px){
 body #product-page .market-hub .hub-head{padding-bottom:18px;margin-bottom:20px;row-gap:14px!important;grid-template-columns:minmax(0,1fr) 44px!important}
 body #product-page .market-hub .hub-head>.hub-actions{grid-area:2/1/auto/-1!important;width:100%!important;justify-content:flex-start}
 body #product-page .market-hub .hub-head>.mascot-pocket{grid-area:1/2!important}
 body #product-page .market-hub .hub-head>.hub-actions>button{min-height:44px}
 body #product-page[data-layout=unified] .hub-actions .hub-refresh-setting select,body #product-page[data-layout=unified] .hub-actions .hub-refresh-group>[data-hub-refresh]{min-height:44px}
 .hub-breadth{height:180px;padding-left:42px}.hub-breadth-bars{gap:2px}.hub-breadth-axis{font-size:9px}
 .hub-breadth-summary{flex-wrap:wrap;gap:8px}.hub-breadth-summary>span:last-child{margin-left:auto}
 .hub-feed li{gap:8px;min-height:40px}
}
@media(prefers-reduced-motion:reduce){.hub-actions [aria-busy=true] svg{animation:none}.hub-breadth-bars>a>i{transition:none}}
/* Watchlist uses the same dialog shell, with one search and an explicit add action. */
.hub-add-asset{white-space:nowrap}
.hub-empty>strong{display:block;font-size:15px;font-weight:500;margin-bottom:16px;color:var(--b-ink)}
.hub-watch-dialog{width:min(600px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 48px));padding:0;border:1px solid var(--b-line);border-radius:14px;background:var(--b-panel);color:var(--b-ink);box-shadow:0 24px 80px #0006}
:root body dialog.hub-watch-dialog::backdrop{background:rgb(5 6 8 / .72);backdrop-filter:none;-webkit-backdrop-filter:none}
:root[data-theme=light] body dialog.hub-watch-dialog::backdrop{background:rgb(19 22 28 / .44)}
body:has(>.hub-watch-dialog[open]) :is(.pw-optics,.pw-prism)>canvas{visibility:hidden}
.hub-watch-dialog .p-dialog-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--b-line)}
.hub-watch-dialog .p-dialog-head h2{margin:0;font:600 18px/1.4 var(--sans);padding:0}
.hub-watch-dialog .p-dialog-close{position:static!important;display:grid;place-items:center;flex:none;width:36px;height:36px;min-width:36px;padding:0!important;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--b-muted)}
.hub-watch-dialog .p-dialog-close:hover{background:var(--b-soft);color:var(--b-ink)}
.hub-watch-dialog .p-dialog-close svg{width:18px;height:18px;display:block}
.hub-watch-dialog .p-dialog-body{padding:20px 24px 24px}
.hub-watch-form{display:flex;align-items:center;gap:10px;margin:0}
.hub-watch-query{display:flex;align-items:center;min-width:0;flex:1;gap:10px;box-sizing:border-box;height:44px;min-height:44px;padding:0 12px;border:1px solid var(--b-control-line);border-radius:var(--b-control-radius);background:var(--b-bg)}
.hub-watch-query:focus-within{border-color:var(--b-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--b-accent) 12%,transparent)}
.hub-watch-query svg{width:18px;height:18px;flex:none;color:var(--b-muted)}
.hub-watch-query input{width:100%;min-width:0;padding:9px 0!important;border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;color:var(--b-ink);font:14px/1.5 var(--sans)}
.hub-watch-form>button{box-sizing:border-box;height:44px;min-height:44px;padding:9px 16px;flex:none}
.hub-watch-feedback{min-height:20px;margin:14px 0 6px;font:12px/1.5 var(--sans);color:var(--b-muted)}
.hub-watch-results{max-height:440px;overflow:auto;overscroll-behavior:contain}
.hub-watch-result{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--b-line)}
.hub-watch-result:last-child{border:0}
.hub-watch-result>div{min-width:0}
.hub-watch-result b{display:block;font:600 14px/1.5 var(--sans);overflow-wrap:anywhere}
.hub-watch-result b span{font-weight:400;color:var(--b-muted);margin-left:6px}
.hub-watch-result small{display:block;margin-top:3px;color:var(--b-muted);font:12px/1.5 var(--sans)}
.hub-watch-result code{display:block;margin-top:6px;font:11px/1.5 var(--mono);overflow-wrap:anywhere;color:var(--b-muted);user-select:all}
.hub-watch-result>button{min-width:64px;min-height:36px;padding:7px 12px;font-size:13px;border-radius:7px;align-self:center}
.hub-watch-result>button:disabled{opacity:.55;cursor:default}
.hub-contract{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:12px 0;font-size:13px}
.hub-contract code{font:12px/1.5 var(--mono);color:var(--b-muted);overflow-wrap:anywhere;user-select:all}
@media(max-width:600px){
 .hub-watch-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 .hub-watch-dialog .p-dialog-head{padding:16px}.hub-watch-dialog .p-dialog-body{padding:16px}
 .hub-watch-query input{font-size:16px}.hub-watch-form{gap:8px}.hub-watch-form>button{padding:10px 12px}
 .hub-watch-result{gap:9px;grid-template-columns:28px minmax(0,1fr) auto}.hub-watch-result>button{min-width:56px;min-height:44px;padding:8px}
 .hub-watch-results{max-height:calc(100dvh - 220px)}
 .hub-watch-result b span{display:block;margin-left:0;font-size:12px}.hub-watch-result code{font-size:10px}
 body #product-page .market-hub .hub-table-tools{flex-wrap:wrap;gap:var(--b-panel-gap,12px)}
 body #product-page .market-hub .hub-table-tools .hub-search{flex:1 1 100%;width:100%;max-width:none;margin:0}
 .hub-add-asset{margin-left:auto;min-height:44px}
}

body #product-page[data-layout=unified] .hub-actions .hub-refresh-group>[data-hub-refresh]{width:auto;min-width:86px;padding:0 12px;gap:7px;border-radius:0}
body #product-page[data-layout=unified]>.layout-navigation-row:has(.hub-actions){padding-bottom:12px;align-items:center}
body #product-page .market-hub .hub-table-tools .hub-add-asset{margin-left:auto}
body #product-page .market-hub .hub-table-tools .hub-search{margin-left:0}
@media(max-width:600px){body #product-page[data-layout=unified] .hub-table-tools{display:flex!important;flex-wrap:wrap!important}}

.hub-watch-result>.brand-mark{align-self:start;margin-top:3px}
.hub-watch-result>code{grid-column:1/-1;font-size:12px;margin:0;line-height:1.6}
@media(max-width:600px){
 .hub-watch-dialog .p-dialog-close{width:44px;height:44px;min-width:44px}
 body #product-page[data-layout=unified] .market-hub .hub-table-tools{display:flex!important;flex-wrap:wrap;gap:var(--b-panel-gap,12px)}
 body #product-page .market-hub .hub-table-tools .hub-segments{flex:0 1 auto}
 body #product-page .market-hub .hub-table-tools .hub-add-asset{flex:none;margin-left:auto}
 body #product-page .market-hub .hub-table-tools .hub-search{order:2;flex:1 0 calc(100% - 56px);min-width:0;width:auto;height:44px}
 body #product-page .market-hub .hub-table-tools .hub-full-toggle{order:3;flex:0 0 44px;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border:1px solid var(--b-control-line);border-radius:8px}
 body #product-page .market-hub .hub-full-toggle>span{display:none}
 body #product-page .market-hub .hub-full-toggle svg{width:18px;height:18px;flex:none}
 .hub-watch-result>code{font-size:11px}
}

body .hub-source-detail>span{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;margin-top:6px;font-size:12px}
body .hub-source-detail time{font-size:12px;display:inline}
body .hub-source-detail>small{margin-top:8px}
.hub-breadth-bars>a[data-active=true]{background:color-mix(in srgb,var(--b-ink) 5%,transparent)}
.hub-breadth-tooltip{position:absolute;z-index:4;width:216px;max-width:calc(100% - 8px);padding:12px 14px;border:1px solid var(--b-line);border-radius:10px;background:var(--b-panel);color:var(--b-ink);box-shadow:0 8px 24px #0002;pointer-events:none;font:12px/1.5 var(--sans);font-variant-numeric:tabular-nums}
.hub-breadth-tooltip[hidden]{display:none}
.hub-breadth-tooltip>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hub-breadth-tooltip>div>b{font-size:14px}.hub-breadth-tooltip>strong{display:block;margin:6px 0 3px;font-size:16px;font-weight:550}
.hub-breadth-tooltip small{font-size:11px;color:var(--b-muted);font-weight:400}
.hub-breadth-readout{display:flex;align-items:center;gap:12px;min-height:28px;font-size:12px;flex-wrap:wrap}
.hub-breadth-detail{display:inline-flex;align-items:center;gap:5px;color:var(--b-ink);text-decoration:none;min-height:28px}
.hub-breadth-detail svg{width:14px;height:14px}
.hub-feed-head,.hub-feed .hub-feed-event{display:grid;grid-template-columns:minmax(60px,.8fr) minmax(0,1.2fr) 72px;align-items:center;gap:12px}
.hub-feed-head{padding:12px 0 9px;border-bottom:1px solid var(--b-line);color:var(--b-muted);font:400 12px/1.5 var(--sans)}
.hub-feed-head>span:not(:first-child){text-align:right;white-space:nowrap}
.hub-feed:has(>.hub-feed-event){min-height:0}
.hub-feed .hub-feed-day{justify-content:flex-start;gap:8px;min-height:28px;padding:8px 0 0;border:0}
.hub-feed-day time,.hub-feed .hub-feed-day small{font:400 12px/1.5 var(--sans);color:var(--b-muted)}
.hub-feed .hub-feed-event{min-height:48px;padding:5px 0;font:400 13px/1.4 var(--sans);border-top-color:color-mix(in srgb,var(--b-line) 55%,transparent)}
.hub-feed .hub-feed-day+.hub-feed-event{border-top:0}
.hub-feed-asset{display:grid;gap:2px;min-width:0}
.hub-feed-asset>b{font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hub-feed .hub-feed-event time{font-size:12px;line-height:1.4;white-space:nowrap;max-width:none}
.hub-feed .hub-feed-event>span{min-width:0;margin-left:0;white-space:nowrap;text-align:right}
.hub-feed .hub-feed-price{font-size:14px;font-weight:500}
@media(max-width:600px){
 .hub-feed-head,.hub-feed .hub-feed-event{gap:8px}
 .hub-breadth-readout{font-size:11px;gap:8px}.hub-breadth-detail{min-height:44px}
}

.hub-tile:is([data-tone=flat],[data-tone=missing]){background:var(--b-soft);border-color:var(--b-line)}
.hub-tile:is([data-tone=flat],[data-tone=missing])>strong{color:var(--b-muted)}
.hub-table th[aria-sort]:not([aria-sort=none]){color:var(--b-ink)}
@media(max-width:400px){
 body #product-page .market-hub .hub-table-tools .hub-segments{min-width:0;flex-wrap:wrap;gap:2px}
 body #product-page .market-hub .hub-table-tools .hub-segments button{padding-inline:6px;max-width:100%}
 body #product-page .market-hub .hub-table-tools .hub-add-asset{padding-inline:8px}
}
.hub-panel:has(> .hub-feed > .hub-feed-snapshot){align-self:start}
.hub-feed:has(> .hub-feed-snapshot){min-height:0}
.hub-feed .hub-feed-snapshot{min-height:64px;justify-content:flex-start;font-size:13px}

body #product-page .market-hub .hub-asset>span>small{font-size:12px;line-height:1.4}
body #product-page .market-hub .hub-table th{font-size:12px;font-weight:500}
body #product-page .market-hub :is(.hub-sector,.hub-rank-row,.hub-venue,.hub-venue b,.hub-venue strong){font-size:13px}

/* Keep the asset heading, scope and tools in one compact flow. */
body #product-page .market-hub .hub-asset-panel>header{gap:4px 12px;margin-bottom:12px;align-items:center}
body #product-page .market-hub .hub-asset-panel>header.ui-info-header>h2{min-height:44px;flex:none;font:500 18px/1.45 var(--sans)}
body #product-page .market-hub .hub-asset-panel>header.ui-info-header>.dc-info{order:0;margin:0}
body #product-page .market-hub .hub-asset-panel .hub-asset-scope{flex:none;gap:4px}
body #product-page .market-hub .hub-asset-panel .hub-asset-scope button{min-height:44px;padding:8px;font:500 14px/1.2 var(--sans);white-space:nowrap}
body #product-page .market-hub .hub-asset-panel>header>.hub-table-tools{display:flex!important;flex:1 1 600px;min-width:0;align-items:center;flex-wrap:wrap!important;gap:4px var(--b-panel-gap,16px);margin:0}
body #product-page .market-hub .hub-asset-panel .hub-card-order{flex:0 1 auto;min-width:0;max-width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
body #product-page .market-hub .hub-asset-panel .hub-card-order button{flex:none;padding-inline:8px}
.hub-table-actions{display:flex;flex:0 1 auto;align-items:center;gap:8px;min-width:0;margin-left:auto}
body #product-page .market-hub .hub-asset-panel .hub-table-actions .hub-add-asset{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;padding:8px 12px;font:500 14px/1.2 var(--sans);white-space:nowrap}
body #product-page .market-hub .hub-asset-panel .hub-add-asset svg{width:20px;height:20px;flex:none}
body #product-page .market-hub .hub-asset-panel .hub-table-actions .hub-search{order:0;flex:1 1 160px;min-width:0;max-width:240px;width:auto;min-height:44px;height:44px;margin:0}
body #product-page .market-hub .hub-asset-panel .hub-search input{font-size:14px}
.hub-view-switch{display:inline-flex;flex:none;align-items:center;border-bottom:1px solid var(--b-control-line)}
.hub-view-switch button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:44px;height:44px;padding:8px;border:0;border-radius:0;background:transparent;color:var(--b-muted);font:500 14px/1.2 var(--sans);cursor:pointer}
.hub-view-switch button[aria-pressed=true]{color:var(--b-ink);box-shadow:inset 0 -2px var(--b-ink)}
.hub-view-switch button:hover{color:var(--b-ink);background:var(--b-soft)}
.hub-view-switch button:focus-visible{outline:2px solid var(--b-ink);outline-offset:2px}
.hub-view-switch svg{width:20px;height:20px;flex:none}
.hub-table-actions>.dc-info{flex:none;margin:0}
@media(max-width:680px){
 body #product-page .market-hub .hub-asset-panel>header{column-gap:8px}
 body #product-page .market-hub .hub-asset-panel>header>h2{font-size:18px;margin-right:auto}
 body #product-page .market-hub .hub-asset-panel>header>.hub-table-tools{flex-basis:100%;gap:4px var(--b-panel-gap,12px)}
 body #product-page .market-hub .hub-asset-panel .hub-card-order{order:2;flex:1 1 100%}
 body #product-page .market-hub .hub-asset-panel .hub-card-order>span{display:none}
 .hub-table-actions{order:1;flex:1 1 100%;gap:4px;margin:0}
 body #product-page .market-hub .hub-asset-panel .hub-table-actions .hub-search{order:0;max-width:none;flex:1 1 0;padding-inline:8px}
 body #product-page .market-hub .hub-asset-panel .hub-search input{font-size:16px}
 body #product-page .market-hub .hub-asset-panel .hub-table-actions .hub-add-asset{order:1;width:44px;padding:12px}
 .hub-table-actions .hub-add-asset>span,.hub-view-switch button>span{display:none}
 .hub-view-switch{order:2}
 .hub-table-actions>.dc-info{order:3}
 .hub-card-quote .hub-price{font-size:28px;line-height:1.2}
}

.hub-compact-scope,.hub-compact-order{display:none}
@media(max-width:999px){
 body #product-page .market-hub .hub-asset-panel .hub-asset-scope,body #product-page .market-hub .hub-asset-panel .hub-card-order{display:none}
 .hub-compact-scope{display:flex;flex:none;align-items:center}
 .hub-compact-scope,.hub-compact-scope>.liquid-native-host{max-width:128px;min-width:0}
 .hub-compact-order{display:flex;flex:none;align-items:center;gap:4px}
 .hub-compact-scope select,.hub-compact-order select{height:44px;min-height:44px;max-width:128px;padding:8px;border:1px solid var(--b-control-line);border-radius:6px;background:var(--b-panel);color:var(--b-ink);font:400 14px/1.2 var(--sans)}
 .hub-order-direction{display:grid;place-items:center;width:44px;height:44px;padding:12px;border:0;border-radius:6px;background:transparent;color:var(--b-ink);cursor:pointer}
 .hub-order-direction svg{width:20px;height:20px;transform:rotate(90deg)}
 .hub-order-direction[aria-pressed=false] svg{transform:rotate(-90deg)}
 .hub-compact-scope select:focus-visible,.hub-compact-order :is(select,button):focus-visible{outline:2px solid var(--b-ink);outline-offset:2px}
 body #product-page .market-hub .hub-asset-panel>header>.hub-table-tools{order:1;flex-basis:100%}
 .hub-table-actions{flex:1 1 0;gap:8px}
 body #product-page .market-hub .hub-asset-panel .hub-table-actions .hub-add-asset{width:44px;padding:12px}
 .hub-table-actions .hub-add-asset>span,.hub-view-switch button>span{display:none}
 body #product-page .market-hub .hub-asset-panel .hub-table-actions .hub-search{max-width:none;flex:1 1 0}
}
@media(max-width:680px){
 .hub-compact-scope select,.hub-compact-order select{font-size:16px}
 .hub-compact-order{order:2}
 .hub-table-actions{flex:1 1 100%;gap:4px}
}
body #product-page .market-hub details.hub-card-source>summary::before{width:14px;height:14px}

.hub-watch-tabs{display:flex;gap:20px;margin-top:16px;border-bottom:1px solid var(--b-line)}
.hub-watch-tabs>button{position:relative;min-height:44px;padding:0;border:0;background:none;color:var(--b-muted);font:500 14px/1.4 var(--sans);cursor:pointer}
.hub-watch-tabs>button[aria-pressed=true]{color:var(--b-ink)}
.hub-watch-tabs>button[aria-pressed=true]::after{content:'';position:absolute;inset:auto 0 -1px;height:2px;background:currentColor}
.hub-watch-open{display:block;max-width:100%;min-height:32px;padding:0;border:0;background:none;text-align:left;color:var(--b-ink);font:600 15px/1.4 var(--sans);overflow-wrap:anywhere;cursor:pointer}
.hub-watch-open:hover{text-decoration:underline;text-underline-offset:4px}
.hub-watch-result>.hub-watch-save{display:flex;align-items:center;gap:7px;min-height:44px}
.hub-watch-save svg{width:16px;height:16px;flex:none}
.hub-watch-save[aria-pressed=true] svg{fill:currentColor}
.hub-watch-empty{display:grid;justify-items:center;gap:12px;padding:32px 16px;color:var(--b-muted)}
.hub-watch-empty p{margin:0}
.hub-watch-dialog button:focus-visible{outline:2px solid var(--b-accent);outline-offset:3px}
.hub-nav button[data-hub-add]{display:flex;align-items:center;flex-shrink:0;min-height:46px;padding:0;border:0;background:none;color:var(--b-muted);font:inherit;font-size:14px;cursor:pointer}
.hub-nav button[data-hub-add]:hover{color:var(--b-ink)}

/* One live chart readout owns the large value, including historical selection. */
body[data-page="markets"] #product-page .hub-liquidity-card .hub-chart-value{margin-bottom:4px;gap:10px}
body[data-page="markets"] #product-page .hub-liquidity-card .chart-readout{min-height:44px;margin:0 0 12px;gap:10px;flex-wrap:wrap}
body[data-page="markets"] #product-page .hub-liquidity-card .chart-readout dt{display:none}
body[data-page="markets"] #product-page .hub-liquidity-card .chart-readout dd{font-family:'LensWave Dot Digits',var(--mono,monospace);font-size:26px;font-weight:500;line-height:1.3;font-variant-numeric:tabular-nums}
body[data-page="markets"] #product-page .hub-liquidity-card .chart-readout dd small{font:400 12px/1.5 var(--sans);margin-inline-start:6px}
@media(max-width:650px){body[data-page="markets"] #product-page .hub-liquidity-card .chart-readout dd{font-size:21px}body[data-page="markets"] #product-page .hub-liquidity-card .chart-readout>span{font-size:11px}}
