body.ts-modern #content .ts-affiliate-content{max-width:1080px;margin:0 auto;padding:44px 28px 64px;color:#243d34;font-family:Manrope,Arial,sans-serif;font-size:17px;line-height:1.75}
body.ts-modern #content .ts-affiliate-content h1{max-width:22ch;margin:0 0 24px;font:600 clamp(2.2rem,4.5vw,3.8rem)/1.12 Manrope,Arial,sans-serif;letter-spacing:-.035em;color:#23483c}
body.ts-modern #content .ts-affiliate-content h2{margin:0 0 18px;font:600 clamp(1.45rem,2.2vw,1.9rem)/1.28 Manrope,Arial,sans-serif;letter-spacing:-.015em;color:#23483c}
body.ts-modern #content .ts-affiliate-content h3{margin:26px 0 10px;font:600 1.1rem/1.4 Manrope,Arial,sans-serif;color:#23483c}
body.ts-modern #content .ts-affiliate-content>header{padding:0 0 34px;margin:0 0 38px;border-bottom:1px solid #cbd7cd}
body.ts-modern #content .ts-affiliate-content>header>p:first-child{font-size:.95rem;color:#52685c;margin-bottom:16px}
body.ts-modern #content .ts-affiliate-content>header>p{max-width:72ch}
body.ts-modern #content .ts-affiliate-content>section,body.ts-modern #content .ts-affiliate-content>footer{max-width:68ch;margin:0 0 38px;scroll-margin-top:28px}
body.ts-modern #content .ts-affiliate-content p{margin:0 0 20px}
body.ts-modern #content .ts-affiliate-content a{color:#20513d;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;overflow-wrap:anywhere}
body.ts-modern #content .ts-affiliate-content a:hover{color:#112e22;text-decoration-thickness:2px}
body.ts-modern #content .ts-affiliate-content a:focus-visible,body.ts-modern #content .ts-affiliate-portal-notice a:focus-visible{outline:3px solid #a36f1d;outline-offset:4px}
body.ts-modern #content .ts-affiliate-content nav{padding:18px 20px;background:#edf2e8;border-radius:4px}
body.ts-modern #content .ts-affiliate-content nav p:last-child{margin-bottom:0}
body.ts-modern #content .ts-affiliate-content li{padding-left:4px;margin-bottom:14px}
body.ts-modern #content .ts-affiliate-content ol,body.ts-modern #content .ts-affiliate-content ul{margin:0 0 24px 24px}
body.ts-modern #content .ts-affiliate-content blockquote{margin:24px 0;padding:18px 24px;border-left:3px solid #759073;background:#f2f5ed;font-style:normal}
body.ts-modern #content .ts-affiliate-content blockquote p:last-child{margin-bottom:0}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:26px}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-button{display:inline-block;padding:12px 20px;background:#23483c;color:#fff;text-decoration:none;border-radius:4px;font-weight:600;line-height:1.4}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-button:hover{background:#183a2e;color:#fff}
body.ts-modern #content .ts-affiliate-content a{color:#20513d}
body.ts-modern #content .ts-affiliate-content a.ts-affiliate-button{color:#fff}
body.ts-modern #content .ts-affiliate-content a.ts-affiliate-button:hover{color:#fff}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-asset-grid{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.ts-affiliate-asset{margin:0;border-top:1px solid #cbd7cd;padding-top:22px;min-width:0}
.ts-affiliate-asset img{display:block;width:100%;height:280px;object-fit:contain;background:#fff;margin:0 0 18px}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-asset h2{font-size:1.3rem}
.ts-affiliate-asset p{font-size:16px}
body.ts-modern #content .ts-affiliate-portal-notice{padding:18px 22px;margin:16px 0 24px;border-left:3px solid #759073;background:#f2f5ed;color:#243d34;line-height:1.6}
body.ts-modern #content .ts-affiliate-portal-notice p{margin:0 0 12px}body.ts-modern #content .ts-affiliate-portal-notice ul{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0;padding-left:18px}body.ts-modern #content .ts-affiliate-portal-notice a{color:#20513d;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){body.ts-modern #content .ts-affiliate-content{padding:28px 20px 44px;font-size:16px;line-height:1.7}body.ts-modern #content .ts-affiliate-content>header{padding-bottom:26px;margin-bottom:30px}body.ts-modern #content .ts-affiliate-content h1{font-size:2.15rem;max-width:18ch}body.ts-modern #content .ts-affiliate-content>section{margin-bottom:30px}body.ts-modern #content .ts-affiliate-content nav{padding:16px}body.ts-modern #content .ts-affiliate-content .ts-affiliate-asset-grid{grid-template-columns:1fr;gap:20px}.ts-affiliate-asset img{height:250px}body.ts-modern #content .ts-affiliate-content .ts-affiliate-actions{align-items:flex-start;flex-direction:column;gap:12px}body.ts-modern #content .ts-affiliate-portal-notice{padding:16px}body.ts-modern #content .ts-affiliate-portal-notice ul{display:block}body.ts-modern #content .ts-affiliate-portal-notice li{margin-bottom:8px}}

/* Affiliate formatting repair */
body.ts-modern #content .ts-affiliate-content p{line-height:1.8}
body.ts-modern #content .ts-affiliate-content h1,body.ts-modern #content .ts-affiliate-content h2{text-wrap:balance}
body.ts-modern #content .ts-affiliate-content>section{margin-bottom:48px;scroll-margin-top:48px}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-jump{display:flex;flex-wrap:wrap;gap:8px 24px;padding:0;margin-top:28px;background:none}
body.ts-modern #content .ts-affiliate-content a.ts-affiliate-button{text-transform:none;letter-spacing:normal;white-space:normal;max-width:100%;text-align:center}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-overview{padding:28px;background:#edf2e8;border-radius:8px}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-facts{margin:0 0 20px}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-facts>div{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid #cad6c8}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-facts>div:last-child{border-bottom:0}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-facts dt{font-weight:600;margin:0;color:#23483c}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-facts dd{margin:0;min-width:0}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-overview>p:last-child{font-size:15px;line-height:1.65;margin-bottom:0}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-steps{padding-left:20px;margin-left:0}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-steps li{padding:18px 0 18px 12px;margin:0;border-top:1px solid #cbd7cd}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-steps li strong{display:block;margin-bottom:6px;color:#23483c}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-faq{padding:20px 0;margin:0;border-bottom:1px solid #cbd7cd}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-faq summary{cursor:pointer;font-weight:600;color:#23483c;line-height:1.5;padding-right:12px}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-faq summary:focus-visible{outline:3px solid #a36f1d;outline-offset:4px}
body.ts-modern #content .ts-affiliate-content .ts-affiliate-faq p{margin:16px 0 0}
body.ts-modern #content .ts-affiliate-content>.ts-affiliate-cta{box-sizing:border-box;max-width:68ch;padding:32px;margin:24px 0 16px;background:#edf2e8;border-radius:8px}
body.ts-modern #content .ts-affiliate-content>.ts-affiliate-cta h2{margin:0 0 16px}
body.ts-modern #content .ts-affiliate-content>.ts-affiliate-cta p{max-width:54ch;margin:0 0 24px;white-space:normal;overflow-wrap:break-word}
body.ts-modern #content .ts-affiliate-content>.ts-affiliate-cta .ts-affiliate-actions{margin:0}
@media(max-width:600px){body.ts-modern #content .ts-affiliate-content>.ts-affiliate-cta{padding:24px 20px}}
@media(max-width:600px){body.ts-modern #content .ts-affiliate-content .ts-affiliate-overview{padding:22px 20px}body.ts-modern #content .ts-affiliate-content .ts-affiliate-facts>div{grid-template-columns:1fr;gap:4px;padding:12px 0}body.ts-modern #content .ts-affiliate-content .ts-affiliate-jump{padding:0;gap:8px 18px}body.ts-modern #content .ts-affiliate-content>section{margin-bottom:36px}}

body.ts-modern #content .ts-affiliate-content code{overflow-wrap:anywhere;white-space:normal}
body.ts-modern.page-id-5753 #content .ts-affiliate-content{padding-bottom:18px}
body.ts-modern.page-id-5753 #content .ts-affiliate-content>header{margin-bottom:0}
body.ts-modern.page-id-5753 .el-notification__title{font-size:16px;line-height:1.4;margin:0 0 4px}
body.ts-modern.page-id-5753 .el-notification{max-width:330px;width:calc(100vw - 32px)}
body.ts-modern #content .ts-affiliate-banner-grid{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
body.ts-modern #content .ts-affiliate-banner{min-width:0;border-top:1px solid #cbd7cd;padding-top:20px}
body.ts-modern #content .ts-affiliate-banner figure{margin:0 0 16px;min-height:120px;display:flex;align-items:center;justify-content:center;background:#edf2e8;padding:16px}
body.ts-modern #content .ts-affiliate-banner img{display:block;max-width:100%;width:auto;height:auto;max-height:400px}
body.ts-modern #content .ts-affiliate-banner h3{margin:0 0 12px}
body.ts-modern #content .ts-affiliate-banner p{font-size:15px;margin-bottom:12px}
@media(max-width:600px){
 body.ts-modern.page-id-5753 .el-dialog.fa_common_dialog{width:calc(100% - 24px);max-width:calc(100% - 24px);margin:24px auto}
 body.ts-modern.page-id-5753 .fa_common_dialog .fa_meta_infos{flex-wrap:wrap;gap:6px 12px}
 body.ts-modern.page-id-5753 .fa_common_dialog .fa_section_footer{flex-wrap:wrap;gap:12px}
 body.ts-modern.page-id-5753 .fa_common_dialog .fa_section_footer .footer_item{max-width:100%}
 body.ts-modern.page-id-5753 .fa_common_dialog .fa_section_preview img{max-width:100%;height:auto}
 body.ts-modern.page-id-5753 .fa_common_dialog textarea{font-size:14px;line-height:1.5}
 body.ts-modern #content .ts-affiliate-banner-grid{grid-template-columns:1fr}
 #fa-customer-portal .fla_layout{display:flex;flex-direction:column}
 #fa-customer-portal .fla_layout .fla_sidebar{width:100%;min-width:0;border-right:0;border-bottom:1px solid #e1e5df}
 #fa-customer-portal .fla_sidebar_header{display:none}
 #fa-customer-portal .fla_sidebar_nav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:4px;margin:0;padding:8px}
 #fa-customer-portal .fla_sidebar_nav .nav_item{flex:0 0 auto;min-width:72px;padding:0;margin:0}
 #fa-customer-portal .fla_sidebar_nav .item_menu_link{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:60px;padding:8px;font-size:12px;line-height:1.3}
 #fa-customer-portal .fla_sidebar_nav .item_menu_link::after{content:attr(aria-label);white-space:nowrap}
 #fa-customer-portal .fla_sidebar_nav .item_menu_label{display:none}
 #fa-customer-portal .fla_layout .fla_route_body{width:100%;min-width:0;margin:0;padding:16px}
 #fa-customer-portal .el-input:has(.fa_primary_button){height:auto}
 #fa-customer-portal .el-input__wrapper:has(.fa_primary_button){display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;height:auto;padding:10px}
 #fa-customer-portal .el-input__wrapper:has(.fa_primary_button) .el-input__inner{min-width:0;width:100%;height:40px;min-height:40px;padding:0}
 #fa-customer-portal .el-input__wrapper:has(.fa_primary_button) .el-input__suffix{grid-column:1/-1;height:auto;width:100%;margin:0}
 #fa-customer-portal .el-input__wrapper:has(.fa_primary_button) .el-input__suffix-inner{width:100%;height:auto}
 #fa-customer-portal .el-input__wrapper .fa_primary_button{width:100%;min-height:40px}
}
