*{margin:0;padding:0;box-sizing:border-box}:root{--bg: #F9FAFB;--text: #1F2937;--card: #ffffff;--border: #E5E7EB;--primary: #3B82F6;--secondary: #6B7280;--muted: #9CA3AF;--success: #22C55E;--alert: #F43F5E;--surface: #ffffff}body.dark{--bg: #0F172A;--text: #E5E7EB;--card: #1E293B;--border: rgba(148, 163, 184, .18);--primary: #38BDF8;--secondary: #94A3B8;--muted: #94A3B8;--success: #22C55E;--alert: #F43F5E;--surface: #1E293B}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--bg);color:var(--text)}.app{min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.header{background:var(--surface);border-bottom:1px solid var(--border);padding:16px 24px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100}.header-left{display:flex;align-items:center;gap:12px}.logo{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary) 0%,#60A5FA 100%);color:#fff;font-weight:800;font-size:1.25rem}.app-name{font-size:1.125rem;font-weight:700;letter-spacing:.02em}.header-right{display:flex;align-items:center;gap:20px;flex-wrap:wrap;justify-content:flex-end}.header-greeting{text-align:right}.header-greeting h2{margin:0;font-size:1rem;font-weight:600;color:#111827}.header-greeting p{margin:0;font-size:.875rem;color:#6b7280}.avatar{width:40px;height:40px;border-radius:999px;background:linear-gradient(135deg,#3b82f6,#60a5fa);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.9rem}.nav-links{display:flex;gap:12px;align-items:center}.nav-link,.nav-link.logout{text-decoration:none;font-weight:500;font-size:.9rem;padding:8px 12px;border-radius:10px;border:1px solid transparent;transition:all .2s ease;color:var(--text);background:#f3f4f6e6}.avatar-menu{position:relative;display:inline-flex;align-items:center}.avatar-dropdown{position:absolute;right:0;top:48px;background:#fff;border:1px solid #E5E7EB;border-radius:12px;box-shadow:0 10px 30px #00000014;min-width:160px;padding:8px 0;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease;z-index:20}.avatar-menu:hover .avatar-dropdown{opacity:1;visibility:visible;transform:translateY(0)}.dropdown-item{width:100%;display:block;padding:10px 16px;background:transparent;border:none;text-align:left;font-size:.9rem;color:var(--text);cursor:pointer;text-decoration:none}.dropdown-item:hover{background:#3b82f614;color:#1d4ed8}.theme-toggle{display:flex;justify-content:space-between;align-items:center;padding-right:12px}.theme-switch{position:relative;display:inline-block;width:38px;height:20px}.theme-switch input{opacity:0;width:0;height:0}.theme-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#94a3b873;transition:.2s;border-radius:999px}.theme-slider:before{position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;background-color:#fff;transition:.2s;border-radius:50%;box-shadow:0 0 2px #00000040}.theme-switch input:checked+.theme-slider{background-color:#3b82f680}.theme-switch input:checked+.theme-slider:before{transform:translate(18px)}.nav-link:hover,.nav-link.logout:hover{background:#3b82f61f;border-color:#3b82f659}.nav-link.active{background:#3b82f629;border-color:#3b82f659;color:#1d4ed8}.main-content{padding:24px;max-width:1400px;margin:0 auto}.profile-layout{display:flex;gap:24px;align-items:flex-start}.profile-sidebar{min-width:220px;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:16px}.profile-sidebar h3{margin-bottom:12px;font-size:1rem;color:var(--text)}.profile-sidebar .sidebar-item{display:block;width:100%;text-align:left;border:none;background:transparent;padding:10px 12px;border-radius:8px;margin-bottom:6px;color:var(--text);cursor:pointer;transition:background .2s ease}.profile-sidebar .sidebar-item:hover,.profile-sidebar .sidebar-item.active{background:#3b82f61f;color:#1d4ed8}.profile-main{flex:1;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:20px}.profile-section{display:flex;flex-direction:column;gap:16px}.profile-section .form-group{display:flex;flex-direction:column;gap:8px}.profile-section .form-group.form-group-inline{flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap}.profile-section .form-group.form-group-inline label{margin:0;white-space:nowrap}.profile-section .form-group.form-group-inline .toggle-switch{margin:0}.profile-section .budget-grid,.profile-section .fund-goals-grid,.profile-section .category-table{width:100%}.profile-section .category-table table{width:100%;border-collapse:collapse}.profile-section .category-table th,.profile-section .category-table td{border:1px solid var(--border);padding:12px 32px;text-align:left;color:var(--text)}.profile-section .category-table input[type=text],.profile-section .category-table input[type=number]{width:100%;font-size:.95rem;padding:8px 10px;border:1px solid #CAD5E0;border-radius:8px;background:#fffffff2}.profile-section .category-table input[type=number]{font-weight:600}.visibility-btn-group{display:inline-flex;gap:6px}.visibility-btn{border:1px solid #CBD5E1;border-radius:6px;background:#f8f8f8e6;color:#1f2937;padding:6px 10px;font-size:.85rem;cursor:pointer}.visibility-btn.active{background:#93c5fd;color:#1d4ed8;border-color:#60a5fa}.profile-section .category-table th{background-color:#3f4a5fe6}.page h1,.page h2,.page h3,.page h4{font-family:Inter,Segoe UI,sans-serif}.toast-container{position:fixed;right:20px;bottom:20px;z-index:999;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.app-version{position:fixed;right:10px;bottom:8px;font-size:.75rem;color:#6b7280;background:#ffffffb8;border:1px solid rgba(148,163,184,.4);border-radius:8px;padding:3px 8px;z-index:1000;box-shadow:0 2px 10px #00000014;pointer-events:none}.toast{color:#111827;border-radius:10px;padding:10px 14px;min-width:240px;max-width:340px;opacity:0;animation:toast-show .4s ease forwards;pointer-events:none}.toast-success{background:#10b9814d;border:1px solid rgba(16,185,129,.75)}.toast-error{background:#ef44444d;border:1px solid rgba(239,68,68,.75)}@keyframes toast-show{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.profile-sidebar{background:var(--surface);border:1px solid var(--border);box-shadow:0 6px 20px #0000000f}.profile-main{background:var(--surface);box-shadow:0 8px 24px #00000014}.btn-primary,.btn-secondary,.btn-danger{border-radius:8px;padding:8px 12px;font-weight:600}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;justify-content:center;align-items:center;z-index:999}.modal{background:var(--card);padding:20px;border-radius:12px;width:min(520px,90vw);box-shadow:0 8px 28px #0003}.modal-actions{margin-top:15px;display:flex;gap:10px}.profile-section .category-table th{background:#3f4a5fe6!important;color:#e5e7eb!important}.profile-section .table-actions{display:flex;gap:8px}.profile-section .fund-goals-grid{display:flex;flex-direction:column;gap:12px;margin-top:6px}.profile-section .custom-goals-table table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:8px;overflow:hidden}.profile-section .custom-goals-table th,.profile-section .custom-goals-table td{border:1px solid var(--border);padding:12px 32px;text-align:left;color:var(--text)}.profile-section .custom-goals-table th{background-color:#3f4a5fe6;color:#e5e7eb;font-weight:600}.profile-section .custom-goals-table th:nth-child(1),.profile-section .custom-goals-table td:nth-child(1){width:50%}.profile-section .custom-goals-table th:nth-child(2),.profile-section .custom-goals-table td:nth-child(2){width:20%}.profile-section .custom-goals-table th:nth-child(3),.profile-section .custom-goals-table td:nth-child(3){width:30%}.profile-section .custom-goal-row td{vertical-align:middle}.profile-section .custom-goal-row input{width:100%;padding:6px 8px;border:1px solid #CBD5E1;border-radius:6px}.profile-section .custom-goal-row span{min-width:100px}.profile-section .custom-goal-row input{flex:1}@media (max-width: 1024px){.profile-layout{flex-direction:column}.profile-sidebar{width:100%;min-width:auto}}body.dark,body.dark .app{background:#0b1220;color:#e5e7eb}body.dark .header{background:#0f172a;border-color:#1e293b}body.dark .header-greeting h2{color:#e5e7eb}body.dark .header-greeting p{color:#94a3b8}body.dark .nav-link,body.dark .nav-link.logout,body.dark .dropdown-item{color:#e2e8f0;background:#94a3b814}body.dark .nav-link:hover,body.dark .nav-link.logout:hover,body.dark .dropdown-item:hover{background:#3b82f629;color:#93c5fd}body.dark .nav-link.active{background:#3b82f64d;border-color:#3b82f666;color:#93c5fd}body.dark .avatar-dropdown{background:#0f172a;border-color:#1e293b;box-shadow:0 10px 30px #00000080}body.dark .avatar{background:linear-gradient(135deg,#2563eb,#0ea5e9)}body.dark .theme-switch input:checked+.theme-slider{background-color:#60a5faa6}@media (max-width: 768px){.header{flex-direction:column;gap:14px;align-items:flex-start}.header-right{width:100%;justify-content:space-between}.nav-links{gap:8px;flex-wrap:wrap;width:100%;justify-content:flex-start}}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.loading{text-align:center;padding:2rem;font-size:1.2rem;color:#667eea}.dashboard{background:#fff;border-radius:10px;padding:2rem;box-shadow:0 4px 20px #0000001a}.dashboard h1{color:#333;margin-bottom:2rem;font-size:2rem}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 4px 15px #0003;position:relative}.card .visibility-toggle{position:absolute;top:.75rem;right:.75rem;border:none;background:#fff3;color:#fff;padding:.25rem .5rem;border-radius:999px;cursor:pointer;font-size:.9rem}.card .visibility-toggle:hover{background:#ffffff59}.blurred{filter:blur(.6rem);opacity:.55}.visibility-toggle{background:#ffffff1f;color:#000000e6;border:1px solid rgba(255,255,255,.25)}.visibility-toggle:hover{background:#fff3}.card .amount{font-size:2rem;font-weight:700}.charts-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem}.chart-card{background:#fff;padding:1.5rem;border-radius:10px;box-shadow:0 2px 10px #0000001a}.chart-card h3{color:#333;margin-bottom:1rem;font-size:1.2rem}.page{background:#fff;border-radius:10px;padding:2rem;box-shadow:0 4px 20px #0000001a}.page h1{color:#333;margin-bottom:2rem;font-size:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#333;font-weight:500}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:5px;font-size:1rem;transition:border-color .3s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.income-form,.expense-form,.investment-form{background:#f8f9fa;padding:2rem;border-radius:10px;margin-bottom:2rem}.income-list,.expense-list,.investment-list{margin-top:2rem}.income-list h2,.expense-list h2,.investment-list h2{color:#333;margin-bottom:1rem;font-size:1.5rem}table thead{background:#667eea;color:#fff}.budget-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.budget-row{display:flex;flex-direction:column;gap:.5rem}.budget-category{font-weight:600;color:#374151}.budget-input{display:flex;align-items:center;gap:.5rem}.budget-input input{flex:1}.currency-icon{width:18px;height:18px}table th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}table tbody tr:hover{background:#f5f5f5}.table-responsive{overflow-x:auto;padding-bottom:.85rem}table{width:100%;border-collapse:collapse;margin-top:1rem}table th,table td{padding:1rem;text-align:left;border-bottom:1px solid #ddd}.action-cell{white-space:nowrap;width:240px;min-width:210px}table th:first-child,table td:first-child{width:40px;text-align:center}table input[type=checkbox]{width:16px;height:16px;cursor:pointer}.expense-filters{display:flex;align-items:flex-end;gap:16px;margin-bottom:18px;flex-wrap:wrap}.filter-group{display:flex;align-items:center;gap:10px}.filter-group label{font-weight:600;font-size:.85rem;color:#374151}.filter-group input[type=date],.filter-group select{padding:6px 10px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827}.filter-quick-buttons{display:flex;gap:8px;flex-wrap:wrap}.filter-quick-buttons .btn{padding:6px 10px;font-size:.85rem;border-radius:8px}.action-btn{padding:.35rem .8rem;border-radius:4px;font-size:.85rem;margin-right:.4rem;background:#667eea2e;border:1px solid rgba(102,126,234,.35);cursor:pointer;min-width:70px}.editing-row{background:#667eea1a}.edit-input{width:100%;padding:.4rem .5rem;border:1px solid rgba(102,126,234,.5);border-radius:4px;font-size:.9rem}.btn{padding:.5rem 1rem;border:none;border-radius:5px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .25s ease;background:#667eea26;color:#333}.btn+.btn{margin-left:.5rem}.btn:hover{background:#667eea33}.currency{display:inline-flex;align-items:center;gap:.35rem}.currency-icon{width:1.1rem;height:1.1rem;display:inline-block}.currency-symbol{font-weight:700}.btn-primary{background:#3f4a5f;color:#f8fafc}.btn-primary:hover{background:#607ca3f2;color:#f8fafc;transform:translateY(-2px);box-shadow:0 4px 15px #3f4a5f66}@media (max-width: 768px){.charts-container,.summary-cards{grid-template-columns:1fr}}.metrics-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:24px}.metric-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 10px 20px #0000000f;border:1px solid rgba(0,0,0,.05)}.metric-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.metric-header h4{margin:0;font-size:.95rem;font-weight:600;color:var(--text)}.metric-trend.positive{color:var(--success);font-weight:700}.metric-trend.negative{color:var(--danger, #DC2626);font-weight:700}.metric-sub{font-size:.85rem;color:#6b7280}.metric-value{font-size:1.75rem;font-weight:700;color:var(--text)}.metric-value.blurred{filter:blur(4px);color:transparent;text-shadow:0 0 8px rgba(0,0,0,.45)}.eye-toggle-btn{margin-left:8px;border:none;background:transparent;cursor:pointer;font-size:14px;line-height:1;padding:0;display:inline-flex;align-items:center;justify-content:center}.eye-toggle-btn img{display:block;width:18px;height:18px}.eye-toggle-btn:hover{opacity:.8}.toggle-switch{position:relative;display:inline-block;width:48px;height:24px;margin-top:4px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.2s;border-radius:999px}.toggle-switch .slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.2s;border-radius:50%}.toggle-switch input:checked+.slider{background-color:#3b82f6}.toggle-switch input:checked+.slider:before{transform:translate(24px)}.dashboard-grid{display:grid;grid-template-columns:2.3fr 1fr;gap:24px;margin-bottom:24px;min-width:0}.main-column,.side-panel{min-width:0}.main-column{display:flex;flex-direction:column;gap:24px}.side-panel{display:flex;flex-direction:column;gap:16px}.card{background:#fff;padding:16px;border-radius:12px;box-shadow:0 10px 24px #0000000f;border:1px solid rgba(0,0,0,.05)}.chart-card h3{margin:0 0 12px;font-size:1.1rem;color:var(--text)}.donut-wrapper{display:flex;justify-content:center;align-items:center;gap:24px;flex-wrap:wrap}.donut-chart{width:240px;height:240px;flex:0 0 auto}.donut-legend{flex:1;max-width:240px;display:flex;flex-direction:column;gap:10px}.legend-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.legend-label{font-size:.9rem;color:#111827}.legend-value{font-size:.9rem;font-weight:600;color:#111827}.legend-dot{width:10px;height:10px;border-radius:50%}.alert-card{background:#f4f03f1f;border:1px solid rgba(244,63,94,.35);padding:16px;border-radius:12px}.alert-title{margin:0;font-weight:600;color:var(--primary)}.alert-text{margin:8px 0 0;color:#374151;font-size:.95rem}.alert-list{list-style:none;margin:12px 0 0;padding:0}.alert-item{padding:10px 12px;border-left:4px solid #3B82F6;margin-bottom:10px;background:#3b82f614;border-radius:8px}.alert-suggestion{margin:6px 0 0;color:#4b5563;font-size:.9rem}.alert-carousel{position:relative;overflow:hidden;margin-top:12px}.alert-carousel-track{display:flex;transition:transform .35s ease}.alert-slide{flex:0 0 100%;padding:10px 0}.alert-dots{display:flex;justify-content:center;gap:8px;margin-top:12px}.alert-dot{width:10px;height:10px;border-radius:50%;border:none;background:#94a3b88c;cursor:pointer;transition:transform .2s ease,background .2s ease}.alert-dot.active{width:12px;height:12px;background:#3b82f6;transform:scale(1.1)}.panel-card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:16px}.panel-header h4{margin:0;font-size:1rem;color:#111827}.transaction-list{list-style:none;margin:0;padding:0}.transaction-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #F3F4F6}.transaction-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:#3b82f6;font-size:1.1rem}.transaction-details{flex:1;margin:0 12px;display:flex;flex-direction:column;gap:2px}.transaction-merchant{font-weight:600;color:#111827}.transaction-date{font-size:.85rem;color:#6b7280}.transaction-amount{font-weight:600;color:#111827}.budget-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.budget-item{margin-bottom:14px}.budget-label{font-size:.9rem;color:#374151}.budget-value{font-size:.9rem;font-weight:600;color:#111827}.progress-bar{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden;position:relative}.progress-fill{height:100%;background:var(--primary);border-radius:999px;position:relative}.progress-label{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:.75rem;font-weight:700;color:#fff}.goals-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}.goal-card{background:#fff;border-radius:12px;padding:16px;box-shadow:0 10px 24px #0000000f;border:1px solid rgba(0,0,0,.05)}.goal-title{font-weight:600;margin-bottom:6px;color:#111827}.goal-summary{font-size:.9rem;color:#6b7280;margin-bottom:12px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.import-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172acc;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px}.import-overlay.active{background:#0f172ae6}.import-box{width:min(92vw,1100px);max-height:90vh;background:#fffffff2;border-radius:14px;padding:24px;box-shadow:0 16px 40px #00000059;text-align:center;overflow:hidden;position:relative;display:flex;flex-direction:column}.import-close-btn{position:absolute;right:16px;top:16px;border:none;background:#0f172a26;color:var(--text);width:34px;height:34px;border-radius:999px;font-size:18px;cursor:pointer;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .15s ease,transform .15s ease}.import-close-btn:hover{background:#0f172a40;transform:scale(1.05)}body.dark .import-box{background:#0f172ae6}.import-box h2{margin:0 0 12px;font-size:1.3rem;color:#111827}body.dark .import-box h2{color:#e5e7eb}.import-box p{margin:0 0 18px;color:#4b5563;font-size:.95rem}body.dark .import-box p{color:#94a3b8}.import-file-input{width:100%;padding:12px 14px;border:2px dashed rgba(148,163,184,.7);border-radius:10px;background:transparent;cursor:pointer;margin-bottom:14px}.import-actions{display:flex;justify-content:center;gap:12px;margin-bottom:12px}.import-status{padding:10px 14px;border-radius:10px;font-weight:600}.import-status.loading{background:#3b82f626;color:#1d4ed8}.import-status.success{background:#22c55e26;color:#15803d}.import-status.error{background:#f43f5e26;color:#b91c1c}.import-review{text-align:left;display:flex;flex-direction:column;min-height:0}.import-review-body{flex:1 1 auto;overflow:auto;padding-bottom:12px}.import-review-footer{margin-top:12px;display:flex;justify-content:flex-end;gap:12px;flex-shrink:0}.import-review-table{max-height:60vh;overflow:auto;margin-top:12px;margin-bottom:14px;border:1px solid rgba(148,163,184,.5);border-radius:12px}.import-review-table table{width:100%;border-collapse:collapse;table-layout:auto}.import-review-table th,.import-review-table td{padding:10px 12px;border-bottom:1px solid rgba(148,163,184,.4);text-align:left;font-size:.9rem;white-space:normal;word-break:break-word}.import-review-input{width:100%;padding:8px 10px;border:1px solid rgba(148,163,184,.7);border-radius:10px;background:#ffffffe6;font-size:.9rem;outline:none;transition:border .15s ease,box-shadow .15s ease}body.dark .import-review-input{background:#0f172abf;border-color:#94a3b880;color:#e5e7eb}.import-review-input:focus{border-color:#3b82f6b3;box-shadow:0 0 0 3px #3b82f626}.import-review-input.needs-category{border-color:#dc2626;box-shadow:0 0 0 2px #dc262633}.category-warning{color:#dc2626;font-size:.78rem;margin-top:4px}.category-source{margin-top:4px;font-size:.78rem;font-weight:700;display:inline-block;padding:2px 6px;border-radius:10px}.category-source.auto{background:#22c55e29;color:#166534}.category-source.manual{background:#fbbf2433;color:#92400e}.new-category-row{display:flex;flex-direction:column;gap:6px;margin-top:6px}.new-category-row .import-review-input{padding:5px 8px;font-size:.85rem;min-width:130px}.new-category-row .btn.btn-small{padding:5px 8px;font-size:.78rem}.btn-small-bottom{align-self:flex-start}.import-review-duplicates{color:#dc2626;font-weight:700;margin-bottom:10px;border-left:3px solid var(--alert);padding-left:10px}.import-review-table td{min-width:0}.import-review-table th:nth-child(2),.import-review-table td:nth-child(2){width:100px;min-width:100px}.import-review-table th:nth-child(3),.import-review-table td:nth-child(3){width:110px;min-width:100px}.import-review-table th:nth-child(4),.import-review-table td:nth-child(4){width:100px;min-width:100px;text-align:center}.import-review-table th:nth-child(5),.import-review-table td:nth-child(5){width:175px;min-width:170px}.import-review-table th:nth-child(6),.import-review-table td:nth-child(6){width:auto;min-width:340px}.import-review-table th:nth-child(7),.import-review-table td:nth-child(7){width:65px;min-width:55px;text-align:center}.import-review-table table{width:100%;border-collapse:collapse}.import-review-table th,.import-review-table td{padding:10px 12px;border-bottom:1px solid rgba(148,163,184,.4);text-align:left;font-size:.9rem}.import-review-table thead{background:#3b82f62e;color:#0b1f3a}.import-review-table tbody tr:hover{background:#6366f114}.import-review-table th:first-child,.import-review-table td:first-child{width:40px;text-align:center}.import-review-table th:last-child,.import-review-table td:last-child{width:100%}.import-review-table input[type=checkbox]{cursor:pointer}body.dark .dashboard{background:#0b1220}body.dark .card,body.dark .metric-card,body.dark .chart-card,body.dark .panel-card,body.dark .goal-card{background:#0f172a;border-color:#94a3b82e;box-shadow:0 10px 24px #00000073;color:#e5e7eb}body.dark .metric-header h4,body.dark .metric-value,body.dark .metric-sub,body.dark .legend-label,body.dark .legend-value,body.dark .budget-label,body.dark .budget-value,body.dark .transaction-merchant,body.dark .transaction-date,body.dark .transaction-amount,body.dark .goal-title,body.dark .goal-summary{color:#e5e7eb}body.dark .progress-bar{background:#94a3b82e}body.dark .progress-fill{background:#3b82f6}body.dark .alert-card{background:#3b82f61f;border-color:#3b82f640}body.dark .alert-text,body.dark .alert-suggestion{color:#e2e8f0}body.dark .donut-legend{background:transparent}.calendar-card{padding:20px;border-radius:14px;border:1px solid var(--border);background:var(--card);min-width:0}.calendar-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.calendar-title{font-size:1.1rem;font-weight:600;color:var(--text)}.calendar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}.category-filter{display:flex;flex-direction:column;gap:4px;min-width:170px}.category-filter label{font-size:.75rem;color:var(--muted)}.category-filter select{padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text)}.segmented-control{display:inline-flex;border:1px solid var(--border);border-radius:999px;overflow:hidden;background:var(--surface)}.segmented-btn{border:none;background:transparent;padding:8px 14px;cursor:pointer;font-size:.85rem;font-weight:600;color:var(--text);transition:background .2s ease}.segmented-btn.active{background:#3b82f626;color:var(--primary)}.segmented-btn:hover{background:#3b82f61a}.calendar-nav{display:flex;align-items:center;gap:10px}.nav-btn{border:1px solid var(--border);background:var(--surface);border-radius:999px;width:34px;height:34px;display:grid;place-items:center;cursor:pointer;color:var(--text);transition:background .2s ease}.nav-btn:hover{background:#3b82f61f}.nav-label{min-width:130px;text-align:center;font-weight:600;color:var(--text)}.calendar-grid{display:flex;flex-direction:column;gap:10px}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:6px}.weekday-cell{font-size:.75rem;font-weight:600;text-align:center;color:var(--muted)}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.calendar-cell{border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:10px;text-align:left;min-height:78px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.calendar-cell:hover{transform:translateY(-1px);box-shadow:0 8px 18px #00000014}.calendar-cell.outside{opacity:.55}.calendar-cell.today{border-color:var(--primary);box-shadow:0 0 0 2px #3b82f640}.cell-day{display:flex;justify-content:space-between;align-items:center;gap:6px}.cell-number{font-weight:600;color:var(--text)}.cell-amount{font-size:.95rem;font-weight:600;color:#456391;margin-top:8px}.muted{opacity:.55}.daily-view{display:flex;flex-direction:column;gap:16px}.daily-summary{display:flex;justify-content:space-between;align-items:center;gap:20px}.daily-date{font-weight:600;color:var(--text)}.daily-total{font-weight:600;color:var(--primary)}.daily-list{border-top:1px solid var(--border);padding-top:12px}.monthly-view{display:flex;flex-direction:column;gap:14px}.monthly-header{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.monthly-label{font-weight:600;color:var(--text)}.monthly-subtitle{font-size:.85rem;color:var(--muted)}.month-list{display:grid;gap:10px;max-height:380px;overflow-y:auto;padding-right:4px}.month-list::-webkit-scrollbar{width:8px}.month-list::-webkit-scrollbar-thumb{background:#94a3b866;border-radius:999px}.month-row{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);cursor:pointer;transition:background .15s ease,transform .15s ease}.month-row.selected{border-color:var(--primary);background:#3b82f61f}.month-row:hover{background:#3b82f614;transform:translateY(-1px)}.month-label{font-weight:600;color:var(--text)}.month-total{font-weight:600;color:var(--primary)}.empty-state{padding:18px;border-radius:12px;background:#94a3b814;color:var(--muted);text-align:center}.transaction-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--border)}.transaction-row:last-child{border-bottom:none}.transaction-left{display:flex;flex-direction:column;gap:4px}.transaction-merchant{font-weight:600;color:var(--text)}.transaction-category{font-size:.85rem;color:var(--muted)}.transaction-amount{font-weight:600;color:var(--text)}@media (max-width: 900px){.calendar-grid{gap:8px}.calendar-cell{padding:8px;min-height:70px}.nav-label{min-width:110px}}@media (max-width: 640px){.calendar-header{flex-direction:column;align-items:stretch}.calendar-actions{justify-content:space-between}.calendar-nav{justify-content:space-between;width:100%}}
