#fr-advisory #explore {
  padding-bottom: clamp(1.5rem, 2.4vw, 2.125rem);
}
#fr-advisory #comparison > p:only-child {
  margin-bottom: 0;
}
#fr-advisory #matcher {
  --fm-ink: #f2f5f7;
  --fm-muted: #beceda;
  --fm-gold: #ffca61;
  --fm-cyan: #87d9e5;
  --fm-line: #345160;
  --fm-field: #0a1c2c;
  --fm-interface: "Instrument Sans", Inter, system-ui, sans-serif;
  color-scheme: dark;
  color: var(--fm-ink);
  background: linear-gradient(180deg, #112a43 0, #0a1e32 17rem, #091a2b 35rem);
  border-block: 1px solid #324a5c;
  padding: clamp(1.5rem, 2.4vw, 2rem) clamp(1rem, 4vw, 4rem) clamp(2.1rem, 3.5vw, 3.6rem);
  scroll-margin-top: .5rem;
}
#matcher .fm-shell {max-width: 74rem; margin-inline: auto}
#matcher.finder [hidden] {display: none !important}
#matcher .fm-heading {text-align: center; margin: 0 auto clamp(1.25rem, 2.3vw, 1.9rem)}
#matcher .fm-heading h2 {
  margin: 0 0 .65rem;
  color: #f4f7fb;
  font: 650 clamp(2rem, 3.8vw, 3.5rem)/1.1 var(--fm-interface);
  letter-spacing: -.045em;
  text-wrap: balance;
}
#matcher .fm-heading em {color: var(--fm-gold); font-style: normal; white-space: nowrap}
#matcher .fm-heading p, #matcher .fm-intro, #matcher .fm-source-note {
  max-width: 67ch;
  margin-inline: auto;
  color: var(--fm-muted);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}
#matcher .fm-surface {
  background: linear-gradient(180deg, #132c40, #0e2234 24rem);
  border: 1px solid #3e596e;
  border-radius: 14px;
  box-shadow: inset 0 1px #ffffff0b, 0 12px 36px #020b144d;
}
#matcher .fm-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.25rem, 1.2vw, .85rem);
  margin: 0;
  padding: .7rem clamp(.55rem, 2.6vw, 2rem) .8rem;
  list-style: none;
  border-radius: 13px 13px 0 0;
  background: #0c2031;
  border-bottom: 1px solid #2b4357;
}
#matcher .fm-progress li {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: .6rem;
  min-height: 2.6rem;
  padding: .25rem .15rem .6rem;
  color: #b2c4d3;
  font: 600 .87rem/1.25 var(--fm-interface);
}
#matcher .fm-progress li::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: #30485a;
  border-radius: 2px;
}
#matcher .fm-progress li span {
  color: #a4b8c8;
  font: 550 .76rem/1.4 ui-monospace, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
#matcher .fm-progress [aria-current] {color: #effcfd}
#matcher .fm-progress [aria-current] span {
  color: #091e2e;
  background: #8fd9e6;
  font-weight: 750;
  padding: .07rem .35rem;
  border-radius: 4px;
}
#matcher .fm-progress [aria-current]::after {background: #88d9e8; box-shadow: 0 0 8px #61cce533}
#matcher .fm-progress .fm-complete::after {background: #4a8a98}
#matcher .fm-progress .fm-complete span {color: #9dd3da}
#matcher .fm-surface > section {padding: clamp(1.15rem, 2.5vw, 2rem) clamp(1rem, 3vw, 2.75rem)}
#matcher .fm-surface h3 {
  margin: 0 auto 1.15rem;
  font: 650 clamp(1.45rem, 2.4vw, 2.05rem)/1.16 "Instrument Sans", Arial, sans-serif;
  color: #f4f6f5;
  letter-spacing: -.032em;
  text-align: center;
  text-wrap: balance;
}
#matcher .fm-coverage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: -.55rem auto 1.25rem;
  color: #a8dcdf;
  font: 500 .78rem/1.45 ui-monospace, Consolas, monospace;
}
#matcher .fm-coverage::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #76d7d4;
  box-shadow: 0 0 7px #62cfcf60;
}
#matcher .fm-intro {margin: -.55rem auto 1.15rem}
#matcher .fm-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1rem 1.15rem;
}
#matcher .fm-fields label {
  display: grid;
  gap: .45rem;
  min-width: 0;
  text-align: center;
  font-size: .91rem;
  font-weight: 650;
  color: #e1e9ef;
}
#matcher .fm-fields :is(input, select, textarea) {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  border: 1px solid #5c7589;
  border-radius: 6px;
  background-color: var(--fm-field);
  color: var(--fm-ink);
  box-shadow: inset 0 1px 3px #030e1640;
  font: 500 1rem/1.35 "Instrument Sans", Arial, sans-serif;
  padding: .65rem .8rem;
  text-align: center;
}
#matcher .fm-fields textarea {text-align: start; resize: vertical}
#matcher .fm-fields select {
  appearance: none;
  padding-inline: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%23f2c367' stroke-width='1.8'/%3E%3C/svg%3E");
  background-position: right .85rem center;
  background-size: 12px 8px;
  background-repeat: no-repeat;
}
#matcher .fm-fields :is(input, textarea)::placeholder {color: #adc1ce; opacity: 1}
#matcher .fm-fields :is(input, select, textarea):focus {border-color: #87d9e5; outline: 2px solid #87d9e5; outline-offset: 2px}
#matcher .fm-input {position: relative}
#matcher .fm-input span {position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--fm-gold)}
#matcher .fm-input input {padding-inline: 2rem}
#matcher .fm-more, #matcher .fm-profile {border: 0}
#matcher .fm-more {margin: 1rem auto 0; border-top: 1px solid var(--fm-line)}
#matcher :is(.fm-more, .fm-profile) > summary {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-inline: auto;
  min-height: 44px;
  padding: .5rem;
  color: var(--fm-cyan);
  border: 0;
  font: 650 .93rem/1.3 "Instrument Sans", Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}
#matcher :is(.fm-more, .fm-profile) > summary::after {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid #4a7884;
  border-radius: 4px;
  color: #aae7eb;
  font: 500 .95rem/1 ui-monospace, monospace;
}
#matcher .fm-more[open] .fm-fields {margin-top: .65rem}
#matcher .fm-wide {grid-column: 1 / -1}
#matcher .fm-check {display: flex; align-items: start; gap: .65rem; justify-content: center; margin: 1rem auto; max-width: 66ch; line-height: 1.5}
#matcher .fm-check input {accent-color: var(--fm-gold); width: 1.1rem; height: 1.1rem; margin: .17rem 0 0; flex: none}
#matcher .fm-consent, #matcher .fm-funding {font-size: .9rem; color: var(--fm-muted)}
#matcher .fm-funding {text-align: center}
#matcher .fm-actions, #matcher .fm-toolbar, #matcher .fm-toolbar div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
#matcher .fm-actions {margin-top: .8rem}
#matcher .match-primary {min-height: 42px; padding: .55rem 1.1rem; font-size: .86rem; font-weight: 750}
#matcher .fm-back, #matcher .fm-toggle {
  border-radius: 5px;
  border: 1px solid #557985;
  padding: .5rem .85rem;
  min-height: 40px;
  color: var(--fm-cyan);
  background: #102c3c;
  font-size: .91rem;
  font-weight: 650;
}
#fr-advisory #matcher .match-primary:disabled, #matcher .fm-toggle:disabled {
  border-color: #38505d; box-shadow: none; color: #a2b5c0; background: #233846; cursor: default;
}
#matcher .fm-message:empty, #matcher #fm-picks:empty {display: none}
#matcher .fm-message:not(:empty), #matcher #fm-receipt {
  text-align: center; margin: 1rem auto 0; padding: .85rem; background: #153644; color: #daefef; border: 1px solid #477380; border-radius: 6px;
}
#matcher .fm-toolbar {border-block: 1px solid var(--fm-line); padding-block: .8rem}
#matcher #fm-selected {color: var(--fm-gold); font-variant-numeric: tabular-nums}
#matcher .fm-group {margin: 1.5rem 0 .4rem; color: #f3f6f8; text-align: center; font-size: 1.19rem}
#matcher .fm-source-note {margin-bottom: 1rem; font-size: .9rem}
#matcher .fm-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr)); gap: 1rem; align-items: stretch}
#matcher .fm-grid:has(.fm-profile[open]) {align-items: start}
#matcher .fm-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #4d6874;
  border-radius: 9px;
  background: linear-gradient(145deg, #102a3d, #0a1d2d);
  box-shadow: 0 3px 0 #061320, 0 6px 11px #01091246;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
#matcher .fm-card header {text-align: center; padding: .95rem .8rem; border-bottom: 1px solid #3a5360; background: radial-gradient(ellipse at 50% -35%, var(--brand-tone, #385971), #102638 92%)}
#matcher .fm-card header h4 {margin: 0 0 .3rem; color: white; font: 550 clamp(1.25rem, 1.8vw, 1.6rem)/1.16 Georgia, serif; text-wrap: balance}
#matcher .fm-card header small {color: #e0eaf0; font-size: .83rem}
#matcher .fm-card-body {padding: .85rem 1rem; overflow-wrap: anywhere; color: #e1eaf0}
#matcher .fm-card-body p {margin: .35rem 0; line-height: 1.5}
#matcher .fm-card-body > small {display: block; color: var(--fm-muted); font-size: .82rem}
#matcher .fm-facts {margin-block: .7rem; font-size: .91rem}
#matcher .fm-facts div {display: flex; justify-content: space-between; gap: .4rem .75rem; flex-wrap: wrap; align-items: baseline; padding-block: .45rem; border-bottom: 1px solid var(--fm-line)}
#matcher .fm-facts dt {color: var(--fm-muted)}
#matcher .fm-facts dd {margin: 0; color: var(--fm-gold); font-weight: 700; font-variant-numeric: tabular-nums}
#matcher .fm-profile {margin-top: .65rem; border-top: 1px solid var(--fm-line)}
#fr-advisory #matcher .fm-profile:last-child {border-bottom: 0}
#matcher .fm-profile h5 {color: #f3f5f7; font-size: 1rem; margin: 1rem 0 .4rem}
#matcher .fm-profile :is(p, li) {color: #dae4ea; font-size: .92rem; padding: 0}
#matcher .fm-profile ul {padding-left: 1.05rem}
#matcher .fm-profile li {margin-block: .7rem}
#matcher .fm-profile small {display: block; color: var(--fm-muted)}
#matcher .fm-profile a {color: #93dce8}
#matcher .fm-card footer {margin-top: auto; display: flex; justify-content: center; padding: .65rem; background: #091c2b; border-top: 1px solid var(--fm-line)}
#matcher .fm-card[data-selected=true], #matcher .fm-card:focus-within {border-color: var(--fm-gold); box-shadow: inset 0 0 20px #e6b65a12, 0 0 0 1px #c99a4966}
#matcher .fm-toggle[aria-pressed=true] {color: #ffe2a4; border-color: #cfaa64; background: #403922}
#matcher #fm-picks, #matcher #fm-shortlist {display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; margin: .85rem auto; list-style: none}
#matcher #fm-picks button, #matcher #fm-shortlist li {background: #173749; border: 1px solid #557a88; border-radius: 5px; color: #d6eff0; padding: .32rem .65rem; font-size: .91rem}
#matcher :focus-visible {outline: 2px solid #ffd67c; outline-offset: 3px}
@media (hover: hover) {
  #matcher .fm-card:hover {transform: translateY(-2px); border-color: #dfb95f; box-shadow: inset 0 0 24px #f0bd5416, 0 8px 16px #010b1460}
  #matcher .fm-fields :is(input, select, textarea):hover {border-color: #91bdcf}
  #matcher :is(.fm-more, .fm-profile) > summary:hover, #matcher :is(.fm-toggle, .fm-back):hover:enabled {color: #ffe0a1}
}
@media (min-width: 701px) {
  #matcher .fm-card header {min-height: 6.25rem; display: grid; align-content: center}
  #matcher .fm-card-body > p:first-child {min-height: 3em}
  #matcher .fm-contact-fields {grid-template-columns: repeat(6, minmax(0, 1fr))}
  #matcher .fm-contact-fields label {grid-column: span 2}
  #matcher .fm-contact-fields label:nth-child(4) {grid-column: 2 / span 2}
}
@media (max-width: 700px) {
  #matcher .fm-fields {grid-template-columns: 1fr; gap: .85rem}
  #matcher .fm-progress li {flex-direction: column; gap: .25rem; padding: .55rem .1rem; font-size: clamp(.65rem, 2.8vw, .81rem)}
  #matcher .fm-progress li span {font-size: .68rem}
  #matcher .fm-check {justify-content: start}
  #matcher .fm-heading p {font-size: .95rem}
}
@media (prefers-reduced-motion: reduce) {
  #matcher .fm-card {transition: none}
  #matcher .fm-card:hover {transform: none}
}

#fr-advisory #matcher {background:radial-gradient(ellipse at 50% 10%,#1c405b,transparent 68%),#081828}
#matcher .fm-surface {background:linear-gradient(150deg,#233e54,#102638 60%);border-color:#537186;box-shadow:inset 0 2px #ffffff24,0 7px 0 #061321,0 24px 48px #020c1866}
#fm-preferences > .fm-fields > label {padding:1rem;border:1px solid #526c80;border-radius:11px;background:linear-gradient(145deg,#2b495f,#182e41);box-shadow:inset 0 1px #ffffff2a,0 4px 0 #081a28}
#fm-preferences > .fm-fields > label:is(:hover,:focus-within) {border-color:#78d6de}
#matcher #fm-preferences .fm-fields :is(input,select,textarea) {box-shadow:inset 0 3px 8px #0005}
#fr-advisory #matcher .match-primary:enabled {background:linear-gradient(#ffe486,#ffbc33 64%,#eda01c);border:1px solid #ffda84;border-radius:8px;box-shadow:inset 0 2px #fff0b3,0 5px #98600c,0 10px 16px #0006}
#fr-advisory #matcher .match-primary:enabled:is(:hover,:focus-visible) {filter:brightness(1.1);transform:translateY(-2px);box-shadow:inset 0 2px #fff7db,0 7px #996314,0 0 26px #ffbd387d}
#fr-advisory #matcher .match-primary:enabled:active {transform:translateY(3px);box-shadow:0 1px #98600c}
.fr-hover-options {position:fixed;z-index:10000;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:4px;border:1px solid #94a9b6;border-radius:7px;background:white;color:#102c40;box-shadow:0 12px 24px #05142140;font:16px/1.35 Arial,sans-serif}
.fr-hover-options[data-theme=dark] {color:#effaff;background:#102a3c;border-color:#79bac5}
.fr-hover-options button {width:100%;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;text-align:center;padding:9px 7px;cursor:pointer}
.fr-hover-options button:is(:hover,[aria-pressed=true]) {background:#d7eef2;color:#10334a}
.fr-hover-options[data-theme=dark] button:is(:hover,[aria-pressed=true]) {background:#225264;color:white}
@media(prefers-reduced-motion:reduce){#fr-advisory #matcher .match-primary:enabled:is(:hover,:active,:focus-visible){transform:none}}
