.personal-debt{color:#000;max-width:1280px;margin:0 auto;padding:20px 14px 110px}.personal-debt h1{margin:14px 0 8px;font-size:30px}.personal-debt h2{overflow-wrap:anywhere;margin:24px 0 12px;font-size:22px}.personal-debt p{margin:10px 0;line-height:1.5}.personal-debt button{color:#000;min-height:44px;font:inherit;cursor:pointer;background:#e2e8f0;border:1px solid #000;border-radius:6px;padding:10px 14px;font-weight:700}.personal-debt button:hover:not(:disabled){background:#d3dce8}.personal-debt button:disabled{cursor:default;opacity:.6}.personal-debt button:focus-visible,.personal-debt input:focus-visible{outline-offset:3px;outline:2px solid #000}.debt-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0;display:flex}.debt-totals{border-block:1px solid #000;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0;padding:16px 0;display:grid}.debt-totals dt{font-size:14px}.debt-totals dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:6px 0 0;font-size:24px;font-weight:700}.debt-count{font-size:16px;font-weight:400}.debt-account-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.debt-account-card{background:#fff;border:1px solid #000;border-radius:8px;min-width:0}.personal-debt .debt-account-choice{box-sizing:border-box;text-align:left;background:#fff;border:0;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;width:100%;padding:16px;display:grid}.debt-account-line{text-align:left;background:#fff;border:1px solid #000;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:16px;display:flex}.debt-account-choice>span,.debt-account-line>span{min-width:0}.debt-account-choice .debt-account-name{grid-column:1/-1}.debt-account-choice strong,.debt-account-line strong{overflow-wrap:anywhere;font-size:18px;display:block}.debt-account-estimate>span,.debt-account-balance>span{margin-top:4px;font-size:12px;font-weight:400;line-height:1.25;display:block}.debt-account-estimate strong,.debt-account-balance strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:2px;font-size:15px;line-height:1.3}.debt-account-estimate{text-align:left;font-variant-numeric:tabular-nums}.debt-account-balance{text-align:right;font-variant-numeric:tabular-nums}.debt-payment-control{padding:0 16px 12px}.debt-payment-rate-row{justify-content:space-between;align-items:start;gap:16px;display:flex}.debt-payment-amount{min-width:0}.debt-account-rate{text-align:right;font-variant-numeric:tabular-nums;gap:4px;padding-top:20px;font-size:13px;display:grid}.debt-account-rate strong{font-size:18px;line-height:1.4}.debt-payment-control label,.debt-payment-footer{font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:400;display:flex}.debt-payment-control input{box-sizing:border-box;color:#000;width:calc(10ch + 26px);min-width:0;max-width:100%;min-height:48px;font:inherit;font-variant-numeric:tabular-nums;caret-color:#000;background:#fff;border:1px solid #000;border-radius:6px;margin:8px 0 12px;padding:10px 12px;font-size:18px;display:block}.debt-payment-control input::selection{color:#000;background:#cbd5e1}.debt-payment-control input:disabled{cursor:default;opacity:.5}.debt-payment-footer{flex-wrap:wrap}.debt-payment-buttons{flex-wrap:wrap;gap:8px;margin-left:auto;display:flex}.personal-debt .debt-payment-reset,.personal-debt .debt-payment-save{justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 12px;font-size:13px;font-weight:400;display:inline-flex}.personal-debt .debt-payment-reset{background:#fff}.personal-debt .debt-payment-save{min-width:64px;font-weight:700}.personal-debt .debt-payment-reset:hover:not(:disabled){background:#f1f3f5}.personal-debt .debt-payment-error{margin-bottom:0;font-size:13px}.debt-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0;display:grid}.debt-editor label{flex-direction:column;gap:7px;min-width:0;font-weight:700;display:flex}.debt-field{flex-direction:column;gap:7px;min-width:0;display:flex}.debt-editor input{box-sizing:border-box;color:#000;caret-color:#000;background:#fff;border:1px solid #000;border-radius:5px;width:100%;min-width:0;min-height:48px;padding:10px;font-size:18px;font-weight:400}.debt-editor input::selection{color:#000;background:#cbd5e1}.debt-name,.debt-form-wide{grid-column:1/-1}.debt-help{font-size:13px;font-weight:400}.debt-archive{border-top:1px solid #000;margin-top:24px;padding-top:20px}@media (max-width:480px){.debt-editor{grid-template-columns:1fr}.debt-totals dd{font-size:22px}.personal-debt .debt-account-choice{gap:8px;padding:14px 12px}.debt-payment-control{padding-inline:12px}.debt-account-choice strong{font-size:14px}.debt-account-name strong{font-size:18px}.debt-account-estimate>span,.debt-account-balance>span{font-size:11px}}.debt-account-choice:focus-visible{outline-offset:3px}.debt-estimate-help{max-width:65ch}.debt-sheet-scroll{scrollbar-color:#64748b #f1f3f5;background:#fff;border:1px solid #000;max-width:100%;overflow-x:auto}.debt-sheet-scroll:focus-visible{outline-offset:3px;outline:2px solid #000}.debt-sheet{border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%;min-width:1080px}.debt-sheet caption{text-align:left;padding:12px;font-weight:700}.debt-sheet th,.debt-sheet td{vertical-align:top;text-align:left;overflow-wrap:anywhere;border:1px solid #cbd5e1;padding:12px}.debt-sheet thead th{background:#e2e8f0;font-size:14px}.debt-sheet th:first-child{background:#fff;width:180px;position:sticky;left:0}.debt-sheet thead th:first-child{background:#e2e8f0}.debt-sheet td{font-size:15px}.debt-sheet small{margin-top:6px;font-size:12px;display:block}.debt-sheet input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit;color:#000;caret-color:#000;background:#fff;border:1px solid #000;border-radius:4px;padding:8px}.debt-sheet input::selection{color:#000;background:#cbd5e1}.personal-debt .debt-sheet-name{text-align:left;text-underline-offset:3px;overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;max-width:100%;padding:0;text-decoration:underline}.debt-sheet .debt-payment-buttons{margin:0}.debt-sheet-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.debt-sheet{table-layout:auto;width:max-content;min-width:100%}.debt-sheet th,.debt-sheet td{white-space:nowrap;overflow-wrap:normal;vertical-align:middle;padding:6px 10px}.debt-sheet th:first-child{width:auto}.personal-debt .debt-sheet-name{white-space:nowrap;overflow-wrap:normal}.debt-sheet input{width:140px}.debt-sheet small{clip-path:inset(50%);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.debt-sheet .debt-payment-buttons{flex-wrap:nowrap}.debt-sheet .debt-payment-error{margin:0 0 0 8px;display:inline}.debt-sheet th,.debt-sheet td{padding:3px 8px;font-size:14px}.debt-sheet input{width:110px;min-height:36px;padding:5px 7px}.personal-debt .debt-sheet-name{min-height:36px}.debt-sheet th,.debt-sheet td{padding-block:1px;line-height:18px}.debt-sheet input{border-radius:2px;height:20px;min-height:20px;padding:0 6px;line-height:18px}.personal-debt .debt-sheet-name{min-height:20px;line-height:18px}.debt-sheet th[scope=row]>button{min-height:20px;padding-block:0;line-height:18px}.debt-sheet tbody input:not(:focus){background:0 0;border-color:#0000}.debt-sheet tbody .debt-new-line input{background:#fff;border-color:#000}.personal-debt .debt-delete-line{background:0 0;border:0;justify-content:center;align-items:center;min-width:24px;height:20px;min-height:20px;padding:0 4px;display:inline-flex}.debt-new-line [role=alert]{white-space:normal;max-width:28ch;display:block}.debt-sheet th:first-child>button{text-overflow:ellipsis;max-width:104px;overflow:hidden}.debt-sheet .debt-new-line td:first-child input{width:104px}.debt-payment-cell{position:relative}.debt-sheet .debt-payment-cell input:not(:focus){color:#0000}.debt-payment-display{pointer-events:none;position:absolute;top:50%;left:15px;transform:translateY(-50%)}.debt-payment-cell input:focus~.debt-payment-display{display:none}.debt-sheet tr>:nth-child(4){width:80px;min-width:80px}.debt-sheet tr>:nth-child(4) input{width:80px}.debt-sheet tr>:nth-child(5){width:70px;min-width:70px}.debt-sheet tr>:nth-child(5) input{width:70px}.debt-sheet tr>:nth-child(7){width:130px;min-width:130px}.personal-debt .debt-sheet .debt-sort{text-align:left;width:100%;min-height:20px;font:inherit;white-space:nowrap;background:0 0;border:0;border-radius:0;padding:0;font-weight:700}.debt-sheet th:first-child,.debt-sheet td:first-child{width:var(--debt-name-width,190px);min-width:var(--debt-name-width,190px);max-width:var(--debt-name-width,190px)}.debt-sheet th:first-child>button,.debt-sheet .debt-new-line td:first-child input{width:calc(var(--debt-name-width,190px) - 16px);max-width:calc(var(--debt-name-width,190px) - 16px)}.debt-sheet thead th:first-child{padding-right:16px;position:sticky}.debt-name-resizer{cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;z-index:3;box-sizing:border-box;border-right:3px solid #64748b;width:12px;position:absolute;top:0;bottom:0;right:0}.debt-name-resizer:hover,.debt-name-resizer:focus-visible{outline-offset:-2px;background:#cbd5e1;outline:2px solid #000}.debt-sheet{table-layout:fixed}.debt-sheet thead th{padding-right:16px;position:relative}.debt-sheet th,.debt-sheet td{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden}.debt-sheet tr>:first-child{width:var(--debt-col-0);min-width:var(--debt-col-0);max-width:var(--debt-col-0)}.debt-sheet tr>:nth-child(2){width:var(--debt-col-1);min-width:var(--debt-col-1);max-width:var(--debt-col-1)}.debt-sheet tr>:nth-child(3){width:var(--debt-col-2);min-width:var(--debt-col-2);max-width:var(--debt-col-2)}.debt-sheet tr>:nth-child(4){width:var(--debt-col-3);min-width:var(--debt-col-3);max-width:var(--debt-col-3)}.debt-sheet tr>:nth-child(5){width:var(--debt-col-4);min-width:var(--debt-col-4);max-width:var(--debt-col-4)}.debt-sheet tr>:nth-child(6){width:var(--debt-col-5);min-width:var(--debt-col-5);max-width:var(--debt-col-5)}.debt-sheet tr>:nth-child(7){width:var(--debt-col-6);min-width:var(--debt-col-6);max-width:var(--debt-col-6)}.debt-sheet tr>:nth-child(8){width:var(--debt-col-7);min-width:var(--debt-col-7);max-width:var(--debt-col-7)}.debt-sheet tr>td input,.debt-sheet .debt-new-line td:first-child input,.debt-sheet th:first-child>button{width:100%;min-width:0;max-width:100%}.debt-sheet thead th:first-child{position:sticky}.debt-sheet tr>:nth-child(n) input{width:100%;min-width:0;max-width:100%}.debt-sheet tr.debt-highlighted>th,.debt-sheet tr.debt-highlighted>td{background:#d6e9ff}.debt-sheet tbody tr:focus-visible{outline-offset:-2px;outline:2px solid #245a91}.personal-debt .debt-save-status{min-height:24px;margin-block:10px}.debt-sheet tr.debt-row-tint>th,.debt-sheet tr.debt-row-tint>td{background:#f0f7ff}.personal-debt{padding-top:8px}.personal-debt h1{margin-block:6px}.personal-debt>.debt-actions{margin-block:8px}.personal-debt .debt-save-status{min-height:20px;margin-block:2px;font-size:13px;line-height:20px}.debt-sheet caption{padding:4px 8px}.debt-inline-name{align-items:center;gap:2px;min-width:0;display:flex}.debt-sheet .debt-inline-name input{flex:1;width:0;min-width:0;font-weight:700}.personal-debt .debt-name-details{background:0 0;border:0;flex:0 0 18px;width:18px;min-width:18px;height:20px;min-height:20px;padding:0}.debt-sheet tr[style]>th,.debt-sheet tr[style]>td{background:var(--debt-row-color)}.debt-row-menu{z-index:1000;color:#000;background:#fff;border:1px solid #64748b;border-radius:8px;width:180px;padding:4px;position:fixed}.personal-debt .debt-row-menu button{color:#000;text-align:left;background:#fff;border:0;border-radius:4px;align-items:center;gap:10px;width:100%;min-height:40px;padding:8px 10px;display:flex}.personal-debt .debt-row-menu button:hover,.personal-debt .debt-row-menu button:focus-visible{outline-offset:-2px;background:#edf2f7;outline:2px solid #334155}.debt-color-swatch{border:1px solid #64748b;border-radius:3px;width:18px;height:18px}.debt-sheet .debt-new-line td:first-child{padding-right:24px;position:relative}.personal-debt .debt-cancel-new{position:absolute;top:1px;right:2px}.debt-sheet tfoot th,.debt-sheet tfoot td{white-space:nowrap;background:#e2e8f0;border-top:2px solid #334155;font-weight:700}.repeating-payments h2{margin-block:8px}.repeating-payments>button{margin-bottom:8px}.repeating-payments th input{color:#000;width:100%;min-width:0;font:inherit;background:0 0;border:1px solid #0000;padding:2px 4px}.repeating-payments th input:focus{background:#fff;border-color:#000;outline:none}.repeating-payments{margin-top:8px}.repeating-payments .debt-sheet thead th:first-child{padding-right:32px;position:relative}.personal-debt .repeating-add-inline{color:#000;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;width:28px;min-width:28px;height:100%;min-height:24px;padding:0;display:inline-flex;position:absolute;top:0;right:2px}.personal-debt .repeating-add-inline:focus-visible{outline-offset:-2px;outline:2px solid #000}.repeating-payments .debt-sheet thead th:first-child .debt-sort{vertical-align:middle;width:auto;display:inline-block}.personal-debt .repeating-add-inline{vertical-align:middle;height:24px;margin-left:4px;position:static}.personal-debt:not(.repeating-payments) .debt-sheet thead th:first-child .debt-sort{vertical-align:middle;width:auto;display:inline-block}.debt-header-actions{vertical-align:middle;margin-left:3px;display:inline-flex}.personal-debt .debt-header-actions button{color:#000;width:24px;min-width:24px;height:24px;min-height:24px;font:inherit;background:0 0;border:0;border-radius:0;justify-content:center;align-items:center;padding:0;font-weight:700;display:inline-flex}.personal-debt .debt-header-actions button:focus-visible{outline-offset:-2px;outline:2px solid #000}
