.analytics-dashboard{animation:fadeIn .3s ease-out;display:flex;flex-direction:column;height:100%;overflow:hidden}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.tooltip-wrapper{align-items:center;display:inline-flex;position:relative}.tooltip-content{animation:tooltipFade .2s ease-out;backdrop-filter:blur(12px);background:linear-gradient(145deg,#1e293bfa,#0f172afa);border:1px solid #38bdf84d;border-radius:10px;box-shadow:0 8px 32px #0006,0 0 20px #38bdf81a;color:#fffffff2;font-size:.75rem;line-height:1.5;max-width:280px;padding:10px 14px;pointer-events:none;position:fixed;text-align:center;transform:translateX(-50%);z-index:9999}.tooltip-top{transform:translateX(-50%) translateY(-100%)}.tooltip-bottom{transform:translateX(-50%) translateY(0)}@keyframes tooltipFade{0%{opacity:0;transform:translateX(-50%) translateY(-90%)}to{opacity:1;transform:translateX(-50%) translateY(-100%)}}.tooltip-content:after{border-color:#1e293bfa #0000 #0000;border-style:solid;border-width:6px 6px 0;bottom:-6px;content:"";left:50%;position:absolute;transform:translateX(-50%)}.tooltip-bottom:after{border-color:#0000 #0000 #1e293bfa;border-width:0 6px 6px;bottom:auto;top:-6px}.info-icon{color:#38bdf880;margin-left:4px;opacity:0;transition:opacity .2s ease}.insight-card:hover .info-icon,.section-header:hover .header-info{opacity:1}.header-info{color:#38bdf866;margin-left:6px;vertical-align:middle}.analytics-header{align-items:center;background:#ffffff05;border-bottom:1px solid #ffffff0f;border-radius:18px 18px 0 0;display:flex;flex-shrink:0;justify-content:space-between;margin:-16px -16px 0;padding:12px 16px}.analytics-title{align-items:center;display:flex;gap:10px}.analytics-title svg{color:#38bdf8}.analytics-title h2{color:#fff;font-size:1.1rem;font-weight:700;margin:0}.analytics-controls{align-items:center;display:flex;gap:10px}.date-range-selector{background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;display:flex;gap:2px;padding:3px}.range-btn{background:#0000;border:none;border-radius:8px;color:#fff9;cursor:pointer;font-size:.75rem;font-weight:600;padding:6px 12px;transition:all .15s ease}.range-btn:hover{background:#ffffff0f;color:#fff}.range-btn.active{background:linear-gradient(135deg,#38bdf8,#22d3ee);color:#0b132b}.icon-btn{align-items:center;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:8px;color:#ffffffb3;cursor:pointer;display:flex;height:32px;justify-content:center;transition:all .15s ease;width:32px}.icon-btn:hover{background:#ffffff14;border-color:#fff3;color:#fff}.icon-btn.filter-toggle.active{background:linear-gradient(135deg,#38bdf8,#22d3ee);border-color:#0000;color:#0b132b}.icon-btn.filter-toggle.has-filters{position:relative}.filter-badge{background:#fb7185;border:2px solid #0b132b;border-radius:50%;height:8px;position:absolute;right:-2px;top:-2px;width:8px}.inline-filters{animation:slideDown .2s ease-out;background:#ffffff05;border:1px solid #ffffff0f;border-radius:12px;margin-bottom:16px;padding:12px 16px}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.filter-row{align-items:center;display:flex;flex-wrap:wrap;gap:20px}.filter-item{display:flex;flex-direction:column;gap:6px}.filter-item label{align-items:center;color:#ffffff80;display:flex;font-size:.7rem;font-weight:600;gap:6px;letter-spacing:.03em;text-transform:uppercase}.filter-select{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:8px;color:#fff;cursor:pointer;font-size:.85rem;min-width:160px;padding:8px 12px}.filter-select:focus{border-color:#38bdf8;outline:none}.filter-chips{display:flex;gap:6px}.filter-chip{background:#0000;border:1px solid #ffffff1a;border-radius:8px;color:#ffffffb3;cursor:pointer;font-size:.8rem;padding:6px 12px;transition:all .15s ease}.filter-chip:hover{background:#ffffff0f;color:#fff}.filter-chip.active{background:linear-gradient(135deg,#38bdf8,#22d3ee);border-color:#0000;color:#0b132b;font-weight:600}.clear-filters-btn{align-items:center;background:#fb718526;border:1px solid #fb71854d;border-radius:8px;color:#fb7185;cursor:pointer;display:flex;font-size:.8rem;gap:4px;margin-left:auto;padding:6px 12px;transition:all .15s ease}.clear-filters-btn:hover{background:#fb718540}.active-filter-tag{align-items:center;background:linear-gradient(145deg,#38bdf81f,#22d3ee14);border:1px solid #38bdf833;border-radius:10px;color:#ffffffe6;display:flex;font-size:.8rem;gap:10px;margin-top:12px;padding:8px 14px}.active-filter-tag svg{color:#38bdf8}.active-filter-tag strong{color:#38bdf8;font-weight:600}.active-filter-tag .filter-count{background:#38bdf833;border-radius:12px;color:#38bdf8;font-size:.7rem;font-weight:600;margin-left:auto;padding:3px 10px}.active-filter-tag button{background:none;border:none;color:inherit;cursor:pointer;display:flex;padding:2px}.analytics-content{flex:1;overflow-y:auto;padding:16px 0}.analytics-content::-webkit-scrollbar{width:6px}.analytics-content::-webkit-scrollbar-track{background:#0000}.analytics-content::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:3px}.hero-kpi-section{margin-bottom:16px}.hero-kpi-grid{display:grid;gap:10px;grid-template-columns:repeat(6,minmax(0,1fr));width:100%}@media (max-width:1100px){.hero-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:700px){.hero-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.hero-kpi{align-items:center;background:#ffffff08;border:1px solid #ffffff0f;border-radius:14px;box-sizing:border-box;cursor:default;display:flex;gap:10px;min-width:0;padding:14px 12px;transition:all .2s ease;width:100%}.hero-kpi:hover{background:#ffffff0d;border-color:#ffffff1f;transform:translateY(-2px)}.hero-kpi.selected{background:#38bdf814;border-color:#38bdf8;cursor:pointer}.hero-emoji{flex-shrink:0;font-size:1.4rem}.hero-kpi-content{display:flex;flex-direction:column;gap:2px;min-width:0}.hero-kpi-value{color:#fff;font-size:1.15rem;font-weight:800;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-kpi-label{color:#ffffff80;font-size:.65rem;letter-spacing:.4px;text-transform:uppercase;white-space:nowrap}.hero-kpi.total{background:linear-gradient(135deg,#f472b614,#f472b60a);border-color:#f472b626}.hero-kpi.count{background:linear-gradient(135deg,#818cf814,#818cf80a);border-color:#818cf826}.hero-kpi.forecast{background:linear-gradient(135deg,#fbbf2414,#fbbf240a);border-color:#fbbf2426}.hero-kpi.peak{background:linear-gradient(135deg,#f9731614,#f973160a);border-color:#f9731626}.hero-kpi.settlement{background:linear-gradient(135deg,#4ade8014,#4ade800a);border-color:#4ade8026;cursor:pointer}.hero-kpi.velocity{background:linear-gradient(135deg,#38bdf814,#38bdf80a);border-color:#38bdf826}.hero-kpi.velocity.up{background:linear-gradient(135deg,#ef444414,#ef44440a);border-color:#ef444426}.hero-kpi.velocity.down{background:linear-gradient(135deg,#22c55e14,#22c55e0a);border-color:#22c55e26}.secondary-kpi-strip{align-items:center;background:#ffffff05;border:1px solid #ffffff0d;border-radius:12px;display:flex;flex-wrap:wrap;gap:0;justify-content:center;margin-bottom:16px;padding:10px 16px}.strip-kpi{align-items:center;display:flex;gap:8px;padding:4px 14px}.strip-kpi.clickable{border-radius:8px;cursor:pointer;transition:all .15s ease}.strip-kpi.clickable:hover{background:#ffffff0d}.strip-icon{color:#38bdf8;height:14px;opacity:.8;width:14px}.strip-value{color:#fff;font-size:.9rem;font-weight:700}.strip-label{color:#ffffff80;font-size:.7rem}.strip-divider{background:#ffffff1a;height:20px;width:1px}@media (max-width:800px){.secondary-kpi-strip{gap:6px}.strip-divider{display:none}.strip-kpi{background:#ffffff08;border-radius:8px;padding:6px 10px}}.kpi-grid-top{margin-bottom:16px}.kpi-row{flex-wrap:wrap}.kpi-card,.kpi-row{display:flex;gap:10px}.kpi-card{align-items:center;background:#ffffff08;border:1px solid #ffffff0f;border-radius:12px;cursor:pointer;flex:1;min-width:140px;padding:12px 14px;transition:all .2s ease}.kpi-card:hover{background:#ffffff0d;border-color:#ffffff1a;transform:translateY(-1px)}.kpi-card.selected{border-color:#38bdf8;box-shadow:0 0 0 1px #38bdf84d}.kpi-icon{align-items:center;border-radius:10px;display:flex;flex-shrink:0;height:36px;justify-content:center;width:36px}.kpi-content{display:flex;flex-direction:column;gap:2px}.kpi-value{color:#fff;font-size:1.1rem;font-weight:700}.kpi-label{color:#ffffff80;font-size:.7rem;letter-spacing:.3px;text-transform:uppercase}.analytics-top-charts{display:grid;gap:12px;grid-template-columns:1fr 1fr 1fr;margin-bottom:12px}@media (max-width:1200px){.analytics-top-charts{grid-template-columns:1fr 1fr}}@media (max-width:800px){.analytics-top-charts{grid-template-columns:1fr}}.chart-panel{background:#ffffff05;border:1px solid #ffffff0f;border-radius:14px;padding:14px}.chart-panel .section-header h3{font-size:.85rem;margin-bottom:12px}.monthly-panel .monthly-bars.compact{align-items:flex-end;display:flex;gap:6px;height:120px;justify-content:space-between}.monthly-bars.compact .month-bar-wrapper{align-items:center;display:flex;flex:1;flex-direction:column;height:100%}.monthly-bars.compact .month-bar{align-items:flex-start;background:linear-gradient(0deg,#818cf8cc,#818cf866);border-radius:6px 6px 0 0;display:flex;justify-content:center;padding-top:4px;transition:all .3s ease;width:100%}.monthly-bars.compact .month-bar-wrapper.current .month-bar{background:linear-gradient(0deg,#38bdf8,#38bdf880)}.monthly-bars.compact .month-bar-value{color:#fff;font-size:.6rem;font-weight:600;white-space:nowrap}.monthly-bars.compact .month-bar-label{color:#ffffff80;font-size:.65rem;margin-top:6px}.expense-type-compact{align-items:center;display:flex;gap:14px}.type-donut-mini{flex-shrink:0;height:90px;width:90px}.type-donut-mini svg{height:100%;width:100%}.type-legend-compact{display:flex;flex:1;flex-direction:column;gap:8px}.type-row{align-items:center;background:#ffffff08;border-radius:8px;cursor:pointer;display:flex;gap:8px;padding:8px 10px;transition:all .2s ease}.type-row.active,.type-row:hover{background:#ffffff0f}.type-dot{height:8px;width:8px}.type-name{color:#fffc;font-size:.75rem}.type-amount{color:#fff;font-size:.75rem;font-weight:600;margin-left:auto}.type-badge{background:#ffffff1a;border-radius:10px;color:#fff9;font-size:.65rem;padding:2px 6px}.payment-bars-compact{display:flex;flex-direction:column;gap:12px}.payment-row{display:flex;flex-direction:column;gap:6px}.payment-header{align-items:center;display:flex;justify-content:space-between}.payment-label{color:#ffffffb3;font-size:.75rem}.payment-value{color:#fff;font-size:.85rem;font-weight:700}.payment-bar-track{background:#ffffff14;border-radius:4px;height:8px;overflow:hidden}.payment-bar-fill{background:linear-gradient(90deg,#4ade80,#22c55e);border-radius:4px;height:100%;transition:width .5s ease}.payment-bar-fill.warning{background:linear-gradient(90deg,#fbbf24,#f97316)}.payment-count{color:#fff6;font-size:.65rem}.spending-trend-section{background:#ffffff05;border:1px solid #ffffff0f;border-radius:14px;margin-bottom:12px;padding:14px}.trend-chart-area.wide{height:100px;margin:12px 0}.trend-chart-area.wide .area-chart{height:100%}.trend-chart-area.wide svg{height:80px;width:100%}.chart-stats.inline{border-top:1px solid #ffffff0f;display:flex;gap:24px;justify-content:center;padding-top:8px}.chart-stats.inline .chart-stat{text-align:center}.friend-balances-section{background:#ffffff05;border:1px solid #ffffff0f;border-radius:14px;box-sizing:border-box;margin-bottom:12px;padding:16px;width:100%}.friend-balances-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));width:100%}.friend-balances-grid .friend-balance-card{align-items:center;background:#ffffff0a;border:1px solid #ffffff14;border-radius:12px;display:flex;gap:12px;padding:14px 16px;transition:all .2s ease}.friend-balances-grid .friend-balance-card:hover{background:#ffffff0f;border-color:#ffffff1f;transform:translateY(-1px)}.friend-balances-grid .friend-avatar{align-items:center;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:.95rem;font-weight:700;height:40px;justify-content:center;width:40px}.friend-balances-grid .friend-name{color:#fff;font-size:.9rem;font-weight:600}.friend-balances-grid .friend-balance-amount{font-size:1rem;font-weight:700;margin-left:auto}.friend-balance-card{align-items:center;background:#ffffff08;border-radius:10px;display:flex;gap:10px;padding:10px 12px;transition:all .2s ease}.friend-balance-card:hover{background:#ffffff0d}.friend-avatar{align-items:center;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:.8rem;font-weight:700;height:32px;justify-content:center;width:32px}.friend-details{flex:1;min-width:0}.friend-name{color:#fff;display:block;font-size:.8rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friend-bar-container{background:#ffffff1a;border-radius:2px;height:4px;margin-top:4px;overflow:hidden}.friend-bar{border-radius:2px;height:100%;transition:width .5s ease}.friend-bar.positive{background:linear-gradient(90deg,#4ade80,#22c55e)}.friend-bar.negative{background:linear-gradient(90deg,#fb7185,#ef4444)}.friend-amount{flex-shrink:0;font-size:.8rem;font-weight:700}.friend-amount.positive{color:#4ade80}.friend-amount.negative{color:#fb7185}.insight-cards{display:grid;gap:10px;grid-template-columns:repeat(4,1fr);margin-bottom:16px}@media (max-width:1100px){.insight-cards{grid-template-columns:repeat(2,1fr)}}.insight-card{align-items:center;background:#ffffff08;border:1px solid #ffffff0f;border-radius:14px;display:flex;gap:12px;padding:14px 16px;transition:all .2s ease}.insight-card:hover{background:#ffffff0d;border-color:#ffffff1a;transform:translateY(-1px)}.insight-card.selected{border-color:#38bdf8;box-shadow:0 0 0 1px #38bdf84d,0 4px 12px #38bdf81a}.insight-icon{align-items:center;border-radius:10px;display:flex;flex-shrink:0;height:40px;justify-content:center;width:40px}.insight-card.velocity .insight-icon{background:#818cf826;color:#818cf8}.insight-card.velocity.up .insight-icon{background:#ef444426;color:#ef4444}.insight-card.velocity.down .insight-icon{background:#22c55e26;color:#22c55e}.insight-card.highlight .insight-icon{background:#38bdf826;color:#38bdf8}.insight-card.forecast .insight-icon{background:#fbbf2426;color:#fbbf24}.insight-card.score .insight-icon{background:#4ade8026;color:#4ade80}.insight-content{display:flex;flex-direction:column;gap:2px}.insight-value{color:#fff;font-size:1.1rem;font-weight:700}.insight-label{color:#ffffff80;font-size:.7rem;letter-spacing:.03em;text-transform:uppercase}.analytics-dual-grid{display:grid;gap:12px;grid-template-columns:1fr 1.5fr;margin-bottom:12px}@media (max-width:900px){.analytics-dual-grid{grid-template-columns:1fr}}.trend-section-inline{background:#ffffff05;border:1px solid #ffffff0f;border-radius:14px;display:flex;flex-direction:column;padding:14px}.trend-chart-inline{flex:1;margin:10px 0;min-height:100px}.trend-chart-inline .area-chart{display:flex;flex-direction:column;height:100%}.trend-chart-inline svg{flex:1;min-height:70px;width:100%}.chart-stats-inline{border-top:1px solid #ffffff0f;display:flex;gap:16px;justify-content:center;padding-top:8px}.chart-stats-inline .chart-stat{text-align:center}.analytics-main-grid{display:grid;gap:12px;grid-template-columns:1fr;margin-bottom:12px}.category-section,.chart-section{background:#ffffff05;border:1px solid #ffffff0f;border-radius:14px;padding:14px}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.section-header h3{align-items:center;color:#ffffffe6;display:flex;font-size:.85rem;font-weight:600;gap:8px;margin:0}.section-header h3 svg{color:#38bdf8}.trend-badge{align-items:center;border-radius:8px;display:flex;font-size:.75rem;font-weight:600;gap:4px;padding:4px 10px}.trend-badge.up{background:#ef444426;color:#ef4444}.trend-badge.down{background:#22c55e26;color:#22c55e}.trend-badge.stable{background:#ffffff14;color:#ffffffb3}.trend-chart-area{height:140px;margin-bottom:12px}.area-chart{display:flex;flex-direction:column;height:100%}.area-chart svg{flex:1;width:100%}.chart-labels{color:#fff6;display:flex;font-size:.65rem;justify-content:space-between;padding:6px 0 0}.chart-stats{border-top:1px solid #ffffff0f;display:flex;gap:16px;padding-top:10px}.chart-stat{align-items:center;display:flex;flex:1;flex-direction:column;gap:2px}.chart-stat .stat-value{color:#fff;font-size:.9rem;font-weight:700}.chart-stat .stat-label{color:#fff6;font-size:.65rem;text-transform:uppercase}.category-visual{align-items:center;display:flex;flex-direction:column;gap:14px}.donut-chart{height:140px;width:140px}.donut-chart svg{height:100%;width:100%}.donut-total{fill:#fff;font-size:.9rem;font-weight:700}.donut-label{fill:#ffffff80;font-size:.55rem;text-transform:uppercase}.category-legend{display:flex;flex-direction:column;gap:6px;width:100%}.legend-item{align-items:center;display:flex;font-size:.8rem;gap:8px}.legend-dot{border-radius:50%;flex-shrink:0;height:8px;width:8px}.legend-icon{font-size:.9rem}.legend-name{color:#fffc;flex:1;text-transform:capitalize}.legend-amount{color:#fff;font-weight:600}.legend-item{border-radius:6px;cursor:pointer;margin:-4px -6px;padding:4px 6px;transition:all .15s ease}.legend-item:hover{background:#ffffff0d}.legend-item.active{background:#38bdf81a;border:1px solid #38bdf84d}.analytics-secondary-grid{display:grid;gap:10px;grid-template-columns:repeat(3,1fr);margin-bottom:12px}@media (max-width:1000px){.analytics-secondary-grid{grid-template-columns:1fr 1fr}}@media (max-width:700px){.analytics-secondary-grid{grid-template-columns:1fr}}.groups-section,.heatmap-section,.top-expenses-section{background:#ffffff05;border:1px solid #ffffff0f;border-radius:14px;padding:14px}.weekday-bars-container{display:flex;gap:8px;height:130px;justify-content:space-between;padding:10px 0 0}.weekday-bar-col{max-width:48px}.weekday-bar-col,.weekday-bar-wrapper{align-items:center;display:flex;flex:1;flex-direction:column}.weekday-bar-wrapper{justify-content:flex-end;min-height:90px;position:relative;width:100%}.weekday-bar{background:linear-gradient(180deg,#38bdf8,#818cf8);border-radius:6px 6px 2px 2px;max-width:32px;min-height:4px;transition:all .3s ease;width:100%}.weekday-bar:not(.active){background:#ffffff1a}.weekday-bar-col:hover .weekday-bar{filter:brightness(1.2);transform:scaleX(1.05)}.weekday-amount{color:#fffc;font-size:.6rem;font-weight:700;opacity:0;position:absolute;top:-4px;transform:translateY(8px);transition:all .2s ease;white-space:nowrap}.weekday-bar-col:hover .weekday-amount{opacity:1;transform:translateY(0)}.weekday-label{color:#ffffff80;font-size:.7rem;font-weight:600;margin-top:8px;text-align:center}.weekday-bar-col:hover .weekday-label{color:#38bdf8}.heatmap-insight{align-items:center;background:#38bdf814;border-radius:8px;color:#38bdf8;display:flex;font-size:.7rem;gap:6px;margin-top:10px;padding:8px 10px}.group-list{display:flex;flex-direction:column;gap:8px}.group-item{align-items:center;background:#ffffff05;border-radius:10px;display:flex;gap:10px;padding:8px;transition:all .15s ease}.group-item:hover{background:#ffffff0d}.group-avatar{align-items:center;border-radius:8px;color:#0b132b;display:flex;flex-shrink:0;font-size:.8rem;font-weight:700;height:32px;justify-content:center;width:32px}.group-info{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0}.group-name{color:#fff;font-size:.8rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-count{color:#fff6;font-size:.65rem}.group-amount{color:#38bdf8;font-size:.85rem;font-weight:700}.top-expenses-list{display:flex;flex-direction:column;gap:6px}.top-expense-item{align-items:center;background:#ffffff05;border-radius:10px;display:flex;gap:10px;padding:8px;transition:all .15s ease}.top-expense-item:hover{background:#ffffff0d}.expense-rank{color:#ffffff4d;font-size:.7rem;font-weight:700;width:20px}.expense-icon{font-size:1.1rem}.expense-info{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0}.expense-name{color:#fff;font-size:.8rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expense-date{color:#fff6;font-size:.65rem}.expense-amount{color:#fb7185;font-size:.85rem;font-weight:700}.top-expense-item.settled{opacity:.7}.top-expense-item.settled .expense-amount{color:#4ade80}.settled-badge{background:#4ade8026;border-radius:4px;color:#4ade80;display:inline-block;font-size:.6rem;font-weight:600;margin-left:6px;padding:2px 6px;text-transform:uppercase}.settlement-row{margin-bottom:16px}.settlement-section.full-width{background:#ffffff05;border:1px solid #ffffff0f;border-radius:14px;padding:14px}.settlement-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.settlement-card{align-items:center;background:#ffffff05;border-radius:10px;display:flex;gap:10px;padding:10px;transition:all .15s ease}.settlement-card:hover{background:#ffffff0d}.settlement-avatar{align-items:center;border-radius:50%;color:#0b132b;display:flex;flex-shrink:0;font-size:.85rem;font-weight:700;height:36px;justify-content:center;width:36px}.settlement-details{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.settlement-name{color:#fff;font-size:.8rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settlement-bar-container{background:#ffffff1a;border-radius:2px;height:4px;overflow:hidden}.settlement-bar{border-radius:2px;height:100%;transition:width .3s ease}.settlement-bar.positive{background:linear-gradient(90deg,#22c55e,#4ade80)}.settlement-bar.negative{background:linear-gradient(90deg,#ef4444,#fb7185)}.settlement-amount{flex-shrink:0;font-size:.85rem;font-weight:700}.settlement-amount.positive{color:#22c55e}.settlement-amount.negative{color:#ef4444}.analytics-footer{border-top:1px solid #ffffff0f;color:#fff6;font-size:.7rem;justify-content:space-between;padding:12px 0}.analytics-footer,.period-info{align-items:center;display:flex}.period-info{gap:6px}.update-time{font-weight:500}.analytics-error,.analytics-loading{align-items:center;color:#fff9;display:flex;flex-direction:column;gap:12px;height:100%;justify-content:center}.analytics-loading .loading-spinner{animation:spin .8s linear infinite;border:3px solid #38bdf833;border-radius:50%;border-top-color:#38bdf8;height:36px;width:36px}@keyframes spin{to{transform:rotate(1turn)}}.analytics-error{color:#ef4444}.retry-btn{align-items:center;background:#38bdf826;border:1px solid #38bdf84d;border-radius:8px;color:#38bdf8;cursor:pointer;display:flex;font-weight:600;gap:6px;padding:8px 16px;transition:all .15s ease}.retry-btn:hover{background:#38bdf840}.no-data{align-items:center;color:#fff6;display:flex;font-size:.85rem;height:100%;justify-content:center;min-height:80px}.no-data.centered{padding:20px;text-align:center}.analytics-advanced-grid{display:grid;gap:16px;grid-template-columns:repeat(3,1fr);margin-bottom:16px}@media (max-width:1024px){.analytics-advanced-grid{grid-template-columns:1fr}}.monthly-comparison-section{background:linear-gradient(135deg,#1e293b80,#0f172ab3);border:1px solid #ffffff0f;border-radius:14px;padding:14px}.monthly-bars{align-items:flex-end;display:flex;gap:8px;height:120px;justify-content:space-between;padding:8px 0}.month-bar-wrapper{align-items:center;display:flex;flex:1;flex-direction:column;gap:6px;height:100%;justify-content:flex-end}.month-bar{align-items:flex-start;background:linear-gradient(0deg,#38bdf880,#818cf899);border-radius:6px 6px 0 0;display:flex;justify-content:center;min-height:5%;padding-top:4px;position:relative;transition:all .3s ease;width:100%}.month-bar-wrapper.current .month-bar{background:linear-gradient(0deg,#38bdf8,#818cf8);box-shadow:0 0 12px #38bdf866}.month-bar-value{color:#ffffffb3;font-size:.6rem;font-weight:600;opacity:0;position:absolute;top:-18px;transition:opacity .2s ease;white-space:nowrap}.month-bar-wrapper:hover .month-bar-value{opacity:1}.month-bar-label{color:#ffffff80;font-size:.65rem;font-weight:500}.month-bar-wrapper.current .month-bar-label{color:#38bdf8;font-weight:700}.expense-type-section{background:linear-gradient(135deg,#1e293b80,#0f172ab3);border:1px solid #ffffff0f;border-radius:14px;padding:14px}.expense-type-visual{align-items:center;display:flex;gap:16px}.type-donut{flex-shrink:0;height:100px;width:100px}.type-donut svg{height:100%;width:100%}.donut-count{fill:#fff;font-size:18px;font-weight:800}.donut-sublabel{fill:#ffffff80;font-size:8px}.type-legend{display:flex;flex:1;flex-direction:column;gap:10px}.type-item{align-items:center;background:#ffffff08;border:1px solid #ffffff0f;border-radius:8px;cursor:pointer;display:flex;gap:10px;padding:8px 10px;transition:all .15s ease}.type-item.active,.type-item:hover{background:#ffffff14;border-color:#ffffff26}.type-dot{border-radius:50%;flex-shrink:0;height:10px;width:10px}.type-info{display:flex;flex:1;flex-direction:column;gap:2px}.type-label{color:#ffffffb3;font-size:.75rem}.type-value{color:#fff;font-size:.9rem;font-weight:700}.type-count{background:#ffffff0f;border-radius:4px;color:#fff6;font-size:.7rem;padding:2px 6px}.payment-status-section{background:linear-gradient(135deg,#1e293b80,#0f172ab3);border:1px solid #ffffff0f;border-radius:14px;padding:14px}.payment-status-bars{display:flex;flex-direction:column;gap:14px}.status-bar-item{display:flex;flex-direction:column;gap:6px}.status-bar-header{align-items:center;display:flex;justify-content:space-between}.status-label{color:#fffc;font-size:.8rem;font-weight:500}.status-value{color:#fff;font-size:.9rem;font-weight:700}.status-bar-track{background:#ffffff14;border-radius:4px;height:8px;overflow:hidden}.status-bar-fill{border-radius:4px;height:100%;transition:width .5s ease}.status-bar-fill.settled{background:linear-gradient(90deg,#22c55e,#4ade80)}.status-bar-fill.pending{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.status-count{color:#fff6;font-size:.65rem}.spending-insights-row{display:grid;gap:12px;grid-template-columns:repeat(4,1fr);margin-bottom:16px}@media (max-width:900px){.spending-insights-row{grid-template-columns:repeat(2,1fr)}}.insight-stat-card{align-items:center;background:#ffffff08;border:1px solid #ffffff0f;border-radius:12px;display:flex;gap:12px;padding:14px 16px;transition:all .2s ease}.insight-stat-card:hover{background:#ffffff0f;border-color:#ffffff1a}.insight-stat-card.highlight{background:linear-gradient(135deg,#38bdf81a,#818cf81a);border-color:#38bdf833}.stat-icon{flex-shrink:0;font-size:1.5rem}.stat-info{display:flex;flex-direction:column;gap:2px}.stat-number{color:#fff;font-size:1rem;font-weight:800}.stat-text{color:#ffffff80;font-size:.65rem;letter-spacing:.03em;text-transform:uppercase}
/*# sourceMappingURL=main-4f064d56.b17e71be.css.map*/