/* Shared industry examples only. Home has its own separate preview controls. */
#main[data-search-branding="1"] #more-business-from-search[data-industry-controls="left"] .search-industry-controls {
  min-width: 0;
  margin-top: 22px;
}
#main[data-search-branding="1"] #more-business-from-search[data-industry-controls="left"] .search-industry-controls > :is(.ai-evolution-tabs, .ai-evolution-fallback-links) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
#main[data-search-branding="1"] #more-business-from-search[data-industry-controls="left"] .search-industry-controls :is(.ai-evolution-tab, .ai-evolution-fallback-links > a) {
  min-width: 0;
  min-height: 44px;
  width: 100%;
  max-width: 100%;
}

/* The controller reserves the tallest panel at the current width. An entrance
   changes opacity only, so switching never animates or collapses its height. */
#main[data-search-branding="1"] #more-business-from-search[data-industry-controls="left"] .ai-evolution.is-enhanced .ai-evolution-example:not([hidden]) {
  animation: dn-search-industry-reveal 160ms ease-out;
}
@keyframes dn-search-industry-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Keep the left copy together instead of the old display:contents ordering.
   DOM now reads heading, context/disclosure, controls, then the examples. */
@media (max-width: 900px) {
  #main[data-search-branding="1"] #more-business-from-search[data-industry-controls="left"] .ai-evolution-copy {
    display: block;
    order: 0;
  }
  #main[data-search-branding="1"] #more-business-from-search[data-industry-controls="left"] .ai-evolution-copy > .dn-section-opening {
    margin-bottom: 20px;
  }
  #main[data-search-branding="1"] #more-business-from-search[data-industry-controls="left"] .ai-evolution-interactive {
    order: 1;
  }
  #main[data-search-branding="1"] #more-business-from-search[data-industry-controls="left"] .search-industry-controls {
    margin-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #main[data-search-branding="1"] #more-business-from-search[data-industry-controls="left"] .ai-evolution.is-enhanced .ai-evolution-example:not([hidden]) {
    animation: none;
  }
}
