a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.login-container{min-height:100vh;background:linear-gradient(to bottom right,#d1fae5,#a7f3d0);display:flex;align-items:center;justify-content:center;padding:1rem}.login-card{background:#fff;border-radius:1rem;box-shadow:var(--shadow-lg);width:100%;max-width:450px;padding:2rem}.login-header{text-align:center;margin-bottom:2rem}.login-title{font-size:2rem;font-weight:700;color:var(--primary-green);margin-bottom:.5rem}.login-logo{height:4rem;margin-bottom:.5rem}.login-subtitle{color:var(--text-secondary);font-size:.95rem}.login-form{display:flex;flex-direction:column;gap:1rem}.form-input{width:100%;padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:.5rem;font-size:1rem;transition:all .2s}.password-input-wrapper{position:relative}.password-input-wrapper .form-input{padding-right:3rem}.password-toggle{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:none;color:var(--text-secondary);display:flex;align-items:center;justify-content:center;padding:.5rem;transition:color .2s}.password-toggle:hover{color:var(--text-primary)}.error-message{background-color:var(--red-light);color:var(--red);padding:.75rem;border-radius:.5rem;font-size:.875rem}.submit-button{width:100%;background-color:var(--primary-green);color:#fff;padding:.75rem;border-radius:.5rem;font-size:1rem;font-weight:500;transition:background-color .2s;margin-top:.5rem}.submit-button:hover:not(:disabled){background-color:var(--primary-green-dark)}.submit-button:disabled{opacity:.6;cursor:not-allowed}.login-footer{margin-top:1.5rem;text-align:center}.toggle-mode-button{background:none;color:var(--primary-green);font-weight:500;transition:color .2s}.toggle-mode-button:hover{color:var(--primary-green-dark)}.sidebar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;z-index:40;opacity:0;pointer-events:none;transition:opacity .3s ease-in-out}.sidebar-overlay.active{opacity:1;pointer-events:auto}.sidebar{position:fixed;top:0;left:0;height:100vh;width:280px;max-width:85vw;background-color:var(--bg-primary);border-right:1px solid var(--border-color);z-index:50;transform:translate(-100%);transition:transform .3s ease-in-out;display:flex;flex-direction:column;overflow-y:auto}.sidebar-open{transform:translate(0)}.sidebar-header{display:flex;align-items:center;justify-content:center;padding:1rem;border-bottom:1px solid var(--border-color);position:relative;flex-shrink:0}.sidebar-logo{height:120px;width:auto;max-width:200px}.sidebar-close{position:absolute;right:1rem;display:flex;align-items:center;justify-content:center;padding:.5rem;background:none;color:var(--text-primary);border:none;border-radius:.5rem;transition:background-color .2s;cursor:pointer}.sidebar-close:hover{background-color:var(--bg-secondary)}.sidebar-nav{flex:1;padding:1rem;display:flex;flex-direction:column;gap:.5rem;overflow-y:auto}.sidebar-item{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:none;color:var(--text-primary);border:none;border-radius:.5rem;transition:background-color .2s;text-align:left;font-size:1rem;cursor:pointer;white-space:nowrap}.sidebar-item:hover{background-color:var(--bg-secondary)}.sidebar-item-active{background-color:var(--primary-green-light);color:var(--primary-green-dark);font-weight:500}.sidebar-footer{padding:1rem;border-top:1px solid var(--border-color);background-color:var(--bg-primary);flex-shrink:0;margin-top:auto}.user-info{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;color:var(--text-primary);font-size:.875rem}.user-name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-button{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;padding:.75rem 1rem;background:none;color:var(--text-primary);border:1px solid var(--border-color);border-radius:.5rem;transition:all .2s;font-size:.875rem;cursor:pointer}.logout-button:hover{background-color:var(--bg-secondary);border-color:var(--red);color:var(--red)}@media (min-width: 768px){.sidebar{width:280px}}@media (min-width: 1024px){.sidebar-overlay{display:none}.sidebar{position:sticky;transform:translate(0);height:100vh;top:0;width:200px}.sidebar-header{display:flex;border-bottom:1px solid var(--border-color)}.sidebar-logo{height:80px}.sidebar-close{display:none}.sidebar-nav{padding:1.5rem .75rem}.sidebar-item{padding:.625rem .875rem;font-size:.9rem}.sidebar-footer{padding:.875rem}}@media (max-width: 374px){.sidebar{width:100vw;max-width:100vw}.sidebar-item{font-size:.9rem;padding:.625rem .875rem}}@media (max-height: 500px) and (orientation: landscape){.sidebar-nav{padding:.5rem 1rem;gap:.25rem}.sidebar-item{padding:.5rem 1rem}.sidebar-header,.sidebar-footer{padding:.75rem 1rem}}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background-color:var(--bg-primary);border-top:1px solid var(--border-color);z-index:50;display:block}.bottom-nav-content{display:flex;align-items:center;justify-content:space-around}.bottom-nav-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem 0;background:none;color:var(--text-light);transition:color .2s}.bottom-nav-item-active{color:var(--primary-green)}.bottom-nav-label{font-size:.75rem;font-weight:500}@media (min-width: 1024px){.bottom-nav{display:none}}.dashboard-page{display:flex;flex-direction:column;gap:1.5rem}.dashboard-title{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.dashboard-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 0;gap:1rem}.spinner{width:40px;height:40px;border:4px solid var(--border-color);border-top-color:var(--primary-green);border-radius:50%;animation:spin 1s linear infinite}.stats-grid{display:grid;grid-template-columns:1fr;gap:1rem}.stat-card{display:flex;align-items:center;gap:1rem;background-color:var(--bg-primary);padding:1.25rem;border-radius:.75rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color);transition:transform .2s ease}.stat-card:hover{transform:translateY(-2px)}.stat-icon{width:48px;height:48px;border-radius:.5rem;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}.stat-card:nth-child(1) .stat-icon{background-color:#d1fae5;color:#059669}.stat-card:nth-child(2) .stat-icon{background-color:#fef3c7;color:#d97706}.stat-card:nth-child(3) .stat-icon{background-color:#ede9fe;color:#7c3aed}.stat-card:nth-child(4) .stat-icon{background-color:#fecaca;color:#dc2626}.stat-content{flex:1;min-width:0}.stat-label{font-size:.875rem;color:#6b7280;margin-bottom:.25rem;font-weight:500}.stat-value{font-size:1.5rem;font-weight:700}.stat-card:nth-child(1) .stat-value{color:#059669}.stat-card:nth-child(2) .stat-value{color:#d97706}.stat-card:nth-child(3) .stat-value{color:#7c3aed}.stat-card:nth-child(4) .stat-value{color:#dc2626}.comparison-section{display:grid;grid-template-columns:1fr;gap:1rem}.comparison-card{background-color:var(--bg-primary);padding:1.25rem;border-radius:.75rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}.comparison-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.875rem;font-weight:500}.comparison-header svg{font-size:1.25rem}.comparison-card:nth-child(1) .comparison-header{color:#059669}.comparison-card:nth-child(1) .comparison-header svg{color:#059669}.comparison-card:nth-child(2) .comparison-header{color:#dc2626}.comparison-card:nth-child(2) .comparison-header svg{color:#dc2626}.comparison-card:nth-child(3) .comparison-header{color:#7c3aed}.comparison-card:nth-child(3) .comparison-header svg{color:#7c3aed}.comparison-value{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.comparison-card:nth-child(1) .comparison-value{color:#059669}.comparison-card:nth-child(2) .comparison-value{color:#dc2626}.comparison-card:nth-child(3) .comparison-value{color:#7c3aed}.comparison-value.positive{color:#059669}.comparison-value.negative{color:#dc2626}.comparison-badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.75rem;font-weight:600;padding:.375rem .625rem;border-radius:.5rem}.comparison-badge.positive{background-color:#d1fae5;color:#059669}.comparison-badge.negative{background-color:#fecaca;color:#dc2626}.dashboard-lists{display:grid;grid-template-columns:1fr;gap:1.5rem}.dashboard-section{background-color:var(--bg-primary);padding:1.25rem;border-radius:.75rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color)}.section-header{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--border-color)}.section-header svg{font-size:1.25rem}.dashboard-section:nth-child(1) .section-header svg{color:#d97706}.dashboard-section:nth-child(2) .section-header svg{color:#059669}.dashboard-section:nth-child(3) .section-header svg{color:#7c3aed}.section-header h3{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0}.empty-message{text-align:center;color:var(--text-light);padding:2rem 0;font-size:.875rem}.items-list{display:flex;flex-direction:column;gap:.75rem}.list-item{display:flex;align-items:center;justify-content:space-between;padding:1rem;background-color:#f9fafb;border-radius:.5rem;border:1px solid #F3F4F6;transition:all .2s ease}.list-item:hover{background-color:#f3f4f6;border-color:#e5e7eb}.item-info{flex:1;min-width:0}.item-title{font-weight:500;color:var(--text-primary);margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9375rem}.item-date{font-size:.8125rem;color:var(--text-secondary)}.item-value{font-weight:700;font-size:1rem;margin-left:1rem;white-space:nowrap}.item-value.positive{color:#059669}.item-value.negative{color:#dc2626}.chart-list{display:flex;flex-direction:column;gap:1rem}.chart-item{display:flex;flex-direction:column;gap:.5rem}.chart-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.chart-label{font-size:.875rem;color:var(--text-primary);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-value{font-size:.875rem;color:var(--text-secondary);font-weight:600;white-space:nowrap}.chart-bar-bg{width:100%;height:10px;background-color:#f3f4f6;border-radius:5px;overflow:hidden}.chart-bar{height:100%;border-radius:5px;transition:width .3s ease;box-shadow:0 1px 2px #0000000d}@media (min-width: 640px){.stats-grid{grid-template-columns:repeat(2,1fr)}.comparison-section{grid-template-columns:repeat(3,1fr)}.dashboard-lists{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.dashboard-title{font-size:2rem}.stats-grid{grid-template-columns:repeat(4,1fr)}.stat-value,.comparison-value{font-size:1.75rem}}@media (max-width: 639px){.list-item{flex-direction:column;align-items:flex-start;gap:.5rem}.item-value{margin-left:0;align-self:flex-end}.chart-header{flex-direction:column;align-items:flex-start;gap:.25rem}}.receitas-page{display:flex;flex-direction:column;gap:1.5rem}.receitas-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 0;gap:1rem}.receitas-header{display:flex;flex-direction:column;gap:1rem}.receitas-title{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.view-toggle{display:flex;gap:.5rem;background-color:var(--bg-secondary);padding:.25rem;border-radius:.5rem;width:fit-content}.toggle-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:none;background:transparent;color:var(--text-secondary);border-radius:.375rem;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s ease}.toggle-btn:hover{color:var(--text-primary)}.toggle-btn.active{background-color:var(--bg-primary);color:var(--primary-green);box-shadow:var(--shadow-sm)}.add-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,var(--primary-green),#059669);color:#fff;border:none;border-radius:.5rem;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;width:fit-content}.add-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b9814d}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;gap:1rem;background-color:var(--bg-primary);border-radius:.75rem;border:2px dashed var(--border-color)}.empty-state svg{color:var(--text-light)}.empty-state p{color:var(--text-secondary);font-size:1rem}.empty-state-button{padding:.75rem 1.5rem;background:linear-gradient(135deg,var(--primary-green),#059669);color:#fff;border:none;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.empty-state-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #10b9814d}.receitas-list{display:flex;flex-direction:column;gap:1rem}.receita-card{background-color:var(--bg-primary);padding:1.5rem;border-radius:.75rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color);transition:all .2s ease}.receita-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.receita-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem;gap:1rem}.receita-info{display:flex;flex-direction:column;gap:.5rem;flex:1}.receita-descricao{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin:0}.receita-tipo{display:inline-block;padding:.25rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:500;width:fit-content}.status-badge{padding:.375rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:500;white-space:nowrap}.status-pendente{background-color:#fbbf241a;color:#f59e0b}.status-recebido{background-color:#10b9811a;color:var(--primary-green)}.receita-details{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.detail-item{display:flex;align-items:center;gap:.5rem;color:var(--text-secondary);font-size:.875rem}.detail-item svg{color:var(--primary-green)}.receita-valor{font-weight:600;color:var(--primary-green);font-size:1rem}.recorrente-badge{padding:.25rem .75rem;background-color:#8b5cf61a;color:var(--purple);border-radius:1rem;font-size:.75rem;font-weight:500}.receita-observacoes{color:var(--text-secondary);font-size:.875rem;margin:.5rem 0 1rem;padding:.75rem;background-color:var(--bg-secondary);border-radius:.5rem;border-left:3px solid var(--primary-green)}.receita-actions{display:flex;gap:.5rem;justify-content:flex-end;padding-top:1rem;border-top:1px solid var(--border-color)}.action-btn{display:flex;align-items:center;justify-content:center;padding:.5rem;border:none;border-radius:.375rem;cursor:pointer;transition:all .2s ease}.edit-btn{background-color:#3b82f61a;color:var(--blue)}.edit-btn:hover{background-color:#3b82f633}.delete-btn{background-color:#ef44441a;color:var(--red)}.delete-btn:hover{background-color:#ef444433}.tipos-grid{display:grid;grid-template-columns:1fr;gap:1rem}.tipo-card{background-color:var(--bg-primary);padding:1.5rem;border-radius:.75rem;box-shadow:var(--shadow-sm);border:1px solid var(--border-color);border-left-width:4px;display:flex;align-items:center;justify-content:space-between;transition:all .2s ease}.tipo-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.tipo-info{display:flex;align-items:center;gap:1rem}.tipo-color{width:40px;height:40px;border-radius:.5rem;box-shadow:var(--shadow-sm)}.tipo-nome{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0}.tipo-actions{display:flex;gap:.5rem}.color-input-wrapper{display:flex;gap:.5rem;align-items:center}.color-input-wrapper input[type=color]{width:60px;height:40px;border:1px solid var(--border-color);border-radius:.5rem;cursor:pointer;padding:.25rem}.color-input-wrapper input[type=text]{flex:1}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content{background-color:var(--bg-primary);border-radius:1rem;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg);animation:modalSlideIn .2s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header h3{font-size:1.25rem;font-weight:600;color:var(--text-primary);margin:0}.modal-close{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:none;color:var(--text-secondary);border-radius:.5rem;font-size:1.5rem;line-height:1;transition:all .2s;border:none;cursor:pointer}.modal-close:hover{background-color:var(--bg-secondary);color:var(--text-primary)}.modal-form{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:500;color:var(--text-primary)}.form-group input[type=text],.form-group input[type=date],.form-group input[type=color],.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:.5rem;font-size:1rem;color:var(--text-primary);background-color:var(--bg-primary);transition:all .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-green);box-shadow:0 0 0 3px #10b9811a}.form-group textarea{resize:vertical;font-family:inherit;min-height:80px}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem;color:var(--text-primary)}.checkbox-label input[type=checkbox]{width:1.25rem;height:1.25rem;cursor:pointer;accent-color:var(--primary-green)}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid var(--border-color)}.btn-primary,.btn-secondary{padding:.75rem 1.5rem;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;border:none}.btn-primary{background:linear-gradient(135deg,var(--primary-green),#059669);color:#fff}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #10b9814d}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{background-color:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover:not(:disabled){background-color:var(--border-color)}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}@media (min-width: 640px){.receitas-header{flex-direction:row;align-items:center;justify-content:space-between}.tipos-grid{grid-template-columns:repeat(2,1fr)}.receita-details{flex-direction:row;flex-wrap:wrap}}@media (min-width: 1024px){.receitas-title{font-size:2rem}.tipos-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 640px){.form-row{grid-template-columns:1fr}.modal-content{max-height:95vh}}.layout{display:flex;height:100vh;overflow:hidden;background-color:var(--bg-secondary)}.layout-main{flex:1;display:flex;flex-direction:column;overflow:hidden}.layout-content{flex:1;overflow-y:auto;padding:1rem 1rem 5rem}.layout-content-inner{max-width:1280px;margin:0 auto}@media (min-width: 1024px){.layout-content{padding:1.5rem}}*{margin:0;padding:0;box-sizing:border-box}:root{--primary-green: #10B981;--primary-green-dark: #059669;--primary-green-light: #D1FAE5;--text-primary: #1F2937;--text-secondary: #6B7280;--text-light: #9CA3AF;--bg-primary: #FFFFFF;--bg-secondary: #F9FAFB;--border-color: #E5E7EB;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);--red: #EF4444;--red-light: #FEE2E2;--blue: #3B82F6;--purple: #8B5CF6}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-secondary);color:var(--text-primary)}button{cursor:pointer;border:none;outline:none;font-family:inherit}button:focus,button:focus-visible{outline:none}input{font-family:inherit;outline:none}input:focus,textarea:focus{outline:none}.container{max-width:1280px;margin:0 auto;padding:0 1rem}.loading-spinner{min-height:100vh;display:flex;align-items:center;justify-content:center;background-color:var(--bg-secondary)}.spinner{width:64px;height:64px;border:4px solid var(--primary-green);border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{margin-top:1rem;color:var(--text-secondary)}.page{display:flex;flex-direction:column;gap:1.5rem}.page-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}.page-title{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;border-radius:.5rem;font-weight:500;transition:all .2s;border:none;cursor:pointer}.btn-primary{background-color:var(--primary-green);color:#fff}.btn-primary:hover{background-color:var(--primary-green-dark)}.btn-secondary{background-color:var(--bg-secondary);color:var(--text-primary)}.btn-secondary:hover{background-color:var(--border-color)}.icon-btn{display:flex;align-items:center;justify-content:center;padding:.5rem;background:none;color:var(--text-secondary);border-radius:.375rem;transition:all .2s}.icon-btn:hover{background-color:var(--bg-secondary);color:var(--text-primary)}.icon-btn-danger:hover{background-color:var(--red-light);color:var(--red)}.filter-bar{display:flex;align-items:center;gap:.5rem;padding:1rem;background-color:var(--bg-primary);border-radius:.75rem;border:1px solid var(--border-color)}.filter-btn{padding:.5rem 1rem;background:none;color:var(--text-secondary);border-radius:.5rem;font-size:.875rem;font-weight:500;transition:all .2s}.filter-btn:hover{background-color:var(--bg-secondary)}.filter-btn-active{background-color:var(--primary-green-light);color:var(--primary-green-dark)}.stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.stat-box{background-color:var(--bg-primary);padding:1.25rem;border-radius:.75rem;border:1px solid var(--border-color);display:flex;flex-direction:column;gap:.5rem}.stat-box-label{font-size:.875rem;color:var(--text-secondary)}.stat-box-value{font-size:1.5rem;font-weight:700;color:var(--text-primary)}.stat-box-value-green{color:var(--primary-green)}.stat-box-value-red{color:var(--red)}.cards-grid{display:grid;grid-template-columns:1fr;gap:1rem}.card-item{background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:.75rem;padding:1.25rem;transition:box-shadow .2s}.card-item:hover{box-shadow:var(--shadow-md)}.card-paid{opacity:.7;background-color:var(--bg-secondary)}.card-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem;gap:1rem}.card-title-group{flex:1;display:flex;flex-direction:column;gap:.5rem}.card-title{font-size:1.125rem;font-weight:600;color:var(--text-primary)}.card-description{color:var(--text-secondary);font-size:.875rem;margin-bottom:1rem}.card-actions{display:flex;gap:.25rem}.card-body{display:flex;flex-direction:column;gap:.75rem}.card-info{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.info-label{font-size:.875rem;color:var(--text-secondary)}.info-value{font-weight:500;color:var(--text-primary);display:flex;align-items:center;gap:.25rem}.info-value-green{color:var(--primary-green)}.info-value-red{color:var(--red)}.info-value-orange{color:#f59e0b}.card-notes{font-size:.875rem;color:var(--text-secondary);margin-top:.5rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.category-badge,.status-badge{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}.status-badge-success{background-color:var(--primary-green-light);color:var(--primary-green-dark)}.recorrente-badge{display:inline-flex;align-items:center;padding:.25rem .75rem;background-color:var(--primary-green-light);color:var(--primary-green-dark);border-radius:.375rem;font-size:.75rem;font-weight:500;text-transform:capitalize}.progress-section{margin:1rem 0}.progress-info{display:flex;justify-content:space-between;margin-bottom:.5rem}.progress-label{font-size:.875rem;color:var(--text-secondary)}.progress-percentage{font-size:.875rem;font-weight:600;color:var(--text-primary)}.progress-bar{width:100%;height:.75rem;background-color:var(--bg-secondary);border-radius:9999px;overflow:hidden}.progress-fill{height:100%;border-radius:9999px;transition:width .3s ease}.progress-values{display:flex;justify-content:space-between;margin-top:.5rem;font-size:.875rem;color:var(--text-secondary)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.modal-content{background-color:var(--bg-primary);border-radius:1rem;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid var(--border-color)}.modal-title{font-size:1.25rem;font-weight:700;color:var(--text-primary)}.modal-close{display:flex;align-items:center;justify-content:center;padding:.5rem;background:none;color:var(--text-secondary);border-radius:.5rem;transition:all .2s}.modal-close:hover{background-color:var(--bg-secondary)}.modal-body{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid var(--border-color)}.form-group{display:flex;flex-direction:column}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-label{font-size:.875rem;font-weight:500;color:var(--text-primary);margin-bottom:.5rem}.form-input{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:.5rem;font-size:1rem;transition:all .2s}.form-input:focus{border-color:var(--primary-green);box-shadow:0 0 0 3px var(--primary-green-light)}.form-textarea{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:.5rem;font-size:1rem;resize:vertical;font-family:inherit;transition:all .2s}.form-textarea:focus{border-color:var(--primary-green);box-shadow:0 0 0 3px var(--primary-green-light)}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem}.form-checkbox{width:1.25rem;height:1.25rem;cursor:pointer;accent-color:var(--primary-green)}.input-with-button{display:flex;gap:.5rem}.input-with-button .form-input{flex:1}.color-picker{display:flex;gap:.75rem;flex-wrap:wrap}.color-option{width:2.5rem;height:2.5rem;border-radius:.5rem;border:3px solid transparent;cursor:pointer;transition:all .2s}.color-option:hover{transform:scale(1.1)}.color-option-active{border-color:var(--text-primary);transform:scale(1.1)}.icon-selector{position:relative;width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:.5rem;background-color:var(--bg-primary);cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:space-between}.icon-selector:hover{border-color:var(--primary-green)}.icon-selector-display{display:flex;align-items:center;gap:.5rem;flex:1}.icon-selector-modal{max-width:600px}.icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem;max-height:400px;overflow-y:auto}.icon-option{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem;border:2px solid transparent;border-radius:.5rem;background:none;cursor:pointer;transition:all .2s;min-height:80px}.icon-option:hover{background-color:var(--bg-secondary);border-color:var(--primary-green-light)}.icon-option-selected{background-color:var(--primary-green-light);border-color:var(--primary-green)}.icon-label{font-size:.75rem;color:var(--text-secondary);text-align:center}.empty-state{text-align:center;padding:4rem 2rem;background-color:var(--bg-primary);border-radius:.75rem;border:1px solid var(--border-color)}.empty-state p{color:var(--text-light);margin-bottom:1.5rem}.loading-center{display:flex;justify-content:center;padding:4rem 0}@media (min-width: 640px){.cards-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.page-title{font-size:2rem}.cards-grid{grid-template-columns:repeat(3,1fr)}}
