/* "Why is the market moving?" (market-why.js): Home card #mwIndia and Global page #mwGlobal. Uses the Home tokens. */
#mwIndia,#mwGlobal{margin:14px 0}
.mw-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg,14px);padding:16px;color:var(--text);font-size:13.5px;line-height:1.5}
.mw-card .up{color:var(--positive)}.mw-card .down{color:var(--negative)}
.mw-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.mw-k{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}
.mw-big{font-family:var(--font-mono,ui-monospace,monospace);font-size:22px;font-weight:800;margin-top:2px}
.mw-big span{font-size:14px;font-weight:700;opacity:.85;margin-left:4px}
.mw-sub{font-size:12px;color:var(--text-secondary);margin-top:2px}
.mw-asof{font-size:11px;color:var(--text-muted);white-space:nowrap}
.mw-story{margin:12px 0;font-size:14.5px;line-height:1.6}
.mw-story.sm{font-size:13px;margin:8px 0}
.mw-grid{display:grid;grid-template-columns:1fr;gap:14px}
.mw-col{min-width:0}
.mw-card h4{margin:0 0 8px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary)}
.mw-card h4 small{font-weight:500;text-transform:none;letter-spacing:0;color:var(--text-muted)}
.mw-card h4.up{color:var(--positive)}.mw-card h4.down{color:var(--negative)}
.mw-card h5{margin:10px 0 6px;font-size:11px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}
.mw-card h5.up{color:var(--positive)}.mw-card h5.down{color:var(--negative)}
.mw-cb{display:grid;grid-template-columns:minmax(70px,auto) 1fr 52px;gap:8px;align-items:center;font-size:12px;margin:4px 0}
.mw-cn{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mw-cn em{font-style:normal;font-size:9.5px;font-weight:700;padding:1px 5px;border-radius:5px;background:var(--surface-hover);color:var(--text-secondary);margin-left:2px}
.mw-bar{height:8px;border-radius:5px;background:var(--surface-hover);overflow:hidden}
.mw-bar i{display:block;height:100%;border-radius:5px;background:var(--text-muted)}
.mw-bar i.up{background:var(--positive)}.mw-bar i.down{background:var(--negative)}
.mw-cv{font-family:var(--font-mono,ui-monospace,monospace);font-weight:700;text-align:right}
.mw-drv{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.mw-drv li{border-left:3px solid var(--border);padding:2px 0 2px 9px;font-size:12.5px}
.mw-drv.pos li{border-left-color:var(--positive)}.mw-drv.neg li{border-left-color:var(--negative)}
.mw-drv li small{display:block;color:var(--text-muted);font-size:11.5px;line-height:1.4}
.mw-val{font-family:var(--font-mono,ui-monospace,monospace);font-weight:600;color:var(--text-secondary)}
.mw-none{color:var(--text-muted);font-size:12px;margin:0}
.mw-events{margin-top:14px;font-size:12px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.mw-chip{padding:2px 8px;border-radius:7px;background:var(--surface-hover);border:1px solid var(--border);font-size:11.5px;font-weight:600}
.mw-news{margin-top:14px}
.mw-heads{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.mw-heads li{font-size:12.5px;line-height:1.4}
.mw-heads a{color:var(--text);text-decoration:none}.mw-heads a:hover{text-decoration:underline}
.mw-heads small{display:block;color:var(--text-muted);font-size:11px}
.mw-note{margin:14px 0 0;font-size:11px;color:var(--text-muted);line-height:1.5}
.mw-regions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}
.mw-reg{border:1px solid var(--border);border-radius:var(--radius-md,10px);padding:12px;min-width:0;background:var(--bg)}
.mw-reg-h{display:flex;justify-content:space-between;align-items:center;font-size:15px}
.mw-pill{font-family:var(--font-mono,ui-monospace,monospace);font-weight:700;font-size:12px;padding:2px 8px;border-radius:7px;background:var(--surface-hover)}
.mw-pill.up{background:var(--positive-bg);color:var(--positive)}.mw-pill.down{background:var(--negative-bg);color:var(--negative)}
.mw-idx{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:11.5px;color:var(--text-secondary);margin-top:6px}
.mw-idx b{font-family:var(--font-mono,ui-monospace,monospace)}
.mw-reg .mw-heads{margin-top:10px;padding-top:10px;border-top:1px dashed var(--border)}
@media(min-width:900px){
  .mw-grid{grid-template-columns:1.2fr 1fr 1fr}
  .mw-regions{grid-template-columns:repeat(3,1fr)}
}
/* main reasons (market-reasons) and news themes */
.mw-why{margin:12px 0 4px;padding:12px 14px;border-radius:var(--radius-md,10px);background:var(--surface-hover);border:1px solid var(--border)}
.mw-why h4{color:var(--text)}
.mw-why ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:10px}
.mw-why li{font-size:13.5px;line-height:1.5}
.mw-why li::marker{font-weight:800;color:var(--text-muted)}
.mw-why li b{font-size:14px}
.mw-why li p{margin:3px 0 0;color:var(--text-secondary)}
.mw-why li small{display:block;margin-top:3px;font-size:11px;color:var(--text-muted)}
.mw-why li small a{color:var(--text-muted)}
.mw-by{margin-top:10px;font-size:10.5px;color:var(--text-muted)}
.mw-reg .mw-why{padding:10px 12px}.mw-reg .mw-why li{font-size:12.5px}.mw-reg .mw-why li b{font-size:13px}
.mw-themes{margin:12px 0 4px}
.mw-th{border:1px solid var(--border);border-radius:9px;margin:6px 0;background:var(--bg)}
.mw-th summary{display:flex;align-items:center;gap:8px;padding:8px 10px;cursor:pointer;list-style:none;font-size:12.5px}
.mw-th summary::-webkit-details-marker{display:none}
.mw-th summary::before{content:'▸';color:var(--text-muted);font-size:11px}
.mw-th[open] summary::before{content:'▾'}
.mw-th-l{font-weight:700;flex:1;min-width:0}
.mw-th-n{color:var(--text-muted);font-size:11px;white-space:nowrap}
.mw-th-a{font-family:var(--font-mono,ui-monospace,monospace);font-weight:700;font-size:11.5px;white-space:nowrap}
.mw-th .mw-idx{padding:0 10px}
.mw-th .mw-heads{padding:8px 10px 10px}
.mw-reg .mw-th .mw-heads{margin-top:0;border-top:0}
.mw-movers{margin-top:10px}
.mw-sec{margin-top:14px!important}
/* summary mode: the move and the main reasons' titles; Read more shows the rest */
.mw-c .mw-x{display:none!important}
.mw-c .mw-why li p,.mw-c .mw-why li small{display:none}
.mw-c .mw-why ol{gap:5px}
.mw-c .mw-why li b{font-weight:600}
.mw-c .mw-why{margin-bottom:0}
.mw-c .mw-reg .mw-why{margin-bottom:0}
.mw-toggle{display:block;width:100%;margin-top:12px;padding:9px 12px;border-radius:10px;border:1px solid var(--border);background:transparent;color:var(--text);font:700 13px inherit;font-family:inherit;cursor:pointer}
.mw-toggle:hover{background:var(--surface-hover)}
/* phones: home-overview.css lifts the index cards and the portfolio to the top (order:-2); the same order keeps this card between them */
@media(max-width:760px){#mwIndia{order:-2}}
/* news sentiment */
.mw-senti{margin:12px 0 0}
.mw-senti-h{display:flex;align-items:baseline;gap:8px;font-size:12px}
.mw-senti-h span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-secondary)}
.mw-senti-h b{font-size:13.5px}
.mw-senti-h em{font-style:normal;font-family:var(--font-mono,ui-monospace,monospace);font-weight:700;font-size:12px;margin-left:auto}
.mw-senti-bar{display:flex;height:8px;border-radius:5px;overflow:hidden;background:var(--surface-hover);margin:6px 0 4px}
.mw-senti-bar i{display:block;height:100%}
.mw-senti-bar i.up{background:var(--positive)}.mw-senti-bar i.down{background:var(--negative)}.mw-senti-bar i.neu{background:var(--text-muted);opacity:.35}
.mw-senti small{display:block;font-size:11px;color:var(--text-muted)}
.mw-senti-l{margin-top:8px}
.mw-reg .mw-senti-l{border-top:0;padding-top:0}
.mw-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;vertical-align:1px;background:var(--text-muted)}
.mw-dot.up{background:var(--positive)}.mw-dot.down{background:var(--negative)}
.mw-reg .mw-toggle{margin-top:10px;padding:7px 10px;font-size:12.5px}
.mw-regions{align-items:start}
.mw-why h4{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.mw-upd{font-size:11px!important;font-weight:600!important;text-transform:none;letter-spacing:0;color:var(--text-muted)}
