/* iOS date controls can add their own padding outside a 100% width.
   Let a regular element own the visible field, leaving the native input unpadded. */
.field .date-control {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid #e1e1e7;
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}
.field .date-control:focus-within {
  outline: 3px solid #3d7ded;
  outline-offset: 3px;
}
.field .date-control input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  display: block;
  flex: 1 1 0%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 46px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 20px;
  text-align: left;
}
.field .date-control input[type="date"]:focus-visible {
  outline: 0;
}
.field .date-control input[type="date"]::-webkit-date-and-time-value {
  height: 20px;
  min-width: 0;
  margin: 0;
  line-height: 20px;
  text-align: left;
}
