/* Scoped to the trade guide's calculator; no consumer calculator styles change. */
.trade-calculator {border:1px solid #dce1eb;border-radius:1rem;padding:1.5rem;background:#f8f9fd;margin:2rem 0;color:#182340;}
.trade-calculator fieldset {min-width:0;}
.trade-calculator legend {font-size:1.25rem;font-weight:700;margin-bottom:1.25rem;}
.trade-calculator-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;}
.trade-calculator-fields label {display:flex;flex-direction:column;gap:.5rem;font-weight:600;line-height:1.5;}
.trade-calculator-fields input,.trade-calculator-fields select {width:100%;min-width:0;min-height:48px;border:1px solid #adb6c8;border-radius:.5rem;background:white;color:#182340;padding:.65rem .75rem;font-size:1rem;}
.trade-calculator input:focus-visible,.trade-calculator select:focus-visible,.trade-calculator button:focus-visible {outline:3px solid #7161ca;outline-offset:3px;}
.trade-calculator input[aria-invalid="true"] {border:2px solid #a92424;}
.trade-calculator-help {font-size:.95rem;line-height:1.65;color:#4a556b;margin:1rem 0;}
.trade-calculator-reset {min-height:44px;padding:.6rem 1rem;border:1px solid #6958b9;border-radius:.5rem;color:#44338d;background:#fff;font-weight:600;}
.trade-calculator-results {margin-top:2rem;min-width:0;}
.trade-calculator .mp-tier-table {margin:0;}
.trade-calculator .mp-tier-table th,.trade-calculator .mp-tier-table td {padding:.85rem;}
#trade-calculator-status {padding:1.25rem;background:#eeebfa;border-radius:.65rem;line-height:1.75;margin-top:1.25rem;}
@media(max-width:600px){.trade-calculator{padding:1rem;}.trade-calculator-fields{grid-template-columns:1fr;}.trade-calculator .mp-tier-table{min-width:480px;}}

.trade-calculator-scroll-hint {display:none;}
@media(max-width:600px){.trade-calculator-scroll-hint{display:block;font-size:.9rem;color:#4a556b;margin-bottom:.75rem;}}
