.mfb-tool{--mfb-text:#18231e;--mfb-muted:#66736c;--mfb-border:#dfe5e1;--mfb-accent:#176b48;--mfb-accent-dark:#0f5136;--mfb-soft:#e9f5ef;--mfb-bg:#f7f8f7;color:var(--mfb-text);font:inherit;max-width:1100px;margin:2rem auto}.mfb-tool*,.mfb-tool*::before,.mfb-tool*::after{box-sizing:border-box}.mfb-tool__eyebrow{margin:0 0 .35rem;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--mfb-accent)}.mfb-tool__lead{margin:0 0 1rem;max-width:800px;color:var(--mfb-muted);line-height:1.65}.mfb-tool__note{margin:0 0 1rem;padding:.9rem 1rem;border:1px solid rgba(23,107,72,.2);border-radius:14px;background:var(--mfb-soft);line-height:1.55}.mfb-tool__form,.mfb-tool__table-card{background:#fff;border:1px solid var(--mfb-border);border-radius:18px;padding:1.25rem}.mfb-tool__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.mfb-tool__field{display:flex;flex-direction:column;gap:.42rem;min-width:0;font-weight:700}.mfb-tool__field small{min-height:2.3em;color:var(--mfb-muted);font-size:.82rem;font-weight:400;line-height:1.35}.mfb-tool__control{display:flex;align-items:stretch;border:1px solid var(--mfb-border);border-radius:12px;overflow:hidden;background:#fff}.mfb-tool input,.mfb-tool select{width:100%;min-width:0;min-height:48px;border:1px solid var(--mfb-border);border-radius:12px;background:#fff;color:var(--mfb-text);font:inherit;font-size:1rem;padding:.72rem .85rem}.mfb-tool__control input{border:0;border-radius:0;outline:0}.mfb-tool__control>span{display:inline-flex;align-items:center;padding:0 .78rem;color:var(--mfb-muted);background:var(--mfb-bg);white-space:nowrap;font-weight:700}.mfb-tool input:focus,.mfb-tool select:focus{outline:3px solid rgba(23,107,72,.12);border-color:var(--mfb-accent)}.mfb-tool__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}.mfb-tool__button,.mfb-tool__reset{min-height:46px;border-radius:12px;padding:.72rem 1rem;font:inherit;font-weight:800;cursor:pointer}.mfb-tool__button{border:1px solid var(--mfb-accent);background:var(--mfb-accent);color:#fff}.mfb-tool__button:hover{background:var(--mfb-accent-dark)}.mfb-tool__reset{border:1px solid var(--mfb-border);background:#fff;color:var(--mfb-text)}.mfb-tool__error{margin:.8rem 0 0;color:#8b1e1e;font-weight:700}.mfb-tool__results{margin-top:1.1rem}.mfb-tool__summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.85rem}.mfb-tool__metric{padding:1rem;border:1px solid var(--mfb-border);border-radius:16px;background:#fff;min-width:0}.mfb-tool__metric--primary{background:var(--mfb-soft);border-color:rgba(23,107,72,.2)}.mfb-tool__metric span,.mfb-tool__detail-grid span{display:block;color:var(--mfb-muted);font-size:.82rem;font-weight:700;line-height:1.35}.mfb-tool__metric strong{display:block;margin:.35rem 0;font-size:clamp(1.15rem,2.1vw,1.7rem);line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.mfb-tool__metric small{color:var(--mfb-muted);line-height:1.35}.mfb-tool__detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-top:.85rem}.mfb-tool__detail-grid>div{padding:.9rem;border:1px solid var(--mfb-border);border-radius:14px;background:var(--mfb-bg)}.mfb-tool__detail-grid strong{display:block;margin-top:.25rem;font-size:1.05rem;white-space:nowrap}.mfb-tool__insight{margin-top:.9rem;padding:.9rem 1rem;border-left:4px solid var(--mfb-accent);background:var(--mfb-soft);border-radius:0 12px 12px 0;line-height:1.55}.mfb-tool__notice{margin-top:1rem;padding:1rem;border-radius:14px;background:var(--mfb-bg);color:var(--mfb-muted);line-height:1.6;font-size:.9rem}.mfb-tool__notice strong{color:var(--mfb-text)}.mfb-tool__table-card{margin-top:1rem}.mfb-tool__table-card h3{margin:.1rem 0 .8rem}.mfb-tool__table-wrap{width:100%;overflow-x:auto}.mfb-tool table{width:100%;border-collapse:collapse;font-size:.92rem}.mfb-tool th,.mfb-tool td{padding:.7rem .65rem;border-bottom:1px solid var(--mfb-border);text-align:right;white-space:nowrap}.mfb-tool th:first-child,.mfb-tool td:first-child{text-align:left}.mfb-tool th{color:var(--mfb-muted);font-size:.8rem}.mfb-tool tbody tr:last-child td{border-bottom:0}@media(max-width:860px){.mfb-tool__summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.mfb-tool{margin:1.25rem auto}.mfb-tool__grid,.mfb-tool__summary,.mfb-tool__detail-grid{grid-template-columns:1fr}.mfb-tool__form{padding:1rem}.mfb-tool__button,.mfb-tool__reset{width:100%}.mfb-tool__field small{min-height:auto}.mfb-tool__metric strong{white-space:normal;overflow-wrap:anywhere}}
