.nw-chart-card{background:linear-gradient(135deg,rgba(0,163,114,0.05),rgba(59,107,232,0.05));border:1px solid rgba(0,163,114,0.15);border-radius:12px;padding:1rem 1.25rem 0.7rem;margin-bottom:0.75rem;}
.nw-chart-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:0.5rem;}
.nw-chart-lbl{font-family:Inter,sans-serif;font-size:0.57rem;color:var(--text3);letter-spacing:0.08em;}
.nw-chart-val{font-size:1.1rem;font-weight:800;}
.nw-chart-area{height:auto;}
.cat-charts{display:grid;grid-template-columns:repeat(3,1fr);gap:0.6rem;margin-bottom:1.25rem;}
.cat-chart-card{background:var(--surface);border:1px solid rgba(0,163,114,0.2);border-radius:10px;padding:0.7rem 0.85rem 1.5rem;transition:all 0.2s;position:relative;}
.cat-chart-card:hover{border-color:rgba(0,163,114,0.35);box-shadow:0 3px 10px rgba(0,0,0,0.07);transform:translateY(-1px);}
.cat-chart-card::after{content:'›';position:absolute;bottom:0.4rem;right:0.65rem;font-size:1.1rem;color:var(--border);transition:color 0.2s;line-height:1;font-weight:700;}
.cat-chart-card:hover::after{color:var(--accent);}
.cat-chart-lbl{font-family:Inter,sans-serif;font-size:0.56rem;color:var(--text3);margin-bottom:0.15rem;}
.cat-chart-val{font-size:1.76rem;font-weight:700;margin-bottom:0.35rem;}
.cat-chart-area{height:50px;}
/* Net worth stacked bar v2 */
.nw-main-bar{height:36px;border-radius:8px;overflow:hidden;display:flex;margin-top:0.6rem;margin-bottom:6px;width:100%;}
.nw-bar-seg{height:100%;cursor:pointer;transition:opacity 0.15s;}
.nw-bar-seg:hover{opacity:0.75;}
.nw-bar-labels{display:flex;justify-content:space-between;width:100%;}
.nw-bar-lbl-item{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--text2);}
.nw-bar-lbl-swatch{display:inline-block;width:8px;height:8px;border-radius:2px;flex-shrink:0;}
.nw-bar-lbl-pct{color:var(--text);font-weight:500;}
/* Category sub-bar and account legend */
.cat-sub-bar{height:10px;border-radius:6px;overflow:hidden;display:flex;margin-bottom:8px;}
.cat-sub-bar-seg{height:100%;cursor:pointer;transition:opacity 0.15s;}
.cat-sub-bar-seg:hover{opacity:0.75;}
.cat-acc-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;}
.cat-acc-name{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--text2);min-width:0;}
.cat-acc-swatch{width:7px;height:7px;border-radius:2px;flex-shrink:0;}
.cat-acc-name-txt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.cat-acc-val{font-size:11px;font-weight:500;margin-left:6px;flex-shrink:0;}
/* Shared tooltip */
.nw-bar-tt{position:absolute;background:var(--surface);border:0.5px solid var(--border);border-radius:8px;padding:8px 12px;font-size:12px;pointer-events:none;white-space:nowrap;z-index:10;line-height:1.5;box-shadow:0 2px 8px rgba(0,0,0,0.1);}
