.field > label:not(:has(input)) {
  display: block;
  margin-bottom: 4px;
}
.field > input:not([type=checkbox], [type=radio], [type=range]),
.field > textarea,
.field > select,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range]),
.field > .field-control > textarea,
.field > .field-control > select {
  display: block;
  width: 100%;
  flex: 1 1 0%;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #1C2A3B;
  background: #EAEFF3;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.field > input:not([type=checkbox], [type=radio], [type=range])::placeholder,
.field > textarea::placeholder,
.field > select::placeholder,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range])::placeholder,
.field > .field-control > textarea::placeholder,
.field > .field-control > select::placeholder {
  color: #3E4A56;
}
.field > input:not([type=checkbox], [type=radio], [type=range]):focus,
.field > textarea:focus,
.field > select:focus,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range]):focus,
.field > .field-control > textarea:focus,
.field > .field-control > select:focus {
  background: #FFFFFF;
  border-color: #1C2A3B;
  box-shadow: 0 0 0 3px rgba(28, 42, 59, 0.15);
}
.field > input:not([type=checkbox], [type=radio], [type=range]).is-invalid,
.field > textarea.is-invalid,
.field > select.is-invalid,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range]).is-invalid,
.field > .field-control > textarea.is-invalid,
.field > .field-control > select.is-invalid {
  border-color: #AC2219;
}
.field > input:not([type=checkbox], [type=radio], [type=range]).is-invalid:focus,
.field > textarea.is-invalid:focus,
.field > select.is-invalid:focus,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range]).is-invalid:focus,
.field > .field-control > textarea.is-invalid:focus,
.field > .field-control > select.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(172, 34, 25, 0.15);
}
.field > input:not([type=checkbox], [type=radio], [type=range]):disabled,
.field > textarea:disabled,
.field > select:disabled,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range]):disabled,
.field > .field-control > textarea:disabled,
.field > .field-control > select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.field > input:not([type=checkbox], [type=radio], [type=range])::-ms-reveal, .field > input:not([type=checkbox], [type=radio], [type=range])::-ms-clear,
.field > textarea::-ms-reveal,
.field > textarea::-ms-clear,
.field > select::-ms-reveal,
.field > select::-ms-clear,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range])::-ms-reveal,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range])::-ms-clear,
.field > .field-control > textarea::-ms-reveal,
.field > .field-control > textarea::-ms-clear,
.field > .field-control > select::-ms-reveal,
.field > .field-control > select::-ms-clear {
  display: none;
}
.field > input:not([type=checkbox], [type=radio], [type=range])::-webkit-credentials-auto-fill-button,
.field > textarea::-webkit-credentials-auto-fill-button,
.field > select::-webkit-credentials-auto-fill-button,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range])::-webkit-credentials-auto-fill-button,
.field > .field-control > textarea::-webkit-credentials-auto-fill-button,
.field > .field-control > select::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
}
.field > input:not([type=checkbox], [type=radio], [type=range])::-webkit-strong-password-auto-fill-button,
.field > textarea::-webkit-strong-password-auto-fill-button,
.field > select::-webkit-strong-password-auto-fill-button,
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range])::-webkit-strong-password-auto-fill-button,
.field > .field-control > textarea::-webkit-strong-password-auto-fill-button,
.field > .field-control > select::-webkit-strong-password-auto-fill-button {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
}
.field > input:not([type=checkbox], [type=radio], [type=range])[type=password]:not(:placeholder-shown),
.field > textarea[type=password]:not(:placeholder-shown),
.field > select[type=password]:not(:placeholder-shown),
.field > .field-control > input:not([type=checkbox], [type=radio], [type=range])[type=password]:not(:placeholder-shown),
.field > .field-control > textarea[type=password]:not(:placeholder-shown),
.field > .field-control > select[type=password]:not(:placeholder-shown) {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.field > textarea,
.field > .field-control > textarea {
  resize: none;
  min-height: 96px;
}
.field > input[type=password],
.field > .field-control > input[type=password] {
  font-size: 16px;
  letter-spacing: 2px;
}
.field > .field-static {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #C2C6CC;
  border-radius: 8px;
  background: transparent;
  min-height: calc(1.4em + 22px);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #1C2A3B;
  overflow-wrap: anywhere;
}
.field > .field-static > .icon {
  flex: none;
}
.field > .field-static > img {
  flex: none;
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 2px;
}
.field > .field-control {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.field > .field-control:has(> .field-addon) > input {
  padding-right: 40px;
}
.field > .field-control > .field-addon {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  aspect-ratio: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #3E4A56;
  cursor: pointer;
  outline: none;
  transition: color 140ms ease;
}
.field > .field-control > .field-addon:hover {
  color: #1C2A3B;
}
.field > .field-control > .field-addon:focus-visible {
  outline: 2px solid #1C2A3B;
  outline-offset: -2px;
}
.field > .field-control > .field-addon > span {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  mask-mode: alpha;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-mode: alpha;
}
.field:not(.field-inline):has(> label:first-child > input[type=checkbox]) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.field.field-inline {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 4px;
}
.field.field-inline label:has(> .controls-radio-off) {
  display: inline-flex;
}
.field.field-inline label:has(> .controls-radio-off) + label:has(> .controls-radio-off) {
  margin-top: 0;
}
.field > .field-error, .field ~ .field-error {
  display: none;
  color: #AC2219;
  font-size: 13px;
  line-height: 1.2;
  margin-top: 4px;
}
.field > .field-error.is-visible, .field ~ .field-error.is-visible {
  display: block;
}
