/* AI Buy board unify (2026-11-12): platform expand, risk resizer, drag smoothness,
   rail title color, header hairline, toolbar alignment. Desktop (>=701px) only
   unless a rule is clearly theme/color. Do not change composer or other pages. */

/* ---- 4. Unify top-left title + icon color to 资源对接's current color ---- */
:root:not(#_v3) .match-board .match-rail-title,
:root:not(#_v3) .match-board .match-rail-brand,
:root:not(#_v3) .match-board .match-rail-brand strong,
:root:not(#_v3) .match-board .match-rail-brand svg,
:root:not(#_v3) .risk-board .risk-rail-title,
:root:not(#_v3) .risk-board .risk-rail-brand,
:root:not(#_v3) .risk-board .risk-rail-brand strong,
:root:not(#_v3) .risk-board .risk-rail-brand svg,
:root:not(#_v3) .price-workspace .price-rail-title,
:root:not(#_v3) .price-workspace .price-rail-brand,
:root:not(#_v3) .price-workspace .price-rail-brand strong,
:root:not(#_v3) .price-workspace .price-rail-brand svg,
:root:not(#_v3) .directory-main-tools .directory-sidebar-heading,
:root:not(#_v3) .directory-main-tools .directory-sidebar-heading strong,
:root:not(#_v3) .directory-main-tools .directory-sidebar-heading svg,
:root:not(#_v3) .directory-home-shell .directory-main-tools .directory-sidebar-heading :is(svg,strong) {
  color: var(--ui-text, #23392d);
}
:root:not(#_v3) .match-board .match-rail-brand svg,
:root:not(#_v3) .risk-board .risk-rail-brand svg,
:root:not(#_v3) .price-workspace .price-rail-brand svg,
:root:not(#_v3) .directory-main-tools .directory-sidebar-heading svg {
  stroke: currentColor;
  fill: none;
}

/* ---- 3. Kill grid-column transition while dragging; keep collapse animation ---- */
@media (min-width: 701px) {
  :root:not(#_v3) .match-board.is-resizing,
  :root:not(#_v3) .match-columns.is-resizing,
  :root:not(#_v3) .risk-board.is-resizing,
  :root:not(#_v3) .risk-main.is-resizing,
  html.aibuy-risk-resizing:not(#_v3) .risk-main,
  :root:not(#_v3) .directory-workspace-deals .price-workspace.is-pane-dragging,
  :root:not(#_v3) .directory-workspace-deals .price-workspace.is-pane-dragging > .price-category-column {
    transition: none !important;
    --board-motion: 0s !important;
  }
  :root:not(#_v3) .match-columns.is-resizing,
  :root:not(#_v3) .risk-main.is-resizing,
  html.aibuy-risk-resizing:not(#_v3) .risk-main,
  :root:not(#_v3) .directory-workspace-deals .price-workspace.is-pane-dragging {
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: col-resize;
  }
  :root:not(#_v3) .match-columns.is-resizing :is(.match-list, .match-detail),
  :root:not(#_v3) .risk-main.is-resizing,
  html.aibuy-risk-resizing:not(#_v3) .risk-main :is(.risk-list, .risk-detail),
  :root:not(#_v3) .directory-workspace-deals .price-workspace.is-pane-dragging :is(.price-spec-list, .price-offer-list, .price-quotes) {
    contain: layout style;
    pointer-events: none;
  }
}

/* ---- 2. Risk page resizer: same look and grid slot as 资源对接 ---- */
@media (min-width: 701px) {
  :root:not(#_v3) .risk-board .risk-resizer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 4;
    grid-column: 2;
    grid-row: 1 / -1;
    width: 10px;
    margin: 0;
    cursor: col-resize;
    touch-action: none;
    outline: none;
    user-select: none;
  }
  :root:not(#_v3) .risk-board .risk-resizer::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    width: 1px;
    background: var(--risk-line, var(--ui-line, #d7e1da));
    opacity: 1;
    transition: background-color 0.16s ease, width 0.16s ease;
  }
  :root:not(#_v3) .risk-board .risk-resizer > span {
    z-index: 1;
    box-sizing: content-box;
    width: 3px;
    height: 34px;
    margin: 0;
    border: 3px solid var(--ui-surface, #fff);
    border-radius: 8px;
    background: var(--ui-line, #d7e1da);
    opacity: 1;
    transition: background-color 0.16s ease;
  }
  :root:not(#_v3) .risk-board .risk-resizer:is(:hover, :focus-visible, .is-dragging)::before,
  :root:not(#_v3) .risk-main.is-resizing,
  html.aibuy-risk-resizing:not(#_v3) .risk-main .risk-resizer::before {
    width: 2px;
    background: var(--ui-accent, #2e6b50);
  }
  :root:not(#_v3) .risk-board .risk-resizer:is(:hover, :focus-visible, .is-dragging) > span,
  :root:not(#_v3) .risk-main.is-resizing,
  html.aibuy-risk-resizing:not(#_v3) .risk-main .risk-resizer > span {
    background: var(--ui-accent, #2e6b50);
  }
  /* The old 1px pseudo line is replaced by the resizer */
  :root:not(#_v3) .risk-board .risk-main::before {
    display: none !important;
  }
}
@media (max-width: 700px) {
  :root:not(#_v3) .risk-board .risk-resizer,
  :root:not(#_v3) .aibuy-split-line,
  :root:not(#_v3) #aibuy-unify-root {
    display: none !important;
  }
}

/* ---- 1. 交易避坑 平台: in-place list like 资源对接, not a native popup ---- */
@media (min-width: 701px) {
  :root:not(#_v3) .risk-platform-filter {
    position: relative;
  }
  :root:not(#_v3) .risk-board:not(.is-rail-collapsed) .risk-platform-filter {
    min-height: var(--aibuy-platform-h, 0px);
  }
  :root:not(#_v3) .risk-board:not(.is-rail-collapsed) .risk-platform-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    pointer-events: none;
  }
  :root:not(#_v3) .risk-platform-list {
    display: grid;
    gap: 3px;
    margin-top: 4px;
  }
  :root:not(#_v3) .risk-board.is-rail-collapsed .risk-platform-list {
    display: none !important;
  }
  :root:not(#_v3) .risk-platform-list .risk-rail-item {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    min-height: 32px;
    padding-left: 10px;
    padding-right: 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
  }
  :root:not(#_v3) .risk-platform-list .risk-rail-item:hover {
    background: var(--ui-secondary-hover, #e0ebe3);
    color: var(--ui-text, #23392d);
  }
  :root:not(#_v3) .risk-platform-list .risk-rail-item.active {
    background: var(--ui-accent-soft, #e3efe7);
    color: var(--ui-text, #23392d);
  }
}
@media (max-width: 700px) {
  :root:not(#_v3) .risk-platform-list {
    display: none !important;
  }
}

/* ---- 5. One continuous header hairline through the vertical divider ---- */
@media (min-width: 701px) {
  :root:not(#_v3) .match-board .match-columns,
  :root:not(#_v3) .risk-board .risk-main,
  :root:not(#_v3) .directory-workspace-deals .price-workspace {
    position: relative;
  }
  /* 64px header row (12+40+12): hairline sits on the last pixel.
     Pure CSS ::after — never insert a node into a React tree. */
  :root:not(#_v3) .match-board .match-columns::after,
  :root:not(#_v3) .risk-board .risk-main::after,
  :root:not(#_v3) .directory-workspace-deals .price-spec-column::after {
    content: "";
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ui-line, #d7e1da);
    pointer-events: none;
    z-index: 8;
  }
  :root:not(#_v3) .directory-workspace-deals .price-spec-column {
    position: relative;
  }
  /* Leftover DOM lines/resizers/lists from older overlay versions: hide only, never remove. */
  :root:not(#_v3) .match-columns > .aibuy-split-line,
  :root:not(#_v3) .risk-main > .aibuy-split-line,
  :root:not(#_v3) .price-workspace > .aibuy-split-line,
  :root:not(#_v3) .price-spec-column > .aibuy-split-line,
  :root:not(#_v3) .risk-main > .risk-resizer,
  :root:not(#_v3) .risk-platform-filter > .risk-platform-list {
    display: none !important;
  }

  /* Hide the old partial borders / inset shadows so they don't sit at a different y */
  :root:not(#_v3) .match-board .match-list-heading,
  :root:not(#_v3) .risk-board .risk-list-heading,
  :root:not(#_v3) .directory-workspace-deals .price-spec-column .price-column-heading {
    border-bottom-color: transparent !important;
    box-shadow: none !important;
  }
  :root:not(#_v3) .match-board .match-toolbar,
  :root:not(#_v3) .risk-board .risk-toolbar {
    box-shadow: none !important;
    border-bottom: 0 !important;
  }

  /* First row is 64px so the hairline stays level on 资源对接 / 交易避坑.
     比价库右侧报价区不加空顶栏、不画横线，报价从顶部铺满。仍不放搜索/重置。 */
  :root:not(#_v3) .match-board .match-columns,
  :root:not(#_v3) .risk-board .risk-main {
    grid-template-rows: 48px minmax(0, 1fr) !important;
  }
  :root:not(#_v3) .directory-workspace-deals .price-workspace > .price-board-toolbar,
  :root:not(#_v3) .directory-workspace-deals .price-workspace::before {
    display: none !important;
    content: none !important;
  }
  :root:not(#_v3) .directory-workspace-deals .price-workspace > .price-quotes {
    grid-column: 4;
    grid-row: 1 / -1;
    min-height: 0;
  }
  :root:not(#_v3) .directory-workspace-deals .price-workspace > .price-spec-column,
  :root:not(#_v3) .directory-workspace-deals .price-workspace > .price-category-column,
  :root:not(#_v3) .directory-workspace-deals .price-workspace > .price-pane-divider {
    grid-row: 1 / -1;
  }
  :root:not(#_v3) .match-board .match-list-heading,
  :root:not(#_v3) .risk-board .risk-list-heading,
  :root:not(#_v3) .directory-workspace-deals .price-spec-column .price-column-heading {
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    flex-basis: 48px;
    top: 0;
    left: 0;
    right: 0;
  }
  /* Keep the first list row from sliding under the taller sticky/absolute heading. */
  :root:not(#_v3) .match-board .match-list-scroll {
    padding-top: 49px;
    scroll-padding-top: 49px;
  }
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-spec-column .price-spec-list {
    padding-top: 49px;
  }
}

/* ---- 6. Search / 屏蔽词 / 发布: same height, fill the row, even gaps ---- */
@media (min-width: 701px) {
  :root:not(#_v3) .match-board .match-toolbar,
  :root:not(#_v3) .risk-board .risk-toolbar {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    padding: 4px;
    gap: 8px;
  }
  :root:not(#_v3) .match-board .match-toolbar-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    width: 100%;
  }
  :root:not(#_v3) .match-board .match-search,
  :root:not(#_v3) .risk-board .risk-search {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 40px;
    margin: 0;
    box-sizing: border-box;
  }
  :root:not(#_v3) .match-board .match-blocked-toggle,
  :root:not(#_v3) .match-board .board-publish-action,
  :root:not(#_v3) .risk-board .risk-publish,
  :root:not(#_v3) .risk-board .board-publish-action {
    flex: 0 0 auto;
    box-sizing: border-box;
    height: 40px;
    min-height: 40px;
    margin: 0;
  }
}

/* Dark theme: hairline + resizer grip follow tokens */
html[data-theme="dark"]:not(#_v3) .aibuy-split-line,
html[data-theme="dark"]:not(#_v3) .match-board .match-columns::after,
html[data-theme="dark"]:not(#_v3) .risk-board .risk-main::after,
html[data-theme="dark"]:not(#_v3) .directory-workspace-deals .price-spec-column::after,
html[data-theme="dark"]:not(#_v3) .match-board .match-rail::after,
html[data-theme="dark"]:not(#_v3) .risk-board .risk-rail::after {
  background: var(--ui-line, #344e3f);
}
html[data-theme="dark"]:not(#_v3) .risk-board .risk-resizer > span,
html[data-theme="dark"]:not(#_v3) #aibuy-unify-root .risk-resizer > span {
  border-color: var(--ui-surface, #142a21);
  background: var(--ui-line, #344e3f);
}

/* Keep 交易避坑 footer note below the scrollable platform list, not over it.
   Do not move the React node; style it both as a rail child and inside the scroll. */
@media (min-width: 701px) {
  :root:not(#_v3) .risk-board .risk-rail {
    display: flex;
    flex-direction: column;
  }
  :root:not(#_v3) .risk-board .risk-rail-scroll {
    display: flex;
    flex-direction: column;
  }
  :root:not(#_v3) .risk-board .risk-rail > .risk-rail-note,
  :root:not(#_v3) .risk-board .risk-rail-scroll .risk-rail-note {
    flex: 0 0 auto;
    margin: 8px 0 0;
    margin-top: auto;
    padding-top: 8px;
    background: var(--ui-surface, #fff);
    position: sticky;
    bottom: 0;
    z-index: 2;
  }
}

/* Body-level overlays (outside the React tree) */
#aibuy-unify-root {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 12;
  pointer-events: none;
}
#aibuy-unify-root .risk-resizer {
  pointer-events: auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 12;
  width: 10px;
  margin: 0;
  padding: 0;
  cursor: col-resize;
  touch-action: none;
  outline: none;
  user-select: none;
  background: transparent;
}
#aibuy-unify-root .risk-resizer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4px;
  width: 1px;
  background: var(--risk-line, var(--ui-line, #d7e1da));
  pointer-events: none;
}
#aibuy-unify-root .risk-resizer > span {
  z-index: 1;
  box-sizing: content-box;
  width: 3px;
  height: 34px;
  margin: 0;
  border: 3px solid var(--ui-surface, #fff);
  border-radius: 8px;
  background: var(--ui-line, #d7e1da);
  pointer-events: none;
}
#aibuy-unify-root .risk-resizer:is(:hover, :focus-visible, .is-dragging)::before,
html.aibuy-risk-resizing #aibuy-unify-root .risk-resizer::before {
  width: 2px;
  background: var(--ui-accent, #2e6b50);
}
#aibuy-unify-root .risk-resizer:is(:hover, :focus-visible, .is-dragging) > span,
html.aibuy-risk-resizing #aibuy-unify-root .risk-resizer > span {
  background: var(--ui-accent, #2e6b50);
}
#aibuy-unify-root .risk-platform-list {
  pointer-events: auto;
  box-sizing: border-box;
}

/* 比价库报价区上方始终不出现搜索/重置（含手机） */
:root:not(#_v3) .directory-workspace-deals .price-workspace > .price-board-toolbar {
  display: none !important;
}

/* List rows: skip offscreen style/layout work. auto remembers last real height
   so the scrollbar and bottom gap don't jump. Values are live medians at 1440
   (match 158px, offer 47px, spec 36px). risk-item has no live rows; 72px is
   padding + typography estimate and will be replaced by auto after first paint. */
:root:not(#_v3) .match-item {
  content-visibility: auto;
  contain-intrinsic-height: auto 158px;
}
:root:not(#_v3) .risk-item {
  content-visibility: auto;
  contain-intrinsic-height: auto 72px;
}
:root:not(#_v3) .price-offer-row {
  content-visibility: auto;
  contain-intrinsic-height: auto 47px;
}
:root:not(#_v3) .directory-workspace-deals .price-spec-option {
  content-visibility: auto;
  contain-intrinsic-height: auto 36px;
}


/* ---- 7. 1440 follow-ups: 64px left titles, unified rail toggle,
         flush panes to the dashed line, resizer above the hairline.
         Desktop (>=701px) only. ---- */
@media (min-width: 701px) {
  /* E: dashed vertical line sits above the header hairline (z-index 8). */
  :root:not(#_v3) .match-board .match-resizer,
  :root:not(#_v3) .risk-board .risk-resizer,
  :root:not(#_v3) .directory-workspace-deals .price-pane-divider {
    z-index: 12 !important;
    pointer-events: auto;
  }

  /* Draw the 比价库 dashed line in the middle of the 10px hit area, like the other pages. */
  :root:not(#_v3) .directory-workspace-deals .price-pane-divider::before {
    left: 4px;
    width: 1px;
  }

  /* D/C: left pane backgrounds meet the line's left edge (4px into the 10px hit area);
          right pane backgrounds meet the line's right edge (5px, because the 1px line
          starts at 4px). Resizer stays on top and keeps the pointer events. */
  :root:not(#_v3) .match-board .match-list,
  :root:not(#_v3) .risk-board .risk-list,
  :root:not(#_v3) .directory-workspace-deals .price-spec-column {
    margin-right: -4px;
  }
  :root:not(#_v3) .match-board .match-toolbar,
  :root:not(#_v3) .match-board .match-detail,
  :root:not(#_v3) .risk-board .risk-toolbar,
  :root:not(#_v3) .risk-board .risk-detail,
  :root:not(#_v3) .directory-workspace-deals .price-workspace > .price-quotes {
    margin-left: -5px;
  }

  /* Spec rows: beat price-lib (:not(#_pv) + 6px inset, padding-top 54px). Full-bleed to the line. */
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-spec-column .price-spec-list {
    padding-top: 49px;
    padding-left: 0;
    padding-right: 0;
  }
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-spec-column .price-spec-option {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0 !important;
    box-sizing: border-box;
  }

  /* 4/A: left title row is 64px, same midline as 最新消息 / 商品规格 (y=88 at 1440). */
  :root:not(#_v3) .directory-main-matching .match-board .match-rail,
  :root:not(#_v3) .directory-main-risk .risk-board .risk-rail {
    padding-top: 0;
  }
  :root:not(#_v3) .match-board .match-rail-title,
  :root:not(#_v3) .risk-board .risk-rail-title {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    height: 48px;
    min-height: 48px;
    flex: 0 0 48px;
    margin: 0;
  }
  /* Brand/toggle are absolutely positioned (top:7px / top:0 was for the old 34px row). */
  :root:not(#_v3) .match-board .match-rail-brand,
  :root:not(#_v3) .risk-board .risk-rail-brand {
    display: flex;
    align-items: center;
    top: 14px; /* (48 - 20) / 2 */
  }
  :root:not(#_v3) .match-board .match-rail-toggle,
  :root:not(#_v3) .risk-board .risk-rail-toggle {
    top: 7px; /* (48 - 34) / 2 */
  }
  /* Hairline under the rail title, same y as .aibuy-split-line, full rail width. */
  :root:not(#_v3) .match-board .match-rail::after,
  :root:not(#_v3) .risk-board .risk-rail::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 48px;
    height: 1px;
    background: var(--ui-line, #d7e1da);
    pointer-events: none;
    z-index: 1;
  }

  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-category-column .price-column-heading {
    box-sizing: border-box;
    height: 49px;
    min-height: 49px;
    border-bottom: 1px solid var(--ui-line, #d7e1da);
  }
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-category-column .price-rail-brand {
    top: 14px; /* (48 - 20) / 2, icon+label stay vertically centered */
  }
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-category-column .price-rail-toggle {
    top: 7px; /* (48 - 34) / 2 */
  }

  /* B: one toggle — color #23392d, radius 7, icon 18×16, same y (from the 64px row).
     Expanded arrow points left; collapsed (aria-expanded=false) rotates 180°. */
  :root:not(#_v3) .match-board .match-rail-toggle,
  :root:not(#_v3) .risk-board .risk-rail-toggle,
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-rail-toggle {
    color: var(--ui-text, #23392d);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    box-sizing: border-box;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    margin: 0 0 0 auto;
    display: grid;
    place-items: center;
  }
  :root:not(#_v3) .match-board .match-rail-toggle:hover,
  :root:not(#_v3) .risk-board .risk-rail-toggle:hover,
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-rail-toggle:hover {
    color: var(--ui-text, #23392d);
    background: color-mix(in srgb, var(--ui-text, #23392d) 8%, transparent);
  }
  :root:not(#_v3) .match-board .match-rail-toggle svg,
  :root:not(#_v3) .risk-board .risk-rail-toggle svg,
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-rail-toggle svg {
    width: 18px !important;
    height: 16px !important;
    display: block;
    flex: none;
    stroke: currentColor;
  }
  :root:not(#_v3) .match-board .match-rail-toggle[aria-expanded="false"] .match-rail-toggle-arrow,
  :root:not(#_v3) .match-board .match-rail-toggle[aria-expanded="false"] .aibuy-rail-toggle-arrow,
  :root:not(#_v3) .risk-board .risk-rail-toggle[aria-expanded="false"] .aibuy-rail-toggle-arrow,
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-rail-toggle[aria-expanded="false"] .aibuy-rail-toggle-arrow {
    transform: rotate(180deg);
    transform-origin: 14.5px 12px;
  }
}


/* Unify risk/price toggle glyph with CSS only — do not touch React SVG nodes.
   Hide the original svg and paint the shared 18×16 panel+arrow icon. */
@media (min-width: 701px) {
  :root:not(#_v3) .risk-board .risk-rail-toggle,
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-rail-toggle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323392d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M9 4v16'/%3E%3Cpath d='m16 9-3 3 3 3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 16px;
  }
  :root:not(#_v3) .risk-board .risk-rail-toggle[aria-expanded="false"],
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-rail-toggle[aria-expanded="false"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323392d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M9 4v16'/%3E%3Cpath d='m13 9 3 3-3 3'/%3E%3C/svg%3E");
  }
  :root:not(#_v3) .risk-board .risk-rail-toggle svg,
  :root:not(#_v3):not(#_pv) .directory-workspace-deals .price-rail-toggle svg {
    opacity: 0 !important;
  }
}
