/* RelocationMath total-compensation comparison: two aligned columns per input row. */
.tc-colhead,.tc-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr) 68px;gap:10px;align-items:center}
.tc-colhead{margin:14px 0 4px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#4c6b62}
.tc-colhead span:nth-child(3){color:#0f6b52}
.tc-row{padding:10px 0;border-top:1px solid #e1ebe5}
.tc-row__label strong{display:block;color:#163b34;font-size:14px;line-height:1.3}
.tc-row__label small{display:block;color:#627970;font-size:12px;line-height:1.4;margin-top:2px}
.tc-cell{position:relative;min-width:0}
.tc-cell input{width:100%;min-width:0;min-height:47px;border:1px solid #b6cfc2;background:#fff;border-radius:10px;padding:10px 10px 10px 30px;font-size:15px;color:#163b34}
.tc-cell input:focus-visible{outline:3px solid #78c8ad;outline-offset:2px}
.tc-cell input[aria-invalid=true]{border:2px solid #a24627;background:#fff9f5}
.tc-cell__tag{position:absolute;left:9px;top:50%;transform:translateY(-50%);width:16px;height:16px;border-radius:5px;background:#dbe7e1;color:#33544b;font-size:10px;font-weight:800;display:grid;place-items:center;pointer-events:none}
.tc-cell__tag--b{background:#0f6b52;color:#fff}
.tc-unit{font-size:11px;color:#627970;line-height:1.3}
.tc-bars{display:grid;gap:9px;margin:14px 0 18px}
.tc-bar{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:10px;align-items:center;font-size:13px}
.tc-bar span{font-weight:800;color:#33544b}
.tc-bar i{display:block;height:12px;border-radius:999px;background:#9fb9ad;width:0;transition:width .35s ease}
.tc-bar--b i{background:#0f6b52}
.tc-bar b{font-variant-numeric:tabular-nums;color:#163b34}
.tc-extras strong{font-size:18px}
@media (prefers-reduced-motion:reduce){.tc-bar i{transition:none}}
@media(max-width:620px){
 .tc-colhead{display:none}
 .tc-row{grid-template-columns:1fr 1fr;gap:8px}
 .tc-row__label{grid-column:1/-1}
 .tc-unit{grid-column:1/-1;margin-top:-4px}
}
#tc-output .dl-result-grid [data-tone=up]{color:#0f6b52}
#tc-output .dl-result-grid [data-tone=down]{color:#a24627}
