/* 经纪商行情外部 SVG 图标兼容层 */
.toolbar-icon {
  background-color: transparent !important;
  background-image: var(--toolbar-icon-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  -webkit-mask: none !important;
  mask: none !important;
}

.header-filter-icon {
  background-color: transparent !important;
  background-image: var(--header-filter-icon-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  -webkit-mask: none !important;
  mask: none !important;
}

.tree-expand-icon {
  background-color: transparent !important;
  background-image: var(--tree-expand-icon-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  -webkit-mask: none !important;
  mask: none !important;
}

/* 选择框箭头不再依赖 iconfont，避免线上字体加载/映射异常。 */
.h-select-selection {
  position: relative;
  padding-right: 24px !important;
}

.h-select-selection .h-select-arrow {
  display: none !important;
}

.h-select-selection::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #8c96a3;
  border-bottom: 1.5px solid #8c96a3;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  transition: transform .18s ease, border-color .18s ease;
}

.h-select-selection:hover::after,
.h-select-visible .h-select-selection::after {
  border-color: var(--color-primary, #298dff);
}

.h-select-visible .h-select-selection::after {
  transform: translateY(-30%) rotate(225deg);
}

/* 到期日日期范围框和债券代码输入框统一显示下拉箭头。 */
.h-date-picker:has(input[placeholder="开始日期-结束日期"]) .h-input-icon,
.h-input:has(input[placeholder="输入债券代码"]) .h-input-icon {
  display: none !important;
}

.h-date-picker:has(input[placeholder="开始日期-结束日期"]),
.h-input:has(input[placeholder="输入债券代码"]) {
  position: relative;
}

.h-date-picker:has(input[placeholder="开始日期-结束日期"])::after,
.h-input:has(input[placeholder="输入债券代码"])::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #8c96a3;
  border-bottom: 1.5px solid #8c96a3;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
