/* OBF betting tools – reserved heights prevent layout shift; results area has a fixed min-height. */
.obf-calc{border:1px solid #d7dce3;border-radius:10px;padding:1rem;margin:1.5rem 0;background:#f8fafc;max-width:100%;box-sizing:border-box;contain:layout}
.obf-calc__title{margin:0 0 .5rem;font-size:1.15rem}
.obf-calc__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem}
.obf-calc label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.25rem}
.obf-calc input,.obf-calc select{width:100%;min-height:44px;box-sizing:border-box;padding:.5rem;border:1px solid #9aa4b2;border-radius:6px;font-size:16px;background:#fff}
.obf-calc input:focus-visible,.obf-calc select:focus-visible,.obf-calc button:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}
.obf-calc__check{display:flex;align-items:center;gap:.5rem;min-height:44px}
.obf-calc__check input{width:auto;min-height:0}
.obf-calc__legs{display:grid;gap:.5rem;margin:.75rem 0}
.obf-calc__leg{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem;padding:.5rem;border:1px dashed #c3cad5;border-radius:6px}
.obf-calc__legno{grid-column:1/-1;font-weight:600;font-size:.85rem}
.obf-calc__btn{margin-top:.75rem;min-height:44px;padding:.5rem 1.25rem;border:0;border-radius:6px;background:#0f5132;color:#fff;font-weight:600;cursor:pointer}
.obf-calc.is-ready .obf-calc__btn{display:none}
.obf-calc__out{min-height:12rem;margin-top:.75rem}
.obf-calc__res{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.5rem;margin:0 0 .5rem}
.obf-calc__res div{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.5rem}
.obf-calc__res dt{font-size:.8rem;color:#475569}.obf-calc__res dd{margin:0;font-size:1.05rem}
.obf-calc__err{color:#9f1239;margin:0}
.obf-calc__note{font-size:.8rem;color:#475569;margin:.5rem 0 0}
.obf-calc [hidden]{display:none!important}
