.auth-page{align-items:center;background:#0000;display:flex;justify-content:center;min-height:100vh;padding:40px 24px}.auth-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0f172ab3;border:1px solid #1e293b80;border-radius:16px;box-shadow:0 8px 32px #0006;display:flex;flex-direction:column;max-width:420px;min-height:540px;padding:48px 40px;width:100%}.auth-container.auth-container--wide{max-width:820px}.auth-title-row{align-items:center;display:flex;justify-content:center;margin-bottom:8px}.auth-header{margin-bottom:40px;text-align:center}.app-title{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#3b82f6,#2563eb);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:700;letter-spacing:-1px;margin:0}.auth-subtitle{color:#cbd5e1;font-size:1rem;font-weight:400;margin:0}.auth-form{display:flex;flex:1 1;flex-direction:column;gap:20px}.auth-form.auth-form--two-column{grid-gap:16px 20px;display:grid;gap:16px 20px;grid-template-columns:1fr 1fr}.form-group{display:flex;flex-direction:column;gap:8px}.form-group.form-group--full{grid-column:1/-1}.form-group label{color:#e2e8f0;font-size:.875rem;font-weight:500}.form-group input,.form-group select{background:#1e293b99;border:1px solid #334155cc;border-radius:8px;color:#e2e8f0;font-size:.9375rem;padding:12px 14px;transition:all .2s ease;width:100%}.form-group input::placeholder,.form-group select::placeholder{color:#64748b}.form-group input:focus,.form-group select:focus{background:#1e293bcc;border-color:#2563eb;outline:none}.form-group input:hover:not(:focus),.form-group select:hover:not(:focus){border-color:#475569}.form-group select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%2394a3b8' d='M6 9 1 4h10z'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;cursor:pointer;padding-right:40px}.form-group select option{background:#1e293b;color:#e2e8f0}.auth-button{background:#2563eb;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-top:8px;padding:12px 20px;transition:all .2s ease;width:100%}.auth-button:hover:not(:disabled){background:#1d4ed8;box-shadow:0 4px 12px #2563eb66;transform:translateY(-1px)}.auth-button:active:not(:disabled){transform:translateY(0)}.auth-button:disabled{cursor:not-allowed;opacity:.6}.auth-error{background:#ef44441a;border:1px solid #ef44444d;border-radius:8px;color:#fca5a5}.auth-error,.auth-success{font-size:.875rem;padding:12px 16px;text-align:center}.auth-success{background:#22c55e1a;border:1px solid #22c55e4d;border-radius:8px;color:#86efac;line-height:1.5}.auth-info{background:#3b82f61a;border:1px solid #3b82f64d;border-radius:8px;color:#93c5fd;font-size:.875rem;padding:12px 16px;text-align:center}.auth-info strong{color:#bfdbfe}.auth-links{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:28px}.auth-link{background:none;border:none;color:#3b82f6;cursor:pointer;font-size:.875rem;font-weight:500;padding:0;transition:color .2s ease}.auth-link:hover{color:#60a5fa;text-decoration:underline}.auth-link.auth-link--back{align-items:center;display:inline-flex;gap:6px}.auth-link.auth-link--back:before{content:"←";font-size:1rem}.auth-text{color:#94a3b8;font-size:.875rem}.auth-divider{color:#475569;font-size:.75rem}.auth-description{color:#94a3b8;font-size:.875rem;line-height:1.5;margin-bottom:24px;text-align:center}.auth-bg-container{background:#0a0e1a;height:100vh;inset:0;overflow:hidden;pointer-events:none;position:fixed;width:100vw;z-index:0}.auth-bg-grid{background-image:linear-gradient(#2563eb14 1px,#0000 0),linear-gradient(90deg,#2563eb14 1px,#0000 0);background-position:50%;background-size:50px 50px;inset:0;position:absolute}.auth-page{position:relative;z-index:1}.plaid-link-button{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:500;gap:8px;padding:10px 20px;transition:all .2s ease}.plaid-link-button.primary{background:var(--accent-color);color:#fff}.plaid-link-button.primary:hover:not(:disabled){background:var(--accent-color-dark);box-shadow:0 4px 12px #00000026;transform:translateY(-1px)}.plaid-link-button.secondary{background:#1e293b;border:1px solid #334155;color:#e2e8f0}.plaid-link-button.secondary:hover:not(:disabled){background:#334155;border-color:#475569}.plaid-link-button:disabled{cursor:not-allowed;opacity:.6}.plaid-link-button .bank-icon{height:18px;width:18px}.plaid-link-button .spinner{animation:spin .6s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:14px;width:14px}.plaid-account-view{margin:0 auto;max-width:1200px;padding:24px}.account-header{border-bottom:1px solid #334155;padding-bottom:24px}.account-name{color:#f1f5f9;cursor:pointer;font-size:1.75rem;font-weight:700;margin:0 0 8px}.account-name:hover{color:var(--accent-color)}.nickname-edit{margin-bottom:8px}.nickname-input{background:#1e293b;border:2px solid var(--accent-color);border-radius:6px;color:#f1f5f9;font-size:1.75rem;font-weight:700;max-width:500px;padding:8px 12px;width:100%}.account-subtitle{align-items:center;color:#94a3b8;display:flex;font-size:.9rem;gap:16px}.account-mask{color:#64748b;font-weight:600}.account-actions{display:flex;gap:12px}.btn-disconnect,.btn-refresh,.btn-sync{border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;padding:8px 16px;transition:all .2s ease}.btn-refresh,.btn-sync{background:var(--accent-color);border:none;color:#fff}.btn-refresh:hover:not(:disabled),.btn-sync:hover:not(:disabled){background:var(--accent-color-dark)}.btn-refresh:disabled,.btn-sync:disabled{cursor:not-allowed;opacity:.6}.btn-disconnect{background:#0000;border:1px solid #ef4444;color:#ef4444}.btn-disconnect:hover{background:#ef4444;color:#fff}.account-summary{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:32px}.summary-card{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:20px}.summary-label{color:#64748b;font-size:.8rem;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.summary-value{font-size:1.5rem;font-weight:700}.summary-value.type{font-size:1.1rem;text-transform:capitalize}.transactions-section{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:24px}.transactions-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.transactions-header h2{color:#f1f5f9;font-size:1.25rem;font-weight:600;margin:0}.transactions-empty,.transactions-loading{align-items:center;color:#64748b;display:flex;flex-direction:column;justify-content:center;padding:48px}.transactions-list{display:flex;flex-direction:column;gap:12px}.transaction-item{padding:16px}.transaction-left{display:flex;flex:1 1;flex-direction:column;gap:4px}.transaction-name{font-weight:600}.transaction-date{align-items:center;display:flex;font-size:.8rem;gap:8px}.pending-badge{background:#fbbf24;border-radius:4px;color:#1e293b;display:inline-block;font-size:.7rem;font-weight:600;padding:2px 8px}.transaction-category{color:#94a3b8;font-size:.75rem}.transaction-amount{font-size:1rem;font-weight:700}.transaction-amount.debit{color:#ef4444}.transaction-amount.credit{color:#10b981}.additional-payments-section{background:#1e293b;border:1px solid #334155;border-radius:12px;margin-bottom:24px;padding:20px}.additional-payments-section .section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.additional-payments-section .section-header h3{color:#f1f5f9;font-size:1rem;font-weight:600;margin:0}.additional-payments-section .section-header p{color:#94a3b8;font-size:.85rem;margin:4px 0 0}.additional-payments-section .btn-add-payment{align-items:center;background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:6px;padding:8px 16px}.empty-payments{background:#0f172a;border-radius:8px;color:#64748b;font-size:.9rem;padding:20px;text-align:center}.payments-list{display:flex;flex-direction:column;gap:12px}.payment-row{align-items:center;background:#0f172a;border:1px solid #334155;border-radius:8px;display:flex;gap:12px;padding:12px 16px}.payment-row .payment-number{color:#94a3b8;font-size:.85rem;min-width:24px}.payment-row .payment-field{align-items:center;display:flex;flex:1 1;gap:8px}.payment-row .payment-field label{color:#94a3b8;font-size:.85rem;white-space:nowrap}.payment-row .payment-field input,.payment-row .payment-field select{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#f1f5f9;font-size:.9rem;padding:8px 12px}.payment-row .payment-field input{width:100px}.payment-row .payment-field select{cursor:pointer;min-width:120px}.payment-row .btn-remove-payment{align-items:center;background:#ef4444;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:1.25rem;height:28px;justify-content:center;width:28px}.payments-summary{background:linear-gradient(135deg,color-mix(in srgb,var(--accent-color) 10%,#0000) 0,#2563eb1a 100%);border:1px solid var(--accent-color-light);border-radius:8px;margin-top:8px;padding:12px 16px}.payments-summary .summary-note{color:#94a3b8;font-size:.85rem;margin-bottom:8px}.payments-summary .summary-note strong{color:var(--accent-color)}.payments-summary .summary-breakdown{color:#f1f5f9;font-size:.9rem}.text-muted{color:#94a3b8}.debit-view{display:flex;flex-direction:column;height:100%}.btn-generate{background:linear-gradient(135deg,var(--accent-color) 0,var(--accent-color-dark) 100%);border:none;border-radius:8px;box-shadow:0 4px 12px var(--accent-color-light);color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 20px;transition:all .2s ease}.btn-generate:hover{box-shadow:0 6px 16px color-mix(in srgb,var(--accent-color) 40%,#0000);transform:translateY(-1px)}.account-content{grid-gap:24px;display:grid;flex:1 1;gap:24px;grid-template-columns:1fr 1fr;overflow:hidden}.left-column,.right-column{display:flex;flex-direction:column;gap:24px;overflow-y:auto}.section-card{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:24px}.section-card h3{border-bottom:1px solid #334155;color:#f1f5f9;font-size:1rem;font-weight:600;margin:0 0 16px;padding-bottom:12px}.transactions-card{display:flex;flex:1 1;flex-direction:column;min-height:400px}.transaction-list{display:flex;flex-direction:column;gap:12px;overflow-y:auto}.transaction-item{align-items:center;background:#0f172a;border:1px solid #1e293b;border-radius:8px;display:flex;justify-content:space-between;padding:12px;transition:all .2s ease}.transaction-item:hover{background:#1e293b;border-color:#334155}.transaction-info{display:flex;flex-direction:column;gap:4px}.transaction-name{color:#f1f5f9;font-size:.95rem;font-weight:500}.transaction-date{color:#64748b;font-size:.85rem}.transaction-amount{font-size:.95rem;font-weight:600}.transaction-amount.negative{color:#fca5a5}.transaction-amount.positive{color:#6ee7b7}.empty-state{align-items:center;display:flex;flex:1 1;flex-direction:column;justify-content:center}.empty-state p{margin:4px 0}.empty-state .hint{color:#475569;font-size:.85rem}.empty-state-small{color:#64748b;font-size:.9rem;padding:20px;text-align:center}.balance-card .balance-amount{color:#f1f5f9;font-size:2rem;font-weight:700;margin-bottom:16px}.balance-card .balance-graph{background:#0f172a;border-radius:8px;height:80px;padding:8px}.balance-card .balance-graph svg{height:100%;width:100%}.recurring-card .recurring-table{border-collapse:collapse;width:100%}.recurring-card .recurring-table th{border-bottom:1px solid #334155;color:#94a3b8;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:8px 12px;text-align:left;text-transform:uppercase}.recurring-card .recurring-table td{border-bottom:1px solid #1e293b;color:#f1f5f9;font-size:.875rem;padding:10px 12px}.recurring-card .recurring-table tr:last-child td{border-bottom:none}.recurring-card .recurring-table tr:hover td{background:#0f172a}.notes-card textarea{background:#0f172a;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-family:inherit;font-size:.9rem;padding:12px;resize:vertical;width:100%}.notes-card textarea:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-color) 10%,#0000);outline:none}.notes-card textarea::placeholder{color:#475569}@media(max-width:1024px){.account-content{grid-template-columns:1fr}}.main-content:has(.timeline-view){padding:0 0 32px}.timeline-view{display:flex;flex-direction:column;height:100%;overflow:hidden}.timeline-header{align-items:flex-start;display:flex;flex-shrink:0;justify-content:space-between;padding:40px 40px 20px}.timeline-header .header-title-section h1{color:#f1f5f9;font-size:2rem;font-weight:600;margin:0 0 8px}.timeline-header .header-title-section .timeline-subtitle{color:#64748b;font-size:.95rem;margin:0}.timeline-header .header-actions{align-items:center;display:flex;gap:12px}.timeline-header .btn-add-expense{background:#10b9811f;border:1.5px solid #10b9814d;border-radius:8px;box-shadow:0 4px 12px #10b9811f;color:#10b981;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 28px;transition:all .2s ease}.timeline-header .btn-add-expense:hover{background:#10b9812e;border-color:#10b98166;box-shadow:0 6px 16px #10b9812e;color:#059669;transform:translateY(-1px)}.timeline-header .btn-add-income{background:#f871711f;border:1.5px solid #f871714d;border-radius:8px;box-shadow:0 4px 12px #f871711f;color:#f87171;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 28px;transition:all .2s ease}.timeline-header .btn-add-income:hover{background:#f871712e;border-color:#f8717166;box-shadow:0 6px 16px #f871712e;color:#dc2626;transform:translateY(-1px)}.timeline-header .btn-jump-today{background:#fff;border:1.5px solid #e5e7eb;border-radius:8px;box-shadow:0 2px 8px #10b98114;color:#0f172a;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 28px;transition:all .2s ease}.timeline-header .btn-jump-today:hover{background:#f1f5f9;border-color:#cbd5e1;box-shadow:0 4px 12px #10b98124;color:#0f172a;transform:translateY(-1px)}.timeline-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.timeline-toolbar .toolbar-btn{align-items:center;background:#1e293b;border:1px solid #334155;border-radius:8px;color:#cbd5e1;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s ease}.timeline-toolbar .toolbar-btn svg{stroke-width:2;height:16px;width:16px}.timeline-toolbar .toolbar-btn:hover:not(:disabled){background:#253548;border-color:#475569;color:#f1f5f9}.timeline-toolbar .toolbar-btn:disabled{cursor:not-allowed;opacity:.5}.timeline-toolbar .toolbar-btn.primary{background:var(--accent-color);border-color:var(--accent-color);color:#fff}.timeline-toolbar .toolbar-btn.primary:hover{background:var(--accent-color-dark);border-color:var(--accent-color-dark)}.timeline-toolbar .toolbar-date-jump{align-items:center;display:flex;gap:8px}.timeline-toolbar .toolbar-date-jump .toolbar-date-input{background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;cursor:pointer;font-size:.9rem;padding:10px 12px}.timeline-toolbar .toolbar-date-jump .toolbar-date-input:focus{border-color:var(--accent-color);outline:none}.timeline-scroll-container{flex:1 1;overflow-y:auto;padding:0 40px 40px}.timeline-scroll-container::-webkit-scrollbar{width:6px}.timeline-scroll-container::-webkit-scrollbar-track{background:#0000}.timeline-scroll-container::-webkit-scrollbar-thumb{background:#33415599;border-radius:3px}.timeline-scroll-container::-webkit-scrollbar-thumb:hover{background:#475569cc}.timeline-content{margin:0 auto;min-height:100%;position:relative}.timeline-content:before{background:linear-gradient(180deg,#0000,#334155 5%,#334155 95%,#0000);bottom:0;content:"";left:50%;position:absolute;top:0;transform:translateX(-50%);width:2px}.timeline-items{position:relative;width:100%}.timeline-year-marker{align-items:center;display:flex;justify-content:center;margin-bottom:16px;margin-top:24px;padding:32px 0 24px;position:relative}.timeline-year-marker:after{background:linear-gradient(90deg,#0000,#475569 10%,#475569 90%,#0000);content:"";height:1px;left:0;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}.timeline-year-marker:before{background:#f1f5f9;border-radius:50%;box-shadow:0 0 0 4px #f1f5f926;content:"";height:22px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:22px;z-index:2}.timeline-year-marker .year-label{background:#0f172a;border-radius:4px;color:#f1f5f9;font-size:2.5rem;font-weight:800;letter-spacing:1px;padding:0 24px;position:relative;z-index:3}.timeline-month-marker{align-items:center;display:flex;justify-content:center;margin-bottom:4px;padding:12px 0 8px;position:relative}.timeline-month-marker .month-label{color:#94a3b8;font-size:.95rem;font-weight:600;letter-spacing:.3px;padding:0 16px}.timeline-today-marker{align-items:center;display:flex;margin:12px 0;padding:16px 0 16px 30px;position:relative}.timeline-today-marker:before{background:linear-gradient(90deg,#60a5fa,#0000);content:"";height:2px;left:0;opacity:.3;position:absolute;top:50%;transform:translateY(-50%);width:100%}.timeline-today-marker .today-label{background:#60a5fa1a;border:1px solid #60a5fa4d;border-radius:6px;color:#60a5fa;font-size:.95rem;font-weight:700;letter-spacing:.5px;padding:6px 12px;position:relative;text-transform:uppercase;z-index:2}.timeline-event{align-items:center;display:flex;margin-bottom:16px;padding:8px 0;position:relative;width:100%}.timeline-event .event-date{color:#64748b;font-size:.8rem;font-weight:500;position:absolute;white-space:nowrap}.timeline-event .event-content{position:absolute}.timeline-event:before{border-radius:50%;content:"";height:10px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:10px;z-index:2}.timeline-event:after{content:"";height:2px;position:absolute;top:50%;transform:translateY(-50%);z-index:1}.timeline-event.income .event-date{right:calc(50% + 15px);text-align:right}.timeline-event.income .event-content{display:flex;justify-content:flex-end;left:5%;right:calc(50% + 120px)}.timeline-event.income:after{background:#10b9814d;left:calc(50% - 110px);width:105px}.timeline-event.income:before{background:#10b981;box-shadow:0 0 0 3px #10b98126}.timeline-event.expense .event-date{left:calc(50% + 15px);text-align:left}.timeline-event.expense .event-content{display:flex;justify-content:flex-start;left:calc(50% + 120px);right:5%}.timeline-event.expense:after{background:#f871714d;left:calc(50% + 5px);width:105px}.timeline-event.expense:before{background:#f87171;box-shadow:0 0 0 3px #f8717126}.timeline-event .event-bar{align-items:center;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;position:relative;transition:all .2s ease}.timeline-event .event-bar:hover{box-shadow:0 4px 12px #0000004d;transform:scale(1.02)}.timeline-event .event-bar:hover .event-edit-btn{opacity:1}.timeline-event.income .event-bar{background:#10b9811f;border:1px solid #10b9814d}.timeline-event.income .event-bar:hover{background:#10b9812e;border-color:#10b98166}.timeline-event.expense .event-bar{background:#f871711f;border:1px solid #f871714d}.timeline-event.expense .event-bar:hover{background:#f871712e;border-color:#f8717166}.timeline-event .event-info{display:flex;flex:1 1;flex-direction:column;gap:4px;min-width:0}.timeline-event .event-name{color:#e2e8f0;font-size:.9rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-event .event-amount{font-size:1rem;font-weight:700}.timeline-event.income .event-amount{color:#10b981}.timeline-event.expense .event-amount{color:#f87171}.timeline-event .event-edit-btn{align-items:center;background:#64748b33;border:1px solid #64748b4d;border-radius:4px;color:#cbd5e1;cursor:pointer;display:flex;justify-content:center;opacity:.6;padding:6px 8px;transition:all .2s ease}.timeline-event .event-edit-btn:hover{background:#64748b66;border-color:#64748b80;opacity:1}.timeline-event .event-edit-btn svg{display:block}.timeline-empty{align-items:center;color:#94a3b8;display:flex;flex-direction:column;height:300px;justify-content:center}.timeline-empty p{font-size:.95rem;margin:8px 0}.timeline-empty p:first-child{font-size:1.1rem;font-weight:600}.modal-header h3{font-size:1.4rem}.event-details-view{display:flex;flex-direction:column;gap:20px}.detail-row{align-items:center;border-bottom:1px solid #334155;display:flex;justify-content:space-between;padding:12px 0}.detail-row:last-child{border-bottom:none}.detail-label{color:#94a3b8;font-size:.9rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.detail-value{color:#f1f5f9;font-size:1rem;font-weight:500;text-align:right}.btn-close-modal{background:#334155;border:none;border-radius:8px;color:#cbd5e1;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 28px;transition:all .2s ease}.btn-close-modal:hover{background:#475569}.expense-modal,.income-modal{max-width:900px}.expense-modal .two-column-layout,.income-modal .two-column-layout{grid-gap:32px;display:grid;gap:32px;grid-template-columns:1fr 1fr}.expense-modal .left-column,.expense-modal .right-column,.income-modal .left-column,.income-modal .right-column{display:flex;flex-direction:column;gap:20px}.expense-modal .type-buttons,.income-modal .type-buttons{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.expense-modal .type-btn,.income-modal .type-btn{background:#1e293b;border:1.5px solid #334155;border-radius:8px;color:#cbd5e1;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 16px;text-align:center;transition:all .2s ease}.expense-modal .type-btn:hover,.income-modal .type-btn:hover{background:#253548;border-color:#475569;color:#f1f5f9}.expense-modal .type-btn.active,.income-modal .type-btn.active{background:#10b9811f;border-color:#10b9814d;color:#10b981}.expense-modal .date-section,.income-modal .date-section{background:#0f172a80;border:1px solid #334155;border-radius:12px;display:flex;flex:1 1;flex-direction:column;gap:20px;padding:24px}.expense-modal .date-section .section-label,.income-modal .date-section .section-label{color:#94a3b8;font-size:.75rem;font-weight:700;letter-spacing:1px;margin-bottom:4px;text-transform:uppercase}.expense-modal .form-grid,.expense-modal .form-row,.income-modal .form-grid,.income-modal .form-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr)}.expense-modal .form-field,.income-modal .form-field{display:flex;flex-direction:column}.expense-modal .form-field.full-width,.income-modal .form-field.full-width{grid-column:1/-1}.expense-modal .form-field label,.income-modal .form-field label{color:#94a3b8;font-size:.875rem;font-weight:500;margin-bottom:8px}.expense-modal .form-field input,.expense-modal .form-field select,.expense-modal .form-field textarea,.income-modal .form-field input,.income-modal .form-field select,.income-modal .form-field textarea{background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-size:.95rem;padding:12px 16px}.expense-modal .form-field input:focus,.expense-modal .form-field select:focus,.expense-modal .form-field textarea:focus,.income-modal .form-field input:focus,.income-modal .form-field select:focus,.income-modal .form-field textarea:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-color) 10%,#0000);outline:none}.expense-modal .form-field input::placeholder,.expense-modal .form-field select::placeholder,.expense-modal .form-field textarea::placeholder,.income-modal .form-field input::placeholder,.income-modal .form-field select::placeholder,.income-modal .form-field textarea::placeholder{color:#475569}.expense-modal .form-field textarea,.income-modal .form-field textarea{font-family:inherit;resize:vertical}.expense-modal .form-field select,.income-modal .form-field select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23f1f5f9' d='M6 9 1 4h10z'/%3E%3C/svg%3E");background-position:right 16px center;background-repeat:no-repeat;cursor:pointer;padding-right:40px}.expense-modal .radio-group,.income-modal .radio-group{display:flex;gap:16px}.expense-modal .radio-group .radio-option,.income-modal .radio-group .radio-option{align-items:center;background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;cursor:pointer;display:flex;flex:1 1;font-size:.95rem;gap:8px;padding:12px 16px;transition:all .2s ease}.expense-modal .radio-group .radio-option input[type=radio],.income-modal .radio-group .radio-option input[type=radio]{cursor:pointer;height:18px;width:18px}.expense-modal .radio-group .radio-option span,.income-modal .radio-group .radio-option span{-webkit-user-select:none;user-select:none}.expense-modal .radio-group .radio-option:hover,.income-modal .radio-group .radio-option:hover{background:#253548;border-color:#475569}.expense-modal .radio-group .radio-option:has(input:checked),.income-modal .radio-group .radio-option:has(input:checked){background:var(--accent-color);border-color:var(--accent-color);color:#fff}.expense-modal .modal-footer,.income-modal .modal-footer{display:flex;gap:12px;justify-content:flex-end}.expense-modal .modal-footer .btn-cancel,.expense-modal .modal-footer .btn-primary,.expense-modal .modal-footer .btn-save,.expense-modal .modal-footer .btn-secondary,.income-modal .modal-footer .btn-cancel,.income-modal .modal-footer .btn-primary,.income-modal .modal-footer .btn-save,.income-modal .modal-footer .btn-secondary{border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 24px;transition:all .2s ease}.expense-modal .modal-footer .btn-cancel:disabled,.expense-modal .modal-footer .btn-primary:disabled,.expense-modal .modal-footer .btn-save:disabled,.expense-modal .modal-footer .btn-secondary:disabled,.income-modal .modal-footer .btn-cancel:disabled,.income-modal .modal-footer .btn-primary:disabled,.income-modal .modal-footer .btn-save:disabled,.income-modal .modal-footer .btn-secondary:disabled{cursor:not-allowed;opacity:.5}.expense-modal .modal-footer .btn-cancel,.expense-modal .modal-footer .btn-secondary,.income-modal .modal-footer .btn-cancel,.income-modal .modal-footer .btn-secondary{background:#475569;color:#f1f5f9}.expense-modal .modal-footer .btn-cancel:hover,.expense-modal .modal-footer .btn-secondary:hover,.income-modal .modal-footer .btn-cancel:hover,.income-modal .modal-footer .btn-secondary:hover{background:#64748b}.expense-modal .modal-footer .btn-primary,.expense-modal .modal-footer .btn-save,.income-modal .modal-footer .btn-primary,.income-modal .modal-footer .btn-save{background:var(--accent-color);color:#fff}.expense-modal .modal-footer .btn-primary:hover:not(:disabled),.expense-modal .modal-footer .btn-save:hover:not(:disabled),.income-modal .modal-footer .btn-primary:hover:not(:disabled),.income-modal .modal-footer .btn-save:hover:not(:disabled){background:var(--accent-color-dark)}@media(max-width:768px){.timeline-header{padding:24px 20px 0}.timeline-stats{grid-template-columns:1fr}.timeline-scroll-container,.timeline-stats{padding:0 20px 24px}.timeline-content{padding:0 20px}.timeline-year-marker .year-label{font-size:2rem;padding:0 16px}.timeline-event.expense .event-date,.timeline-event.income .event-date{font-size:.75rem;margin-bottom:8px;position:static;text-align:left}.timeline-event.expense .event-content,.timeline-event.income .event-content{padding:0;width:100%}.timeline-event.expense:after,.timeline-event.income:after{display:none}.timeline-event .event-bar{width:100%!important}}.main-content:has(.timeline-view) .app-footer{padding-left:40px;padding-right:40px}.modal-body .form-field label{color:#cbd5e1;display:block;font-size:.9rem;font-weight:600;letter-spacing:.3px;margin-bottom:10px}.modal-body .form-field input,.modal-body .form-field select,.modal-body .form-field textarea{background:#0f172a;font-family:inherit;transition:all .2s ease;width:100%}.modal-body .form-field select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-size:16px;height:48px}.modal-body .form-field textarea{min-height:80px}.person-paycheck-section{margin-bottom:40px}.person-paycheck-section:last-child{margin-bottom:0}.person-section-title{border-bottom:2px solid #334155;color:#f1f5f9;font-size:1.5rem;font-weight:600;margin:0 0 20px;padding-bottom:12px}.no-paychecks-message{background:#1e293b;border:1px solid #334155;border-radius:12px;color:#94a3b8;font-size:.95rem;margin-bottom:20px;padding:32px 24px;text-align:center}.paychecks-scroll{overflow-x:auto;padding-bottom:20px}.paychecks-container{display:flex;gap:20px;min-width:-webkit-min-content;min-width:min-content}.paycheck-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.paycheck-name-input{background:#0000;border:none;color:#f1f5f9;font-size:1.25rem;font-weight:600;margin-bottom:8px;width:100%}.paycheck-dates{display:flex;font-size:.85rem;gap:8px}.date-input{background:#1e293b;border:1px solid #334155;border-radius:4px;color:#94a3b8;padding:4px 8px}.date-separator{align-items:center;color:#64748b;display:flex}.paycheck-body{margin-bottom:16px}.paycheck-row{display:flex;justify-content:space-between;padding:8px 0}.paycheck-row.gross-row{border-bottom:1px solid #334155}.paycheck-row.gross-row span{color:#cbd5e1;font-weight:500}.paycheck-row.item-row{padding:6px 0}.paycheck-row.item-row span{color:#94a3b8;font-size:.9rem}.paycheck-row.net-row{border-top:2px solid #334155;font-weight:600;margin-top:12px;padding:12px 0}.paycheck-row.net-row span:first-child{color:#cbd5e1}.paycheck-row.expected-row{padding:4px 0}.paycheck-row.expected-row span{color:#94a3b8;font-size:.85rem}.paycheck-row.misc-row{padding:4px 0}.paycheck-row.profit-row{border-top:2px solid #334155;font-weight:700;margin-top:12px;padding:12px 0}.paycheck-row.profit-row span:first-child{color:#cbd5e1}.section-header-row{align-items:center;color:#64748b;display:flex;font-size:.75rem;justify-content:space-between;letter-spacing:.05em;margin-top:8px;padding:8px 0;text-transform:uppercase}.gross-input{background:#0000;border:none;color:#f1f5f9;font-weight:600;text-align:right;width:100px}.misc-name-input{background:#0000;border:none;color:#94a3b8;flex:1 1;font-size:.85rem}.misc-amount-wrapper{align-items:center;display:flex;gap:8px}.misc-amount-input{background:#0000;border:none;color:#94a3b8;font-size:.85rem;text-align:right;width:80px}.misc-delete-btn{background:none;border:none;color:#64748b;cursor:pointer;font-size:1rem}.add-misc-btn{background:#1e293b;border:1px solid #334155;border-radius:4px;color:#64748b;cursor:pointer;font-size:.8rem;margin-top:4px;padding:4px 12px}.expected-modal-overlay{align-items:center;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.expected-modal{background:#0f172a;border:1px solid #334155;border-radius:16px;display:flex;flex-direction:column;max-height:85vh;max-width:900px;overflow:hidden;width:90%}.expected-modal-header{align-items:center;border-bottom:1px solid #334155;display:flex;justify-content:space-between;padding:20px 24px}.expected-modal-header h2{color:#f1f5f9;font-size:1.5rem;margin:0}.expected-modal-header p{color:#64748b;font-size:.9rem;margin:8px 0 0}.modal-close-btn{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:1.5rem}.expected-modal-content{grid-gap:24px;display:grid;flex:1 1;gap:24px;grid-template-columns:1fr 1fr;overflow:auto;padding:24px}.expected-column{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:20px}.column-header{margin-bottom:16px}.column-header h3{color:#f1f5f9;font-size:1.1rem;margin:0}.column-header p{color:#64748b;font-size:.85rem;margin:4px 0 0}.expected-item{align-items:center;display:flex;gap:8px;margin-bottom:8px}.expected-name-input{flex:1 1}.expected-amount-input,.expected-name-input{background:#0f172a;border:1px solid #334155;border-radius:6px;color:#e2e8f0;font-size:.9rem;padding:8px 12px}.expected-amount-input{text-align:right;width:100px}.expected-delete-btn{background:none;border:none;color:#64748b;cursor:pointer;font-size:1.2rem;padding:4px 8px}.add-expected-btn{background:#334155;border:none;border-radius:6px;color:#94a3b8;cursor:pointer;font-size:.85rem;margin-top:12px;padding:8px 16px}.expected-total{color:#f1f5f9;font-weight:600;justify-content:space-between;margin-top:16px;padding-top:16px}.expected-modal-footer,.expected-total{border-top:1px solid #334155;display:flex}.expected-modal-footer{justify-content:flex-end;padding:16px 24px}.btn-done{background:var(--accent-color);border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:500;padding:10px 24px}.person-breakdown .person-cards{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.month-selector{background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-size:.95rem;padding:12px 16px}.monthly-table{margin-bottom:32px}.monthly-table .gross-row{border-bottom:2px solid #475569}.monthly-table .gross-row td:first-child{color:#f1f5f9;font-weight:600}.monthly-table .gross-row td:last-child{font-weight:600;text-align:right}.monthly-table .net-row{border-bottom:2px solid #475569;border-top:2px solid #475569}.monthly-table .net-row td:first-child{color:#f1f5f9;font-weight:600}.monthly-table .net-row td:last-child{font-weight:600;text-align:right}.monthly-table .remaining-row{border-top:2px solid #475569}.monthly-table .remaining-row td:first-child{color:#f1f5f9;font-weight:700}.monthly-table .remaining-row td:last-child{font-weight:700;text-align:right}.monthly-table .indent{padding-left:24px}.monthly-table td:last-child{text-align:right}.section-header{border-bottom:2px solid #1e293b;margin-bottom:24px;margin-top:48px;padding-bottom:12px}.section-header:first-of-type{margin-top:32px}.section-header h2{font-size:1.5rem;font-weight:700;letter-spacing:.5px}.person-breakdown{margin-bottom:32px}.person-breakdown h3{color:#f1f5f9;font-size:1.1rem;font-weight:600;margin:0 0 16px}.person-breakdown .person-cards{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.person-breakdown .person-card{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:20px}.person-breakdown .person-card .person-name{border-bottom:1px solid #334155;color:#f1f5f9;font-size:1.05rem;font-weight:600;margin-bottom:16px;padding-bottom:12px}.person-breakdown .person-card .person-stats{display:flex;flex-direction:column;gap:12px}.person-breakdown .person-card .person-stats .stat{align-items:center;display:flex;justify-content:space-between}.person-breakdown .person-card .person-stats .stat .stat-label{color:#94a3b8;font-size:.875rem}.person-breakdown .person-card .person-stats .stat .stat-value{color:#f1f5f9;font-size:1rem;font-weight:600}.year-selector{background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-size:.95rem;padding:12px 16px}.yearly-table{margin-bottom:32px}.yearly-table .gross-row{border-bottom:2px solid #475569}.yearly-table .gross-row td:first-child{color:#f1f5f9;font-weight:600}.yearly-table .gross-row td{font-weight:600;text-align:right}.yearly-table .gross-row td:first-child{text-align:left}.yearly-table .net-row{border-bottom:2px solid #475569;border-top:2px solid #475569}.yearly-table .net-row td:first-child{color:#f1f5f9;font-weight:600}.yearly-table .net-row td{font-weight:600;text-align:right}.yearly-table .net-row td:first-child{text-align:left}.yearly-table .savings-row{border-top:2px solid #475569}.yearly-table .savings-row td:first-child{color:#f1f5f9;font-weight:700}.yearly-table .savings-row td{font-weight:700;text-align:right}.yearly-table .savings-row td:first-child{text-align:left}.yearly-table .indent{padding-left:24px}.yearly-table td:not(:first-child){text-align:right}.monthly-breakdown{margin-bottom:32px}.monthly-breakdown h3{color:#f1f5f9;font-size:1.125rem;font-weight:600;margin-bottom:16px}.monthly-breakdown td.remaining{font-weight:600;text-align:right}.sankey-container{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:40px 20px}.sankey-container h3{color:#f1f5f9;font-size:1.5rem;margin-bottom:24px;text-align:center}.sankey-container .no-data{color:#64748b;padding:60px;text-align:center}.appearance-section{margin-bottom:48px}.appearance-section h3{color:#94a3b8;font-size:.875rem;font-weight:600;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.appearance-content{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:24px}.accent-color-picker label{color:#f1f5f9;display:block;font-size:.95rem;font-weight:600;margin-bottom:16px}.color-options{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding-bottom:8px}.color-options::-webkit-scrollbar{height:8px}.color-options::-webkit-scrollbar-track{background:#0f172a;border-radius:4px}.color-options::-webkit-scrollbar-thumb{background:#475569;border-radius:4px}.color-options::-webkit-scrollbar-thumb:hover{background:#64748b}.color-option{align-items:center;border:3px solid #0000;border-radius:12px;box-shadow:0 2px 8px #0003;cursor:pointer;display:flex;height:60px;justify-content:center;min-width:60px;position:relative;transition:all .2s ease;width:60px}.color-option:hover{box-shadow:0 4px 12px #0000004d;transform:translateY(-2px)}.color-option.active{border-color:#f1f5f9;box-shadow:0 0 0 2px #0f172a,0 4px 12px #0000004d}.color-option .checkmark{color:#fff;font-size:1.5rem;font-weight:700;text-shadow:0 1px 3px #00000080}.people-section{margin-bottom:48px}.people-section h3{color:#94a3b8;font-size:.875rem;font-weight:600;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.person-tabs{display:flex;flex-wrap:wrap;gap:8px}.person-tabs .person-tab{align-items:center;background:#475569;border:none;border-radius:8px;color:#f1f5f9;cursor:pointer;display:flex;font-size:.95rem;font-weight:500;gap:8px;padding:12px 20px;transition:all .15s ease}.person-tabs .person-tab:hover{background:#64748b}.person-tabs .person-tab.active{background:var(--accent-color);color:#fff}.person-tabs .person-tab.add-person{background:#475569}.person-tabs .person-tab.add-person:hover{background:#64748b}.person-tabs .person-tab .delete-person-btn{background:none;border:none;color:currentColor;cursor:pointer;font-size:1.2rem;line-height:1;margin-left:4px;opacity:.7;padding:0 4px}.person-tabs .person-tab .delete-person-btn:hover{opacity:1}.person-tabs .person-tab .person-name-input{background:#ffffff1a;border:1px solid #ffffff4d;border-radius:4px;color:#fff;font-size:.95rem;min-width:100px;outline:none;padding:4px 8px}.salary-section{margin-bottom:48px}.salary-section h3{color:#94a3b8;font-size:.875rem;font-weight:600;letter-spacing:.5px;margin:0 0 12px;text-transform:uppercase}.salary-section .salary-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.salary-section .salary-grid .field label{color:#94a3b8;display:block;font-size:.875rem;font-weight:500;margin-bottom:8px}.salary-section .salary-grid .field input,.salary-section .salary-grid .field select{background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-size:.95rem;height:48px;padding:12px 16px;width:100%}.salary-section .salary-grid .field input:focus,.salary-section .salary-grid .field select:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-color) 10%,#0000);outline:none}.salary-section .salary-grid .field input[type=number]{-moz-appearance:textfield}.salary-section .salary-grid .field input[type=number]::-webkit-inner-spin-button,.salary-section .salary-grid .field input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.salary-section .salary-grid .field select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23f1f5f9' d='M6 9 1 4h10z'/%3E%3C/svg%3E");background-position:right 16px center;background-repeat:no-repeat;cursor:pointer;padding-right:40px}.salary-section .salary-grid .field.checkbox-field{display:flex;flex-direction:column;justify-content:flex-end}.salary-section .salary-grid .field .checkbox-label{align-items:center;background:#1e293b;border:1px solid #334155;border-radius:8px;cursor:pointer;display:flex;gap:12px;height:48px;padding:12px 16px;transition:all .2s ease}.salary-section .salary-grid .field .checkbox-label:hover{background:#253548;border-color:#475569}.salary-section .salary-grid .field .checkbox-label input[type=checkbox]{accent-color:var(--accent-color);cursor:pointer;height:20px;margin:0;width:20px}.salary-section .salary-grid .field .checkbox-label span{color:#f1f5f9;font-size:.95rem;-webkit-user-select:none;user-select:none}.salary-section .salary-placeholder{background:#475569;border-radius:12px;color:#cbd5e1;font-size:.95rem;padding:60px 24px;text-align:center}.settings-section{margin-bottom:48px}.settings-section .section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.settings-section .section-header h3{color:#94a3b8;font-size:.875rem;font-weight:600;letter-spacing:.5px;margin:0;text-transform:uppercase}.btn-small{font-size:.9rem!important;padding:8px 16px!important;width:auto!important}.inline-input{background:#0000;border:none;color:#e2e8f0;padding:4px;width:100%}.inline-input:focus{border-radius:4px;outline:1px solid var(--accent-color)}.total-row{background:#0f172a;border-top:2px solid #334155}.total-row td{color:#cbd5e1;font-size:.875rem;font-weight:700;letter-spacing:.5px;padding:16px 20px;text-transform:uppercase}.total-row td:first-child{text-align:left}.total-row td:nth-child(2){text-align:right}.apply-all-section{background:linear-gradient(135deg,#3b82f626,#2563eb26);border:1px solid var(--accent-color-light);border-radius:12px;margin-bottom:0;margin-top:64px;padding:24px}.apply-all-section .warning-content{align-items:flex-start;display:flex;gap:16px;margin-bottom:16px}.apply-all-section .warning-icon{font-size:24px}.apply-all-section .warning-text{flex:1 1}.apply-all-section .warning-text h3{color:#f1f5f9;font-size:1rem;font-weight:600;margin:0 0 8px}.apply-all-section .warning-text p{color:#cbd5e1;font-size:.9rem;line-height:1.5;margin:0}.apply-all-section .warning-text p strong{color:#f1f5f9}.apply-all-section .warning-text .warning-highlight{color:#60a5fa;font-weight:500}.apply-all-section .btn-apply{background:var(--accent-color);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 24px;transition:transform .15s ease,background .15s ease}.apply-all-section .btn-apply:hover{background:var(--accent-color-dark);transform:translateY(-1px)}.frequency-select{background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-size:.95rem;padding:12px 16px}.gross-pay-section{margin-bottom:32px}.modal-content{max-width:500px;padding:32px}.modal-content h2{color:#f1f5f9;font-size:1.5rem;font-weight:700;margin:0 0 16px}.modal-content p{color:#cbd5e1;line-height:1.6;margin:0 0 12px}.modal-content p strong{color:#f1f5f9;font-weight:600}.modal-content p.warning-text{color:#fbbf24;font-size:.9rem;margin-bottom:24px}.modal-content .modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.modal-content .modal-actions button{border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;padding:10px 24px;transition:all .2s ease}.modal-content .modal-actions button.btn-secondary{background:#475569;color:#f1f5f9}.modal-content .modal-actions button.btn-secondary:hover{background:#64748b}.modal-content .modal-actions button.btn-danger{background:#dc2626;color:#fff}.modal-content .modal-actions button.btn-danger:hover{background:#b91c1c}.notes-container{display:flex;gap:20px;height:100%}.notes-sidebar{background:#1e293b;border:1px solid #334155;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;width:280px}.notes-sidebar .sidebar-header{align-items:center;border-bottom:1px solid #334155;display:flex;justify-content:space-between;padding:16px}.notes-sidebar .sidebar-header h3{color:#f1f5f9;font-size:1rem;margin:0}.notes-sidebar .btn-new-note{background:var(--accent-color);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:500;padding:6px 12px;transition:background .15s ease}.notes-sidebar .btn-new-note:hover{background:var(--accent-color-dark)}.notes-sidebar .notes-list{flex:1 1;overflow-y:auto;padding:8px}.notes-sidebar .empty-notes{color:#64748b;font-size:.9rem;padding:40px 20px;text-align:center}.notes-sidebar .note-item{background:#0000;border:1px solid #0000;border-radius:8px;cursor:pointer;margin-bottom:4px;padding:12px;transition:all .15s ease}.notes-sidebar .note-item:hover{background:#33415580}.notes-sidebar .note-item.active{background:#334155;border-color:#475569}.notes-sidebar .note-item .note-item-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:4px}.notes-sidebar .note-item .note-title{color:#f1f5f9;flex:1 1;font-size:.9rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-sidebar .note-item .btn-delete-note{background:none;border:none;color:#64748b;cursor:pointer;font-size:1rem;line-height:1;opacity:.5;padding:2px 6px;transition:opacity .15s ease}.notes-sidebar .note-item .btn-delete-note:hover{color:#ef4444;opacity:1}.notes-sidebar .note-item.active .btn-delete-note{opacity:1}.notes-sidebar .note-item .note-date{color:#64748b;font-size:.75rem}.notes-sidebar .note-item .note-preview{color:#94a3b8;font-size:.8rem;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-editor{background:#1e293b;border:1px solid #334155;border-radius:12px;display:flex;flex:1 1;flex-direction:column;overflow:hidden}.note-editor .editor-header{border-bottom:1px solid #334155;padding:20px 24px}.note-editor .editor-header .title-input{background:#0000;border:none;color:#f1f5f9;font-size:1.5rem;font-weight:600;outline:none;width:100%}.note-editor .editor-header .note-title-display{color:#f1f5f9;cursor:text;font-size:1.5rem;margin:0}.note-editor .editor-header .note-title-display:hover{opacity:.8}.note-editor .editor-header .last-edited{color:#64748b;font-size:.8rem;margin-top:8px}.note-editor .editor-toolbar{align-items:center;background:#0f172a;border-bottom:1px solid #334155;display:flex;flex-wrap:wrap;gap:4px;padding:8px 12px}.note-editor .editor-toolbar .menu-button{align-items:center;background:#0000;border:1px solid #0000;border-radius:6px;color:#94a3b8;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;height:32px;justify-content:center;min-width:32px;padding:6px 10px;transition:all .15s ease}.note-editor .editor-toolbar .menu-button:hover{background:#1e293b;color:#e2e8f0}.note-editor .editor-toolbar .menu-button.is-active{background:var(--accent-color);border-color:var(--accent-color);color:#fff}.note-editor .editor-toolbar .toolbar-divider{background:#334155;height:24px;margin:0 4px;width:1px}.note-editor .editor-wrapper{flex:1 1;overflow-y:auto;padding:24px}.note-editor .note-editor-content{color:#e2e8f0;font-size:15px;line-height:1.7;min-height:100%;outline:none}.note-editor .note-editor-content h1,.note-editor .note-editor-content h2,.note-editor .note-editor-content h3,.note-editor .note-editor-content h4,.note-editor .note-editor-content h5,.note-editor .note-editor-content h6{color:#f1f5f9;font-weight:600;line-height:1.3;margin:1.5em 0 .5em}.note-editor .note-editor-content h1:first-child,.note-editor .note-editor-content h2:first-child,.note-editor .note-editor-content h3:first-child,.note-editor .note-editor-content h4:first-child,.note-editor .note-editor-content h5:first-child,.note-editor .note-editor-content h6:first-child{margin-top:0}.note-editor .note-editor-content h1{font-size:2em}.note-editor .note-editor-content h2{font-size:1.5em}.note-editor .note-editor-content h3{font-size:1.25em}.note-editor .note-editor-content p{margin:.75em 0}.note-editor .note-editor-content p:first-child{margin-top:0}.note-editor .note-editor-content ol,.note-editor .note-editor-content ul{margin:.75em 0;padding-left:1.5em}.note-editor .note-editor-content li,.note-editor .note-editor-content li p{margin:.25em 0}.note-editor .note-editor-content code{background:#0f172a;border:1px solid #334155;border-radius:4px;color:#fbbf24;font-family:Monaco,Courier New,monospace;font-size:.9em;padding:.2em .4em}.note-editor .note-editor-content pre{background:#0f172a;border:1px solid #334155;border-radius:8px;margin:1em 0;overflow-x:auto;padding:1em}.note-editor .note-editor-content pre code{background:none;border:none;color:#a5b4fc;font-size:.875em;padding:0}.note-editor .note-editor-content blockquote{border-left:4px solid var(--accent-color);color:#cbd5e1;font-style:italic;margin:1em 0;padding-left:1em}.note-editor .note-editor-content hr{border:none;border-top:2px solid #334155;margin:2em 0}.note-editor .note-editor-content strong{color:#f1f5f9;font-weight:600}.note-editor .note-editor-content em{font-style:italic}.note-editor .note-editor-content s{opacity:.7;text-decoration:line-through}.note-editor .note-editor-content p.is-editor-empty:first-child:before{color:#475569;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.note-editor .note-textarea{background:#0000;border:none;color:#e2e8f0;flex:1 1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.7;outline:none;padding:24px;resize:none}.note-editor .note-textarea::placeholder{color:#475569}.note-editor .empty-editor{align-items:center;color:#64748b;display:flex;flex:1 1;flex-direction:column;gap:16px;justify-content:center}.note-editor .empty-editor .empty-icon{font-size:3rem}.recurring-expenses-view{border-top:2px solid #334155;margin-top:64px;padding-top:48px}.view-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:32px}.view-header h1{color:#f1f5f9;font-size:1.75rem;font-weight:700;margin:0 0 8px}.view-header .view-subtitle{color:#64748b;font-size:.95rem;margin:0}.expenses-section{margin-bottom:40px}.expenses-section:last-child{margin-bottom:0}.tab-buttons{background:#0f172a;border:1px solid #334155;border-radius:8px;display:flex;gap:8px;padding:4px}.tab-button{background:#0000;border:none;border-radius:6px;color:#94a3b8;cursor:pointer;font-size:.9rem;font-weight:600;padding:8px 20px;transition:all .2s ease}.tab-button:hover{color:#cbd5e1}.tab-button.active{box-shadow:0 2px 8px var(--accent-color-light)}.btn-add-expense,.tab-button.active{background:linear-gradient(135deg,var(--accent-color) 0,var(--accent-color-dark) 100%);color:#fff}.btn-add-expense{border:none;box-shadow:0 4px 12px var(--accent-color-light)}.btn-add-expense:hover{box-shadow:0 6px 16px color-mix(in srgb,var(--accent-color) 40%,#0000)}.expenses-list{display:flex;flex-direction:column;gap:16px}.expense-card.paid{background:#1a2332;opacity:.6}.expense-name-input{background:#0f172a;border:1px solid #334155;border-radius:6px;color:#f1f5f9;font-size:1.1rem;font-weight:600;margin-bottom:12px;padding:8px 12px;width:100%}.expense-name-input:focus{border-color:var(--accent-color);outline:none}.btn-paid{background:#1e293b;border:1px solid #334155;border-radius:6px;color:#cbd5e1;cursor:pointer;font-size:.85rem;font-weight:600;padding:6px 16px;transition:all .2s ease}.btn-paid:hover{background:#334155;border-color:#475569}.btn-paid.paid{background:linear-gradient(135deg,#10b981,#059669);border-color:#10b981;color:#fff}.expense-field input,.expense-field select{background:#0f172a;border:1px solid #334155;border-radius:6px;color:#f1f5f9;font-size:.95rem;padding:8px 12px}.expense-field input:focus,.expense-field select:focus{border-color:var(--accent-color);outline:none}.expense-notes{border-radius:6px;color:#94a3b8;font-size:.9rem;line-height:1.5;margin-top:12px}.expense-notes strong{color:#cbd5e1}.modal-content{max-height:85vh;max-width:950px}.modal-header{background:#0f172a80;padding:24px 32px}.modal-body{grid-gap:24px 32px;align-content:start;display:grid;gap:24px 32px;grid-template-columns:1fr 1fr;padding:28px 32px}.modal-body .form-field{margin-bottom:0}.modal-body .form-field.full-width{grid-column:1/-1}.form-field{margin-bottom:20px}.form-field label{display:block;font-size:.9rem;letter-spacing:.3px;margin-bottom:10px}.form-field input,.form-field select,.form-field textarea{background:#0f172a;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-family:inherit;font-size:.95rem;padding:12px 16px;transition:all .2s ease;width:100%}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-color) 10%,#0000);outline:none}.form-field input::placeholder,.form-field select::placeholder,.form-field textarea::placeholder{color:#475569}.form-field select{height:48px}.form-field textarea{min-height:80px;resize:vertical}.modal-footer{background:#0f172a80;padding:20px 32px}@media(max-width:768px){.recurring-expenses-view{padding:20px}.view-header{flex-direction:column;gap:20px;margin-bottom:32px}.expense-details,.form-row{grid-template-columns:1fr}.modal-content{max-height:95vh;width:95%}.modal-body{padding:20px}.modal-footer{padding:16px 20px}}.manage-income-page{padding:32px}.btn-add-income{background:#10b9811f;border:1.5px solid #10b9814d;border-radius:8px;box-shadow:0 4px 12px #10b9811f;color:#10b981;cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 20px;transition:all .2s ease}.btn-add-income:hover{background:#10b9812e;border-color:#10b98166;box-shadow:0 6px 16px #10b9812e;color:#059669;transform:translateY(-1px)}.income-section{margin-bottom:48px}.income-section:last-child{margin-bottom:0}.income-list,.salaries-list{display:flex;flex-direction:column;gap:16px}.salary-card{background:#1e293b;border:1px solid #334155;border-radius:12px;overflow:hidden;transition:all .2s ease}.salary-card:hover{border-color:#475569;box-shadow:0 4px 12px #0003}.salary-header{align-items:center;cursor:pointer;display:flex;justify-content:space-between;padding:20px;-webkit-user-select:none;user-select:none}.salary-header:hover{background:#3341554d}.salary-person-info{flex:1 1}.salary-person-info h3{color:#f1f5f9;font-size:1.1rem;font-weight:600;margin:0 0 6px}.salary-person-info .salary-summary{color:#94a3b8;font-size:.9rem}.expand-btn{align-items:center;background:#334155;border:none;border-radius:6px;color:#cbd5e1;cursor:pointer;display:flex;font-size:1.25rem;font-weight:600;height:32px;justify-content:center;transition:all .2s ease;width:32px}.expand-btn:hover{background:#475569}.salary-details{border-top:1px solid #334155;margin-top:-1px;padding:0 20px 20px}.salary-form-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:20px}.paycheck-items-section{border-top:2px solid #334155;margin-top:32px;padding-top:24px}.items-group{margin-bottom:28px}.items-group:last-child{margin-bottom:0}.items-group-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.items-group-header h4{color:#e2e8f0;font-size:1rem;font-weight:600;margin:0}.btn-add-item{background:linear-gradient(135deg,var(--accent-color) 0,var(--accent-color-dark) 100%);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.8rem;font-weight:600;padding:6px 14px;transition:all .2s ease}.btn-add-item:hover{box-shadow:0 4px 12px color-mix(in srgb,var(--accent-color) 40%,#0000);transform:translateY(-1px)}.items-table table{background:#0f172a;border:1px solid #334155;border-collapse:collapse;border-radius:8px;overflow:hidden;width:100%}.items-table table thead{background:#1a2332}.items-table table thead th{border-bottom:1px solid #334155;color:#94a3b8;font-size:.8rem;font-weight:600;letter-spacing:.5px;padding:12px;text-align:left;text-transform:uppercase}.items-table table tbody tr{border-bottom:1px solid #1e293b}.items-table table tbody tr:last-child{border-bottom:none}.items-table table tbody tr:hover{background:#33415533}.items-table table tbody td{padding:8px 12px}.items-table table tfoot{background:#1a2332;border-top:2px solid #334155}.items-table table tfoot .total-row td{color:#e2e8f0;font-size:.95rem;font-weight:700;padding:12px}.items-table .item-input{background:#0a0f1a;border:1px solid #334155;border-radius:4px;color:#f1f5f9;font-size:.9rem;padding:8px 10px;transition:all .2s ease;width:100%}.items-table .item-input:focus{border-color:var(--accent-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent-color) 10%,#0000);outline:none}.items-table .item-input::placeholder{color:#475569}.items-table .btn-delete-item{align-items:center;background:#ef4444;border:none;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-size:1.1rem;font-weight:500;height:28px;justify-content:center;transition:all .2s ease;width:28px}.items-table .btn-delete-item:hover{background:#dc2626;transform:scale(1.05)}.form-field{display:flex;flex-direction:column;gap:8px}.form-field label{color:#cbd5e1;font-size:.85rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.form-field input,.form-field select{background:#0f172a;border:1px solid #334155;border-radius:6px;color:#f1f5f9;font-size:.95rem;padding:10px 14px;transition:all .2s ease}.form-field input:focus,.form-field select:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-color) 10%,#0000);outline:none}.form-field input.readonly-field,.form-field select.readonly-field{background:#1a2332;cursor:not-allowed;opacity:.7}.form-field select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;cursor:pointer;padding-right:40px}.form-field.checkbox-field label{align-items:center;cursor:pointer;display:flex;font-size:.95rem;gap:10px;text-transform:none}.form-field.checkbox-field label input[type=checkbox]{cursor:pointer;height:18px;width:18px}.income-card{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:20px;transition:all .2s ease}.income-card:hover{border-color:#475569;box-shadow:0 4px 12px #0003}.income-header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between;margin-bottom:16px}.income-main-info{flex:1 1;min-width:0}.income-name{color:#f1f5f9;font-size:1.1rem;font-weight:600;margin-bottom:8px}.income-badges{display:flex;flex-wrap:wrap;gap:8px}.income-actions{align-items:center;display:flex;gap:8px}.btn-delete-income{align-items:center;background:#ef4444;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:1.25rem;font-weight:500;height:32px;justify-content:center;transition:all .2s ease;width:32px}.btn-delete-income:hover{background:#dc2626;transform:scale(1.05)}.income-details{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.income-field{display:flex;flex-direction:column;gap:6px}.income-field label{color:#64748b;font-size:.8rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.income-field .income-value{color:#e2e8f0;font-size:.95rem;font-weight:500}.income-notes{background:#0f172a;border:1px solid #334155;border-radius:8px;grid-column:1/-1;margin-top:8px;padding:12px}.income-notes label{color:#64748b;display:block;font-size:.8rem;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.income-notes p{color:#cbd5e1;font-size:.9rem;line-height:1.5;margin:0}@media(max-width:768px){.manage-income-page{padding:20px}.page-header{flex-direction:column;gap:20px}.salary-form-grid{grid-template-columns:1fr}.modal-content{width:95%}.modal-body{grid-template-columns:1fr;padding:20px}}.manage-expenses-page{padding:32px}.page-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:40px}.page-header h1{color:#f1f5f9;font-size:1.75rem;font-weight:700;margin:0 0 8px}.page-header .page-subtitle{color:#64748b;font-size:.95rem;margin:0}.btn-add-expense{background:#f871711f;border:1.5px solid #f871714d;border-radius:8px;box-shadow:0 4px 12px #f871711f;color:#f87171;cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 20px;transition:all .2s ease}.btn-add-expense:hover{background:#f871712e;border-color:#f8717166;box-shadow:0 6px 16px #f871712e;color:#dc2626;transform:translateY(-1px)}.expense-section{margin-bottom:48px}.expense-section:last-child{margin-bottom:0}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.section-header h2{color:#f1f5f9;font-size:1.3rem;font-weight:600;margin:0}.expense-list{display:flex;flex-direction:column;gap:16px}.expense-card{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:20px;transition:all .2s ease}.expense-card:hover{border-color:#475569;box-shadow:0 4px 12px #0003}.expense-header{align-items:flex-start;display:flex;gap:16px;justify-content:space-between;margin-bottom:16px}.expense-main-info{flex:1 1;min-width:0}.expense-name{color:#f1f5f9;font-size:1.1rem;font-weight:600;margin-bottom:8px}.expense-badges{display:flex;flex-wrap:wrap;gap:8px}.badge{align-items:center;border-radius:6px;display:inline-flex;font-size:.8rem;font-weight:600;gap:4px;padding:4px 10px}.badge.recurring{background:#a855f726;border:1px solid #a855f74d;color:#a78bfa}.badge.once{background:#3b82f626;border:1px solid var(--accent-color-light);color:#60a5fa}.badge.ownership{background:#22c55e26;border:1px solid #22c55e4d;color:#4ade80}.badge.ownership.shared{background:#64748b26;border:1px solid #64748b4d;color:#94a3b8}.expense-actions{align-items:center;display:flex;gap:8px}.btn-delete-expense{align-items:center;background:#ef4444;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:1.25rem;font-weight:500;height:32px;justify-content:center;transition:all .2s ease;width:32px}.btn-delete-expense:hover{background:#dc2626;transform:scale(1.05)}.expense-details{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.expense-field{display:flex;flex-direction:column;gap:6px}.expense-field label{color:#64748b;font-size:.8rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.expense-field .expense-value{color:#e2e8f0;font-size:.95rem;font-weight:500}.expense-notes{background:#0f172a;border:1px solid #334155;border-radius:8px;grid-column:1/-1;margin-top:8px;padding:12px}.expense-notes label{color:#64748b;display:block;font-size:.8rem;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.expense-notes p{color:#cbd5e1;font-size:.9rem;line-height:1.5;margin:0}.empty-state{background:#1e293b;border:2px dashed #334155;border-radius:12px;color:#64748b;padding:40px 24px;text-align:center}.empty-state p{font-size:1rem;font-weight:500;margin:0}.modal-overlay{background:#000000b3}.modal-content{background:linear-gradient(135deg,#1e293b,#1a2332);border:1px solid #475569;box-shadow:0 25px 70px #0009;max-width:1050px;width:90%}.modal-header{padding:28px 32px}.modal-header h3{color:#f1f5f9;font-size:1.3rem;font-weight:700;margin:0}.modal-close{border:none;border-radius:6px;height:32px;width:32px}.modal-body{padding:32px}.modal-body.two-column-layout{grid-gap:32px;display:grid;gap:32px;grid-template-columns:1fr 1fr}.modal-body .left-column,.modal-body .right-column{display:flex;flex-direction:column;gap:20px}.modal-body .type-buttons{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.modal-body .type-btn{background:#1e293b;border:1.5px solid #334155;border-radius:8px;color:#cbd5e1;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 16px;text-align:center;transition:all .2s ease}.modal-body .type-btn:hover{background:#253548;border-color:#475569;color:#f1f5f9}.modal-body .type-btn.active{background:#10b9811f;border-color:#10b9814d;color:#10b981}.modal-body .date-section{background:#0f172a80;border:1px solid #334155;border-radius:12px;display:flex;flex:1 1;flex-direction:column;gap:20px;padding:24px}.modal-body .date-section .section-label{color:#94a3b8;font-size:.75rem;font-weight:700;letter-spacing:1px;margin-bottom:4px;text-transform:uppercase}.modal-body .form-field{display:flex;flex-direction:column}.modal-body .form-field label{color:#94a3b8;font-size:.875rem;font-weight:500;margin-bottom:8px}.modal-body .form-field input,.modal-body .form-field select,.modal-body .form-field textarea{background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-size:.95rem;padding:12px 16px}.modal-body .form-field input:focus,.modal-body .form-field select:focus,.modal-body .form-field textarea:focus{border-color:var(--accent-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-color) 10%,#0000);outline:none}.modal-body .form-field input::placeholder,.modal-body .form-field select::placeholder,.modal-body .form-field textarea::placeholder{color:#475569}.modal-body .form-field textarea{font-family:inherit;resize:vertical}.modal-body .form-field select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23f1f5f9' d='M6 9 1 4h10z'/%3E%3C/svg%3E");background-position:right 16px center;background-repeat:no-repeat;cursor:pointer;padding-right:40px}.radio-group{grid-gap:12px;display:grid;gap:12px;grid-column:1/-1;grid-template-columns:1fr 1fr}.radio-option{align-items:center;background:#0f172a;border:2px solid #334155;border-radius:8px;cursor:pointer;display:flex;gap:10px;justify-content:center;padding:12px 20px;transition:all .2s ease}.radio-option:hover{background:#1a2332;border-color:#475569}.radio-option input[type=radio]{display:none}.radio-option span{color:#cbd5e1;font-size:.95rem;font-weight:500}.radio-option:has(input:checked){background:#3b82f626;border-color:var(--accent-color)}.radio-option:has(input:checked) span{color:#f1f5f9;font-weight:700}.modal-footer{padding:24px 32px}.modal-footer button{border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 28px;transition:all .2s ease}.modal-footer button.btn-cancel{background:#334155;color:#cbd5e1}.modal-footer button.btn-cancel:hover{background:#475569}.modal-footer button.btn-save{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 12px #10b9814d;color:#fff}.modal-footer button.btn-save:hover:not(:disabled){box-shadow:0 6px 20px #10b98166;transform:translateY(-2px)}.modal-footer button.btn-save:disabled{cursor:not-allowed;opacity:.5}@media(max-width:768px){.manage-expenses-page{padding:20px}.page-header{flex-direction:column;gap:20px}.modal-content{width:95%}.modal-body{grid-template-columns:1fr;padding:20px}}.app-footer{border-top:1px solid #334155;margin-top:80px;padding-top:32px}.footer-content{align-items:center;display:flex;gap:24px;justify-content:space-between;padding-bottom:32px}.footer-left,.footer-right{align-items:center;display:flex;flex-wrap:wrap;gap:24px}.footer-link{color:#64748b;cursor:pointer;font-size:.85rem;transition:color .2s ease;white-space:nowrap}.footer-link:hover{color:#94a3b8}.footer-link:first-child{color:#94a3b8;font-weight:600}@media(max-width:768px){.footer-content{gap:16px}.footer-content,.footer-left,.footer-right{align-items:flex-start;flex-direction:column}.footer-left,.footer-right{gap:12px}}:root{--accent-color:var(--accent-color);--accent-color-dark:#2563eb;--accent-color-light:#3b82f64d}*{box-sizing:border-box;margin:0;padding:0}body{background:#0a0e1a;color:#e2e8f0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.app-container{display:flex;height:100vh;overflow:hidden}.app-error,.app-loading{align-items:center;display:flex;flex-direction:column;gap:16px;height:100vh;justify-content:center;width:100%}.app-error p,.app-loading p{color:#94a3b8;font-size:1rem}.app-error button{background:var(--accent-color);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;margin-top:8px;padding:8px 16px}.app-error button:hover{opacity:.9}.loading-spinner{animation:spin .8s linear infinite;height:40px;width:40px}.sidebar{background:#0f172a;border-right:1px solid #1e293b;box-shadow:4px 0 24px #0000004d;display:flex;flex-direction:column;width:280px}.sidebar-header{border-bottom:1px solid #1e293b;padding:24px;text-align:center}.sidebar-header h2{color:#f1f5f9;font-size:1.25rem;font-weight:700;letter-spacing:-.5px;margin-bottom:0}.user-initials{align-items:center;background:linear-gradient(135deg,var(--accent-color) 0,#2563eb 100%);background:linear-gradient(135deg,var(--accent-color) 0,var(--accent-color-dark) 100%);border-radius:50%;box-shadow:0 4px 12px #3b82f64d;box-shadow:0 4px 12px var(--accent-color-light);color:#fff;display:flex;font-size:1.5rem;font-weight:700;height:60px;justify-content:center;margin:0 auto;width:60px}.nav-section{border-bottom:1px solid #1e293b;display:flex;flex-direction:column;gap:8px;padding:16px 12px}.nav-section .section-label{color:#64748b;font-size:.75rem;font-weight:700;letter-spacing:1px;margin-bottom:4px;padding-left:4px;text-transform:uppercase}.nav-button{align-items:center;background:#1e293b;border:1px solid #334155;border-radius:8px;color:#cbd5e1;cursor:pointer;display:flex;font-size:.95rem;font-weight:600;gap:10px;padding:12px 16px;text-align:left;transition:all .2s ease;width:100%}.nav-button:hover{background:#334155;border-color:#475569;transform:translateX(2px)}.nav-button.active{background:linear-gradient(135deg,var(--accent-color) 0,#2563eb 100%);background:linear-gradient(135deg,var(--accent-color) 0,var(--accent-color-dark) 100%);border-color:var(--accent-color);box-shadow:0 4px 12px #3b82f64d;box-shadow:0 4px 12px var(--accent-color-light);color:#f1f5f9}.loans-section{display:flex;flex:1 1;flex-direction:column;overflow-y:auto;padding:16px 12px}.section-label{align-items:center;display:flex;font-size:.75rem;font-weight:700;justify-content:space-between;letter-spacing:1px;margin-bottom:12px;padding-left:4px}.section-label,.subsection-label{color:#64748b;text-transform:uppercase}.subsection-label{font-size:.7rem;font-weight:600;letter-spacing:.5px;margin:16px 0 8px 4px}.btn-add-account-header{align-items:center;background:#0000;border:none;border-radius:4px;color:#64748b;cursor:pointer;display:flex;font-size:1.25rem;font-weight:400;height:24px;justify-content:center;padding:0;transition:all .2s ease;width:24px}.btn-add-account-header:hover{background:#3341554d;color:#94a3b8}.btn-add-account-header:active{transform:scale(.95)}.btn-primary{border:none;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 16px;transition:all .2s ease;width:100%}.btn-primary:active{transform:translateY(0)}.loan-list{flex:1 1;list-style:none;margin-bottom:12px}.loan-list li{align-items:center;background:#1e293b;border:1px solid #334155;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:8px;padding:14px 16px;transition:all .2s ease}.loan-list li:hover{background:#334155;border-color:#475569;transform:translateX(2px)}.loan-list li.active{background:linear-gradient(135deg,var(--accent-color) 0,#2563eb 100%);background:linear-gradient(135deg,var(--accent-color) 0,var(--accent-color-dark) 100%);border-color:var(--accent-color);box-shadow:0 4px 12px #3b82f64d;box-shadow:0 4px 12px var(--accent-color-light)}.loan-info{display:flex;flex:1 1;flex-direction:column;gap:4px}.loan-info strong{color:#f1f5f9;font-size:.95rem;font-weight:600}.loan-info span{color:#94a3b8;font-size:.85rem;font-weight:500}.btn-delete{align-items:center;background:#ef4444;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:1.25rem;font-weight:500;height:28px;justify-content:center;line-height:1;transition:all .2s ease;width:28px}.btn-delete:hover{background:#dc2626;transform:scale(1.05)}.plaid-account .account-info{width:100%}.plaid-account .account-details{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.plaid-account .account-mask{color:#64748b;font-size:.8rem;font-weight:500}.plaid-account .account-balance{color:#94a3b8;font-size:.85rem;font-weight:600}.plaid-link-container{margin-top:12px;padding:0 4px}.plaid-link-container .plaid-link-button{justify-content:center;width:100%}.accounts-section{display:flex;flex-direction:column;overflow-y:auto;padding:16px 12px}.account-list{flex:1 1;list-style:none}.account-list li{align-items:center;background:#1e293b;border:1px solid #334155;border-radius:8px;cursor:grab;display:flex;justify-content:space-between;margin-bottom:8px;padding:12px 14px;transition:all .2s ease}.account-list li:active{cursor:grabbing}.account-list li:hover{background:#334155;border-color:#475569;transform:translateX(2px)}.account-list li.active{background:linear-gradient(135deg,var(--accent-color) 0,#2563eb 100%);background:linear-gradient(135deg,var(--accent-color) 0,var(--accent-color-dark) 100%);border-color:var(--accent-color);box-shadow:0 4px 12px #3b82f64d;box-shadow:0 4px 12px var(--accent-color-light)}.account-info{align-items:center;display:flex;flex:1 1;gap:12px}.account-icon{font-size:1.25rem}.account-details{display:flex;flex-direction:column;gap:2px}.account-details strong{color:#f1f5f9;font-size:.9rem;font-weight:600}.account-type{color:#64748b;font-size:.75rem;text-transform:capitalize}.add-new-item{background:#0000!important;border:none!important;cursor:default!important;margin-top:4px!important;padding:0!important}.add-new-item:hover{background:#0000!important;transform:none!important}.btn-add-account{background:#0000;border:2px dashed #334155;border-radius:8px;color:#64748b;cursor:pointer;font-size:.9rem;font-weight:600;padding:12px 16px;transition:all .2s ease;width:100%}.btn-add-account:hover{background:#3341554d;border-color:#475569;color:#94a3b8}.admin-section{border-top:1px solid #1e293b;display:flex;flex-direction:column;gap:8px;padding:16px 12px}.main-content{background:#0a0e1a;flex:1 1;overflow-y:auto;padding:32px 40px}.top-bar{align-items:center;border-bottom:1px solid #1e293b;display:flex;justify-content:space-between;margin-bottom:32px;padding-bottom:24px}.top-bar h1{color:#f1f5f9;font-size:1.875rem;font-weight:700;letter-spacing:-.5px}.btn-save{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:8px;box-shadow:0 4px 12px #10b9814d;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 28px;transition:all .2s ease}.btn-save:hover{box-shadow:0 6px 16px #10b98166;transform:translateY(-1px)}.input-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-bottom:32px}.field{display:flex;flex-direction:column;gap:8px}.field label{color:#cbd5e1;font-size:.875rem;font-weight:600;letter-spacing:.3px}.field input{background:#1e293b;border:1px solid #334155;border-radius:8px;color:#f1f5f9;font-family:inherit;font-size:.95rem;padding:12px 16px;transition:all .2s ease}.field input:focus{background:#334155;border-color:var(--accent-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent-color) 10%,#0000);outline:none}.highlight-field input{background:linear-gradient(135deg,#064e3b,#065f46);border-color:#10b981;box-shadow:0 0 0 3px #10b9811a}.highlight-field input:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b98133}.summary-deck{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:32px}.card{background:#1e293b;border:1px solid #334155;border-radius:12px;box-shadow:0 4px 12px #0003;padding:24px;transition:all .2s ease}.card:hover{border-color:#475569;box-shadow:0 8px 24px #0000004d;transform:translateY(-2px)}.card .label{color:#94a3b8;display:block;font-size:.875rem;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.card .value{color:#f1f5f9;display:block;font-size:1.75rem;font-weight:700;letter-spacing:-.5px}.sub-value{color:#64748b;display:block;font-size:.8rem;font-weight:500;margin-top:6px}.success-card{background:linear-gradient(135deg,#064e3b,#065f46);border:1px solid #10b981;box-shadow:0 4px 12px #10b98133}.success-card:hover{box-shadow:0 8px 24px #10b9814d}.success-card .value{color:#6ee7b7}.success-card .label{color:#a7f3d0}.sub-text{color:#6ee7b7;display:block;font-size:.85rem;font-weight:600;margin-top:8px}.table-wrapper{background:#1e293b;border:1px solid #334155;border-radius:12px;box-shadow:0 4px 12px #0003;overflow:hidden}table{border-collapse:collapse;width:100%}thead{background:#0f172a;border-bottom:2px solid #334155}thead th{color:#cbd5e1;font-size:.875rem;font-weight:700;letter-spacing:.5px;padding:16px 20px;text-align:left;text-transform:uppercase}tbody tr{border-bottom:1px solid #334155;transition:background .15s ease}tbody tr:hover{background:#334155}tbody tr:last-child{border-bottom:none}tbody tr.current-month{background:#3b82f626;border-left:3px solid var(--accent-color)}tbody tr.current-month:hover{background:#3b82f640}tbody tr.dec-2026{background:#a855f726;border-left:3px solid #a855f7}tbody tr.dec-2026:hover{background:#a855f740}tbody td{font-feature-settings:"tnum";color:#e2e8f0;font-size:.9rem;font-variant-numeric:tabular-nums;padding:14px 20px}tbody td input,tbody td select{font-family:inherit;font-size:inherit}.text-green{color:#6ee7b7;font-weight:600}.text-red{color:#fca5a5;font-weight:600}.paycheck-card{background:#1e293b;border:1px solid #334155;border-radius:12px;box-shadow:0 4px 12px #0003;flex-shrink:0;max-width:500px;min-width:500px;padding:20px}.paycheck-card input[type=number],.paycheck-card input[type=text]{outline:none}.paycheck-card input[type=number]:focus,.paycheck-card input[type=text]:focus{background:#0f172a!important}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#0f172a}::-webkit-scrollbar-thumb{background:#334155;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#475569}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000bf;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#1e293b;border:1px solid #334155;border-radius:16px;box-shadow:0 20px 60px #00000080;display:flex;flex-direction:column;max-height:90vh;max-width:700px;overflow:hidden;width:95%}.modal-header{align-items:center;background:#0f172a;border-bottom:1px solid #334155;display:flex;justify-content:space-between;padding:20px 24px}.modal-header h2{color:#f1f5f9;font-size:1.25rem;font-weight:700;margin:0}.modal-close{align-items:center;background:#0000;border:1px solid #334155;border-radius:8px;color:#94a3b8;cursor:pointer;display:flex;font-size:1.5rem;height:36px;justify-content:center;transition:all .2s ease;width:36px}.modal-close:hover{background:#334155;color:#f1f5f9}.modal-body{flex:1 1;overflow-y:auto;padding:24px}.modal-footer{background:#0f172a;border-top:1px solid #334155;display:flex;gap:12px;justify-content:flex-end;padding:16px 24px}.btn{border:none;border-radius:8px;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 24px;transition:all .2s ease}.btn-secondary{background:#334155;color:#cbd5e1}.btn-secondary:hover{background:#475569;color:#f1f5f9}.btn-primary{background:linear-gradient(135deg,var(--accent-color) 0,#2563eb 100%);background:linear-gradient(135deg,var(--accent-color) 0,var(--accent-color-dark) 100%);box-shadow:0 4px 12px #3b82f64d;box-shadow:0 4px 12px var(--accent-color-light);color:#fff}.btn-primary:hover{box-shadow:0 6px 16px color-mix(in srgb,var(--accent-color) 40%,#0000);transform:translateY(-1px)}.btn-primary:disabled{background:#475569;box-shadow:none;cursor:not-allowed;transform:none}.distribution-summary{background:#0f172a;border:1px solid #334155;border-radius:12px;margin-bottom:24px;padding:20px}.summary-row{border-bottom:1px solid #1e293b;display:flex;justify-content:space-between;padding:8px 0}.summary-row:last-child{border-bottom:none}.summary-row.delta{border-bottom:none;border-top:2px solid #334155;margin-top:8px;padding-top:16px}.summary-row.increase .summary-value{color:#6ee7b7;font-weight:700}.summary-row.decrease .summary-value{color:#fca5a5;font-weight:700}.summary-label{color:#94a3b8;font-weight:500}.summary-value{color:#f1f5f9;font-weight:600}.distribution-preview h3,.distribution-strategies h3{color:#f1f5f9;font-size:1rem;font-weight:600;margin-bottom:16px}.strategy-options{display:flex;flex-direction:column;gap:8px;margin-bottom:24px}.strategy-option{align-items:flex-start;background:#0f172a;border:1px solid #334155;border-radius:8px;cursor:pointer;display:flex;gap:12px;padding:12px 16px;transition:all .2s ease}.strategy-option:hover{background:#1e293b;border-color:#475569}.strategy-option.selected{background:color-mix(in srgb,var(--accent-color) 10%,#0000);border-color:var(--accent-color)}.strategy-option input[type=radio]{accent-color:var(--accent-color);margin-top:3px}.strategy-content{display:flex;flex-direction:column;gap:4px}.strategy-label{color:#f1f5f9;font-weight:600}.strategy-description{color:#94a3b8;font-size:.85rem}.preview-table{background:#0f172a;border-collapse:collapse;border-radius:8px;overflow:hidden;width:100%}.preview-table th{background:#1e293b;color:#94a3b8;font-size:.8rem;font-weight:600;padding:12px 16px;text-align:left;text-transform:uppercase}.preview-table td{border-top:1px solid #1e293b;color:#e2e8f0;font-size:.9rem;padding:12px 16px}.preview-table td.increase{color:#6ee7b7}.preview-table td.decrease{color:#fca5a5}.preview-table tfoot td{background:#1e293b;border-top:2px solid #334155;font-weight:700}.manual-input{background:#1e293b;border:1px solid #334155;border-radius:4px;color:#f1f5f9;font-size:.9rem;padding:6px 8px;text-align:right;width:80px}.manual-input:focus{border-color:var(--accent-color);outline:none}.invalid{color:#fca5a5!important}.error-hint{color:#f87171;font-size:.75rem}.account-header{align-items:flex-start;border-bottom:1px solid #1e293b;display:flex;justify-content:space-between;margin-bottom:32px;padding-bottom:32px}.account-title-section{display:flex;flex:1 1;flex-direction:column;gap:8px}.account-name-input{background:#0000;border:none;color:#f1f5f9;font-size:2rem;font-weight:700;padding:0}.account-name-input:focus{color:var(--accent-color);outline:none}.account-name-input::placeholder{color:#475569}.account-tagline-input{background:#0000;border:none;color:#94a3b8;font-size:.95rem;padding:0}.account-tagline-input:focus{color:#cbd5e1;outline:none}.account-tagline-input::placeholder{color:#475569}.account-header-actions{display:flex;gap:12px}.btn-delete-account{background:#ef4444;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:10px 20px;transition:all .2s ease}.btn-delete-account:hover{background:#dc2626}.account-placeholder-content{background:#1e293b;border:1px solid #334155;border-radius:12px;padding:48px;text-align:center;width:100%}.account-placeholder-content p{color:#94a3b8;font-size:1rem;margin:12px 0}.account-placeholder-content .account-type{color:var(--accent-color);font-weight:600;text-transform:capitalize}.account-placeholder-content .coming-soon{color:#64748b;font-style:italic;margin-top:24px}.auth-loading{align-items:center;background:#0a0e1a;display:flex;justify-content:center;min-height:100vh}.loading-spinner{animation:spin 1s linear infinite;border:3px solid #1e293b;border-radius:50%;border-top:3px solid var(--accent-color);height:48px;width:48px}@keyframes spin{to{transform:rotate(1turn)}}.logout-button{background:#1e293b!important;border-color:#ef4444!important;color:#fca5a5!important;margin-top:8px}.logout-button:hover{background:#ef444426!important;border-color:#f87171!important;color:#fecaca!important}@font-face{font-family:Google Sans Regular;src:url(/static/media/GoogleSans-Regular.e5c56aa705dd5732ef99.ttf)}@font-face{font-family:Google Sans Meedium;src:url(/static/media/GoogleSans-Medium.c2e3210b32a0bd1b343d.ttf)}@font-face{font-family:Google Sans SemiBold;src:url(/static/media/GoogleSans-SemiBold.05df039607bc19cce552.ttf)}@font-face{font-family:Google Sans Bold;src:url(/static/media/GoogleSans-Bold.9102333fa7ec622ba060.ttf)}body{background:linear-gradient(135deg,var(--accent-color) 0,var(--accent-color-dark) 100%);color:#add8e6;font-family:Google Sans Regular;font-size:21px;margin:0;padding:0}
/*# sourceMappingURL=main.7fcbdcff.css.map*/