/* Shared footer only. All rules are scoped to its unique component class. */
footer.tfp-platform-footer {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 24px 0 20px;
    color: #e9edf6;
    background: #f5f3fa;
    border: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    isolation: isolate;
}
footer.tfp-platform-footer *,
footer.tfp-platform-footer *::before,
footer.tfp-platform-footer *::after { box-sizing: border-box; }
footer.tfp-platform-footer .tfp-platform-footer__wrap {
    width: min(1480px, calc(100% - 64px));
    max-width: none;
    min-width: 0;
    margin: 0 auto;
    padding: 26px 32px 12px;
    background: #071b2c;
    border: 1px solid #183145;
    border-radius: 18px;
    box-shadow: 0 6px 22px rgb(16 30 52 / 4%);
}
footer.tfp-platform-footer .tfp-platform-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-width: 0;
}
footer.tfp-platform-footer .tfp-platform-footer__brand { min-width: 0; flex-shrink: 0; }
footer.tfp-platform-footer .tfp-platform-footer__logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    text-decoration: none;
    border: 0;
}
footer.tfp-platform-footer .tfp-platform-footer__logo img {
    display: block;
    width: 222px;
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}
footer.tfp-platform-footer .tfp-platform-footer__origin {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
    color: #cfdaea;
    font-size: 13px;
    line-height: 1.5;
}
footer.tfp-platform-footer .tfp-platform-footer__origin svg {
    display: block;
    flex: 0 0 26px;
    width: 26px;
    height: 16px;
    border-radius: 2px;
}
footer.tfp-platform-footer .tfp-platform-footer__origin span { min-width: 0; overflow-wrap: anywhere; }
footer.tfp-platform-footer .tfp-platform-footer__legal { min-width: 0; margin: 0; padding: 0; border: 0; }
footer.tfp-platform-footer .tfp-platform-footer__legal > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 44px;
    padding: 0;
    color: #e9edf6;
    background: transparent;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}
footer.tfp-platform-footer .tfp-platform-footer__legal > summary::-webkit-details-marker { display: none; }
footer.tfp-platform-footer .tfp-platform-footer__legal > summary::marker { content: ""; }
footer.tfp-platform-footer .tfp-platform-footer__legal > summary svg { display: block; width: 17px; height: 17px; flex-shrink: 0; }
footer.tfp-platform-footer .tfp-platform-footer__legal[open] > summary svg { transform: rotate(180deg); }
footer.tfp-platform-footer .tfp-platform-footer__legal nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: 22px;
    min-width: 0;
}
footer.tfp-platform-footer .tfp-platform-footer__legal a {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
    padding: 5px 0;
    color: #d5deec;
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 450;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}
footer.tfp-platform-footer .tfp-platform-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    min-width: 0;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #294052;
}
footer.tfp-platform-footer .tfp-platform-footer__bottom p { margin: 0; padding: 0; color: #bac9dc; font-size: 12px; line-height: 1.5; }
footer.tfp-platform-footer .tfp-platform-footer__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 22px; min-width: 0; }
footer.tfp-platform-footer .tfp-platform-footer__actions :is(a, button) {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    min-height: 44px;
    max-width: 100%;
    margin: 0;
    padding: 6px 0;
    color: #d5deec !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 12px;
    font-weight: 450;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    overflow-wrap: anywhere;
    cursor: pointer;
}
footer.tfp-platform-footer .tfp-platform-footer__legal a:hover,
footer.tfp-platform-footer .tfp-platform-footer__actions :is(a, button):hover { color: #fff !important; text-decoration: underline; text-underline-offset: 4px; }
footer.tfp-platform-footer :is(a, summary, button):focus-visible { outline: 3px solid #bda1ff; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 1120px) {
    footer.tfp-platform-footer .tfp-platform-footer__top { align-items: flex-start; }
    footer.tfp-platform-footer .tfp-platform-footer__legal nav { column-gap: 18px; }
}
@media (max-width: 860px) {
    footer.tfp-platform-footer .tfp-platform-footer__top { display: block; }
    footer.tfp-platform-footer .tfp-platform-footer__legal { margin-top: 18px; padding-top: 8px; border-top: 1px solid #294052; }
    footer.tfp-platform-footer .tfp-platform-footer__legal nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 700px) {
    footer.tfp-platform-footer { padding: 16px 0; }
    footer.tfp-platform-footer .tfp-platform-footer__wrap { width: calc(100% - 32px); padding: 22px 20px 10px; border-radius: 16px; }
    footer.tfp-platform-footer .tfp-platform-footer__logo img { width: 200px; }
    footer.tfp-platform-footer .tfp-platform-footer__origin { font-size: 12px; }
    footer.tfp-platform-footer .tfp-platform-footer__bottom { align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 14px; }
    footer.tfp-platform-footer .tfp-platform-footer__bottom p { min-height: 32px; display: flex; align-items: center; }
}
@media (max-width: 360px) {
    footer.tfp-platform-footer .tfp-platform-footer__wrap { padding-right: 16px; padding-left: 16px; }
    footer.tfp-platform-footer .tfp-platform-footer__legal nav { column-gap: 14px; }
    footer.tfp-platform-footer .tfp-platform-footer__actions { column-gap: 18px; }
}
