.shared-button{width:100%;padding:12px 16px;font-size:14px;font-weight:600;border:none;border-radius:12px;cursor:pointer;transition:all .2s ease;font-family:inherit;box-shadow:var(--shadow-md)}.shared-button--primary{background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-secondary) 100%);color:#fff}.shared-button--primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--shadow-lg)}.shared-button--primary:active:not(:disabled){transform:translateY(0);box-shadow:var(--shadow-md)}.shared-button--secondary{background:transparent;color:var(--color-primary);border:2px solid var(--color-border)}.shared-button--secondary:hover:not(:disabled){background:var(--color-bg-secondary);transform:translateY(-2px);box-shadow:var(--shadow-lg)}.shared-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.shared-input-group{display:flex;flex-direction:column;gap:8px;width:100%}.shared-input-label{font-size:14px;font-weight:600;color:var(--color-text);display:block}.shared-input-required{color:var(--color-error);margin-left:4px}.shared-input-wrapper{position:relative;width:100%}.shared-input{width:100%;padding:12px 16px;font-size:14px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-bg);color:var(--color-text);transition:all .2s ease;font-family:inherit;outline:none}.shared-input::placeholder{color:var(--color-text-tertiary)}.shared-input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px #3b82f61a}.shared-input--error{border-color:var(--color-error)}.shared-input--error:focus{border-color:var(--color-error);box-shadow:0 0 0 3px #ef44441a}.shared-input-error-message{font-size:12px;color:var(--color-error);margin-top:4px}.shared-input-password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:transparent;border:none;cursor:pointer;font-size:18px;padding:4px;opacity:.6;transition:opacity .2s ease;line-height:1}.shared-input-password-toggle:hover{opacity:1}.shared-input-password-toggle:focus{outline:none}.shared-input-wrapper .shared-input[type=password],.shared-input-wrapper .shared-input[type=text]{padding-right:48px}.shared-input:disabled{opacity:.6;cursor:not-allowed}.shared-logo{border-radius:16px;filter:drop-shadow(0 10px 15px rgb(0 0 0 / .1));object-fit:cover}.shared-logo--small{width:60px;height:60px;border-radius:12px}.shared-logo--medium{width:120px;height:120px;border-radius:24px}.shared-logo--large{width:180px;height:180px;border-radius:30px}.shared-tab-switcher{display:flex;gap:0;background:var(--color-bg);border-radius:12px;padding:4px;margin-bottom:24px}.shared-tab{flex:1;padding:10px 16px;background:transparent;border:none;border-radius:10px;font-size:14px;font-weight:600;color:var(--color-text-secondary);cursor:pointer;transition:all .2s ease;font-family:inherit}.shared-tab:hover:not(.shared-tab--active){color:var(--color-text)}.shared-tab--active{background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-secondary) 100%);color:#fff;box-shadow:var(--shadow-md)}.shared-tab:focus{outline:none}.shared-tab:disabled{cursor:not-allowed;opacity:.6}.shared-password-strength{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem}.shared-password-strength__bar-container{height:4px;background:#e5e7eb;border-radius:2px;overflow:hidden}.shared-password-strength__bar{height:100%;transition:all .3s ease;border-radius:2px}.shared-password-strength__label{font-size:.875rem;font-weight:500;transition:color .3s ease}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.6;font-weight:400;--color-primary: #3b82f6;--color-primary-dark: #2563eb;--color-primary-light: #60a5fa;--color-secondary: #a855f7;--color-accent: #d946ef;--color-success: #10b981;--color-warning: #f59e0b;--color-error: #ef4444;--color-bg: #f8fafc;--color-bg-secondary: #ffffff;--color-surface: #ffffff;--color-border: #e2e8f0;--color-text: #1e293b;--color-text-secondary: #64748b;--color-text-tertiary: #94a3b8;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(prefers-color-scheme:dark){:root{--color-bg: #0f172a;--color-bg-secondary: #1e293b;--color-surface: #1e293b;--color-border: #334155;--color-text: #f1f5f9;--color-text-secondary: #cbd5e1;--color-text-tertiary: #94a3b8}}*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;width:100%;overflow:hidden;margin:0;padding:0}body{margin:0;padding:0;background:var(--color-bg);color:var(--color-text)}#root{height:100vh;width:100vw;background:var(--color-bg)}.loading-container{display:flex;justify-content:center;align-items:center;height:100vh;font-size:1.5rem;color:var(--color-text-secondary)}.loading-spinner{animation:pulse 1.5s ease-in-out infinite}.ape-tabs-container{width:100%;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.02));border-bottom:1px solid rgba(255,255,255,.1);padding:0 20px}.ape-tabs{display:flex;gap:8px;max-width:1200px;margin:0 auto;padding:12px 0 0;overflow-x:auto;scrollbar-width:none}.ape-tabs::-webkit-scrollbar{display:none}.ape-tab{display:flex;align-items:center;gap:8px;padding:10px 20px;background:transparent;border:none;border-radius:12px 12px 0 0;cursor:pointer;transition:all .3s ease;position:relative;white-space:nowrap;color:var(--text-tertiary);font-size:14px;font-weight:500}.ape-tab:before{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--tab-color);transform:scaleX(0);transition:transform .3s ease}.ape-tab:hover{background:#ffffff0d;color:var(--text-secondary)}.ape-tab.active{background:linear-gradient(to bottom,#ffffff14,#ffffff08);color:var(--text-primary)}.ape-tab.active:before{transform:scaleX(1)}.ape-tab-icon{font-size:18px;display:flex;align-items:center;justify-content:center}.ape-tab-name{font-weight:600}@media(prefers-color-scheme:dark){.ape-tabs-container{background:linear-gradient(to bottom,transparent,rgba(255,255,255,.02));border-bottom-color:#ffffff1a}.ape-tab:hover{background:#ffffff14}.ape-tab.active{background:linear-gradient(to bottom,#ffffff1a,#ffffff0d)}}@media(max-width:768px){.ape-tabs{padding:8px 0 0;gap:4px}.ape-tab{padding:8px 16px;font-size:13px}.ape-tab-icon{font-size:16px}}.app-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:#0f172af2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.1);position:fixed;top:0;left:0;right:0;z-index:1000;height:80px}.app-header-left{display:flex;align-items:center;gap:1rem;flex:0 0 auto}.app-header-logo{width:48px;height:48px;border-radius:50%}.app-header-text{display:flex;flex-direction:column}.app-header-title{font-size:1.5rem;font-weight:700;background:linear-gradient(135deg,#10b981,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0;line-height:1.2}.app-header-subtitle{font-size:.875rem;color:#fff9;margin:0;line-height:1.2}.app-header-center{flex:1;display:flex;justify-content:center;max-width:600px;margin:0 auto}.app-header-right{flex:0 0 auto}@media(max-width:768px){.app-header{padding:.75rem 1rem;height:auto;flex-wrap:wrap}.app-header-center{order:3;width:100%;margin-top:.5rem}.app-header-subtitle{display:none}}.side-nav{position:fixed;left:0;top:80px;bottom:0;background:#0f172af2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-right:1px solid rgba(255,255,255,.1);transition:width .3s ease;z-index:900;display:flex;flex-direction:column}.side-nav.expanded{width:240px}.side-nav.collapsed{width:60px}.side-nav-toggle{position:absolute;top:1rem;left:50%;transform:translate(-50%);width:36px;height:36px;background:#1e293bcc;border:1px solid rgba(255,255,255,.1);border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;z-index:10;padding:0}.side-nav-toggle:hover{background:#334155e6;border-color:#fff3}.hamburger-icon{display:flex;flex-direction:column;gap:4px;width:20px;height:14px;position:relative}.hamburger-icon span{display:block;width:100%;height:2px;background:#fffc;border-radius:2px;transition:background .2s ease}.side-nav-toggle:hover .hamburger-icon span{background:#fff}.side-nav-items{display:flex;flex-direction:column;gap:.5rem;padding:3rem .75rem 1rem;overflow-y:auto}.side-nav-item{display:flex;align-items:center;gap:1rem;padding:.875rem;background:transparent;border:1px solid transparent;border-radius:.5rem;color:#ffffffb3;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s;text-align:left;white-space:nowrap;overflow:hidden}.side-nav.collapsed .side-nav-item{justify-content:center;padding:.875rem .5rem}.side-nav-item:hover{background:#ffffff0d;border-color:#ffffff1a;color:#ffffffe6}.side-nav-item.active{background:#3b82f626;border-color:#3b82f64d;color:#3b82f6}.side-nav-icon{font-size:1.25rem;flex-shrink:0;width:24px;text-align:center}.side-nav-label{flex:1;overflow:hidden;text-overflow:ellipsis}.side-nav.collapsed .side-nav-label{display:none}.side-nav-items::-webkit-scrollbar{width:4px}.side-nav-items::-webkit-scrollbar-track{background:transparent}.side-nav-items::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:2px}.side-nav-items::-webkit-scrollbar-thumb:hover{background:#fff3}.side-nav-profile{margin-top:auto;padding:.75rem;border-top:1px solid rgba(255,255,255,.1);position:relative}.side-nav-profile-button{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem;background:transparent;border:1px solid transparent;border-radius:.5rem;color:#ffffffe6;cursor:pointer;transition:all .2s}.side-nav.collapsed .side-nav-profile-button{justify-content:center;padding:.75rem .5rem}.side-nav-profile-button:hover{background:#ffffff0d;border-color:#ffffff1a}.side-nav-profile-button.active{background:#ffffff14;border-color:#ffffff26}.side-nav-profile-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#a855f7);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex-shrink:0}.side-nav-profile-info{flex:1;text-align:left;overflow:hidden}.side-nav-profile-name{font-size:.875rem;font-weight:500;color:#ffffffe6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-nav-profile-arrow{font-size:10px;color:#ffffff80;transition:transform .2s;flex-shrink:0}.side-nav-profile-arrow.open{transform:rotate(180deg)}.side-nav-profile-menu{position:absolute;bottom:100%;left:.75rem;right:.75rem;margin-bottom:.5rem;background:#1e293bfa;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:.5rem;box-shadow:0 10px 15px -3px #0000004d,0 4px 6px -4px #0003;overflow:hidden;z-index:1000}.side-nav.collapsed .side-nav-profile-menu{left:calc(100% + .5rem);right:auto;bottom:.75rem;min-width:200px}.side-nav-profile-menu-header{padding:.75rem;border-bottom:1px solid rgba(255,255,255,.1);background:#0f172a80}.side-nav-profile-menu-email{font-size:.8125rem;font-weight:500;color:#ffffffe6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-nav-profile-menu-items{padding:.25rem 0}.side-nav-profile-menu-item{width:100%;padding:.625rem .75rem;background:transparent;border:none;cursor:pointer;display:flex;align-items:center;gap:.75rem;font-size:.875rem;color:#ffffffe6;transition:all .2s;text-align:left}.side-nav-profile-menu-item:hover{background:#ffffff0d}.side-nav-profile-menu-item.danger{color:#ef4444}.side-nav-profile-menu-item.danger:hover{background:#ef44441a}.side-nav-profile-menu-icon{font-size:1rem;flex-shrink:0}@media(max-width:768px){.side-nav{top:120px}.side-nav.expanded{width:200px}.side-nav.collapsed{width:50px}}.integrations-container{flex:1}.integrations-section{margin-bottom:1.5rem}.integrations-section-title{font-size:1.25rem;font-weight:600;color:#fffffff2;margin:0 0 .25rem}.integrations-section-description{font-size:.875rem;color:#fff9;margin:0}.integrations-cards-container{display:flex;flex-direction:column;gap:1rem}.integration-card{background:#1e293b80;border:1px solid rgba(255,255,255,.1);border-radius:.75rem;padding:1rem;transition:all .2s}.integration-card:hover{background:#1e293bb3;border-color:#ffffff26}.integration-card-header{display:flex;align-items:center;margin-bottom:.75rem}.integration-icon-container{width:48px;height:48px;border-radius:50%;display:flex;justify-content:center;align-items:center;margin-right:.75rem;flex-shrink:0}.integration-card-title-container{flex:1}.integration-card-title{font-size:1rem;font-weight:600;color:#fffffff2;margin:0 0 .25rem}.integration-card-description{font-size:.8125rem;color:#fff9;margin:0}.integration-connected-badge{display:flex;align-items:center;gap:.25rem;background:#10b98126;padding:.25rem .5rem;border-radius:.75rem;border:1px solid rgba(16,185,129,.3)}.integration-connected-text{font-size:.75rem;font-weight:500;color:#10b981}.integration-card-actions{margin-top:.5rem}.integration-connect-button{background:#3b82f6;padding:.625rem 1rem;border-radius:.5rem;color:#fff;font-size:.875rem;font-weight:600;border:none;cursor:pointer;width:100%;transition:all .2s}.integration-connect-button:hover{background:#2563eb}.integration-disconnect-button{background:#ef44441a;padding:.625rem 1rem;border-radius:.5rem;color:#ef4444;font-size:.875rem;font-weight:600;border:1px solid rgba(239,68,68,.2);cursor:pointer;width:100%;transition:all .2s}.integration-disconnect-button:hover{background:#ef444433;border-color:#ef44444d}.integration-loading-text{color:#3b82f6;font-size:.875rem;text-align:center;padding:.625rem}.integration-apple-health-note{display:flex;align-items:center;gap:.375rem;background:#33415580;padding:.625rem;border-radius:.5rem;margin-top:.5rem;border:1px solid rgba(255,255,255,.05)}.integration-apple-health-note-text{font-size:.75rem;color:#fff9;flex:1}.plaid-bank-card{border-left:3px solid #3b82f6}.plaid-bank-actions{display:flex;gap:.5rem}.integration-sync-button{background:#3b82f61a;padding:.625rem 1rem;border-radius:.5rem;color:#3b82f6;font-size:.875rem;font-weight:600;border:1px solid rgba(59,130,246,.2);cursor:pointer;flex:1;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.375rem}.integration-sync-button:hover:not(:disabled){background:#3b82f633;border-color:#3b82f64d}.integration-sync-button:disabled{opacity:.5;cursor:not-allowed}.plaid-bank-actions .integration-disconnect-button{flex:1}.integration-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1rem;background:#1e293b4d;border:1px dashed rgba(255,255,255,.2);border-radius:.75rem;gap:.75rem}.integration-empty-text{font-size:.875rem;color:#fff9;margin:0;text-align:center}.integration-info-card{background:#3b82f60d;border-color:#3b82f633}.integration-info-card:hover{background:#3b82f614}.profile-tab-container{flex:1}.profile-tab-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:3rem 1.25rem}.profile-tab-loading-text{margin-top:.75rem;font-size:.875rem;color:#fff9}.profile-tab-section{margin-bottom:1.5rem}.profile-tab-section-title{font-size:1.25rem;font-weight:600;color:#fffffff2;margin:0 0 .25rem}.profile-tab-section-description{font-size:.875rem;color:#fff9;margin:0}.profile-tab-form-container{background:#1e293b80;border:1px solid rgba(255,255,255,.1);border-radius:.75rem;padding:1.25rem}.profile-tab-input-group{margin-bottom:1rem}.profile-tab-label{display:block;font-size:.875rem;font-weight:500;color:#fffc;margin-bottom:.375rem}.profile-tab-input{width:100%;background:#0f172a99;border:1px solid rgba(255,255,255,.1);border-radius:.5rem;padding:.625rem .75rem;font-size:.9375rem;color:#fffffff2;box-sizing:border-box;transition:all .2s}.profile-tab-input:focus{outline:none;border-color:#3b82f6;background:#0f172acc}.profile-tab-input::placeholder{color:#fff6}.profile-tab-textarea{min-height:100px;resize:vertical;font-family:inherit}.profile-tab-bmi-container{background:#0f172a99;border-radius:.5rem;padding:.75rem;margin-bottom:1rem;border:1px solid rgba(255,255,255,.1)}.profile-tab-bmi-header{display:flex;align-items:center;margin-bottom:.5rem}.profile-tab-bmi-title{font-size:.875rem;font-weight:500;color:#ffffffb3;margin-left:.375rem}.profile-tab-bmi-content{display:flex;align-items:center;justify-content:space-between}.profile-tab-bmi-value{font-size:1.5rem;font-weight:700;color:#fffffff2}.profile-tab-bmi-category{padding:.375rem .75rem;border-radius:.75rem}.profile-tab-bmi-category-text{font-size:.875rem;font-weight:600}.profile-tab-save-button{background:#3b82f6;display:flex;align-items:center;justify-content:center;gap:.375rem;padding:.75rem;border-radius:.5rem;margin-top:.5rem;color:#fff;font-size:1rem;font-weight:600;border:none;cursor:pointer;width:100%;transition:all .2s}.profile-tab-save-button:hover:not(:disabled){background:#2563eb}.profile-tab-save-button:disabled{background:#6b728080;cursor:not-allowed;opacity:.6}.settings-modal-overlay{position:fixed;inset:0;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;padding:2rem}.settings-modal{background:#0f172afa;border:1px solid rgba(255,255,255,.1);border-radius:1rem;box-shadow:0 20px 25px -5px #0000004d,0 8px 10px -6px #0000004d;width:100%;max-width:900px;max-height:85vh;display:flex;flex-direction:column;overflow:hidden}.settings-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;border-bottom:1px solid rgba(255,255,255,.1);background:#1e293b80}.settings-modal-title{font-size:1.5rem;font-weight:600;color:#fffffff2;margin:0}.settings-modal-close{background:transparent;border:none;color:#ffffffb3;cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;border-radius:.5rem;transition:all .2s}.settings-modal-close:hover{background:#ffffff0d;color:#fffffff2}.settings-modal-content{display:flex;flex:1;overflow:hidden}.settings-modal-tabs{display:flex;flex-direction:column;gap:.25rem;padding:1rem;background:#0f172a80;border-right:1px solid rgba(255,255,255,.1);min-width:200px;overflow-y:auto}.settings-modal-tab{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:transparent;border:1px solid transparent;border-radius:.5rem;color:#ffffffb3;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s;text-align:left}.settings-modal-tab:hover{background:#ffffff0d;border-color:#ffffff1a;color:#ffffffe6}.settings-modal-tab.active{background:#3b82f626;border-color:#3b82f64d;color:#3b82f6}.settings-modal-tab-icon{flex-shrink:0}.settings-modal-tab-label{flex:1}.settings-modal-tab-content{flex:1;padding:2rem;overflow-y:auto;background:#0f172a4d}.settings-tab-placeholder{text-align:center;padding:3rem 2rem}.settings-tab-placeholder h3{font-size:1.25rem;font-weight:600;color:#ffffffe6;margin:0 0 .75rem}.settings-tab-placeholder p{font-size:.95rem;color:#fff9;margin:0}.settings-modal-tabs::-webkit-scrollbar,.settings-modal-tab-content::-webkit-scrollbar{width:6px}.settings-modal-tabs::-webkit-scrollbar-track,.settings-modal-tab-content::-webkit-scrollbar-track{background:transparent}.settings-modal-tabs::-webkit-scrollbar-thumb,.settings-modal-tab-content::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.settings-modal-tabs::-webkit-scrollbar-thumb:hover,.settings-modal-tab-content::-webkit-scrollbar-thumb:hover{background:#fff3}@media(max-width:768px){.settings-modal-overlay{padding:1rem}.settings-modal{max-height:90vh}.settings-modal-header{padding:1rem 1.25rem}.settings-modal-title{font-size:1.25rem}.settings-modal-content{flex-direction:column}.settings-modal-tabs{flex-direction:row;min-width:unset;border-right:none;border-bottom:1px solid rgba(255,255,255,.1);overflow-x:auto;padding:.75rem}.settings-modal-tab{white-space:nowrap}.settings-modal-tab-content{padding:1.5rem 1rem}}.app-layout{display:flex;flex-direction:column;height:100vh;width:100vw;overflow:hidden;background-color:#0f172a}.app-main-content{margin-top:80px;height:calc(100vh - 80px);overflow-y:auto;transition:margin-left .3s ease,width .3s ease;position:relative}.app-main-content.sidenav-expanded{margin-left:240px;width:calc(100vw - 240px)}.app-main-content.sidenav-collapsed{margin-left:60px;width:calc(100vw - 60px)}@media(max-width:768px){.app-main-content{margin-top:120px;height:calc(100vh - 120px)}.app-main-content.sidenav-expanded{margin-left:200px;width:calc(100vw - 200px)}.app-main-content.sidenav-collapsed{margin-left:50px;width:calc(100vw - 50px)}}.chat-container{display:flex;flex-direction:column;height:100%;background-color:#0f172a;position:relative;overflow:hidden}.chat-background{position:absolute;inset:0;overflow:hidden;pointer-events:none}.chat-gradient-orb{position:absolute;border-radius:9999px;opacity:.2}.chat-orb-1{width:300px;height:300px;top:-100px;right:-100px;background:linear-gradient(135deg,#3b82f6,#a855f7)}.chat-orb-2{width:250px;height:250px;bottom:100px;left:-50px;background:linear-gradient(135deg,#a855f7,#d946ef)}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background-color:#1e293bcc;border-bottom:1px solid #334155;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:10}.chat-header-left{display:flex;align-items:center;gap:1rem}.chat-logo{width:40px;height:40px;border-radius:50%}.chat-header-text{display:flex;flex-direction:column;gap:2px}.chat-title{font-size:1.25rem;font-weight:700;color:#f1f5f9;margin:0}.chat-subtitle{font-size:.75rem;color:#94a3b8;margin:0}.chat-header-right{display:flex;align-items:center;gap:1rem}.chat-status{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background-color:#10b9811a;border-radius:6px}.chat-status-dot{width:8px;height:8px;border-radius:50%;background-color:#10b981;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.chat-status-text{font-size:.875rem;color:#10b981;font-weight:500}.chat-messages{flex:1;overflow-y:auto;padding:2rem;display:flex;flex-direction:column;gap:1rem;z-index:1}.chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#cbd5e1;text-align:center}.chat-empty-logo{width:100px;height:100px;border-radius:50%;margin-bottom:1rem}.chat-empty-icon{font-size:80px;margin-bottom:1rem;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.chat-empty h2{font-size:1.5rem;font-weight:700;color:#f1f5f9;margin-bottom:.5rem}.chat-empty p{font-size:1rem;color:#cbd5e1}.chat-message{display:flex;gap:1rem;max-width:80%}.chat-user-message{align-self:flex-end;flex-direction:row-reverse}.chat-ai-message{align-self:flex-start}.chat-avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0}.chat-message-content{display:flex;flex-direction:column}.chat-message-text{padding:.75rem 1rem;border-radius:16px;white-space:pre-wrap;word-break:break-word;line-height:1.5}.chat-user-message .chat-message-text{background-color:#3b82f6;color:#fff;border-bottom-right-radius:4px}.chat-ai-message .chat-message-text{background-color:#1e293b;border:1px solid #334155;color:#f1f5f9;border-bottom-left-radius:4px}.chat-loading{align-self:flex-start;display:flex;gap:1rem}.chat-loading-text{padding:.75rem 1rem;border-radius:16px;background-color:#1e293b;border:1px solid #334155;color:#94a3b8;font-style:italic}.chat-input-form{display:flex;gap:.75rem;padding:1rem 2rem;background-color:#1e293be6;border-top:1px solid #334155;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:10}.chat-input{flex:1;padding:.75rem 1rem;background-color:#0f172a;border:1px solid #334155;border-radius:12px;color:#f1f5f9;font-size:1rem;resize:none;max-height:120px;font-family:inherit}.chat-input::placeholder{color:#94a3b8}.chat-input:focus{outline:none;border-color:#3b82f6}.chat-send-button{padding:.75rem 2rem;background:linear-gradient(135deg,#3b82f6,#a855f7);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .2s;white-space:nowrap}.chat-send-button:hover:not(:disabled){opacity:.9}.chat-send-button:disabled{opacity:.5;cursor:not-allowed}.auth-page{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--color-bg);overflow:hidden}.auth-background{position:absolute;inset:0;z-index:0;overflow:hidden}.gradient-orb{position:absolute;border-radius:50%;filter:blur(80px);opacity:.3;animation:float 20s ease-in-out infinite}.orb-1{width:400px;height:400px;background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-secondary) 100%);top:-100px;left:-100px;animation-delay:0s}.orb-2{width:500px;height:500px;background:linear-gradient(135deg,var(--color-secondary) 0%,var(--color-accent) 100%);bottom:-150px;right:-150px;animation-delay:7s}.orb-3{width:350px;height:350px;background:linear-gradient(135deg,var(--color-primary-light) 0%,var(--color-primary) 100%);top:50%;left:50%;transform:translate(-50%,-50%);animation-delay:14s}@keyframes float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(30px,-30px) scale(1.1)}66%{transform:translate(-20px,20px) scale(.9)}}.auth-card{position:relative;z-index:1;width:100%;max-width:450px;background:var(--color-surface);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:24px;padding:40px;box-shadow:var(--shadow-xl);border:1px solid var(--color-border)}.auth-header{text-align:center;margin-bottom:32px}.auth-title{font-size:28px;font-weight:700;margin:0 0 8px;background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-secondary) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.auth-subtitle{font-size:14px;color:var(--color-text-secondary);margin:0}.auth-form{display:flex;flex-direction:column;gap:20px}.auth-form-fields{display:flex;flex-direction:column;gap:20px;min-height:330px}.form-error{padding:12px 16px;background:#fef2f2;border:1px solid #fecaca;color:var(--color-error);border-radius:12px;font-size:14px}.invitation-notice{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;font-size:14px;color:#1e40af}.notice-icon{font-size:18px;flex-shrink:0}.notice-text{line-height:1.5}.auth-field-hidden{display:none}.remember-me-container{display:flex;align-items:center;gap:8px;margin-top:-8px}.remember-me-checkbox{width:16px;height:16px;cursor:pointer;accent-color:var(--color-primary)}.remember-me-label{font-size:14px;color:var(--color-text-primary);cursor:pointer;-webkit-user-select:none;user-select:none}.auth-main-title{font-size:32px;font-weight:700;margin:16px 0 4px;background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-secondary) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.auth-footer-link{text-align:center;font-size:14px;color:var(--color-text-secondary);margin-top:-4px}.auth-link{color:var(--color-primary);cursor:pointer;text-decoration:none;font-weight:500;transition:color .2s}.auth-link:hover{color:var(--color-primary-light);text-decoration:underline}.auth-footer-terms{text-align:center;font-size:12px;color:var(--color-text-secondary);margin-top:8px;line-height:1.5}@media(max-width:640px){.auth-card{margin:20px;padding:32px 24px}.gradient-orb{filter:blur(60px)}}.settings-container{min-height:100vh;background-color:#f9fafb;display:flex;flex-direction:column}.settings-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background-color:#fff;border-bottom:1px solid #E5E7EB}.settings-back-button{padding:8px;background:none;border:none;cursor:pointer;color:#333;display:flex;align-items:center;justify-content:center}.settings-back-button:hover{background-color:#f3f4f6;border-radius:6px}.settings-header-title{font-size:18px;font-weight:600;color:#111827;margin:0}.settings-placeholder{width:40px}.settings-content{flex:1;display:flex;flex-direction:column}.settings-tabs-container{display:flex;background-color:#fff;padding:8px 16px 0;border-bottom:1px solid #E5E7EB}.settings-tab{display:flex;align-items:center;padding:12px 16px;margin-right:8px;border:none;background:none;cursor:pointer;border-bottom:2px solid transparent;color:#666;font-size:14px;font-weight:500}.settings-tab:hover{background-color:#f9fafb}.settings-tab-active{border-bottom-color:#4f46e5;color:#4f46e5;font-weight:600}.settings-tab-icon{margin-right:6px}.settings-tab-label{font-size:14px}.settings-tab-content{flex:1;background-color:#f9fafb;overflow-y:auto}.health-container{min-height:100vh;background-color:#0f172a;position:relative;display:flex;flex-direction:column}.health-background{position:absolute;inset:0;overflow:hidden;pointer-events:none}.health-gradient-orb{position:absolute;border-radius:9999px;opacity:.3}.health-orb-1{width:300px;height:300px;top:-100px;left:-100px;background:linear-gradient(135deg,#3b82f6,#a855f7)}.health-orb-2{width:350px;height:350px;bottom:-150px;right:-150px;background:linear-gradient(135deg,#a855f7,#d946ef)}.health-header{position:relative;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background-color:#1e293bcc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(51,65,85,.5);z-index:10}.health-back-button{padding:8px;background:none;border:none;cursor:pointer;color:#f1f5f9;display:flex;align-items:center;justify-content:center}.health-back-button:hover{background-color:#33415580;border-radius:6px}.health-header-title{font-size:18px;font-weight:600;color:#f1f5f9;margin:0}.health-placeholder{width:40px}.health-scroll-content{position:relative;flex:1;padding:60px 20px 20px;overflow-y:auto;z-index:1}.health-title-section{margin-bottom:24px}.health-title{font-size:32px;font-weight:700;color:#f1f5f9;margin:0 0 8px}.health-subtitle{font-size:16px;color:#cbd5e1;margin:0}.health-status-card{background-color:#1e293b;border-radius:12px;padding:16px;margin-bottom:24px;border:1px solid #334155}.health-status-text{font-size:14px;color:#f1f5f9;margin:0 0 8px}.health-last-sync-text{font-size:12px;color:#94a3b8;margin:0}.health-button-group{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.health-button{border-radius:12px;padding:16px;font-size:16px;font-weight:600;color:#fff;border:none;cursor:pointer;transition:opacity .2s}.health-button:disabled{opacity:.5;cursor:not-allowed}.health-button-primary{background:linear-gradient(135deg,#3b82f6,#a855f7)}.health-button-primary:hover:not(:disabled){opacity:.9}.health-button-secondary{background:linear-gradient(135deg,#a855f7,#d946ef)}.health-button-secondary:hover:not(:disabled){opacity:.9}.health-data-grid{display:flex;flex-direction:column;gap:12px}.health-data-card{background-color:#1e293b;border-radius:12px;padding:20px;border:1px solid #334155}.health-data-label{font-size:14px;color:#94a3b8;margin:0 0 8px;text-transform:uppercase;letter-spacing:.5px}.health-data-value{font-size:24px;font-weight:700;color:#f1f5f9;margin:0}.health-error-card{background-color:#fef2f2;border-radius:12px;padding:16px;border:1px solid #fecaca;margin-top:16px}.health-error-text{font-size:14px;color:#ef4444;text-align:center;margin:0}.health-info-card{background-color:#1e293b;border-radius:12px;padding:20px;margin-bottom:16px;border:1px solid #334155}.health-info-title{font-size:16px;font-weight:700;color:#f1f5f9;margin:0 0 12px}.health-info-text{font-size:14px;color:#cbd5e1;line-height:1.5;margin:0}.health-bullet-list{margin:12px 0 0;padding-left:0;list-style:none}.health-bullet-text{font-size:14px;color:#cbd5e1;line-height:1.6;padding-left:8px;position:relative}.health-bullet-text:before{content:"•";position:absolute;left:-8px}.health-settings-button{background:linear-gradient(135deg,#3b82f6,#a855f7);color:#fff;font-size:14px;font-weight:600;padding:10px 16px;border-radius:8px;border:none;cursor:pointer;margin-top:12px;transition:opacity .2s}.health-settings-button:hover{opacity:.9}.add-transaction-modal-overlay{position:fixed;inset:0;background-color:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.add-transaction-modal{background:linear-gradient(135deg,#1e293b,#0f172a);border:1px solid rgba(255,255,255,.1);border-radius:1rem;width:100%;max-width:500px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000080}.add-transaction-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid rgba(255,255,255,.1)}.add-transaction-modal-header h2{font-size:1.5rem;font-weight:700;background:linear-gradient(135deg,#10b981,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}.add-transaction-modal-close{background:none;border:none;color:#fff9;font-size:1.5rem;cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;transition:color .2s}.add-transaction-modal-close:hover{color:#fff}.add-transaction-form{padding:2rem;overflow-y:auto;flex:1}.add-transaction-error{background:#ef44441a;border:1px solid rgba(239,68,68,.3);color:#fca5a5;padding:.75rem 1rem;border-radius:.5rem;margin-bottom:1.5rem;font-size:.875rem}.add-transaction-field{margin-bottom:1.25rem}.add-transaction-field label{display:block;color:#ffffffe6;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.add-transaction-field input[type=text],.add-transaction-field input[type=number],.add-transaction-field input[type=date],.add-transaction-field select,.add-transaction-field textarea{width:100%;background:#ffffff0d;border:1px solid rgba(255,255,255,.2);border-radius:.5rem;padding:.75rem;color:#fff;font-size:.9rem;font-family:inherit;transition:all .2s}.add-transaction-field input:focus,.add-transaction-field select:focus,.add-transaction-field textarea:focus{outline:none;border-color:#3b82f6;background:#ffffff14}.add-transaction-field select{cursor:pointer}.add-transaction-field select option{background:#1e293b;color:#fff}.add-transaction-field select optgroup{background:#0f172a;color:#fff9;font-weight:600}.add-transaction-field textarea{resize:vertical;min-height:80px}.add-transaction-field-hint{display:block;color:#ffffff80;font-size:.75rem;margin-top:.25rem}.add-transaction-checkbox label{display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.add-transaction-checkbox input[type=checkbox]{width:auto;margin-right:.5rem;cursor:pointer}.add-transaction-checkbox span{color:#fffc;font-size:.875rem}.add-transaction-actions{display:flex;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1)}.add-transaction-btn-cancel,.add-transaction-btn-submit{flex:1;padding:.75rem 1.5rem;border-radius:.5rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s;border:none}.add-transaction-btn-cancel{background:#ffffff1a;color:#fffc;border:1px solid rgba(255,255,255,.2)}.add-transaction-btn-cancel:hover:not(:disabled){background:#ffffff26;color:#fff}.add-transaction-btn-submit{background:linear-gradient(135deg,#10b981,#3b82f6);color:#fff}.add-transaction-btn-submit:hover:not(:disabled){transform:scale(1.02);box-shadow:0 4px 12px #10b9814d}.add-transaction-btn-cancel:disabled,.add-transaction-btn-submit:disabled{opacity:.5;cursor:not-allowed}.add-transaction-form::-webkit-scrollbar{width:6px}.add-transaction-form::-webkit-scrollbar-track{background:#ffffff0d;border-radius:3px}.add-transaction-form::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.add-transaction-form::-webkit-scrollbar-thumb:hover{background:#ffffff4d}.budget-container{display:flex;flex-direction:column;height:100%;background-color:#0f172a;position:relative;overflow:hidden}.budget-background{position:absolute;inset:0;overflow:hidden;pointer-events:none}.budget-gradient-orb{position:absolute;border-radius:9999px;opacity:.2}.budget-orb-1{width:300px;height:300px;top:-100px;right:-100px;background:linear-gradient(135deg,#10b981,#3b82f6)}.budget-orb-2{width:250px;height:250px;bottom:100px;left:-50px;background:linear-gradient(135deg,#3b82f6,#8b5cf6)}.budget-header{padding:1.5rem 2rem;background:#0f172acc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.1);position:relative;z-index:10}.budget-title{font-size:1.75rem;font-weight:700;background:linear-gradient(135deg,#10b981,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}.budget-main{flex:1;overflow-y:auto;padding:2rem;position:relative;z-index:1}.budget-month-nav{position:relative;display:flex;justify-content:center;align-items:center;margin-bottom:2rem}.budget-month-nav-center{display:flex;justify-content:center;align-items:center;gap:2rem}.budget-current-month{font-size:1.5rem;font-weight:600;color:#fff;min-width:200px;text-align:center}.budget-nav-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;padding:.5rem 1rem;border-radius:.5rem;cursor:pointer;font-size:1.2rem;transition:all .2s}.budget-nav-btn:hover{background:#fff3;transform:scale(1.05)}.budget-refresh-btn{position:absolute;right:0;background:#10b98133;border:1px solid rgba(16,185,129,.4);color:#10b981;padding:.5rem 1rem;border-radius:.5rem;cursor:pointer;font-size:1.2rem;transition:all .2s}.budget-refresh-btn:hover{background:#10b9814d;transform:rotate(180deg)}.budget-refresh-btn:active{transform:rotate(180deg) scale(.95)}.budget-tba-card{background:linear-gradient(135deg,#10b9811a,#3b82f61a);border:1px solid rgba(16,185,129,.3);border-radius:1rem;padding:2rem;margin-bottom:2rem;text-align:center}.budget-tba-label{font-size:1rem;color:#ffffffb3;margin-bottom:.5rem}.budget-tba-amount{font-size:2.5rem;font-weight:700;color:#10b981}.budget-section-header{margin-bottom:1rem}.budget-section-header h3{font-size:1.25rem;font-weight:600;color:#fff}.budget-insights-section{margin-bottom:2rem}.budget-insight-card{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:.75rem;padding:1.5rem;margin-bottom:1rem}.budget-insight-info{border-left-color:#3b82f6}.budget-insight-warning{border-left-color:#f59e0b}.budget-insight-critical{border-left-color:#ef4444}.budget-insight-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.budget-insight-title{font-weight:600;color:#fff;font-size:1.1rem}.budget-insight-dismiss{background:none;border:none;color:#ffffff80;font-size:1.5rem;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:color .2s}.budget-insight-dismiss:hover{color:#fff}.budget-insight-description{color:#fffc;margin-bottom:.75rem;line-height:1.5}.budget-insight-recommendation-container{display:flex;align-items:center;gap:1rem;margin-top:.75rem}.budget-insight-recommendation{flex:1;background:#3b82f61a;border-left:3px solid #3b82f6;padding:.75rem;border-radius:.375rem;color:#ffffffe6;font-size:.95rem}.budget-insight-approve-btn{background:linear-gradient(135deg,#10b981,#059669);border:none;color:#fff;padding:.75rem 1.25rem;border-radius:.5rem;cursor:pointer;font-size:.9rem;font-weight:600;white-space:nowrap;transition:all .2s;box-shadow:0 2px 8px #10b9814d}.budget-insight-approve-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b98180}.budget-insight-approve-btn:active{transform:translateY(0)}.budget-actions{margin-bottom:2rem;display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.budget-btn-primary{background:linear-gradient(135deg,#10b981,#3b82f6);border:none;color:#fff;padding:.75rem 1.5rem;border-radius:.5rem;cursor:pointer;font-size:1rem;font-weight:600;transition:transform .2s}.budget-btn-primary:hover{transform:scale(1.05)}.budget-btn-secondary{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fffc;padding:.75rem 1.5rem;border-radius:.5rem;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s}.budget-btn-secondary:hover{background:#ffffff26;color:#fff}.budget-categories-section{margin-bottom:2rem}.budget-categories-list{display:flex;flex-direction:column;gap:1rem}.budget-category-card{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:.75rem;padding:1.5rem;transition:all .2s}.budget-category-card:hover{background:#ffffff14;border-color:#fff3}.budget-category-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.budget-category-name{font-size:1.1rem;font-weight:600;color:#fff}.budget-category-group{font-size:.875rem;color:#ffffff80;margin-top:.25rem}.budget-category-assign-btn{background:#3b82f633;border:1px solid rgba(59,130,246,.4);color:#3b82f6;padding:.5rem 1rem;border-radius:.375rem;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.budget-category-assign-btn:hover{background:#3b82f64d;transform:scale(1.05)}.budget-category-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.budget-category-amount-item{display:flex;flex-direction:column;gap:.25rem}.budget-amount-label{font-size:.75rem;color:#ffffff80;text-transform:uppercase;letter-spacing:.05em}.budget-amount-value{font-size:1rem;font-weight:600;color:#fff}.budget-amount-negative{color:#ef4444}.budget-empty-state{text-align:center;padding:3rem;color:#fff9}.budget-empty-state p{margin:.5rem 0;font-size:1.1rem}.budget-empty-actions{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-top:1.5rem}.budget-error{background:#ef44441a;border:1px solid rgba(239,68,68,.3);color:#fca5a5;padding:1rem;border-radius:.5rem;margin-bottom:1rem}.budget-loading{display:flex;justify-content:center;align-items:center;height:100%;color:#fff;font-size:1.5rem}.budget-transactions-section{margin-top:2rem}.budget-transactions-list{display:flex;flex-direction:column;gap:.5rem}.budget-transaction-item{display:grid;grid-template-columns:80px 1fr auto;gap:1rem;padding:1rem;background:#1e293b66;border-radius:8px;border:1px solid rgba(255,255,255,.1);align-items:center;transition:all .2s ease}.budget-transaction-item:hover{background:#1e293b99;border-color:#3b82f64d;transform:translate(4px)}.budget-transaction-date{color:#94a3b8;font-size:.875rem;font-weight:500}.budget-transaction-details{display:flex;flex-direction:column;gap:.25rem}.budget-transaction-payee{color:#fff;font-weight:500}.budget-transaction-memo{color:#94a3b8;font-size:.875rem}.budget-transaction-amount{font-weight:600;font-size:1.125rem;text-align:right}.budget-transaction-income{color:#10b981}.budget-transaction-expense{color:#f87171}.budget-category-assign-inline{display:flex;align-items:center;gap:.5rem}.budget-assign-input{width:120px;padding:.5rem;border:2px solid #667eea;border-radius:.375rem;font-size:1rem;font-weight:600;text-align:right;outline:none;transition:border-color .2s}.budget-assign-input:focus{border-color:#5a67d8;box-shadow:0 0 0 3px #667eea1a}.budget-assign-input::placeholder{color:#cbd5e0;font-weight:400}.budget-assign-submit-btn,.budget-assign-cancel-btn{width:32px;height:32px;border-radius:.375rem;border:none;cursor:pointer;font-size:1rem;font-weight:700;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.budget-assign-submit-btn{background:#10b981;color:#fff}.budget-assign-submit-btn:hover{background:#059669;transform:scale(1.05)}.budget-assign-cancel-btn{background:#ef4444;color:#fff}.budget-assign-cancel-btn:hover{background:#dc2626;transform:scale(1.05)}.reports-page{max-width:1400px;margin:0 auto;padding:24px}.reports-header{margin-bottom:24px}.reports-header h1{font-size:32px;margin-bottom:8px;color:#1a202c}.reports-subtitle{font-size:16px;color:#718096}.date-range-selector{display:flex;gap:12px;margin-bottom:32px;justify-content:center}.range-btn{padding:10px 24px;border:2px solid #e2e8f0;background:#fff;color:#4a5568;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease}.range-btn:hover{border-color:#667eea;color:#667eea}.range-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:transparent}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:40px}.summary-card{background:#fff;border-radius:12px;padding:24px;display:flex;align-items:center;gap:20px;box-shadow:0 2px 8px #00000014;transition:transform .2s ease,box-shadow .2s ease}.summary-card:hover{transform:translateY(-4px);box-shadow:0 4px 12px #0000001f}.summary-icon{font-size:48px;line-height:1}.summary-content{flex:1}.summary-label{font-size:14px;color:#718096;margin-bottom:8px;font-weight:500}.summary-amount{font-size:28px;font-weight:700;color:#2d3748}.summary-card.income{border-left:4px solid #48bb78}.summary-card.expense{border-left:4px solid #f56565}.summary-card.net.positive{border-left:4px solid #10b981}.summary-card.net.negative{border-left:4px solid #f59e0b}.reports-section{background:#fff;border-radius:12px;padding:32px;margin-bottom:32px;box-shadow:0 2px 8px #00000014}.reports-section h2{font-size:24px;margin-bottom:24px;color:#2d3748}.chart-container{display:flex;justify-content:center;margin:24px 0}.categories-list{display:flex;flex-direction:column;gap:16px}.category-row{display:grid;grid-template-columns:40px 1fr 140px;align-items:center;gap:16px;padding:16px;background:#f7fafc;border-radius:8px;position:relative;overflow:hidden;transition:background .2s ease}.category-row:hover{background:#edf2f7}.category-rank{font-size:20px;font-weight:700;color:#cbd5e0;text-align:center}.category-info{display:flex;align-items:center;gap:12px}.category-emoji{font-size:24px}.category-name{font-size:16px;font-weight:600;color:#2d3748}.category-stats{display:flex;flex-direction:column;align-items:flex-end;gap:4px;z-index:2}.category-amount{font-size:18px;font-weight:700;color:#2d3748}.category-percentage{font-size:14px;color:#718096;font-weight:500}.category-bar{position:absolute;left:0;top:0;height:100%;opacity:.1;transition:width .3s ease;z-index:1}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 24px;gap:16px}.error-message{display:flex;align-items:center;gap:12px;padding:16px;background:#fff5f5;border:1px solid #feb2b2;border-radius:8px;color:#c53030;margin-bottom:24px}.error-icon{font-size:20px}.empty-state{text-align:center;padding:64px 24px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.empty-icon{font-size:64px;margin-bottom:16px}.empty-state h3{font-size:20px;margin-bottom:8px;color:#2d3748}.empty-state p{font-size:14px;color:#718096}@media(max-width:768px){.reports-page{padding:16px}.summary-cards{grid-template-columns:1fr}.date-range-selector{flex-wrap:wrap}.range-btn{flex:1;min-width:100px}.category-row{grid-template-columns:30px 1fr 120px;padding:12px}.category-rank{font-size:16px}.category-emoji{font-size:20px}.category-name{font-size:14px}.category-amount{font-size:16px}.reports-section{padding:20px}.chart-container{margin:16px -20px}}.goals-page{max-width:1400px;margin:0 auto;padding:24px}.goals-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px}.goals-header h1{font-size:32px;margin-bottom:8px;color:#1a202c}.goals-subtitle{font-size:16px;color:#718096;margin-top:4px}.create-goal-btn{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 2px 8px #667eea4d}.create-goal-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.create-goal-btn:active{transform:translateY(0)}.info-banner{display:flex;align-items:center;gap:12px;padding:16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;color:#1e40af;margin-bottom:24px;font-size:14px}.info-icon{font-size:20px}.goals-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:24px;margin-bottom:32px}.goal-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 8px #00000014;transition:transform .2s ease,box-shadow .2s ease;position:relative;overflow:hidden}.goal-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #0000001f}.goal-card-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.goal-icon{font-size:32px;line-height:1}.goal-name{font-size:20px;font-weight:700;color:#2d3748;margin:0}.goal-progress-section{margin-bottom:20px}.goal-progress-bar-container{width:100%;height:12px;background:#e2e8f0;border-radius:6px;overflow:hidden;margin-bottom:8px}.goal-progress-bar{height:100%;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:6px;transition:width .5s ease;position:relative}.goal-progress-bar:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff0,#ffffff4d,#fff0);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.goal-progress-text{display:flex;justify-content:space-between;align-items:baseline}.progress-percentage{font-size:24px;font-weight:700;color:#667eea}.progress-label{font-size:14px;color:#718096;font-weight:500}.goal-amounts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px;padding:16px;background:#f7fafc;border-radius:8px}.goal-amount-item{display:flex;flex-direction:column;gap:4px}.amount-label{font-size:12px;color:#718096;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.amount-value{font-size:20px;font-weight:700;color:#2d3748}.amount-value.target{color:#667eea}.goal-details{display:flex;flex-direction:column;gap:12px}.goal-detail-item{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f7fafc;border-radius:6px}.detail-icon{font-size:18px;line-height:1}.detail-text{font-size:14px;color:#4a5568;font-weight:500}.detail-text.urgent{color:#f56565;font-weight:700}.goal-completed-badge{margin-top:16px;padding:12px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-radius:8px;text-align:center;font-size:16px;font-weight:700;box-shadow:0 2px 8px #10b9814d}.empty-state{text-align:center;padding:80px 24px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014}.empty-icon{font-size:72px;margin-bottom:20px;opacity:.8}.empty-state h3{font-size:24px;margin-bottom:12px;color:#2d3748}.empty-state p{font-size:16px;color:#718096;margin-bottom:28px;max-width:400px;margin-left:auto;margin-right:auto}.empty-state-btn{padding:14px 32px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 2px 8px #667eea4d}.empty-state-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:12px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 8px 24px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e2e8f0}.modal-header h2{font-size:24px;margin:0;color:#2d3748}.modal-close{background:none;border:none;font-size:24px;color:#718096;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:background .2s ease,color .2s ease}.modal-close:hover{background:#f7fafc;color:#2d3748}.modal-body{padding:24px}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 24px;gap:16px}.spinner-large{width:48px;height:48px;border:4px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-container p{font-size:16px;color:#718096;font-weight:500}@media(max-width:768px){.goals-page{padding:16px}.goals-header{flex-direction:column;gap:16px;align-items:stretch}.goals-header h1{font-size:28px}.create-goal-btn{width:100%}.goals-grid{grid-template-columns:1fr;gap:16px}.goal-card{padding:20px}.goal-name{font-size:18px}.goal-amounts{padding:12px}.amount-value{font-size:18px}.progress-percentage{font-size:20px}.empty-state{padding:60px 20px}.empty-icon{font-size:56px}.modal-overlay{padding:0}.modal-content{border-radius:0;max-height:100vh}}@media(max-width:480px){.goal-amounts{grid-template-columns:1fr}.goal-detail-item{font-size:13px}.detail-icon{font-size:16px}}.finance-placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-size:1.5rem;color:#ffffff80;background-color:#0f172a}.finance-split-container{display:flex;height:100%;width:100%;overflow:hidden;background-color:#0f172a}.finance-budget-panel{flex:0 0 60%;height:100%;overflow-y:auto;border-right:1px solid rgba(255,255,255,.1);position:relative}.finance-chat-panel{flex:0 0 40%;height:100%;overflow:hidden;position:relative}@media(max-width:1200px){.finance-budget-panel,.finance-chat-panel{flex:0 0 50%}}@media(max-width:768px){.finance-split-container{flex-direction:column}.finance-budget-panel{flex:0 0 60%;border-right:none;border-bottom:1px solid rgba(255,255,255,.1)}.finance-chat-panel{flex:0 0 40%}}
