/* Метаболический индекс. Шкала (.mir-scale), пилюля (.mir-risk-pill), блок рекомендаций (.mir-rec)
   и сетка .pa-fields--2 переиспользуются из tool-mets-ir.css; карточки (.thy-*) — из tool-thyroid-comprehensive.css. */

/* Селектор пола — стиль как у других инструментов (в общий CSS не вынесен) */
.pa-field__select {
  flex: 1; width: 100%;
  padding: 13px 40px 13px 16px;
  font-size: 15.5px; font-family: var(--v2-font); font-weight: 500;
  color: var(--v2-ink); background: transparent; border: none; outline: none;
  cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2370738f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.pa-field__select::-ms-expand { display: none; }

#mix-error-msg.is-visible {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fee2e2; border: 0; border-left: 4px solid #dc2626; color: #991b1b;
  border-radius: 12px; padding: 14px 18px;
  font-size: 14.5px; font-weight: 600; line-height: 1.45;
  box-shadow: 0 6px 20px rgba(220, 38, 38, .18); animation: fib-err-pop .45s ease;
}
#mix-error-msg.is-visible::before { content: '⚠'; font-size: 18px; line-height: 1.2; flex-shrink: 0; color: #dc2626; }
