/* Cross-browser form controls for the operator application.
   Removes the native macOS/Safari gradient while preserving standard select behaviour. */

.form-card{
  color-scheme:light;
}

.field select{
  -webkit-appearance:none!important;
  appearance:none!important;
  color-scheme:light;
  cursor:pointer;
  background-color:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.25 7 7.25 13 1.25' fill='none' stroke='%236d5e66' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 18px center!important;
  background-size:14px 9px!important;
  background-clip:padding-box!important;
  padding-right:50px!important;
  box-shadow:none!important;
}

.field select::-ms-expand{
  display:none;
}

.field select:hover{
  border-color:rgba(104,30,56,.30);
}

.field select:focus{
  border-color:rgba(104,30,56,.52)!important;
  box-shadow:0 0 0 4px rgba(104,30,56,.07)!important;
}

.field select:invalid{
  color:#9e9499;
}

.field select option{
  color:#171116;
  background:#fff;
}

/* Keep the long Russian key-term label inside its desktop card. */
@media(min-width:981px){
  html[lang="ru"] .quick-term--long strong{
    font-size:clamp(28px,2.1vw,34px)!important;
    line-height:1!important;
    letter-spacing:-.055em!important;
    white-space:nowrap!important;
  }
}

@media(min-width:981px) and (max-width:1199px){
  html[lang="ru"] .quick-term--long strong{
    font-size:clamp(22px,2.35vw,27px)!important;
  }
}

@media(max-width:680px){
  .field select{
    font-size:16px;
    background-position:right 16px center!important;
    padding-right:46px!important;
  }
}