/* company_moves.css — Competitor Analysis ▸ MOVES sub-tab (2026-11-19). Painted by company_moves.js.
   Reuses the company view's cards, tiles and chips and the Backlog tab's head / pills / page-pill / scroll classes.
   Every colour is a theme variable: the four parts of a move have one colour each everywhere on the tab —
   market = --cvc-orange (the fixed reference token, with its fallback), sector = --seg-grw (olive), sub-industry = --seg-ret
   (teal), own = --accent. The --seg-* hues hold in every skin (skins only tune their contrast) and none is blue, purple or
   cyan like the skin accents, so the four never collide; the 18 skins and dark mode need no overrides. Falls / rises use the subtle
   --bear / --bull pair and always carry a −/+ sign for colour-blind readers. Tables scroll inside their own box. */

#cv-mv, #cv-mv-more {
  --mv-mkt: var(--cvc-orange, #d9701a);
  --mv-sec: var(--seg-grw);
  --mv-ind: var(--seg-ret);
  --mv-own: var(--accent);
  --mv-flw: var(--amber);
  --mv-anl: var(--blue-chip);
}

/* ── head, page pills, window chips, intro ── */
#cv-mv .mv-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 6px; }
#cv-mv .mv-top h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
#cv-mv .mv-top h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
#cv-mv .mv-top a[data-cvgo] { color: var(--accent); cursor: pointer; }
.mv-asof { font-size: 11px; }
.cmp-seg.blg-pages.mv-pages { margin-bottom: 2px; }
.mv-pages button.off { opacity: .42; cursor: not-allowed; }
.mv-pages button .n { margin-left: 6px; font-size: 10.5px; opacity: .8; }
#cv-mv-more .lab { display: inline-block; min-width: 0; font-weight: 700; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; margin-right: 6px; }
#cv-mv-more .cv-card > h3, #cv-mv-more .blg-head h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
#cv-mv-more .blg-head h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
#cv-mv-more h4 { margin: 0 0 5px; font-size: 11.5px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .04em; }
#cv-mv-more svg { display: block; max-width: 100%; }
.mv-intro { margin: 8px 2px 0; }
.mv-intro > p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text); }
.mv-how { margin-top: 3px; }
.mv-how summary, .mv-sources summary { cursor: pointer; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mv-how summary:hover, .mv-sources summary:hover { color: var(--accent); }
.mv-sources summary { list-style: none; }
.mv-sources summary::-webkit-details-marker { display: none; }
.mv-how ul { font-size: 12px; line-height: 1.5; margin: 5px 0 2px; padding-left: 18px; }
.mv-how li { margin: 2px 0; }
.mv-more { font-size: 11.5px; color: var(--accent); text-decoration: none; white-space: nowrap; }
.mv-more:hover { text-decoration: underline; }
.mv-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 0 10px; align-items: start; }
.mv-2col > .cv-card { min-width: 0; }
.mv-wbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 2px 0; }
.mv-wbar .mv-asof { margin-left: auto; }
.mv-wins { display: inline-flex; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.mv-wins button { font: inherit; font-size: 11.5px; font-weight: 600; padding: 3px 11px; border: 0; border-right: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; }
.mv-wins button:last-child { border-right: 0; }
.mv-wins button.on { background: var(--accent); color: var(--on-accent, var(--bg)); }
.mv-wins button:disabled { opacity: .4; cursor: not-allowed; }
.mv-wins button:not(.on):not(:disabled):hover { color: var(--text); background: var(--hover); }

/* numbers: falls / rises (always signed in the text) */
#cv-mv-more :is(span, b, em, i).up { color: var(--bull); }
#cv-mv-more :is(span, b, em, i).dn { color: var(--bear); }
.mv-num { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; display: inline-block; min-width: 50px; text-align: right; }
.mv-rx { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; white-space: nowrap; }

/* company chip + researched dot */
.mv-co { color: var(--text); text-decoration: none; white-space: nowrap; }
#cv-mv-more a.mv-co { cursor: pointer; }
#cv-mv-more a.mv-co:hover { color: var(--accent); }
.mv-co b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; color: var(--accent); }
.mv-co.off b { color: var(--muted); }
.mv-co.me b { color: var(--text); }
.mv-resdot { display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }

/* source superscripts */
.mv-src { font-size: 9px; line-height: 0; margin-left: 2px; vertical-align: super; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); }
.mv-src a { color: var(--accent); text-decoration: none; padding: 0 1px; }
.mv-src a:hover { text-decoration: underline; }
.mv-fn { color: var(--cvc-orange, #d9701a); margin-left: 1px; cursor: help; }

/* small diverging bar (tables) */
.mv-dv { position: relative; display: inline-block; vertical-align: middle; width: 58px; height: 8px; margin-left: 6px; border-radius: 2px; background: var(--grey-chip-bg); }
.mv-dv i { position: absolute; display: block; }
.mv-dv i.z { left: 50%; top: -1px; bottom: -1px; width: 1px; background: var(--muted); }
.mv-dv i.b { top: 1px; bottom: 1px; border-radius: 1px; }
.mv-dv i.b.dn { background: var(--bear); }
.mv-dv i.b.up { background: var(--bull); }
.mv-dv.nt i.b.dn, .mv-dv.nt i.b.up { background: var(--accent); }

/* legends + swatches: the four parts keep their colour everywhere */
.mv-legend { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 11px; color: var(--muted); margin-top: 5px; }
.mv-legend > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
#cv-mv-more i.sw { display: inline-block; width: 11px; height: 9px; border-radius: 2px; vertical-align: -1px; flex: none; background: var(--muted); }
#cv-mv-more i.sw.mkt { background: color-mix(in srgb, var(--mv-mkt) 45%, transparent); border: 1px solid var(--mv-mkt); }
#cv-mv-more i.sw.sec { background: color-mix(in srgb, var(--mv-sec) 45%, transparent); border: 1px solid var(--mv-sec); }
#cv-mv-more i.sw.ind { background: color-mix(in srgb, var(--mv-ind) 45%, transparent); border: 1px solid var(--mv-ind); }
#cv-mv-more i.sw.own { background: color-mix(in srgb, var(--mv-own) 45%, transparent); border: 1px solid var(--mv-own); }
#cv-mv-more i.sw.ln { height: 0; width: 16px; border-radius: 0; background: none; border: 0; border-top: 2px solid var(--mv-mkt); }
#cv-mv-more i.sw.ln.stock { border-top: 3px solid var(--mv-own); }
#cv-mv-more i.sw.ln.mkt { border-top-color: var(--mv-mkt); }
#cv-mv-more i.sw.ln.sec { border-top: 2px dashed var(--mv-sec); }
#cv-mv-more i.sw.ln.ind { border-top: 2px dashed var(--mv-ind); }
.mv-mk { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: 0; }
.mv-mk.dn { background: var(--bear); box-shadow: 0 0 0 1px var(--panel); }
.mv-mk.ev { border-radius: 1px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--text); }

/* generic table (inside .blg-scroll) */
.mv-tbl { border-collapse: collapse; width: 100%; font-size: 12px; }
.mv-tbl th { text-align: left; font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 10px 4px 0; white-space: nowrap; vertical-align: bottom; }
.mv-tbl td { padding: 4px 10px 4px 0; border-top: 1px solid var(--border); vertical-align: top; line-height: 1.45; }
.mv-tbl th.num, .mv-tbl td.num { text-align: right; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mv-tbl td.dt, .mv-tbl td.n, .mv-tbl td.b { white-space: nowrap; }
.mv-tbl td.w { min-width: 200px; }
.mv-tbl td.sm, .mv-tbl .sm { font-size: 11.5px; }
.mv-tbl td .muted { font-size: 11px; }
.mv-tbl td .chip { white-space: nowrap; font-size: 10.5px; }
.mv-tbl tr.me td { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.mv-tbl tr.med td { border-top: 2px solid var(--border); }
.mv-tbl td.b { vertical-align: middle; }
.mv-kv { border-collapse: collapse; font-size: 12px; margin-top: 4px; }
.mv-kv td { padding: 2px 10px 2px 0; vertical-align: top; line-height: 1.45; }

/* ── 1 · Summary ── */
#cv-mv-more .mv-pills .lab, #cv-mv-more .mv-pills .lab:first-child { min-width: 0; display: inline-block; margin: 0 2px 0 8px; }
#cv-mv-more .mv-pills .lab:first-child { margin-left: 0; }
.mv-pills .chip.mv-muted { opacity: .8; border: 1px dashed var(--border); }
.mv-hz { font-size: 11.5px; margin-left: 4px; }
.mv-verdict .mv-one, .mv-bd .mv-one { font-size: 14px; line-height: 1.5; margin: 8px 0 3px; }
.mv-wl { font-size: 12px; margin: 0 0 4px; }
.mv-why { margin: 4px 0 2px; padding-left: 20px; font-size: 12.5px; line-height: 1.5; }
.mv-why li { margin: 2px 0; }
.mv-rw { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; }
.mv-tk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; font-size: 12.5px; line-height: 1.45; }
.mv-tk > div { padding: 5px 9px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); }
.mv-tk > .tg { border-left: 3px solid var(--bull); }
.mv-tk > .kl { border-left: 3px solid var(--bear); }
#cv-mv-more .mv-tk .lab { display: block; margin: 0 0 2px; }
.mv-tiles { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 8px; }
.mv-tile { display: flex; flex-direction: column; gap: 1px; }
#cv-mv-more .mv-tile .k { white-space: normal; overflow: visible; line-height: 1.3; }
#cv-mv-more .mv-tile .v { white-space: normal; overflow: visible; }
#cv-mv-more .mv-tile .s { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }
.mv-tile.big .v { font-size: 20px; }
.mv-lead { margin: 6px 0 0; font-size: 12.5px; }

/* the split bar: falls left of zero, rises right; tinted fills keep the numbers in --text on every skin */
.mv-sb { display: block; margin: 8px 0 2px; }
.mv-sb .tr { position: relative; display: block; height: 24px; border-radius: 4px; background: var(--grey-chip-bg); }
.mv-sb i.s { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; box-sizing: border-box; border: 1px solid; border-radius: 3px; }
.mv-sb i.s em { font-style: normal; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text); white-space: nowrap; }
.mv-sb i.s.mkt { background: color-mix(in srgb, var(--mv-mkt) 34%, var(--panel)); border-color: var(--mv-mkt); }
.mv-sb i.s.sec { background: color-mix(in srgb, var(--mv-sec) 34%, var(--panel)); border-color: var(--mv-sec); }
.mv-sb i.s.ind { background: color-mix(in srgb, var(--mv-ind) 34%, var(--panel)); border-color: var(--mv-ind); }
.mv-sb i.s.own { background: color-mix(in srgb, var(--mv-own) 34%, var(--panel)); border-color: var(--mv-own); }
.mv-sb i.z { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--text); }
.mv-sb b.t { position: absolute; top: -6px; width: 0; height: 0; margin-left: -5px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--text); }
.mv-sb.mini { margin: 0; width: 132px; }
.mv-sb.mini .tr { height: 15px; }
.mv-sb.mini i.s em { font-size: 9.5px; }
.mv-sb.mini i.z { top: -2px; bottom: -2px; width: 1px; margin-left: 0; }
.mv-sl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 4px 14px; margin-top: 8px; font-size: 12px; }
.mv-sl .it { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-width: 0; }
.mv-sl .it .k { font-weight: 600; }
.mv-sl .it b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.mv-sl .it .muted { font-size: 11px; flex-basis: 100%; padding-left: 17px; }

/* driver cards (Summary) + share bar + tags */
.mv-dcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 8px; }
.mv-dc { border: 1px solid var(--border); border-left: 3px solid var(--mv-own); border-radius: 6px; padding: 6px 9px 7px; background: var(--bg); min-width: 0; }
.mv-dc.mkt { border-left-color: var(--mv-mkt); }
.mv-dc.sec { border-left-color: var(--mv-sec); }
.mv-dc.ind { border-left-color: var(--mv-ind); }
.mv-dc.flw { border-left-color: var(--mv-flw); }
.mv-dc .h { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; margin-bottom: 3px; }
.mv-dc .t { display: block; font-size: 13px; line-height: 1.35; margin-bottom: 4px; }
.mv-dc p { margin: 4px 0; font-size: 12px; line-height: 1.45; }
.mv-dc .f { display: flex; flex-wrap: wrap; gap: 3px 6px; align-items: center; font-size: 11px; color: var(--muted); }
.mv-lv { display: inline-block; padding: 0 7px; border-radius: 9px; font-size: 10.5px; font-weight: 700; line-height: 1.6; border: 1px solid var(--mv-own); color: var(--text); background: color-mix(in srgb, var(--mv-own) 14%, transparent); white-space: nowrap; }
.mv-lv.mkt { border-color: var(--mv-mkt); background: color-mix(in srgb, var(--mv-mkt) 14%, transparent); }
.mv-lv.sec { border-color: var(--mv-sec); background: color-mix(in srgb, var(--mv-sec) 14%, transparent); }
.mv-lv.ind { border-color: var(--mv-ind); background: color-mix(in srgb, var(--mv-ind) 14%, transparent); }
.mv-lv.flw { border-color: var(--mv-flw); background: color-mix(in srgb, var(--mv-flw) 14%, transparent); }
.mv-ty { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.mv-sh { position: relative; display: block; height: 16px; border-radius: 3px; background: var(--grey-chip-bg); min-width: 70px; }
.mv-sh i { display: block; height: 100%; border-radius: 3px; background: color-mix(in srgb, var(--bear) 32%, var(--panel)); border: 1px solid var(--bear); box-sizing: border-box; }
.mv-sh.up i { background: color-mix(in srgb, var(--bull) 32%, var(--panel)); border-color: var(--bull); }
.mv-sh em { position: absolute; left: 6px; top: 0; font: 600 11px/16px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; color: var(--text); }
.mv-tag { display: inline-block; padding: 0 6px; border-radius: 8px; border: 1px solid var(--border); font-size: 10.5px; line-height: 1.55; color: var(--muted); white-space: nowrap; }
.mv-tag.new { border-color: var(--accent); color: var(--text); }
.mv-tag.str { border-color: var(--bear); color: var(--text); }
.mv-ctop td.w { min-width: 220px; }

/* ── 2 · What moved it ── */
.mv-wfr { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; align-items: center; gap: 4px 10px; padding: 5px 0; border-top: 1px solid var(--border); }
.mv-wfr:first-of-type { border-top: 0; }
.mv-wfr .l { display: flex; flex-direction: column; min-width: 0; font-size: 12px; line-height: 1.35; }
.mv-wfr .l .muted { font-size: 11px; }
.mv-wfr .t { position: relative; display: block; height: 22px; }
.mv-wfr .t i.z { position: absolute; top: -6px; bottom: -6px; width: 1px; background: var(--muted); }
.mv-wfr .t i.b { position: absolute; top: 2px; bottom: 2px; border-radius: 3px; border: 1px solid; box-sizing: border-box; }
.mv-wfr .t i.b.mkt { background: color-mix(in srgb, var(--mv-mkt) 34%, var(--panel)); border-color: var(--mv-mkt); }
.mv-wfr .t i.b.sec { background: color-mix(in srgb, var(--mv-sec) 34%, var(--panel)); border-color: var(--mv-sec); }
.mv-wfr .t i.b.ind { background: color-mix(in srgb, var(--mv-ind) 34%, var(--panel)); border-color: var(--mv-ind); }
.mv-wfr .t i.b.own { background: color-mix(in srgb, var(--mv-own) 34%, var(--panel)); border-color: var(--mv-own); }
.mv-wfr .t i.b.tot.dn { background: color-mix(in srgb, var(--bear) 30%, var(--panel)); border-color: var(--bear); }
.mv-wfr .t i.b.tot.up { background: color-mix(in srgb, var(--bull) 30%, var(--panel)); border-color: var(--bull); }
.mv-wfr .t em { position: absolute; top: 0; font: 600 11.5px/22px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; color: var(--text); white-space: nowrap; }
.mv-wfr.tot { border-top: 2px solid var(--border); }
.mv-wfr.tot .l b { font-size: 13px; }
.mv-chart { min-height: 40px; }
.mv-chart .grid { stroke: var(--border); stroke-width: 1; }
.mv-chart .ax { font-size: 10px; fill: var(--muted); paint-order: stroke; stroke: var(--panel); stroke-width: 3px; stroke-linejoin: round; }
.mv-chart rect.win { fill: color-mix(in srgb, var(--accent) 7%, transparent); }
.mv-chart text.wl { font-size: 10px; font-weight: 700; fill: var(--accent); }
.mv-chart .ln { fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.mv-chart .ln.stock { stroke: var(--mv-own); stroke-width: 2.6; }
.mv-chart .ln.mkt { stroke: var(--mv-mkt); }
.mv-chart .ln.sec { stroke: var(--mv-sec); stroke-dasharray: 5 3; }
.mv-chart .ln.ind { stroke: var(--mv-ind); stroke-dasharray: 2 2.5; stroke-width: 1.8; }
.mv-chart .pt { cursor: pointer; }
.mv-chart .pt .hit { fill: transparent; stroke: none; }
.mv-chart .pt.day .dot { stroke: var(--panel); stroke-width: 1.5; }
.mv-chart .pt.day.dn .dot { fill: var(--bear); }
.mv-chart .pt.day.up .dot { fill: var(--bull); }
.mv-chart .pt.ev .dm { fill: var(--text); stroke: var(--panel); stroke-width: 1; }
.mv-chart .pt.ev.mkt .dm { fill: var(--mv-mkt); }
.mv-chart .pt.ev.sec .dm { fill: var(--mv-sec); }
.mv-chart .pt.ev.ind .dm { fill: var(--mv-ind); }
.mv-chart .pt.ev.own .dm { fill: var(--mv-own); }
.mv-chart .pt.ev.flw .dm { fill: var(--mv-flw); }
.mv-chart .pt.ev.anl .dm { fill: var(--mv-anl); }
.mv-chart .pt.on .dot, .mv-chart .pt.on .dm { stroke: var(--text); stroke-width: 2; }
.mv-chart .pt:hover .dot { r: 5.5; }
.mv-chnote { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); min-height: 1.45em; }
.mv-chnote b { color: var(--text); }
.mv-peert { width: auto; min-width: min(100%, 560px); }
.mv-peert td.b { padding-right: 22px; }
.mv-peert td.b .mv-num { min-width: 52px; }
.mv-days td.w { min-width: 220px; }

/* ── 3 · The story ── */
.mv-dl { list-style: none; margin: 0; padding: 0; }
.mv-dl > li { display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; padding: 7px 0; border-top: 1px solid var(--border); border-left: 3px solid var(--mv-own); padding-left: 8px; }
.mv-dl > li:first-child { border-top: 0; }
.mv-dl > li.mkt { border-left-color: var(--mv-mkt); }
.mv-dl > li.sec { border-left-color: var(--mv-sec); }
.mv-dl > li.ind { border-left-color: var(--mv-ind); }
.mv-dl > li.flw { border-left-color: var(--mv-flw); }
.mv-dl .r { padding-top: 2px; }
.mv-dl .c { min-width: 0; }
.mv-dl .h { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 7px; }
.mv-dl .h > b { font-size: 13px; }
.mv-dl p { margin: 3px 0 0; font-size: 12px; line-height: 1.45; }
.mv-dd { font-size: 11px; }
.mv-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.mv-tl > li { display: grid; grid-template-columns: 78px 14px 1fr auto; gap: 2px 6px; align-items: baseline; padding: 4px 0; font-size: 12px; line-height: 1.45; position: relative; }
.mv-tl > li::before { content: ""; position: absolute; left: 90px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.mv-tl .d { font-weight: 700; white-space: nowrap; font-size: 11.5px; }
.mv-tl .dot { position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%; background: var(--mv-own); align-self: center; justify-self: center; box-shadow: 0 0 0 2px var(--panel); }
.mv-tl li.mkt .dot { background: var(--mv-mkt); }
.mv-tl li.sec .dot { background: var(--mv-sec); }
.mv-tl li.ind .dot { background: var(--mv-ind); }
.mv-tl li.flw .dot { background: var(--mv-flw); }
.mv-tl li.anl .dot { background: var(--mv-anl); }
.mv-tl .e { min-width: 0; }
.mv-kd { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-right: 2px; }
.mv-ct td.w { min-width: 190px; }
.mv-bbg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mv-bbg > div { padding: 6px 10px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); min-width: 0; }
.mv-bbg > .bull { border-left: 3px solid var(--bull); }
.mv-bbg > .bear { border-left: 3px solid var(--bear); }
.mv-bbg ul { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.45; }
.mv-bbg li { margin: 3px 0; }
.mv-bbg li .muted { font-size: 11.5px; }
.mv-fr { display: grid; grid-template-columns: 76px 1fr 64px; align-items: center; gap: 8px; margin: 4px 0; font-size: 12px; }
.mv-fr .b .mv-dv { width: 100%; height: 14px; margin: 0; }
.mv-fr > b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: right; }
.mv-read { margin: 6px 0 2px; font-size: 13px; line-height: 1.45; }
.mv-flows p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.5; }
.mv-ins { font-size: 12.5px; }
.mv-rag { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 6px 12px; }
.mv-rai { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; font-size: 12px; line-height: 1.45; }
.mv-sources ol { font-size: 12px; line-height: 1.5; margin: 6px 0; padding-left: 26px; }
.mv-sources li { overflow-wrap: anywhere; }
.mv-sources li a { color: var(--text); text-decoration: none; }
.mv-sources li a:hover { color: var(--accent); }
.mv-nores p { font-size: 12.5px; line-height: 1.5; margin: 8px 0 0; }

/* ── 4 · Valuation ── */
.mv-one-l { margin: 2px 0 8px; font-size: 12.5px; line-height: 1.5; }
.mv-vtt td.b { white-space: nowrap; }
.mv-vd .mv-dv { margin: 0 6px 0 0; width: 70px; }
.mv-rg { display: grid; grid-template-columns: minmax(150px, 30%) 1fr; grid-template-areas: "k t" ". s"; gap: 0 12px; align-items: center; padding: 6px 0; border-top: 1px solid var(--border); }
.mv-rg:first-of-type { border-top: 0; }
.mv-rg .k { grid-area: k; display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; }
.mv-rg .k .muted { font-size: 11px; }
.mv-rg .t { grid-area: t; position: relative; height: 18px; border-radius: 9px; background: var(--grey-chip-bg); }
.mv-rg .t i { position: absolute; display: block; }
.mv-rg .t i.band { top: 5px; bottom: 5px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 30%, transparent); }
.mv-rg .t i.med { top: 1px; bottom: 1px; width: 2px; margin-left: -1px; background: var(--cvc-orange, #d9701a); }
.mv-rg .t i.was, .mv-rg .t i.now { top: 3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; box-sizing: border-box; }
.mv-rg .t i.was { border: 2px solid var(--text); background: var(--panel); }
.mv-rg .t i.now { background: var(--accent); border: 2px solid var(--panel); }
.mv-rg .s { grid-area: s; display: flex; justify-content: space-between; font-size: 10.5px; margin-top: 2px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mv-rk { display: inline-block; width: 10px; height: 10px; border-radius: 50%; box-sizing: border-box; }
.mv-rk.now { background: var(--accent); }
.mv-rk.was { border: 2px solid var(--text); }
.mv-rk.med { width: 2px; border-radius: 0; background: var(--cvc-orange, #d9701a); }

/* ── 5 · Odds & positioning ── */
.mv-br { display: grid; grid-template-columns: 70px 1fr minmax(150px, 34%); align-items: center; gap: 10px; margin: 6px 0; font-size: 12px; }
.mv-br .k { font-weight: 600; white-space: nowrap; }
.mv-br .t { position: relative; height: 18px; border-radius: 3px; background: var(--grey-chip-bg); }
.mv-br .t i { position: absolute; display: block; }
.mv-br .t i.z { left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--muted); }
.mv-br .t i.band { top: 4px; bottom: 4px; border-radius: 3px; background: color-mix(in srgb, var(--accent) 32%, transparent); border: 1px solid var(--accent); box-sizing: border-box; }
.mv-br .t i.med { top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 1px; background: var(--cvc-orange, #d9701a); }
.mv-br .v b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mv-br .v .muted { font-size: 11px; }
.mv-ptiles { grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); margin-top: 4px; }
.mv-read1 { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 9px; font: 600 10.5px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--grey-chip-bg); color: var(--grey-chip); vertical-align: 2px; white-space: nowrap; }
.mv-read1.warn { background: var(--amber-bg); color: var(--amber); }
.mv-qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 8px; }
.mv-q { padding: 6px 10px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--accent); }
.mv-q b { font-size: 12.5px; line-height: 1.4; }
.mv-q p { margin: 3px 0 0; font-size: 12px; line-height: 1.45; }
.mv-pmq.off .mv-q { border-left-color: var(--border); }
.mv-pmq.off .mv-q b, .mv-pmq.off .mv-q p { color: var(--muted); }

/* ── 6 · Movers board ── */
.mv-bc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 4px; font-size: 12px; }
.mv-bc select { font: inherit; font-size: 12px; padding: 2px 6px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); max-width: 170px; }
.mv-seg { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
#cv-mv-more .mv-seg .lab { margin: 0 4px 0 7px; }
.mv-seg button { font: inherit; font-size: 11.5px; padding: 2px 9px; border: 0; border-left: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.mv-seg button:first-child { border-left: 0; }
.mv-seg button.on { background: var(--accent); color: var(--on-accent, var(--bg)); }
.mv-seg button:not(.on):hover { color: var(--text); background: var(--hover); }
.mv-tg { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; cursor: pointer; }
.mv-tg input { margin: 0; accent-color: var(--accent); }
.mv-cbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 2px 0 6px; font-size: 12px; }
.mv-cn { margin-right: 4px; }
.mv-hint { color: var(--muted); font-size: 11px; }
.mv-pill { font: inherit; font-size: 11.5px; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text); cursor: pointer; }
.mv-pill i { font-style: normal; margin-left: 3px; opacity: .7; }
.mv-pill.x { border-color: var(--border); background: transparent; }
.mv-mx { border-collapse: collapse; width: 100%; font-size: 12px; }
.mv-mx th { text-align: left; font-size: 10.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 10px 4px 0; white-space: nowrap; vertical-align: bottom; }
.mv-mx th.on .mv-thb { color: var(--accent); }
.mv-mx td { padding: 4px 10px 4px 0; border-top: 1px solid var(--border); vertical-align: middle; white-space: nowrap; }
.mv-mx td.num { text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11.5px; }
.mv-mx td.sm, .mv-mx .sm { font-size: 11px; }
.mv-mx td.ind { max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.mv-mx td.n .muted { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.mv-mx td .chip { font-size: 10.5px; padding: 0 7px; }
.mv-mx tr[data-mv-row] { cursor: pointer; }
.mv-mx tbody tr[data-mv-row]:hover td { background: var(--hover); }
.mv-mx tr.me td { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.mv-mx td.mv-none { padding: 14px 0; color: var(--muted); }
.mv-thw { display: inline-flex; align-items: center; gap: 4px; }
.mv-thb { font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mv-thb i { font-style: normal; margin-left: 3px; font-size: 8px; }
.mv-thb:hover { color: var(--accent); }
.mv-thm { font-size: 9px; line-height: 1; padding: 1px 3px; border: 1px solid var(--accent); border-radius: 3px; background: transparent; color: var(--accent); cursor: pointer; }
.mv-thm.on, .mv-thm.open { background: var(--accent); color: var(--on-accent, var(--bg)); }
.mv-thb:focus-visible, .mv-thm:focus-visible, .mv-pill:focus-visible, .mv-chipb:focus-visible, .mv-seg button:focus-visible, .mv-wins button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mv-morebtn { display: block; margin: 8px auto 2px; font: inherit; font-size: 12px; padding: 4px 14px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg); color: var(--text); cursor: pointer; }
.mv-morebtn:hover { border-color: var(--accent); color: var(--accent); }
.mv-brd { position: relative; }
div.mv-cm { position: absolute; z-index: 40; width: 280px; max-width: calc(100vw - 40px); box-sizing: border-box; background: var(--panel); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--cvc-shadow, 0 8px 24px rgba(0, 0, 0, .22)); padding: 8px 10px; font-size: 12px; }
.mv-cm-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.mv-cm-def { color: var(--muted); font-size: 11px; line-height: 1.35; margin: -2px 0 6px; }
.mv-cm-x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; padding: 0 2px; }
.mv-cm-x:hover { color: var(--text); }
.mv-cm-row { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 4px; }
.mv-chipb { font: inherit; font-size: 11.5px; padding: 1px 8px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; }
.mv-chipb.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.mv-cm-sec { border-top: 1px solid var(--border); padding-top: 5px; margin-top: 5px; }
#cv-mv-more .mv-cm-sec > .lab { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 3px; }
.mv-cm-clr { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: 10.5px; text-transform: none; letter-spacing: 0; }
.mv-cm-opts { display: grid; gap: 1px; }
.mv-cm-opts.long { max-height: 230px; overflow-y: auto; }
.mv-cm-o { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; padding: 2px 3px; border-radius: 4px; cursor: pointer; }
.mv-cm-o[hidden] { display: none; }
.mv-cm-o:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.mv-cm-o input { margin: 0; accent-color: var(--accent); }
.mv-cm-o i { font-style: normal; color: var(--muted); font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mv-cm-o.zero span { color: var(--muted); }
.mv-cm-find { width: 100%; box-sizing: border-box; font: inherit; font-size: 12px; padding: 3px 6px; margin-bottom: 4px; border: 1px solid var(--border); border-radius: 5px; background: var(--bg); color: var(--text); }
.mv-gt td.n { min-width: 170px; }
.mv-bthg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 8px; margin: 8px 0 4px; }
.mv-bth { padding: 6px 10px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--bear); min-width: 0; }
.mv-bth.up { border-left-color: var(--bull); }
.mv-bth b { font-size: 12.5px; }
.mv-bth p { margin: 3px 0; font-size: 12px; line-height: 1.45; }
.mv-bth .sm { font-size: 11px; }
.mv-bdmore { margin-top: 6px; }
.mv-bdmore .blg-scroll { margin-top: 6px; }
.mv-nodata .cv-note a { color: var(--accent); }

/* ── narrow screens ── */
@media (max-width: 760px) {
  .mv-tk, .mv-bbg { grid-template-columns: 1fr; }
  .mv-wfr { grid-template-columns: 1fr; gap: 2px; }
  .mv-rg { grid-template-columns: 1fr; grid-template-areas: "k" "t" "s"; gap: 3px; }
  .mv-br { grid-template-columns: 58px 1fr; }
  .mv-br .v { grid-column: 2; }
  .mv-wbar .mv-asof { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 560px) {
  .mv-tiles, .mv-ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mv-tile.big .v { font-size: 18px; }
  .mv-dl > li { grid-template-columns: 1fr; }
  .mv-dl .r { max-width: 160px; }
  .mv-tl > li { grid-template-columns: 62px 12px 1fr; }
  .mv-tl > li::before { left: 73px; }
  .mv-tl > li > .mv-rx { grid-column: 3; }
  .mv-fr { grid-template-columns: 64px 1fr 56px; }
  .mv-sl .it .muted { padding-left: 0; }
  .mv-bc { gap: 4px 6px; }
  .mv-bc select { max-width: 112px; font-size: 11.5px; }
  .mv-seg button { padding: 2px 7px; font-size: 11px; }
  #cv-mv-more .mv-seg .lab { margin: 0 3px 0 5px; }
}
