/* This control changes navigation only; no shared control styles are altered. */
/* Retired mode entry; keep its internal state and generation handlers intact. */
#task-panel #detail-generation-mode-switch { display: none !important; }
html:not([data-mobile-workbench="true"]) body:is([data-active-feature="detail-page"], [data-active-feature="pet-product-main-image"], [data-active-feature="pet-product-scene"], [data-active-feature="beauty-product-scene"], [data-active-feature="food-product-scene"], [data-active-feature="home-product-scene"], [data-active-feature="set-generate"], [data-active-feature="buyer-show"], [data-active-feature="poster-design"])
  #task-panel .task-title-row > #detail-industry-select {
  flex: 0 0 auto;
  width: 118px;
  min-width: 0;
  height: 30px;
  margin: 0 0 0 8px;
  padding: 0 7px;
  border: 1px solid var(--line, #dfe4ee);
  border-radius: 8px;
  background: var(--free-control-surface, #f7f9fc);
  color: var(--free-control-ink, #556176);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
  backdrop-filter: none;
}
#detail-industry-select:focus-visible { outline: 2px solid #8b80ff; outline-offset: 2px; }
#detail-industry-select:disabled { cursor: wait; opacity: .65; }
html[data-theme="dark"] #task-panel #detail-industry-select { color-scheme: dark; }

#task-panel #detail-industry-select.industry-select-enhanced { display: none !important; }
#task-panel .task-title-row:has(> .detail-industry-menu-button) {
  justify-content: flex-start;
  column-gap: 8px;
}
#task-panel .task-title-row:has(> .detail-industry-menu-button) > .feature-clear-settings-button {
  margin-left: auto;
}
#task-panel .detail-industry-menu-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  flex: 0 0 auto; min-width: 112px; height: 32px; margin-left: 0; padding: 0 11px;
  border: 1px solid var(--line, #dfe4ee); border-radius: 9px;
  background: var(--free-control-surface, #f7f9fc); color: var(--free-control-ink, #556176);
  font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
#task-panel .detail-industry-menu-button::after {
  content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .65;
}
#task-panel .detail-industry-menu-button:hover,
#task-panel .detail-industry-menu-button[aria-expanded="true"] { border-color: #b9b5ed; color: #6554c0; background: #f5f4ff; }
#task-panel .detail-industry-menu-button:focus-visible { outline: 2px solid #8b80ff; outline-offset: 2px; }
#task-panel .detail-industry-menu-button:disabled { cursor: wait; opacity: .65; }
#detail-industry-menu { width: 188px; box-sizing: border-box; max-height: calc(100dvh - 16px); overflow-y: auto; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
#detail-industry-menu button { width: 100%; cursor: pointer; font-family: inherit; }
html[data-theme="dark"] #detail-industry-menu { background: #202127; border-color: #383a44; }
html[data-theme="dark"] #detail-industry-menu button { color: #d9dbe6; }
html[data-theme="dark"] #detail-industry-menu button:is(:hover, :focus-visible, .is-current),
html[data-theme="dark"] #task-panel .detail-industry-menu-button:is(:hover, [aria-expanded="true"]) { background: #323044; color: #c5baff; }
