.mf-lookup {
    --mf-green: #28a745;
    --mf-green-dark: #1d8d37;
    --mf-blue: #1747c9;
    --mf-blue-dark: #1239a5;
    --mf-ink: #121a2b;
    --mf-muted: #6b7280;
    --mf-line: #e2e7ee;
    --mf-soft: #f7fafc;
    --mf-soft-green: #ebfff1;
    --mf-error: #b42335;
    color: var(--mf-ink);
    padding: 96px 16px 56px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.mf-lookup * {
    box-sizing: border-box;
}

.mf-lookup [hidden] {
    display: none !important;
}

.mf-lookup__shell {
    width: min(980px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mf-lookup__hero {
    position: relative;
    text-align: center;
    margin: 0 auto 22px;
    padding: 0 0 8px;
}

.mf-lookup__hero::before {
    content: "";
    position: absolute;
    top: -106px;
    left: 50%;
    z-index: -1;
    width: min(1180px, 124vw);
    height: 330px;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(40, 167, 69, 0.09) 0%, rgba(40, 167, 69, 0) 70%),
        linear-gradient(135deg, rgba(23, 71, 201, 0.04), rgba(40, 167, 69, 0.03));
    pointer-events: none;
}

.mf-lookup__eyebrow {
    margin: 0 0 6px;
    color: var(--mf-green);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.mf-lookup__hero h1 {
    margin: 0;
    color: var(--mf-ink);
    font-size: 28px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    animation: mfHeroIn 0.5s ease both;
}

.mf-lookup__hero p {
    max-width: 560px;
    margin: 10px auto 0;
    color: var(--mf-muted);
    font-size: 15px;
    line-height: 1.55;
    animation: mfHeroIn 0.5s ease both;
}

.mf-lookup__hero > p {
    animation-delay: 0.12s;
}

.mf-lookup__guide {
    width: min(820px, 100%);
    margin: 0 auto 34px;
    border-top: 1px solid var(--mf-line);
    border-bottom: 1px solid var(--mf-line);
    color: var(--mf-ink);
    padding: 18px 0;
}

.mf-lookup__guide h2 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: left;
}

.mf-lookup__guide-body {
    display: grid;
    gap: 13px;
    font-size: 14px;
    line-height: 1.65;
}

.mf-lookup__guide-body p,
.mf-lookup__guide-body ul {
    margin: 0;
}

.mf-lookup__guide-body ul {
    display: grid;
    gap: 8px;
    padding-left: 20px;
}

.mf-lookup__guide-body strong {
    color: var(--mf-ink);
}

.mf-lookup__guide-list-simple {
    list-style: none;
    padding-left: 56px !important;
}

.mf-guide-red,
.mf-lookup__guide-contact span {
    color: #e11d2e;
    font-weight: 800;
}

.mf-lookup__guide-contact {
    color: #04128a;
    font-weight: 800;
}

.mf-status-banner {
    width: min(820px, 100%);
    margin: 0 auto 18px;
    border: 1px solid #bfe8cc;
    border-radius: 8px;
    background: #f0fff5;
    color: #14532d;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
}

.mf-status-banner strong {
    color: #166534;
}

.mf-status-banner span {
    color: var(--mf-muted);
    font-weight: 700;
}

.mf-guide-toggle {
    display: none;
    width: 100%;
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    background: #fff;
    color: var(--mf-blue);
    font: inherit;
    font-weight: 800;
    padding: 11px 12px;
    cursor: pointer;
}

.mf-guide-toggle span {
    display: inline-block;
    margin-left: 4px;
}

.mf-quick-lookup {
    position: relative;
    width: min(760px, 100%);
    margin: 0 auto 34px;
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(20, 32, 51, 0.08);
    padding: 22px;
    overflow: hidden;
}

.mf-quick-lookup::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--mf-green), var(--mf-blue));
}

.mf-quick-lookup__head {
    margin-bottom: 16px;
    text-align: center;
}

.mf-quick-lookup__head h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.mf-quick-lookup__head p {
    max-width: 560px;
    margin: 7px auto 0;
    color: var(--mf-muted);
    font-size: 14px;
    line-height: 1.5;
}

.mf-quick-lookup__form {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) auto;
    gap: 12px;
    align-items: end;
}

.mf-quick-lookup__btn {
    width: auto;
    min-width: 132px;
}

.mf-quick-lookup__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--mf-muted);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.mf-quick-lookup__divider::before,
.mf-quick-lookup__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--mf-line);
}

.mf-stepper {
    --step-gap: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--step-gap);
    max-width: 560px;
    margin: 0 auto 34px;
}

.mf-stepper__item {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 9px;
    color: #a2aab5;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
}

.mf-stepper__item::after {
    content: "";
    position: absolute;
    top: 22px;
    left: calc(50% + 26px);
    width: calc(100% + var(--step-gap) - 52px);
    height: 3px;
    background: #d9dde3;
    border-radius: 999px;
}

.mf-stepper__item:last-child::after {
    display: none;
}

.mf-stepper__dot {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #d9dde3;
    color: #7f8790;
    font-size: 17px;
    line-height: 1;
    box-shadow: 0 0 0 6px #fff;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.mf-stepper__dot--trophy svg {
    width: 20px;
    height: 20px;
    display: block;
}

.mf-stepper__label {
    font-size: 13px;
    line-height: 1.25;
}

.mf-stepper__item.is-complete,
.mf-stepper__item.is-active {
    color: var(--mf-blue);
}

.mf-stepper__item.is-complete::after,
.mf-stepper__item.is-active::after {
    background: var(--mf-blue);
}

.mf-stepper__item.is-complete .mf-stepper__dot,
.mf-stepper__item.is-active .mf-stepper__dot {
    background: var(--mf-blue);
    color: #fff;
}

.mf-stepper__item.is-active .mf-stepper__dot {
    background: var(--mf-green);
    box-shadow: 0 0 0 6px #fff, 0 8px 22px rgba(40, 167, 69, 0.28);
    animation: mfDotBounce 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mf-lookup__form-box {
    background: transparent;
}

.mf-lookup__form {
    display: grid;
    gap: 22px;
}

.mf-panel {
    display: grid;
    gap: 18px;
    justify-items: center;
    animation: mfPanelIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mf-panel h2 {
    margin: 0;
    color: var(--mf-ink);
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0;
}

.mf-title-line {
    width: 60px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mf-green) 0 55%, var(--mf-blue) 55% 100%);
    margin-top: -8px;
}

.mf-choice-grid {
    width: 100%;
    display: grid;
    gap: 16px;
}

.mf-choice-grid--years {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 640px;
}

.mf-choice-grid--types {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mf-year-custom {
    width: min(340px, 100%);
}

.mf-choice-card {
    position: relative;
    min-width: 0;
    min-height: 132px;
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    background: #fff;
    color: var(--mf-ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    gap: 9px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(20, 32, 51, 0.06);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
    overflow: hidden;
}

.mf-choice-card:hover,
.mf-choice-card:focus-visible {
    border-color: var(--mf-green);
    box-shadow: 0 14px 34px rgba(20, 32, 51, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.mf-choice-card.is-selected {
    border-color: var(--mf-green);
    background: linear-gradient(180deg, #fff 0%, #f3fff7 100%);
    box-shadow: 0 14px 34px rgba(40, 167, 69, 0.16);
    animation: mfCardPop 0.28s ease;
}

.mf-choice-card__icon {
    width: 42px;
    height: 42px;
    color: var(--mf-green);
}

.mf-choice-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mf-choice-card__title {
    color: var(--mf-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.mf-choice-card__desc {
    color: var(--mf-muted);
    font-size: 13px;
    line-height: 1.35;
}

.mf-choice-empty {
    grid-column: 1 / -1;
    width: min(560px, 100%);
    justify-self: center;
    border: 1px solid #f0c875;
    border-radius: 8px;
    background: #fff8e8;
    padding: 18px;
    text-align: center;
}

.mf-choice-empty strong {
    display: block;
    margin-bottom: 6px;
    color: #8a5a00;
    font-size: 16px;
}

.mf-choice-empty p {
    margin: 0;
    color: #5d4b1c;
    line-height: 1.55;
}

.mf-choice-empty small {
    display: block;
    margin-top: 8px;
    color: #8a5a00;
    font-weight: 800;
}

.mf-back-link {
    justify-self: center;
    border: 0;
    background: transparent;
    color: var(--mf-muted);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px 8px;
}

.mf-back-link:hover,
.mf-back-link:focus-visible {
    color: var(--mf-blue);
    outline: none;
}

.mf-back-link--result {
    display: block;
    margin: 18px auto 0;
}

.mf-selection-summary {
    margin: 0;
    color: var(--mf-muted);
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
}

.mf-selection-summary strong {
    color: var(--mf-green);
}

.mf-selection-summary--global {
    width: min(760px, 100%);
    margin: -16px auto 28px;
}

.mf-lookup__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mf-lookup__field {
    width: 100%;
    display: grid;
    gap: 7px;
    min-width: 0;
}

.mf-lookup__field span {
    color: var(--mf-ink);
    font-size: 14px;
    font-weight: 800;
    transition: color 0.15s ease;
}

.mf-lookup__field:focus-within span {
    color: var(--mf-blue);
}

.mf-lookup__field select,
.mf-lookup__field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #ccd6e4;
    border-radius: 8px;
    background: #fff;
    color: var(--mf-ink);
    font-size: 15px;
    line-height: 1.35;
    padding: 11px 13px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mf-lookup__field select:focus,
.mf-lookup__field input:focus {
    border-color: var(--mf-blue);
    box-shadow: 0 0 0 3px rgba(23, 71, 201, 0.14);
}

.mf-lookup__field input:user-invalid {
    border-color: var(--mf-error);
    box-shadow: 0 0 0 3px rgba(180, 35, 53, 0.12);
}

.mf-lookup__field input:user-valid {
    border-color: var(--mf-green);
}

.mf-lookup__field select:disabled {
    background: #eef2f7;
    color: #8995a5;
    cursor: not-allowed;
}

.mf-lookup__btn,
.mf-lookup__empty-actions a,
.mf-result-card__cta a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--mf-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    padding: 11px 20px;
    transition: background 0.18s ease, transform 0.12s ease;
    overflow: hidden;
}

.mf-lookup__btn {
    width: min(260px, 100%);
    justify-self: center;
    text-transform: uppercase;
}

.mf-lookup__btn:hover,
.mf-lookup__empty-actions a:hover,
.mf-result-card__cta a:hover {
    background: var(--mf-blue-dark);
    color: #fff;
}

.mf-lookup__btn:disabled {
    background: #91a6d9;
    cursor: wait;
}

.mf-lookup__btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.mf-lookup__btn.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 20px;
    height: 20px;
    margin: auto;
    border: 2.5px solid rgba(255, 255, 255, 0.34);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mfSpin 0.7s linear infinite;
}

.mf-lookup__btn:active,
.mf-lookup__empty-actions a:active,
.mf-result-card__cta a:active {
    transform: translateY(1px);
}

.mf-lookup__empty,
.mf-lookup__message {
    background: #fff;
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(20, 32, 51, 0.08);
}

.mf-lookup__empty {
    padding: 24px;
    border-color: #f0c875;
    background: #fff8e8;
    text-align: center;
}

.mf-lookup__empty strong {
    display: block;
    margin-bottom: 8px;
    color: #8a5a00;
    font-size: 17px;
}

.mf-lookup__empty p {
    max-width: 720px;
    margin: 0 auto;
    color: #5d4b1c;
    line-height: 1.6;
}

.mf-lookup__empty-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.mf-lookup__result {
    margin-top: 28px;
    scroll-margin-top: 120px;
}

.mf-lookup__message {
    padding: 16px;
    margin: 0 auto;
    max-width: 720px;
}

.mf-lookup__message--error {
    border-color: #f3b6bd;
    background: #fff7f8;
}

.mf-lookup__message--success {
    border-color: #bfe8cc;
    background: #f0fff5;
    color: #14532d;
}

.mf-lookup__message strong {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    color: var(--mf-error);
}

.mf-lookup__message strong svg {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex: 0 0 auto;
    color: var(--mf-error);
}

.mf-lookup__message p {
    margin: 0;
    color: var(--mf-ink);
}

.mf-lookup__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #dbe4ee;
    border-top-color: var(--mf-green);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    animation: mfSpin 0.8s linear infinite;
}

.mf-loading-hint {
    margin: 14px 0 0;
    color: var(--mf-muted);
    font-size: 13px;
    text-align: center;
    animation: mfPanelIn 0.3s ease;
}

@keyframes mfSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes mfHeroIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mf-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(40, 167, 69, 0.16);
    transform: scale(0);
    animation: mfRipple 0.55s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes mfRipple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes mfPanelIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mfCardPop {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(0.96);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes mfDotBounce {
    0% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes mfShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes mfRowIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mf-result-skeleton {
    width: min(720px, 100%);
    margin: 0 auto;
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 32, 51, 0.08);
    padding: 20px;
}

.mf-skeleton {
    background: linear-gradient(90deg, #f0f4f8 25%, #e8edf4 50%, #f0f4f8 75%);
    background-size: 200% 100%;
    animation: mfShimmer 1.5s infinite ease-in-out;
    border-radius: 8px;
}

.mf-skeleton--title {
    width: 46%;
    height: 24px;
    margin-bottom: 18px;
}

.mf-skeleton--line {
    width: 100%;
    height: 46px;
    margin-bottom: 12px;
}

.mf-skeleton--score {
    width: 100%;
    height: 94px;
    margin-top: 20px;
}

.mf-result-card {
    width: min(760px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(20, 32, 51, 0.12);
}

.mf-result-card__head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 28px 32px;
    color: #fff;
    background: linear-gradient(120deg, #2fa84d 0%, #1f83a3 48%, #1747c9 100%);
}

.mf-result-card__trophy {
    width: 54px;
    height: 54px;
    color: #fff;
}

.mf-result-card__head h3 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 800;
}

.mf-result-card__head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.mf-result-card__body {
    padding: 28px 32px;
}

.mf-result-list {
    display: grid;
}

.mf-result-row {
    display: grid;
    grid-template-columns: 36px minmax(110px, 0.42fr) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f5;
    animation: mfRowIn 0.3s ease both;
}

.mf-result-row:nth-child(1) { animation-delay: 0.05s; }
.mf-result-row:nth-child(2) { animation-delay: 0.10s; }
.mf-result-row:nth-child(3) { animation-delay: 0.15s; }
.mf-result-row:nth-child(4) { animation-delay: 0.20s; }
.mf-result-row:nth-child(5) { animation-delay: 0.25s; }
.mf-result-row:nth-child(6) { animation-delay: 0.30s; }
.mf-result-row:nth-child(7) { animation-delay: 0.35s; }
.mf-result-row:nth-child(8) { animation-delay: 0.40s; }

.mf-result-row__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mf-soft-green);
    color: var(--mf-green);
}

.mf-result-row__icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.mf-result-row span {
    color: var(--mf-muted);
    font-size: 14px;
}

.mf-result-row strong {
    min-width: 0;
    color: var(--mf-ink);
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.mf-result-score {
    margin-top: 22px;
    border: 2px solid var(--mf-green);
    border-radius: 8px;
    background: linear-gradient(120deg, #effff4 0%, #f3f8ff 100%);
    padding: 24px 18px;
    text-align: center;
}

.mf-result-score strong {
    display: block;
    color: var(--mf-green);
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
}

.mf-result-score span {
    display: block;
    margin-top: 8px;
    color: var(--mf-muted);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.mf-result-score--high {
    border-color: #fbbf24;
    background: linear-gradient(120deg, #fffbeb 0%, #fef3c7 50%, #fffbeb 100%);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15), 0 8px 24px rgba(251, 191, 36, 0.12);
}

.mf-result-score--high strong {
    color: #b45309;
}

.mf-score-breakdown {
    margin-top: 14px;
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.mf-score-breakdown__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #edf1f5;
}

.mf-score-breakdown__row:first-child {
    border-top: 0;
}

.mf-score-breakdown__row span {
    color: var(--mf-muted);
    font-size: 14px;
    font-weight: 700;
}

.mf-score-breakdown__row strong {
    color: var(--mf-ink);
    font-size: 15px;
    font-weight: 800;
}

.mf-score-breakdown__row.is-total {
    background: #f8fbff;
}

.mf-score-breakdown__row.is-total span,
.mf-score-breakdown__row.is-total strong {
    color: var(--mf-blue);
}

.mf-result-card__note,
.mf-result-card__cta {
    margin-top: 18px;
    padding: 18px;
    border-radius: 8px;
    background: var(--mf-soft);
}

.mf-result-card__note h4,
.mf-result-card__cta h4 {
    margin: 0 0 8px;
    color: var(--mf-ink);
    font-size: 16px;
    font-weight: 800;
}

.mf-result-card__note p,
.mf-result-card__cta p {
    margin: 0;
    color: var(--mf-muted);
    line-height: 1.6;
}

.mf-result-card__cta {
    text-align: center;
}

.mf-result-card__cta a {
    margin-top: 14px;
}

.mf-progress-card {
    margin-top: 18px;
    padding: 18px;
    border-radius: 8px;
    background: #f8fbff;
    border: 1px solid var(--mf-line);
}

.mf-progress-card h4 {
    margin: 0 0 12px;
    color: var(--mf-ink);
    font-size: 16px;
    font-weight: 800;
}

.mf-progress-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #edf1f5;
}

.mf-progress-row span {
    min-width: 0;
    color: var(--mf-muted);
    font-size: 13px;
    line-height: 1.4;
}

.mf-progress-row strong {
    color: var(--mf-green);
    font-size: 14px;
}

.mf-progress-row i {
    grid-column: 1 / -1;
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: #e8edf4;
    cursor: default;
}

.mf-progress-row b {
    position: relative;
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--mf-green), var(--mf-blue));
}

.mf-progress-row b::after {
    content: attr(data-score);
    position: absolute;
    right: -4px;
    top: -30px;
    background: var(--mf-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 7px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.mf-progress-row i:hover b::after {
    opacity: 1;
}

.mf-result-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.mf-result-actions button {
    min-height: 42px;
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    background: #fff;
    color: var(--mf-blue);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    padding: 9px 14px;
    cursor: pointer;
}

.mf-result-actions button:hover,
.mf-result-actions button:focus-visible {
    border-color: var(--mf-blue);
    outline: none;
}

.mf-back-link--result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 22px auto 0;
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    background: #fff;
    color: var(--mf-blue);
    font-weight: 800;
    padding: 10px 18px;
    text-decoration: none;
}

.mf-back-link--result:hover,
.mf-back-link--result:focus-visible {
    border-color: var(--mf-blue);
    color: var(--mf-blue);
}

.mf-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    z-index: 9999;
    transform: translateX(-50%) translateY(20px);
    background: var(--mf-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 11px 22px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: mfToastIn 0.25s ease forwards, mfToastOut 0.25s ease 1.8s forwards;
}

@keyframes mfToastIn {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes mfToastOut {
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

.mf-faq {
    width: min(760px, 100%);
    margin: 34px auto 0;
    border-top: 1px solid var(--mf-line);
    padding-top: 22px;
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

.mf-faq h2 {
    margin: 0 0 14px;
    color: var(--mf-ink);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
    text-align: center;
}

.mf-faq details {
    border: 1px solid var(--mf-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 32, 51, 0.05);
    margin-top: 10px;
    overflow: hidden;
}

.mf-faq summary {
    position: relative;
    cursor: pointer;
    color: var(--mf-ink);
    font-size: 15px;
    font-weight: 800;
    padding: 14px 44px 14px 16px;
    list-style: none;
}

.mf-faq summary::-webkit-details-marker {
    display: none;
}

.mf-faq summary::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--mf-muted);
    border-bottom: 2px solid var(--mf-muted);
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.2s ease;
}

.mf-faq details[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
}

.mf-faq p {
    margin: 0;
    border-top: 1px solid #edf1f5;
    color: var(--mf-muted);
    font-size: 14px;
    line-height: 1.6;
    padding: 14px 16px;
}

.mf-celebration {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.mf-celebration i {
    position: absolute;
    left: calc((var(--i) * 53px) % 100vw);
    top: -20px;
    width: 8px;
    height: 14px;
    border-radius: 2px;
    background: hsl(calc(var(--i) * 35), 78%, 55%);
    transform: rotate(calc(var(--i) * 17deg));
    animation: mfConfetti 1.35s ease-in forwards;
    animation-delay: calc(var(--i) * 0.03s);
}

@keyframes mfConfetti {
    to {
        transform: translateY(105vh) rotate(520deg);
        opacity: 0;
    }
}

.mf-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 860px) {
    .mf-choice-grid--types {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    /* These site-wide fixed contact buttons cover result rows on the lookup page. */
    #button-contact-vr,
    #gom-all-in-one {
        display: none !important;
    }

    .mf-lookup {
        padding: 84px 12px 44px;
    }

    .mf-lookup__hero {
        margin-bottom: 18px;
    }

    .mf-lookup__eyebrow {
        font-size: 12px;
    }

    .mf-lookup__hero h1 {
        font-size: 21px;
    }

    .mf-lookup__hero p {
        font-size: 14px;
    }

    .mf-lookup__guide {
        margin-bottom: 26px;
        padding: 14px 0;
    }

    .mf-guide-toggle {
        display: block;
    }

    .mf-lookup__guide-body {
        font-size: 13px;
        gap: 11px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .mf-lookup__guide.is-open .mf-lookup__guide-body {
        max-height: 760px;
        margin-top: 13px;
    }

    .mf-lookup__guide-body ul {
        gap: 7px;
    }

    .mf-lookup__guide-list-simple {
        padding-left: 28px !important;
    }

    .mf-stepper {
        gap: 6px;
        margin-bottom: 28px;
    }

    .mf-quick-lookup {
        margin-bottom: 28px;
        padding: 18px;
    }

    .mf-quick-lookup__form {
        grid-template-columns: 1fr;
    }

    .mf-quick-lookup__btn {
        width: 100%;
    }

    .mf-stepper__item::after {
        top: 18px;
        left: calc(50% + 21px);
        width: calc(100% + 6px - 42px);
        height: 2px;
    }

    .mf-stepper__dot {
        width: 38px;
        height: 38px;
        font-size: 15px;
        box-shadow: 0 0 0 4px #fff;
    }

    .mf-stepper__item.is-active .mf-stepper__dot {
        box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(40, 167, 69, 0.26);
    }

    .mf-stepper__label {
        font-size: 11px;
    }

    .mf-panel h2 {
        font-size: 22px;
    }

    .mf-choice-grid {
        gap: 12px;
    }

    .mf-choice-grid--types,
    .mf-choice-grid--years {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mf-choice-grid--years {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .mf-choice-grid--years .mf-choice-card {
        min-height: 104px;
        padding: 12px 6px;
    }

    .mf-choice-grid--years .mf-choice-card__desc {
        display: none;
    }

    .mf-choice-card {
        min-height: 116px;
        padding: 14px 10px;
    }

    .mf-choice-card__icon {
        width: 34px;
        height: 34px;
    }

    .mf-choice-card__title {
        font-size: 14px;
    }

    .mf-choice-card__desc {
        font-size: 12px;
    }

    .mf-lookup__grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .mf-lookup__field select,
    .mf-lookup__field input {
        min-height: 46px;
        font-size: 15px;
    }

    .mf-result-card__head {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 22px;
        text-align: center;
        justify-items: center;
    }

    .mf-result-card__head h3 {
        font-size: 21px;
    }

    .mf-result-card__body {
        padding: 22px 18px;
    }

    .mf-result-row {
        grid-template-columns: 34px minmax(82px, 0.42fr) minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0;
    }

    .mf-result-row span {
        font-size: 13px;
    }

    .mf-result-row strong {
        font-size: 15px;
    }

    .mf-result-score strong {
        font-size: 48px;
    }

    .mf-lookup__result:not(:empty) {
        padding-bottom: 82px;
    }

    .mf-result-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin: 0;
        padding: 10px 12px;
        background: #fff;
        border-top: 1px solid var(--mf-line);
        box-shadow: 0 -4px 16px rgba(20, 32, 51, 0.08);
    }

    .mf-result-actions button {
        min-height: 42px;
        padding: 8px 6px;
        font-size: 12px;
        line-height: 1.2;
    }

    .mf-result-actions [data-print-result] {
        display: none;
    }

    .mf-faq {
        margin-top: 28px;
    }

    .mf-faq h2 {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .mf-result-card__body {
        padding: 18px 14px;
    }

    .mf-result-row {
        grid-template-columns: 34px 1fr;
        grid-template-rows: auto auto;
        gap: 2px 10px;
        align-items: start;
    }

    .mf-result-row__icon {
        grid-row: 1 / 3;
        align-self: start;
        margin-top: 2px;
    }

    .mf-result-row span {
        font-size: 12px;
        line-height: 1.3;
    }

    .mf-result-row strong {
        font-size: 15px;
        margin-top: -2px;
    }
}

@media (max-width: 380px) {
    .mf-choice-grid--types {
        grid-template-columns: 1fr;
    }

    .mf-stepper__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .mf-stepper__dot {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}

@supports (padding: max(0px)) {
    .mf-lookup {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        padding-bottom: max(56px, env(safe-area-inset-bottom));
    }
}

@media (prefers-contrast: more) {
    .mf-choice-card,
    .mf-lookup__field input,
    .mf-lookup__field select,
    .mf-result-card,
    .mf-quick-lookup {
        border-color: #111827;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mf-panel,
    .mf-choice-card,
    .mf-stepper__dot,
    .mf-result-row,
    .mf-skeleton,
    .mf-celebration i,
    .mf-lookup__hero h1,
    .mf-lookup__hero p,
    .mf-ripple,
    .mf-toast,
    .mf-loading-hint {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .mf-lookup,
    .mf-lookup * {
        visibility: visible !important;
    }

    .mf-lookup {
        position: absolute !important;
        inset: 0 auto auto 0 !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .mf-lookup__hero,
    .mf-status-banner,
    .mf-lookup__guide,
    .mf-quick-lookup,
    .mf-stepper,
    .mf-selection-summary,
    .mf-back-link,
    .mf-result-actions,
    .mf-result-card__cta,
    .mf-faq {
        display: none !important;
    }

    .mf-result-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
