/* The Desk's panel notes behind a small i (v70, 14 Oct 2026), in their own sheet so the dark glass build (hv-deep.css,
   scripts/deep-glass) is not affected: both looks are written out here. Harsh: "we don't need to show this ... just put
   this into an 'i' next to the heading or the title". */
html body .hvd .dsk .ins .ih{position:relative}
html body .hvd .dsk .ins .ih-t{display:flex;align-items:center;gap:10px;margin-top:8px}
html body .hvd .dsk .ins .ih-t>h2{margin-top:0}
html body .hvd .dsk .dq>summary{list-style:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;cursor:pointer;transition:background .15s,color .15s}
html body .hvd .dsk .dq>summary::-webkit-details-marker{display:none}
html body .hvd .dsk .dq>summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
html body .hvd .dsk .dq-pop{position:absolute;left:22px;right:22px;top:calc(100% + 8px);z-index:25;max-width:600px;padding:14px 16px;border-radius:14px;font-size:13.5px;line-height:1.55;text-align:left}
html body .hvd .dsk .dq-pop p{margin:0 0 8px}
html body .hvd .dsk .dq-pop p:last-child{margin-bottom:0}
html body .hvd .dsk .dq-pop .dq-h{font-weight:600}
html body .hvd .dsk .dq-pop .cc-key{display:grid;gap:4px;margin:0 0 8px;font-size:13.5px}
html body .hvd .dsk .dq-pop :is(.sx-more,.bmc-note){margin:0;font-size:13px;line-height:1.5}
/* the dark glass */
html body .hvd.env-light .dsk .dq>summary{color:rgba(224,233,244,.88);background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(169,203,238,.45)}
html body .hvd.env-light .dsk .dq>summary:hover{background:rgba(255,255,255,.14)}
html body .hvd.env-light .dsk .dq[open]>summary{background:#A9CBEE;color:#0E203D;box-shadow:none}
html body .hvd.env-light .dsk .dq-pop{background:rgba(14,32,58,.97);border:1px solid rgba(169,203,238,.35);color:rgba(236,242,249,.92);box-shadow:0 18px 40px -16px rgba(0,0,0,.6);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html body .hvd.env-light .dsk .dq-pop :is(p,.sx-more,.bmc-note,.cc-key){color:rgba(236,242,249,.9)}
/* cream */
html body .hvd:not(.env-light) .dsk .dq>summary{color:#1D4A70;background:#fff;box-shadow:inset 0 0 0 1px rgba(29,74,112,.35)}
html body .hvd:not(.env-light) .dsk .dq>summary:hover{background:rgba(29,74,112,.08)}
html body .hvd:not(.env-light) .dsk .dq[open]>summary{background:#1D4A70;color:#fff;box-shadow:none}
html body .hvd:not(.env-light) .dsk .dq-pop{background:#fff;border:1px solid rgba(30,26,23,.12);color:#2B2622;box-shadow:0 18px 40px -18px rgba(30,26,23,.35)}
html body .hvd:not(.env-light) .dsk .dq-pop :is(p,.sx-more,.bmc-note,.cc-key){color:#3F3731}
@media(max-width:760px){html body .hvd .dsk .dq-pop{left:14px;right:14px}}
/* v70: "The full story" in a Moving together card opens its group's drop-down under the cards */
html body .hvd .dsk .tgc .tg-go{display:inline-block;margin-top:8px;font-size:13px}

/* ---------- v71 (14 Oct 2026): stories open in place ----------
   Harsh: "when I click on the full story, it scrolls me down ... offer a quick dropdown ... an option to drop up". A
   researched move shows two sentences & "Read the full story"; the story opens in a row right under the company, with
   "Close the story" at its end. A Moving together card opens its story inside itself & takes the whole row. */
html body .hvd .dsk table.bmt td.bw .bst-sum{margin:0 0 8px;font-size:13.5px;line-height:1.5}
html body .hvd .dsk :is(.bst-tog,.st-close,.tg-st>summary){display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:999px;font:600 13px/1.2 var(--fb);cursor:pointer;white-space:nowrap;list-style:none}
html body .hvd .dsk .tg-st>summary::-webkit-details-marker{display:none}
html body .hvd .dsk :is(.bst-tog,.tg-st>summary)::after{content:'';width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
html body .hvd .dsk :is(.bst-tog[aria-expanded="true"],.tg-st[open]>summary)::after{transform:translateY(2px) rotate(-135deg)}
html body .hvd .dsk .st-close::before{content:'';width:6px;height:6px;border-left:2px solid currentColor;border-top:2px solid currentColor;transform:translateY(2px) rotate(45deg)}
html body .hvd .dsk :is(.bst-tog,.st-close,.tg-st>summary):focus-visible{outline:2px solid currentColor;outline-offset:2px}
html body .hvd .dsk table.bmt tr.bst-row>td{padding:2px 12px 16px;white-space:normal;text-align:left}
html body .hvd .dsk .bst-in{position:sticky;left:12px;max-width:min(880px,calc(100vw - 96px));padding:14px 18px 16px;border-radius:14px}
html body .hvd .dsk .bst-in .sty{margin:0}
html body .hvd .dsk .tg-sum{margin:10px 0 8px;font-size:13.5px;line-height:1.5}
html body .hvd .dsk .tgs>.tgc:has(>.tg-st[open]){grid-column:1/-1}
html body .hvd .dsk .tg-st[open]>.sty{margin:12px 0 0}
html body .hvd .dsk .tg-st .st-close{margin-top:10px}
/* v91 (16 Oct 2026, Harsh, on his phone: "When I click on read the full story on textiles, it take me to electrical
   equipment and hides textiles and shows blank"). On phones the cards are a row you swipe, & the rule above moved an opened
   card to the front of that row: Safari kept the row where it was, so it showed another card, with every card stretched to
   the story's length. On phones an opened card now keeps its place & takes the row's full width (longer lines, a shorter
   story), the other cards keep their own height, the row holds still until the story is closed, & the Desk's script keeps
   the card in view as its story opens & closes. */
@media(max-width:760px){
 html body .hvd .dsk .mvtog .tgs>.tgc:has(>.tg-st[open]){grid-column:auto}
 html body .hvd .dsk .mvtog .tgs:has(>.tgc>.tg-st[open]){grid-auto-columns:100%;align-items:start;overflow-x:hidden}
}
/* v97 (17 Oct 2026): "Close the story" scrolls back up to the card or the company, & scrolling up brings the top bar
   back, so the card stopped under the bar (on a phone its name & the first lines of "Why" were hidden). The card or the
   company's row now stops just below the bar (BAR_JS keeps --bar-h, the bar's height, on .hvd). */
html body .hvd .dsk :is(.mvtog .tgc,table.bmt tr,details.tg-st){scroll-margin-top:calc(var(--bar-h,64px) + 12px)}
@media(max-width:640px){
 html body .hvd .dsk .bmv-t table.bmt tr.bst-row:not([hidden]){display:block;margin:-4px 0 12px}
 html body .hvd .dsk .bmv-t table.bmt tr.bst-row>td{display:block;padding:0}
 html body .hvd .dsk .bst-in{position:static;max-width:none;padding:13px 14px 14px}
}
/* the dark glass */
html body .hvd.env-light .dsk table.bmt td.bw .bst-sum,html body .hvd.env-light .dsk .tg-sum{color:rgba(236,242,249,.92)}
html body .hvd.env-light .dsk :is(.bst-tog,.tg-st>summary){background:rgba(169,203,238,.16);color:#D6ECFF;border:1px solid rgba(169,203,238,.5)}
html body .hvd.env-light .dsk :is(.bst-tog,.tg-st>summary):hover{background:rgba(169,203,238,.28)}
html body .hvd.env-light .dsk :is(.bst-tog[aria-expanded="true"],.tg-st[open]>summary){background:#A9CBEE;color:#0E203D;border-color:#A9CBEE}
html body .hvd.env-light .dsk .st-close{background:transparent;color:#D6ECFF;border:1px solid rgba(169,203,238,.5)}
html body .hvd.env-light .dsk .bst-in{background:rgba(10,24,46,.6);border:1px solid rgba(169,203,238,.28)}
/* cream */
html body .hvd:not(.env-light) .dsk table.bmt td.bw .bst-sum,html body .hvd:not(.env-light) .dsk .tg-sum{color:#2B2622}
html body .hvd:not(.env-light) .dsk :is(.bst-tog,.tg-st>summary){background:#fff;color:#1D4A70;border:1px solid rgba(29,74,112,.4)}
html body .hvd:not(.env-light) .dsk :is(.bst-tog[aria-expanded="true"],.tg-st[open]>summary){background:#1D4A70;color:#fff;border-color:#1D4A70}
html body .hvd:not(.env-light) .dsk .st-close{background:#fff;color:#1D4A70;border:1px solid rgba(29,74,112,.4)}
html body .hvd:not(.env-light) .dsk .bst-in{background:#FFFDF9;border:1px solid rgba(30,26,23,.1)}
html body .hvd .dsk .tg-st>summary .tg-c,html body .hvd .dsk .tg-st[open]>summary .tg-o{display:none}
html body .hvd .dsk .tg-st[open]>summary .tg-c{display:inline}
/* v83 (15 Oct 2026, Harsh: a first-time visitor should see what each panel says within 3 seconds). */
/* Moving together: the group, how many moved, why, then the companies. */
html body .hvd .dsk .mvtog .mvx-s{font-size:14px;line-height:1.45;color:#5E5249}
html body .hvd .dsk .tgc .tgl{margin-top:4px;font-size:14.5px;font-weight:600;line-height:1.4;color:#1E1A17;cursor:default}
html body .hvd:not(.env-light) .dsk .tg-sum{margin:8px 0 10px;font-size:14.5px;line-height:1.5;color:#2B2622}
html body .hvd .dsk .tg-sum b{font-weight:800;color:#A23F17}
/* Industries: the heading names the strong ones; the last column is the industry's price over a month. */
html body .hvd .dsk .hz-ind .isub{margin:4px 0 12px;font-size:14px;line-height:1.5;color:#5E5249}
html body .hvd .dsk .hz-ind .isub b{font-weight:700;color:#1E1A17}
html body .hvd .dsk .hz-ind .irow,html body .hvd .dsk .hz-ind .ilab{grid-template-columns:minmax(0,1fr) 36px 62px}
/* Valuation map: one row per sector, the verdict beside the name, the numbers in words & one labelled gauge. */
html body .hvd .dsk .vm-lede{margin:2px 0 12px;font-size:14px;line-height:1.5;color:#5E5249}
html body .hvd .dsk .vm2{margin:0;border-top:0}
html body .hvd .dsk .vm2 .vm-key{display:grid;grid-template-columns:minmax(170px,1.1fr) minmax(170px,1fr) minmax(220px,1.5fr);gap:0 20px;padding:0 4px 8px;border-bottom:1px solid #F3E6D8}
html body .hvd .dsk .vm2 .vk{grid-column:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
html body .hvd .dsk .vm2 .vk i{font:700 11.5px/1.25 var(--fb);font-style:normal;text-align:center}
html body .hvd .dsk .vm2 .vk1{color:#1E6B4E}html body .hvd .dsk .vm2 .vk2{color:#5E5249}html body .hvd .dsk .vm2 .vk3{color:#9C3329}
html body .hvd .dsk .vm2 .vm-r{display:grid;grid-template-columns:minmax(170px,1.1fr) minmax(170px,1fr) minmax(220px,1.5fr);grid-template-areas:"top nums gg" "top nums gl" "top nums dr";gap:4px 20px;align-items:center;padding:14px 4px;border-bottom:1px solid #F3E6D8}
html body .hvd .dsk .vm2 .vm-top{grid-area:top;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
html body .hvd .dsk .vm2 .vm-s b{font-size:15px}
html body .hvd .dsk .vm2 .vm-chip{font-size:12.5px;padding:4px 11px}
html body .hvd .dsk .vm2 .vm-nums{grid-area:nums;margin:0;display:flex;flex-direction:column;gap:3px;font-size:14px;line-height:1.4;color:#5E5249}
html body .hvd .dsk .vm2 .vm-nums b{font:700 15px var(--fn,inherit);font-variant-numeric:tabular-nums;color:#1E1A17}
html body .hvd .dsk .vm2 .vm-nums b.up{color:#1E7A5A}html body .hvd .dsk .vm2 .vm-nums b.dn{color:#B0392B}
html body .hvd .dsk .vm2 .vm-nums small{font-size:12.5px;color:#8A7D73}
html body .hvd .dsk .vm2 .vm-gg{grid-area:gg;position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;height:12px}
html body .hvd .dsk .vm2 .vm-gg i{display:block;height:12px}
html body .hvd .dsk .vm2 .vm-gg .vz1{background:#CFE8DA;border-radius:999px 0 0 999px}
html body .hvd .dsk .vm2 .vm-gg .vz2{background:#EDE3D6}
html body .hvd .dsk .vm2 .vm-gg .vz3{background:#F6CBBE;border-radius:0 999px 999px 0}
html body .hvd .dsk .vm2 .vm-pin{position:absolute;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;box-sizing:border-box;border:3px solid #fff;box-shadow:0 1px 4px rgba(30,26,23,.4);background:#1E1A17}
html body .hvd .dsk .vm2 .vm-p-cheap{background:#1E6B4E}html body .hvd .dsk .vm2 .vm-p-mid{background:#6B5E54}html body .hvd .dsk .vm2 .vm-p-dear{background:#C2453B}
html body .hvd .dsk .vm2 .vm-ng{grid-area:gg;margin:0;font-size:13px;line-height:1.45;color:#5E5249}
html body .hvd .dsk .vm2 .vm-dr{grid-area:dr;margin:2px 0 0}
html body .hvd .dsk .vm2 .vm-gl{grid-area:gl}
@media(max-width:760px){
 html body .hvd .dsk .vm2 .vm-key{grid-template-columns:1fr;padding:0 4px 8px}
 html body .hvd .dsk .vm2 .vk{grid-column:1}
 html body .hvd .dsk .vm2 .vm-r{grid-template-columns:minmax(0,1fr);grid-template-areas:"top" "nums" "gg" "gl" "dr";gap:8px}
 html body .hvd .dsk .vm2 .vm-top{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px}
 html body .hvd .dsk .vm2 .vm-nums{flex-direction:row;flex-wrap:wrap;gap:2px 18px}
}
html body .hvd .dsk .vm2:not(.open) .vm-r.vm-x{display:none}
html body .hvd .dsk .hz-ind .gh h2{text-wrap:balance}
/* v99 (17 Oct 2026, Harsh: P/B wherever we show NBFCs): the sectors of lenders under the valuation map's P/E rows, with a
   "Valued on book value" chip; a lender's P/B in the Big moves table. On a phone the card already labels the number P/B, so the
   label inside the cell goes, & so does the lender's empty PEG (a P/E measure). */
html body .hvd .dsk .vm-lend{margin:18px 0 6px;padding-top:14px;border-top:1px solid #EADCCB}
html body .hvd .dsk .vm-lend .vm-lede{margin:0 0 4px}
html body .hvd .dsk .vm-lend .vm-lede b{color:#1E1A17}
html body .hvd .dsk .vm-lend .vm2{border-top:1px solid #F3E6D8}
html body .hvd .dsk .vm-chip.vm-bk{background:#E4EDF6;color:#1D4A70}
html body .hvd .dsk table.bmt td .pbk{font:600 11px/1 var(--fb);letter-spacing:.03em;color:#8A7D73}
@media(max-width:640px){
 html body .hvd .dsk .bmv-t table.bmt tr.bd>td .pbk,html body .hvd .dsk .bmv-t table.bmt tr.bd>td.lpg{display:none}
}
/* v178a (1 Nov 2026, Harsh, a phone screenshot: "follow the companies you care about ... is getting clipped"): the Market &
   watchlist panel's columns were flex columns whose last link shrank to nothing & was cut off by the panel's rounded edge.
   As plain blocks they take their full height; on phones the second column gets a rule & room above it. */
html body .hvd .dsk .front>.col{display:block}
html body .hvd .dsk .front>.col>.go{display:inline-flex;margin-top:10px!important}
@media(max-width:760px){html body .hvd .dsk .front>.col+.col{margin-top:4px;padding-top:16px;border-top:1px solid #F0E3D5}}
