.debt-heading{display:flex;align-items:center;justify-content:space-between;margin:2px 1px 16px}
.debt-heading p,.debt-heading h1{margin:0}.debt-heading p{color:#8794ad;font-size:.72rem;letter-spacing:.08em}.debt-heading h1{font-size:1.55rem}
.debt-heading button{min-height:42px;padding:9px 13px;border-radius:12px;background:linear-gradient(135deg,#2367e8,#5c4bdd);color:#fff;font-size:.78rem;font-weight:600;box-shadow:0 8px 18px #2367e82d}
.debt-month-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#687794;font-size:.76rem}
.debt-month-picker input{max-width:170px;border:0;outline:0;background:#edf3ff;border-radius:9px;padding:8px 10px;font:inherit;font-weight:600;color:#315fc6}
.debt-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.debt-summary>div{min-width:0;padding:13px 10px;border-radius:14px;background:#fff;border:1px solid var(--line)}
.debt-summary .total{background:linear-gradient(135deg,#2367e8,#6449d8);border:0;color:#fff}.debt-summary .paid{background:#eaf9f1}.debt-summary .remaining{background:#fff0f5}
.debt-summary small,.debt-summary strong{display:block}.debt-summary small{font-size:.65rem;color:#7f8da7}.debt-summary .total small{color:#dfe7ff}.debt-summary strong{margin-top:3px;font-size:.91rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.debt-progress-card{margin-top:12px;padding:15px;border-radius:16px;background:#fff;border:1px solid var(--line)}.debt-progress-card>div:first-child{display:grid;gap:2px}.debt-progress-card>div:first-child span{font-size:.66rem;color:#7d8aa5}.debt-progress-card>div:first-child strong{font-size:.82rem}.debt-progress-card>b{float:right;margin-top:-34px;color:#315fc6;font-size:.82rem}
.debt-progress{height:10px;margin-top:12px;overflow:hidden;border-radius:20px;background:#e9edf4}.debt-progress i{display:block;width:0;height:100%;border-radius:20px;background:linear-gradient(90deg,#12b76a,#5bdba0);transition:width .3s}
.debt-list-head{display:flex;align-items:end;justify-content:space-between;margin:20px 2px 10px}.debt-list-head p,.debt-list-head h2{margin:0}.debt-list-head p{font-size:.65rem;color:#8794ad}.debt-list-head h2{font-size:1.03rem}.debt-list-head>span{font-size:.68rem;color:#7d8aa5}
.debt-list{display:grid;gap:9px}.debt-item{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 6px 16px #293f7008}.debt-item.paid{background:#f5fbf8}.debt-item-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff0f5;font-size:1.15rem}.debt-item.paid .debt-item-icon{background:#dcf8e9}
.debt-item-main{min-width:0}.debt-item-main strong,.debt-item-main small{display:block}.debt-item-main strong{font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.debt-item-main small{margin-top:2px;color:#8190aa;font-size:.66rem}.debt-item-main em{display:block;margin-top:4px;color:#667695;font-size:.62rem;font-style:normal}
.debt-item-side{text-align:right}.debt-item-side>b{display:block;font-size:.85rem;color:#d83278}.debt-item.paid .debt-item-side>b{color:#079954}.debt-item-actions{display:flex;justify-content:flex-end;gap:5px;margin-top:7px}.debt-toggle{padding:6px 8px;border-radius:8px;background:#edf3ff;color:#315fc6;font-size:.62rem;font-weight:600}.debt-item.paid .debt-toggle{background:#dcf8e9;color:#078e4e}.debt-delete{width:28px;height:28px;border-radius:8px;background:#fff0f5;color:#ce2f70;font-size:.85rem}
.debt-empty{padding:34px 18px;text-align:center;border:1px dashed #cad4e5;border-radius:16px;background:#fff}.debt-empty span,.debt-empty strong,.debt-empty p{display:block}.debt-empty span{font-size:2rem}.debt-empty strong{margin-top:7px;font-size:.88rem}.debt-empty p{margin:3px 0 0;color:#8190aa;font-size:.7rem}
.debt-dialog small{color:#8b97ad}.debt-dialog .dialog-submit{margin-top:17px}
.debt-installment-box{display:grid;gap:9px;margin-top:12px;padding:11px;border:1px solid #e1e7f1;border-radius:12px;background:#f8faff}.debt-installment-box>label:first-child{display:block;margin:0}.debt-installment-box>label:first-child>span{display:block;margin-bottom:5px;color:#697793;font-size:.78rem}.debt-installment-box input[type=number]{width:100%;padding:10px;border:1px solid #d9e1ee;border-radius:9px;background:#fff;outline:0}.debt-installment-box input[type=number]:disabled{background:#edf0f5;color:#98a2b6}
.debt-no-installments{display:flex!important;align-items:center;gap:9px;margin:0!important;padding:9px 10px;border-radius:9px;background:#fff;cursor:pointer}.debt-no-installments input{width:19px!important;height:19px;flex:0 0 auto;accent-color:var(--blue)}.debt-no-installments span,.debt-no-installments strong,.debt-no-installments small{display:block}.debt-no-installments strong{font-size:.75rem}.debt-no-installments small{font-size:.62rem;color:#8190aa}
.profile-finance-card{margin-top:13px;padding:16px;border:1px solid var(--line);border-radius:17px;background:#fff}.profile-finance-head{display:flex;align-items:flex-start;justify-content:space-between}.profile-finance-head p,.profile-finance-head h2{margin:0}.profile-finance-head p{color:#8794ad;font-size:.64rem;letter-spacing:.06em}.profile-finance-head h2{font-size:1.05rem}.profile-finance-head>span{padding:5px 8px;border-radius:20px;background:#edf3ff;color:#315fc6;font-size:.62rem}
.profile-finance-content{display:flex;align-items:center;gap:17px;margin-top:15px}.profile-finance-donut{position:relative;flex:0 0 124px;height:124px;border-radius:50%;background:#eef2f8;box-shadow:inset 0 0 0 1px #e2e8f2}.profile-finance-donut:after{content:"";position:absolute;inset:20px;border-radius:50%;background:#fff;box-shadow:0 5px 15px #263c6b12}.profile-finance-donut>div{position:absolute;inset:0;z-index:1;display:grid;place-content:center;text-align:center}.profile-finance-donut small,.profile-finance-donut strong{display:block}.profile-finance-donut small{color:#8794ad;font-size:.61rem}.profile-finance-donut strong{max-width:84px;overflow:hidden;text-overflow:ellipsis;font-size:.8rem}
.profile-finance-legend{display:grid;gap:9px;flex:1;min-width:0}.profile-finance-legend>div{display:grid;grid-template-columns:9px 1fr auto;gap:7px;align-items:center}.profile-finance-legend i{width:9px;height:9px;border-radius:50%}.profile-finance-legend i.expense{background:#2367e8}.profile-finance-legend i.remaining{background:#e53e8f}.profile-finance-legend i.paid{background:#12b76a}.profile-finance-legend span{color:#667695;font-size:.66rem;white-space:nowrap}.profile-finance-legend b{font-size:.72rem}.profile-finance-legend small{grid-column:2/4;color:#8995ac;font-size:.58rem;margin-top:-7px}.profile-finance-note{margin:13px 0 0;padding:9px 10px;border-radius:10px;background:#f4f7fc;color:#667695;font-size:.66rem;text-align:center}
@media(max-width:360px){.profile-finance-content{gap:11px}.profile-finance-donut{flex-basis:110px;height:110px}.profile-finance-legend span{font-size:.61rem}}
