/* Dashboard concept 04 "Focus panel" (test page /testerik04) */
#mv.xd-07 { --d4-gold: var(--rf-a, var(--color-accent)); --d4-line: var(--rf-line, var(--color-line)); --d4-line2: var(--rf-line2, rgba(214,222,255,.16)); --d4-card: var(--rf-card, var(--color-panel)); --d4-ink2: var(--rf-ink2, #c6cadf); }
#mv.xd-07 #mv-c .xd4-cap { margin: 0; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-mute); }

/* ---------- controls: same look as the Explorer tools row ---------- */
#mv.xd-07 #mv-c .xd4-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; padding: .2rem 0 .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--d4-line); }
#mv.xd-07 #mv-c .xd4-ctl > label { display: inline-flex; align-items: center; gap: .55rem; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd4-ctl select { background: var(--d4-card); color: var(--color-ink); border: 1px solid var(--d4-line2); border-radius: 10px; min-height: 40px; padding: 0 2rem 0 .8rem; font-size: .88rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
#mv.xd-07 #mv-c .xd4-ctl > label:has(input[type=checkbox]) { margin-left: auto; font-size: .84rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--d4-ink2); min-height: 40px; }
#mv.xd-07 #mv-c .xd4-ctl input[type=checkbox] { accent-color: var(--d4-gold); }

/* ---------- scatter band ---------- */
#mv.xd-07 #mv-c .xd4-band { border-radius: 10px; padding: .8rem 1.1rem .6rem !important; }
#mv.xd-07 #mv-c .xd4-band > div:first-child strong { font-weight: 500; letter-spacing: .02em; }
#mv.xd-07 #mv-c .xd4-band svg g[data-row] rect { transition: stroke-width .12s; }
#mv.xd-07 #mv-c .xd4-band svg g.xd4-hl > rect { stroke: #fff; stroke-width: 3; }
#mv.xd-07 #mv-c .xd4-band svg g[data-row]:not([data-go]):hover > rect { stroke: #fff; }

/* ---------- grid: list + focus panel ---------- */
#mv.xd-07 #mv-c .xd4-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
#mv.xd-07 #mv-c .xd4-panel { order: -1; border-radius: 10px; padding: 1rem 1.1rem; }
@media (min-width: 1100px) {
  #mv.xd-07 #mv-c .xd4-grid { grid-template-columns: minmax(0, 1fr) 440px; }
  #mv.xd-07 #mv-c .xd4-panel { order: 0; position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; scrollbar-width: thin; padding: 1.1rem 1.2rem 1.2rem; }
  #mv.xd-07 #mv-c .xd4-panel.has-f { border-color: color-mix(in srgb, var(--d4-gold) 38%, transparent); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--d4-gold) 45%, transparent); }
}

/* ---------- compact ranking list ---------- */
#mv.xd-07 #mv-c .xd4-list { border-radius: 10px; padding: .85rem 1rem .7rem !important; }
#mv.xd-07 #mv-c .xd4-lh strong { font-weight: 500; letter-spacing: .02em; }
#mv.xd-07 #mv-c .xd4-cols { display: none; }
#mv.xd-07 #mv-c .mv-det { display: none; }
#mv.xd-07 #mv-c .mv-li { border-bottom-color: var(--d4-line); }
#mv.xd-07 #mv-c .mv-rank { color: var(--color-mute); font-size: .78rem; font-variant-numeric: tabular-nums; min-width: 1.4em; text-align: right; }
#mv.xd-07 #mv-c .mv-row-name { font-weight: 500; }
#mv.xd-07 #mv-c .mv-bar-t { height: 5px; }
#mv.xd-07 #mv-c .mv-li-h .mv-vs { min-height: 30px; min-width: 52px; padding: 0 .5rem; font-size: .66rem; letter-spacing: .08em; border-color: var(--d4-line2); }
@media (min-width: 1100px) {
  #mv.xd-07 #mv-c .xd4-cols { display: grid; grid-template-columns: minmax(0, 1fr) 120px 190px; gap: .9rem; align-items: end; padding: .3rem .6rem .35rem calc(52px + .5rem + .6rem); border-bottom: 1px solid var(--d4-line); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-mute); }
  #mv.xd-07 #mv-c .xd4-cols span:nth-child(1), #mv.xd-07 #mv-c .xd4-cols span:nth-child(2) { display: none; }
  #mv.xd-07 #mv-c .xd4-cols span:last-child { text-align: right; line-height: 1.35; }
  #mv.xd-07 #mv-c .mv-row { grid-template-columns: minmax(0, 1fr) 120px 190px; gap: .9rem; min-height: 40px; padding: .3rem .6rem; border-radius: 8px; }
  #mv.xd-07 #mv-c .mv-row-chev { display: none; }
  #mv.xd-07 #mv-c .mv-row-v { font-weight: 600; font-size: .9rem; }
  #mv.xd-07 #mv-c .mv-li { position: relative; }
  #mv.xd-07 #mv-c .mv-li.xd4-on .mv-row, #mv.xd-07 #mv-c .mv-li.open .mv-row { background: color-mix(in srgb, var(--d4-gold) 7%, transparent); }
  #mv.xd-07 #mv-c .mv-li.xd4-on .mv-row-name, #mv.xd-07 #mv-c .mv-li.open .mv-row-name { color: var(--d4-gold); }
  #mv.xd-07 #mv-c .mv-li.open::before { content: ''; position: absolute; left: -1rem; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--d4-gold); }
}

/* ---------- focus panel: market overview ---------- */
#mv.xd-07 #mv-c .xd4-oh h3 { margin: .3rem 0 .25rem; font-size: 1.15rem; font-weight: 500; letter-spacing: .02em; }
#mv.xd-07 #mv-c .xd4-hint { margin: 0 0 .9rem; font-size: .8rem; line-height: 1.4; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd4-kpis { grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0 0 1rem; }
#mv.xd-07 #mv-c .xd4-kpis .mv-kpi { padding: .65rem .75rem; border-radius: 8px; background: rgba(255,255,255,.02); border: 1px solid var(--d4-line); box-shadow: none; }
#mv.xd-07 #mv-c .xd4-kpis .mv-kpi .l { font-size: .6rem; letter-spacing: .1em; font-weight: 700; }
#mv.xd-07 #mv-c .xd4-kpis .mv-kpi .v { font-size: 1.45rem; font-weight: 300; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
#mv.xd-07 #mv-c .xd4-kpis .mv-kpi .s { font-size: .74rem; }
#mv.xd-07 #mv-c .xd4-blk { padding: .8rem 0 .2rem; border-top: 1px solid var(--d4-line); }
#mv.xd-07 #mv-c .xd4-blk > .xd4-cap { display: flex; justify-content: space-between; margin-bottom: .55rem; }
#mv.xd-07 #mv-c .xd4-blk > .xd4-cap span { font-weight: 500; letter-spacing: .04em; text-transform: none; }
#mv.xd-07 #mv-c .xd4-blk > .xd4-cap span b { color: var(--d4-gold); font-weight: 600; }
#mv.xd-07 #mv-c .xd4-rg { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; padding: .22rem 0; }
#mv.xd-07 #mv-c .xd4-rg .xd4-cap { letter-spacing: .04em; text-transform: none; font-weight: 500; font-size: .8rem; color: var(--d4-ink2); }
#mv.xd-07 #mv-c .xd4-rg-v { display: grid; grid-template-columns: 70px 70px 70px; text-align: right; font-size: .84rem; font-variant-numeric: tabular-nums; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd4-rg-v b { color: var(--d4-gold); font-weight: 600; }
#mv.xd-07 #mv-c .xd4-stack { display: flex; gap: 2px; height: 8px; border-radius: 99px; overflow: hidden; margin-bottom: .5rem; }
#mv.xd-07 #mv-c .xd4-stack i { display: block; min-width: 3px; }
#mv.xd-07 #mv-c .xd4-leg { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .76rem; color: var(--d4-ink2); }
#mv.xd-07 #mv-c .xd4-leg b { color: var(--color-ink); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: .15rem; }
#mv.xd-07 #mv-c .xd4-sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: .4rem; vertical-align: 0; }
#mv.xd-07 #mv-c .s-good { background: var(--color-good); }
#mv.xd-07 #mv-c .s-good2 { background: color-mix(in srgb, var(--color-good) 50%, #0b1130); }
#mv.xd-07 #mv-c .s-bad { background: var(--color-bad); }
#mv.xd-07 #mv-c .s-warn { background: var(--color-warn); }
#mv.xd-07 #mv-c .s-none { background: rgba(255,255,255,.14); }
#mv.xd-07 #mv-c .s-a1 { background: var(--rf-cream, #fff4e6); }
#mv.xd-07 #mv-c .s-a2 { background: var(--d4-gold); }
#mv.xd-07 #mv-c .s-a3 { background: var(--rf-apri, #ff9f7a); }
#mv.xd-07 #mv-c .s-a4 { background: var(--rf-lilac, #c7a6ff); }
#mv.xd-07 #mv-c .xd4-foot-n { margin: .6rem 0 0; font-size: .72rem; line-height: 1.4; color: var(--color-mute); }

/* ---------- focus panel / sheet: one firm ---------- */
#mv.xd-07 #mv-c .xd4-fh { display: flex; align-items: center; gap: .75rem; }
#mv.xd-07 #mv-c .xd4-fn { min-width: 0; flex: 1 1 auto; }
#mv.xd-07 #mv-c .xd4-name { display: block; font-size: 1.15rem; font-weight: 500; letter-spacing: .02em; color: var(--color-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#mv.xd-07 #mv-c .xd4-name:hover { color: var(--d4-gold); }
#mv.xd-07 #mv-c .xd4-sub { font-size: .76rem; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd4-x { flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 30px; padding: 0 .65rem; border-radius: 999px; border: 1px solid var(--d4-line2); background: transparent; color: var(--color-mute); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
#mv.xd-07 #mv-c .xd4-x span { font-size: 1rem; line-height: 1; letter-spacing: 0; }
#mv.xd-07 #mv-c .xd4-x:hover { color: var(--color-ink); border-color: color-mix(in srgb, var(--d4-gold) 70%, transparent); }
#mv.xd-07 #mv-c .xd4-pos { margin: .7rem 0 .6rem; font-size: .78rem; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd4-pos b { color: var(--d4-gold); font-weight: 600; font-variant-numeric: tabular-nums; }
#mv.xd-07 #mv-c .xd4-tabs { margin: 0 0 .55rem; }
#mv.xd-07 #mv-c .xd4-acc { margin: 0 0 .7rem; font-size: .86rem; color: var(--color-ink); }
#mv.xd-07 #mv-c .xd4-acc .xd4-cap { margin-right: .4rem; }
#mv.xd-07 #mv-c .xd4-ms { border-top: 1px solid var(--d4-line); padding-top: .6rem; }
#mv.xd-07 #mv-c .xd4-vs { letter-spacing: .04em; text-transform: none; font-weight: 500; font-size: .72rem; margin-bottom: .35rem; }
#mv.xd-07 #mv-c .xd4-m { padding: .5rem 0 .45rem; border-bottom: 1px solid var(--d4-line); }
#mv.xd-07 #mv-c .xd4-m-h { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
#mv.xd-07 #mv-c .xd4-m-l { font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-mute); white-space: nowrap; }
#mv.xd-07 #mv-c .xd4-m-v { font-size: .98rem; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; min-width: 0; }
#mv.xd-07 #mv-c .xd4-m-v .xd4-txt { font-size: .8rem; font-weight: 400; color: var(--d4-ink2); }
#mv.xd-07 #mv-c .xd4-was { font-size: .76rem; color: var(--color-mute); margin-left: .3rem; font-weight: 400; }
#mv.xd-07 #mv-c .xd4-ns { font-size: .8rem; font-weight: 400; color: var(--color-mute); font-style: italic; }
#mv.xd-07 #mv-c .xd4-tr { position: relative; height: 6px; margin: .5rem 5px .3rem; border-radius: 99px; background: rgba(255,255,255,.06); }
#mv.xd-07 #mv-c .xd4-fill { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: color-mix(in srgb, var(--d4-gold) 35%, transparent); }
#mv.xd-07 #mv-c .xd4-med { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--color-mute); }
#mv.xd-07 #mv-c .xd4-dot { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--d4-gold); box-shadow: 0 0 0 2px #0b1130, 0 0 10px -1px var(--d4-gold); }
#mv.xd-07 #mv-c .xd4-sc { display: flex; justify-content: space-between; font-size: .68rem; color: var(--color-mute); font-variant-numeric: tabular-nums; }
#mv.xd-07 #mv-c .xd4-m-n { margin-top: .2rem; font-size: .72rem; line-height: 1.35; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd4-chips { margin: .8rem 0 .9rem; gap: .35rem; }
#mv.xd-07 #mv-c .xd4-foot { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
#mv.xd-07 #mv-c .xd4-foot .btn { justify-content: center; text-align: center; min-height: 42px; }

/* ---------- phone / narrow: sheet under the tapped row ---------- */
#mv.xd-07 #mv-c .xd4-sheet { margin: 0 0 .6rem; padding: .95rem .9rem 1rem; background: #0a0f25; border: 1px solid color-mix(in srgb, var(--d4-gold) 30%, var(--d4-line)); border-radius: 10px; }
#mv.xd-07 #mv-c .xd4-sheet .xd4-fh .logo-tile { width: 38px !important; height: 38px !important; }
@media (max-width: 1099px) {
  #mv.xd-07 #mv-c .xd4-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mv.xd-07 #mv-c .mv-li.xd4-has-sheet { border-bottom: 0; }
}
@media (max-width: 640px) {
  #mv.xd-07 #mv-c .xd4-ctl { gap: .5rem .8rem; }
  #mv.xd-07 #mv-c .xd4-ctl > label { flex-wrap: wrap; }
  #mv.xd-07 #mv-c .xd4-ctl > label:has(select[data-act=xa]), #mv.xd-07 #mv-c .xd4-ctl > label:has(select[data-act=ya]) { flex: 1 1 100%; }
  #mv.xd-07 #mv-c .xd4-ctl > label:has(select[data-act=xa]) select, #mv.xd-07 #mv-c .xd4-ctl > label:has(select[data-act=ya]) select { flex: 1 1 auto; min-width: 0; }
  #mv.xd-07 #mv-c .xd4-ctl > label:has(input[type=checkbox]) { margin-left: 0; }
  #mv.xd-07 #mv-c .xd4-panel { padding: .9rem .9rem 1rem; }
  #mv.xd-07 #mv-c .xd4-band { padding: .7rem .6rem .5rem !important; }
  #mv.xd-07 #mv-c .xd4-list { padding: .75rem .6rem .6rem !important; }
  #mv.xd-07 #mv-c .xd4-rg-v { grid-template-columns: 62px 62px 62px; font-size: .8rem; }
  #mv.xd-07 #mv-c .xd4-kpis .mv-kpi .v { font-size: 1.25rem; }
  #mv.xd-07 #mv-c .xd4-sc, #mv.xd-07 #mv-c .xd4-m-n { font-size: .72rem; }
  #mv.xd-07 #mv-c .xd4-foot { grid-template-columns: 1fr; }
}

/* panel compaction: measures in two columns on desktop, compact account tabs */
#mv.xd-07 #mv-c .xd4-tabs { display: flex; flex-wrap: wrap; gap: .35rem; }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab { display: inline-flex; align-items: baseline; gap: .4rem; min-height: 30px; padding: .3rem .65rem; border-radius: 8px; font-size: .76rem; line-height: 1.2; text-align: left; }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab .t { font-weight: 600; }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab .s { font-size: .68rem; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd4-m-h { flex-wrap: wrap; row-gap: .1rem; }
@media (min-width: 1100px) {
  #mv.xd-07 #mv-c .xd4-panel .xd4-ms { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
  #mv.xd-07 #mv-c .xd4-panel .xd4-ms > .xd4-vs, #mv.xd-07 #mv-c .xd4-panel .xd4-ms > .xd4-m-x { grid-column: 1 / -1; }
  #mv.xd-07 #mv-c .xd4-panel .xd4-m-v { font-size: .92rem; }
}
#mv.xd-07 #mv-c details.xd4-more { border-top: 1px solid var(--d4-line); }
#mv.xd-07 #mv-c details.xd4-more > summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; list-style: none; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--d4-gold); }
#mv.xd-07 #mv-c details.xd4-more > summary::-webkit-details-marker { display: none; }
#mv.xd-07 #mv-c details.xd4-more > summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .15s; }
#mv.xd-07 #mv-c details.xd4-more[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
@media (min-width: 1100px) {
  #mv.xd-07 #mv-c .xd4-tabs .acc-tab { flex-direction: row; }
}

/* ================= variant 07 "Scorecard rows" ================= */
/* scorecard: one full-width row per measure: label | value | median bar | median */
#mv.xd-07 #mv-c .xd7-sc { border-top: 1px solid var(--d4-line); margin-top: .2rem; }
#mv.xd-07 #mv-c .xd7-hd, #mv.xd-07 #mv-c .xd7-r { display: grid; grid-template-columns: 102px 84px minmax(0, 1fr) 58px; column-gap: .7rem; align-items: center; }
#mv.xd-07 #mv-c .xd7-hd { padding: .55rem 0 .4rem; border-bottom: 1px solid var(--d4-line2); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd7-hd span:nth-child(2), #mv.xd-07 #mv-c .xd7-hd span:nth-child(4) { text-align: right; }
#mv.xd-07 #mv-c .xd7-hd span:nth-child(3) { letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mv.xd-07 #mv-c .xd7-r { padding: .5rem 0; border-bottom: 1px solid var(--d4-line); min-height: 44px; }
#mv.xd-07 #mv-c .xd7-r:hover { background: linear-gradient(90deg, transparent, rgba(255,255,255,.025) 20%, rgba(255,255,255,.025) 80%, transparent); }
#mv.xd-07 #mv-c .xd7-l { display: flex; flex-direction: column; min-width: 0; }
#mv.xd-07 #mv-c .xd7-lt { font-size: .82rem; font-weight: 500; color: var(--color-ink); line-height: 1.25; }
#mv.xd-07 #mv-c .xd7-n { font-size: .7rem; color: var(--color-mute); line-height: 1.3; margin-top: .1rem; }
#mv.xd-07 #mv-c .xd7-v { text-align: right; font-size: .92rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; color: var(--color-ink); display: flex; flex-direction: column; align-items: flex-end; }
#mv.xd-07 #mv-c .xd7-vs { font-size: .68rem; font-weight: 400; color: var(--color-mute); margin-top: .1rem; }
#mv.xd-07 #mv-c .xd7-vs s { text-decoration-thickness: 1px; }
#mv.xd-07 #mv-c .xd7-rx .xd7-vw { grid-column: 2 / -1; text-align: left; align-items: flex-start; font-weight: 400; }
#mv.xd-07 #mv-c .xd7-txt { font-size: .8rem; color: var(--d4-ink2); line-height: 1.35; font-weight: 400; }
#mv.xd-07 #mv-c .xd7-tp { font-size: .8rem; font-weight: 500; white-space: nowrap; }
#mv.xd-07 #mv-c .xd7-tp a { text-decoration: none; }
#mv.xd-07 #mv-c .xd7-tp .stars { font-size: .72rem; }
#mv.xd-07 #mv-c .xd7-b { min-width: 0; padding: 0 2px; }
#mv.xd-07 #mv-c .xd7-b .xd4-tr { margin: .35rem 4px .3rem; height: 5px; }
#mv.xd-07 #mv-c .xd7-b .xd4-dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
#mv.xd-07 #mv-c .xd7-mm { display: flex; justify-content: space-between; font-size: .66rem; color: var(--color-mute); font-variant-numeric: tabular-nums; line-height: 1.1; }
#mv.xd-07 #mv-c .xd7-md { text-align: right; font-size: .84rem; font-variant-numeric: tabular-nums; color: var(--d4-ink2); }
#mv.xd-07 #mv-c .xd7-mdl { display: none; }
#mv.xd-07 #mv-c .xd7-key { margin: .45rem 0 0; font-size: .7rem; color: var(--color-mute); display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
#mv.xd-07 #mv-c .xd7-key i { display: inline-block; flex: none; }
#mv.xd-07 #mv-c .xd7-key .k-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--d4-gold); }
#mv.xd-07 #mv-c .xd7-key .k-med { width: 2px; height: 10px; border-radius: 1px; background: var(--color-mute); margin-left: .4rem; }

/* rules table: rule | value */
#mv.xd-07 #mv-c .xd7-h { margin: 1.1rem 0 0; padding-bottom: .4rem; border-bottom: 1px solid var(--d4-line2); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd7-rt dl { margin: 0; }
#mv.xd-07 #mv-c .xd7-rr { display: grid; grid-template-columns: 130px minmax(0, 1fr); column-gap: .9rem; padding: .42rem 0; border-bottom: 1px solid var(--d4-line); font-size: .82rem; line-height: 1.35; }
#mv.xd-07 #mv-c .xd7-rr dt { color: var(--color-mute); font-weight: 400; }
#mv.xd-07 #mv-c .xd7-rr dd { margin: 0; color: var(--color-ink); min-width: 0; overflow-wrap: anywhere; }
#mv.xd-07 #mv-c .xd7-rr dd.xd4-ns { color: var(--color-mute); }
#mv.xd-07 #mv-c .xd7-pl { align-items: center; }
#mv.xd-07 #mv-c .xd7-pl ul { margin: 0; padding: 0; list-style: none; }

/* actions: code chip | Get deal | Full review in one tight row, compare line under it */
#mv.xd-07 #mv-c .xd7-act { margin-top: 1rem; }
#mv.xd-07 #mv-c .xd7-act .mv-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .45rem; align-items: stretch; margin: 0; }
#mv.xd-07 #mv-c .xd7-act .mv-deal { display: contents; }
#mv.xd-07 #mv-c .xd7-act .mv-foot .btn { min-height: 38px; padding: 0 1rem; font-size: .86rem; border-radius: 10px; justify-content: center; width: auto; flex: none; grid-row: 1; }
#mv.xd-07 #mv-c .xd7-act .mv-deal > .btn { grid-column: 2; }
#mv.xd-07 #mv-c .xd7-act .mv-foot > .btn { grid-column: 3; }
#mv.xd-07 #mv-c .xd7-act .mv-deal > .code-chip { grid-column: 1; grid-row: 1; width: auto; min-height: 38px; justify-content: space-between; padding: 0 .65rem; gap: .45rem; font-size: .8rem; }
#mv.xd-07 #mv-c .xd7-act .mv-deal > .code-chip .code-label { display: inline; font-size: .74rem; }
#mv.xd-07 #mv-c .xd7-act .mv-deal > .code-chip .code-val { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: left; }
#mv.xd-07 #mv-c .xd7-act .mv-deal > .mv-deal-l { grid-column: 1 / -1; grid-row: 2; margin: 0; text-align: left; font-size: .7rem; }
#mv.xd-07 #mv-c .xd7-act .mv-foot:not(:has(.code-chip)) { grid-template-columns: 1fr 1fr; }
#mv.xd-07 #mv-c .xd7-act .mv-foot:not(:has(.code-chip)) .mv-deal > .btn { grid-column: 1; }
#mv.xd-07 #mv-c .xd7-act .mv-foot:not(:has(.code-chip)) > .btn { grid-column: 2; }
#mv.xd-07 #mv-c .xd7-cmp { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .6rem; padding-top: .55rem; border-top: 1px solid var(--d4-line); }
#mv.xd-07 #mv-c .xd7-cmp .mv-vs { min-height: 30px; }
#mv.xd-07 #mv-c .xd7-cl { font-size: .8rem; font-weight: 500; color: var(--d4-gold); text-decoration: none; min-height: 30px; display: inline-flex; align-items: center; gap: .3rem; }
#mv.xd-07 #mv-c .xd7-cl:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ranking list: rows as slim cards with a small gap */
#mv.xd-07 #mv-c .xd7-cards .xd4-cols { display: none !important; }
#mv.xd-07 #mv-c .xd7-cards [role=list] { display: flex; flex-direction: column; gap: 4px; margin-top: .5rem; }
#mv.xd-07 #mv-c .xd7-cards .mv-li { border: 1px solid var(--d4-line); border-radius: 8px; background: rgba(255,255,255,.018); transition: border-color .12s, background .12s; }
#mv.xd-07 #mv-c .xd7-cards .mv-li:hover { border-color: color-mix(in srgb, var(--d4-gold) 35%, var(--d4-line)); background: rgba(255,255,255,.035); }
#mv.xd-07 #mv-c .xd7-cards .mv-li.xd4-on, #mv.xd-07 #mv-c .xd7-cards .mv-li.open { border-color: color-mix(in srgb, var(--d4-gold) 60%, transparent); background: color-mix(in srgb, var(--d4-gold) 6%, transparent); }
#mv.xd-07 #mv-c .xd7-cards .mv-li.open::before { display: none; }
#mv.xd-07 #mv-c .xd7-cards .mv-li-h { padding-left: .4rem; }
#mv.xd-07 #mv-c .xd7-cards .mv-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 20px; padding: 0 .3rem; border-radius: 5px; border: 1px solid var(--d4-line2); font-size: .72rem; font-weight: 600; color: var(--d4-ink2); text-align: center; }
#mv.xd-07 #mv-c .xd7-cards .mv-li.xd4-on .mv-rank, #mv.xd-07 #mv-c .xd7-cards .mv-li.open .mv-rank { border-color: var(--d4-gold); color: var(--d4-gold); }
#mv.xd-07 #mv-c .xd7-sts { display: flex; justify-content: flex-end; gap: 1.1rem; font-weight: 400 !important; }
#mv.xd-07 #mv-c .xd7-st { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; min-width: 0; }
#mv.xd-07 #mv-c .xd7-st em { font-style: normal; font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-mute); white-space: nowrap; }
#mv.xd-07 #mv-c .xd7-st b { font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--color-ink); white-space: nowrap; }
@media (min-width: 1100px) {
  #mv.xd-07 #mv-c .xd7-cards .mv-row { grid-template-columns: minmax(0, 1fr) 100px 230px; min-height: 44px; padding: .25rem .7rem .25rem .4rem; background: none !important; }
  #mv.xd-07 #mv-c .xd7-cards .mv-li.xd4-on .mv-row-name, #mv.xd-07 #mv-c .xd7-cards .mv-li.open .mv-row-name { color: var(--color-ink); }
  #mv.xd-07 #mv-c .xd7-cards .mv-row:hover .mv-row-name { color: var(--d4-gold); }
}
@media (max-width: 1099px) {
  #mv.xd-07 #mv-c .xd7-st em { font-size: .7rem; letter-spacing: .06em; }
  #mv.xd-07 #mv-c .xd7-sts { gap: .8rem; }
}

/* phone / narrow: scorecard rows stack to label + value, then bar + median */
@media (max-width: 640px) {
  #mv.xd-07 #mv-c .xd7-hd { display: none; }
  #mv.xd-07 #mv-c .xd7-r { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l v" "b md"; row-gap: .3rem; }
  #mv.xd-07 #mv-c .xd7-r .xd7-l { grid-area: l; }
  #mv.xd-07 #mv-c .xd7-r .xd7-v { grid-area: v; }
  #mv.xd-07 #mv-c .xd7-r .xd7-b { grid-area: b; }
  #mv.xd-07 #mv-c .xd7-r .xd7-md { grid-area: md; font-size: .74rem; align-self: start; }
  #mv.xd-07 #mv-c .xd7-mdl { display: inline; margin-right: .3rem; color: var(--color-mute); }
  #mv.xd-07 #mv-c .xd7-rx { grid-template-areas: "l" "v"; grid-template-columns: 1fr; }
  #mv.xd-07 #mv-c .xd7-rx .xd7-vw { grid-column: auto; }
  #mv.xd-07 #mv-c .xd7-mm, #mv.xd-07 #mv-c .xd7-n, #mv.xd-07 #mv-c .xd7-vs, #mv.xd-07 #mv-c .xd7-key, #mv.xd-07 #mv-c .xd7-h { font-size: .7rem; }
  #mv.xd-07 #mv-c .xd7-rr { grid-template-columns: 112px minmax(0, 1fr); }
  #mv.xd-07 #mv-c .xd7-act .mv-foot { grid-template-columns: 1fr 1fr; }
  #mv.xd-07 #mv-c .xd7-act .mv-deal > .code-chip { grid-column: 1 / -1; grid-row: 1; min-height: 42px; }
  #mv.xd-07 #mv-c .xd7-act .mv-deal > .btn { grid-column: 1; grid-row: 2; }
  #mv.xd-07 #mv-c .xd7-act .mv-foot > .btn { grid-column: 2; grid-row: 2; }
  #mv.xd-07 #mv-c .xd7-act .mv-foot .btn { min-height: 42px; }
  #mv.xd-07 #mv-c .xd7-act .mv-deal > .mv-deal-l { grid-row: 3; }
  #mv.xd-07 #mv-c .xd4-cap, #mv.xd-07 #mv-c .xd4-tabs .acc-tab .s { font-size: .7rem; }
}
#mv.xd-07 #mv-c .xd7-r:not(.xd7-rx) .xd7-tp { white-space: normal; font-size: .76rem; }
#mv.xd-07 #mv-c .xd7-r:not(.xd7-rx) .xd7-tp a { display: inline-flex; flex-direction: column; align-items: flex-end; gap: .1rem; }
#mv.xd-07 #mv-c .xd7-key { gap: .2rem .9rem; }
#mv.xd-07 #mv-c .xd7-key span { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
#mv.xd-07 #mv-c .xd7-key .k-med { margin-left: 0; }

/* Hover in the chart's label boxes: the market's own colour (futures gold, forex apricot, crypto lilac) instead of the blue panel tone. */
#mv.xd-07 #mv-c .mv-prow:hover, #mv.xd-07 #mv-c g[data-go]:focus-visible .mv-prow { fill: color-mix(in srgb, var(--rf-a, var(--color-accent)) 22%, transparent); }
/* Picked for VS: the whole row outlined in the market colour; hover: the fading bracket (t02.css, same on every view). */
#mv.xd-07 #mv-c .xd7-cards .mv-li.vs-on, #mv.xd-07 #mv-c .xd7-cards .mv-li.vs-on:hover { border-color: var(--rf-a, var(--color-accent)); box-shadow: 0 0 0 1px var(--rf-a, var(--color-accent)); }
#mv.xd-07 #mv-c .xd7-cards .mv-li.xd4-on:not(.vs-on), #mv.xd-07 #mv-c .xd7-cards .mv-li:not(.vs-on):hover { border-color: var(--d4-line); }

/* Scorecard bars: green when this account is better than the market median for the trader, red when worse */
#mv.xd-07 #mv-c .xd7-b.xd7-good .xd4-fill { background: color-mix(in srgb, #34c38f 45%, transparent); }
#mv.xd-07 #mv-c .xd7-b.xd7-good .xd4-dot { background: #34c38f; box-shadow: 0 0 0 2px #0b1130, 0 0 10px -1px #34c38f; }
#mv.xd-07 #mv-c .xd7-b.xd7-bad .xd4-fill { background: color-mix(in srgb, #e5484d 45%, transparent); }
#mv.xd-07 #mv-c .xd7-b.xd7-bad .xd4-dot { background: #e5484d; box-shadow: 0 0 0 2px #0b1130, 0 0 10px -1px #e5484d; }

/* Funded rules switch on: the rules table says so in the market colour */
#mv.xd-07 #mv-c .xd7-rt.xd7-fu .xd7-h { color: var(--rf-a, var(--color-accent)); }

/* ---------- Controls in the Table's style: one filter card, small-capital labels above custom dropdowns ---------- */
#mv.xd-07 #mv-c .xd7-fcard { margin: 0 0 1rem; padding: 1rem 1.1rem 1.05rem; border: 1px solid var(--rf-line2, #2a3550); border-radius: 14px; background: rgba(4, 7, 22, .55); }
#mv.xd-07 #mv-c .xd7-fcard > .mv-ctl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto; align-items: end; gap: .9rem 1rem; margin: 0; padding: 0; border: 0; }
#mv.xd-07 #mv-c .xd7-fcard > .mv-dxrow { grid-template-columns: repeat(5, minmax(0, 1fr)) auto; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--rf-line, #1c2438); }
#mv.xd-07 #mv-c .xd7-fcard label:has(> select) { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 0; position: relative; margin: 0; }
#mv.xd-07 #mv-c .xd7-fl { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rf-ink2, #c6cadf); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mv.xd-07 #mv-c .xd7-nat { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; }
#mv.xd-07 #mv-c .xd7-dd { position: relative; min-width: 0; }
#mv.xd-07 #mv-c .xd7-ddb { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; min-height: 44px; margin: .35rem 0 0; padding: 0 .8rem; border-radius: 9px; border: 1px solid var(--rf-line2, #2a3550); background: rgba(4, 7, 22, .62); color: #fff; font-size: .9rem; font-weight: 600; text-align: left; cursor: pointer; min-width: 0; overflow: hidden; }
#mv.xd-07 #mv-c .xd7-ddb:hover { border-color: color-mix(in srgb, var(--rf-a) 55%, var(--rf-line2, #2a3550)); }
#mv.xd-07 #mv-c .xd7-dd.open > .xd7-ddb { border-color: var(--rf-a); }
#mv.xd-07 #mv-c .xd7-dd.on > .xd7-ddb { border-color: var(--rf-a); background: color-mix(in srgb, var(--rf-a) 11%, #070b22); }
#mv.xd-07 #mv-c .mv-dxrow .xd7-dd:not(.on) > .xd7-ddb { color: var(--rf-ink2, #c6cadf); font-weight: 500; }
#mv.xd-07 #mv-c .xd7-ddv { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#mv.xd-07 #mv-c .xd7-ddb > svg { flex: none; opacity: .85; transition: transform .2s; }
#mv.xd-07 #mv-c .xd7-dd.open > .xd7-ddb > svg { transform: rotate(180deg); }
#mv.xd-07 #mv-c .xd7-ddp { position: absolute; z-index: 70; left: 0; top: calc(100% + 8px); box-sizing: border-box; min-width: 100%; width: max-content; max-width: min(360px, calc(100vw - 1.5rem)); padding: .45rem; border-radius: 10px; border: 1px solid var(--rf-line2, #2a3550); background: #0a1030; box-shadow: 0 26px 60px -18px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .04); }
#mv.xd-07 #mv-c .mv-dxrow label:nth-child(n+4) .xd7-ddp { left: auto; right: 0; }
#mv.xd-07 #mv-c .xd7-ddp[hidden] { display: none; }
#mv.xd-07 #mv-c .xd7-ddh { display: none; }
#mv.xd-07 #mv-c .xd7-ddcap { margin: 0; padding: 0 .65rem .2rem; text-align: right; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rf-ink3, #8f95b2); }
#mv.xd-07 #mv-c .xd7-ddl { display: grid; gap: 2px; max-height: min(56vh, 380px); overflow-y: auto; scrollbar-width: thin; }
#mv.xd-07 #mv-c .xd7-ddo { box-sizing: border-box; display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 38px; padding: .3rem .6rem; border: 0; border-radius: 7px; background: none; color: var(--color-ink); font-size: .88rem; font-weight: 500; text-align: left; cursor: pointer; }
#mv.xd-07 #mv-c .xd7-ddo:hover, #mv.xd-07 #mv-c .xd7-ddo:focus-visible { background: rgba(255, 255, 255, .06); outline: 0; }
#mv.xd-07 #mv-c .xd7-ddo:focus-visible { box-shadow: inset 0 0 0 1.5px var(--rf-a); }
#mv.xd-07 #mv-c .xd7-ddo[aria-selected="true"] { color: #fff; font-weight: 600; background: color-mix(in srgb, var(--rf-a) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rf-a) 55%, transparent); }
#mv.xd-07 #mv-c .xd7-ddo[data-zero] { opacity: .45; }
#mv.xd-07 #mv-c .xd7-ddm { flex: none; box-sizing: border-box; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid rgba(214, 222, 255, .38); }
#mv.xd-07 #mv-c .xd7-ddo[aria-selected="true"] > .xd7-ddm { border-color: var(--rf-a); background: radial-gradient(circle, var(--rf-a) 0 4px, transparent 5px); }
#mv.xd-07 #mv-c .xd7-ddt { flex: 1 1 auto; min-width: 0; }
#mv.xd-07 #mv-c .xd7-ddn { flex: none; margin-left: .8rem; font-size: .78rem; color: var(--color-mute); font-variant-numeric: tabular-nums; }
#mv.xd-07 #mv-c .xd7-fcard .rules-sw { align-self: end; }
#mv.xd-07 #mv-c .xd7-fcard > .mv-ctl > label:not(:has(> select)) { align-self: end; min-height: 44px; display: inline-flex; align-items: center; }
#mv.xd-07 #mv-c .mv-dx-reset { align-self: end; min-height: 44px; white-space: nowrap; }
@media (max-width: 1099px) {
  #mv.xd-07 #mv-c .xd7-fcard > .mv-ctl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #mv.xd-07 #mv-c .xd7-fcard > .mv-dxrow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #mv.xd-07 #mv-c .xd7-fcard > .mv-ctl > label:not(:has(> select)), #mv.xd-07 #mv-c .xd7-fcard .rules-sw { grid-column: span 3; justify-self: start; }
}
@media (max-width: 639px) {
  #mv.xd-07 #mv-c .xd7-fcard { padding: .85rem .8rem; }
  #mv.xd-07 #mv-c .xd7-fcard > .mv-ctl, #mv.xd-07 #mv-c .xd7-fcard > .mv-dxrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem .65rem; }
  #mv.xd-07 #mv-c .xd7-fcard > .mv-ctl > label:not(:has(> select)), #mv.xd-07 #mv-c .xd7-fcard .rules-sw, #mv.xd-07 #mv-c .mv-dx-reset { grid-column: 1 / -1; }
  #mv.xd-07 #mv-c .xd7-fl { font-size: .62rem; letter-spacing: .1em; }
  /* Phones (owner, 30 Nov 2026, no text cut off): the X-axis choice ("Cost to get funded") gets a row of its own, the Y axis sits next to
     the account size, and a long label wraps to a second line instead of ending in an ellipsis. */
  #mv.xd-07 #mv-c .xd7-fcard > .mv-ctl > * { order: 4; }
  #mv.xd-07 #mv-c .xd7-fcard > .mv-ctl > label:has(> select[data-act="size"]) { order: 1; }
  #mv.xd-07 #mv-c .xd7-fcard > .mv-ctl > label:has(> select[data-act="size"]) { grid-column: 1 / -1; }
  #mv.xd-07 #mv-c .xd7-fcard > .mv-ctl > label:has(> select[data-act="xa"]) { order: 2; grid-column: 1 / -1; }
  #mv.xd-07 #mv-c .xd7-fcard > .mv-ctl > label:has(> select[data-act="ya"]) { order: 3; grid-column: 1 / -1; }
  #mv.xd-07 #mv-c .xd7-fl { white-space: normal; line-height: 1.25; }
  #mv.xd-07 #mv-c .xd7-ddp { position: fixed; z-index: 91; left: 0; right: 0; top: auto; bottom: 0; width: auto; min-width: 0; max-width: none; max-height: 80vh; overflow-y: auto; padding: .9rem .8rem calc(.9rem + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; }
  #mv.xd-07 #mv-c .mv-dxrow label:nth-child(n+4) .xd7-ddp { right: 0; }
  #mv.xd-07 #mv-c .xd7-ddh { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 .2rem .6rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rf-a); }
  #mv.xd-07 #mv-c .xd7-ddd { min-height: 36px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--rf-line2, #2a3550); background: none; color: #fff; font-weight: 600; letter-spacing: 0; text-transform: none; }
  #mv.xd-07 #mv-c .xd7-ddl { max-height: none; }
  #mv.xd-07 #mv-c .xd7-ddo { min-height: 46px; font-size: .95rem; }
}
.xd7-ddbd { position: fixed; inset: 0; z-index: 90; background: rgba(2, 4, 14, .6); }
.xd7-ddbd[hidden] { display: none; }
html.xd7-lock, html.xd7-lock body { overflow: hidden !important; }
#mv.xd-07 #mv-c .xd7-fcard .xd7-dd { width: 100%; max-width: 100%; }
#mv.xd-07 #mv-c .xd7-fcard label:has(> select) { flex: initial; max-width: 100%; }

/* Filter card in the Table's colours (navy card, market-colour top edge); no divider line between the two rows */
#mv.xd-07 #mv-c .xd7-fcard { border: 1px solid color-mix(in srgb, var(--rf-a) 30%, var(--rf-line2, #2a3550)); border-top: 2px solid var(--rf-a); border-radius: 12px; background: #0e1538; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 24px 48px -30px rgba(0, 0, 0, .95); }
#mv.xd-07 #mv-c .xd7-fcard > .mv-dxrow { border-top: 0; padding-top: 0; }
#mv.xd-07 #mv-c .xd7-fl { color: var(--color-mute); }

/* Multi-choice lists (Drawdown): square tick boxes, as in the Table */
#mv.xd-07 #mv-c .xd7-ddc > .xd7-ddm { border-radius: 4px; }
#mv.xd-07 #mv-c .xd7-ddc[aria-selected="true"] > .xd7-ddm { background: var(--rf-a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a1006' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* More filters: a fold-out panel inside the filter card with tick boxes and the number of firms each leaves */
#mv.xd-07 #mv-c .mv-dxmore { margin: .95rem 0 0; padding-top: .8rem; border-top: 1px solid var(--rf-line, #1c2438); }
#mv.xd-07 #mv-c .mv-dxmore > summary { display: flex; align-items: center; gap: .55rem; list-style: none; cursor: pointer; font-weight: 700; color: #fff; min-height: 32px; }
#mv.xd-07 #mv-c .mv-dxmore > summary::-webkit-details-marker { display: none; }
#mv.xd-07 #mv-c .mv-dxmore > summary::after { content: ''; order: 1; width: 7px; height: 7px; margin: -4px 0 0 .1rem; border-right: 2px solid var(--rf-a); border-bottom: 2px solid var(--rf-a); transform: rotate(45deg); transition: transform .15s; }
#mv.xd-07 #mv-c .mv-dxmore[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
#mv.xd-07 #mv-c .mv-dxmore > summary .muted { order: 2; font-weight: 400; font-size: .82rem; margin-left: .6rem; }
#mv.xd-07 #mv-c .mv-dxmore > summary .mv-gn { order: 0; display: inline-grid; place-items: center; min-width: 1.3rem; height: 1.3rem; padding: 0 .3rem; border-radius: 99px; background: var(--rf-a); color: #1a1006; font-size: .72rem; }
#mv.xd-07 #mv-c .mv-dxm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem .9rem; margin-top: .7rem; }
#mv.xd-07 #mv-c .mv-dxc { display: flex; align-items: center; gap: .6rem; min-height: 46px; padding: .35rem .7rem; border: 1px solid var(--rf-line2, #2a3550); border-radius: 9px; background: rgba(4, 7, 22, .62); cursor: pointer; }
#mv.xd-07 #mv-c .mv-dxc:hover { border-color: color-mix(in srgb, var(--rf-a) 55%, var(--rf-line2, #2a3550)); }
#mv.xd-07 #mv-c .mv-dxc.on { border-color: var(--rf-a); background: color-mix(in srgb, var(--rf-a) 11%, #070b22); }
#mv.xd-07 #mv-c .mv-dxc.zero { opacity: .45; }
#mv.xd-07 #mv-c .mv-dxc input { flex: none; width: 17px; height: 17px; min-height: 0; margin: 0; accent-color: var(--rf-a); }
#mv.xd-07 #mv-c .mv-dxc .t { flex: 1 1 auto; min-width: 0; color: #fff; font-size: .88rem; font-weight: 600; line-height: 1.25; }
#mv.xd-07 #mv-c .mv-dxc .t small { display: block; font-size: .74rem; font-weight: 400; color: var(--color-mute); }
#mv.xd-07 #mv-c .mv-dxc .n { flex: none; font-size: .78rem; color: var(--color-mute); font-variant-numeric: tabular-nums; }
@media (max-width: 1099px) { #mv.xd-07 #mv-c .mv-dxm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { #mv.xd-07 #mv-c .mv-dxm { grid-template-columns: 1fr; } #mv.xd-07 #mv-c .mv-dxmore > summary .muted { display: none; } }

/* Colours as the Table and Explorer: navy firm cards on the page, the ranking and the focus panel as navy cards */
#mv.xd-07 #mv-c > .card, #mv.xd-07 #mv-c .xd4-grid > .card, #mv.xd-07 #mv-c .xd4-panel { background: #0b1130; border-color: var(--rf-line2, #2a3550); }
#mv.xd-07 #mv-c .xd7-cards .mv-li { background: #0e1538; border-color: var(--rf-line2, #2a3550); }
#mv.xd-07 #mv-c .xd7-cards .mv-li:hover { background: #111a42; }

/* Scorecard dots: no glow, only a thin ring against the track */
#mv.xd-07 #mv-c .xd4-dot, #mv.xd-07 #mv-c .xd7-b.xd7-good .xd4-dot, #mv.xd-07 #mv-c .xd7-b.xd7-bad .xd4-dot { box-shadow: 0 0 0 2px #0b1130; }

/* Account tabs exactly as in the Table: name, type under it; matching accounts marked with a dot, the others dimmed and dashed */
#mv.xd-07 #mv-c .xd7-acch { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin: .2rem 0 .45rem; font-size: .66rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd7-acch .acc-leg { display: inline-flex; align-items: center; gap: .35rem; font-size: .68rem; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--rf-ink2, #c6cadf); }
#mv.xd-07 #mv-c .xd7-acch .acc-leg i { width: .42rem; height: .42rem; border-radius: 50%; background: color-mix(in srgb, var(--rf-a) 75%, transparent); }
#mv.xd-07 #mv-c .xd4-tabs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .45rem; }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .1rem; min-height: 48px; padding: .45rem .75rem; border-radius: 6px; border: 1px solid var(--rf-line2, #2a3550); background: rgba(255,255,255,.02); font-size: .85rem; line-height: 1.2; text-align: left; }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab .t { font-weight: 700; color: #fff; }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab .s { font-size: .7rem; font-weight: 500; color: var(--color-mute); }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab[aria-selected="true"] { border-color: var(--rf-a); background: color-mix(in srgb, var(--rf-a) 12%, transparent); box-shadow: inset 0 -2px 0 var(--rf-a), 0 10px 22px -16px var(--rf-a); }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab.match:not([aria-selected="true"]) { border-color: color-mix(in srgb, var(--rf-a) 42%, transparent); background: color-mix(in srgb, var(--rf-a) 5%, transparent); }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab.match .t::before { content: ""; display: inline-block; width: .42rem; height: .42rem; margin-right: .4rem; border-radius: 50%; background: color-mix(in srgb, var(--rf-a) 75%, transparent); vertical-align: .08em; }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab.off { opacity: .42; filter: grayscale(1); border-style: dashed; }
#mv.xd-07 #mv-c .xd4-tabs .acc-tab.off:hover { opacity: .7; }

/* "+N matching accounts" on a firm row, as in the Table and Explorer */
#mv.xd-07 #mv-c .mv-match { flex: none; display: inline-flex; align-items: center; min-height: 26px; margin-left: .7rem; padding: 0 .65rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--rf-a) 70%, transparent); background: color-mix(in srgb, var(--rf-a) 8%, transparent); color: var(--rf-a); font-size: .74rem; font-weight: 700; white-space: nowrap; }
#mv.xd-07 #mv-c .mv-row-acc { font-weight: 500; color: var(--rf-ink2, #c6cadf); }
/* Group by firm / All accounts, as above the Table */
#mv.xd-07 #mv-c .mv-dlist { margin: .1rem 0 .7rem; }
@media (max-width: 639px) { #mv.xd-07 #mv-c .mv-match { margin-left: 0; } }
/* Ranking rows (owner, 30 Nov 2026, no text cut off): "+N matching accounts" sits under the firm name instead of beside it, so the
   name keeps its full width (beside it, the button squeezed names down to "A." on tablets and laptops). */
#mv.xd-07 #mv-c .mv-row-nm { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; min-width: 0; flex: 1 1 auto; }
#mv.xd-07 #mv-c .mv-row-nm > .mv-row-name { max-width: 100%; }
#mv.xd-07 #mv-c .mv-row-nm > .mv-match { margin-left: 0; min-height: 22px; font-size: .74rem; }
/* Phones (owner, 30 Nov 2026): the score bar shared a row with the cost/split figures and shrank to a dot; it now runs full width under
   them, and a long firm name wraps to a second line instead of ending in an ellipsis. */
@media (max-width: 599px) {
  #mv.xd-07 #mv-c .mv-row { grid-template-areas: "n n c" "v v v" "b b b"; }
  #mv.xd-07 #mv-c .mv-row-nm > .mv-row-name { white-space: normal; overflow: visible; line-height: 1.25; }
}
/* Narrow phones: the "+N matching accounts" button stays inside the name column, so the open/close arrow never sits on top of it. */
@media (max-width: 599px) {
  #mv.xd-07 #mv-c .mv-row-nm { max-width: 100%; }
  #mv.xd-07 #mv-c .mv-row-nm > .mv-match { max-width: 100%; padding: 0 .5rem; white-space: nowrap; }
}
/* Narrow phones: "+5 accounts" instead of "+5 matching accounts", so the text fits inside its button (owner, 30 Nov 2026). */
@media (max-width: 419px) { #mv.xd-07 #mv-c .mv-row-nm .mv-match-w { display: none; } }

/* Market medians: six tiles fill a 2-column grid evenly on phones (an older rule for five tiles stretched the last one, Trustpilot). */
#mv.xd-07 #mv-c .xd4-kpis .mv-kpi:last-child { grid-column: auto; }
/* Ranking rows on phones (owner, 30 Nov 2026: cramped, VS too big). One clear stack per firm:
   [VS] | rank, logo, name (+ changed dot)            ⌄
        | +N matching accounts
        | COST TO GET FUNDED    PROFIT SPLIT  (two columns, left-aligned)
        | score bar, full width                                            */
@media (max-width: 599px) {
  #mv.xd-07 #mv-c .mv-li-h { gap: .45rem; align-items: center; }
  #mv.xd-07 #mv-c .mv-li-h .mv-vs { flex-direction: column; justify-content: center; gap: .22rem; width: 40px; min-width: 40px; min-height: 50px; padding: .35rem 0; font-size: .55rem; letter-spacing: .1em; border-radius: 10px; }
  #mv.xd-07 #mv-c .mv-li-h .mv-vs .mv-vs-box { width: 15px; height: 15px; }
  #mv.xd-07 #mv-c .mv-row { grid-template-columns: minmax(0, 1fr) 12px; grid-template-areas: "n c" "v v" "b b"; row-gap: .5rem; column-gap: .5rem; padding: .6rem .55rem .65rem .25rem; }
  #mv.xd-07 #mv-c .mv-row .mv-row-chev { align-self: start; margin-top: .55rem; }
  #mv.xd-07 #mv-c .mv-row-n { align-items: flex-start; gap: .5rem; }
  #mv.xd-07 #mv-c .xd7-cards .mv-rank { min-width: 22px; height: 20px; margin-top: 4px; font-size: .7rem; }
  #mv.xd-07 #mv-c .mv-row-nm { gap: .35rem; }
  #mv.xd-07 #mv-c .mv-row-nm > .mv-row-name { display: block; font-size: 1rem; }
  #mv.xd-07 #mv-c .mv-row-nm > .mv-match { min-height: 22px; font-size: .72rem; }
  #mv.xd-07 #mv-c .mv-row .mv-row-v.xd7-sts { justify-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
  #mv.xd-07 #mv-c .mv-row .xd7-st { align-items: flex-start; }
  #mv.xd-07 #mv-c .mv-row .xd7-st em { font-size: .6rem; }
  #mv.xd-07 #mv-c .mv-row .xd7-st b { font-size: 1rem; }
}
/* Group list under the chart (too many firms for a box inside it, phones): heading + Close, one row per firm (logo + name). */
#mv.xd-07 #mv-c .mv-fanlist { margin: .6rem 0 .3rem; border: 1px solid color-mix(in srgb, var(--rf-a) 35%, var(--rf-line2, #2a3550)); border-radius: 12px; background: #0e141b; overflow: hidden; }
#mv.xd-07 #mv-c .mv-fanhd { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem .8rem; border-bottom: 1px solid var(--rf-line, #1c2438); font-size: .82rem; color: var(--color-mute); }
#mv.xd-07 #mv-c .mv-fanhd button { border: 1px solid var(--rf-line2, #2a3550); border-radius: 999px; background: none; color: var(--color-ink); font-size: .78rem; font-weight: 600; padding: .25rem .7rem; min-height: 30px; cursor: pointer; }
#mv.xd-07 #mv-c .mv-fanlist ul { list-style: none; margin: 0; padding: .3rem; display: grid; grid-template-columns: 1fr; }
@media (min-width: 480px) { #mv.xd-07 #mv-c .mv-fanlist ul { grid-template-columns: 1fr 1fr; } }
#mv.xd-07 #mv-c .mv-fanlist li button { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 40px; padding: .3rem .5rem; border: 0; border-radius: 8px; background: none; color: var(--color-ink); font-size: .92rem; text-align: left; cursor: pointer; }
#mv.xd-07 #mv-c .mv-fanlist li button:hover, #mv.xd-07 #mv-c .mv-fanlist li button:focus-visible { background: color-mix(in srgb, var(--rf-a) 12%, transparent); }
/* Ranking rows on phones, take 2 (owner, 30 Nov 2026): VS small at the bottom right beside the score bar, everything else
   starts at the left edge, and "+N accounts" sits beside the firm name (it wraps under it only when the name is too long). */
@media (max-width: 599px) {
  #mv.xd-07 #mv-c .mv-li-h { display: block; position: relative; }
  #mv.xd-07 #mv-c .mv-li-h .mv-vs { position: absolute; right: .65rem; bottom: .55rem; z-index: 2; flex-direction: row; width: auto; min-width: 0; min-height: 30px; padding: 0 .6rem; gap: .35rem; font-size: .62rem; border-radius: 999px; }
  #mv.xd-07 #mv-c .mv-li-h .mv-vs .mv-vs-box { width: 14px; height: 14px; }
  #mv.xd-07 #mv-c .mv-row { width: 100%; padding: .65rem .7rem .7rem; }
  #mv.xd-07 #mv-c .xd7-cards .mv-rank { margin-top: 4px; }
  #mv.xd-07 #mv-c .mv-row-n { align-items: flex-start; }
  #mv.xd-07 #mv-c .mv-row-nm { gap: .35rem; } /* "+N accounts" always under the name, the same on every row (owner) */
  #mv.xd-07 #mv-c .mv-row .mv-row-chev { align-self: center; margin-top: -4px; }
  #mv.xd-07 #mv-c .mv-row .mv-bar-t { margin: 9px 84px 9px 0; }
}

/* The tapped group point glows and pulses while its list is open under the chart. */
#mv.xd-07 #mv-c svg .mv-clon circle[data-cl] { filter: drop-shadow(0 0 6px var(--glow, var(--rf-a))); }
#mv.xd-07 #mv-c svg .mv-clon-r { transform-box: fill-box; transform-origin: center; animation: mvClPulse 1.6s ease-out infinite; pointer-events: none; }
@keyframes mvClPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #mv.xd-07 #mv-c svg .mv-clon-r { animation: none; opacity: .6; } }
@media (min-width: 900px) { #mv.xd-07 #mv-c .mv-fanlist ul { grid-template-columns: repeat(3, 1fr); } }
