.fin-section .fin-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}
.fin-heading h2{margin:0}
.fin-section summary{cursor:pointer}
.fin-section summary:focus-visible{outline:3px solid #287eac;outline-offset:3px}
.fin-entry{margin-top:1.1rem}.fin-entry>summary{display:inline-flex;width:fit-content}.fin-entry>summary::before{content:"+";font-weight:750;margin-right:.35rem}.fin-entry[open]>summary::before{content:"−"}
.fin-entry .fin-form{margin-top:1.1rem;padding:1.1rem;border:1px solid #d6dfe3;border-radius:10px;background:#f7f9fa}
.fin-section .fin-note,.fin-section .fin-empty{font-size:.88rem;color:#546871;line-height:1.5}
.fin-detail{margin:.9rem 0}.fin-detail>summary{font-size:.9rem;font-weight:650}.fin-detail .table-wrap{margin:.8rem 0}
.fin-table th,.fin-table td{font-variant-numeric:tabular-nums}.fin-table td,.fin-table th:not(:first-child){text-align:right;white-space:nowrap}.fin-table th:first-child{min-width:8rem;text-align:left}.fin-table tfoot{font-weight:700;background:#f0f4f5}.fin-table .fin-deficit{color:#953a27}.fin-table small{display:block;font-weight:400;color:#586871;font-size:.78rem}
.fin-preview{margin:1rem 0;font-size:.9rem;font-weight:650;color:#174f57}.fin-error{color:#922c1e}.fin-form .form-grid{margin-top:.65rem}
@media(max-width:640px){.fin-entry .fin-form{padding:.7rem}.fin-table{font-size:.85rem}.fin-section{min-width:0}.fin-form input{min-width:0}}
.fin-row-actions{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.3rem}.fin-row-actions .btn{padding:.25rem .45rem;font-size:.76rem;min-height:1.8rem}.fin-table small{max-width:35ch;overflow-wrap:anywhere}.fin-form>label{margin-top:.7rem}
.fin-share{appearance:none;display:block;margin:.25rem 0 0 auto;height:6px;width:95px;border:0;border-radius:4px;overflow:hidden;color:#23546a;background:#c99548}.fin-share::-webkit-progress-bar{background:#c99548}.fin-share::-webkit-progress-value{background:#23546a}.fin-share::-moz-progress-bar{background:#23546a}.fin-legend{display:flex;flex-wrap:wrap;gap:1rem;margin:.65rem 0;font-size:.8rem;color:#516675}.fin-legend span::before{content:"";display:inline-block;width:.7rem;height:.55rem;margin-right:.35rem;border-radius:2px;background:#23546a}.fin-legend span+span::before{background:#c99548}.fin-form [data-calc]{margin-bottom:.8rem}.fin-form [data-calc] details{padding:.6rem .75rem;background:#fff;border:1px solid var(--border);border-radius:6px}.fin-form [data-calc] details>summary{font-weight:650;font-size:.9rem}.fin-form [data-calc] details>.btn{margin-top:.75rem}
