#financeDialog{width:min(1280px,calc(100vw - 32px));max-width:none;max-height:92dvh;padding:0;border:1px solid #cad5df;border-radius:16px;color:#17344c;background:#fff;box-shadow:0 20px 80px #102a4340}#financeDialog::backdrop{background:#102a4377}.finance-heading{display:flex;justify-content:space-between;gap:20px;align-items:start;padding:24px 28px;background:#faf7f2;border-bottom:1px solid #d5dfe8}.finance-heading h2{margin:6px 0;font-size:25px}.finance-heading p{margin:4px 0}.finance-heading button{min-width:40px;min-height:40px}.finance-content{padding:20px 28px}.finance-intro{font-weight:600;margin-top:0}#financeSource{font-size:13px;color:#526577}.finance-inputs,.finance-summary{border-collapse:collapse;width:min(760px,100%);font-size:14px;font-variant-numeric:tabular-nums}.finance-inputs th,.finance-summary th{text-align:left;font-weight:500;width:43%}.finance-inputs td,.finance-inputs th,.finance-summary td,.finance-summary th{border:1px solid #cbd5df;padding:7px 10px}.finance-inputs td:nth-child(2){width:43%}.finance-inputs td:nth-child(3){width:14%;text-align:right;font-size:12px}.finance-inputs label{margin:0;color:inherit;font-size:inherit}.finance-inputs input,.finance-inputs select{box-sizing:border-box;width:100%;min-height:36px;border:1px solid #7298bf;border-radius:4px;background:#abc7e4;color:#102a43;font:inherit;padding:7px}.finance-inputs input{text-align:right}.finance-inputs output{display:block;text-align:right}.finance-inputs input:focus,.finance-inputs select:focus{outline:2px solid #0066ff;outline-offset:2px}.finance-summary{margin:22px 0}.finance-summary td{text-align:right}.finance-emphasis{font-weight:750;background:#f2f6fa}.finance-emphasis th{font-weight:750}.finance-scroll{overflow:auto;margin:24px 0 8px}.finance-schedule{width:100%;min-width:980px;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.finance-schedule th,.finance-schedule td{padding:10px 12px;border:1px solid #cbd5df;text-align:right;white-space:nowrap}.finance-schedule th:first-child{text-align:left}.finance-schedule tbody th{font-weight:500}.finance-schedule thead{background:#123b5c;color:#fff}.finance-schedule tfoot{font-weight:750;background:#eef4f9}.finance-notes{font-size:12px;line-height:1.6;color:#526577;max-width:1100px}#financeError{color:#a32222;background:#fff0f0;padding:12px;border-radius:6px}#openFinance,#dialogFinance{margin-top:8px}#financeReset{margin-top:8px}@media(max-width:600px){#financeDialog{width:calc(100vw - 16px)}.finance-heading,.finance-content{padding:16px}.finance-heading h2{font-size:21px}.finance-inputs th,.finance-inputs td{padding:5px}.finance-inputs th{width:34%}.finance-inputs td:nth-child(2){width:54%}.finance-inputs{font-size:12px}.finance-inputs input,.finance-inputs select{font-size:13px}.finance-inputs td:nth-child(3){font-size:10px}}

#dialogFinance{display:block;width:100%;margin-top:12px}.finance-heading{position:sticky;top:0;z-index:2}
