.mf {
  --bg: var(--white);
  --mute: var(--ink2);
  --rule: var(--line);
  --soft: var(--paper);
  --teal: var(--green);
  --tealsoft: color-mix(in srgb, var(--green) 9%, var(--white));
  --up: var(--green);
  --down: #973b36;
  --c2: var(--deep);
  --c3: #80621b;
  --c4: #73548d;
  padding-block: 24px 64px;
}
.mf [hidden] {
  display: none !important;
}
.mf :is(button, a, input, select, summary):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.mf
  :is(
    .mf-toolbar,
    .tags,
    .navrow,
    .bar2,
    .legend,
    .seg,
    .chips,
    .presets,
    .pager
  ) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.mf .mf-toolbar {
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.mf .tabs {
  display: flex;
  gap: 4px;
}
.mf .tabs a,
.mf .btn,
.mf .seg button,
.mf .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  color: var(--deep);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
}
.mf :is(.tabs a, .btn, .seg button, .chip):hover {
  border-color: var(--green);
}
.mf
  :is(
    .tabs .on,
    .btn.pri,
    .seg [aria-pressed='true'],
    .chip[aria-pressed='true']
  ) {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--deep);
}
.mf .btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.mf .srch {
  display: flex;
  gap: 6px;
  flex: 1 1 260px;
  min-width: 0;
  position: relative;
}
.mf :is(input[type='search'], input[type='number'], select) {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  font: inherit;
  color: var(--ink);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.mf .res {
  position: absolute;
  inset: calc(100% + 4px) 0 auto;
  z-index: 12;
  max-height: 55vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 30px #092b291a;
}
.mf .res a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}
.mf .res a:is(:hover, .on) {
  background: var(--tealsoft);
}
.mf .res small {
  grid-column: 1;
  color: var(--ink2);
}
.mf .res .r {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  white-space: nowrap;
}
.mf :is(.asof, .note, .muted, .msg) {
  color: var(--ink2);
  font-size: 0.875rem;
}
.mf .mf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.mf .mf-hero {
  padding: clamp(20px, 5vw, 50px);
  background: var(--deep);
  color: var(--white);
  border-radius: 24px;
  margin-bottom: 24px;
}
.mf .mf-hero .eyebrow {
  color: var(--lime);
}
.mf h1 {
  font-size: clamp(1.95rem, 5vw, 3.75rem);
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.mf h2 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  margin: 0 0 12px;
}
.mf h2 span {
  color: var(--ink2);
  font: inherit;
  font-weight: 500;
  font-size: 0.875rem;
}
.mf .big,
.mf .count {
  font:
    800 clamp(1.15rem, 4vw, 2rem) Manrope,
    system-ui,
    sans-serif;
}
.mf .tag,
.mf .qchip {
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--soft);
  color: var(--ink2);
  font-size: 0.825rem;
}
.mf :is(.tag.t, .qchip.q1) {
  background: var(--lime);
  color: var(--deep);
}
.mf .navrow {
  margin-block: 10px 16px;
}
.mf .up {
  color: var(--up);
}
.mf .down {
  color: var(--down);
}
.mf .grid,
.mf .cols2,
.mf .cols3,
.mf .scr {
  display: grid;
  gap: clamp(12px, 2.3vw, 24px);
  margin-block: 16px;
}
.mf .grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.mf .cols2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mf .cols3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mf .scr {
  grid-template-columns: minmax(195px, 250px) minmax(0, 1fr);
}
.mf .panel,
.mf .flt,
.mf .mf-browse,
.mf .mf-method {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-width: 0;
  padding: clamp(12px, 2.2vw, 24px);
}
.mf :is(.mf-browse, .mf-method) {
  margin-top: 18px;
}
.mf .mf-method summary,
.mf .flt summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 700;
}
.mf .mf-method p:first-of-type {
  margin-top: 10px;
}
.mf .fig {
  position: relative;
  height: clamp(225px, 34vw, 335px);
}
.mf .fig.sm {
  height: 190px;
}
.mf .fig.md {
  height: 255px;
}
.mf .fig > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mf svg text {
  font-size: 12px;
  fill: var(--ink2);
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 3px;
}
.mf .tip {
  position: absolute;
  pointer-events: none;
  background: var(--deep);
  color: var(--white);
  z-index: 2;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  transform: translate(-50%, -110%);
  max-width: 85%;
}
.mf .scroll {
  overflow: auto;
}
.mf .scroll:focus-visible {
  outline: 2px solid var(--green);
}
.mf :is(.kv, table.t) {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.mf :is(.kv, table.t) :is(td, th) {
  padding: 8px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}
.mf :is(.kv, table.t) :is(td, th):first-child {
  text-align: left;
}
.mf table.t :is(td, th):not(:first-child) {
  white-space: nowrap;
}
.mf table.t td:first-child {
  min-width: min(195px, 44vw);
}
.mf table.t small {
  display: block;
  color: var(--ink2);
}
.mf table.t button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
}
.mf table.t a,
.mf .mf-browse > p a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mf table.t .me {
  background: var(--tealsoft);
}
.mf .bar2 {
  justify-content: space-between;
  margin-bottom: 8px;
}
.mf .pager {
  margin-top: 12px;
}
.mf .flt {
  align-self: start;
}
.mf :is(.flt, .sip) label {
  display: block;
  margin-top: 10px;
  color: var(--ink2);
  font-size: 0.875rem;
}
.mf .pair,
.mf .out {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.mf .out {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}
.mf .out div {
  padding: 6px;
  background: var(--soft);
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.mf .out b {
  display: block;
}
.mf .sip input[type='range'] {
  width: 100%;
}
.mf :is(.sip input, .ck) {
  accent-color: var(--green);
}
.mf .ck {
  width: 18px;
  height: 18px;
}
.mf .score {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mf .dial {
  width: 76px;
  height: 76px;
  flex: none;
}
.mf .dots {
  color: var(--green);
  white-space: nowrap;
}
.mf .dots i {
  font-style: normal;
  color: var(--line);
}
.mf .hb,
.mf .rng {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 6px;
  margin-block: 8px;
  font-size: 0.8rem;
}
.mf .hb i,
.mf .legend i {
  display: inline-block;
  background: var(--green);
  height: 12px;
  border-radius: 3px;
}
.mf .hb i.neg {
  background: var(--down);
}
.mf .legend i {
  width: 12px;
  margin-right: 4px;
}
.mf .trk {
  position: relative;
  height: 32px;
}
.mf .trk .bar {
  position: absolute;
  inset: 12px 0 auto;
  height: 4px;
  background: var(--line);
}
.mf .trk :is(.med, .me) {
  position: absolute;
  top: 6px;
  height: 16px;
  width: 3px;
  background: var(--ink2);
}
.mf .trk .me {
  width: 9px;
  border-radius: 3px;
  background: var(--green);
}
.mf .trk small {
  position: absolute;
  top: 18px;
  white-space: nowrap;
}
.mf .cmpbox {
  position: fixed;
  z-index: 15;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: var(--deep);
  color: var(--white);
  padding: 9px;
  border-radius: 14px;
}
@media (max-width: 860px) {
  .mf :is(.grid, .cols2, .cols3, .scr) {
    grid-template-columns: minmax(0, 1fr);
  }
  .mf :is(.cols3, .cols2) > .panel {
    grid-column: auto !important;
  }
}

.mf[data-scheme] {
  padding-top: 8px;
}
.mf[data-scheme] .mf-toolbar {
  margin-bottom: 16px;
  padding-block: 4px 10px;
  justify-content: space-between;
}
.mf[data-scheme] .srch {
  max-width: 28rem;
}
.mf .mf-profile-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: center;
}
.mf .mf-profile-heading h1 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  margin-bottom: 8px;
}
.mf .mf-profile-heading .tags {
  gap: 4px 8px;
}
.mf .mf-profile-heading .tag.t {
  background: var(--tealsoft);
}
.mf .mf-profile-heading .btn {
  min-height: 34px;
  padding-block: 3px;
}

.mf .mf-archive-intro .srch {
  max-width: 620px;
  margin-top: 12px;
}
.mf [data-archive-profile] > .note {
  margin: 0 0 16px;
}
.mf .mf-quote {
  display: grid;
  justify-items: end;
  gap: 2px;
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 18px;
  font-variant-numeric: tabular-nums;
}
.mf .mf-quote .big {
  line-height: 1.12;
}
.mf .mf-primary-grid {
  gap: 16px;
  margin-top: 14px;
}
.mf .mf-primary-grid > .panel {
  padding: clamp(12px, 1.55vw, 20px);
}
.mf .mf-primary-grid h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  margin-bottom: 8px;
}
@media (max-width: 630px) {
  .mf[data-scheme] .mf-toolbar {
    margin-bottom: 12px;
  }
  .mf .mf-profile-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .mf .mf-quote {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    justify-items: start;
    column-gap: 12px;
    padding: 8px 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }
  .mf .mf-quote .big {
    grid-row: 1 / 3;
    font-size: 1.65rem;
  }
}

.mf .mf-discovery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.mf .mf-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  background: var(--deep);
  color: var(--white);
  border-radius: 22px;
  padding: clamp(24px, 3.2vw, 46px);
}
.mf .mf-intro h1 {
  font-size: clamp(2rem, 4.1vw, 3.6rem);
  margin-bottom: 10px;
  text-wrap: balance;
}
.mf .mf-intro-copy p {
  max-width: 43ch;
  margin-bottom: 24px;
  color: color-mix(in srgb, var(--white) 84%, var(--green));
  line-height: 1.55;
}
.mf .mf-intro .srch {
  flex: none;
  gap: 8px;
}
.mf .mf-intro input[type='search'] {
  min-height: 48px;
  padding-inline: 14px;
}
.mf .mf-intro .srch > .btn {
  border-color: var(--lime);
  background: var(--lime);
  border-radius: 10px;
  padding-inline: 20px;
}
.mf .mf-intro .srch > .btn:hover {
  background: var(--white);
}
.mf .mf-intro .res {
  color: var(--ink);
}
.mf .mf-intro :is(input, a, button):focus-visible {
  outline-color: var(--lime);
}
.mf .mf-intro-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 14px;
  font-size: 0.85rem;
}
.mf .mf-intro-links .asof {
  color: color-mix(in srgb, var(--white) 78%, var(--green));
}
.mf .mf-intro-links a {
  color: var(--lime);
  font-weight: 700;
}
.mf .mf-intro-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mf .mf-overview {
  display: none;
}
.mf .mf-type-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}
.mf .mf-type-panel h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 14px;
}
.mf .mf-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mf .mf-type {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink2);
  font-size: 0.78rem;
  line-height: 1.3;
}
.mf .mf-type:is(:hover, [aria-current]) {
  background: var(--tealsoft);
  border-color: var(--green);
}
.mf .mf-type-name {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  color: var(--deep);
  font:
    800 0.95rem/1.3 Manrope,
    system-ui,
    sans-serif;
}
.mf .mf-type-name span,
.mf .mf-type small {
  color: var(--green);
}
.mf .mf-type small {
  margin-top: 4px;
  font-weight: 700;
  font-size: 0.74rem;
}
.mf .mf-catalogue {
  padding: 0;
}
.mf .mf-catalogue-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}
.mf .mf-catalogue-head h2 {
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}
.mf .mf-catalogue-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.mf .mf-catalogue-actions .btn {
  gap: 6px;
}
.mf .mf-clear {
  color: var(--green);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mf .mf-catalogue .t :is(th, td) {
  padding: 9px 20px;
}
.mf .mf-catalogue .t thead th {
  color: var(--ink2);
  background: var(--paper);
  font-weight: 700;
}
.mf .mf-catalogue .t tbody th {
  font-weight: 700;
  line-height: 1.4;
}
.mf .mf-catalogue .t tbody :is(th, td) {
  font-size: 0.875rem;
}
.mf .mf-catalogue .t tbody a {
  color: var(--ink);
  text-decoration: none;
}
.mf .mf-catalogue .t tbody a:hover {
  color: var(--green);
  text-decoration: underline;
}
.mf .mf-catalogue .t tbody small {
  margin-top: 3px;
  font-size: 0.76rem;
  font-weight: 500;
}
.mf .mf-catalogue .t tbody tr:hover {
  background: var(--paper);
}
.mf .mf-empty,
.mf .mf-catalogue-paging {
  padding: 6px 20px 16px;
}
.mf .mf-catalogue-paging span {
  margin-right: auto;
  color: var(--ink2);
  font-size: 0.85rem;
}
.mf[data-mode] .mf-discovery {
  display: block;
  margin-bottom: 14px;
}
.mf[data-mode] .mf-intro {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 0 0 10px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.mf[data-mode] .mf-discovery :is(.mf-intro-copy, .mf-type-panel, .asof) {
  display: none;
}
.mf[data-mode] .mf-intro .srch {
  flex: 1 1 260px;
  max-width: 480px;
}
.mf[data-mode] .mf-intro-links {
  margin-top: 0;
}
.mf[data-mode] .mf-intro-links a {
  display: inline;
  color: var(--green);
}
@media (max-width: 780px) {
  .mf .mf-discovery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mf .mf-intro h1 {
    text-wrap: initial;
  }
}
@media (max-width: 540px) {
  .mf:not([data-scheme]) {
    padding-top: 12px;
  }
  .mf .mf-intro {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .mf .mf-intro-copy p {
    margin-bottom: 15px;
    font-size: 0.9rem;
  }
  .mf .mf-intro .srch > .btn {
    padding-inline: 12px;
  }
  .mf .mf-type-panel {
    border-radius: 16px;
  }
  .mf .mf-catalogue-head,
  .mf .mf-catalogue .t :is(th, td) {
    padding-inline: 10px;
  }
  .mf .mf-catalogue .t tbody th {
    width: 100%;
  }
  .mf .mf-catalogue .t .mf-nav-cell {
    display: none;
  }
}

.mf .mf-screen-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--deep);
  color: var(--white);
}
.mf .mf-screen-heading h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
}
.mf .mf-screen-heading p {
  margin: 0;
  color: color-mix(in srgb, var(--white) 82%, var(--green));
  font-size: 0.85rem;
}
.mf .mf-workspace {
  grid-template-columns: minmax(205px, 250px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
}
.mf .mf-filter {
  padding: 0;
}
.mf .mf-filter > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  list-style: none;
  color: var(--ink);
  font:
    800 1.05rem/1.3 Manrope,
    system-ui,
    sans-serif;
}
.mf .mf-filter > summary::-webkit-details-marker {
  display: none;
}
.mf .mf-filter > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-inline: auto 4px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: translateY(-2px) rotate(45deg);
}
.mf .mf-filter[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}
.mf .mf-filter-count {
  min-width: 22px;
  padding: 3px 6px;
  border-radius: 99px;
  background: var(--tealsoft);
  color: var(--green);
  text-align: center;
  font-size: 0.75rem;
}
.mf .mf-filter-body {
  padding: 9px 14px 14px;
  border-top: 1px solid var(--line);
}
.mf .mf-filter-top {
  display: flex;
  justify-content: flex-end;
}
.mf .mf-text-button {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mf .mf-filter #fCls {
  gap: 5px;
  margin-top: 5px;
}
.mf .mf-filter .chip {
  min-height: 34px;
  padding: 3px 8px;
  font-size: 0.8rem;
}
.mf .mf-filter label,
.mf .mf-filter #fClsLabel {
  color: var(--ink2);
  font-size: 0.8rem;
  font-weight: 700;
}
.mf .mf-filter :is(select, input[type='number']) {
  font-size: 0.85rem;
  min-height: 40px;
}
.mf .mf-filter-section {
  padding-top: 9px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.mf .mf-range-field,
.mf .mf-preset-list {
  margin-top: 8px;
}
.mf .mf-preset-list {
  display: grid;
  gap: 5px;
}
.mf .mf-preset-list button {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
}
.mf .mf-preset-list button:hover {
  border-color: var(--green);
}
.mf .mf-close-filters {
  display: none;
}
.mf .mf-results {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.mf .mf-results-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 16px 10px;
}
.mf .mf-results-head h2 {
  margin-bottom: 3px;
}
.mf .mf-results-head p {
  margin: 0;
  overflow-wrap: anywhere;
}
.mf .mf-view-switch {
  margin: 0;
  gap: 3px;
  padding: 3px;
  border-radius: 99px;
  background: var(--paper);
}
.mf .mf-view-switch button {
  min-height: 34px;
  padding: 3px 10px;
  border-color: transparent;
  background: transparent;
}
.mf .mf-view-switch button[aria-pressed='true'] {
  border-color: var(--line);
  background: var(--white);
}
.mf .mf-metric-switch {
  gap: 5px;
  padding: 0 16px 10px;
  margin: 0;
}
.mf .mf-metric-switch button {
  min-height: 34px;
  padding: 3px 11px;
}
.mf .mf-result-scroll {
  border-block: 1px solid var(--line);
  scroll-padding-inline-start: 10px;
}
.mf .mf-result-scroll:focus-visible {
  outline-offset: -2px;
}
.mf .mf-result-scroll .t :is(th, td) {
  padding: 8px 10px;
}
.mf .mf-result-scroll .t thead th {
  background: var(--paper);
  color: var(--ink2);
  font-size: 0.78rem;
}
.mf .mf-result-scroll .t thead [aria-sort] {
  background: var(--tealsoft);
}
.mf .mf-result-scroll .t tbody th {
  min-width: 170px;
  font-weight: 700;
  line-height: 1.45;
}
.mf .mf-result-scroll .t tbody a {
  color: var(--ink);
  text-decoration: none;
}
.mf .mf-result-scroll .t tbody a:hover {
  color: var(--green);
  text-decoration: underline;
}
.mf .mf-result-scroll .t tbody small {
  margin-top: 3px;
  font-weight: 500;
}
.mf .mf-result-scroll .t tbody tr:hover {
  background: var(--paper);
}
.mf .mf-result-scroll .t .mf-picked {
  background: var(--tealsoft);
}
.mf .mf-result-scroll .t tbody tr:last-child > * {
  border-bottom: 0;
}
.mf .mf-screen-pager {
  margin: 0;
  padding: 10px 16px;
}
.mf .mf-screen-pager span {
  margin-right: auto;
}
.mf .mf-empty-screener {
  padding: 24px 16px;
  border-top: 1px solid var(--line);
}
.mf .mf-empty-screener p {
  margin: 0;
  color: var(--ink2);
}
.mf .mf-scatter-note {
  padding: 10px 16px 0;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}
.mf #out > .fig {
  margin: 10px 12px;
}
@media (max-width: 900px) {
  .mf .mf-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .mf .mf-close-filters {
    display: inline-flex;
    margin-top: 14px;
  }
  .mf .mf-screen-heading {
    padding: 12px 14px;
  }
}
@media (max-width: 540px) {
  .mf .mf-results-head {
    padding: 12px 10px 8px;
  }
  .mf .mf-metric-switch,
  .mf .mf-screen-pager {
    padding-inline: 10px;
  }
  .mf .mf-result-scroll .t tbody th {
    min-width: 148px;
  }
}

.mf .mf-compare-heading {
  align-items: center;
  gap: 10px 16px;
}
.mf .mf-compare-heading h1 {
  margin-bottom: 4px;
}
.mf .mf-compare-count {
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--white) 28%, var(--deep));
  border-radius: 99px;
  color: var(--lime);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.mf .mf-compare-empty {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 22px;
  margin-top: 14px;
  padding: clamp(16px, 2.5vw, 30px);
}
.mf .mf-compare-empty h2 {
  margin-bottom: 6px;
}
.mf .mf-compare-empty p {
  margin: 0;
  color: var(--ink2);
}
.mf .mf-compare-actions,
.mf .mf-compare-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.mf .mf-compare-actions .btn,
.mf .mf-compare-section-head .btn {
  gap: 6px;
}
.mf :is(.mf-compare-selection, .mf-compare-chart, .mf-compare-table) {
  margin-top: 14px;
  padding: 14px 16px;
}
.mf .mf-compare-section-head {
  justify-content: space-between;
}
.mf .mf-compare-section-head :is(h2, p, .seg) {
  margin: 0;
}
.mf .mf-compare-section-head h2 + p {
  margin-top: 4px;
}
.mf .mf-compare-funds {
  display: grid;
  grid-template-columns: repeat(var(--fund-count), minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.mf .mf-compare-funds li {
  margin: 0;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  align-items: start;
  gap: 7px;
  padding: 8px 7px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 0.85rem;
  font-weight: 700;
}
.mf .mf-compare-funds .mf-fund-marker {
  margin-top: 5px;
  height: 14px;
  border-radius: 99px;
  background: var(--fund-color);
}
.mf .mf-compare-funds li a {
  padding-block: 3px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.mf .mf-compare-funds li a small {
  display: block;
  color: var(--ink2);
  font-size: 0.76rem;
  font-weight: 500;
}
.mf .mf-compare-funds li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mf .mf-remove-fund {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink2);
  font-size: 1.15rem;
  line-height: 1;
}
.mf .mf-remove-fund:hover {
  border-color: var(--green);
  color: var(--green);
}
.mf .mf-compare-chart .fig {
  height: clamp(220px, 26vw, 320px);
  margin-top: 8px;
}
.mf .mf-compare-chart .mf-no-chart {
  display: none;
}
.mf .mf-compare-table {
  padding: 0;
}
.mf .mf-compare-table .mf-compare-section-head {
  padding: 14px 16px;
}
.mf .mf-compare-scroll tbody th[scope='row'],
.mf .mf-compare-scroll thead th:first-child {
  position: sticky;
  left: 0;
  background: var(--white);
  box-shadow: inset -1px 0 var(--line);
}
.mf .mf-compare-scroll .t :is(th, td) {
  padding: 8px 12px;
}
.mf .mf-compare-scroll table.t thead th {
  min-width: 135px;
  border-top: 3px solid var(--fund-color, var(--line));
  background: var(--paper);
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: normal;
}
.mf .mf-compare-scroll tbody th[scope='row'] {
  font-weight: 600;
}
.mf .mf-compare-scroll .mf-compare-group th {
  background: var(--paper);
  color: var(--ink2);
  font-size: 0.8rem;
}
.mf .mf-compare-scroll .mf-compare-leading {
  background: var(--tealsoft);
  font-weight: 700;
}
.mf .mf-compare-scroll td {
  font-variant-numeric: tabular-nums;
}
.mf .res button.mf-compare-hit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-align: left;
}
.mf .res button.mf-compare-hit:is(:hover, .on) {
  background: var(--tealsoft);
}
.mf .mf-compare-hit .r {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
}
.mf .mf-compare-hit:disabled .r {
  color: var(--ink2);
}
@media (max-width: 900px) {
  .mf .mf-compare-funds {
    grid-template-columns: repeat(min(2, var(--fund-count)), minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .mf :is(.mf-compare-selection, .mf-compare-chart) {
    padding: 12px;
  }
  .mf .mf-compare-count {
    font-size: 0.78rem;
  }
  .mf .mf-compare-funds {
    grid-template-columns: 1fr;
  }
  .mf .mf-compare-scroll thead th:first-child {
    min-width: 112px;
  }
  .mf .mf-compare-scroll .t :is(th, td) {
    padding: 7px 8px;
  }
}
