.finance-insights{margin:28px 0 32px;color:#14374b}.insight-heading,.insight-ranking-head,.insight-actions,.insight-ai{display:flex;align-items:center;justify-content:space-between;gap:18px}.insight-heading{margin-bottom:20px}.insight-kicker{font-size:11px;font-weight:800;letter-spacing:1.6px;color:#178475}.insight-heading h2{font-size:clamp(23px,3vw,32px);letter-spacing:-.8px;margin:8px 0}.insight-heading p,.insight-ai p{color:#657b88;margin:6px 0;line-height:1.5}.insight-heading label{font-size:12px;color:#647581}.insight-heading select{display:block;padding:10px;border:1px solid #d9e5e9;border-radius:10px;background:white;margin-top:6px}.insight-health{background:linear-gradient(115deg,#07374a,#075b56);color:#fff;padding:24px;border-radius:20px;display:grid;grid-template-columns:repeat(3,1fr);gap:22px;box-shadow:0 12px 30px #0e525315}.insight-health span{font-size:12px;color:#b9d7db;display:block;margin-bottom:9px}.insight-health strong{font-size:clamp(19px,2.6vw,28px);letter-spacing:-.5px}.insight-health p{grid-column:1/-1;margin:0;border-top:1px solid #ffffff24;padding-top:16px;font-size:13px;color:#cfece6}.insight-health.negative{background:linear-gradient(115deg,#153548,#79433c)}.insight-actions{margin:22px 0 16px}.insight-tabs{display:flex;gap:6px;background:#eaf0f3;border-radius:12px;padding:5px}.insight-actions button,.insight-detail button{border:0;cursor:pointer;border-radius:8px;padding:10px 16px;color:#345466;background:transparent;font-weight:700}.insight-tabs button[aria-pressed=true]{background:white;box-shadow:0 3px 8px #13344715;color:#085d54}.insight-grid{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:18px}.insight-card{background:white;border:1px solid #dfe9ee;border-radius:18px;padding:24px;min-width:0}.insight-card h3{font-size:17px;margin:0 0 16px}.insight-donut-wrap{display:flex;justify-content:center;padding:16px 0}.insight-donut{width:230px;max-width:100%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;box-shadow:0 8px 28px #2044530b}.insight-donut>div{width:74%;height:74%;background:white;border-radius:50%;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:8px}.insight-donut small{font-size:12px;color:#68808a}.insight-donut strong{font-size:22px}#insight-caption{text-align:center;font-size:12px;color:#6d828d}.insight-ranking-head{align-items:flex-start}.insight-ranking-head span{font-size:11px;color:#7d919a;text-align:right}.insight-category{display:block;width:100%;padding:12px 10px;border:1px solid transparent;background:transparent;text-align:left;border-radius:10px;cursor:pointer;color:inherit}.insight-category:hover,.insight-category.selected{background:#f3f8fa;border-color:#bed8da}.insight-category>span:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px}.insight-category small{display:block;text-align:right;color:#778d97;font-size:11px;margin-top:5px}.insight-track{display:block;height:8px;background:#edf2f5;border-radius:10px;margin-top:9px;overflow:hidden}.insight-track i{display:block;height:100%;border-radius:10px;transform-origin:left;animation:insight-grow .55s ease-out}.insight-empty{text-align:center;padding:45px 15px;color:#6f858e;line-height:1.8}#insight-detail{margin-top:16px;max-height:420px;overflow:auto}.insight-ai{margin-top:18px;padding:24px;border-radius:18px;background:linear-gradient(120deg,#edf7f5,#edf1fb);border:1px solid #d7e6ee}.insight-ai h3{margin:8px 0}.insight-ai button{flex-shrink:0}.insight-footnote{display:block;color:#778a94;font-size:11px;line-height:1.6;margin-top:14px}#insight-ai-result{white-space:pre-line;line-height:1.7;padding:24px;border:1px solid #dce9e7;border-radius:14px;background:#fff}#insight-ai-status{font-size:13px;color:#4d6b79}.finance-insights button:focus-visible{outline:3px solid #1d9f90;outline-offset:3px}@keyframes insight-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}@media(max-width:800px){.insight-grid{grid-template-columns:1fr}.insight-heading,.insight-ai{align-items:flex-start;flex-direction:column}.insight-health{gap:15px;padding:20px;grid-template-columns:1fr 1fr}.insight-health>div:last-of-type{grid-column:1/-1}.insight-ai button{width:100%}.insight-card{padding:18px}.insight-actions{gap:8px}.insight-actions button{padding:10px;font-size:12px}.insight-donut{width:210px}}@media(prefers-reduced-motion:reduce){.insight-track i{animation:none!important}}

.finance-insights{padding:22px;background:linear-gradient(150deg,#f2f8fb,#eef7f5 65%,#f6f4fb);border:1px solid #e0ebef;border-radius:24px}.insight-card{box-shadow:0 8px 26px #12374b09}.insight-heading h2{color:#103d50}.insight-donut{outline:8px solid #f6f9fb}.expense-history{margin-top:24px;border:1px solid #dbe6eb;border-radius:16px;background:#fff;scroll-margin-top:110px}.expense-history>summary{cursor:pointer;padding:20px;font-weight:700;color:#315b6e}.expense-history .panel{border:0;margin:0}.expense-remove-trigger{border:1px solid #e7c5c5;border-radius:10px;background:#fff7f7;color:#a53535;padding:12px;cursor:pointer}.add-category-button{display:block;margin-top:9px;border:1px solid #b4d7ce;background:#ecf8f3;color:#0b7560;padding:9px 14px;border-radius:9px;cursor:pointer;font-weight:700}@media(max-width:600px){.finance-insights{padding:12px}.insight-heading h2{font-size:25px}}
