/* YURA v1.9.1 UI FIX1: keep the global business-search action in the topbar.
   The shared .yv-top-action class was designed for 38px icon-only buttons.
   Scope these overrides only to this action; do not alter business logic or print layouts. */
@media screen {
  #app.shell .topbar { min-width:0; }
  #app.shell .yv-top-tools { align-items:center; min-width:0; }
  #app.shell #openBusinessSearch {
    display:inline-flex!important; align-items:center!important; justify-content:center!important;
    gap:6px!important; flex:0 0 auto!important; width:auto!important;
    min-width:131px!important; max-width:155px!important; height:38px!important; min-height:38px!important;
    padding:0 12px!important; border-radius:11px!important; box-sizing:border-box!important;
    white-space:nowrap!important; overflow:hidden!important; overflow-wrap:normal!important;
    line-height:1.2!important; font-size:12px!important; font-weight:700!important;
    text-overflow:clip; vertical-align:middle!important;
  }
  #app.shell #openBusinessSearch .yv-business-search-icon {
    display:inline-block; flex:0 0 auto; font-size:20px; font-weight:500; line-height:1;
  }
  #app.shell #openBusinessSearch .yv-business-search-label {
    display:inline-block; white-space:nowrap; font-size:12px; line-height:1.2;
  }
  /* Keep the header compact across smaller desktop screens and mobile. */
  @media (max-width:1450px) {
    #app.shell #openBusinessSearch {
      width:38px!important; min-width:38px!important; max-width:38px!important;
      padding:0!important; border-radius:50%!important; gap:0!important;
    }
    #app.shell #openBusinessSearch .yv-business-search-label { display:none!important; }
  }
  @media (max-width:850px) {
    #app.shell #openBusinessSearch {
      width:36px!important; min-width:36px!important; max-width:36px!important;
      height:36px!important; min-height:36px!important;
    }
  }
}
