.fee-calculator{margin:30px 0 45px;padding:28px;border:1px solid var(--line,#dce8e2);border-radius:14px;background:#fff}
.fee-calculator h2{margin:0 0 16px;font-size:1.6rem}.fee-calculator>p{line-height:1.65;max-width:950px}
.fee-calculator [hidden]{display:none!important}.fee-calculator fieldset{padding:0;margin:24px 0 0;border:0;min-width:0}
.fee-calculator fieldset:disabled{opacity:.65}.fee-specialty-row{padding:17px 0;border-bottom:1px solid var(--line,#dce8e2)}
.fee-row-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.fee-row-heading strong{font-size:.9rem}
.fee-remove{min-height:44px;padding:8px 12px;border:1px solid var(--line,#dce8e2);border-radius:7px;background:#fff;color:var(--ink,#143b3d);font:inherit;font-size:.85rem;cursor:pointer}
.fee-row-fields{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.fee-row-fields label{display:grid;gap:8px;font-size:.85rem;font-weight:650;min-width:0}
.fee-row-fields input{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #a8bdb6;border-radius:7px;background:#fff;color:#173a3d;font:inherit;font-weight:400;min-width:0}
.fee-row-fields input[aria-invalid=true]{border:2px solid #ac3131}.fee-calculator button:disabled{cursor:default;opacity:.55}
.fee-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.fee-actions button{font:inherit;cursor:pointer;min-height:44px}
.fee-status,.fee-privacy{font-size:.85rem;color:var(--muted,#4b6867)}.fee-error{padding:15px 18px;border:1px solid #c77f7f;border-radius:8px;background:#fff1f0;color:#842828}
.fee-results{margin-top:26px;padding:24px;border:1px solid #a8c9bc;border-radius:10px;background:#f4f9f6}.fee-results h3{margin:0 0 18px;font-size:1.3rem}.fee-results>p{font-size:.9rem;line-height:1.7}
.fee-totals{display:grid;grid-template-columns:1fr 1fr;gap:20px}.fee-totals>div{padding:18px;border:1px solid #d4e3db;border-radius:8px;background:#fff}.fee-totals h4{margin:0 0 10px;font-size:.9rem}.fee-totals strong{font-size:1.7rem;overflow-wrap:anywhere}.fee-totals p{font-size:.85rem;color:var(--muted,#4b6867)}
.fee-difference{font-weight:700}.fee-formula{margin-top:24px;padding-top:20px;border-top:1px solid var(--line,#dce8e2)}
@media(max-width:600px){.fee-calculator{padding:18px}.fee-row-fields{grid-template-columns:1fr 1fr;gap:12px}.fee-row-fields label:first-child{grid-column:1/-1}.fee-actions{display:grid;grid-template-columns:1fr}.fee-results{padding:15px}.fee-totals{gap:10px}.fee-totals>div{padding:12px}.fee-totals strong{font-size:1.35rem}}
@media(max-width:480px){.fee-totals{grid-template-columns:1fr}.fee-totals strong{white-space:nowrap}}
@media print{.fee-calculator{padding:0;border:0;break-inside:auto}.fee-calculator form,.fee-status,.fee-error,.fee-privacy{display:none!important}.fee-results{background:#fff;border:1px solid #aaa;padding:15px}.fee-results table{font-size:9pt}.fee-totals>div{break-inside:avoid}.fee-formula{border-color:#aaa}}
