/* 펀드 요약(P13)·성과 보고(P22)·운용 기록(P23)·자동운영 상태(P24) 화면 모양 (W23.1, FeatureId fund.projection).
   기존 디자인 변수(styles.css의 :root)와 공용 클래스(.panel, .pill, .notice, .button)를 그대로 쓰고,
   이 화면에만 필요한 틀만 더한다. 사이트 CSP가 인라인 스타일을 막으므로 모든 모양은 이 파일의 클래스로 준다.
   다른 화면에 번지지 않게 모든 선택자는 fund-read 접두어로 시작한다. */

.fund-read { display: grid; gap: 14px; min-width: 0; }
.fund-read h2 { margin: 0 0 8px; font-size: 15px; }
.fund-read h3 { margin: 8px 0 6px; font-size: 13px; }
.fund-read p { margin: 0; line-height: 1.6; }
.fund-read-panel { display: grid; gap: 10px; min-width: 0; }
.fund-read-status:empty { display: none; }
.fund-read-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.fund-read-scope { font-size: 12px; }
.fund-read-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }
.fund-read-block { display: grid; gap: 8px; }
.fund-read-next { color: var(--ink); font-size: 13px; }
.fund-read-notices { display: grid; gap: 4px; margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); }
.fund-read-details summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.fund-read-details p { margin-top: 6px; font-size: 12px; color: var(--faint); word-break: break-all; }
.fund-read-sources { display: grid; gap: 4px; margin: 6px 0 0; padding-left: 18px; font-size: 12px; }
.fund-read-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* 초점 테두리(키보드 사용자). 제목은 필터·쪽 이동 뒤 초점을 받는다. */
.fund-read button:focus-visible, .fund-read a:focus-visible, .fund-read select:focus-visible,
.fund-read summary:focus-visible, .fund-read h2:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* 값 목록(이름 / 값). 숫자는 고정 폭 숫자로 줄을 맞춘다. */
.fund-read-values {
  display: grid; grid-template-columns: minmax(140px, max-content) minmax(0, 1fr); gap: 4px 14px; margin: 0;
  font-size: 13px;
}
.fund-read-values dt { color: var(--muted); }
.fund-read-values dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

/* 다음 자동 처리·기능 상태 목록. */
.fund-read-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fund-read-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 6px 0;
  border-bottom: 1px solid var(--line); font-size: 13px;
}
.fund-read-row:last-child { border-bottom: 0; }

/* 기록·원인 목록. */
.fund-read-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fund-read-label { color: var(--ink); font-size: 13px; font-weight: 750; }
.fund-read-select { max-width: 260px; }
.fund-read-records { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fund-read-record { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.fund-read-record:last-child { border-bottom: 0; }
.fund-read-record-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.fund-read-category { font-size: 12px; }
.fund-read-time { font-size: 12px; }
.fund-read-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* 재개 순서. 지금 단계는 굵은 글씨와 aria-current로, 지난 단계는 체크 표시로 구분한다(색만으로 구분하지 않음). */
.fund-read-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fund-read-step {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px;
}
.fund-read-step.is-done { color: var(--ink); }
.fund-read-step.is-done::before { content: "✓ "; color: var(--green); }
.fund-read-step.is-current { border-color: var(--green); color: var(--ink); font-weight: 800; }

/* 표: 좁은 화면에서는 표 상자 안에서만 가로로 밀어 본다(페이지 전체가 넘치지 않게). */
.fund-read-table-wrap { overflow-x: auto; max-width: 100%; }
.fund-read-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.fund-read-table caption { padding-bottom: 6px; color: var(--muted); text-align: left; }
.fund-read-table th, .fund-read-table td {
  padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap;
}
.fund-read-table th { color: var(--muted); font-weight: 700; }

/* 수출입 관찰 제안 칸(fund-trade-intel-view.js, 2026-11-04). 업종마다 한 줄 카드라 좁은 화면에서도 가로로 넘치지 않는다. */
.fund-read-ti { display: grid; gap: 10px; min-width: 0; }
.fund-read-ti > p { font-size: 13px; }
.fund-read-ti-applied { font-size: 13px; font-weight: 700; }
.fund-read-ti-protection { font-size: 13px; }
.fund-read-ti-sectors { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fund-read-ti-sector {
  display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; min-width: 0;
}
.fund-read-ti-sector-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }
.fund-read-ti-sector-values { font-size: 12px; }
.fund-read-ti-limit { font-size: 12px; }

/* 모바일: 한 줄 배치(USER_PAGES_PLAN §2). */
@media (max-width: 560px) {
  .fund-read-values { grid-template-columns: 1fr; }
  .fund-read-values dd { margin-bottom: 4px; }
  .fund-read-select { max-width: none; width: 100%; }
  .fund-read-pager .button, .fund-read-links .button { flex: 1 1 auto; }
}
