.fx-module{display:grid;gap:1rem;min-width:0;color:#142b3b}
.fx-card{background:#fffefa;border:1px solid #dcded7;padding:clamp(1rem,3vw,1.65rem);border-radius:18px;min-width:0}
.fx-card h3,.fx-card h4{margin:0 0 .65rem;color:#173647}
.fx-hint,.fx-card small,.fx-metric small{color:#516168;font-size:.91rem;display:block;line-height:1.5}
.fx-hint{margin:.25rem 0 1rem}
.fx-row{display:flex;justify-content:space-between;align-items:center;gap:.8rem;padding:1rem 0;border-bottom:1px solid #e5e6df;overflow-wrap:anywhere}
.fx-row:last-child{border-bottom:0}
.fx-row strong{font-size:1rem;display:block;margin-bottom:.15rem}
.fx-actions,.fx-form-actions{display:flex;gap:.45rem;flex-wrap:wrap}
.fx-card .fx-action,.fx-card .fx-primary{border-radius:8px;min-height:40px;padding:.55rem .9rem;font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}
.fx-action{background:#fffefa;border:1px solid #bfcac5;color:#234c4b}
.fx-primary{background:#123e3c;color:white;border:1px solid #123e3c}
.fx-form{padding:1rem 0;display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));align-items:end}
.fx-form h4,.fx-form-actions{grid-column:1/-1}
.fx-card label{display:grid;gap:.35rem;font-weight:600;font-size:.9rem}
.fx-card select,.fx-card input{min-width:0;min-height:43px;padding:.55rem .7rem;font:inherit;border:1px solid #aebcb8;border-radius:7px;background:#fff;color:#183742}
.fx-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:.65rem}
.fx-metric{border:1px solid #dce1da;background:#fffefa;padding:1.1rem;border-radius:14px;overflow-wrap:anywhere}
.fx-metric strong,.fx-score{font-size:1.45rem;display:block;color:#16483d}
.fx-result:not(:empty){padding:1rem;background:#e9f2e9;font-weight:600;border-radius:8px}
.fx-error{color:#913320}
@media(max-width:600px){.fx-row{align-items:flex-start;flex-direction:column}.fx-actions:empty{display:none}.fx-card .fx-action,.fx-card .fx-primary{min-height:44px}}
