.expense-insights{margin:22px 0}.expense-insight-heading h2{margin:4px 0 8px;font-size:1.3rem}.expense-insight-heading p{font-size:.87rem;line-height:1.5;margin:0 0 16px}.expense-insight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.expense-insight-card{display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--line);border-radius:14px;padding:19px;background:var(--white);min-width:0;gap:10px}.expense-insight-card>span{font-size:.84rem;color:var(--muted)}.expense-insight-card>strong{font-size:1.35rem;color:var(--ink);overflow-wrap:anywhere}.expense-insight-card p{font-size:.86rem;line-height:1.5;color:var(--muted);margin:0;flex:1}.expense-insight-card button{margin-top:5px;white-space:normal}.expense-duplicate-notice{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px;border:1px solid var(--line);border-left:4px solid #cb7635;border-radius:12px;margin-top:14px;background:var(--white)}.expense-duplicate-notice p{color:var(--muted);margin:6px 0 0;font-size:.88rem}.expense-duplicate-notice button{white-space:normal}#expenseInsightsDialog{width:min(1000px,94vw);max-height:calc(90dvh - env(safe-area-inset-bottom));overflow:auto;box-sizing:border-box}.expense-insight-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.expense-insight-dialog-head h2{margin:0;font-size:1.35rem}#expenseInsightsDialog [data-insight-note]{font-size:.9rem;line-height:1.5}#view-despesas td:last-child,#view-receitas td:last-child{min-width:230px}#view-despesas td:last-child button,#view-receitas td:last-child button{margin:3px}
@media(max-width:1150px){.expense-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.expense-insight-grid{grid-template-columns:1fr}.expense-insight-card{padding:16px}.expense-duplicate-notice{align-items:stretch;flex-direction:column}.expense-insight-dialog-head{align-items:flex-start}.expense-insight-dialog-head h2{font-size:1.1rem}}
