/* 관제 대시보드 펀드 위젯(W23.2) 보조 스타일. 기본 모양은 styles.css의 기존 위젯 클래스(compact-list·pill·data-note)를 쓴다. */
/* 사이트 CSP(style-src 'self')를 지키려고 인라인 style 없이 이 파일의 클래스로만 모양을 준다. */

/* 대기 사유·멈춘 원인 같은 긴 문장은 말줄임 대신 줄을 바꿔 끝까지 보인다(기존 compact-list는 한 줄 말줄임). */
.fund-widget-list > div { align-items: flex-start; }
.fund-widget-list small { white-space: normal; overflow: visible; line-height: 1.45; }
.fund-widget-list strong { white-space: normal; }
.fund-widget-list .pill { flex: none; }

/* 읽지 못함 상자의 보조 문장("읽지 못한 것이지 없다는 뜻은 아니에요")과 문의용 번호. */
.fund-widget-unread small { max-width: 360px; color: var(--muted); font-size: .68em; line-height: 1.5; }

/* 위젯 아래 기준 시각·주기·링크 줄. */
.fund-widget-note { margin-top: 6px; }

/* "내 펀드"(fund-overview, 2026-10-14): 맨 위 합계(환경마다 한 칸)와 펀드 줄(이름·평가금액·누적 수익·작은 그래프·상태). */
.fund-summary-totals { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 10px; }
.fund-summary-totals > div { display: grid; gap: 2px; min-width: 0; }
.fund-summary-totals small { color: var(--muted); font-size: .72em; }
.fund-summary-totals strong { font-size: 1.5em; letter-spacing: -.02em; }
.fund-summary-totals span { font-size: .8em; font-weight: 700; }
.fund-summary-row { align-items: center; }
.fund-summary-value { display: grid; gap: 1px; justify-items: end; flex: none; margin-left: auto; text-align: right; }
.fund-summary-value b { white-space: nowrap; }
.fund-summary-value small { white-space: nowrap; font-weight: 700; }
.fund-summary-row .spark { flex: none; }

/* 펀드가 없을 때: 친절한 안내와 만들기 버튼. */
.fund-widget-empty { display: grid; gap: 8px; justify-items: start; padding: 6px 2px; line-height: 1.55; }
.fund-widget-empty span { color: var(--muted); font-size: .85em; }

@media (max-width: 560px) {
  .fund-summary-row { flex-wrap: wrap; }
  .fund-summary-value { justify-items: start; margin-left: 0; text-align: left; }
}
