/* Extends the original forest/cream design; no third-party UI framework. */
.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.finance-tabs button{border:1px solid #dbe3d7;border-radius:50px;background:white;padding:10px 16px;color:#456052;font:inherit;cursor:pointer}.finance-tabs button.active{background:#193f35;color:white;border-color:#193f35}.finance-card{padding:24px;min-width:0}.finance-type{display:flex;align-items:center;gap:8px;color:#637566;font-size:12px;overflow-wrap:anywhere}.finance-type .icon{width:18px;height:18px;flex-shrink:0}.finance-card h2{font-size:19px;margin:18px 0 10px;overflow-wrap:anywhere}.finance-balance{font-size:30px;letter-spacing:-1px;font-weight:650;color:#1d4638}.finance-card>p{font-size:12px;margin:8px 0 16px}.finance-credit,.finance-facts{display:flex;justify-content:space-between;gap:12px}.finance-credit{font-size:12px;margin:16px 0 8px}.finance-facts{border-top:1px solid #e6ebdf;margin-top:18px;padding-top:16px}.finance-facts>div{display:flex;flex-direction:column;gap:5px}.finance-facts span{font-size:11px;color:#708171}.finance-facts strong{font-size:14px}.finance-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}.finance-warning{color:#987143!important;background:#fbf5e6;padding:10px 12px;border-radius:8px;margin-bottom:0!important}.finance-notice{display:flex;align-items:flex-start;gap:12px;padding:16px 20px;background:#eef3e7;border:1px solid #dce5d3;border-radius:14px;margin:12px 0 20px}.finance-notice>.icon{flex-shrink:0}.finance-notice p{font-size:12px;line-height:1.6;margin:5px 0 0;color:#637566}.finance-notice strong{font-size:13px}.finance-notice.warning{background:#fbf5e6;border-color:#ecdfc3}.finance-ending{padding:24px;margin:22px 0}.finance-ending h2{margin:0 0 18px;font-size:17px}.finance-ending .between{padding:10px 0;gap:12px;border-bottom:1px solid #e6ebdf;font-size:12px;flex-wrap:wrap}.finance-ending>p{font-size:12px;line-height:1.6;margin:14px 0 0}.finance-modal{max-width:920px!important}.finance-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 20px}.finance-children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.finance-section-title{margin:24px 0 12px;font-size:16px}.finance-child{box-shadow:none;border:1px solid #e4eadd}.finance-child .finance-balance{font-size:25px}.finance-payments{display:flex;flex-direction:column;gap:8px;max-height:420px;overflow-y:auto}.installment-row{display:flex;align-items:center;gap:14px;padding:14px;background:#f7f9f3;border:1px solid #e4eadd;border-radius:12px}.installment-row>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.installment-row strong{font-size:13px}.installment-row small{display:block;font-size:11px;color:#6c7b6c;margin-top:5px;line-height:1.5}.installment-amount{text-align:right;min-width:90px}.installment-buttons{display:flex;align-items:center;gap:4px}.installment-buttons .btn{min-height:36px;font-size:11px;padding:7px 10px}.finance-payment-summary{text-align:center;padding:14px}.finance-payment-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left;font-size:13px}.finance-payment-summary dd{margin:0;text-align:right}.calendar-event.financed{border-left:3px solid #ae8b56}.nav-btn span{line-height:1.25}.finance-card small.muted{display:block;font-size:10px;line-height:1.5}.finance-detail-actions .btn{font-size:12px}.status-chip{font-size:10px;padding:5px 9px;border-radius:30px;background:#edf2e7;color:#596d51;white-space:nowrap}.status-chip.paid{background:#e3efdd;color:#326347}.finance-card>.between{gap:8px}.modal [readonly]{background:#f3f5ee;color:#6b7867}
@media(max-width:720px){.finance-children{grid-template-columns:1fr}.finance-card{padding:20px}.finance-tabs{gap:6px}.finance-tabs button{font-size:11px;padding:9px 12px}.installment-row{flex-wrap:wrap;gap:10px}.installment-buttons{width:100%;justify-content:flex-end}.finance-balance{font-size:27px}.finance-detail-actions .btn{flex:1 1 45%;font-size:11px}.finance-ending .between strong{font-size:11px}.calendar-event.financed{font-size:8px}.finance-notice{padding:14px}.finance-facts strong{font-size:13px}.finance-payment-summary{padding:5px}.finance-card>.between{align-items:flex-start}}

/* 1.2 — clear language, one-step financing, consistent installment progress. */
.quota-progress{margin:16px 0 0;padding:12px 14px;border:1px solid #dce7d7;background:#f4f8ee;border-radius:12px;font-size:12px}
.quota-progress-heading{display:flex;gap:8px;justify-content:space-between;align-items:baseline;flex-wrap:wrap}.quota-progress-heading strong{color:#214b3c;font-size:14px}.quota-progress-heading span{font-size:11px;color:#596f60}.quota-progress small{display:block;color:#607365;line-height:1.5;font-size:10px;margin-top:6px}.quota-track{height:5px;background:#dce8d3;border-radius:10px;overflow:hidden;margin-top:10px}.quota-track>span{display:block;height:100%;background:#52825c;border-radius:10px;transition:width .2s}.quota-progress.undefined{border-style:dashed;background:transparent}.quota-progress.undefined>strong{color:#637566;font-size:12px}.quota-progress.compact{margin:14px 0 20px}.ending-progress{display:block;font-size:11px;color:#667964;margin-top:5px}
.finance-form-modal{max-width:740px!important}.finance-form-section{margin:0 0 20px;padding:18px 0;border-bottom:1px solid #e0e8da}.finance-form-section h3{font-size:15px;line-height:1.5;margin:0 0 15px;color:#244d3d}.finance-form-section>.field-hint{margin:12px 0}.finance-form-section .remember{align-items:flex-start;line-height:1.6}.finance-form-section input[type=checkbox]{flex-shrink:0;margin-top:4px}.finance-history{margin-top:18px;padding:12px;border-radius:10px;background:#f7f9f3;border:1px solid #e3eadc}.finance-history summary{font-size:12px;font-weight:600;cursor:pointer;line-height:1.6;color:#4a6654}.finance-history .field{margin:14px 0 8px}.finance-history .field-hint{font-size:11px;line-height:1.6}.schedule-preview{display:flex;flex-direction:column;gap:6px;font-size:12px;line-height:1.6;background:#f1f6e9;border:1px solid #dce7d3;padding:12px 14px;border-radius:10px;margin:14px 0}.schedule-preview small{font-size:11px;color:#687965}.schedule-preview.error{background:#faf4e8;border-color:#e9dfc6;color:#835b35}#fi-inline-schedule{margin-top:18px}#fi-inline-schedule[hidden],#fi-schedule-later[hidden],#fi-credit-schedule-hint[hidden],#fi-allocation-field[hidden],#fi-related-type[hidden]{display:none!important}
.calendar-event .calendar-quota,.calendar-event .calendar-quota-progress{display:block;font-size:9px;line-height:1.35;white-space:normal;overflow:visible;margin:2px 0}.calendar-event .calendar-quota{font-weight:600}.calendar-event .calendar-quota-progress{opacity:.85}.agenda-description{min-width:0}.agenda-description strong,.agenda-description small{overflow-wrap:anywhere}
@media(max-width:720px){.finance-form-section{padding:12px 0}.quota-progress{padding:10px 12px}.quota-progress-heading strong{font-size:13px}.quota-progress-heading span{font-size:10px}.quota-progress small{font-size:10px}.calendar-event .calendar-quota,.calendar-event .calendar-quota-progress{font-size:7px}.finance-history{padding:10px}.finance-history summary{font-size:11px}}
