/* S189: three consistent search modes. Existing S169 two-tab design untouched elsewhere. */
.s166-modes.s189-three-modes{
 box-sizing:border-box;width:min(100%,570px);max-width:570px;
 grid-template-columns:repeat(3,minmax(0,1fr));
}
.s166-modes.s189-three-modes::before{
 left:4px;width:calc((100% - 8px)/3);
}
.s166-modes.s189-three-modes.is-company::before{transform:translateX(100%)}
.s166-modes.s189-three-modes.is-requisites::before{transform:translateX(200%)}
.s166-modes.s189-three-modes:not(.s166-modes-home):not(.is-company):not(.is-requisites)::before{
 transform:translateX(0)
}
.s166-modes.s189-three-modes .s166-mode{
 min-width:0;white-space:normal;font-size:13px;line-height:1.25;
 min-height:43px;padding:7px 9px;
}
.s166-modes.s189-three-modes .s166-mode.is-active{font-weight:700}
.s166-modes.s189-modes-home{margin-left:auto;margin-right:auto}
.s176-form.s176-home-form .s189-requisites-row{
 grid-template-columns:minmax(0,1fr) 120px;
}
.s176-form.s176-home-form .s189-requisites-row .v2-query-field{grid-column:1}
.s176-form.s176-home-form .s189-requisites-row .s176-submit{
 grid-column:2;width:120px;
}
.s176-form.s176-home-form .s189-requisites-input{
 width:100%;height:54px;font:400 14px/20px Inter,"Segoe UI",Arial,sans-serif;
 appearance:none;-webkit-appearance:none;
}
.s176-form.s176-home-form .s189-requisites-input::placeholder{color:#8695ad}
.s189-directory-switch{margin:0 auto 23px}
@media(max-width:600px){
 .s166-modes.s189-three-modes{width:100%;max-width:570px}
 .s166-modes.s189-three-modes .s166-mode{
  font-size:12px;line-height:1.15;padding:6px 5px;
  min-height:49px;overflow-wrap:break-word;
 }
 .s176-form.s176-home-form .s189-requisites-row{grid-template-columns:minmax(0,1fr)}
 .s176-form.s176-home-form .s189-requisites-row .v2-query-field{grid-column:1}
 .s176-form.s176-home-form .s189-requisites-row .s176-submit{
  grid-column:1;width:100%;
 }
 .s176-form.s176-home-form .s189-requisites-input{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
 .s166-modes.s189-three-modes::before{transition:none}
}
