/* Dashboard v3 v0.2.8: component rules. Typography governed by /static/ndx_dashboard_tokens.css. */
/* NDX Dashboard 3 v0.2.4: one list component, one design system. */
:root{--bg:#08090b;--card:#111317;--line:#303640;--text:#f1f3f7;--muted:#c9ced6;--accent:#79e3e4;--heading:#79e3e4;--positive:#0a9b7d;--negative:#ed5369;--row:var(--ndx-row-height);--control:#1b1f27;--control-border:#363c47;--selected:#242932;--selected-text:#fff;--column-text:#a1a8b3;--note-text:#8c949f;--edit-bg:#252a34;--edit-border:#677080;--long-bg:#2a2148;--long-text:#a58bff;--long-border:#4b3a8c;--short-bg:#173a3d;--short-text:#79e3e4;--short-border:#2d6a6d;font-family:var(--ndx-font-family);color:var(--text)}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,select{font:inherit;color:inherit;cursor:pointer}.top{min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-bottom:1px solid var(--line);gap:12px;flex-wrap:wrap}.top>div{display:flex;align-items:center;gap:12px}.top span{color:#592cf9}.top small{font-size:12px;color:var(--muted)}.top button,.top select{background:var(--control);border:1px solid var(--control-border);border-radius:7px;padding:7px 10px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;align-items:start}.panel{min-width:0;height:740px;position:relative;overflow:hidden}.card{height:100%;min-height:0;background:var(--card);border:1px solid var(--line);border-radius:28px;padding:26px 28px 16px;display:flex;flex-direction:column;overflow:hidden}.card-header{display:flex;justify-content:space-between;gap:18px;flex:none;min-width:0}.card-header>div:first-child{min-width:0}.card-header h2{margin:0;font-size:var(--ndx-font-headline);line-height:1.12;font-weight:750;letter-spacing:-.7px;color:var(--heading)}.card-header p{font-size:var(--ndx-font-subtitle);line-height:1.4;color:var(--muted);margin:12px 0 0}.update{flex:none;text-align:right;font-size:var(--ndx-font-update-label);color:var(--muted);display:flex;flex-direction:column;gap:3px}.update strong{font-size:var(--ndx-font-update-time);color:var(--text);font-weight:700}.filters{display:flex;align-items:center;gap:4px;max-width:100%;overflow-x:auto;flex:none;white-space:nowrap;margin:22px 0 14px;padding:4px;border:1px solid var(--line);border-radius:13px;width:max-content;scrollbar-width:thin}.filters button,.filters select{font-size:var(--ndx-font-filter);font-weight:600;background:transparent;border:0;border-radius:10px;padding:8px 10px}.filters button.active{background:var(--selected);color:var(--selected-text)}.filters select{background:var(--selected)}.columns{height:36px;display:grid;align-items:center;gap:10px;border-bottom:1px solid var(--line);font-size:var(--ndx-font-column);letter-spacing:.05em;color:var(--column-text);flex:none}.columns>*:not(:first-child){text-align:right}.columns button{background:transparent;border:0;color:inherit;padding:0;text-align:right;font-size:var(--ndx-font-column)}.columns button.active{color:var(--accent)}.rows{flex:1 1 auto;min-height:0;overflow:hidden}.row{height:var(--row);min-height:var(--row);border-bottom:1px solid var(--line);display:grid;align-items:center;gap:10px;text-decoration:none;color:inherit}.identity-cell{display:flex;align-items:center;gap:12px;min-width:0}.logo{width:36px;height:36px;object-fit:contain;flex:none;background:transparent;border:0;border-radius:0;padding:0}.identity{min-width:0;display:flex;flex-direction:column;gap:4px}.primary,.secondary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.primary{font-size:var(--ndx-font-instrument);font-weight:650}.secondary{font-size:var(--ndx-font-detail);color:var(--muted)}.badge{display:inline-block;font-size:var(--ndx-font-badge);color:var(--long-text);background:var(--long-bg);border:1px solid var(--long-border);border-radius:14px;padding:3px 6px;margin-left:5px}.badge.short{color:var(--short-text);background:var(--short-bg);border-color:var(--short-border)}.metric{font-size:var(--ndx-font-metric);font-weight:650;text-align:right;white-space:nowrap;min-width:0;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.metric.positive{color:var(--positive)}.metric.negative{color:var(--negative)}.foot{min-height:30px;flex:none;display:flex;align-items:center;border-top:1px solid var(--line);font-size:var(--ndx-font-footer);color:var(--column-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty{padding:20px 0;color:var(--muted);font-size:var(--ndx-font-detail)}.editbar,.resizer{display:none}.note{font-size:12px;color:var(--note-text);padding:0 20px 20px}body.edit .panel{border:1px dashed var(--edit-border);border-radius:20px;padding-top:35px}body.edit .card{height:calc(100% - 35px)}body.edit .editbar{display:flex;align-items:center;justify-content:space-between;height:35px;position:absolute;top:0;left:0;right:0;padding:0 14px;font-size:13px;background:var(--edit-bg);cursor:move;user-select:none}body.edit .resizer{display:block;position:absolute;bottom:0;right:0;width:22px;height:22px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 45%,#79e3e4 47%,#79e3e4 52%,transparent 54%)}@media(min-width:2400px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.grid{grid-template-columns:1fr}.card{padding:18px}}

/* v0.2.4: system-aware theme tokens; typography and dimensions stay fixed. */
:root{color-scheme:dark}
@media(prefers-color-scheme:light){:root:not([data-theme="dark"]){--bg:#f2f5f8;--card:#fff;--line:#dce1e8;--text:#202831;--muted:#586472;--accent:#087c83;--heading:#202831;--positive:#0a7560;--negative:#c52c48;--control:#fff;--control-border:#cbd3dd;--selected:#e7edf3;--selected-text:#18212c;--column-text:#66717e;--note-text:#65717e;--edit-bg:#e8edf4;--edit-border:#8c97a7;--long-bg:#efeaff;--long-text:#5427e6;--long-border:#d8ccff;--short-bg:#e3f4f4;--short-text:#087c83;--short-border:#bfe3e4;color-scheme:light}}
:root[data-theme="light"]{--bg:#f2f5f8;--card:#fff;--line:#dce1e8;--text:#202831;--muted:#586472;--accent:#087c83;--heading:#202831;--positive:#0a7560;--negative:#c52c48;--control:#fff;--control-border:#cbd3dd;--selected:#e7edf3;--selected-text:#18212c;--column-text:#66717e;--note-text:#65717e;--edit-bg:#e8edf4;--edit-border:#8c97a7;--long-bg:#efeaff;--long-text:#5427e6;--long-border:#d8ccff;--short-bg:#e3f4f4;--short-text:#087c83;--short-border:#bfe3e4;color-scheme:light}
:root[data-theme="dark"]{color-scheme:dark}
.top button,.top select{color:var(--text)}
.filters button.active{color:var(--selected-text)}
.filters select{color:var(--text)}
.logo:not([src]){background:transparent;border:0}

/* v0.2.4: semantic appearance tokens only; issuer SVGs are unfiltered and unboxed. */
.logo{filter:none!important;mix-blend-mode:normal!important}
.badge{font-weight:600}

/* v0.2.6: independent underlying and instrument links; row itself is not clickable. */
.identity a{color:inherit;text-decoration:none;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.identity a:hover{text-decoration:underline;text-underline-offset:3px}.identity a:focus-visible{outline:2px solid #592cf9;outline-offset:3px;border-radius:2px}.identity .instrument-link{color:var(--muted)}

/* Dashboard App v0.2.0: specialized widgets use the same typography, color, and spacing tokens. */
.summary{font-size:var(--ndx-font-detail);color:var(--muted);padding:20px 0 14px;flex:none}
.listing-columns{grid-template-columns:minmax(0,1fr) 72px}.listing-row{grid-template-columns:minmax(0,1fr) 72px}.listing-market{text-align:right;color:var(--muted);font-size:var(--ndx-font-detail)}
.heatmap-stage{flex:1;min-height:0;display:flex;flex-wrap:wrap;align-content:stretch;gap:5px;padding:22px 0 12px;overflow:hidden}.heat-tile{min-width:23%;flex-basis:20%;min-height:15%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;border-radius:10px;padding:8px 6px;text-align:center;color:#fff;text-decoration:none;font-size:var(--ndx-font-instrument);font-weight:650;overflow:hidden}.heat-tile small{font-size:var(--ndx-font-detail);opacity:.85}.heat-tile:hover{filter:brightness(1.18)}
.sentiment-stage{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:14px;padding-top:22px}.sentiment-gauge{flex:none}.sentiment-label{text-align:center;font-size:var(--ndx-font-metric);font-weight:700;color:var(--heading)}.sentiment-shares,.sentiment-sides{display:flex;justify-content:space-between;gap:8px}.sentiment-shares{font-size:var(--ndx-font-instrument);font-weight:650;padding:12px 0}.bullish-share{color:var(--positive)}.bearish-share{color:var(--negative)}.sentiment-bar{height:15px;border-radius:10px;background:var(--negative);overflow:hidden}.sentiment-bull{height:100%;background:var(--positive)}.sentiment-sides{color:var(--muted);font-size:var(--ndx-font-detail);padding-top:6px}.sentiment-flows{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;flex:none}.flow-heading{display:flex;justify-content:space-between;gap:5px;font-size:var(--ndx-font-detail);color:var(--muted)}.flow-heading strong{color:var(--text)}.flow-track{height:8px;border-radius:8px;background:var(--control);margin-top:6px;overflow:hidden}.flow-fill{height:100%;border-radius:8px}.flow-long{background:var(--positive)}.flow-short{background:var(--negative)}.section-label{font-size:var(--ndx-font-subtitle);color:var(--muted);margin:6px 0 0}.sentiment-drivers{min-height:0;overflow:hidden}.driver-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:10px 0;font-size:var(--ndx-font-detail)}.driver-name{color:var(--text);text-decoration:none}.driver-name:hover{text-decoration:underline}.driver-value{color:var(--muted);white-space:nowrap}

/* v0.2.1 dashboard heatmap: all styling is dashboard-owned. */
:root{--ndx-heat-icon-color:#592cf9;--ndx-heat-tile-gap:7px;--ndx-heat-radius:11px;--ndx-heat-name-size:var(--ndx-font-instrument);--ndx-heat-value-size:var(--ndx-font-metric)}
.heatmap-stage{display:grid;grid-template-columns:repeat(var(--heat-columns,4),minmax(0,1fr));grid-template-rows:repeat(var(--heat-rows,4),minmax(0,1fr));gap:var(--ndx-heat-tile-gap);padding:8px 0 12px;align-content:stretch;min-height:0;overflow:hidden}
.heat-tile{min-width:0;min-height:0;flex-basis:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;text-align:left;padding:12px;border-radius:var(--ndx-heat-radius);background:#a4e7e9;color:#173e45;text-decoration:none;gap:6px;overflow:hidden}
.heat-tile:hover{filter:brightness(.96)}.heat-tile:focus-visible{outline:3px solid var(--ndx-heat-icon-color);outline-offset:-3px}
.heat-name{display:flex;align-items:flex-start;gap:7px;min-width:0;font-size:var(--ndx-heat-name-size);font-weight:650;line-height:1.18}.heat-label{min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.heat-icon{width:20px;height:20px;flex:none;fill:none;stroke:var(--ndx-heat-icon-color);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.heat-percent{font-size:var(--ndx-heat-value-size);font-weight:750;line-height:1.05;font-variant-numeric:tabular-nums}.heat-other{background:#d8e0e5;color:#505a65}.heat-other .heat-percent{color:#505a65}
:root[data-theme="dark"] .heat-tile:not(.heat-other){background:color-mix(in srgb,#147d89 72%,#1c3540);color:#f1f8fa}
:root[data-theme="dark"] .heat-other{background:#343d47;color:#e2e7eb}:root[data-theme="dark"] .heat-other .heat-percent{color:#e2e7eb}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .heat-tile:not(.heat-other){background:#176d78;color:#f1f8fa}:root:not([data-theme="light"]) .heat-other{background:#343d47;color:#e2e7eb}:root:not([data-theme="light"]) .heat-other .heat-percent{color:#e2e7eb}}

/* v0.2.4: dashboard-owned palette and FLIP-compatible intensity transition.
   Motion is driven by JS Web Animations API, not keyframe rotation. */
:root{--ndx-heat-low:#dff8f9;--ndx-heat-high:#41c8cf;--ndx-heat-dark-low:#22505b;--ndx-heat-dark-high:#128e9b}
.heat-tile:not(.heat-other){position:relative;isolation:isolate;background:var(--ndx-heat-low);transition:filter .15s ease}.heat-tile:not(.heat-other)::before{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--ndx-heat-high);opacity:calc(var(--heat-strength,0) * .85);transition:opacity .65s ease;z-index:-1;pointer-events:none}
:root[data-theme="dark"] .heat-tile:not(.heat-other){background:var(--ndx-heat-dark-low);color:#f1f8fa}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .heat-tile:not(.heat-other){background:var(--ndx-heat-dark-low);color:#f1f8fa}}
:root[data-theme="dark"] .heat-tile:not(.heat-other)::before{background:var(--ndx-heat-dark-high)}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .heat-tile:not(.heat-other)::before{background:var(--ndx-heat-dark-high)}}
@media(prefers-reduced-motion:reduce){.heat-tile:not(.heat-other)::before{transition:none}}

/* v0.2.5: high-contrast dashboard-only turquoise scale.
   The JavaScript maps activity share to --heat-strength with calibrated stops.
   Preserve the FLIP position and opacity transitions from v0.2.4. */
:root{--ndx-heat-low:#e5f8f8;--ndx-heat-high:#16a6b5;--ndx-heat-dark-low:#25404a;--ndx-heat-dark-high:#13a8b7}
.heat-tile:not(.heat-other)::before{opacity:var(--heat-strength,0)}
:root[data-theme="dark"] .heat-tile:not(.heat-other){color:#f1f8fa}

/* v0.2.6: shared update typography and edit-mode horizontal sizing for all six panels */
:root{--ndx-font-update-time:15px;--ndx-font-update-label:11px}
.update strong{font-weight:550;color:var(--muted);letter-spacing:0;font-variant-numeric:tabular-nums}
.edit-actions{display:flex;align-items:center;gap:12px}
body.edit .width-toggle{display:inline-flex;align-items:center;border:1px solid var(--edit-border);border-radius:6px;background:var(--control);color:var(--text);padding:3px 8px;font-size:12px;cursor:pointer}
body.edit .width-toggle[aria-pressed="true"]{border-color:var(--accent);color:var(--accent)}
.width-toggle{display:none}
body.edit .resizer{touch-action:none}

/* v0.2.7: all widget headlines navigate to their own standalone application. */
.card-header h2 .widget-title-link{color:inherit;text-decoration:none;cursor:pointer}
.card-header h2 .widget-title-link:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.card-header h2 .widget-title-link:focus-visible{outline:2px solid var(--ndx-heat-icon-color,#592cf9);outline-offset:4px;border-radius:3px}

/* v0.2.8 Live Tape parity: dashboard shared tokens, no standalone stylesheet. */
[data-key="trade_tape"] .tape-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:3px 0 12px;flex:none}
[data-key="trade_tape"] .tape-kpi{min-width:0;padding:8px 12px;border-right:1px solid var(--line)}
[data-key="trade_tape"] .tape-kpi:first-child{padding-left:0}
[data-key="trade_tape"] .tape-kpi:last-child{border-right:0}
[data-key="trade_tape"] .tape-kpi-label{display:block;font-size:var(--ndx-font-column);color:var(--column-text);letter-spacing:.04em;font-weight:650}
[data-key="trade_tape"] .tape-kpi-value{display:block;margin-top:5px;font-size:var(--ndx-font-metric);color:var(--text);white-space:nowrap}
[data-key="trade_tape"] .tape-kpi.emphasis .tape-kpi-value{color:var(--accent)}
/* 2.49.0: client and market-maker members after the side mark, full view only */
[data-key="trade_tape"] .client-member{display:none;flex:none;margin-left:10px;font-size:var(--ndx-font-column);color:var(--muted);font-weight:500;white-space:nowrap;cursor:help}
.is-full[data-key="trade_tape"] .client-member,.is-full [data-key="trade_tape"] .client-member{display:inline}
[data-key="trade_tape"] .trade-time{font-size:var(--ndx-font-column);color:var(--muted);font-weight:400;margin-left:8px;white-space:nowrap}
[data-key="trade_tape"] .metric.leverage{color:#592cf9}
[data-key="trade_tape"] .row{gap:7px}
@container (max-width: 540px){[data-key="trade_tape"] .tape-kpi-label{font-size:10px}[data-key="trade_tape"] .tape-kpi-value{font-size:14px}}
[data-key="trade_tape"] .card{container-type:inline-size}

/* v0.2.9: Tape summary exposure and multiplier match the leverage column. */
[data-key="trade_tape"] .tape-kpi:nth-child(2) .tape-kpi-value,
[data-key="trade_tape"] .tape-kpi:nth-child(3) .tape-kpi-value{color:#592cf9}

/* v0.3.0: shared list metric typography, intentionally not KPI or heatmap values. */
.grid .row .metric{font-weight:500}
/* The grid layout is owned by layout.css, loaded after components.css. */

/* v0.3.1 New Instruments: compact metrics and explicit trading-day snapshot. */

.listing-metrics{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 18px;color:var(--muted)}
.listing-metric{white-space:nowrap;font-size:var(--ndx-font-detail)}
.listing-metric strong{font-weight:700;color:var(--text);font-variant-numeric:tabular-nums}
.listing-snapshot-date{color:var(--column-text);font-size:var(--ndx-font-footer);line-height:1.3}

/* v0.3.2: dashboard-only Retail Sentiment presentation; shared tokens, no standalone changes. */
[data-key="sentiment"] .sentiment-stage{gap:12px;padding-top:16px}
[data-key="sentiment"] .sentiment-gauge{padding-bottom:4px}
[data-key="sentiment"] .sentiment-label{font-size:var(--ndx-font-subtitle);font-weight:600;color:var(--muted)}
[data-key="sentiment"] .sentiment-dominance{text-align:center;font-size:clamp(19px,2.2vw,30px);font-weight:650;letter-spacing:-.04em;margin:4px 0 2px;color:var(--text)}
[data-key="sentiment"] .sentiment-dominance[data-tone="bullish"]{color:var(--positive)}
[data-key="sentiment"] .sentiment-dominance[data-tone="bearish"]{color:var(--negative)}
[data-key="sentiment"] .sentiment-shares{padding:8px 0 9px;font-size:var(--ndx-font-instrument)}
[data-key="sentiment"] .sentiment-bar{height:12px;border-radius:8px}
[data-key="sentiment"] .sentiment-sides{padding-top:6px}
[data-key="sentiment"] .sentiment-coverage{font-size:var(--ndx-font-detail);color:var(--muted);padding:8px 0;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}
[data-key="sentiment"] .section-label{font-size:var(--ndx-font-column);font-weight:650;letter-spacing:.05em;text-transform:uppercase;margin:0;color:var(--column-text)}
[data-key="sentiment"] .sentiment-flows{gap:10px 16px}
[data-key="sentiment"] .flow-heading{align-items:baseline;font-variant-numeric:tabular-nums}
[data-key="sentiment"] .flow-name{font-weight:550;color:var(--text)}
[data-key="sentiment"] .flow-track{height:7px;margin-top:5px}
[data-key="sentiment"] .sentiment-drivers{flex:1;min-height:0;overflow:hidden}
[data-key="sentiment"] .driver-row{display:block;padding:9px 0 10px}
[data-key="sentiment"] .driver-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
[data-key="sentiment"] .driver-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:550}
[data-key="sentiment"] .driver-value{font-variant-numeric:tabular-nums;font-weight:550}
[data-key="sentiment"] .driver-value.is-bull{color:var(--positive)}
[data-key="sentiment"] .driver-value.is-bear{color:var(--negative)}
[data-key="sentiment"] .driver-track{height:5px;border-radius:4px;background:var(--control);overflow:hidden;margin-top:7px}
[data-key="sentiment"] .driver-fill{height:100%;border-radius:4px}
[data-key="sentiment"] .driver-fill.is-bull{background:var(--positive)}
[data-key="sentiment"] .driver-fill.is-bear{background:var(--negative)}

/* v0.3.3: compact exposure view and visible no-data state. */
[data-key="sentiment"] .sentiment-dominance{font-size:var(--ndx-font-detail);letter-spacing:0;color:var(--muted);font-weight:500;margin:7px 0}
[data-key="sentiment"] .sentiment-shares{font-size:clamp(17px,2vw,27px);font-weight:700}
[data-key="sentiment"] .sentiment-bar{background:var(--negative)}
[data-key="sentiment"] .sentiment-stage{overflow:auto;scrollbar-width:thin}
[data-key="sentiment"] .sentiment-drivers{flex:none;overflow:visible}
[data-key="sentiment"] .sentiment-assets-heading{margin-top:10px}
[data-key="sentiment"] .sentiment-asset-classes{display:grid;gap:9px;padding-bottom:12px}
[data-key="sentiment"] .asset-row{display:grid;grid-template-columns:minmax(90px,1fr) minmax(60px,1fr) minmax(95px,auto);gap:10px;align-items:center;font-size:var(--ndx-font-detail)}
[data-key="sentiment"] .asset-name{font-weight:550;color:var(--text)}
[data-key="sentiment"] .asset-track{height:7px;border-radius:7px;background:var(--control);overflow:hidden}
[data-key="sentiment"] .asset-fill{height:100%;border-radius:7px}
[data-key="sentiment"] .asset-fill.is-bull{background:var(--positive)}
[data-key="sentiment"] .asset-fill.is-bear{background:var(--negative)}
[data-key="sentiment"] .asset-value{text-align:right;font-variant-numeric:tabular-nums}
[data-key="sentiment"] .asset-value.is-bull{color:var(--positive)}
[data-key="sentiment"] .asset-value.is-bear{color:var(--negative)}
[data-key="sentiment"] .sentiment-unavailable{padding:22px;color:var(--muted);font-size:var(--ndx-font-detail);border:1px dashed var(--line);border-radius:12px}

/* v0.3.5 Retail Sentiment: dashboard-only responsive composition. */
[data-key="sentiment"] .sentiment-stage{container-type:inline-size;overflow:auto;min-height:0;padding-top:12px}
[data-key="sentiment"] .sentiment-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
[data-key="sentiment"] .sentiment-left,[data-key="sentiment"] .sentiment-right{min-width:0;display:flex;flex-direction:column;gap:12px}
[data-key="sentiment"] .sentiment-gauge{padding:0}
[data-key="sentiment"] .sentiment-label{font-size:var(--ndx-font-subtitle)}
[data-key="sentiment"] .sentiment-dominance{margin:3px 0 4px;font-size:var(--ndx-font-footer)}
[data-key="sentiment"] .sentiment-shares{padding:6px 0 5px}
[data-key="sentiment"] .sentiment-coverage{padding:8px 0;margin:0}
[data-key="sentiment"] .sentiment-flows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
[data-key="sentiment"] .flow-heading{font-size:var(--ndx-font-footer);gap:8px}
[data-key="sentiment"] .flow-heading strong{font-weight:550;white-space:nowrap}
[data-key="sentiment"] .flow-track{height:6px;margin-top:4px}
[data-key="sentiment"] .driver-row{padding:8px 0}
[data-key="sentiment"] .driver-track,[data-key="sentiment"] .asset-track{position:relative;overflow:hidden;background:linear-gradient(to right,var(--control) 0%,var(--control) calc(50% - .5px),var(--line) calc(50% - .5px),var(--line) calc(50% + .5px),var(--control) calc(50% + .5px),var(--control) 100%)}
[data-key="sentiment"] .driver-fill,[data-key="sentiment"] .asset-fill{position:absolute;top:0;bottom:0;border-radius:3px}
[data-key="sentiment"] .sentiment-assets-heading{margin-top:6px}
@container (min-width: 650px){
 .sentiment-layout{grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr);gap:22px}
 .sentiment-right{padding-left:18px;border-left:1px solid var(--line)}
}
@container (max-width: 480px){
 .sentiment-flows{grid-template-columns:minmax(0,1fr)}
 .asset-row{grid-template-columns:minmax(65px,1fr) minmax(55px,1fr) minmax(75px,auto)}
}

/* v0.3.6: compact dashboard-only sentiment driver rows; stage is the query container.
   Container query selectors must match descendants of the container, not its ancestor. */
[data-key="sentiment"] .sentiment-right{gap:10px}
[data-key="sentiment"] .driver-row{display:grid;grid-template-columns:minmax(105px,1fr) minmax(75px,1.15fr) auto;gap:10px;align-items:center;padding:6px 0}
[data-key="sentiment"] .driver-heading{display:contents}
[data-key="sentiment"] .driver-name{font-size:var(--ndx-font-detail);min-width:0}
[data-key="sentiment"] .driver-track{grid-column:2;grid-row:auto;margin:0;height:6px}
[data-key="sentiment"] .driver-value{grid-column:3;white-space:nowrap;font-size:var(--ndx-font-footer);text-align:right}
[data-key="sentiment"] .asset-row{grid-template-columns:minmax(85px,1fr) minmax(70px,1.15fr) auto;gap:10px}
[data-key="sentiment"] .asset-name,[data-key="sentiment"] .asset-value{font-size:var(--ndx-font-footer)}
@container (max-width: 480px){
 .driver-row{grid-template-columns:minmax(80px,1fr) minmax(55px,1fr) auto}
 .asset-row{grid-template-columns:minmax(70px,1fr) minmax(55px,1fr) auto}
}

/* v0.3.7: simplify sentiment to one summary bar, grouped flow figures and five driver bars. */
[data-key="sentiment"] .sentiment-stage{gap:10px;padding-top:10px}
[data-key="sentiment"] .sentiment-layout{gap:18px}
[data-key="sentiment"] .sentiment-left,[data-key="sentiment"] .sentiment-right{gap:10px}
[data-key="sentiment"] .sentiment-flows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
[data-key="sentiment"] .sentiment-flow-group{min-width:0;padding:10px 12px;background:var(--control);border-radius:10px}
[data-key="sentiment"] .sentiment-flow-group-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:var(--ndx-font-detail);font-weight:700}
[data-key="sentiment"] .sentiment-flow-group.bull .sentiment-flow-group-title{color:var(--positive)}
[data-key="sentiment"] .sentiment-flow-group.bear .sentiment-flow-group-title{color:var(--negative)}
[data-key="sentiment"] .sentiment-flow-group-title strong{font-size:var(--ndx-font-detail);white-space:nowrap}
[data-key="sentiment"] .sentiment-flow-item{display:flex;justify-content:space-between;gap:8px;padding-top:8px;font-size:var(--ndx-font-footer);color:var(--muted)}
[data-key="sentiment"] .sentiment-flow-item span:last-child{white-space:nowrap;color:var(--text)}
[data-key="sentiment"] .driver-row{padding:8px 0;grid-template-columns:minmax(95px,1fr) minmax(80px,1.1fr) auto}
[data-key="sentiment"] .sentiment-assets-heading,[data-key="sentiment"] .sentiment-asset-classes{display:none}
@container (min-width: 650px){
 [data-key="sentiment"] .sentiment-layout{grid-template-columns:minmax(0,0.94fr) minmax(0,1.06fr)}
 [data-key="sentiment"] .sentiment-right{padding-left:18px;border-left:1px solid var(--line)}
}
@container (max-width: 480px){
 [data-key="sentiment"] .sentiment-flows{grid-template-columns:1fr}
}

/* v0.3.8: direction-first dashboard-only Retail Sentiment. */
[data-key="sentiment"] .sentiment-stage{container-type:inline-size;overflow:auto;display:flex;flex-direction:column;gap:12px}
[data-key="sentiment"] .sentiment-direction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
[data-key="sentiment"] .sentiment-direction{min-width:0;display:flex;flex-direction:column;gap:6px}
[data-key="sentiment"] .sentiment-direction-bear{padding-left:18px;border-left:1px solid var(--line)}
[data-key="sentiment"] .sentiment-direction-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:var(--ndx-font-detail);margin:4px 0 6px;font-weight:700}
[data-key="sentiment"] .sentiment-direction-title strong{font-size:var(--ndx-font-detail);white-space:nowrap;font-weight:700}
[data-key="sentiment"] .sentiment-direction-bull .sentiment-direction-title,[data-key="sentiment"] .sentiment-direction-bull .sentiment-row-value{color:var(--positive)}
[data-key="sentiment"] .sentiment-direction-bear .sentiment-direction-title,[data-key="sentiment"] .sentiment-direction-bear .sentiment-row-value{color:var(--negative)}
[data-key="sentiment"] .sentiment-number-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:5px 0;font-size:var(--ndx-font-footer);font-variant-numeric:tabular-nums}
[data-key="sentiment"] .sentiment-row-name{color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[data-key="sentiment"] .sentiment-row-value{font-weight:600;white-space:nowrap}
[data-key="sentiment"] .sentiment-direction .section-label{margin:13px 0 3px;padding-top:9px;border-top:1px solid var(--line)}
[data-key="sentiment"] .sentiment-no-items{font-size:var(--ndx-font-footer);color:var(--muted);padding:6px 0}
@container (max-width: 460px){
 [data-key="sentiment"] .sentiment-direction-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 [data-key="sentiment"] .sentiment-direction-bear{padding-left:0;border-left:0;border-top:1px solid var(--line);padding-top:12px}
}

/* v0.4.20: dark dashboard header and accessible controls */
:root[data-theme="dark"] .top{background:#14191f;border-bottom-color:#343c46}
:root[data-theme="dark"] .top strong{color:#f1f4f7}
:root[data-theme="dark"] .top small{color:#c9ced6}
:root[data-theme="dark"] .top button,:root[data-theme="dark"] .top select{background:#222a33;border-color:#46505c;color:#f0f3f6}
:root[data-theme="dark"] .top button:hover,:root[data-theme="dark"] .top select:hover{background:#2e3843}
:root[data-theme="dark"] .card{background:#1a2027;border-color:#38434e}
:root[data-theme="dark"] .card-header h2{color:#79e3e4}
:root[data-theme="dark"] .row{border-bottom-color:#35404b}
:root[data-theme="dark"] .filters{border-color:#35404b}
:root[data-theme="dark"] .metric.positive{color:#4dd2aa}
:root[data-theme="dark"] .metric.negative{color:#ff637b}

/* v0.4.21: less harsh dark canvas, preserve existing cards. */
:root[data-theme="dark"]{--bg:#101317}
@media(prefers-color-scheme:dark){:root:not([data-theme]){--bg:#101317}}

/* Dashboard v0.5.2: distinct activity tiers, independent of standalone Heatmap.
   CSS overrides the legacy blended teal gradient; Other remains neutral. */
:root[data-theme="dark"] .heat-tile:not(.heat-other),
:root[data-theme="light"] .heat-tile:not(.heat-other),
:root:not([data-theme]) .heat-tile:not(.heat-other){color:#f4fbfd;background:#36576b}
.heat-tile:not(.heat-other)::before{display:none!important}
.heat-tile:not(.heat-other)[data-heat-tier="very-high"]{background:#20b7c5!important}
.heat-tile:not(.heat-other)[data-heat-tier="high"]{background:#258da5!important}
.heat-tile:not(.heat-other)[data-heat-tier="medium"]{background:#28778d!important}
.heat-tile:not(.heat-other)[data-heat-tier="low"]{background:#36576b!important}
.heat-tile:not(.heat-other)[data-heat-tier="minimal"]{background:#34414e!important}
.heat-tile:not(.heat-other)[data-heat-tier]{color:#f4fbfd!important}
.heat-tile:not(.heat-other)[data-heat-tier] .heat-percent{color:#f4fbfd!important}
.heat-tile.heat-other{background:#343b45!important;color:#e9edf0!important}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .heat-tile:not(.heat-other)[data-heat-tier]{color:#f4fbfd!important}}
/* Removing subtitles also removes their inherited vertical margin. */
.panel .card-header h2{margin-bottom:0}

/* v0.5.3 — shared dark surface tokens for all dashboard cards.
   This stylesheet loads before pulse.css; pulse-specific overrides live there. */
:root[data-theme="dark"]{--bg:#0f1216;--card:#1a2027;--line:#35404c;--ndx-dashboard-surface:var(--card);--ndx-dashboard-border:var(--line)}
:root[data-theme="dark"] .panel .card{background:var(--ndx-dashboard-surface);border-color:var(--ndx-dashboard-border)}
@media(prefers-color-scheme:dark){
  :root:not([data-theme="light"]){--bg:#0f1216;--card:#1a2027;--line:#35404c;--ndx-dashboard-surface:var(--card);--ndx-dashboard-border:var(--line)}
  :root:not([data-theme="light"]) .panel .card{background:var(--ndx-dashboard-surface);border-color:var(--ndx-dashboard-border)}
}

/* v0.5.4: configuration controls are visible only in Customize dashboard.
   display:none collapses their margins and frees content space. */
body:not(.edit) .panel > .card > .filters {display:none !important;}
body.edit .panel > .card > .filters {display:flex;}
/* Heatmap grid starts immediately beneath its header in viewing mode. */
body:not(.edit) [data-key="heatmap"] .heatmap-stage {padding-top:12px;}

/* ===================================================================
   v1.0.0-dev.7 — visual review. Later rules intentionally override the
   historical layers above; remove superseded layers in a later cleanup.
   =================================================================== */

/* One bull/bear colour pair everywhere (Pulse gauge, flow, Retail Sentiment):
   bearish = NGM turquoise, bullish = NGM purple. Order is always bearish left. */
:root{--bull:#592cf9;--bull-ink:#5427e6;--bear:#79e3e4;--bear-ink:#087c83;--stale:#e0a100}
:root[data-theme="dark"]{--bull-ink:#a58bff;--bear-ink:#79e3e4}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--bull-ink:#a58bff;--bear-ink:#79e3e4}}

/* Header: product name only; version stays as a quiet desktop detail. */
.top .app-version{font-size:11px;color:var(--column-text);opacity:.8}

/* Freshness: one line "• 15:18 · 60 s"; amber dot when a refresh is overdue. */
.update{flex-direction:row;align-items:center;gap:6px;white-space:nowrap;align-self:flex-start;padding-top:8px}
.update strong{font-size:var(--ndx-font-update-time)}
.update-cadence{color:var(--column-text);font-size:var(--ndx-font-update-label)}
.update-dot{width:8px;height:8px;border-radius:50%;background:var(--line);flex:none;transition:background .3s}
.panel[data-loaded="1"] .update-dot{background:var(--positive)}
.panel.is-stale .update-dot{background:var(--stale);box-shadow:0 0 0 3px color-mix(in srgb,var(--stale) 25%,transparent)}
.panel.is-stale .update strong{color:var(--stale)}
/* 2.60.0: the time and refresh rate are shown only in the full view (Joel: cleaner cards). On the dashboard and the TV
   a card shows nothing there, except the amber dot when its refresh is overdue and the blinking dot while catching up. */
#grid .card-header>.update{display:none}
#grid .panel.is-stale .card-header>.update,body.catching-up #grid .panel .card-header>.update{display:flex}
#grid .card-header>.update .asof,#grid .card-header>.update .update-cadence{display:none}

/* Issuer monograms replace 36 px logo images (readable on TV). */
.issuer-badge{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:9px;font-size:11px;font-weight:800;letter-spacing:.02em;color:#fff;background:#6b7785;line-height:1;user-select:none}
/* 2.70.1: the badges take the issuer colours below (--issuer-*), the same in light and dark mode */
.issuer-badge.issuer-ms{background:var(--issuer-ms)}
.issuer-badge.issuer-sg{background:var(--issuer-sg)}
.issuer-badge.issuer-von{background:var(--issuer-von)}
.issuer-badge.issuer-bnp{background:var(--issuer-bnp)}
.issuer-badge.issuer-none{background:transparent}
.issuer-badge-sm{width:24px;height:22px;border-radius:5px;font-size:8.5px}

/* Most Traded leads with the instrument; the underlying is the quiet second line. */
.identity .underlying-link{color:var(--muted)}

/* Live tape: flag unusually high leverage instead of letting it blend in. */
[data-key="trade_tape"] .metric.leverage.outlier{color:#b06a00;text-decoration:underline dotted;text-underline-offset:4px;cursor:help}
:root[data-theme="dark"] [data-key="trade_tape"] .metric.leverage.outlier{color:#ffc145}

/* Heatmap: proportional treemap. Tiles are absolutely positioned by JS. */
.heatmap-stage{position:relative;display:block!important;flex:1;min-height:0;padding:0!important;margin:12px 0 10px;overflow:hidden}
.heatmap-stage .heat-tile{position:absolute;box-sizing:border-box;min-width:0;min-height:0;padding:10px 12px}
.heatmap-stage.heat-animate .heat-tile{transition:left .6s cubic-bezier(.22,1,.36,1),top .6s cubic-bezier(.22,1,.36,1),width .6s cubic-bezier(.22,1,.36,1),height .6s cubic-bezier(.22,1,.36,1),background-color .4s}
@media(prefers-reduced-motion:reduce){.heatmap-stage .heat-tile{transition:none!important}}
.heat-tile .heat-icon{stroke:currentColor!important;opacity:.7}
.heat-tile.heat-small{padding:7px 8px}
.heat-tile.heat-small .heat-icon{display:none}
.heat-tile.heat-small .heat-name{font-size:12px;line-height:1.1}
.heat-tile.heat-small .heat-label{-webkit-line-clamp:1}
.heat-tile.heat-small .heat-percent{font-size:15px}
.heat-tile.heat-tiny .heat-name{display:none}
.heat-tile.heat-tiny{justify-content:center;align-items:center;padding:2px}
.heat-tile.heat-tiny .heat-percent{font-size:11px}
/* "Other" is information, not emphasis: light neutral with readable text. */
.heat-tile.heat-other{background:#e7ecf0!important;color:#3d4954!important;border:1px dashed #c3ccd5}
.heat-tile.heat-other .heat-percent{color:#3d4954!important}
.heat-tile.heat-other .heat-name{font-weight:600}
:root[data-theme="dark"] .heat-tile.heat-other{background:#252d36!important;color:#c9d1d9!important;border-color:#3b4652}
:root[data-theme="dark"] .heat-tile.heat-other .heat-percent{color:#c9d1d9!important}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .heat-tile.heat-other{background:#252d36!important;color:#c9d1d9!important;border-color:#3b4652}:root:not([data-theme="light"]) .heat-tile.heat-other .heat-percent{color:#c9d1d9!important}}

/* Retail Sentiment: NGM bull/bear colours, bearish left. */
[data-key="sentiment"] .sentiment-label{font-size:var(--ndx-font-instrument);font-weight:700;color:var(--text)}
[data-key="sentiment"] .sentiment-label[data-tone="bearish"]{color:var(--bear-ink)}
[data-key="sentiment"] .sentiment-label[data-tone="bullish"]{color:var(--bull-ink)}
[data-key="sentiment"] .bearish-share{color:var(--bear-ink)}
[data-key="sentiment"] .bullish-share{color:var(--bull-ink)}
[data-key="sentiment"] .sentiment-bar{background:var(--bull)!important}
[data-key="sentiment"] .sentiment-bear{height:100%;background:var(--bear)}
[data-key="sentiment"] .sentiment-direction-bull .sentiment-direction-title,[data-key="sentiment"] .sentiment-direction-bull .sentiment-row-value{color:var(--bull-ink)}
[data-key="sentiment"] .sentiment-direction-bear .sentiment-direction-title,[data-key="sentiment"] .sentiment-direction-bear .sentiment-row-value{color:var(--bear-ink)}
[data-key="sentiment"] .sentiment-direction-bear{padding-left:0;border-left:0}
[data-key="sentiment"] .sentiment-direction-bull{padding-left:18px;border-left:1px solid var(--line)}
@container (max-width: 460px){
 [data-key="sentiment"] .sentiment-direction-bull{padding-left:0;border-left:0;border-top:1px solid var(--line);padding-top:12px}
 [data-key="sentiment"] .sentiment-direction-bear{border-top:0;padding-top:0}
}
/* Links look like the rest of the dashboard: no underline until hover. */
[data-key="sentiment"] a.sentiment-row-name{text-decoration:none;color:var(--text)}
[data-key="sentiment"] a.sentiment-row-name:hover{text-decoration:underline;text-underline-offset:3px}
/* Direction badges never disappear behind an ellipsised instrument name. */
.identity .secondary{display:flex;align-items:center;min-width:0}
.identity .secondary>a,.identity .secondary>span:not(.badge){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.identity .secondary>.badge{flex:none}
/* 2.71.0: in a narrow name column the LONG / SHORT pill shrinks to L / S (full word in its tooltip), so the
   instrument name keeps the room (Most traded and Winners showed "BEA…" in a third-width card). */
.identity-cell{container-type:inline-size}
@container (max-width:260px){.identity .secondary>.badge[data-abbr]{font-size:0;padding:3px 5px}
  .identity .secondary>.badge[data-abbr]::before{content:attr(data-abbr);font-size:var(--ndx-font-badge)}}

/* ===================== v1.0.0-dev.8 ===================== */
/* Heatmap "Other": a fixed note in the bottom-right corner, visibly not an underlying. */
.panel[data-key="heatmap"] .heatmap-stage .heat-tile.heat-other{display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:7px;align-content:center;padding:6px 10px!important;
  background:transparent!important;border:1px dashed var(--line)!important;color:var(--column-text)!important;cursor:default}
.panel[data-key="heatmap"] .heatmap-stage .heat-tile.heat-other:hover{filter:none}
.heat-other .heat-other-icon{grid-row:1 / 3;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;opacity:.8}
.heat-other .heat-label{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:unset;display:block}
.panel[data-key="heatmap"] .heatmap-stage .heat-other .heat-percent{font-size:15px;font-weight:700;color:var(--column-text)!important;line-height:1.1}
/* Coverage bar: TV layout only. */
.heat-coverage{display:none;align-items:center;gap:10px;font-size:11px;color:var(--column-text);margin:-2px 0 6px;font-variant-numeric:tabular-nums}
body.tv [data-key="heatmap"] .heat-coverage{display:flex}
.heat-coverage-bar{flex:1;height:5px;border-radius:3px;background:var(--line);overflow:hidden}
.heat-coverage-fill{height:100%;background:#20b7c5;border-radius:3px}
.heat-coverage-label{white-space:nowrap}

/* Catch-up notice after a restart. */
.catch-up{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;align-items:center;gap:10px;max-width:420px;padding:10px 14px;border-radius:10px;
  background:var(--card);border:1px solid var(--line);color:var(--text);font-size:13px;box-shadow:0 6px 24px #0003}
.catch-up[hidden]{display:none}
.catch-up .catch-up-text{color:var(--muted)}
.catch-up-spinner{width:14px;height:14px;border-radius:50%;border:2px solid var(--line);border-top-color:#20b7c5;animation:ndx-spin .9s linear infinite;flex:none}
@keyframes ndx-spin{to{transform:rotate(360deg)}}
body.catching-up .panel .update-dot{background:var(--line)!important;animation:ndx-blink 1.2s ease-in-out infinite}
@keyframes ndx-blink{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.catch-up-spinner,body.catching-up .panel .update-dot{animation:none}}
.heat-tile.heat-small .heat-label{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ===================== v1.0.0-dev.10 ===================== */
/* Every block shares the 12-column grid and the same edit chrome. */
.grid>.block{min-width:0;position:relative}
.grid>.block[hidden]{display:none!important}
.grid>.pulse-block{display:flex}
.grid>.pulse-block>.pulse-tile{flex:1;min-width:0}
.grid>.pulse-block[style*="height"]>.pulse-tile{min-height:0;height:100%;box-sizing:border-box}
.grid>.ticker-unit{display:block}
@media(max-width:850px){.grid>.block{grid-column:1 / -1!important}}
.block-editbar{display:none}
body.edit .grid>.block{outline:1px dashed var(--edit-border);outline-offset:3px;border-radius:14px;padding-top:36px}
body.edit .grid>.panel{border:0}
body.edit .card{height:calc(100% - 36px)}
body.edit .block-editbar{display:flex;align-items:center;justify-content:space-between;gap:10px;position:absolute;top:0;left:0;right:0;height:30px;padding:0 10px;
  font-size:12px;background:var(--edit-bg);border:1px solid var(--edit-border);border-radius:8px;cursor:grab;user-select:none;z-index:5;color:var(--text)}
.block-actions{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden}
.block-actions button{border:1px solid var(--edit-border);border-radius:5px;padding:2px 7px;background:var(--control);color:var(--text);font-size:11px;cursor:pointer}
.width-select{font:inherit;font-size:11px;border:1px solid var(--edit-border);border-radius:5px;padding:1px 4px;background:var(--control);color:var(--text)}
.block-actions .dimensions{font-size:10px;color:var(--column-text);white-space:nowrap}
.block-hide{color:var(--negative)!important}
body.edit .block-editbar .drag-handle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.block-actions{flex:none}
.grid>.block[data-span="2"] .block-actions .dimensions,.grid>.block[data-span="3"] .block-actions .dimensions,.grid>.block[data-span="4"] .block-actions .dimensions{display:none}
body.edit .grid>.block.is-hidden{opacity:.35}
body.edit .grid>.block.is-hidden .block-hide{display:none}
body.edit .grid>.block>.resizer{display:block;position:absolute;bottom:0;right:0;width:22px;height:22px;cursor:nwse-resize;z-index:5;
  background:linear-gradient(135deg,transparent 45%,#20b7c5 47%,#20b7c5 52%,transparent 54%);touch-action:none}
body.edit .grid>.block[data-resize="width"]>.resizer{cursor:ew-resize}
.layout-tools{display:inline-flex;align-items:center;gap:6px}
.layout-tools[hidden]{display:none}
.layout-tools input{font:inherit;font-size:13px;padding:6px 8px;border-radius:7px;border:1px solid var(--control-border);background:var(--control);color:var(--text);width:150px}
.layout-status{font-size:12px;color:var(--positive)}
.layout-status.is-error{color:var(--negative)}
.hidden-tray{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 16px 0;padding:10px 12px;border:1px dashed var(--edit-border);border-radius:10px;background:var(--edit-bg);font-size:13px}
.hidden-tray[hidden]{display:none}
.hidden-tray .tray-label{color:var(--muted)}
.hidden-tray button{border:1px solid var(--edit-border);border-radius:6px;padding:4px 10px;background:var(--control);color:var(--text);cursor:pointer}

/* Click-to-filter. */
.filter-bar{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:10px;margin:10px 16px 0;padding:9px 14px;border-radius:10px;
  background:color-mix(in srgb,#20b7c5 14%,var(--card));border:1px solid color-mix(in srgb,#20b7c5 45%,var(--line));font-size:14px;color:var(--text)}
.filter-bar[hidden]{display:none}
.filter-bar button{border:1px solid var(--control-border);border-radius:7px;padding:4px 10px;background:var(--control);color:var(--text);cursor:pointer}
.filter-bar-hint{margin-left:auto;font-size:11px;color:var(--column-text)}
.filter-chip{margin-left:12px;vertical-align:middle;border:1px solid color-mix(in srgb,#20b7c5 55%,var(--line));border-radius:999px;padding:3px 10px;
  font-size:12px;font-weight:650;background:color-mix(in srgb,#20b7c5 14%,var(--card));color:var(--text);cursor:pointer}
.card-header h2{display:flex;align-items:center;flex-wrap:wrap}
.panel.is-filtered .card{border-color:color-mix(in srgb,#20b7c5 55%,var(--line))}
.heatmap-stage .heat-tile.is-dimmed{opacity:.35}
.heatmap-stage .heat-tile.is-selected{outline:3px solid var(--text);outline-offset:-3px}
.market-pulse .pulse-flow-row.is-selected .pulse-flow-link{text-decoration:underline;text-underline-offset:3px}

/* Highlights. */
.highlights-list{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:8px;align-content:start;padding:14px 0 6px}
.highlight{display:flex;gap:10px;align-items:flex-start;text-align:left;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:transparent;color:var(--text);font:inherit;min-width:0}
button.highlight{cursor:pointer}
button.highlight:hover{border-color:#20b7c5}
.highlight.is-active{border-color:#20b7c5;background:color-mix(in srgb,#20b7c5 10%,transparent)}
.highlight-icon{flex:none;width:24px;height:24px;border-radius:6px;display:grid;place-items:center;font-size:12px;color:#fff;background:#697584}
.highlight-unusual .highlight-icon{background:var(--bull,#592cf9)}
.highlight-unusual.is-high .highlight-icon{background:#e0a100}
.highlight-large .highlight-icon{background:#20b7c5}
.highlight-new .highlight-icon{background:#258da5}
.highlight-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.highlight-kind{font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--column-text);font-weight:700}
.highlight-title{font-size:14px;font-weight:650;line-height:1.25}
.highlight-detail{font-size:12px;color:var(--muted)}
.highlight-empty,.highlight-note{grid-column:1 / -1;font-size:12px;color:var(--column-text);padding:4px 2px}

/* Data health. */
.health-overall{margin-left:10px;font-size:12px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--control);color:var(--muted)}
.health-overall[data-status="ok"]{color:var(--positive)}
.health-overall[data-status="warn"]{color:#b07a00}
.health-overall[data-status="error"]{color:var(--negative)}
.health-list{flex:1;min-height:0;overflow:auto;padding-top:10px}
.health-row{display:grid;grid-template-columns:14px minmax(140px,.9fr) minmax(130px,.9fr) minmax(0,2fr);gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}
.health-dot{width:9px;height:9px;border-radius:50%;background:var(--positive)}
.health-row[data-status="warn"] .health-dot{background:#e0a100}
.health-row[data-status="error"] .health-dot{background:var(--negative)}
.health-label{font-weight:600}
.health-value{font-weight:600;font-variant-numeric:tabular-nums}
.health-detail{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.health-row{grid-template-columns:14px 1fr}.health-value,.health-detail{grid-column:2}}

/* ===================== v2.1.0: Highlights reuse dashboard visuals ===================== */
.highlight .highlight-issuer{margin-top:2px}
.highlight .issuer-badge-sm{width:28px;height:28px;border-radius:7px;font-size:9.5px}
.highlight-trade-head{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
.highlight-trade-head .highlight-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.highlight-trade-head .badge{margin-left:0}
.highlight-time{font-size:11px;color:var(--column-text);font-variant-numeric:tabular-nums}
.highlight-figures{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:4px}
.highlight-fig{display:inline-flex;align-items:baseline;gap:5px;font-variant-numeric:tabular-nums}
.highlight-fig-label{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--column-text);font-weight:650}
.highlight-fig strong{font-size:14px;font-weight:650;color:var(--text)}
/* Same NGM purple as the Live tape's leverage column and exposure KPI. */
.highlight-fig.is-leverage strong,.highlight-fig.is-exposure strong{color:#592cf9}
.highlight-fig.is-bull strong{color:var(--bull-ink)}
.highlight-fig.is-bear strong{color:var(--bear-ink)}
.highlight-surge .highlight-icon,.highlight-large_exposure .highlight-icon,.highlight-large_both .highlight-icon{background:#592cf9}
.highlight-one_sided .highlight-icon{background:#20b7c5}
.highlight-shift .highlight-icon{background:#258da5}
.highlight-exposure_concentration .highlight-icon{background:#697584}
.highlight.is-high .highlight-icon{background:#e0a100}

/* v2.2.1: content-height blocks (Highlights, Data health). The layout height is a maximum:
   the card shrinks to its content and scrolls only beyond the maximum. In Customize mode the
   block shows its full maximum so it can be resized. */
.grid>.block[data-fit="content"]{height:auto!important;max-height:var(--fit-max,none)}
.grid>.block[data-fit="content"]>.card{height:auto;max-height:var(--fit-max,none);padding-bottom:14px}
.grid>.block[data-fit="content"] .highlights-list,.grid>.block[data-fit="content"] .health-list{flex:0 1 auto}
/* 2.49.0: beside other cards, a fit-to-content card keeps its set height (workspace.js fitMode), as in Customize */
.grid>.block[data-fit="content"].fit-fixed{height:var(--fit-max,auto)!important;max-height:none}
.grid>.block[data-fit="content"].fit-fixed>.card{height:100%;max-height:none}
.grid>.block[data-fit="content"].fit-fixed .highlights-list,.grid>.block[data-fit="content"].fit-fixed .health-list{flex:1 1 auto}
body.edit .grid>.block[data-fit="content"]{height:var(--fit-max,auto)!important;max-height:none}
body.edit .grid>.block[data-fit="content"]>.card{height:calc(100% - 36px);max-height:none}
.highlights-list{padding:12px 0 2px}
.highlight{padding:9px 11px}
.highlight-figures{gap:2px 12px;margin-top:3px}

/* v2.3.0: compact Highlights. Three columns per card (badge | what | figures), figures right-aligned
   and stacked, so a card is three lines high and uses its full width. */
.highlights-list{grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:8px;align-items:stretch}
@media(max-width:860px){.highlights-list{grid-template-columns:1fr}}
.highlight{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:12px;align-items:center;padding:10px 14px}
.highlight-body{gap:2px;align-self:center}
.highlight-title{font-size:14px}
.highlight-trade-head{flex-wrap:nowrap}
.highlight-detail{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.highlight>.highlight-figures{display:flex;flex-direction:column;align-items:flex-end;gap:1px;margin:0;text-align:right;white-space:nowrap}
.highlight>.highlight-figures .highlight-fig{justify-content:flex-end}
.highlight>.highlight-figures .highlight-fig strong{font-size:13px}
.highlight>.highlight-figures .highlight-fig.is-exposure strong{font-size:15px}
.highlight .highlight-issuer,.highlight .highlight-icon{align-self:center;margin-top:0}

/* 2.7.0: market-closed note in the header. */
.top .market-state,.market-state{margin-left:12px;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;border:1px solid var(--line);color:var(--muted);background:var(--control);vertical-align:middle}
.market-state[hidden]{display:none}
/* 2.91.0: US / Swedish closures and early closes (today: amber; the next trading day: muted). `.top span` colours
   every header span purple, hence `.top` in these selectors. The market state's auto margin moves to the chips. */
.top .market-calendar{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}
.top .market-calendar[hidden]{display:none}
.top>.market-state:has(+.market-calendar:not([hidden])){margin-right:0}
.top>.market-calendar{margin-right:auto}
.top .market-calendar-chip{font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;border:1px solid var(--line);color:var(--muted);background:var(--control);white-space:nowrap}
.top .market-calendar-chip.is-today{color:#f4b740;border-color:rgba(244,183,64,.45);background:rgba(244,183,64,.08)}
:root[data-theme="light"] .top .market-calendar-chip.is-today{color:#9a6400;border-color:rgba(154,100,0,.35);background:rgba(244,183,64,.12)}
.top>.market-state{margin-right:auto}
/* 2.101.0: investment competition mode: the header says it is competition data (NGM competition purple) */
.top .competition-badge{margin-left:12px;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:#6432fa;color:#fff;white-space:nowrap;vertical-align:middle}
.top .competition-badge span{color:#fff}
.top .competition-note{font-weight:500;opacity:.85}
.top .competition-note::before{content:"·";margin-right:6px}
.top .competition-brand{display:inline-flex;align-items:center;gap:10px}
.top .competition-brand .brand-pulse{color:inherit}
.top .competition-logo{height:46px;width:auto;display:block;margin:-6px 0}
.top .competition-logo-light{display:none}
:root[data-theme="light"] .top .competition-brand:has(.competition-logo-light) .competition-logo{display:none}
:root[data-theme="light"] .top .competition-brand .competition-logo-light{display:block}
@media (prefers-color-scheme:light){:root:not([data-theme]) .top .competition-brand:has(.competition-logo-light) .competition-logo{display:none}:root:not([data-theme]) .top .competition-brand .competition-logo-light{display:block}}
body.phone .top .competition-note{display:none}

/* 2.8.0: filtered panels use the active-Highlights-card look (teal border plus a light teal tint). */
/* 2.8.1: same overlay for the filtered panels (Most traded, Winners, Live tape). */
.panel.is-filtered .card{position:relative}
.panel.is-filtered .card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;
  box-shadow:inset 0 0 0 2px #20b7c5;background:color-mix(in srgb,#20b7c5 6%,transparent)}

/* 2.9.0: app headlines use the widget title style (small, bold, uppercase, letter-spaced),
   so the figures, not the headlines, lead the page. Freshness line and filter chip sit on the
   same row. Applies to every app on desktop and the TV wall. */
.grid .card-header{align-items:center;min-height:24px}
.grid .card-header h2,body.tv .grid .card-header h2{font-size:clamp(12px,.82vw,15px);line-height:1.3;font-weight:750;letter-spacing:.11em;text-transform:uppercase;color:#607181}
:root[data-theme="dark"] .grid .card-header h2{color:#79e3e4}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .grid .card-header h2{color:#79e3e4}}
.grid .card-header h2 .filter-chip,.grid .card-header h2 .health-overall{text-transform:none;letter-spacing:0}
.grid .card-header .update{flex-direction:row;align-items:center}
.grid>.panel>.card{padding-top:20px}
body.edit .grid>.panel>.card{padding-top:20px}

/* 2.10.0: New listings highlights. */
.highlight-new_listing .highlight-icon{background:#592cf9}
.highlight-new_listing.is-high .highlight-icon{background:#592cf9}
.highlight-listings_today .highlight-icon{background:#258da5;font-size:15px;font-weight:700}

/* 2.11.0: Highlights categories. */
.highlight-chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;flex:none}
.highlight-chips[hidden]{display:none}
.highlight-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:4px 11px;
  background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.highlight-chip:hover{border-color:#20b7c5}
.highlight-chip.is-active{border-color:#20b7c5;color:var(--text);background:color-mix(in srgb,#20b7c5 14%,transparent)}
.highlight-chip-count{font-variant-numeric:tabular-nums;color:var(--column-text);font-weight:600}
.highlight-chip.is-active .highlight-chip-count{color:var(--text)}
.highlight-group-label{grid-column:1 / -1;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--column-text);margin:6px 0 -2px}
.highlight-group-label:first-child{margin-top:0}
.highlight-more{border:1px dashed var(--line);border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:650;cursor:pointer;min-height:44px}
.highlight-more:hover{border-color:#20b7c5;color:var(--text)}
.highlight-large_multi .highlight-icon{background:#592cf9}

/* 2.11.1: Highlights chips in the header row, right of the title. */
.card-header .highlight-chips{flex:1 1 auto;margin:0 16px;align-self:center;min-width:0}
.card-header .highlight-chip{padding:3px 10px;font-size:11.5px}

/* 2.13.0: full view. Every card opens a full version in an overlay (full.js). */
.full-open{margin-left:10px;border:1px solid transparent;background:transparent;color:var(--muted);border-radius:7px;
  width:26px;height:26px;padding:0;font-size:15px;line-height:1;cursor:pointer;opacity:.45;flex:0 0 auto;transition:opacity .15s,border-color .15s}
.block:hover .full-open,.full-open:focus-visible{opacity:1;border-color:var(--line)}
.full-open:hover{color:var(--heading);border-color:var(--heading)}
.full-open.is-floating{position:absolute;top:6px;right:6px;z-index:3;opacity:0}
.block:hover .full-open.is-floating,.full-open.is-floating:focus-visible{opacity:1;background:var(--card)}
.market-pulse{position:relative}
body:not(.edit):not(.tv) .grid:not(.full-sheet) .card-header h2,body:not(.edit):not(.tv) .grid:not(.full-sheet) .pulse-title{cursor:pointer}
body:not(.edit):not(.tv) .grid:not(.full-sheet) .card-header h2:hover,body:not(.edit):not(.tv) .grid:not(.full-sheet) .pulse-title:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
body.edit .full-open,body.tv .full-open,.is-full .full-open{display:none}
body.has-full-view{overflow:hidden}
.full-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:28px;
  background:rgba(4,6,10,.62);backdrop-filter:blur(3px)}
.full-sheet,.full-sheet.grid{position:relative;display:flex;gap:0;padding:0;align-items:stretch;justify-items:stretch;flex-direction:column;width:min(1560px,100%);height:min(1000px,100%);
  border-radius:18px;background:var(--card);box-shadow:0 30px 90px rgba(0,0,0,.55);overflow:hidden}
.full-close{position:absolute;top:12px;right:14px;z-index:6;width:32px;height:32px;border-radius:9px;border:1px solid var(--line);
  background:var(--control,transparent);color:var(--text);font-size:15px;cursor:pointer}
.full-close:hover{border-color:var(--heading);color:var(--heading)}
.full-sheet.grid>.block[data-block],.full-sheet.grid>.block[data-fit="content"]{flex:1 1 auto;min-height:0;width:100%;align-self:stretch;height:auto!important;max-height:none!important;grid-column:auto!important;order:0!important;margin:0;--fit-max:none}
.full-sheet.grid>.block>.block-editbar,.full-sheet>.block>.resizer{display:none!important}
.full-sheet.grid>.block>.card,.full-sheet.grid>.block[data-fit="content"]>.card{height:100%!important;max-height:none!important;border:0;border-radius:0}
.full-sheet .card-header{padding-right:56px}
body:not(.edit) .full-sheet .panel>.card>.filters{display:flex!important}
.full-sheet .highlights-list,.full-sheet .health-list{flex:1 1 auto!important;overflow:auto}
.full-sheet>.market-pulse{display:flex;align-items:center;justify-content:center;padding:40px}
.full-sheet.grid>.market-pulse>.pulse-tile{zoom:1.6;width:560px!important;max-width:calc((100vw - 140px) / 1.6)!important;height:auto!important;flex:0 0 auto;margin:auto}
.full-placeholder{border:1px dashed var(--line);border-radius:14px;opacity:.5}

/* Underlying flow, full version */
.full-flow{display:flex;flex-direction:column;gap:14px;height:100%;width:100%;border:0;border-radius:0;padding:20px 24px;overflow:hidden}
.full-flow .card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.full-flow .card-header h2{margin:0}
.full-sub{display:block;margin-top:4px;color:var(--muted);font-size:12.5px}
.full-controls{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center}
.full-seg{display:inline-flex;align-items:center;gap:4px}
.full-seg-label{color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin-right:4px}
.full-seg button{border:1px solid var(--line);background:transparent;color:var(--text);border-radius:999px;padding:4px 11px;font-size:12px;cursor:pointer}
.full-seg button.active{border-color:var(--heading);color:var(--heading);background:color-mix(in srgb,var(--heading) 12%,transparent)}
.full-flow-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.full-kpi{border:1px solid var(--line);border-radius:12px;padding:10px 14px;display:flex;flex-direction:column;gap:2px}
.full-kpi.bear{border-left:4px solid var(--bear)}.full-kpi.bull{border-left:4px solid var(--bull)}
.full-kpi-label{color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.full-kpi-value{font-size:22px;font-variant-numeric:tabular-nums}
.full-kpi.bear .full-kpi-value{color:var(--bear-ink)}.full-kpi.bull .full-kpi-value{color:var(--bull-ink)}
.full-kpi-detail{color:var(--muted);font-size:12px}
.full-flow-table{flex:1 1 auto;min-height:0;overflow:auto;border-top:1px solid var(--line)}
.full-flow-row{display:grid;grid-template-columns:minmax(150px,1.3fr) minmax(0,2fr) minmax(0,2fr) 80px 64px 64px;gap:14px;align-items:center;
  padding:8px 6px;border-bottom:1px solid color-mix(in srgb,var(--line) 55%,transparent);font-variant-numeric:tabular-nums}
.full-flow-row.is-net{grid-template-columns:minmax(150px,1.3fr) minmax(0,3fr) 80px 80px 64px 64px}
.full-flow-row.is-head{position:sticky;top:0;z-index:1;background:var(--card);color:var(--muted);font-size:11px;letter-spacing:.06em;text-transform:uppercase;padding:9px 6px}
.full-flow-row.is-selected{background:color-mix(in srgb,var(--heading) 10%,transparent);box-shadow:inset 3px 0 0 #20b7c5}
.full-flow-row .r{text-align:right}.full-flow-row .c{text-align:center}
.full-flow-row .bull{color:var(--bull-ink)}.full-flow-row .bear{color:var(--bear-ink)}
.full-flow-row .muted,.full-flow-side .muted{color:var(--muted)}
.full-flow-namecell{display:flex;flex-direction:column;min-width:0}
.full-flow-name{all:unset;cursor:pointer;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.full-flow-name:hover{color:var(--heading)}
.full-flow-class{color:var(--muted);font-size:11px}
.full-flow-side{display:grid;grid-template-columns:1fr;gap:3px;min-width:0}
.full-flow-side .bar{height:10px;border-radius:5px;background:color-mix(in srgb,var(--line) 45%,transparent);display:flex;overflow:hidden}
.full-flow-side.bear .bar{justify-content:flex-end}
.full-flow-side.bear .fill{background:var(--bear)}.full-flow-side.bull .fill{background:var(--bull)}
.full-flow-side .fill{height:100%;border-radius:5px}
.full-flow-side .val{font-size:13px}.full-flow-side.bear .val,.full-flow-side.bear .detail{text-align:right}
.full-flow-side .detail{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.full-flow-net{position:relative;height:12px;border-radius:6px;background:color-mix(in srgb,var(--line) 45%,transparent)}
.full-flow-net::after{content:"";position:absolute;left:50%;top:-3px;bottom:-3px;width:1px;background:var(--muted);opacity:.5}
.full-flow-net .fill{position:absolute;top:0;bottom:0;border-radius:6px}
.full-flow-net .fill.bull{background:var(--bull)}.full-flow-net .fill.bear{background:var(--bear)}
.full-flow-more{margin:12px auto;display:block;border:1px dashed var(--line);background:transparent;color:var(--text);border-radius:10px;padding:8px 16px;cursor:pointer}
@media (max-width:850px){.full-overlay{padding:0}.full-sheet{border-radius:0;height:100%}
  .full-flow-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .full-flow-row{grid-template-columns:minmax(110px,1fr) minmax(0,1.4fr) minmax(0,1.4fr) 64px;gap:8px}
  .full-flow-row>:nth-child(5),.full-flow-row>:nth-child(6){display:none}}

/* 2.14.0: Nordic share countries are clickable (country filter). */
.market-pulse .pulse-nordic-item{cursor:pointer;border-radius:6px;transition:background .15s,opacity .15s}
.market-pulse .pulse-nordic-item:hover,.market-pulse .pulse-nordic-item:focus-visible{background:color-mix(in srgb,var(--heading) 10%,transparent);outline:none}
.market-pulse .pulse-nordic-item.is-selected{background:color-mix(in srgb,#20b7c5 16%,transparent);box-shadow:inset 3px 0 0 #20b7c5}
.market-pulse .pulse-nordic-item.is-dimmed{opacity:.45}
.market-pulse .pulse-nordic-dot.is-dimmed{opacity:.22}
.filter-chip.is-country::before{content:"⚑ ";opacity:.7}

/* 2.14.0: Trading today and Nordic share full versions */
.full-trading,.full-nordic{overflow:auto}
.full-diff{font-size:12px;font-weight:600}
.full-diff.is-up{color:var(--bull-ink)}.full-diff.is-down{color:var(--bear-ink)}.full-diff.is-none{color:var(--muted);font-weight:400}
.full-chart-box{border:1px solid var(--line);border-radius:12px;padding:12px 16px 8px}
.full-chart-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.full-chart-legend{display:flex;gap:16px;font-size:12px;color:var(--muted)}
.full-chart-legend .lg::before{content:"";display:inline-block;width:18px;height:0;border-top:3px solid var(--bull);vertical-align:middle;margin-right:6px}
.full-chart-legend .lg.normal::before{border-top:2px dashed var(--muted)}
.full-chart{width:100%;height:230px;display:block}
.full-chart .grid{stroke:var(--line);stroke-width:1;opacity:.6}
.full-chart .axis{fill:var(--muted);font-size:12px}
.full-chart .today{fill:none;stroke:var(--bull);stroke-width:3;stroke-linejoin:round}
.full-chart .normal{fill:none;stroke:var(--muted);stroke-width:2;stroke-dasharray:6 5;opacity:.85}
.full-chart .today-dot{fill:var(--bull)}
.full-chart-note{color:var(--muted);font-size:11.5px;margin-top:2px}
.full-trading-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:14px;align-items:start}
.full-splits{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.full-split{border:1px solid var(--line);border-radius:12px;padding:10px 14px}
.full-split h3{margin:0 0 6px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700}
.full-split-row{display:grid;grid-template-columns:minmax(120px,1.5fr) repeat(4,minmax(0,1fr));gap:10px;align-items:center;padding:5px 0;
  border-bottom:1px solid color-mix(in srgb,var(--line) 50%,transparent);font-variant-numeric:tabular-nums;font-size:13px}
.full-hours .full-split-row{grid-template-columns:minmax(90px,1.3fr) repeat(5,minmax(0,1fr))}
.full-split-row:last-child{border-bottom:0}
.full-split-row.is-head{color:var(--muted);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase}
.full-split-row .r{text-align:right}.full-split-row .muted{color:var(--muted)}.full-split-row .lev{color:var(--bull-ink)}
.full-split-name{display:flex;flex-direction:column;gap:3px;min-width:0}
.full-split-bar{height:4px;border-radius:2px;background:color-mix(in srgb,var(--line) 45%,transparent);overflow:hidden}
.full-split-bar .fill{display:block;height:100%;background:var(--heading);border-radius:2px}
.full-nordic-share{display:flex;gap:3px;height:38px;border-radius:10px;overflow:hidden}
.full-nordic-seg{border:0;min-width:0;cursor:pointer;color:#0b1a22;font-weight:700;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 10px;text-align:left}
.full-nordic-seg.is-dimmed{opacity:.35}.full-nordic-seg.is-selected{box-shadow:inset 0 0 0 3px #20b7c5}
/* 2.63.0: country colours from the New listings palette (Joel): teal and purple mean bearish / bullish, pink is close
   to the red for falling prices. From the NGM palette, leaving out purple and turquoise (bullish / bearish) and yellow
   (leverage): Sweden blue, Finland salmon, Norway light grey, Denmark dark grey; deeper versions in light mode. */
:root{--nd-se:#7aa2ff;--nd-fi:#ff9e8a;--nd-no:#c9d1db;--nd-dk:#5b6573}
:root[data-theme="light"]{--nd-se:#3f6fe0;--nd-fi:#e2735b;--nd-no:#a3adba;--nd-dk:#4b5563}
.c-se{background:var(--nd-se)}.c-fi{background:var(--nd-fi)}.c-no{background:var(--nd-no)}.c-dk{background:var(--nd-dk)}
.full-nordic-table{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.full-nordic-row{display:grid;grid-template-columns:minmax(150px,1.2fr) 80px 64px 120px 110px 120px 100px 72px minmax(0,1.3fr) minmax(0,1.6fr);gap:12px;
  align-items:center;padding:12px 8px;border-bottom:1px solid color-mix(in srgb,var(--line) 55%,transparent);font-variant-numeric:tabular-nums;cursor:pointer}
.full-nordic-row:hover{background:color-mix(in srgb,var(--heading) 7%,transparent)}
.full-nordic-row.is-head{cursor:default;background:none;color:var(--muted);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;padding:9px 8px}
.full-nordic-row.is-selected{background:color-mix(in srgb,#20b7c5 14%,transparent);box-shadow:inset 3px 0 0 #20b7c5}
.full-nordic-row.is-dimmed{opacity:.5}
.full-nordic-row .r{text-align:right}.full-nordic-row .strong{font-weight:700}.full-nordic-row .lev{color:var(--bull-ink)}.full-nordic-row .full-diff{text-align:right}
.full-nordic-name{display:flex;align-items:center;gap:8px;min-width:0}.full-nordic-name .muted{color:var(--muted);font-size:12px}
.full-nordic-name .swatch{width:4px;height:22px;border-radius:2px}
.full-nordic-name .pulse-flag-image{width:22px;height:15px;object-fit:cover;border-radius:2px}
.full-nordic-issuers,.full-nordic-unds{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.full-nordic-unds{color:var(--text)}
@media (max-width:1100px){.full-trading-lower{grid-template-columns:minmax(0,1fr)}
  .full-nordic-row{grid-template-columns:minmax(120px,1fr) 70px 56px 100px 96px;}.full-nordic-row>:nth-child(n+6){display:none}}

/* 2.16.0: list polish (Most traded, Winners, Live tape). */
/* Sort headers: only the active column is coloured and has the arrow. */
.columns button{cursor:pointer;letter-spacing:inherit}
.columns button:not(.active){color:var(--column-text)}
.columns button.active::after{content:" ↓"}
.columns button:not(.active):hover{color:var(--text)}
.columns button:not(.active):hover::after{content:" ↓";opacity:.45}
/* Header: title left, time and ⤢ on the right (like Highlights). */
.panel .card-header>.update{margin-left:auto}
/* Desktop density: 60 px rows (10-12 per half-height card); the TV keeps its large rows. */
body:not(.tv) :is([data-key="most_traded"],[data-key="winners"],[data-key="trade_tape"],[data-key="asset_classes"]){--row:60px;--ndx-font-metric:18px;--ndx-font-instrument:15px}
body:not(.tv) :is([data-key="most_traded"],[data-key="winners"],[data-key="trade_tape"]) .row{padding-top:0;padding-bottom:0}
/* Calmer badges: outlined LONG / SHORT so the numbers carry the colour. */
.badge{background:transparent!important;border-color:color-mix(in srgb,currentColor 45%,transparent)!important;font-weight:600;letter-spacing:.03em}

/* 2.17.0: leverage in NGM yellow (deeper gold in light mode); NGM purple is reserved for bullish.
   Exposure is plain text. Very high leverage (>100x) is salmon. */
:root{--lev:#9a7400;--lev-outlier:#c4473f}
:root[data-theme="dark"]{--lev:#ffd84a;--lev-outlier:#e88880}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--lev:#ffd84a;--lev-outlier:#e88880}}
[data-key="trade_tape"] .metric.leverage,.market-pulse #pulse-leverage,.highlight-fig.is-leverage strong,
.full-split-row .lev,.full-nordic-row .lev{color:var(--lev)!important}
[data-key="trade_tape"] .metric.leverage.outlier,:root[data-theme="dark"] [data-key="trade_tape"] .metric.leverage.outlier{color:var(--lev-outlier)!important}
.highlight-fig.is-exposure strong{color:var(--text)!important}
.full-trading .full-flow-summary>.full-kpi:nth-child(4) .full-kpi-value{color:var(--lev)}
.highlight-chip[hidden]{display:none!important}

/* 2.21.0: Highlights on the TV: all cards, larger, in pages. */
body.tv .highlights-list{grid-template-columns:repeat(auto-fill,minmax(min(440px,100%),1fr))!important;align-content:start}
/* 2.22.0: narrow Highlights columns on the TV: chips wrap in the header, cards keep inside the column */
body.tv [data-key="highlights"] .card-header{flex-wrap:wrap;row-gap:6px}
body.tv [data-key="highlights"] .card-header .highlight-chips{flex-wrap:wrap}
body.tv .highlights-list>.highlight{min-width:0;overflow:hidden}
body.tv .highlights-list>.highlight{zoom:1.22}
body.tv .highlights-list>.highlight[hidden]{display:none!important}
.highlight-pager{margin-left:10px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;align-self:center}
body.tv .highlights-list{grid-auto-rows:max-content!important}

/* 2.26.0: client side badge on the Live leverage tape. Outlined like LONG / SHORT; NGM colours:
   client buys = purple, client sells = turquoise, two clients (CROSS) = neutral. */
/* 2.49.0: LONG / SHORT pills are purple / teal (the product's direction, as in the rest of the dashboard); the
   client's side is a triangle: green ▲ buys, red ▼ sells, grey ◆ between two clients (shared.js sideMark). */
:root{--side-buy:#2f9a6c;--side-sell:#d2445c;--side-cross:#8a96a3}
:root[data-theme="dark"]{--side-buy:#45c08a;--side-sell:#ef5f75}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--side-buy:#45c08a;--side-sell:#ef5f75}}
.side-mark{flex:none;display:inline-block;width:0;height:0;margin-left:.45em;border-left:.58em solid transparent;border-right:.58em solid transparent;cursor:help;align-self:center}
.side-mark.buy{border-bottom:1em solid var(--side-buy)}
.side-mark.sell{border-top:1em solid var(--side-sell)}
.side-mark.cross{width:.72em;height:.72em;border:0;background:var(--side-cross);transform:rotate(45deg);margin:0 .2em 0 .6em}
.badge.client-side{color:var(--bull-ink)}
.badge.client-side.sell{color:var(--bear-ink)}
.badge.client-side.cross{color:var(--muted)}
.badge.client-side[title]{cursor:help}

/* 2.28.2: clicking the underlying in Most traded, Winners and Live tape filters the dashboard */
body:not(.tv) .identity .filter-target{cursor:pointer}
body:not(.tv) .identity .filter-target:hover{text-decoration:underline;text-underline-offset:3px}

/* 2.29.0: Asset classes card (asset_classes.js). Rows share the list typography tokens. */
.ac-panel{--ac-cols:minmax(0,1.5fr) minmax(70px,.6fr) minmax(86px,.75fr) minmax(86px,.75fr) minmax(110px,1fr)}
.ac-panel .ac-columns{grid-template-columns:var(--ac-cols);margin-top:14px}
.ac-rows{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.ac-row{display:grid;grid-template-columns:var(--ac-cols);gap:10px;align-items:center;flex:1 1 0;min-height:54px;max-height:96px;padding:6px 8px;margin:0 -8px;
  border-bottom:1px solid var(--line);border-radius:10px;cursor:pointer;transition:background .15s ease,opacity .15s ease}
.ac-row:hover{background:color-mix(in srgb,var(--text) 5%,transparent)}
.ac-row:focus-visible{outline:2px solid #592cf9;outline-offset:-2px}
.ac-row.is-selected{box-shadow:inset 0 0 0 1px #20b7c5;background:color-mix(in srgb,#20b7c5 12%,transparent)}
.ac-row.is-dimmed{opacity:.55}
.ac-namecell{display:flex;flex-direction:column;gap:7px;min-width:0}
.ac-name{display:flex;align-items:center;gap:10px;min-width:0}
.ac-icon{width:22px;height:22px;flex:none;background:var(--ndx-heat-icon-color,#592cf9);-webkit-mask:var(--ac-icon) center/contain no-repeat;mask:var(--ac-icon) center/contain no-repeat}
.ac-label{display:flex;align-items:baseline;gap:8px;min-width:0;white-space:nowrap;overflow:hidden}
.ac-label strong{font-size:var(--ndx-font-instrument);font-weight:650}  /* 2.29.1: as .primary in the lists */
.ac-sub{font-size:var(--ndx-font-detail);color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.ac-share{height:5px;border-radius:3px;background:color-mix(in srgb,var(--text) 10%,transparent);overflow:hidden}
.ac-share-fill{display:block;height:100%;border-radius:3px;background:var(--accent,#79e3e4)}
.ac-num{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ac-num strong{font-size:var(--ndx-font-metric);font-weight:500;letter-spacing:-.4px}  /* 2.29.1: as .metric in the lists */
.ac-pct,.ac-diff{font-size:var(--ndx-font-detail);color:var(--muted)}
.ac-diff.is-up{color:var(--bull-ink)}.ac-diff.is-down{color:var(--bear-ink)}
.ac-lev{font-size:var(--ndx-font-detail);color:var(--lev);font-weight:650}
.ac-lean{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0}
.ac-lean-bar{display:flex;height:8px;border-radius:4px;overflow:hidden;background:color-mix(in srgb,var(--text) 10%,transparent)}
.ac-lean-bar .bear{background:var(--bear)}.ac-lean-bar .bull{background:var(--bull)}
.ac-lean-text{font-size:var(--ndx-font-detail);color:var(--muted);text-align:right;white-space:nowrap}
.ac-lean-text.is-bull{color:var(--bull-ink);font-weight:650}.ac-lean-text.is-bear{color:var(--bear-ink);font-weight:650}
.ac-top{display:none}
/* 2.60.0: the retail lean bar is shorter, with its text centred under it and space before it (Joel) */
.ac-lean{align-items:center;padding-left:clamp(10px,2vw,28px)}
.ac-lean-bar{width:min(100%,140px)}
.ac-lean-text{text-align:center}
.ac-panel .ac-columns>:last-child{text-align:center;padding-left:clamp(10px,2vw,28px)}
/* 2.61.0: header with two controls: Day summary (highlighted) and a Settings menu (⚙) holding appearance, layout,
   Customize dashboard and full screen (Joel: the row of selectors and buttons took too much room).
   Customize's own button only shows while customizing, as "Done". */
.top #day-summary{background:color-mix(in srgb,var(--accent) 16%,transparent);border-color:color-mix(in srgb,var(--accent) 60%,transparent);color:var(--accent);font-weight:650}
.top #day-summary:hover{background:color-mix(in srgb,var(--accent) 26%,transparent)}
body:not(.edit) .top #edit{display:none}
.settings{position:relative;display:inline-flex}
.top .settings-button{display:inline-grid;place-items:center;width:38px;height:36px;padding:0}
.top .settings-button[aria-expanded="true"]{border-color:var(--accent);color:var(--accent)}
.settings-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:1200;min-width:250px;display:flex;flex-direction:column;gap:8px;padding:12px;
  background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 48px rgba(0,0,0,.45)}
.settings-menu[hidden]{display:none}
.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted)}
.settings-row select{min-width:130px}
.top .settings-row>span{color:var(--muted)}  /* .top span is purple (legacy) */
.top .settings-item{width:100%;text-align:left;font-size:14px}
.top .settings-row select{font-size:14px}
.settings-menu .app-version{padding-top:4px;border-top:1px solid var(--line);text-align:right}
body.tv .settings-menu [data-proxy="edit"]{display:none}
/* 2.77.0: Data health in the Settings menu (opens the live card as its full view; not on the dashboard any more) */
.top .settings-health{display:flex;align-items:center;gap:8px}
.top .settings-health .settings-health-name{color:var(--text)}  /* .top span is purple (legacy) */
.settings-health-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--muted)}
.settings-health[data-status="ok"] .settings-health-dot{background:var(--positive)}
.settings-health[data-status="warn"] .settings-health-dot{background:var(--muted)}  /* 2.99.0: only red is marked */
.settings-health[data-status="error"] .settings-health-dot{background:var(--negative)}
.top .settings-health .settings-health-state{margin-left:auto;font-size:12px;color:var(--muted)}
.top .settings-health[data-status="warn"] .settings-health-state{color:var(--muted)}
.top .settings-health[data-status="error"] .settings-health-state{color:var(--negative)}
body.tv .settings-menu .settings-health{display:none}  /* no full views on the TV */
.top .settings-button{position:relative}
.top .settings-button[data-health]::after{content:'';position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:#e0a100;box-shadow:0 0 0 2px var(--card)}
.top .settings-button[data-health="error"]::after{background:var(--negative)}
/* 2.62.0: a small second line under a list figure (Today's winners: "2 trades · 36 KSEK") */
.metric.has-sub{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;line-height:1.1}
.metric-sub{font-size:var(--ndx-font-detail);font-weight:500;color:var(--muted);letter-spacing:0}
/* 2.69.0: a sub-line wider than its column (Most traded's "in … · out …" on a narrow card) is cut with "…" inside the
   column; it ran left over the LONG / SHORT badge */
.metric.has-sub{overflow:hidden}
.metric.has-sub>.metric-main,.metric.has-sub>.metric-sub{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 2.64.0: Most traded: retail sentiment per product (line + day share) */
.senti-cell{display:flex;align-items:center;justify-content:flex-end;gap:6px;container-type:inline-size;min-width:0}
.senti-line{flex:1 1 auto;min-width:0;max-width:none;height:24px;overflow:visible}
.senti-line .senti-mid{stroke:var(--line);stroke-width:1;stroke-dasharray:2 3;vector-effect:non-scaling-stroke}
.senti-line path{fill:none;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.senti-line .senti-bull{stroke:var(--bull-ink,#a58bff)}.senti-line .senti-bear{stroke:var(--bear-ink,#79e3e4)}
.senti-text{font-size:var(--ndx-font-detail);font-weight:600;color:var(--muted);white-space:nowrap;letter-spacing:0}
.senti-text.is-bull{color:var(--bull-ink,#a58bff)}.senti-text.is-bear{color:var(--bear-ink,#79e3e4)}
/* 2.64.0: the card shows only the line; the full view (plenty of room) widens the column and adds the day's share */
.senti-cell .senti-text:not(.is-none){display:none}
[data-key="most_traded"].is-full .senti-cell .senti-text{display:inline;min-width:98px;text-align:left}
[data-key="most_traded"].is-full .senti-line{max-width:none;height:38px}
[data-key="most_traded"].is-full :is(.row,.columns){grid-template-columns:minmax(0,1fr) minmax(330px,1fr) 110px 150px!important}
.ac-note{flex:none;font-size:11px;color:var(--note-text);padding-top:8px;display:none}
/* full view: room for the top underlyings and the note */
.is-full .ac-row{flex:none;max-height:none;padding:10px 8px;grid-template-rows:auto auto}
.is-full .ac-top{display:flex;flex-wrap:wrap;gap:4px 14px;grid-column:1 / -1;font-size:var(--ndx-font-detail);color:var(--muted);padding-left:32px}
.is-full .ac-top-label{color:var(--column-text);letter-spacing:.04em;text-transform:uppercase;font-size:11px;align-self:center}
.is-full .ac-top-item strong{color:var(--text);font-weight:600}
.is-full .ac-note{display:block}
body.tv .ac-row{cursor:default}

/* 2.29.0: New listings full view (listings_view.js) */
.full-listings .nl-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 10px}
.nl-search{flex:1 1 240px;min-width:200px;font:inherit;font-size:13px;color:var(--text);background:var(--control);border:1px solid var(--control-border);border-radius:9px;padding:8px 10px}
.nl-select{font:inherit;font-size:13px;color:var(--text);background:var(--control);border:1px solid var(--control-border);border-radius:9px;padding:7px 8px;max-width:210px}
.nl-excel{font:inherit;font-size:13px;font-weight:650;color:var(--text);background:var(--selected);border:1px solid var(--control-border);border-radius:9px;padding:7px 12px;margin-left:auto}
.nl-table{flex:1 1 auto;min-height:0;overflow:auto}
.nl-row{display:grid;grid-template-columns:minmax(170px,1.5fr) minmax(150px,1.3fr) minmax(110px,.9fr) 56px 80px 70px 90px 80px;gap:10px;align-items:center;
  padding:7px 4px;border-bottom:1px solid var(--line);font-size:13px;font-variant-numeric:tabular-nums}
.nl-row.is-head{position:sticky;top:0;z-index:1;background:var(--card);font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--column-text)}
.nl-h{background:none;border:0;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;text-transform:inherit;letter-spacing:inherit}
span.nl-h{cursor:default}.nl-h.r{text-align:right}.nl-h.active{color:var(--accent)}
.nl-count{font-size:12px;color:var(--muted);padding:6px 4px}
.nl-row .r{text-align:right}.nl-row .strong{font-weight:700}.nl-row .muted{color:var(--muted)}
.nl-row.is-quiet{color:var(--muted)}
.nl-ins{display:flex;align-items:center;gap:6px;min-width:0}
.nl-sym{color:inherit;text-decoration:none;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nl-row.is-quiet .nl-sym{font-weight:500}
.nl-sym:hover,.nl-und:hover{text-decoration:underline;text-underline-offset:3px}
.nl-undcell{display:flex;align-items:baseline;gap:6px;min-width:0}
.nl-und{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.nl-star{color:#e0a100;font-size:12px}
.nl-class{font-size:11px;color:var(--muted);white-space:nowrap}
.nl-market{display:flex;align-items:center;gap:6px}.nl-market img{width:18px;height:13px;border-radius:2px;object-fit:cover}
.nl-type{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.full-listings .full-flow-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
.highlight-listings_today,.highlight-new_listing{cursor:pointer}

/* 2.31.0: header "NDX MARKET PULSE": NDX in turquoise (light turquoise in dark mode, the darker
   turquoise in light mode for contrast), MARKET PULSE in the normal text colour. */
.top strong .brand-ndx{color:var(--accent)}

/* 2.32.0: Trade stream card (flow_charts.js; 2.34.0: Client flow removed). Purple = client buys / bullish,
   turquoise = client sells / bearish; a pair checked for colour-blind separation and contrast
   (light #5427e6 / #0f9aa0 on white, dark #8f6bff / #24a2a8 on the dark card). */
:root{--flow-up:#5427e6;--flow-down:#0f9aa0;--flow-none:#9aa5b1;--flow-grid:#edf0f4;--flow-ring:#fff}
:root[data-theme="dark"]{--flow-up:#8f6bff;--flow-down:#24a2a8;--flow-none:#6b7682;--flow-grid:#262f39;--flow-ring:#1a2027}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--flow-up:#8f6bff;--flow-down:#24a2a8;--flow-none:#6b7682;--flow-grid:#262f39;--flow-ring:#1a2027}}
.flow-panel .card{display:flex;flex-direction:column}
.flow-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;margin:10px 0 4px}
.flow-seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.flow-seg button{background:none;border:0;color:var(--muted);font:inherit;font-size:12px;padding:4px 10px;cursor:pointer}
.flow-seg button.on{background:var(--selected);color:var(--selected-text);font-weight:650}
/* 2.34.0: second row with the time window and size filter; 'All sizes' is disabled for Today */
.flow-bar.flow-opts{justify-content:flex-start;margin-top:0}
.flow-seg button:disabled{opacity:.45;cursor:not-allowed}
.flow-seg button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.flow-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--muted)}
.flow-key{display:inline-flex;align-items:center;gap:6px}
.flow-swatch{display:inline-block;width:9px;height:9px;border-radius:50%}
.flow-swatch.is-up{background:var(--flow-up)}.flow-swatch.is-down{background:var(--flow-down)}.flow-swatch.is-none{background:var(--flow-none)}
.flow-chart{flex:1 1 auto;min-height:120px;position:relative;overflow:hidden}
.flow-svg{display:block;overflow:visible}
.flow-axis text{fill:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.flow-grid{stroke:var(--flow-grid);stroke-width:1}
.flow-base{stroke:var(--line);stroke-width:1}
.flow-axis-label{fill:var(--muted);font-size:11px;font-weight:600}
.flow-dot{stroke:var(--flow-ring);stroke-width:1;fill-opacity:.78;cursor:pointer;transition:opacity .15s ease}
.flow-dot:hover{fill-opacity:1;stroke-width:2}
.flow-dot.is-up{fill:var(--flow-up)}
.flow-dot.is-down{fill:var(--flow-down)}
.flow-dot.is-none{fill:var(--flow-none)}
/* 2.85.0: Trade stream zoom (full view, Time axis) */
.flow-panel.is-full .flow-chart{touch-action:pan-y}
.flow-panel.is-full .flow-svg{cursor:crosshair}
.flow-panel.is-full .flow-dot{cursor:pointer}
.flow-brush{fill:var(--accent);fill-opacity:.12;stroke:var(--accent);stroke-opacity:.65;stroke-width:1;pointer-events:none}
.flow-zoom{position:absolute;top:0;right:10px;z-index:4;display:flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--line);border-radius:8px;background:var(--card);font-size:12px;color:var(--muted)}
.flow-zoom button{background:none;border:0;color:var(--muted);font:inherit;min-width:24px;height:22px;padding:0 7px;border-radius:6px;cursor:pointer}
.flow-zoom button:hover:not(:disabled){background:var(--selected);color:var(--selected-text)}
.flow-zoom button:disabled{opacity:.4;cursor:default}
.flow-zoom button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.flow-zoom button.is-reset{color:var(--accent);font-weight:650}
.flow-zoom-range{padding:0 6px;color:var(--text);font-variant-numeric:tabular-nums}
.flow-panel.is-full .flow-detail{top:34px;max-height:calc(100% - 42px)}  /* below the zoom controls */
.flow-note{font-size:11.5px;color:var(--muted);margin-top:6px;line-height:1.35}
.flow-tip{position:fixed;z-index:1100;pointer-events:none;max-width:380px;background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:12px;box-shadow:0 10px 28px rgba(0,0,0,.28)}
.flow-tip b{font-size:13px}
.flow-tip-sub{color:var(--muted);margin:2px 0 6px}
.flow-tip-row{display:flex;justify-content:space-between;gap:14px;color:var(--muted)}
.flow-tip-row span:last-child{color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}

/* 2.33.0: issuer badges are filter buttons (click to show only that issuer; again to remove it). */
.issuer-badge[data-issuer]{cursor:pointer;transition:box-shadow .15s}
/* 2.73.1: the ring is drawn inside the badge; outside it was cut off at the left edge of every list (overflow hidden) */
.issuer-badge[data-issuer]:hover,.issuer-badge[data-issuer]:focus-visible{box-shadow:inset 0 0 0 2px #20b7c5;outline:none}
body[data-issuer="ms"] .issuer-badge[data-issuer="ms"],body[data-issuer="sg"] .issuer-badge[data-issuer="sg"],
body[data-issuer="von"] .issuer-badge[data-issuer="von"],body[data-issuer="bnp"] .issuer-badge[data-issuer="bnp"]{box-shadow:inset 0 0 0 2px #20b7c5}
body.edit .issuer-badge[data-issuer],body.tv .issuer-badge[data-issuer]{cursor:default;box-shadow:none}
.filter-chip.is-issuer{font-weight:650}
/* 2.36.0: desktop dark mode: a tighter Top 10 ticker between its two turquoise lines (was 20 px + 62 px + 20 px).
   Light mode (the white band, 2.35.0) and the TV are unchanged. */
:root[data-theme="dark"] body:not(.tv) .grid>.ticker-unit .pulse-divider{margin:0 0 6px}
:root[data-theme="dark"] body:not(.tv) .grid>.ticker-unit .pulse-divider:last-child,
:root[data-theme="dark"] body:not(.tv) .grid>.ticker-unit .pulse-ticker+.pulse-divider{margin:6px 0 0}
:root[data-theme="dark"] body:not(.tv) .grid>.ticker-unit .pulse-ticker{min-height:56px}
@media(prefers-color-scheme:dark){
:root:not([data-theme]) body:not(.tv) .grid>.ticker-unit .pulse-divider{margin:0 0 6px}
:root:not([data-theme]) body:not(.tv) .grid>.ticker-unit .pulse-divider:last-child,
:root:not([data-theme]) body:not(.tv) .grid>.ticker-unit .pulse-ticker+.pulse-divider{margin:6px 0 0}
:root:not([data-theme]) body:not(.tv) .grid>.ticker-unit .pulse-ticker{min-height:56px}
}
/* 2.37.0: retail sentiment through the day, as a line in the header (sentiment_line.js); 2.38.0: rolling 60 min,
   hour labels under it instead of the value and label. Desktop only;
   hidden on the TV and on narrow windows. Purple = bullish, turquoise = bearish (the gauge's colours). */
.sentiment-line{--sl-up:#9a7dff;--sl-down:#79e3e4;--sl-zero:#4a525e;position:relative;flex:1 1 0;min-width:0;max-width:1100px;
  margin:0 28px 0 22px;display:flex;align-items:center;gap:14px;cursor:pointer;border-radius:8px;outline:none}
.sentiment-line[hidden]{display:none}
.sentiment-line:focus-visible{box-shadow:0 0 0 2px var(--accent)}
.sentiment-line-chart{flex:1 1 0;min-width:0;height:52px}  /* 2.66.0: 36 -> 52 px */
.sentiment-line .sl-hour{fill:var(--column-text);font-size:9px;font-weight:600;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.sentiment-line-chart svg{display:block;overflow:visible}
.sentiment-line .sl-zero{stroke:var(--sl-zero);stroke-width:1;stroke-dasharray:2 3}
.sentiment-line .sl-tick{stroke:var(--sl-zero);stroke-width:1}
.sentiment-line .sl-line{fill:none;stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round}
.sentiment-line .sl-up .sl-line{stroke:var(--sl-up)}.sentiment-line .sl-down .sl-line{stroke:var(--sl-down)}
/* 2.66.0: the fills are gradients (sentiment_line.js); BULL / BEAR; glowing now-dot */
.sentiment-line .sl-axis{font-size:10px;font-weight:800;letter-spacing:.08em}
.sentiment-line .sl-axis.is-up{fill:var(--sl-up)}.sentiment-line .sl-axis.is-down{fill:var(--sl-down)}
.sentiment-line .sl-halo{fill-opacity:.2}.sentiment-line .sl-halo.is-up{fill:var(--sl-up)}.sentiment-line .sl-halo.is-down{fill:var(--sl-down)}

.sentiment-line .sl-faint{opacity:.35}
.sentiment-line .sl-now.is-up{fill:var(--sl-up)}.sentiment-line .sl-now.is-down{fill:var(--sl-down)}
.sentiment-line .sl-cursor{stroke:var(--muted);stroke-width:1;opacity:.6}
.sentiment-line-tip{position:absolute;top:100%;margin-top:4px;padding:3px 8px;border-radius:6px;background:var(--control);border:1px solid var(--control-border);
  color:var(--text);font-size:11px;font-weight:600;white-space:nowrap;pointer-events:none;z-index:60;font-variant-numeric:tabular-nums}
:root[data-theme="light"] .sentiment-line{--sl-up:#5427e6;--sl-down:#0f9aa0;--sl-zero:#c4cbd5}
@media(prefers-color-scheme:light){:root:not([data-theme]) .sentiment-line{--sl-up:#5427e6;--sl-down:#0f9aa0;--sl-zero:#c4cbd5}}
@media(max-width:1100px){.sentiment-line{display:none!important}}
body.tv .sentiment-line{display:none!important}
/* 2.39.0: Trade stream. Compact on the dashboard (last 30 min, no window/size controls); the full view is the tool.
   Hover dims everything but the same instrument; click pins a detail panel; soft motion for new trades. */
.flow-panel.is-compact .flow-opts{display:none}
.flow-panel.is-compact .flow-note{display:none}  /* 2.88.0: only in the full view */
.flow-panel.is-compact .flow-bar{display:none}   /* 2.88.0: switch and legend in the header */
.card-header>.flow-title-row{display:flex;align-items:center;gap:18px;min-width:0}
.flow-legend.is-in-header{flex-wrap:nowrap;white-space:nowrap;overflow:hidden;gap:14px}
.flow-legend[hidden]{display:none}
.flow-seg.is-in-header{align-self:center;margin-left:auto;flex:none}
.flow-seg.is-in-header button{font-size:11.5px;padding:3px 9px}
.flow-seg.is-in-header+.update{margin-left:12px}
body.tv .flow-seg.is-in-header{display:none}
.flow-svg.has-focus .flow-dot{opacity:.18}
.flow-svg.has-focus .flow-dot.is-related{opacity:1;stroke-width:2}
.flow-dot.is-pinned{stroke:var(--text)!important;stroke-width:2.5!important;opacity:1!important;fill-opacity:1}
.flow-dot.is-new{transform-box:fill-box;transform-origin:center;animation:flow-in .9s cubic-bezier(.2,.8,.2,1) both}
@keyframes flow-in{from{transform:scale(.1);opacity:0}60%{opacity:1}to{transform:scale(1);opacity:1}}
.flow-ring{fill:none;stroke-width:2;pointer-events:none;transform-box:fill-box;transform-origin:center;animation:flow-ring 1.9s ease-out 1 both}
.flow-ring.is-up{stroke:var(--flow-up)}.flow-ring.is-down{stroke:var(--flow-down)}.flow-ring.is-none{stroke:var(--flow-none)}
@keyframes flow-ring{from{transform:scale(1);opacity:.85}to{transform:scale(3.4);opacity:0}}
/* 2.50.0: replay (flow_charts.js replayCanvas draws the pop-in on a canvas); large trades glow as they land, also
   live ones. The SVG dot finishes a glow the canvas started (negative --d). */
.flow-dot.is-up{color:var(--flow-up)}.flow-dot.is-down{color:var(--flow-down)}.flow-dot.is-none{color:var(--flow-none)}
.flow-dot.is-glow{animation:flow-glow 2.2s ease-out calc(var(--d,0ms) + .15s) backwards}
.flow-dot.is-new.is-glow{animation:flow-in .9s cubic-bezier(.2,.8,.2,1) both,flow-glow 2.2s ease-out .3s backwards}
@keyframes flow-glow{0%{filter:drop-shadow(0 0 0 currentColor)}20%{filter:drop-shadow(0 0 10px currentColor) drop-shadow(0 0 3px currentColor)}100%{filter:drop-shadow(0 0 0 transparent)}}
/* 2.50.0: Trade stream by asset class (full view): silos with a heading each */
.flow-silo{fill:color-mix(in srgb,var(--text) 3%,transparent);stroke:var(--line);stroke-width:1;stroke-dasharray:3 4}
.flow-silo.is-active{stroke:var(--accent);stroke-dasharray:none}
.flow-silo-name{fill:var(--text);font-size:13px;font-weight:700}
.flow-silo-name.is-link{cursor:pointer}.flow-silo-name.is-link:hover{text-decoration:underline}
.flow-silo-stat{fill:var(--muted);font-size:11px}
.flow-silo-net{font-size:12px;font-weight:700}.flow-silo-net.is-up{fill:var(--flow-up)}.flow-silo-net.is-down{fill:var(--flow-down)}
.flow-silo-bar.is-up{fill:var(--flow-up)}.flow-silo-bar.is-down{fill:var(--flow-down)}
.flow-ring.is-replay{animation:flow-ring-late 1.9s ease-out calc(var(--d,0ms) + .2s) both}
@keyframes flow-ring-late{from{transform:scale(1);opacity:0}6%{opacity:.85}to{transform:scale(3.4);opacity:0}}
/* 2.86.0: paced arrivals: a new trade waits its turn (--p), hidden, then lands; its ring starts with it */
.flow-dot.is-new.is-paced{animation-delay:var(--p,0ms)}
.flow-dot.is-new.is-glow.is-paced{animation:flow-in .9s cubic-bezier(.2,.8,.2,1) var(--p,0ms) both,flow-glow 2.2s ease-out calc(var(--p,0ms) + .3s) backwards}
.flow-ring.is-paced{animation:flow-ring-late 1.9s ease-out calc(var(--p,0ms) + .1s) both}
html.motion-off .flow-dot.is-glow{animation:none}
@media (prefers-reduced-motion:reduce){.flow-dot.is-glow{animation:none}}
html.motion-off .flow-dot.is-new,html.motion-off .flow-ring{animation:none}
html.motion-off .flow-ring{display:none}
@media (prefers-reduced-motion:reduce){.flow-dot.is-new{animation:none}.flow-ring{display:none}}
.flow-detail{position:absolute;top:8px;right:8px;width:290px;max-width:calc(100% - 16px);max-height:calc(100% - 16px);overflow:auto;z-index:5;
  background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.3)}
.flow-detail-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.flow-detail-und{all:unset;cursor:pointer;font-size:14px;font-weight:700;color:var(--text)}
.flow-detail-und:hover,.flow-detail-und:focus-visible{color:var(--heading);text-decoration:underline}
.flow-detail-close{all:unset;cursor:pointer;color:var(--muted);font-size:13px;padding:2px 6px;border-radius:6px}
.flow-detail-close:hover,.flow-detail-close:focus-visible{background:var(--selected);color:var(--text)}
.flow-detail-inst{display:block;margin-top:4px;font-weight:600;color:var(--text);text-decoration:none}
a.flow-detail-inst:hover{text-decoration:underline}
.flow-detail-sub{color:var(--muted);margin-top:2px}
.flow-detail-rows{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;margin:8px 0;font-variant-numeric:tabular-nums}
.flow-detail-rows span:nth-child(odd){color:var(--muted)}
.flow-detail-rows span:nth-child(even){text-align:right;font-weight:600}
.flow-detail-foot{color:var(--muted);border-top:1px solid var(--line);padding-top:7px;line-height:1.35}
/* 2.40.0: bull and bear behind the sentiment gauge (pulse.js sentimentAnimals): the bear fills the left half
   of the card and the bull the right half, faint, both standing on the dial's base line (--animal-base, measured).
   Filled in the bearish turquoise / bullish purple of the theme. Not on the TV. */
/* 2.41.0: --animal-opacity is the balanced level; the leading side rises towards --animal-max and the other
   falls towards --animal-min (pulse.js sets --up / --down, 0..1). The glow is dark mode only. */
/* 2.41.1: almost invisible when balanced (Joel: "appear when they are relevant"); the leader rises to the max. */
:root{--animal-bull:#9b82ff;--animal-bear:#79e3e4;--animal-opacity:.045;--animal-min:.03;--animal-max:.30;--animal-glow:9px}
:root[data-theme="light"]{--animal-bull:#5427e6;--animal-bear:#0f9aa0;--animal-opacity:.035;--animal-min:.025;--animal-max:.20;--animal-glow:0px}
@media(prefers-color-scheme:light){:root:not([data-theme]){--animal-bull:#5427e6;--animal-bear:#0f9aa0;--animal-opacity:.035;--animal-min:.025;--animal-max:.20;--animal-glow:0px}}
.ndx-animal{fill:currentColor;stroke:none;flex:none}
.ndx-animal.is-bull{color:var(--animal-bull)}.ndx-animal.is-bear{color:var(--animal-bear)}
.market-pulse .pulse-v062-sentiment{position:relative;overflow:hidden}
.market-pulse .pulse-v062-sentiment>:not(.pulse-animals){position:relative;z-index:1}
.pulse-animals{position:absolute;inset:0;pointer-events:none;z-index:0}
.pulse-animals .ndx-animal{--up:0;--down:0;position:absolute;bottom:var(--animal-base,78px);width:calc(50% - 14px);height:auto;
  opacity:calc(var(--animal-opacity) + (var(--animal-max) - var(--animal-opacity)) * var(--up) - (var(--animal-opacity) - var(--animal-min)) * var(--down));
  filter:drop-shadow(0 0 calc(var(--animal-glow) * var(--up)) currentColor);
  transition:opacity 1.6s ease,filter 1.6s ease}
html.motion-off .pulse-animals .ndx-animal{transition:none}
.pulse-animals .pulse-animal-bear{left:10px}
.pulse-animals .pulse-animal-bull{right:10px}
/* 2.47.1: on the gauge both get the same width, which favours the taller bull: give it 90 % of the width (equal area) */
.pulse-animals .pulse-animal-bull{width:calc((50% - 14px) * .9)}
body.tv .pulse-animals{display:none}
/* 2.42.0: Retail sentiment's day chart (sentiment_day.js): rolling 60 min + the day so far, animals behind. */
.sentiment-day{flex:none;margin:0 0 6px}
.sentiment-day-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:6px}
.sentiment-day-title{font-size:12px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.sentiment-day-legend{display:flex;gap:16px;font-size:12px;color:var(--muted)}
.sd-key{display:inline-flex;align-items:center;gap:6px}
.sd-key::before{content:"";width:16px;height:0;border-top:2px solid var(--animal-bull)}
.sd-key-day::before{border-top:2px dashed var(--text);opacity:.8}
.sentiment-day-plot{position:relative;height:clamp(150px,26vh,280px);overflow:hidden;border-radius:10px}
.sentiment-day-chart{position:relative;z-index:1;width:100%;height:100%}
.sentiment-day-chart svg{display:block}
.sd-grid{stroke:var(--line);stroke-width:1;opacity:.55}
.sd-zero{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 4;opacity:.7}
.sd-label{fill:var(--column-text,var(--muted));font-size:10px;font-weight:600;font-variant-numeric:tabular-nums}
.sd-rolling{fill:none;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}
.sd-up .sd-rolling{stroke:var(--animal-bull)}.sd-down .sd-rolling{stroke:var(--animal-bear)}
.sd-up .sd-area{fill:var(--animal-bull);opacity:.14}.sd-down .sd-area{fill:var(--animal-bear);opacity:.14}
.sd-day{fill:none;stroke:var(--text);stroke-width:1.6;stroke-dasharray:5 4;opacity:.8}
.sd-cursor{stroke:var(--muted);stroke-width:1;opacity:.6}
.sentiment-day-tip{position:absolute;top:4px;z-index:2;padding:3px 8px;border-radius:6px;background:var(--control);border:1px solid var(--control-border);
  color:var(--text);font-size:11px;font-weight:600;white-space:nowrap;pointer-events:none;font-variant-numeric:tabular-nums}
/* sized by the chart's height (it is wide and short), at most half its width; a little stronger than on the
   gauge, since this is the large view (same rule: almost invisible when balanced) */
.sentiment-day-animals{--animal-opacity:.06;--animal-max:.34}
:root[data-theme="light"] .sentiment-day-animals{--animal-opacity:.05;--animal-max:.24}
/* 2.43.1: in the lower half, behind the Bearish (left) and Bullish (right) columns, standing on their bottom */
[data-key="sentiment"] .sentiment-direction-grid{position:relative}
[data-key="sentiment"] .sentiment-direction-grid>:not(.pulse-animals){position:relative;z-index:1}
.sentiment-day-animals .ndx-animal{bottom:0;width:auto;max-width:calc(50% - 24px);height:clamp(120px,80%,300px)}
/* 2.47.1: equal visual weight (area), not equal height: the bear drawing is longer and bulkier (aspect 1.68 vs the
   bull's 1.36, and part of the bull's height is horns and tail), so at the same height it looked far heavier.
   sqrt(1.36/1.68) = 0.90 */
.sentiment-day-animals .pulse-animal-bear{height:calc(clamp(120px,80%,300px) * .9)}
.sentiment-day-animals .pulse-animal-bear{left:0}.sentiment-day-animals .pulse-animal-bull{right:0}

/* 2.42.0: Highlights as a rolling ticker (news_ticker.js), same band as Top 10 */
.pulse-ticker.news-ticker::before{content:"HIGHLIGHTS"}  /* beats pulse.css (loaded later) */
.news-ticker-group{display:flex;align-items:center}
.news-item{all:unset;cursor:pointer;display:inline-flex;align-items:baseline;gap:10px;padding:0 26px;white-space:nowrap;
  border-right:1px solid var(--line);line-height:1.2}
.news-item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px;border-radius:6px}
.news-cat{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--heading)}
.news-subject{font-size:15px;font-weight:750;color:var(--text)}
.news-figures{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.news-dir{font-size:10px;font-weight:800;letter-spacing:.06em;padding:1px 6px;border-radius:999px;border:1px solid currentColor}
.news-dir.is-long{color:var(--bull-ink)}.news-dir.is-short{color:var(--bear-ink)}  /* 2.49.0: purple / teal like the LONG/SHORT pills */
.card-header .view-switch{margin-left:auto;margin-right:12px;font:inherit;font-size:11px;font-weight:650;color:var(--muted);
  background:transparent;border:1px solid var(--control-border);border-radius:999px;padding:3px 10px;cursor:pointer}
.card-header .view-switch:hover,.card-header .view-switch:focus-visible{color:var(--text);background:var(--selected)}
body.tv .view-switch{display:none}

/* 2.42.0: New listings top tile (listings_tile.js) */
.market-pulse .pulse-listings-tile{cursor:pointer;display:flex;flex-direction:column;gap:10px}
.pulse-listings-tile:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.listings-empty{color:var(--muted);font-size:13px;margin-top:8px}
/* 2.42.0: at ⅕ width Trading today's three figures must fit: size them by the tile's width, not the window's
   (desktop only; the TV has its own sizing). */
body:not(.tv) .grid>[data-block="trading_activity"]{container-type:inline-size}
body:not(.tv) .grid>[data-block="trading_activity"] .pulse-trading-secondary{grid-template-columns:repeat(3,max-content);justify-content:space-between}
body:not(.tv) .grid>[data-block="trading_activity"] .pulse-trading-secondary-item+.pulse-trading-secondary-item{padding-left:clamp(8px,3cqw,13px)}
/* 2.43.0: one issuer palette, from the dark-mode badges, used everywhere an issuer is shown in colour
   (badges, New listings tile): Vontobel grey, BNP Paribas green, Societe Generale red, Morgan Stanley navy. */
/* 2.70.1: from the issuers' own sites (Joel, 21 Nov): SG's corporate red #E9041E, BNP Paribas Green #00965A, Vontobel's warm
   grey (its wordmark #373A36, lightened to read on dark cards), Morgan Stanley's blue #187ABA (was an indigo navy, too
   close to the bull purple). */
:root{--issuer-von:#5c5f5a;--issuer-bnp:#00965a;--issuer-sg:#e9041e;--issuer-ms:#187aba;--issuer-other:#8a95a3}
.issuer-badge.issuer-von{background:var(--issuer-von)!important}.issuer-badge.issuer-bnp{background:var(--issuer-bnp)!important}
.issuer-badge.issuer-sg{background:var(--issuer-sg)!important}.issuer-badge.issuer-ms{background:var(--issuer-ms)!important}
.market-pulse .pulse-listings-tile .listings-secondary{grid-template-columns:repeat(3,max-content);justify-content:space-between;margin-top:3px}  /* 2.46.1: three, as Trading today */
/* 2.45.0: one type scale for the numbers in the top row (desktop; the TV keeps its own sizing). It was eight
   sizes; now four, all scaling with the window:
     hero   Trading today's counter (unchanged)
     L      a tile's main figure: Sentiment's percentages, the New listings count
     M      every other figure: the bottom rows of Trading today and New listings (identical now), the Sentiment
            score, Nordic share %, Underlying flow values
     S      tables and context: Nordic trade counts, New listings issuer rows and total */
:root{--num-l:clamp(17px,1.45vw,28px);--num-m:clamp(14px,1.25vw,24px);--num-s:clamp(10.5px,.85vw,13px)}
body:not(.tv) .grid>.market-pulse .pulse-ngm-gauge-bear strong,
body:not(.tv) .grid>.market-pulse .pulse-ngm-gauge-bull strong{font-size:var(--num-l);font-weight:780}
body:not(.tv) .grid>.market-pulse .pulse-trading-secondary-number,
body:not(.tv) .grid>.market-pulse .pulse-ngm-gauge-score-side strong,
body:not(.tv) .grid>.market-pulse .pulse-nordic-item .pulse-nordic-share,
body:not(.tv) .grid>.market-pulse .pulse-flow-value{font-size:var(--num-m);font-weight:760}
body:not(.tv) .grid>.market-pulse .pulse-nordic-count{font-size:var(--num-s)}
/* 2.47.0: heatmap: a filtered underlying is highlighted, the rest dimmed (not hidden) */
.heat-tile.is-dimmed{opacity:.35;transition:opacity .2s ease}
.heat-tile.is-selected{outline:2px solid var(--accent);outline-offset:-2px;opacity:1}
.heat-note{font-size:11px;color:var(--muted);margin:0 0 6px}  /* 2.47.2 */

/* ---------- 2.48.0: review fixes ---------- */
/* Highlights card: the category chips get a line of their own under the title (in the header row they squeezed
   the title to 28 px and ran over it). The full view and the TV keep them in the header row. */
body:not(.tv) #grid [data-key="highlights"] > .card > .card-header{flex-wrap:wrap;row-gap:10px}
body:not(.tv) #grid [data-key="highlights"] > .card > .card-header > div:first-child{flex:1 1 auto}
body:not(.tv) #grid [data-key="highlights"] > .card > .card-header .highlight-chips{order:10;flex:1 0 100%;margin:0}
/* Full views that load for a few seconds say so */
.full-loading{padding:28px 4px;color:var(--muted)}
/* Nordic share full view: narrower figure columns, and issuers / top underlyings wrap instead of being cut */
.full-nordic-row{grid-template-columns:minmax(130px,1.1fr) 60px 56px 84px 80px 96px 88px 56px minmax(100px,1.2fr) minmax(120px,1.5fr)}
.full-nordic-row.is-head>span{white-space:normal;line-height:1.25}
.full-nordic-issuers,.full-nordic-unds{white-space:normal;line-height:1.35}
@media (max-width:1100px){.full-nordic-row{grid-template-columns:minmax(120px,1fr) 70px 56px 100px 96px}}
/* Data health full view: the whole detail text (the card keeps one line; hover shows the rest) */
.full-sheet .health-detail{white-space:normal;overflow:visible;line-height:1.35}
/* The ⤢ (full view) buttons were nearly invisible until hovered */
.full-open{opacity:.8;border-color:color-mix(in srgb,var(--line) 70%,transparent);color:var(--text)}
.full-open.is-floating{opacity:.75;background:var(--card);border-color:color-mix(in srgb,var(--line) 70%,transparent)}
/* Market chosen in a list's full view, named on the card */
.list-market{margin-left:10px;vertical-align:middle;border:1px solid var(--line);border-radius:999px;padding:2px 9px;font-size:12px;font-weight:650;
  color:var(--muted);text-transform:none;letter-spacing:0}
.list-options{margin-top:0}
/* Heatmap coloured by retail lean */
.heat-tile:not(.heat-other)[data-lean][data-heat-tier]{--lean-neutral:#3d4a57}
:root[data-theme="light"] .heat-tile:not(.heat-other)[data-lean][data-heat-tier]{--lean-neutral:#6f7c89}
.heat-tile:not(.heat-other)[data-lean="bull"][data-heat-tier]{background:color-mix(in srgb,#592cf9 calc(var(--lean,.5) * 100%),var(--lean-neutral))!important}
.heat-tile:not(.heat-other)[data-lean="bear"][data-heat-tier]{background:color-mix(in srgb,#0f8f97 calc(var(--lean,.5) * 100%),var(--lean-neutral))!important}
.heat-tile:not(.heat-other)[data-lean="flat"][data-heat-tier]{background:var(--lean-neutral)!important}
.heat-tile:not(.heat-other)[data-lean]::before{opacity:0!important}
.heat-legend{display:flex;align-items:center;gap:12px;flex:none;margin-top:8px;font-size:11.5px;color:var(--muted)}
.heat-legend{flex-wrap:wrap;row-gap:4px}.heat-legend-note{margin-left:auto;opacity:.8;white-space:nowrap}  /* 2.48.0: tile areas are compressed (share^0.7) */
/* 2.89.0: heatmap metric switch in the card header (styled as Trade stream's); colour key and size note only in the full view */
.card-header>.heatmap-controls.is-in-header{display:inline-flex!important;margin:0 0 0 auto;padding:0;gap:0;border-radius:8px;overflow:hidden;align-self:center;width:auto}
.card-header>.heatmap-controls.is-in-header button{font-size:11.5px;padding:3px 9px;border-radius:0;color:var(--muted)}
.card-header>.heatmap-controls.is-in-header button.active{background:var(--selected);color:var(--selected-text);font-weight:650}
.card-header>.heatmap-controls.is-in-header+.update{margin-left:12px}
.card-header>.heatmap-controls[hidden],body.tv .card-header>.heatmap-controls.is-in-header{display:none!important}
#grid [data-key="heatmap"] .heat-legend{display:none}
.heat-legend-key::before{content:"";display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.heat-legend-key.is-bear::before{background:#0f8f97}.heat-legend-key.is-flat::before{background:#3d4a57}.heat-legend-key.is-bull::before{background:#592cf9}
:root[data-theme="light"] .heat-legend-key.is-flat::before{background:#6f7c89}
/* Customize: header buttons no longer break over two lines; block names get more room */
.top button,.top select{white-space:nowrap}
.top>div{flex-wrap:wrap;justify-content:flex-end}
/* 2.49.0: New listings tile no taller than its neighbours. It was the tallest top tile (its asset-class table),
   and the top row takes the tallest tile's height, so all five grew and the gauge looked small. Tighter spacing. */
.market-pulse .pulse-listings-tile{gap:4px}
/* 2.49.1: Underlying flow's figures one step below the type scale's --num-m (Joel: "huge"): four signed figures
   in a column of bars read as the loudest thing in the top row. */
body:not(.tv) .grid>.market-pulse .pulse-flow-value{font-size:clamp(13px,1vw,18px)}
/* 2.51.0: Day summary (static/day_summary.js), opened from the header button. Neutral up/down (purple = bullish only). */
.full-summary{overflow:auto}
.full-summary .card-header{position:sticky;top:-20px;z-index:3;background:var(--card);margin:-20px -24px 0;padding:20px 80px 12px 24px;border-bottom:1px solid color-mix(in srgb,var(--line) 60%,transparent)}
.ds-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ds-tools button,.ds-tools select{border:1px solid var(--line);background:var(--control);color:var(--text);border-radius:8px;padding:6px 10px;font-size:13px}
.ds-tools button:disabled{opacity:.4;cursor:default}
.ds-tools .ds-step{width:32px;padding:6px 0;font-size:15px;line-height:1}
.ds-tools .ds-copy:not(:disabled):hover,.ds-tools .ds-step:not(:disabled):hover{border-color:var(--heading);color:var(--heading)}
.ds-state{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;border:1px solid var(--line);color:var(--muted);white-space:nowrap}
.ds-state.is-live{color:var(--heading);border-color:var(--heading)}
.ds-state.is-live::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--heading);margin-right:6px;vertical-align:1px;animation:ds-pulse 2s ease-in-out infinite}
.ds-state.is-final{color:var(--text)}
.ds-state.is-partial{color:var(--stale);border-color:var(--stale)}
@keyframes ds-pulse{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.ds-state.is-live::before{animation:none}}
.ds-body{display:flex;flex-direction:column;gap:16px;transition:opacity .15s}
.ds-body.is-loading{opacity:.45}
.ds-story{border-left:3px solid var(--heading);padding:4px 0 4px 16px;max-width:1100px}
.ds-story p{margin:0 0 6px;font-size:15px;line-height:1.5}
.ds-story p:first-child{font-size:17px;font-weight:650}
.ds-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ds-kpi{gap:4px}
.ds-kpi.is-lev .full-kpi-value{color:var(--lev)}
.ds-kpi-note{color:var(--muted);font-size:12px}
.ds-diff{font-weight:700;font-size:12px;color:var(--text);white-space:nowrap}
.ds-diff.is-none,.ds-diff.is-flat{color:var(--muted);font-weight:500}
.ds-diff.is-down{color:var(--muted)}
.ds-lean{display:flex;height:8px;border-radius:4px;overflow:hidden;background:color-mix(in srgb,var(--line) 45%,transparent);min-width:50px}
.ds-lean .bear{background:var(--bear)}.ds-lean .bull{background:var(--bull)}
.ds-kpi .ds-lean{margin:4px 0 2px}
.ds-box{border:1px solid var(--line);border-radius:12px;padding:12px 14px;min-width:0}
.ds-box h3{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:700}
.ds-box h3 .full-seg{text-transform:none;letter-spacing:0}
.ds-box h4{margin:10px 0 4px;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700}
.ds-count{font-weight:500;margin-left:auto}
.ds-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.ds-grid .ds-wide{grid-column:1/-1}
@media (min-width:1350px){.ds-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ds-grid .ds-wide{grid-column:span 2}}
@media (max-width:900px){.ds-grid{grid-template-columns:1fr}.ds-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ds-legend{display:flex;gap:16px;font-size:12px;color:var(--muted);margin-bottom:4px}
.ds-legend .lg::before{content:"";display:inline-block;width:14px;height:8px;border-radius:2px;margin-right:6px;vertical-align:0}
.ds-legend .lg.today::before{background:var(--heading)}
.ds-legend .lg.normal::before{height:0;border-top:2px solid var(--text);opacity:.7;vertical-align:3px}
.ds-hours{width:100%;height:auto;display:block}
.ds-hours .bar{fill:var(--heading);opacity:.85}.ds-hours .bar:hover{opacity:1}
.ds-hours .normal{stroke:var(--text);stroke-width:2;opacity:.65}
.ds-hours .grid{stroke:var(--line);stroke-width:1;opacity:.6}
.ds-hours .axis{fill:var(--muted);font-size:11px}
.ds-table{display:flex;flex-direction:column;font-variant-numeric:tabular-nums;font-size:13px}
.ds-row{display:grid;grid-template-columns:var(--cols);gap:10px;align-items:center;padding:5px 0;border-bottom:1px solid color-mix(in srgb,var(--line) 50%,transparent);min-width:0}
.ds-row:last-child{border-bottom:0}
.ds-row.is-head{color:var(--muted);font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;padding-top:0}
.ds-row .r{text-align:right;justify-self:end}
.ds-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds-row .lev{color:var(--lev)}
.ds-row .badge{margin-left:0;justify-self:start}
.ds-name{display:flex!important;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.ds-name small{color:var(--muted);font-size:11px;flex-basis:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-split .ds-name{flex-wrap:wrap}
.ds-label{flex:1 1 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-pct{color:var(--muted);font-size:11.5px}
.ds-und{all:unset;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
button.ds-und,a.ds-und{cursor:pointer}button.ds-und:hover,a.ds-und:hover{color:var(--heading);text-decoration:underline;text-underline-offset:3px}
.ds-icon{width:16px;height:16px;flex:none;opacity:.85}
.ds-mini{flex-basis:100%;height:3px;border-radius:2px;background:color-mix(in srgb,var(--line) 45%,transparent);overflow:hidden}
.ds-mini .fill{display:block;height:100%;background:var(--heading)}
.ds-share{display:flex!important;align-items:center;gap:8px}
.ds-share .bar{flex:1;height:6px;border-radius:3px;background:color-mix(in srgb,var(--line) 45%,transparent);overflow:hidden}
.ds-share .fill{display:block;height:100%;background:var(--heading);border-radius:3px}
.ds-flowbar .ds-lean{height:12px;border-radius:6px}
.ds-flow-legend{font-size:12px;color:var(--muted);margin-top:4px}
.ds-flowsides{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ds-flowrow{display:flex;justify-content:space-between;gap:8px;padding:3px 0;font-size:13px;font-variant-numeric:tabular-nums;border-bottom:1px solid color-mix(in srgb,var(--line) 40%,transparent)}
.ds-flowrow .bull{color:var(--bull-ink);font-weight:600}.ds-flowrow .bear{color:var(--bear-ink);font-weight:600}
.ds-hl{display:flex;flex-direction:column;gap:2px;max-height:420px;overflow:auto}
.ds-hl-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;padding:5px 0 5px 8px;border-left:3px solid var(--line);border-bottom:1px solid color-mix(in srgb,var(--line) 40%,transparent)}
.ds-hl-row.sev-high{border-left-color:var(--heading)}
.ds-hl-time{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
.ds-hl-text{display:flex;flex-direction:column;min-width:0;font-size:13px}
.ds-hl-text small{color:var(--muted);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-listing{display:flex;flex-direction:column;gap:6px;font-size:13px}
.ds-note{color:var(--muted);font-size:12px}
.ds-foot{padding-bottom:8px}

/* 2.75.0: New listings tile, design A (Joel: "clean this up a lot"; replaces the 2.74 bar and boxes). The count, one thin
   short | long line with the shares at its ends (short = teal --bear, long = purple --bull, as everywhere else), the
   classes as a plain icon row, knocked out as a soft red pill under the line, ON NDX bottom right. Plain hex colours only (no mixing). */
.market-pulse .pulse-listings-tile{container-name:listings;container-type:inline-size;
  --nl-short:var(--bear,#79e3e4);--nl-long:var(--bull,#592cf9);--nl-long-ink:var(--bull-ink,#a58bff);--nl-none:#5d6874;--nl-ko:#e8828e;--nl-ko-num:#f4b3bb;--nl-icon:#9aa7b4}
.listings-head{display:flex;align-items:baseline;gap:10px;min-width:0;margin-top:clamp(2px,1.6cqw,10px)}
.listings-big{display:flex;align-items:baseline;gap:7px;flex:none}
.listings-big strong{font-size:clamp(26px,11cqw,48px);font-weight:820;color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:-.03em;line-height:1}
.listings-big span{font-size:clamp(9px,2.6cqw,13px);font-weight:750;letter-spacing:.14em;color:var(--muted)}
  border:1px solid #5e5131;background:#2a2719;color:#f0c75e;font:inherit;font-size:clamp(9px,2.4cqw,11px);font-weight:750;letter-spacing:.07em;white-space:nowrap;cursor:pointer}
.market-pulse .pulse-listings-tile .listings-secondary{margin-top:12px}
.listings-korow{margin-top:clamp(10px,3.6cqw,18px);display:flex;min-height:0}
.market-pulse .pulse-listings-tile .listings-ko{display:inline-flex;align-items:center;gap:6px;padding:4px 11px 4px 7px;border-radius:999px;
  border:1px solid #6b3a42;background:#2c1f24;color:var(--nl-ko);font:inherit;font-size:clamp(9.5px,2.6cqw,11px);font-weight:750;letter-spacing:.1em;white-space:nowrap;cursor:pointer}
.market-pulse .pulse-listings-tile .listings-ko strong{color:var(--nl-ko-num);font-size:clamp(11.5px,3.2cqw,13px);letter-spacing:0}
.market-pulse .pulse-listings-tile .listings-ko-x{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;border:1.5px solid currentColor;font-size:8px;line-height:1}
.market-pulse .pulse-listings-tile .listings-ko:hover,.market-pulse .pulse-listings-tile .listings-ko:focus-visible{border-color:var(--nl-ko)}
.market-pulse .pulse-listings-tile .listings-ko:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
:root[data-theme="light"] .market-pulse .pulse-listings-tile{--nl-short:#2bb3aa;--nl-long:#6a45f0;--nl-long-ink:#5427e6;--nl-none:#9aa4b0;--nl-ko:#c2475a;--nl-ko-num:#a3263a;--nl-icon:#6b7684}
:root[data-theme="light"] .market-pulse .pulse-listings-tile .listings-ko{border-color:#efc3ca;background:#fdf0f2}
/* 2.83.0: New listings tile, design C (Joel, 24 Nov). The balance of the day: +N NEW (smaller than Trading today's
   counter: "not the most important metric"), VS NORMAL DAY, Delisted and Net change (only the net in colour: purple up,
   teal down), the knock-out pill, and the bottom row. No bar, no class row. A new underlying takes the tile over:
   "★ NEW ON NDX TODAY", its name, detail, issuer / type chips and the other new names in gold. */
.market-pulse .pulse-listings-tile{--nl-gold:#f0c75e;--nl-down-ink:#79e3e4}
:root[data-theme="light"] .market-pulse .pulse-listings-tile{--nl-gold:#9a6b00;--nl-down-ink:#087c83}
.market-pulse .pulse-listings-tile .listings-big strong{font-size:clamp(20px,8.5cqw,36px);font-weight:760;letter-spacing:-.02em}
.market-pulse .pulse-listings-tile .listings-vs,.market-pulse .pulse-listings-tile .listings-vs[data-trend]{color:var(--muted)!important}
.market-pulse .pulse-listings-tile .listings-vs{margin-top:4px;font-size:clamp(9px,2.5cqw,11px);font-weight:750;letter-spacing:.08em;white-space:nowrap}
.listings-lines{margin-top:clamp(8px,3cqw,14px);border-top:1px solid var(--line);padding-top:clamp(6px,2.2cqw,10px);display:flex;flex-direction:column;gap:clamp(3px,1.4cqw,7px)}
.listings-line-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:clamp(12px,4.6cqw,16px);color:var(--muted)}  /* 2.83.1: larger (Joel) */
.listings-line-row strong{font-size:clamp(14px,6.4cqw,24px);font-weight:760;color:var(--text);font-variant-numeric:tabular-nums}
/* on the desktop the tile uses the top row's type scale (2.45.0): the count is L, Delisted / Net and the bottom row are M */
body:not(.tv) .grid>.market-pulse .pulse-listings-tile .listings-big strong{font-size:var(--num-l)}
body:not(.tv) .grid>.market-pulse .pulse-listings-tile .listings-line-row strong{font-size:var(--num-m)}
.market-pulse .pulse-listings-tile .listings-line-row>span{font-size:clamp(12px,5.4cqw,17px);color:var(--muted)}
.market-pulse .pulse-listings-tile strong.listings-net.is-up{color:var(--nl-long-ink)}
.market-pulse .pulse-listings-tile strong.listings-net.is-down{color:var(--nl-down-ink)}
.market-pulse .pulse-listings-tile .pulse-title.listings-take-title{color:var(--nl-gold)}
.market-pulse .pulse-listings-tile .listings-take{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:3px;margin-top:clamp(4px,2cqw,10px);min-width:0;max-width:100%}
.market-pulse .pulse-listings-tile .listings-take:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.listings-take-name{font-size:clamp(16px,7.5cqw,30px);font-weight:760;color:var(--text);line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.listings-take-detail{font-size:clamp(10.5px,3cqw,13px);color:var(--muted)}
.listings-take-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:clamp(5px,2cqw,9px)}
.listings-take-chips span{font-size:clamp(9.5px,2.6cqw,11px);font-weight:700;border:1px solid var(--line);border-radius:999px;padding:1px 8px;color:var(--muted);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.listings-take-more{margin-top:6px;font-size:clamp(10px,2.8cqw,12px);font-weight:700;color:var(--nl-gold);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.market-pulse .pulse-listings-tile .listings-secondary{margin-top:auto;padding-top:10px}
/* a narrow tile (a laptop-width window) keeps all three bottom figures: NET matters on a takeover day */
@container listings (max-width:240px){
  .market-pulse .pulse-listings-tile .listings-secondary{column-gap:6px}
  body:not(.tv) .grid>.market-pulse .pulse-listings-tile .pulse-trading-secondary-number{font-size:clamp(11px,7cqw,16px)}
  .market-pulse .pulse-listings-tile .pulse-trading-secondary-label{font-size:clamp(7.5px,4cqw,9.5px)}}
.nl-header-right{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.nl-tabs{display:inline-flex;gap:2px;padding:2px;background:var(--control);border:1px solid var(--control-border);border-radius:9px}
.nl-tab{font:inherit;font-size:12.5px;font-weight:600;color:var(--muted);background:none;border:0;border-radius:7px;padding:5px 10px;cursor:pointer;white-space:nowrap}
.nl-tab:hover{color:var(--text)}.nl-tab.active{color:var(--text);background:var(--selected)}
.full-listings.is-knockouts .full-flow-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.nl-ko-status{white-space:nowrap}.nl-ko-status.is-halted{color:var(--muted)}
/* 2.67.2: in-page dialog (workspace.js ask), replaces prompt()/confirm() which the Mac app does not show */
.ndx-ask{background:var(--card);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:22px 24px;width:min(440px,calc(100vw - 32px));box-shadow:0 18px 50px rgba(0,0,0,.35)}
.ndx-ask::backdrop{background:rgba(0,0,0,.45)}
.ndx-ask p{margin:0 0 14px;font-size:14px;line-height:1.45;white-space:pre-line}
.ndx-ask input{width:100%;font:inherit;font-size:14px;color:var(--text);background:var(--control);border:1px solid var(--control-border);border-radius:8px;padding:8px 10px;margin-bottom:16px}
.ndx-ask input:focus{outline:2px solid var(--accent);outline-offset:-1px}
.ndx-ask-buttons{display:flex;justify-content:flex-end;gap:8px}
.ndx-ask-buttons button{font-size:13px;font-weight:600;background:var(--control);border:1px solid var(--control-border);border-radius:8px;padding:7px 14px}
.ndx-ask-buttons button.is-primary{background:var(--accent);border-color:var(--accent);color:#08090b}
/* 2.69.0: Most traded's NET FLOW sorted by outflows (second click): the arrow points up (most negative first) */
.columns button.active.is-alt::after{content:" ↑"}
/* 2.70.0: Day summary replay (day_replay.js): the day played back in about 20 s */
.ds-tools .ds-replay-btn{border-color:var(--heading);color:var(--heading);font-weight:650}
.ds-tools .ds-replay-btn:hover{background:color-mix(in srgb,var(--heading) 14%,transparent)}
.ds-replay{border:1px solid color-mix(in srgb,var(--heading) 45%,var(--line));border-radius:14px;padding:14px 16px 10px;margin:0 0 14px;background:color-mix(in srgb,var(--heading) 4%,var(--card));display:flex;flex-direction:column;gap:12px}
.dr-head{display:flex;align-items:center;gap:12px}
.dr-kind{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--heading)}
.dr-clock{font-size:28px;font-weight:750;font-variant-numeric:tabular-nums;min-width:86px}
/* 2.76.0: the timeline is a scrubber (a range input over the track), with marks for large trades and Highlights */
.dr-progress{position:relative;flex:1;height:22px;min-width:120px;display:flex;align-items:center}
.dr-progress::before{content:'';position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;border-radius:2px;background:color-mix(in srgb,var(--line) 60%,transparent)}
.dr-progress .fill{position:absolute;left:0;top:50%;height:4px;margin-top:-2px;width:0;border-radius:2px;background:var(--heading);pointer-events:none}
.dr-marks{position:absolute;inset:0;pointer-events:none}
.dr-mark{position:absolute;top:50%;width:2px;height:10px;margin:-5px 0 0 -1px;border-radius:1px;background:var(--muted);opacity:.55}
.dr-mark.is-large{background:var(--heading);opacity:.9;height:12px;margin-top:-6px}
.dr-scrub{position:absolute;inset:0;width:100%;height:100%;margin:0;background:transparent;-webkit-appearance:none;appearance:none;cursor:pointer}
.dr-scrub:focus{outline:none}.dr-scrub:focus-visible{outline:2px solid var(--heading);outline-offset:2px;border-radius:4px}
.dr-scrub::-webkit-slider-runnable-track{height:22px;background:transparent}
.dr-scrub::-moz-range-track{height:22px;background:transparent}
.dr-scrub::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:4px;border-radius:50%;background:var(--heading);border:2px solid var(--card);box-shadow:0 0 0 1px var(--heading)}
.dr-scrub::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--heading);border:2px solid var(--card);box-shadow:0 0 0 1px var(--heading)}
.dr-speed{width:auto;min-width:40px;padding:0 8px;font-variant-numeric:tabular-nums;font-weight:700}
.dr-card.is-still{animation:none}
.ds-replay:focus{outline:none}
.dr-btn{border:1px solid var(--line);background:var(--control);color:var(--text);border-radius:8px;width:34px;height:30px;font-size:13px;cursor:pointer}
.dr-btn:hover{border-color:var(--heading);color:var(--heading)}
.dr-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}
@media (max-width:900px){.dr-body{grid-template-columns:1fr}}
.dr-figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dr-fig span{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--muted)}
.dr-fig strong{font-size:24px;font-weight:750;font-variant-numeric:tabular-nums}
.dr-lean{display:flex;align-items:center;gap:10px;margin:8px 0 6px}
.dr-lean .ds-lean{flex:1;height:10px;border-radius:5px}
.dr-lean-text{font-size:12px;font-weight:700;color:var(--muted);min-width:96px;text-align:right}
.dr-lean-text.is-bull{color:var(--bull)}.dr-lean-text.is-bear{color:var(--bear)}
.dr-slots{width:100%;height:120px;display:block;overflow:visible}
.dr-bar.is-bull{fill:var(--bull)}.dr-bar.is-bear{fill:var(--bear)}
.dr-base{stroke:var(--line)}.dr-cursor{stroke:var(--heading);stroke-width:1.5;opacity:.8}
.dr-hour{fill:var(--muted);font-size:10px}
.dr-sub{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--muted);margin-bottom:6px}
.dr-lanes{position:relative}
.dr-lane{position:absolute;left:0;right:0;top:0;height:30px;display:grid;grid-template-columns:minmax(90px,150px) minmax(0,1fr) 64px;align-items:center;gap:10px;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.dr-name{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dr-lane.is-lead .dr-name{color:var(--heading)}
.dr-track{height:16px;border-radius:4px;background:color-mix(in srgb,var(--line) 30%,transparent);overflow:hidden}
.dr-fill{display:block;height:100%;width:0;border-radius:4px;background:color-mix(in srgb,var(--heading) 70%,transparent)}
.dr-lane.is-lead .dr-fill{background:var(--heading)}
.dr-val{font-size:12px;font-variant-numeric:tabular-nums;text-align:right;color:var(--muted)}
.dr-feed{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-height:62px}
.dr-card{border:1px solid var(--line);border-radius:10px;padding:6px 10px;display:flex;flex-wrap:wrap;align-items:center;column-gap:6px;row-gap:2px;font-size:12px;min-width:0;animation:dr-in .45s cubic-bezier(.2,.7,.2,1)}
.dr-card strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dr-card-time{flex-basis:100%;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.dr-card-fig{flex-basis:100%;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dr-card.is-large{border-color:color-mix(in srgb,var(--heading) 55%,var(--line))}
.dr-card.is-hl{border-style:dashed}
@keyframes dr-in{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
.dr-note{font-size:11px;color:var(--muted)}
@media (max-width:900px){.dr-feed{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ds-replay.is-calm .dr-lane,html.motion-off .dr-lane{transition:none}
.ds-replay.is-calm .dr-card,html.motion-off .dr-card{animation:none}
/* 2.79.0: Day summary sign-off with the official NGM logo (white file; black in light mode by inverting) */
.ds-sign{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.ds-sign-logo{height:34px;width:auto;opacity:.85;flex:none}
:root[data-theme="light"] .ds-sign-logo{filter:invert(1)}
@media (prefers-color-scheme:light){:root:not([data-theme]) .ds-sign-logo{filter:invert(1)}}
/* 2.81.0: phone width (the iOS app, Safari on a phone): Most traded and the Live tape show fewer columns (Joel: the
 * tables carry too much for an iPhone). Most traded keeps NET FLOW (without its in / out line) and TRADES, drops
 * TURNOVER; the tape keeps CASH and LEV., drops EXPOSURE (cash × leverage). Smaller rows, logos and figures.
 * The full view keeps every column. */
@media (max-width:600px){
body:not(.tv) .panel:not(.is-full):is([data-key="most_traded"],[data-key="trade_tape"]){--row:56px;--ndx-font-instrument:15px;--ndx-font-detail:12px;--ndx-font-metric:16px;--ndx-font-column:11px}
.panel:not(.is-full):is([data-key="most_traded"],[data-key="trade_tape"]) :is(.row,.columns)>:nth-child(4){display:none}
.panel:not(.is-full)[data-key="most_traded"] :is(.row,.columns){grid-template-columns:minmax(0,1fr) 90px 64px!important;gap:8px}
.panel:not(.is-full):is([data-key="most_traded"],[data-key="trade_tape"]) .columns>*{white-space:nowrap}
.panel:not(.is-full)[data-key="most_traded"] .metric-sub{display:none}
.panel:not(.is-full)[data-key="trade_tape"] :is(.row,.columns){grid-template-columns:minmax(0,1fr) 86px 56px!important;gap:8px}
.panel:not(.is-full):is([data-key="most_traded"],[data-key="trade_tape"]) .identity-cell{gap:8px}
.panel:not(.is-full):is([data-key="most_traded"],[data-key="trade_tape"]) .identity-cell>:first-child{width:28px;height:28px;flex:none}
/* Nordic share and the New listings tile are left out on a phone (Joel: the tile does not expand well there) */
.grid>.block:is([data-block="nordic_markets"],[data-block="new_listings_tile"]){display:none!important}
}
/* 2.81.0: the phone page (/phone, body.phone): one flat column of the chosen cards, whatever the saved desktop
 * layout says (its sizes, order and hidden cards are inline styles, hence !important). static/phone.js marks the
 * chosen cards .phone-on and sets --phone-order: by default Trading today, Heatmap, Sentiment gauge, Most traded,
 * Live tape, Underlying flow; in the iOS app the user picks any cards and their order in the app's Settings.
 * Flat like Apple's own apps (Joel): every section edge to edge, an iOS-style heading, a hairline between them.
 * No customizing or layouts here; Settings has a "Full dashboard" link (?full=1).
 * Scoped to #grid: the full view is a .full-sheet.grid too, and these rules emptied the heatmap there. */
body.phone #grid{display:flex!important;flex-direction:column;gap:0!important;padding:0 0 calc(10px + env(safe-area-inset-bottom))!important}
body.phone #grid>.block{display:none!important}
/* the packed desktop grid gives blocks align-self:start; in a column that shrinks inline-size containers to nothing */
body.phone #grid.packed>.block,body.phone #grid>.block{align-self:stretch!important;margin:0!important}
body.phone #grid>.block.phone-on{display:block!important;order:var(--phone-order,99)!important;grid-column:auto!important;grid-row-end:auto!important;width:100%!important;max-width:100%;flex:none;min-height:0;border-top:1px solid var(--line)}
body.phone #grid>.panel.phone-on{height:520px!important}
body.phone #grid>.panel.phone-on[data-fit="content"]{height:auto!important}
body.phone #grid>.phone-on[data-block="heatmap"]{height:480px!important}
body.phone #grid>.phone-on:is([data-block="most_traded"],[data-block="trade_tape"]){height:auto!important}
body.phone :is(#edit,#tv-edit,#layout-tools,#layout-status,#sentiment-line,#hidden-tray,.editbar,.resizer),body.phone .settings-menu :is([data-proxy="edit"],.settings-row:has(#layout)){display:none!important}
body.phone .top{padding:10px 12px;border-bottom:0}
.top .settings-full{display:block;text-decoration:none;color:var(--text);padding:7px 10px;border-radius:7px}
body.phone #grid>.panel .card,
body.phone #grid>.pulse-block .pulse-tile{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:18px 16px 16px!important}
body.phone #grid>.panel .card{padding-bottom:8px!important}
body.phone #grid>.panel .card-header h2,
body.phone #grid>.pulse-block .pulse-title{font-size:22px!important;line-height:1.2!important;font-weight:700!important;letter-spacing:-.4px!important;text-transform:none!important;color:var(--text)!important;opacity:1!important}
body.phone #grid>.pulse-block .pulse-title::first-letter{text-transform:uppercase}
/* 2.81.0: the phone page's filter bar is one compact line, "Filter: OMXS30 [Clear ×]" (the full sentence with the
 * list of cards filled a third of the screen). font-size:0 hides the bare "Showing only" / "in" text. */
body.phone .filter-bar{font-size:0!important;gap:8px;margin:8px 10px 0;padding:6px 6px 6px 14px;border-radius:999px}
body.phone .filter-bar .filter-bar-name{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
body.phone .filter-bar .filter-bar-name::before{content:"Filter: ";font-weight:400;color:var(--muted)}
body.phone .filter-bar :is(.filter-bar-scope,.filter-bar-hint){display:none!important}
body.phone .filter-bar button{font-size:14px;margin-left:auto;flex:none;border-radius:999px}
/* 2.81.0: Underlying flow's full view on the phone page: short side headings (◂ Bearish, Bullish ▸; the tiles above
 * explain LONG / SHORT) and no third line per cell (it was cut to "LONG sell 2…"). The desktop keeps both. */
body.phone .full-flow-row .head-detail,body.phone .full-flow-side .detail{display:none!important}
/* 2.81.0: the sentiment gauge is flat too (Joel): "Retail sentiment" as the section heading, the state
 * ("Leaning bullish", in its bull / bear colour) on a muted second line instead of after a colon in capitals. */
body.phone #grid>[data-block="sentiment_pulse"] .pulse-v062-colon{display:none}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-v062-state{display:block;margin-top:4px;font-size:15px;font-weight:600;letter-spacing:0;text-transform:lowercase}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-v062-state::first-letter{text-transform:uppercase}
/* 2.81.0: the phone lists are exactly 8 rows (Most traded; Joel: no empty strip under the last row) and 10 (Live
 * tape): the card grows to fit and list.js draws as many rows as the .rows box holds. Expanded (⤢) they show 30
 * rows and the sheet scrolls. */
body.phone #grid>:is([data-block="most_traded"],[data-block="trade_tape"])>.card{height:auto!important}
body.phone #grid>[data-block="most_traded"] .rows{flex:none;height:calc(8 * var(--row))}
body.phone #grid>[data-block="trade_tape"] .rows{flex:none;height:calc(10 * var(--row))}
body.phone .full-sheet:has(>.is-full:is([data-block="most_traded"],[data-block="trade_tape"])){overflow-y:auto;-webkit-overflow-scrolling:touch}
body.phone .full-sheet.grid>.is-full:is([data-block="most_traded"],[data-block="trade_tape"]){flex:none!important;overflow:visible}
body.phone .full-sheet.grid>.is-full:is([data-block="most_traded"],[data-block="trade_tape"])>.card{height:auto!important;overflow:visible}
body.phone .full-sheet .is-full:is([data-block="most_traded"],[data-block="trade_tape"]) .rows{flex:none;height:calc(30 * var(--row))}
/* 2.81.0: expanded Most traded / Live tape on the phone: all four columns, sized for ~370 px (the desktop widths left
 * the name column at zero and pushed Trades and Turnover off screen). Smaller figures; headings on one line. */
body.phone .full-sheet .is-full:is([data-block="most_traded"],[data-block="trade_tape"]){--ndx-font-instrument:14px;--ndx-font-detail:11px;--ndx-font-metric:13px;--ndx-font-column:10px}
body.phone .full-sheet .is-full:is([data-block="most_traded"],[data-block="trade_tape"]) .metric{font-size:13px!important;letter-spacing:-.2px}
body.phone .full-sheet .is-full[data-block="most_traded"] :is(.row,.columns){grid-template-columns:minmax(0,1fr) 100px 44px 70px!important;gap:6px}
body.phone .full-sheet .is-full[data-block="trade_tape"] :is(.row,.columns){grid-template-columns:minmax(0,1fr) 70px 44px 76px!important;gap:6px}
body.phone .full-sheet .is-full:is([data-block="most_traded"],[data-block="trade_tape"]) .columns>*{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.phone .full-sheet .is-full:is([data-block="most_traded"],[data-block="trade_tape"]) .identity-cell{gap:8px}
body.phone .full-sheet .is-full:is([data-block="most_traded"],[data-block="trade_tape"]) .identity-cell>:first-child{width:24px;height:24px;flex:none}
body.phone .full-sheet .is-full[data-block="most_traded"] .metric-sub{font-size:10px}
/* 2.81.0: the phone's expanded Live tape shows the trade time at the start of the second line, not after the name
 * (where a long underlying cut it to "16:…"). Everywhere else the time stays after the name. */
.trade-time-alt{display:none}
body.phone .full-sheet .is-full[data-block="trade_tape"] .primary .trade-time{display:none}
body.phone .full-sheet .is-full[data-block="trade_tape"] .trade-time-alt{display:inline;flex:none;margin-right:6px;color:var(--muted);font-variant-numeric:tabular-nums}
/* 2.95.0: the phone page's header (Joel: the closure chips were not a great fit on iOS). Row 1: the name, then Day
 * summary and ⚙ on the right. Row 2, only when there is something to say: the market state and the closure chips in
 * one smaller strip that scrolls sideways instead of wrapping (their full text stays in the tooltip). */
body.phone .top{flex-wrap:wrap;row-gap:0;column-gap:8px}
/* a zero-height flex item that always starts row 2, so the chips never squeeze onto row 1 */
body.phone .top::after{content:"";order:2;flex-basis:100%;height:0}
body.phone .top>strong{order:1;font-size:17px;white-space:nowrap}
body.phone .top>div:not(.sentiment-line){order:2;margin-left:auto;gap:8px}
body.phone #day-summary{font-size:14px;padding:6px 10px}
body.phone .top>:is(.market-state,.market-calendar){order:3;margin:8px 0 0!important}
body.phone .top>.market-calendar{flex:1 1 0;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
body.phone .top>.market-calendar::-webkit-scrollbar{display:none}
body.phone .top :is(.market-state,.market-calendar-chip){font-size:11px;padding:2px 8px;flex:none}
body.phone .top>.market-state:not([hidden])+.market-calendar{margin-left:6px!important}
/* 2.96.0: Day summary on the phone page (Joel): the written summary folded under "Read the full summary" (JS), and
 * the controls in one row: ‹ date › ▶ Copy. The Live badge (the date says "live") and the description (moved into the
 * folded part) are left out. Desktop and TV unchanged. */
body.phone .full-summary>.card-header{flex-direction:column;align-items:stretch;gap:10px}
body.phone .full-summary :is(.card-header .full-sub,.ds-state){display:none!important}
body.phone .full-summary .ds-tools{flex-wrap:nowrap;justify-content:flex-start;gap:6px}
body.phone .full-summary .ds-pick{flex:1 1 auto;min-width:0}
body.phone .full-summary .ds-replay-btn{font-size:0!important;width:40px}
body.phone .full-summary .ds-replay-btn::before{content:"▶";font-size:13px}
.ds-story-more>summary{cursor:pointer;list-style:none;color:var(--heading);font-weight:600;font-size:14px;padding:4px 0}
.ds-story-more>summary::-webkit-details-marker{display:none}
.ds-story-more>summary::after{content:" ▾"}
.ds-story-more[open]>summary::after{content:" ▴"}
.ds-story-more[open]>summary{margin-bottom:10px}
.ds-story-more>.ds-note{margin-top:8px}
/* 2.96.0: Day summary tables on the phone (Joel): fewer columns (day_summary.js table(): phone / pw / pl), and nothing
 * may push the sheet wider than the screen (it slid sideways and cut the left edge). */
body.phone .full-summary{overflow-x:hidden}
body.phone .full-summary :is(.ds-grid,.ds-box,.ds-table,.ds-row){min-width:0;max-width:100%}
body.phone .full-summary .ds-box{padding:12px 10px}
body.phone .full-summary .ds-row{gap:8px;font-size:12.5px}
body.phone .full-summary .ds-row.is-head{font-size:9.5px;letter-spacing:.04em}
body.phone .full-summary .ds-box h3{flex-wrap:wrap}
body.phone .full-summary .ds-share{gap:6px}
/* 2.96.0: the replay on the phone: the time slider gets its own full-width row under the clock and buttons (it ran off
 * the right edge). */
body.phone .full-summary .dr-head{flex-wrap:wrap;row-gap:10px}
body.phone .full-summary .dr-progress{flex:1 0 100%;min-width:0;order:9}
/* 2.97.0: inside the iOS app (0.5.0, html[data-ndx-app="ios"] set by the app) a floating Liquid Glass toolbar at the
 * bottom has Day summary, Reload, Cards and Settings: the page hides its own Day summary button and leaves room at
 * the bottom so the toolbar never covers the last row. Safari on a phone is unchanged. */
html[data-ndx-app="ios"] body.phone #day-summary{display:none!important}
html[data-ndx-app="ios"] body.phone #grid{padding-bottom:96px!important}
html[data-ndx-app="ios"] body.phone .full-sheet{padding-bottom:88px}
/* 2.98.0: one Settings in the iOS app (Joel): the page's ⚙ menu is hidden there; the app's Settings (glass toolbar)
 * offer its items: appearance, Data health and Full dashboard. */
html[data-ndx-app="ios"] body.phone .top .settings{display:none!important}
/* 2.98.0: Retail sentiment as a bar on the phone page (Joel: one metric, half a screen). The gauge and the animals
 * give way to a slim bearish | bullish bar above the three figures; desktop and TV keep the gauge. */
.pulse-sent-bar{display:none}
body.phone #grid>[data-block="sentiment_pulse"] :is(.pulse-ngm-gauge,.pulse-ngm-gauge-svg,.pulse-animals){display:none!important}
/* the strip is exactly its content: no flex growth or minimum heights from the desktop tile */
body.phone #grid>[data-block="sentiment_pulse"] :is(.pulse-tile,.pulse-v062-heading,.pulse-sent-bar,.pulse-ngm-gauge-figures){flex:none!important;min-height:0!important}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-ngm-gauge-figures{margin-top:0!important}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-tile{height:auto!important;justify-content:flex-start!important}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-sent-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;margin:12px 0 10px;gap:2px;background:color-mix(in srgb,var(--line) 45%,transparent)}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-sent-bar .bear{background:var(--bear,#79e3e4)}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-sent-bar .bull{background:var(--bull,#7652ff)}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-sent-bar .mid{display:none}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-tile{min-height:0!important}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-ngm-gauge-figures{padding:0}
/* 2.98.0: Retail sentiment on the phone page is a slim strip right under the header (Joel: "under the US closed
 * pill"), not a section: a small "RETAIL SENTIMENT · BALANCED" label, the bar and one row of figures. It always comes
 * first when chosen (order 0), whatever its place in the card list. The pulse blocks also lose the fixed height the
 * desktop layout gave them (the black space under the bar). */
body.phone #grid>.pulse-block.phone-on{height:auto!important}
body.phone #grid>.phone-on[data-block="sentiment_pulse"]{order:0!important;border-top:0;border-bottom:1px solid var(--line)}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-tile{padding:2px 16px 10px!important;gap:0!important}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-title{font-size:11px!important;line-height:1.3!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-weight:700!important;color:var(--muted)!important;display:flex;flex-wrap:wrap;align-items:baseline}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-title::first-letter{text-transform:uppercase}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-v062-state{display:inline;margin:0;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-v062-state::before{content:"\00a0·\00a0";color:var(--muted)}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-sent-bar{height:6px;margin:8px 0 6px}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-ngm-gauge-side{flex-direction:row;align-items:baseline;gap:5px}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-ngm-gauge-side strong{font-size:14px}
body.phone #grid>[data-block="sentiment_pulse"] .pulse-ngm-gauge-side span{font-size:9px}
body.phone #grid>[data-block="sentiment_pulse"] :is(.pulse-expand,.full-open,[data-open-full]){display:none!important}
/* 2.99.0: Swedish for the three labels drawn by CSS (i18n.js only sees the page's text) */
html[lang="sv"] .pulse-ticker.news-ticker::before{content:"HÖJDPUNKTER"}
html[lang="sv"] body.phone .filter-bar .filter-bar-name::before{content:"Filter: "}
html[lang="sv"] .pulse-ticker:not(.news-ticker)::before{content:"TOPP 10 I DAG"}
