.fr-page-shell h1,
.fr-page-shell h2,
.fr-page-shell h3,
.fr-page-shell h4,
.fr-page-shell button,
.fr-page-shell input,
.fr-page-shell select,
.fr-page-shell textarea {
    letter-spacing: 0 !important;
}

.fr-page-shell :focus-visible {
    outline: 3px solid #176b6a;
    outline-offset: 3px;
}

.fr-page-shell .fr-page-hero--institutional {
    margin-bottom: 32px;
    padding: 24px 0 30px;
    border-bottom: 1px solid var(--fr-border);
}

.fr-page-shell .fr-page-hero--institutional .fr-section__title {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
}

.fr-page-shell .fr-page-hero__excerpt {
    max-width: 780px;
    margin: 16px 0 0;
    color: var(--fr-text-muted);
}

.fr-page-shell--about .fr-page-hero--institutional {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.fr-page-shell--about .fr-about-body {
    max-width: 1068px;
}

.fr-page-shell--about .fr-about-body p {
    margin: 0 0 26px;
    color: #111;
    font-family: Tahoma, Verdana, Geneva, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 29.58px;
}

.fr-page-shell--about .fr-about-body h2 {
    margin: 24px 0 14px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 29px;
}

.fr-page-shell--about .fr-about-body h2:first-child {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 500;
    line-height: 31px;
}

.fr-about-nav {
    gap: 24px;
    padding: 10px max(24px, calc((100vw - 1840px) / 2)) 12px;
}

.fr-about-nav a {
    min-height: 144px;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: Tahoma, Verdana, Geneva, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 17px;
    transition: transform 160ms ease;
}

.fr-about-nav a:hover,
.fr-about-nav a:focus-visible {
    background: transparent;
    transform: translateY(-2px);
}

.fr-about-nav__icon {
    width: 65px;
    height: 65px;
    box-shadow: none;
}

.fr-about-nav__label {
    display: flex;
    width: min(100%, 210px);
    min-height: 74px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 50px;
    background: #b8004c;
    color: #f4f3ee;
    text-align: center;
}

.fr-about-nav a:hover .fr-about-nav__label,
.fr-about-nav a:focus-visible .fr-about-nav__label {
    background: #8f003b;
}

.fr-about-nav a[aria-current="page"] .fr-about-nav__label {
    box-shadow: inset 0 0 0 3px #f4a9c4;
}

.fr-toolbox-intro {
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.fr-toolbox-intro p:last-child {
    margin-bottom: 0;
}

.fr-toolbox {
    margin-top: 42px;
}

.fr-toolbox__tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid #b9b3ba;
}

.fr-toolbox__tabs button {
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    border: 0;
    border-top: 3px solid transparent;
    background: #f1eff1;
    color: #302a31;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 750;
    cursor: pointer;
}

.fr-toolbox__tabs button + button {
    border-left: 1px solid #d2cdd2;
}

.fr-toolbox__tabs button[aria-selected="true"] {
    border-top-color: #b8004c;
    background: #fff;
    color: #8e003b;
}

.fr-toolbox__tabs span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dedade;
    color: #302a31;
    font-size: 0.8rem;
}

.fr-toolbox__search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    margin-top: 24px;
}

.fr-toolbox__search label {
    grid-column: 1 / -1;
    font-size: 0.9rem;
    font-weight: 750;
}

.fr-toolbox__search input,
.fr-financial-controls select,
.fr-contact-form input,
.fr-contact-form select,
.fr-contact-form textarea {
    width: 100%;
    border: 1px solid #aca5ad;
    border-radius: 4px;
    background: #fff;
    color: var(--fr-text);
    font: inherit;
}

.fr-toolbox__search input {
    min-height: 48px;
    padding: 10px 14px;
}

.fr-toolbox__search button,
.fr-financial-controls button {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #8c858d;
    border-radius: 4px;
    background: #fff;
    color: #302a31;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.fr-toolbox__status {
    min-height: 28px;
    margin: 10px 0 22px !important;
    color: var(--fr-text-muted);
    font-size: 0.9rem;
}

.fr-toolbox__panel[hidden],
.fr-tool-card[hidden],
.fr-financial-data-table tr[hidden] {
    display: none;
}

.fr-toolbox__panel {
    padding-top: 4px;
}

.fr-toolbox__subfilters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.fr-toolbox__subfilters button {
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid #9d969e;
    border-radius: 4px;
    background: #fff;
    color: #3a333b;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.fr-toolbox__subfilters button[aria-pressed="true"] {
    border-color: #176b6a;
    background: #e5f3f1;
    color: #0d5554;
}

.fr-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fr-tool-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
    border: 1px solid #d2cdd2;
    border-radius: 8px;
    background: #fff;
}

.fr-tool-card > img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: contain;
    background: #f5f4f5;
}

.fr-tool-card__body {
    min-width: 0;
}

.fr-tool-card__category,
.fr-team-card__role {
    margin: 0 0 7px !important;
    color: #176b6a;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35 !important;
    text-transform: uppercase;
}

.fr-tool-card h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.25;
}

.fr-tool-card p {
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.62;
}

.fr-tool-card details {
    margin: 14px 0;
    padding-top: 12px;
    border-top: 1px solid #dfdbdf;
}

.fr-tool-card summary {
    color: #7f0036;
    font-size: 0.9rem;
    font-weight: 750;
    cursor: pointer;
}

.fr-tool-card details p,
.fr-tool-card details ul {
    margin: 10px 0 0;
    font-size: 0.9rem;
}

.fr-tool-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.fr-tool-card__actions a,
.fr-toolbox__empty a,
.fr-team-card__bio,
.fr-financial-documents a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid #b8004c;
    border-radius: 4px;
    color: #8e003b;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.fr-tool-card__state {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 5px;
    border: 1px solid #9c5d00;
    border-radius: 3px;
    color: #754600;
    font-size: 0.72rem;
}

.fr-tool-card--inactive {
    border-style: dashed;
    background: #faf8f2;
}

.fr-toolbox__empty {
    margin: 12px 0;
    padding: 24px;
    border-left: 4px solid #176b6a;
    background: #eaf4f3;
}

.fr-toolbox__empty--static h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.fr-toolbox__empty--static p {
    margin-bottom: 15px;
}

.fr-team-body,
.fr-team-structure,
.fr-financial-records,
.fr-contact-appeals {
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
}

.fr-team-body > h2,
.fr-team-structure > h2,
.fr-financial-body > h2,
.fr-financial-records h2,
.fr-contact-layout h2,
.fr-contact-appeals h2 {
    margin: 0 0 22px;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.fr-team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fr-team-card {
    display: grid;
    grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
    min-height: 310px;
    overflow: hidden;
    border: 1px solid #d4cfd4;
    border-radius: 8px;
    background: #fff;
}

.fr-team-card > img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    object-position: top center;
}

.fr-team-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.fr-team-card h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
    line-height: 1.2;
}

.fr-team-card__body > p:not(.fr-team-card__role) {
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.58;
}

.fr-team-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
    margin-bottom: 14px;
}

.fr-team-card__links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9b3ba;
    border-radius: 50%;
    color: #4a414b;
    text-decoration: none;
}

.fr-team-card__links svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.fr-team-card__bio {
    margin-top: 0;
}

.fr-team-structure {
    margin-top: 52px;
}

.fr-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #c9c3ca;
    border-radius: 8px;
    background: #fff;
}

.fr-table-scroll table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.5;
}

.fr-table-scroll th,
.fr-table-scroll td {
    padding: 14px 16px;
    border-bottom: 1px solid #d8d3d8;
    text-align: left;
    vertical-align: top;
}

.fr-table-scroll th {
    background: #242126;
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.fr-table-scroll tbody tr:last-child td {
    border-bottom: 0;
}

.fr-financial-body {
    max-width: 980px;
}

.fr-financial-documents {
    margin: 24px 0 34px;
}

.fr-financial-body h3 {
    margin-top: 34px;
}

.fr-financial-records__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.fr-financial-records__heading > p {
    flex: 0 0 auto;
    color: var(--fr-text-muted);
}

.fr-financial-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    margin: 18px 0 20px;
    padding: 18px;
    border: 1px solid #d3ced3;
    border-radius: 8px;
    background: #f5f3f5;
}

.fr-financial-controls label {
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 750;
}

.fr-financial-controls select {
    min-height: 44px;
    padding: 8px 34px 8px 11px;
}

.fr-financial-empty,
.fr-notice {
    padding: 14px 16px;
    border-left: 4px solid #176b6a;
    background: #eaf4f3;
}

.fr-financial-table-wrap {
    border-radius: 8px;
}

.fr-financial-data-table {
    min-width: 850px;
}

.fr-financial-data-table caption {
    padding: 12px 16px;
    background: #f5f3f5;
    color: var(--fr-text-muted);
    font-size: 0.82rem;
    text-align: left;
}

.fr-financial-data-table th:first-child {
    width: 116px;
}

.fr-financial-data-table th:nth-child(2) {
    width: 100px;
}

.fr-financial-data-table th:last-child {
    width: 120px;
    text-align: right;
}

.fr-financial-data-table td:last-child {
    color: #125d5b;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.fr-financial-data-table td p {
    margin: 6px 0 0;
    color: var(--fr-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.fr-financial-type {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 800;
}

.fr-financial-type--income {
    background: #dff0ed;
    color: #0d5554;
}

.fr-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
    gap: 44px;
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
}

.fr-contact-direct {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #cbc5cc;
}

.fr-contact-direct h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.fr-contact-direct > a {
    color: #8e003b;
    font-weight: 800;
}

.fr-contact-direct p {
    margin-top: 8px;
    color: var(--fr-text-muted);
    font-size: 0.9rem;
}

.fr-contact-form-wrap {
    min-width: 0;
}

.fr-contact-config {
    margin: 0 0 14px !important;
    padding: 13px 15px;
    border-left: 4px solid #9c5d00;
    background: #faf3df;
    color: #5f410e;
    font-size: 0.88rem;
    line-height: 1.5 !important;
}

.fr-contact-config.is-configured {
    border-left-color: #176b6a;
    background: #eaf4f3;
    color: #0d5554;
}

.fr-contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid #cfc9d0;
    border-radius: 8px;
    background: #fff;
}

.fr-form-field {
    display: grid;
    gap: 6px;
}

.fr-form-field label,
.fr-form-consent {
    font-size: 0.9rem;
    font-weight: 750;
}

.fr-contact-form input,
.fr-contact-form select,
.fr-contact-form textarea {
    min-height: 44px;
    padding: 9px 11px;
}

.fr-contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.fr-contact-form [aria-invalid="true"] {
    border-color: #a10028;
    box-shadow: 0 0 0 1px #a10028;
}

.fr-form-field small,
.fr-contact-privacy {
    color: var(--fr-text-muted);
    font-size: 0.78rem;
    line-height: 1.45 !important;
}

.fr-form-error {
    min-height: 18px;
    color: #8f0024;
    font-size: 0.78rem;
    font-weight: 700;
}

.fr-form-consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    line-height: 1.5;
}

.fr-form-consent input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.fr-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.fr-contact-submit {
    min-height: 46px;
    justify-self: start;
    padding: 9px 17px;
    border: 0;
    border-radius: 4px;
    background: #b8004c;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.fr-contact-submit:disabled {
    background: #777078;
    cursor: not-allowed;
}

.fr-contact-submit-status {
    min-height: 26px;
    margin: 0 !important;
    color: #302a31;
    font-size: 0.88rem;
    font-weight: 700;
}

.fr-contact-appeals {
    margin-top: 54px;
    padding-top: 30px;
    border-top: 1px solid #c9c3ca;
}

.fr-trusted-hero {
    border-radius: 8px;
    background: #8e003b;
}

.fr-trusted-report {
    background: #fff;
}

.fr-page-fallback:not([hidden]) {
    border-left: 5px solid #9c5d00;
    background: #faf3df;
}

@media (max-width: 1000px) {
    .fr-about-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fr-toolbox__tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fr-toolbox__tabs button:nth-child(3) {
        border-left: 0;
    }

    .fr-tool-grid,
    .fr-team-grid {
        grid-template-columns: 1fr;
    }

    .fr-team-card {
        grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
    }

    .fr-contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .fr-page-shell .fr-page-hero,
    .fr-page-shell .fr-page-body {
        width: min(100%, calc(100vw - 24px));
    }

    .fr-about-nav {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 14px 12px;
    }

    .fr-about-nav a {
        min-height: 122px;
        font-size: 13px;
        line-height: 16px;
    }

    .fr-about-nav__label {
        min-height: 60px;
        padding: 9px 12px;
    }

    .fr-about-nav__icon {
        width: 58px;
        height: 58px;
    }

    .fr-toolbox-intro {
        padding: 22px;
    }

    .fr-toolbox__tabs {
        grid-template-columns: 1fr;
        border: 1px solid #d2cdd2;
    }

    .fr-toolbox__tabs button,
    .fr-toolbox__tabs button + button,
    .fr-toolbox__tabs button:nth-child(3) {
        min-height: 48px;
        border-top: 0;
        border-left: 0;
        border-bottom: 1px solid #d2cdd2;
    }

    .fr-toolbox__tabs button[aria-selected="true"] {
        border-left: 4px solid #b8004c;
    }

    .fr-toolbox__search {
        grid-template-columns: 1fr;
    }

    .fr-toolbox__search label {
        grid-column: 1;
    }

    .fr-tool-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 13px;
        padding: 17px;
    }

    .fr-tool-card > img {
        width: 52px;
        height: 52px;
    }

    .fr-team-card {
        grid-template-columns: 1fr;
    }

    .fr-team-card > img {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }

    .fr-financial-records__heading {
        display: block;
    }

    .fr-financial-controls {
        grid-template-columns: 1fr;
    }

    .fr-contact-form {
        padding: 18px;
    }

    .fr-trusted-hero {
        margin-top: 10px;
        padding: 34px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fr-about-nav a {
        transition: none;
    }
}
