/* Homepage tools only: inherit the site's fonts, blue and card language. */
body.cfm #free-trade-tools{padding-block:clamp(48px,6vw,80px)}
#free-trade-tools .cfm-sh{margin-bottom:32px}
#free-trade-tools .cfm-grid{align-items:start}
body.cfm #free-trade-tools article.cfm-tool-card{box-sizing:border-box;min-width:0;padding:24px!important;overflow-wrap:anywhere;font-family:inherit}
#free-trade-tools .cfm-tool-card h3{font-family:inherit;font-size:22px;line-height:1.25;margin:16px 0}
#free-trade-tools .cfm-tool-card>p{line-height:1.6}
#free-trade-tools .cfm-tool-links,#free-trade-tools .cfm-tool-form{display:grid;gap:12px;margin:20px 0}
#free-trade-tools .cfm-tool-form label{display:grid;gap:6px;min-width:0;font-size:16px;font-weight:600}
#free-trade-tools .cfm-tool-form input,#free-trade-tools .cfm-tool-form select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--line,#dce3ec);border-radius:8px;background:#fff;color:inherit;font-family:inherit;font-size:16px;line-height:1.4}
#free-trade-tools .cfm-tool-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
#free-trade-tools .cfm-btn{width:100%;max-width:100%;box-sizing:border-box;min-height:48px;font:inherit;font-size:16px;font-weight:600;white-space:normal;text-align:center}
#free-trade-tools .cfm-tool-result{padding:14px;background:var(--bg,#f5f8fc);border-radius:10px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.5}
#free-trade-tools .cfm-tool-result p{font-size:14px;font-weight:400;margin:6px 0 0}
#free-trade-tools .cfm-tool-note{font-size:13px;line-height:1.65;color:var(--muted,#65758b);margin:14px 0 0}
#free-trade-tools .cfm-tool-note a{text-decoration:underline}
#free-trade-tools .cfm-tool-details{margin:16px 0}
#free-trade-tools summary{min-height:44px;display:list-item;padding:10px 0;font-size:15px;font-weight:600;cursor:pointer}
#free-trade-tools .cfm-tool-table{max-width:100%;margin-top:12px}
#free-trade-tools table{table-layout:fixed;width:100%;border-collapse:collapse;font-size:12px;line-height:1.5;margin:0}
#free-trade-tools th,#free-trade-tools td{padding:8px 4px;text-align:left;border-bottom:1px solid var(--line,#dce3ec);overflow-wrap:anywhere}
#free-trade-tools caption{font-size:12px;text-align:left;padding-bottom:8px;color:var(--muted,#65758b)}
#free-trade-tools button:disabled{opacity:.65;cursor:wait}
#free-trade-tools :focus-visible{outline:2px solid var(--blue,#346cf1);outline-offset:3px}
@media(max-width:900px){#free-trade-tools .cfm-grid--3{grid-template-columns:minmax(0,1fr)}body.cfm #free-trade-tools article.cfm-tool-card{padding:16px!important}}

/* v20261118.2: narrow-screen tool-only contact avoidance; in-flow links stay usable. */
#free-trade-tools .cfm-tool-contact{display:flex;align-items:center;min-height:44px;margin-top:14px;font:inherit;font-size:14px;text-decoration:underline;gap:6px}
@media(max-width:700px){
 body.cfm-tools-active .cfm-wa{display:none!important}
 body:has(#free-trade-tools:focus-within) .cfm-wa{display:none!important}
}
