.expense-tracker{padding:2rem 0}.expense-tracker .tool-header{text-align:center;margin-bottom:2rem}.expense-tracker .tool-header h1{font-size:2rem;color:var(--gray-800);margin-bottom:.5rem}.expense-tracker .tool-header p{color:var(--gray-600)}.tab-bar{display:flex;gap:.5rem;margin-bottom:2rem;background:var(--gray-100);padding:.5rem;border-radius:var(--radius);max-width:500px;margin-left:auto;margin-right:auto}.tab-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;border:none;background:transparent;border-radius:var(--radius);cursor:pointer;font-weight:500;color:var(--gray-600);transition:all .2s}.tab-btn:hover{color:var(--gray-800)}.tab-btn.active{background:var(--white);color:var(--primary);box-shadow:0 1px 3px #0000001a}.tab-icon{font-size:1.1rem}.tracker-layout{display:grid;grid-template-columns:var(--tool-controls-width, 420px) 1fr;gap:var(--tool-content-gap, 2rem);align-items:start}.add-expense-card{position:sticky;top:100px}.add-expense-card h3{margin-bottom:1.5rem;color:var(--gray-800)}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.form-grid .full-width{grid-column:1 / -1}.currency-input{position:relative;display:flex;align-items:center}.currency-symbol{position:absolute;left:1rem;color:var(--gray-500);font-size:1rem}.currency-input input{padding-left:2rem}.currency-input.small{max-width:120px}.currency-input.small input{padding-left:1.5rem;font-size:.9rem}.currency-input.small .currency-symbol{left:.75rem;font-size:.9rem}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer}.checkbox-label input[type=checkbox]{width:18px;height:18px;accent-color:var(--gray-900)}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.expense-list-section h3{font-size:1.15rem;font-weight:700;color:var(--gray-900);margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:2px solid var(--primary);letter-spacing:.03em}.expense-list-section{background:var(--white);border-radius:var(--radius);padding:1.5rem;box-shadow:0 1px 3px #0000001a}.expense-list-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.list-header h3{margin:0;color:var(--gray-800)}.filter-bar{display:flex;gap:.5rem}.filter-bar select{padding:.5rem 1rem;font-size:.9rem;min-width:140px}.custom-date-range{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;padding:.75rem;background:var(--gray-50);border-radius:var(--radius)}.custom-date-range input{padding:.5rem;font-size:.9rem}.custom-date-range span{color:var(--gray-500)}.quick-stats{display:flex;gap:1rem;padding:1rem;background:var(--gray-50);border-radius:var(--radius);margin-bottom:1rem}.quick-stats .stat-item{flex:1;text-align:center}.quick-stats .stat-label{display:block;font-size:.75rem;color:var(--gray-500);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}.quick-stats .stat-value{font-size:1.1rem;font-weight:600;color:var(--gray-800)}.empty-state{text-align:center;padding:3rem;color:var(--gray-500)}.empty-icon{font-size:3rem;margin-bottom:1rem}.expense-list{display:flex;flex-direction:column;gap:.75rem}.expense-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--gray-50);border-radius:var(--radius);transition:all .2s}.expense-item:hover{background:var(--gray-100)}.expense-category-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0}.expense-details{flex:1;min-width:0}.expense-title{font-weight:500;color:var(--gray-800);display:flex;align-items:center;gap:.5rem}.recurring-badge{font-size:.65rem;padding:.2rem .4rem;background:var(--primary);color:#fff;border-radius:4px;font-weight:500}.expense-meta{font-size:.85rem;color:var(--gray-500);margin-top:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.expense-notes{color:var(--gray-400);font-style:italic}.expense-amount{font-size:1.1rem;font-weight:600;color:var(--gray-800);white-space:nowrap}.expense-actions{display:flex;gap:.25rem}.action-btn{width:32px;height:32px;border:none;background:transparent;border-radius:var(--radius);cursor:pointer;transition:all .2s;font-size:1rem}.action-btn:hover{background:var(--gray-200)}.action-btn.delete:hover{background:#fee2e2}.reports-section{padding:1rem 0}.reports-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.report-card h3{margin-bottom:1.5rem;color:var(--gray-800)}.category-breakdown{display:flex;flex-direction:column;gap:.75rem}.category-row{display:flex;align-items:center;gap:1rem}.category-info{display:flex;align-items:center;gap:.5rem;min-width:140px}.category-icon{width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.9rem}.category-name{font-size:.9rem;color:var(--gray-700)}.category-bar-container{flex:1;height:8px;background:var(--gray-200);border-radius:4px;overflow:hidden}.category-bar{height:100%;border-radius:4px;transition:width .3s}.category-amount{min-width:120px;text-align:right;font-weight:600;color:var(--gray-800)}.category-percent{font-size:.8rem;font-weight:400;color:var(--gray-500);margin-left:.25rem}.payment-breakdown{display:flex;flex-direction:column;gap:.75rem}.payment-row{display:flex;justify-content:space-between;padding:.75rem;background:var(--gray-50);border-radius:var(--radius)}.payment-name{color:var(--gray-700)}.payment-amount{font-weight:600;color:var(--gray-800)}.summary-stats{display:flex;flex-direction:column;gap:.75rem}.summary-row{display:flex;justify-content:space-between;padding-bottom:.75rem;border-bottom:1px solid var(--gray-200)}.summary-row:last-child{border-bottom:none;padding-bottom:0}.summary-row span:first-child{color:var(--gray-600)}.summary-value{font-weight:600;color:var(--gray-800)}.export-info{color:var(--gray-600);margin-bottom:1rem}.export-buttons{display:flex;gap:.75rem;margin-bottom:2rem}.danger-zone{padding-top:1.5rem;border-top:1px solid var(--gray-200)}.danger-zone h4{color:#dc2626;margin-bottom:.75rem}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.budget-section{padding:1rem 0}.budget-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.budget-header h3{margin:0;color:var(--gray-800)}.budget-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;margin-bottom:2rem}.budget-card{padding:1.25rem}.budget-card-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.budget-icon{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.1rem}.budget-category{font-weight:500;color:var(--gray-800)}.budget-input-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.budget-input-row label{color:var(--gray-600);font-size:.9rem}.budget-progress-bar{height:8px;background:var(--gray-200);border-radius:4px;overflow:hidden;margin-bottom:.75rem}.budget-progress{height:100%;background:var(--primary);border-radius:4px;transition:width .3s}.budget-progress.near{background:#f59e0b}.budget-progress.over{background:#dc2626}.budget-stats{display:flex;justify-content:space-between;margin-bottom:.5rem}.budget-stat .stat-label{font-size:.75rem;color:var(--gray-500);display:block}.budget-stat .stat-value{font-weight:600;color:var(--gray-700)}.budget-stat .stat-value.over{color:#dc2626}.budget-stat .stat-value.positive{color:#16a34a}.budget-stat .stat-value.negative{color:#dc2626}.budget-percentage{text-align:center;font-size:.85rem;color:var(--primary);font-weight:500}.budget-percentage.near{color:#f59e0b}.budget-percentage.over{color:#dc2626}.budget-summary h3{margin-bottom:1.5rem;color:var(--gray-800)}.budget-overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.overview-item{text-align:center;padding:1rem;background:var(--gray-50);border-radius:var(--radius)}.overview-label{display:block;font-size:.85rem;color:var(--gray-500);margin-bottom:.5rem}.overview-value{font-size:1.5rem;font-weight:700;color:var(--gray-800)}.overview-value.positive{color:#16a34a}.overview-value.negative{color:#dc2626}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:var(--white);border-radius:var(--radius);padding:2rem;max-width:400px;width:90%;max-height:80vh;overflow-y:auto}.modal-content h3{margin-bottom:1.5rem;color:var(--gray-800)}.preset-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.preset-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:var(--gray-50);border:2px solid var(--gray-200);border-radius:var(--radius);cursor:pointer;transition:all .2s}.preset-item:hover{border-color:var(--primary);background:#4f46e50d}.preset-name{font-weight:500;color:var(--gray-800)}.preset-total{font-size:.9rem;color:var(--gray-500)}.modal-close{width:100%}.features-section{margin-top:3rem;padding-top:3rem;border-top:1px solid var(--gray-200)}.features-section h2{text-align:center;margin-bottom:2rem;color:var(--gray-800)}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem}.feature-card{text-align:center;padding:1.5rem;background:var(--white);border-radius:var(--radius);box-shadow:0 1px 3px #0000001a}.feature-icon{font-size:2.5rem;margin-bottom:1rem}.feature-card h3{font-size:1.1rem;margin-bottom:.5rem;color:var(--gray-800)}.feature-card p{font-size:.9rem;color:var(--gray-600);line-height:1.5}.cta-section{text-align:center;background:linear-gradient(135deg,var(--primary) 0%,#7C3AED 100%);color:#fff;padding:3rem 2rem;border-radius:var(--radius);margin-top:3rem}.cta-section h2{font-size:1.75rem;margin-bottom:1rem}.cta-section p{opacity:.9;margin-bottom:1.5rem;max-width:500px;margin-left:auto;margin-right:auto}.cta-section .btn-primary{background:#fff;color:var(--primary)}.cta-section .btn-primary:hover{background:var(--gray-100)}@media (max-width: 1023px){.tracker-layout{grid-template-columns:1fr}.add-expense-card{position:static}.reports-grid{grid-template-columns:1fr}}@media (max-width: 768px){.form-grid{grid-template-columns:1fr}.form-grid .full-width{grid-column:1}.list-header{flex-direction:column;align-items:stretch}.filter-bar{flex-wrap:wrap}.filter-bar select{flex:1;min-width:120px}.expense-item{flex-wrap:wrap}.expense-amount{margin-left:auto}.expense-actions{width:100%;justify-content:flex-end;margin-top:.5rem;padding-top:.5rem;border-top:1px dashed var(--gray-200)}.budget-overview-grid{grid-template-columns:1fr}.category-row{flex-wrap:wrap}.category-info{width:100%;margin-bottom:.25rem}.category-bar-container{flex:1}.category-amount{min-width:100px}}@media (max-width: 480px){.tab-bar{flex-direction:column}.quick-stats{flex-direction:column;gap:.5rem}.export-buttons{flex-direction:column}}
