:root {
    --mfs-error-glow: rgba(31, 90, 85, 0.14);
}

.mfs-error-page main {
    min-height: min(760px, calc(100vh - 260px));
}

.mfs-error-shell {
    position: relative;
    display: grid;
    min-height: min(720px, calc(100vh - 260px));
    padding: clamp(3rem, 8vw, 7rem) 0;
    place-items: center;
    overflow: hidden;
}

.mfs-error-shell::before,
.mfs-error-shell::after {
    position: absolute;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    background: var(--mfs-error-glow);
    content: "";
    filter: blur(3px);
    pointer-events: none;
}

.mfs-error-shell::before {
    top: -18rem;
    right: -12rem;
}

.mfs-error-shell::after {
    bottom: -22rem;
    left: -15rem;
}

.mfs-error-card {
    position: relative;
    z-index: 1;
    width: min(100%, 780px);
    padding: clamp(2rem, 6vw, 4.5rem);
    border: 1px solid var(--mfs-line);
    border-radius: var(--mfs-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--mfs-shadow);
    text-align: center;
}

.mfs-error-code {
    margin: 0 0 0.25rem;
    color: var(--mfs-mint);
    font-size: clamp(5rem, 18vw, 11rem);
    font-weight: 850;
    letter-spacing: -0.08em;
    line-height: 0.82;
    user-select: none;
}

.mfs-error-card h1 {
    max-width: 15ch;
    margin-inline: auto;
}

.mfs-error-lead {
    max-width: 62ch;
    margin: 0 auto 1.6rem;
    color: var(--mfs-ink-soft);
    font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.mfs-error-actions {
    justify-content: center;
}

.mfs-error-help {
    margin-top: 1.5rem;
    color: var(--mfs-ink-soft);
    font-size: 0.94rem;
}

@media (max-width: 700px) {
    .mfs-error-shell {
        min-height: auto;
        padding: 2rem 0 3rem;
    }

    .mfs-error-card {
        padding: 2rem 1.25rem;
        border-radius: var(--mfs-radius);
    }

    .mfs-error-actions {
        display: grid;
    }

    .mfs-error-actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mfs-error-shell::before,
    .mfs-error-shell::after {
        filter: none;
    }
}

@media print {
    .mfs-error-shell::before,
    .mfs-error-shell::after,
    .site-header,
    .site-footer,
    .mfs-error-actions {
        display: none !important;
    }

    .mfs-error-card {
        border: 0;
        box-shadow: none;
    }
}

/* MFS_DEL19C2_PUBLIC_HARDENING_BEGIN */
#main-content,
:target,
[role="alert"],
[role="status"] {
    scroll-margin-top: clamp(7rem, 16vw, 11rem);
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site p,
.public-site li,
.public-site a,
.public-site button {
    overflow-wrap: break-word;
}

.public-site a[href^="mailto:"],
.public-site a[href^="http"],
.mfs-footer-single a,
.site-build-banner a {
    overflow-wrap: anywhere;
}

.site-navigation,
.navigation-group__menu {
    overscroll-behavior: contain;
}

.comparison-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}

.d16d2-status-section .d16d2-info-card {
    color: #405957;
}

.d16d2-status-section .d16d2-info-card h2,
.d16d2-status-section .d16d2-info-card h3 {
    color: #173331;
}

.d16d2-status-section .d16d2-info-card p {
    color: #405957;
}

.menu-toggle,
.navigation-group summary,
.site-navigation a,
.button {
    touch-action: manipulation;
}

.navigation-group summary:focus-visible,
.menu-toggle:focus-visible,
.site-navigation a:focus-visible,
.mfs-footer-single a:focus-visible {
    outline: 3px solid var(--mfs-accent);
    outline-offset: 3px;
}

@media (max-width: 1180px) {
    .site-navigation {
        max-height: calc(100dvh - 2rem);
    }
}

@media (max-width: 420px) {
    .page-width {
        width: min(calc(100% - 28px), var(--mfs-width));
    }

    .site-navigation {
        right: 14px;
        left: 14px;
    }

    .site-navigation__actions .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* MFS_DEL19C2_PUBLIC_HARDENING_END */


/* MFS DEL 19 soft launch */
.account-form__split{display:grid;grid-template-columns:minmax(0,.45fr) minmax(0,1fr);gap:1rem}.flow-alert--info{border:1px solid #b7d4cf;background:#eef8f5;color:#173f3b;padding:1rem;border-radius:12px}.comparison-table{width:100%;border-collapse:collapse;background:#fff}.comparison-table th,.comparison-table td{padding:1rem;border-bottom:1px solid #dfe8e5;text-align:left;vertical-align:top}.comparison-table thead th{background:#174b46;color:#fff}.comparison-table-wrap{overflow-x:auto}.admin-user-metrics{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}@media(max-width:680px){.account-form__split{grid-template-columns:1fr}}


/* MFS_DEL19_FINAL_PUBLIC_POLISH_BEGIN */
.site-footer {
    padding-inline: 0;
}

.mfs-footer-single.page-width {
    width: min(calc(100% - 48px), var(--mfs-width));
    margin-inline: auto;
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.mfs-footer-single__grid,
.mfs-footer-single__bottom {
    padding-inline: 0;
}

.d16rc-section--dark > .page-width,
.d16rc-hero > .page-width,
.help-hero__inner,
.help-article-shell {
    width: min(calc(100% - 48px), var(--mfs-width));
    margin-inline: auto;
}

.d16d2-icon--brand {
    display: grid;
    width: 54px;
    height: 54px;
    padding: 8px;
    place-items: center;
    border-radius: 16px;
    background: #e6f2ef;
}

.d16d2-icon--brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.d19-founder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.d19-founder-contact .button {
    margin-top: .75rem;
}

.d19-guide-group-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.d19-guide-group {
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--mfs-line, #d8e2df);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(23, 51, 49, .07);
}

.d19-guide-group h3 {
    margin: 1rem 0 .75rem;
}

.d19-guide-group ul {
    display: grid;
    gap: .7rem;
    margin: 1.1rem 0 0;
    padding-left: 1.2rem;
}

.d19-guide-group a,
.help-official-sources a {
    color: var(--mfs-primary, #174b46);
    font-weight: 750;
}

.d19-card-mark {
    display: block;
    width: 48px;
    height: 48px;
    padding: 7px;
    border-radius: 14px;
    background: #e6f2ef;
}

.help-official-sources {
    margin-top: 2rem;
    padding: 1.25rem;
    border: 1px solid #cfe0dc;
    border-radius: 16px;
    background: #f1f8f6;
}

.help-official-sources h2 {
    margin-top: .25rem;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
}

.help-official-sources ul {
    display: grid;
    gap: .55rem;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .d19-founder-grid,
    .d19-guide-group-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .mfs-footer-single.page-width,
    .d16rc-section--dark > .page-width,
    .d16rc-hero > .page-width,
    .help-hero__inner,
    .help-article-shell {
        width: min(calc(100% - 28px), var(--mfs-width));
    }
}
/* MFS_DEL19_FINAL_PUBLIC_POLISH_END */
