/* Scoped to the public, supplier-neutral powder calculator. Inherit the site fonts. */
.jm-cup-cost{color:var(--trade-ink,#123b29);background:var(--trade-paper,#fffaf0);max-width:1160px;margin-inline:auto}
.jm-cup-cost [hidden]{display:none!important}
.jm-cup-cost .jm-cup-cost-heading{max-width:640px;text-align:center;margin-inline:auto}
.jm-cup-cost .jm-cup-cost-heading>p{max-width:38ch;margin:20px auto 0;font-size:14px;line-height:1.65}
.jm-cup-cost .jm-cup-cost-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:900px;margin:32px auto 0}
.jm-cup-cost .jm-cup-cost-fields label{display:flex;flex-direction:column;gap:9px;min-width:0;font:500 13px/1.5 var(--body,Arial,sans-serif)}
.jm-cup-cost .jm-cup-cost-fields input{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:48px;padding:11px 13px;border:1px solid var(--trade-rule,#123b2938);border-radius:7px;background:rgba(255,255,255,.6);color:inherit;font:inherit;font-size:16px;box-shadow:none}
.jm-cup-cost input:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.jm-cup-cost input[aria-invalid=true]{border-color:#9b3023}
.jm-cup-cost .jm-cup-cost-feedback{max-width:900px;margin:22px auto 0;min-height:76px}
.jm-cup-cost [data-powder-feedback]{font-size:13px;line-height:1.65;max-width:none;margin:0}
.jm-cup-cost [data-powder-feedback][data-error=true]{color:#9b3023}
.jm-cup-cost .jm-cup-cost-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.jm-cup-cost .jm-cup-cost-result dl{margin:0;min-width:0}
.jm-cup-cost .jm-cup-cost-result dt{font-size:12px;line-height:1.6}
.jm-cup-cost .jm-cup-cost-result dd{margin:7px 0 0;overflow-wrap:anywhere;font:400 clamp(27px,3vw,38px)/1.1 JMTradeSerif,Georgia,serif;letter-spacing:-.04em}
.jm-cup-cost .jm-cup-cost-note{max-width:76ch!important;margin:18px auto 0;font-size:12px;line-height:1.75}
.jm-cup-cost-next{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 26px;margin-top:24px;font-size:13px}
.jm-cup-cost-next a{color:inherit;min-height:44px;display:inline-flex;align-items:center;text-underline-offset:5px}
.jm-cup-cost-next a:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:650px){
 .jm-cup-cost .jm-cup-cost-fields{grid-template-columns:1fr;gap:15px;margin-top:25px}
 .jm-cup-cost .jm-cup-cost-feedback{min-height:72px;margin-top:24px}
 .jm-cup-cost .jm-cup-cost-note{font-size:12px}
}
