/* ===== DESKTOP LAYOUT WRAPPERS & RESPONSIVENESS ===== */
/* Hide mobile UI on desktop */
@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
  /* AI Risk floating widget is hidden on tablet/desktop — it lives inside the Tier 3 panel */
  #ai-risk-panel-container.ai-risk-panel {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }
}

.search-wrapper {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-wrapper.expanded {
  width: 420px !important;
}

.detail-panel .search-wrapper.expanded {
  width: 100% !important;
}

.search-wrapper input {
  transition: all 0.3s ease;
}

.search-wrapper.expanded input {
  box-shadow: 0 4px 20px rgba(0, 104, 87, 0.12);
}
