/* StackIQ design system: the approved Phase D redesign (docs/premium/phase-d/redesign/02-system/system.css), ported for the app.
   Tokens and the safe base apply to every page.
   Every other part applies only inside body.ds: a page opts in with ui.page(..., ds=True). Rules: design-system.md there.
   First generated by output/ux-audit/phaseF/foundation/port_system.py. Since SIQ-CHART-ONE the chart tokens (--chart-*, --c-*) are edited
   here by hand and are not in the Phase D source, so do not re-run the port: it would bring back the white chart.
   SIQ-VISUAL-GATE (8 Nov) tuned by hand too: --shadow (lift), --t-price 44, --t-stat 28, .hero, .cchip (docs/handoff/SIQ-VISUAL-GATE.md). */
/* Fonts: local copies (research/static/fonts, OFL 1.1; README there), so no page asks Google for them (speed audit defect 6) */
@font-face{font-family:'Geist';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/geist-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/geist-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/bricolage-grotesque-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/bricolage-grotesque-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root,body.ds{--bg:#FFFFFF;--panel:#FFFFFF;--ink:#142237;--muted:#4A5A6E;--faint:#4A5A6E;--line:#DCE3E9;--line-strong:#7D8A98;--inset:#EEF1F5;--hover:#F1F4F8;--ctl:#7D8A98;--accent:#10283E;--accent-strong:#10283E;--accent-soft:#EEF1F5;--on-accent:#FFFFFF;--up:#2F6B2C;--down:#B34040;--sale:#0B6FA4;--below:#85620C;--pull:#187949;--na:#4A5A6E;--warn:#8A5A00;--warn-soft:#FBF3E0;--error:#B34040;--error-soft:#F8E9E9;--navy:#10283E;--on-navy:#FFFFFF;--teal:#148B83;--slate:#4F6378;--brand:#0E7C66;--chip:#EEF1F5;--sub:#1F3A5F;--s-focus:#2F6FB0;--s-gold:#A8842C;--s-silver:#8E4B8E;--s-btc:#6E7F2E;--s-share:#5B5BD6;--s-cash:#7A848E;--s-neutral:#5C656F;--grid:#E9ECEA;--chart-bg:#0E1621;--chart-ink:#A9B3BC;--chart-grid:rgb(255 255 255/.06);--chart-line:#E8ECEA;--c-rise:#22C55E;--c-fall:#EF4444;--c-pull:#20a362;--c-below:var(--zone-value);--c-event:#F59E0B;--c-up:var(--c-rise);--c-down:var(--c-fall);--seg-on:#FFFFFF;--scrim:rgb(15 21 27/.38);--shadow:0 1px 2px rgb(16 40 62/.05),0 6px 18px rgb(16 40 62/.05);--shadow-pop:0 8px 30px rgb(0 0 0/.16);--f-body:'Geist',system-ui,-apple-system,'Segoe UI',sans-serif;--f-mono:'Geist Mono',ui-monospace,monospace;--f-brand:'Bricolage Grotesque','Geist',system-ui,sans-serif;--t-xs:14px;--t-base:16px;--t-lg:18px;--t-xl:22px;--t-2xl:28px;--t-3xl:44px;--t-4xl:58px;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--s7:48px;--s8:64px;--r-sm:6px;--r-md:10px;--r-lg:16px;--r-pill:999px;--tap:44px;--gutter:24px;--measure:680px;--maxw:1240px;--rail:268px;--bar-h:60px;--bottom-h:0px;color-scheme:light;}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]),:root:not([data-theme=light]) body.ds{--bg:#0E1622;--panel:#152131;--ink:#E6ECF2;--muted:#A3B1C2;--faint:#A3B1C2;--line:#253447;--line-strong:#61748A;--inset:#1E2D40;--hover:#1E2D40;--ctl:#6B7F96;--accent:#C9D8EA;--accent-strong:#C9D8EA;--accent-soft:#1E2D40;--on-accent:#0E1622;--up:#7CC47F;--down:#EC8A8A;--sale:#5CC0F5;--navy:#C9D8EA;--on-navy:#0E1622;--teal:#4FC1B8;--slate:#93A4B8;--brand:#5CC6A7;--chip:#1E2D40;--sub:#B9CDE6;--below:#EFBF4B;--pull:#23B46C;--na:#A3B1C2;--warn:#F2C14E;--warn-soft:#2B2414;--error:#F97E7E;--error-soft:#2E1A1C;--s-focus:#6AA8F0;--s-gold:#D9B65C;--s-silver:#C98BC9;--s-btc:#A9BC5A;--s-share:#9C9CF5;--s-cash:#8A949E;--s-neutral:#C3CCD4;--grid:#222C36;--chart-bg:#0B1118;--seg-on:#24364D;--scrim:rgb(0 0 0/.55);--shadow:0 1px 0 rgb(255 255 255/.04) inset;--shadow-pop:0 8px 30px rgb(0 0 0/.5);color-scheme:dark}}
:root[data-theme=dark],:root[data-theme=dark] body.ds{--bg:#0E1622;--panel:#152131;--ink:#E6ECF2;--muted:#A3B1C2;--faint:#A3B1C2;--line:#253447;--line-strong:#61748A;--inset:#1E2D40;--hover:#1E2D40;--ctl:#6B7F96;--accent:#C9D8EA;--accent-strong:#C9D8EA;--accent-soft:#1E2D40;--on-accent:#0E1622;--up:#7CC47F;--down:#EC8A8A;--sale:#5CC0F5;--navy:#C9D8EA;--on-navy:#0E1622;--teal:#4FC1B8;--slate:#93A4B8;--brand:#5CC6A7;--chip:#1E2D40;--sub:#B9CDE6;--below:#EFBF4B;--pull:#23B46C;--na:#A3B1C2;--warn:#F2C14E;--warn-soft:#2B2414;--error:#F97E7E;--error-soft:#2E1A1C;--s-focus:#6AA8F0;--s-gold:#D9B65C;--s-silver:#C98BC9;--s-btc:#A9BC5A;--s-share:#9C9CF5;--s-cash:#8A949E;--s-neutral:#C3CCD4;--grid:#222C36;--chart-bg:#0B1118;--seg-on:#24364D;--scrim:rgb(0 0 0/.55);--shadow:0 1px 0 rgb(255 255 255/.04) inset;--shadow-pop:0 8px 30px rgb(0 0 0/.5);color-scheme:dark}
:root[data-gr='1'],:root[data-gr='1'] body.ds{--up:#2F6B2C;--down:#B34040;--c-up:var(--c-rise);--c-down:var(--c-fall)}
:root[data-theme=dark][data-gr='1'],:root[data-theme=dark][data-gr='1'] body.ds{--up:#7CC47F;--down:#EC8A8A}
/* WO29: "Blue rising, orange falling", chosen in Display (data-gr=0) */
:root[data-gr='0'],:root[data-gr='0'] body.ds{--up:#1B65C2;--down:#B93D0B;--c-up:#4DA3FF;--c-down:#FB923C}
:root[data-theme=dark][data-gr='0'],:root[data-theme=dark][data-gr='0'] body.ds{--up:#5AA9F5;--down:#FB923C}
@media (prefers-color-scheme:dark){:root[data-gr='0']:not([data-theme=light]),:root[data-gr='0']:not([data-theme=light]) body.ds{--up:#5AA9F5;--down:#FB923C}}
/* BHP round 2 (VISUAL-IMPACT-AMENDMENT, "BHP notes, round 2"): the hero tint one step stronger, verdict and body type */
:root{
  --zone-value:#EFBF4B;
  --zone-value-ink:light-dark(#725008,#FFDB86);
  --zone-value-soft:light-dark(#FFF4D7,#382B15);
  --zone-value-edge:light-dark(#DFC276,#725A2E);
  --zone-sale:#2F7FE0;
  --zone-sale-ink:light-dark(#1556A8,#9CC4F5);
  --zone-sale-soft:light-dark(#E8F1FC,#15294A);
  --zone-sale-edge:light-dark(#9BC2F0,#3A5F8F);
  --zone-outside:#8E9EB1;
}
/* 23 Nov (Jason, "blue, change it everywhere"): the Value Zone is blue, not teal (it blended with Rising green); a lighter blue on dark */
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--zone-sale:#4C93EA}}
:root[data-theme=dark]{--zone-sale:#4C93EA}
:root,body.ds{--hero-bg:color-mix(in srgb,var(--accent-soft) 92%,var(--accent));--lh-body:1.6;--maxw-body:880px}  /* --maxw-body: a reading column (RESEARCH-PAGE-SPEC A5) */
@media (prefers-color-scheme:dark){:root:not([data-theme=light]),:root:not([data-theme=light]) body.ds{--hero-bg:color-mix(in srgb,var(--panel) 90%,var(--accent))}}
:root[data-theme=dark],:root[data-theme=dark] body.ds{--hero-bg:color-mix(in srgb,var(--panel) 90%,var(--accent))}
/* RESEARCH-PAGE-SPEC F (8 Nov): the dark stage (hero and chart as one surface, dark in both themes, no shadow in dark) and its tiles */
:root,body.ds{--stage-bg:var(--chart-bg);--stage-r:var(--r-lg);--stage-shadow:0 1px 2px rgb(15 23 42/.10),0 12px 32px rgb(15 23 42/.16)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]),:root:not([data-theme=light]) body.ds{--stage-shadow:none}}
:root[data-theme=dark],:root[data-theme=dark] body.ds{--stage-shadow:none}
/* F-11 (Stage 2 audit): light --accent-soft E2F1EB->E7F4EF, --line-strong C9D0CC->8B908D, --s-neutral 3F4A56->5C656F; dark --line-strong
   35424D->5F6A72, --error F87171->F97E7E: every text pair 4.5:1 and every line/series 3:1 (docs/premium/phase-d/redesign/04-qa-mobile/contrast.py). */
/* F-09 (Stage 2 audit, standard R-4): ONE type scale of six steps. Every font size in the app's CSS is one of these
   (tests/test_type_scale.py fails on anything else). Body text is --t-base: 16 px, 17 px on a phone. --t-xs (14 px) is for
   captions, labels and fine print only. The names below are what the pages already use; each is one of the six steps. */
:root,body.ds{--t-label:var(--t-xs);--t-cap:var(--t-xs);--t-small:var(--t-base);--t-body:var(--t-base);--t-h3:var(--t-lg);--t-h2:var(--t-xl);--t-verdict:var(--t-xl);--t-h1:var(--t-2xl);--t-stat:var(--t-2xl);--t-tile:var(--t-2xl);--t-stage-name:var(--t-2xl);--t-display:var(--t-3xl);--t-price:var(--t-3xl);--t-stage-price:var(--t-3xl)}
@media (max-width:599px){:root,body.ds{--t-base:17px;--t-lg:19px;--t-xl:21px;--t-2xl:24px;--t-3xl:36px;--t-4xl:36px;--gutter:16px}}
@media (max-width:899px){:root,body.ds{--bar-h:56px;--bottom-h:0px}}  /* WO29: no bottom bar */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--bar-h) + 12px);scroll-padding-bottom:calc(var(--bottom-h) + 16px)}
body:where(.ds){margin:0;background:var(--bg);color:var(--ink);font:400 var(--t-body)/1.55 var(--f-body);overflow-x:hidden}
:where(.ds) h1,:where(.ds) h2,:where(.ds) h3,:where(.ds) h4,:where(.ds) p,:where(.ds) dl,:where(.ds) dd,:where(.ds) figure{margin:0}
:where(.ds) a{color:var(--accent-strong);text-underline-offset:3px}
:where(.ds) button,:where(.ds) input,:where(.ds) select{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--s-focus);outline-offset:2px;border-radius:var(--r-sm)}
:where(.ds) .num,:where(.ds) .tab,:where(.ds) td.r,:where(.ds) .kf-v,:where(.ds) .price{font-variant-numeric:tabular-nums lining-nums}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:where(.ds) .skip{position:absolute;left:8px;top:-60px;z-index:99;padding:10px 14px;background:var(--panel);border:1px solid var(--ctl);border-radius:var(--r-md)}
:where(.ds) .skip:focus{top:8px}
:where(.ds) .muted{color:var(--muted)}
:where(.ds) .cap{font-size:var(--t-cap);line-height:1.45;color:var(--muted)}
:where(.ds) .small{font-size:var(--t-small);line-height:1.5}
:where(.ds) b,:where(.ds) strong{font-weight:700}  /* F-84: the fonts stop at 700, so 'bolder' inside 600 text is 700, not 900 */
:where(.ds) small{font-size:var(--t-xs)}  /* F-09: not the browser's 'smaller' (83%), which is off the scale */
:where(.ds) .label{font:600 var(--t-label)/1.3 var(--f-body);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
:where(.ds) .display{font:700 var(--t-display)/1.08 var(--f-body);letter-spacing:-.025em}
:where(.ds) .h1,:where(.ds) h1{font:700 var(--t-h1)/1.2 var(--f-body);letter-spacing:-.02em}
:where(.ds) .h2,:where(.ds) h2{font:600 var(--t-h2)/1.3 var(--f-body);letter-spacing:-.01em}
:where(.ds) .h3,:where(.ds) h3{font:600 var(--t-h3)/1.4 var(--f-body)}
:where(.ds) .lead{font-size:var(--t-body);line-height:1.5}
:where(.ds) .prose{max-width:var(--measure)}
.i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:-4px}
.i.s16{width:16px;height:16px;vertical-align:-3px}
.i.s24{width:24px;height:24px}
:where(.ds) .bar{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--line)}  /* opaque: a see-through, blurred bar showed the dark price card and list rows through it on phones (21 Nov) */
:where(.ds) .bar-in{max-width:1440px;margin:0 auto;display:flex;align-items:center;gap:var(--s5);height:var(--bar-h);padding:0 var(--gutter)}
:where(.ds) .brand{display:flex;align-items:center;gap:10px;min-height:var(--tap);color:var(--ink);text-decoration:none;font:700 var(--t-lg)/1 var(--f-brand);letter-spacing:-.02em;flex:none}
:where(.ds) .brand svg{width:30px;height:30px}
:where(.ds) .brand .iq{color:var(--brand)}
:where(.ds) .nav{display:flex;gap:2px;flex:1;min-width:0}
:where(.ds) .nav a{display:flex;align-items:center;gap:6px;min-height:var(--tap);padding:0 12px;border-radius:var(--r-md);color:var(--muted);text-decoration:none;font-size:var(--t-base);font-weight:500;white-space:nowrap}
:where(.ds) .nav a:hover{background:var(--hover);color:var(--ink)}
:where(.ds) .nav a[aria-current=page]{color:var(--ink);background:var(--inset)}
:where(.ds) .iconbtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:var(--tap);height:var(--tap);padding:0 10px;border:0;border-radius:var(--r-md);background:transparent;color:var(--muted);cursor:pointer;flex:none;font-size:var(--t-xs);font-weight:600}
:where(.ds) .iconbtn:hover{background:var(--hover);color:var(--ink)}
:where(.ds) .bar .phone-only{display:none}
@media (max-width:899px){:where(.ds) .bar .nav,:where(.ds) .bar .search{display:none}
:where(.ds) .bar .phone-only{display:inline-flex}
:where(.ds) .bar-in{gap:var(--s2)}
:where(.ds) .bar .spacer{flex:1}}
/* WO29, Jason's decision "a" (14 Nov 2026): no bottom bar. The phone menu (the top bar's menu button) holds the sections; shell.css */
:where(.ds) .tabbar{display:block}
:where(.ds) .wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}
:where(.ds) .grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--s5)}
:where(.ds) .span-12{grid-column:span 12}
:where(.ds) .span-8{grid-column:span 8}
:where(.ds) .span-6{grid-column:span 6}
:where(.ds) .span-4{grid-column:span 4}
:where(.ds) .span-3{grid-column:span 3}
@media (max-width:899px){:where(.ds) .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--s4)}
:where(.ds) .grid>*{grid-column:span 4}}
:where(.ds) .with-rail{display:grid;grid-template-columns:var(--rail) minmax(0,1fr);gap:var(--s6);align-items:start}
:where(.ds) .with-rail>.rail{position:sticky;top:calc(var(--bar-h) + 16px)}
@media (max-width:760px){:where(.ds) .with-rail{grid-template-columns:minmax(0,1fr);gap:var(--s4)}
:where(.ds) .with-rail>.rail{position:static}}
:where(.ds) .phead{padding-top:var(--s6);padding-bottom:var(--s5)}
:where(.ds) .phead h1{display:flex;align-items:center;gap:10px;font-size:var(--t-4xl);line-height:1.05;letter-spacing:-.03em}  /* WO29: the ETF standard's big title */
:where(.ds) .phead h1 .i{display:none}  /* WO29: no icon before the title (etfs.html); decoration only */
:where(.ds) .phead .intro{margin-top:10px;max-width:60ch;color:var(--sub);font-size:var(--t-lg)}
:where(.ds) .phead .status{margin-top:10px}
@media (max-width:599px){:where(.ds) .phead{padding-top:var(--s5);padding-bottom:var(--s4)}}
:where(.ds) .sect{padding:var(--s7) 0;border-top:1px solid var(--line)}
:where(.ds) .sect:first-child{border-top:0}
:where(.ds) .sect-h{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:var(--s4)}
:where(.ds) .sect-h .i{color:var(--teal)}
:where(.ds) .sect-h .more{margin-left:auto;display:inline-flex;align-items:center;gap:4px;min-height:var(--tap);font-size:var(--t-small);font-weight:500;white-space:nowrap}
@media (max-width:599px){:where(.ds) .sect{padding:var(--s6) 0}}
:where(.ds) .surface{background:var(--panel);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow)}
:where(.ds) .pad{padding:28px}
:where(.ds) .surface.hero{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 22%,var(--line))}
:root[data-theme=dark] :where(.ds) .surface.hero{background:var(--panel);border-color:var(--accent)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) :where(.ds) .surface.hero{background:var(--panel);border-color:var(--accent)}}
@media (max-width:599px){:where(.ds) .pad{padding:20px}}
:where(.ds) .divide>*+*{border-top:1px solid var(--line)}
:where(.ds) .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--tap);padding:0 16px;border-radius:var(--r-md);border:1px solid var(--ctl);background:var(--panel);color:var(--ink);font-size:var(--t-base);font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}
:where(.ds) .btn:hover{background:var(--hover)}
:where(.ds) .btn.primary{background:var(--brand);border-color:var(--brand);color:var(--panel)}  /* Tools look (Jason, 22 Nov 2026): the teal primary of Home, Shares and ETFs on every page, not the old navy --accent */
:where(.ds) .btn.primary:hover{background:color-mix(in srgb,var(--brand) 86%,#000);border-color:color-mix(in srgb,var(--brand) 86%,#000)}
:where(.ds) .btn.quiet{border-color:transparent;background:transparent;color:var(--accent-strong);padding:0 8px}
:where(.ds) .btn.quiet:hover{text-decoration:underline}
:where(.ds) .btn[aria-pressed=true],:where(.ds) .btn[aria-expanded=true]{background:var(--chip);border-color:var(--line-strong);color:var(--ink)}
/* WO29: a destructive action is restrained red, never the navy primary, and always asks first (the page's confirm) */
:where(.ds) .btn.danger{color:var(--error);border-color:color-mix(in srgb,var(--error) 55%,var(--line));background:var(--panel)}
:where(.ds) .btn.danger:hover{background:var(--error-soft)}
:where(.ds) .menu .danger{color:var(--error)}:where(.ds) .menu .danger .i{color:inherit}
:where(.ds) .btn:disabled,:where(.ds) .btn[aria-disabled=true]{color:var(--faint);border-style:dashed;cursor:not-allowed;background:transparent}
:where(.ds) .btn .i{width:16px;height:16px}
:where(.ds) .seg{display:inline-flex;padding:3px;gap:2px;background:var(--inset);border-radius:var(--r-md);max-width:100%}
:where(.ds) .seg button,:where(.ds) .seg a{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);min-width:44px;padding:0 12px;border:0;border-radius:var(--r-sm);background:transparent;color:var(--muted);font-size:var(--t-xs);font-weight:600;cursor:pointer;white-space:nowrap;text-decoration:none}
:where(.ds) .seg [aria-pressed=true],:where(.ds) .seg [aria-current=true]{background:var(--seg-on);color:var(--ink);box-shadow:0 1px 2px rgb(0 0 0/.12),inset 0 0 0 1px var(--line-strong)}
:where(.ds) .seg.fill{display:flex}
:where(.ds) .seg.fill>*{flex:1}
:where(.ds) .seg [aria-disabled=true],:where(.ds) .pchip[aria-disabled=true]{color:var(--faint);text-decoration:line-through;text-decoration-thickness:1px;cursor:not-allowed;background:transparent;box-shadow:none}
:where(.ds) .pchip{display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);padding:0 12px;border:1px solid var(--ctl);border-radius:var(--r-md);background:var(--panel);font-size:var(--t-xs);font-weight:600;cursor:pointer;white-space:nowrap}
:where(.ds) .pchip[aria-pressed=true]{background:var(--chip);border-color:transparent;color:var(--ink)}
:where(.ds) .pchip[aria-disabled=true]{border-style:dashed}
:where(.ds) .jump{position:sticky;top:var(--bar-h);z-index:20;background:var(--bg);border-bottom:1px solid var(--line);padding:6px 0}
:where(.ds) .jump-in{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:0 var(--gutter);max-width:var(--maxw);margin:0 auto}
:where(.ds) .jump-in::-webkit-scrollbar{display:none}
/* no-pills (Jason, 22 Nov): jump links are underlined tabs, the current one in ink with a 2px bar, not a grey capsule */
:where(.ds) .jump a{flex:none;display:inline-flex;align-items:center;min-height:var(--tap);padding:0 14px;border-radius:0;color:var(--muted);text-decoration:none;font-size:var(--t-xs);font-weight:600}
:where(.ds) .jump a:hover{color:var(--ink)}
:where(.ds) .jump a[aria-current=true]{background:none;color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:9px}
/* Job 2.1 section tiles (mock 41): Money's and My Wealth's tabs, one row of icon tiles under the header that never wraps; it
   slides sideways when it does not fit (a phone, a PC under about 800 px), the cut-off last tile the hint that there are more.
   The icons are decoration: the name is always shown. WO29: the current tile is navy with a white icon and name (aria-current). */
:where(.ds) .jump.tiles{position:static;background:none;backdrop-filter:none;padding:var(--s2) 0 var(--s1);margin-bottom:var(--s2);border-bottom:0}
:where(.ds) .jump.tiles .jump-in{flex-wrap:nowrap;align-items:flex-start;gap:4px;padding:4px 12px 6px;scroll-padding-inline:8px}
/* on a phone a tile's width is set so the screen edge always falls through the middle of a tile (3.5 to 6.5 tiles show), and
   never under 78 px, so the longest word ("Watch-only") fits on one line at the app's smallest type step (--t-xs) */
@media (max-width:380px){:where(.ds) .jump.tiles{--tile-w:calc((100vw - 12px) / 3.5 - 4px)}}
@media (min-width:381px) and (max-width:462px){:where(.ds) .jump.tiles{--tile-w:calc((100vw - 12px) / 4.5 - 4px)}}
@media (min-width:463px) and (max-width:544px){:where(.ds) .jump.tiles{--tile-w:calc((100vw - 12px) / 5.5 - 4px)}}
@media (min-width:545px) and (max-width:599px){:where(.ds) .jump.tiles{--tile-w:calc((100vw - 12px) / 6.5 - 4px)}}
:where(.ds) .jump.tiles a{width:var(--tile-w,92px);min-height:76px;flex-direction:column;justify-content:center;gap:6px;padding:8px 0;border-radius:var(--r-md);border:1px solid var(--line);background:var(--inset);font-size:var(--t-xs);line-height:1.2;font-weight:500;color:var(--ink);text-align:center}
:where(.ds) .jump.tiles .ico{order:-1;width:28px;height:28px;display:grid;place-items:center;color:inherit}
:where(.ds) .jump.tiles .ico .i{width:24px;height:24px}
:where(.ds) .jump.tiles a:hover{background:var(--hover);border-color:var(--line-strong)}
/* WO29: the current tile is a navy box, its icon and name white (the ETF and Money mocks); the others light grey boxes */
:where(.ds) .jump.tiles a[aria-current]{color:var(--on-navy);font-weight:600;background:var(--navy);border-color:var(--navy);box-shadow:0 1px 2px rgb(16 40 62/.25)}
/* the Markets row under the top bar (ui.sub_bar): no boxes; on a PC one row of icon + name with thin dividers (the ETF mock) */
:where(.ds) .subbar .jump.tiles a:not([aria-current]){background:none;border-color:transparent}
@media (min-width:900px){:where(.ds) .subbar .jump.tiles .jump-in{gap:0;align-items:center;padding:4px var(--gutter) 6px}
:where(.ds) .subbar .jump.tiles a{width:auto;min-height:46px;flex-direction:row;gap:10px;padding:0 22px;font-size:var(--t-lg);font-weight:600}
:where(.ds) .subbar .jump.tiles a+a{margin-left:17px;position:relative}
:where(.ds) .subbar .jump.tiles a+a::before{content:"";position:absolute;left:-9px;top:10px;bottom:10px;border-left:1px solid var(--line)}}
/* Job 2 fix 4: a glossary letter drawn big in the square in place of an icon */
:where(.ds) .jump.tiles .ico.mk{font-size:var(--t-lg);font-weight:700;line-height:1}
@media (min-width:600px){:where(.ds) .jump.tiles:has(.mk) a{width:70px}}  /* the 16 letters fit on one line on a PC */
:where(.ds) .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:where(.ds) .fbar{position:sticky;top:var(--bar-h);z-index:20;display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;padding:10px 0;background:var(--bg);border-bottom:1px solid var(--line)}
:where(.ds) .fbar .input{flex:1 1 220px}
:where(.ds) .fbar .clear{margin-left:auto}
@media (max-width:599px){:where(.ds) .fbar{gap:8px}
:where(.ds) .fbar .input{flex-basis:100%}
:where(.ds) .fbar .select{flex:1}}
:where(.ds) .counts{display:flex;flex-wrap:wrap;gap:6px}
:where(.ds) .fchip{display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);padding:0 12px;border:1px solid var(--ctl);border-radius:var(--r-pill);background:var(--panel);font-size:var(--t-xs);font-weight:600;cursor:pointer;white-space:nowrap}
:where(.ds) .fchip .n{color:var(--muted);font-weight:500}
:where(.ds) .fchip[aria-pressed=true]{background:var(--chip);border-color:transparent}
:where(.ds) .field{display:grid;gap:6px;min-width:0}
:where(.ds) .field>span,:where(.ds) .field>label{font-size:var(--t-cap);font-weight:600;color:var(--muted)}
:where(.ds) .field .hint{font-size:var(--t-cap);color:var(--muted)}
:where(.ds) .input,:where(.ds) .select{height:var(--tap);padding:0 12px;border:1px solid var(--ctl);border-radius:var(--r-md);background:var(--panel);font-size:var(--t-base);min-width:0;width:100%}
:where(.ds) .input::placeholder{color:var(--faint)}
:where(.ds) .select{padding-right:32px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6873' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px;cursor:pointer}
:where(.ds) .chipin{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:var(--tap);padding:4px 6px;border:1px solid var(--ctl);border-radius:var(--r-md);background:var(--panel)}
:where(.ds) .chipin input{flex:1 1 120px;border:0;outline:0;background:transparent;min-height:34px;padding:0 6px}
:where(.ds) .chipin:focus-within{outline:2px solid var(--accent);outline-offset:2px}
/* no-pills: a chosen asset is a squared token with a hairline border (Linear/Stripe), not a grey capsule */
:where(.ds) .tok{display:inline-flex;align-items:center;gap:4px;height:34px;padding:0 4px 0 10px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--panel);font-size:var(--t-xs);font-weight:650}
:where(.ds) .tok button{display:inline-grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}
:where(.ds) .tok button::after{content:"";position:absolute;width:44px;height:44px}
:where(.ds) .tok button{position:relative}
:where(.ds) .mv{font-weight:500;white-space:nowrap}
:where(.ds) .mv.up{color:var(--up)}
:where(.ds) .mv.down{color:var(--down)}
:where(.ds) .mv.flat{color:var(--muted);font-weight:500}
:where(.ds) .mv.up::before{content:"▲\00a0";font-size:var(--t-xs);vertical-align:.12em}
:where(.ds) .mv.down::before{content:"▼\00a0";font-size:var(--t-xs);vertical-align:.12em}
:where(.ds) .cur{font-weight:inherit}
:where(.ds) .unit{color:var(--muted);font-size:var(--t-xs);font-weight:500;margin-left:3px;white-space:nowrap}
:where(.ds) .price{font:600 var(--t-price)/1 var(--f-body);letter-spacing:-.02em}
:where(.ds) .rv{display:inline-flex;align-items:center;gap:6px}
:where(.ds) .rv::before{content:"";width:3px;height:1em;border-radius:var(--r-sm);background:var(--accent);flex:none}
:where(.ds) .kf{display:grid;grid-template-columns:repeat(var(--n,4),minmax(0,1fr));gap:0}
:where(.ds) .kf>div{padding:var(--s3) var(--s4) var(--s3) 0;min-width:0}
:where(.ds) .kf>div+div{padding-left:var(--s4);border-left:1px solid var(--line)}
:where(.ds) .kf dt{font-size:var(--t-cap);color:var(--muted);margin-bottom:2px}
:where(.ds) .kf-v,:where(.ds) .kf dd{font:600 var(--t-stat)/1.15 var(--f-body);letter-spacing:-.01em;white-space:nowrap}
:where(.ds) .kf dd.s{font:400 var(--t-cap)/1.4 var(--f-body);color:var(--muted);white-space:normal;margin-top:2px;letter-spacing:0}
:where(.ds) .kf dd.word{font-size:var(--t-lg);line-height:1.3;white-space:normal}
@media (max-width:599px){:where(.ds) .kf{grid-template-columns:repeat(2,minmax(0,1fr))}
:where(.ds) .kf>div:nth-child(odd){padding-left:0;border-left:0}
:where(.ds) .kf>div:nth-child(n+3){border-top:1px solid var(--line)}}
:where(.ds) .receipt{display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;margin-top:var(--s3);font-size:var(--t-cap);color:var(--muted)}
:where(.ds) .receipt .i{width:16px;height:16px}
:where(.ds) .receipt>span:not(:last-child)::after{content:"·";margin-left:10px;color:var(--faint)}
:where(.ds) .status{display:flex;align-items:flex-start;gap:8px;font-size:var(--t-cap);color:var(--muted)}
:where(.ds) .status .i{width:16px;height:16px;margin-top:1px}
:where(.ds) .status.warn{color:var(--warn)}
:where(.ds) .cond{display:inline-flex;align-items:center;gap:6px;font-size:var(--t-small);font-weight:600;white-space:nowrap;color:var(--c,var(--muted))}
:where(.ds) .cond .i{width:16px;height:16px}
:where(.ds) .cond[data-c=up]{--c:var(--up)}
:where(.ds) .cond[data-c=down]{--c:var(--down)}
:where(.ds) .cond[data-c=sale]{--c:var(--pull)}  /* signals-simple (Jason, 22 Nov: "yes half-green"): Pullback is green, never red (was WO29 red); --sale stays the zone blue */
:root{--pull-half:linear-gradient(90deg,var(--pull) 50%,transparent 50%)}  /* Rising-trend pullback: the list dots' half-green, the one colour for it everywhere.
   --pull and --below are set per theme at the top so words in them stay readable (4.5:1): light #187949 / #85620C, dark #23B46C / #EFBF4B */
:where(.ds) .zone-label.discount i{background:var(--pull-half);box-shadow:inset 0 0 0 2px var(--pull)}:where(.ds) .cond[data-c=value]{--c:var(--zone-sale)}:where(.ds) .cchip[data-c=value]{--c:var(--zone-sale)}
:where(.ds) .cond[data-c=below]{--c:var(--below)}
:where(.ds) .cond[data-c=na]{--c:var(--na);font-weight:500}
:where(.ds) .cond .w{color:var(--ink)}
:where(.ds) .cond.short .w{font-weight:600}
/* no-pills: a badge is its icon (or a solid dot) and a dark word, no outline capsule */
:where(.ds) .badge{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:0;border:0;border-radius:0;font-size:var(--t-cap);font-weight:650;color:var(--ink);white-space:nowrap;background:transparent}
:where(.ds) .badge:not(:has(.i))::before{content:"";flex:none;width:9px;height:9px;border-radius:50%;background:currentColor}
:where(.ds) .badge .i{width:16px;height:16px}
/* no-pills: Private is the lock and the word in quiet small capitals, no grey capsule */
:where(.ds) .chip-priv{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0;border-radius:0;background:none;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
:where(.ds) .chip-priv .i{width:14px;height:14px}
:where(.ds) .priv{border:1.5px dashed var(--line-strong);border-radius:var(--r-lg);padding:var(--s5);background:transparent}
:where(.ds) .priv-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:var(--s3)}
:where(.ds) .tbl{width:100%;border-collapse:collapse;font-size:var(--t-small)}
:where(.ds) .tbl caption{text-align:left;font-size:var(--t-cap);color:var(--muted);padding-bottom:6px}
:where(.ds) .tbl th{text-align:left;font-size:var(--t-cap);font-weight:600;color:var(--ink);padding:8px 12px 8px 0;border-bottom:1px solid var(--line-strong);vertical-align:bottom;background:var(--panel)}
:where(.ds) .tbl td{padding:10px 12px 10px 0;border-bottom:1px solid var(--line);vertical-align:top}
:where(.ds) .tbl td.r,:where(.ds) .tbl th.r{text-align:right;padding-right:0;padding-left:12px}
:where(.ds) .tbl tr:last-child td{border-bottom:0}
:where(.ds) .tbl th.r+th:not(.r),:where(.ds) .tbl td.r+td:not(.r){padding-left:20px}
:where(.ds) .tbl.sticky thead th{position:sticky;top:calc(var(--bar-h) + var(--fbar-h,0px));z-index:2}
:where(.ds) .tbl .nm{display:block;font-size:var(--t-cap);color:var(--muted);font-weight:400}
:where(.ds) .sortbtn{display:inline-flex;align-items:center;gap:4px;min-height:var(--tap);padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
:where(.ds) th.r .sortbtn{flex-direction:row-reverse}
:where(.ds) .sortbtn::after{content:"";width:0;height:0;border:4px solid transparent;opacity:.35;border-top-color:currentColor;margin-top:4px}
:where(.ds) th[aria-sort=ascending] .sortbtn,:where(.ds) th[aria-sort=descending] .sortbtn{color:var(--ink)}
:where(.ds) th[aria-sort=descending] .sortbtn::after{opacity:1}
:where(.ds) th[aria-sort=ascending] .sortbtn::after{opacity:1;border-top-color:transparent;border-bottom-color:currentColor;margin:0 0 4px}
@media (max-width:599px){:where(.ds) .tbl.stack thead{display:none}
:where(.ds) .tbl.stack,:where(.ds) .tbl.stack tbody,:where(.ds) .tbl.stack tr,:where(.ds) .tbl.stack td{display:block;width:100%}
:where(.ds) .tbl.stack tr{padding:12px 0;border-bottom:1px solid var(--line)}
:where(.ds) .tbl.stack td{border:0;padding:2px 0!important;text-align:left!important}
:where(.ds) .tbl.stack td[data-k]::before{content:attr(data-k) " ";color:var(--muted);font-size:var(--t-cap)}}
:where(.ds) .rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
:where(.ds) .rows>li{border-bottom:1px solid var(--line)}
:where(.ds) .row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;min-height:56px;padding:10px 4px;color:inherit;text-decoration:none}
:where(.ds) a.row:hover{background:var(--hover)}
:where(.ds) .row .t1{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;min-width:0}
:where(.ds) .row .code{font-weight:600;flex:0 1 auto;min-width:0}  /* F-08: a long ratio name wraps on a 320 px phone */
:where(.ds) .row .name{color:var(--muted);font-size:var(--t-small);min-width:0}  /* wraps, never cut with "..." (layout gate: the Weekly brief on a phone) */
:where(.ds) .row .v{text-align:right;font-weight:500;white-space:nowrap}
:where(.ds) .row .v:has(.why){grid-column:1/-1;text-align:left;white-space:normal}  /* F-48: a figure's reason takes its own line, never past the edge */
:where(.ds) .row .t2{display:flex;flex-wrap:wrap;gap:2px 14px;align-items:center;font-size:var(--t-small);color:var(--muted)}
:where(.ds) .row .t2b{text-align:right;font-size:var(--t-small);white-space:nowrap}
/* F-58: the fact list (components.facts) on pages without research.css too (Home's "Your week" showed loose bullets and
   full-size glyphs). The same rules as research.css's #rp ones, which still win on the research pages. */
:where(.ds) .facts{list-style:none;padding:0;margin:0;display:grid;gap:6px;max-width:var(--measure);line-height:1.6}
:where(.ds) .fact{display:flex;gap:10px;align-items:flex-start;color:var(--muted)}
:where(.ds) .fact .ft{min-width:0}
:where(.ds) .gd{flex:none;width:18px;height:18px;margin-top:4px;display:inline-grid;place-items:center;color:var(--g,var(--faint))}
:where(.ds) .gd svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
:where(.ds) .gd[data-m=good],:where(.ds) .gd[data-m=mixed],:where(.ds) .gd[data-m=weak]{--g:var(--slate)}  /* WO29: a quality mark is neutral; the shape (tick, wave, cross) and its word carry it */
:where(.ds) .row .ext{color:var(--muted)}
:where(.ds) .showmore{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;padding:12px 0}
:where(.ds) .showmore .cap{margin-right:auto}
:where(.ds) .qrail{display:grid;gap:2px}
:where(.ds) .q{display:grid;grid-template-columns:24px minmax(0,1fr);gap:0 10px;padding:10px 10px;border-radius:var(--r-md);color:var(--ink);text-decoration:none;min-height:var(--tap)}
:where(.ds) .q:hover{background:var(--hover)}
:where(.ds) .q .i{color:var(--muted);margin-top:2px}
:where(.ds) .q b{font-weight:600;font-size:var(--t-base);line-height:1.35}
:where(.ds) .q span{grid-column:2;font-size:var(--t-cap);color:var(--muted);line-height:1.4}
:where(.ds) .q[aria-current=true]{background:var(--panel);box-shadow:inset 3px 0 0 var(--accent),var(--shadow);border:1px solid var(--line)}
:where(.ds) .q[aria-current=true] .i{color:var(--accent)}
:where(.ds) .q.priv-item .i{color:var(--muted)}
:where(.ds) .answer{padding:var(--s6) var(--s6) var(--s5)}
:where(.ds) .answer .ans-lead{font-size:var(--t-body);line-height:1.5;margin:6px 0 var(--s4);max-width:var(--measure)}
:where(.ds) .answer h3{margin-top:var(--s5);font-size:var(--t-base)}
:where(.ds) .nextq{display:flex;justify-content:flex-end;margin-top:var(--s4);border-top:1px solid var(--line);padding-top:6px}
@media (max-width:599px){:where(.ds) .answer{padding:var(--s4)}}
:where(.ds) details.more{border-top:1px solid var(--line);padding:0 6px}
:where(.ds) details.more:last-of-type{border-bottom:1px solid var(--line)}
:where(.ds) details.more>summary{display:flex;align-items:center;gap:14px;min-height:60px;padding:6px 2px;cursor:pointer;list-style:none;font-size:var(--t-xl);line-height:1.3;font-weight:700;color:var(--ink)}
:where(.ds) details.more>summary::after{content:"";margin-left:auto;flex:none;width:8px;height:8px;margin-right:6px;border:solid var(--teal);border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg);transition:transform .15s}
:where(.ds) details.more[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
:where(.ds) details.more>summary:hover{background:var(--hover)}
:where(.ds) details.more>summary:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:var(--r-md)}
/* WO29 (etf-system .fold): an open disclosure is a framed white card, its heading over a line */
:where(.ds) details.more[open]{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--panel);box-shadow:var(--shadow);margin:var(--s4) 0;padding:4px 18px 12px}
:where(.ds) details.more[open]>summary{border-bottom:1px solid var(--line);margin:0 -18px var(--s3);padding:6px 20px}
:where(.ds) details.more[open]+details.more{border-top:0}
@media (max-width:599px){:where(.ds) details.more>summary{font-size:var(--t-lg);min-height:56px;gap:12px}
:where(.ds) details.more[open]{padding:4px 14px 10px}:where(.ds) details.more[open]>summary{margin:0 -14px var(--s3);padding:6px 16px}}
:where(.ds) details.more>summary::-webkit-details-marker{display:none}
:where(.ds) details.more>summary .i{width:28px;height:28px;color:var(--teal)}
:where(.ds) details.more>.body{padding:0 0 var(--s4) 0;font-size:var(--t-small);max-width:none}
/* WO29 (etf-system .defs): definitions as icon / term / meaning rows (components.defs) */
:where(.ds) .defs{display:grid;grid-template-columns:minmax(200px,320px) minmax(0,1fr);margin:0}
:where(.ds) .defs>div{display:contents}
:where(.ds) .defs :is(dt,dd){display:flex;align-items:center;margin:0;padding:14px 0;border-bottom:1px solid var(--line)}
:where(.ds) .defs dt{gap:14px;font-weight:600;font-size:var(--t-lg);padding-right:16px}
:where(.ds) .defs .di{flex:none;display:grid;place-items:center;width:28px}
:where(.ds) .defs .di .i{width:24px;height:24px;color:var(--teal)}
:where(.ds) .defs dd{font-size:var(--t-base);color:var(--ink)}
:where(.ds) .defs dt>:not(.di){white-space:normal;min-width:0}  /* a long term (a condition word) wraps in its column, never over the meaning */
@media (max-width:599px){:where(.ds) .defs{grid-template-columns:minmax(0,128px) minmax(0,1fr);column-gap:10px}:where(.ds) .defs dt{gap:8px;font-size:var(--t-xs);padding-right:0}:where(.ds) .defs .di{width:20px}:where(.ds) .defs .di .i{width:20px;height:20px}:where(.ds) .defs dd{font-size:var(--t-xs)}:where(.ds) .defs :is(dt,dd){padding:11px 0}}
:where(.ds) .notes{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:14px 0 4px;font-size:var(--t-xs)}
:where(.ds) .notes>span{display:inline-flex;align-items:center;gap:8px}:where(.ds) .notes .i{width:18px;height:18px;color:var(--muted)}
:where(.ds) .notes .lnk{margin-left:auto}@media (max-width:599px){:where(.ds) .notes{flex-direction:column;align-items:flex-start}:where(.ds) .notes .lnk{margin-left:0}}
:where(.ds) .lnk{display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);font-weight:600;color:var(--navy);text-decoration:none}
:where(.ds) .lnk .i{width:16px;height:16px;color:var(--teal)}
:where(.ds) details.more>.body p+p{margin-top:8px}
:where(.ds) .term{white-space:nowrap;border:0;padding:0;background:none;color:inherit;font:inherit;text-decoration:underline dotted;text-decoration-color:var(--faint);text-underline-offset:3px;cursor:help;position:relative}
/* F-82: a word or link in running text is a tap target of at least 24 px tall. The padding grows the tap area and the equal
   negative margin keeps every line where it was. [data-def] beats the glossary's own padding:0. */
body.ds button.term[data-def],:where(.ds) :is(p,li,dd,div)>a:not([class]){padding-block:3px;margin-block:-3px}
:where(.ds) .tip{position:absolute;z-index:40;left:0;top:calc(100% + 6px);width:max-content;max-width:min(300px,80vw);padding:10px 12px;border-radius:var(--r-md);background:var(--ink);color:var(--bg);font-size:var(--t-xs);line-height:1.45;font-weight:400;text-align:left;box-shadow:var(--shadow-pop)}
:where(.ds) .tip a{color:inherit}
:where(.ds) .chart-card{padding:16px 18px}
:where(.ds) .chead{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 12px;align-items:baseline}
:where(.ds) .chead h2,:where(.ds) .chead h3{font-size:var(--t-lg);font-weight:600;line-height:1.4;margin:0;letter-spacing:0}
:where(.ds) .when{color:var(--muted);font-size:var(--t-xs)}
:where(.ds) .readout{display:flex;flex-wrap:wrap;gap:2px 12px;margin:8px 0 6px;min-height:22px;font-size:var(--t-xs);color:var(--muted)}
:where(.ds) .readout b{color:var(--ink);font-weight:600}
:where(.ds) .plot{position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--gr,0px);height:var(--ph,340px)}
:where(.ds) .plot:focus-visible{outline-offset:4px}
:where(.ds) .lwc{min-width:0;height:100%}
:where(.ds) .gut{position:relative;height:100%;font-size:var(--t-xs);color:var(--muted);pointer-events:none}
:where(.ds) .gut .tk{position:absolute;left:8px;transform:translateY(-50%);white-space:nowrap}
:where(.ds) .gut .last{position:absolute;left:6px;transform:translateY(-50%);white-space:nowrap;font-weight:600;background:var(--ink);color:var(--panel);border-radius:var(--r-sm);padding:1px 5px}
:where(.ds) .tools{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;margin-top:12px}
:where(.ds) .chart-legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px;font-size:var(--t-cap);color:var(--muted);list-style:none;padding:0}
:where(.ds) .chart-legend li{display:inline-flex;flex-wrap:wrap;align-items:center;gap:0 6px;max-width:100%}  /* a long key (with a term in it) wraps, never past the edge */
:where(.ds) .chart-legend .sw{width:14px;height:3px;border-radius:var(--r-sm);background:var(--c)}
:where(.ds) .chart-legend .sw.dash{background:repeating-linear-gradient(90deg,var(--c) 0 5px,transparent 5px 8px)}
:where(.ds) .chart-legend .sw.base{background:repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 5px);opacity:.6}
:where(.ds) .chart-sum{margin-top:12px;font-size:var(--t-xs);max-width:var(--measure)}
:where(.ds) .credit{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line);font-size:var(--t-xs);color:var(--muted)}
:where(.ds) .credit a{color:var(--muted)}
@media (max-width:599px){:where(.ds) .chart-card{padding:14px}
:where(.ds) .plot{--ph:250px}
:where(.ds) .tools .seg{display:flex;width:100%}
:where(.ds) .tools .seg>*{flex:1;padding:0 6px}
:where(.ds) .tools .acts{display:flex;gap:8px;width:100%}
:where(.ds) .tools .acts .btn{flex:1}}
:where(.ds) .spark{display:block;width:96px;height:28px;overflow:visible}
:where(.ds) .spark path{fill:none;stroke:var(--s-neutral);stroke-width:1.5;stroke-linejoin:round}
:where(.ds) .spark circle{fill:var(--s-neutral)}
:where(.ds) .rbar{position:relative;height:28px;margin:6px 0 2px;max-width:420px}
:where(.ds) .rbar .track{position:absolute;left:0;right:0;top:13px;height:2px;background:var(--line-strong);border-radius:var(--r-sm)}
:where(.ds) .rbar .tick{position:absolute;top:7px;width:2px;height:14px;background:var(--muted);transform:translateX(-1px)}
:where(.ds) .rbar .tick.sector{background:transparent;border-left:2px dotted var(--muted)}
:where(.ds) .rbar .dot{position:absolute;top:6px;width:16px;height:16px;border-radius:50%;background:var(--ink);border:3px solid var(--panel);box-shadow:0 0 0 1px var(--ink);transform:translateX(-8px)}
:where(.ds) .rbar-l{display:flex;justify-content:space-between;max-width:420px;font-size:var(--t-cap);color:var(--muted)}
:where(.ds) .pbars{display:grid;gap:8px;max-width:520px}
:where(.ds) .pbars .pb{display:grid;grid-template-columns:7.5em minmax(0,1fr) 6.5em;gap:10px;align-items:center;font-size:var(--t-small)}
:where(.ds) .pbars .track{height:14px;background:var(--inset);border-radius:var(--r-sm);position:relative;overflow:hidden}
:where(.ds) .pbars .fill{position:absolute;inset:0 auto 0 0;background:var(--s-cash);border-radius:var(--r-sm)}
:where(.ds) .pbars .fill.real{background:var(--slate)}
:where(.ds) .pbars .base{position:absolute;top:-3px;bottom:-3px;width:0;border-left:1.5px dotted var(--ink)}
:where(.ds) .pbars .v{text-align:right;font-weight:600}
:where(.ds) .xbar{display:flex;height:14px;border-radius:var(--r-sm);overflow:hidden;max-width:520px;background:var(--inset)}
:where(.ds) .xbar span{display:block;height:100%;border-right:2px solid var(--panel)}
:where(.ds) .xbar span:nth-child(1){background:var(--s-neutral)}
:where(.ds) .xbar span:nth-child(2){background:color-mix(in srgb,var(--s-neutral) 70%,var(--panel))}
:where(.ds) .xbar span:nth-child(3){background:color-mix(in srgb,var(--s-neutral) 45%,var(--panel))}
:where(.ds) .xbar span:nth-child(4){background:color-mix(in srgb,var(--s-neutral) 28%,var(--panel))}
:where(.ds) .xkey{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px;font-size:var(--t-small);list-style:none;padding:0}
:where(.ds) .xkey b{font-weight:600}
:where(.ds) .tl{list-style:none;margin:0;padding:0}
:where(.ds) .tl li{display:grid;grid-template-columns:6.5em 22px minmax(0,1fr) auto;gap:2px 10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);font-size:var(--t-small)}
:where(.ds) .tl .d{color:var(--muted)}
:where(.ds) .tl .mk{width:12px;height:12px;justify-self:center}
:where(.ds) .tl .mk.diamond{transform:rotate(45deg);background:var(--up);width:9px;height:9px}
:where(.ds) .tl .mk.ring{border:2px solid var(--down);border-radius:50%}
:where(.ds) .tl .mk.avg{border-top:2px dotted var(--below);height:0;width:14px}
@media (max-width:599px){:where(.ds) .tl li{grid-template-columns:22px minmax(0,1fr) auto}
:where(.ds) .tl .d{grid-column:2/-1;order:-1;font-size:var(--t-cap)}}
:where(.ds) .skel{display:block;height:12px;border-radius:var(--r-sm);background:var(--inset);margin:8px 0}
:where(.ds) .state{display:grid;justify-items:start;gap:8px;padding:var(--s5);border:1px solid var(--line);border-radius:var(--r-lg);background:var(--panel)}
:where(.ds) .state .i{color:var(--muted)}
:where(.ds) .state.err{border-color:color-mix(in srgb,var(--error) 40%,var(--line));background:var(--error-soft)}
:where(.ds) .state.err .i{color:var(--error)}
:where(.ds) .nodata{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
:where(.ds) .nodata .dash{font-weight:600;color:var(--faint)}
:where(.ds) .nodata .why{font-size:var(--t-small);color:var(--muted)}
:where(.ds) .scrim{position:fixed;inset:0;z-index:60;background:var(--scrim)}
:where(.ds) .sheet{position:fixed;left:0;right:0;bottom:0;z-index:61;max-height:85dvh;overflow:auto;background:var(--panel);border-radius:var(--r-lg) var(--r-lg) 0 0;box-shadow:var(--shadow-pop);padding:8px var(--gutter) calc(16px + env(safe-area-inset-bottom))}
:where(.ds) .sheet-h{display:flex;align-items:center;justify-content:space-between;min-height:var(--tap);margin-bottom:4px}
:where(.ds) .sheet .grab{width:36px;height:4px;border-radius:var(--r-sm);background:var(--line-strong);margin:4px auto 8px}
:where(.ds) .menu{list-style:none;margin:0;padding:0}
:where(.ds) .menu a,:where(.ds) .menu button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:0 6px;border:0;background:none;color:var(--ink);text-decoration:none;font-size:var(--t-base);font-weight:500;text-align:left;cursor:pointer;border-radius:var(--r-md)}
:where(.ds) .menu a:hover,:where(.ds) .menu button:hover{background:var(--hover)}
:where(.ds) .menu .i{color:var(--muted)}
:where(.ds) .menu .grp{padding:12px 6px 4px}
:where(.ds) .search{position:relative;display:flex;align-items:center;flex:0 1 320px}
:where(.ds) .search>.i{position:absolute;left:12px;color:var(--muted);pointer-events:none}
:where(.ds) .search input{width:100%;height:var(--tap);padding:0 12px 0 40px;border:1px solid var(--ctl);border-radius:var(--r-md);background:var(--panel);font-size:var(--t-base)}
:where(.ds) .search.big{flex:none;max-width:640px}
:where(.ds) .search.big input{height:52px;font-size:var(--t-lg);padding-left:44px}
:where(.ds) .suggest{margin-top:6px;max-width:640px;padding:6px;background:var(--panel);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-pop)}
:where(.ds) .suggest .grp{padding:8px 10px 4px}
:where(.ds) .suggest a{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:0 10px;align-items:center;min-height:var(--tap);padding:4px 10px;border-radius:var(--r-md);color:var(--ink);text-decoration:none}
:where(.ds) .suggest a[aria-selected=true],:where(.ds) .suggest a:hover{background:var(--hover)}
:where(.ds) .suggest .av{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--inset);font-size:var(--t-xs);font-weight:700;color:var(--muted)}
:where(.ds) .suggest .k{font-size:var(--t-cap);color:var(--muted);white-space:nowrap}
:where(.ds) .errcard{max-width:560px;margin:var(--s7) auto;padding:var(--s6);text-align:left}
:where(.ds) .errcard h1{font-size:var(--t-2xl)}
:where(.ds) .errcard .search{margin:var(--s4) 0}
:where(.ds) .foot{margin-top:var(--s7);padding-top:var(--s5);padding-bottom:var(--s7);background:linear-gradient(var(--line),var(--line)) content-box top/100% 1px no-repeat;font-size:var(--t-cap);color:var(--muted)}
:where(.ds) .foot p{max-width:var(--measure)}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
:where(.ds) .tbl td>a:first-child{display:inline-flex;align-items:center;min-height:var(--tap);margin:-10px 0}
:where(.ds) .chart-card .closefull{display:none}
:where(.ds) .chart-card.is-full{position:fixed;inset:0;z-index:70;margin:0!important;border:0;border-radius:0;overflow:auto;display:flex;flex-direction:column;padding:12px var(--gutter) calc(12px + env(safe-area-inset-bottom))}
:where(.ds) .chart-card.is-full>*{flex:none}
:where(.ds) .chart-card.is-full .chead{padding-right:112px;min-height:var(--tap);align-items:center}
:where(.ds) .chart-card.is-full .closefull{display:inline-flex;position:absolute;top:12px;right:var(--gutter);z-index:2}
:where(.ds) .chart-card.is-full .plot{--ph:max(260px,calc(100dvh - 260px))!important}
:where(.ds) .chart-card.is-full .expand{display:none}
body.has-full:where(.ds){overflow:hidden}
body.has-full:where(.ds) .bar,body.has-full:where(.ds) .tabbar,body.has-full:where(.ds) .minibar{visibility:hidden}
:where(.ds) .switch{display:inline-flex;align-items:center;gap:10px;min-height:var(--tap);border:0;background:none;padding:0;cursor:pointer;font-weight:600;font-size:var(--t-xs);color:var(--ink);text-align:left}
:where(.ds) .switch .tr{width:42px;height:24px;border-radius:var(--r-lg);background:var(--ctl);position:relative;flex:none}
:where(.ds) .switch .tr::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgb(0 0 0/.3)}
:where(.ds) .switch[aria-checked=true] .tr{background:var(--navy)}
:where(.ds) .switch[aria-checked=true] .tr::after{left:21px}
:where(.ds) .switch[aria-disabled=true]{cursor:not-allowed;color:var(--muted)}
:where(.ds) .switch .cap{font-weight:400}
:where(.ds) .ph-only,:where(.ds) .only-phone{display:none}
@media (max-width:599px){:where(.ds) .ph-only,:where(.ds) .only-phone{display:block}
:where(.ds) .dk-only,:where(.ds) .only-desk{display:none!important}}
:where(.ds) .narrow-only,:where(.ds) .list-phone,:where(.ds) .cview-m{display:none}
@media (max-width:899px){:where(.ds) .narrow-only,:where(.ds) .list-phone,:where(.ds) .cview-m{display:block}
:where(.ds) .wide-only,:where(.ds) .list-desk,:where(.ds) .cview-d{display:none}}
:where(.ds) .lhead{padding:var(--s5) 0 var(--s3)}
:where(.ds) .lhead-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
:where(.ds) .lhead h1{display:flex;align-items:center;gap:10px;font-size:var(--t-4xl);line-height:1.05;letter-spacing:-.03em}
:where(.ds) .lhead h1 .i{display:none}
:where(.ds) .lhead .status{margin-top:8px}
:where(.ds) .lhead .status+.status{margin-top:4px}
@media (max-width:599px){:where(.ds) .lhead{padding:var(--s3) 0 var(--s1)}
:where(.ds) .lhead h1{font-size:var(--t-4xl)}}
:where(.ds) .mast{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 24px}
:where(.ds) .mast .act{padding-top:var(--s6)}
@media (max-width:599px){:where(.ds) .mast .act{padding-top:0;margin-top:-8px;margin-bottom:var(--s4)}}
:where(.ds) .navdd{position:relative}
:where(.ds) .navdd>button{display:flex;align-items:center;gap:6px;min-height:var(--tap);padding:0 12px;border:0;border-radius:var(--r-md);background:transparent;color:var(--muted);font-size:var(--t-base);font-weight:500;cursor:pointer}
:where(.ds) .navdd>button[aria-current=page]{color:var(--ink);background:var(--inset)}
:where(.ds) .ddpanel{position:absolute;top:calc(100% + 6px);left:0;z-index:50;display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;width:520px;padding:12px 14px}
:where(.ds) .ddpanel .menu a{min-height:44px}
:where(.ds) .menu a small,:where(.ds) .menu .sub{display:block;color:var(--muted);font-size:var(--t-xs);font-weight:400;line-height:1.3}
:where(.ds) .menu [aria-checked]{justify-content:space-between}
:where(.ds) .menu [aria-checked] .n{color:var(--muted);font-weight:500;margin-left:auto}
:where(.ds) .menu [aria-checked=true]{background:var(--accent-soft);font-weight:600}
:where(.ds) .menu a[aria-current=true]{background:var(--inset)}
:where(.ds) .sheet .acts{display:flex;gap:10px;position:sticky;bottom:-16px;background:var(--panel);padding:12px 0 4px;border-top:1px solid var(--line);margin-top:12px}
:where(.ds) .sheet .acts .btn{flex:1}
@media (min-width:900px){:where(.ds) .sheet.pop{left:auto;right:max(var(--gutter),calc((100vw - var(--maxw))/2 + var(--gutter)));top:calc(var(--bar-h) + 120px);bottom:auto;width:380px;border-radius:var(--r-lg);border:1px solid var(--line)}
:where(.ds) .sheet.pop .grab{display:none}
:where(.ds) .scrim.pop{background:transparent}}
:where(.ds) .kv{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);margin:0;border-top:1px solid var(--line)}
:where(.ds) .kv>dt,:where(.ds) .kv>dd{padding:10px 0;border-bottom:1px solid var(--line);font-size:var(--t-small)}
:where(.ds) .kv>dt{color:var(--muted);padding-right:16px}
:where(.ds) .kv>dd{text-align:right;font-weight:600}
:where(.ds) .kv>dd .cap{display:block;font-weight:400}
:where(.ds) .kv.wide{grid-template-columns:minmax(9em,auto) minmax(0,1fr)}
:where(.ds) .kv.wide>dd{text-align:left;font-weight:400}
@media (max-width:599px){:where(.ds) .kv.wide{grid-template-columns:1fr}
:where(.ds) .kv.wide>dt{border-bottom:0;padding-bottom:0}
:where(.ds) .kv.wide>dd{padding-top:2px}}
:where(.ds) .yn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:26px;padding:0 10px;border:1px solid var(--line-strong);border-radius:var(--r-pill);font-size:var(--t-cap);font-weight:600;color:var(--ink);background:transparent}
:where(.ds) .yn.no{color:var(--muted);font-weight:500}
:where(.ds) .suspect{display:inline-flex;align-items:center;gap:4px;color:var(--warn);font-weight:600}
:where(.ds) .suspect .i{width:16px;height:16px}
:where(.ds) .sw:where(:not([role=switch])){display:inline-block;width:12px;height:12px;border-radius:var(--r-sm);background:var(--c);flex:none}  /* a colour swatch; never the chart's switches (Home's Chart settings, layout gate 9 Nov) */
:where(.ds) .sw.dash{background:transparent;border:2px dashed var(--c)}
:where(.ds) .sw.off{background:transparent;border:1.5px dashed var(--c)}
:where(.ds) .chart-legend .sw{border:0;border-radius:var(--r-sm)}
:where(.ds) .was .cond .i{opacity:.72}  /* the faded "was" look on its icon only: faded words fell below 4.5:1 contrast */
:where(.ds) .was .cond .w{color:var(--muted);font-weight:500}
:where(.ds) .to{color:var(--muted);margin:0 2px}
:where(.ds) .row .t2 .was{display:inline-flex}
:where(.ds) .tl .mk.diamond.dn{background:var(--down)}
:where(.ds) .tl li.more-row{display:none}
:where(.ds) .tl.all li.more-row{display:grid}
:where(.ds) .rowx{display:flex;align-items:center;gap:4px}
:where(.ds) .rowx>.row{flex:1;min-width:0}
:where(.ds) .rowx>.iconbtn{align-self:center}
:where(.ds) .rows>li{position:relative}
:where(.ds) .rowmenu{position:absolute;right:0;top:calc(100% - 6px);z-index:25;min-width:200px;padding:6px;background:var(--panel);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-pop)}
:where(.ds) .asearch{position:relative}
:where(.ds) .asearch .suggest{position:absolute;left:0;right:0;z-index:26;max-width:none}
:where(.ds) .suggest .note{padding:8px 10px;font-size:var(--t-cap);color:var(--muted)}
:where(.ds) .kf.lg dd:not(.s){font-size:var(--t-2xl)}
:where(.ds) .xtype{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border:1px solid var(--line-strong);border-radius:var(--r-pill);font-size:var(--t-cap);font-weight:600;color:var(--ink);white-space:nowrap}
:where(.ds) .xtype .i{width:16px;height:16px;color:var(--muted)}
:where(.ds) .xtype[data-x="2"]{border-style:dashed}
:where(.ds) .xtype[data-x="3"]{background:var(--inset);border-color:transparent}
:where(.ds) .prod{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
:where(.ds) .prod>li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:10px 4px;border-bottom:1px solid var(--line)}
:where(.ds) .prod .t1{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;min-width:0}
:where(.ds) .prod .code{font-weight:600}
:where(.ds) .prod a.code{display:inline-flex;align-items:center;min-height:var(--tap);margin:-12px 0}
:where(.ds) .prod .name{color:var(--muted);font-size:var(--t-small)}
:where(.ds) .prod .v{text-align:right;font-size:var(--t-small);white-space:nowrap}
:where(.ds) .prod .t2{grid-column:1/-1;font-size:var(--t-small);color:var(--muted)}
:where(.ds) .prod .t2 b{color:var(--ink);font-weight:600}
:where(.ds) .xgrp{margin-top:var(--s4)}
:where(.ds) .xgrp>h4{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:var(--t-base);font-weight:600}
@media (prefers-color-scheme:dark){:root[data-gr='1']:not([data-theme=light]),:root[data-gr='1']:not([data-theme=light]) body.ds{--up:#7CC47F;--down:#EC8A8A}}
:where(.ds) .cchip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 12px 4px 10px;border-radius:var(--r-md);font-weight:600;font-size:var(--t-base);line-height:1.25;color:var(--ink);background:var(--panel);border:1px solid var(--line)}
:where(.ds) .cchip .i{width:16px;height:16px;color:var(--c,var(--na))}
:where(.ds) .cchip[data-c=up]{--c:var(--up)}:where(.ds) .cchip[data-c=down]{--c:var(--down)}:where(.ds) .cchip[data-c=sale]{--c:var(--pull)}:where(.ds) .cchip[data-c=below]{--c:var(--below)}:where(.ds) .cchip[data-c=na]{--c:var(--na)}
/* RESEARCH-PAGE-SPEC K (Jason, 8 Nov 15:42): the shared rhythm: --measure 680 px (the reading column in every card), --t-verdict 24 px,
   .pad 28 px (20 on a phone). The answer-card parts (components.py: facts, measures, chart key, flag) are drawn in research.css,
   where those parts live while only the research pages use them (old-look pages: this file's page parts stay on .ds pages). */
/* rule 2's dollar example (research/dollars.py) sits inside values that never wrap (a tile's figure): it may wrap, so a phone never scrolls sideways */
:where(.ds) .dx{white-space:normal}@media (max-width:599px){:where(.ds) .row .v:has(.dx){grid-column:1/-1;text-align:left;white-space:normal}}  /* in a row it takes its own line, like F-48 */

/* WO29 shell: the Markets second row (ui.sub_bar) sits under the top bar, full width, like the ETF mock */
:where(.ds) .subbar{border-bottom:1px solid var(--line);background:var(--panel)}
:where(.ds) .subbar .jump.tiles{max-width:1440px;margin:0 auto;padding:6px 0}
/* WO29: the dark chart surfaces (both themes) carry the dark theme's gain and loss colours, so a rise or fall drawn on them
   reads at 3:1 or more (the light page's #2f6b2c / #b34040 are for white). The chart's own series colours are unchanged. */
:where(.ds) :is(.pc .surface,.pc .alt,.ppsurf,.diag .surf,.hm-surf,.wm-spark){--up:#7CC47F;--down:#EC8A8A}
/* WO29 5b (auditor A21): on a phone the section row (Shares ... Markets now) slides; a soft fade at its right edge shows
   it, and room at its end lets the last tile clear the fade */
@media (max-width:899px){:where(.ds) .subbar .jump.tiles{position:relative;top:0}
 :where(.ds) .subbar .jump.tiles::after{content:"";position:absolute;top:0;right:0;bottom:0;width:40px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--panel) 90%)}
 :where(.ds) .subbar .jump.tiles .jump-in{padding-right:40px}}
/* search rows (Jason, 21 Nov 2026): the list under any search box, its logo or letter circle */
:where(.ds) .sr-pop{position:fixed;z-index:90}
:where(.ds) .suggest .sr-mkt{display:inline-block;margin:0 4px 0 6px;padding:1px 6px;border:1px solid var(--line);border-radius:6px;background:var(--inset);color:var(--muted);font-size:11px;font-weight:700;line-height:16px;letter-spacing:.05em;vertical-align:1px}  /* the market tag: ASX, US (look-fixes-2) */
:where(.ds) .sr-pop .suggest{margin:0;max-width:none;max-height:min(70vh,600px);overflow-y:auto}
:where(.ds) .suggest .av{position:relative;overflow:hidden;flex:none}
:where(.ds) .suggest .av img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;border-radius:50%}
:where(.ds) .suggest a>span:nth-child(2){min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
:where(.ds) .suggest a .cap{color:var(--muted)}
