/* Fund-specific styles adapted from shtools. */
body.fund-page{
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
html.fund-select-modal-open,
body.fund-select-modal-open{
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body.fund-page .container{
  flex: 1;
  max-width: none;
  padding-left: 12px;
  padding-right: 12px;
}
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.card h3{ margin: 0 0 8px; }
.card p{ margin: 0; color: var(--subtext); }
.input, .textarea, .select{
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 10px;
}
.hint{
  font-size: 13px;
  color: var(--subtext);
}
.info-btn,
.info-tip{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  color: #64748b;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.info-btn:hover,
.info-tip:hover{
  border-color: #93c5fd;
  color: #1d4ed8;
}
.info-tip::after,
.js-tip::after{
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
  max-width: min(360px, calc(100vw - 24px));
  width: max-content;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-line;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  z-index: 40;
}
.info-tip:hover::after,
.info-tip.tip-open::after,
.js-tip:hover::after,
.js-tip.tip-open::after,
[data-tip].tip-open::after{
  opacity: 1;
}
@keyframes pendingPulse{
  0% { opacity: 0.25; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 0.25; transform: scale(0.9); }
}
.fund-main{
  display: block;
  width: min(1240px, calc(100vw - 24px));
  margin: 0 auto;
}
.fund-search-card{
  width: 100%;
  max-width: 100%;
  transition: margin-top 180ms ease, padding 160ms ease;
  padding: 14px 16px;
  margin-top: 8px;
}
.fund-search-card.is-compact{
  padding-top: 10px;
  padding-bottom: 10px;
}
.fund-search-card.is-compact .fund-search-title-row{
  display: none;
}
.fund-news-card{
  width: 100%;
  max-width: 100%;
  padding: 14px 16px;
}
.fund-news-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.fund-news-card .fund-news-head{
  margin-bottom: 14px;
}
.fund-news-title-wrap{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fund-news-title{
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.card .fund-news-title{
  margin: 0;
}
.fund-news-title-wrap .info-tip{
  flex: 0 0 auto;
}
.fund-news-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fund-news-item{
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
}
.fund-news-item-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.fund-news-link{
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}
.fund-news-link:hover{
  color: #1d4ed8;
}
.fund-news-time{
  font-size: 12px;
  color: var(--subtext);
  white-space: nowrap;
}
.fund-news-brief{
  margin-top: 6px;
  color: var(--subtext);
  font-size: 13px;
  line-height: 1.45;
}
.news-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #f9c8c8;
  background: #fff5f5;
  color: #d92d20;
  font-size: 12px;
  line-height: 1;
  padding: 0 4px;
  margin-right: 6px;
}
.news-tag-hot{
  border-color: #f4a5a5;
  background: #ffe8e8;
  color: #c81e1e;
}
.fund-news-subjects{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.subject-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  padding: 0 8px;
  cursor: default;
  user-select: none;
}
.fund-news-toggle{
  margin-top: 8px;
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  font-size: 13px;
  cursor: pointer;
}
.fund-news-toggle:hover{
  background: #f8fafc;
}
.fund-news-empty{
  color: var(--subtext);
  font-size: 13px;
  padding: 4px 0;
}
.fund-skeleton-line{
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #edf2f7 0%, #f8fbff 50%, #edf2f7 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.15s linear infinite;
  margin-bottom: 10px;
}
.fund-skeleton-line.w-100{ width: 100%; }
.fund-skeleton-line.w-92{ width: 92%; }
.fund-skeleton-line.w-88{ width: 88%; }
.fund-skeleton-line.w-45{ width: 45%; }
.fund-skeleton-line.w-30{ width: 30%; }
.fund-skeleton-grid{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.fund-skeleton-cell{
  height: 68px;
  border-radius: 10px;
  background: linear-gradient(90deg, #edf2f7 0%, #f8fbff 50%, #edf2f7 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.15s linear infinite;
}
@keyframes skeletonShimmer{
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.fund-realtime-card{
  padding: 16px 18px;
}
.fund-realtime-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.fund-realtime-title-wrap{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fund-realtime-title{
  margin: 0;
  font-size: 18px;
}
.fund-realtime-right{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
}
.fund-realtime-est-label{
  color: #64748b;
}
.fund-realtime-est-value{
  font-size: 16px;
  font-weight: 700;
  color: #334155;
}
.fund-realtime-est-value.up{
  color: #d32f2f;
}
.fund-realtime-est-value.down{
  color: #1b8e3e;
}
.fund-realtime-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.fund-status-tag{
  border-color: #d7e2ef;
  background: #f8fbff;
  color: #475569;
}
.fund-topic-tags{
  margin-top: 8px;
}
.fund-topic-tag{
  border-color: #d5e3ff;
  background: #eef4ff;
  color: #2f4f8f;
  cursor: pointer;
  width: auto;
  height: 20px;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1;
}
.fund-topic-tag:hover{
  border-color: #9fc2f8;
  background: #e6f0ff;
  color: #1e40af;
}
.fund-topic-tag.js-tip::after{
  z-index: 18;
}
.fund-realtime-metrics{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.fund-rt-item{
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.fund-rt-label{
  font-size: 12px;
  color: #64748b;
}
.fund-rt-value{
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #334155;
  line-height: 1.2;
}
.fund-rt-value.up{
  color: #d32f2f;
}
.fund-rt-value.down{
  color: #1b8e3e;
}
.fund-rt-desc{
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.35;
}
.fund-search-card.fund-search-centered{
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
}
.fund-search-title-row{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.fund-search-title{
  margin: 0;
  line-height: 1.2;
  font-size: 18px;
  font-weight: 600;
}
.fund-search-wrap{
  margin-top: 2px;
  position: relative;
}
.fund-search-input{
  padding-right: 78px;
}
.fund-search-actions{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fund-search-clear,
.fund-search-go{
  width: 24px;
  height: 24px;
  border: 1px solid #d6deea;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  position: relative;
}
.fund-search-clear::before,
.fund-search-clear::after{
  content: '';
  position: absolute;
  width: 9px;
  height: 1.2px;
  border-radius: 999px;
  background: currentColor;
  left: 50%;
  top: 50%;
  transform-origin: center;
}
.fund-search-clear::before{
  transform: translate(-50%, -50%) rotate(45deg);
}
.fund-search-clear::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}
.fund-search-clear:not([style*="display:none"]){
  color: #5b6475;
}
.fund-search-clear:hover,
.fund-search-go:hover{
  border-color: #93c5fd;
  color: #1d4ed8;
}
.icon-search{
  position: relative;
  width: 9px;
  height: 9px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  transform: translate(-0.8px, -0.8px);
}
.icon-search::after{
  content: '';
  position: absolute;
  width: 5px;
  height: 1.6px;
  border-radius: 999px;
  background: currentColor;
  right: -4.6px;
  bottom: -1.2px;
  transform: rotate(42deg);
  transform-origin: center;
}
.fund-search-meta{
  min-height: 20px;
}
.fund-search-meta.meta-loading{
  color: #475569;
}
.fund-search-meta.meta-ok{
  color: #0f766e;
}
.fund-search-meta.meta-error{
  color: #b42318;
}
.fund-suggest-panel{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  z-index: 20;
  max-height: 320px;
  overflow: auto;
}
.fund-suggest-item{
  width: 100%;
  border: none;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
  padding: 10px 12px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}
.fund-suggest-item:last-child{
  border-bottom: none;
}
.fund-suggest-item:hover{
  background: #f8fafc;
}
.fund-suggest-item.is-static{
  cursor: default;
}
.fund-suggest-main{
  color: var(--text);
  font-size: 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.fund-suggest-name{
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fund-suggest-code{
  color: var(--subtext);
  font-size: 13px;
  white-space: nowrap;
}
.fund-suggest-right{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 24px;
  justify-content: flex-end;
}
.fund-suggest-empty{
  padding: 12px;
  color: var(--subtext);
  font-size: 13px;
}
.ccb-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #f9c8c8;
  background: #fff5f5;
  color: #d92d20;
  font-size: 12px;
  line-height: 1;
  padding: 0 4px;
}
.ccb-tag-net{
  border-color: #f7d9bf;
  background: #fff7ee;
  color: #c75b12;
}
.fund-basic-card{
  padding: 16px 18px;
}
.fund-section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 8px;
}
.fund-section-title{
  margin: 0;
  font-size: 16px;
}
.fund-basic-tabs{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e5edf6;
  background: transparent;
  scrollbar-width: thin;
}
.fund-basic-tab-btn{
  border: 1px solid #d6deea;
  background: #ffffff;
  color: #334155;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: all 140ms ease;
}
.fund-basic-tab-btn:hover{
  border-color: #9fc2f8;
  color: #1e40af;
  background: #f4f8ff;
}
.fund-basic-tab-btn:focus-visible{
  outline: 2px solid #93c5fd;
  outline-offset: 1px;
}
.fund-basic-tab-btn.is-active{
  color: #1d4ed8;
  border-color: #9fc2f8;
  background: #eaf3ff;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.55);
}
.fund-basic-tab-panels{
  min-height: 120px;
}
.fund-basic-pane{
  display: none;
}
.fund-basic-pane.is-active{
  display: block;
}
.fund-basic-kv-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.fund-basic-kv-grid.is-one-col{
  grid-template-columns: 1fr;
}
.fund-basic-kv-row{
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 38px;
  border-bottom: 1px solid #eef2f7;
}
.fund-basic-kv-row.is-last-row{
  border-bottom: none;
}
.fund-basic-kv-label{
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  padding: 9px 10px;
  border-right: 1px solid #eef2f7;
  display: flex;
  align-items: center;
}
.fund-basic-kv-value{
  font-size: 13px;
  color: var(--text);
  padding: 9px 10px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.fund-manager-link{
  color: #334155;
  text-decoration: none;
  font-weight: 500;
}
.fund-manager-link:hover{
  color: #1d4ed8;
  text-decoration: underline;
}
.fund-basic-subgrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.fund-basic-subcard{
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}
.fund-basic-subtitle{
  margin: 0 0 8px;
  font-size: 13px;
  color: #334155;
  font-weight: 600;
}
.fund-basic-empty{
  margin: 6px 0;
}
.fund-fee-wrap{
  display: grid;
  gap: 10px;
}
.fund-fee-block{
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.fund-fee-item{
  padding: 7px 0;
  border-top: 1px dashed #e8edf5;
}
.fund-fee-item:first-child{
  border-top: none;
  padding-top: 0;
}
.fund-fee-label{
  font-size: 12px;
  color: #64748b;
  margin-bottom: 3px;
}
.fund-fee-value{
  font-size: 13px;
  color: var(--text);
}
.fund-fee-table-wrap{
  margin-top: 10px;
  overflow-x: auto;
}
.fund-fee-table-title{
  font-size: 12px;
  color: #64748b;
  margin-bottom: 6px;
}
.fund-fee-table{
  width: 100%;
  min-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12px;
  border: 1px solid var(--line);
}
.fund-fee-table-purchase th:nth-child(1),
.fund-fee-table-purchase td:nth-child(1),
.fund-fee-table-redeem th:nth-child(1),
.fund-fee-table-redeem td:nth-child(1){
  width: 56%;
}
.fund-fee-table-purchase th:nth-child(2),
.fund-fee-table-purchase td:nth-child(2),
.fund-fee-table-purchase th:nth-child(3),
.fund-fee-table-purchase td:nth-child(3){
  width: 22%;
}
.fund-fee-table-redeem th:nth-child(2),
.fund-fee-table-redeem td:nth-child(2){
  width: 44%;
}
.fund-fee-table th,
.fund-fee-table td{
  border: 1px solid var(--line);
  padding: 6px 8px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.fund-fee-table th{
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
}
.fund-invest-wrap{
  display: grid;
  gap: 8px;
}
.fund-invest-item{
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.fund-invest-item-plain{
  padding: 10px;
}
.fund-invest-content{
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  margin-top: 8px;
}
.fund-invest-content.no-top-gap{
  margin-top: 0;
}
.fund-performance-card{
  padding: 16px 18px;
}
.fund-perf-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 2px 0 8px;
}
.fund-perf-ranges{
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.fund-perf-range-btn{
  border: 1px solid #d6deea;
  background: #fff;
  color: #334155;
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: all 140ms ease;
}
.fund-perf-range-btn:hover{
  border-color: #9fc2f8;
  color: #1e40af;
  background: #f4f8ff;
}
.fund-perf-range-btn.is-active{
  color: #1d4ed8;
  border-color: #9fc2f8;
  background: #eaf3ff;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.55);
}
.fund-perf-benchmark-wrap{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.fund-perf-benchmark-label{
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}
.fund-perf-benchmark-select{
  min-width: 214px;
  height: 32px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
}
.fund-perf-meta{
  margin: 4px 0 8px;
}
.fund-perf-legend{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 4px 0 8px;
  padding-bottom: 2px;
}
.fund-perf-legend-item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  white-space: nowrap;
}
.fund-perf-legend-symbol{
  width: 18px;
  height: 10px;
  position: relative;
  flex: 0 0 18px;
}
.fund-perf-legend-symbol::before{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}
.fund-perf-legend-symbol::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.fund-perf-legend-item.fund{
  color: #ef4444;
}
.fund-perf-legend-item.bench{
  color: #3b82f6;
}
.fund-perf-legend-item.excess{
  color: #9ca3af;
}
.fund-perf-legend-text{
  color: #334155;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}
.fund-perf-legend-name,
.fund-perf-legend-value{
  display: inline;
}
.fund-perf-chart-wrap{
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  min-height: 320px;
  padding: 6px;
}
.fund-perf-canvas{
  display: block;
  width: 100%;
  height: 320px;
}
.fund-perf-tooltip{
  position: absolute;
  z-index: 12;
  min-width: 190px;
  max-width: min(260px, calc(100% - 14px));
  background: rgba(15, 23, 42, 0.95);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
.fund-perf-tip-date{
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.fund-perf-tip-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
  font-size: 12px;
}
.fund-perf-tip-row strong{
  font-size: 12px;
  font-weight: 600;
}
.fund-perf-modal{
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 12px;
}
.fund-perf-modal.is-open{
  display: flex;
}
.fund-perf-modal-panel{
  width: min(420px, 96vw);
}
.fund-perf-modal-title{
  margin: 0 0 10px;
  font-size: 16px;
}
.fund-perf-modal-actions{
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.fund-holder-ratio-wrap{
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 16px 10px 8px;
  position: relative;
}
.fund-holder-ratio-legend{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.fund-holder-ratio-legend-item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-size: 12px;
}
.fund-holder-ratio-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.fund-holder-ratio-dot.is-inst{
  background: var(--fund-holder-inst-color, #3b82f6);
}
.fund-holder-ratio-dot.is-indv{
  background: var(--fund-holder-indv-color, #f59e0b);
}
.fund-holder-ratio-canvas{
  width: 100%;
  height: 220px;
  min-height: 0;
  max-height: 220px;
  display: block;
  touch-action: none;
}
.fund-holder-tooltip{
  position: absolute;
  z-index: 4;
  min-width: 138px;
  max-width: 180px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #c9d6ea;
  background: rgba(255, 255, 255, 0.96);
  color: #1e293b;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  pointer-events: none;
}
.fund-holder-tooltip-title{
  font-weight: 600;
  margin-bottom: 2px;
}
.fund-reports-tabs{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  margin: 2px 0 10px;
  border-bottom: 1px solid #e5edf6;
  background: transparent;
  scrollbar-width: thin;
}
.fund-reports-tab-btn,
.fund-reports-type-btn{
  border: 1px solid #d6deea;
  background: #ffffff;
  color: #334155;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: all 140ms ease;
}
.fund-reports-tab-btn:hover,
.fund-reports-type-btn:hover:not(:disabled){
  border-color: #9fc2f8;
  color: #1e40af;
  background: #f4f8ff;
}
.fund-reports-tab-btn.is-active,
.fund-reports-type-btn.is-active{
  color: #1d4ed8;
  border-color: #9fc2f8;
  background: #eaf3ff;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.55);
}
.fund-reports-type-btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}
.fund-reports-pane{
  display: none;
}
.fund-reports-pane.is-active{
  display: block;
}
.fund-reports-manager-meta{
  color: #64748b;
  font-size: 12px;
  margin-bottom: 8px;
}
.fund-reports-manager-content{
  color: #1e293b;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
}
.fund-reports-toggle-btn,
.fund-reports-more-btn{
  margin-top: 10px;
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  font-size: 13px;
  cursor: pointer;
}
.fund-reports-toggle-btn:hover,
.fund-reports-more-btn:hover{
  background: #f8fafc;
}
.fund-reports-list-item{
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.fund-reports-list-item:last-child{
  margin-bottom: 0;
}
.fund-reports-link{
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  display: inline-block;
}
.fund-reports-link:hover{
  color: #1d4ed8;
}
.fund-reports-meta{
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}
.fund-reports-type-filters{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
}
.fund-empty-center{
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.fund-empty-center .hint{
  color: #94a3b8;
}
.fund-barra-layout{
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.fund-barra-chart-col{
  border: none;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.fund-barra-canvas{
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
}
.fund-barra-legend-col{
  border: none;
  border-radius: 8px;
  background: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.fund-barra-legend-wrap{
  width: auto;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  align-items: start;
  justify-items: start;
}
.fund-barra-legend-item{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  width: auto;
  max-width: 100%;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.98);
  color: #334155;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 140ms ease;
}
.fund-barra-legend-item:hover{
  background: #ffffff;
  border-color: #9fc2f8;
}
.fund-barra-legend-item.is-active{
  border-color: #9fc2f8;
  background: #eef5ff;
}
.fund-barra-legend-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--barra-color, #2563eb);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--barra-color, #2563eb) 20%, transparent);
  flex: 0 0 auto;
}
.fund-barra-legend-item:not(.is-active) .fund-barra-legend-dot{
  background: #cbd5e1;
  box-shadow: none;
}
.fund-barra-legend-text{
  font-size: 12px;
  line-height: 1;
  color: #334155;
}
.fund-barra-legend-item:not(.is-active) .fund-barra-legend-text{
  color: #94a3b8;
}
.fund-barra-tooltip{
  position: absolute;
  z-index: 5;
  max-width: 240px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-line;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.25);
}
.fund-interval-table-wrap{
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.fund-interval-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}
.fund-interval-table th,
.fund-interval-table td{
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}
.fund-interval-table th:last-child,
.fund-interval-table td:last-child{
  border-right: none;
}
.fund-interval-table tbody tr:last-child td{
  border-bottom: none;
}
.fund-interval-table th{
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
}
.fund-interval-table td:first-child,
.fund-interval-table th:first-child{
  text-align: center;
  width: 22%;
}
.fund-interval-table td:nth-child(2),
.fund-interval-table th:nth-child(2),
.fund-interval-table td:nth-child(3),
.fund-interval-table th:nth-child(3),
.fund-interval-table td:nth-child(4),
.fund-interval-table th:nth-child(4){
  width: 19%;
}
.fund-interval-table td:last-child,
.fund-interval-table th:last-child{
  width: 21%;
}
.fund-interval-toggle{
  margin-top: 10px;
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  font-size: 13px;
  cursor: pointer;
}
.fund-interval-toggle:hover{
  background: #f8fafc;
}
.fund-profitability-table{
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.fund-history-tabs{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  margin: 2px 0 10px;
  border-bottom: 1px solid #e5edf6;
  background: transparent;
  scrollbar-width: thin;
}
.fund-history-tab-btn{
  border: 1px solid #d6deea;
  background: #ffffff;
  color: #334155;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: all 140ms ease;
}
.fund-history-tab-btn:hover{
  border-color: #9fc2f8;
  color: #1e40af;
  background: #f4f8ff;
}
.fund-history-tab-btn:focus-visible{
  outline: 2px solid #93c5fd;
  outline-offset: 1px;
}
.fund-history-tab-btn.is-active{
  color: #1d4ed8;
  border-color: #9fc2f8;
  background: #eaf3ff;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.55);
}
.fund-history-pane{
  display: none;
}
.fund-history-pane.is-active{
  display: block;
}
.fund-asset-tabs{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  margin: 2px 0 10px;
  border-bottom: 1px solid #e5edf6;
  background: transparent;
  scrollbar-width: thin;
}
.fund-asset-tab-btn{
  border: 1px solid #d6deea;
  background: #ffffff;
  color: #334155;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: all 140ms ease;
}
.fund-asset-tab-btn:hover{
  border-color: #9fc2f8;
  color: #1e40af;
  background: #f4f8ff;
}
.fund-asset-tab-btn:focus-visible{
  outline: 2px solid #93c5fd;
  outline-offset: 1px;
}
.fund-asset-tab-btn.is-active{
  color: #1d4ed8;
  border-color: #9fc2f8;
  background: #eaf3ff;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.55);
}
.fund-asset-canvas-wrap{
  margin-top: 8px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}
.fund-asset-combo-canvas{
  width: 100%;
  min-height: 260px;
  display: block;
}
.fund-asset-tooltip,
.fund-industry-change-tooltip{
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  padding: 6px 8px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.24);
  white-space: pre-line;
}
.fund-asset-positions-grid{
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.fund-asset-pos-block{
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fund-asset-pos-block.is-empty-block .fund-asset-pos-body{
  flex: 1;
  display: flex;
  align-items: center;
}
.fund-asset-pos-title{
  margin: 0;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  font-size: 13px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fund-asset-pos-body{
  padding: 0 8px;
}
.fund-asset-pos-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 2px;
  border-bottom: 1px dashed #edf2f8;
}
.fund-asset-pos-row:last-child{
  border-bottom: none;
}
.fund-asset-pos-row-empty{
  width: 100%;
  border-bottom: none;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  min-height: 36px;
}
.fund-asset-pos-empty-text{
  color: #94a3b8;
  font-size: 13px;
}
.fund-asset-pos-name{
  color: #334155;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fund-asset-pos-value{
  color: #0f172a;
  font-weight: 600;
  font-size: 13px;
}
.fund-industry-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.fund-industry-tabs,
.fund-industry-standards{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
}
.fund-industry-tab-btn,
.fund-industry-std-btn{
  border: 1px solid #d6deea;
  background: #fff;
  color: #334155;
  border-radius: 10px;
  padding: 7px 14px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: all 140ms ease;
}
.fund-industry-tab-btn:hover,
.fund-industry-std-btn:hover{
  border-color: #9fc2f8;
  color: #1e40af;
  background: #f4f8ff;
}
.fund-industry-tab-btn.is-active,
.fund-industry-std-btn.is-active{
  color: #1d4ed8;
  border-color: #9fc2f8;
  background: #eaf3ff;
  font-weight: 600;
  box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.55);
}
.fund-industry-overview-wrap,
.fund-industry-change-wrap{
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  overflow: hidden;
}
.fund-industry-overview-head{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 6px;
}
.fund-industry-date-label{
  font-size: 12px;
  color: #64748b;
}
.fund-industry-date-select{
  height: 30px;
  min-width: 140px;
  max-width: 210px;
  font-size: 12px;
  padding: 0 8px;
}
.fund-industry-overview-canvas,
.fund-industry-change-canvas{
  width: 100%;
  max-width: 100%;
  display: block;
}
.fund-industry-overview-canvas{
  min-height: 240px;
}
.fund-industry-change-canvas{
  min-height: 300px;
}
.fund-industry-toggle-btn{
  margin: 8px auto 2px;
  display: block;
  min-width: 120px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #d6deea;
  background: #fff;
  color: #334155;
  font-size: 13px;
  cursor: pointer;
}
.fund-industry-toggle-btn:hover{
  border-color: #9fc2f8;
  color: #1e40af;
  background: #f4f8ff;
}
.fund-industry-mini-hint{
  margin-bottom: 8px;
}
.fund-profit-head,
.fund-profit-row{
  display: grid;
  grid-template-columns: 110px 110px minmax(0, 1fr);
  align-items: center;
}
.fund-profit-head{
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.fund-profit-row{
  border-bottom: 1px solid var(--line);
}
.fund-profit-row:last-child{
  border-bottom: none;
}
.fund-profit-cell{
  padding: 10px;
  font-size: 13px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.fund-profit-cell:last-child{
  border-right: none;
}
.fund-profit-cell.col-avg{
  font-weight: 700;
}
.fund-profit-cell.col-win{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.fund-winbar{
  position: relative;
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #e9eef6;
  overflow: hidden;
}
.fund-winbar-fill{
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a8a 0%, #ef4444 100%);
}
.fund-winbar-text{
  min-width: 52px;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.fund-risk-footer{
  max-width: 1080px;
  margin: 8px auto 0;
  padding: 10px 20px 18px;
  color: var(--subtext);
  font-size: 12px;
  line-height: 1.6;
}
.fund-topics-current-hint{
  margin-top: 8px;
  color: #475569;
}
.fund-topics-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.fund-topics-card{
  border: 1px solid #dbe4f2;
  background: #fff;
  border-radius: 10px;
  padding: 12px 10px;
  min-height: 52px;
  text-align: left;
  cursor: pointer;
  transition: all 140ms ease;
}
.fund-topics-card:hover{
  border-color: #9fc2f8;
  background: #f5f9ff;
}
.fund-topics-card-name{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.35;
}
.fund-topics-filter-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.fund-topics-check{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #334155;
}
.fund-topics-detail-wrap{
  margin-top: 8px;
}
.fund-topics-table-wrap{
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-x: auto;
  background: #fff;
}
.fund-topics-table{
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 13px;
}
.fund-topics-table th,
.fund-topics-table td{
  border-bottom: 1px solid #eef2f7;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}
.fund-topics-table th{
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
}
.fund-topics-table td:nth-child(2),
.fund-topics-table th:nth-child(2){
  text-align: left;
}
.fund-topics-sub-wrap{
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.2;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.fund-topics-sub-bracket{
  color: #111827;
}
.fund-topics-sub-value{
  color: #64748b;
}
.fund-topics-sub-value.is-up{
  color: #d32f2f;
  font-weight: 600;
}
.fund-topics-sub-value.is-down{
  color: #1b8e3e;
  font-weight: 600;
}
.fund-topics-sort-btn{
  color: inherit;
}
.fund-topics-sort-btn .manager-sort-label{
  white-space: nowrap;
}
@media (max-width: 768px){.fund-topics-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px){.fund-main{
    width: min(920px, calc(100vw - 12px));
  }
.fund-search-input{
    padding-right: 74px;
  }
.fund-search-actions{
    right: 6px;
    gap: 5px;
  }
.fund-search-clear,
  .fund-search-go{
    width: 22px;
    height: 22px;
  }
.fund-search-clear::before,
  .fund-search-clear::after{
    width: 8px;
    height: 1.1px;
  }
.fund-search-title{
    font-size: 16px;
  }
.fund-news-title{
    font-size: 16px;
  }
.fund-skeleton-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.fund-search-card.fund-search-centered{
    margin-top: 8px;
  }
.fund-basic-kv-grid,
  .fund-basic-kv-grid.is-one-col{
    grid-template-columns: 1fr;
  }
.fund-basic-kv-row{
    grid-template-columns: 110px 1fr;
  }
.fund-basic-subgrid{
    grid-template-columns: 1fr;
  }
.fund-basic-tab-btn{
    padding: 6px 12px;
  }
.fund-perf-toolbar{
    align-items: stretch;
  }
.fund-perf-ranges{
    width: 100%;
  }
.fund-perf-legend{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    align-items: start;
    gap: 8px 4px;
    overflow-x: visible;
  }
.fund-perf-legend-item{
    font-size: 11px;
    justify-content: center;
  }
.fund-perf-legend-text{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    line-height: 1.02;
    white-space: normal;
  }
.fund-perf-legend-name,
  .fund-perf-legend-value{
    display: block;
  }
.fund-perf-benchmark-wrap{
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
  }
.fund-perf-benchmark-label{
    white-space: nowrap;
  }
.fund-perf-benchmark-select{
    min-width: 0;
    width: min(320px, 76vw);
  }
.fund-perf-chart-wrap,
  .fund-perf-canvas{
    min-height: 280px;
    height: 280px;
  }
.fund-interval-table{
    font-size: 12px;
  }
.fund-interval-table th,
  .fund-interval-table td{
    padding: 7px 6px;
  }
.fund-interval-table td:first-child,
  .fund-interval-table th:first-child{
    width: 24%;
  }
.fund-interval-table td:last-child,
  .fund-interval-table th:last-child{
    width: 24%;
  }
.fund-profit-head,
  .fund-profit-row{
    grid-template-columns: 92px 88px minmax(0, 1fr);
  }
.fund-profit-cell{
    padding: 8px 6px;
    font-size: 12px;
  }
.fund-winbar-text{
    min-width: 48px;
    font-size: 12px;
  }
.fund-asset-canvas-wrap{
    padding: 6px;
  }
.fund-asset-combo-canvas{
    min-height: 220px;
  }
.fund-asset-positions-grid{
    grid-template-columns: 1fr;
  }
.fund-asset-tab-btn{
    padding: 6px 12px;
    font-size: 12px;
  }
.fund-industry-toolbar{
    align-items: stretch;
  }
.fund-industry-tabs,
  .fund-industry-standards{
    width: 100%;
  }
.fund-industry-tab-btn,
  .fund-industry-std-btn{
    padding: 6px 12px;
    font-size: 12px;
  }
.fund-industry-overview-head{
    justify-content: flex-start;
  }
.fund-industry-date-select{
    min-width: 120px;
    max-width: 160px;
  }
.fund-reports-tab-btn,
  .fund-reports-type-btn{
    padding: 6px 12px;
    font-size: 12px;
  }
.fund-reports-link{
    font-size: 13px;
  }
.fund-industry-overview-canvas{
    min-height: 220px;
  }
.fund-industry-change-canvas{
    min-height: 250px;
  }
.fund-barra-layout{
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }
.fund-barra-chart-col{
    min-height: 230px;
    padding: 6px;
  }
.fund-holder-ratio-canvas{
    height: 180px;
    max-height: 180px;
  }
.fund-barra-canvas{
    min-height: 218px;
  }
.fund-barra-legend-col{
    padding: 0;
    align-items: center;
    justify-content: center;
  }
.fund-barra-legend-wrap{
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 8px;
    width: 100%;
    justify-content: center;
    justify-items: center;
  }
.fund-barra-legend-item{
    min-width: 0;
    width: auto;
    max-width: 100%;
    padding: 6px 8px;
    gap: 5px;
  }
.fund-barra-legend-text{
    font-size: 11px;
    letter-spacing: 0.1px;
  }
.fund-fee-table{
    font-size: 11px;
  }
.fund-risk-footer{
    padding: 8px 12px 14px;
  }
.fund-realtime-title{
    font-size: 16px;
  }
.fund-realtime-metrics{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.fund-realtime-right{
    width: 100%;
    justify-content: flex-start;
  }
.fund-news-head{
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
.fund-news-title-wrap{
    width: 100%;
    justify-content: flex-start;
    align-items: center;
  }
.fund-news-item-top{
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
.fund-news-time{
    white-space: normal;
  }}
#wmassetDetailWrap > .card{
  margin-top: 18px;
}
#wmassetDetailWrap > .card:first-child{
  margin-top: 0;
}
#insuranceDetailWrap > .card{
  margin-top: 18px;
}
#insuranceDetailWrap > .card:first-child{
  margin-top: 0;
}
.wmasset-detail-title-wrap .ccb-tag{
  flex: 0 0 auto;
}
.wmasset-performance-head .info-tip::after,
.wmasset-history-head .info-tip::after{
  left: auto;
  right: 0;
  transform: none;
}
.wmasset-performance-legend .fund-perf-legend-item.fund .fund-perf-legend-symbol{
  border-color: #ef4444;
}
.wmasset-performance-legend .fund-perf-legend-text{
  flex-direction: row;
  align-items: baseline;
  gap: 4px;
  line-height: 1.2;
  white-space: nowrap;
}
.wmasset-performance-legend .fund-perf-legend-name,
.wmasset-performance-legend .fund-perf-legend-value{
  display: inline;
}
@media (max-width: 760px){.wmasset-overview-tags .subject-tag{
    height: 22px;
    padding: 0 8px;
    font-size: 12px;
  }
.wmasset-performance-chart-wrap .fund-perf-canvas{
    height: 286px;
  }}
.manager-table-wrap{
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  background: #fff;
}
.manager-table{
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
}
.manager-table th,
.manager-table td{
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 9px 10px;
  text-align: center;
  white-space: nowrap;
}
.manager-table th:last-child,
.manager-table td:last-child{
  border-right: none;
}
.manager-table tbody tr:last-child td{
  border-bottom: none;
}
.manager-table th{
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
}
.manager-fund-link{
  color: #334155;
  text-decoration: none;
  font-weight: 500;
}
.manager-fund-link:hover{
  color: #1d4ed8;
  text-decoration: underline;
}
.value-positive{
  color: #dc2626;
  font-weight: 600;
}
.value-negative{
  color: #16a34a;
  font-weight: 600;
}
@media (max-width: 760px){.manager-factor-layout .fund-barra-legend-wrap{
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
  }
.manager-table{
    min-width: 600px;
  }}
.fc-skeleton-hero .manager-skeleton-metrics{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fc-skeleton-section{
  height: auto;
  padding: 10px;
}
.fc-skeleton-section.is-chart .fund-skeleton-cell{
  height: 120px;
}
@media (max-width: 760px){.fc-skeleton-hero .manager-skeleton-metrics{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
.fund-search-title-row,
.fund-news-title-wrap{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fund-search-title,
.fund-news-title{
  margin: 0;
  line-height: 1.2;
  font-size: 18px;
  font-weight: 600;
}
.fund-search-title-row .info-tip,
.fund-news-title-wrap .info-tip{
  flex: 0 0 auto;
  align-self: center;
  margin-top: 0;
}
.fc-overview-tip-wrap{
  margin-left: auto;
  display: inline-flex;
  align-items: flex-start;
  padding-top: 2px;
}
.fc-head-right{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fc-download-tip{
  font-family: inherit;
  font-weight: 600;
  line-height: 1;
}
.fc-filter-row{
  margin-top: 4px;
  margin-bottom: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fc-filter-item{
  display: grid;
  gap: 6px;
}
.fc-filter-item > span{
  color: #7b8799;
  font-size: 12px;
  line-height: 1.2;
}
.fc-select-wrap{
  position: relative;
  display: block;
}
.fc-filter-item .input{
  height: 34px;
  border-radius: 10px;
  border-color: #d7e1ee;
  padding: 0 10px;
  font-size: 13px;
  color: #334155;
  background: #fff;
}
.fc-filter-item select.input{
  padding-right: 34px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
}
.fc-select-wrap::after{
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid #64748b;
  border-bottom: 1.8px solid #64748b;
  transform: translateY(-58%) rotate(45deg);
  pointer-events: none;
}
.fc-filter-item .input:focus{
  outline: none;
  border-color: #9fc2f8;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.12);
}
.fc-pager{
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}
.fc-pager-text{
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 1.7em;
  margin-right: 1.2em;
}
.fc-pager-btn{
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #d6deea;
  background: #fff;
  color: #334155;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.fc-pager-arrow{
  width: 8px;
  height: 8px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  display: inline-block;
}
.fc-pager-arrow.is-left{
  transform: translateX(0.5px) rotate(-135deg);
}
.fc-pager-arrow.is-right{
  transform: translateX(-0.5px) rotate(45deg);
}
.fc-pager-btn:hover:not(:disabled){
  border-color: #9fc2f8;
  color: #1e40af;
  background: #f4f8ff;
}
.fc-pager-btn:disabled{
  opacity: 0.45;
  cursor: not-allowed;
}
.fc-resume-details{
  text-align: left;
}
.fc-resume-details summary{
  cursor: pointer;
  color: #334155;
  font-weight: 600;
}
.fc-resume-details > div{
  margin-top: 6px;
  color: #475569;
  line-height: 1.6;
  white-space: pre-wrap;
}
.fc-chart-wrap{
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}
.fc-holder-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}
.fc-holder-dot-internal{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc2626;
  display: inline-block;
}
.fc-scale-dot-bar,
.fc-scale-dot-line{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.fc-scale-dot-bar{
  background: var(--fund-holder-inst-color, #3b82f6);
}
.fc-scale-dot-line{
  background: #dc2626;
}
@media (max-width: 760px){.fc-filter-row{
    grid-template-columns: 1fr;
  }
.fc-filter-item select.input{
    padding-right: 30px;
  }
.fc-select-wrap::after{
    right: 10px;
    width: 6px;
    height: 6px;
    transform: translateY(-56%) rotate(45deg);
  }
.fc-pager{
    justify-content: center;
    gap: 0;
  }
.fc-pager-text{
    font-size: 11px;
    margin-left: 1.15em;
    margin-right: 0.9em;
  }
.fc-pager-btn{
    width: 28px;
    height: 28px;
  }
.fc-pager-arrow{
    width: 7px;
    height: 7px;
  }}
.market-info-tip{
  flex: 0 0 auto;
}
.fund-topics-view-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.fund-topics-view-controls,
.fund-topics-period-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.fund-topics-period-row{
  margin: 0 0 12px;
}
.fund-topics-view-btn,
.fund-topics-period-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #d7e2ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  min-height: 30px;
  padding: 7px 11px;
  transition: all 140ms ease;
}
.fund-topics-view-btn:hover,
.fund-topics-period-btn:hover{
  border-color: #9fc2f8;
  background: #f5f9ff;
}
.fund-topics-view-btn[data-active="1"],
.fund-topics-period-btn[data-active="1"]{
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
}
.fund-topics-view-btn .manager-sort-icon{
  width: 8px;
  height: 14px;
}
.fund-topics-view-btn[data-active="1"][data-order="asc"] .caret.up,
.fund-topics-view-btn[data-active="1"][data-order="desc"] .caret.down{
  border-bottom-color: #1d4ed8;
  border-top-color: #1d4ed8;
  opacity: 1;
}
.fund-topics-info-tip{
  flex: 0 0 auto;
}
.fund-topics-metric-card{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 94px;
}
.fund-topics-card-metric{
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  color: #64748b;
}
.fund-topics-card-metric.is-up{
  color: #d32f2f;
}
.fund-topics-card-metric.is-down{
  color: #1b8e3e;
}
.fund-topics-card-metric.is-neutral{
  color: #64748b;
}
.fund-topics-card-sub{
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  color: #64748b;
  font-size: 12px;
  line-height: 1.3;
}
@media (max-width: 768px){.fund-topics-view-head{
    align-items: flex-start;
  }
.fund-topics-view-controls,
  .fund-topics-period-row{
    gap: 6px;
  }
.fund-topics-view-btn,
  .fund-topics-period-btn{
    font-size: 12px;
    min-height: 28px;
    padding: 6px 9px;
  }
.fund-topics-card-metric{
    font-size: 18px;
  }}
.fund-topics-board{
  display: block;
}
.fund-topics-board > .fund-topics-grid{
  margin-top: 0;
}
.fund-topics-card-metric.is-hot-2{
  color: #b91c1c;
}
.fund-topics-card-metric.is-hot-1{
  color: #ef4444;
}
.fund-topics-card-metric.is-cold-1{
  color: #22c55e;
}
.fund-topics-card-metric.is-cold-2{
  color: #15803d;
}
.fund-topics-metric-card{
  background: var(--topic-heat-bg, #fff);
  border-color: var(--topic-heat-border, #dbe4f0);
}
.fund-topics-metric-card.is-hot-2,
.fund-topics-metric-card.is-hot-1,
.fund-topics-metric-card.is-cold-1,
.fund-topics-metric-card.is-cold-2,
.fund-topics-metric-card.is-neutral{
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}
.fund-topics-metric-card:hover{
  filter: saturate(1.08);
}
.fund-topics-view-controls{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}
.fund-topics-period-row{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  width: 100%;
}
.fund-topics-view-btn,
.fund-topics-period-btn{
  width: 100%;
}
.fund-topics-metric-card{
  min-height: 76px;
  justify-content: center;
}
@media (max-width: 768px){.fund-topics-period-row{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
.fund-topics-view-controls{
  display: flex;
  grid-template-columns: none;
  width: auto;
}
.fund-topics-period-row{
  display: flex;
  grid-template-columns: none;
  width: auto;
}
.fund-topics-view-btn,
.fund-topics-period-btn{
  width: auto;
}
@media (max-width: 768px){.fund-topics-period-row{
    display: flex;
    grid-template-columns: none;
  }}
.fund-topics-modules{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.topic-overview-metric-value.is-up,
.fund-perf-legend-value.is-up{
  color: #d92d20;
}
.topic-overview-metric-value.is-down,
.fund-perf-legend-value.is-down{
  color: #0d8f4f;
}
@keyframes topicSkeleton{
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.topic-overview-tag.subject-tag.manager-class-tag{
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-color: #d7e2ef;
  background: #f8fbff;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}
.topic-overview-tags .subject-tag.manager-class-tag{
  height: 20px;
  padding: 0 8px;
  font-weight: 400;
  border-color: #d7e2ef;
  background: #f8fbff;
  color: #475569;
}
.fund-topics-modules,
.fund-topics-modules > .topic-detail-card,
.topic-detail-card .fund-section-head,
.topic-overview-head,
.topic-ai-view-grid,
.topic-info-content,
.topic-review-card,
.topic-hotspot-card,
.topic-news-card{
  min-width: 0;
  max-width: 100%;
}
.fund-topics-modules > .topic-detail-card{
  width: 100%;
}
.topic-detail-card .info-tip,
#fundTopicsDetailCard .info-tip{
  flex: 0 0 18px;
  min-width: 18px;
}
@media (max-width: 760px){.topic-detail-card .info-tip::after,
  #fundTopicsDetailCard .info-tip::after{
    left: auto;
    right: 0;
    transform: none;
    width: min(300px, calc(100vw - 36px));
    max-width: min(300px, calc(100vw - 36px));
  }}
.topic-news-report-link.fund-reports-link{
  display: inline;
  border: 0;
  background: transparent;
  padding: 0;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}
.topic-news-report-link.fund-reports-link:hover{
  color: #1d4ed8;
  text-decoration: underline;
}
.topic-related-fund-link,
.topic-related-fund-text{
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}
.topic-news-report-link.fund-reports-link{
  font-weight: 500;
  text-decoration: none;
}
.topic-news-report-link.fund-reports-link:hover{
  color: #1d4ed8;
  text-decoration: none;
}
.topic-related-fund-link.fund-manager-link{
  color: #334155;
  text-decoration: none;
  font-weight: 600;
}
.topic-related-fund-link.fund-manager-link:hover{
  color: #1d4ed8;
  text-decoration: none;
}
.qdii-card-head .info-tip{
  flex: 0 0 auto;
}
.fund-calc-form-card,
.fund-calc-result-card{
  margin-bottom: 10px;
}
.fund-calc-form-card{
  padding: 16px 18px 18px;
}
.fund-calc-form-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.fund-calc-form-head .info-tip{
  flex: 0 0 18px;
  margin-top: 1px;
}
.fund-calc-form-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
}
.fund-calc-field-wide{
  grid-column: 1 / -1;
}
.fund-calc-field .label{
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-weight: 650;
  font-size: 14px;
}
.fund-calc-search-wrap{
  max-width: 100%;
}
.fund-calc-field .input,
.fund-calc-field .select{
  min-height: 40px;
  font-size: 14px;
}
.fund-calc-field .fund-search-input{
  min-height: 40px;
}
.fund-calc-date-input{
  height: 40px;
}
.fund-calc-field .fund-search-meta{
  margin-top: 8px;
}
.fund-calc-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.fund-calc-date-wrap{
  position: relative;
}
.fund-calc-date-wrap::before{
  content: attr(data-placeholder);
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
}
.fund-calc-date-wrap:not(.has-value)::before{
  opacity: 1;
}
.fund-calc-date-wrap:not(.has-value) .fund-calc-date-input{
  color: transparent;
}
.fund-calc-date-input:focus{
  color: #0f172a !important;
}
.fund-calc-summary-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.fund-calc-summary-head .info-tip{
  flex: 0 0 18px;
  margin-top: 1px;
}
.fund-calc-summary-head .hint{
  margin-top: 6px;
}
.fund-calc-curve-card{
  padding: 16px 18px;
}
.fund-calc-curve-toolbar{
  margin: 2px 0 8px;
}
.fund-calc-curve-tabs{
  margin: 0;
}
.fund-calc-curve-meta{
  margin: 4px 0 8px;
}
.fund-calc-benchmark-wrap{
  margin-left: auto;
}
.fund-calc-benchmark-wrap[hidden]{
  display: none !important;
}
.fund-calc-curve-legend{
  justify-content: center;
  flex-wrap: wrap;
  margin: 4px 0 8px;
}
.fund-calc-legend-item .fund-perf-legend-symbol.is-dashed::before{
  border-top-style: dashed;
}
.fund-calc-legend-normal{ order: 1; }
.fund-calc-legend-cost{ order: 2; }
.fund-calc-legend-value{ order: 3; }
.fund-calc-legend-lumpSum{ order: 4; }
.fund-calc-legend-benchmark{ order: 5; }
.fund-calc-curve-chart-wrap{
  margin-top: 0;
}
.fund-calc-table-wrap{
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
}
.fund-calc-table-wrap:active{
  cursor: grabbing;
}
.fund-calc-summary-table{
  min-width: 980px;
}
.fund-calc-summary-table th,
.fund-calc-summary-table td{
  text-align: center;
}
.fund-calc-summary-table th:first-child,
.fund-calc-summary-table td:first-child,
.fund-calc-summary-table th:nth-child(2),
.fund-calc-summary-table td:nth-child(2){
  text-align: center;
}
.fund-calc-summary-table td:first-child{
  font-weight: 600;
  color: #0f172a;
}
.fund-calc-pos{
  color: #d32f2f;
  font-weight: 600;
}
.fund-calc-neg{
  color: #1b8e3e;
  font-weight: 600;
}
.fund-calc-chart-wrap{
  min-height: 340px;
}
.meta-error{
  color: #dc2626;
}
.meta-warning{
  color: #d97706;
}
@media (max-width: 768px){.fund-calc-form-card{
    padding: 14px 14px 15px;
  }
.fund-calc-form-head{
    margin-bottom: 12px;
  }
.fund-calc-form-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }
.fund-calc-field .label{
    margin-bottom: 5px;
  }
.fund-calc-actions{
    margin-top: 12px;
  }
.fund-calc-curve-card{
    padding: 14px;
  }
.fund-calc-curve-toolbar{
    align-items: stretch;
    gap: 8px;
    margin: 0 0 8px;
  }
.fund-calc-curve-tabs{
    width: 100%;
    flex: 1 0 100%;
    margin: 0;
  }
.fund-calc-curve-meta{
    margin: 4px 0 8px;
    line-height: 1.4;
  }
.fund-calc-benchmark-wrap{
    width: 100%;
    flex: 1 0 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
.fund-calc-benchmark-wrap .fund-perf-benchmark-select{
    min-width: 0;
    width: min(320px, 76vw);
    max-width: none;
  }
.fund-calc-curve-legend{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 8px 10px;
    overflow-x: visible;
    margin: 8px 0 10px;
    text-align: center;
  }
.fund-calc-legend-normal{ order: 1; }
.fund-calc-legend-cost{ order: 2; }
.fund-calc-legend-value{ order: 3; }
.fund-calc-legend-break{
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    height: 0;
  }
.fund-calc-legend-lumpSum{ order: 5; }
.fund-calc-legend-benchmark{ order: 6; }
.fund-calc-chart-wrap{
    min-height: 300px;
  }}
.fund-select-main{
  display: grid;
  gap: 12px;
  align-content: start;
  align-items: start;
}
.fund-select-card{
  display: grid;
  gap: 10px;
  padding: 14px;
  width: 100%;
  align-content: start;
  align-items: start;
}
.fund-select-card-head{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: -1px 0 0;
}
.fund-select-result-card .fund-select-card-head{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 -2px;
}
.fund-select-result-meta{
  color: var(--subtext);
  font-size: 12px;
}
.fund-select-chip-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-height: 50px;
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}
.fund-select-chip-list.is-empty{
  justify-content: center;
  text-align: center;
}
.fund-select-jc-section{
  display: grid;
  gap: 10px;
}
.fund-select-special + .fund-select-jc-section{
  margin-top: 6px;
}
.fund-select-jc-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fund-select-add-plus{
  width: 6px;
  color: #2563eb;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
.fund-select-chip{
  display: inline-flex;
  align-items: center;
  max-width: min(420px, 100%);
  gap: 6px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1.2;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.fund-select-chip.is-editing{
  background: #dbeafe;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .12);
}
.fund-select-chip-text{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fund-select-chip button{
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.fund-select-chip .fund-select-chip-main{
  display: inline-flex;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  align-items: center;
  padding: 8px 2px 8px 10px;
  color: inherit;
  font: inherit;
}
.fund-select-chip .fund-select-chip-main:hover .fund-select-chip-text{
  text-decoration: underline;
}
.fund-select-chip .fund-select-chip-remove{
  flex: 0 0 auto;
  color: #64748b;
  font-size: 15px;
  padding: 8px 10px 8px 2px !important;
}
.fund-select-empty,
.fund-select-empty-cell{
  color: var(--subtext);
  font-size: 13px;
}
.fund-select-empty{
  width: 100%;
  padding: 4px 0;
}
.fund-select-empty-cell{
  height: 72px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}
.fund-select-actions-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.fund-select-message{
  flex: 1 1 220px;
  min-height: 32px;
  display: flex;
  align-items: center;
}
.fund-select-actions-row .btn{
  height: 32px;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.fund-select-actions-row .btn:disabled{
  opacity: 0.55;
  cursor: not-allowed;
}
.fund-select-actions-row .fund-select-add-btn{
  background: #eef6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.fund-select-actions-row .fund-select-add-btn:hover:not(:disabled){
  background: #dbeafe;
  border-color: #93c5fd;
}
.fund-select-actions-row .fund-select-reset-btn{
  background: #fff;
  border-color: #e2e8f0;
  color: #334155;
}
.fund-select-actions-row .fund-select-reset-btn:hover:not(:disabled){
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.fund-select-actions-row .fund-select-search-btn{
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: none;
}
.fund-select-actions-row .fund-select-search-btn:hover:not(:disabled){
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.fund-select-actions-spacer{
  flex: 1 1 auto;
  min-width: 16px;
}
.fund-select-special{
  display: grid;
  gap: 8px;
}
.fund-select-section-title{
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.fund-select-special-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.fund-select-special-mode-btn{
  border: 1px solid #d6deea;
  background: #ffffff;
  color: #334155;
  border-radius: 10px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: all 140ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fund-select-special-mode-btn:hover{
  border-color: #9fc2f8;
  color: #1e40af;
  background: #f4f8ff;
}
.fund-select-special-mode-btn.is-active{
  color: #1d4ed8;
  border-color: #9fc2f8;
  background: #eaf3ff;
  font-weight: 700;
  box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.55);
}
.fund-select-add-cond-btn{
  color: #1d4ed8;
  border-color: #9fc2f8;
  background: #eaf3ff;
  font-weight: 700;
  box-shadow: inset 0 -1px 0 rgba(59, 130, 246, 0.55);
}
.fund-select-add-cond-btn:hover:not(:disabled){
  color: #1e40af;
  border-color: #93c5fd;
  background: #dbeafe;
}
.fund-select-special-dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color 140ms ease, transform 140ms ease;
}
.fund-select-special-mode-btn.is-active .fund-select-special-dot{
  background: #22c55e;
  transform: scale(1.08);
}
.fund-select-special-grid{
  display: grid;
  gap: 6px;
  margin: 0;
}
.fund-select-special-grid[hidden]{
  display: none;
}
.fund-select-special[data-enabled="0"] .fund-select-special-head{
  margin-bottom: 0;
}
.fund-select-special-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.fund-select-special-label{
  flex: 0 0 32px;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}
.fund-select-special-check{
  margin: 0;
  line-height: 1.35;
}
.fund-select-special-check input{
  accent-color: #2563eb;
}
.fund-select-field{
  display: grid;
  gap: 6px;
  color: #64748b;
  font-size: 12px;
}
.fund-select-field .input,
.fund-select-field input,
.fund-select-field select{
  width: 100%;
}
.fund-select-message:empty{
  display: none;
}
.fund-select-message[data-tone="ok"]{ color: #047857; }
.fund-select-message[data-tone="warn"]{ color: #b45309; }
.fund-select-warning{
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
}
.fund-select-table{
  min-width: 760px;
}
.fund-select-table-wrap.is-empty{
  overflow: visible;
}
.fund-select-table-wrap.is-empty .fund-select-table{
  min-width: 0;
  width: 100%;
}
.fund-select-fund-link{
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.fund-select-pager{
  justify-content: center;
}
.fund-select-link-sep{
  display: inline-block;
  margin: 0 4px;
  color: var(--subtext);
}
.fund-select-modal{
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100svh;
  z-index: 100;
  overflow: hidden;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overscroll-behavior: contain;
  contain: layout paint;
}
.fund-select-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.fund-select-modal-panel{
  position: relative;
  width: min(1080px, calc(100vw - 28px));
  height: min(720px, calc(100svh - 56px));
  max-height: calc(100svh - 56px);
  box-sizing: border-box;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  contain: layout paint;
}
.fund-select-modal-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}
.fund-select-modal-head h3{
  margin: 0;
  font-size: 18px;
}
.fund-select-modal-close{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.fund-select-modal-body{
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 0;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  background: #f8fafc;
}
.fund-select-group-list{
  border-right: 1px solid #e5e7eb;
  padding: 12px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 6px;
  background: #f8fafc;
}
.fund-select-group-btn,
.fund-select-tag-btn{
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
}
.fund-select-group-btn{
  padding: 9px 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}
.fund-select-group-btn.is-active{
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}
.fund-select-tag-panel{
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(300px, 0.58fr);
  background: #fff;
}
.fund-select-tag-list{
  border-right: 1px solid #e5e7eb;
  padding: 12px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 4px;
  background: #fff;
}
.fund-select-tag-btn{
  padding: 9px 10px;
  display: grid;
  gap: 3px;
  border-radius: 8px;
  min-width: 0;
}
.fund-select-tag-btn:hover{
  background: #f8fafc;
  border-color: #e2e8f0;
}
.fund-select-tag-btn.is-active{
  border-color: #bfdbfe;
  background: #eff6ff;
  box-shadow: inset 3px 0 0 #2563eb;
}
.fund-select-tag-btn span{
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  line-height: 1.2;
}
.fund-select-tag-btn.is-active span{
  color: #1d4ed8;
  font-weight: 650;
}
.fund-select-tag-btn small{
  font-size: 11px;
  color: #94a3b8;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.fund-select-editor{
  padding: 16px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 14px;
  background: #fff;
  min-width: 0;
}
.fund-select-editor-title{
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.fund-select-editor-note{
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}
.fund-select-editor-fields{
  display: grid;
  gap: 12px;
  min-width: 0;
}
.fund-select-two-cols{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}
.fund-select-option-group{
  display: grid;
  gap: 8px;
}
.fund-select-option-title{
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.fund-select-options{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, max-content));
  align-items: start;
  gap: 8px;
  min-width: 0;
}
.fund-select-check{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dbe4ef;
  background: #fff;
  border-radius: 10px;
  padding: 7px 10px;
  color: #334155;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.25;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}
.fund-select-check:hover{
  border-color: #bfdbfe;
  background: #f8fbff;
}
.fund-select-check:has(input:checked){
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
}
.fund-select-modal-selected{
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #e5e7eb;
  background: #fbfdff;
}
.fund-select-modal-selected-head{
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.fund-select-modal-selected-title{
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}
.fund-select-modal-message{
  min-width: 0;
  text-align: right;
  color: #dc2626;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
.fund-select-modal-message:empty{
  display: none;
}
.fund-select-modal-message[data-tone="ok"]{
  color: #15803d;
}
.fund-select-modal-added-list{
  min-height: 44px;
  max-height: 84px;
  overflow-y: auto;
  padding: 7px 8px;
  background: #fff;
}
.fund-select-modal-footer{
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.96);
}
.fund-select-modal-actions{
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.fund-select-modal-actions .btn{
  min-width: 86px;
  height: 32px;
  border-radius: 10px;
  padding: 0 14px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}
.fund-select-modal-actions .fund-select-modal-cancel-btn{
  background: #fff;
  border-color: #e2e8f0;
  color: #334155;
}
.fund-select-modal-actions .fund-select-modal-cancel-btn:hover{
  background: #f8fafc;
  border-color: #cbd5e1;
}
.fund-select-modal-add-btn{
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}
.fund-select-modal-add-btn:hover{
  background: #dbeafe;
  border-color: #93c5fd;
}
.fund-select-modal-confirm-btn{
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.fund-select-modal-confirm-btn:hover{
  background: #1d4ed8;
  border-color: #1d4ed8;
}
@media (max-width: 480px){.fund-select-special-row{
    gap: 6px 5px;
  }
.fund-select-special-label{
    flex-basis: 24px;
  }
.fund-select-special-check{
    gap: 3px;
  }}
@media (max-width: 780px){.fund-select-card-head,
  .fund-select-actions-row{
    align-items: flex-start;
    justify-content: flex-start;
  }
.container,
  .fund-main,
  .fund-select-main,
  .fund-select-card,
  .fund-select-result-card{
    min-width: 0;
    max-width: 100%;
  }
.fund-select-main{
    overflow-x: hidden;
  }
.fund-select-card,
  .fund-select-result-card{
    overflow-x: hidden;
  }
.fund-select-chip-list{
    align-items: stretch;
    flex-direction: column;
  }
.fund-select-chip{
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }
.fund-select-chip-text{
    flex: 1 1 auto;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    line-height: 1.35;
  }
.fund-select-actions-row{
    align-items: center;
    justify-content: flex-end;
  }
.fund-select-message{
    flex-basis: 100%;
    min-height: 0;
  }
.fund-select-pager{
    justify-content: center;
  }
.fund-select-special-grid,
  .fund-select-two-cols{
    grid-template-columns: 1fr;
  }
.fund-select-modal-panel{
    width: min(330px, 100%);
    max-width: 100%;
    height: min(660px, calc(100svh - 24px));
    max-height: calc(100svh - 24px);
    border-radius: 16px;
    overflow: hidden;
  }
.fund-select-modal-head{
    padding: 10px 12px;
  }
.fund-select-modal-head h3{
    font-size: 16px;
  }
.fund-select-modal-close{
    width: 28px;
    height: 28px;
    font-size: 19px;
  }
.fund-select-modal-body,
  .fund-select-tag-panel{
    grid-template-columns: 1fr;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
.fund-select-modal-head,
  .fund-select-modal-footer,
  .fund-select-modal-selected,
  .fund-select-modal-actions{
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
.fund-select-modal-body{
    grid-template-rows: auto minmax(0, 1fr);
  }
.fund-select-tag-panel{
    grid-template-rows: auto minmax(0, 1fr);
  }
.fund-select-group-list,
  .fund-select-tag-list{
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 5px;
    padding: 7px 10px;
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    max-height: 46px;
    align-items: center;
    align-content: center;
    contain: layout paint;
    -webkit-overflow-scrolling: touch;
  }
.fund-select-group-btn,
  .fund-select-tag-btn{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    width: max-content;
    height: 30px;
    max-height: 30px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1;
  }
.fund-select-tag-btn{
    padding: 0 10px;
  }
.fund-select-group-btn{
    padding-top: 0;
    padding-bottom: 0;
  }
.fund-select-tag-btn span,
  .fund-select-group-btn{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
.fund-select-group-btn.is-active,
  .fund-select-tag-btn.is-active,
  .fund-select-tag-btn.is-active span{
    font-weight: 600;
  }
.fund-select-tag-btn.is-active{
    box-shadow: inset 0 -2px 0 #2563eb;
  }
.fund-select-editor{
    padding: 10px 12px 12px;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
.fund-select-options{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.fund-select-check{
    justify-content: flex-start;
    min-height: 36px;
    width: 100%;
  }
.fund-select-modal-selected{
    padding: 8px 12px;
    gap: 6px;
  }
.fund-select-modal-selected-head{
    align-items: flex-start;
  }
.fund-select-modal-message{
    font-size: 11px;
  }
.fund-select-modal-added-list{
    max-height: 104px;
    align-items: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: auto;
  }
.fund-select-modal-added-list .fund-select-chip{
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }
.fund-select-modal-footer{
    position: sticky;
    bottom: 0;
    align-items: stretch;
    padding: 10px 12px 12px;
  }
.fund-select-modal-actions{
    width: 100%;
    justify-content: center;
  }
.fund-select-modal-actions .btn{
    flex: 1 1 0;
    min-width: 0;
    height: 34px;
  }}
@media (max-width: 340px){.fund-select-modal{
    padding: 8px;
  }
.fund-select-modal-head{
    padding: 9px 10px;
  }
.fund-select-modal-footer{
    padding: 10px;
  }
.fund-select-modal-actions{
    gap: 6px;
  }}
.fund-select-company-picker{
  display: grid;
  gap: 10px;
}
.fund-select-company-selected-list{
  min-height: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.fund-select-company-selected{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #bfd7ff;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 700;
}
.fund-select-company-selected button{
  width: 18px;
  height: 18px;
  border: 0;
  background: rgba(29, 78, 216, 0.12);
  color: #1d4ed8;
  border-radius: 999px;
  cursor: pointer;
  line-height: 18px;
  padding: 0;
}
.fund-select-company-placeholder,
.fund-select-company-count{
  color: #94a3b8;
  font-size: 12px;
}
.fund-select-company-options{
  max-height: 260px;
  overflow-y: auto;
  align-content: flex-start;
  padding: 2px 0;
}
.fund-select-company-check.is-checked{
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
}
.fund-select-empty-inline{
  min-height: auto;
  padding: 10px 0;
  background: transparent;
  border: 0;
}