#app .hgre-interior-shell .jy-strategy-tabs {
  --tab-surface: #fff;
  --tab-text: #41394e;
  --tab-line: #968d9f;
  --tab-hover: #f1edf7;
  --tab-active: #6241a6;
  --tab-active-text: #fff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 17rem;
  max-width: 100%;
  box-sizing: border-box;
  gap: 0;
  padding: 0;
  margin: 0 0 20px;
  border: 1px solid var(--tab-line);
  border-radius: 8px;
  background: var(--tab-surface);
}
#app .app[data-theme=night] .jy-strategy-tabs {
  --tab-surface: #23212b;
  --tab-text: #efeaf5;
  --tab-line: #8d829c;
  --tab-hover: #37313f;
  --tab-active: #ccb5f6;
  --tab-active-text: #241535;
}
#app .hgre-interior-shell .jy-strategy-tabs button[role=tab] {
  min-width: 0;
  min-height: 44px !important;
  transition: none !important;
  width: 100% !important;
  padding: 8px 14px !important;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  line-height: 1.35;
  font-weight: 500;
}
#app .hgre-interior-shell .jy-strategy-tabs button:first-child[role=tab] { border-radius: 6px 0 0 6px !important; }
#app .hgre-interior-shell .jy-strategy-tabs button:last-child[role=tab] { border-radius: 0 6px 6px 0 !important; }
#app .hgre-interior-shell .jy-strategy-tabs button[aria-selected=true] {
  background: var(--tab-active) !important;
  color: var(--tab-active-text) !important;
  font-weight: 700;
}
#app .hgre-interior-shell .jy-strategy-tabs button[aria-selected=false] {
  background: var(--tab-surface) !important;
  color: var(--tab-text) !important;
}
@media (hover:hover) {
  #app .hgre-interior-shell .jy-strategy-tabs button[aria-selected=false]:hover { background: var(--tab-hover) !important; }
}
#app .hgre-interior-shell .jy-strategy-tabs button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--tab-active) !important;
  outline-offset: 3px;
}
html:lang(en) #app .hgre-interior-shell .jy-strategy-tabs { width: 22rem; }
@media (max-width: 600px) {
  #app .hgre-interior-shell .jy-strategy-tabs, html:lang(en) #app .hgre-interior-shell .jy-strategy-tabs { width: 100%; }
  #app .hgre-interior-shell .jy-strategy-tabs button[role=tab] { min-width: 0; padding-inline: 8px !important; }
}
