#width-form > .option-fieldset {
  margin-bottom: 12px;
}

#width-form .conversion-grid {
  gap: 12px;
}

#width-form .conversion-grid textarea {
  min-height: 8rem;
  height: 12rem;
}

#width-form .width-actions {
  margin: 12px 0 8px;
}

#width-form .width-actions button:disabled {
  cursor: not-allowed;
  opacity: .6;
  box-shadow: none;
  transform: none;
}

#width-form .width-settings {
  margin-top: 20px;
}

@media (max-width: 560px) {
  .width-page {
    padding-top: 20px;
  }

  .width-page .tool-intro {
    margin-bottom: 14px;
  }

  .width-page .tool-intro h1 {
    margin: 0;
    font-size: clamp(1.65rem, 6vw, 2rem);
    line-height: 1.15;
  }

  .width-page .tool-intro .lead {
    display: none;
  }

  .width-page .width-tool {
    padding: 16px;
  }

  #width-form .direction-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #width-form .direction-options .choice {
    gap: 5px;
    padding: 6px 7px;
    font-size: .875rem;
    line-height: 1.25;
  }

  #width-form .conversion-grid textarea {
    min-height: 5.5rem;
    height: 6rem;
  }
}
