.finance-board{max-width:1140px}.finance-trip-bar{display:flex;align-items:flex-end;gap:16px;padding:18px 20px;background:#f1f4e9;border:1px solid #dfe6d5;border-radius:14px;margin:22px 0}.finance-trip-bar>.field{flex:1;margin:0;min-width:0}.finance-trip-bar>.badge{margin-bottom:10px}.finance-budget-card{padding:28px;border-radius:18px;background:#e9efdf;border:1px solid #dce5cf;margin-bottom:22px}.finance-kicker{font-size:11px;color:#819175}.finance-budget-card h2{font-size:18px;line-height:1.6;margin-top:6px}.finance-total{font-size:34px;line-height:1.4;letter-spacing:-1px;margin:20px 0 10px;font-weight:700}.finance-total>span{font-size:13px;color:#819175;font-weight:400;letter-spacing:0;margin-left:9px}.finance-budget-card>p{font-size:12px;color:#738567;line-height:1.8}.finance-progress{height:7px;background:#d8e1ca;overflow:hidden;border-radius:9px;margin:18px 0 12px}.finance-progress>div{height:100%;background:#63814e;border-radius:9px}.finance-budget-card.over{background:#f8eee3;border-color:#ead9c6}.finance-budget-card.over>p{color:#a36b41}.finance-budget-card.over .finance-progress>div{background:#b47c4b}.finance-secondary{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.finance-categories{display:grid;gap:14px}.finance-category-total{display:grid;grid-template-columns:60px minmax(0,1fr) 100px;gap:12px;align-items:center;font-size:12px}.finance-category-total>span{color:#7c8c71}.finance-category-total>strong{text-align:right;font-size:12px}.finance-category-bar{height:5px;background:#eef1e8;border-radius:6px;overflow:hidden}.finance-category-bar i{display:block;height:100%;background:#95ad80}.finance-meal-total{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #e4e9dc;font-size:13px}.finance-meal-total>span{color:#7c8c71}.finance-expense-row{display:flex;align-items:flex-start;gap:15px;padding:22px 25px;border-bottom:1px solid #e5eadf}.finance-expense-row:last-child{border-bottom:0}.finance-expense-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:11px;background:#eef3e6;color:#7e986b;font-size:12px}.finance-expense-info{min-width:0;flex:1}.finance-expense-info>strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.finance-expense-info>span{display:block;font-size:11px;color:#8a987f;margin-top:5px}.finance-expense-info>small{display:block;font-size:10px;color:#849577;line-height:1.7;margin-top:7px;overflow-wrap:anywhere}.finance-expense-info>p{font-size:11px;color:#8a987f;line-height:1.8;margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}.finance-expense-amount{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex-shrink:0}.finance-expense-amount>strong{font-size:14px;white-space:nowrap}.finance-expense-amount>div{display:flex;gap:4px}.finance-expense-amount .btn{padding:4px 7px;font-size:10px}.finance-mini{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px}.finance-mini>span,.finance-mini>small{color:#849277}.finance-mini>strong{font-size:16px}.finance-form-trip{font-size:11px;color:#89977e;margin-bottom:20px;line-height:1.7}.finance-steps{display:flex;list-style:none;padding:0;margin:0 0 30px;gap:10px}.finance-steps>li{flex:1;padding:9px 10px;background:#f1f3ec;border-radius:8px;color:#9ba58f;font-size:11px;text-align:center}.finance-steps>li.active{background:#e8efdf;color:#557344;font-weight:600}.finance-wizard-step[hidden],#finance-expense-form [hidden]{display:none!important}.finance-wizard-step h3{font-size:22px;margin:0 0 24px;letter-spacing:-.6px;line-height:1.5}.finance-amount-input input{height:64px!important;font-size:29px;font-weight:650;padding:10px 12px!important;letter-spacing:-1px}.finance-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.finance-category-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.finance-category-choice{border:1px solid #dfe7d5;border-radius:13px;background:#f9fbf5;color:#5e7751;font:inherit;font-size:14px;padding:23px 10px;min-height:74px}.finance-category-choice[aria-pressed=true]{border-color:#7e9a6b;background:#eaf2e1}.finance-edit-amount{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px;background:#f4f6ef;border-radius:10px;font-size:12px}.finance-form-error{font-size:12px;color:#a0643d;line-height:1.8;margin:14px 0 0;min-height:22px}#finance-expense-form textarea{min-height:90px}#finance-expense-form .modal-content{min-height:330px}#finance-expense-form .modal-foot{flex-wrap:wrap}#finance-expense-form [data-finance-back]{margin-right:auto}@media(max-width:760px){.finance-secondary{grid-template-columns:1fr}.finance-budget-card{padding:23px}.finance-total{font-size:29px}.finance-category-total{grid-template-columns:52px minmax(0,1fr) 90px;gap:9px}.finance-expense-row{padding:18px 20px;gap:10px}.finance-expense-icon{width:31px;height:31px;border-radius:9px}.finance-expense-info>strong{font-size:13px}.finance-expense-amount>strong{font-size:13px}}@media(max-width:420px){.finance-category-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-expense-row{gap:8px;padding:16px}.finance-expense-icon{display:none}.finance-expense-amount .btn{padding:4px}.finance-budget-card h2{font-size:16px}.finance-budget-card>.flex{align-items:flex-start}.finance-total{font-size:27px}.finance-wizard-step h3{font-size:20px}.finance-edit-amount{align-items:flex-start;flex-direction:column}}
/* Itemized expenses: each receipt row keeps its own quantity, price and category. */
.finance-item-help{line-height:1.8;margin:-9px 0 18px}.finance-legacy-note{font-size:12px;line-height:1.8;padding:12px;border-radius:9px;background:#faf0df;color:#8d6d42;margin-bottom:15px}.finance-line-editor{border:1px solid #dce5d2;background:#fbfcf7;padding:16px;border-radius:12px;margin-bottom:13px;min-width:0}.finance-line-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.finance-line-head>strong{font-size:12px;color:#849176}.finance-line-head>.btn{min-height:36px}.finance-line-editor .field{min-width:0}.finance-line-editor input,.finance-line-editor select{width:100%;min-width:0;box-sizing:border-box}.finance-line-numbers{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px}.finance-line-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px}.finance-line-bottom .field{width:min(55%,210px);margin-bottom:0}.finance-line-bottom>strong{font-size:14px;overflow-wrap:anywhere;text-align:right}.finance-items-total,.finance-item-review{display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:10px;background:#eaf1e1;padding:16px;margin:18px 0;font-size:13px}.finance-items-total>strong,.finance-item-review>strong{font-size:20px;overflow-wrap:anywhere}.finance-item-details{margin-top:12px;max-width:100%}.finance-item-details summary{cursor:pointer;font-size:11px;line-height:1.8;color:#69805b}.finance-item-details ul{list-style:none;margin:8px 0 0;padding:0}.finance-item-details li{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid #e7ecdf;font-size:12px}.finance-item-details li:last-child{border-bottom:0}.finance-item-details li>span{min-width:0;flex:1}.finance-item-details li strong{display:block;font-size:12px;line-height:1.7;font-weight:500;overflow-wrap:anywhere}.finance-item-details li small{display:block;font-size:10px;line-height:1.7;color:#8a987e;margin-top:3px;overflow-wrap:anywhere}.finance-item-details li>b{font-size:11px;white-space:nowrap;line-height:1.8}.finance-expense-info .finance-item-details{clear:both}.finance-board .finance-expense-amount{max-width:38%}.finance-board .finance-expense-amount>strong{white-space:normal;overflow-wrap:anywhere;text-align:right}#finance-expense-form .finance-steps{margin-bottom:24px}#finance-expense-form [data-finance-step="1"] .finance-item-review{margin-top:-7px}#finance-expense-form [data-finance-item-add]{min-height:44px}@media(max-width:420px){.finance-line-editor{padding:12px}.finance-line-numbers{gap:10px}.finance-line-bottom{gap:10px}.finance-line-bottom>strong{font-size:13px}.finance-items-total,.finance-item-review{padding:14px}.finance-items-total>strong,.finance-item-review>strong{font-size:18px}.finance-item-details li{display:block;padding:8px 0}.finance-item-details li>b{display:block;text-align:left;margin-top:3px}.finance-board .finance-expense-amount{max-width:40%}.finance-expense-row{flex-wrap:wrap}.finance-expense-info{min-width:120px}.finance-expense-amount{margin-left:auto}}
