@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";.category-details-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.category-details-modal{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;max-width:600px;width:90%;max-height:80vh;overflow-y:auto}.category-details-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e5e7eb}.category-details-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.close-button{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease}.close-button:hover{background:#f3f4f6;color:#374151}.category-details-content{padding:20px;max-height:calc(80vh - 80px);overflow-y:auto}.spending-history-section{margin-bottom:24px}.spending-history-section h4{margin:0 0 16px;font-size:1rem;font-weight:600;color:#374151}.spending-history-chart{display:flex;flex-direction:column;gap:8px}.history-item{display:flex;align-items:center;gap:12px;padding:8px 0}.history-item .month{min-width:60px;font-size:.875rem;color:#6b7280;font-weight:500}.amount-bar{flex:1;height:20px;background:#f3f4f6;border-radius:10px;overflow:hidden;position:relative}.amount-fill{height:100%;background:linear-gradient(90deg,#ffe774,#fbbf24);border-radius:10px;transition:width .3s ease}.history-item .amount{min-width:80px;text-align:right;font-size:.875rem;font-weight:600;color:#111827}.recent-transactions-section h4{margin:0 0 16px;font-size:1rem;font-weight:600;color:#374151}.transactions-list{display:flex;flex-direction:column;gap:8px}@media(min-width:769px){.category-details-content::-webkit-scrollbar{width:8px}.category-details-content::-webkit-scrollbar-track{background:#f3f4f6;border-radius:4px}.category-details-content::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}.category-details-content::-webkit-scrollbar-thumb:hover{background:#9ca3af}}.transaction-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.transaction-info{display:flex;flex-direction:column;gap:4px;flex:1}.transaction-description{font-size:.875rem;font-weight:500;color:#111827}.transaction-date{font-size:.75rem;color:#6b7280}.transaction-amount{font-size:.875rem;font-weight:600;color:#111827}.no-transactions{text-align:center;padding:24px;color:#6b7280}.no-transactions p{margin:0;font-size:.875rem}@media(max-width:768px){.category-details-modal{width:95%;max-height:90vh}.category-details-header,.category-details-content{padding:16px}.history-item{gap:8px}.history-item .month{min-width:50px;font-size:.75rem}.history-item .amount{min-width:60px;font-size:.75rem}.transaction-item{padding:8px}.transaction-description{font-size:.75rem}.transaction-date{font-size:.625rem}.transaction-amount{font-size:.75rem}}.budget-plan-modal .responsive-modal{max-height:95vh}.budget-plan-modal .responsive-modal-content{overflow-y:auto!important;-webkit-overflow-scrolling:touch}.budget-plan-content{padding:0;overflow-x:hidden;min-height:min-content}.budget-ai-insights-container{background:#ffe7740f;border-radius:10px;padding:12px 14px;border:1px solid rgba(255,231,116,.2);position:relative;overflow:hidden;margin-bottom:16px}@media(max-width:767px){.budget-ai-insights-container{padding:10px 12px;margin-bottom:12px}}.refresh-button{display:flex;align-items:center;gap:6px}.spinning{animation:spin 1s linear infinite}.category-modified-badge{background:#ffe77433;border:1px solid rgba(255,231,116,.5);color:#000;font-size:.625rem;font-weight:600;padding:1px 6px;border-radius:10px;margin-left:6px;text-transform:uppercase;letter-spacing:.3px;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.quick-questions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.quick-question-button{background:#f3f4f6;color:#374151;border:none;border-radius:9999px;padding:5px 10px;font-size:14px;cursor:pointer;transition:all .2s ease}.quick-question-button:hover{background:#e5e7eb}.budget-overview-section{background:#fff;border-radius:10px;box-shadow:0 1px 2px #00000014;border:1px solid #e5e7eb;padding:18px;margin-bottom:18px}.view-toggle{display:none}.summary-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:16px}.metric-card{text-align:center}.metric-value{font-size:1.25rem;font-weight:700;color:#000;margin-bottom:2px}.metric-value-secondary{font-size:.875rem;font-weight:500;color:#6b7280;margin-bottom:2px}.metric-label{font-size:.75rem;color:#6b7280;display:flex;align-items:center;justify-content:center;gap:3px}.peer-comparison{font-size:.75rem;color:#9ca3af;margin-top:2px}.tooltip-icon{position:relative;display:inline-flex;align-items:center;cursor:help}.tooltip-icon svg{width:14px;height:14px}.tooltip{position:absolute;bottom:100%;left:50%;transform:translate(-50%);margin-bottom:6px;padding:8px 12px;font-size:.75rem;color:#fff;background:#111827;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:1000;min-width:200px;max-width:320px;white-space:normal}.tooltip-icon:hover .tooltip{opacity:1}@media(max-width:768px){.tooltip{left:auto;right:0;transform:none;min-width:200px;max-width:calc(100vw - 40px);white-space:normal;font-size:12px;padding:8px 12px}}.budget-breakdown{margin-bottom:0}.budget-breakdown h3{font-size:.875rem;font-weight:600;color:#000;margin:0;padding:0 18px 6px}.pie-chart-container{display:flex;align-items:center;justify-content:center;padding:0 8px;position:relative;margin:12px 0;height:400px}.pie-chart-container .recharts-surface,.pie-chart-container .recharts-wrapper,.pie-chart-container .recharts-responsive-container{width:100%!important;height:100%!important}.pie-chart-center{display:none}.category-management{background:#fff;border-radius:8px;padding:14px}.category-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.category-header h3{font-size:.875rem;font-weight:600;color:#000;margin:0}.category-subtitle{display:none}.category-list{display:flex;flex-direction:column;gap:0;margin-bottom:8px}.category-item{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:6px 8px;position:relative;transition:all .2s ease;margin-bottom:4px}.category-item:hover{border-color:#d1d5db}.category-item.savings-item{background:#f8f9fa;border-color:#ffe774}.category-indicator{width:16px;height:16px;border-radius:50%;box-shadow:0 2px 4px -1px #0000001a;flex-shrink:0;margin-right:10px}.savings-indicator{background:linear-gradient(135deg,#ffe774,#ffd93d)}.category-details{flex:1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;align-items:center}.category-details.clickable{cursor:pointer;transition:all .2s ease}.category-details.clickable:hover{background:#f3f4f6;border-radius:6px;padding:8px;margin:-8px}.category-legend{display:flex;align-items:center;gap:6px}.legend-color{width:10px;height:10px;border-radius:50%;flex-shrink:0}.category-info .category-name{font-weight:600;font-size:.8125rem;color:#000;display:block;margin-bottom:2px}.category-percentage{font-size:.6875rem;color:#6b7280}.amount-label{font-size:.6875rem;color:#6b7280;margin-bottom:2px;display:block}.amount-input{width:100%;padding:5px 7px;border:1px solid #d1d5db;border-radius:4px;font-size:.8125rem;font-weight:600}.amount-input:focus{outline:none;border-color:#ffe774;box-shadow:0 0 0 3px #ffe7741a}.current-amount-value{padding:5px 7px;background:#f9fafb;border-radius:4px;font-size:.8125rem;font-weight:500;color:#374151}.savings-amount{padding:5px 7px;background:#fff;border:1px solid #ffe774;border-radius:4px;font-size:.8125rem;font-weight:500;color:#000}.peer-average-value{padding:5px 7px;background:#fff;border:1px solid #e5e7eb;border-radius:4px;font-size:.8125rem;font-weight:500;color:#374151}.remove-category-button{position:absolute;top:8px;right:8px;background:transparent;color:#9ca3af;border:none;cursor:pointer;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0}.remove-category-button:hover{background:#f3f4f6;color:#6b7280}.add-category-form{display:flex;align-items:center;gap:10px;padding:6px;background:#f8fafc;border-radius:6px}.category-indicator-placeholder{width:16px;height:16px;border-radius:50%;border:2px dashed #d1d5db;flex-shrink:0}.category-name-input{flex:1}.category-amount-input{width:90px;padding:6px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:.8125rem;background:#fff;color:#374151;font-family:var(--font-body)}.category-amount-input:focus{outline:none;border-color:#ffe774;box-shadow:0 0 0 2px #ffe7741a}.category-amount-input::-webkit-outer-spin-button,.category-amount-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.category-amount-input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.add-category-confirm{background:var(--color-accent, #ffe774);color:var(--color-text, #000000);border:none;padding:6px 10px;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease}.add-category-confirm:hover{background:var(--color-yellowHover, #ffd93d)}.add-category-confirm:disabled{background:var(--color-backgroundLight, #f8f9fa);color:var(--color-disabled, #cccccc);cursor:not-allowed}.add-category-cancel{background:transparent;color:var(--color-textSecondary, #666666);border:1px solid var(--color-border, #e5e7eb);padding:6px 10px;font-size:.75rem;cursor:pointer;border-radius:6px}.add-category-cancel:hover{color:var(--color-text, #000000);border-color:var(--color-textSecondary, #666666);background-color:var(--color-backgroundLight, #f8f9fa)}.add-category-button{display:flex;align-items:center;gap:6px;color:#6b7280;border:1px dashed #d1d5db;background:transparent;padding:6px;border-radius:6px;cursor:pointer;transition:all .2s ease;width:100%;font-size:.75rem}.add-category-button:hover{border-color:#ffe774;color:#000;background:#f8f9fa}.savings-forecast-section{background:#fff;border-radius:10px;box-shadow:0 1px 2px #00000014;border:1px solid #e5e7eb;padding-top:16px;padding-right:12px;padding-bottom:36px;margin-bottom:18px}.forecast-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding-left:18px}.forecast-title{display:flex;align-items:center;gap:6px}.forecast-title h3{font-size:.875rem;font-weight:600;color:#000;margin:0}.apy-controls{display:flex;align-items:center;gap:10px}.apy-label{display:flex;align-items:center;gap:3px;font-size:.75rem;color:#6b7280}.apy-slider{width:96px;height:8px;background:#e5e7eb;border-radius:8px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.apy-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:20px;width:20px;border-radius:50%;background:#000;cursor:pointer;box-shadow:0 2px 4px #0003}.apy-slider::-moz-range-thumb{height:20px;width:20px;border-radius:50%;background:#000;cursor:pointer;border:none;box-shadow:0 2px 4px #0003}.apy-value{font-size:.75rem;font-weight:500;color:#374151;min-width:2.5rem}.forecast-chart{height:280px;width:100%}.custom-legend{display:flex;justify-content:center;gap:18px;margin-top:12px;padding:0 12px}.legend-item{display:flex;align-items:center;gap:6px;font-size:.75rem;color:#374151}.legend-icon{width:10px;height:10px;border-radius:2px;flex-shrink:0}.action-buttons{display:flex;gap:10px;justify-content:flex-end;padding-top:18px;padding-bottom:6px;border-top:1px solid #e5e7eb;margin-top:18px}.cancel-button{padding:10px 18px;background:#f8fafc;color:#000;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:.8125rem;font-weight:500;transition:all .2s ease}.cancel-button:hover:not(:disabled){background:#f1f5f9}.cancel-button:disabled{opacity:.6;cursor:not-allowed}.save-button{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 18px;background:#ffe774;color:#000;border:none;border-radius:6px;cursor:pointer;font-size:.8125rem;font-weight:500;transition:all .2s ease}.save-button:hover:not(:disabled){background:#ffd93d}.save-button.disabled{background:#9ca3af;cursor:not-allowed}.save-button:disabled{opacity:.6;cursor:not-allowed}@media(min-width:1001px){.budget-overview-section{display:flex;flex-direction:column}.budget-chart-section{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start;margin-top:24px}.pie-chart-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.category-list{margin-bottom:0}.category-management{display:none}}@media(min-width:769px)and (max-width:1000px){.budget-overview-section{display:flex;flex-direction:column;padding:24px 0 0}.budget-title{padding:0 24px}.view-toggle{margin-right:24px}.budget-chart-section{display:flex;flex-direction:column;gap:24px;margin-top:0;padding:24px}.pie-chart-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:300px;margin:0 0 24px;padding:0 24px}.category-list{margin-bottom:0}.category-management{display:none}}@media(max-width:768px){.budget-plan-content{padding:0}.budget-overview-section{padding:16px 0 0}.budget-breakdown{display:block}.toggle-button{padding:5px 10px;font-size:.6875rem}.summary-metrics{grid-template-columns:repeat(2,1fr);gap:10px}.summary-metrics .metric-card:nth-child(3){display:block}.budget-header{display:block;position:relative}.budget-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding:0 16px}.view-toggle{position:absolute;top:-8px;right:16px}.category-item{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:6px 8px;position:relative;transition:all .2s ease;margin-bottom:4px}.category-item:hover{border-color:#d1d5db}.category-item.savings-item{background:#fff;border:1px solid var(--color-accent)}.category-item .category-indicator{display:inline-block;position:static;width:12px;height:12px;margin-right:8px;vertical-align:middle}.category-item .savings-amount{padding:10px 12px;background:#fff;border:1px solid var(--color-accent);border-radius:6px;font-size:.9375rem;font-weight:600;color:var(--color-black);min-height:40px;display:flex;align-items:center}.category-item .category-details{width:100%;display:flex;flex-direction:column;gap:12px;align-items:stretch;grid-template-columns:none}.category-item .category-info{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;margin-bottom:0;gap:8px}.category-item .category-legend{display:flex;align-items:center;gap:8px;flex:1;cursor:pointer;padding:4px;margin:-4px 0 -4px -4px;border-radius:6px;transition:background-color .2s ease}.category-item .category-legend:hover{background-color:#00000008}.category-item .category-legend:active{background-color:#0000000d}.category-item .category-legend svg{color:var(--color-gray);flex-shrink:0}.category-item .category-name{font-size:.875rem;font-weight:600;margin:0;color:var(--color-black)}.category-details-expanded{margin-top:12px;padding-top:12px;border-top:1px solid var(--color-border);animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.category-details-expanded .spending-history-section,.category-details-expanded .recent-transactions-section{margin-bottom:12px}.category-details-expanded .spending-history-section:last-child,.category-details-expanded .recent-transactions-section:last-child{margin-bottom:0}.category-details-expanded h4{margin:0 0 10px;font-size:.8125rem;font-weight:600;color:var(--color-black);font-family:var(--font-body)}.category-details-expanded .spending-history-chart{display:flex;flex-direction:column;gap:6px}.category-details-expanded .history-item{display:flex;align-items:center;gap:6px;font-size:.75rem}.category-details-expanded .history-item .month{min-width:60px;color:var(--color-gray)}.category-details-expanded .amount-bar{flex:1;height:16px;background:var(--color-background);border-radius:8px;overflow:hidden}.category-details-expanded .amount-fill{height:100%;background:var(--color-accent);border-radius:8px;transition:width .3s ease}.category-details-expanded .history-item .amount{min-width:60px;text-align:right;font-weight:600;color:var(--color-black);font-size:.75rem}.category-details-expanded .transactions-list{display:flex;flex-direction:column;gap:6px}.category-details-expanded .transaction-item{display:flex;justify-content:space-between;align-items:center;padding:10px;background:var(--color-background);border-radius:6px;border:1px solid var(--color-border);transition:all .2s ease}.category-details-expanded .transaction-item:active{background:var(--color-border);transform:scale(.98)}.category-details-expanded .transaction-info{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.category-details-expanded .transaction-description{font-weight:500;color:var(--color-black);font-size:.8125rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-details-expanded .transaction-date{font-size:.6875rem;color:var(--color-gray)}.category-details-expanded .transaction-amount{font-weight:600;color:var(--color-black);font-size:.8125rem;white-space:nowrap;margin-left:10px}.category-item .budget-amount{display:flex;flex-direction:column;align-items:stretch;position:static;transform:none;width:100%;gap:4px}.category-item .budget-amount-header{display:flex;justify-content:space-between;align-items:center;width:100%}.category-item .budget-amount .amount-label{display:block;font-size:.75rem;color:var(--color-gray);font-weight:500;margin-bottom:0}.category-item .category-percentage{font-size:.75rem;color:var(--color-gray);margin:0}.category-item .budget-amount .amount-input{width:100%;padding:8px 10px;font-size:.875rem;font-weight:600;text-align:left;display:block!important;border:1px solid var(--color-border);border-radius:6px;box-sizing:border-box;background:#fff;min-height:36px}.category-item .budget-amount .amount-input:focus{border-color:var(--color-accent);outline:none;box-shadow:0 0 0 3px #ffe7741a}.category-item .amount-input,.category-item .current-amount,.category-item .three-month-avg,.peer-average-value,.amount-label{display:none}.remove-category-button{position:absolute;top:6px;right:6px;background:transparent;color:#9ca3af;border:none;cursor:pointer;padding:0;border-radius:50%;transition:all .2s ease;width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.remove-category-button:hover,.remove-category-button:active{background:#f3f4f6;color:#6b7280}.remove-category-button svg{width:14px;height:14px}.forecast-header{flex-direction:column;align-items:flex-start;gap:16px}.apy-controls{flex-wrap:wrap;gap:8px}.action-buttons{flex-direction:column;padding-bottom:16px;margin-top:24px}.save-button,.cancel-button{width:100%}.budget-breakdown{margin-bottom:0}.pie-chart-container{display:none}.pie-chart-container .recharts-responsive-container{min-height:280px!important}.category-header{flex-direction:column;align-items:flex-start;gap:8px}.add-category-form{flex-direction:column;align-items:stretch;gap:10px;background:#fff;border:1px solid var(--color-border);border-radius:10px;padding:12px}.add-category-form .category-indicator-placeholder{display:none}.add-category-form .category-name-input{width:100%}.add-category-form .category-amount-input{width:100%;padding:10px 12px;font-size:.9375rem;min-height:40px;box-sizing:border-box}.add-category-form button{width:100%;min-height:40px;font-size:.875rem;font-weight:600}.add-category-button{background:#fff;border:1px dashed var(--color-border);border-radius:10px;padding:12px;min-height:44px;font-size:.875rem;font-weight:600}.add-category-button:hover{border-color:var(--color-accent);background:#ffe7740d}.quick-questions{flex-direction:column;align-items:center}.pie-chart-center{display:none}.summary-metrics .metric-card:nth-child(2){display:none}.category-management{display:none}}.more-details-button{background:#f3f4f6;color:#374151;border:1px solid #d1d5db;border-radius:4px;padding:4px 8px;font-size:12px;cursor:pointer;transition:all .2s ease;margin-top:4px}.more-details-button:hover{background:#e5e7eb;border-color:#9ca3af}.apy-slider-minimal::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:12px;height:12px;border-radius:50%;background:#9ca3af;cursor:pointer;border:none;box-shadow:0 1px 2px #0000001a}.apy-slider-minimal::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#9ca3af;cursor:pointer;border:none;box-shadow:0 1px 2px #0000001a}.custom-dropdown{position:relative;width:100%}.custom-dropdown-trigger{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border:1px solid var(--color-border, #e5e7eb);border-radius:8px;font-size:14px;background:var(--color-white, white);color:var(--color-text, #000000);font-family:var(--font-body);cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d;min-height:40px}.custom-dropdown-trigger:hover:not(.disabled){border-color:var(--color-textSecondary, #666666);box-shadow:0 1px 3px #0000001a}.custom-dropdown-trigger:focus{outline:none;border-color:var(--color-accent, #ffe774);box-shadow:0 0 0 3px #ffe7741a,0 1px 3px #0000001a}.custom-dropdown-trigger.open{border-color:var(--color-accent, #ffe774);box-shadow:0 0 0 3px #ffe7741a,0 1px 3px #0000001a}.custom-dropdown-trigger.disabled{background-color:var(--color-backgroundLight, #f8f9fa);color:var(--color-disabled, #cccccc);cursor:not-allowed;box-shadow:none}.custom-dropdown-value{flex:1;text-align:left;color:inherit}.custom-dropdown-arrow{transition:transform .2s ease;color:var(--color-textSecondary, #666666);flex-shrink:0}.custom-dropdown-arrow.rotated{transform:rotate(180deg)}.custom-dropdown-menu{position:absolute;top:100%;left:0;right:0;background:var(--color-white, white);border:1px solid var(--color-border, #e5e7eb);border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;z-index:2000;margin-top:4px;max-height:200px;overflow-y:auto;animation:dropdownFadeIn .15s ease-out}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.custom-dropdown-option{padding:8px 12px;font-size:14px;color:var(--color-text, #000000);cursor:pointer;transition:all .15s ease;border-bottom:1px solid var(--color-backgroundLight, #f8f9fa);display:flex;align-items:center}.custom-dropdown-option:last-child{border-bottom:none}.custom-dropdown-option:hover{background-color:var(--color-backgroundLight, #f8f9fa);color:var(--color-text, #000000)}.custom-dropdown-option:focus{outline:none;background-color:var(--color-accent, #ffe774);color:var(--color-text, #000000)}.custom-dropdown-option.selected{background-color:var(--color-accent, #ffe774);color:var(--color-text, #000000);font-weight:500}.custom-dropdown-option.disabled{color:var(--color-disabled, #cccccc);cursor:not-allowed;background-color:var(--color-backgroundLight, #f8f9fa)}.custom-dropdown-option.disabled:hover{background-color:var(--color-backgroundLight, #f8f9fa);color:var(--color-disabled, #cccccc)}@media(max-width:768px){.custom-dropdown-trigger{font-size:14px;min-height:40px;padding:8px 12px;cursor:pointer;-webkit-tap-highlight-color:transparent}.custom-dropdown-option{font-size:14px;padding:8px 12px;cursor:pointer;-webkit-tap-highlight-color:transparent}.custom-dropdown-menu{z-index:3000;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}}@media(min-width:769px)and (max-width:1024px){.custom-dropdown-trigger{font-size:14px;min-height:40px;padding:8px 12px;cursor:pointer}.custom-dropdown-option{font-size:14px;padding:8px 12px;cursor:pointer}.custom-dropdown-menu{z-index:2500;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}}@media(max-width:480px){.custom-dropdown-trigger{font-size:14px;min-height:40px;padding:8px 12px}.custom-dropdown-option{font-size:14px;padding:8px 12px}.custom-dropdown-menu{max-height:150px}}@media(prefers-contrast:high){.custom-dropdown-trigger,.custom-dropdown-menu{border-color:var(--color-text, #000000);background:var(--color-white, white)!important}.custom-dropdown-option{color:var(--color-text, #000000);border-bottom-color:var(--color-text, #000000);background:var(--color-white, white)!important}.custom-dropdown-option:hover{background-color:var(--color-backgroundLight, #f8f9fa)!important}.custom-dropdown-option.selected{background-color:var(--color-accent, #ffe774)!important;color:var(--color-text, #000000)!important}}:root{--primary-color: #000000;--secondary-color: #666666;--accent-color: #ffe774;--brand-yellow: #ffe774;--background-color: #ffffff;--background-light: #f8f9fa;--text-color: #000000;--text-secondary: #666666;--border-color: #e5e7eb;--yellow-hover: #ffd93d;--color-black: #000000;--color-white: #ffffff;--color-gray: #666666;--color-background: #f8f9fa;--color-border: #e5e7eb;--color-accent: #ffe774;--color-success: #22c55e;--color-error: #ef4444;--color-warning: #f59e0b;--color-info: #3b82f6;--font-size-xs: .75rem;--font-size-sm: .875rem;--font-size-md: 1rem;--font-size-lg: 1.125rem;--font-size-xl: 1.25rem;--font-size-2xl: 1.5rem;--font-brand: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--spacing-xs: .5rem;--spacing-sm: .75rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--spacing-2xl: 3rem;--spacing-3xl: 4rem;--spacing-4xl: 5rem;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .1);--shadow-md: 0 4px 6px rgba(0, 0, 0, .05);--shadow-lg: 0 8px 25px rgba(0, 0, 0, .1);--transition-default: all .2s ease}@keyframes slideUpModal{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slideDownModal{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes fadeInOverlay{0%{opacity:0}to{opacity:1}}@keyframes fadeOutOverlay{0%{opacity:1}to{opacity:0}}@media(max-width:768px){.responsive-modal{max-height:100vh!important;border-radius:0!important;max-width:100%!important;width:100%!important;position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:2000!important;overflow-x:hidden!important;animation:slideUpModal .3s ease-out forwards}.responsive-modal.closing{animation:slideDownModal .3s ease-in forwards}.responsive-modal-overlay{animation:fadeInOverlay .3s ease-out forwards}.responsive-modal-overlay.closing{animation:fadeOutOverlay .3s ease-in forwards}.responsive-modal-overlay{padding:0!important}.responsive-modal-content{padding:12px!important}}.responsive-modal+div{z-index:2000!important}.modern-page{padding:var(--spacing-md);max-width:1400px;margin:0 auto;background-color:var(--color-white);min-height:100vh;font-family:var(--font-body)}@media(min-width:768px){.modern-page{padding:var(--spacing-xl)}}.modern-page-header{margin-bottom:var(--spacing-2xl)}.modern-page-title{font-size:2.5rem;font-weight:600;color:var(--color-black);margin:0;font-family:var(--font-brand);letter-spacing:-.02em;line-height:1.2}.modern-page-subtitle{font-size:var(--font-size-lg);color:var(--color-gray);margin:.5rem 0 0;font-family:var(--font-body);line-height:1.5}.modern-card{background-color:var(--color-white);border-radius:var(--radius-lg);border:1px solid var(--color-border);box-shadow:var(--shadow-md);overflow:hidden;transition:var(--transition-default)}.modern-card-header{padding:var(--spacing-lg);border-bottom:1px solid var(--color-border);background-color:var(--color-white)}.modern-card-title{font-size:var(--font-size-lg);font-weight:600;color:var(--color-black);margin:0;font-family:var(--font-brand)}.modern-card-content{padding-top:var(--spacing-lg);padding-bottom:var(--spacing-lg);padding-left:var(--spacing-sm);padding-right:var(--spacing-sm)}.modern-grid{display:grid;gap:var(--spacing-xl);margin-bottom:var(--spacing-xl)}.modern-grid-2{grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.modern-grid-3{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.modern-metric-card{background-color:var(--color-white);border-radius:var(--radius-lg);border:1px solid var(--color-border);box-shadow:var(--shadow-md);padding:var(--spacing-lg);transition:var(--transition-default)}.modern-metric-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-1px)}.modern-metric-label{font-size:var(--font-size-sm);color:var(--color-gray);font-weight:500;text-transform:uppercase;letter-spacing:.05em;margin-bottom:var(--spacing-sm);display:flex;align-items:center;gap:var(--spacing-xs)}.modern-metric-value{font-size:2.25rem;font-weight:700;color:var(--color-black);line-height:1;margin-bottom:var(--spacing-xs)}.modern-metric-change{font-size:var(--font-size-sm);font-weight:500}.modern-metric-change.positive{color:#22c55e}.modern-metric-change.negative{color:#ef4444}.modern-btn{border-radius:var(--radius-md);font-weight:500;font-family:var(--font-body);cursor:pointer;transition:var(--transition-default);display:inline-flex;align-items:center;gap:var(--spacing-xs);text-decoration:none;border:none;padding:.75rem 1.5rem;font-size:var(--font-size-md)}.modern-btn-primary{background-color:var(--color-black);color:var(--color-white)}.modern-btn-primary:hover{background-color:#333;transform:translateY(-1px)}.modern-btn-secondary{background-color:var(--color-accent);color:var(--color-black)}.modern-btn-secondary:hover{background-color:var(--yellow-hover);transform:translateY(-1px)}.modern-btn-outline{background-color:transparent;color:var(--color-black);border:1px solid var(--color-border)}.modern-btn-outline:hover{background-color:var(--color-background);transform:translateY(-1px)}.dashboard-modern{background-color:var(--color-white);display:block;min-height:90vh;height:auto;position:relative;width:100vw;max-width:100%;padding:2vh 2vw}@media(min-width:768px){.dashboard-modern{padding:var(--spacing-xl)!important}}.dashboard-modern .modern-card{background:var(--color-white)}.dashboard-modern [class*=mantine]{font-family:var(--font-body)!important}.dashboard-modern .mantine-Container-root{background-color:transparent!important}.dashboard-modern .mantine-Paper-root{background-color:var(--color-white)!important;border-radius:12px!important;border:1px solid var(--color-border)!important;box-shadow:0 4px 6px #0000000d!important;transition:transform .2s ease,box-shadow .2s ease!important}.dashboard-modern .mantine-Text-root{font-family:var(--font-body)!important}.modern-chart-container{background-color:var(--color-white);border-radius:var(--radius-lg);border:1px solid var(--color-border);box-shadow:var(--shadow-md);overflow:hidden}.modern-chart-content{padding:var(--spacing-lg)}.dashboard-modern [style*="background: rgb(36, 70, 99)"],.dashboard-modern [style*="background: #244663"]{background:var(--color-white)!important;border:1px solid var(--color-border)!important;box-shadow:0 4px 6px #0000000d!important}.dashboard-modern [style*="color: rgb(221, 168, 83)"],.dashboard-modern [style*="color: #DDA853"]{color:var(--color-black)!important}.dashboard-modern [style*="color: rgb(249, 246, 240)"],.dashboard-modern [style*="color: #F9F6F0"]{color:var(--color-black)!important;font-weight:700!important}.dashboard-modern [style*="color: rgb(136, 169, 188)"],.dashboard-modern [style*="color: #88A9BC"]{color:var(--color-gray)!important}.dashboard-modern [style*="border-color: rgb(136, 169, 188)"],.dashboard-modern [style*="border-color: #88A9BC"]:hover{border-color:var(--color-accent)!important}.dashboard-modern [style*="background: rgb(136, 169, 188)"],.dashboard-modern [style*="background: #88A9BC"]{background:var(--color-background)!important}.dashboard-modern [style*="border: 1px solid rgb(229, 229, 229)"],.dashboard-modern [style*="border: 1px solid #E5E5E5"]{border:1px solid var(--color-border)!important}.dashboard-modern [style*="background: rgb(247, 247, 247)"],.dashboard-modern [style*="background: #F7F7F7"]{background:var(--color-white)!important}.dashboard-modern [style*="color: rgb(85, 85, 85)"],.dashboard-modern [style*="color: #555555"]{color:var(--color-gray)!important}.dashboard-modern [style*="linear-gradient(135deg, rgb(136, 169, 188)"]{background:var(--color-white)!important;border:1px solid var(--color-border)!important;box-shadow:0 4px 6px #0000000d!important}.dashboard-modern [style*="color: rgb(76, 175, 80)"],.dashboard-modern [style*="color: #4CAF50"]{color:#22c55e!important}.dashboard-modern [style*="color: rgb(239, 83, 80)"],.dashboard-modern [style*="color: #EF5350"]{color:#ef4444!important}.dashboard-modern [style*="background: linear-gradient(90deg"]{background:#ffe77426!important;color:var(--color-black)!important;border:1px solid rgba(255,231,116,.3)!important;border-radius:20px!important;font-weight:600!important;box-shadow:0 2px 4px #ffe7741a!important}.dashboard-modern [style*="background: linear-gradient(135deg, rgb(136, 169, 188)15"],.dashboard-modern [style*="linear-gradient(135deg"][style*=fjordBlue]{background:#ffe77414!important;border:2px solid rgba(255,231,116,.25)!important;border-radius:16px!important;box-shadow:0 4px 12px #ffe77426!important}.dashboard-modern [style*="background: rgba(255, 255, 255, 0.95)"]{background:var(--color-white)!important;border:1px solid rgba(255,231,116,.2)!important;border-radius:12px!important;box-shadow:0 4px 8px #0000000a,0 0 0 1px #ffe7741a!important}.dashboard-modern [style*="background: rgba(255, 255, 255, 0.95)"] *{color:inherit!important}.dashboard-modern [style*="background: linear-gradient(90deg"][style*=darkBlue]{background:none!important;-webkit-background-clip:unset!important;-webkit-text-fill-color:unset!important;background-clip:unset!important;color:var(--color-black)!important}.dashboard-modern [style*="background: rgb(221, 168, 83)"]{background:#ffe774e6!important;box-shadow:0 0 8px #ffe77466!important}@keyframes ai-pulse{0%,to{opacity:1;transform:scale(1);box-shadow:0 0 8px #ffe77466}50%{opacity:.8;transform:scale(1.05);box-shadow:0 0 12px #ffe77499}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}.dashboard-modern [style*="box-shadow: 0 0 6px rgb(221, 168, 83)60"]{animation:ai-pulse 2s infinite!important}.login-container{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--spacing-2xl)}@media(min-width:1024px){.login-container{grid-template-columns:1fr 1fr;align-items:center}}@media(max-width:1023px){.login-extras-desktop-only{display:none!important}.login-branding-mobile{padding-top:2rem!important;padding-bottom:1.5rem!important}.login-google-mobile-first{margin-top:1rem!important}.login-form-desktop-first{background-color:transparent!important;padding:0!important;border-radius:0!important;box-shadow:none!important;border:none!important}.login-form-desktop-first label{display:none!important}}@media(min-width:1024px){.login-form-container{display:flex!important;flex-direction:column!important}.login-form-desktop-first{order:1}.login-divider{order:2}.login-google-mobile-first{order:3}}.login-branding-desktop{display:none}@media(min-width:1024px){.login-branding-desktop{display:block}}.login-branding-mobile{display:block}@media(min-width:1024px){.login-branding-mobile{display:none}}.login-form-container{width:100%;max-width:400px;justify-self:center}@media(min-width:1024px){.login-form-container{justify-self:start;max-width:480px}}.login-features-mobile{display:grid;grid-template-columns:1fr 1fr;gap:var(--spacing-md);margin-top:var(--spacing-2xl)}@media(min-width:1024px){.login-features-mobile{display:none}}*{margin:0;padding:0;box-sizing:border-box;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}html,body{margin:0;padding:0;width:100%;height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;scrollbar-width:none;-ms-overflow-style:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--color-white)}body{background-color:var(--color-white)}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}#root{width:100%;height:100%}body,html,*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.2;letter-spacing:-.02em}p{font-size:var(--font-size-md);line-height:1.7;color:var(--color-gray)}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}.profile-page{width:100%;min-height:100vh;background-color:var(--color-background)}.profile-page-content{max-width:1200px;margin:0 auto;padding:var(--spacing-lg);display:flex;flex-direction:column;gap:var(--spacing-xl)}@media(max-width:1024px){.profile-page-content{padding:var(--spacing-md);gap:var(--spacing-lg)}}.profile-content-container{max-width:800px;margin:0 auto;width:90vw;display:block;min-height:60vh;height:auto;position:relative;padding:2vh 0}.profile-content-container>*{margin-bottom:3vh}.profile-content-container>*:last-child{margin-bottom:0}.profile-card{background:var(--color-white);border-radius:var(--radius-xl);padding:var(--spacing-xl);box-shadow:var(--shadow-md);border:1px solid var(--color-border);width:100%;display:block;position:relative;min-height:20vh}.profile-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:var(--spacing-xl);flex-wrap:wrap;gap:var(--spacing-sm)}.profile-membership-badge{background:transparent;color:#000000b3;padding:0;border:none;border-bottom:2px solid var(--color-accent);border-radius:0;font-size:var(--font-size-sm);font-weight:500}.profile-user-info{display:flex;align-items:center;gap:var(--spacing-lg);margin-bottom:var(--spacing-xl)}.profile-avatar{position:relative}.profile-avatar-placeholder{width:60px;height:60px;border-radius:50%;background:var(--color-gray);color:var(--color-white);display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:600;letter-spacing:.5px}.profile-user-details{flex:1;min-width:0;overflow:hidden}.profile-user-name{color:#333;font-size:var(--font-size-2xl);font-weight:600;margin:0 0 var(--spacing-xs) 0;line-height:1.2}.profile-user-subtitle{color:var(--color-gray);font-size:var(--font-size-md);margin:0;font-weight:400}.profile-user-email{color:var(--color-gray);font-size:var(--font-size-md);margin:0 0 var(--spacing-xs) 0;font-weight:400}.profile-user-since{color:var(--color-gray);font-size:var(--font-size-sm);margin:0;font-weight:400;opacity:.8}.financial-summary{display:grid;grid-template-columns:1fr 1fr;gap:var(--spacing-lg)}@media(max-width:640px){.financial-summary{grid-template-columns:1fr;gap:var(--spacing-md)}}.financial-card{background:var(--color-white);border-radius:var(--radius-xl);padding:var(--spacing-xl);box-shadow:var(--shadow-md);border:1px solid var(--color-border)}.financial-card-header{margin-bottom:var(--spacing-md)}.financial-card-title{color:var(--color-gray);font-size:var(--font-size-md);font-weight:500;margin:0}.financial-card-value{color:var(--color-black);font-size:2.5rem;font-weight:600;margin:var(--spacing-sm) 0;line-height:1.1}.financial-card-change{display:flex;align-items:center;gap:var(--spacing-sm)}.financial-change-value{font-size:var(--font-size-sm);font-weight:500}.financial-change-value.positive{color:#22c55e}.financial-change-value.negative{color:#ef4444}.financial-change-period{color:var(--color-gray);font-size:var(--font-size-sm)}.financial-status-badge{background:var(--color-background);color:var(--color-gray);padding:var(--spacing-xs) var(--spacing-sm);border-radius:var(--radius-md);font-size:var(--font-size-xs);font-weight:500}.ai-assistant-card{background:var(--color-accent);border-radius:var(--radius-xl);padding:var(--spacing-xl);border:1px solid var(--color-border);position:relative;overflow:hidden}.ai-assistant-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:var(--spacing-xl);gap:var(--spacing-md)}.ai-assistant-info{display:flex;align-items:center;gap:var(--spacing-md);flex:1}.ai-assistant-icon{width:56px;height:56px;border-radius:var(--radius-lg);background:var(--color-black);display:flex;align-items:center;justify-content:center;flex-shrink:0}.ai-assistant-icon-inner{color:var(--color-white);font-size:var(--font-size-lg);font-weight:600;letter-spacing:1px}.ai-assistant-details{flex:1}.ai-assistant-title{color:var(--color-black);font-size:var(--font-size-xl);font-weight:600;margin:0 0 var(--spacing-xs) 0;line-height:1.2}.ai-assistant-subtitle{color:var(--color-black);font-size:var(--font-size-md);margin:0;font-weight:400;opacity:.8}.ai-assistant-status{display:flex;flex-direction:column;align-items:flex-end;gap:var(--spacing-xs);flex-shrink:0}.ai-status-indicator{display:flex;align-items:center;gap:var(--spacing-xs)}.ai-status-dot{width:8px;height:8px;border-radius:50%}.ai-status-dot.active{background:#22c55e}.ai-status-dot.inactive{background:var(--color-gray)}.ai-status-text{font-size:var(--font-size-sm);font-weight:500}.ai-status-text.active{color:#22c55e}.ai-status-text.inactive{color:var(--color-gray)}.ai-version{font-size:var(--font-size-xs);color:var(--color-gray);opacity:.7}.ai-assistant-actions{display:flex;justify-content:center}.ai-chat-button{background:var(--color-black);color:var(--color-white);border:none;padding:var(--spacing-md) var(--spacing-xl);border-radius:var(--radius-md);font-size:var(--font-size-md);font-weight:500;cursor:pointer;transition:var(--transition-default);min-width:180px}.ai-chat-button:hover{background:var(--color-gray);transform:translateY(-1px)}.account-settings{background:var(--color-white);border-radius:var(--radius-xl);box-shadow:var(--shadow-md);border:1px solid var(--color-border);width:100%;display:block;position:relative;min-height:30vh}.account-settings-header{padding:var(--spacing-xl) var(--spacing-xl) var(--spacing-md);border-bottom:1px solid var(--color-border)}.account-settings-title{color:var(--color-black);font-size:var(--font-size-lg);font-weight:600;margin:0}.account-settings-menu{padding:0}.account-settings-item{display:flex;align-items:center;width:100%;padding:var(--spacing-lg) var(--spacing-xl);background:var(--color-white);border:none;border-bottom:1px solid var(--color-border);cursor:pointer;transition:var(--transition-default);text-align:left;gap:var(--spacing-md);min-width:0;overflow:hidden}.account-settings-item:last-child{border-bottom:none}.account-settings-item:hover{background:var(--color-background)}.account-settings-item-icon{width:40px;height:40px;border-radius:50%;background:var(--color-background);display:flex;align-items:center;justify-content:center;color:var(--color-black);flex-shrink:0}.account-settings-item-label{flex:1;color:var(--color-black);font-size:var(--font-size-md);font-weight:400;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-settings-item-chevron{color:var(--color-gray);flex-shrink:0}.app-header{background:var(--color-white);border-bottom:1px solid var(--color-border);position:relative;z-index:1000;box-shadow:none;transition:none;min-height:72px;padding-top:env(safe-area-inset-top,0px)}.app-header-content{max-width:1200px;margin:0 auto;padding:0 var(--spacing-lg);height:72px;display:flex;align-items:center;justify-content:space-between}.app-header-brand{flex-shrink:0}.app-header-logo-button{background:none;border:none;cursor:pointer;padding:var(--spacing-sm);border-radius:var(--radius-md);display:flex;align-items:center}.app-header-nav{display:none;align-items:center;gap:var(--spacing-xs);flex:1;justify-content:center}@media(min-width:1024px){.app-header-nav{display:flex;gap:calc(.5rem + 1vw)}}.app-header-nav-item{display:flex;align-items:center;gap:var(--spacing-sm);padding:var(--spacing-sm) var(--spacing-lg);border:none;background:none;color:var(--color-black);font-size:var(--font-size-sm);font-weight:500;border-radius:var(--radius-md);cursor:pointer;transition:var(--transition-default);position:relative}@media(min-width:1024px){.app-header-nav-item{gap:0}}.app-header-nav-item:after{content:"";position:absolute;bottom:8px;left:50%;width:0;height:2px;background:var(--color-accent);transition:all .3s ease;transform:translate(-50%)}.app-header-nav-item:hover:after{width:calc(100% - 32px)}.app-header-nav-item:hover{color:var(--color-black)}.app-header-nav-item.active{color:var(--color-black);background:none}.app-header-nav-item.active:hover{color:var(--color-black)}.app-header-actions{display:flex;align-items:center;gap:var(--spacing-sm);flex-shrink:0}.app-header-ai-button{display:none;align-items:center;gap:var(--spacing-sm);padding:var(--spacing-sm) var(--spacing-lg);border:none;background:none;color:var(--color-black);font-size:var(--font-size-sm);font-weight:500;cursor:pointer;transition:var(--transition-default);position:relative}@media(min-width:1024px){.app-header-ai-button{gap:0}}.app-header-ai-button:after{content:"";position:absolute;bottom:8px;left:50%;width:0;height:2px;background:var(--color-accent);transition:all .3s ease;transform:translate(-50%)}.app-header-ai-button:hover:after{width:calc(100% - 32px)}.app-header-ai-button:hover{color:var(--color-black)}@media(min-width:1024px){.app-header-ai-button{display:flex}}.app-header-profile-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:none;color:var(--color-black);cursor:pointer;transition:var(--transition-default)}.app-header-profile-button:hover{color:var(--color-gray)}@media(max-width:1023px){.app-header-content{padding:0 var(--spacing-md);height:64px}.app-header-logo-button{padding:var(--spacing-xs)}.app-header-profile-button{width:28px;height:28px}}.app-footer{display:flex;position:relative;z-index:1000;background:var(--color-white);border-top:1px solid var(--color-border);box-shadow:none;align-items:flex-end;justify-content:center;min-height:72px;padding-bottom:env(safe-area-inset-bottom,0px)}@media(min-width:1024px){.app-footer{display:none!important}}.app-footer-content{width:100%;max-width:500px;display:flex;justify-content:space-between;align-items:flex-end;padding:var(--spacing-md) 0 0 0}.app-footer-nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-decoration:none;color:var(--color-gray);padding:var(--spacing-sm) var(--spacing-sm) var(--spacing-xs) var(--spacing-sm);border-radius:var(--radius-md);transition:none;min-height:48px}.app-footer-nav-item:hover{color:var(--color-black)}.app-footer-nav-item.active{color:var(--color-black);font-weight:700}.app-footer-nav-item:first-child.active{border-radius:var(--radius-md) 0 0 var(--radius-md);margin-left:0}.app-footer-nav-item:last-child.active{border-radius:0 var(--radius-md) var(--radius-md) 0;margin-right:0}.app-footer-nav-item span{font-size:var(--font-size-xs);font-weight:500;margin-top:var(--spacing-xs);text-align:center}.app-footer-nav-item.active span{font-weight:700}.app-footer-ai-container{position:relative;width:0;display:flex;justify-content:center;align-items:center;z-index:1001}.app-footer-ai-button{position:absolute;bottom:40px;left:50%;transform:translate(-50%);width:64px;height:64px;background:var(--color-accent);border:none;border-radius:50%;color:var(--color-black);cursor:pointer;transition:none;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:var(--shadow-lg);padding:8px}.app-footer-ai-label{font-size:var(--font-size-xs);font-weight:500;margin-top:4px;color:var(--color-black)}.app-layout{height:100vh;background-color:var(--color-white);display:flex;flex-direction:column}.app-main{flex:1;overflow-y:auto;background-color:var(--color-white);min-height:calc(100vh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 145px);-webkit-overflow-scrolling:touch;position:relative}@media(min-width:1024px){.app-main{padding-bottom:var(--spacing-xl)}}.ai-chat-overlay{position:fixed;left:0;right:0;top:0;bottom:0;z-index:200;display:flex;justify-content:center;pointer-events:auto;animation:slideUp .3s cubic-bezier(.4,0,.2,1);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);max-width:none;background-color:var(--color-white)}.ai-chat-container{width:100%;max-width:420px;height:calc(80vh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:calc(600px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));background:var(--color-white);border-radius:var(--radius-xl) var(--radius-xl) 0 0;box-shadow:var(--shadow-lg);border:2px solid var(--brand-yellow);display:flex;flex-direction:column;overflow:hidden}@media(min-width:1024px){.ai-chat-overlay{position:fixed;left:auto;right:0;top:72px;bottom:0;width:var(--ai-chat-width, 400px)!important;height:auto;min-height:calc(100vh - 72px);justify-content:flex-end;animation:slideInRight .3s cubic-bezier(.4,0,.2,1)}.ai-chat-container{width:100%;height:calc(100vh - 72px);max-width:none!important;max-height:none!important;border-left:2px solid var(--brand-yellow);border-top:none;border-right:none;border-bottom:none;display:flex;flex-direction:column;overflow:visible}.ai-chat-container,.ai-chat-messages,.ai-chat-input-form{border-radius:0!important}.ai-chat-input-container,.ai-chat-bubble{border-radius:var(--radius-xl)!important}.ai-chat-resize-handle{position:absolute;left:-2px;top:0;bottom:0;width:2px;background:#0000001a!important;cursor:col-resize;z-index:1001;transition:all .2s ease;border:none!important;outline:none!important}.ai-chat-resize-handle:hover{width:4px;background:#0000001a!important;border:none!important}.ai-chat-resize-handle:active{width:4px;background:#0003!important;border:none!important}body.ai-chat-open .app-main{margin-right:var(--ai-chat-width, 400px);transition:margin-right .3s ease}.ai-chat-overlay{z-index:1000}.ai-feedback-container{margin-top:.5vh!important}}@media(max-width:1023px){.ai-chat-overlay{z-index:1001;left:0;right:0;top:0;bottom:0;width:100%!important;height:100vh!important;justify-content:center;background-color:var(--color-white);padding:0}.ai-chat-container{width:100%;height:100vh;max-width:none;max-height:none;border-radius:0;border:none;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);display:flex;flex-direction:column}.ai-chat-resize-handle{display:none!important}.ai-feedback-container{margin-top:calc(var(--spacing-xs) * -1)!important}body.ai-chat-open .app-main{margin-right:0!important}.ai-chat-input-form{padding-bottom:0}.ai-chat-messages{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.ai-chat-container .ai-chat-messages{scroll-behavior:smooth}}.ai-chat-header{display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-lg) var(--spacing-xl);background:var(--color-accent);border-radius:0 0 var(--radius-lg) var(--radius-lg);box-shadow:0 2px 8px #0000001a;flex-shrink:0}@media(max-width:1023px){.ai-chat-header{padding:var(--spacing-lg);border-radius:0 0 var(--radius-lg) var(--radius-lg);box-shadow:0 2px 8px #0000001a}.ai-chat-header-desktop-only{display:block}}.ai-chat-header-content{display:flex;align-items:center;gap:var(--spacing-md);flex:1}.ai-chat-header-icon{width:40px;height:40px;background:var(--color-black);color:var(--color-white);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ai-chat-header-title h3{color:var(--color-black);font-size:var(--font-size-lg);font-weight:600;margin:0;line-height:1.2}.ai-chat-header-title p{color:var(--color-black);font-size:var(--font-size-sm);margin:0;opacity:.8;font-weight:400}.ai-chat-close-button{background:none;border:none;color:var(--color-black);cursor:pointer;padding:var(--spacing-sm);border-radius:var(--radius-md);transition:var(--transition-default);display:flex;align-items:center;justify-content:center}.ai-chat-error{padding:var(--spacing-md) var(--spacing-xl);background:#fee;border-left:4px solid #f56565;margin:var(--spacing-sm) var(--spacing-lg);border-radius:var(--radius-md);flex-shrink:0}.ai-chat-error p{color:#c53030;font-size:var(--font-size-sm);margin:0;font-weight:500}.ai-chat-messages{position:relative;flex:1;overflow-y:auto;overflow-x:hidden;padding:var(--spacing-md) var(--spacing-md);display:flex;flex-direction:column;gap:var(--spacing-xs);min-height:0;scroll-behavior:smooth}.ai-chat-message{display:flex;align-items:flex-end;gap:var(--spacing-sm);flex-shrink:0;width:100%;position:relative;z-index:1}.ai-chat-message.user{justify-content:flex-end}.ai-chat-message.ai{justify-content:flex-start;flex-direction:row}.ai-chat-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs);font-weight:600;letter-spacing:.5px;flex-shrink:0}.ai-chat-avatar.ai,.ai-chat-message.user .ai-chat-avatar{display:none}.ai-chat-bubble{max-width:90%;padding:var(--spacing-xs) var(--spacing-md) calc(var(--spacing-xs) * .5) var(--spacing-md);border-radius:var(--radius-lg);font-size:var(--font-size-sm);line-height:1.5;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;box-shadow:var(--shadow-sm);text-align:left;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;background:var(--color-white);color:var(--color-black);position:relative;z-index:2}.ai-chat-message.user .ai-chat-bubble{background:var(--color-border);color:var(--color-black);border-bottom-right-radius:var(--radius-sm);font-size:var(--font-size-md);font-weight:500;line-height:1.6}.ai-chat-message.ai .ai-chat-bubble{background:transparent;color:var(--color-black);border-bottom-left-radius:var(--radius-sm);align-items:flex-start;box-shadow:none;padding-left:0;font-size:var(--font-size-md);font-weight:500;line-height:1.6;max-width:100%;width:100%}.ai-chat-bubble p{color:inherit!important;font-size:inherit!important;line-height:1.5!important;margin:0 0 6px!important}.ai-chat-bubble *{color:inherit}.ai-chat-bubble.loading{display:flex;align-items:center;gap:var(--spacing-sm)}.ai-chat-loading{display:flex;gap:4px;align-items:center}.ai-chat-loading .dot{width:6px;height:6px;background:var(--color-gray);border-radius:50%;animation:loadingDots 1.4s infinite ease-in-out}.ai-chat-loading .dot:nth-child(1){animation-delay:-.32s}.ai-chat-loading .dot:nth-child(2){animation-delay:-.16s}.ai-chat-loading .dot:nth-child(3){animation-delay:0s}.ai-chat-bubble.loading span{color:var(--color-gray);font-size:var(--font-size-xs);font-style:italic}.ai-chat-loading-state{align-items:center}.ai-chat-status-indicator{display:flex;align-items:center;padding:0;opacity:.85}.ai-chat-streaming-status{margin-top:.25rem}.ai-feedback-container{display:flex;align-items:center;gap:var(--spacing-sm);margin-top:calc(var(--spacing-xs) * -1);margin-bottom:0;margin-left:0}.ai-feedback-buttons{display:flex;gap:var(--spacing-xs)}.ai-feedback-button{background:transparent;border:none;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:var(--text-secondary);opacity:.6}.ai-feedback-button.selected{color:var(--color-black);opacity:1}.ai-branding{display:flex;align-items:center;gap:4px;margin-left:auto;margin-bottom:0;padding:0;opacity:.5}.ai-chat-input-form{padding:var(--spacing-md) var(--spacing-lg);background:var(--color-white);flex-shrink:0}@media(max-width:1023px){.ai-chat-input-form{padding:var(--spacing-sm) var(--spacing-lg)}}.ai-chat-input-container{display:flex;align-items:center;gap:var(--spacing-sm);background:var(--color-white);border:2px solid var(--color-border);border-radius:var(--radius-xl);padding:var(--spacing-xs) var(--spacing-sm);transition:var(--transition-default);min-height:44px;max-height:120px}.ai-chat-input-container:focus-within{border-color:var(--brand-yellow);background:var(--color-white)}.ai-chat-input{flex:1;border:none;outline:none;background:transparent;font-size:var(--font-size-md);font-weight:500;font-family:inherit;resize:none;min-height:20px;max-height:80px;overflow-y:auto;color:var(--color-black);line-height:1.6;padding:var(--spacing-xs) 0}.ai-chat-input::placeholder{color:var(--color-gray)}.ai-chat-input:disabled{opacity:.6;cursor:not-allowed}.ai-chat-send-button{background:transparent;color:var(--color-black);border:none;width:24px;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--transition-default);flex-shrink:0;font-size:16px;font-weight:700}.ai-chat-send-button:hover:not(:disabled){color:var(--color-gray);transform:scale(1.1)}.ai-chat-send-button:disabled{color:var(--color-gray);opacity:.5;cursor:not-allowed;transform:none}.ai-chat-page{width:100%;min-height:100vh;background-color:var(--color-background)}.ai-chat-page-container{max-width:1200px;margin:0 auto;padding:var(--spacing-xl);display:flex;flex-direction:column;gap:var(--spacing-md)}.ai-chat-page h1{color:var(--color-black);font-size:2.5rem;font-weight:600;margin:0;letter-spacing:-.02em}.ai-chat-page p{color:var(--color-gray);font-size:var(--font-size-lg);margin:0;font-weight:400}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes loadingDots{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}@media(max-width:480px){.ai-chat-container{height:100vh;max-height:none;border-radius:0}.ai-chat-header{border-radius:0 0 var(--radius-lg) var(--radius-lg);box-shadow:0 2px 8px #0000001a}.ai-chat-bubble{max-width:80%}}@media(min-width:768px){.dashboard-modern .mantine-Paper-root{margin-left:var(--spacing-md)!important;margin-right:var(--spacing-md)!important}.modern-card,.modern-metric-card{margin-left:var(--spacing-md);margin-right:var(--spacing-md)}}.budget-setup-card{margin-left:var(--spacing-md);margin-right:var(--spacing-md)}@media(max-width:767px){.dashboard-modern .mantine-Paper-root{margin-left:0!important;margin-right:0!important}.modern-card,.modern-metric-card,.budget-setup-card{margin-left:0;margin-right:0}.modern-grid-2,.modern-grid-3{grid-template-columns:1fr;gap:var(--spacing-md)}}.ai-insights-container{background:#ffe77414;border-radius:16px;padding:0;border:2px solid rgba(255,231,116,.25);position:relative;overflow:hidden;box-shadow:0 4px 12px #ffe77426}@media(min-width:768px){.ai-insights-container{padding:20px 0}}@media(max-width:767px){.dashboard-modern>div:first-child{display:none!important}}@media(max-width:767px){*{scrollbar-width:none;-ms-overflow-style:none}*::-webkit-scrollbar{display:none}html,body{overscroll-behavior:none;-webkit-overflow-scrolling:touch}.app-main,.dashboard-modern,.modern-page{overscroll-behavior:auto;-webkit-overflow-scrolling:touch}}@media(min-width:768px){*{scrollbar-width:none;-ms-overflow-style:none}*::-webkit-scrollbar{display:none}}@media(max-width:767px){*{-webkit-tap-highlight-color:transparent;-webkit-overflow-scrolling:touch}button,.app-header-nav-item,.app-footer-nav-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}button,.app-footer-nav-item,.app-header-nav-item{min-height:44px;transition:transform .1s ease,opacity .1s ease}input,textarea,select{font-size:16px}.app-main{scroll-behavior:smooth}}.ai-chat-consent-buttons{display:flex;gap:var(--spacing-sm);margin-top:var(--spacing-sm);flex-wrap:wrap}.ai-chat-consent-button{display:flex;align-items:center;gap:var(--spacing-xs);padding:var(--spacing-xs) var(--spacing-sm);border:none;border-radius:var(--radius-md);font-size:var(--font-size-xs);font-weight:500;cursor:pointer;transition:var(--transition-default);min-height:32px;white-space:nowrap}.ai-chat-consent-button.grant{background:var(--color-success);color:#fff}.ai-chat-consent-button.grant:hover:not(:disabled){background:#22c55e;transform:translateY(-1px)}.ai-chat-consent-button.deny{background:var(--color-error);color:#fff}.ai-chat-consent-button.deny:hover:not(:disabled){background:#ef4444;transform:translateY(-1px)}.ai-chat-consent-button:disabled{opacity:.6;cursor:not-allowed;transform:none}@media(max-width:480px){.ai-chat-consent-buttons{flex-direction:column;gap:var(--spacing-xs)}.ai-chat-consent-button{justify-content:center;min-height:40px}}@media(max-width:1023px){.profile-content-container{padding:0 var(--spacing-sm)}.profile-user-email{font-size:var(--font-size-sm)}}@media(max-width:767px){.profile-user-email{font-size:var(--font-size-xs)}}.ai-chat-streaming-cursor{display:inline-block;width:2px;height:1.2em;background:var(--color-black);margin-left:2px;animation:blink 1s infinite}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.allocation-responsive-container{display:flex;align-items:center;gap:var(--spacing-lg);margin-bottom:var(--spacing-lg)}@media(max-width:767px){.allocation-responsive-container{flex-direction:column;align-items:stretch}.allocation-responsive-container>div:last-child{width:100%}}@keyframes slideInFromBottom{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.chat-page{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--color-white);z-index:100;display:flex;flex-direction:column;overflow:hidden;animation:slideInFromRight .3s cubic-bezier(.4,0,.2,1)}@media(max-width:1023px){.chat-page{animation:slideInFromBottom .3s cubic-bezier(.4,0,.2,1)}}.chat-page-container{width:100%;height:100%;display:flex;flex-direction:column;background:var(--color-white);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);animation:fadeIn .4s ease-in .1s both}.chat-page-header{display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-lg) var(--spacing-xl);padding-top:calc(var(--spacing-lg) + env(safe-area-inset-top));background:var(--color-white);border-radius:0 0 var(--radius-lg) var(--radius-lg);border-bottom:1px solid rgba(0,0,0,.1);flex-shrink:0;animation:fadeIn .3s ease-out .2s both}.chat-page-menu-button,.chat-page-close-button{background:none;border:none;color:var(--color-gray);cursor:pointer;padding:0;border-radius:var(--radius-md);transition:var(--transition-default);display:flex;align-items:center;justify-content:center;font-size:var(--font-size-lg);font-weight:400;line-height:1;width:32px;height:32px;min-width:32px;min-height:32px;flex-shrink:0}@media(hover:hover){.chat-page-menu-button:hover,.chat-page-close-button:hover{background:#0000000d;color:var(--color-black)}}.chat-page-header-title{display:flex;align-items:baseline;gap:0;color:var(--color-black);font-size:var(--font-size-lg);font-weight:600;flex:1;justify-content:center}.chat-history-loading-banner{background:#ffe7741a;border-bottom:1px solid rgba(255,231,116,.3);padding:.75rem 1rem;display:flex;justify-content:center;align-items:center}.chat-history-loading-content{display:flex;align-items:center;gap:.625rem;font-size:.813rem;color:var(--color-gray);font-weight:500}.chat-history-loading-spinner{width:14px;height:14px;border:2px solid var(--color-border);border-top-color:var(--color-brand-yellow);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.chat-page-error{padding:var(--spacing-md) var(--spacing-xl);background:#fee;border-left:4px solid #f56565;margin:var(--spacing-sm) var(--spacing-lg);border-radius:var(--radius-md);flex-shrink:0}.chat-page-error p{color:#c53030;font-size:var(--font-size-sm);margin:0;font-weight:500}.chat-page-messages{flex:1;overflow-y:auto;overflow-x:hidden;padding:var(--spacing-md);display:flex;flex-direction:column;gap:var(--spacing-xs);min-height:0;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.chat-page-message{display:flex;align-items:flex-end;gap:var(--spacing-sm);flex-shrink:0;width:100%;position:relative;z-index:1}.chat-page-message.user{justify-content:flex-end}.chat-page-message.ai{justify-content:flex-start;flex-direction:row}.chat-page-avatar{width:32px;height:32px;border-radius:50%;display:none;align-items:center;justify-content:center;font-size:var(--font-size-xs);font-weight:600;letter-spacing:.5px;flex-shrink:0}.chat-page-bubble{max-width:90%;padding:var(--spacing-xs) var(--spacing-md) calc(var(--spacing-xs) * .5) var(--spacing-md);border-radius:var(--radius-lg);font-size:var(--font-size-sm);line-height:1.5;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;box-shadow:var(--shadow-sm);text-align:left;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;background:var(--color-white);color:var(--color-black);position:relative;z-index:2;animation:messageSlideIn .2s ease-out forwards}.chat-page-message.user .chat-page-bubble{background:var(--color-border);color:var(--color-black);border-bottom-right-radius:var(--radius-sm);font-size:.9375rem;font-weight:500;line-height:1.6}.chat-page-message.ai .chat-page-bubble{background:transparent;color:var(--color-black);border-bottom-left-radius:var(--radius-sm);align-items:flex-start;box-shadow:none;padding-left:0;font-size:.9375rem;font-weight:500;line-height:1.6;max-width:100%;width:100%}.chat-page-bubble p{color:inherit!important;font-size:inherit!important;line-height:1.5!important;margin:0 0 6px!important}.chat-page-bubble *{color:inherit}.chat-page-loading-state{opacity:.9}.chat-page-status-indicator{display:flex;align-items:center;gap:var(--spacing-xs);padding:0;background:transparent;color:var(--color-gray);font-size:var(--font-size-xs);font-weight:500}.chat-page-streaming-status-line{padding-left:0;margin-top:calc(var(--spacing-xs) * -.5);margin-bottom:var(--spacing-xs);opacity:.8}.chat-page-feedback-container{display:flex;align-items:center;justify-content:space-between;gap:var(--spacing-sm);margin-top:calc(var(--spacing-xs) * -1);padding-left:0;position:relative;z-index:3}.chat-page-feedback-buttons{display:flex;gap:var(--spacing-xs)}.chat-page-feedback-button{background:none;border:none;color:var(--color-gray);cursor:pointer;padding:var(--spacing-xs);border-radius:var(--radius-sm);transition:var(--transition-default);display:flex;align-items:center;justify-content:center}@media(hover:hover){.chat-page-feedback-button:hover{background:#0000000d}}.chat-page-feedback-button.selected{color:var(--color-black)}.chat-page-branding{color:var(--color-gray);opacity:.5;display:flex;align-items:center}.chat-page-input-form{padding:var(--spacing-md) var(--spacing-lg);padding-bottom:calc(var(--spacing-md) + env(safe-area-inset-bottom,0px));background:var(--color-white);flex-shrink:0;z-index:10}.chat-page-input-container{display:flex;gap:0;align-items:center;max-width:800px;margin:0 auto;background:var(--color-winter-white);border-radius:24px;padding:var(--spacing-xs) var(--spacing-xs) var(--spacing-xs) var(--spacing-md);border:1px solid var(--color-border)}.chat-page-input{flex:1;padding:var(--spacing-xs) 0;border:none;border-radius:0;font-size:14px;font-family:var(--font-body);font-weight:400;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;resize:none;min-height:36px;max-height:120px;overflow-y:auto;background:transparent;color:var(--color-black);transition:var(--transition-default)}.chat-page-input:focus{outline:none}.chat-page-input:disabled{background:transparent;cursor:not-allowed;opacity:.7}.chat-page-send-button{background:transparent;color:var(--color-black);border:none;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--transition-default);flex-shrink:0;align-self:center}@media(hover:hover){.chat-page-send-button:hover:not(:disabled){color:var(--color-charcoal)}}@media(hover:hover){.chat-page-send-button:active:not(:disabled){transform:scale(.95)}}.chat-page-send-button:disabled{color:var(--color-gray);cursor:not-allowed;opacity:.4}.chat-page-streaming-status{margin-top:var(--spacing-md)}.chat-sample-questions-container{padding:0 var(--spacing-lg) var(--spacing-xs);flex-shrink:0;opacity:1;transition:opacity .3s ease-out;animation:fadeIn .4s ease-out}.chat-sample-questions-fade-out{opacity:0;pointer-events:none}.chat-sample-questions-wrapper{position:relative;max-width:800px;margin:0 auto}.chat-sample-questions-scroll{display:flex;gap:var(--spacing-xs);overflow-x:auto;overflow-y:hidden;padding:2px;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}.chat-sample-questions-scroll::-webkit-scrollbar{display:none}.chat-sample-question-chip{flex-shrink:0;background:var(--color-white);border:1px solid var(--color-border);border-radius:24px;padding:12px 20px;font-family:var(--font-body);font-size:14px;font-weight:500;color:var(--color-black);cursor:pointer;white-space:nowrap;box-shadow:0 1px 3px #0000001a;min-height:44px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}@media(hover:hover){.chat-sample-question-chip:active{transform:scale(.97)}}@media(max-width:767px){.chat-sample-questions-container{padding:0 var(--spacing-md) var(--spacing-xs)}.chat-sample-question-chip{padding:14px 22px;min-height:48px}}.chat-sample-questions-arrow{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:var(--color-white);border:1px solid var(--color-border);box-shadow:0 2px 8px #00000026;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;color:var(--color-text);pointer-events:auto}@media(hover:hover){.chat-sample-questions-arrow:active{transform:translateY(-50%) scale(.95)}}.chat-sample-questions-arrow-left{left:-16px}.chat-sample-questions-arrow-right{right:-16px}@media(max-width:767px){.chat-sample-questions-arrow{display:none}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.ai-insights-questions-scroll::-webkit-scrollbar{display:none}.chat-markdown-h1{font-size:1.25rem;font-weight:600;margin-bottom:8px;color:var(--color-black)}.chat-markdown-h2{font-size:1.1rem;font-weight:600;margin-bottom:6px;color:var(--color-black)}.chat-markdown-h3{font-size:1rem;font-weight:600;margin-bottom:4px;color:var(--color-charcoal)}.chat-markdown-paragraph{margin-bottom:6px;line-height:1.5}.chat-markdown-list,.chat-markdown-ordered-list{margin-bottom:8px;padding-left:16px}.chat-markdown-list-item{margin-bottom:2px;line-height:1.5;font-size:14px}.chat-markdown-strong{font-weight:600;color:var(--color-black)}.chat-markdown-em{font-style:italic;color:var(--color-gray)}.chat-markdown-inline-code{background-color:var(--color-winter-white);padding:2px 4px;border-radius:3px;font-size:13px}.chat-markdown-link{color:var(--color-primary, #3b82f6);text-decoration:underline;text-underline-offset:2px}.chat-markdown-link:hover{opacity:.8}.chat-chart-container{margin:16px 0;padding:20px;background:var(--color-winter-white);border-radius:12px;border:1px solid var(--color-border);width:100%;min-width:300px;box-sizing:border-box}.chat-chart-title{font-size:15px;font-weight:600;color:var(--color-black);margin-bottom:16px;text-align:center}.chat-chart-wrapper{width:100%;min-height:250px}.chat-chart-loading{height:180px;padding:16px;margin:16px 0}.chat-chart-loading-skeleton{width:100%;height:100%;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:chartShimmer 1.5s infinite;border-radius:8px}@keyframes chartShimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.chat-chart-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;justify-content:center}.chat-chart-legend-item{display:flex;align-items:center;gap:6px;font-size:12px}.chat-chart-legend-color{width:12px;height:12px;border-radius:3px;flex-shrink:0}.chat-chart-legend-label{color:var(--color-gray)}.chat-chart-legend-value{color:var(--color-black);font-weight:500}@media(max-width:768px){.chat-chart-container{padding:12px;margin:12px 0}.chat-chart-legend{gap:8px}.chat-chart-legend-item{font-size:11px}}.chat-history-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:9998;animation:fadeIn .2s ease-out}.chat-history-sidebar{position:fixed;top:0;left:0;bottom:0;width:320px;max-width:85vw;background:var(--color-white);z-index:9999;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:2px 0 12px #0000001a}.chat-history-sidebar.open{transform:translate(0)}.chat-history{width:100%;height:100%;display:flex;flex-direction:column;background:var(--color-white)}.chat-history-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid var(--color-border)}.chat-history-logo{margin-top:env(safe-area-inset-top)}.chat-history-new-button-small{display:flex;align-items:center;justify-content:center;padding:.5rem;margin-top:env(safe-area-inset-top);background:transparent;color:var(--color-gray);border:none;border-radius:50%;cursor:pointer;transition:all .15s ease}@media(hover:hover){.chat-history-new-button-small:hover{background:var(--color-background-light)}}.chat-history-recents-label{padding:.75rem 1rem .5rem;font-size:.75rem;font-weight:500;color:#999;text-transform:uppercase;letter-spacing:.05em}.chat-history-list{flex:1;overflow-y:auto;padding:.5rem}.chat-history-loading,.chat-history-error{text-align:center;padding:2rem 1rem;color:var(--color-gray);font-size:.813rem}.chat-history-error{color:var(--color-error)}.chat-history-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1.5rem;text-align:center;color:var(--color-gray)}.chat-history-empty svg{margin-bottom:.75rem;opacity:.2}.chat-history-empty p{margin:.25rem 0;font-size:.875rem;font-weight:500;color:var(--color-black)}.chat-history-empty-subtitle{font-size:.75rem!important;color:var(--color-gray)!important;font-weight:400!important;margin-top:.25rem!important}.chat-history-item-wrapper{position:relative;margin-bottom:.5rem}.chat-history-item{width:100%;padding:.75rem 2.5rem .75rem .75rem;background:var(--color-white);border:none;border-radius:10px;cursor:pointer;transition:all .15s ease;text-align:left}@media(hover:hover){.chat-history-item:hover{background:var(--color-background-light);box-shadow:0 1px 3px #0000000a}.chat-history-item:active{transform:scale(.98)}}.chat-history-delete-button{position:absolute;right:.625rem;top:50%;transform:translateY(-50%);background:transparent;border:none;color:var(--color-gray);cursor:pointer;padding:.375rem;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .15s ease;opacity:0}@media(hover:hover){.chat-history-item-wrapper:hover .chat-history-delete-button{opacity:1}.chat-history-delete-button:hover{background:#ef444414;color:#dc2626}}.chat-history-options-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0006;z-index:10000;animation:fadeIn .2s ease-out}.chat-history-options-menu{position:fixed;bottom:0;left:0;right:0;background:var(--color-white);border-radius:16px 16px 0 0;z-index:10001;padding:1rem;animation:slideInFromBottom .3s cubic-bezier(.4,0,.2,1);box-shadow:0 -4px 20px #0000001a}.chat-history-options-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.chat-history-options-header h3{font-size:.938rem;font-weight:500;color:var(--color-black);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.chat-history-options-close{background:transparent;border:none;color:var(--color-gray);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center}.chat-history-delete-confirmation{margin-bottom:1rem}.chat-history-delete-confirmation p{margin:0 0 .5rem;font-size:.875rem;color:var(--color-gray);line-height:1.5}.chat-history-delete-warning{font-size:.813rem!important;color:#dc3545!important;font-weight:500}.chat-history-options-actions{display:flex;flex-direction:column;gap:.5rem}.chat-history-option-button{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.875rem 1rem;background:var(--color-white);border:1px solid var(--color-border);border-radius:8px;font-size:.875rem;font-weight:400;color:#666;cursor:pointer;transition:all .15s ease;width:100%;text-align:center}@media(hover:hover){.chat-history-option-button:active{transform:scale(.98);background:var(--color-background-light)}}.chat-history-option-button.delete{color:#b91c1c;border-color:#b91c1c33}@media(hover:hover){.chat-history-option-button.delete:active{background:#b91c1c0a}}.chat-history-option-button.cancel{background:transparent;border:none;justify-content:center;color:var(--color-gray);margin-top:.25rem}.chat-history-rename-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--color-white);border-radius:12px;z-index:10001;padding:1.5rem;width:90%;max-width:400px;animation:fadeIn .2s ease-out;box-shadow:0 8px 32px #0000001f}.chat-history-rename-dialog h3{font-size:1rem;font-weight:500;color:var(--color-black);margin:0 0 1rem}.chat-history-rename-input{width:100%;padding:.75rem;border:1px solid var(--color-border);border-radius:8px;font-size:.875rem;font-family:inherit;margin-bottom:1rem}.chat-history-rename-input:focus{outline:none;border-color:#999}.chat-history-rename-actions{display:flex;gap:.75rem;justify-content:flex-end}.chat-history-rename-cancel,.chat-history-rename-submit{padding:.625rem 1.25rem;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease}.chat-history-rename-cancel{background:transparent;border:1px solid var(--color-border);color:var(--color-black)}@media(hover:hover){.chat-history-rename-cancel:hover{background:var(--color-background-light)}}.chat-history-rename-submit{background:var(--color-black);border:none;color:var(--color-white)}@media(hover:hover){.chat-history-rename-submit:hover{background:#333}}@keyframes slideInFromBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.chat-history-item-content{display:flex;flex-direction:column;gap:.375rem}.chat-history-item-preview{font-size:.813rem;font-weight:400;color:var(--color-black);line-height:1.35;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;letter-spacing:-.01em}.chat-history-item-meta{display:flex;align-items:center;gap:.5rem;font-size:.688rem;color:var(--color-gray)}.chat-history-item-date:after{content:"•";margin-left:.5rem;color:var(--color-border)}.chat-history-item-date,.chat-history-item-count{display:flex;align-items:center}@media(max-width:1023px){.chat-page-header{padding:var(--spacing-lg)}.chat-page-messages{padding:var(--spacing-md)}.chat-page-input-form{padding:var(--spacing-sm) var(--spacing-md)}.chat-history-sidebar{width:280px;max-width:85vw}.chat-history-header{padding:1rem .875rem}.chat-history-title{font-size:1rem}.chat-history-new-chat-section{padding:.625rem .875rem}.chat-history-new-button{padding:.563rem .875rem;font-size:.813rem}.chat-history-list{padding:.375rem}.chat-history-item{padding:.625rem;margin-bottom:.375rem}.chat-history-item-preview{font-size:.75rem}.chat-history-delete-button{display:none}.chat-history-item{padding-right:.75rem}}.holding-card{transition:transform .2s ease,box-shadow .2s ease}.holding-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.holding-card:active{transform:translateY(0)}@keyframes slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutToRight{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}@keyframes expandCategory{0%{max-height:0;opacity:0}to{max-height:1000px;opacity:1}}@keyframes collapseCategory{0%{max-height:1000px;opacity:1}to{max-height:0;opacity:0}}@media(max-width:768px){.holding-card:active,button:active{opacity:.8}}
