*,*:before,*:after{box-sizing:border-box}input[type=number]::-webkit-outer-spin-button,input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield;appearance:textfield}.dark-theme{background-color:#0f172a!important}.dark-theme{background-color:#0f172a!important;color:#f8fafc!important}.dark-theme h1,.dark-theme h2,.dark-theme h3,.dark-theme h4,.dark-theme h5,.dark-theme h6,.dark-theme strong,.dark-theme .title,.dark-theme .name,.dark-theme .value,.dark-theme .text-dark,.dark-theme .meta-value,.dark-theme .date-value,.dark-theme .stat-value{color:#f8fafc!important;-webkit-text-fill-color:initial!important}.dark-theme p,.dark-theme .text-muted,.dark-theme .date,.dark-theme .label,.dark-theme .note-text,.dark-theme .intro-text,.dark-theme .stat-label,.dark-theme .meta-label,.dark-theme .subtitle{color:#94a3b8!important}.dark-theme .layout-container,.dark-theme .dashboard-section,.dark-theme .savings-container,.dark-theme .savings-grid,.dark-theme .charts-section,.dark-theme .container{background:#0f172a!important;background-image:none!important}.dark-theme .card,.dark-theme .sidebar,.dark-theme .app-header,.dark-theme .stat-card,.dark-theme .budget-card,.dark-theme .debt-card,.dark-theme .saving-card,.dark-theme .item-row,.dark-theme .modal-content,.dark-theme .modal-header,.dark-theme .modal-footer,.dark-theme .toolbar,.dark-theme .empty-state,.dark-theme .loading-state,.dark-theme .chart-container,.dark-theme .items-list,.dark-theme .summary-cards .card,.dark-theme .styled-table,.dark-theme .confirm-modal{background:#1e293b!important;background-image:none!important;border-color:#334155!important;color:#f8fafc!important}.dark-theme .styled-table th{background-color:#334155!important;border-color:#475569!important;color:#94a3b8!important}.dark-theme .styled-table td{border-color:#334155!important}.dark-theme .styled-table tr:hover{background-color:#243144!important}.dark-theme .item-name{color:#f8fafc!important}.dark-theme .total-savings,.dark-theme .pill{background:#3b82f633!important;border-color:#3b82f64d!important;color:#38bdf8!important}.dark-theme .debt-card.is-completed,.dark-theme .saving-card.is-completed{background:linear-gradient(180deg,#10b98126,#1e293b)!important;border-color:#10b981!important}.dark-theme .dashboard-section .hero .hero-text h1,.dark-theme .modal-items .modal-header h2{background:none!important;-webkit-text-fill-color:#f8fafc!important;color:#f8fafc!important}.dark-theme .layout-container{background-color:#0f172a!important}.dark-theme input,.dark-theme select,.dark-theme textarea,.dark-theme .income-input,.dark-theme .input-full,.dark-theme .input-spent,.dark-theme .input-inline{background:#0f172a!important;color:#f8fafc!important;border-color:#334155!important}.dark-theme input:focus,.dark-theme select:focus,.dark-theme textarea:focus,.dark-theme .input-full:focus{background:#1e293b!important;border-color:#38bdf8!important}.dark-theme .nav-links a{color:#cbd5e1!important}.dark-theme .nav-links a:hover,.dark-theme .nav-links a.active{background-color:#3b82f6!important;color:#fff!important}.dark-theme .btn.ghost,.dark-theme .btn-secondary,.dark-theme .btn-ghost,.dark-theme .close-btn,.dark-theme .page-btn{background-color:transparent!important;border-color:#475569!important;color:#e2e8f0!important}.dark-theme .btn.ghost:hover,.dark-theme .btn-secondary:hover,.dark-theme .btn-ghost:hover,.dark-theme .close-btn:hover,.dark-theme .page-btn:hover{background-color:#334155!important}.dark-theme .icon-btn,.dark-theme .btn-icon{background-color:#334155!important;border-color:#475569!important;color:#e2e8f0!important}.dark-theme .icon-btn .icon,.dark-theme .btn-icon .icon{fill:#e2e8f0!important}.dark-theme .icon-btn:hover,.dark-theme .btn-icon:hover{background-color:#475569!important}.dark-theme .invalid-feedback{color:#ef4444!important}.dark-theme .card-top .card-icon{background-color:#3b82f633!important;border-color:#3b82f666!important}.dark-theme .card-actions,.dark-theme .card-footer{background-color:#1e293b!important;border-color:#334155!important}.dark-theme .card-actions .btn-view{background-color:#1e293b!important;border-color:#475569!important;color:#cbd5e1!important}.dark-theme .theme-label{color:#cbd5e1!important}.cdk-drag-preview{box-sizing:border-box;z-index:9999;pointer-events:none}.cdk-drag-preview.item-row-compact{display:grid!important;grid-template-columns:32px 1fr 100px 120px 140px 1fr 40px;gap:10px;align-items:center;border-radius:8px;box-shadow:0 8px 24px #0000002e;background:#fff;border:1px solid #e5e7eb}.cdk-drag-preview.item-row-compact input,.cdk-drag-preview.item-row-compact select{padding:8px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;width:100%;background:#fff;color:#111827}.cdk-drag-preview.item-row-compact .btn-icon-delete{background:#fee2e2;color:#ef4444;border:none;width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center}.cdk-drag-preview.item-row-compact .drag-handle{display:flex;align-items:center;justify-content:center;color:#9ca3af}.cdk-drag-preview.item-row-stacked{display:flex!important;flex-direction:column;gap:8px;border-radius:8px;padding:10px;box-shadow:0 8px 24px #0000002e;background:#f9fafb;border:1px solid #f3f4f6}.cdk-drag-preview.item-row-stacked .row-top .input-select-full,.cdk-drag-preview.item-row-stacked input,.cdk-drag-preview.item-row-stacked select{padding:8px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:.9rem;background:#fff;color:#111827;width:100%}.cdk-drag-preview.item-row-stacked .row-bottom{display:grid!important;grid-template-columns:32px 1fr 100px 120px 140px 1fr 40px;gap:10px;align-items:center}.cdk-drag-preview.item-row-stacked .btn-icon-delete{background:#fee2e2;color:#ef4444;border:none;width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center}.cdk-drag-preview.item-row-stacked .drag-handle{display:flex;align-items:center;justify-content:center;color:#9ca3af}.dark-theme .cdk-drag-preview.item-row-compact{background:#0f172a!important;border-color:#334155!important;box-shadow:0 8px 24px #00000080}.dark-theme .cdk-drag-preview.item-row-compact input,.dark-theme .cdk-drag-preview.item-row-compact select{background:#1e293b!important;color:#f8fafc!important;border-color:#334155!important}.dark-theme .cdk-drag-preview.item-row-compact .drag-handle{color:#475569!important}.dark-theme .cdk-drag-preview.item-row-compact .btn-icon-delete{background:#451a1a!important;color:#ef4444!important}.dark-theme .cdk-drag-preview.item-row-stacked{background:#0f172a!important;border-color:#334155!important;box-shadow:0 8px 24px #00000080}.dark-theme .cdk-drag-preview.item-row-stacked .row-top .input-select-full,.dark-theme .cdk-drag-preview.item-row-stacked input,.dark-theme .cdk-drag-preview.item-row-stacked select{background:#1e293b!important;color:#f8fafc!important;border-color:#334155!important}.dark-theme .cdk-drag-preview.item-row-stacked .drag-handle{color:#475569!important}.dark-theme .cdk-drag-preview.item-row-stacked .btn-icon-delete{background:#451a1a!important;color:#ef4444!important}
